configure revision d63fdb69
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for libfontenc 1.0.5.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85  as_unset=unset
86else
87  as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order.  Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" ""	$as_nl"
97
98# Find who we are.  Look in the path if we contain no directory separator.
99case $0 in
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139  as_expr=expr
140else
141  as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145  as_basename=basename
146else
147  as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154	 X"$0" : 'X\(//\)$' \| \
155	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157    sed '/^.*\/\([^/][^/]*\)\/*$/{
158	    s//\1/
159	    q
160	  }
161	  /^X\/\(\/\/\)$/{
162	    s//\1/
163	    q
164	  }
165	  /^X\/\(\/\).*/{
166	    s//\1/
167	    q
168	  }
169	  s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176  if (eval ":") 2>/dev/null; then
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181
182  if test $as_have_required = yes &&	 (eval ":
183(as_func_return () {
184  (exit \$1)
185}
186as_func_success () {
187  as_func_return 0
188}
189as_func_failure () {
190  as_func_return 1
191}
192as_func_ret_success () {
193  return 0
194}
195as_func_ret_failure () {
196  return 1
197}
198
199exitcode=0
200if as_func_success; then
201  :
202else
203  exitcode=1
204  echo as_func_success failed.
205fi
206
207if as_func_failure; then
208  exitcode=1
209  echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213  :
214else
215  exitcode=1
216  echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220  exitcode=1
221  echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225  :
226else
227  exitcode=1
228  echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234  as_lineno_1=\$LINENO
235  as_lineno_2=\$LINENO
236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239  :
240else
241  as_candidate_shells=
242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245  IFS=$as_save_IFS
246  test -z "$as_dir" && as_dir=.
247  case $as_dir in
248	 /*)
249	   for as_base in sh bash ksh sh5; do
250	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251	   done;;
252       esac
253done
254IFS=$as_save_IFS
255
256
257      for as_shell in $as_candidate_shells $SHELL; do
258	 # Try only shells that exist, to save several forks.
259	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260		{ ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279  CONFIG_SHELL=$as_shell
280	       as_have_required=yes
281	       if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283  emulate sh
284  NULLCMD=:
285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286  # is contrary to our usage.  Disable this feature.
287  alias -g '${1+"$@"}'='"$@"'
288  setopt NO_GLOB_SUBST
289else
290  case `(set -o) 2>/dev/null` in
291  *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299  (exit $1)
300}
301as_func_success () {
302  as_func_return 0
303}
304as_func_failure () {
305  as_func_return 1
306}
307as_func_ret_success () {
308  return 0
309}
310as_func_ret_failure () {
311  return 1
312}
313
314exitcode=0
315if as_func_success; then
316  :
317else
318  exitcode=1
319  echo as_func_success failed.
320fi
321
322if as_func_failure; then
323  exitcode=1
324  echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328  :
329else
330  exitcode=1
331  echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335  exitcode=1
336  echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340  :
341else
342  exitcode=1
343  echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349  as_lineno_1=$LINENO
350  as_lineno_2=$LINENO
351  test "x$as_lineno_1" != "x$as_lineno_2" &&
352  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356  break
357fi
358
359fi
360
361      done
362
363      if test "x$CONFIG_SHELL" != x; then
364  for as_var in BASH_ENV ENV
365	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366	done
367	export CONFIG_SHELL
368	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372    if test $as_have_required = no; then
373  echo This script requires a shell more modern than all the
374      echo shells that I found on your system.  Please install a
375      echo modern shell, or manually run the script under such a
376      echo shell if you do have one.
377      { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388  (exit \$1)
389}
390as_func_success () {
391  as_func_return 0
392}
393as_func_failure () {
394  as_func_return 1
395}
396as_func_ret_success () {
397  return 0
398}
399as_func_ret_failure () {
400  return 1
401}
402
403exitcode=0
404if as_func_success; then
405  :
406else
407  exitcode=1
408  echo as_func_success failed.
409fi
410
411if as_func_failure; then
412  exitcode=1
413  echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417  :
418else
419  exitcode=1
420  echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424  exitcode=1
425  echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429  :
430else
431  exitcode=1
432  echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436  echo No shell found that supports shell functions.
437  echo Please tell bug-autoconf@gnu.org about your system,
438  echo including any error possibly output before this message.
439  echo This can help us improve future autoconf versions.
440  echo Configuration will now proceed without shell functions.
441}
442
443
444
445  as_lineno_1=$LINENO
446  as_lineno_2=$LINENO
447  test "x$as_lineno_1" != "x$as_lineno_2" &&
448  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451  # uniformly replaced by the line number.  The first 'sed' inserts a
452  # line-number line after each line using $LINENO; the second 'sed'
453  # does the real work.  The second script uses 'N' to pair each
454  # line-number line with the line containing $LINENO, and appends
455  # trailing '-' during substitution so that $LINENO is not a special
456  # case at line end.
457  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459  # E. McMahon (1931-1989) for sed's syntax.  :-)
460  sed -n '
461    p
462    /[$]LINENO/=
463  ' <$as_myself |
464    sed '
465      s/[$]LINENO.*/&-/
466      t lineno
467      b
468      :lineno
469      N
470      :loop
471      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472      t loop
473      s/-\n.*//
474    ' >$as_me.lineno &&
475  chmod +x "$as_me.lineno" ||
476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477   { (exit 1); exit 1; }; }
478
479  # Don't try to exec as it changes $[0], causing all sort of problems
480  # (the dirname of $[0] is not the place where we might find the
481  # original and so on.  Autoconf is especially sensitive to this).
482  . "./$as_me.lineno"
483  # Exit status is that of the last command.
484  exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489  as_dirname=dirname
490else
491  as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497  case `echo 'x\c'` in
498  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
499  *)   ECHO_C='\c';;
500  esac;;
501*)
502  ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506  as_expr=expr
507else
508  as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513  rm -f conf$$.dir/conf$$.file
514else
515  rm -f conf$$.dir
516  mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519  if ln -s conf$$.file conf$$ 2>/dev/null; then
520    as_ln_s='ln -s'
521    # ... but there are two gotchas:
522    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524    # In both cases, we have to default to `cp -p'.
525    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526      as_ln_s='cp -p'
527  elif ln conf$$.file conf$$ 2>/dev/null; then
528    as_ln_s=ln
529  else
530    as_ln_s='cp -p'
531  fi
532else
533  as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539  as_mkdir_p=:
540else
541  test -d ./-p && rmdir ./-p
542  as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546  as_test_x='test -x'
547else
548  if ls -dL / >/dev/null 2>&1; then
549    as_ls_L_option=L
550  else
551    as_ls_L_option=
552  fi
553  as_test_x='
554    eval sh -c '\''
555      if test -d "$1"; then
556	test -d "$1/.";
557      else
558	case $1 in
559	-*)set "./$1";;
560	esac;
561	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562	???[sx]*):;;*)false;;esac;fi
563    '\'' sh
564  '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576
577# Check that we are running under the correct shell.
578SHELL=${CONFIG_SHELL-/bin/sh}
579
580case X$lt_ECHO in
581X*--fallback-echo)
582  # Remove one level of quotation (which was required for Make).
583  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584  ;;
585esac
586
587ECHO=${lt_ECHO-echo}
588if test "X$1" = X--no-reexec; then
589  # Discard the --no-reexec flag, and continue.
590  shift
591elif test "X$1" = X--fallback-echo; then
592  # Avoid inline document here, it may be left over
593  :
594elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595  # Yippee, $ECHO works!
596  :
597else
598  # Restart under the correct shell.
599  exec $SHELL "$0" --no-reexec ${1+"$@"}
600fi
601
602if test "X$1" = X--fallback-echo; then
603  # used as fallback echo
604  shift
605  cat <<_LT_EOF
606$*
607_LT_EOF
608  exit 0
609fi
610
611# The HP-UX ksh and POSIX shell print the target directory to stdout
612# if CDPATH is set.
613(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
615if test -z "$lt_ECHO"; then
616  if test "X${echo_test_string+set}" != Xset; then
617    # find a string as large as possible, as long as the shell can cope with it
618    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
622      then
623        break
624      fi
625    done
626  fi
627
628  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630     test "X$echo_testing_string" = "X$echo_test_string"; then
631    :
632  else
633    # The Solaris, AIX, and Digital Unix default echo programs unquote
634    # backslashes.  This makes it impossible to quote backslashes using
635    #   echo "$something" | sed 's/\\/\\\\/g'
636    #
637    # So, first we look for a working echo in the user's PATH.
638
639    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640    for dir in $PATH /usr/ucb; do
641      IFS="$lt_save_ifs"
642      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645         test "X$echo_testing_string" = "X$echo_test_string"; then
646        ECHO="$dir/echo"
647        break
648      fi
649    done
650    IFS="$lt_save_ifs"
651
652    if test "X$ECHO" = Xecho; then
653      # We didn't find a better echo, so look for alternatives.
654      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656         test "X$echo_testing_string" = "X$echo_test_string"; then
657        # This shell has a builtin print -r that does the trick.
658        ECHO='print -r'
659      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660	   test "X$CONFIG_SHELL" != X/bin/ksh; then
661        # If we have ksh, try running configure again with it.
662        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663        export ORIGINAL_CONFIG_SHELL
664        CONFIG_SHELL=/bin/ksh
665        export CONFIG_SHELL
666        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667      else
668        # Try using printf.
669        ECHO='printf %s\n'
670        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672	   test "X$echo_testing_string" = "X$echo_test_string"; then
673	  # Cool, printf works
674	  :
675        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676	     test "X$echo_testing_string" = 'X\t' &&
677	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678	     test "X$echo_testing_string" = "X$echo_test_string"; then
679	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
680	  export CONFIG_SHELL
681	  SHELL="$CONFIG_SHELL"
682	  export SHELL
683	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
684        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685	     test "X$echo_testing_string" = 'X\t' &&
686	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687	     test "X$echo_testing_string" = "X$echo_test_string"; then
688	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
689        else
690	  # maybe with a smaller string...
691	  prev=:
692
693	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
695	    then
696	      break
697	    fi
698	    prev="$cmd"
699	  done
700
701	  if test "$prev" != 'sed 50q "$0"'; then
702	    echo_test_string=`eval $prev`
703	    export echo_test_string
704	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705	  else
706	    # Oops.  We lost completely, so just stick with echo.
707	    ECHO=echo
708	  fi
709        fi
710      fi
711    fi
712  fi
713fi
714
715# Copy echo and quote the copy suitably for passing to libtool from
716# the Makefile, instead of quoting the original, which is used later.
717lt_ECHO=$ECHO
718if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720fi
721
722
723
724
725exec 7<&0 </dev/null 6>&1
726
727# Name of the host.
728# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729# so uname gets run too.
730ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
732#
733# Initializations.
734#
735ac_default_prefix=/usr/local
736ac_clean_files=
737ac_config_libobj_dir=.
738LIBOBJS=
739cross_compiling=no
740subdirs=
741MFLAGS=
742MAKEFLAGS=
743SHELL=${CONFIG_SHELL-/bin/sh}
744
745# Identity of this package.
746PACKAGE_NAME='libfontenc'
747PACKAGE_TARNAME='libfontenc'
748PACKAGE_VERSION='1.0.5'
749PACKAGE_STRING='libfontenc 1.0.5'
750PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
751
752# Factoring default headers for most tests.
753ac_includes_default="\
754#include <stdio.h>
755#ifdef HAVE_SYS_TYPES_H
756# include <sys/types.h>
757#endif
758#ifdef HAVE_SYS_STAT_H
759# include <sys/stat.h>
760#endif
761#ifdef STDC_HEADERS
762# include <stdlib.h>
763# include <stddef.h>
764#else
765# ifdef HAVE_STDLIB_H
766#  include <stdlib.h>
767# endif
768#endif
769#ifdef HAVE_STRING_H
770# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
771#  include <memory.h>
772# endif
773# include <string.h>
774#endif
775#ifdef HAVE_STRINGS_H
776# include <strings.h>
777#endif
778#ifdef HAVE_INTTYPES_H
779# include <inttypes.h>
780#endif
781#ifdef HAVE_STDINT_H
782# include <stdint.h>
783#endif
784#ifdef HAVE_UNISTD_H
785# include <unistd.h>
786#endif"
787
788ac_subst_vars='am__EXEEXT_FALSE
789am__EXEEXT_TRUE
790LTLIBOBJS
791LIBOBJS
792distcleancheck_listfiles
793CHANGELOG_CMD
794LINT_FALSE
795LINT_TRUE
796LINT_FLAGS
797LINT
798FONTENC_LIBS
799FONTENC_CFLAGS
800PKG_CONFIG
801ENCODINGSDIR
802AM_BACKSLASH
803AM_DEFAULT_VERBOSITY
804CWARNFLAGS
805CPP
806OTOOL64
807OTOOL
808LIPO
809NMEDIT
810DSYMUTIL
811lt_ECHO
812RANLIB
813AR
814OBJDUMP
815LN_S
816NM
817ac_ct_DUMPBIN
818DUMPBIN
819LD
820FGREP
821EGREP
822GREP
823SED
824host_os
825host_vendor
826host_cpu
827host
828build_os
829build_vendor
830build_cpu
831build
832LIBTOOL
833am__fastdepCC_FALSE
834am__fastdepCC_TRUE
835CCDEPMODE
836AMDEPBACKSLASH
837AMDEP_FALSE
838AMDEP_TRUE
839am__quote
840am__include
841DEPDIR
842OBJEXT
843EXEEXT
844ac_ct_CC
845CPPFLAGS
846LDFLAGS
847CFLAGS
848CC
849MAINT
850MAINTAINER_MODE_FALSE
851MAINTAINER_MODE_TRUE
852am__untar
853am__tar
854AMTAR
855am__leading_dot
856SET_MAKE
857AWK
858mkdir_p
859MKDIR_P
860INSTALL_STRIP_PROGRAM
861STRIP
862install_sh
863MAKEINFO
864AUTOHEADER
865AUTOMAKE
866AUTOCONF
867ACLOCAL
868VERSION
869PACKAGE
870CYGPATH_W
871am__isrc
872INSTALL_DATA
873INSTALL_SCRIPT
874INSTALL_PROGRAM
875target_alias
876host_alias
877build_alias
878LIBS
879ECHO_T
880ECHO_N
881ECHO_C
882DEFS
883mandir
884localedir
885libdir
886psdir
887pdfdir
888dvidir
889htmldir
890infodir
891docdir
892oldincludedir
893includedir
894localstatedir
895sharedstatedir
896sysconfdir
897datadir
898datarootdir
899libexecdir
900sbindir
901bindir
902program_transform_name
903prefix
904exec_prefix
905PACKAGE_BUGREPORT
906PACKAGE_STRING
907PACKAGE_VERSION
908PACKAGE_TARNAME
909PACKAGE_NAME
910PATH_SEPARATOR
911SHELL'
912ac_subst_files=''
913ac_user_opts='
914enable_option_checking
915enable_maintainer_mode
916enable_dependency_tracking
917enable_shared
918enable_static
919with_pic
920enable_fast_install
921with_gnu_ld
922enable_libtool_lock
923enable_silent_rules
924with_encodingsdir
925with_lint
926with_release_version
927'
928      ac_precious_vars='build_alias
929host_alias
930target_alias
931CC
932CFLAGS
933LDFLAGS
934LIBS
935CPPFLAGS
936CPP
937PKG_CONFIG
938FONTENC_CFLAGS
939FONTENC_LIBS'
940
941
942# Initialize some variables set by options.
943ac_init_help=
944ac_init_version=false
945ac_unrecognized_opts=
946ac_unrecognized_sep=
947# The variables have the same names as the options, with
948# dashes changed to underlines.
949cache_file=/dev/null
950exec_prefix=NONE
951no_create=
952no_recursion=
953prefix=NONE
954program_prefix=NONE
955program_suffix=NONE
956program_transform_name=s,x,x,
957silent=
958site=
959srcdir=
960verbose=
961x_includes=NONE
962x_libraries=NONE
963
964# Installation directory options.
965# These are left unexpanded so users can "make install exec_prefix=/foo"
966# and all the variables that are supposed to be based on exec_prefix
967# by default will actually change.
968# Use braces instead of parens because sh, perl, etc. also accept them.
969# (The list follows the same order as the GNU Coding Standards.)
970bindir='${exec_prefix}/bin'
971sbindir='${exec_prefix}/sbin'
972libexecdir='${exec_prefix}/libexec'
973datarootdir='${prefix}/share'
974datadir='${datarootdir}'
975sysconfdir='${prefix}/etc'
976sharedstatedir='${prefix}/com'
977localstatedir='${prefix}/var'
978includedir='${prefix}/include'
979oldincludedir='/usr/include'
980docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
981infodir='${datarootdir}/info'
982htmldir='${docdir}'
983dvidir='${docdir}'
984pdfdir='${docdir}'
985psdir='${docdir}'
986libdir='${exec_prefix}/lib'
987localedir='${datarootdir}/locale'
988mandir='${datarootdir}/man'
989
990ac_prev=
991ac_dashdash=
992for ac_option
993do
994  # If the previous option needs an argument, assign it.
995  if test -n "$ac_prev"; then
996    eval $ac_prev=\$ac_option
997    ac_prev=
998    continue
999  fi
1000
1001  case $ac_option in
1002  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1003  *)	ac_optarg=yes ;;
1004  esac
1005
1006  # Accept the important Cygnus configure options, so we can diagnose typos.
1007
1008  case $ac_dashdash$ac_option in
1009  --)
1010    ac_dashdash=yes ;;
1011
1012  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1013    ac_prev=bindir ;;
1014  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1015    bindir=$ac_optarg ;;
1016
1017  -build | --build | --buil | --bui | --bu)
1018    ac_prev=build_alias ;;
1019  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1020    build_alias=$ac_optarg ;;
1021
1022  -cache-file | --cache-file | --cache-fil | --cache-fi \
1023  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1024    ac_prev=cache_file ;;
1025  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1026  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1027    cache_file=$ac_optarg ;;
1028
1029  --config-cache | -C)
1030    cache_file=config.cache ;;
1031
1032  -datadir | --datadir | --datadi | --datad)
1033    ac_prev=datadir ;;
1034  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1035    datadir=$ac_optarg ;;
1036
1037  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1038  | --dataroo | --dataro | --datar)
1039    ac_prev=datarootdir ;;
1040  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1041  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1042    datarootdir=$ac_optarg ;;
1043
1044  -disable-* | --disable-*)
1045    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1046    # Reject names that are not valid shell variable names.
1047    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1049   { (exit 1); exit 1; }; }
1050    ac_useropt_orig=$ac_useropt
1051    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052    case $ac_user_opts in
1053      *"
1054"enable_$ac_useropt"
1055"*) ;;
1056      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1057	 ac_unrecognized_sep=', ';;
1058    esac
1059    eval enable_$ac_useropt=no ;;
1060
1061  -docdir | --docdir | --docdi | --doc | --do)
1062    ac_prev=docdir ;;
1063  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1064    docdir=$ac_optarg ;;
1065
1066  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1067    ac_prev=dvidir ;;
1068  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1069    dvidir=$ac_optarg ;;
1070
1071  -enable-* | --enable-*)
1072    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1073    # Reject names that are not valid shell variable names.
1074    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1076   { (exit 1); exit 1; }; }
1077    ac_useropt_orig=$ac_useropt
1078    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079    case $ac_user_opts in
1080      *"
1081"enable_$ac_useropt"
1082"*) ;;
1083      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1084	 ac_unrecognized_sep=', ';;
1085    esac
1086    eval enable_$ac_useropt=\$ac_optarg ;;
1087
1088  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1089  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1090  | --exec | --exe | --ex)
1091    ac_prev=exec_prefix ;;
1092  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1093  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1094  | --exec=* | --exe=* | --ex=*)
1095    exec_prefix=$ac_optarg ;;
1096
1097  -gas | --gas | --ga | --g)
1098    # Obsolete; use --with-gas.
1099    with_gas=yes ;;
1100
1101  -help | --help | --hel | --he | -h)
1102    ac_init_help=long ;;
1103  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1104    ac_init_help=recursive ;;
1105  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1106    ac_init_help=short ;;
1107
1108  -host | --host | --hos | --ho)
1109    ac_prev=host_alias ;;
1110  -host=* | --host=* | --hos=* | --ho=*)
1111    host_alias=$ac_optarg ;;
1112
1113  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1114    ac_prev=htmldir ;;
1115  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1116  | --ht=*)
1117    htmldir=$ac_optarg ;;
1118
1119  -includedir | --includedir | --includedi | --included | --include \
1120  | --includ | --inclu | --incl | --inc)
1121    ac_prev=includedir ;;
1122  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1123  | --includ=* | --inclu=* | --incl=* | --inc=*)
1124    includedir=$ac_optarg ;;
1125
1126  -infodir | --infodir | --infodi | --infod | --info | --inf)
1127    ac_prev=infodir ;;
1128  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1129    infodir=$ac_optarg ;;
1130
1131  -libdir | --libdir | --libdi | --libd)
1132    ac_prev=libdir ;;
1133  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1134    libdir=$ac_optarg ;;
1135
1136  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1137  | --libexe | --libex | --libe)
1138    ac_prev=libexecdir ;;
1139  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1140  | --libexe=* | --libex=* | --libe=*)
1141    libexecdir=$ac_optarg ;;
1142
1143  -localedir | --localedir | --localedi | --localed | --locale)
1144    ac_prev=localedir ;;
1145  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1146    localedir=$ac_optarg ;;
1147
1148  -localstatedir | --localstatedir | --localstatedi | --localstated \
1149  | --localstate | --localstat | --localsta | --localst | --locals)
1150    ac_prev=localstatedir ;;
1151  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1152  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1153    localstatedir=$ac_optarg ;;
1154
1155  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1156    ac_prev=mandir ;;
1157  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1158    mandir=$ac_optarg ;;
1159
1160  -nfp | --nfp | --nf)
1161    # Obsolete; use --without-fp.
1162    with_fp=no ;;
1163
1164  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1165  | --no-cr | --no-c | -n)
1166    no_create=yes ;;
1167
1168  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1169  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1170    no_recursion=yes ;;
1171
1172  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1173  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1174  | --oldin | --oldi | --old | --ol | --o)
1175    ac_prev=oldincludedir ;;
1176  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1177  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1178  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1179    oldincludedir=$ac_optarg ;;
1180
1181  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1182    ac_prev=prefix ;;
1183  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1184    prefix=$ac_optarg ;;
1185
1186  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1187  | --program-pre | --program-pr | --program-p)
1188    ac_prev=program_prefix ;;
1189  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1190  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1191    program_prefix=$ac_optarg ;;
1192
1193  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1194  | --program-suf | --program-su | --program-s)
1195    ac_prev=program_suffix ;;
1196  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1197  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1198    program_suffix=$ac_optarg ;;
1199
1200  -program-transform-name | --program-transform-name \
1201  | --program-transform-nam | --program-transform-na \
1202  | --program-transform-n | --program-transform- \
1203  | --program-transform | --program-transfor \
1204  | --program-transfo | --program-transf \
1205  | --program-trans | --program-tran \
1206  | --progr-tra | --program-tr | --program-t)
1207    ac_prev=program_transform_name ;;
1208  -program-transform-name=* | --program-transform-name=* \
1209  | --program-transform-nam=* | --program-transform-na=* \
1210  | --program-transform-n=* | --program-transform-=* \
1211  | --program-transform=* | --program-transfor=* \
1212  | --program-transfo=* | --program-transf=* \
1213  | --program-trans=* | --program-tran=* \
1214  | --progr-tra=* | --program-tr=* | --program-t=*)
1215    program_transform_name=$ac_optarg ;;
1216
1217  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1218    ac_prev=pdfdir ;;
1219  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1220    pdfdir=$ac_optarg ;;
1221
1222  -psdir | --psdir | --psdi | --psd | --ps)
1223    ac_prev=psdir ;;
1224  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1225    psdir=$ac_optarg ;;
1226
1227  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1228  | -silent | --silent | --silen | --sile | --sil)
1229    silent=yes ;;
1230
1231  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1232    ac_prev=sbindir ;;
1233  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1234  | --sbi=* | --sb=*)
1235    sbindir=$ac_optarg ;;
1236
1237  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1238  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1239  | --sharedst | --shareds | --shared | --share | --shar \
1240  | --sha | --sh)
1241    ac_prev=sharedstatedir ;;
1242  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1243  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1244  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1245  | --sha=* | --sh=*)
1246    sharedstatedir=$ac_optarg ;;
1247
1248  -site | --site | --sit)
1249    ac_prev=site ;;
1250  -site=* | --site=* | --sit=*)
1251    site=$ac_optarg ;;
1252
1253  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1254    ac_prev=srcdir ;;
1255  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1256    srcdir=$ac_optarg ;;
1257
1258  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1259  | --syscon | --sysco | --sysc | --sys | --sy)
1260    ac_prev=sysconfdir ;;
1261  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1262  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1263    sysconfdir=$ac_optarg ;;
1264
1265  -target | --target | --targe | --targ | --tar | --ta | --t)
1266    ac_prev=target_alias ;;
1267  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1268    target_alias=$ac_optarg ;;
1269
1270  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1271    verbose=yes ;;
1272
1273  -version | --version | --versio | --versi | --vers | -V)
1274    ac_init_version=: ;;
1275
1276  -with-* | --with-*)
1277    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1278    # Reject names that are not valid shell variable names.
1279    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1280      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1281   { (exit 1); exit 1; }; }
1282    ac_useropt_orig=$ac_useropt
1283    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284    case $ac_user_opts in
1285      *"
1286"with_$ac_useropt"
1287"*) ;;
1288      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1289	 ac_unrecognized_sep=', ';;
1290    esac
1291    eval with_$ac_useropt=\$ac_optarg ;;
1292
1293  -without-* | --without-*)
1294    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1295    # Reject names that are not valid shell variable names.
1296    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1297      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1298   { (exit 1); exit 1; }; }
1299    ac_useropt_orig=$ac_useropt
1300    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301    case $ac_user_opts in
1302      *"
1303"with_$ac_useropt"
1304"*) ;;
1305      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1306	 ac_unrecognized_sep=', ';;
1307    esac
1308    eval with_$ac_useropt=no ;;
1309
1310  --x)
1311    # Obsolete; use --with-x.
1312    with_x=yes ;;
1313
1314  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1315  | --x-incl | --x-inc | --x-in | --x-i)
1316    ac_prev=x_includes ;;
1317  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1318  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1319    x_includes=$ac_optarg ;;
1320
1321  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1322  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1323    ac_prev=x_libraries ;;
1324  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1325  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1326    x_libraries=$ac_optarg ;;
1327
1328  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1329Try \`$0 --help' for more information." >&2
1330   { (exit 1); exit 1; }; }
1331    ;;
1332
1333  *=*)
1334    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1335    # Reject names that are not valid shell variable names.
1336    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1337      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1338   { (exit 1); exit 1; }; }
1339    eval $ac_envvar=\$ac_optarg
1340    export $ac_envvar ;;
1341
1342  *)
1343    # FIXME: should be removed in autoconf 3.0.
1344    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1345    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1346      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1347    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1348    ;;
1349
1350  esac
1351done
1352
1353if test -n "$ac_prev"; then
1354  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1355  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1356   { (exit 1); exit 1; }; }
1357fi
1358
1359if test -n "$ac_unrecognized_opts"; then
1360  case $enable_option_checking in
1361    no) ;;
1362    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1363   { (exit 1); exit 1; }; } ;;
1364    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1365  esac
1366fi
1367
1368# Check all directory arguments for consistency.
1369for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1370		datadir sysconfdir sharedstatedir localstatedir includedir \
1371		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1372		libdir localedir mandir
1373do
1374  eval ac_val=\$$ac_var
1375  # Remove trailing slashes.
1376  case $ac_val in
1377    */ )
1378      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1379      eval $ac_var=\$ac_val;;
1380  esac
1381  # Be sure to have absolute directory names.
1382  case $ac_val in
1383    [\\/$]* | ?:[\\/]* )  continue;;
1384    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1385  esac
1386  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1387   { (exit 1); exit 1; }; }
1388done
1389
1390# There might be people who depend on the old broken behavior: `$host'
1391# used to hold the argument of --host etc.
1392# FIXME: To remove some day.
1393build=$build_alias
1394host=$host_alias
1395target=$target_alias
1396
1397# FIXME: To remove some day.
1398if test "x$host_alias" != x; then
1399  if test "x$build_alias" = x; then
1400    cross_compiling=maybe
1401    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1402    If a cross compiler is detected then cross compile mode will be used." >&2
1403  elif test "x$build_alias" != "x$host_alias"; then
1404    cross_compiling=yes
1405  fi
1406fi
1407
1408ac_tool_prefix=
1409test -n "$host_alias" && ac_tool_prefix=$host_alias-
1410
1411test "$silent" = yes && exec 6>/dev/null
1412
1413
1414ac_pwd=`pwd` && test -n "$ac_pwd" &&
1415ac_ls_di=`ls -di .` &&
1416ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1417  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1418   { (exit 1); exit 1; }; }
1419test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1420  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1421   { (exit 1); exit 1; }; }
1422
1423
1424# Find the source files, if location was not specified.
1425if test -z "$srcdir"; then
1426  ac_srcdir_defaulted=yes
1427  # Try the directory containing this script, then the parent directory.
1428  ac_confdir=`$as_dirname -- "$as_myself" ||
1429$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1430	 X"$as_myself" : 'X\(//\)[^/]' \| \
1431	 X"$as_myself" : 'X\(//\)$' \| \
1432	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1433$as_echo X"$as_myself" |
1434    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1435	    s//\1/
1436	    q
1437	  }
1438	  /^X\(\/\/\)[^/].*/{
1439	    s//\1/
1440	    q
1441	  }
1442	  /^X\(\/\/\)$/{
1443	    s//\1/
1444	    q
1445	  }
1446	  /^X\(\/\).*/{
1447	    s//\1/
1448	    q
1449	  }
1450	  s/.*/./; q'`
1451  srcdir=$ac_confdir
1452  if test ! -r "$srcdir/$ac_unique_file"; then
1453    srcdir=..
1454  fi
1455else
1456  ac_srcdir_defaulted=no
1457fi
1458if test ! -r "$srcdir/$ac_unique_file"; then
1459  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1460  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1461   { (exit 1); exit 1; }; }
1462fi
1463ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1464ac_abs_confdir=`(
1465	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1466   { (exit 1); exit 1; }; }
1467	pwd)`
1468# When building in place, set srcdir=.
1469if test "$ac_abs_confdir" = "$ac_pwd"; then
1470  srcdir=.
1471fi
1472# Remove unnecessary trailing slashes from srcdir.
1473# Double slashes in file names in object file debugging info
1474# mess up M-x gdb in Emacs.
1475case $srcdir in
1476*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1477esac
1478for ac_var in $ac_precious_vars; do
1479  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1480  eval ac_env_${ac_var}_value=\$${ac_var}
1481  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1482  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1483done
1484
1485#
1486# Report the --help message.
1487#
1488if test "$ac_init_help" = "long"; then
1489  # Omit some internal or obsolete options to make the list less imposing.
1490  # This message is too long to be a string in the A/UX 3.1 sh.
1491  cat <<_ACEOF
1492\`configure' configures libfontenc 1.0.5 to adapt to many kinds of systems.
1493
1494Usage: $0 [OPTION]... [VAR=VALUE]...
1495
1496To assign environment variables (e.g., CC, CFLAGS...), specify them as
1497VAR=VALUE.  See below for descriptions of some of the useful variables.
1498
1499Defaults for the options are specified in brackets.
1500
1501Configuration:
1502  -h, --help              display this help and exit
1503      --help=short        display options specific to this package
1504      --help=recursive    display the short help of all the included packages
1505  -V, --version           display version information and exit
1506  -q, --quiet, --silent   do not print \`checking...' messages
1507      --cache-file=FILE   cache test results in FILE [disabled]
1508  -C, --config-cache      alias for \`--cache-file=config.cache'
1509  -n, --no-create         do not create output files
1510      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1511
1512Installation directories:
1513  --prefix=PREFIX         install architecture-independent files in PREFIX
1514                          [$ac_default_prefix]
1515  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1516                          [PREFIX]
1517
1518By default, \`make install' will install all the files in
1519\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1520an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1521for instance \`--prefix=\$HOME'.
1522
1523For better control, use the options below.
1524
1525Fine tuning of the installation directories:
1526  --bindir=DIR            user executables [EPREFIX/bin]
1527  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1528  --libexecdir=DIR        program executables [EPREFIX/libexec]
1529  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1530  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1531  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1532  --libdir=DIR            object code libraries [EPREFIX/lib]
1533  --includedir=DIR        C header files [PREFIX/include]
1534  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1535  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1536  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1537  --infodir=DIR           info documentation [DATAROOTDIR/info]
1538  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1539  --mandir=DIR            man documentation [DATAROOTDIR/man]
1540  --docdir=DIR            documentation root [DATAROOTDIR/doc/libfontenc]
1541  --htmldir=DIR           html documentation [DOCDIR]
1542  --dvidir=DIR            dvi documentation [DOCDIR]
1543  --pdfdir=DIR            pdf documentation [DOCDIR]
1544  --psdir=DIR             ps documentation [DOCDIR]
1545_ACEOF
1546
1547  cat <<\_ACEOF
1548
1549Program names:
1550  --program-prefix=PREFIX            prepend PREFIX to installed program names
1551  --program-suffix=SUFFIX            append SUFFIX to installed program names
1552  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1553
1554System types:
1555  --build=BUILD     configure for building on BUILD [guessed]
1556  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1557_ACEOF
1558fi
1559
1560if test -n "$ac_init_help"; then
1561  case $ac_init_help in
1562     short | recursive ) echo "Configuration of libfontenc 1.0.5:";;
1563   esac
1564  cat <<\_ACEOF
1565
1566Optional Features:
1567  --disable-option-checking  ignore unrecognized --enable/--with options
1568  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1569  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1570  --enable-maintainer-mode  enable make rules and dependencies not useful
1571			  (and sometimes confusing) to the casual installer
1572  --disable-dependency-tracking  speeds up one-time build
1573  --enable-dependency-tracking   do not reject slow dependency extractors
1574  --enable-shared[=PKGS]  build shared libraries [default=yes]
1575  --enable-static[=PKGS]  build static libraries [default=yes]
1576  --enable-fast-install[=PKGS]
1577                          optimize for fast installation [default=yes]
1578  --disable-libtool-lock  avoid locking (might break parallel builds)
1579  --enable-silent-rules          less verbose build output (undo: `make V=1')
1580  --disable-silent-rules         verbose build output (undo: `make V=0')
1581
1582Optional Packages:
1583  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1584  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1585  --with-pic              try to use only PIC/non-PIC objects [default=use
1586                          both]
1587  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1588  --with-encodingsdir=<pathname>
1589                          Path to font encodings
1590  --with-lint             Use a lint-style source code checker (default:
1591                          disabled)
1592  --with-release-version=STRING
1593                          Use release version string in package name
1594
1595Some influential environment variables:
1596  CC          C compiler command
1597  CFLAGS      C compiler flags
1598  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1599              nonstandard directory <lib dir>
1600  LIBS        libraries to pass to the linker, e.g. -l<library>
1601  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1602              you have headers in a nonstandard directory <include dir>
1603  CPP         C preprocessor
1604  PKG_CONFIG  path to pkg-config utility
1605  FONTENC_CFLAGS
1606              C compiler flags for FONTENC, overriding pkg-config
1607  FONTENC_LIBS
1608              linker flags for FONTENC, overriding pkg-config
1609
1610Use these variables to override the choices made by `configure' or to help
1611it to find libraries and programs with nonstandard names/locations.
1612
1613Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1614_ACEOF
1615ac_status=$?
1616fi
1617
1618if test "$ac_init_help" = "recursive"; then
1619  # If there are subdirs, report their specific --help.
1620  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1621    test -d "$ac_dir" ||
1622      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1623      continue
1624    ac_builddir=.
1625
1626case "$ac_dir" in
1627.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628*)
1629  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1630  # A ".." for each directory in $ac_dir_suffix.
1631  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1632  case $ac_top_builddir_sub in
1633  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1634  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1635  esac ;;
1636esac
1637ac_abs_top_builddir=$ac_pwd
1638ac_abs_builddir=$ac_pwd$ac_dir_suffix
1639# for backward compatibility:
1640ac_top_builddir=$ac_top_build_prefix
1641
1642case $srcdir in
1643  .)  # We are building in place.
1644    ac_srcdir=.
1645    ac_top_srcdir=$ac_top_builddir_sub
1646    ac_abs_top_srcdir=$ac_pwd ;;
1647  [\\/]* | ?:[\\/]* )  # Absolute name.
1648    ac_srcdir=$srcdir$ac_dir_suffix;
1649    ac_top_srcdir=$srcdir
1650    ac_abs_top_srcdir=$srcdir ;;
1651  *) # Relative name.
1652    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1653    ac_top_srcdir=$ac_top_build_prefix$srcdir
1654    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1655esac
1656ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1657
1658    cd "$ac_dir" || { ac_status=$?; continue; }
1659    # Check for guested configure.
1660    if test -f "$ac_srcdir/configure.gnu"; then
1661      echo &&
1662      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1663    elif test -f "$ac_srcdir/configure"; then
1664      echo &&
1665      $SHELL "$ac_srcdir/configure" --help=recursive
1666    else
1667      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1668    fi || ac_status=$?
1669    cd "$ac_pwd" || { ac_status=$?; break; }
1670  done
1671fi
1672
1673test -n "$ac_init_help" && exit $ac_status
1674if $ac_init_version; then
1675  cat <<\_ACEOF
1676libfontenc configure 1.0.5
1677generated by GNU Autoconf 2.63
1678
1679Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16802002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1681This configure script is free software; the Free Software Foundation
1682gives unlimited permission to copy, distribute and modify it.
1683_ACEOF
1684  exit
1685fi
1686cat >config.log <<_ACEOF
1687This file contains any messages produced by compilers while
1688running configure, to aid debugging if configure makes a mistake.
1689
1690It was created by libfontenc $as_me 1.0.5, which was
1691generated by GNU Autoconf 2.63.  Invocation command line was
1692
1693  $ $0 $@
1694
1695_ACEOF
1696exec 5>>config.log
1697{
1698cat <<_ASUNAME
1699## --------- ##
1700## Platform. ##
1701## --------- ##
1702
1703hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1704uname -m = `(uname -m) 2>/dev/null || echo unknown`
1705uname -r = `(uname -r) 2>/dev/null || echo unknown`
1706uname -s = `(uname -s) 2>/dev/null || echo unknown`
1707uname -v = `(uname -v) 2>/dev/null || echo unknown`
1708
1709/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1710/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1711
1712/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1713/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1714/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1715/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1716/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1717/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1718/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1719
1720_ASUNAME
1721
1722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1723for as_dir in $PATH
1724do
1725  IFS=$as_save_IFS
1726  test -z "$as_dir" && as_dir=.
1727  $as_echo "PATH: $as_dir"
1728done
1729IFS=$as_save_IFS
1730
1731} >&5
1732
1733cat >&5 <<_ACEOF
1734
1735
1736## ----------- ##
1737## Core tests. ##
1738## ----------- ##
1739
1740_ACEOF
1741
1742
1743# Keep a trace of the command line.
1744# Strip out --no-create and --no-recursion so they do not pile up.
1745# Strip out --silent because we don't want to record it for future runs.
1746# Also quote any args containing shell meta-characters.
1747# Make two passes to allow for proper duplicate-argument suppression.
1748ac_configure_args=
1749ac_configure_args0=
1750ac_configure_args1=
1751ac_must_keep_next=false
1752for ac_pass in 1 2
1753do
1754  for ac_arg
1755  do
1756    case $ac_arg in
1757    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1758    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1759    | -silent | --silent | --silen | --sile | --sil)
1760      continue ;;
1761    *\'*)
1762      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1763    esac
1764    case $ac_pass in
1765    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1766    2)
1767      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1768      if test $ac_must_keep_next = true; then
1769	ac_must_keep_next=false # Got value, back to normal.
1770      else
1771	case $ac_arg in
1772	  *=* | --config-cache | -C | -disable-* | --disable-* \
1773	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1774	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1775	  | -with-* | --with-* | -without-* | --without-* | --x)
1776	    case "$ac_configure_args0 " in
1777	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1778	    esac
1779	    ;;
1780	  -* ) ac_must_keep_next=true ;;
1781	esac
1782      fi
1783      ac_configure_args="$ac_configure_args '$ac_arg'"
1784      ;;
1785    esac
1786  done
1787done
1788$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1789$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1790
1791# When interrupted or exit'd, cleanup temporary files, and complete
1792# config.log.  We remove comments because anyway the quotes in there
1793# would cause problems or look ugly.
1794# WARNING: Use '\'' to represent an apostrophe within the trap.
1795# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1796trap 'exit_status=$?
1797  # Save into config.log some information that might help in debugging.
1798  {
1799    echo
1800
1801    cat <<\_ASBOX
1802## ---------------- ##
1803## Cache variables. ##
1804## ---------------- ##
1805_ASBOX
1806    echo
1807    # The following way of writing the cache mishandles newlines in values,
1808(
1809  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1810    eval ac_val=\$$ac_var
1811    case $ac_val in #(
1812    *${as_nl}*)
1813      case $ac_var in #(
1814      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1815$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1816      esac
1817      case $ac_var in #(
1818      _ | IFS | as_nl) ;; #(
1819      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1820      *) $as_unset $ac_var ;;
1821      esac ;;
1822    esac
1823  done
1824  (set) 2>&1 |
1825    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1826    *${as_nl}ac_space=\ *)
1827      sed -n \
1828	"s/'\''/'\''\\\\'\'''\''/g;
1829	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1830      ;; #(
1831    *)
1832      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1833      ;;
1834    esac |
1835    sort
1836)
1837    echo
1838
1839    cat <<\_ASBOX
1840## ----------------- ##
1841## Output variables. ##
1842## ----------------- ##
1843_ASBOX
1844    echo
1845    for ac_var in $ac_subst_vars
1846    do
1847      eval ac_val=\$$ac_var
1848      case $ac_val in
1849      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1850      esac
1851      $as_echo "$ac_var='\''$ac_val'\''"
1852    done | sort
1853    echo
1854
1855    if test -n "$ac_subst_files"; then
1856      cat <<\_ASBOX
1857## ------------------- ##
1858## File substitutions. ##
1859## ------------------- ##
1860_ASBOX
1861      echo
1862      for ac_var in $ac_subst_files
1863      do
1864	eval ac_val=\$$ac_var
1865	case $ac_val in
1866	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1867	esac
1868	$as_echo "$ac_var='\''$ac_val'\''"
1869      done | sort
1870      echo
1871    fi
1872
1873    if test -s confdefs.h; then
1874      cat <<\_ASBOX
1875## ----------- ##
1876## confdefs.h. ##
1877## ----------- ##
1878_ASBOX
1879      echo
1880      cat confdefs.h
1881      echo
1882    fi
1883    test "$ac_signal" != 0 &&
1884      $as_echo "$as_me: caught signal $ac_signal"
1885    $as_echo "$as_me: exit $exit_status"
1886  } >&5
1887  rm -f core *.core core.conftest.* &&
1888    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1889    exit $exit_status
1890' 0
1891for ac_signal in 1 2 13 15; do
1892  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1893done
1894ac_signal=0
1895
1896# confdefs.h avoids OS command line length limits that DEFS can exceed.
1897rm -f -r conftest* confdefs.h
1898
1899# Predefined preprocessor variables.
1900
1901cat >>confdefs.h <<_ACEOF
1902#define PACKAGE_NAME "$PACKAGE_NAME"
1903_ACEOF
1904
1905
1906cat >>confdefs.h <<_ACEOF
1907#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1908_ACEOF
1909
1910
1911cat >>confdefs.h <<_ACEOF
1912#define PACKAGE_VERSION "$PACKAGE_VERSION"
1913_ACEOF
1914
1915
1916cat >>confdefs.h <<_ACEOF
1917#define PACKAGE_STRING "$PACKAGE_STRING"
1918_ACEOF
1919
1920
1921cat >>confdefs.h <<_ACEOF
1922#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1923_ACEOF
1924
1925
1926# Let the site file select an alternate cache file if it wants to.
1927# Prefer an explicitly selected file to automatically selected ones.
1928ac_site_file1=NONE
1929ac_site_file2=NONE
1930if test -n "$CONFIG_SITE"; then
1931  ac_site_file1=$CONFIG_SITE
1932elif test "x$prefix" != xNONE; then
1933  ac_site_file1=$prefix/share/config.site
1934  ac_site_file2=$prefix/etc/config.site
1935else
1936  ac_site_file1=$ac_default_prefix/share/config.site
1937  ac_site_file2=$ac_default_prefix/etc/config.site
1938fi
1939for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1940do
1941  test "x$ac_site_file" = xNONE && continue
1942  if test -r "$ac_site_file"; then
1943    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1944$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1945    sed 's/^/| /' "$ac_site_file" >&5
1946    . "$ac_site_file"
1947  fi
1948done
1949
1950if test -r "$cache_file"; then
1951  # Some versions of bash will fail to source /dev/null (special
1952  # files actually), so we avoid doing that.
1953  if test -f "$cache_file"; then
1954    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1955$as_echo "$as_me: loading cache $cache_file" >&6;}
1956    case $cache_file in
1957      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1958      *)                      . "./$cache_file";;
1959    esac
1960  fi
1961else
1962  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1963$as_echo "$as_me: creating cache $cache_file" >&6;}
1964  >$cache_file
1965fi
1966
1967# Check that the precious variables saved in the cache have kept the same
1968# value.
1969ac_cache_corrupted=false
1970for ac_var in $ac_precious_vars; do
1971  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1972  eval ac_new_set=\$ac_env_${ac_var}_set
1973  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1974  eval ac_new_val=\$ac_env_${ac_var}_value
1975  case $ac_old_set,$ac_new_set in
1976    set,)
1977      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1978$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1979      ac_cache_corrupted=: ;;
1980    ,set)
1981      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1982$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1983      ac_cache_corrupted=: ;;
1984    ,);;
1985    *)
1986      if test "x$ac_old_val" != "x$ac_new_val"; then
1987	# differences in whitespace do not lead to failure.
1988	ac_old_val_w=`echo x $ac_old_val`
1989	ac_new_val_w=`echo x $ac_new_val`
1990	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1991	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1992$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1993	  ac_cache_corrupted=:
1994	else
1995	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1996$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1997	  eval $ac_var=\$ac_old_val
1998	fi
1999	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2000$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2001	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2002$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2003      fi;;
2004  esac
2005  # Pass precious variables to config.status.
2006  if test "$ac_new_set" = set; then
2007    case $ac_new_val in
2008    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2009    *) ac_arg=$ac_var=$ac_new_val ;;
2010    esac
2011    case " $ac_configure_args " in
2012      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2013      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2014    esac
2015  fi
2016done
2017if $ac_cache_corrupted; then
2018  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2019$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2020  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2021$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2022  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2023$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2024   { (exit 1); exit 1; }; }
2025fi
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051ac_ext=c
2052ac_cpp='$CPP $CPPFLAGS'
2053ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2054ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2055ac_compiler_gnu=$ac_cv_c_compiler_gnu
2056
2057
2058am__api_version='1.11'
2059
2060ac_aux_dir=
2061for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2062  if test -f "$ac_dir/install-sh"; then
2063    ac_aux_dir=$ac_dir
2064    ac_install_sh="$ac_aux_dir/install-sh -c"
2065    break
2066  elif test -f "$ac_dir/install.sh"; then
2067    ac_aux_dir=$ac_dir
2068    ac_install_sh="$ac_aux_dir/install.sh -c"
2069    break
2070  elif test -f "$ac_dir/shtool"; then
2071    ac_aux_dir=$ac_dir
2072    ac_install_sh="$ac_aux_dir/shtool install -c"
2073    break
2074  fi
2075done
2076if test -z "$ac_aux_dir"; then
2077  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2078$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2079   { (exit 1); exit 1; }; }
2080fi
2081
2082# These three variables are undocumented and unsupported,
2083# and are intended to be withdrawn in a future Autoconf release.
2084# They can cause serious problems if a builder's source tree is in a directory
2085# whose full name contains unusual characters.
2086ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2087ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2088ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2089
2090
2091# Find a good install program.  We prefer a C program (faster),
2092# so one script is as good as another.  But avoid the broken or
2093# incompatible versions:
2094# SysV /etc/install, /usr/sbin/install
2095# SunOS /usr/etc/install
2096# IRIX /sbin/install
2097# AIX /bin/install
2098# AmigaOS /C/install, which installs bootblocks on floppy discs
2099# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2100# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2101# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2102# OS/2's system install, which has a completely different semantic
2103# ./install, which can be erroneously created by make from ./install.sh.
2104# Reject install programs that cannot install multiple files.
2105{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2106$as_echo_n "checking for a BSD-compatible install... " >&6; }
2107if test -z "$INSTALL"; then
2108if test "${ac_cv_path_install+set}" = set; then
2109  $as_echo_n "(cached) " >&6
2110else
2111  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112for as_dir in $PATH
2113do
2114  IFS=$as_save_IFS
2115  test -z "$as_dir" && as_dir=.
2116  # Account for people who put trailing slashes in PATH elements.
2117case $as_dir/ in
2118  ./ | .// | /cC/* | \
2119  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2120  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2121  /usr/ucb/* ) ;;
2122  *)
2123    # OSF1 and SCO ODT 3.0 have their own names for install.
2124    # Don't use installbsd from OSF since it installs stuff as root
2125    # by default.
2126    for ac_prog in ginstall scoinst install; do
2127      for ac_exec_ext in '' $ac_executable_extensions; do
2128	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2129	  if test $ac_prog = install &&
2130	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2131	    # AIX install.  It has an incompatible calling convention.
2132	    :
2133	  elif test $ac_prog = install &&
2134	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2135	    # program-specific install script used by HP pwplus--don't use.
2136	    :
2137	  else
2138	    rm -rf conftest.one conftest.two conftest.dir
2139	    echo one > conftest.one
2140	    echo two > conftest.two
2141	    mkdir conftest.dir
2142	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2143	      test -s conftest.one && test -s conftest.two &&
2144	      test -s conftest.dir/conftest.one &&
2145	      test -s conftest.dir/conftest.two
2146	    then
2147	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2148	      break 3
2149	    fi
2150	  fi
2151	fi
2152      done
2153    done
2154    ;;
2155esac
2156
2157done
2158IFS=$as_save_IFS
2159
2160rm -rf conftest.one conftest.two conftest.dir
2161
2162fi
2163  if test "${ac_cv_path_install+set}" = set; then
2164    INSTALL=$ac_cv_path_install
2165  else
2166    # As a last resort, use the slow shell script.  Don't cache a
2167    # value for INSTALL within a source directory, because that will
2168    # break other packages using the cache if that directory is
2169    # removed, or if the value is a relative name.
2170    INSTALL=$ac_install_sh
2171  fi
2172fi
2173{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2174$as_echo "$INSTALL" >&6; }
2175
2176# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2177# It thinks the first close brace ends the variable substitution.
2178test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2179
2180test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2181
2182test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2183
2184{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2185$as_echo_n "checking whether build environment is sane... " >&6; }
2186# Just in case
2187sleep 1
2188echo timestamp > conftest.file
2189# Reject unsafe characters in $srcdir or the absolute working directory
2190# name.  Accept space and tab only in the latter.
2191am_lf='
2192'
2193case `pwd` in
2194  *[\\\"\#\$\&\'\`$am_lf]*)
2195    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2196$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2197   { (exit 1); exit 1; }; };;
2198esac
2199case $srcdir in
2200  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2201    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2202$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2203   { (exit 1); exit 1; }; };;
2204esac
2205
2206# Do `set' in a subshell so we don't clobber the current shell's
2207# arguments.  Must try -L first in case configure is actually a
2208# symlink; some systems play weird games with the mod time of symlinks
2209# (eg FreeBSD returns the mod time of the symlink's containing
2210# directory).
2211if (
2212   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2213   if test "$*" = "X"; then
2214      # -L didn't work.
2215      set X `ls -t "$srcdir/configure" conftest.file`
2216   fi
2217   rm -f conftest.file
2218   if test "$*" != "X $srcdir/configure conftest.file" \
2219      && test "$*" != "X conftest.file $srcdir/configure"; then
2220
2221      # If neither matched, then we have a broken ls.  This can happen
2222      # if, for instance, CONFIG_SHELL is bash and it inherits a
2223      # broken ls alias from the environment.  This has actually
2224      # happened.  Such a system could not be considered "sane".
2225      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2226alias in your environment" >&5
2227$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2228alias in your environment" >&2;}
2229   { (exit 1); exit 1; }; }
2230   fi
2231
2232   test "$2" = conftest.file
2233   )
2234then
2235   # Ok.
2236   :
2237else
2238   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2239Check your system clock" >&5
2240$as_echo "$as_me: error: newly created file is older than distributed files!
2241Check your system clock" >&2;}
2242   { (exit 1); exit 1; }; }
2243fi
2244{ $as_echo "$as_me:$LINENO: result: yes" >&5
2245$as_echo "yes" >&6; }
2246test "$program_prefix" != NONE &&
2247  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2248# Use a double $ so make ignores it.
2249test "$program_suffix" != NONE &&
2250  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2251# Double any \ or $.
2252# By default was `s,x,x', remove it if useless.
2253ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2254program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2255
2256# expand $ac_aux_dir to an absolute path
2257am_aux_dir=`cd $ac_aux_dir && pwd`
2258
2259if test x"${MISSING+set}" != xset; then
2260  case $am_aux_dir in
2261  *\ * | *\	*)
2262    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2263  *)
2264    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2265  esac
2266fi
2267# Use eval to expand $SHELL
2268if eval "$MISSING --run true"; then
2269  am_missing_run="$MISSING --run "
2270else
2271  am_missing_run=
2272  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2273$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2274fi
2275
2276if test x"${install_sh}" != xset; then
2277  case $am_aux_dir in
2278  *\ * | *\	*)
2279    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2280  *)
2281    install_sh="\${SHELL} $am_aux_dir/install-sh"
2282  esac
2283fi
2284
2285# Installed binaries are usually stripped using `strip' when the user
2286# run `make install-strip'.  However `strip' might not be the right
2287# tool to use in cross-compilation environments, therefore Automake
2288# will honor the `STRIP' environment variable to overrule this program.
2289if test "$cross_compiling" != no; then
2290  if test -n "$ac_tool_prefix"; then
2291  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2292set dummy ${ac_tool_prefix}strip; ac_word=$2
2293{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2294$as_echo_n "checking for $ac_word... " >&6; }
2295if test "${ac_cv_prog_STRIP+set}" = set; then
2296  $as_echo_n "(cached) " >&6
2297else
2298  if test -n "$STRIP"; then
2299  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2300else
2301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302for as_dir in $PATH
2303do
2304  IFS=$as_save_IFS
2305  test -z "$as_dir" && as_dir=.
2306  for ac_exec_ext in '' $ac_executable_extensions; do
2307  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2309    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2310    break 2
2311  fi
2312done
2313done
2314IFS=$as_save_IFS
2315
2316fi
2317fi
2318STRIP=$ac_cv_prog_STRIP
2319if test -n "$STRIP"; then
2320  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2321$as_echo "$STRIP" >&6; }
2322else
2323  { $as_echo "$as_me:$LINENO: result: no" >&5
2324$as_echo "no" >&6; }
2325fi
2326
2327
2328fi
2329if test -z "$ac_cv_prog_STRIP"; then
2330  ac_ct_STRIP=$STRIP
2331  # Extract the first word of "strip", so it can be a program name with args.
2332set dummy strip; ac_word=$2
2333{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2334$as_echo_n "checking for $ac_word... " >&6; }
2335if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2336  $as_echo_n "(cached) " >&6
2337else
2338  if test -n "$ac_ct_STRIP"; then
2339  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2340else
2341as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342for as_dir in $PATH
2343do
2344  IFS=$as_save_IFS
2345  test -z "$as_dir" && as_dir=.
2346  for ac_exec_ext in '' $ac_executable_extensions; do
2347  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348    ac_cv_prog_ac_ct_STRIP="strip"
2349    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350    break 2
2351  fi
2352done
2353done
2354IFS=$as_save_IFS
2355
2356fi
2357fi
2358ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2359if test -n "$ac_ct_STRIP"; then
2360  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2361$as_echo "$ac_ct_STRIP" >&6; }
2362else
2363  { $as_echo "$as_me:$LINENO: result: no" >&5
2364$as_echo "no" >&6; }
2365fi
2366
2367  if test "x$ac_ct_STRIP" = x; then
2368    STRIP=":"
2369  else
2370    case $cross_compiling:$ac_tool_warned in
2371yes:)
2372{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2373$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2374ac_tool_warned=yes ;;
2375esac
2376    STRIP=$ac_ct_STRIP
2377  fi
2378else
2379  STRIP="$ac_cv_prog_STRIP"
2380fi
2381
2382fi
2383INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2384
2385{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2386$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2387if test -z "$MKDIR_P"; then
2388  if test "${ac_cv_path_mkdir+set}" = set; then
2389  $as_echo_n "(cached) " >&6
2390else
2391  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2393do
2394  IFS=$as_save_IFS
2395  test -z "$as_dir" && as_dir=.
2396  for ac_prog in mkdir gmkdir; do
2397	 for ac_exec_ext in '' $ac_executable_extensions; do
2398	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2399	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2400	     'mkdir (GNU coreutils) '* | \
2401	     'mkdir (coreutils) '* | \
2402	     'mkdir (fileutils) '4.1*)
2403	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2404	       break 3;;
2405	   esac
2406	 done
2407       done
2408done
2409IFS=$as_save_IFS
2410
2411fi
2412
2413  if test "${ac_cv_path_mkdir+set}" = set; then
2414    MKDIR_P="$ac_cv_path_mkdir -p"
2415  else
2416    # As a last resort, use the slow shell script.  Don't cache a
2417    # value for MKDIR_P within a source directory, because that will
2418    # break other packages using the cache if that directory is
2419    # removed, or if the value is a relative name.
2420    test -d ./--version && rmdir ./--version
2421    MKDIR_P="$ac_install_sh -d"
2422  fi
2423fi
2424{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2425$as_echo "$MKDIR_P" >&6; }
2426
2427mkdir_p="$MKDIR_P"
2428case $mkdir_p in
2429  [\\/$]* | ?:[\\/]*) ;;
2430  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2431esac
2432
2433for ac_prog in gawk mawk nawk awk
2434do
2435  # Extract the first word of "$ac_prog", so it can be a program name with args.
2436set dummy $ac_prog; ac_word=$2
2437{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2438$as_echo_n "checking for $ac_word... " >&6; }
2439if test "${ac_cv_prog_AWK+set}" = set; then
2440  $as_echo_n "(cached) " >&6
2441else
2442  if test -n "$AWK"; then
2443  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2444else
2445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446for as_dir in $PATH
2447do
2448  IFS=$as_save_IFS
2449  test -z "$as_dir" && as_dir=.
2450  for ac_exec_ext in '' $ac_executable_extensions; do
2451  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2452    ac_cv_prog_AWK="$ac_prog"
2453    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454    break 2
2455  fi
2456done
2457done
2458IFS=$as_save_IFS
2459
2460fi
2461fi
2462AWK=$ac_cv_prog_AWK
2463if test -n "$AWK"; then
2464  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2465$as_echo "$AWK" >&6; }
2466else
2467  { $as_echo "$as_me:$LINENO: result: no" >&5
2468$as_echo "no" >&6; }
2469fi
2470
2471
2472  test -n "$AWK" && break
2473done
2474
2475{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2476$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2477set x ${MAKE-make}
2478ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2479if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2480  $as_echo_n "(cached) " >&6
2481else
2482  cat >conftest.make <<\_ACEOF
2483SHELL = /bin/sh
2484all:
2485	@echo '@@@%%%=$(MAKE)=@@@%%%'
2486_ACEOF
2487# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2488case `${MAKE-make} -f conftest.make 2>/dev/null` in
2489  *@@@%%%=?*=@@@%%%*)
2490    eval ac_cv_prog_make_${ac_make}_set=yes;;
2491  *)
2492    eval ac_cv_prog_make_${ac_make}_set=no;;
2493esac
2494rm -f conftest.make
2495fi
2496if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2497  { $as_echo "$as_me:$LINENO: result: yes" >&5
2498$as_echo "yes" >&6; }
2499  SET_MAKE=
2500else
2501  { $as_echo "$as_me:$LINENO: result: no" >&5
2502$as_echo "no" >&6; }
2503  SET_MAKE="MAKE=${MAKE-make}"
2504fi
2505
2506rm -rf .tst 2>/dev/null
2507mkdir .tst 2>/dev/null
2508if test -d .tst; then
2509  am__leading_dot=.
2510else
2511  am__leading_dot=_
2512fi
2513rmdir .tst 2>/dev/null
2514
2515if test "`cd $srcdir && pwd`" != "`pwd`"; then
2516  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2517  # is not polluted with repeated "-I."
2518  am__isrc=' -I$(srcdir)'
2519  # test to see if srcdir already configured
2520  if test -f $srcdir/config.status; then
2521    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2522$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2523   { (exit 1); exit 1; }; }
2524  fi
2525fi
2526
2527# test whether we have cygpath
2528if test -z "$CYGPATH_W"; then
2529  if (cygpath --version) >/dev/null 2>/dev/null; then
2530    CYGPATH_W='cygpath -w'
2531  else
2532    CYGPATH_W=echo
2533  fi
2534fi
2535
2536
2537# Define the identity of the package.
2538 PACKAGE='libfontenc'
2539 VERSION='1.0.5'
2540
2541
2542cat >>confdefs.h <<_ACEOF
2543#define PACKAGE "$PACKAGE"
2544_ACEOF
2545
2546
2547cat >>confdefs.h <<_ACEOF
2548#define VERSION "$VERSION"
2549_ACEOF
2550
2551# Some tools Automake needs.
2552
2553ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2554
2555
2556AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2557
2558
2559AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2560
2561
2562AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2563
2564
2565MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2566
2567# We need awk for the "check" target.  The system "awk" is bad on
2568# some platforms.
2569# Always define AMTAR for backward compatibility.
2570
2571AMTAR=${AMTAR-"${am_missing_run}tar"}
2572
2573am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2574
2575
2576
2577
2578
2579
2580{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2581$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2582    # Check whether --enable-maintainer-mode was given.
2583if test "${enable_maintainer_mode+set}" = set; then
2584  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2585else
2586  USE_MAINTAINER_MODE=no
2587fi
2588
2589  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2590$as_echo "$USE_MAINTAINER_MODE" >&6; }
2591   if test $USE_MAINTAINER_MODE = yes; then
2592  MAINTAINER_MODE_TRUE=
2593  MAINTAINER_MODE_FALSE='#'
2594else
2595  MAINTAINER_MODE_TRUE='#'
2596  MAINTAINER_MODE_FALSE=
2597fi
2598
2599  MAINT=$MAINTAINER_MODE_TRUE
2600
2601
2602
2603# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG, XORG_WITH_LINT
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615ac_config_headers="$ac_config_headers config.h"
2616
2617
2618# Check for progs
2619ac_ext=c
2620ac_cpp='$CPP $CPPFLAGS'
2621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2623ac_compiler_gnu=$ac_cv_c_compiler_gnu
2624if test -n "$ac_tool_prefix"; then
2625  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2626set dummy ${ac_tool_prefix}gcc; ac_word=$2
2627{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2628$as_echo_n "checking for $ac_word... " >&6; }
2629if test "${ac_cv_prog_CC+set}" = set; then
2630  $as_echo_n "(cached) " >&6
2631else
2632  if test -n "$CC"; then
2633  ac_cv_prog_CC="$CC" # Let the user override the test.
2634else
2635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636for as_dir in $PATH
2637do
2638  IFS=$as_save_IFS
2639  test -z "$as_dir" && as_dir=.
2640  for ac_exec_ext in '' $ac_executable_extensions; do
2641  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2643    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2644    break 2
2645  fi
2646done
2647done
2648IFS=$as_save_IFS
2649
2650fi
2651fi
2652CC=$ac_cv_prog_CC
2653if test -n "$CC"; then
2654  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2655$as_echo "$CC" >&6; }
2656else
2657  { $as_echo "$as_me:$LINENO: result: no" >&5
2658$as_echo "no" >&6; }
2659fi
2660
2661
2662fi
2663if test -z "$ac_cv_prog_CC"; then
2664  ac_ct_CC=$CC
2665  # Extract the first word of "gcc", so it can be a program name with args.
2666set dummy gcc; ac_word=$2
2667{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2668$as_echo_n "checking for $ac_word... " >&6; }
2669if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2670  $as_echo_n "(cached) " >&6
2671else
2672  if test -n "$ac_ct_CC"; then
2673  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2674else
2675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676for as_dir in $PATH
2677do
2678  IFS=$as_save_IFS
2679  test -z "$as_dir" && as_dir=.
2680  for ac_exec_ext in '' $ac_executable_extensions; do
2681  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2682    ac_cv_prog_ac_ct_CC="gcc"
2683    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2684    break 2
2685  fi
2686done
2687done
2688IFS=$as_save_IFS
2689
2690fi
2691fi
2692ac_ct_CC=$ac_cv_prog_ac_ct_CC
2693if test -n "$ac_ct_CC"; then
2694  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2695$as_echo "$ac_ct_CC" >&6; }
2696else
2697  { $as_echo "$as_me:$LINENO: result: no" >&5
2698$as_echo "no" >&6; }
2699fi
2700
2701  if test "x$ac_ct_CC" = x; then
2702    CC=""
2703  else
2704    case $cross_compiling:$ac_tool_warned in
2705yes:)
2706{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2707$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2708ac_tool_warned=yes ;;
2709esac
2710    CC=$ac_ct_CC
2711  fi
2712else
2713  CC="$ac_cv_prog_CC"
2714fi
2715
2716if test -z "$CC"; then
2717          if test -n "$ac_tool_prefix"; then
2718    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2719set dummy ${ac_tool_prefix}cc; ac_word=$2
2720{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2721$as_echo_n "checking for $ac_word... " >&6; }
2722if test "${ac_cv_prog_CC+set}" = set; then
2723  $as_echo_n "(cached) " >&6
2724else
2725  if test -n "$CC"; then
2726  ac_cv_prog_CC="$CC" # Let the user override the test.
2727else
2728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729for as_dir in $PATH
2730do
2731  IFS=$as_save_IFS
2732  test -z "$as_dir" && as_dir=.
2733  for ac_exec_ext in '' $ac_executable_extensions; do
2734  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735    ac_cv_prog_CC="${ac_tool_prefix}cc"
2736    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737    break 2
2738  fi
2739done
2740done
2741IFS=$as_save_IFS
2742
2743fi
2744fi
2745CC=$ac_cv_prog_CC
2746if test -n "$CC"; then
2747  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2748$as_echo "$CC" >&6; }
2749else
2750  { $as_echo "$as_me:$LINENO: result: no" >&5
2751$as_echo "no" >&6; }
2752fi
2753
2754
2755  fi
2756fi
2757if test -z "$CC"; then
2758  # Extract the first word of "cc", so it can be a program name with args.
2759set dummy cc; ac_word=$2
2760{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2761$as_echo_n "checking for $ac_word... " >&6; }
2762if test "${ac_cv_prog_CC+set}" = set; then
2763  $as_echo_n "(cached) " >&6
2764else
2765  if test -n "$CC"; then
2766  ac_cv_prog_CC="$CC" # Let the user override the test.
2767else
2768  ac_prog_rejected=no
2769as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770for as_dir in $PATH
2771do
2772  IFS=$as_save_IFS
2773  test -z "$as_dir" && as_dir=.
2774  for ac_exec_ext in '' $ac_executable_extensions; do
2775  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2777       ac_prog_rejected=yes
2778       continue
2779     fi
2780    ac_cv_prog_CC="cc"
2781    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2782    break 2
2783  fi
2784done
2785done
2786IFS=$as_save_IFS
2787
2788if test $ac_prog_rejected = yes; then
2789  # We found a bogon in the path, so make sure we never use it.
2790  set dummy $ac_cv_prog_CC
2791  shift
2792  if test $# != 0; then
2793    # We chose a different compiler from the bogus one.
2794    # However, it has the same basename, so the bogon will be chosen
2795    # first if we set CC to just the basename; use the full file name.
2796    shift
2797    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2798  fi
2799fi
2800fi
2801fi
2802CC=$ac_cv_prog_CC
2803if test -n "$CC"; then
2804  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2805$as_echo "$CC" >&6; }
2806else
2807  { $as_echo "$as_me:$LINENO: result: no" >&5
2808$as_echo "no" >&6; }
2809fi
2810
2811
2812fi
2813if test -z "$CC"; then
2814  if test -n "$ac_tool_prefix"; then
2815  for ac_prog in cl.exe
2816  do
2817    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2818set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2819{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2820$as_echo_n "checking for $ac_word... " >&6; }
2821if test "${ac_cv_prog_CC+set}" = set; then
2822  $as_echo_n "(cached) " >&6
2823else
2824  if test -n "$CC"; then
2825  ac_cv_prog_CC="$CC" # Let the user override the test.
2826else
2827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828for as_dir in $PATH
2829do
2830  IFS=$as_save_IFS
2831  test -z "$as_dir" && as_dir=.
2832  for ac_exec_ext in '' $ac_executable_extensions; do
2833  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2834    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2835    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2836    break 2
2837  fi
2838done
2839done
2840IFS=$as_save_IFS
2841
2842fi
2843fi
2844CC=$ac_cv_prog_CC
2845if test -n "$CC"; then
2846  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2847$as_echo "$CC" >&6; }
2848else
2849  { $as_echo "$as_me:$LINENO: result: no" >&5
2850$as_echo "no" >&6; }
2851fi
2852
2853
2854    test -n "$CC" && break
2855  done
2856fi
2857if test -z "$CC"; then
2858  ac_ct_CC=$CC
2859  for ac_prog in cl.exe
2860do
2861  # Extract the first word of "$ac_prog", so it can be a program name with args.
2862set dummy $ac_prog; ac_word=$2
2863{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2864$as_echo_n "checking for $ac_word... " >&6; }
2865if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2866  $as_echo_n "(cached) " >&6
2867else
2868  if test -n "$ac_ct_CC"; then
2869  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2870else
2871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872for as_dir in $PATH
2873do
2874  IFS=$as_save_IFS
2875  test -z "$as_dir" && as_dir=.
2876  for ac_exec_ext in '' $ac_executable_extensions; do
2877  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2878    ac_cv_prog_ac_ct_CC="$ac_prog"
2879    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2880    break 2
2881  fi
2882done
2883done
2884IFS=$as_save_IFS
2885
2886fi
2887fi
2888ac_ct_CC=$ac_cv_prog_ac_ct_CC
2889if test -n "$ac_ct_CC"; then
2890  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2891$as_echo "$ac_ct_CC" >&6; }
2892else
2893  { $as_echo "$as_me:$LINENO: result: no" >&5
2894$as_echo "no" >&6; }
2895fi
2896
2897
2898  test -n "$ac_ct_CC" && break
2899done
2900
2901  if test "x$ac_ct_CC" = x; then
2902    CC=""
2903  else
2904    case $cross_compiling:$ac_tool_warned in
2905yes:)
2906{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2907$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2908ac_tool_warned=yes ;;
2909esac
2910    CC=$ac_ct_CC
2911  fi
2912fi
2913
2914fi
2915
2916
2917test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2918$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2919{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2920See \`config.log' for more details." >&5
2921$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2922See \`config.log' for more details." >&2;}
2923   { (exit 1); exit 1; }; }; }
2924
2925# Provide some information about the compiler.
2926$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2927set X $ac_compile
2928ac_compiler=$2
2929{ (ac_try="$ac_compiler --version >&5"
2930case "(($ac_try" in
2931  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932  *) ac_try_echo=$ac_try;;
2933esac
2934eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2935$as_echo "$ac_try_echo") >&5
2936  (eval "$ac_compiler --version >&5") 2>&5
2937  ac_status=$?
2938  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939  (exit $ac_status); }
2940{ (ac_try="$ac_compiler -v >&5"
2941case "(($ac_try" in
2942  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943  *) ac_try_echo=$ac_try;;
2944esac
2945eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2946$as_echo "$ac_try_echo") >&5
2947  (eval "$ac_compiler -v >&5") 2>&5
2948  ac_status=$?
2949  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950  (exit $ac_status); }
2951{ (ac_try="$ac_compiler -V >&5"
2952case "(($ac_try" in
2953  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954  *) ac_try_echo=$ac_try;;
2955esac
2956eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2957$as_echo "$ac_try_echo") >&5
2958  (eval "$ac_compiler -V >&5") 2>&5
2959  ac_status=$?
2960  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961  (exit $ac_status); }
2962
2963cat >conftest.$ac_ext <<_ACEOF
2964/* confdefs.h.  */
2965_ACEOF
2966cat confdefs.h >>conftest.$ac_ext
2967cat >>conftest.$ac_ext <<_ACEOF
2968/* end confdefs.h.  */
2969
2970int
2971main ()
2972{
2973
2974  ;
2975  return 0;
2976}
2977_ACEOF
2978ac_clean_files_save=$ac_clean_files
2979ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2980# Try to create an executable without -o first, disregard a.out.
2981# It will help us diagnose broken compilers, and finding out an intuition
2982# of exeext.
2983{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2984$as_echo_n "checking for C compiler default output file name... " >&6; }
2985ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2986
2987# The possible output files:
2988ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2989
2990ac_rmfiles=
2991for ac_file in $ac_files
2992do
2993  case $ac_file in
2994    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2995    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2996  esac
2997done
2998rm -f $ac_rmfiles
2999
3000if { (ac_try="$ac_link_default"
3001case "(($ac_try" in
3002  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003  *) ac_try_echo=$ac_try;;
3004esac
3005eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3006$as_echo "$ac_try_echo") >&5
3007  (eval "$ac_link_default") 2>&5
3008  ac_status=$?
3009  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010  (exit $ac_status); }; then
3011  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3012# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3013# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3014# so that the user can short-circuit this test for compilers unknown to
3015# Autoconf.
3016for ac_file in $ac_files ''
3017do
3018  test -f "$ac_file" || continue
3019  case $ac_file in
3020    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3021	;;
3022    [ab].out )
3023	# We found the default executable, but exeext='' is most
3024	# certainly right.
3025	break;;
3026    *.* )
3027        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3028	then :; else
3029	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3030	fi
3031	# We set ac_cv_exeext here because the later test for it is not
3032	# safe: cross compilers may not add the suffix if given an `-o'
3033	# argument, so we may need to know it at that point already.
3034	# Even if this section looks crufty: it has the advantage of
3035	# actually working.
3036	break;;
3037    * )
3038	break;;
3039  esac
3040done
3041test "$ac_cv_exeext" = no && ac_cv_exeext=
3042
3043else
3044  ac_file=''
3045fi
3046
3047{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3048$as_echo "$ac_file" >&6; }
3049if test -z "$ac_file"; then
3050  $as_echo "$as_me: failed program was:" >&5
3051sed 's/^/| /' conftest.$ac_ext >&5
3052
3053{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3054$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3056See \`config.log' for more details." >&5
3057$as_echo "$as_me: error: C compiler cannot create executables
3058See \`config.log' for more details." >&2;}
3059   { (exit 77); exit 77; }; }; }
3060fi
3061
3062ac_exeext=$ac_cv_exeext
3063
3064# Check that the compiler produces executables we can run.  If not, either
3065# the compiler is broken, or we cross compile.
3066{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3067$as_echo_n "checking whether the C compiler works... " >&6; }
3068# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3069# If not cross compiling, check that we can run a simple program.
3070if test "$cross_compiling" != yes; then
3071  if { ac_try='./$ac_file'
3072  { (case "(($ac_try" in
3073  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074  *) ac_try_echo=$ac_try;;
3075esac
3076eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3077$as_echo "$ac_try_echo") >&5
3078  (eval "$ac_try") 2>&5
3079  ac_status=$?
3080  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081  (exit $ac_status); }; }; then
3082    cross_compiling=no
3083  else
3084    if test "$cross_compiling" = maybe; then
3085	cross_compiling=yes
3086    else
3087	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3090If you meant to cross compile, use \`--host'.
3091See \`config.log' for more details." >&5
3092$as_echo "$as_me: error: cannot run C compiled programs.
3093If you meant to cross compile, use \`--host'.
3094See \`config.log' for more details." >&2;}
3095   { (exit 1); exit 1; }; }; }
3096    fi
3097  fi
3098fi
3099{ $as_echo "$as_me:$LINENO: result: yes" >&5
3100$as_echo "yes" >&6; }
3101
3102rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3103ac_clean_files=$ac_clean_files_save
3104# Check that the compiler produces executables we can run.  If not, either
3105# the compiler is broken, or we cross compile.
3106{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3107$as_echo_n "checking whether we are cross compiling... " >&6; }
3108{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3109$as_echo "$cross_compiling" >&6; }
3110
3111{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3112$as_echo_n "checking for suffix of executables... " >&6; }
3113if { (ac_try="$ac_link"
3114case "(($ac_try" in
3115  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116  *) ac_try_echo=$ac_try;;
3117esac
3118eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3119$as_echo "$ac_try_echo") >&5
3120  (eval "$ac_link") 2>&5
3121  ac_status=$?
3122  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123  (exit $ac_status); }; then
3124  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3125# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3126# work properly (i.e., refer to `conftest.exe'), while it won't with
3127# `rm'.
3128for ac_file in conftest.exe conftest conftest.*; do
3129  test -f "$ac_file" || continue
3130  case $ac_file in
3131    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3132    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3133	  break;;
3134    * ) break;;
3135  esac
3136done
3137else
3138  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3141See \`config.log' for more details." >&5
3142$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3143See \`config.log' for more details." >&2;}
3144   { (exit 1); exit 1; }; }; }
3145fi
3146
3147rm -f conftest$ac_cv_exeext
3148{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3149$as_echo "$ac_cv_exeext" >&6; }
3150
3151rm -f conftest.$ac_ext
3152EXEEXT=$ac_cv_exeext
3153ac_exeext=$EXEEXT
3154{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3155$as_echo_n "checking for suffix of object files... " >&6; }
3156if test "${ac_cv_objext+set}" = set; then
3157  $as_echo_n "(cached) " >&6
3158else
3159  cat >conftest.$ac_ext <<_ACEOF
3160/* confdefs.h.  */
3161_ACEOF
3162cat confdefs.h >>conftest.$ac_ext
3163cat >>conftest.$ac_ext <<_ACEOF
3164/* end confdefs.h.  */
3165
3166int
3167main ()
3168{
3169
3170  ;
3171  return 0;
3172}
3173_ACEOF
3174rm -f conftest.o conftest.obj
3175if { (ac_try="$ac_compile"
3176case "(($ac_try" in
3177  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178  *) ac_try_echo=$ac_try;;
3179esac
3180eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3181$as_echo "$ac_try_echo") >&5
3182  (eval "$ac_compile") 2>&5
3183  ac_status=$?
3184  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185  (exit $ac_status); }; then
3186  for ac_file in conftest.o conftest.obj conftest.*; do
3187  test -f "$ac_file" || continue;
3188  case $ac_file in
3189    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3190    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3191       break;;
3192  esac
3193done
3194else
3195  $as_echo "$as_me: failed program was:" >&5
3196sed 's/^/| /' conftest.$ac_ext >&5
3197
3198{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3199$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3200{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3201See \`config.log' for more details." >&5
3202$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3203See \`config.log' for more details." >&2;}
3204   { (exit 1); exit 1; }; }; }
3205fi
3206
3207rm -f conftest.$ac_cv_objext conftest.$ac_ext
3208fi
3209{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3210$as_echo "$ac_cv_objext" >&6; }
3211OBJEXT=$ac_cv_objext
3212ac_objext=$OBJEXT
3213{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3214$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3215if test "${ac_cv_c_compiler_gnu+set}" = set; then
3216  $as_echo_n "(cached) " >&6
3217else
3218  cat >conftest.$ac_ext <<_ACEOF
3219/* confdefs.h.  */
3220_ACEOF
3221cat confdefs.h >>conftest.$ac_ext
3222cat >>conftest.$ac_ext <<_ACEOF
3223/* end confdefs.h.  */
3224
3225int
3226main ()
3227{
3228#ifndef __GNUC__
3229       choke me
3230#endif
3231
3232  ;
3233  return 0;
3234}
3235_ACEOF
3236rm -f conftest.$ac_objext
3237if { (ac_try="$ac_compile"
3238case "(($ac_try" in
3239  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240  *) ac_try_echo=$ac_try;;
3241esac
3242eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3243$as_echo "$ac_try_echo") >&5
3244  (eval "$ac_compile") 2>conftest.er1
3245  ac_status=$?
3246  grep -v '^ *+' conftest.er1 >conftest.err
3247  rm -f conftest.er1
3248  cat conftest.err >&5
3249  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250  (exit $ac_status); } && {
3251	 test -z "$ac_c_werror_flag" ||
3252	 test ! -s conftest.err
3253       } && test -s conftest.$ac_objext; then
3254  ac_compiler_gnu=yes
3255else
3256  $as_echo "$as_me: failed program was:" >&5
3257sed 's/^/| /' conftest.$ac_ext >&5
3258
3259	ac_compiler_gnu=no
3260fi
3261
3262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3263ac_cv_c_compiler_gnu=$ac_compiler_gnu
3264
3265fi
3266{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3267$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3268if test $ac_compiler_gnu = yes; then
3269  GCC=yes
3270else
3271  GCC=
3272fi
3273ac_test_CFLAGS=${CFLAGS+set}
3274ac_save_CFLAGS=$CFLAGS
3275{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3276$as_echo_n "checking whether $CC accepts -g... " >&6; }
3277if test "${ac_cv_prog_cc_g+set}" = set; then
3278  $as_echo_n "(cached) " >&6
3279else
3280  ac_save_c_werror_flag=$ac_c_werror_flag
3281   ac_c_werror_flag=yes
3282   ac_cv_prog_cc_g=no
3283   CFLAGS="-g"
3284   cat >conftest.$ac_ext <<_ACEOF
3285/* confdefs.h.  */
3286_ACEOF
3287cat confdefs.h >>conftest.$ac_ext
3288cat >>conftest.$ac_ext <<_ACEOF
3289/* end confdefs.h.  */
3290
3291int
3292main ()
3293{
3294
3295  ;
3296  return 0;
3297}
3298_ACEOF
3299rm -f conftest.$ac_objext
3300if { (ac_try="$ac_compile"
3301case "(($ac_try" in
3302  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303  *) ac_try_echo=$ac_try;;
3304esac
3305eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3306$as_echo "$ac_try_echo") >&5
3307  (eval "$ac_compile") 2>conftest.er1
3308  ac_status=$?
3309  grep -v '^ *+' conftest.er1 >conftest.err
3310  rm -f conftest.er1
3311  cat conftest.err >&5
3312  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313  (exit $ac_status); } && {
3314	 test -z "$ac_c_werror_flag" ||
3315	 test ! -s conftest.err
3316       } && test -s conftest.$ac_objext; then
3317  ac_cv_prog_cc_g=yes
3318else
3319  $as_echo "$as_me: failed program was:" >&5
3320sed 's/^/| /' conftest.$ac_ext >&5
3321
3322	CFLAGS=""
3323      cat >conftest.$ac_ext <<_ACEOF
3324/* confdefs.h.  */
3325_ACEOF
3326cat confdefs.h >>conftest.$ac_ext
3327cat >>conftest.$ac_ext <<_ACEOF
3328/* end confdefs.h.  */
3329
3330int
3331main ()
3332{
3333
3334  ;
3335  return 0;
3336}
3337_ACEOF
3338rm -f conftest.$ac_objext
3339if { (ac_try="$ac_compile"
3340case "(($ac_try" in
3341  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342  *) ac_try_echo=$ac_try;;
3343esac
3344eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3345$as_echo "$ac_try_echo") >&5
3346  (eval "$ac_compile") 2>conftest.er1
3347  ac_status=$?
3348  grep -v '^ *+' conftest.er1 >conftest.err
3349  rm -f conftest.er1
3350  cat conftest.err >&5
3351  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352  (exit $ac_status); } && {
3353	 test -z "$ac_c_werror_flag" ||
3354	 test ! -s conftest.err
3355       } && test -s conftest.$ac_objext; then
3356  :
3357else
3358  $as_echo "$as_me: failed program was:" >&5
3359sed 's/^/| /' conftest.$ac_ext >&5
3360
3361	ac_c_werror_flag=$ac_save_c_werror_flag
3362	 CFLAGS="-g"
3363	 cat >conftest.$ac_ext <<_ACEOF
3364/* confdefs.h.  */
3365_ACEOF
3366cat confdefs.h >>conftest.$ac_ext
3367cat >>conftest.$ac_ext <<_ACEOF
3368/* end confdefs.h.  */
3369
3370int
3371main ()
3372{
3373
3374  ;
3375  return 0;
3376}
3377_ACEOF
3378rm -f conftest.$ac_objext
3379if { (ac_try="$ac_compile"
3380case "(($ac_try" in
3381  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382  *) ac_try_echo=$ac_try;;
3383esac
3384eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3385$as_echo "$ac_try_echo") >&5
3386  (eval "$ac_compile") 2>conftest.er1
3387  ac_status=$?
3388  grep -v '^ *+' conftest.er1 >conftest.err
3389  rm -f conftest.er1
3390  cat conftest.err >&5
3391  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392  (exit $ac_status); } && {
3393	 test -z "$ac_c_werror_flag" ||
3394	 test ! -s conftest.err
3395       } && test -s conftest.$ac_objext; then
3396  ac_cv_prog_cc_g=yes
3397else
3398  $as_echo "$as_me: failed program was:" >&5
3399sed 's/^/| /' conftest.$ac_ext >&5
3400
3401
3402fi
3403
3404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405fi
3406
3407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408fi
3409
3410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411   ac_c_werror_flag=$ac_save_c_werror_flag
3412fi
3413{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3414$as_echo "$ac_cv_prog_cc_g" >&6; }
3415if test "$ac_test_CFLAGS" = set; then
3416  CFLAGS=$ac_save_CFLAGS
3417elif test $ac_cv_prog_cc_g = yes; then
3418  if test "$GCC" = yes; then
3419    CFLAGS="-g -O2"
3420  else
3421    CFLAGS="-g"
3422  fi
3423else
3424  if test "$GCC" = yes; then
3425    CFLAGS="-O2"
3426  else
3427    CFLAGS=
3428  fi
3429fi
3430{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3431$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3432if test "${ac_cv_prog_cc_c89+set}" = set; then
3433  $as_echo_n "(cached) " >&6
3434else
3435  ac_cv_prog_cc_c89=no
3436ac_save_CC=$CC
3437cat >conftest.$ac_ext <<_ACEOF
3438/* confdefs.h.  */
3439_ACEOF
3440cat confdefs.h >>conftest.$ac_ext
3441cat >>conftest.$ac_ext <<_ACEOF
3442/* end confdefs.h.  */
3443#include <stdarg.h>
3444#include <stdio.h>
3445#include <sys/types.h>
3446#include <sys/stat.h>
3447/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3448struct buf { int x; };
3449FILE * (*rcsopen) (struct buf *, struct stat *, int);
3450static char *e (p, i)
3451     char **p;
3452     int i;
3453{
3454  return p[i];
3455}
3456static char *f (char * (*g) (char **, int), char **p, ...)
3457{
3458  char *s;
3459  va_list v;
3460  va_start (v,p);
3461  s = g (p, va_arg (v,int));
3462  va_end (v);
3463  return s;
3464}
3465
3466/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3467   function prototypes and stuff, but not '\xHH' hex character constants.
3468   These don't provoke an error unfortunately, instead are silently treated
3469   as 'x'.  The following induces an error, until -std is added to get
3470   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3471   array size at least.  It's necessary to write '\x00'==0 to get something
3472   that's true only with -std.  */
3473int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3474
3475/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3476   inside strings and character constants.  */
3477#define FOO(x) 'x'
3478int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3479
3480int test (int i, double x);
3481struct s1 {int (*f) (int a);};
3482struct s2 {int (*f) (double a);};
3483int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3484int argc;
3485char **argv;
3486int
3487main ()
3488{
3489return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3490  ;
3491  return 0;
3492}
3493_ACEOF
3494for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3495	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3496do
3497  CC="$ac_save_CC $ac_arg"
3498  rm -f conftest.$ac_objext
3499if { (ac_try="$ac_compile"
3500case "(($ac_try" in
3501  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502  *) ac_try_echo=$ac_try;;
3503esac
3504eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3505$as_echo "$ac_try_echo") >&5
3506  (eval "$ac_compile") 2>conftest.er1
3507  ac_status=$?
3508  grep -v '^ *+' conftest.er1 >conftest.err
3509  rm -f conftest.er1
3510  cat conftest.err >&5
3511  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512  (exit $ac_status); } && {
3513	 test -z "$ac_c_werror_flag" ||
3514	 test ! -s conftest.err
3515       } && test -s conftest.$ac_objext; then
3516  ac_cv_prog_cc_c89=$ac_arg
3517else
3518  $as_echo "$as_me: failed program was:" >&5
3519sed 's/^/| /' conftest.$ac_ext >&5
3520
3521
3522fi
3523
3524rm -f core conftest.err conftest.$ac_objext
3525  test "x$ac_cv_prog_cc_c89" != "xno" && break
3526done
3527rm -f conftest.$ac_ext
3528CC=$ac_save_CC
3529
3530fi
3531# AC_CACHE_VAL
3532case "x$ac_cv_prog_cc_c89" in
3533  x)
3534    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3535$as_echo "none needed" >&6; } ;;
3536  xno)
3537    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3538$as_echo "unsupported" >&6; } ;;
3539  *)
3540    CC="$CC $ac_cv_prog_cc_c89"
3541    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3542$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3543esac
3544
3545
3546ac_ext=c
3547ac_cpp='$CPP $CPPFLAGS'
3548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551DEPDIR="${am__leading_dot}deps"
3552
3553ac_config_commands="$ac_config_commands depfiles"
3554
3555
3556am_make=${MAKE-make}
3557cat > confinc << 'END'
3558am__doit:
3559	@echo this is the am__doit target
3560.PHONY: am__doit
3561END
3562# If we don't find an include directive, just comment out the code.
3563{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3564$as_echo_n "checking for style of include used by $am_make... " >&6; }
3565am__include="#"
3566am__quote=
3567_am_result=none
3568# First try GNU make style include.
3569echo "include confinc" > confmf
3570# Ignore all kinds of additional output from `make'.
3571case `$am_make -s -f confmf 2> /dev/null` in #(
3572*the\ am__doit\ target*)
3573  am__include=include
3574  am__quote=
3575  _am_result=GNU
3576  ;;
3577esac
3578# Now try BSD make style include.
3579if test "$am__include" = "#"; then
3580   echo '.include "confinc"' > confmf
3581   case `$am_make -s -f confmf 2> /dev/null` in #(
3582   *the\ am__doit\ target*)
3583     am__include=.include
3584     am__quote="\""
3585     _am_result=BSD
3586     ;;
3587   esac
3588fi
3589
3590
3591{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3592$as_echo "$_am_result" >&6; }
3593rm -f confinc confmf
3594
3595# Check whether --enable-dependency-tracking was given.
3596if test "${enable_dependency_tracking+set}" = set; then
3597  enableval=$enable_dependency_tracking;
3598fi
3599
3600if test "x$enable_dependency_tracking" != xno; then
3601  am_depcomp="$ac_aux_dir/depcomp"
3602  AMDEPBACKSLASH='\'
3603fi
3604 if test "x$enable_dependency_tracking" != xno; then
3605  AMDEP_TRUE=
3606  AMDEP_FALSE='#'
3607else
3608  AMDEP_TRUE='#'
3609  AMDEP_FALSE=
3610fi
3611
3612
3613
3614depcc="$CC"   am_compiler_list=
3615
3616{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3617$as_echo_n "checking dependency style of $depcc... " >&6; }
3618if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3619  $as_echo_n "(cached) " >&6
3620else
3621  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3622  # We make a subdir and do the tests there.  Otherwise we can end up
3623  # making bogus files that we don't know about and never remove.  For
3624  # instance it was reported that on HP-UX the gcc test will end up
3625  # making a dummy file named `D' -- because `-MD' means `put the output
3626  # in D'.
3627  mkdir conftest.dir
3628  # Copy depcomp to subdir because otherwise we won't find it if we're
3629  # using a relative directory.
3630  cp "$am_depcomp" conftest.dir
3631  cd conftest.dir
3632  # We will build objects and dependencies in a subdirectory because
3633  # it helps to detect inapplicable dependency modes.  For instance
3634  # both Tru64's cc and ICC support -MD to output dependencies as a
3635  # side effect of compilation, but ICC will put the dependencies in
3636  # the current directory while Tru64 will put them in the object
3637  # directory.
3638  mkdir sub
3639
3640  am_cv_CC_dependencies_compiler_type=none
3641  if test "$am_compiler_list" = ""; then
3642     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3643  fi
3644  am__universal=false
3645  case " $depcc " in #(
3646     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3647     esac
3648
3649  for depmode in $am_compiler_list; do
3650    # Setup a source with many dependencies, because some compilers
3651    # like to wrap large dependency lists on column 80 (with \), and
3652    # we should not choose a depcomp mode which is confused by this.
3653    #
3654    # We need to recreate these files for each test, as the compiler may
3655    # overwrite some of them when testing with obscure command lines.
3656    # This happens at least with the AIX C compiler.
3657    : > sub/conftest.c
3658    for i in 1 2 3 4 5 6; do
3659      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3660      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3661      # Solaris 8's {/usr,}/bin/sh.
3662      touch sub/conftst$i.h
3663    done
3664    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3665
3666    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3667    # mode.  It turns out that the SunPro C++ compiler does not properly
3668    # handle `-M -o', and we need to detect this.  Also, some Intel
3669    # versions had trouble with output in subdirs
3670    am__obj=sub/conftest.${OBJEXT-o}
3671    am__minus_obj="-o $am__obj"
3672    case $depmode in
3673    gcc)
3674      # This depmode causes a compiler race in universal mode.
3675      test "$am__universal" = false || continue
3676      ;;
3677    nosideeffect)
3678      # after this tag, mechanisms are not by side-effect, so they'll
3679      # only be used when explicitly requested
3680      if test "x$enable_dependency_tracking" = xyes; then
3681	continue
3682      else
3683	break
3684      fi
3685      ;;
3686    msvisualcpp | msvcmsys)
3687      # This compiler won't grok `-c -o', but also, the minuso test has
3688      # not run yet.  These depmodes are late enough in the game, and
3689      # so weak that their functioning should not be impacted.
3690      am__obj=conftest.${OBJEXT-o}
3691      am__minus_obj=
3692      ;;
3693    none) break ;;
3694    esac
3695    if depmode=$depmode \
3696       source=sub/conftest.c object=$am__obj \
3697       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3698       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3699         >/dev/null 2>conftest.err &&
3700       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3701       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3702       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3703       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3704      # icc doesn't choke on unknown options, it will just issue warnings
3705      # or remarks (even with -Werror).  So we grep stderr for any message
3706      # that says an option was ignored or not supported.
3707      # When given -MP, icc 7.0 and 7.1 complain thusly:
3708      #   icc: Command line warning: ignoring option '-M'; no argument required
3709      # The diagnosis changed in icc 8.0:
3710      #   icc: Command line remark: option '-MP' not supported
3711      if (grep 'ignoring option' conftest.err ||
3712          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3713        am_cv_CC_dependencies_compiler_type=$depmode
3714        break
3715      fi
3716    fi
3717  done
3718
3719  cd ..
3720  rm -rf conftest.dir
3721else
3722  am_cv_CC_dependencies_compiler_type=none
3723fi
3724
3725fi
3726{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3727$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3728CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3729
3730 if
3731  test "x$enable_dependency_tracking" != xno \
3732  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3733  am__fastdepCC_TRUE=
3734  am__fastdepCC_FALSE='#'
3735else
3736  am__fastdepCC_TRUE='#'
3737  am__fastdepCC_FALSE=
3738fi
3739
3740
3741case `pwd` in
3742  *\ * | *\	*)
3743    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3744$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3745esac
3746
3747
3748
3749macro_version='2.2.6'
3750macro_revision='1.3012'
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764ltmain="$ac_aux_dir/ltmain.sh"
3765
3766# Make sure we can run config.sub.
3767$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3768  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3769$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3770   { (exit 1); exit 1; }; }
3771
3772{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3773$as_echo_n "checking build system type... " >&6; }
3774if test "${ac_cv_build+set}" = set; then
3775  $as_echo_n "(cached) " >&6
3776else
3777  ac_build_alias=$build_alias
3778test "x$ac_build_alias" = x &&
3779  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3780test "x$ac_build_alias" = x &&
3781  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3782$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3783   { (exit 1); exit 1; }; }
3784ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3785  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3786$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3787   { (exit 1); exit 1; }; }
3788
3789fi
3790{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3791$as_echo "$ac_cv_build" >&6; }
3792case $ac_cv_build in
3793*-*-*) ;;
3794*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3795$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3796   { (exit 1); exit 1; }; };;
3797esac
3798build=$ac_cv_build
3799ac_save_IFS=$IFS; IFS='-'
3800set x $ac_cv_build
3801shift
3802build_cpu=$1
3803build_vendor=$2
3804shift; shift
3805# Remember, the first character of IFS is used to create $*,
3806# except with old shells:
3807build_os=$*
3808IFS=$ac_save_IFS
3809case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3810
3811
3812{ $as_echo "$as_me:$LINENO: checking host system type" >&5
3813$as_echo_n "checking host system type... " >&6; }
3814if test "${ac_cv_host+set}" = set; then
3815  $as_echo_n "(cached) " >&6
3816else
3817  if test "x$host_alias" = x; then
3818  ac_cv_host=$ac_cv_build
3819else
3820  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3821    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3822$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3823   { (exit 1); exit 1; }; }
3824fi
3825
3826fi
3827{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3828$as_echo "$ac_cv_host" >&6; }
3829case $ac_cv_host in
3830*-*-*) ;;
3831*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3832$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3833   { (exit 1); exit 1; }; };;
3834esac
3835host=$ac_cv_host
3836ac_save_IFS=$IFS; IFS='-'
3837set x $ac_cv_host
3838shift
3839host_cpu=$1
3840host_vendor=$2
3841shift; shift
3842# Remember, the first character of IFS is used to create $*,
3843# except with old shells:
3844host_os=$*
3845IFS=$ac_save_IFS
3846case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3847
3848
3849{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3850$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3851if test "${ac_cv_path_SED+set}" = set; then
3852  $as_echo_n "(cached) " >&6
3853else
3854            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3855     for ac_i in 1 2 3 4 5 6 7; do
3856       ac_script="$ac_script$as_nl$ac_script"
3857     done
3858     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3859     $as_unset ac_script || ac_script=
3860     if test -z "$SED"; then
3861  ac_path_SED_found=false
3862  # Loop through the user's path and test for each of PROGNAME-LIST
3863  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864for as_dir in $PATH
3865do
3866  IFS=$as_save_IFS
3867  test -z "$as_dir" && as_dir=.
3868  for ac_prog in sed gsed; do
3869    for ac_exec_ext in '' $ac_executable_extensions; do
3870      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3871      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3872# Check for GNU ac_path_SED and select it if it is found.
3873  # Check for GNU $ac_path_SED
3874case `"$ac_path_SED" --version 2>&1` in
3875*GNU*)
3876  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3877*)
3878  ac_count=0
3879  $as_echo_n 0123456789 >"conftest.in"
3880  while :
3881  do
3882    cat "conftest.in" "conftest.in" >"conftest.tmp"
3883    mv "conftest.tmp" "conftest.in"
3884    cp "conftest.in" "conftest.nl"
3885    $as_echo '' >> "conftest.nl"
3886    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3887    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3888    ac_count=`expr $ac_count + 1`
3889    if test $ac_count -gt ${ac_path_SED_max-0}; then
3890      # Best one so far, save it but keep looking for a better one
3891      ac_cv_path_SED="$ac_path_SED"
3892      ac_path_SED_max=$ac_count
3893    fi
3894    # 10*(2^10) chars as input seems more than enough
3895    test $ac_count -gt 10 && break
3896  done
3897  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3898esac
3899
3900      $ac_path_SED_found && break 3
3901    done
3902  done
3903done
3904IFS=$as_save_IFS
3905  if test -z "$ac_cv_path_SED"; then
3906    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3907$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3908   { (exit 1); exit 1; }; }
3909  fi
3910else
3911  ac_cv_path_SED=$SED
3912fi
3913
3914fi
3915{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3916$as_echo "$ac_cv_path_SED" >&6; }
3917 SED="$ac_cv_path_SED"
3918  rm -f conftest.sed
3919
3920test -z "$SED" && SED=sed
3921Xsed="$SED -e 1s/^X//"
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3934$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3935if test "${ac_cv_path_GREP+set}" = set; then
3936  $as_echo_n "(cached) " >&6
3937else
3938  if test -z "$GREP"; then
3939  ac_path_GREP_found=false
3940  # Loop through the user's path and test for each of PROGNAME-LIST
3941  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3942for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3943do
3944  IFS=$as_save_IFS
3945  test -z "$as_dir" && as_dir=.
3946  for ac_prog in grep ggrep; do
3947    for ac_exec_ext in '' $ac_executable_extensions; do
3948      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3949      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3950# Check for GNU ac_path_GREP and select it if it is found.
3951  # Check for GNU $ac_path_GREP
3952case `"$ac_path_GREP" --version 2>&1` in
3953*GNU*)
3954  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3955*)
3956  ac_count=0
3957  $as_echo_n 0123456789 >"conftest.in"
3958  while :
3959  do
3960    cat "conftest.in" "conftest.in" >"conftest.tmp"
3961    mv "conftest.tmp" "conftest.in"
3962    cp "conftest.in" "conftest.nl"
3963    $as_echo 'GREP' >> "conftest.nl"
3964    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3965    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3966    ac_count=`expr $ac_count + 1`
3967    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3968      # Best one so far, save it but keep looking for a better one
3969      ac_cv_path_GREP="$ac_path_GREP"
3970      ac_path_GREP_max=$ac_count
3971    fi
3972    # 10*(2^10) chars as input seems more than enough
3973    test $ac_count -gt 10 && break
3974  done
3975  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3976esac
3977
3978      $ac_path_GREP_found && break 3
3979    done
3980  done
3981done
3982IFS=$as_save_IFS
3983  if test -z "$ac_cv_path_GREP"; then
3984    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3985$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3986   { (exit 1); exit 1; }; }
3987  fi
3988else
3989  ac_cv_path_GREP=$GREP
3990fi
3991
3992fi
3993{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3994$as_echo "$ac_cv_path_GREP" >&6; }
3995 GREP="$ac_cv_path_GREP"
3996
3997
3998{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3999$as_echo_n "checking for egrep... " >&6; }
4000if test "${ac_cv_path_EGREP+set}" = set; then
4001  $as_echo_n "(cached) " >&6
4002else
4003  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4004   then ac_cv_path_EGREP="$GREP -E"
4005   else
4006     if test -z "$EGREP"; then
4007  ac_path_EGREP_found=false
4008  # Loop through the user's path and test for each of PROGNAME-LIST
4009  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4011do
4012  IFS=$as_save_IFS
4013  test -z "$as_dir" && as_dir=.
4014  for ac_prog in egrep; do
4015    for ac_exec_ext in '' $ac_executable_extensions; do
4016      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4017      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4018# Check for GNU ac_path_EGREP and select it if it is found.
4019  # Check for GNU $ac_path_EGREP
4020case `"$ac_path_EGREP" --version 2>&1` in
4021*GNU*)
4022  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4023*)
4024  ac_count=0
4025  $as_echo_n 0123456789 >"conftest.in"
4026  while :
4027  do
4028    cat "conftest.in" "conftest.in" >"conftest.tmp"
4029    mv "conftest.tmp" "conftest.in"
4030    cp "conftest.in" "conftest.nl"
4031    $as_echo 'EGREP' >> "conftest.nl"
4032    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4033    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4034    ac_count=`expr $ac_count + 1`
4035    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4036      # Best one so far, save it but keep looking for a better one
4037      ac_cv_path_EGREP="$ac_path_EGREP"
4038      ac_path_EGREP_max=$ac_count
4039    fi
4040    # 10*(2^10) chars as input seems more than enough
4041    test $ac_count -gt 10 && break
4042  done
4043  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4044esac
4045
4046      $ac_path_EGREP_found && break 3
4047    done
4048  done
4049done
4050IFS=$as_save_IFS
4051  if test -z "$ac_cv_path_EGREP"; then
4052    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4053$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4054   { (exit 1); exit 1; }; }
4055  fi
4056else
4057  ac_cv_path_EGREP=$EGREP
4058fi
4059
4060   fi
4061fi
4062{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4063$as_echo "$ac_cv_path_EGREP" >&6; }
4064 EGREP="$ac_cv_path_EGREP"
4065
4066
4067{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4068$as_echo_n "checking for fgrep... " >&6; }
4069if test "${ac_cv_path_FGREP+set}" = set; then
4070  $as_echo_n "(cached) " >&6
4071else
4072  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4073   then ac_cv_path_FGREP="$GREP -F"
4074   else
4075     if test -z "$FGREP"; then
4076  ac_path_FGREP_found=false
4077  # Loop through the user's path and test for each of PROGNAME-LIST
4078  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4080do
4081  IFS=$as_save_IFS
4082  test -z "$as_dir" && as_dir=.
4083  for ac_prog in fgrep; do
4084    for ac_exec_ext in '' $ac_executable_extensions; do
4085      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4086      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4087# Check for GNU ac_path_FGREP and select it if it is found.
4088  # Check for GNU $ac_path_FGREP
4089case `"$ac_path_FGREP" --version 2>&1` in
4090*GNU*)
4091  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4092*)
4093  ac_count=0
4094  $as_echo_n 0123456789 >"conftest.in"
4095  while :
4096  do
4097    cat "conftest.in" "conftest.in" >"conftest.tmp"
4098    mv "conftest.tmp" "conftest.in"
4099    cp "conftest.in" "conftest.nl"
4100    $as_echo 'FGREP' >> "conftest.nl"
4101    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4102    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4103    ac_count=`expr $ac_count + 1`
4104    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4105      # Best one so far, save it but keep looking for a better one
4106      ac_cv_path_FGREP="$ac_path_FGREP"
4107      ac_path_FGREP_max=$ac_count
4108    fi
4109    # 10*(2^10) chars as input seems more than enough
4110    test $ac_count -gt 10 && break
4111  done
4112  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4113esac
4114
4115      $ac_path_FGREP_found && break 3
4116    done
4117  done
4118done
4119IFS=$as_save_IFS
4120  if test -z "$ac_cv_path_FGREP"; then
4121    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4122$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4123   { (exit 1); exit 1; }; }
4124  fi
4125else
4126  ac_cv_path_FGREP=$FGREP
4127fi
4128
4129   fi
4130fi
4131{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4132$as_echo "$ac_cv_path_FGREP" >&6; }
4133 FGREP="$ac_cv_path_FGREP"
4134
4135
4136test -z "$GREP" && GREP=grep
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156# Check whether --with-gnu-ld was given.
4157if test "${with_gnu_ld+set}" = set; then
4158  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4159else
4160  with_gnu_ld=no
4161fi
4162
4163ac_prog=ld
4164if test "$GCC" = yes; then
4165  # Check if gcc -print-prog-name=ld gives a path.
4166  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4167$as_echo_n "checking for ld used by $CC... " >&6; }
4168  case $host in
4169  *-*-mingw*)
4170    # gcc leaves a trailing carriage return which upsets mingw
4171    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4172  *)
4173    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4174  esac
4175  case $ac_prog in
4176    # Accept absolute paths.
4177    [\\/]* | ?:[\\/]*)
4178      re_direlt='/[^/][^/]*/\.\./'
4179      # Canonicalize the pathname of ld
4180      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4181      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4182	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4183      done
4184      test -z "$LD" && LD="$ac_prog"
4185      ;;
4186  "")
4187    # If it fails, then pretend we aren't using GCC.
4188    ac_prog=ld
4189    ;;
4190  *)
4191    # If it is relative, then search for the first ld in PATH.
4192    with_gnu_ld=unknown
4193    ;;
4194  esac
4195elif test "$with_gnu_ld" = yes; then
4196  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4197$as_echo_n "checking for GNU ld... " >&6; }
4198else
4199  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4200$as_echo_n "checking for non-GNU ld... " >&6; }
4201fi
4202if test "${lt_cv_path_LD+set}" = set; then
4203  $as_echo_n "(cached) " >&6
4204else
4205  if test -z "$LD"; then
4206  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4207  for ac_dir in $PATH; do
4208    IFS="$lt_save_ifs"
4209    test -z "$ac_dir" && ac_dir=.
4210    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4211      lt_cv_path_LD="$ac_dir/$ac_prog"
4212      # Check to see if the program is GNU ld.  I'd rather use --version,
4213      # but apparently some variants of GNU ld only accept -v.
4214      # Break only if it was the GNU/non-GNU ld that we prefer.
4215      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4216      *GNU* | *'with BFD'*)
4217	test "$with_gnu_ld" != no && break
4218	;;
4219      *)
4220	test "$with_gnu_ld" != yes && break
4221	;;
4222      esac
4223    fi
4224  done
4225  IFS="$lt_save_ifs"
4226else
4227  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4228fi
4229fi
4230
4231LD="$lt_cv_path_LD"
4232if test -n "$LD"; then
4233  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4234$as_echo "$LD" >&6; }
4235else
4236  { $as_echo "$as_me:$LINENO: result: no" >&5
4237$as_echo "no" >&6; }
4238fi
4239test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4240$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4241   { (exit 1); exit 1; }; }
4242{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4243$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4244if test "${lt_cv_prog_gnu_ld+set}" = set; then
4245  $as_echo_n "(cached) " >&6
4246else
4247  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4248case `$LD -v 2>&1 </dev/null` in
4249*GNU* | *'with BFD'*)
4250  lt_cv_prog_gnu_ld=yes
4251  ;;
4252*)
4253  lt_cv_prog_gnu_ld=no
4254  ;;
4255esac
4256fi
4257{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4258$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4259with_gnu_ld=$lt_cv_prog_gnu_ld
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4270$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4271if test "${lt_cv_path_NM+set}" = set; then
4272  $as_echo_n "(cached) " >&6
4273else
4274  if test -n "$NM"; then
4275  # Let the user override the test.
4276  lt_cv_path_NM="$NM"
4277else
4278  lt_nm_to_check="${ac_tool_prefix}nm"
4279  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4280    lt_nm_to_check="$lt_nm_to_check nm"
4281  fi
4282  for lt_tmp_nm in $lt_nm_to_check; do
4283    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4284    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4285      IFS="$lt_save_ifs"
4286      test -z "$ac_dir" && ac_dir=.
4287      tmp_nm="$ac_dir/$lt_tmp_nm"
4288      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4289	# Check to see if the nm accepts a BSD-compat flag.
4290	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4291	#   nm: unknown option "B" ignored
4292	# Tru64's nm complains that /dev/null is an invalid object file
4293	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4294	*/dev/null* | *'Invalid file or object type'*)
4295	  lt_cv_path_NM="$tmp_nm -B"
4296	  break
4297	  ;;
4298	*)
4299	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4300	  */dev/null*)
4301	    lt_cv_path_NM="$tmp_nm -p"
4302	    break
4303	    ;;
4304	  *)
4305	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4306	    continue # so that we can try to find one that supports BSD flags
4307	    ;;
4308	  esac
4309	  ;;
4310	esac
4311      fi
4312    done
4313    IFS="$lt_save_ifs"
4314  done
4315  : ${lt_cv_path_NM=no}
4316fi
4317fi
4318{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4319$as_echo "$lt_cv_path_NM" >&6; }
4320if test "$lt_cv_path_NM" != "no"; then
4321  NM="$lt_cv_path_NM"
4322else
4323  # Didn't find any BSD compatible name lister, look for dumpbin.
4324  if test -n "$ac_tool_prefix"; then
4325  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4326  do
4327    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4328set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4329{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4330$as_echo_n "checking for $ac_word... " >&6; }
4331if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4332  $as_echo_n "(cached) " >&6
4333else
4334  if test -n "$DUMPBIN"; then
4335  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4336else
4337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338for as_dir in $PATH
4339do
4340  IFS=$as_save_IFS
4341  test -z "$as_dir" && as_dir=.
4342  for ac_exec_ext in '' $ac_executable_extensions; do
4343  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4345    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4346    break 2
4347  fi
4348done
4349done
4350IFS=$as_save_IFS
4351
4352fi
4353fi
4354DUMPBIN=$ac_cv_prog_DUMPBIN
4355if test -n "$DUMPBIN"; then
4356  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4357$as_echo "$DUMPBIN" >&6; }
4358else
4359  { $as_echo "$as_me:$LINENO: result: no" >&5
4360$as_echo "no" >&6; }
4361fi
4362
4363
4364    test -n "$DUMPBIN" && break
4365  done
4366fi
4367if test -z "$DUMPBIN"; then
4368  ac_ct_DUMPBIN=$DUMPBIN
4369  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4370do
4371  # Extract the first word of "$ac_prog", so it can be a program name with args.
4372set dummy $ac_prog; ac_word=$2
4373{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4374$as_echo_n "checking for $ac_word... " >&6; }
4375if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4376  $as_echo_n "(cached) " >&6
4377else
4378  if test -n "$ac_ct_DUMPBIN"; then
4379  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4380else
4381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382for as_dir in $PATH
4383do
4384  IFS=$as_save_IFS
4385  test -z "$as_dir" && as_dir=.
4386  for ac_exec_ext in '' $ac_executable_extensions; do
4387  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4388    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4389    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4390    break 2
4391  fi
4392done
4393done
4394IFS=$as_save_IFS
4395
4396fi
4397fi
4398ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4399if test -n "$ac_ct_DUMPBIN"; then
4400  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4401$as_echo "$ac_ct_DUMPBIN" >&6; }
4402else
4403  { $as_echo "$as_me:$LINENO: result: no" >&5
4404$as_echo "no" >&6; }
4405fi
4406
4407
4408  test -n "$ac_ct_DUMPBIN" && break
4409done
4410
4411  if test "x$ac_ct_DUMPBIN" = x; then
4412    DUMPBIN=":"
4413  else
4414    case $cross_compiling:$ac_tool_warned in
4415yes:)
4416{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4418ac_tool_warned=yes ;;
4419esac
4420    DUMPBIN=$ac_ct_DUMPBIN
4421  fi
4422fi
4423
4424
4425  if test "$DUMPBIN" != ":"; then
4426    NM="$DUMPBIN"
4427  fi
4428fi
4429test -z "$NM" && NM=nm
4430
4431
4432
4433
4434
4435
4436{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4437$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4438if test "${lt_cv_nm_interface+set}" = set; then
4439  $as_echo_n "(cached) " >&6
4440else
4441  lt_cv_nm_interface="BSD nm"
4442  echo "int some_variable = 0;" > conftest.$ac_ext
4443  (eval echo "\"\$as_me:4443: $ac_compile\"" >&5)
4444  (eval "$ac_compile" 2>conftest.err)
4445  cat conftest.err >&5
4446  (eval echo "\"\$as_me:4446: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4447  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4448  cat conftest.err >&5
4449  (eval echo "\"\$as_me:4449: output\"" >&5)
4450  cat conftest.out >&5
4451  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4452    lt_cv_nm_interface="MS dumpbin"
4453  fi
4454  rm -f conftest*
4455fi
4456{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4457$as_echo "$lt_cv_nm_interface" >&6; }
4458
4459{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4460$as_echo_n "checking whether ln -s works... " >&6; }
4461LN_S=$as_ln_s
4462if test "$LN_S" = "ln -s"; then
4463  { $as_echo "$as_me:$LINENO: result: yes" >&5
4464$as_echo "yes" >&6; }
4465else
4466  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4467$as_echo "no, using $LN_S" >&6; }
4468fi
4469
4470# find the maximum length of command line arguments
4471{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4472$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4473if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4474  $as_echo_n "(cached) " >&6
4475else
4476    i=0
4477  teststring="ABCD"
4478
4479  case $build_os in
4480  msdosdjgpp*)
4481    # On DJGPP, this test can blow up pretty badly due to problems in libc
4482    # (any single argument exceeding 2000 bytes causes a buffer overrun
4483    # during glob expansion).  Even if it were fixed, the result of this
4484    # check would be larger than it should be.
4485    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4486    ;;
4487
4488  gnu*)
4489    # Under GNU Hurd, this test is not required because there is
4490    # no limit to the length of command line arguments.
4491    # Libtool will interpret -1 as no limit whatsoever
4492    lt_cv_sys_max_cmd_len=-1;
4493    ;;
4494
4495  cygwin* | mingw* | cegcc*)
4496    # On Win9x/ME, this test blows up -- it succeeds, but takes
4497    # about 5 minutes as the teststring grows exponentially.
4498    # Worse, since 9x/ME are not pre-emptively multitasking,
4499    # you end up with a "frozen" computer, even though with patience
4500    # the test eventually succeeds (with a max line length of 256k).
4501    # Instead, let's just punt: use the minimum linelength reported by
4502    # all of the supported platforms: 8192 (on NT/2K/XP).
4503    lt_cv_sys_max_cmd_len=8192;
4504    ;;
4505
4506  amigaos*)
4507    # On AmigaOS with pdksh, this test takes hours, literally.
4508    # So we just punt and use a minimum line length of 8192.
4509    lt_cv_sys_max_cmd_len=8192;
4510    ;;
4511
4512  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4513    # This has been around since 386BSD, at least.  Likely further.
4514    if test -x /sbin/sysctl; then
4515      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4516    elif test -x /usr/sbin/sysctl; then
4517      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4518    else
4519      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4520    fi
4521    # And add a safety zone
4522    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4523    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4524    ;;
4525
4526  interix*)
4527    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4528    lt_cv_sys_max_cmd_len=196608
4529    ;;
4530
4531  osf*)
4532    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4533    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4534    # nice to cause kernel panics so lets avoid the loop below.
4535    # First set a reasonable default.
4536    lt_cv_sys_max_cmd_len=16384
4537    #
4538    if test -x /sbin/sysconfig; then
4539      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4540        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4541      esac
4542    fi
4543    ;;
4544  sco3.2v5*)
4545    lt_cv_sys_max_cmd_len=102400
4546    ;;
4547  sysv5* | sco5v6* | sysv4.2uw2*)
4548    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4549    if test -n "$kargmax"; then
4550      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4551    else
4552      lt_cv_sys_max_cmd_len=32768
4553    fi
4554    ;;
4555  *)
4556    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4557    if test -n "$lt_cv_sys_max_cmd_len"; then
4558      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4559      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4560    else
4561      # Make teststring a little bigger before we do anything with it.
4562      # a 1K string should be a reasonable start.
4563      for i in 1 2 3 4 5 6 7 8 ; do
4564        teststring=$teststring$teststring
4565      done
4566      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4567      # If test is not a shell built-in, we'll probably end up computing a
4568      # maximum length that is only half of the actual maximum length, but
4569      # we can't tell.
4570      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4571	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4572	      test $i != 17 # 1/2 MB should be enough
4573      do
4574        i=`expr $i + 1`
4575        teststring=$teststring$teststring
4576      done
4577      # Only check the string length outside the loop.
4578      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4579      teststring=
4580      # Add a significant safety factor because C++ compilers can tack on
4581      # massive amounts of additional arguments before passing them to the
4582      # linker.  It appears as though 1/2 is a usable value.
4583      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4584    fi
4585    ;;
4586  esac
4587
4588fi
4589
4590if test -n $lt_cv_sys_max_cmd_len ; then
4591  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4592$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4593else
4594  { $as_echo "$as_me:$LINENO: result: none" >&5
4595$as_echo "none" >&6; }
4596fi
4597max_cmd_len=$lt_cv_sys_max_cmd_len
4598
4599
4600
4601
4602
4603
4604: ${CP="cp -f"}
4605: ${MV="mv -f"}
4606: ${RM="rm -f"}
4607
4608{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4609$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4610# Try some XSI features
4611xsi_shell=no
4612( _lt_dummy="a/b/c"
4613  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4614      = c,a/b,, \
4615    && eval 'test $(( 1 + 1 )) -eq 2 \
4616    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4617  && xsi_shell=yes
4618{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4619$as_echo "$xsi_shell" >&6; }
4620
4621
4622{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4623$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4624lt_shell_append=no
4625( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4626    >/dev/null 2>&1 \
4627  && lt_shell_append=yes
4628{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4629$as_echo "$lt_shell_append" >&6; }
4630
4631
4632if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4633  lt_unset=unset
4634else
4635  lt_unset=false
4636fi
4637
4638
4639
4640
4641
4642# test EBCDIC or ASCII
4643case `echo X|tr X '\101'` in
4644 A) # ASCII based system
4645    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4646  lt_SP2NL='tr \040 \012'
4647  lt_NL2SP='tr \015\012 \040\040'
4648  ;;
4649 *) # EBCDIC based system
4650  lt_SP2NL='tr \100 \n'
4651  lt_NL2SP='tr \r\n \100\100'
4652  ;;
4653esac
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4664$as_echo_n "checking for $LD option to reload object files... " >&6; }
4665if test "${lt_cv_ld_reload_flag+set}" = set; then
4666  $as_echo_n "(cached) " >&6
4667else
4668  lt_cv_ld_reload_flag='-r'
4669fi
4670{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4671$as_echo "$lt_cv_ld_reload_flag" >&6; }
4672reload_flag=$lt_cv_ld_reload_flag
4673case $reload_flag in
4674"" | " "*) ;;
4675*) reload_flag=" $reload_flag" ;;
4676esac
4677reload_cmds='$LD$reload_flag -o $output$reload_objs'
4678case $host_os in
4679  darwin*)
4680    if test "$GCC" = yes; then
4681      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4682    else
4683      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4684    fi
4685    ;;
4686esac
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696if test -n "$ac_tool_prefix"; then
4697  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4698set dummy ${ac_tool_prefix}objdump; ac_word=$2
4699{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4700$as_echo_n "checking for $ac_word... " >&6; }
4701if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4702  $as_echo_n "(cached) " >&6
4703else
4704  if test -n "$OBJDUMP"; then
4705  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4706else
4707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708for as_dir in $PATH
4709do
4710  IFS=$as_save_IFS
4711  test -z "$as_dir" && as_dir=.
4712  for ac_exec_ext in '' $ac_executable_extensions; do
4713  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4715    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4716    break 2
4717  fi
4718done
4719done
4720IFS=$as_save_IFS
4721
4722fi
4723fi
4724OBJDUMP=$ac_cv_prog_OBJDUMP
4725if test -n "$OBJDUMP"; then
4726  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4727$as_echo "$OBJDUMP" >&6; }
4728else
4729  { $as_echo "$as_me:$LINENO: result: no" >&5
4730$as_echo "no" >&6; }
4731fi
4732
4733
4734fi
4735if test -z "$ac_cv_prog_OBJDUMP"; then
4736  ac_ct_OBJDUMP=$OBJDUMP
4737  # Extract the first word of "objdump", so it can be a program name with args.
4738set dummy objdump; ac_word=$2
4739{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4740$as_echo_n "checking for $ac_word... " >&6; }
4741if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4742  $as_echo_n "(cached) " >&6
4743else
4744  if test -n "$ac_ct_OBJDUMP"; then
4745  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4746else
4747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748for as_dir in $PATH
4749do
4750  IFS=$as_save_IFS
4751  test -z "$as_dir" && as_dir=.
4752  for ac_exec_ext in '' $ac_executable_extensions; do
4753  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4754    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4755    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4756    break 2
4757  fi
4758done
4759done
4760IFS=$as_save_IFS
4761
4762fi
4763fi
4764ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4765if test -n "$ac_ct_OBJDUMP"; then
4766  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4767$as_echo "$ac_ct_OBJDUMP" >&6; }
4768else
4769  { $as_echo "$as_me:$LINENO: result: no" >&5
4770$as_echo "no" >&6; }
4771fi
4772
4773  if test "x$ac_ct_OBJDUMP" = x; then
4774    OBJDUMP="false"
4775  else
4776    case $cross_compiling:$ac_tool_warned in
4777yes:)
4778{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4779$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4780ac_tool_warned=yes ;;
4781esac
4782    OBJDUMP=$ac_ct_OBJDUMP
4783  fi
4784else
4785  OBJDUMP="$ac_cv_prog_OBJDUMP"
4786fi
4787
4788test -z "$OBJDUMP" && OBJDUMP=objdump
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4799$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4800if test "${lt_cv_deplibs_check_method+set}" = set; then
4801  $as_echo_n "(cached) " >&6
4802else
4803  lt_cv_file_magic_cmd='$MAGIC_CMD'
4804lt_cv_file_magic_test_file=
4805lt_cv_deplibs_check_method='unknown'
4806# Need to set the preceding variable on all platforms that support
4807# interlibrary dependencies.
4808# 'none' -- dependencies not supported.
4809# `unknown' -- same as none, but documents that we really don't know.
4810# 'pass_all' -- all dependencies passed with no checks.
4811# 'test_compile' -- check by making test program.
4812# 'file_magic [[regex]]' -- check by looking for files in library path
4813# which responds to the $file_magic_cmd with a given extended regex.
4814# If you have `file' or equivalent on your system and you're not sure
4815# whether `pass_all' will *always* work, you probably want this one.
4816
4817case $host_os in
4818aix[4-9]*)
4819  lt_cv_deplibs_check_method=pass_all
4820  ;;
4821
4822beos*)
4823  lt_cv_deplibs_check_method=pass_all
4824  ;;
4825
4826bsdi[45]*)
4827  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4828  lt_cv_file_magic_cmd='/usr/bin/file -L'
4829  lt_cv_file_magic_test_file=/shlib/libc.so
4830  ;;
4831
4832cygwin*)
4833  # func_win32_libid is a shell function defined in ltmain.sh
4834  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4835  lt_cv_file_magic_cmd='func_win32_libid'
4836  ;;
4837
4838mingw* | pw32*)
4839  # Base MSYS/MinGW do not provide the 'file' command needed by
4840  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4841  # unless we find 'file', for example because we are cross-compiling.
4842  if ( file / ) >/dev/null 2>&1; then
4843    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4844    lt_cv_file_magic_cmd='func_win32_libid'
4845  else
4846    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4847    lt_cv_file_magic_cmd='$OBJDUMP -f'
4848  fi
4849  ;;
4850
4851cegcc)
4852  # use the weaker test based on 'objdump'. See mingw*.
4853  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4854  lt_cv_file_magic_cmd='$OBJDUMP -f'
4855  ;;
4856
4857darwin* | rhapsody*)
4858  lt_cv_deplibs_check_method=pass_all
4859  ;;
4860
4861freebsd* | dragonfly*)
4862  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4863    case $host_cpu in
4864    i*86 )
4865      # Not sure whether the presence of OpenBSD here was a mistake.
4866      # Let's accept both of them until this is cleared up.
4867      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4868      lt_cv_file_magic_cmd=/usr/bin/file
4869      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4870      ;;
4871    esac
4872  else
4873    lt_cv_deplibs_check_method=pass_all
4874  fi
4875  ;;
4876
4877gnu*)
4878  lt_cv_deplibs_check_method=pass_all
4879  ;;
4880
4881hpux10.20* | hpux11*)
4882  lt_cv_file_magic_cmd=/usr/bin/file
4883  case $host_cpu in
4884  ia64*)
4885    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4886    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4887    ;;
4888  hppa*64*)
4889    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4890    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4891    ;;
4892  *)
4893    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4894    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4895    ;;
4896  esac
4897  ;;
4898
4899interix[3-9]*)
4900  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4901  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4902  ;;
4903
4904irix5* | irix6* | nonstopux*)
4905  case $LD in
4906  *-32|*"-32 ") libmagic=32-bit;;
4907  *-n32|*"-n32 ") libmagic=N32;;
4908  *-64|*"-64 ") libmagic=64-bit;;
4909  *) libmagic=never-match;;
4910  esac
4911  lt_cv_deplibs_check_method=pass_all
4912  ;;
4913
4914# This must be Linux ELF.
4915linux* | k*bsd*-gnu)
4916  lt_cv_deplibs_check_method=pass_all
4917  ;;
4918
4919netbsd*)
4920  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4921    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4922  else
4923    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4924  fi
4925  ;;
4926
4927newos6*)
4928  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4929  lt_cv_file_magic_cmd=/usr/bin/file
4930  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4931  ;;
4932
4933*nto* | *qnx*)
4934  lt_cv_deplibs_check_method=pass_all
4935  ;;
4936
4937openbsd*)
4938  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4939    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4940  else
4941    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4942  fi
4943  ;;
4944
4945osf3* | osf4* | osf5*)
4946  lt_cv_deplibs_check_method=pass_all
4947  ;;
4948
4949rdos*)
4950  lt_cv_deplibs_check_method=pass_all
4951  ;;
4952
4953solaris*)
4954  lt_cv_deplibs_check_method=pass_all
4955  ;;
4956
4957sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4958  lt_cv_deplibs_check_method=pass_all
4959  ;;
4960
4961sysv4 | sysv4.3*)
4962  case $host_vendor in
4963  motorola)
4964    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]'
4965    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4966    ;;
4967  ncr)
4968    lt_cv_deplibs_check_method=pass_all
4969    ;;
4970  sequent)
4971    lt_cv_file_magic_cmd='/bin/file'
4972    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4973    ;;
4974  sni)
4975    lt_cv_file_magic_cmd='/bin/file'
4976    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4977    lt_cv_file_magic_test_file=/lib/libc.so
4978    ;;
4979  siemens)
4980    lt_cv_deplibs_check_method=pass_all
4981    ;;
4982  pc)
4983    lt_cv_deplibs_check_method=pass_all
4984    ;;
4985  esac
4986  ;;
4987
4988tpf*)
4989  lt_cv_deplibs_check_method=pass_all
4990  ;;
4991esac
4992
4993fi
4994{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4995$as_echo "$lt_cv_deplibs_check_method" >&6; }
4996file_magic_cmd=$lt_cv_file_magic_cmd
4997deplibs_check_method=$lt_cv_deplibs_check_method
4998test -z "$deplibs_check_method" && deplibs_check_method=unknown
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011if test -n "$ac_tool_prefix"; then
5012  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5013set dummy ${ac_tool_prefix}ar; ac_word=$2
5014{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5015$as_echo_n "checking for $ac_word... " >&6; }
5016if test "${ac_cv_prog_AR+set}" = set; then
5017  $as_echo_n "(cached) " >&6
5018else
5019  if test -n "$AR"; then
5020  ac_cv_prog_AR="$AR" # Let the user override the test.
5021else
5022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023for as_dir in $PATH
5024do
5025  IFS=$as_save_IFS
5026  test -z "$as_dir" && as_dir=.
5027  for ac_exec_ext in '' $ac_executable_extensions; do
5028  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029    ac_cv_prog_AR="${ac_tool_prefix}ar"
5030    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5031    break 2
5032  fi
5033done
5034done
5035IFS=$as_save_IFS
5036
5037fi
5038fi
5039AR=$ac_cv_prog_AR
5040if test -n "$AR"; then
5041  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5042$as_echo "$AR" >&6; }
5043else
5044  { $as_echo "$as_me:$LINENO: result: no" >&5
5045$as_echo "no" >&6; }
5046fi
5047
5048
5049fi
5050if test -z "$ac_cv_prog_AR"; then
5051  ac_ct_AR=$AR
5052  # Extract the first word of "ar", so it can be a program name with args.
5053set dummy ar; ac_word=$2
5054{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5055$as_echo_n "checking for $ac_word... " >&6; }
5056if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5057  $as_echo_n "(cached) " >&6
5058else
5059  if test -n "$ac_ct_AR"; then
5060  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5061else
5062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063for as_dir in $PATH
5064do
5065  IFS=$as_save_IFS
5066  test -z "$as_dir" && as_dir=.
5067  for ac_exec_ext in '' $ac_executable_extensions; do
5068  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069    ac_cv_prog_ac_ct_AR="ar"
5070    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5071    break 2
5072  fi
5073done
5074done
5075IFS=$as_save_IFS
5076
5077fi
5078fi
5079ac_ct_AR=$ac_cv_prog_ac_ct_AR
5080if test -n "$ac_ct_AR"; then
5081  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5082$as_echo "$ac_ct_AR" >&6; }
5083else
5084  { $as_echo "$as_me:$LINENO: result: no" >&5
5085$as_echo "no" >&6; }
5086fi
5087
5088  if test "x$ac_ct_AR" = x; then
5089    AR="false"
5090  else
5091    case $cross_compiling:$ac_tool_warned in
5092yes:)
5093{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5094$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095ac_tool_warned=yes ;;
5096esac
5097    AR=$ac_ct_AR
5098  fi
5099else
5100  AR="$ac_cv_prog_AR"
5101fi
5102
5103test -z "$AR" && AR=ar
5104test -z "$AR_FLAGS" && AR_FLAGS=cru
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116if test -n "$ac_tool_prefix"; then
5117  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5118set dummy ${ac_tool_prefix}strip; ac_word=$2
5119{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5120$as_echo_n "checking for $ac_word... " >&6; }
5121if test "${ac_cv_prog_STRIP+set}" = set; then
5122  $as_echo_n "(cached) " >&6
5123else
5124  if test -n "$STRIP"; then
5125  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5126else
5127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128for as_dir in $PATH
5129do
5130  IFS=$as_save_IFS
5131  test -z "$as_dir" && as_dir=.
5132  for ac_exec_ext in '' $ac_executable_extensions; do
5133  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5135    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5136    break 2
5137  fi
5138done
5139done
5140IFS=$as_save_IFS
5141
5142fi
5143fi
5144STRIP=$ac_cv_prog_STRIP
5145if test -n "$STRIP"; then
5146  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5147$as_echo "$STRIP" >&6; }
5148else
5149  { $as_echo "$as_me:$LINENO: result: no" >&5
5150$as_echo "no" >&6; }
5151fi
5152
5153
5154fi
5155if test -z "$ac_cv_prog_STRIP"; then
5156  ac_ct_STRIP=$STRIP
5157  # Extract the first word of "strip", so it can be a program name with args.
5158set dummy strip; ac_word=$2
5159{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5160$as_echo_n "checking for $ac_word... " >&6; }
5161if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5162  $as_echo_n "(cached) " >&6
5163else
5164  if test -n "$ac_ct_STRIP"; then
5165  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5166else
5167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168for as_dir in $PATH
5169do
5170  IFS=$as_save_IFS
5171  test -z "$as_dir" && as_dir=.
5172  for ac_exec_ext in '' $ac_executable_extensions; do
5173  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174    ac_cv_prog_ac_ct_STRIP="strip"
5175    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5176    break 2
5177  fi
5178done
5179done
5180IFS=$as_save_IFS
5181
5182fi
5183fi
5184ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5185if test -n "$ac_ct_STRIP"; then
5186  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5187$as_echo "$ac_ct_STRIP" >&6; }
5188else
5189  { $as_echo "$as_me:$LINENO: result: no" >&5
5190$as_echo "no" >&6; }
5191fi
5192
5193  if test "x$ac_ct_STRIP" = x; then
5194    STRIP=":"
5195  else
5196    case $cross_compiling:$ac_tool_warned in
5197yes:)
5198{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5200ac_tool_warned=yes ;;
5201esac
5202    STRIP=$ac_ct_STRIP
5203  fi
5204else
5205  STRIP="$ac_cv_prog_STRIP"
5206fi
5207
5208test -z "$STRIP" && STRIP=:
5209
5210
5211
5212
5213
5214
5215if test -n "$ac_tool_prefix"; then
5216  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5217set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5218{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5219$as_echo_n "checking for $ac_word... " >&6; }
5220if test "${ac_cv_prog_RANLIB+set}" = set; then
5221  $as_echo_n "(cached) " >&6
5222else
5223  if test -n "$RANLIB"; then
5224  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5225else
5226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227for as_dir in $PATH
5228do
5229  IFS=$as_save_IFS
5230  test -z "$as_dir" && as_dir=.
5231  for ac_exec_ext in '' $ac_executable_extensions; do
5232  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5233    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5234    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5235    break 2
5236  fi
5237done
5238done
5239IFS=$as_save_IFS
5240
5241fi
5242fi
5243RANLIB=$ac_cv_prog_RANLIB
5244if test -n "$RANLIB"; then
5245  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5246$as_echo "$RANLIB" >&6; }
5247else
5248  { $as_echo "$as_me:$LINENO: result: no" >&5
5249$as_echo "no" >&6; }
5250fi
5251
5252
5253fi
5254if test -z "$ac_cv_prog_RANLIB"; then
5255  ac_ct_RANLIB=$RANLIB
5256  # Extract the first word of "ranlib", so it can be a program name with args.
5257set dummy ranlib; ac_word=$2
5258{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5259$as_echo_n "checking for $ac_word... " >&6; }
5260if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5261  $as_echo_n "(cached) " >&6
5262else
5263  if test -n "$ac_ct_RANLIB"; then
5264  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5265else
5266as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267for as_dir in $PATH
5268do
5269  IFS=$as_save_IFS
5270  test -z "$as_dir" && as_dir=.
5271  for ac_exec_ext in '' $ac_executable_extensions; do
5272  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273    ac_cv_prog_ac_ct_RANLIB="ranlib"
5274    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5275    break 2
5276  fi
5277done
5278done
5279IFS=$as_save_IFS
5280
5281fi
5282fi
5283ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5284if test -n "$ac_ct_RANLIB"; then
5285  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5286$as_echo "$ac_ct_RANLIB" >&6; }
5287else
5288  { $as_echo "$as_me:$LINENO: result: no" >&5
5289$as_echo "no" >&6; }
5290fi
5291
5292  if test "x$ac_ct_RANLIB" = x; then
5293    RANLIB=":"
5294  else
5295    case $cross_compiling:$ac_tool_warned in
5296yes:)
5297{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5298$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5299ac_tool_warned=yes ;;
5300esac
5301    RANLIB=$ac_ct_RANLIB
5302  fi
5303else
5304  RANLIB="$ac_cv_prog_RANLIB"
5305fi
5306
5307test -z "$RANLIB" && RANLIB=:
5308
5309
5310
5311
5312
5313
5314# Determine commands to create old-style static archives.
5315old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5316old_postinstall_cmds='chmod 644 $oldlib'
5317old_postuninstall_cmds=
5318
5319if test -n "$RANLIB"; then
5320  case $host_os in
5321  openbsd*)
5322    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5323    ;;
5324  *)
5325    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5326    ;;
5327  esac
5328  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5329fi
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364# If no C compiler was specified, use CC.
5365LTCC=${LTCC-"$CC"}
5366
5367# If no C compiler flags were specified, use CFLAGS.
5368LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5369
5370# Allow CC to be a program name with arguments.
5371compiler=$CC
5372
5373
5374# Check for command to grab the raw symbol name followed by C symbol from nm.
5375{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5376$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5377if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5378  $as_echo_n "(cached) " >&6
5379else
5380
5381# These are sane defaults that work on at least a few old systems.
5382# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5383
5384# Character class describing NM global symbol codes.
5385symcode='[BCDEGRST]'
5386
5387# Regexp to match symbols that can be accessed directly from C.
5388sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5389
5390# Define system-specific variables.
5391case $host_os in
5392aix*)
5393  symcode='[BCDT]'
5394  ;;
5395cygwin* | mingw* | pw32* | cegcc*)
5396  symcode='[ABCDGISTW]'
5397  ;;
5398hpux*)
5399  if test "$host_cpu" = ia64; then
5400    symcode='[ABCDEGRST]'
5401  fi
5402  ;;
5403irix* | nonstopux*)
5404  symcode='[BCDEGRST]'
5405  ;;
5406osf*)
5407  symcode='[BCDEGQRST]'
5408  ;;
5409solaris*)
5410  symcode='[BDRT]'
5411  ;;
5412sco3.2v5*)
5413  symcode='[DT]'
5414  ;;
5415sysv4.2uw2*)
5416  symcode='[DT]'
5417  ;;
5418sysv5* | sco5v6* | unixware* | OpenUNIX*)
5419  symcode='[ABDT]'
5420  ;;
5421sysv4)
5422  symcode='[DFNSTU]'
5423  ;;
5424esac
5425
5426# If we're using GNU nm, then use its standard symbol codes.
5427case `$NM -V 2>&1` in
5428*GNU* | *'with BFD'*)
5429  symcode='[ABCDGIRSTW]' ;;
5430esac
5431
5432# Transform an extracted symbol line into a proper C declaration.
5433# Some systems (esp. on ia64) link data and code symbols differently,
5434# so use this general approach.
5435lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5436
5437# Transform an extracted symbol line into symbol name and symbol address
5438lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5439lt_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'"
5440
5441# Handle CRLF in mingw tool chain
5442opt_cr=
5443case $build_os in
5444mingw*)
5445  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5446  ;;
5447esac
5448
5449# Try without a prefix underscore, then with it.
5450for ac_symprfx in "" "_"; do
5451
5452  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5453  symxfrm="\\1 $ac_symprfx\\2 \\2"
5454
5455  # Write the raw and C identifiers.
5456  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5457    # Fake it for dumpbin and say T for any non-static function
5458    # and D for any global variable.
5459    # Also find C++ and __fastcall symbols from MSVC++,
5460    # which start with @ or ?.
5461    lt_cv_sys_global_symbol_pipe="$AWK '"\
5462"     {last_section=section; section=\$ 3};"\
5463"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5464"     \$ 0!~/External *\|/{next};"\
5465"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5466"     {if(hide[section]) next};"\
5467"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5468"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5469"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5470"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5471"     ' prfx=^$ac_symprfx"
5472  else
5473    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5474  fi
5475
5476  # Check to see that the pipe works correctly.
5477  pipe_works=no
5478
5479  rm -f conftest*
5480  cat > conftest.$ac_ext <<_LT_EOF
5481#ifdef __cplusplus
5482extern "C" {
5483#endif
5484char nm_test_var;
5485void nm_test_func(void);
5486void nm_test_func(void){}
5487#ifdef __cplusplus
5488}
5489#endif
5490int main(){nm_test_var='a';nm_test_func();return(0);}
5491_LT_EOF
5492
5493  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5494  (eval $ac_compile) 2>&5
5495  ac_status=$?
5496  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497  (exit $ac_status); }; then
5498    # Now try to grab the symbols.
5499    nlist=conftest.nm
5500    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5501  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5502  ac_status=$?
5503  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504  (exit $ac_status); } && test -s "$nlist"; then
5505      # Try sorting and uniquifying the output.
5506      if sort "$nlist" | uniq > "$nlist"T; then
5507	mv -f "$nlist"T "$nlist"
5508      else
5509	rm -f "$nlist"T
5510      fi
5511
5512      # Make sure that we snagged all the symbols we need.
5513      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5514	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5515	  cat <<_LT_EOF > conftest.$ac_ext
5516#ifdef __cplusplus
5517extern "C" {
5518#endif
5519
5520_LT_EOF
5521	  # Now generate the symbol file.
5522	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5523
5524	  cat <<_LT_EOF >> conftest.$ac_ext
5525
5526/* The mapping between symbol names and symbols.  */
5527const struct {
5528  const char *name;
5529  void       *address;
5530}
5531lt__PROGRAM__LTX_preloaded_symbols[] =
5532{
5533  { "@PROGRAM@", (void *) 0 },
5534_LT_EOF
5535	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5536	  cat <<\_LT_EOF >> conftest.$ac_ext
5537  {0, (void *) 0}
5538};
5539
5540/* This works around a problem in FreeBSD linker */
5541#ifdef FREEBSD_WORKAROUND
5542static const void *lt_preloaded_setup() {
5543  return lt__PROGRAM__LTX_preloaded_symbols;
5544}
5545#endif
5546
5547#ifdef __cplusplus
5548}
5549#endif
5550_LT_EOF
5551	  # Now try linking the two files.
5552	  mv conftest.$ac_objext conftstm.$ac_objext
5553	  lt_save_LIBS="$LIBS"
5554	  lt_save_CFLAGS="$CFLAGS"
5555	  LIBS="conftstm.$ac_objext"
5556	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5557	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5558  (eval $ac_link) 2>&5
5559  ac_status=$?
5560  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561  (exit $ac_status); } && test -s conftest${ac_exeext}; then
5562	    pipe_works=yes
5563	  fi
5564	  LIBS="$lt_save_LIBS"
5565	  CFLAGS="$lt_save_CFLAGS"
5566	else
5567	  echo "cannot find nm_test_func in $nlist" >&5
5568	fi
5569      else
5570	echo "cannot find nm_test_var in $nlist" >&5
5571      fi
5572    else
5573      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5574    fi
5575  else
5576    echo "$progname: failed program was:" >&5
5577    cat conftest.$ac_ext >&5
5578  fi
5579  rm -rf conftest* conftst*
5580
5581  # Do not use the global_symbol_pipe unless it works.
5582  if test "$pipe_works" = yes; then
5583    break
5584  else
5585    lt_cv_sys_global_symbol_pipe=
5586  fi
5587done
5588
5589fi
5590
5591if test -z "$lt_cv_sys_global_symbol_pipe"; then
5592  lt_cv_sys_global_symbol_to_cdecl=
5593fi
5594if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5595  { $as_echo "$as_me:$LINENO: result: failed" >&5
5596$as_echo "failed" >&6; }
5597else
5598  { $as_echo "$as_me:$LINENO: result: ok" >&5
5599$as_echo "ok" >&6; }
5600fi
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624# Check whether --enable-libtool-lock was given.
5625if test "${enable_libtool_lock+set}" = set; then
5626  enableval=$enable_libtool_lock;
5627fi
5628
5629test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5630
5631# Some flags need to be propagated to the compiler or linker for good
5632# libtool support.
5633case $host in
5634ia64-*-hpux*)
5635  # Find out which ABI we are using.
5636  echo 'int i;' > conftest.$ac_ext
5637  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5638  (eval $ac_compile) 2>&5
5639  ac_status=$?
5640  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641  (exit $ac_status); }; then
5642    case `/usr/bin/file conftest.$ac_objext` in
5643      *ELF-32*)
5644	HPUX_IA64_MODE="32"
5645	;;
5646      *ELF-64*)
5647	HPUX_IA64_MODE="64"
5648	;;
5649    esac
5650  fi
5651  rm -rf conftest*
5652  ;;
5653*-*-irix6*)
5654  # Find out which ABI we are using.
5655  echo '#line 5655 "configure"' > conftest.$ac_ext
5656  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5657  (eval $ac_compile) 2>&5
5658  ac_status=$?
5659  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660  (exit $ac_status); }; then
5661    if test "$lt_cv_prog_gnu_ld" = yes; then
5662      case `/usr/bin/file conftest.$ac_objext` in
5663	*32-bit*)
5664	  LD="${LD-ld} -melf32bsmip"
5665	  ;;
5666	*N32*)
5667	  LD="${LD-ld} -melf32bmipn32"
5668	  ;;
5669	*64-bit*)
5670	  LD="${LD-ld} -melf64bmip"
5671	;;
5672      esac
5673    else
5674      case `/usr/bin/file conftest.$ac_objext` in
5675	*32-bit*)
5676	  LD="${LD-ld} -32"
5677	  ;;
5678	*N32*)
5679	  LD="${LD-ld} -n32"
5680	  ;;
5681	*64-bit*)
5682	  LD="${LD-ld} -64"
5683	  ;;
5684      esac
5685    fi
5686  fi
5687  rm -rf conftest*
5688  ;;
5689
5690x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5691s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5692  # Find out which ABI we are using.
5693  echo 'int i;' > conftest.$ac_ext
5694  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5695  (eval $ac_compile) 2>&5
5696  ac_status=$?
5697  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698  (exit $ac_status); }; then
5699    case `/usr/bin/file conftest.o` in
5700      *32-bit*)
5701	case $host in
5702	  x86_64-*kfreebsd*-gnu)
5703	    LD="${LD-ld} -m elf_i386_fbsd"
5704	    ;;
5705	  x86_64-*linux*)
5706	    LD="${LD-ld} -m elf_i386"
5707	    ;;
5708	  ppc64-*linux*|powerpc64-*linux*)
5709	    LD="${LD-ld} -m elf32ppclinux"
5710	    ;;
5711	  s390x-*linux*)
5712	    LD="${LD-ld} -m elf_s390"
5713	    ;;
5714	  sparc64-*linux*)
5715	    LD="${LD-ld} -m elf32_sparc"
5716	    ;;
5717	esac
5718	;;
5719      *64-bit*)
5720	case $host in
5721	  x86_64-*kfreebsd*-gnu)
5722	    LD="${LD-ld} -m elf_x86_64_fbsd"
5723	    ;;
5724	  x86_64-*linux*)
5725	    LD="${LD-ld} -m elf_x86_64"
5726	    ;;
5727	  ppc*-*linux*|powerpc*-*linux*)
5728	    LD="${LD-ld} -m elf64ppc"
5729	    ;;
5730	  s390*-*linux*|s390*-*tpf*)
5731	    LD="${LD-ld} -m elf64_s390"
5732	    ;;
5733	  sparc*-*linux*)
5734	    LD="${LD-ld} -m elf64_sparc"
5735	    ;;
5736	esac
5737	;;
5738    esac
5739  fi
5740  rm -rf conftest*
5741  ;;
5742
5743*-*-sco3.2v5*)
5744  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5745  SAVE_CFLAGS="$CFLAGS"
5746  CFLAGS="$CFLAGS -belf"
5747  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5748$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5749if test "${lt_cv_cc_needs_belf+set}" = set; then
5750  $as_echo_n "(cached) " >&6
5751else
5752  ac_ext=c
5753ac_cpp='$CPP $CPPFLAGS'
5754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5756ac_compiler_gnu=$ac_cv_c_compiler_gnu
5757
5758     cat >conftest.$ac_ext <<_ACEOF
5759/* confdefs.h.  */
5760_ACEOF
5761cat confdefs.h >>conftest.$ac_ext
5762cat >>conftest.$ac_ext <<_ACEOF
5763/* end confdefs.h.  */
5764
5765int
5766main ()
5767{
5768
5769  ;
5770  return 0;
5771}
5772_ACEOF
5773rm -f conftest.$ac_objext conftest$ac_exeext
5774if { (ac_try="$ac_link"
5775case "(($ac_try" in
5776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5777  *) ac_try_echo=$ac_try;;
5778esac
5779eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5780$as_echo "$ac_try_echo") >&5
5781  (eval "$ac_link") 2>conftest.er1
5782  ac_status=$?
5783  grep -v '^ *+' conftest.er1 >conftest.err
5784  rm -f conftest.er1
5785  cat conftest.err >&5
5786  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787  (exit $ac_status); } && {
5788	 test -z "$ac_c_werror_flag" ||
5789	 test ! -s conftest.err
5790       } && test -s conftest$ac_exeext && {
5791	 test "$cross_compiling" = yes ||
5792	 $as_test_x conftest$ac_exeext
5793       }; then
5794  lt_cv_cc_needs_belf=yes
5795else
5796  $as_echo "$as_me: failed program was:" >&5
5797sed 's/^/| /' conftest.$ac_ext >&5
5798
5799	lt_cv_cc_needs_belf=no
5800fi
5801
5802rm -rf conftest.dSYM
5803rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5804      conftest$ac_exeext conftest.$ac_ext
5805     ac_ext=c
5806ac_cpp='$CPP $CPPFLAGS'
5807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5809ac_compiler_gnu=$ac_cv_c_compiler_gnu
5810
5811fi
5812{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5813$as_echo "$lt_cv_cc_needs_belf" >&6; }
5814  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5815    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5816    CFLAGS="$SAVE_CFLAGS"
5817  fi
5818  ;;
5819sparc*-*solaris*)
5820  # Find out which ABI we are using.
5821  echo 'int i;' > conftest.$ac_ext
5822  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5823  (eval $ac_compile) 2>&5
5824  ac_status=$?
5825  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826  (exit $ac_status); }; then
5827    case `/usr/bin/file conftest.o` in
5828    *64-bit*)
5829      case $lt_cv_prog_gnu_ld in
5830      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5831      *)
5832	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5833	  LD="${LD-ld} -64"
5834	fi
5835	;;
5836      esac
5837      ;;
5838    esac
5839  fi
5840  rm -rf conftest*
5841  ;;
5842esac
5843
5844need_locks="$enable_libtool_lock"
5845
5846
5847  case $host_os in
5848    rhapsody* | darwin*)
5849    if test -n "$ac_tool_prefix"; then
5850  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5851set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5852{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5853$as_echo_n "checking for $ac_word... " >&6; }
5854if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5855  $as_echo_n "(cached) " >&6
5856else
5857  if test -n "$DSYMUTIL"; then
5858  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5859else
5860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861for as_dir in $PATH
5862do
5863  IFS=$as_save_IFS
5864  test -z "$as_dir" && as_dir=.
5865  for ac_exec_ext in '' $ac_executable_extensions; do
5866  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5868    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5869    break 2
5870  fi
5871done
5872done
5873IFS=$as_save_IFS
5874
5875fi
5876fi
5877DSYMUTIL=$ac_cv_prog_DSYMUTIL
5878if test -n "$DSYMUTIL"; then
5879  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5880$as_echo "$DSYMUTIL" >&6; }
5881else
5882  { $as_echo "$as_me:$LINENO: result: no" >&5
5883$as_echo "no" >&6; }
5884fi
5885
5886
5887fi
5888if test -z "$ac_cv_prog_DSYMUTIL"; then
5889  ac_ct_DSYMUTIL=$DSYMUTIL
5890  # Extract the first word of "dsymutil", so it can be a program name with args.
5891set dummy dsymutil; ac_word=$2
5892{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5893$as_echo_n "checking for $ac_word... " >&6; }
5894if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5895  $as_echo_n "(cached) " >&6
5896else
5897  if test -n "$ac_ct_DSYMUTIL"; then
5898  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5899else
5900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901for as_dir in $PATH
5902do
5903  IFS=$as_save_IFS
5904  test -z "$as_dir" && as_dir=.
5905  for ac_exec_ext in '' $ac_executable_extensions; do
5906  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5908    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5909    break 2
5910  fi
5911done
5912done
5913IFS=$as_save_IFS
5914
5915fi
5916fi
5917ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5918if test -n "$ac_ct_DSYMUTIL"; then
5919  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5920$as_echo "$ac_ct_DSYMUTIL" >&6; }
5921else
5922  { $as_echo "$as_me:$LINENO: result: no" >&5
5923$as_echo "no" >&6; }
5924fi
5925
5926  if test "x$ac_ct_DSYMUTIL" = x; then
5927    DSYMUTIL=":"
5928  else
5929    case $cross_compiling:$ac_tool_warned in
5930yes:)
5931{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5932$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5933ac_tool_warned=yes ;;
5934esac
5935    DSYMUTIL=$ac_ct_DSYMUTIL
5936  fi
5937else
5938  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5939fi
5940
5941    if test -n "$ac_tool_prefix"; then
5942  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5943set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5944{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5945$as_echo_n "checking for $ac_word... " >&6; }
5946if test "${ac_cv_prog_NMEDIT+set}" = set; then
5947  $as_echo_n "(cached) " >&6
5948else
5949  if test -n "$NMEDIT"; then
5950  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5951else
5952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953for as_dir in $PATH
5954do
5955  IFS=$as_save_IFS
5956  test -z "$as_dir" && as_dir=.
5957  for ac_exec_ext in '' $ac_executable_extensions; do
5958  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5959    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5960    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5961    break 2
5962  fi
5963done
5964done
5965IFS=$as_save_IFS
5966
5967fi
5968fi
5969NMEDIT=$ac_cv_prog_NMEDIT
5970if test -n "$NMEDIT"; then
5971  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5972$as_echo "$NMEDIT" >&6; }
5973else
5974  { $as_echo "$as_me:$LINENO: result: no" >&5
5975$as_echo "no" >&6; }
5976fi
5977
5978
5979fi
5980if test -z "$ac_cv_prog_NMEDIT"; then
5981  ac_ct_NMEDIT=$NMEDIT
5982  # Extract the first word of "nmedit", so it can be a program name with args.
5983set dummy nmedit; ac_word=$2
5984{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5985$as_echo_n "checking for $ac_word... " >&6; }
5986if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5987  $as_echo_n "(cached) " >&6
5988else
5989  if test -n "$ac_ct_NMEDIT"; then
5990  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5991else
5992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993for as_dir in $PATH
5994do
5995  IFS=$as_save_IFS
5996  test -z "$as_dir" && as_dir=.
5997  for ac_exec_ext in '' $ac_executable_extensions; do
5998  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5999    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6000    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6001    break 2
6002  fi
6003done
6004done
6005IFS=$as_save_IFS
6006
6007fi
6008fi
6009ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6010if test -n "$ac_ct_NMEDIT"; then
6011  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6012$as_echo "$ac_ct_NMEDIT" >&6; }
6013else
6014  { $as_echo "$as_me:$LINENO: result: no" >&5
6015$as_echo "no" >&6; }
6016fi
6017
6018  if test "x$ac_ct_NMEDIT" = x; then
6019    NMEDIT=":"
6020  else
6021    case $cross_compiling:$ac_tool_warned in
6022yes:)
6023{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6024$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6025ac_tool_warned=yes ;;
6026esac
6027    NMEDIT=$ac_ct_NMEDIT
6028  fi
6029else
6030  NMEDIT="$ac_cv_prog_NMEDIT"
6031fi
6032
6033    if test -n "$ac_tool_prefix"; then
6034  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6035set dummy ${ac_tool_prefix}lipo; ac_word=$2
6036{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6037$as_echo_n "checking for $ac_word... " >&6; }
6038if test "${ac_cv_prog_LIPO+set}" = set; then
6039  $as_echo_n "(cached) " >&6
6040else
6041  if test -n "$LIPO"; then
6042  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6043else
6044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045for as_dir in $PATH
6046do
6047  IFS=$as_save_IFS
6048  test -z "$as_dir" && as_dir=.
6049  for ac_exec_ext in '' $ac_executable_extensions; do
6050  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6052    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6053    break 2
6054  fi
6055done
6056done
6057IFS=$as_save_IFS
6058
6059fi
6060fi
6061LIPO=$ac_cv_prog_LIPO
6062if test -n "$LIPO"; then
6063  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6064$as_echo "$LIPO" >&6; }
6065else
6066  { $as_echo "$as_me:$LINENO: result: no" >&5
6067$as_echo "no" >&6; }
6068fi
6069
6070
6071fi
6072if test -z "$ac_cv_prog_LIPO"; then
6073  ac_ct_LIPO=$LIPO
6074  # Extract the first word of "lipo", so it can be a program name with args.
6075set dummy lipo; ac_word=$2
6076{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6077$as_echo_n "checking for $ac_word... " >&6; }
6078if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6079  $as_echo_n "(cached) " >&6
6080else
6081  if test -n "$ac_ct_LIPO"; then
6082  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6083else
6084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085for as_dir in $PATH
6086do
6087  IFS=$as_save_IFS
6088  test -z "$as_dir" && as_dir=.
6089  for ac_exec_ext in '' $ac_executable_extensions; do
6090  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091    ac_cv_prog_ac_ct_LIPO="lipo"
6092    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6093    break 2
6094  fi
6095done
6096done
6097IFS=$as_save_IFS
6098
6099fi
6100fi
6101ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6102if test -n "$ac_ct_LIPO"; then
6103  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6104$as_echo "$ac_ct_LIPO" >&6; }
6105else
6106  { $as_echo "$as_me:$LINENO: result: no" >&5
6107$as_echo "no" >&6; }
6108fi
6109
6110  if test "x$ac_ct_LIPO" = x; then
6111    LIPO=":"
6112  else
6113    case $cross_compiling:$ac_tool_warned in
6114yes:)
6115{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6116$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117ac_tool_warned=yes ;;
6118esac
6119    LIPO=$ac_ct_LIPO
6120  fi
6121else
6122  LIPO="$ac_cv_prog_LIPO"
6123fi
6124
6125    if test -n "$ac_tool_prefix"; then
6126  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6127set dummy ${ac_tool_prefix}otool; ac_word=$2
6128{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6129$as_echo_n "checking for $ac_word... " >&6; }
6130if test "${ac_cv_prog_OTOOL+set}" = set; then
6131  $as_echo_n "(cached) " >&6
6132else
6133  if test -n "$OTOOL"; then
6134  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6135else
6136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137for as_dir in $PATH
6138do
6139  IFS=$as_save_IFS
6140  test -z "$as_dir" && as_dir=.
6141  for ac_exec_ext in '' $ac_executable_extensions; do
6142  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6143    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6144    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6145    break 2
6146  fi
6147done
6148done
6149IFS=$as_save_IFS
6150
6151fi
6152fi
6153OTOOL=$ac_cv_prog_OTOOL
6154if test -n "$OTOOL"; then
6155  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6156$as_echo "$OTOOL" >&6; }
6157else
6158  { $as_echo "$as_me:$LINENO: result: no" >&5
6159$as_echo "no" >&6; }
6160fi
6161
6162
6163fi
6164if test -z "$ac_cv_prog_OTOOL"; then
6165  ac_ct_OTOOL=$OTOOL
6166  # Extract the first word of "otool", so it can be a program name with args.
6167set dummy otool; ac_word=$2
6168{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6169$as_echo_n "checking for $ac_word... " >&6; }
6170if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6171  $as_echo_n "(cached) " >&6
6172else
6173  if test -n "$ac_ct_OTOOL"; then
6174  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6175else
6176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177for as_dir in $PATH
6178do
6179  IFS=$as_save_IFS
6180  test -z "$as_dir" && as_dir=.
6181  for ac_exec_ext in '' $ac_executable_extensions; do
6182  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6183    ac_cv_prog_ac_ct_OTOOL="otool"
6184    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6185    break 2
6186  fi
6187done
6188done
6189IFS=$as_save_IFS
6190
6191fi
6192fi
6193ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6194if test -n "$ac_ct_OTOOL"; then
6195  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6196$as_echo "$ac_ct_OTOOL" >&6; }
6197else
6198  { $as_echo "$as_me:$LINENO: result: no" >&5
6199$as_echo "no" >&6; }
6200fi
6201
6202  if test "x$ac_ct_OTOOL" = x; then
6203    OTOOL=":"
6204  else
6205    case $cross_compiling:$ac_tool_warned in
6206yes:)
6207{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209ac_tool_warned=yes ;;
6210esac
6211    OTOOL=$ac_ct_OTOOL
6212  fi
6213else
6214  OTOOL="$ac_cv_prog_OTOOL"
6215fi
6216
6217    if test -n "$ac_tool_prefix"; then
6218  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6219set dummy ${ac_tool_prefix}otool64; ac_word=$2
6220{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6221$as_echo_n "checking for $ac_word... " >&6; }
6222if test "${ac_cv_prog_OTOOL64+set}" = set; then
6223  $as_echo_n "(cached) " >&6
6224else
6225  if test -n "$OTOOL64"; then
6226  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6227else
6228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229for as_dir in $PATH
6230do
6231  IFS=$as_save_IFS
6232  test -z "$as_dir" && as_dir=.
6233  for ac_exec_ext in '' $ac_executable_extensions; do
6234  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6235    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6236    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6237    break 2
6238  fi
6239done
6240done
6241IFS=$as_save_IFS
6242
6243fi
6244fi
6245OTOOL64=$ac_cv_prog_OTOOL64
6246if test -n "$OTOOL64"; then
6247  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6248$as_echo "$OTOOL64" >&6; }
6249else
6250  { $as_echo "$as_me:$LINENO: result: no" >&5
6251$as_echo "no" >&6; }
6252fi
6253
6254
6255fi
6256if test -z "$ac_cv_prog_OTOOL64"; then
6257  ac_ct_OTOOL64=$OTOOL64
6258  # Extract the first word of "otool64", so it can be a program name with args.
6259set dummy otool64; ac_word=$2
6260{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6261$as_echo_n "checking for $ac_word... " >&6; }
6262if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6263  $as_echo_n "(cached) " >&6
6264else
6265  if test -n "$ac_ct_OTOOL64"; then
6266  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6267else
6268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269for as_dir in $PATH
6270do
6271  IFS=$as_save_IFS
6272  test -z "$as_dir" && as_dir=.
6273  for ac_exec_ext in '' $ac_executable_extensions; do
6274  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275    ac_cv_prog_ac_ct_OTOOL64="otool64"
6276    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6277    break 2
6278  fi
6279done
6280done
6281IFS=$as_save_IFS
6282
6283fi
6284fi
6285ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6286if test -n "$ac_ct_OTOOL64"; then
6287  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6288$as_echo "$ac_ct_OTOOL64" >&6; }
6289else
6290  { $as_echo "$as_me:$LINENO: result: no" >&5
6291$as_echo "no" >&6; }
6292fi
6293
6294  if test "x$ac_ct_OTOOL64" = x; then
6295    OTOOL64=":"
6296  else
6297    case $cross_compiling:$ac_tool_warned in
6298yes:)
6299{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6301ac_tool_warned=yes ;;
6302esac
6303    OTOOL64=$ac_ct_OTOOL64
6304  fi
6305else
6306  OTOOL64="$ac_cv_prog_OTOOL64"
6307fi
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6336$as_echo_n "checking for -single_module linker flag... " >&6; }
6337if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6338  $as_echo_n "(cached) " >&6
6339else
6340  lt_cv_apple_cc_single_mod=no
6341      if test -z "${LT_MULTI_MODULE}"; then
6342	# By default we will add the -single_module flag. You can override
6343	# by either setting the environment variable LT_MULTI_MODULE
6344	# non-empty at configure time, or by adding -multi_module to the
6345	# link flags.
6346	rm -rf libconftest.dylib*
6347	echo "int foo(void){return 1;}" > conftest.c
6348	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6349-dynamiclib -Wl,-single_module conftest.c" >&5
6350	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6351	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6352        _lt_result=$?
6353	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6354	  lt_cv_apple_cc_single_mod=yes
6355	else
6356	  cat conftest.err >&5
6357	fi
6358	rm -rf libconftest.dylib*
6359	rm -f conftest.*
6360      fi
6361fi
6362{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6363$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6364    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6365$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6366if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6367  $as_echo_n "(cached) " >&6
6368else
6369  lt_cv_ld_exported_symbols_list=no
6370      save_LDFLAGS=$LDFLAGS
6371      echo "_main" > conftest.sym
6372      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6373      cat >conftest.$ac_ext <<_ACEOF
6374/* confdefs.h.  */
6375_ACEOF
6376cat confdefs.h >>conftest.$ac_ext
6377cat >>conftest.$ac_ext <<_ACEOF
6378/* end confdefs.h.  */
6379
6380int
6381main ()
6382{
6383
6384  ;
6385  return 0;
6386}
6387_ACEOF
6388rm -f conftest.$ac_objext conftest$ac_exeext
6389if { (ac_try="$ac_link"
6390case "(($ac_try" in
6391  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6392  *) ac_try_echo=$ac_try;;
6393esac
6394eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6395$as_echo "$ac_try_echo") >&5
6396  (eval "$ac_link") 2>conftest.er1
6397  ac_status=$?
6398  grep -v '^ *+' conftest.er1 >conftest.err
6399  rm -f conftest.er1
6400  cat conftest.err >&5
6401  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402  (exit $ac_status); } && {
6403	 test -z "$ac_c_werror_flag" ||
6404	 test ! -s conftest.err
6405       } && test -s conftest$ac_exeext && {
6406	 test "$cross_compiling" = yes ||
6407	 $as_test_x conftest$ac_exeext
6408       }; then
6409  lt_cv_ld_exported_symbols_list=yes
6410else
6411  $as_echo "$as_me: failed program was:" >&5
6412sed 's/^/| /' conftest.$ac_ext >&5
6413
6414	lt_cv_ld_exported_symbols_list=no
6415fi
6416
6417rm -rf conftest.dSYM
6418rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6419      conftest$ac_exeext conftest.$ac_ext
6420	LDFLAGS="$save_LDFLAGS"
6421
6422fi
6423{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6424$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6425    case $host_os in
6426    rhapsody* | darwin1.[012])
6427      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6428    darwin1.*)
6429      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6430    darwin*) # darwin 5.x on
6431      # if running on 10.5 or later, the deployment target defaults
6432      # to the OS version, if on x86, and 10.4, the deployment
6433      # target defaults to 10.4. Don't you love it?
6434      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6435	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6436	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6437	10.[012]*)
6438	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6439	10.*)
6440	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6441      esac
6442    ;;
6443  esac
6444    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6445      _lt_dar_single_mod='$single_module'
6446    fi
6447    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6448      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6449    else
6450      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6451    fi
6452    if test "$DSYMUTIL" != ":"; then
6453      _lt_dsymutil='~$DSYMUTIL $lib || :'
6454    else
6455      _lt_dsymutil=
6456    fi
6457    ;;
6458  esac
6459
6460ac_ext=c
6461ac_cpp='$CPP $CPPFLAGS'
6462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6464ac_compiler_gnu=$ac_cv_c_compiler_gnu
6465{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6466$as_echo_n "checking how to run the C preprocessor... " >&6; }
6467# On Suns, sometimes $CPP names a directory.
6468if test -n "$CPP" && test -d "$CPP"; then
6469  CPP=
6470fi
6471if test -z "$CPP"; then
6472  if test "${ac_cv_prog_CPP+set}" = set; then
6473  $as_echo_n "(cached) " >&6
6474else
6475      # Double quotes because CPP needs to be expanded
6476    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6477    do
6478      ac_preproc_ok=false
6479for ac_c_preproc_warn_flag in '' yes
6480do
6481  # Use a header file that comes with gcc, so configuring glibc
6482  # with a fresh cross-compiler works.
6483  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6484  # <limits.h> exists even on freestanding compilers.
6485  # On the NeXT, cc -E runs the code through the compiler's parser,
6486  # not just through cpp. "Syntax error" is here to catch this case.
6487  cat >conftest.$ac_ext <<_ACEOF
6488/* confdefs.h.  */
6489_ACEOF
6490cat confdefs.h >>conftest.$ac_ext
6491cat >>conftest.$ac_ext <<_ACEOF
6492/* end confdefs.h.  */
6493#ifdef __STDC__
6494# include <limits.h>
6495#else
6496# include <assert.h>
6497#endif
6498		     Syntax error
6499_ACEOF
6500if { (ac_try="$ac_cpp conftest.$ac_ext"
6501case "(($ac_try" in
6502  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6503  *) ac_try_echo=$ac_try;;
6504esac
6505eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6506$as_echo "$ac_try_echo") >&5
6507  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6508  ac_status=$?
6509  grep -v '^ *+' conftest.er1 >conftest.err
6510  rm -f conftest.er1
6511  cat conftest.err >&5
6512  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513  (exit $ac_status); } >/dev/null && {
6514	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6515	 test ! -s conftest.err
6516       }; then
6517  :
6518else
6519  $as_echo "$as_me: failed program was:" >&5
6520sed 's/^/| /' conftest.$ac_ext >&5
6521
6522  # Broken: fails on valid input.
6523continue
6524fi
6525
6526rm -f conftest.err conftest.$ac_ext
6527
6528  # OK, works on sane cases.  Now check whether nonexistent headers
6529  # can be detected and how.
6530  cat >conftest.$ac_ext <<_ACEOF
6531/* confdefs.h.  */
6532_ACEOF
6533cat confdefs.h >>conftest.$ac_ext
6534cat >>conftest.$ac_ext <<_ACEOF
6535/* end confdefs.h.  */
6536#include <ac_nonexistent.h>
6537_ACEOF
6538if { (ac_try="$ac_cpp conftest.$ac_ext"
6539case "(($ac_try" in
6540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6541  *) ac_try_echo=$ac_try;;
6542esac
6543eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6544$as_echo "$ac_try_echo") >&5
6545  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6546  ac_status=$?
6547  grep -v '^ *+' conftest.er1 >conftest.err
6548  rm -f conftest.er1
6549  cat conftest.err >&5
6550  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551  (exit $ac_status); } >/dev/null && {
6552	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6553	 test ! -s conftest.err
6554       }; then
6555  # Broken: success on invalid input.
6556continue
6557else
6558  $as_echo "$as_me: failed program was:" >&5
6559sed 's/^/| /' conftest.$ac_ext >&5
6560
6561  # Passes both tests.
6562ac_preproc_ok=:
6563break
6564fi
6565
6566rm -f conftest.err conftest.$ac_ext
6567
6568done
6569# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6570rm -f conftest.err conftest.$ac_ext
6571if $ac_preproc_ok; then
6572  break
6573fi
6574
6575    done
6576    ac_cv_prog_CPP=$CPP
6577
6578fi
6579  CPP=$ac_cv_prog_CPP
6580else
6581  ac_cv_prog_CPP=$CPP
6582fi
6583{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6584$as_echo "$CPP" >&6; }
6585ac_preproc_ok=false
6586for ac_c_preproc_warn_flag in '' yes
6587do
6588  # Use a header file that comes with gcc, so configuring glibc
6589  # with a fresh cross-compiler works.
6590  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6591  # <limits.h> exists even on freestanding compilers.
6592  # On the NeXT, cc -E runs the code through the compiler's parser,
6593  # not just through cpp. "Syntax error" is here to catch this case.
6594  cat >conftest.$ac_ext <<_ACEOF
6595/* confdefs.h.  */
6596_ACEOF
6597cat confdefs.h >>conftest.$ac_ext
6598cat >>conftest.$ac_ext <<_ACEOF
6599/* end confdefs.h.  */
6600#ifdef __STDC__
6601# include <limits.h>
6602#else
6603# include <assert.h>
6604#endif
6605		     Syntax error
6606_ACEOF
6607if { (ac_try="$ac_cpp conftest.$ac_ext"
6608case "(($ac_try" in
6609  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6610  *) ac_try_echo=$ac_try;;
6611esac
6612eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6613$as_echo "$ac_try_echo") >&5
6614  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6615  ac_status=$?
6616  grep -v '^ *+' conftest.er1 >conftest.err
6617  rm -f conftest.er1
6618  cat conftest.err >&5
6619  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620  (exit $ac_status); } >/dev/null && {
6621	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6622	 test ! -s conftest.err
6623       }; then
6624  :
6625else
6626  $as_echo "$as_me: failed program was:" >&5
6627sed 's/^/| /' conftest.$ac_ext >&5
6628
6629  # Broken: fails on valid input.
6630continue
6631fi
6632
6633rm -f conftest.err conftest.$ac_ext
6634
6635  # OK, works on sane cases.  Now check whether nonexistent headers
6636  # can be detected and how.
6637  cat >conftest.$ac_ext <<_ACEOF
6638/* confdefs.h.  */
6639_ACEOF
6640cat confdefs.h >>conftest.$ac_ext
6641cat >>conftest.$ac_ext <<_ACEOF
6642/* end confdefs.h.  */
6643#include <ac_nonexistent.h>
6644_ACEOF
6645if { (ac_try="$ac_cpp conftest.$ac_ext"
6646case "(($ac_try" in
6647  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6648  *) ac_try_echo=$ac_try;;
6649esac
6650eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6651$as_echo "$ac_try_echo") >&5
6652  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6653  ac_status=$?
6654  grep -v '^ *+' conftest.er1 >conftest.err
6655  rm -f conftest.er1
6656  cat conftest.err >&5
6657  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658  (exit $ac_status); } >/dev/null && {
6659	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6660	 test ! -s conftest.err
6661       }; then
6662  # Broken: success on invalid input.
6663continue
6664else
6665  $as_echo "$as_me: failed program was:" >&5
6666sed 's/^/| /' conftest.$ac_ext >&5
6667
6668  # Passes both tests.
6669ac_preproc_ok=:
6670break
6671fi
6672
6673rm -f conftest.err conftest.$ac_ext
6674
6675done
6676# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6677rm -f conftest.err conftest.$ac_ext
6678if $ac_preproc_ok; then
6679  :
6680else
6681  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6683{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6684See \`config.log' for more details." >&5
6685$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6686See \`config.log' for more details." >&2;}
6687   { (exit 1); exit 1; }; }; }
6688fi
6689
6690ac_ext=c
6691ac_cpp='$CPP $CPPFLAGS'
6692ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6693ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6694ac_compiler_gnu=$ac_cv_c_compiler_gnu
6695
6696
6697{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6698$as_echo_n "checking for ANSI C header files... " >&6; }
6699if test "${ac_cv_header_stdc+set}" = set; then
6700  $as_echo_n "(cached) " >&6
6701else
6702  cat >conftest.$ac_ext <<_ACEOF
6703/* confdefs.h.  */
6704_ACEOF
6705cat confdefs.h >>conftest.$ac_ext
6706cat >>conftest.$ac_ext <<_ACEOF
6707/* end confdefs.h.  */
6708#include <stdlib.h>
6709#include <stdarg.h>
6710#include <string.h>
6711#include <float.h>
6712
6713int
6714main ()
6715{
6716
6717  ;
6718  return 0;
6719}
6720_ACEOF
6721rm -f conftest.$ac_objext
6722if { (ac_try="$ac_compile"
6723case "(($ac_try" in
6724  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6725  *) ac_try_echo=$ac_try;;
6726esac
6727eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6728$as_echo "$ac_try_echo") >&5
6729  (eval "$ac_compile") 2>conftest.er1
6730  ac_status=$?
6731  grep -v '^ *+' conftest.er1 >conftest.err
6732  rm -f conftest.er1
6733  cat conftest.err >&5
6734  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735  (exit $ac_status); } && {
6736	 test -z "$ac_c_werror_flag" ||
6737	 test ! -s conftest.err
6738       } && test -s conftest.$ac_objext; then
6739  ac_cv_header_stdc=yes
6740else
6741  $as_echo "$as_me: failed program was:" >&5
6742sed 's/^/| /' conftest.$ac_ext >&5
6743
6744	ac_cv_header_stdc=no
6745fi
6746
6747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6748
6749if test $ac_cv_header_stdc = yes; then
6750  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6751  cat >conftest.$ac_ext <<_ACEOF
6752/* confdefs.h.  */
6753_ACEOF
6754cat confdefs.h >>conftest.$ac_ext
6755cat >>conftest.$ac_ext <<_ACEOF
6756/* end confdefs.h.  */
6757#include <string.h>
6758
6759_ACEOF
6760if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6761  $EGREP "memchr" >/dev/null 2>&1; then
6762  :
6763else
6764  ac_cv_header_stdc=no
6765fi
6766rm -f conftest*
6767
6768fi
6769
6770if test $ac_cv_header_stdc = yes; then
6771  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6772  cat >conftest.$ac_ext <<_ACEOF
6773/* confdefs.h.  */
6774_ACEOF
6775cat confdefs.h >>conftest.$ac_ext
6776cat >>conftest.$ac_ext <<_ACEOF
6777/* end confdefs.h.  */
6778#include <stdlib.h>
6779
6780_ACEOF
6781if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6782  $EGREP "free" >/dev/null 2>&1; then
6783  :
6784else
6785  ac_cv_header_stdc=no
6786fi
6787rm -f conftest*
6788
6789fi
6790
6791if test $ac_cv_header_stdc = yes; then
6792  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6793  if test "$cross_compiling" = yes; then
6794  :
6795else
6796  cat >conftest.$ac_ext <<_ACEOF
6797/* confdefs.h.  */
6798_ACEOF
6799cat confdefs.h >>conftest.$ac_ext
6800cat >>conftest.$ac_ext <<_ACEOF
6801/* end confdefs.h.  */
6802#include <ctype.h>
6803#include <stdlib.h>
6804#if ((' ' & 0x0FF) == 0x020)
6805# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6806# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6807#else
6808# define ISLOWER(c) \
6809		   (('a' <= (c) && (c) <= 'i') \
6810		     || ('j' <= (c) && (c) <= 'r') \
6811		     || ('s' <= (c) && (c) <= 'z'))
6812# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6813#endif
6814
6815#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6816int
6817main ()
6818{
6819  int i;
6820  for (i = 0; i < 256; i++)
6821    if (XOR (islower (i), ISLOWER (i))
6822	|| toupper (i) != TOUPPER (i))
6823      return 2;
6824  return 0;
6825}
6826_ACEOF
6827rm -f conftest$ac_exeext
6828if { (ac_try="$ac_link"
6829case "(($ac_try" in
6830  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6831  *) ac_try_echo=$ac_try;;
6832esac
6833eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6834$as_echo "$ac_try_echo") >&5
6835  (eval "$ac_link") 2>&5
6836  ac_status=$?
6837  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6839  { (case "(($ac_try" in
6840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6841  *) ac_try_echo=$ac_try;;
6842esac
6843eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6844$as_echo "$ac_try_echo") >&5
6845  (eval "$ac_try") 2>&5
6846  ac_status=$?
6847  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848  (exit $ac_status); }; }; then
6849  :
6850else
6851  $as_echo "$as_me: program exited with status $ac_status" >&5
6852$as_echo "$as_me: failed program was:" >&5
6853sed 's/^/| /' conftest.$ac_ext >&5
6854
6855( exit $ac_status )
6856ac_cv_header_stdc=no
6857fi
6858rm -rf conftest.dSYM
6859rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6860fi
6861
6862
6863fi
6864fi
6865{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6866$as_echo "$ac_cv_header_stdc" >&6; }
6867if test $ac_cv_header_stdc = yes; then
6868
6869cat >>confdefs.h <<\_ACEOF
6870#define STDC_HEADERS 1
6871_ACEOF
6872
6873fi
6874
6875# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6886		  inttypes.h stdint.h unistd.h
6887do
6888as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6889{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6890$as_echo_n "checking for $ac_header... " >&6; }
6891if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6892  $as_echo_n "(cached) " >&6
6893else
6894  cat >conftest.$ac_ext <<_ACEOF
6895/* confdefs.h.  */
6896_ACEOF
6897cat confdefs.h >>conftest.$ac_ext
6898cat >>conftest.$ac_ext <<_ACEOF
6899/* end confdefs.h.  */
6900$ac_includes_default
6901
6902#include <$ac_header>
6903_ACEOF
6904rm -f conftest.$ac_objext
6905if { (ac_try="$ac_compile"
6906case "(($ac_try" in
6907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6908  *) ac_try_echo=$ac_try;;
6909esac
6910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6911$as_echo "$ac_try_echo") >&5
6912  (eval "$ac_compile") 2>conftest.er1
6913  ac_status=$?
6914  grep -v '^ *+' conftest.er1 >conftest.err
6915  rm -f conftest.er1
6916  cat conftest.err >&5
6917  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918  (exit $ac_status); } && {
6919	 test -z "$ac_c_werror_flag" ||
6920	 test ! -s conftest.err
6921       } && test -s conftest.$ac_objext; then
6922  eval "$as_ac_Header=yes"
6923else
6924  $as_echo "$as_me: failed program was:" >&5
6925sed 's/^/| /' conftest.$ac_ext >&5
6926
6927	eval "$as_ac_Header=no"
6928fi
6929
6930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6931fi
6932ac_res=`eval 'as_val=${'$as_ac_Header'}
6933		 $as_echo "$as_val"'`
6934	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6935$as_echo "$ac_res" >&6; }
6936as_val=`eval 'as_val=${'$as_ac_Header'}
6937		 $as_echo "$as_val"'`
6938   if test "x$as_val" = x""yes; then
6939  cat >>confdefs.h <<_ACEOF
6940#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6941_ACEOF
6942
6943fi
6944
6945done
6946
6947
6948
6949for ac_header in dlfcn.h
6950do
6951as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6952{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6953$as_echo_n "checking for $ac_header... " >&6; }
6954if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6955  $as_echo_n "(cached) " >&6
6956else
6957  cat >conftest.$ac_ext <<_ACEOF
6958/* confdefs.h.  */
6959_ACEOF
6960cat confdefs.h >>conftest.$ac_ext
6961cat >>conftest.$ac_ext <<_ACEOF
6962/* end confdefs.h.  */
6963$ac_includes_default
6964
6965#include <$ac_header>
6966_ACEOF
6967rm -f conftest.$ac_objext
6968if { (ac_try="$ac_compile"
6969case "(($ac_try" in
6970  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6971  *) ac_try_echo=$ac_try;;
6972esac
6973eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6974$as_echo "$ac_try_echo") >&5
6975  (eval "$ac_compile") 2>conftest.er1
6976  ac_status=$?
6977  grep -v '^ *+' conftest.er1 >conftest.err
6978  rm -f conftest.er1
6979  cat conftest.err >&5
6980  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981  (exit $ac_status); } && {
6982	 test -z "$ac_c_werror_flag" ||
6983	 test ! -s conftest.err
6984       } && test -s conftest.$ac_objext; then
6985  eval "$as_ac_Header=yes"
6986else
6987  $as_echo "$as_me: failed program was:" >&5
6988sed 's/^/| /' conftest.$ac_ext >&5
6989
6990	eval "$as_ac_Header=no"
6991fi
6992
6993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6994fi
6995ac_res=`eval 'as_val=${'$as_ac_Header'}
6996		 $as_echo "$as_val"'`
6997	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6998$as_echo "$ac_res" >&6; }
6999as_val=`eval 'as_val=${'$as_ac_Header'}
7000		 $as_echo "$as_val"'`
7001   if test "x$as_val" = x""yes; then
7002  cat >>confdefs.h <<_ACEOF
7003#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7004_ACEOF
7005
7006fi
7007
7008done
7009
7010
7011
7012# Set options
7013
7014
7015
7016        enable_dlopen=no
7017
7018
7019  enable_win32_dll=no
7020
7021
7022            # Check whether --enable-shared was given.
7023if test "${enable_shared+set}" = set; then
7024  enableval=$enable_shared; p=${PACKAGE-default}
7025    case $enableval in
7026    yes) enable_shared=yes ;;
7027    no) enable_shared=no ;;
7028    *)
7029      enable_shared=no
7030      # Look at the argument we got.  We use all the common list separators.
7031      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7032      for pkg in $enableval; do
7033	IFS="$lt_save_ifs"
7034	if test "X$pkg" = "X$p"; then
7035	  enable_shared=yes
7036	fi
7037      done
7038      IFS="$lt_save_ifs"
7039      ;;
7040    esac
7041else
7042  enable_shared=yes
7043fi
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053  # Check whether --enable-static was given.
7054if test "${enable_static+set}" = set; then
7055  enableval=$enable_static; p=${PACKAGE-default}
7056    case $enableval in
7057    yes) enable_static=yes ;;
7058    no) enable_static=no ;;
7059    *)
7060     enable_static=no
7061      # Look at the argument we got.  We use all the common list separators.
7062      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7063      for pkg in $enableval; do
7064	IFS="$lt_save_ifs"
7065	if test "X$pkg" = "X$p"; then
7066	  enable_static=yes
7067	fi
7068      done
7069      IFS="$lt_save_ifs"
7070      ;;
7071    esac
7072else
7073  enable_static=yes
7074fi
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085# Check whether --with-pic was given.
7086if test "${with_pic+set}" = set; then
7087  withval=$with_pic; pic_mode="$withval"
7088else
7089  pic_mode=default
7090fi
7091
7092
7093test -z "$pic_mode" && pic_mode=default
7094
7095
7096
7097
7098
7099
7100
7101  # Check whether --enable-fast-install was given.
7102if test "${enable_fast_install+set}" = set; then
7103  enableval=$enable_fast_install; p=${PACKAGE-default}
7104    case $enableval in
7105    yes) enable_fast_install=yes ;;
7106    no) enable_fast_install=no ;;
7107    *)
7108      enable_fast_install=no
7109      # Look at the argument we got.  We use all the common list separators.
7110      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7111      for pkg in $enableval; do
7112	IFS="$lt_save_ifs"
7113	if test "X$pkg" = "X$p"; then
7114	  enable_fast_install=yes
7115	fi
7116      done
7117      IFS="$lt_save_ifs"
7118      ;;
7119    esac
7120else
7121  enable_fast_install=yes
7122fi
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134# This can be used to rebuild libtool when needed
7135LIBTOOL_DEPS="$ltmain"
7136
7137# Always use our own libtool.
7138LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164test -z "$LN_S" && LN_S="ln -s"
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179if test -n "${ZSH_VERSION+set}" ; then
7180   setopt NO_GLOB_SUBST
7181fi
7182
7183{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7184$as_echo_n "checking for objdir... " >&6; }
7185if test "${lt_cv_objdir+set}" = set; then
7186  $as_echo_n "(cached) " >&6
7187else
7188  rm -f .libs 2>/dev/null
7189mkdir .libs 2>/dev/null
7190if test -d .libs; then
7191  lt_cv_objdir=.libs
7192else
7193  # MS-DOS does not allow filenames that begin with a dot.
7194  lt_cv_objdir=_libs
7195fi
7196rmdir .libs 2>/dev/null
7197fi
7198{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7199$as_echo "$lt_cv_objdir" >&6; }
7200objdir=$lt_cv_objdir
7201
7202
7203
7204
7205
7206cat >>confdefs.h <<_ACEOF
7207#define LT_OBJDIR "$lt_cv_objdir/"
7208_ACEOF
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226case $host_os in
7227aix3*)
7228  # AIX sometimes has problems with the GCC collect2 program.  For some
7229  # reason, if we set the COLLECT_NAMES environment variable, the problems
7230  # vanish in a puff of smoke.
7231  if test "X${COLLECT_NAMES+set}" != Xset; then
7232    COLLECT_NAMES=
7233    export COLLECT_NAMES
7234  fi
7235  ;;
7236esac
7237
7238# Sed substitution that helps us do robust quoting.  It backslashifies
7239# metacharacters that are still active within double-quoted strings.
7240sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7241
7242# Same as above, but do not quote variable references.
7243double_quote_subst='s/\(["`\\]\)/\\\1/g'
7244
7245# Sed substitution to delay expansion of an escaped shell variable in a
7246# double_quote_subst'ed string.
7247delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7248
7249# Sed substitution to delay expansion of an escaped single quote.
7250delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7251
7252# Sed substitution to avoid accidental globbing in evaled expressions
7253no_glob_subst='s/\*/\\\*/g'
7254
7255# Global variables:
7256ofile=libtool
7257can_build_shared=yes
7258
7259# All known linkers require a `.a' archive for static linking (except MSVC,
7260# which needs '.lib').
7261libext=a
7262
7263with_gnu_ld="$lt_cv_prog_gnu_ld"
7264
7265old_CC="$CC"
7266old_CFLAGS="$CFLAGS"
7267
7268# Set sane defaults for various variables
7269test -z "$CC" && CC=cc
7270test -z "$LTCC" && LTCC=$CC
7271test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7272test -z "$LD" && LD=ld
7273test -z "$ac_objext" && ac_objext=o
7274
7275for cc_temp in $compiler""; do
7276  case $cc_temp in
7277    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7278    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7279    \-*) ;;
7280    *) break;;
7281  esac
7282done
7283cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7284
7285
7286# Only perform the check for file, if the check method requires it
7287test -z "$MAGIC_CMD" && MAGIC_CMD=file
7288case $deplibs_check_method in
7289file_magic*)
7290  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7291    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7292$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7293if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7294  $as_echo_n "(cached) " >&6
7295else
7296  case $MAGIC_CMD in
7297[\\/*] |  ?:[\\/]*)
7298  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7299  ;;
7300*)
7301  lt_save_MAGIC_CMD="$MAGIC_CMD"
7302  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7303  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7304  for ac_dir in $ac_dummy; do
7305    IFS="$lt_save_ifs"
7306    test -z "$ac_dir" && ac_dir=.
7307    if test -f $ac_dir/${ac_tool_prefix}file; then
7308      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7309      if test -n "$file_magic_test_file"; then
7310	case $deplibs_check_method in
7311	"file_magic "*)
7312	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7313	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7314	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7315	    $EGREP "$file_magic_regex" > /dev/null; then
7316	    :
7317	  else
7318	    cat <<_LT_EOF 1>&2
7319
7320*** Warning: the command libtool uses to detect shared libraries,
7321*** $file_magic_cmd, produces output that libtool cannot recognize.
7322*** The result is that libtool may fail to recognize shared libraries
7323*** as such.  This will affect the creation of libtool libraries that
7324*** depend on shared libraries, but programs linked with such libtool
7325*** libraries will work regardless of this problem.  Nevertheless, you
7326*** may want to report the problem to your system manager and/or to
7327*** bug-libtool@gnu.org
7328
7329_LT_EOF
7330	  fi ;;
7331	esac
7332      fi
7333      break
7334    fi
7335  done
7336  IFS="$lt_save_ifs"
7337  MAGIC_CMD="$lt_save_MAGIC_CMD"
7338  ;;
7339esac
7340fi
7341
7342MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7343if test -n "$MAGIC_CMD"; then
7344  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7345$as_echo "$MAGIC_CMD" >&6; }
7346else
7347  { $as_echo "$as_me:$LINENO: result: no" >&5
7348$as_echo "no" >&6; }
7349fi
7350
7351
7352
7353
7354
7355if test -z "$lt_cv_path_MAGIC_CMD"; then
7356  if test -n "$ac_tool_prefix"; then
7357    { $as_echo "$as_me:$LINENO: checking for file" >&5
7358$as_echo_n "checking for file... " >&6; }
7359if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7360  $as_echo_n "(cached) " >&6
7361else
7362  case $MAGIC_CMD in
7363[\\/*] |  ?:[\\/]*)
7364  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7365  ;;
7366*)
7367  lt_save_MAGIC_CMD="$MAGIC_CMD"
7368  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7369  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7370  for ac_dir in $ac_dummy; do
7371    IFS="$lt_save_ifs"
7372    test -z "$ac_dir" && ac_dir=.
7373    if test -f $ac_dir/file; then
7374      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7375      if test -n "$file_magic_test_file"; then
7376	case $deplibs_check_method in
7377	"file_magic "*)
7378	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7379	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7380	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7381	    $EGREP "$file_magic_regex" > /dev/null; then
7382	    :
7383	  else
7384	    cat <<_LT_EOF 1>&2
7385
7386*** Warning: the command libtool uses to detect shared libraries,
7387*** $file_magic_cmd, produces output that libtool cannot recognize.
7388*** The result is that libtool may fail to recognize shared libraries
7389*** as such.  This will affect the creation of libtool libraries that
7390*** depend on shared libraries, but programs linked with such libtool
7391*** libraries will work regardless of this problem.  Nevertheless, you
7392*** may want to report the problem to your system manager and/or to
7393*** bug-libtool@gnu.org
7394
7395_LT_EOF
7396	  fi ;;
7397	esac
7398      fi
7399      break
7400    fi
7401  done
7402  IFS="$lt_save_ifs"
7403  MAGIC_CMD="$lt_save_MAGIC_CMD"
7404  ;;
7405esac
7406fi
7407
7408MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7409if test -n "$MAGIC_CMD"; then
7410  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7411$as_echo "$MAGIC_CMD" >&6; }
7412else
7413  { $as_echo "$as_me:$LINENO: result: no" >&5
7414$as_echo "no" >&6; }
7415fi
7416
7417
7418  else
7419    MAGIC_CMD=:
7420  fi
7421fi
7422
7423  fi
7424  ;;
7425esac
7426
7427# Use C for the default configuration in the libtool script
7428
7429lt_save_CC="$CC"
7430ac_ext=c
7431ac_cpp='$CPP $CPPFLAGS'
7432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7434ac_compiler_gnu=$ac_cv_c_compiler_gnu
7435
7436
7437# Source file extension for C test sources.
7438ac_ext=c
7439
7440# Object file extension for compiled C test sources.
7441objext=o
7442objext=$objext
7443
7444# Code to be used in simple compile tests
7445lt_simple_compile_test_code="int some_variable = 0;"
7446
7447# Code to be used in simple link tests
7448lt_simple_link_test_code='int main(){return(0);}'
7449
7450
7451
7452
7453
7454
7455
7456# If no C compiler was specified, use CC.
7457LTCC=${LTCC-"$CC"}
7458
7459# If no C compiler flags were specified, use CFLAGS.
7460LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7461
7462# Allow CC to be a program name with arguments.
7463compiler=$CC
7464
7465# Save the default compiler, since it gets overwritten when the other
7466# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7467compiler_DEFAULT=$CC
7468
7469# save warnings/boilerplate of simple test code
7470ac_outfile=conftest.$ac_objext
7471echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7472eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7473_lt_compiler_boilerplate=`cat conftest.err`
7474$RM conftest*
7475
7476ac_outfile=conftest.$ac_objext
7477echo "$lt_simple_link_test_code" >conftest.$ac_ext
7478eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7479_lt_linker_boilerplate=`cat conftest.err`
7480$RM -r conftest*
7481
7482
7483if test -n "$compiler"; then
7484
7485lt_prog_compiler_no_builtin_flag=
7486
7487if test "$GCC" = yes; then
7488  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7489
7490  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7491$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7492if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7493  $as_echo_n "(cached) " >&6
7494else
7495  lt_cv_prog_compiler_rtti_exceptions=no
7496   ac_outfile=conftest.$ac_objext
7497   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7498   lt_compiler_flag="-fno-rtti -fno-exceptions"
7499   # Insert the option either (1) after the last *FLAGS variable, or
7500   # (2) before a word containing "conftest.", or (3) at the end.
7501   # Note that $ac_compile itself does not contain backslashes and begins
7502   # with a dollar sign (not a hyphen), so the echo should work correctly.
7503   # The option is referenced via a variable to avoid confusing sed.
7504   lt_compile=`echo "$ac_compile" | $SED \
7505   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7506   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7507   -e 's:$: $lt_compiler_flag:'`
7508   (eval echo "\"\$as_me:7508: $lt_compile\"" >&5)
7509   (eval "$lt_compile" 2>conftest.err)
7510   ac_status=$?
7511   cat conftest.err >&5
7512   echo "$as_me:7512: \$? = $ac_status" >&5
7513   if (exit $ac_status) && test -s "$ac_outfile"; then
7514     # The compiler can only warn and ignore the option if not recognized
7515     # So say no if there are warnings other than the usual output.
7516     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7517     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7518     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7519       lt_cv_prog_compiler_rtti_exceptions=yes
7520     fi
7521   fi
7522   $RM conftest*
7523
7524fi
7525{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7526$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7527
7528if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7529    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7530else
7531    :
7532fi
7533
7534fi
7535
7536
7537
7538
7539
7540
7541  lt_prog_compiler_wl=
7542lt_prog_compiler_pic=
7543lt_prog_compiler_static=
7544
7545{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7546$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7547
7548  if test "$GCC" = yes; then
7549    lt_prog_compiler_wl='-Wl,'
7550    lt_prog_compiler_static='-static'
7551
7552    case $host_os in
7553      aix*)
7554      # All AIX code is PIC.
7555      if test "$host_cpu" = ia64; then
7556	# AIX 5 now supports IA64 processor
7557	lt_prog_compiler_static='-Bstatic'
7558      fi
7559      ;;
7560
7561    amigaos*)
7562      case $host_cpu in
7563      powerpc)
7564            # see comment about AmigaOS4 .so support
7565            lt_prog_compiler_pic='-fPIC'
7566        ;;
7567      m68k)
7568            # FIXME: we need at least 68020 code to build shared libraries, but
7569            # adding the `-m68020' flag to GCC prevents building anything better,
7570            # like `-m68040'.
7571            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7572        ;;
7573      esac
7574      ;;
7575
7576    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7577      # PIC is the default for these OSes.
7578      ;;
7579
7580    mingw* | cygwin* | pw32* | os2* | cegcc*)
7581      # This hack is so that the source file can tell whether it is being
7582      # built for inclusion in a dll (and should export symbols for example).
7583      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7584      # (--disable-auto-import) libraries
7585      lt_prog_compiler_pic='-DDLL_EXPORT'
7586      ;;
7587
7588    darwin* | rhapsody*)
7589      # PIC is the default on this platform
7590      # Common symbols not allowed in MH_DYLIB files
7591      lt_prog_compiler_pic='-fno-common'
7592      ;;
7593
7594    hpux*)
7595      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7596      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7597      # sets the default TLS model and affects inlining.
7598      case $host_cpu in
7599      hppa*64*)
7600	# +Z the default
7601	;;
7602      *)
7603	lt_prog_compiler_pic='-fPIC'
7604	;;
7605      esac
7606      ;;
7607
7608    interix[3-9]*)
7609      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7610      # Instead, we relocate shared libraries at runtime.
7611      ;;
7612
7613    msdosdjgpp*)
7614      # Just because we use GCC doesn't mean we suddenly get shared libraries
7615      # on systems that don't support them.
7616      lt_prog_compiler_can_build_shared=no
7617      enable_shared=no
7618      ;;
7619
7620    *nto* | *qnx*)
7621      # QNX uses GNU C++, but need to define -shared option too, otherwise
7622      # it will coredump.
7623      lt_prog_compiler_pic='-fPIC -shared'
7624      ;;
7625
7626    sysv4*MP*)
7627      if test -d /usr/nec; then
7628	lt_prog_compiler_pic=-Kconform_pic
7629      fi
7630      ;;
7631
7632    *)
7633      lt_prog_compiler_pic='-fPIC'
7634      ;;
7635    esac
7636  else
7637    # PORTME Check for flag to pass linker flags through the system compiler.
7638    case $host_os in
7639    aix*)
7640      lt_prog_compiler_wl='-Wl,'
7641      if test "$host_cpu" = ia64; then
7642	# AIX 5 now supports IA64 processor
7643	lt_prog_compiler_static='-Bstatic'
7644      else
7645	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7646      fi
7647      ;;
7648
7649    mingw* | cygwin* | pw32* | os2* | cegcc*)
7650      # This hack is so that the source file can tell whether it is being
7651      # built for inclusion in a dll (and should export symbols for example).
7652      lt_prog_compiler_pic='-DDLL_EXPORT'
7653      ;;
7654
7655    hpux9* | hpux10* | hpux11*)
7656      lt_prog_compiler_wl='-Wl,'
7657      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7658      # not for PA HP-UX.
7659      case $host_cpu in
7660      hppa*64*|ia64*)
7661	# +Z the default
7662	;;
7663      *)
7664	lt_prog_compiler_pic='+Z'
7665	;;
7666      esac
7667      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7668      lt_prog_compiler_static='${wl}-a ${wl}archive'
7669      ;;
7670
7671    irix5* | irix6* | nonstopux*)
7672      lt_prog_compiler_wl='-Wl,'
7673      # PIC (with -KPIC) is the default.
7674      lt_prog_compiler_static='-non_shared'
7675      ;;
7676
7677    linux* | k*bsd*-gnu)
7678      case $cc_basename in
7679      # old Intel for x86_64 which still supported -KPIC.
7680      ecc*)
7681	lt_prog_compiler_wl='-Wl,'
7682	lt_prog_compiler_pic='-KPIC'
7683	lt_prog_compiler_static='-static'
7684        ;;
7685      # icc used to be incompatible with GCC.
7686      # ICC 10 doesn't accept -KPIC any more.
7687      icc* | ifort*)
7688	lt_prog_compiler_wl='-Wl,'
7689	lt_prog_compiler_pic='-fPIC'
7690	lt_prog_compiler_static='-static'
7691        ;;
7692      # Lahey Fortran 8.1.
7693      lf95*)
7694	lt_prog_compiler_wl='-Wl,'
7695	lt_prog_compiler_pic='--shared'
7696	lt_prog_compiler_static='--static'
7697	;;
7698      pgcc* | pgf77* | pgf90* | pgf95*)
7699        # Portland Group compilers (*not* the Pentium gcc compiler,
7700	# which looks to be a dead project)
7701	lt_prog_compiler_wl='-Wl,'
7702	lt_prog_compiler_pic='-fpic'
7703	lt_prog_compiler_static='-Bstatic'
7704        ;;
7705      ccc*)
7706        lt_prog_compiler_wl='-Wl,'
7707        # All Alpha code is PIC.
7708        lt_prog_compiler_static='-non_shared'
7709        ;;
7710      xl*)
7711	# IBM XL C 8.0/Fortran 10.1 on PPC
7712	lt_prog_compiler_wl='-Wl,'
7713	lt_prog_compiler_pic='-qpic'
7714	lt_prog_compiler_static='-qstaticlink'
7715	;;
7716      *)
7717	case `$CC -V 2>&1 | sed 5q` in
7718	*Sun\ C*)
7719	  # Sun C 5.9
7720	  lt_prog_compiler_pic='-KPIC'
7721	  lt_prog_compiler_static='-Bstatic'
7722	  lt_prog_compiler_wl='-Wl,'
7723	  ;;
7724	*Sun\ F*)
7725	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7726	  lt_prog_compiler_pic='-KPIC'
7727	  lt_prog_compiler_static='-Bstatic'
7728	  lt_prog_compiler_wl=''
7729	  ;;
7730	esac
7731	;;
7732      esac
7733      ;;
7734
7735    newsos6)
7736      lt_prog_compiler_pic='-KPIC'
7737      lt_prog_compiler_static='-Bstatic'
7738      ;;
7739
7740    *nto* | *qnx*)
7741      # QNX uses GNU C++, but need to define -shared option too, otherwise
7742      # it will coredump.
7743      lt_prog_compiler_pic='-fPIC -shared'
7744      ;;
7745
7746    osf3* | osf4* | osf5*)
7747      lt_prog_compiler_wl='-Wl,'
7748      # All OSF/1 code is PIC.
7749      lt_prog_compiler_static='-non_shared'
7750      ;;
7751
7752    rdos*)
7753      lt_prog_compiler_static='-non_shared'
7754      ;;
7755
7756    solaris*)
7757      lt_prog_compiler_pic='-KPIC'
7758      lt_prog_compiler_static='-Bstatic'
7759      case $cc_basename in
7760      f77* | f90* | f95*)
7761	lt_prog_compiler_wl='-Qoption ld ';;
7762      *)
7763	lt_prog_compiler_wl='-Wl,';;
7764      esac
7765      ;;
7766
7767    sunos4*)
7768      lt_prog_compiler_wl='-Qoption ld '
7769      lt_prog_compiler_pic='-PIC'
7770      lt_prog_compiler_static='-Bstatic'
7771      ;;
7772
7773    sysv4 | sysv4.2uw2* | sysv4.3*)
7774      lt_prog_compiler_wl='-Wl,'
7775      lt_prog_compiler_pic='-KPIC'
7776      lt_prog_compiler_static='-Bstatic'
7777      ;;
7778
7779    sysv4*MP*)
7780      if test -d /usr/nec ;then
7781	lt_prog_compiler_pic='-Kconform_pic'
7782	lt_prog_compiler_static='-Bstatic'
7783      fi
7784      ;;
7785
7786    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7787      lt_prog_compiler_wl='-Wl,'
7788      lt_prog_compiler_pic='-KPIC'
7789      lt_prog_compiler_static='-Bstatic'
7790      ;;
7791
7792    unicos*)
7793      lt_prog_compiler_wl='-Wl,'
7794      lt_prog_compiler_can_build_shared=no
7795      ;;
7796
7797    uts4*)
7798      lt_prog_compiler_pic='-pic'
7799      lt_prog_compiler_static='-Bstatic'
7800      ;;
7801
7802    *)
7803      lt_prog_compiler_can_build_shared=no
7804      ;;
7805    esac
7806  fi
7807
7808case $host_os in
7809  # For platforms which do not support PIC, -DPIC is meaningless:
7810  *djgpp*)
7811    lt_prog_compiler_pic=
7812    ;;
7813  *)
7814    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7815    ;;
7816esac
7817{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7818$as_echo "$lt_prog_compiler_pic" >&6; }
7819
7820
7821
7822
7823
7824
7825#
7826# Check to make sure the PIC flag actually works.
7827#
7828if test -n "$lt_prog_compiler_pic"; then
7829  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7830$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7831if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7832  $as_echo_n "(cached) " >&6
7833else
7834  lt_cv_prog_compiler_pic_works=no
7835   ac_outfile=conftest.$ac_objext
7836   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7837   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7838   # Insert the option either (1) after the last *FLAGS variable, or
7839   # (2) before a word containing "conftest.", or (3) at the end.
7840   # Note that $ac_compile itself does not contain backslashes and begins
7841   # with a dollar sign (not a hyphen), so the echo should work correctly.
7842   # The option is referenced via a variable to avoid confusing sed.
7843   lt_compile=`echo "$ac_compile" | $SED \
7844   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7845   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7846   -e 's:$: $lt_compiler_flag:'`
7847   (eval echo "\"\$as_me:7847: $lt_compile\"" >&5)
7848   (eval "$lt_compile" 2>conftest.err)
7849   ac_status=$?
7850   cat conftest.err >&5
7851   echo "$as_me:7851: \$? = $ac_status" >&5
7852   if (exit $ac_status) && test -s "$ac_outfile"; then
7853     # The compiler can only warn and ignore the option if not recognized
7854     # So say no if there are warnings other than the usual output.
7855     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7856     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7857     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7858       lt_cv_prog_compiler_pic_works=yes
7859     fi
7860   fi
7861   $RM conftest*
7862
7863fi
7864{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7865$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7866
7867if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7868    case $lt_prog_compiler_pic in
7869     "" | " "*) ;;
7870     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7871     esac
7872else
7873    lt_prog_compiler_pic=
7874     lt_prog_compiler_can_build_shared=no
7875fi
7876
7877fi
7878
7879
7880
7881
7882
7883
7884#
7885# Check to make sure the static flag actually works.
7886#
7887wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7888{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7889$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7890if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7891  $as_echo_n "(cached) " >&6
7892else
7893  lt_cv_prog_compiler_static_works=no
7894   save_LDFLAGS="$LDFLAGS"
7895   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7896   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7897   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7898     # The linker can only warn and ignore the option if not recognized
7899     # So say no if there are warnings
7900     if test -s conftest.err; then
7901       # Append any errors to the config.log.
7902       cat conftest.err 1>&5
7903       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7904       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7905       if diff conftest.exp conftest.er2 >/dev/null; then
7906         lt_cv_prog_compiler_static_works=yes
7907       fi
7908     else
7909       lt_cv_prog_compiler_static_works=yes
7910     fi
7911   fi
7912   $RM -r conftest*
7913   LDFLAGS="$save_LDFLAGS"
7914
7915fi
7916{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7917$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7918
7919if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7920    :
7921else
7922    lt_prog_compiler_static=
7923fi
7924
7925
7926
7927
7928
7929
7930
7931  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7932$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7933if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7934  $as_echo_n "(cached) " >&6
7935else
7936  lt_cv_prog_compiler_c_o=no
7937   $RM -r conftest 2>/dev/null
7938   mkdir conftest
7939   cd conftest
7940   mkdir out
7941   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7942
7943   lt_compiler_flag="-o out/conftest2.$ac_objext"
7944   # Insert the option either (1) after the last *FLAGS variable, or
7945   # (2) before a word containing "conftest.", or (3) at the end.
7946   # Note that $ac_compile itself does not contain backslashes and begins
7947   # with a dollar sign (not a hyphen), so the echo should work correctly.
7948   lt_compile=`echo "$ac_compile" | $SED \
7949   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7950   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7951   -e 's:$: $lt_compiler_flag:'`
7952   (eval echo "\"\$as_me:7952: $lt_compile\"" >&5)
7953   (eval "$lt_compile" 2>out/conftest.err)
7954   ac_status=$?
7955   cat out/conftest.err >&5
7956   echo "$as_me:7956: \$? = $ac_status" >&5
7957   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7958   then
7959     # The compiler can only warn and ignore the option if not recognized
7960     # So say no if there are warnings
7961     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7962     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7963     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7964       lt_cv_prog_compiler_c_o=yes
7965     fi
7966   fi
7967   chmod u+w . 2>&5
7968   $RM conftest*
7969   # SGI C++ compiler will create directory out/ii_files/ for
7970   # template instantiation
7971   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7972   $RM out/* && rmdir out
7973   cd ..
7974   $RM -r conftest
7975   $RM conftest*
7976
7977fi
7978{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7979$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7980
7981
7982
7983
7984
7985
7986  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7987$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7988if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7989  $as_echo_n "(cached) " >&6
7990else
7991  lt_cv_prog_compiler_c_o=no
7992   $RM -r conftest 2>/dev/null
7993   mkdir conftest
7994   cd conftest
7995   mkdir out
7996   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7997
7998   lt_compiler_flag="-o out/conftest2.$ac_objext"
7999   # Insert the option either (1) after the last *FLAGS variable, or
8000   # (2) before a word containing "conftest.", or (3) at the end.
8001   # Note that $ac_compile itself does not contain backslashes and begins
8002   # with a dollar sign (not a hyphen), so the echo should work correctly.
8003   lt_compile=`echo "$ac_compile" | $SED \
8004   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8005   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8006   -e 's:$: $lt_compiler_flag:'`
8007   (eval echo "\"\$as_me:8007: $lt_compile\"" >&5)
8008   (eval "$lt_compile" 2>out/conftest.err)
8009   ac_status=$?
8010   cat out/conftest.err >&5
8011   echo "$as_me:8011: \$? = $ac_status" >&5
8012   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8013   then
8014     # The compiler can only warn and ignore the option if not recognized
8015     # So say no if there are warnings
8016     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8017     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8018     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8019       lt_cv_prog_compiler_c_o=yes
8020     fi
8021   fi
8022   chmod u+w . 2>&5
8023   $RM conftest*
8024   # SGI C++ compiler will create directory out/ii_files/ for
8025   # template instantiation
8026   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8027   $RM out/* && rmdir out
8028   cd ..
8029   $RM -r conftest
8030   $RM conftest*
8031
8032fi
8033{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8034$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8035
8036
8037
8038
8039hard_links="nottested"
8040if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8041  # do not overwrite the value of need_locks provided by the user
8042  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8043$as_echo_n "checking if we can lock with hard links... " >&6; }
8044  hard_links=yes
8045  $RM conftest*
8046  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8047  touch conftest.a
8048  ln conftest.a conftest.b 2>&5 || hard_links=no
8049  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8050  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8051$as_echo "$hard_links" >&6; }
8052  if test "$hard_links" = no; then
8053    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8054$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8055    need_locks=warn
8056  fi
8057else
8058  need_locks=no
8059fi
8060
8061
8062
8063
8064
8065
8066  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8067$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8068
8069  runpath_var=
8070  allow_undefined_flag=
8071  always_export_symbols=no
8072  archive_cmds=
8073  archive_expsym_cmds=
8074  compiler_needs_object=no
8075  enable_shared_with_static_runtimes=no
8076  export_dynamic_flag_spec=
8077  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8078  hardcode_automatic=no
8079  hardcode_direct=no
8080  hardcode_direct_absolute=no
8081  hardcode_libdir_flag_spec=
8082  hardcode_libdir_flag_spec_ld=
8083  hardcode_libdir_separator=
8084  hardcode_minus_L=no
8085  hardcode_shlibpath_var=unsupported
8086  inherit_rpath=no
8087  link_all_deplibs=unknown
8088  module_cmds=
8089  module_expsym_cmds=
8090  old_archive_from_new_cmds=
8091  old_archive_from_expsyms_cmds=
8092  thread_safe_flag_spec=
8093  whole_archive_flag_spec=
8094  # include_expsyms should be a list of space-separated symbols to be *always*
8095  # included in the symbol list
8096  include_expsyms=
8097  # exclude_expsyms can be an extended regexp of symbols to exclude
8098  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8099  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8100  # as well as any symbol that contains `d'.
8101  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8102  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8103  # platforms (ab)use it in PIC code, but their linkers get confused if
8104  # the symbol is explicitly referenced.  Since portable code cannot
8105  # rely on this symbol name, it's probably fine to never include it in
8106  # preloaded symbol tables.
8107  # Exclude shared library initialization/finalization symbols.
8108  extract_expsyms_cmds=
8109
8110  case $host_os in
8111  cygwin* | mingw* | pw32* | cegcc*)
8112    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8113    # When not using gcc, we currently assume that we are using
8114    # Microsoft Visual C++.
8115    if test "$GCC" != yes; then
8116      with_gnu_ld=no
8117    fi
8118    ;;
8119  interix*)
8120    # we just hope/assume this is gcc and not c89 (= MSVC++)
8121    with_gnu_ld=yes
8122    ;;
8123  openbsd*)
8124    with_gnu_ld=no
8125    ;;
8126  esac
8127
8128  ld_shlibs=yes
8129  if test "$with_gnu_ld" = yes; then
8130    # If archive_cmds runs LD, not CC, wlarc should be empty
8131    wlarc='${wl}'
8132
8133    # Set some defaults for GNU ld with shared library support. These
8134    # are reset later if shared libraries are not supported. Putting them
8135    # here allows them to be overridden if necessary.
8136    runpath_var=LD_RUN_PATH
8137    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8138    export_dynamic_flag_spec='${wl}--export-dynamic'
8139    # ancient GNU ld didn't support --whole-archive et. al.
8140    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8141      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8142    else
8143      whole_archive_flag_spec=
8144    fi
8145    supports_anon_versioning=no
8146    case `$LD -v 2>&1` in
8147      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8148      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8149      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8150      *\ 2.11.*) ;; # other 2.11 versions
8151      *) supports_anon_versioning=yes ;;
8152    esac
8153
8154    # See if GNU ld supports shared libraries.
8155    case $host_os in
8156    aix[3-9]*)
8157      # On AIX/PPC, the GNU linker is very broken
8158      if test "$host_cpu" != ia64; then
8159	ld_shlibs=no
8160	cat <<_LT_EOF 1>&2
8161
8162*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8163*** to be unable to reliably create shared libraries on AIX.
8164*** Therefore, libtool is disabling shared libraries support.  If you
8165*** really care for shared libraries, you may want to modify your PATH
8166*** so that a non-GNU linker is found, and then restart.
8167
8168_LT_EOF
8169      fi
8170      ;;
8171
8172    amigaos*)
8173      case $host_cpu in
8174      powerpc)
8175            # see comment about AmigaOS4 .so support
8176            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8177            archive_expsym_cmds=''
8178        ;;
8179      m68k)
8180            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)'
8181            hardcode_libdir_flag_spec='-L$libdir'
8182            hardcode_minus_L=yes
8183        ;;
8184      esac
8185      ;;
8186
8187    beos*)
8188      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8189	allow_undefined_flag=unsupported
8190	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8191	# support --undefined.  This deserves some investigation.  FIXME
8192	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8193      else
8194	ld_shlibs=no
8195      fi
8196      ;;
8197
8198    cygwin* | mingw* | pw32* | cegcc*)
8199      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8200      # as there is no search path for DLLs.
8201      hardcode_libdir_flag_spec='-L$libdir'
8202      allow_undefined_flag=unsupported
8203      always_export_symbols=no
8204      enable_shared_with_static_runtimes=yes
8205      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8206
8207      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8208        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8209	# If the export-symbols file already is a .def file (1st line
8210	# is EXPORTS), use it as is; otherwise, prepend...
8211	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8212	  cp $export_symbols $output_objdir/$soname.def;
8213	else
8214	  echo EXPORTS > $output_objdir/$soname.def;
8215	  cat $export_symbols >> $output_objdir/$soname.def;
8216	fi~
8217	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8218      else
8219	ld_shlibs=no
8220      fi
8221      ;;
8222
8223    interix[3-9]*)
8224      hardcode_direct=no
8225      hardcode_shlibpath_var=no
8226      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8227      export_dynamic_flag_spec='${wl}-E'
8228      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8229      # Instead, shared libraries are loaded at an image base (0x10000000 by
8230      # default) and relocated if they conflict, which is a slow very memory
8231      # consuming and fragmenting process.  To avoid this, we pick a random,
8232      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8233      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8234      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8235      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'
8236      ;;
8237
8238    gnu* | linux* | tpf* | k*bsd*-gnu)
8239      tmp_diet=no
8240      if test "$host_os" = linux-dietlibc; then
8241	case $cc_basename in
8242	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8243	esac
8244      fi
8245      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8246	 && test "$tmp_diet" = no
8247      then
8248	tmp_addflag=
8249	tmp_sharedflag='-shared'
8250	case $cc_basename,$host_cpu in
8251        pgcc*)				# Portland Group C compiler
8252	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8253	  tmp_addflag=' $pic_flag'
8254	  ;;
8255	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8256	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8257	  tmp_addflag=' $pic_flag -Mnomain' ;;
8258	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8259	  tmp_addflag=' -i_dynamic' ;;
8260	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8261	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8262	ifc* | ifort*)			# Intel Fortran compiler
8263	  tmp_addflag=' -nofor_main' ;;
8264	lf95*)				# Lahey Fortran 8.1
8265	  whole_archive_flag_spec=
8266	  tmp_sharedflag='--shared' ;;
8267	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8268	  tmp_sharedflag='-qmkshrobj'
8269	  tmp_addflag= ;;
8270	esac
8271	case `$CC -V 2>&1 | sed 5q` in
8272	*Sun\ C*)			# Sun C 5.9
8273	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8274	  compiler_needs_object=yes
8275	  tmp_sharedflag='-G' ;;
8276	*Sun\ F*)			# Sun Fortran 8.3
8277	  tmp_sharedflag='-G' ;;
8278	esac
8279	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8280
8281        if test "x$supports_anon_versioning" = xyes; then
8282          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8283	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8284	    echo "local: *; };" >> $output_objdir/$libname.ver~
8285	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8286        fi
8287
8288	case $cc_basename in
8289	xlf*)
8290	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8291	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8292	  hardcode_libdir_flag_spec=
8293	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8294	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8295	  if test "x$supports_anon_versioning" = xyes; then
8296	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8297	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8298	      echo "local: *; };" >> $output_objdir/$libname.ver~
8299	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8300	  fi
8301	  ;;
8302	esac
8303      else
8304        ld_shlibs=no
8305      fi
8306      ;;
8307
8308    netbsd*)
8309      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8310	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8311	wlarc=
8312      else
8313	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8314	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8315      fi
8316      ;;
8317
8318    solaris*)
8319      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8320	ld_shlibs=no
8321	cat <<_LT_EOF 1>&2
8322
8323*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8324*** create shared libraries on Solaris systems.  Therefore, libtool
8325*** is disabling shared libraries support.  We urge you to upgrade GNU
8326*** binutils to release 2.9.1 or newer.  Another option is to modify
8327*** your PATH or compiler configuration so that the native linker is
8328*** used, and then restart.
8329
8330_LT_EOF
8331      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8332	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8333	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8334      else
8335	ld_shlibs=no
8336      fi
8337      ;;
8338
8339    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8340      case `$LD -v 2>&1` in
8341        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8342	ld_shlibs=no
8343	cat <<_LT_EOF 1>&2
8344
8345*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8346*** reliably create shared libraries on SCO systems.  Therefore, libtool
8347*** is disabling shared libraries support.  We urge you to upgrade GNU
8348*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8349*** your PATH or compiler configuration so that the native linker is
8350*** used, and then restart.
8351
8352_LT_EOF
8353	;;
8354	*)
8355	  # For security reasons, it is highly recommended that you always
8356	  # use absolute paths for naming shared libraries, and exclude the
8357	  # DT_RUNPATH tag from executables and libraries.  But doing so
8358	  # requires that you compile everything twice, which is a pain.
8359	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8360	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8361	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8362	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8363	  else
8364	    ld_shlibs=no
8365	  fi
8366	;;
8367      esac
8368      ;;
8369
8370    sunos4*)
8371      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8372      wlarc=
8373      hardcode_direct=yes
8374      hardcode_shlibpath_var=no
8375      ;;
8376
8377    *)
8378      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8379	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8380	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8381      else
8382	ld_shlibs=no
8383      fi
8384      ;;
8385    esac
8386
8387    if test "$ld_shlibs" = no; then
8388      runpath_var=
8389      hardcode_libdir_flag_spec=
8390      export_dynamic_flag_spec=
8391      whole_archive_flag_spec=
8392    fi
8393  else
8394    # PORTME fill in a description of your system's linker (not GNU ld)
8395    case $host_os in
8396    aix3*)
8397      allow_undefined_flag=unsupported
8398      always_export_symbols=yes
8399      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'
8400      # Note: this linker hardcodes the directories in LIBPATH if there
8401      # are no directories specified by -L.
8402      hardcode_minus_L=yes
8403      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8404	# Neither direct hardcoding nor static linking is supported with a
8405	# broken collect2.
8406	hardcode_direct=unsupported
8407      fi
8408      ;;
8409
8410    aix[4-9]*)
8411      if test "$host_cpu" = ia64; then
8412	# On IA64, the linker does run time linking by default, so we don't
8413	# have to do anything special.
8414	aix_use_runtimelinking=no
8415	exp_sym_flag='-Bexport'
8416	no_entry_flag=""
8417      else
8418	# If we're using GNU nm, then we don't want the "-C" option.
8419	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8420	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8421	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8422	else
8423	  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'
8424	fi
8425	aix_use_runtimelinking=no
8426
8427	# Test if we are trying to use run time linking or normal
8428	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8429	# need to do runtime linking.
8430	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8431	  for ld_flag in $LDFLAGS; do
8432	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8433	    aix_use_runtimelinking=yes
8434	    break
8435	  fi
8436	  done
8437	  ;;
8438	esac
8439
8440	exp_sym_flag='-bexport'
8441	no_entry_flag='-bnoentry'
8442      fi
8443
8444      # When large executables or shared objects are built, AIX ld can
8445      # have problems creating the table of contents.  If linking a library
8446      # or program results in "error TOC overflow" add -mminimal-toc to
8447      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8448      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8449
8450      archive_cmds=''
8451      hardcode_direct=yes
8452      hardcode_direct_absolute=yes
8453      hardcode_libdir_separator=':'
8454      link_all_deplibs=yes
8455      file_list_spec='${wl}-f,'
8456
8457      if test "$GCC" = yes; then
8458	case $host_os in aix4.[012]|aix4.[012].*)
8459	# We only want to do this on AIX 4.2 and lower, the check
8460	# below for broken collect2 doesn't work under 4.3+
8461	  collect2name=`${CC} -print-prog-name=collect2`
8462	  if test -f "$collect2name" &&
8463	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8464	  then
8465	  # We have reworked collect2
8466	  :
8467	  else
8468	  # We have old collect2
8469	  hardcode_direct=unsupported
8470	  # It fails to find uninstalled libraries when the uninstalled
8471	  # path is not listed in the libpath.  Setting hardcode_minus_L
8472	  # to unsupported forces relinking
8473	  hardcode_minus_L=yes
8474	  hardcode_libdir_flag_spec='-L$libdir'
8475	  hardcode_libdir_separator=
8476	  fi
8477	  ;;
8478	esac
8479	shared_flag='-shared'
8480	if test "$aix_use_runtimelinking" = yes; then
8481	  shared_flag="$shared_flag "'${wl}-G'
8482	fi
8483      else
8484	# not using gcc
8485	if test "$host_cpu" = ia64; then
8486	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8487	# chokes on -Wl,-G. The following line is correct:
8488	  shared_flag='-G'
8489	else
8490	  if test "$aix_use_runtimelinking" = yes; then
8491	    shared_flag='${wl}-G'
8492	  else
8493	    shared_flag='${wl}-bM:SRE'
8494	  fi
8495	fi
8496      fi
8497
8498      export_dynamic_flag_spec='${wl}-bexpall'
8499      # It seems that -bexpall does not export symbols beginning with
8500      # underscore (_), so it is better to generate a list of symbols to export.
8501      always_export_symbols=yes
8502      if test "$aix_use_runtimelinking" = yes; then
8503	# Warning - without using the other runtime loading flags (-brtl),
8504	# -berok will link without error, but may produce a broken library.
8505	allow_undefined_flag='-berok'
8506        # Determine the default libpath from the value encoded in an
8507        # empty executable.
8508        cat >conftest.$ac_ext <<_ACEOF
8509/* confdefs.h.  */
8510_ACEOF
8511cat confdefs.h >>conftest.$ac_ext
8512cat >>conftest.$ac_ext <<_ACEOF
8513/* end confdefs.h.  */
8514
8515int
8516main ()
8517{
8518
8519  ;
8520  return 0;
8521}
8522_ACEOF
8523rm -f conftest.$ac_objext conftest$ac_exeext
8524if { (ac_try="$ac_link"
8525case "(($ac_try" in
8526  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8527  *) ac_try_echo=$ac_try;;
8528esac
8529eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8530$as_echo "$ac_try_echo") >&5
8531  (eval "$ac_link") 2>conftest.er1
8532  ac_status=$?
8533  grep -v '^ *+' conftest.er1 >conftest.err
8534  rm -f conftest.er1
8535  cat conftest.err >&5
8536  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537  (exit $ac_status); } && {
8538	 test -z "$ac_c_werror_flag" ||
8539	 test ! -s conftest.err
8540       } && test -s conftest$ac_exeext && {
8541	 test "$cross_compiling" = yes ||
8542	 $as_test_x conftest$ac_exeext
8543       }; then
8544
8545lt_aix_libpath_sed='
8546    /Import File Strings/,/^$/ {
8547	/^0/ {
8548	    s/^0  *\(.*\)$/\1/
8549	    p
8550	}
8551    }'
8552aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8553# Check for a 64-bit object if we didn't find anything.
8554if test -z "$aix_libpath"; then
8555  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8556fi
8557else
8558  $as_echo "$as_me: failed program was:" >&5
8559sed 's/^/| /' conftest.$ac_ext >&5
8560
8561
8562fi
8563
8564rm -rf conftest.dSYM
8565rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8566      conftest$ac_exeext conftest.$ac_ext
8567if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8568
8569        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8570        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8571      else
8572	if test "$host_cpu" = ia64; then
8573	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8574	  allow_undefined_flag="-z nodefs"
8575	  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"
8576	else
8577	 # Determine the default libpath from the value encoded in an
8578	 # empty executable.
8579	 cat >conftest.$ac_ext <<_ACEOF
8580/* confdefs.h.  */
8581_ACEOF
8582cat confdefs.h >>conftest.$ac_ext
8583cat >>conftest.$ac_ext <<_ACEOF
8584/* end confdefs.h.  */
8585
8586int
8587main ()
8588{
8589
8590  ;
8591  return 0;
8592}
8593_ACEOF
8594rm -f conftest.$ac_objext conftest$ac_exeext
8595if { (ac_try="$ac_link"
8596case "(($ac_try" in
8597  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8598  *) ac_try_echo=$ac_try;;
8599esac
8600eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8601$as_echo "$ac_try_echo") >&5
8602  (eval "$ac_link") 2>conftest.er1
8603  ac_status=$?
8604  grep -v '^ *+' conftest.er1 >conftest.err
8605  rm -f conftest.er1
8606  cat conftest.err >&5
8607  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608  (exit $ac_status); } && {
8609	 test -z "$ac_c_werror_flag" ||
8610	 test ! -s conftest.err
8611       } && test -s conftest$ac_exeext && {
8612	 test "$cross_compiling" = yes ||
8613	 $as_test_x conftest$ac_exeext
8614       }; then
8615
8616lt_aix_libpath_sed='
8617    /Import File Strings/,/^$/ {
8618	/^0/ {
8619	    s/^0  *\(.*\)$/\1/
8620	    p
8621	}
8622    }'
8623aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8624# Check for a 64-bit object if we didn't find anything.
8625if test -z "$aix_libpath"; then
8626  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8627fi
8628else
8629  $as_echo "$as_me: failed program was:" >&5
8630sed 's/^/| /' conftest.$ac_ext >&5
8631
8632
8633fi
8634
8635rm -rf conftest.dSYM
8636rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8637      conftest$ac_exeext conftest.$ac_ext
8638if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8639
8640	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8641	  # Warning - without using the other run time loading flags,
8642	  # -berok will link without error, but may produce a broken library.
8643	  no_undefined_flag=' ${wl}-bernotok'
8644	  allow_undefined_flag=' ${wl}-berok'
8645	  # Exported symbols can be pulled into shared objects from archives
8646	  whole_archive_flag_spec='$convenience'
8647	  archive_cmds_need_lc=yes
8648	  # This is similar to how AIX traditionally builds its shared libraries.
8649	  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'
8650	fi
8651      fi
8652      ;;
8653
8654    amigaos*)
8655      case $host_cpu in
8656      powerpc)
8657            # see comment about AmigaOS4 .so support
8658            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8659            archive_expsym_cmds=''
8660        ;;
8661      m68k)
8662            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)'
8663            hardcode_libdir_flag_spec='-L$libdir'
8664            hardcode_minus_L=yes
8665        ;;
8666      esac
8667      ;;
8668
8669    bsdi[45]*)
8670      export_dynamic_flag_spec=-rdynamic
8671      ;;
8672
8673    cygwin* | mingw* | pw32* | cegcc*)
8674      # When not using gcc, we currently assume that we are using
8675      # Microsoft Visual C++.
8676      # hardcode_libdir_flag_spec is actually meaningless, as there is
8677      # no search path for DLLs.
8678      hardcode_libdir_flag_spec=' '
8679      allow_undefined_flag=unsupported
8680      # Tell ltmain to make .lib files, not .a files.
8681      libext=lib
8682      # Tell ltmain to make .dll files, not .so files.
8683      shrext_cmds=".dll"
8684      # FIXME: Setting linknames here is a bad hack.
8685      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8686      # The linker will automatically build a .lib file if we build a DLL.
8687      old_archive_from_new_cmds='true'
8688      # FIXME: Should let the user specify the lib program.
8689      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8690      fix_srcfile_path='`cygpath -w "$srcfile"`'
8691      enable_shared_with_static_runtimes=yes
8692      ;;
8693
8694    darwin* | rhapsody*)
8695
8696
8697  archive_cmds_need_lc=no
8698  hardcode_direct=no
8699  hardcode_automatic=yes
8700  hardcode_shlibpath_var=unsupported
8701  whole_archive_flag_spec=''
8702  link_all_deplibs=yes
8703  allow_undefined_flag="$_lt_dar_allow_undefined"
8704  case $cc_basename in
8705     ifort*) _lt_dar_can_shared=yes ;;
8706     *) _lt_dar_can_shared=$GCC ;;
8707  esac
8708  if test "$_lt_dar_can_shared" = "yes"; then
8709    output_verbose_link_cmd=echo
8710    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8711    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8712    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}"
8713    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}"
8714
8715  else
8716  ld_shlibs=no
8717  fi
8718
8719      ;;
8720
8721    dgux*)
8722      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8723      hardcode_libdir_flag_spec='-L$libdir'
8724      hardcode_shlibpath_var=no
8725      ;;
8726
8727    freebsd1*)
8728      ld_shlibs=no
8729      ;;
8730
8731    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8732    # support.  Future versions do this automatically, but an explicit c++rt0.o
8733    # does not break anything, and helps significantly (at the cost of a little
8734    # extra space).
8735    freebsd2.2*)
8736      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8737      hardcode_libdir_flag_spec='-R$libdir'
8738      hardcode_direct=yes
8739      hardcode_shlibpath_var=no
8740      ;;
8741
8742    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8743    freebsd2*)
8744      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8745      hardcode_direct=yes
8746      hardcode_minus_L=yes
8747      hardcode_shlibpath_var=no
8748      ;;
8749
8750    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8751    freebsd* | dragonfly*)
8752      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8753      hardcode_libdir_flag_spec='-R$libdir'
8754      hardcode_direct=yes
8755      hardcode_shlibpath_var=no
8756      ;;
8757
8758    hpux9*)
8759      if test "$GCC" = yes; then
8760	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'
8761      else
8762	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'
8763      fi
8764      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8765      hardcode_libdir_separator=:
8766      hardcode_direct=yes
8767
8768      # hardcode_minus_L: Not really in the search PATH,
8769      # but as the default location of the library.
8770      hardcode_minus_L=yes
8771      export_dynamic_flag_spec='${wl}-E'
8772      ;;
8773
8774    hpux10*)
8775      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8776	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8777      else
8778	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8779      fi
8780      if test "$with_gnu_ld" = no; then
8781	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8782	hardcode_libdir_flag_spec_ld='+b $libdir'
8783	hardcode_libdir_separator=:
8784	hardcode_direct=yes
8785	hardcode_direct_absolute=yes
8786	export_dynamic_flag_spec='${wl}-E'
8787	# hardcode_minus_L: Not really in the search PATH,
8788	# but as the default location of the library.
8789	hardcode_minus_L=yes
8790      fi
8791      ;;
8792
8793    hpux11*)
8794      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8795	case $host_cpu in
8796	hppa*64*)
8797	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8798	  ;;
8799	ia64*)
8800	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8801	  ;;
8802	*)
8803	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8804	  ;;
8805	esac
8806      else
8807	case $host_cpu in
8808	hppa*64*)
8809	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8810	  ;;
8811	ia64*)
8812	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8813	  ;;
8814	*)
8815	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8816	  ;;
8817	esac
8818      fi
8819      if test "$with_gnu_ld" = no; then
8820	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8821	hardcode_libdir_separator=:
8822
8823	case $host_cpu in
8824	hppa*64*|ia64*)
8825	  hardcode_direct=no
8826	  hardcode_shlibpath_var=no
8827	  ;;
8828	*)
8829	  hardcode_direct=yes
8830	  hardcode_direct_absolute=yes
8831	  export_dynamic_flag_spec='${wl}-E'
8832
8833	  # hardcode_minus_L: Not really in the search PATH,
8834	  # but as the default location of the library.
8835	  hardcode_minus_L=yes
8836	  ;;
8837	esac
8838      fi
8839      ;;
8840
8841    irix5* | irix6* | nonstopux*)
8842      if test "$GCC" = yes; then
8843	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8844	# Try to use the -exported_symbol ld option, if it does not
8845	# work, assume that -exports_file does not work either and
8846	# implicitly export all symbols.
8847        save_LDFLAGS="$LDFLAGS"
8848        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8849        cat >conftest.$ac_ext <<_ACEOF
8850int foo(void) {}
8851_ACEOF
8852rm -f conftest.$ac_objext conftest$ac_exeext
8853if { (ac_try="$ac_link"
8854case "(($ac_try" in
8855  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8856  *) ac_try_echo=$ac_try;;
8857esac
8858eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8859$as_echo "$ac_try_echo") >&5
8860  (eval "$ac_link") 2>conftest.er1
8861  ac_status=$?
8862  grep -v '^ *+' conftest.er1 >conftest.err
8863  rm -f conftest.er1
8864  cat conftest.err >&5
8865  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866  (exit $ac_status); } && {
8867	 test -z "$ac_c_werror_flag" ||
8868	 test ! -s conftest.err
8869       } && test -s conftest$ac_exeext && {
8870	 test "$cross_compiling" = yes ||
8871	 $as_test_x conftest$ac_exeext
8872       }; then
8873  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8874
8875else
8876  $as_echo "$as_me: failed program was:" >&5
8877sed 's/^/| /' conftest.$ac_ext >&5
8878
8879
8880fi
8881
8882rm -rf conftest.dSYM
8883rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8884      conftest$ac_exeext conftest.$ac_ext
8885        LDFLAGS="$save_LDFLAGS"
8886      else
8887	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8888	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8889      fi
8890      archive_cmds_need_lc='no'
8891      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8892      hardcode_libdir_separator=:
8893      inherit_rpath=yes
8894      link_all_deplibs=yes
8895      ;;
8896
8897    netbsd*)
8898      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8899	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8900      else
8901	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8902      fi
8903      hardcode_libdir_flag_spec='-R$libdir'
8904      hardcode_direct=yes
8905      hardcode_shlibpath_var=no
8906      ;;
8907
8908    newsos6)
8909      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8910      hardcode_direct=yes
8911      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8912      hardcode_libdir_separator=:
8913      hardcode_shlibpath_var=no
8914      ;;
8915
8916    *nto* | *qnx*)
8917      ;;
8918
8919    openbsd*)
8920      if test -f /usr/libexec/ld.so; then
8921	hardcode_direct=yes
8922	hardcode_shlibpath_var=no
8923	hardcode_direct_absolute=yes
8924	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8925	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8926	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8927	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8928	  export_dynamic_flag_spec='${wl}-E'
8929	else
8930	  case $host_os in
8931	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8932	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8933	     hardcode_libdir_flag_spec='-R$libdir'
8934	     ;;
8935	   *)
8936	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8937	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8938	     ;;
8939	  esac
8940	fi
8941      else
8942	ld_shlibs=no
8943      fi
8944      ;;
8945
8946    os2*)
8947      hardcode_libdir_flag_spec='-L$libdir'
8948      hardcode_minus_L=yes
8949      allow_undefined_flag=unsupported
8950      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'
8951      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8952      ;;
8953
8954    osf3*)
8955      if test "$GCC" = yes; then
8956	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8957	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8958      else
8959	allow_undefined_flag=' -expect_unresolved \*'
8960	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8961      fi
8962      archive_cmds_need_lc='no'
8963      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8964      hardcode_libdir_separator=:
8965      ;;
8966
8967    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8968      if test "$GCC" = yes; then
8969	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8970	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8971	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8972      else
8973	allow_undefined_flag=' -expect_unresolved \*'
8974	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8975	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~
8976	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8977
8978	# Both c and cxx compiler support -rpath directly
8979	hardcode_libdir_flag_spec='-rpath $libdir'
8980      fi
8981      archive_cmds_need_lc='no'
8982      hardcode_libdir_separator=:
8983      ;;
8984
8985    solaris*)
8986      no_undefined_flag=' -z defs'
8987      if test "$GCC" = yes; then
8988	wlarc='${wl}'
8989	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8990	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8991	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8992      else
8993	case `$CC -V 2>&1` in
8994	*"Compilers 5.0"*)
8995	  wlarc=''
8996	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8997	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8998	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8999	  ;;
9000	*)
9001	  wlarc='${wl}'
9002	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9003	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9004	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9005	  ;;
9006	esac
9007      fi
9008      hardcode_libdir_flag_spec='-R$libdir'
9009      hardcode_shlibpath_var=no
9010      case $host_os in
9011      solaris2.[0-5] | solaris2.[0-5].*) ;;
9012      *)
9013	# The compiler driver will combine and reorder linker options,
9014	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9015	# but is careful enough not to reorder.
9016	# Supported since Solaris 2.6 (maybe 2.5.1?)
9017	if test "$GCC" = yes; then
9018	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9019	else
9020	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9021	fi
9022	;;
9023      esac
9024      link_all_deplibs=yes
9025      ;;
9026
9027    sunos4*)
9028      if test "x$host_vendor" = xsequent; then
9029	# Use $CC to link under sequent, because it throws in some extra .o
9030	# files that make .init and .fini sections work.
9031	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9032      else
9033	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9034      fi
9035      hardcode_libdir_flag_spec='-L$libdir'
9036      hardcode_direct=yes
9037      hardcode_minus_L=yes
9038      hardcode_shlibpath_var=no
9039      ;;
9040
9041    sysv4)
9042      case $host_vendor in
9043	sni)
9044	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9045	  hardcode_direct=yes # is this really true???
9046	;;
9047	siemens)
9048	  ## LD is ld it makes a PLAMLIB
9049	  ## CC just makes a GrossModule.
9050	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9051	  reload_cmds='$CC -r -o $output$reload_objs'
9052	  hardcode_direct=no
9053        ;;
9054	motorola)
9055	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9056	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9057	;;
9058      esac
9059      runpath_var='LD_RUN_PATH'
9060      hardcode_shlibpath_var=no
9061      ;;
9062
9063    sysv4.3*)
9064      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9065      hardcode_shlibpath_var=no
9066      export_dynamic_flag_spec='-Bexport'
9067      ;;
9068
9069    sysv4*MP*)
9070      if test -d /usr/nec; then
9071	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9072	hardcode_shlibpath_var=no
9073	runpath_var=LD_RUN_PATH
9074	hardcode_runpath_var=yes
9075	ld_shlibs=yes
9076      fi
9077      ;;
9078
9079    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9080      no_undefined_flag='${wl}-z,text'
9081      archive_cmds_need_lc=no
9082      hardcode_shlibpath_var=no
9083      runpath_var='LD_RUN_PATH'
9084
9085      if test "$GCC" = yes; then
9086	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9087	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9088      else
9089	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9090	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9091      fi
9092      ;;
9093
9094    sysv5* | sco3.2v5* | sco5v6*)
9095      # Note: We can NOT use -z defs as we might desire, because we do not
9096      # link with -lc, and that would cause any symbols used from libc to
9097      # always be unresolved, which means just about no library would
9098      # ever link correctly.  If we're not using GNU ld we use -z text
9099      # though, which does catch some bad symbols but isn't as heavy-handed
9100      # as -z defs.
9101      no_undefined_flag='${wl}-z,text'
9102      allow_undefined_flag='${wl}-z,nodefs'
9103      archive_cmds_need_lc=no
9104      hardcode_shlibpath_var=no
9105      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9106      hardcode_libdir_separator=':'
9107      link_all_deplibs=yes
9108      export_dynamic_flag_spec='${wl}-Bexport'
9109      runpath_var='LD_RUN_PATH'
9110
9111      if test "$GCC" = yes; then
9112	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9113	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9114      else
9115	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9116	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117      fi
9118      ;;
9119
9120    uts4*)
9121      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9122      hardcode_libdir_flag_spec='-L$libdir'
9123      hardcode_shlibpath_var=no
9124      ;;
9125
9126    *)
9127      ld_shlibs=no
9128      ;;
9129    esac
9130
9131    if test x$host_vendor = xsni; then
9132      case $host in
9133      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9134	export_dynamic_flag_spec='${wl}-Blargedynsym'
9135	;;
9136      esac
9137    fi
9138  fi
9139
9140{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9141$as_echo "$ld_shlibs" >&6; }
9142test "$ld_shlibs" = no && can_build_shared=no
9143
9144with_gnu_ld=$with_gnu_ld
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160#
9161# Do we need to explicitly link libc?
9162#
9163case "x$archive_cmds_need_lc" in
9164x|xyes)
9165  # Assume -lc should be added
9166  archive_cmds_need_lc=yes
9167
9168  if test "$enable_shared" = yes && test "$GCC" = yes; then
9169    case $archive_cmds in
9170    *'~'*)
9171      # FIXME: we may have to deal with multi-command sequences.
9172      ;;
9173    '$CC '*)
9174      # Test whether the compiler implicitly links with -lc since on some
9175      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9176      # to ld, don't add -lc before -lgcc.
9177      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9178$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9179      $RM conftest*
9180      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9181
9182      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9183  (eval $ac_compile) 2>&5
9184  ac_status=$?
9185  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186  (exit $ac_status); } 2>conftest.err; then
9187        soname=conftest
9188        lib=conftest
9189        libobjs=conftest.$ac_objext
9190        deplibs=
9191        wl=$lt_prog_compiler_wl
9192	pic_flag=$lt_prog_compiler_pic
9193        compiler_flags=-v
9194        linker_flags=-v
9195        verstring=
9196        output_objdir=.
9197        libname=conftest
9198        lt_save_allow_undefined_flag=$allow_undefined_flag
9199        allow_undefined_flag=
9200        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9201  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9202  ac_status=$?
9203  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204  (exit $ac_status); }
9205        then
9206	  archive_cmds_need_lc=no
9207        else
9208	  archive_cmds_need_lc=yes
9209        fi
9210        allow_undefined_flag=$lt_save_allow_undefined_flag
9211      else
9212        cat conftest.err 1>&5
9213      fi
9214      $RM conftest*
9215      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9216$as_echo "$archive_cmds_need_lc" >&6; }
9217      ;;
9218    esac
9219  fi
9220  ;;
9221esac
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9380$as_echo_n "checking dynamic linker characteristics... " >&6; }
9381
9382if test "$GCC" = yes; then
9383  case $host_os in
9384    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9385    *) lt_awk_arg="/^libraries:/" ;;
9386  esac
9387  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9388  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9389    # if the path contains ";" then we assume it to be the separator
9390    # otherwise default to the standard path separator (i.e. ":") - it is
9391    # assumed that no part of a normal pathname contains ";" but that should
9392    # okay in the real world where ";" in dirpaths is itself problematic.
9393    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9394  else
9395    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9396  fi
9397  # Ok, now we have the path, separated by spaces, we can step through it
9398  # and add multilib dir if necessary.
9399  lt_tmp_lt_search_path_spec=
9400  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9401  for lt_sys_path in $lt_search_path_spec; do
9402    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9403      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9404    else
9405      test -d "$lt_sys_path" && \
9406	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9407    fi
9408  done
9409  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9410BEGIN {RS=" "; FS="/|\n";} {
9411  lt_foo="";
9412  lt_count=0;
9413  for (lt_i = NF; lt_i > 0; lt_i--) {
9414    if ($lt_i != "" && $lt_i != ".") {
9415      if ($lt_i == "..") {
9416        lt_count++;
9417      } else {
9418        if (lt_count == 0) {
9419          lt_foo="/" $lt_i lt_foo;
9420        } else {
9421          lt_count--;
9422        }
9423      }
9424    }
9425  }
9426  if (lt_foo != "") { lt_freq[lt_foo]++; }
9427  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9428}'`
9429  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9430else
9431  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9432fi
9433library_names_spec=
9434libname_spec='lib$name'
9435soname_spec=
9436shrext_cmds=".so"
9437postinstall_cmds=
9438postuninstall_cmds=
9439finish_cmds=
9440finish_eval=
9441shlibpath_var=
9442shlibpath_overrides_runpath=unknown
9443version_type=none
9444dynamic_linker="$host_os ld.so"
9445sys_lib_dlsearch_path_spec="/lib /usr/lib"
9446need_lib_prefix=unknown
9447hardcode_into_libs=no
9448
9449# when you set need_version to no, make sure it does not cause -set_version
9450# flags to be left without arguments
9451need_version=unknown
9452
9453case $host_os in
9454aix3*)
9455  version_type=linux
9456  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9457  shlibpath_var=LIBPATH
9458
9459  # AIX 3 has no versioning support, so we append a major version to the name.
9460  soname_spec='${libname}${release}${shared_ext}$major'
9461  ;;
9462
9463aix[4-9]*)
9464  version_type=linux
9465  need_lib_prefix=no
9466  need_version=no
9467  hardcode_into_libs=yes
9468  if test "$host_cpu" = ia64; then
9469    # AIX 5 supports IA64
9470    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9471    shlibpath_var=LD_LIBRARY_PATH
9472  else
9473    # With GCC up to 2.95.x, collect2 would create an import file
9474    # for dependence libraries.  The import file would start with
9475    # the line `#! .'.  This would cause the generated library to
9476    # depend on `.', always an invalid library.  This was fixed in
9477    # development snapshots of GCC prior to 3.0.
9478    case $host_os in
9479      aix4 | aix4.[01] | aix4.[01].*)
9480      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9481	   echo ' yes '
9482	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9483	:
9484      else
9485	can_build_shared=no
9486      fi
9487      ;;
9488    esac
9489    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9490    # soname into executable. Probably we can add versioning support to
9491    # collect2, so additional links can be useful in future.
9492    if test "$aix_use_runtimelinking" = yes; then
9493      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9494      # instead of lib<name>.a to let people know that these are not
9495      # typical AIX shared libraries.
9496      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9497    else
9498      # We preserve .a as extension for shared libraries through AIX4.2
9499      # and later when we are not doing run time linking.
9500      library_names_spec='${libname}${release}.a $libname.a'
9501      soname_spec='${libname}${release}${shared_ext}$major'
9502    fi
9503    shlibpath_var=LIBPATH
9504  fi
9505  ;;
9506
9507amigaos*)
9508  case $host_cpu in
9509  powerpc)
9510    # Since July 2007 AmigaOS4 officially supports .so libraries.
9511    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9512    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9513    ;;
9514  m68k)
9515    library_names_spec='$libname.ixlibrary $libname.a'
9516    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9517    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9518    ;;
9519  esac
9520  ;;
9521
9522beos*)
9523  library_names_spec='${libname}${shared_ext}'
9524  dynamic_linker="$host_os ld.so"
9525  shlibpath_var=LIBRARY_PATH
9526  ;;
9527
9528bsdi[45]*)
9529  version_type=linux
9530  need_version=no
9531  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9532  soname_spec='${libname}${release}${shared_ext}$major'
9533  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9534  shlibpath_var=LD_LIBRARY_PATH
9535  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9536  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9537  # the default ld.so.conf also contains /usr/contrib/lib and
9538  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9539  # libtool to hard-code these into programs
9540  ;;
9541
9542cygwin* | mingw* | pw32* | cegcc*)
9543  version_type=windows
9544  shrext_cmds=".dll"
9545  need_version=no
9546  need_lib_prefix=no
9547
9548  case $GCC,$host_os in
9549  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9550    library_names_spec='$libname.dll.a'
9551    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9552    postinstall_cmds='base_file=`basename \${file}`~
9553      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9554      dldir=$destdir/`dirname \$dlpath`~
9555      test -d \$dldir || mkdir -p \$dldir~
9556      $install_prog $dir/$dlname \$dldir/$dlname~
9557      chmod a+x \$dldir/$dlname~
9558      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9559        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9560      fi'
9561    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9562      dlpath=$dir/\$dldll~
9563       $RM \$dlpath'
9564    shlibpath_overrides_runpath=yes
9565
9566    case $host_os in
9567    cygwin*)
9568      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9569      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9570      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9571      ;;
9572    mingw* | cegcc*)
9573      # MinGW DLLs use traditional 'lib' prefix
9574      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9575      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9576      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9577        # It is most probably a Windows format PATH printed by
9578        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9579        # path with ; separators, and with drive letters. We can handle the
9580        # drive letters (cygwin fileutils understands them), so leave them,
9581        # especially as we might pass files found there to a mingw objdump,
9582        # which wouldn't understand a cygwinified path. Ahh.
9583        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9584      else
9585        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9586      fi
9587      ;;
9588    pw32*)
9589      # pw32 DLLs use 'pw' prefix rather than 'lib'
9590      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9591      ;;
9592    esac
9593    ;;
9594
9595  *)
9596    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9597    ;;
9598  esac
9599  dynamic_linker='Win32 ld.exe'
9600  # FIXME: first we should search . and the directory the executable is in
9601  shlibpath_var=PATH
9602  ;;
9603
9604darwin* | rhapsody*)
9605  dynamic_linker="$host_os dyld"
9606  version_type=darwin
9607  need_lib_prefix=no
9608  need_version=no
9609  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9610  soname_spec='${libname}${release}${major}$shared_ext'
9611  shlibpath_overrides_runpath=yes
9612  shlibpath_var=DYLD_LIBRARY_PATH
9613  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9614
9615  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9616  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9617  ;;
9618
9619dgux*)
9620  version_type=linux
9621  need_lib_prefix=no
9622  need_version=no
9623  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9624  soname_spec='${libname}${release}${shared_ext}$major'
9625  shlibpath_var=LD_LIBRARY_PATH
9626  ;;
9627
9628freebsd1*)
9629  dynamic_linker=no
9630  ;;
9631
9632freebsd* | dragonfly*)
9633  # DragonFly does not have aout.  When/if they implement a new
9634  # versioning mechanism, adjust this.
9635  if test -x /usr/bin/objformat; then
9636    objformat=`/usr/bin/objformat`
9637  else
9638    case $host_os in
9639    freebsd[123]*) objformat=aout ;;
9640    *) objformat=elf ;;
9641    esac
9642  fi
9643  version_type=freebsd-$objformat
9644  case $version_type in
9645    freebsd-elf*)
9646      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9647      need_version=no
9648      need_lib_prefix=no
9649      ;;
9650    freebsd-*)
9651      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9652      need_version=yes
9653      ;;
9654  esac
9655  shlibpath_var=LD_LIBRARY_PATH
9656  case $host_os in
9657  freebsd2*)
9658    shlibpath_overrides_runpath=yes
9659    ;;
9660  freebsd3.[01]* | freebsdelf3.[01]*)
9661    shlibpath_overrides_runpath=yes
9662    hardcode_into_libs=yes
9663    ;;
9664  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9665  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9666    shlibpath_overrides_runpath=no
9667    hardcode_into_libs=yes
9668    ;;
9669  *) # from 4.6 on, and DragonFly
9670    shlibpath_overrides_runpath=yes
9671    hardcode_into_libs=yes
9672    ;;
9673  esac
9674  ;;
9675
9676gnu*)
9677  version_type=linux
9678  need_lib_prefix=no
9679  need_version=no
9680  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9681  soname_spec='${libname}${release}${shared_ext}$major'
9682  shlibpath_var=LD_LIBRARY_PATH
9683  hardcode_into_libs=yes
9684  ;;
9685
9686hpux9* | hpux10* | hpux11*)
9687  # Give a soname corresponding to the major version so that dld.sl refuses to
9688  # link against other versions.
9689  version_type=sunos
9690  need_lib_prefix=no
9691  need_version=no
9692  case $host_cpu in
9693  ia64*)
9694    shrext_cmds='.so'
9695    hardcode_into_libs=yes
9696    dynamic_linker="$host_os dld.so"
9697    shlibpath_var=LD_LIBRARY_PATH
9698    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9699    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9700    soname_spec='${libname}${release}${shared_ext}$major'
9701    if test "X$HPUX_IA64_MODE" = X32; then
9702      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9703    else
9704      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9705    fi
9706    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9707    ;;
9708  hppa*64*)
9709    shrext_cmds='.sl'
9710    hardcode_into_libs=yes
9711    dynamic_linker="$host_os dld.sl"
9712    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9713    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9714    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9715    soname_spec='${libname}${release}${shared_ext}$major'
9716    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9717    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9718    ;;
9719  *)
9720    shrext_cmds='.sl'
9721    dynamic_linker="$host_os dld.sl"
9722    shlibpath_var=SHLIB_PATH
9723    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9724    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9725    soname_spec='${libname}${release}${shared_ext}$major'
9726    ;;
9727  esac
9728  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9729  postinstall_cmds='chmod 555 $lib'
9730  ;;
9731
9732interix[3-9]*)
9733  version_type=linux
9734  need_lib_prefix=no
9735  need_version=no
9736  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9737  soname_spec='${libname}${release}${shared_ext}$major'
9738  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9739  shlibpath_var=LD_LIBRARY_PATH
9740  shlibpath_overrides_runpath=no
9741  hardcode_into_libs=yes
9742  ;;
9743
9744irix5* | irix6* | nonstopux*)
9745  case $host_os in
9746    nonstopux*) version_type=nonstopux ;;
9747    *)
9748	if test "$lt_cv_prog_gnu_ld" = yes; then
9749		version_type=linux
9750	else
9751		version_type=irix
9752	fi ;;
9753  esac
9754  need_lib_prefix=no
9755  need_version=no
9756  soname_spec='${libname}${release}${shared_ext}$major'
9757  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9758  case $host_os in
9759  irix5* | nonstopux*)
9760    libsuff= shlibsuff=
9761    ;;
9762  *)
9763    case $LD in # libtool.m4 will add one of these switches to LD
9764    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9765      libsuff= shlibsuff= libmagic=32-bit;;
9766    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9767      libsuff=32 shlibsuff=N32 libmagic=N32;;
9768    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9769      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9770    *) libsuff= shlibsuff= libmagic=never-match;;
9771    esac
9772    ;;
9773  esac
9774  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9775  shlibpath_overrides_runpath=no
9776  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9777  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9778  hardcode_into_libs=yes
9779  ;;
9780
9781# No shared lib support for Linux oldld, aout, or coff.
9782linux*oldld* | linux*aout* | linux*coff*)
9783  dynamic_linker=no
9784  ;;
9785
9786# This must be Linux ELF.
9787linux* | k*bsd*-gnu)
9788  version_type=linux
9789  need_lib_prefix=no
9790  need_version=no
9791  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792  soname_spec='${libname}${release}${shared_ext}$major'
9793  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9794  shlibpath_var=LD_LIBRARY_PATH
9795  shlibpath_overrides_runpath=no
9796  # Some binutils ld are patched to set DT_RUNPATH
9797  save_LDFLAGS=$LDFLAGS
9798  save_libdir=$libdir
9799  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9800       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9801  cat >conftest.$ac_ext <<_ACEOF
9802/* confdefs.h.  */
9803_ACEOF
9804cat confdefs.h >>conftest.$ac_ext
9805cat >>conftest.$ac_ext <<_ACEOF
9806/* end confdefs.h.  */
9807
9808int
9809main ()
9810{
9811
9812  ;
9813  return 0;
9814}
9815_ACEOF
9816rm -f conftest.$ac_objext conftest$ac_exeext
9817if { (ac_try="$ac_link"
9818case "(($ac_try" in
9819  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9820  *) ac_try_echo=$ac_try;;
9821esac
9822eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9823$as_echo "$ac_try_echo") >&5
9824  (eval "$ac_link") 2>conftest.er1
9825  ac_status=$?
9826  grep -v '^ *+' conftest.er1 >conftest.err
9827  rm -f conftest.er1
9828  cat conftest.err >&5
9829  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830  (exit $ac_status); } && {
9831	 test -z "$ac_c_werror_flag" ||
9832	 test ! -s conftest.err
9833       } && test -s conftest$ac_exeext && {
9834	 test "$cross_compiling" = yes ||
9835	 $as_test_x conftest$ac_exeext
9836       }; then
9837  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9838  shlibpath_overrides_runpath=yes
9839fi
9840
9841else
9842  $as_echo "$as_me: failed program was:" >&5
9843sed 's/^/| /' conftest.$ac_ext >&5
9844
9845
9846fi
9847
9848rm -rf conftest.dSYM
9849rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9850      conftest$ac_exeext conftest.$ac_ext
9851  LDFLAGS=$save_LDFLAGS
9852  libdir=$save_libdir
9853
9854  # This implies no fast_install, which is unacceptable.
9855  # Some rework will be needed to allow for fast_install
9856  # before this can be enabled.
9857  hardcode_into_libs=yes
9858
9859  # Add ABI-specific directories to the system library path.
9860  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9861
9862  # Append ld.so.conf contents to the search path
9863  if test -f /etc/ld.so.conf; then
9864    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9865    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9866  fi
9867
9868  # We used to test for /lib/ld.so.1 and disable shared libraries on
9869  # powerpc, because MkLinux only supported shared libraries with the
9870  # GNU dynamic linker.  Since this was broken with cross compilers,
9871  # most powerpc-linux boxes support dynamic linking these days and
9872  # people can always --disable-shared, the test was removed, and we
9873  # assume the GNU/Linux dynamic linker is in use.
9874  dynamic_linker='GNU/Linux ld.so'
9875  ;;
9876
9877netbsd*)
9878  version_type=sunos
9879  need_lib_prefix=no
9880  need_version=no
9881  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9882    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9883    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9884    dynamic_linker='NetBSD (a.out) ld.so'
9885  else
9886    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9887    soname_spec='${libname}${release}${shared_ext}$major'
9888    dynamic_linker='NetBSD ld.elf_so'
9889  fi
9890  shlibpath_var=LD_LIBRARY_PATH
9891  shlibpath_overrides_runpath=yes
9892  hardcode_into_libs=yes
9893  ;;
9894
9895newsos6)
9896  version_type=linux
9897  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9898  shlibpath_var=LD_LIBRARY_PATH
9899  shlibpath_overrides_runpath=yes
9900  ;;
9901
9902*nto* | *qnx*)
9903  version_type=qnx
9904  need_lib_prefix=no
9905  need_version=no
9906  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9907  soname_spec='${libname}${release}${shared_ext}$major'
9908  shlibpath_var=LD_LIBRARY_PATH
9909  shlibpath_overrides_runpath=no
9910  hardcode_into_libs=yes
9911  dynamic_linker='ldqnx.so'
9912  ;;
9913
9914openbsd*)
9915  version_type=sunos
9916  sys_lib_dlsearch_path_spec="/usr/lib"
9917  need_lib_prefix=no
9918  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9919  case $host_os in
9920    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9921    *)				need_version=no  ;;
9922  esac
9923  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9924  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9925  shlibpath_var=LD_LIBRARY_PATH
9926  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9927    case $host_os in
9928      openbsd2.[89] | openbsd2.[89].*)
9929	shlibpath_overrides_runpath=no
9930	;;
9931      *)
9932	shlibpath_overrides_runpath=yes
9933	;;
9934      esac
9935  else
9936    shlibpath_overrides_runpath=yes
9937  fi
9938  ;;
9939
9940os2*)
9941  libname_spec='$name'
9942  shrext_cmds=".dll"
9943  need_lib_prefix=no
9944  library_names_spec='$libname${shared_ext} $libname.a'
9945  dynamic_linker='OS/2 ld.exe'
9946  shlibpath_var=LIBPATH
9947  ;;
9948
9949osf3* | osf4* | osf5*)
9950  version_type=osf
9951  need_lib_prefix=no
9952  need_version=no
9953  soname_spec='${libname}${release}${shared_ext}$major'
9954  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9955  shlibpath_var=LD_LIBRARY_PATH
9956  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9957  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9958  ;;
9959
9960rdos*)
9961  dynamic_linker=no
9962  ;;
9963
9964solaris*)
9965  version_type=linux
9966  need_lib_prefix=no
9967  need_version=no
9968  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9969  soname_spec='${libname}${release}${shared_ext}$major'
9970  shlibpath_var=LD_LIBRARY_PATH
9971  shlibpath_overrides_runpath=yes
9972  hardcode_into_libs=yes
9973  # ldd complains unless libraries are executable
9974  postinstall_cmds='chmod +x $lib'
9975  ;;
9976
9977sunos4*)
9978  version_type=sunos
9979  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9980  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9981  shlibpath_var=LD_LIBRARY_PATH
9982  shlibpath_overrides_runpath=yes
9983  if test "$with_gnu_ld" = yes; then
9984    need_lib_prefix=no
9985  fi
9986  need_version=yes
9987  ;;
9988
9989sysv4 | sysv4.3*)
9990  version_type=linux
9991  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9992  soname_spec='${libname}${release}${shared_ext}$major'
9993  shlibpath_var=LD_LIBRARY_PATH
9994  case $host_vendor in
9995    sni)
9996      shlibpath_overrides_runpath=no
9997      need_lib_prefix=no
9998      runpath_var=LD_RUN_PATH
9999      ;;
10000    siemens)
10001      need_lib_prefix=no
10002      ;;
10003    motorola)
10004      need_lib_prefix=no
10005      need_version=no
10006      shlibpath_overrides_runpath=no
10007      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10008      ;;
10009  esac
10010  ;;
10011
10012sysv4*MP*)
10013  if test -d /usr/nec ;then
10014    version_type=linux
10015    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10016    soname_spec='$libname${shared_ext}.$major'
10017    shlibpath_var=LD_LIBRARY_PATH
10018  fi
10019  ;;
10020
10021sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10022  version_type=freebsd-elf
10023  need_lib_prefix=no
10024  need_version=no
10025  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10026  soname_spec='${libname}${release}${shared_ext}$major'
10027  shlibpath_var=LD_LIBRARY_PATH
10028  shlibpath_overrides_runpath=yes
10029  hardcode_into_libs=yes
10030  if test "$with_gnu_ld" = yes; then
10031    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10032  else
10033    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10034    case $host_os in
10035      sco3.2v5*)
10036        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10037	;;
10038    esac
10039  fi
10040  sys_lib_dlsearch_path_spec='/usr/lib'
10041  ;;
10042
10043tpf*)
10044  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10045  version_type=linux
10046  need_lib_prefix=no
10047  need_version=no
10048  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10049  shlibpath_var=LD_LIBRARY_PATH
10050  shlibpath_overrides_runpath=no
10051  hardcode_into_libs=yes
10052  ;;
10053
10054uts4*)
10055  version_type=linux
10056  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10057  soname_spec='${libname}${release}${shared_ext}$major'
10058  shlibpath_var=LD_LIBRARY_PATH
10059  ;;
10060
10061*)
10062  dynamic_linker=no
10063  ;;
10064esac
10065{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10066$as_echo "$dynamic_linker" >&6; }
10067test "$dynamic_linker" = no && can_build_shared=no
10068
10069variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10070if test "$GCC" = yes; then
10071  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10072fi
10073
10074if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10075  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10076fi
10077if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10078  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10079fi
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10168$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10169hardcode_action=
10170if test -n "$hardcode_libdir_flag_spec" ||
10171   test -n "$runpath_var" ||
10172   test "X$hardcode_automatic" = "Xyes" ; then
10173
10174  # We can hardcode non-existent directories.
10175  if test "$hardcode_direct" != no &&
10176     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10177     # have to relink, otherwise we might link with an installed library
10178     # when we should be linking with a yet-to-be-installed one
10179     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10180     test "$hardcode_minus_L" != no; then
10181    # Linking always hardcodes the temporary library directory.
10182    hardcode_action=relink
10183  else
10184    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10185    hardcode_action=immediate
10186  fi
10187else
10188  # We cannot hardcode anything, or else we can only hardcode existing
10189  # directories.
10190  hardcode_action=unsupported
10191fi
10192{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10193$as_echo "$hardcode_action" >&6; }
10194
10195if test "$hardcode_action" = relink ||
10196   test "$inherit_rpath" = yes; then
10197  # Fast installation is not supported
10198  enable_fast_install=no
10199elif test "$shlibpath_overrides_runpath" = yes ||
10200     test "$enable_shared" = no; then
10201  # Fast installation is not necessary
10202  enable_fast_install=needless
10203fi
10204
10205
10206
10207
10208
10209
10210  if test "x$enable_dlopen" != xyes; then
10211  enable_dlopen=unknown
10212  enable_dlopen_self=unknown
10213  enable_dlopen_self_static=unknown
10214else
10215  lt_cv_dlopen=no
10216  lt_cv_dlopen_libs=
10217
10218  case $host_os in
10219  beos*)
10220    lt_cv_dlopen="load_add_on"
10221    lt_cv_dlopen_libs=
10222    lt_cv_dlopen_self=yes
10223    ;;
10224
10225  mingw* | pw32* | cegcc*)
10226    lt_cv_dlopen="LoadLibrary"
10227    lt_cv_dlopen_libs=
10228    ;;
10229
10230  cygwin*)
10231    lt_cv_dlopen="dlopen"
10232    lt_cv_dlopen_libs=
10233    ;;
10234
10235  darwin*)
10236  # if libdl is installed we need to link against it
10237    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10238$as_echo_n "checking for dlopen in -ldl... " >&6; }
10239if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10240  $as_echo_n "(cached) " >&6
10241else
10242  ac_check_lib_save_LIBS=$LIBS
10243LIBS="-ldl  $LIBS"
10244cat >conftest.$ac_ext <<_ACEOF
10245/* confdefs.h.  */
10246_ACEOF
10247cat confdefs.h >>conftest.$ac_ext
10248cat >>conftest.$ac_ext <<_ACEOF
10249/* end confdefs.h.  */
10250
10251/* Override any GCC internal prototype to avoid an error.
10252   Use char because int might match the return type of a GCC
10253   builtin and then its argument prototype would still apply.  */
10254#ifdef __cplusplus
10255extern "C"
10256#endif
10257char dlopen ();
10258int
10259main ()
10260{
10261return dlopen ();
10262  ;
10263  return 0;
10264}
10265_ACEOF
10266rm -f conftest.$ac_objext conftest$ac_exeext
10267if { (ac_try="$ac_link"
10268case "(($ac_try" in
10269  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10270  *) ac_try_echo=$ac_try;;
10271esac
10272eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10273$as_echo "$ac_try_echo") >&5
10274  (eval "$ac_link") 2>conftest.er1
10275  ac_status=$?
10276  grep -v '^ *+' conftest.er1 >conftest.err
10277  rm -f conftest.er1
10278  cat conftest.err >&5
10279  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280  (exit $ac_status); } && {
10281	 test -z "$ac_c_werror_flag" ||
10282	 test ! -s conftest.err
10283       } && test -s conftest$ac_exeext && {
10284	 test "$cross_compiling" = yes ||
10285	 $as_test_x conftest$ac_exeext
10286       }; then
10287  ac_cv_lib_dl_dlopen=yes
10288else
10289  $as_echo "$as_me: failed program was:" >&5
10290sed 's/^/| /' conftest.$ac_ext >&5
10291
10292	ac_cv_lib_dl_dlopen=no
10293fi
10294
10295rm -rf conftest.dSYM
10296rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10297      conftest$ac_exeext conftest.$ac_ext
10298LIBS=$ac_check_lib_save_LIBS
10299fi
10300{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10301$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10302if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10303  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10304else
10305
10306    lt_cv_dlopen="dyld"
10307    lt_cv_dlopen_libs=
10308    lt_cv_dlopen_self=yes
10309
10310fi
10311
10312    ;;
10313
10314  *)
10315    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10316$as_echo_n "checking for shl_load... " >&6; }
10317if test "${ac_cv_func_shl_load+set}" = set; then
10318  $as_echo_n "(cached) " >&6
10319else
10320  cat >conftest.$ac_ext <<_ACEOF
10321/* confdefs.h.  */
10322_ACEOF
10323cat confdefs.h >>conftest.$ac_ext
10324cat >>conftest.$ac_ext <<_ACEOF
10325/* end confdefs.h.  */
10326/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10327   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10328#define shl_load innocuous_shl_load
10329
10330/* System header to define __stub macros and hopefully few prototypes,
10331    which can conflict with char shl_load (); below.
10332    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10333    <limits.h> exists even on freestanding compilers.  */
10334
10335#ifdef __STDC__
10336# include <limits.h>
10337#else
10338# include <assert.h>
10339#endif
10340
10341#undef shl_load
10342
10343/* Override any GCC internal prototype to avoid an error.
10344   Use char because int might match the return type of a GCC
10345   builtin and then its argument prototype would still apply.  */
10346#ifdef __cplusplus
10347extern "C"
10348#endif
10349char shl_load ();
10350/* The GNU C library defines this for functions which it implements
10351    to always fail with ENOSYS.  Some functions are actually named
10352    something starting with __ and the normal name is an alias.  */
10353#if defined __stub_shl_load || defined __stub___shl_load
10354choke me
10355#endif
10356
10357int
10358main ()
10359{
10360return shl_load ();
10361  ;
10362  return 0;
10363}
10364_ACEOF
10365rm -f conftest.$ac_objext conftest$ac_exeext
10366if { (ac_try="$ac_link"
10367case "(($ac_try" in
10368  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10369  *) ac_try_echo=$ac_try;;
10370esac
10371eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10372$as_echo "$ac_try_echo") >&5
10373  (eval "$ac_link") 2>conftest.er1
10374  ac_status=$?
10375  grep -v '^ *+' conftest.er1 >conftest.err
10376  rm -f conftest.er1
10377  cat conftest.err >&5
10378  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379  (exit $ac_status); } && {
10380	 test -z "$ac_c_werror_flag" ||
10381	 test ! -s conftest.err
10382       } && test -s conftest$ac_exeext && {
10383	 test "$cross_compiling" = yes ||
10384	 $as_test_x conftest$ac_exeext
10385       }; then
10386  ac_cv_func_shl_load=yes
10387else
10388  $as_echo "$as_me: failed program was:" >&5
10389sed 's/^/| /' conftest.$ac_ext >&5
10390
10391	ac_cv_func_shl_load=no
10392fi
10393
10394rm -rf conftest.dSYM
10395rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10396      conftest$ac_exeext conftest.$ac_ext
10397fi
10398{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10399$as_echo "$ac_cv_func_shl_load" >&6; }
10400if test "x$ac_cv_func_shl_load" = x""yes; then
10401  lt_cv_dlopen="shl_load"
10402else
10403  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10404$as_echo_n "checking for shl_load in -ldld... " >&6; }
10405if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10406  $as_echo_n "(cached) " >&6
10407else
10408  ac_check_lib_save_LIBS=$LIBS
10409LIBS="-ldld  $LIBS"
10410cat >conftest.$ac_ext <<_ACEOF
10411/* confdefs.h.  */
10412_ACEOF
10413cat confdefs.h >>conftest.$ac_ext
10414cat >>conftest.$ac_ext <<_ACEOF
10415/* end confdefs.h.  */
10416
10417/* Override any GCC internal prototype to avoid an error.
10418   Use char because int might match the return type of a GCC
10419   builtin and then its argument prototype would still apply.  */
10420#ifdef __cplusplus
10421extern "C"
10422#endif
10423char shl_load ();
10424int
10425main ()
10426{
10427return shl_load ();
10428  ;
10429  return 0;
10430}
10431_ACEOF
10432rm -f conftest.$ac_objext conftest$ac_exeext
10433if { (ac_try="$ac_link"
10434case "(($ac_try" in
10435  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10436  *) ac_try_echo=$ac_try;;
10437esac
10438eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10439$as_echo "$ac_try_echo") >&5
10440  (eval "$ac_link") 2>conftest.er1
10441  ac_status=$?
10442  grep -v '^ *+' conftest.er1 >conftest.err
10443  rm -f conftest.er1
10444  cat conftest.err >&5
10445  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446  (exit $ac_status); } && {
10447	 test -z "$ac_c_werror_flag" ||
10448	 test ! -s conftest.err
10449       } && test -s conftest$ac_exeext && {
10450	 test "$cross_compiling" = yes ||
10451	 $as_test_x conftest$ac_exeext
10452       }; then
10453  ac_cv_lib_dld_shl_load=yes
10454else
10455  $as_echo "$as_me: failed program was:" >&5
10456sed 's/^/| /' conftest.$ac_ext >&5
10457
10458	ac_cv_lib_dld_shl_load=no
10459fi
10460
10461rm -rf conftest.dSYM
10462rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10463      conftest$ac_exeext conftest.$ac_ext
10464LIBS=$ac_check_lib_save_LIBS
10465fi
10466{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10467$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10468if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10469  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10470else
10471  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10472$as_echo_n "checking for dlopen... " >&6; }
10473if test "${ac_cv_func_dlopen+set}" = set; then
10474  $as_echo_n "(cached) " >&6
10475else
10476  cat >conftest.$ac_ext <<_ACEOF
10477/* confdefs.h.  */
10478_ACEOF
10479cat confdefs.h >>conftest.$ac_ext
10480cat >>conftest.$ac_ext <<_ACEOF
10481/* end confdefs.h.  */
10482/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10483   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10484#define dlopen innocuous_dlopen
10485
10486/* System header to define __stub macros and hopefully few prototypes,
10487    which can conflict with char dlopen (); below.
10488    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10489    <limits.h> exists even on freestanding compilers.  */
10490
10491#ifdef __STDC__
10492# include <limits.h>
10493#else
10494# include <assert.h>
10495#endif
10496
10497#undef dlopen
10498
10499/* Override any GCC internal prototype to avoid an error.
10500   Use char because int might match the return type of a GCC
10501   builtin and then its argument prototype would still apply.  */
10502#ifdef __cplusplus
10503extern "C"
10504#endif
10505char dlopen ();
10506/* The GNU C library defines this for functions which it implements
10507    to always fail with ENOSYS.  Some functions are actually named
10508    something starting with __ and the normal name is an alias.  */
10509#if defined __stub_dlopen || defined __stub___dlopen
10510choke me
10511#endif
10512
10513int
10514main ()
10515{
10516return dlopen ();
10517  ;
10518  return 0;
10519}
10520_ACEOF
10521rm -f conftest.$ac_objext conftest$ac_exeext
10522if { (ac_try="$ac_link"
10523case "(($ac_try" in
10524  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10525  *) ac_try_echo=$ac_try;;
10526esac
10527eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10528$as_echo "$ac_try_echo") >&5
10529  (eval "$ac_link") 2>conftest.er1
10530  ac_status=$?
10531  grep -v '^ *+' conftest.er1 >conftest.err
10532  rm -f conftest.er1
10533  cat conftest.err >&5
10534  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535  (exit $ac_status); } && {
10536	 test -z "$ac_c_werror_flag" ||
10537	 test ! -s conftest.err
10538       } && test -s conftest$ac_exeext && {
10539	 test "$cross_compiling" = yes ||
10540	 $as_test_x conftest$ac_exeext
10541       }; then
10542  ac_cv_func_dlopen=yes
10543else
10544  $as_echo "$as_me: failed program was:" >&5
10545sed 's/^/| /' conftest.$ac_ext >&5
10546
10547	ac_cv_func_dlopen=no
10548fi
10549
10550rm -rf conftest.dSYM
10551rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10552      conftest$ac_exeext conftest.$ac_ext
10553fi
10554{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10555$as_echo "$ac_cv_func_dlopen" >&6; }
10556if test "x$ac_cv_func_dlopen" = x""yes; then
10557  lt_cv_dlopen="dlopen"
10558else
10559  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10560$as_echo_n "checking for dlopen in -ldl... " >&6; }
10561if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10562  $as_echo_n "(cached) " >&6
10563else
10564  ac_check_lib_save_LIBS=$LIBS
10565LIBS="-ldl  $LIBS"
10566cat >conftest.$ac_ext <<_ACEOF
10567/* confdefs.h.  */
10568_ACEOF
10569cat confdefs.h >>conftest.$ac_ext
10570cat >>conftest.$ac_ext <<_ACEOF
10571/* end confdefs.h.  */
10572
10573/* Override any GCC internal prototype to avoid an error.
10574   Use char because int might match the return type of a GCC
10575   builtin and then its argument prototype would still apply.  */
10576#ifdef __cplusplus
10577extern "C"
10578#endif
10579char dlopen ();
10580int
10581main ()
10582{
10583return dlopen ();
10584  ;
10585  return 0;
10586}
10587_ACEOF
10588rm -f conftest.$ac_objext conftest$ac_exeext
10589if { (ac_try="$ac_link"
10590case "(($ac_try" in
10591  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10592  *) ac_try_echo=$ac_try;;
10593esac
10594eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10595$as_echo "$ac_try_echo") >&5
10596  (eval "$ac_link") 2>conftest.er1
10597  ac_status=$?
10598  grep -v '^ *+' conftest.er1 >conftest.err
10599  rm -f conftest.er1
10600  cat conftest.err >&5
10601  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602  (exit $ac_status); } && {
10603	 test -z "$ac_c_werror_flag" ||
10604	 test ! -s conftest.err
10605       } && test -s conftest$ac_exeext && {
10606	 test "$cross_compiling" = yes ||
10607	 $as_test_x conftest$ac_exeext
10608       }; then
10609  ac_cv_lib_dl_dlopen=yes
10610else
10611  $as_echo "$as_me: failed program was:" >&5
10612sed 's/^/| /' conftest.$ac_ext >&5
10613
10614	ac_cv_lib_dl_dlopen=no
10615fi
10616
10617rm -rf conftest.dSYM
10618rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10619      conftest$ac_exeext conftest.$ac_ext
10620LIBS=$ac_check_lib_save_LIBS
10621fi
10622{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10623$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10624if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10625  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10626else
10627  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10628$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10629if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10630  $as_echo_n "(cached) " >&6
10631else
10632  ac_check_lib_save_LIBS=$LIBS
10633LIBS="-lsvld  $LIBS"
10634cat >conftest.$ac_ext <<_ACEOF
10635/* confdefs.h.  */
10636_ACEOF
10637cat confdefs.h >>conftest.$ac_ext
10638cat >>conftest.$ac_ext <<_ACEOF
10639/* end confdefs.h.  */
10640
10641/* Override any GCC internal prototype to avoid an error.
10642   Use char because int might match the return type of a GCC
10643   builtin and then its argument prototype would still apply.  */
10644#ifdef __cplusplus
10645extern "C"
10646#endif
10647char dlopen ();
10648int
10649main ()
10650{
10651return dlopen ();
10652  ;
10653  return 0;
10654}
10655_ACEOF
10656rm -f conftest.$ac_objext conftest$ac_exeext
10657if { (ac_try="$ac_link"
10658case "(($ac_try" in
10659  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10660  *) ac_try_echo=$ac_try;;
10661esac
10662eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10663$as_echo "$ac_try_echo") >&5
10664  (eval "$ac_link") 2>conftest.er1
10665  ac_status=$?
10666  grep -v '^ *+' conftest.er1 >conftest.err
10667  rm -f conftest.er1
10668  cat conftest.err >&5
10669  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670  (exit $ac_status); } && {
10671	 test -z "$ac_c_werror_flag" ||
10672	 test ! -s conftest.err
10673       } && test -s conftest$ac_exeext && {
10674	 test "$cross_compiling" = yes ||
10675	 $as_test_x conftest$ac_exeext
10676       }; then
10677  ac_cv_lib_svld_dlopen=yes
10678else
10679  $as_echo "$as_me: failed program was:" >&5
10680sed 's/^/| /' conftest.$ac_ext >&5
10681
10682	ac_cv_lib_svld_dlopen=no
10683fi
10684
10685rm -rf conftest.dSYM
10686rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10687      conftest$ac_exeext conftest.$ac_ext
10688LIBS=$ac_check_lib_save_LIBS
10689fi
10690{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10691$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10692if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10693  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10694else
10695  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10696$as_echo_n "checking for dld_link in -ldld... " >&6; }
10697if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10698  $as_echo_n "(cached) " >&6
10699else
10700  ac_check_lib_save_LIBS=$LIBS
10701LIBS="-ldld  $LIBS"
10702cat >conftest.$ac_ext <<_ACEOF
10703/* confdefs.h.  */
10704_ACEOF
10705cat confdefs.h >>conftest.$ac_ext
10706cat >>conftest.$ac_ext <<_ACEOF
10707/* end confdefs.h.  */
10708
10709/* Override any GCC internal prototype to avoid an error.
10710   Use char because int might match the return type of a GCC
10711   builtin and then its argument prototype would still apply.  */
10712#ifdef __cplusplus
10713extern "C"
10714#endif
10715char dld_link ();
10716int
10717main ()
10718{
10719return dld_link ();
10720  ;
10721  return 0;
10722}
10723_ACEOF
10724rm -f conftest.$ac_objext conftest$ac_exeext
10725if { (ac_try="$ac_link"
10726case "(($ac_try" in
10727  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10728  *) ac_try_echo=$ac_try;;
10729esac
10730eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10731$as_echo "$ac_try_echo") >&5
10732  (eval "$ac_link") 2>conftest.er1
10733  ac_status=$?
10734  grep -v '^ *+' conftest.er1 >conftest.err
10735  rm -f conftest.er1
10736  cat conftest.err >&5
10737  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738  (exit $ac_status); } && {
10739	 test -z "$ac_c_werror_flag" ||
10740	 test ! -s conftest.err
10741       } && test -s conftest$ac_exeext && {
10742	 test "$cross_compiling" = yes ||
10743	 $as_test_x conftest$ac_exeext
10744       }; then
10745  ac_cv_lib_dld_dld_link=yes
10746else
10747  $as_echo "$as_me: failed program was:" >&5
10748sed 's/^/| /' conftest.$ac_ext >&5
10749
10750	ac_cv_lib_dld_dld_link=no
10751fi
10752
10753rm -rf conftest.dSYM
10754rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10755      conftest$ac_exeext conftest.$ac_ext
10756LIBS=$ac_check_lib_save_LIBS
10757fi
10758{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10759$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10760if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10761  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10762fi
10763
10764
10765fi
10766
10767
10768fi
10769
10770
10771fi
10772
10773
10774fi
10775
10776
10777fi
10778
10779    ;;
10780  esac
10781
10782  if test "x$lt_cv_dlopen" != xno; then
10783    enable_dlopen=yes
10784  else
10785    enable_dlopen=no
10786  fi
10787
10788  case $lt_cv_dlopen in
10789  dlopen)
10790    save_CPPFLAGS="$CPPFLAGS"
10791    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10792
10793    save_LDFLAGS="$LDFLAGS"
10794    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10795
10796    save_LIBS="$LIBS"
10797    LIBS="$lt_cv_dlopen_libs $LIBS"
10798
10799    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10800$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10801if test "${lt_cv_dlopen_self+set}" = set; then
10802  $as_echo_n "(cached) " >&6
10803else
10804  	  if test "$cross_compiling" = yes; then :
10805  lt_cv_dlopen_self=cross
10806else
10807  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10808  lt_status=$lt_dlunknown
10809  cat > conftest.$ac_ext <<_LT_EOF
10810#line 10810 "configure"
10811#include "confdefs.h"
10812
10813#if HAVE_DLFCN_H
10814#include <dlfcn.h>
10815#endif
10816
10817#include <stdio.h>
10818
10819#ifdef RTLD_GLOBAL
10820#  define LT_DLGLOBAL		RTLD_GLOBAL
10821#else
10822#  ifdef DL_GLOBAL
10823#    define LT_DLGLOBAL		DL_GLOBAL
10824#  else
10825#    define LT_DLGLOBAL		0
10826#  endif
10827#endif
10828
10829/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10830   find out it does not work in some platform. */
10831#ifndef LT_DLLAZY_OR_NOW
10832#  ifdef RTLD_LAZY
10833#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10834#  else
10835#    ifdef DL_LAZY
10836#      define LT_DLLAZY_OR_NOW		DL_LAZY
10837#    else
10838#      ifdef RTLD_NOW
10839#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10840#      else
10841#        ifdef DL_NOW
10842#          define LT_DLLAZY_OR_NOW	DL_NOW
10843#        else
10844#          define LT_DLLAZY_OR_NOW	0
10845#        endif
10846#      endif
10847#    endif
10848#  endif
10849#endif
10850
10851void fnord() { int i=42;}
10852int main ()
10853{
10854  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10855  int status = $lt_dlunknown;
10856
10857  if (self)
10858    {
10859      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10860      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10861      /* dlclose (self); */
10862    }
10863  else
10864    puts (dlerror ());
10865
10866  return status;
10867}
10868_LT_EOF
10869  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10870  (eval $ac_link) 2>&5
10871  ac_status=$?
10872  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10874    (./conftest; exit; ) >&5 2>/dev/null
10875    lt_status=$?
10876    case x$lt_status in
10877      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10878      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10879      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10880    esac
10881  else :
10882    # compilation failed
10883    lt_cv_dlopen_self=no
10884  fi
10885fi
10886rm -fr conftest*
10887
10888
10889fi
10890{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10891$as_echo "$lt_cv_dlopen_self" >&6; }
10892
10893    if test "x$lt_cv_dlopen_self" = xyes; then
10894      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10895      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10896$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10897if test "${lt_cv_dlopen_self_static+set}" = set; then
10898  $as_echo_n "(cached) " >&6
10899else
10900  	  if test "$cross_compiling" = yes; then :
10901  lt_cv_dlopen_self_static=cross
10902else
10903  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10904  lt_status=$lt_dlunknown
10905  cat > conftest.$ac_ext <<_LT_EOF
10906#line 10906 "configure"
10907#include "confdefs.h"
10908
10909#if HAVE_DLFCN_H
10910#include <dlfcn.h>
10911#endif
10912
10913#include <stdio.h>
10914
10915#ifdef RTLD_GLOBAL
10916#  define LT_DLGLOBAL		RTLD_GLOBAL
10917#else
10918#  ifdef DL_GLOBAL
10919#    define LT_DLGLOBAL		DL_GLOBAL
10920#  else
10921#    define LT_DLGLOBAL		0
10922#  endif
10923#endif
10924
10925/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10926   find out it does not work in some platform. */
10927#ifndef LT_DLLAZY_OR_NOW
10928#  ifdef RTLD_LAZY
10929#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10930#  else
10931#    ifdef DL_LAZY
10932#      define LT_DLLAZY_OR_NOW		DL_LAZY
10933#    else
10934#      ifdef RTLD_NOW
10935#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10936#      else
10937#        ifdef DL_NOW
10938#          define LT_DLLAZY_OR_NOW	DL_NOW
10939#        else
10940#          define LT_DLLAZY_OR_NOW	0
10941#        endif
10942#      endif
10943#    endif
10944#  endif
10945#endif
10946
10947void fnord() { int i=42;}
10948int main ()
10949{
10950  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10951  int status = $lt_dlunknown;
10952
10953  if (self)
10954    {
10955      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10956      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10957      /* dlclose (self); */
10958    }
10959  else
10960    puts (dlerror ());
10961
10962  return status;
10963}
10964_LT_EOF
10965  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10966  (eval $ac_link) 2>&5
10967  ac_status=$?
10968  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10970    (./conftest; exit; ) >&5 2>/dev/null
10971    lt_status=$?
10972    case x$lt_status in
10973      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10974      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10975      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10976    esac
10977  else :
10978    # compilation failed
10979    lt_cv_dlopen_self_static=no
10980  fi
10981fi
10982rm -fr conftest*
10983
10984
10985fi
10986{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10987$as_echo "$lt_cv_dlopen_self_static" >&6; }
10988    fi
10989
10990    CPPFLAGS="$save_CPPFLAGS"
10991    LDFLAGS="$save_LDFLAGS"
10992    LIBS="$save_LIBS"
10993    ;;
10994  esac
10995
10996  case $lt_cv_dlopen_self in
10997  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10998  *) enable_dlopen_self=unknown ;;
10999  esac
11000
11001  case $lt_cv_dlopen_self_static in
11002  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11003  *) enable_dlopen_self_static=unknown ;;
11004  esac
11005fi
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023striplib=
11024old_striplib=
11025{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11026$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11027if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11028  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11029  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11030  { $as_echo "$as_me:$LINENO: result: yes" >&5
11031$as_echo "yes" >&6; }
11032else
11033# FIXME - insert some real tests, host_os isn't really good enough
11034  case $host_os in
11035  darwin*)
11036    if test -n "$STRIP" ; then
11037      striplib="$STRIP -x"
11038      old_striplib="$STRIP -S"
11039      { $as_echo "$as_me:$LINENO: result: yes" >&5
11040$as_echo "yes" >&6; }
11041    else
11042      { $as_echo "$as_me:$LINENO: result: no" >&5
11043$as_echo "no" >&6; }
11044    fi
11045    ;;
11046  *)
11047    { $as_echo "$as_me:$LINENO: result: no" >&5
11048$as_echo "no" >&6; }
11049    ;;
11050  esac
11051fi
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064  # Report which library types will actually be built
11065  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11066$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11067  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11068$as_echo "$can_build_shared" >&6; }
11069
11070  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11071$as_echo_n "checking whether to build shared libraries... " >&6; }
11072  test "$can_build_shared" = "no" && enable_shared=no
11073
11074  # On AIX, shared libraries and static libraries use the same namespace, and
11075  # are all built from PIC.
11076  case $host_os in
11077  aix3*)
11078    test "$enable_shared" = yes && enable_static=no
11079    if test -n "$RANLIB"; then
11080      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11081      postinstall_cmds='$RANLIB $lib'
11082    fi
11083    ;;
11084
11085  aix[4-9]*)
11086    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11087      test "$enable_shared" = yes && enable_static=no
11088    fi
11089    ;;
11090  esac
11091  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11092$as_echo "$enable_shared" >&6; }
11093
11094  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11095$as_echo_n "checking whether to build static libraries... " >&6; }
11096  # Make sure either enable_shared or enable_static is yes.
11097  test "$enable_shared" = yes || enable_static=yes
11098  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11099$as_echo "$enable_static" >&6; }
11100
11101
11102
11103
11104fi
11105ac_ext=c
11106ac_cpp='$CPP $CPPFLAGS'
11107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11109ac_compiler_gnu=$ac_cv_c_compiler_gnu
11110
11111CC="$lt_save_CC"
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125        ac_config_commands="$ac_config_commands libtool"
11126
11127
11128
11129
11130# Only expand once:
11131
11132
11133
11134
11135if  test "x$GCC" = xyes ; then
11136    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
11137-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
11138-Wbad-function-cast"
11139    case `$CC -dumpversion` in
11140    3.4.* | 4.*)
11141	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
11142	;;
11143    esac
11144else
11145    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
11146$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
11147if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
11148  $as_echo_n "(cached) " >&6
11149else
11150  cat >conftest.$ac_ext <<_ACEOF
11151/* confdefs.h.  */
11152_ACEOF
11153cat confdefs.h >>conftest.$ac_ext
11154cat >>conftest.$ac_ext <<_ACEOF
11155/* end confdefs.h.  */
11156$ac_includes_default
11157int
11158main ()
11159{
11160#ifndef __SUNPRO_C
11161  (void) __SUNPRO_C;
11162#endif
11163
11164  ;
11165  return 0;
11166}
11167_ACEOF
11168rm -f conftest.$ac_objext
11169if { (ac_try="$ac_compile"
11170case "(($ac_try" in
11171  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11172  *) ac_try_echo=$ac_try;;
11173esac
11174eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11175$as_echo "$ac_try_echo") >&5
11176  (eval "$ac_compile") 2>conftest.er1
11177  ac_status=$?
11178  grep -v '^ *+' conftest.er1 >conftest.err
11179  rm -f conftest.er1
11180  cat conftest.err >&5
11181  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182  (exit $ac_status); } && {
11183	 test -z "$ac_c_werror_flag" ||
11184	 test ! -s conftest.err
11185       } && test -s conftest.$ac_objext; then
11186  ac_cv_have_decl___SUNPRO_C=yes
11187else
11188  $as_echo "$as_me: failed program was:" >&5
11189sed 's/^/| /' conftest.$ac_ext >&5
11190
11191	ac_cv_have_decl___SUNPRO_C=no
11192fi
11193
11194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11195fi
11196{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
11197$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
11198if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
11199  SUNCC="yes"
11200else
11201  SUNCC="no"
11202fi
11203
11204    if test "x$SUNCC" = "xyes"; then
11205	CWARNFLAGS="-v"
11206    fi
11207fi
11208
11209# Check whether --enable-silent-rules was given.
11210if test "${enable_silent_rules+set}" = set; then
11211  enableval=$enable_silent_rules;
11212fi
11213
11214case $enable_silent_rules in
11215yes) AM_DEFAULT_VERBOSITY=0;;
11216no)  AM_DEFAULT_VERBOSITY=1;;
11217*)   AM_DEFAULT_VERBOSITY=0;;
11218esac
11219AM_BACKSLASH='\'
11220
11221
11222
11223encodingsdir=${libdir}/X11/fonts/encodings
11224
11225# Check whether --with-encodingsdir was given.
11226if test "${with_encodingsdir+set}" = set; then
11227  withval=$with_encodingsdir; encodingsdir="$withval"
11228fi
11229
11230ENCODINGSDIR="$encodingsdir"
11231
11232
11233# zlib
11234
11235
11236{ $as_echo "$as_me:$LINENO: checking for gzclose in -lz" >&5
11237$as_echo_n "checking for gzclose in -lz... " >&6; }
11238if test "${ac_cv_lib_z_gzclose+set}" = set; then
11239  $as_echo_n "(cached) " >&6
11240else
11241  ac_check_lib_save_LIBS=$LIBS
11242LIBS="-lz  $LIBS"
11243cat >conftest.$ac_ext <<_ACEOF
11244/* confdefs.h.  */
11245_ACEOF
11246cat confdefs.h >>conftest.$ac_ext
11247cat >>conftest.$ac_ext <<_ACEOF
11248/* end confdefs.h.  */
11249
11250/* Override any GCC internal prototype to avoid an error.
11251   Use char because int might match the return type of a GCC
11252   builtin and then its argument prototype would still apply.  */
11253#ifdef __cplusplus
11254extern "C"
11255#endif
11256char gzclose ();
11257int
11258main ()
11259{
11260return gzclose ();
11261  ;
11262  return 0;
11263}
11264_ACEOF
11265rm -f conftest.$ac_objext conftest$ac_exeext
11266if { (ac_try="$ac_link"
11267case "(($ac_try" in
11268  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11269  *) ac_try_echo=$ac_try;;
11270esac
11271eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11272$as_echo "$ac_try_echo") >&5
11273  (eval "$ac_link") 2>conftest.er1
11274  ac_status=$?
11275  grep -v '^ *+' conftest.er1 >conftest.err
11276  rm -f conftest.er1
11277  cat conftest.err >&5
11278  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279  (exit $ac_status); } && {
11280	 test -z "$ac_c_werror_flag" ||
11281	 test ! -s conftest.err
11282       } && test -s conftest$ac_exeext && {
11283	 test "$cross_compiling" = yes ||
11284	 $as_test_x conftest$ac_exeext
11285       }; then
11286  ac_cv_lib_z_gzclose=yes
11287else
11288  $as_echo "$as_me: failed program was:" >&5
11289sed 's/^/| /' conftest.$ac_ext >&5
11290
11291	ac_cv_lib_z_gzclose=no
11292fi
11293
11294rm -rf conftest.dSYM
11295rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11296      conftest$ac_exeext conftest.$ac_ext
11297LIBS=$ac_check_lib_save_LIBS
11298fi
11299{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzclose" >&5
11300$as_echo "$ac_cv_lib_z_gzclose" >&6; }
11301if test "x$ac_cv_lib_z_gzclose" = x""yes; then
11302  cat >>confdefs.h <<_ACEOF
11303#define HAVE_LIBZ 1
11304_ACEOF
11305
11306  LIBS="-lz $LIBS"
11307
11308fi
11309
11310
11311# Check for dependencies
11312
11313
11314if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11315	if test -n "$ac_tool_prefix"; then
11316  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11317set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11318{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11319$as_echo_n "checking for $ac_word... " >&6; }
11320if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11321  $as_echo_n "(cached) " >&6
11322else
11323  case $PKG_CONFIG in
11324  [\\/]* | ?:[\\/]*)
11325  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11326  ;;
11327  *)
11328  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11329for as_dir in $PATH
11330do
11331  IFS=$as_save_IFS
11332  test -z "$as_dir" && as_dir=.
11333  for ac_exec_ext in '' $ac_executable_extensions; do
11334  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11335    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11336    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11337    break 2
11338  fi
11339done
11340done
11341IFS=$as_save_IFS
11342
11343  ;;
11344esac
11345fi
11346PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11347if test -n "$PKG_CONFIG"; then
11348  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11349$as_echo "$PKG_CONFIG" >&6; }
11350else
11351  { $as_echo "$as_me:$LINENO: result: no" >&5
11352$as_echo "no" >&6; }
11353fi
11354
11355
11356fi
11357if test -z "$ac_cv_path_PKG_CONFIG"; then
11358  ac_pt_PKG_CONFIG=$PKG_CONFIG
11359  # Extract the first word of "pkg-config", so it can be a program name with args.
11360set dummy pkg-config; ac_word=$2
11361{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11362$as_echo_n "checking for $ac_word... " >&6; }
11363if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11364  $as_echo_n "(cached) " >&6
11365else
11366  case $ac_pt_PKG_CONFIG in
11367  [\\/]* | ?:[\\/]*)
11368  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11369  ;;
11370  *)
11371  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11372for as_dir in $PATH
11373do
11374  IFS=$as_save_IFS
11375  test -z "$as_dir" && as_dir=.
11376  for ac_exec_ext in '' $ac_executable_extensions; do
11377  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11378    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11379    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11380    break 2
11381  fi
11382done
11383done
11384IFS=$as_save_IFS
11385
11386  ;;
11387esac
11388fi
11389ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11390if test -n "$ac_pt_PKG_CONFIG"; then
11391  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11392$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11393else
11394  { $as_echo "$as_me:$LINENO: result: no" >&5
11395$as_echo "no" >&6; }
11396fi
11397
11398  if test "x$ac_pt_PKG_CONFIG" = x; then
11399    PKG_CONFIG=""
11400  else
11401    case $cross_compiling:$ac_tool_warned in
11402yes:)
11403{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11404$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11405ac_tool_warned=yes ;;
11406esac
11407    PKG_CONFIG=$ac_pt_PKG_CONFIG
11408  fi
11409else
11410  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11411fi
11412
11413fi
11414if test -n "$PKG_CONFIG"; then
11415	_pkg_min_version=0.9.0
11416	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11417$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11418	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11419		{ $as_echo "$as_me:$LINENO: result: yes" >&5
11420$as_echo "yes" >&6; }
11421	else
11422		{ $as_echo "$as_me:$LINENO: result: no" >&5
11423$as_echo "no" >&6; }
11424		PKG_CONFIG=""
11425	fi
11426
11427fi
11428
11429pkg_failed=no
11430{ $as_echo "$as_me:$LINENO: checking for FONTENC" >&5
11431$as_echo_n "checking for FONTENC... " >&6; }
11432
11433if test -n "$FONTENC_CFLAGS"; then
11434    pkg_cv_FONTENC_CFLAGS="$FONTENC_CFLAGS"
11435 elif test -n "$PKG_CONFIG"; then
11436    if test -n "$PKG_CONFIG" && \
11437    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
11438  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
11439  ac_status=$?
11440  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441  (exit $ac_status); }; then
11442  pkg_cv_FONTENC_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
11443else
11444  pkg_failed=yes
11445fi
11446 else
11447    pkg_failed=untried
11448fi
11449if test -n "$FONTENC_LIBS"; then
11450    pkg_cv_FONTENC_LIBS="$FONTENC_LIBS"
11451 elif test -n "$PKG_CONFIG"; then
11452    if test -n "$PKG_CONFIG" && \
11453    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
11454  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
11455  ac_status=$?
11456  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457  (exit $ac_status); }; then
11458  pkg_cv_FONTENC_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
11459else
11460  pkg_failed=yes
11461fi
11462 else
11463    pkg_failed=untried
11464fi
11465
11466
11467
11468if test $pkg_failed = yes; then
11469
11470if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11471        _pkg_short_errors_supported=yes
11472else
11473        _pkg_short_errors_supported=no
11474fi
11475        if test $_pkg_short_errors_supported = yes; then
11476	        FONTENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
11477        else
11478	        FONTENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
11479        fi
11480	# Put the nasty error message in config.log where it belongs
11481	echo "$FONTENC_PKG_ERRORS" >&5
11482
11483	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto) were not met:
11484
11485$FONTENC_PKG_ERRORS
11486
11487Consider adjusting the PKG_CONFIG_PATH environment variable if you
11488installed software in a non-standard prefix.
11489
11490Alternatively, you may set the environment variables FONTENC_CFLAGS
11491and FONTENC_LIBS to avoid the need to call pkg-config.
11492See the pkg-config man page for more details.
11493" >&5
11494$as_echo "$as_me: error: Package requirements (xproto) were not met:
11495
11496$FONTENC_PKG_ERRORS
11497
11498Consider adjusting the PKG_CONFIG_PATH environment variable if you
11499installed software in a non-standard prefix.
11500
11501Alternatively, you may set the environment variables FONTENC_CFLAGS
11502and FONTENC_LIBS to avoid the need to call pkg-config.
11503See the pkg-config man page for more details.
11504" >&2;}
11505   { (exit 1); exit 1; }; }
11506elif test $pkg_failed = untried; then
11507	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11508$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11509{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
11510is in your PATH or set the PKG_CONFIG environment variable to the full
11511path to pkg-config.
11512
11513Alternatively, you may set the environment variables FONTENC_CFLAGS
11514and FONTENC_LIBS to avoid the need to call pkg-config.
11515See the pkg-config man page for more details.
11516
11517To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11518See \`config.log' for more details." >&5
11519$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
11520is in your PATH or set the PKG_CONFIG environment variable to the full
11521path to pkg-config.
11522
11523Alternatively, you may set the environment variables FONTENC_CFLAGS
11524and FONTENC_LIBS to avoid the need to call pkg-config.
11525See the pkg-config man page for more details.
11526
11527To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11528See \`config.log' for more details." >&2;}
11529   { (exit 1); exit 1; }; }; }
11530else
11531	FONTENC_CFLAGS=$pkg_cv_FONTENC_CFLAGS
11532	FONTENC_LIBS=$pkg_cv_FONTENC_LIBS
11533        { $as_echo "$as_me:$LINENO: result: yes" >&5
11534$as_echo "yes" >&6; }
11535	:
11536fi
11537FONTENC_CFLAGS="$CWARNFLAGS $FONTENC_CFLAGS"
11538
11539
11540
11541
11542
11543# Allow checking code with lint, sparse, etc.
11544
11545# Check whether --with-lint was given.
11546if test "${with_lint+set}" = set; then
11547  withval=$with_lint; use_lint=$withval
11548else
11549  use_lint=no
11550fi
11551
11552if test "x$use_lint" = "xyes" ; then
11553	LINT="lint"
11554else
11555	LINT="$use_lint"
11556fi
11557if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
11558    case $LINT in
11559	lint|*/lint)
11560	    case $host_os in
11561		solaris*)
11562			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
11563			;;
11564	    esac
11565	    ;;
11566    esac
11567fi
11568
11569
11570
11571 if test x$LINT != xno; then
11572  LINT_TRUE=
11573  LINT_FALSE='#'
11574else
11575  LINT_TRUE='#'
11576  LINT_FALSE=
11577fi
11578
11579
11580
11581LINT_FLAGS="${LINT_FLAGS} ${FONTENC_CFLAGS}"
11582
11583
11584
11585# Check whether --with-release-version was given.
11586if test "${with_release_version+set}" = set; then
11587  withval=$with_release_version; RELEASE_VERSION="$withval"
11588else
11589  RELEASE_VERSION=""
11590fi
11591
11592	if test "x$RELEASE_VERSION" != "x"; then
11593		PACKAGE="$PACKAGE-$RELEASE_VERSION"
11594		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
11595		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
11596$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
11597	fi
11598
11599cat >>confdefs.h <<_ACEOF
11600#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
11601_ACEOF
11602
11603	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
11604	if test "x$PVM" = "x"; then
11605		PVM="0"
11606	fi
11607
11608cat >>confdefs.h <<_ACEOF
11609#define PACKAGE_VERSION_MINOR $PVM
11610_ACEOF
11611
11612	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
11613	if test "x$PVP" = "x"; then
11614		PVP="0"
11615	fi
11616
11617cat >>confdefs.h <<_ACEOF
11618#define PACKAGE_VERSION_PATCHLEVEL $PVP
11619_ACEOF
11620
11621
11622
11623CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
11624mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
11625echo 'git directory not found: installing possibly empty changelog.' >&2)"
11626
11627distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
11628
11629
11630
11631ac_config_files="$ac_config_files Makefile src/Makefile fontenc.pc"
11632
11633cat >confcache <<\_ACEOF
11634# This file is a shell script that caches the results of configure
11635# tests run on this system so they can be shared between configure
11636# scripts and configure runs, see configure's option --config-cache.
11637# It is not useful on other systems.  If it contains results you don't
11638# want to keep, you may remove or edit it.
11639#
11640# config.status only pays attention to the cache file if you give it
11641# the --recheck option to rerun configure.
11642#
11643# `ac_cv_env_foo' variables (set or unset) will be overridden when
11644# loading this file, other *unset* `ac_cv_foo' will be assigned the
11645# following values.
11646
11647_ACEOF
11648
11649# The following way of writing the cache mishandles newlines in values,
11650# but we know of no workaround that is simple, portable, and efficient.
11651# So, we kill variables containing newlines.
11652# Ultrix sh set writes to stderr and can't be redirected directly,
11653# and sets the high bit in the cache file unless we assign to the vars.
11654(
11655  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11656    eval ac_val=\$$ac_var
11657    case $ac_val in #(
11658    *${as_nl}*)
11659      case $ac_var in #(
11660      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
11661$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11662      esac
11663      case $ac_var in #(
11664      _ | IFS | as_nl) ;; #(
11665      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11666      *) $as_unset $ac_var ;;
11667      esac ;;
11668    esac
11669  done
11670
11671  (set) 2>&1 |
11672    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11673    *${as_nl}ac_space=\ *)
11674      # `set' does not quote correctly, so add quotes (double-quote
11675      # substitution turns \\\\ into \\, and sed turns \\ into \).
11676      sed -n \
11677	"s/'/'\\\\''/g;
11678	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11679      ;; #(
11680    *)
11681      # `set' quotes correctly as required by POSIX, so do not add quotes.
11682      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11683      ;;
11684    esac |
11685    sort
11686) |
11687  sed '
11688     /^ac_cv_env_/b end
11689     t clear
11690     :clear
11691     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11692     t end
11693     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11694     :end' >>confcache
11695if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11696  if test -w "$cache_file"; then
11697    test "x$cache_file" != "x/dev/null" &&
11698      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
11699$as_echo "$as_me: updating cache $cache_file" >&6;}
11700    cat confcache >$cache_file
11701  else
11702    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11703$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11704  fi
11705fi
11706rm -f confcache
11707
11708test "x$prefix" = xNONE && prefix=$ac_default_prefix
11709# Let make expand exec_prefix.
11710test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11711
11712DEFS=-DHAVE_CONFIG_H
11713
11714ac_libobjs=
11715ac_ltlibobjs=
11716for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11717  # 1. Remove the extension, and $U if already installed.
11718  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11719  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11720  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11721  #    will be set to the directory where LIBOBJS objects are built.
11722  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11723  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11724done
11725LIBOBJS=$ac_libobjs
11726
11727LTLIBOBJS=$ac_ltlibobjs
11728
11729
11730 if test -n "$EXEEXT"; then
11731  am__EXEEXT_TRUE=
11732  am__EXEEXT_FALSE='#'
11733else
11734  am__EXEEXT_TRUE='#'
11735  am__EXEEXT_FALSE=
11736fi
11737
11738if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11739  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11740Usually this means the macro was only invoked conditionally." >&5
11741$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11742Usually this means the macro was only invoked conditionally." >&2;}
11743   { (exit 1); exit 1; }; }
11744fi
11745if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11746  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11747Usually this means the macro was only invoked conditionally." >&5
11748$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
11749Usually this means the macro was only invoked conditionally." >&2;}
11750   { (exit 1); exit 1; }; }
11751fi
11752if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11753  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11754Usually this means the macro was only invoked conditionally." >&5
11755$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11756Usually this means the macro was only invoked conditionally." >&2;}
11757   { (exit 1); exit 1; }; }
11758fi
11759if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
11760  { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
11761Usually this means the macro was only invoked conditionally." >&5
11762$as_echo "$as_me: error: conditional \"LINT\" was never defined.
11763Usually this means the macro was only invoked conditionally." >&2;}
11764   { (exit 1); exit 1; }; }
11765fi
11766
11767: ${CONFIG_STATUS=./config.status}
11768ac_write_fail=0
11769ac_clean_files_save=$ac_clean_files
11770ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11771{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11772$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11773cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11774#! $SHELL
11775# Generated by $as_me.
11776# Run this file to recreate the current configuration.
11777# Compiler output produced by configure, useful for debugging
11778# configure, is in config.log if it exists.
11779
11780debug=false
11781ac_cs_recheck=false
11782ac_cs_silent=false
11783SHELL=\${CONFIG_SHELL-$SHELL}
11784_ACEOF
11785
11786cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11787## --------------------- ##
11788## M4sh Initialization.  ##
11789## --------------------- ##
11790
11791# Be more Bourne compatible
11792DUALCASE=1; export DUALCASE # for MKS sh
11793if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11794  emulate sh
11795  NULLCMD=:
11796  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11797  # is contrary to our usage.  Disable this feature.
11798  alias -g '${1+"$@"}'='"$@"'
11799  setopt NO_GLOB_SUBST
11800else
11801  case `(set -o) 2>/dev/null` in
11802  *posix*) set -o posix ;;
11803esac
11804
11805fi
11806
11807
11808
11809
11810# PATH needs CR
11811# Avoid depending upon Character Ranges.
11812as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11813as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11814as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11815as_cr_digits='0123456789'
11816as_cr_alnum=$as_cr_Letters$as_cr_digits
11817
11818as_nl='
11819'
11820export as_nl
11821# Printing a long string crashes Solaris 7 /usr/bin/printf.
11822as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11823as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11824as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11825if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11826  as_echo='printf %s\n'
11827  as_echo_n='printf %s'
11828else
11829  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11830    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11831    as_echo_n='/usr/ucb/echo -n'
11832  else
11833    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11834    as_echo_n_body='eval
11835      arg=$1;
11836      case $arg in
11837      *"$as_nl"*)
11838	expr "X$arg" : "X\\(.*\\)$as_nl";
11839	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11840      esac;
11841      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11842    '
11843    export as_echo_n_body
11844    as_echo_n='sh -c $as_echo_n_body as_echo'
11845  fi
11846  export as_echo_body
11847  as_echo='sh -c $as_echo_body as_echo'
11848fi
11849
11850# The user is always right.
11851if test "${PATH_SEPARATOR+set}" != set; then
11852  PATH_SEPARATOR=:
11853  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11854    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11855      PATH_SEPARATOR=';'
11856  }
11857fi
11858
11859# Support unset when possible.
11860if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11861  as_unset=unset
11862else
11863  as_unset=false
11864fi
11865
11866
11867# IFS
11868# We need space, tab and new line, in precisely that order.  Quoting is
11869# there to prevent editors from complaining about space-tab.
11870# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11871# splitting by setting IFS to empty value.)
11872IFS=" ""	$as_nl"
11873
11874# Find who we are.  Look in the path if we contain no directory separator.
11875case $0 in
11876  *[\\/]* ) as_myself=$0 ;;
11877  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11878for as_dir in $PATH
11879do
11880  IFS=$as_save_IFS
11881  test -z "$as_dir" && as_dir=.
11882  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11883done
11884IFS=$as_save_IFS
11885
11886     ;;
11887esac
11888# We did not find ourselves, most probably we were run as `sh COMMAND'
11889# in which case we are not to be found in the path.
11890if test "x$as_myself" = x; then
11891  as_myself=$0
11892fi
11893if test ! -f "$as_myself"; then
11894  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11895  { (exit 1); exit 1; }
11896fi
11897
11898# Work around bugs in pre-3.0 UWIN ksh.
11899for as_var in ENV MAIL MAILPATH
11900do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11901done
11902PS1='$ '
11903PS2='> '
11904PS4='+ '
11905
11906# NLS nuisances.
11907LC_ALL=C
11908export LC_ALL
11909LANGUAGE=C
11910export LANGUAGE
11911
11912# Required to use basename.
11913if expr a : '\(a\)' >/dev/null 2>&1 &&
11914   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11915  as_expr=expr
11916else
11917  as_expr=false
11918fi
11919
11920if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11921  as_basename=basename
11922else
11923  as_basename=false
11924fi
11925
11926
11927# Name of the executable.
11928as_me=`$as_basename -- "$0" ||
11929$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11930	 X"$0" : 'X\(//\)$' \| \
11931	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11932$as_echo X/"$0" |
11933    sed '/^.*\/\([^/][^/]*\)\/*$/{
11934	    s//\1/
11935	    q
11936	  }
11937	  /^X\/\(\/\/\)$/{
11938	    s//\1/
11939	    q
11940	  }
11941	  /^X\/\(\/\).*/{
11942	    s//\1/
11943	    q
11944	  }
11945	  s/.*/./; q'`
11946
11947# CDPATH.
11948$as_unset CDPATH
11949
11950
11951
11952  as_lineno_1=$LINENO
11953  as_lineno_2=$LINENO
11954  test "x$as_lineno_1" != "x$as_lineno_2" &&
11955  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11956
11957  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11958  # uniformly replaced by the line number.  The first 'sed' inserts a
11959  # line-number line after each line using $LINENO; the second 'sed'
11960  # does the real work.  The second script uses 'N' to pair each
11961  # line-number line with the line containing $LINENO, and appends
11962  # trailing '-' during substitution so that $LINENO is not a special
11963  # case at line end.
11964  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11965  # scripts with optimization help from Paolo Bonzini.  Blame Lee
11966  # E. McMahon (1931-1989) for sed's syntax.  :-)
11967  sed -n '
11968    p
11969    /[$]LINENO/=
11970  ' <$as_myself |
11971    sed '
11972      s/[$]LINENO.*/&-/
11973      t lineno
11974      b
11975      :lineno
11976      N
11977      :loop
11978      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11979      t loop
11980      s/-\n.*//
11981    ' >$as_me.lineno &&
11982  chmod +x "$as_me.lineno" ||
11983    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11984   { (exit 1); exit 1; }; }
11985
11986  # Don't try to exec as it changes $[0], causing all sort of problems
11987  # (the dirname of $[0] is not the place where we might find the
11988  # original and so on.  Autoconf is especially sensitive to this).
11989  . "./$as_me.lineno"
11990  # Exit status is that of the last command.
11991  exit
11992}
11993
11994
11995if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11996  as_dirname=dirname
11997else
11998  as_dirname=false
11999fi
12000
12001ECHO_C= ECHO_N= ECHO_T=
12002case `echo -n x` in
12003-n*)
12004  case `echo 'x\c'` in
12005  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
12006  *)   ECHO_C='\c';;
12007  esac;;
12008*)
12009  ECHO_N='-n';;
12010esac
12011if expr a : '\(a\)' >/dev/null 2>&1 &&
12012   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12013  as_expr=expr
12014else
12015  as_expr=false
12016fi
12017
12018rm -f conf$$ conf$$.exe conf$$.file
12019if test -d conf$$.dir; then
12020  rm -f conf$$.dir/conf$$.file
12021else
12022  rm -f conf$$.dir
12023  mkdir conf$$.dir 2>/dev/null
12024fi
12025if (echo >conf$$.file) 2>/dev/null; then
12026  if ln -s conf$$.file conf$$ 2>/dev/null; then
12027    as_ln_s='ln -s'
12028    # ... but there are two gotchas:
12029    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12030    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12031    # In both cases, we have to default to `cp -p'.
12032    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12033      as_ln_s='cp -p'
12034  elif ln conf$$.file conf$$ 2>/dev/null; then
12035    as_ln_s=ln
12036  else
12037    as_ln_s='cp -p'
12038  fi
12039else
12040  as_ln_s='cp -p'
12041fi
12042rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12043rmdir conf$$.dir 2>/dev/null
12044
12045if mkdir -p . 2>/dev/null; then
12046  as_mkdir_p=:
12047else
12048  test -d ./-p && rmdir ./-p
12049  as_mkdir_p=false
12050fi
12051
12052if test -x / >/dev/null 2>&1; then
12053  as_test_x='test -x'
12054else
12055  if ls -dL / >/dev/null 2>&1; then
12056    as_ls_L_option=L
12057  else
12058    as_ls_L_option=
12059  fi
12060  as_test_x='
12061    eval sh -c '\''
12062      if test -d "$1"; then
12063	test -d "$1/.";
12064      else
12065	case $1 in
12066	-*)set "./$1";;
12067	esac;
12068	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12069	???[sx]*):;;*)false;;esac;fi
12070    '\'' sh
12071  '
12072fi
12073as_executable_p=$as_test_x
12074
12075# Sed expression to map a string onto a valid CPP name.
12076as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12077
12078# Sed expression to map a string onto a valid variable name.
12079as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12080
12081
12082exec 6>&1
12083
12084# Save the log message, to keep $[0] and so on meaningful, and to
12085# report actual input values of CONFIG_FILES etc. instead of their
12086# values after options handling.
12087ac_log="
12088This file was extended by libfontenc $as_me 1.0.5, which was
12089generated by GNU Autoconf 2.63.  Invocation command line was
12090
12091  CONFIG_FILES    = $CONFIG_FILES
12092  CONFIG_HEADERS  = $CONFIG_HEADERS
12093  CONFIG_LINKS    = $CONFIG_LINKS
12094  CONFIG_COMMANDS = $CONFIG_COMMANDS
12095  $ $0 $@
12096
12097on `(hostname || uname -n) 2>/dev/null | sed 1q`
12098"
12099
12100_ACEOF
12101
12102case $ac_config_files in *"
12103"*) set x $ac_config_files; shift; ac_config_files=$*;;
12104esac
12105
12106case $ac_config_headers in *"
12107"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12108esac
12109
12110
12111cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12112# Files that config.status was made for.
12113config_files="$ac_config_files"
12114config_headers="$ac_config_headers"
12115config_commands="$ac_config_commands"
12116
12117_ACEOF
12118
12119cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12120ac_cs_usage="\
12121\`$as_me' instantiates files from templates according to the
12122current configuration.
12123
12124Usage: $0 [OPTION]... [FILE]...
12125
12126  -h, --help       print this help, then exit
12127  -V, --version    print version number and configuration settings, then exit
12128  -q, --quiet, --silent
12129                   do not print progress messages
12130  -d, --debug      don't remove temporary files
12131      --recheck    update $as_me by reconfiguring in the same conditions
12132      --file=FILE[:TEMPLATE]
12133                   instantiate the configuration file FILE
12134      --header=FILE[:TEMPLATE]
12135                   instantiate the configuration header FILE
12136
12137Configuration files:
12138$config_files
12139
12140Configuration headers:
12141$config_headers
12142
12143Configuration commands:
12144$config_commands
12145
12146Report bugs to <bug-autoconf@gnu.org>."
12147
12148_ACEOF
12149cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12150ac_cs_version="\\
12151libfontenc config.status 1.0.5
12152configured by $0, generated by GNU Autoconf 2.63,
12153  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12154
12155Copyright (C) 2008 Free Software Foundation, Inc.
12156This config.status script is free software; the Free Software Foundation
12157gives unlimited permission to copy, distribute and modify it."
12158
12159ac_pwd='$ac_pwd'
12160srcdir='$srcdir'
12161INSTALL='$INSTALL'
12162MKDIR_P='$MKDIR_P'
12163AWK='$AWK'
12164test -n "\$AWK" || AWK=awk
12165_ACEOF
12166
12167cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12168# The default lists apply if the user does not specify any file.
12169ac_need_defaults=:
12170while test $# != 0
12171do
12172  case $1 in
12173  --*=*)
12174    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12175    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12176    ac_shift=:
12177    ;;
12178  *)
12179    ac_option=$1
12180    ac_optarg=$2
12181    ac_shift=shift
12182    ;;
12183  esac
12184
12185  case $ac_option in
12186  # Handling of the options.
12187  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12188    ac_cs_recheck=: ;;
12189  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12190    $as_echo "$ac_cs_version"; exit ;;
12191  --debug | --debu | --deb | --de | --d | -d )
12192    debug=: ;;
12193  --file | --fil | --fi | --f )
12194    $ac_shift
12195    case $ac_optarg in
12196    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12197    esac
12198    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
12199    ac_need_defaults=false;;
12200  --header | --heade | --head | --hea )
12201    $ac_shift
12202    case $ac_optarg in
12203    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12204    esac
12205    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
12206    ac_need_defaults=false;;
12207  --he | --h)
12208    # Conflict between --help and --header
12209    { $as_echo "$as_me: error: ambiguous option: $1
12210Try \`$0 --help' for more information." >&2
12211   { (exit 1); exit 1; }; };;
12212  --help | --hel | -h )
12213    $as_echo "$ac_cs_usage"; exit ;;
12214  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12215  | -silent | --silent | --silen | --sile | --sil | --si | --s)
12216    ac_cs_silent=: ;;
12217
12218  # This is an error.
12219  -*) { $as_echo "$as_me: error: unrecognized option: $1
12220Try \`$0 --help' for more information." >&2
12221   { (exit 1); exit 1; }; } ;;
12222
12223  *) ac_config_targets="$ac_config_targets $1"
12224     ac_need_defaults=false ;;
12225
12226  esac
12227  shift
12228done
12229
12230ac_configure_extra_args=
12231
12232if $ac_cs_silent; then
12233  exec 6>/dev/null
12234  ac_configure_extra_args="$ac_configure_extra_args --silent"
12235fi
12236
12237_ACEOF
12238cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12239if \$ac_cs_recheck; then
12240  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12241  shift
12242  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12243  CONFIG_SHELL='$SHELL'
12244  export CONFIG_SHELL
12245  exec "\$@"
12246fi
12247
12248_ACEOF
12249cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12250exec 5>>config.log
12251{
12252  echo
12253  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12254## Running $as_me. ##
12255_ASBOX
12256  $as_echo "$ac_log"
12257} >&5
12258
12259_ACEOF
12260cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12261#
12262# INIT-COMMANDS
12263#
12264AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12265
12266
12267# The HP-UX ksh and POSIX shell print the target directory to stdout
12268# if CDPATH is set.
12269(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12270
12271sed_quote_subst='$sed_quote_subst'
12272double_quote_subst='$double_quote_subst'
12273delay_variable_subst='$delay_variable_subst'
12274macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12275macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12276enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12277enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12278pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12279enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12280host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12281host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12282host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12283build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12284build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12285build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12286SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12287Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12288GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12289EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12290FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12291LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12292NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12293LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12294max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12295ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12296exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12297lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12298lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12299lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12300reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12301reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12302OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12303deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12304file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12305AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12306AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12307STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12308RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12309old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12310old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12311old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12312CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12313CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12314compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12315GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12316lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12317lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12318lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12319lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12320objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12321SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12322ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12323MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12324lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12325lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12326lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12327lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12328lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12329need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12330DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12331NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12332LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12333OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12334OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12335libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12336shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12337extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12338archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12339enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12340export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12341whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12342compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12343old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12344old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12345archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12346archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12347module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12348module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12349with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12350allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12351no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12352hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12353hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12354hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12355hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12356hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12357hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12358hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12359hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12360inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12361link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12362fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12363always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12364export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12365exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12366include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12367prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12368file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12369variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12370need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12371need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12372version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12373runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12374shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12375shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12376libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12377library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12378soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12379postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12380postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12381finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12382finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12383hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12384sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12385sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12386hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12387enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12388enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12389enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12390old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12391striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12392
12393LTCC='$LTCC'
12394LTCFLAGS='$LTCFLAGS'
12395compiler='$compiler_DEFAULT'
12396
12397# Quote evaled strings.
12398for var in SED \
12399GREP \
12400EGREP \
12401FGREP \
12402LD \
12403NM \
12404LN_S \
12405lt_SP2NL \
12406lt_NL2SP \
12407reload_flag \
12408OBJDUMP \
12409deplibs_check_method \
12410file_magic_cmd \
12411AR \
12412AR_FLAGS \
12413STRIP \
12414RANLIB \
12415CC \
12416CFLAGS \
12417compiler \
12418lt_cv_sys_global_symbol_pipe \
12419lt_cv_sys_global_symbol_to_cdecl \
12420lt_cv_sys_global_symbol_to_c_name_address \
12421lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12422SHELL \
12423ECHO \
12424lt_prog_compiler_no_builtin_flag \
12425lt_prog_compiler_wl \
12426lt_prog_compiler_pic \
12427lt_prog_compiler_static \
12428lt_cv_prog_compiler_c_o \
12429need_locks \
12430DSYMUTIL \
12431NMEDIT \
12432LIPO \
12433OTOOL \
12434OTOOL64 \
12435shrext_cmds \
12436export_dynamic_flag_spec \
12437whole_archive_flag_spec \
12438compiler_needs_object \
12439with_gnu_ld \
12440allow_undefined_flag \
12441no_undefined_flag \
12442hardcode_libdir_flag_spec \
12443hardcode_libdir_flag_spec_ld \
12444hardcode_libdir_separator \
12445fix_srcfile_path \
12446exclude_expsyms \
12447include_expsyms \
12448file_list_spec \
12449variables_saved_for_relink \
12450libname_spec \
12451library_names_spec \
12452soname_spec \
12453finish_eval \
12454old_striplib \
12455striplib; do
12456    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12457    *[\\\\\\\`\\"\\\$]*)
12458      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12459      ;;
12460    *)
12461      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12462      ;;
12463    esac
12464done
12465
12466# Double-quote double-evaled strings.
12467for var in reload_cmds \
12468old_postinstall_cmds \
12469old_postuninstall_cmds \
12470old_archive_cmds \
12471extract_expsyms_cmds \
12472old_archive_from_new_cmds \
12473old_archive_from_expsyms_cmds \
12474archive_cmds \
12475archive_expsym_cmds \
12476module_cmds \
12477module_expsym_cmds \
12478export_symbols_cmds \
12479prelink_cmds \
12480postinstall_cmds \
12481postuninstall_cmds \
12482finish_cmds \
12483sys_lib_search_path_spec \
12484sys_lib_dlsearch_path_spec; do
12485    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12486    *[\\\\\\\`\\"\\\$]*)
12487      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12488      ;;
12489    *)
12490      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12491      ;;
12492    esac
12493done
12494
12495# Fix-up fallback echo if it was mangled by the above quoting rules.
12496case \$lt_ECHO in
12497*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12498  ;;
12499esac
12500
12501ac_aux_dir='$ac_aux_dir'
12502xsi_shell='$xsi_shell'
12503lt_shell_append='$lt_shell_append'
12504
12505# See if we are running on zsh, and set the options which allow our
12506# commands through without removal of \ escapes INIT.
12507if test -n "\${ZSH_VERSION+set}" ; then
12508   setopt NO_GLOB_SUBST
12509fi
12510
12511
12512    PACKAGE='$PACKAGE'
12513    VERSION='$VERSION'
12514    TIMESTAMP='$TIMESTAMP'
12515    RM='$RM'
12516    ofile='$ofile'
12517
12518
12519
12520
12521_ACEOF
12522
12523cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12524
12525# Handling of arguments.
12526for ac_config_target in $ac_config_targets
12527do
12528  case $ac_config_target in
12529    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12530    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12531    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12532    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12533    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12534    "fontenc.pc") CONFIG_FILES="$CONFIG_FILES fontenc.pc" ;;
12535
12536  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12537$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12538   { (exit 1); exit 1; }; };;
12539  esac
12540done
12541
12542
12543# If the user did not use the arguments to specify the items to instantiate,
12544# then the envvar interface is used.  Set only those that are not.
12545# We use the long form for the default assignment because of an extremely
12546# bizarre bug on SunOS 4.1.3.
12547if $ac_need_defaults; then
12548  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12549  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12550  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12551fi
12552
12553# Have a temporary directory for convenience.  Make it in the build tree
12554# simply because there is no reason against having it here, and in addition,
12555# creating and moving files from /tmp can sometimes cause problems.
12556# Hook for its removal unless debugging.
12557# Note that there is a small window in which the directory will not be cleaned:
12558# after its creation but before its name has been assigned to `$tmp'.
12559$debug ||
12560{
12561  tmp=
12562  trap 'exit_status=$?
12563  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12564' 0
12565  trap '{ (exit 1); exit 1; }' 1 2 13 15
12566}
12567# Create a (secure) tmp directory for tmp files.
12568
12569{
12570  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12571  test -n "$tmp" && test -d "$tmp"
12572}  ||
12573{
12574  tmp=./conf$$-$RANDOM
12575  (umask 077 && mkdir "$tmp")
12576} ||
12577{
12578   $as_echo "$as_me: cannot create a temporary directory in ." >&2
12579   { (exit 1); exit 1; }
12580}
12581
12582# Set up the scripts for CONFIG_FILES section.
12583# No need to generate them if there are no CONFIG_FILES.
12584# This happens for instance with `./config.status config.h'.
12585if test -n "$CONFIG_FILES"; then
12586
12587
12588ac_cr='
12589'
12590ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12591if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12592  ac_cs_awk_cr='\\r'
12593else
12594  ac_cs_awk_cr=$ac_cr
12595fi
12596
12597echo 'BEGIN {' >"$tmp/subs1.awk" &&
12598_ACEOF
12599
12600
12601{
12602  echo "cat >conf$$subs.awk <<_ACEOF" &&
12603  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12604  echo "_ACEOF"
12605} >conf$$subs.sh ||
12606  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12607$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12608   { (exit 1); exit 1; }; }
12609ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12610ac_delim='%!_!# '
12611for ac_last_try in false false false false false :; do
12612  . ./conf$$subs.sh ||
12613    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12614$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12615   { (exit 1); exit 1; }; }
12616
12617  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12618  if test $ac_delim_n = $ac_delim_num; then
12619    break
12620  elif $ac_last_try; then
12621    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12622$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12623   { (exit 1); exit 1; }; }
12624  else
12625    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12626  fi
12627done
12628rm -f conf$$subs.sh
12629
12630cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12631cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12632_ACEOF
12633sed -n '
12634h
12635s/^/S["/; s/!.*/"]=/
12636p
12637g
12638s/^[^!]*!//
12639:repl
12640t repl
12641s/'"$ac_delim"'$//
12642t delim
12643:nl
12644h
12645s/\(.\{148\}\).*/\1/
12646t more1
12647s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12648p
12649n
12650b repl
12651:more1
12652s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12653p
12654g
12655s/.\{148\}//
12656t nl
12657:delim
12658h
12659s/\(.\{148\}\).*/\1/
12660t more2
12661s/["\\]/\\&/g; s/^/"/; s/$/"/
12662p
12663b
12664:more2
12665s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12666p
12667g
12668s/.\{148\}//
12669t delim
12670' <conf$$subs.awk | sed '
12671/^[^""]/{
12672  N
12673  s/\n//
12674}
12675' >>$CONFIG_STATUS || ac_write_fail=1
12676rm -f conf$$subs.awk
12677cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12678_ACAWK
12679cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12680  for (key in S) S_is_set[key] = 1
12681  FS = ""
12682
12683}
12684{
12685  line = $ 0
12686  nfields = split(line, field, "@")
12687  substed = 0
12688  len = length(field[1])
12689  for (i = 2; i < nfields; i++) {
12690    key = field[i]
12691    keylen = length(key)
12692    if (S_is_set[key]) {
12693      value = S[key]
12694      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12695      len += length(value) + length(field[++i])
12696      substed = 1
12697    } else
12698      len += 1 + keylen
12699  }
12700
12701  print line
12702}
12703
12704_ACAWK
12705_ACEOF
12706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12707if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12708  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12709else
12710  cat
12711fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12712  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
12713$as_echo "$as_me: error: could not setup config files machinery" >&2;}
12714   { (exit 1); exit 1; }; }
12715_ACEOF
12716
12717# VPATH may cause trouble with some makes, so we remove $(srcdir),
12718# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12719# trailing colons and then remove the whole line if VPATH becomes empty
12720# (actually we leave an empty line to preserve line numbers).
12721if test "x$srcdir" = x.; then
12722  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
12723s/:*\$(srcdir):*/:/
12724s/:*\${srcdir}:*/:/
12725s/:*@srcdir@:*/:/
12726s/^\([^=]*=[	 ]*\):*/\1/
12727s/:*$//
12728s/^[^=]*=[	 ]*$//
12729}'
12730fi
12731
12732cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12733fi # test -n "$CONFIG_FILES"
12734
12735# Set up the scripts for CONFIG_HEADERS section.
12736# No need to generate them if there are no CONFIG_HEADERS.
12737# This happens for instance with `./config.status Makefile'.
12738if test -n "$CONFIG_HEADERS"; then
12739cat >"$tmp/defines.awk" <<\_ACAWK ||
12740BEGIN {
12741_ACEOF
12742
12743# Transform confdefs.h into an awk script `defines.awk', embedded as
12744# here-document in config.status, that substitutes the proper values into
12745# config.h.in to produce config.h.
12746
12747# Create a delimiter string that does not exist in confdefs.h, to ease
12748# handling of long lines.
12749ac_delim='%!_!# '
12750for ac_last_try in false false :; do
12751  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12752  if test -z "$ac_t"; then
12753    break
12754  elif $ac_last_try; then
12755    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12756$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12757   { (exit 1); exit 1; }; }
12758  else
12759    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12760  fi
12761done
12762
12763# For the awk script, D is an array of macro values keyed by name,
12764# likewise P contains macro parameters if any.  Preserve backslash
12765# newline sequences.
12766
12767ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12768sed -n '
12769s/.\{148\}/&'"$ac_delim"'/g
12770t rset
12771:rset
12772s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
12773t def
12774d
12775:def
12776s/\\$//
12777t bsnl
12778s/["\\]/\\&/g
12779s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12780D["\1"]=" \3"/p
12781s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
12782d
12783:bsnl
12784s/["\\]/\\&/g
12785s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12786D["\1"]=" \3\\\\\\n"\\/p
12787t cont
12788s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12789t cont
12790d
12791:cont
12792n
12793s/.\{148\}/&'"$ac_delim"'/g
12794t clear
12795:clear
12796s/\\$//
12797t bsnlc
12798s/["\\]/\\&/g; s/^/"/; s/$/"/p
12799d
12800:bsnlc
12801s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12802b cont
12803' <confdefs.h | sed '
12804s/'"$ac_delim"'/"\\\
12805"/g' >>$CONFIG_STATUS || ac_write_fail=1
12806
12807cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12808  for (key in D) D_is_set[key] = 1
12809  FS = ""
12810}
12811/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12812  line = \$ 0
12813  split(line, arg, " ")
12814  if (arg[1] == "#") {
12815    defundef = arg[2]
12816    mac1 = arg[3]
12817  } else {
12818    defundef = substr(arg[1], 2)
12819    mac1 = arg[2]
12820  }
12821  split(mac1, mac2, "(") #)
12822  macro = mac2[1]
12823  prefix = substr(line, 1, index(line, defundef) - 1)
12824  if (D_is_set[macro]) {
12825    # Preserve the white space surrounding the "#".
12826    print prefix "define", macro P[macro] D[macro]
12827    next
12828  } else {
12829    # Replace #undef with comments.  This is necessary, for example,
12830    # in the case of _POSIX_SOURCE, which is predefined and required
12831    # on some systems where configure will not decide to define it.
12832    if (defundef == "undef") {
12833      print "/*", prefix defundef, macro, "*/"
12834      next
12835    }
12836  }
12837}
12838{ print }
12839_ACAWK
12840_ACEOF
12841cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12842  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12843$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12844   { (exit 1); exit 1; }; }
12845fi # test -n "$CONFIG_HEADERS"
12846
12847
12848eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
12849shift
12850for ac_tag
12851do
12852  case $ac_tag in
12853  :[FHLC]) ac_mode=$ac_tag; continue;;
12854  esac
12855  case $ac_mode$ac_tag in
12856  :[FHL]*:*);;
12857  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
12858$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
12859   { (exit 1); exit 1; }; };;
12860  :[FH]-) ac_tag=-:-;;
12861  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12862  esac
12863  ac_save_IFS=$IFS
12864  IFS=:
12865  set x $ac_tag
12866  IFS=$ac_save_IFS
12867  shift
12868  ac_file=$1
12869  shift
12870
12871  case $ac_mode in
12872  :L) ac_source=$1;;
12873  :[FH])
12874    ac_file_inputs=
12875    for ac_f
12876    do
12877      case $ac_f in
12878      -) ac_f="$tmp/stdin";;
12879      *) # Look for the file first in the build tree, then in the source tree
12880	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12881	 # because $ac_f cannot contain `:'.
12882	 test -f "$ac_f" ||
12883	   case $ac_f in
12884	   [\\/$]*) false;;
12885	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12886	   esac ||
12887	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12888$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12889   { (exit 1); exit 1; }; };;
12890      esac
12891      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12892      ac_file_inputs="$ac_file_inputs '$ac_f'"
12893    done
12894
12895    # Let's still pretend it is `configure' which instantiates (i.e., don't
12896    # use $as_me), people would be surprised to read:
12897    #    /* config.h.  Generated by config.status.  */
12898    configure_input='Generated from '`
12899	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12900	`' by configure.'
12901    if test x"$ac_file" != x-; then
12902      configure_input="$ac_file.  $configure_input"
12903      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
12904$as_echo "$as_me: creating $ac_file" >&6;}
12905    fi
12906    # Neutralize special characters interpreted by sed in replacement strings.
12907    case $configure_input in #(
12908    *\&* | *\|* | *\\* )
12909       ac_sed_conf_input=`$as_echo "$configure_input" |
12910       sed 's/[\\\\&|]/\\\\&/g'`;; #(
12911    *) ac_sed_conf_input=$configure_input;;
12912    esac
12913
12914    case $ac_tag in
12915    *:-:* | *:-) cat >"$tmp/stdin" \
12916      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12917$as_echo "$as_me: error: could not create $ac_file" >&2;}
12918   { (exit 1); exit 1; }; } ;;
12919    esac
12920    ;;
12921  esac
12922
12923  ac_dir=`$as_dirname -- "$ac_file" ||
12924$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12925	 X"$ac_file" : 'X\(//\)[^/]' \| \
12926	 X"$ac_file" : 'X\(//\)$' \| \
12927	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12928$as_echo X"$ac_file" |
12929    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12930	    s//\1/
12931	    q
12932	  }
12933	  /^X\(\/\/\)[^/].*/{
12934	    s//\1/
12935	    q
12936	  }
12937	  /^X\(\/\/\)$/{
12938	    s//\1/
12939	    q
12940	  }
12941	  /^X\(\/\).*/{
12942	    s//\1/
12943	    q
12944	  }
12945	  s/.*/./; q'`
12946  { as_dir="$ac_dir"
12947  case $as_dir in #(
12948  -*) as_dir=./$as_dir;;
12949  esac
12950  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12951    as_dirs=
12952    while :; do
12953      case $as_dir in #(
12954      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12955      *) as_qdir=$as_dir;;
12956      esac
12957      as_dirs="'$as_qdir' $as_dirs"
12958      as_dir=`$as_dirname -- "$as_dir" ||
12959$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12960	 X"$as_dir" : 'X\(//\)[^/]' \| \
12961	 X"$as_dir" : 'X\(//\)$' \| \
12962	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12963$as_echo X"$as_dir" |
12964    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12965	    s//\1/
12966	    q
12967	  }
12968	  /^X\(\/\/\)[^/].*/{
12969	    s//\1/
12970	    q
12971	  }
12972	  /^X\(\/\/\)$/{
12973	    s//\1/
12974	    q
12975	  }
12976	  /^X\(\/\).*/{
12977	    s//\1/
12978	    q
12979	  }
12980	  s/.*/./; q'`
12981      test -d "$as_dir" && break
12982    done
12983    test -z "$as_dirs" || eval "mkdir $as_dirs"
12984  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12985$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12986   { (exit 1); exit 1; }; }; }
12987  ac_builddir=.
12988
12989case "$ac_dir" in
12990.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12991*)
12992  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12993  # A ".." for each directory in $ac_dir_suffix.
12994  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12995  case $ac_top_builddir_sub in
12996  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12997  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12998  esac ;;
12999esac
13000ac_abs_top_builddir=$ac_pwd
13001ac_abs_builddir=$ac_pwd$ac_dir_suffix
13002# for backward compatibility:
13003ac_top_builddir=$ac_top_build_prefix
13004
13005case $srcdir in
13006  .)  # We are building in place.
13007    ac_srcdir=.
13008    ac_top_srcdir=$ac_top_builddir_sub
13009    ac_abs_top_srcdir=$ac_pwd ;;
13010  [\\/]* | ?:[\\/]* )  # Absolute name.
13011    ac_srcdir=$srcdir$ac_dir_suffix;
13012    ac_top_srcdir=$srcdir
13013    ac_abs_top_srcdir=$srcdir ;;
13014  *) # Relative name.
13015    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13016    ac_top_srcdir=$ac_top_build_prefix$srcdir
13017    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13018esac
13019ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13020
13021
13022  case $ac_mode in
13023  :F)
13024  #
13025  # CONFIG_FILE
13026  #
13027
13028  case $INSTALL in
13029  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13030  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13031  esac
13032  ac_MKDIR_P=$MKDIR_P
13033  case $MKDIR_P in
13034  [\\/$]* | ?:[\\/]* ) ;;
13035  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13036  esac
13037_ACEOF
13038
13039cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13040# If the template does not know about datarootdir, expand it.
13041# FIXME: This hack should be removed a few years after 2.60.
13042ac_datarootdir_hack=; ac_datarootdir_seen=
13043
13044ac_sed_dataroot='
13045/datarootdir/ {
13046  p
13047  q
13048}
13049/@datadir@/p
13050/@docdir@/p
13051/@infodir@/p
13052/@localedir@/p
13053/@mandir@/p
13054'
13055case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13056*datarootdir*) ac_datarootdir_seen=yes;;
13057*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13058  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13059$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13060_ACEOF
13061cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13062  ac_datarootdir_hack='
13063  s&@datadir@&$datadir&g
13064  s&@docdir@&$docdir&g
13065  s&@infodir@&$infodir&g
13066  s&@localedir@&$localedir&g
13067  s&@mandir@&$mandir&g
13068    s&\\\${datarootdir}&$datarootdir&g' ;;
13069esac
13070_ACEOF
13071
13072# Neutralize VPATH when `$srcdir' = `.'.
13073# Shell code in configure.ac might set extrasub.
13074# FIXME: do we really want to maintain this feature?
13075cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13076ac_sed_extra="$ac_vpsub
13077$extrasub
13078_ACEOF
13079cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13080:t
13081/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13082s|@configure_input@|$ac_sed_conf_input|;t t
13083s&@top_builddir@&$ac_top_builddir_sub&;t t
13084s&@top_build_prefix@&$ac_top_build_prefix&;t t
13085s&@srcdir@&$ac_srcdir&;t t
13086s&@abs_srcdir@&$ac_abs_srcdir&;t t
13087s&@top_srcdir@&$ac_top_srcdir&;t t
13088s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13089s&@builddir@&$ac_builddir&;t t
13090s&@abs_builddir@&$ac_abs_builddir&;t t
13091s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13092s&@INSTALL@&$ac_INSTALL&;t t
13093s&@MKDIR_P@&$ac_MKDIR_P&;t t
13094$ac_datarootdir_hack
13095"
13096eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13097  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13098$as_echo "$as_me: error: could not create $ac_file" >&2;}
13099   { (exit 1); exit 1; }; }
13100
13101test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13102  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13103  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13104  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13105which seems to be undefined.  Please make sure it is defined." >&5
13106$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13107which seems to be undefined.  Please make sure it is defined." >&2;}
13108
13109  rm -f "$tmp/stdin"
13110  case $ac_file in
13111  -) cat "$tmp/out" && rm -f "$tmp/out";;
13112  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13113  esac \
13114  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13115$as_echo "$as_me: error: could not create $ac_file" >&2;}
13116   { (exit 1); exit 1; }; }
13117 ;;
13118  :H)
13119  #
13120  # CONFIG_HEADER
13121  #
13122  if test x"$ac_file" != x-; then
13123    {
13124      $as_echo "/* $configure_input  */" \
13125      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13126    } >"$tmp/config.h" \
13127      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13128$as_echo "$as_me: error: could not create $ac_file" >&2;}
13129   { (exit 1); exit 1; }; }
13130    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13131      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13132$as_echo "$as_me: $ac_file is unchanged" >&6;}
13133    else
13134      rm -f "$ac_file"
13135      mv "$tmp/config.h" "$ac_file" \
13136	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13137$as_echo "$as_me: error: could not create $ac_file" >&2;}
13138   { (exit 1); exit 1; }; }
13139    fi
13140  else
13141    $as_echo "/* $configure_input  */" \
13142      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13143      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13144$as_echo "$as_me: error: could not create -" >&2;}
13145   { (exit 1); exit 1; }; }
13146  fi
13147# Compute "$ac_file"'s index in $config_headers.
13148_am_arg="$ac_file"
13149_am_stamp_count=1
13150for _am_header in $config_headers :; do
13151  case $_am_header in
13152    $_am_arg | $_am_arg:* )
13153      break ;;
13154    * )
13155      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13156  esac
13157done
13158echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13159$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13160	 X"$_am_arg" : 'X\(//\)[^/]' \| \
13161	 X"$_am_arg" : 'X\(//\)$' \| \
13162	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13163$as_echo X"$_am_arg" |
13164    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13165	    s//\1/
13166	    q
13167	  }
13168	  /^X\(\/\/\)[^/].*/{
13169	    s//\1/
13170	    q
13171	  }
13172	  /^X\(\/\/\)$/{
13173	    s//\1/
13174	    q
13175	  }
13176	  /^X\(\/\).*/{
13177	    s//\1/
13178	    q
13179	  }
13180	  s/.*/./; q'`/stamp-h$_am_stamp_count
13181 ;;
13182
13183  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
13184$as_echo "$as_me: executing $ac_file commands" >&6;}
13185 ;;
13186  esac
13187
13188
13189  case $ac_file$ac_mode in
13190    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13191  # Autoconf 2.62 quotes --file arguments for eval, but not when files
13192  # are listed without --file.  Let's play safe and only enable the eval
13193  # if we detect the quoting.
13194  case $CONFIG_FILES in
13195  *\'*) eval set x "$CONFIG_FILES" ;;
13196  *)   set x $CONFIG_FILES ;;
13197  esac
13198  shift
13199  for mf
13200  do
13201    # Strip MF so we end up with the name of the file.
13202    mf=`echo "$mf" | sed -e 's/:.*$//'`
13203    # Check whether this is an Automake generated Makefile or not.
13204    # We used to match only the files named `Makefile.in', but
13205    # some people rename them; so instead we look at the file content.
13206    # Grep'ing the first line is not enough: some people post-process
13207    # each Makefile.in and add a new line on top of each file to say so.
13208    # Grep'ing the whole file is not good either: AIX grep has a line
13209    # limit of 2048, but all sed's we know have understand at least 4000.
13210    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13211      dirpart=`$as_dirname -- "$mf" ||
13212$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13213	 X"$mf" : 'X\(//\)[^/]' \| \
13214	 X"$mf" : 'X\(//\)$' \| \
13215	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13216$as_echo X"$mf" |
13217    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13218	    s//\1/
13219	    q
13220	  }
13221	  /^X\(\/\/\)[^/].*/{
13222	    s//\1/
13223	    q
13224	  }
13225	  /^X\(\/\/\)$/{
13226	    s//\1/
13227	    q
13228	  }
13229	  /^X\(\/\).*/{
13230	    s//\1/
13231	    q
13232	  }
13233	  s/.*/./; q'`
13234    else
13235      continue
13236    fi
13237    # Extract the definition of DEPDIR, am__include, and am__quote
13238    # from the Makefile without running `make'.
13239    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13240    test -z "$DEPDIR" && continue
13241    am__include=`sed -n 's/^am__include = //p' < "$mf"`
13242    test -z "am__include" && continue
13243    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13244    # When using ansi2knr, U may be empty or an underscore; expand it
13245    U=`sed -n 's/^U = //p' < "$mf"`
13246    # Find all dependency output files, they are included files with
13247    # $(DEPDIR) in their names.  We invoke sed twice because it is the
13248    # simplest approach to changing $(DEPDIR) to its actual value in the
13249    # expansion.
13250    for file in `sed -n "
13251      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13252	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13253      # Make sure the directory exists.
13254      test -f "$dirpart/$file" && continue
13255      fdir=`$as_dirname -- "$file" ||
13256$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13257	 X"$file" : 'X\(//\)[^/]' \| \
13258	 X"$file" : 'X\(//\)$' \| \
13259	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13260$as_echo X"$file" |
13261    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13262	    s//\1/
13263	    q
13264	  }
13265	  /^X\(\/\/\)[^/].*/{
13266	    s//\1/
13267	    q
13268	  }
13269	  /^X\(\/\/\)$/{
13270	    s//\1/
13271	    q
13272	  }
13273	  /^X\(\/\).*/{
13274	    s//\1/
13275	    q
13276	  }
13277	  s/.*/./; q'`
13278      { as_dir=$dirpart/$fdir
13279  case $as_dir in #(
13280  -*) as_dir=./$as_dir;;
13281  esac
13282  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13283    as_dirs=
13284    while :; do
13285      case $as_dir in #(
13286      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13287      *) as_qdir=$as_dir;;
13288      esac
13289      as_dirs="'$as_qdir' $as_dirs"
13290      as_dir=`$as_dirname -- "$as_dir" ||
13291$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13292	 X"$as_dir" : 'X\(//\)[^/]' \| \
13293	 X"$as_dir" : 'X\(//\)$' \| \
13294	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13295$as_echo X"$as_dir" |
13296    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13297	    s//\1/
13298	    q
13299	  }
13300	  /^X\(\/\/\)[^/].*/{
13301	    s//\1/
13302	    q
13303	  }
13304	  /^X\(\/\/\)$/{
13305	    s//\1/
13306	    q
13307	  }
13308	  /^X\(\/\).*/{
13309	    s//\1/
13310	    q
13311	  }
13312	  s/.*/./; q'`
13313      test -d "$as_dir" && break
13314    done
13315    test -z "$as_dirs" || eval "mkdir $as_dirs"
13316  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13317$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13318   { (exit 1); exit 1; }; }; }
13319      # echo "creating $dirpart/$file"
13320      echo '# dummy' > "$dirpart/$file"
13321    done
13322  done
13323}
13324 ;;
13325    "libtool":C)
13326
13327    # See if we are running on zsh, and set the options which allow our
13328    # commands through without removal of \ escapes.
13329    if test -n "${ZSH_VERSION+set}" ; then
13330      setopt NO_GLOB_SUBST
13331    fi
13332
13333    cfgfile="${ofile}T"
13334    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13335    $RM "$cfgfile"
13336
13337    cat <<_LT_EOF >> "$cfgfile"
13338#! $SHELL
13339
13340# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13341# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13342# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13343# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13344#
13345#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13346#                 2006, 2007, 2008 Free Software Foundation, Inc.
13347#   Written by Gordon Matzigkeit, 1996
13348#
13349#   This file is part of GNU Libtool.
13350#
13351# GNU Libtool is free software; you can redistribute it and/or
13352# modify it under the terms of the GNU General Public License as
13353# published by the Free Software Foundation; either version 2 of
13354# the License, or (at your option) any later version.
13355#
13356# As a special exception to the GNU General Public License,
13357# if you distribute this file as part of a program or library that
13358# is built using GNU Libtool, you may include this file under the
13359# same distribution terms that you use for the rest of that program.
13360#
13361# GNU Libtool is distributed in the hope that it will be useful,
13362# but WITHOUT ANY WARRANTY; without even the implied warranty of
13363# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13364# GNU General Public License for more details.
13365#
13366# You should have received a copy of the GNU General Public License
13367# along with GNU Libtool; see the file COPYING.  If not, a copy
13368# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13369# obtained by writing to the Free Software Foundation, Inc.,
13370# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13371
13372
13373# The names of the tagged configurations supported by this script.
13374available_tags=""
13375
13376# ### BEGIN LIBTOOL CONFIG
13377
13378# Which release of libtool.m4 was used?
13379macro_version=$macro_version
13380macro_revision=$macro_revision
13381
13382# Whether or not to build shared libraries.
13383build_libtool_libs=$enable_shared
13384
13385# Whether or not to build static libraries.
13386build_old_libs=$enable_static
13387
13388# What type of objects to build.
13389pic_mode=$pic_mode
13390
13391# Whether or not to optimize for fast installation.
13392fast_install=$enable_fast_install
13393
13394# The host system.
13395host_alias=$host_alias
13396host=$host
13397host_os=$host_os
13398
13399# The build system.
13400build_alias=$build_alias
13401build=$build
13402build_os=$build_os
13403
13404# A sed program that does not truncate output.
13405SED=$lt_SED
13406
13407# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13408Xsed="\$SED -e 1s/^X//"
13409
13410# A grep program that handles long lines.
13411GREP=$lt_GREP
13412
13413# An ERE matcher.
13414EGREP=$lt_EGREP
13415
13416# A literal string matcher.
13417FGREP=$lt_FGREP
13418
13419# A BSD- or MS-compatible name lister.
13420NM=$lt_NM
13421
13422# Whether we need soft or hard links.
13423LN_S=$lt_LN_S
13424
13425# What is the maximum length of a command?
13426max_cmd_len=$max_cmd_len
13427
13428# Object file suffix (normally "o").
13429objext=$ac_objext
13430
13431# Executable file suffix (normally "").
13432exeext=$exeext
13433
13434# whether the shell understands "unset".
13435lt_unset=$lt_unset
13436
13437# turn spaces into newlines.
13438SP2NL=$lt_lt_SP2NL
13439
13440# turn newlines into spaces.
13441NL2SP=$lt_lt_NL2SP
13442
13443# How to create reloadable object files.
13444reload_flag=$lt_reload_flag
13445reload_cmds=$lt_reload_cmds
13446
13447# An object symbol dumper.
13448OBJDUMP=$lt_OBJDUMP
13449
13450# Method to check whether dependent libraries are shared objects.
13451deplibs_check_method=$lt_deplibs_check_method
13452
13453# Command to use when deplibs_check_method == "file_magic".
13454file_magic_cmd=$lt_file_magic_cmd
13455
13456# The archiver.
13457AR=$lt_AR
13458AR_FLAGS=$lt_AR_FLAGS
13459
13460# A symbol stripping program.
13461STRIP=$lt_STRIP
13462
13463# Commands used to install an old-style archive.
13464RANLIB=$lt_RANLIB
13465old_postinstall_cmds=$lt_old_postinstall_cmds
13466old_postuninstall_cmds=$lt_old_postuninstall_cmds
13467
13468# A C compiler.
13469LTCC=$lt_CC
13470
13471# LTCC compiler flags.
13472LTCFLAGS=$lt_CFLAGS
13473
13474# Take the output of nm and produce a listing of raw symbols and C names.
13475global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13476
13477# Transform the output of nm in a proper C declaration.
13478global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13479
13480# Transform the output of nm in a C name address pair.
13481global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13482
13483# Transform the output of nm in a C name address pair when lib prefix is needed.
13484global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13485
13486# The name of the directory that contains temporary libtool files.
13487objdir=$objdir
13488
13489# Shell to use when invoking shell scripts.
13490SHELL=$lt_SHELL
13491
13492# An echo program that does not interpret backslashes.
13493ECHO=$lt_ECHO
13494
13495# Used to examine libraries when file_magic_cmd begins with "file".
13496MAGIC_CMD=$MAGIC_CMD
13497
13498# Must we lock files when doing compilation?
13499need_locks=$lt_need_locks
13500
13501# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13502DSYMUTIL=$lt_DSYMUTIL
13503
13504# Tool to change global to local symbols on Mac OS X.
13505NMEDIT=$lt_NMEDIT
13506
13507# Tool to manipulate fat objects and archives on Mac OS X.
13508LIPO=$lt_LIPO
13509
13510# ldd/readelf like tool for Mach-O binaries on Mac OS X.
13511OTOOL=$lt_OTOOL
13512
13513# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13514OTOOL64=$lt_OTOOL64
13515
13516# Old archive suffix (normally "a").
13517libext=$libext
13518
13519# Shared library suffix (normally ".so").
13520shrext_cmds=$lt_shrext_cmds
13521
13522# The commands to extract the exported symbol list from a shared archive.
13523extract_expsyms_cmds=$lt_extract_expsyms_cmds
13524
13525# Variables whose values should be saved in libtool wrapper scripts and
13526# restored at link time.
13527variables_saved_for_relink=$lt_variables_saved_for_relink
13528
13529# Do we need the "lib" prefix for modules?
13530need_lib_prefix=$need_lib_prefix
13531
13532# Do we need a version for libraries?
13533need_version=$need_version
13534
13535# Library versioning type.
13536version_type=$version_type
13537
13538# Shared library runtime path variable.
13539runpath_var=$runpath_var
13540
13541# Shared library path variable.
13542shlibpath_var=$shlibpath_var
13543
13544# Is shlibpath searched before the hard-coded library search path?
13545shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13546
13547# Format of library name prefix.
13548libname_spec=$lt_libname_spec
13549
13550# List of archive names.  First name is the real one, the rest are links.
13551# The last name is the one that the linker finds with -lNAME
13552library_names_spec=$lt_library_names_spec
13553
13554# The coded name of the library, if different from the real name.
13555soname_spec=$lt_soname_spec
13556
13557# Command to use after installation of a shared archive.
13558postinstall_cmds=$lt_postinstall_cmds
13559
13560# Command to use after uninstallation of a shared archive.
13561postuninstall_cmds=$lt_postuninstall_cmds
13562
13563# Commands used to finish a libtool library installation in a directory.
13564finish_cmds=$lt_finish_cmds
13565
13566# As "finish_cmds", except a single script fragment to be evaled but
13567# not shown.
13568finish_eval=$lt_finish_eval
13569
13570# Whether we should hardcode library paths into libraries.
13571hardcode_into_libs=$hardcode_into_libs
13572
13573# Compile-time system search path for libraries.
13574sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13575
13576# Run-time system search path for libraries.
13577sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13578
13579# Whether dlopen is supported.
13580dlopen_support=$enable_dlopen
13581
13582# Whether dlopen of programs is supported.
13583dlopen_self=$enable_dlopen_self
13584
13585# Whether dlopen of statically linked programs is supported.
13586dlopen_self_static=$enable_dlopen_self_static
13587
13588# Commands to strip libraries.
13589old_striplib=$lt_old_striplib
13590striplib=$lt_striplib
13591
13592
13593# The linker used to build libraries.
13594LD=$lt_LD
13595
13596# Commands used to build an old-style archive.
13597old_archive_cmds=$lt_old_archive_cmds
13598
13599# A language specific compiler.
13600CC=$lt_compiler
13601
13602# Is the compiler the GNU compiler?
13603with_gcc=$GCC
13604
13605# Compiler flag to turn off builtin functions.
13606no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13607
13608# How to pass a linker flag through the compiler.
13609wl=$lt_lt_prog_compiler_wl
13610
13611# Additional compiler flags for building library objects.
13612pic_flag=$lt_lt_prog_compiler_pic
13613
13614# Compiler flag to prevent dynamic linking.
13615link_static_flag=$lt_lt_prog_compiler_static
13616
13617# Does compiler simultaneously support -c and -o options?
13618compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13619
13620# Whether or not to add -lc for building shared libraries.
13621build_libtool_need_lc=$archive_cmds_need_lc
13622
13623# Whether or not to disallow shared libs when runtime libs are static.
13624allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13625
13626# Compiler flag to allow reflexive dlopens.
13627export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13628
13629# Compiler flag to generate shared objects directly from archives.
13630whole_archive_flag_spec=$lt_whole_archive_flag_spec
13631
13632# Whether the compiler copes with passing no objects directly.
13633compiler_needs_object=$lt_compiler_needs_object
13634
13635# Create an old-style archive from a shared archive.
13636old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13637
13638# Create a temporary old-style archive to link instead of a shared archive.
13639old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13640
13641# Commands used to build a shared archive.
13642archive_cmds=$lt_archive_cmds
13643archive_expsym_cmds=$lt_archive_expsym_cmds
13644
13645# Commands used to build a loadable module if different from building
13646# a shared archive.
13647module_cmds=$lt_module_cmds
13648module_expsym_cmds=$lt_module_expsym_cmds
13649
13650# Whether we are building with GNU ld or not.
13651with_gnu_ld=$lt_with_gnu_ld
13652
13653# Flag that allows shared libraries with undefined symbols to be built.
13654allow_undefined_flag=$lt_allow_undefined_flag
13655
13656# Flag that enforces no undefined symbols.
13657no_undefined_flag=$lt_no_undefined_flag
13658
13659# Flag to hardcode \$libdir into a binary during linking.
13660# This must work even if \$libdir does not exist
13661hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13662
13663# If ld is used when linking, flag to hardcode \$libdir into a binary
13664# during linking.  This must work even if \$libdir does not exist.
13665hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13666
13667# Whether we need a single "-rpath" flag with a separated argument.
13668hardcode_libdir_separator=$lt_hardcode_libdir_separator
13669
13670# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13671# DIR into the resulting binary.
13672hardcode_direct=$hardcode_direct
13673
13674# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13675# DIR into the resulting binary and the resulting library dependency is
13676# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13677# library is relocated.
13678hardcode_direct_absolute=$hardcode_direct_absolute
13679
13680# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13681# into the resulting binary.
13682hardcode_minus_L=$hardcode_minus_L
13683
13684# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13685# into the resulting binary.
13686hardcode_shlibpath_var=$hardcode_shlibpath_var
13687
13688# Set to "yes" if building a shared library automatically hardcodes DIR
13689# into the library and all subsequent libraries and executables linked
13690# against it.
13691hardcode_automatic=$hardcode_automatic
13692
13693# Set to yes if linker adds runtime paths of dependent libraries
13694# to runtime path list.
13695inherit_rpath=$inherit_rpath
13696
13697# Whether libtool must link a program against all its dependency libraries.
13698link_all_deplibs=$link_all_deplibs
13699
13700# Fix the shell variable \$srcfile for the compiler.
13701fix_srcfile_path=$lt_fix_srcfile_path
13702
13703# Set to "yes" if exported symbols are required.
13704always_export_symbols=$always_export_symbols
13705
13706# The commands to list exported symbols.
13707export_symbols_cmds=$lt_export_symbols_cmds
13708
13709# Symbols that should not be listed in the preloaded symbols.
13710exclude_expsyms=$lt_exclude_expsyms
13711
13712# Symbols that must always be exported.
13713include_expsyms=$lt_include_expsyms
13714
13715# Commands necessary for linking programs (against libraries) with templates.
13716prelink_cmds=$lt_prelink_cmds
13717
13718# Specify filename containing input files.
13719file_list_spec=$lt_file_list_spec
13720
13721# How to hardcode a shared library path into an executable.
13722hardcode_action=$hardcode_action
13723
13724# ### END LIBTOOL CONFIG
13725
13726_LT_EOF
13727
13728  case $host_os in
13729  aix3*)
13730    cat <<\_LT_EOF >> "$cfgfile"
13731# AIX sometimes has problems with the GCC collect2 program.  For some
13732# reason, if we set the COLLECT_NAMES environment variable, the problems
13733# vanish in a puff of smoke.
13734if test "X${COLLECT_NAMES+set}" != Xset; then
13735  COLLECT_NAMES=
13736  export COLLECT_NAMES
13737fi
13738_LT_EOF
13739    ;;
13740  esac
13741
13742
13743ltmain="$ac_aux_dir/ltmain.sh"
13744
13745
13746  # We use sed instead of cat because bash on DJGPP gets confused if
13747  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13748  # text mode, it properly converts lines to CR/LF.  This bash problem
13749  # is reportedly fixed, but why not run on old versions too?
13750  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13751    || (rm -f "$cfgfile"; exit 1)
13752
13753  case $xsi_shell in
13754  yes)
13755    cat << \_LT_EOF >> "$cfgfile"
13756
13757# func_dirname file append nondir_replacement
13758# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13759# otherwise set result to NONDIR_REPLACEMENT.
13760func_dirname ()
13761{
13762  case ${1} in
13763    */*) func_dirname_result="${1%/*}${2}" ;;
13764    *  ) func_dirname_result="${3}" ;;
13765  esac
13766}
13767
13768# func_basename file
13769func_basename ()
13770{
13771  func_basename_result="${1##*/}"
13772}
13773
13774# func_dirname_and_basename file append nondir_replacement
13775# perform func_basename and func_dirname in a single function
13776# call:
13777#   dirname:  Compute the dirname of FILE.  If nonempty,
13778#             add APPEND to the result, otherwise set result
13779#             to NONDIR_REPLACEMENT.
13780#             value returned in "$func_dirname_result"
13781#   basename: Compute filename of FILE.
13782#             value retuned in "$func_basename_result"
13783# Implementation must be kept synchronized with func_dirname
13784# and func_basename. For efficiency, we do not delegate to
13785# those functions but instead duplicate the functionality here.
13786func_dirname_and_basename ()
13787{
13788  case ${1} in
13789    */*) func_dirname_result="${1%/*}${2}" ;;
13790    *  ) func_dirname_result="${3}" ;;
13791  esac
13792  func_basename_result="${1##*/}"
13793}
13794
13795# func_stripname prefix suffix name
13796# strip PREFIX and SUFFIX off of NAME.
13797# PREFIX and SUFFIX must not contain globbing or regex special
13798# characters, hashes, percent signs, but SUFFIX may contain a leading
13799# dot (in which case that matches only a dot).
13800func_stripname ()
13801{
13802  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13803  # positional parameters, so assign one to ordinary parameter first.
13804  func_stripname_result=${3}
13805  func_stripname_result=${func_stripname_result#"${1}"}
13806  func_stripname_result=${func_stripname_result%"${2}"}
13807}
13808
13809# func_opt_split
13810func_opt_split ()
13811{
13812  func_opt_split_opt=${1%%=*}
13813  func_opt_split_arg=${1#*=}
13814}
13815
13816# func_lo2o object
13817func_lo2o ()
13818{
13819  case ${1} in
13820    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13821    *)    func_lo2o_result=${1} ;;
13822  esac
13823}
13824
13825# func_xform libobj-or-source
13826func_xform ()
13827{
13828  func_xform_result=${1%.*}.lo
13829}
13830
13831# func_arith arithmetic-term...
13832func_arith ()
13833{
13834  func_arith_result=$(( $* ))
13835}
13836
13837# func_len string
13838# STRING may not start with a hyphen.
13839func_len ()
13840{
13841  func_len_result=${#1}
13842}
13843
13844_LT_EOF
13845    ;;
13846  *) # Bourne compatible functions.
13847    cat << \_LT_EOF >> "$cfgfile"
13848
13849# func_dirname file append nondir_replacement
13850# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13851# otherwise set result to NONDIR_REPLACEMENT.
13852func_dirname ()
13853{
13854  # Extract subdirectory from the argument.
13855  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13856  if test "X$func_dirname_result" = "X${1}"; then
13857    func_dirname_result="${3}"
13858  else
13859    func_dirname_result="$func_dirname_result${2}"
13860  fi
13861}
13862
13863# func_basename file
13864func_basename ()
13865{
13866  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13867}
13868
13869
13870# func_stripname prefix suffix name
13871# strip PREFIX and SUFFIX off of NAME.
13872# PREFIX and SUFFIX must not contain globbing or regex special
13873# characters, hashes, percent signs, but SUFFIX may contain a leading
13874# dot (in which case that matches only a dot).
13875# func_strip_suffix prefix name
13876func_stripname ()
13877{
13878  case ${2} in
13879    .*) func_stripname_result=`$ECHO "X${3}" \
13880           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13881    *)  func_stripname_result=`$ECHO "X${3}" \
13882           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13883  esac
13884}
13885
13886# sed scripts:
13887my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13888my_sed_long_arg='1s/^-[^=]*=//'
13889
13890# func_opt_split
13891func_opt_split ()
13892{
13893  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13894  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13895}
13896
13897# func_lo2o object
13898func_lo2o ()
13899{
13900  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13901}
13902
13903# func_xform libobj-or-source
13904func_xform ()
13905{
13906  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13907}
13908
13909# func_arith arithmetic-term...
13910func_arith ()
13911{
13912  func_arith_result=`expr "$@"`
13913}
13914
13915# func_len string
13916# STRING may not start with a hyphen.
13917func_len ()
13918{
13919  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13920}
13921
13922_LT_EOF
13923esac
13924
13925case $lt_shell_append in
13926  yes)
13927    cat << \_LT_EOF >> "$cfgfile"
13928
13929# func_append var value
13930# Append VALUE to the end of shell variable VAR.
13931func_append ()
13932{
13933  eval "$1+=\$2"
13934}
13935_LT_EOF
13936    ;;
13937  *)
13938    cat << \_LT_EOF >> "$cfgfile"
13939
13940# func_append var value
13941# Append VALUE to the end of shell variable VAR.
13942func_append ()
13943{
13944  eval "$1=\$$1\$2"
13945}
13946
13947_LT_EOF
13948    ;;
13949  esac
13950
13951
13952  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13953    || (rm -f "$cfgfile"; exit 1)
13954
13955  mv -f "$cfgfile" "$ofile" ||
13956    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13957  chmod +x "$ofile"
13958
13959 ;;
13960
13961  esac
13962done # for ac_tag
13963
13964
13965{ (exit 0); exit 0; }
13966_ACEOF
13967chmod +x $CONFIG_STATUS
13968ac_clean_files=$ac_clean_files_save
13969
13970test $ac_write_fail = 0 ||
13971  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
13972$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
13973   { (exit 1); exit 1; }; }
13974
13975
13976# configure is writing to config.log, and then calls config.status.
13977# config.status does its own redirection, appending to config.log.
13978# Unfortunately, on DOS this fails, as config.log is still kept open
13979# by configure, so config.status won't be able to write to it; its
13980# output is simply discarded.  So we exec the FD to /dev/null,
13981# effectively closing config.log, so it can be properly (re)opened and
13982# appended to by config.status.  When coming back to configure, we
13983# need to make the FD available again.
13984if test "$no_create" != yes; then
13985  ac_cs_success=:
13986  ac_config_status_args=
13987  test "$silent" = yes &&
13988    ac_config_status_args="$ac_config_status_args --quiet"
13989  exec 5>/dev/null
13990  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13991  exec 5>>config.log
13992  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13993  # would make configure fail if this is the last instruction.
13994  $ac_cs_success || { (exit 1); exit 1; }
13995fi
13996if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13997  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13998$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13999fi
14000
14001