configure revision 2265a131
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for libXt 1.0.6.
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='libXt'
747PACKAGE_TARNAME='libXt'
748PACKAGE_VERSION='1.0.6'
749PACKAGE_STRING='libXt 1.0.6'
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='LTLIBOBJS
789LIBOBJS
790distcleancheck_listfiles
791CHANGELOG_CMD
792XTMALLOC_ZERO_CFLAGS
793XMALLOC_ZERO_CFLAGS
794MALLOC_ZERO_CFLAGS
795ADMIN_MAN_DIR
796DRIVER_MAN_DIR
797MISC_MAN_DIR
798FILE_MAN_DIR
799LIB_MAN_DIR
800APP_MAN_DIR
801ADMIN_MAN_SUFFIX
802DRIVER_MAN_SUFFIX
803MISC_MAN_SUFFIX
804FILE_MAN_SUFFIX
805LIB_MAN_SUFFIX
806APP_MAN_SUFFIX
807RAWCPPFLAGS
808RAWCPP
809STRINGSABIOPTIONS
810appdefaultdir
811XFILESEARCHPATHDEFAULT
812INSTALL_MAKESTRS_FALSE
813INSTALL_MAKESTRS_TRUE
814XT_LIBS
815XT_CFLAGS
816PKG_CONFIG
817CC_FOR_BUILD
818CWARNFLAGS
819CPP
820OTOOL64
821OTOOL
822LIPO
823NMEDIT
824DSYMUTIL
825lt_ECHO
826RANLIB
827AR
828OBJDUMP
829LN_S
830NM
831ac_ct_DUMPBIN
832DUMPBIN
833LD
834FGREP
835EGREP
836GREP
837SED
838host_os
839host_vendor
840host_cpu
841host
842build_os
843build_vendor
844build_cpu
845build
846LIBTOOL
847am__fastdepCC_FALSE
848am__fastdepCC_TRUE
849CCDEPMODE
850AMDEPBACKSLASH
851AMDEP_FALSE
852AMDEP_TRUE
853am__quote
854am__include
855DEPDIR
856OBJEXT
857EXEEXT
858ac_ct_CC
859CPPFLAGS
860LDFLAGS
861CFLAGS
862CC
863MAINT
864MAINTAINER_MODE_FALSE
865MAINTAINER_MODE_TRUE
866am__untar
867am__tar
868AMTAR
869am__leading_dot
870SET_MAKE
871AWK
872mkdir_p
873MKDIR_P
874INSTALL_STRIP_PROGRAM
875STRIP
876install_sh
877MAKEINFO
878AUTOHEADER
879AUTOMAKE
880AUTOCONF
881ACLOCAL
882VERSION
883PACKAGE
884CYGPATH_W
885am__isrc
886INSTALL_DATA
887INSTALL_SCRIPT
888INSTALL_PROGRAM
889target_alias
890host_alias
891build_alias
892LIBS
893ECHO_T
894ECHO_N
895ECHO_C
896DEFS
897mandir
898localedir
899libdir
900psdir
901pdfdir
902dvidir
903htmldir
904infodir
905docdir
906oldincludedir
907includedir
908localstatedir
909sharedstatedir
910sysconfdir
911datadir
912datarootdir
913libexecdir
914sbindir
915bindir
916program_transform_name
917prefix
918exec_prefix
919PACKAGE_BUGREPORT
920PACKAGE_STRING
921PACKAGE_VERSION
922PACKAGE_TARNAME
923PACKAGE_NAME
924PATH_SEPARATOR
925SHELL'
926ac_subst_files=''
927ac_user_opts='
928enable_option_checking
929enable_maintainer_mode
930enable_dependency_tracking
931enable_shared
932enable_static
933with_pic
934enable_fast_install
935with_gnu_ld
936enable_libtool_lock
937enable_xkb
938enable_install_makestrs
939with_xfile_search_path
940with_appdefaultdir
941enable_malloc0returnsnull
942with_release_version
943'
944      ac_precious_vars='build_alias
945host_alias
946target_alias
947CC
948CFLAGS
949LDFLAGS
950LIBS
951CPPFLAGS
952CPP
953PKG_CONFIG
954XT_CFLAGS
955XT_LIBS'
956
957
958# Initialize some variables set by options.
959ac_init_help=
960ac_init_version=false
961ac_unrecognized_opts=
962ac_unrecognized_sep=
963# The variables have the same names as the options, with
964# dashes changed to underlines.
965cache_file=/dev/null
966exec_prefix=NONE
967no_create=
968no_recursion=
969prefix=NONE
970program_prefix=NONE
971program_suffix=NONE
972program_transform_name=s,x,x,
973silent=
974site=
975srcdir=
976verbose=
977x_includes=NONE
978x_libraries=NONE
979
980# Installation directory options.
981# These are left unexpanded so users can "make install exec_prefix=/foo"
982# and all the variables that are supposed to be based on exec_prefix
983# by default will actually change.
984# Use braces instead of parens because sh, perl, etc. also accept them.
985# (The list follows the same order as the GNU Coding Standards.)
986bindir='${exec_prefix}/bin'
987sbindir='${exec_prefix}/sbin'
988libexecdir='${exec_prefix}/libexec'
989datarootdir='${prefix}/share'
990datadir='${datarootdir}'
991sysconfdir='${prefix}/etc'
992sharedstatedir='${prefix}/com'
993localstatedir='${prefix}/var'
994includedir='${prefix}/include'
995oldincludedir='/usr/include'
996docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
997infodir='${datarootdir}/info'
998htmldir='${docdir}'
999dvidir='${docdir}'
1000pdfdir='${docdir}'
1001psdir='${docdir}'
1002libdir='${exec_prefix}/lib'
1003localedir='${datarootdir}/locale'
1004mandir='${datarootdir}/man'
1005
1006ac_prev=
1007ac_dashdash=
1008for ac_option
1009do
1010  # If the previous option needs an argument, assign it.
1011  if test -n "$ac_prev"; then
1012    eval $ac_prev=\$ac_option
1013    ac_prev=
1014    continue
1015  fi
1016
1017  case $ac_option in
1018  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1019  *)	ac_optarg=yes ;;
1020  esac
1021
1022  # Accept the important Cygnus configure options, so we can diagnose typos.
1023
1024  case $ac_dashdash$ac_option in
1025  --)
1026    ac_dashdash=yes ;;
1027
1028  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1029    ac_prev=bindir ;;
1030  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1031    bindir=$ac_optarg ;;
1032
1033  -build | --build | --buil | --bui | --bu)
1034    ac_prev=build_alias ;;
1035  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1036    build_alias=$ac_optarg ;;
1037
1038  -cache-file | --cache-file | --cache-fil | --cache-fi \
1039  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1040    ac_prev=cache_file ;;
1041  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1042  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1043    cache_file=$ac_optarg ;;
1044
1045  --config-cache | -C)
1046    cache_file=config.cache ;;
1047
1048  -datadir | --datadir | --datadi | --datad)
1049    ac_prev=datadir ;;
1050  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1051    datadir=$ac_optarg ;;
1052
1053  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1054  | --dataroo | --dataro | --datar)
1055    ac_prev=datarootdir ;;
1056  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1057  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1058    datarootdir=$ac_optarg ;;
1059
1060  -disable-* | --disable-*)
1061    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1062    # Reject names that are not valid shell variable names.
1063    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1065   { (exit 1); exit 1; }; }
1066    ac_useropt_orig=$ac_useropt
1067    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068    case $ac_user_opts in
1069      *"
1070"enable_$ac_useropt"
1071"*) ;;
1072      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1073	 ac_unrecognized_sep=', ';;
1074    esac
1075    eval enable_$ac_useropt=no ;;
1076
1077  -docdir | --docdir | --docdi | --doc | --do)
1078    ac_prev=docdir ;;
1079  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1080    docdir=$ac_optarg ;;
1081
1082  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1083    ac_prev=dvidir ;;
1084  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1085    dvidir=$ac_optarg ;;
1086
1087  -enable-* | --enable-*)
1088    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1089    # Reject names that are not valid shell variable names.
1090    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1092   { (exit 1); exit 1; }; }
1093    ac_useropt_orig=$ac_useropt
1094    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095    case $ac_user_opts in
1096      *"
1097"enable_$ac_useropt"
1098"*) ;;
1099      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1100	 ac_unrecognized_sep=', ';;
1101    esac
1102    eval enable_$ac_useropt=\$ac_optarg ;;
1103
1104  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1105  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1106  | --exec | --exe | --ex)
1107    ac_prev=exec_prefix ;;
1108  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1109  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1110  | --exec=* | --exe=* | --ex=*)
1111    exec_prefix=$ac_optarg ;;
1112
1113  -gas | --gas | --ga | --g)
1114    # Obsolete; use --with-gas.
1115    with_gas=yes ;;
1116
1117  -help | --help | --hel | --he | -h)
1118    ac_init_help=long ;;
1119  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1120    ac_init_help=recursive ;;
1121  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1122    ac_init_help=short ;;
1123
1124  -host | --host | --hos | --ho)
1125    ac_prev=host_alias ;;
1126  -host=* | --host=* | --hos=* | --ho=*)
1127    host_alias=$ac_optarg ;;
1128
1129  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1130    ac_prev=htmldir ;;
1131  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1132  | --ht=*)
1133    htmldir=$ac_optarg ;;
1134
1135  -includedir | --includedir | --includedi | --included | --include \
1136  | --includ | --inclu | --incl | --inc)
1137    ac_prev=includedir ;;
1138  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1139  | --includ=* | --inclu=* | --incl=* | --inc=*)
1140    includedir=$ac_optarg ;;
1141
1142  -infodir | --infodir | --infodi | --infod | --info | --inf)
1143    ac_prev=infodir ;;
1144  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1145    infodir=$ac_optarg ;;
1146
1147  -libdir | --libdir | --libdi | --libd)
1148    ac_prev=libdir ;;
1149  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1150    libdir=$ac_optarg ;;
1151
1152  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1153  | --libexe | --libex | --libe)
1154    ac_prev=libexecdir ;;
1155  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1156  | --libexe=* | --libex=* | --libe=*)
1157    libexecdir=$ac_optarg ;;
1158
1159  -localedir | --localedir | --localedi | --localed | --locale)
1160    ac_prev=localedir ;;
1161  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1162    localedir=$ac_optarg ;;
1163
1164  -localstatedir | --localstatedir | --localstatedi | --localstated \
1165  | --localstate | --localstat | --localsta | --localst | --locals)
1166    ac_prev=localstatedir ;;
1167  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1168  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1169    localstatedir=$ac_optarg ;;
1170
1171  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1172    ac_prev=mandir ;;
1173  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1174    mandir=$ac_optarg ;;
1175
1176  -nfp | --nfp | --nf)
1177    # Obsolete; use --without-fp.
1178    with_fp=no ;;
1179
1180  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1181  | --no-cr | --no-c | -n)
1182    no_create=yes ;;
1183
1184  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1185  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1186    no_recursion=yes ;;
1187
1188  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1189  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1190  | --oldin | --oldi | --old | --ol | --o)
1191    ac_prev=oldincludedir ;;
1192  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1193  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1194  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1195    oldincludedir=$ac_optarg ;;
1196
1197  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1198    ac_prev=prefix ;;
1199  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1200    prefix=$ac_optarg ;;
1201
1202  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1203  | --program-pre | --program-pr | --program-p)
1204    ac_prev=program_prefix ;;
1205  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1206  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1207    program_prefix=$ac_optarg ;;
1208
1209  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1210  | --program-suf | --program-su | --program-s)
1211    ac_prev=program_suffix ;;
1212  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1213  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1214    program_suffix=$ac_optarg ;;
1215
1216  -program-transform-name | --program-transform-name \
1217  | --program-transform-nam | --program-transform-na \
1218  | --program-transform-n | --program-transform- \
1219  | --program-transform | --program-transfor \
1220  | --program-transfo | --program-transf \
1221  | --program-trans | --program-tran \
1222  | --progr-tra | --program-tr | --program-t)
1223    ac_prev=program_transform_name ;;
1224  -program-transform-name=* | --program-transform-name=* \
1225  | --program-transform-nam=* | --program-transform-na=* \
1226  | --program-transform-n=* | --program-transform-=* \
1227  | --program-transform=* | --program-transfor=* \
1228  | --program-transfo=* | --program-transf=* \
1229  | --program-trans=* | --program-tran=* \
1230  | --progr-tra=* | --program-tr=* | --program-t=*)
1231    program_transform_name=$ac_optarg ;;
1232
1233  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1234    ac_prev=pdfdir ;;
1235  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1236    pdfdir=$ac_optarg ;;
1237
1238  -psdir | --psdir | --psdi | --psd | --ps)
1239    ac_prev=psdir ;;
1240  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1241    psdir=$ac_optarg ;;
1242
1243  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244  | -silent | --silent | --silen | --sile | --sil)
1245    silent=yes ;;
1246
1247  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1248    ac_prev=sbindir ;;
1249  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1250  | --sbi=* | --sb=*)
1251    sbindir=$ac_optarg ;;
1252
1253  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1254  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1255  | --sharedst | --shareds | --shared | --share | --shar \
1256  | --sha | --sh)
1257    ac_prev=sharedstatedir ;;
1258  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1259  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1260  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1261  | --sha=* | --sh=*)
1262    sharedstatedir=$ac_optarg ;;
1263
1264  -site | --site | --sit)
1265    ac_prev=site ;;
1266  -site=* | --site=* | --sit=*)
1267    site=$ac_optarg ;;
1268
1269  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1270    ac_prev=srcdir ;;
1271  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1272    srcdir=$ac_optarg ;;
1273
1274  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1275  | --syscon | --sysco | --sysc | --sys | --sy)
1276    ac_prev=sysconfdir ;;
1277  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1278  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1279    sysconfdir=$ac_optarg ;;
1280
1281  -target | --target | --targe | --targ | --tar | --ta | --t)
1282    ac_prev=target_alias ;;
1283  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1284    target_alias=$ac_optarg ;;
1285
1286  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1287    verbose=yes ;;
1288
1289  -version | --version | --versio | --versi | --vers | -V)
1290    ac_init_version=: ;;
1291
1292  -with-* | --with-*)
1293    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1294    # Reject names that are not valid shell variable names.
1295    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1297   { (exit 1); exit 1; }; }
1298    ac_useropt_orig=$ac_useropt
1299    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1300    case $ac_user_opts in
1301      *"
1302"with_$ac_useropt"
1303"*) ;;
1304      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1305	 ac_unrecognized_sep=', ';;
1306    esac
1307    eval with_$ac_useropt=\$ac_optarg ;;
1308
1309  -without-* | --without-*)
1310    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1311    # Reject names that are not valid shell variable names.
1312    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1313      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1314   { (exit 1); exit 1; }; }
1315    ac_useropt_orig=$ac_useropt
1316    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317    case $ac_user_opts in
1318      *"
1319"with_$ac_useropt"
1320"*) ;;
1321      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1322	 ac_unrecognized_sep=', ';;
1323    esac
1324    eval with_$ac_useropt=no ;;
1325
1326  --x)
1327    # Obsolete; use --with-x.
1328    with_x=yes ;;
1329
1330  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1331  | --x-incl | --x-inc | --x-in | --x-i)
1332    ac_prev=x_includes ;;
1333  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1334  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1335    x_includes=$ac_optarg ;;
1336
1337  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1338  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1339    ac_prev=x_libraries ;;
1340  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1341  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1342    x_libraries=$ac_optarg ;;
1343
1344  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1345Try \`$0 --help' for more information." >&2
1346   { (exit 1); exit 1; }; }
1347    ;;
1348
1349  *=*)
1350    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1351    # Reject names that are not valid shell variable names.
1352    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1353      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1354   { (exit 1); exit 1; }; }
1355    eval $ac_envvar=\$ac_optarg
1356    export $ac_envvar ;;
1357
1358  *)
1359    # FIXME: should be removed in autoconf 3.0.
1360    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1361    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1362      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1363    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1364    ;;
1365
1366  esac
1367done
1368
1369if test -n "$ac_prev"; then
1370  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1371  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1372   { (exit 1); exit 1; }; }
1373fi
1374
1375if test -n "$ac_unrecognized_opts"; then
1376  case $enable_option_checking in
1377    no) ;;
1378    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1379   { (exit 1); exit 1; }; } ;;
1380    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1381  esac
1382fi
1383
1384# Check all directory arguments for consistency.
1385for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1386		datadir sysconfdir sharedstatedir localstatedir includedir \
1387		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1388		libdir localedir mandir
1389do
1390  eval ac_val=\$$ac_var
1391  # Remove trailing slashes.
1392  case $ac_val in
1393    */ )
1394      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1395      eval $ac_var=\$ac_val;;
1396  esac
1397  # Be sure to have absolute directory names.
1398  case $ac_val in
1399    [\\/$]* | ?:[\\/]* )  continue;;
1400    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1401  esac
1402  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1403   { (exit 1); exit 1; }; }
1404done
1405
1406# There might be people who depend on the old broken behavior: `$host'
1407# used to hold the argument of --host etc.
1408# FIXME: To remove some day.
1409build=$build_alias
1410host=$host_alias
1411target=$target_alias
1412
1413# FIXME: To remove some day.
1414if test "x$host_alias" != x; then
1415  if test "x$build_alias" = x; then
1416    cross_compiling=maybe
1417    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1418    If a cross compiler is detected then cross compile mode will be used." >&2
1419  elif test "x$build_alias" != "x$host_alias"; then
1420    cross_compiling=yes
1421  fi
1422fi
1423
1424ac_tool_prefix=
1425test -n "$host_alias" && ac_tool_prefix=$host_alias-
1426
1427test "$silent" = yes && exec 6>/dev/null
1428
1429
1430ac_pwd=`pwd` && test -n "$ac_pwd" &&
1431ac_ls_di=`ls -di .` &&
1432ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1433  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1434   { (exit 1); exit 1; }; }
1435test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1436  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1437   { (exit 1); exit 1; }; }
1438
1439
1440# Find the source files, if location was not specified.
1441if test -z "$srcdir"; then
1442  ac_srcdir_defaulted=yes
1443  # Try the directory containing this script, then the parent directory.
1444  ac_confdir=`$as_dirname -- "$as_myself" ||
1445$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1446	 X"$as_myself" : 'X\(//\)[^/]' \| \
1447	 X"$as_myself" : 'X\(//\)$' \| \
1448	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1449$as_echo X"$as_myself" |
1450    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1451	    s//\1/
1452	    q
1453	  }
1454	  /^X\(\/\/\)[^/].*/{
1455	    s//\1/
1456	    q
1457	  }
1458	  /^X\(\/\/\)$/{
1459	    s//\1/
1460	    q
1461	  }
1462	  /^X\(\/\).*/{
1463	    s//\1/
1464	    q
1465	  }
1466	  s/.*/./; q'`
1467  srcdir=$ac_confdir
1468  if test ! -r "$srcdir/$ac_unique_file"; then
1469    srcdir=..
1470  fi
1471else
1472  ac_srcdir_defaulted=no
1473fi
1474if test ! -r "$srcdir/$ac_unique_file"; then
1475  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1476  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1477   { (exit 1); exit 1; }; }
1478fi
1479ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1480ac_abs_confdir=`(
1481	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1482   { (exit 1); exit 1; }; }
1483	pwd)`
1484# When building in place, set srcdir=.
1485if test "$ac_abs_confdir" = "$ac_pwd"; then
1486  srcdir=.
1487fi
1488# Remove unnecessary trailing slashes from srcdir.
1489# Double slashes in file names in object file debugging info
1490# mess up M-x gdb in Emacs.
1491case $srcdir in
1492*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1493esac
1494for ac_var in $ac_precious_vars; do
1495  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1496  eval ac_env_${ac_var}_value=\$${ac_var}
1497  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1498  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1499done
1500
1501#
1502# Report the --help message.
1503#
1504if test "$ac_init_help" = "long"; then
1505  # Omit some internal or obsolete options to make the list less imposing.
1506  # This message is too long to be a string in the A/UX 3.1 sh.
1507  cat <<_ACEOF
1508\`configure' configures libXt 1.0.6 to adapt to many kinds of systems.
1509
1510Usage: $0 [OPTION]... [VAR=VALUE]...
1511
1512To assign environment variables (e.g., CC, CFLAGS...), specify them as
1513VAR=VALUE.  See below for descriptions of some of the useful variables.
1514
1515Defaults for the options are specified in brackets.
1516
1517Configuration:
1518  -h, --help              display this help and exit
1519      --help=short        display options specific to this package
1520      --help=recursive    display the short help of all the included packages
1521  -V, --version           display version information and exit
1522  -q, --quiet, --silent   do not print \`checking...' messages
1523      --cache-file=FILE   cache test results in FILE [disabled]
1524  -C, --config-cache      alias for \`--cache-file=config.cache'
1525  -n, --no-create         do not create output files
1526      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1527
1528Installation directories:
1529  --prefix=PREFIX         install architecture-independent files in PREFIX
1530                          [$ac_default_prefix]
1531  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1532                          [PREFIX]
1533
1534By default, \`make install' will install all the files in
1535\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1536an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1537for instance \`--prefix=\$HOME'.
1538
1539For better control, use the options below.
1540
1541Fine tuning of the installation directories:
1542  --bindir=DIR            user executables [EPREFIX/bin]
1543  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1544  --libexecdir=DIR        program executables [EPREFIX/libexec]
1545  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1546  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1547  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1548  --libdir=DIR            object code libraries [EPREFIX/lib]
1549  --includedir=DIR        C header files [PREFIX/include]
1550  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1551  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1552  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1553  --infodir=DIR           info documentation [DATAROOTDIR/info]
1554  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1555  --mandir=DIR            man documentation [DATAROOTDIR/man]
1556  --docdir=DIR            documentation root [DATAROOTDIR/doc/libXt]
1557  --htmldir=DIR           html documentation [DOCDIR]
1558  --dvidir=DIR            dvi documentation [DOCDIR]
1559  --pdfdir=DIR            pdf documentation [DOCDIR]
1560  --psdir=DIR             ps documentation [DOCDIR]
1561_ACEOF
1562
1563  cat <<\_ACEOF
1564
1565Program names:
1566  --program-prefix=PREFIX            prepend PREFIX to installed program names
1567  --program-suffix=SUFFIX            append SUFFIX to installed program names
1568  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1569
1570System types:
1571  --build=BUILD     configure for building on BUILD [guessed]
1572  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1573_ACEOF
1574fi
1575
1576if test -n "$ac_init_help"; then
1577  case $ac_init_help in
1578     short | recursive ) echo "Configuration of libXt 1.0.6:";;
1579   esac
1580  cat <<\_ACEOF
1581
1582Optional Features:
1583  --disable-option-checking  ignore unrecognized --enable/--with options
1584  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1585  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1586  --enable-maintainer-mode  enable make rules and dependencies not useful
1587			  (and sometimes confusing) to the casual installer
1588  --disable-dependency-tracking  speeds up one-time build
1589  --enable-dependency-tracking   do not reject slow dependency extractors
1590  --enable-shared[=PKGS]  build shared libraries [default=yes]
1591  --enable-static[=PKGS]  build static libraries [default=yes]
1592  --enable-fast-install[=PKGS]
1593                          optimize for fast installation [default=yes]
1594  --disable-libtool-lock  avoid locking (might break parallel builds)
1595  --disable-xkb           Disable XKB support
1596  --disable-install-makestrs
1597                          Disable installing makestrs
1598  --enable-malloc0returnsnull
1599                          malloc(0) returns NULL (default: auto)
1600
1601Optional Packages:
1602  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1603  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1604  --with-pic              try to use only PIC/non-PIC objects [default=use
1605                          both]
1606  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1607  --with-xfile-search-path=<path>
1608                          Set path to search for app-defaults and other files
1609  --with-appdefaultdir=<path>
1610                          Set app-default directory (default:
1611                          ${datadir}/X11/app-defaults)
1612  --with-release-version=STRING
1613                          Use release version string in package name
1614
1615Some influential environment variables:
1616  CC          C compiler command
1617  CFLAGS      C compiler flags
1618  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1619              nonstandard directory <lib dir>
1620  LIBS        libraries to pass to the linker, e.g. -l<library>
1621  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1622              you have headers in a nonstandard directory <include dir>
1623  CPP         C preprocessor
1624  PKG_CONFIG  path to pkg-config utility
1625  XT_CFLAGS   C compiler flags for XT, overriding pkg-config
1626  XT_LIBS     linker flags for XT, overriding pkg-config
1627
1628Use these variables to override the choices made by `configure' or to help
1629it to find libraries and programs with nonstandard names/locations.
1630
1631Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1632_ACEOF
1633ac_status=$?
1634fi
1635
1636if test "$ac_init_help" = "recursive"; then
1637  # If there are subdirs, report their specific --help.
1638  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1639    test -d "$ac_dir" ||
1640      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1641      continue
1642    ac_builddir=.
1643
1644case "$ac_dir" in
1645.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1646*)
1647  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1648  # A ".." for each directory in $ac_dir_suffix.
1649  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1650  case $ac_top_builddir_sub in
1651  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1653  esac ;;
1654esac
1655ac_abs_top_builddir=$ac_pwd
1656ac_abs_builddir=$ac_pwd$ac_dir_suffix
1657# for backward compatibility:
1658ac_top_builddir=$ac_top_build_prefix
1659
1660case $srcdir in
1661  .)  # We are building in place.
1662    ac_srcdir=.
1663    ac_top_srcdir=$ac_top_builddir_sub
1664    ac_abs_top_srcdir=$ac_pwd ;;
1665  [\\/]* | ?:[\\/]* )  # Absolute name.
1666    ac_srcdir=$srcdir$ac_dir_suffix;
1667    ac_top_srcdir=$srcdir
1668    ac_abs_top_srcdir=$srcdir ;;
1669  *) # Relative name.
1670    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1671    ac_top_srcdir=$ac_top_build_prefix$srcdir
1672    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1673esac
1674ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1675
1676    cd "$ac_dir" || { ac_status=$?; continue; }
1677    # Check for guested configure.
1678    if test -f "$ac_srcdir/configure.gnu"; then
1679      echo &&
1680      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1681    elif test -f "$ac_srcdir/configure"; then
1682      echo &&
1683      $SHELL "$ac_srcdir/configure" --help=recursive
1684    else
1685      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1686    fi || ac_status=$?
1687    cd "$ac_pwd" || { ac_status=$?; break; }
1688  done
1689fi
1690
1691test -n "$ac_init_help" && exit $ac_status
1692if $ac_init_version; then
1693  cat <<\_ACEOF
1694libXt configure 1.0.6
1695generated by GNU Autoconf 2.63
1696
1697Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16982002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1699This configure script is free software; the Free Software Foundation
1700gives unlimited permission to copy, distribute and modify it.
1701_ACEOF
1702  exit
1703fi
1704cat >config.log <<_ACEOF
1705This file contains any messages produced by compilers while
1706running configure, to aid debugging if configure makes a mistake.
1707
1708It was created by libXt $as_me 1.0.6, which was
1709generated by GNU Autoconf 2.63.  Invocation command line was
1710
1711  $ $0 $@
1712
1713_ACEOF
1714exec 5>>config.log
1715{
1716cat <<_ASUNAME
1717## --------- ##
1718## Platform. ##
1719## --------- ##
1720
1721hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1722uname -m = `(uname -m) 2>/dev/null || echo unknown`
1723uname -r = `(uname -r) 2>/dev/null || echo unknown`
1724uname -s = `(uname -s) 2>/dev/null || echo unknown`
1725uname -v = `(uname -v) 2>/dev/null || echo unknown`
1726
1727/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1728/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1729
1730/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1731/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1732/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1733/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1734/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1735/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1736/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1737
1738_ASUNAME
1739
1740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1741for as_dir in $PATH
1742do
1743  IFS=$as_save_IFS
1744  test -z "$as_dir" && as_dir=.
1745  $as_echo "PATH: $as_dir"
1746done
1747IFS=$as_save_IFS
1748
1749} >&5
1750
1751cat >&5 <<_ACEOF
1752
1753
1754## ----------- ##
1755## Core tests. ##
1756## ----------- ##
1757
1758_ACEOF
1759
1760
1761# Keep a trace of the command line.
1762# Strip out --no-create and --no-recursion so they do not pile up.
1763# Strip out --silent because we don't want to record it for future runs.
1764# Also quote any args containing shell meta-characters.
1765# Make two passes to allow for proper duplicate-argument suppression.
1766ac_configure_args=
1767ac_configure_args0=
1768ac_configure_args1=
1769ac_must_keep_next=false
1770for ac_pass in 1 2
1771do
1772  for ac_arg
1773  do
1774    case $ac_arg in
1775    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1776    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1777    | -silent | --silent | --silen | --sile | --sil)
1778      continue ;;
1779    *\'*)
1780      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1781    esac
1782    case $ac_pass in
1783    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1784    2)
1785      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1786      if test $ac_must_keep_next = true; then
1787	ac_must_keep_next=false # Got value, back to normal.
1788      else
1789	case $ac_arg in
1790	  *=* | --config-cache | -C | -disable-* | --disable-* \
1791	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1792	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1793	  | -with-* | --with-* | -without-* | --without-* | --x)
1794	    case "$ac_configure_args0 " in
1795	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1796	    esac
1797	    ;;
1798	  -* ) ac_must_keep_next=true ;;
1799	esac
1800      fi
1801      ac_configure_args="$ac_configure_args '$ac_arg'"
1802      ;;
1803    esac
1804  done
1805done
1806$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1807$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1808
1809# When interrupted or exit'd, cleanup temporary files, and complete
1810# config.log.  We remove comments because anyway the quotes in there
1811# would cause problems or look ugly.
1812# WARNING: Use '\'' to represent an apostrophe within the trap.
1813# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1814trap 'exit_status=$?
1815  # Save into config.log some information that might help in debugging.
1816  {
1817    echo
1818
1819    cat <<\_ASBOX
1820## ---------------- ##
1821## Cache variables. ##
1822## ---------------- ##
1823_ASBOX
1824    echo
1825    # The following way of writing the cache mishandles newlines in values,
1826(
1827  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1828    eval ac_val=\$$ac_var
1829    case $ac_val in #(
1830    *${as_nl}*)
1831      case $ac_var in #(
1832      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1833$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1834      esac
1835      case $ac_var in #(
1836      _ | IFS | as_nl) ;; #(
1837      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1838      *) $as_unset $ac_var ;;
1839      esac ;;
1840    esac
1841  done
1842  (set) 2>&1 |
1843    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1844    *${as_nl}ac_space=\ *)
1845      sed -n \
1846	"s/'\''/'\''\\\\'\'''\''/g;
1847	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1848      ;; #(
1849    *)
1850      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1851      ;;
1852    esac |
1853    sort
1854)
1855    echo
1856
1857    cat <<\_ASBOX
1858## ----------------- ##
1859## Output variables. ##
1860## ----------------- ##
1861_ASBOX
1862    echo
1863    for ac_var in $ac_subst_vars
1864    do
1865      eval ac_val=\$$ac_var
1866      case $ac_val in
1867      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1868      esac
1869      $as_echo "$ac_var='\''$ac_val'\''"
1870    done | sort
1871    echo
1872
1873    if test -n "$ac_subst_files"; then
1874      cat <<\_ASBOX
1875## ------------------- ##
1876## File substitutions. ##
1877## ------------------- ##
1878_ASBOX
1879      echo
1880      for ac_var in $ac_subst_files
1881      do
1882	eval ac_val=\$$ac_var
1883	case $ac_val in
1884	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885	esac
1886	$as_echo "$ac_var='\''$ac_val'\''"
1887      done | sort
1888      echo
1889    fi
1890
1891    if test -s confdefs.h; then
1892      cat <<\_ASBOX
1893## ----------- ##
1894## confdefs.h. ##
1895## ----------- ##
1896_ASBOX
1897      echo
1898      cat confdefs.h
1899      echo
1900    fi
1901    test "$ac_signal" != 0 &&
1902      $as_echo "$as_me: caught signal $ac_signal"
1903    $as_echo "$as_me: exit $exit_status"
1904  } >&5
1905  rm -f core *.core core.conftest.* &&
1906    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1907    exit $exit_status
1908' 0
1909for ac_signal in 1 2 13 15; do
1910  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1911done
1912ac_signal=0
1913
1914# confdefs.h avoids OS command line length limits that DEFS can exceed.
1915rm -f -r conftest* confdefs.h
1916
1917# Predefined preprocessor variables.
1918
1919cat >>confdefs.h <<_ACEOF
1920#define PACKAGE_NAME "$PACKAGE_NAME"
1921_ACEOF
1922
1923
1924cat >>confdefs.h <<_ACEOF
1925#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1926_ACEOF
1927
1928
1929cat >>confdefs.h <<_ACEOF
1930#define PACKAGE_VERSION "$PACKAGE_VERSION"
1931_ACEOF
1932
1933
1934cat >>confdefs.h <<_ACEOF
1935#define PACKAGE_STRING "$PACKAGE_STRING"
1936_ACEOF
1937
1938
1939cat >>confdefs.h <<_ACEOF
1940#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1941_ACEOF
1942
1943
1944# Let the site file select an alternate cache file if it wants to.
1945# Prefer an explicitly selected file to automatically selected ones.
1946ac_site_file1=NONE
1947ac_site_file2=NONE
1948if test -n "$CONFIG_SITE"; then
1949  ac_site_file1=$CONFIG_SITE
1950elif test "x$prefix" != xNONE; then
1951  ac_site_file1=$prefix/share/config.site
1952  ac_site_file2=$prefix/etc/config.site
1953else
1954  ac_site_file1=$ac_default_prefix/share/config.site
1955  ac_site_file2=$ac_default_prefix/etc/config.site
1956fi
1957for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1958do
1959  test "x$ac_site_file" = xNONE && continue
1960  if test -r "$ac_site_file"; then
1961    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1962$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1963    sed 's/^/| /' "$ac_site_file" >&5
1964    . "$ac_site_file"
1965  fi
1966done
1967
1968if test -r "$cache_file"; then
1969  # Some versions of bash will fail to source /dev/null (special
1970  # files actually), so we avoid doing that.
1971  if test -f "$cache_file"; then
1972    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1973$as_echo "$as_me: loading cache $cache_file" >&6;}
1974    case $cache_file in
1975      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1976      *)                      . "./$cache_file";;
1977    esac
1978  fi
1979else
1980  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1981$as_echo "$as_me: creating cache $cache_file" >&6;}
1982  >$cache_file
1983fi
1984
1985# Check that the precious variables saved in the cache have kept the same
1986# value.
1987ac_cache_corrupted=false
1988for ac_var in $ac_precious_vars; do
1989  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1990  eval ac_new_set=\$ac_env_${ac_var}_set
1991  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1992  eval ac_new_val=\$ac_env_${ac_var}_value
1993  case $ac_old_set,$ac_new_set in
1994    set,)
1995      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1996$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1997      ac_cache_corrupted=: ;;
1998    ,set)
1999      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2000$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2001      ac_cache_corrupted=: ;;
2002    ,);;
2003    *)
2004      if test "x$ac_old_val" != "x$ac_new_val"; then
2005	# differences in whitespace do not lead to failure.
2006	ac_old_val_w=`echo x $ac_old_val`
2007	ac_new_val_w=`echo x $ac_new_val`
2008	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2009	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2010$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2011	  ac_cache_corrupted=:
2012	else
2013	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2014$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2015	  eval $ac_var=\$ac_old_val
2016	fi
2017	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2018$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2019	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2020$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2021      fi;;
2022  esac
2023  # Pass precious variables to config.status.
2024  if test "$ac_new_set" = set; then
2025    case $ac_new_val in
2026    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2027    *) ac_arg=$ac_var=$ac_new_val ;;
2028    esac
2029    case " $ac_configure_args " in
2030      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2031      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2032    esac
2033  fi
2034done
2035if $ac_cache_corrupted; then
2036  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2038  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2039$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2040  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2041$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2042   { (exit 1); exit 1; }; }
2043fi
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069ac_ext=c
2070ac_cpp='$CPP $CPPFLAGS'
2071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2073ac_compiler_gnu=$ac_cv_c_compiler_gnu
2074
2075
2076am__api_version='1.10'
2077
2078ac_aux_dir=
2079for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2080  if test -f "$ac_dir/install-sh"; then
2081    ac_aux_dir=$ac_dir
2082    ac_install_sh="$ac_aux_dir/install-sh -c"
2083    break
2084  elif test -f "$ac_dir/install.sh"; then
2085    ac_aux_dir=$ac_dir
2086    ac_install_sh="$ac_aux_dir/install.sh -c"
2087    break
2088  elif test -f "$ac_dir/shtool"; then
2089    ac_aux_dir=$ac_dir
2090    ac_install_sh="$ac_aux_dir/shtool install -c"
2091    break
2092  fi
2093done
2094if test -z "$ac_aux_dir"; then
2095  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2096$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2097   { (exit 1); exit 1; }; }
2098fi
2099
2100# These three variables are undocumented and unsupported,
2101# and are intended to be withdrawn in a future Autoconf release.
2102# They can cause serious problems if a builder's source tree is in a directory
2103# whose full name contains unusual characters.
2104ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2105ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2106ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2107
2108
2109# Find a good install program.  We prefer a C program (faster),
2110# so one script is as good as another.  But avoid the broken or
2111# incompatible versions:
2112# SysV /etc/install, /usr/sbin/install
2113# SunOS /usr/etc/install
2114# IRIX /sbin/install
2115# AIX /bin/install
2116# AmigaOS /C/install, which installs bootblocks on floppy discs
2117# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2118# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2119# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2120# OS/2's system install, which has a completely different semantic
2121# ./install, which can be erroneously created by make from ./install.sh.
2122# Reject install programs that cannot install multiple files.
2123{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2124$as_echo_n "checking for a BSD-compatible install... " >&6; }
2125if test -z "$INSTALL"; then
2126if test "${ac_cv_path_install+set}" = set; then
2127  $as_echo_n "(cached) " >&6
2128else
2129  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130for as_dir in $PATH
2131do
2132  IFS=$as_save_IFS
2133  test -z "$as_dir" && as_dir=.
2134  # Account for people who put trailing slashes in PATH elements.
2135case $as_dir/ in
2136  ./ | .// | /cC/* | \
2137  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2138  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2139  /usr/ucb/* ) ;;
2140  *)
2141    # OSF1 and SCO ODT 3.0 have their own names for install.
2142    # Don't use installbsd from OSF since it installs stuff as root
2143    # by default.
2144    for ac_prog in ginstall scoinst install; do
2145      for ac_exec_ext in '' $ac_executable_extensions; do
2146	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2147	  if test $ac_prog = install &&
2148	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2149	    # AIX install.  It has an incompatible calling convention.
2150	    :
2151	  elif test $ac_prog = install &&
2152	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2153	    # program-specific install script used by HP pwplus--don't use.
2154	    :
2155	  else
2156	    rm -rf conftest.one conftest.two conftest.dir
2157	    echo one > conftest.one
2158	    echo two > conftest.two
2159	    mkdir conftest.dir
2160	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2161	      test -s conftest.one && test -s conftest.two &&
2162	      test -s conftest.dir/conftest.one &&
2163	      test -s conftest.dir/conftest.two
2164	    then
2165	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2166	      break 3
2167	    fi
2168	  fi
2169	fi
2170      done
2171    done
2172    ;;
2173esac
2174
2175done
2176IFS=$as_save_IFS
2177
2178rm -rf conftest.one conftest.two conftest.dir
2179
2180fi
2181  if test "${ac_cv_path_install+set}" = set; then
2182    INSTALL=$ac_cv_path_install
2183  else
2184    # As a last resort, use the slow shell script.  Don't cache a
2185    # value for INSTALL within a source directory, because that will
2186    # break other packages using the cache if that directory is
2187    # removed, or if the value is a relative name.
2188    INSTALL=$ac_install_sh
2189  fi
2190fi
2191{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2192$as_echo "$INSTALL" >&6; }
2193
2194# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2195# It thinks the first close brace ends the variable substitution.
2196test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2197
2198test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2199
2200test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2201
2202{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2203$as_echo_n "checking whether build environment is sane... " >&6; }
2204# Just in case
2205sleep 1
2206echo timestamp > conftest.file
2207# Do `set' in a subshell so we don't clobber the current shell's
2208# arguments.  Must try -L first in case configure is actually a
2209# symlink; some systems play weird games with the mod time of symlinks
2210# (eg FreeBSD returns the mod time of the symlink's containing
2211# directory).
2212if (
2213   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2214   if test "$*" = "X"; then
2215      # -L didn't work.
2216      set X `ls -t $srcdir/configure conftest.file`
2217   fi
2218   rm -f conftest.file
2219   if test "$*" != "X $srcdir/configure conftest.file" \
2220      && test "$*" != "X conftest.file $srcdir/configure"; then
2221
2222      # If neither matched, then we have a broken ls.  This can happen
2223      # if, for instance, CONFIG_SHELL is bash and it inherits a
2224      # broken ls alias from the environment.  This has actually
2225      # happened.  Such a system could not be considered "sane".
2226      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2227alias in your environment" >&5
2228$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2229alias in your environment" >&2;}
2230   { (exit 1); exit 1; }; }
2231   fi
2232
2233   test "$2" = conftest.file
2234   )
2235then
2236   # Ok.
2237   :
2238else
2239   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2240Check your system clock" >&5
2241$as_echo "$as_me: error: newly created file is older than distributed files!
2242Check your system clock" >&2;}
2243   { (exit 1); exit 1; }; }
2244fi
2245{ $as_echo "$as_me:$LINENO: result: yes" >&5
2246$as_echo "yes" >&6; }
2247test "$program_prefix" != NONE &&
2248  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2249# Use a double $ so make ignores it.
2250test "$program_suffix" != NONE &&
2251  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2252# Double any \ or $.
2253# By default was `s,x,x', remove it if useless.
2254ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2255program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2256
2257# expand $ac_aux_dir to an absolute path
2258am_aux_dir=`cd $ac_aux_dir && pwd`
2259
2260test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2261# Use eval to expand $SHELL
2262if eval "$MISSING --run true"; then
2263  am_missing_run="$MISSING --run "
2264else
2265  am_missing_run=
2266  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2267$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2268fi
2269
2270{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2271$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2272if test -z "$MKDIR_P"; then
2273  if test "${ac_cv_path_mkdir+set}" = set; then
2274  $as_echo_n "(cached) " >&6
2275else
2276  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2278do
2279  IFS=$as_save_IFS
2280  test -z "$as_dir" && as_dir=.
2281  for ac_prog in mkdir gmkdir; do
2282	 for ac_exec_ext in '' $ac_executable_extensions; do
2283	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2284	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2285	     'mkdir (GNU coreutils) '* | \
2286	     'mkdir (coreutils) '* | \
2287	     'mkdir (fileutils) '4.1*)
2288	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2289	       break 3;;
2290	   esac
2291	 done
2292       done
2293done
2294IFS=$as_save_IFS
2295
2296fi
2297
2298  if test "${ac_cv_path_mkdir+set}" = set; then
2299    MKDIR_P="$ac_cv_path_mkdir -p"
2300  else
2301    # As a last resort, use the slow shell script.  Don't cache a
2302    # value for MKDIR_P within a source directory, because that will
2303    # break other packages using the cache if that directory is
2304    # removed, or if the value is a relative name.
2305    test -d ./--version && rmdir ./--version
2306    MKDIR_P="$ac_install_sh -d"
2307  fi
2308fi
2309{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2310$as_echo "$MKDIR_P" >&6; }
2311
2312mkdir_p="$MKDIR_P"
2313case $mkdir_p in
2314  [\\/$]* | ?:[\\/]*) ;;
2315  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2316esac
2317
2318for ac_prog in gawk mawk nawk awk
2319do
2320  # Extract the first word of "$ac_prog", so it can be a program name with args.
2321set dummy $ac_prog; ac_word=$2
2322{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2323$as_echo_n "checking for $ac_word... " >&6; }
2324if test "${ac_cv_prog_AWK+set}" = set; then
2325  $as_echo_n "(cached) " >&6
2326else
2327  if test -n "$AWK"; then
2328  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2329else
2330as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331for as_dir in $PATH
2332do
2333  IFS=$as_save_IFS
2334  test -z "$as_dir" && as_dir=.
2335  for ac_exec_ext in '' $ac_executable_extensions; do
2336  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337    ac_cv_prog_AWK="$ac_prog"
2338    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339    break 2
2340  fi
2341done
2342done
2343IFS=$as_save_IFS
2344
2345fi
2346fi
2347AWK=$ac_cv_prog_AWK
2348if test -n "$AWK"; then
2349  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2350$as_echo "$AWK" >&6; }
2351else
2352  { $as_echo "$as_me:$LINENO: result: no" >&5
2353$as_echo "no" >&6; }
2354fi
2355
2356
2357  test -n "$AWK" && break
2358done
2359
2360{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2361$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2362set x ${MAKE-make}
2363ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2364if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2365  $as_echo_n "(cached) " >&6
2366else
2367  cat >conftest.make <<\_ACEOF
2368SHELL = /bin/sh
2369all:
2370	@echo '@@@%%%=$(MAKE)=@@@%%%'
2371_ACEOF
2372# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2373case `${MAKE-make} -f conftest.make 2>/dev/null` in
2374  *@@@%%%=?*=@@@%%%*)
2375    eval ac_cv_prog_make_${ac_make}_set=yes;;
2376  *)
2377    eval ac_cv_prog_make_${ac_make}_set=no;;
2378esac
2379rm -f conftest.make
2380fi
2381if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2382  { $as_echo "$as_me:$LINENO: result: yes" >&5
2383$as_echo "yes" >&6; }
2384  SET_MAKE=
2385else
2386  { $as_echo "$as_me:$LINENO: result: no" >&5
2387$as_echo "no" >&6; }
2388  SET_MAKE="MAKE=${MAKE-make}"
2389fi
2390
2391rm -rf .tst 2>/dev/null
2392mkdir .tst 2>/dev/null
2393if test -d .tst; then
2394  am__leading_dot=.
2395else
2396  am__leading_dot=_
2397fi
2398rmdir .tst 2>/dev/null
2399
2400if test "`cd $srcdir && pwd`" != "`pwd`"; then
2401  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2402  # is not polluted with repeated "-I."
2403  am__isrc=' -I$(srcdir)'
2404  # test to see if srcdir already configured
2405  if test -f $srcdir/config.status; then
2406    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2407$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2408   { (exit 1); exit 1; }; }
2409  fi
2410fi
2411
2412# test whether we have cygpath
2413if test -z "$CYGPATH_W"; then
2414  if (cygpath --version) >/dev/null 2>/dev/null; then
2415    CYGPATH_W='cygpath -w'
2416  else
2417    CYGPATH_W=echo
2418  fi
2419fi
2420
2421
2422# Define the identity of the package.
2423 PACKAGE='libXt'
2424 VERSION='1.0.6'
2425
2426
2427cat >>confdefs.h <<_ACEOF
2428#define PACKAGE "$PACKAGE"
2429_ACEOF
2430
2431
2432cat >>confdefs.h <<_ACEOF
2433#define VERSION "$VERSION"
2434_ACEOF
2435
2436# Some tools Automake needs.
2437
2438ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2439
2440
2441AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2442
2443
2444AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2445
2446
2447AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2448
2449
2450MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2451
2452install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2453
2454# Installed binaries are usually stripped using `strip' when the user
2455# run `make install-strip'.  However `strip' might not be the right
2456# tool to use in cross-compilation environments, therefore Automake
2457# will honor the `STRIP' environment variable to overrule this program.
2458if test "$cross_compiling" != no; then
2459  if test -n "$ac_tool_prefix"; then
2460  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2461set dummy ${ac_tool_prefix}strip; ac_word=$2
2462{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2463$as_echo_n "checking for $ac_word... " >&6; }
2464if test "${ac_cv_prog_STRIP+set}" = set; then
2465  $as_echo_n "(cached) " >&6
2466else
2467  if test -n "$STRIP"; then
2468  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2469else
2470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471for as_dir in $PATH
2472do
2473  IFS=$as_save_IFS
2474  test -z "$as_dir" && as_dir=.
2475  for ac_exec_ext in '' $ac_executable_extensions; do
2476  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2478    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479    break 2
2480  fi
2481done
2482done
2483IFS=$as_save_IFS
2484
2485fi
2486fi
2487STRIP=$ac_cv_prog_STRIP
2488if test -n "$STRIP"; then
2489  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2490$as_echo "$STRIP" >&6; }
2491else
2492  { $as_echo "$as_me:$LINENO: result: no" >&5
2493$as_echo "no" >&6; }
2494fi
2495
2496
2497fi
2498if test -z "$ac_cv_prog_STRIP"; then
2499  ac_ct_STRIP=$STRIP
2500  # Extract the first word of "strip", so it can be a program name with args.
2501set dummy strip; ac_word=$2
2502{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2503$as_echo_n "checking for $ac_word... " >&6; }
2504if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2505  $as_echo_n "(cached) " >&6
2506else
2507  if test -n "$ac_ct_STRIP"; then
2508  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2509else
2510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511for as_dir in $PATH
2512do
2513  IFS=$as_save_IFS
2514  test -z "$as_dir" && as_dir=.
2515  for ac_exec_ext in '' $ac_executable_extensions; do
2516  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2517    ac_cv_prog_ac_ct_STRIP="strip"
2518    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2519    break 2
2520  fi
2521done
2522done
2523IFS=$as_save_IFS
2524
2525fi
2526fi
2527ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2528if test -n "$ac_ct_STRIP"; then
2529  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2530$as_echo "$ac_ct_STRIP" >&6; }
2531else
2532  { $as_echo "$as_me:$LINENO: result: no" >&5
2533$as_echo "no" >&6; }
2534fi
2535
2536  if test "x$ac_ct_STRIP" = x; then
2537    STRIP=":"
2538  else
2539    case $cross_compiling:$ac_tool_warned in
2540yes:)
2541{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2542$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2543ac_tool_warned=yes ;;
2544esac
2545    STRIP=$ac_ct_STRIP
2546  fi
2547else
2548  STRIP="$ac_cv_prog_STRIP"
2549fi
2550
2551fi
2552INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2553
2554# We need awk for the "check" target.  The system "awk" is bad on
2555# some platforms.
2556# Always define AMTAR for backward compatibility.
2557
2558AMTAR=${AMTAR-"${am_missing_run}tar"}
2559
2560am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2561
2562
2563
2564
2565
2566{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2567$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2568    # Check whether --enable-maintainer-mode was given.
2569if test "${enable_maintainer_mode+set}" = set; then
2570  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2571else
2572  USE_MAINTAINER_MODE=no
2573fi
2574
2575  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2576$as_echo "$USE_MAINTAINER_MODE" >&6; }
2577   if test $USE_MAINTAINER_MODE = yes; then
2578  MAINTAINER_MODE_TRUE=
2579  MAINTAINER_MODE_FALSE='#'
2580else
2581  MAINTAINER_MODE_TRUE='#'
2582  MAINTAINER_MODE_FALSE=
2583fi
2584
2585  MAINT=$MAINTAINER_MODE_TRUE
2586
2587
2588
2589# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
2590
2591
2592	XORG_MACROS_needed_version=1.2
2593	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
2594	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
2595	{ $as_echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
2596$as_echo_n "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... " >&6; }
2597	XORG_MACROS_version=1.2.1
2598	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
2599	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
2600	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
2601		{ { $as_echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
2602$as_echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
2603   { (exit 1); exit 1; }; }
2604	fi
2605	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
2606		{ { $as_echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
2607$as_echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
2608   { (exit 1); exit 1; }; }
2609	fi
2610	{ $as_echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
2611$as_echo "yes, $XORG_MACROS_version" >&6; }
2612
2613ac_config_headers="$ac_config_headers config.h"
2614
2615
2616# Check for progs
2617ac_ext=c
2618ac_cpp='$CPP $CPPFLAGS'
2619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621ac_compiler_gnu=$ac_cv_c_compiler_gnu
2622if test -n "$ac_tool_prefix"; then
2623  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2624set dummy ${ac_tool_prefix}gcc; ac_word=$2
2625{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2626$as_echo_n "checking for $ac_word... " >&6; }
2627if test "${ac_cv_prog_CC+set}" = set; then
2628  $as_echo_n "(cached) " >&6
2629else
2630  if test -n "$CC"; then
2631  ac_cv_prog_CC="$CC" # Let the user override the test.
2632else
2633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634for as_dir in $PATH
2635do
2636  IFS=$as_save_IFS
2637  test -z "$as_dir" && as_dir=.
2638  for ac_exec_ext in '' $ac_executable_extensions; do
2639  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2640    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2641    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2642    break 2
2643  fi
2644done
2645done
2646IFS=$as_save_IFS
2647
2648fi
2649fi
2650CC=$ac_cv_prog_CC
2651if test -n "$CC"; then
2652  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2653$as_echo "$CC" >&6; }
2654else
2655  { $as_echo "$as_me:$LINENO: result: no" >&5
2656$as_echo "no" >&6; }
2657fi
2658
2659
2660fi
2661if test -z "$ac_cv_prog_CC"; then
2662  ac_ct_CC=$CC
2663  # Extract the first word of "gcc", so it can be a program name with args.
2664set dummy gcc; ac_word=$2
2665{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2666$as_echo_n "checking for $ac_word... " >&6; }
2667if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2668  $as_echo_n "(cached) " >&6
2669else
2670  if test -n "$ac_ct_CC"; then
2671  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2672else
2673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674for as_dir in $PATH
2675do
2676  IFS=$as_save_IFS
2677  test -z "$as_dir" && as_dir=.
2678  for ac_exec_ext in '' $ac_executable_extensions; do
2679  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680    ac_cv_prog_ac_ct_CC="gcc"
2681    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682    break 2
2683  fi
2684done
2685done
2686IFS=$as_save_IFS
2687
2688fi
2689fi
2690ac_ct_CC=$ac_cv_prog_ac_ct_CC
2691if test -n "$ac_ct_CC"; then
2692  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2693$as_echo "$ac_ct_CC" >&6; }
2694else
2695  { $as_echo "$as_me:$LINENO: result: no" >&5
2696$as_echo "no" >&6; }
2697fi
2698
2699  if test "x$ac_ct_CC" = x; then
2700    CC=""
2701  else
2702    case $cross_compiling:$ac_tool_warned in
2703yes:)
2704{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2705$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2706ac_tool_warned=yes ;;
2707esac
2708    CC=$ac_ct_CC
2709  fi
2710else
2711  CC="$ac_cv_prog_CC"
2712fi
2713
2714if test -z "$CC"; then
2715          if test -n "$ac_tool_prefix"; then
2716    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2717set dummy ${ac_tool_prefix}cc; ac_word=$2
2718{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2719$as_echo_n "checking for $ac_word... " >&6; }
2720if test "${ac_cv_prog_CC+set}" = set; then
2721  $as_echo_n "(cached) " >&6
2722else
2723  if test -n "$CC"; then
2724  ac_cv_prog_CC="$CC" # Let the user override the test.
2725else
2726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727for as_dir in $PATH
2728do
2729  IFS=$as_save_IFS
2730  test -z "$as_dir" && as_dir=.
2731  for ac_exec_ext in '' $ac_executable_extensions; do
2732  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733    ac_cv_prog_CC="${ac_tool_prefix}cc"
2734    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2735    break 2
2736  fi
2737done
2738done
2739IFS=$as_save_IFS
2740
2741fi
2742fi
2743CC=$ac_cv_prog_CC
2744if test -n "$CC"; then
2745  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2746$as_echo "$CC" >&6; }
2747else
2748  { $as_echo "$as_me:$LINENO: result: no" >&5
2749$as_echo "no" >&6; }
2750fi
2751
2752
2753  fi
2754fi
2755if test -z "$CC"; then
2756  # Extract the first word of "cc", so it can be a program name with args.
2757set dummy cc; ac_word=$2
2758{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2759$as_echo_n "checking for $ac_word... " >&6; }
2760if test "${ac_cv_prog_CC+set}" = set; then
2761  $as_echo_n "(cached) " >&6
2762else
2763  if test -n "$CC"; then
2764  ac_cv_prog_CC="$CC" # Let the user override the test.
2765else
2766  ac_prog_rejected=no
2767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768for as_dir in $PATH
2769do
2770  IFS=$as_save_IFS
2771  test -z "$as_dir" && as_dir=.
2772  for ac_exec_ext in '' $ac_executable_extensions; do
2773  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2775       ac_prog_rejected=yes
2776       continue
2777     fi
2778    ac_cv_prog_CC="cc"
2779    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2780    break 2
2781  fi
2782done
2783done
2784IFS=$as_save_IFS
2785
2786if test $ac_prog_rejected = yes; then
2787  # We found a bogon in the path, so make sure we never use it.
2788  set dummy $ac_cv_prog_CC
2789  shift
2790  if test $# != 0; then
2791    # We chose a different compiler from the bogus one.
2792    # However, it has the same basename, so the bogon will be chosen
2793    # first if we set CC to just the basename; use the full file name.
2794    shift
2795    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2796  fi
2797fi
2798fi
2799fi
2800CC=$ac_cv_prog_CC
2801if test -n "$CC"; then
2802  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2803$as_echo "$CC" >&6; }
2804else
2805  { $as_echo "$as_me:$LINENO: result: no" >&5
2806$as_echo "no" >&6; }
2807fi
2808
2809
2810fi
2811if test -z "$CC"; then
2812  if test -n "$ac_tool_prefix"; then
2813  for ac_prog in cl.exe
2814  do
2815    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2816set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2817{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2818$as_echo_n "checking for $ac_word... " >&6; }
2819if test "${ac_cv_prog_CC+set}" = set; then
2820  $as_echo_n "(cached) " >&6
2821else
2822  if test -n "$CC"; then
2823  ac_cv_prog_CC="$CC" # Let the user override the test.
2824else
2825as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826for as_dir in $PATH
2827do
2828  IFS=$as_save_IFS
2829  test -z "$as_dir" && as_dir=.
2830  for ac_exec_ext in '' $ac_executable_extensions; do
2831  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2832    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2833    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2834    break 2
2835  fi
2836done
2837done
2838IFS=$as_save_IFS
2839
2840fi
2841fi
2842CC=$ac_cv_prog_CC
2843if test -n "$CC"; then
2844  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2845$as_echo "$CC" >&6; }
2846else
2847  { $as_echo "$as_me:$LINENO: result: no" >&5
2848$as_echo "no" >&6; }
2849fi
2850
2851
2852    test -n "$CC" && break
2853  done
2854fi
2855if test -z "$CC"; then
2856  ac_ct_CC=$CC
2857  for ac_prog in cl.exe
2858do
2859  # Extract the first word of "$ac_prog", so it can be a program name with args.
2860set dummy $ac_prog; ac_word=$2
2861{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2862$as_echo_n "checking for $ac_word... " >&6; }
2863if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2864  $as_echo_n "(cached) " >&6
2865else
2866  if test -n "$ac_ct_CC"; then
2867  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2868else
2869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870for as_dir in $PATH
2871do
2872  IFS=$as_save_IFS
2873  test -z "$as_dir" && as_dir=.
2874  for ac_exec_ext in '' $ac_executable_extensions; do
2875  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2876    ac_cv_prog_ac_ct_CC="$ac_prog"
2877    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2878    break 2
2879  fi
2880done
2881done
2882IFS=$as_save_IFS
2883
2884fi
2885fi
2886ac_ct_CC=$ac_cv_prog_ac_ct_CC
2887if test -n "$ac_ct_CC"; then
2888  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2889$as_echo "$ac_ct_CC" >&6; }
2890else
2891  { $as_echo "$as_me:$LINENO: result: no" >&5
2892$as_echo "no" >&6; }
2893fi
2894
2895
2896  test -n "$ac_ct_CC" && break
2897done
2898
2899  if test "x$ac_ct_CC" = x; then
2900    CC=""
2901  else
2902    case $cross_compiling:$ac_tool_warned in
2903yes:)
2904{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2905$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2906ac_tool_warned=yes ;;
2907esac
2908    CC=$ac_ct_CC
2909  fi
2910fi
2911
2912fi
2913
2914
2915test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2916$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2918See \`config.log' for more details." >&5
2919$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2920See \`config.log' for more details." >&2;}
2921   { (exit 1); exit 1; }; }; }
2922
2923# Provide some information about the compiler.
2924$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2925set X $ac_compile
2926ac_compiler=$2
2927{ (ac_try="$ac_compiler --version >&5"
2928case "(($ac_try" in
2929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930  *) ac_try_echo=$ac_try;;
2931esac
2932eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2933$as_echo "$ac_try_echo") >&5
2934  (eval "$ac_compiler --version >&5") 2>&5
2935  ac_status=$?
2936  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937  (exit $ac_status); }
2938{ (ac_try="$ac_compiler -v >&5"
2939case "(($ac_try" in
2940  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941  *) ac_try_echo=$ac_try;;
2942esac
2943eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2944$as_echo "$ac_try_echo") >&5
2945  (eval "$ac_compiler -v >&5") 2>&5
2946  ac_status=$?
2947  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948  (exit $ac_status); }
2949{ (ac_try="$ac_compiler -V >&5"
2950case "(($ac_try" in
2951  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952  *) ac_try_echo=$ac_try;;
2953esac
2954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2955$as_echo "$ac_try_echo") >&5
2956  (eval "$ac_compiler -V >&5") 2>&5
2957  ac_status=$?
2958  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959  (exit $ac_status); }
2960
2961cat >conftest.$ac_ext <<_ACEOF
2962/* confdefs.h.  */
2963_ACEOF
2964cat confdefs.h >>conftest.$ac_ext
2965cat >>conftest.$ac_ext <<_ACEOF
2966/* end confdefs.h.  */
2967
2968int
2969main ()
2970{
2971
2972  ;
2973  return 0;
2974}
2975_ACEOF
2976ac_clean_files_save=$ac_clean_files
2977ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2978# Try to create an executable without -o first, disregard a.out.
2979# It will help us diagnose broken compilers, and finding out an intuition
2980# of exeext.
2981{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2982$as_echo_n "checking for C compiler default output file name... " >&6; }
2983ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2984
2985# The possible output files:
2986ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2987
2988ac_rmfiles=
2989for ac_file in $ac_files
2990do
2991  case $ac_file in
2992    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2993    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2994  esac
2995done
2996rm -f $ac_rmfiles
2997
2998if { (ac_try="$ac_link_default"
2999case "(($ac_try" in
3000  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001  *) ac_try_echo=$ac_try;;
3002esac
3003eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3004$as_echo "$ac_try_echo") >&5
3005  (eval "$ac_link_default") 2>&5
3006  ac_status=$?
3007  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008  (exit $ac_status); }; then
3009  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3010# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3011# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3012# so that the user can short-circuit this test for compilers unknown to
3013# Autoconf.
3014for ac_file in $ac_files ''
3015do
3016  test -f "$ac_file" || continue
3017  case $ac_file in
3018    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3019	;;
3020    [ab].out )
3021	# We found the default executable, but exeext='' is most
3022	# certainly right.
3023	break;;
3024    *.* )
3025        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3026	then :; else
3027	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3028	fi
3029	# We set ac_cv_exeext here because the later test for it is not
3030	# safe: cross compilers may not add the suffix if given an `-o'
3031	# argument, so we may need to know it at that point already.
3032	# Even if this section looks crufty: it has the advantage of
3033	# actually working.
3034	break;;
3035    * )
3036	break;;
3037  esac
3038done
3039test "$ac_cv_exeext" = no && ac_cv_exeext=
3040
3041else
3042  ac_file=''
3043fi
3044
3045{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3046$as_echo "$ac_file" >&6; }
3047if test -z "$ac_file"; then
3048  $as_echo "$as_me: failed program was:" >&5
3049sed 's/^/| /' conftest.$ac_ext >&5
3050
3051{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3052$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3054See \`config.log' for more details." >&5
3055$as_echo "$as_me: error: C compiler cannot create executables
3056See \`config.log' for more details." >&2;}
3057   { (exit 77); exit 77; }; }; }
3058fi
3059
3060ac_exeext=$ac_cv_exeext
3061
3062# Check that the compiler produces executables we can run.  If not, either
3063# the compiler is broken, or we cross compile.
3064{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3065$as_echo_n "checking whether the C compiler works... " >&6; }
3066# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3067# If not cross compiling, check that we can run a simple program.
3068if test "$cross_compiling" != yes; then
3069  if { ac_try='./$ac_file'
3070  { (case "(($ac_try" in
3071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072  *) ac_try_echo=$ac_try;;
3073esac
3074eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3075$as_echo "$ac_try_echo") >&5
3076  (eval "$ac_try") 2>&5
3077  ac_status=$?
3078  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079  (exit $ac_status); }; }; then
3080    cross_compiling=no
3081  else
3082    if test "$cross_compiling" = maybe; then
3083	cross_compiling=yes
3084    else
3085	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3088If you meant to cross compile, use \`--host'.
3089See \`config.log' for more details." >&5
3090$as_echo "$as_me: error: cannot run C compiled programs.
3091If you meant to cross compile, use \`--host'.
3092See \`config.log' for more details." >&2;}
3093   { (exit 1); exit 1; }; }; }
3094    fi
3095  fi
3096fi
3097{ $as_echo "$as_me:$LINENO: result: yes" >&5
3098$as_echo "yes" >&6; }
3099
3100rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3101ac_clean_files=$ac_clean_files_save
3102# Check that the compiler produces executables we can run.  If not, either
3103# the compiler is broken, or we cross compile.
3104{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3105$as_echo_n "checking whether we are cross compiling... " >&6; }
3106{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3107$as_echo "$cross_compiling" >&6; }
3108
3109{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3110$as_echo_n "checking for suffix of executables... " >&6; }
3111if { (ac_try="$ac_link"
3112case "(($ac_try" in
3113  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114  *) ac_try_echo=$ac_try;;
3115esac
3116eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3117$as_echo "$ac_try_echo") >&5
3118  (eval "$ac_link") 2>&5
3119  ac_status=$?
3120  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121  (exit $ac_status); }; then
3122  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3123# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3124# work properly (i.e., refer to `conftest.exe'), while it won't with
3125# `rm'.
3126for ac_file in conftest.exe conftest conftest.*; do
3127  test -f "$ac_file" || continue
3128  case $ac_file in
3129    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3130    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3131	  break;;
3132    * ) break;;
3133  esac
3134done
3135else
3136  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3137$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3138{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3139See \`config.log' for more details." >&5
3140$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3141See \`config.log' for more details." >&2;}
3142   { (exit 1); exit 1; }; }; }
3143fi
3144
3145rm -f conftest$ac_cv_exeext
3146{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3147$as_echo "$ac_cv_exeext" >&6; }
3148
3149rm -f conftest.$ac_ext
3150EXEEXT=$ac_cv_exeext
3151ac_exeext=$EXEEXT
3152{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3153$as_echo_n "checking for suffix of object files... " >&6; }
3154if test "${ac_cv_objext+set}" = set; then
3155  $as_echo_n "(cached) " >&6
3156else
3157  cat >conftest.$ac_ext <<_ACEOF
3158/* confdefs.h.  */
3159_ACEOF
3160cat confdefs.h >>conftest.$ac_ext
3161cat >>conftest.$ac_ext <<_ACEOF
3162/* end confdefs.h.  */
3163
3164int
3165main ()
3166{
3167
3168  ;
3169  return 0;
3170}
3171_ACEOF
3172rm -f conftest.o conftest.obj
3173if { (ac_try="$ac_compile"
3174case "(($ac_try" in
3175  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176  *) ac_try_echo=$ac_try;;
3177esac
3178eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3179$as_echo "$ac_try_echo") >&5
3180  (eval "$ac_compile") 2>&5
3181  ac_status=$?
3182  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183  (exit $ac_status); }; then
3184  for ac_file in conftest.o conftest.obj conftest.*; do
3185  test -f "$ac_file" || continue;
3186  case $ac_file in
3187    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3188    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3189       break;;
3190  esac
3191done
3192else
3193  $as_echo "$as_me: failed program was:" >&5
3194sed 's/^/| /' conftest.$ac_ext >&5
3195
3196{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3197$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3199See \`config.log' for more details." >&5
3200$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3201See \`config.log' for more details." >&2;}
3202   { (exit 1); exit 1; }; }; }
3203fi
3204
3205rm -f conftest.$ac_cv_objext conftest.$ac_ext
3206fi
3207{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3208$as_echo "$ac_cv_objext" >&6; }
3209OBJEXT=$ac_cv_objext
3210ac_objext=$OBJEXT
3211{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3212$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3213if test "${ac_cv_c_compiler_gnu+set}" = set; then
3214  $as_echo_n "(cached) " >&6
3215else
3216  cat >conftest.$ac_ext <<_ACEOF
3217/* confdefs.h.  */
3218_ACEOF
3219cat confdefs.h >>conftest.$ac_ext
3220cat >>conftest.$ac_ext <<_ACEOF
3221/* end confdefs.h.  */
3222
3223int
3224main ()
3225{
3226#ifndef __GNUC__
3227       choke me
3228#endif
3229
3230  ;
3231  return 0;
3232}
3233_ACEOF
3234rm -f conftest.$ac_objext
3235if { (ac_try="$ac_compile"
3236case "(($ac_try" in
3237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238  *) ac_try_echo=$ac_try;;
3239esac
3240eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3241$as_echo "$ac_try_echo") >&5
3242  (eval "$ac_compile") 2>conftest.er1
3243  ac_status=$?
3244  grep -v '^ *+' conftest.er1 >conftest.err
3245  rm -f conftest.er1
3246  cat conftest.err >&5
3247  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248  (exit $ac_status); } && {
3249	 test -z "$ac_c_werror_flag" ||
3250	 test ! -s conftest.err
3251       } && test -s conftest.$ac_objext; then
3252  ac_compiler_gnu=yes
3253else
3254  $as_echo "$as_me: failed program was:" >&5
3255sed 's/^/| /' conftest.$ac_ext >&5
3256
3257	ac_compiler_gnu=no
3258fi
3259
3260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261ac_cv_c_compiler_gnu=$ac_compiler_gnu
3262
3263fi
3264{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3265$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3266if test $ac_compiler_gnu = yes; then
3267  GCC=yes
3268else
3269  GCC=
3270fi
3271ac_test_CFLAGS=${CFLAGS+set}
3272ac_save_CFLAGS=$CFLAGS
3273{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3274$as_echo_n "checking whether $CC accepts -g... " >&6; }
3275if test "${ac_cv_prog_cc_g+set}" = set; then
3276  $as_echo_n "(cached) " >&6
3277else
3278  ac_save_c_werror_flag=$ac_c_werror_flag
3279   ac_c_werror_flag=yes
3280   ac_cv_prog_cc_g=no
3281   CFLAGS="-g"
3282   cat >conftest.$ac_ext <<_ACEOF
3283/* confdefs.h.  */
3284_ACEOF
3285cat confdefs.h >>conftest.$ac_ext
3286cat >>conftest.$ac_ext <<_ACEOF
3287/* end confdefs.h.  */
3288
3289int
3290main ()
3291{
3292
3293  ;
3294  return 0;
3295}
3296_ACEOF
3297rm -f conftest.$ac_objext
3298if { (ac_try="$ac_compile"
3299case "(($ac_try" in
3300  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301  *) ac_try_echo=$ac_try;;
3302esac
3303eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3304$as_echo "$ac_try_echo") >&5
3305  (eval "$ac_compile") 2>conftest.er1
3306  ac_status=$?
3307  grep -v '^ *+' conftest.er1 >conftest.err
3308  rm -f conftest.er1
3309  cat conftest.err >&5
3310  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311  (exit $ac_status); } && {
3312	 test -z "$ac_c_werror_flag" ||
3313	 test ! -s conftest.err
3314       } && test -s conftest.$ac_objext; then
3315  ac_cv_prog_cc_g=yes
3316else
3317  $as_echo "$as_me: failed program was:" >&5
3318sed 's/^/| /' conftest.$ac_ext >&5
3319
3320	CFLAGS=""
3321      cat >conftest.$ac_ext <<_ACEOF
3322/* confdefs.h.  */
3323_ACEOF
3324cat confdefs.h >>conftest.$ac_ext
3325cat >>conftest.$ac_ext <<_ACEOF
3326/* end confdefs.h.  */
3327
3328int
3329main ()
3330{
3331
3332  ;
3333  return 0;
3334}
3335_ACEOF
3336rm -f conftest.$ac_objext
3337if { (ac_try="$ac_compile"
3338case "(($ac_try" in
3339  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340  *) ac_try_echo=$ac_try;;
3341esac
3342eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3343$as_echo "$ac_try_echo") >&5
3344  (eval "$ac_compile") 2>conftest.er1
3345  ac_status=$?
3346  grep -v '^ *+' conftest.er1 >conftest.err
3347  rm -f conftest.er1
3348  cat conftest.err >&5
3349  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350  (exit $ac_status); } && {
3351	 test -z "$ac_c_werror_flag" ||
3352	 test ! -s conftest.err
3353       } && test -s conftest.$ac_objext; then
3354  :
3355else
3356  $as_echo "$as_me: failed program was:" >&5
3357sed 's/^/| /' conftest.$ac_ext >&5
3358
3359	ac_c_werror_flag=$ac_save_c_werror_flag
3360	 CFLAGS="-g"
3361	 cat >conftest.$ac_ext <<_ACEOF
3362/* confdefs.h.  */
3363_ACEOF
3364cat confdefs.h >>conftest.$ac_ext
3365cat >>conftest.$ac_ext <<_ACEOF
3366/* end confdefs.h.  */
3367
3368int
3369main ()
3370{
3371
3372  ;
3373  return 0;
3374}
3375_ACEOF
3376rm -f conftest.$ac_objext
3377if { (ac_try="$ac_compile"
3378case "(($ac_try" in
3379  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380  *) ac_try_echo=$ac_try;;
3381esac
3382eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3383$as_echo "$ac_try_echo") >&5
3384  (eval "$ac_compile") 2>conftest.er1
3385  ac_status=$?
3386  grep -v '^ *+' conftest.er1 >conftest.err
3387  rm -f conftest.er1
3388  cat conftest.err >&5
3389  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390  (exit $ac_status); } && {
3391	 test -z "$ac_c_werror_flag" ||
3392	 test ! -s conftest.err
3393       } && test -s conftest.$ac_objext; then
3394  ac_cv_prog_cc_g=yes
3395else
3396  $as_echo "$as_me: failed program was:" >&5
3397sed 's/^/| /' conftest.$ac_ext >&5
3398
3399
3400fi
3401
3402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403fi
3404
3405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406fi
3407
3408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409   ac_c_werror_flag=$ac_save_c_werror_flag
3410fi
3411{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3412$as_echo "$ac_cv_prog_cc_g" >&6; }
3413if test "$ac_test_CFLAGS" = set; then
3414  CFLAGS=$ac_save_CFLAGS
3415elif test $ac_cv_prog_cc_g = yes; then
3416  if test "$GCC" = yes; then
3417    CFLAGS="-g -O2"
3418  else
3419    CFLAGS="-g"
3420  fi
3421else
3422  if test "$GCC" = yes; then
3423    CFLAGS="-O2"
3424  else
3425    CFLAGS=
3426  fi
3427fi
3428{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3429$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3430if test "${ac_cv_prog_cc_c89+set}" = set; then
3431  $as_echo_n "(cached) " >&6
3432else
3433  ac_cv_prog_cc_c89=no
3434ac_save_CC=$CC
3435cat >conftest.$ac_ext <<_ACEOF
3436/* confdefs.h.  */
3437_ACEOF
3438cat confdefs.h >>conftest.$ac_ext
3439cat >>conftest.$ac_ext <<_ACEOF
3440/* end confdefs.h.  */
3441#include <stdarg.h>
3442#include <stdio.h>
3443#include <sys/types.h>
3444#include <sys/stat.h>
3445/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3446struct buf { int x; };
3447FILE * (*rcsopen) (struct buf *, struct stat *, int);
3448static char *e (p, i)
3449     char **p;
3450     int i;
3451{
3452  return p[i];
3453}
3454static char *f (char * (*g) (char **, int), char **p, ...)
3455{
3456  char *s;
3457  va_list v;
3458  va_start (v,p);
3459  s = g (p, va_arg (v,int));
3460  va_end (v);
3461  return s;
3462}
3463
3464/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3465   function prototypes and stuff, but not '\xHH' hex character constants.
3466   These don't provoke an error unfortunately, instead are silently treated
3467   as 'x'.  The following induces an error, until -std is added to get
3468   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3469   array size at least.  It's necessary to write '\x00'==0 to get something
3470   that's true only with -std.  */
3471int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3472
3473/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3474   inside strings and character constants.  */
3475#define FOO(x) 'x'
3476int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3477
3478int test (int i, double x);
3479struct s1 {int (*f) (int a);};
3480struct s2 {int (*f) (double a);};
3481int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3482int argc;
3483char **argv;
3484int
3485main ()
3486{
3487return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3488  ;
3489  return 0;
3490}
3491_ACEOF
3492for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3493	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3494do
3495  CC="$ac_save_CC $ac_arg"
3496  rm -f conftest.$ac_objext
3497if { (ac_try="$ac_compile"
3498case "(($ac_try" in
3499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500  *) ac_try_echo=$ac_try;;
3501esac
3502eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3503$as_echo "$ac_try_echo") >&5
3504  (eval "$ac_compile") 2>conftest.er1
3505  ac_status=$?
3506  grep -v '^ *+' conftest.er1 >conftest.err
3507  rm -f conftest.er1
3508  cat conftest.err >&5
3509  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510  (exit $ac_status); } && {
3511	 test -z "$ac_c_werror_flag" ||
3512	 test ! -s conftest.err
3513       } && test -s conftest.$ac_objext; then
3514  ac_cv_prog_cc_c89=$ac_arg
3515else
3516  $as_echo "$as_me: failed program was:" >&5
3517sed 's/^/| /' conftest.$ac_ext >&5
3518
3519
3520fi
3521
3522rm -f core conftest.err conftest.$ac_objext
3523  test "x$ac_cv_prog_cc_c89" != "xno" && break
3524done
3525rm -f conftest.$ac_ext
3526CC=$ac_save_CC
3527
3528fi
3529# AC_CACHE_VAL
3530case "x$ac_cv_prog_cc_c89" in
3531  x)
3532    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3533$as_echo "none needed" >&6; } ;;
3534  xno)
3535    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3536$as_echo "unsupported" >&6; } ;;
3537  *)
3538    CC="$CC $ac_cv_prog_cc_c89"
3539    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3540$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3541esac
3542
3543
3544ac_ext=c
3545ac_cpp='$CPP $CPPFLAGS'
3546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549DEPDIR="${am__leading_dot}deps"
3550
3551ac_config_commands="$ac_config_commands depfiles"
3552
3553
3554am_make=${MAKE-make}
3555cat > confinc << 'END'
3556am__doit:
3557	@echo done
3558.PHONY: am__doit
3559END
3560# If we don't find an include directive, just comment out the code.
3561{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3562$as_echo_n "checking for style of include used by $am_make... " >&6; }
3563am__include="#"
3564am__quote=
3565_am_result=none
3566# First try GNU make style include.
3567echo "include confinc" > confmf
3568# We grep out `Entering directory' and `Leaving directory'
3569# messages which can occur if `w' ends up in MAKEFLAGS.
3570# In particular we don't look at `^make:' because GNU make might
3571# be invoked under some other name (usually "gmake"), in which
3572# case it prints its new name instead of `make'.
3573if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3574   am__include=include
3575   am__quote=
3576   _am_result=GNU
3577fi
3578# Now try BSD make style include.
3579if test "$am__include" = "#"; then
3580   echo '.include "confinc"' > confmf
3581   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3582      am__include=.include
3583      am__quote="\""
3584      _am_result=BSD
3585   fi
3586fi
3587
3588
3589{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3590$as_echo "$_am_result" >&6; }
3591rm -f confinc confmf
3592
3593# Check whether --enable-dependency-tracking was given.
3594if test "${enable_dependency_tracking+set}" = set; then
3595  enableval=$enable_dependency_tracking;
3596fi
3597
3598if test "x$enable_dependency_tracking" != xno; then
3599  am_depcomp="$ac_aux_dir/depcomp"
3600  AMDEPBACKSLASH='\'
3601fi
3602 if test "x$enable_dependency_tracking" != xno; then
3603  AMDEP_TRUE=
3604  AMDEP_FALSE='#'
3605else
3606  AMDEP_TRUE='#'
3607  AMDEP_FALSE=
3608fi
3609
3610
3611
3612depcc="$CC"   am_compiler_list=
3613
3614{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3615$as_echo_n "checking dependency style of $depcc... " >&6; }
3616if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3617  $as_echo_n "(cached) " >&6
3618else
3619  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3620  # We make a subdir and do the tests there.  Otherwise we can end up
3621  # making bogus files that we don't know about and never remove.  For
3622  # instance it was reported that on HP-UX the gcc test will end up
3623  # making a dummy file named `D' -- because `-MD' means `put the output
3624  # in D'.
3625  mkdir conftest.dir
3626  # Copy depcomp to subdir because otherwise we won't find it if we're
3627  # using a relative directory.
3628  cp "$am_depcomp" conftest.dir
3629  cd conftest.dir
3630  # We will build objects and dependencies in a subdirectory because
3631  # it helps to detect inapplicable dependency modes.  For instance
3632  # both Tru64's cc and ICC support -MD to output dependencies as a
3633  # side effect of compilation, but ICC will put the dependencies in
3634  # the current directory while Tru64 will put them in the object
3635  # directory.
3636  mkdir sub
3637
3638  am_cv_CC_dependencies_compiler_type=none
3639  if test "$am_compiler_list" = ""; then
3640     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3641  fi
3642  for depmode in $am_compiler_list; do
3643    # Setup a source with many dependencies, because some compilers
3644    # like to wrap large dependency lists on column 80 (with \), and
3645    # we should not choose a depcomp mode which is confused by this.
3646    #
3647    # We need to recreate these files for each test, as the compiler may
3648    # overwrite some of them when testing with obscure command lines.
3649    # This happens at least with the AIX C compiler.
3650    : > sub/conftest.c
3651    for i in 1 2 3 4 5 6; do
3652      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3653      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3654      # Solaris 8's {/usr,}/bin/sh.
3655      touch sub/conftst$i.h
3656    done
3657    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3658
3659    case $depmode in
3660    nosideeffect)
3661      # after this tag, mechanisms are not by side-effect, so they'll
3662      # only be used when explicitly requested
3663      if test "x$enable_dependency_tracking" = xyes; then
3664	continue
3665      else
3666	break
3667      fi
3668      ;;
3669    none) break ;;
3670    esac
3671    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3672    # mode.  It turns out that the SunPro C++ compiler does not properly
3673    # handle `-M -o', and we need to detect this.
3674    if depmode=$depmode \
3675       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3676       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3677       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3678         >/dev/null 2>conftest.err &&
3679       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3680       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3681       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3682       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3683      # icc doesn't choke on unknown options, it will just issue warnings
3684      # or remarks (even with -Werror).  So we grep stderr for any message
3685      # that says an option was ignored or not supported.
3686      # When given -MP, icc 7.0 and 7.1 complain thusly:
3687      #   icc: Command line warning: ignoring option '-M'; no argument required
3688      # The diagnosis changed in icc 8.0:
3689      #   icc: Command line remark: option '-MP' not supported
3690      if (grep 'ignoring option' conftest.err ||
3691          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3692        am_cv_CC_dependencies_compiler_type=$depmode
3693        break
3694      fi
3695    fi
3696  done
3697
3698  cd ..
3699  rm -rf conftest.dir
3700else
3701  am_cv_CC_dependencies_compiler_type=none
3702fi
3703
3704fi
3705{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3706$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3707CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3708
3709 if
3710  test "x$enable_dependency_tracking" != xno \
3711  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3712  am__fastdepCC_TRUE=
3713  am__fastdepCC_FALSE='#'
3714else
3715  am__fastdepCC_TRUE='#'
3716  am__fastdepCC_FALSE=
3717fi
3718
3719
3720case `pwd` in
3721  *\ * | *\	*)
3722    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3723$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3724esac
3725
3726
3727
3728macro_version='2.2.6'
3729macro_revision='1.3012'
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743ltmain="$ac_aux_dir/ltmain.sh"
3744
3745# Make sure we can run config.sub.
3746$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3747  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3748$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3749   { (exit 1); exit 1; }; }
3750
3751{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3752$as_echo_n "checking build system type... " >&6; }
3753if test "${ac_cv_build+set}" = set; then
3754  $as_echo_n "(cached) " >&6
3755else
3756  ac_build_alias=$build_alias
3757test "x$ac_build_alias" = x &&
3758  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3759test "x$ac_build_alias" = x &&
3760  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3761$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3762   { (exit 1); exit 1; }; }
3763ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3764  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3765$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3766   { (exit 1); exit 1; }; }
3767
3768fi
3769{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3770$as_echo "$ac_cv_build" >&6; }
3771case $ac_cv_build in
3772*-*-*) ;;
3773*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3774$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3775   { (exit 1); exit 1; }; };;
3776esac
3777build=$ac_cv_build
3778ac_save_IFS=$IFS; IFS='-'
3779set x $ac_cv_build
3780shift
3781build_cpu=$1
3782build_vendor=$2
3783shift; shift
3784# Remember, the first character of IFS is used to create $*,
3785# except with old shells:
3786build_os=$*
3787IFS=$ac_save_IFS
3788case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3789
3790
3791{ $as_echo "$as_me:$LINENO: checking host system type" >&5
3792$as_echo_n "checking host system type... " >&6; }
3793if test "${ac_cv_host+set}" = set; then
3794  $as_echo_n "(cached) " >&6
3795else
3796  if test "x$host_alias" = x; then
3797  ac_cv_host=$ac_cv_build
3798else
3799  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3800    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3801$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3802   { (exit 1); exit 1; }; }
3803fi
3804
3805fi
3806{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3807$as_echo "$ac_cv_host" >&6; }
3808case $ac_cv_host in
3809*-*-*) ;;
3810*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3811$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3812   { (exit 1); exit 1; }; };;
3813esac
3814host=$ac_cv_host
3815ac_save_IFS=$IFS; IFS='-'
3816set x $ac_cv_host
3817shift
3818host_cpu=$1
3819host_vendor=$2
3820shift; shift
3821# Remember, the first character of IFS is used to create $*,
3822# except with old shells:
3823host_os=$*
3824IFS=$ac_save_IFS
3825case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3826
3827
3828{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3829$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3830if test "${ac_cv_path_SED+set}" = set; then
3831  $as_echo_n "(cached) " >&6
3832else
3833            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3834     for ac_i in 1 2 3 4 5 6 7; do
3835       ac_script="$ac_script$as_nl$ac_script"
3836     done
3837     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3838     $as_unset ac_script || ac_script=
3839     if test -z "$SED"; then
3840  ac_path_SED_found=false
3841  # Loop through the user's path and test for each of PROGNAME-LIST
3842  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843for as_dir in $PATH
3844do
3845  IFS=$as_save_IFS
3846  test -z "$as_dir" && as_dir=.
3847  for ac_prog in sed gsed; do
3848    for ac_exec_ext in '' $ac_executable_extensions; do
3849      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3850      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3851# Check for GNU ac_path_SED and select it if it is found.
3852  # Check for GNU $ac_path_SED
3853case `"$ac_path_SED" --version 2>&1` in
3854*GNU*)
3855  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3856*)
3857  ac_count=0
3858  $as_echo_n 0123456789 >"conftest.in"
3859  while :
3860  do
3861    cat "conftest.in" "conftest.in" >"conftest.tmp"
3862    mv "conftest.tmp" "conftest.in"
3863    cp "conftest.in" "conftest.nl"
3864    $as_echo '' >> "conftest.nl"
3865    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3866    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3867    ac_count=`expr $ac_count + 1`
3868    if test $ac_count -gt ${ac_path_SED_max-0}; then
3869      # Best one so far, save it but keep looking for a better one
3870      ac_cv_path_SED="$ac_path_SED"
3871      ac_path_SED_max=$ac_count
3872    fi
3873    # 10*(2^10) chars as input seems more than enough
3874    test $ac_count -gt 10 && break
3875  done
3876  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3877esac
3878
3879      $ac_path_SED_found && break 3
3880    done
3881  done
3882done
3883IFS=$as_save_IFS
3884  if test -z "$ac_cv_path_SED"; then
3885    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3886$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3887   { (exit 1); exit 1; }; }
3888  fi
3889else
3890  ac_cv_path_SED=$SED
3891fi
3892
3893fi
3894{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3895$as_echo "$ac_cv_path_SED" >&6; }
3896 SED="$ac_cv_path_SED"
3897  rm -f conftest.sed
3898
3899test -z "$SED" && SED=sed
3900Xsed="$SED -e 1s/^X//"
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3913$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3914if test "${ac_cv_path_GREP+set}" = set; then
3915  $as_echo_n "(cached) " >&6
3916else
3917  if test -z "$GREP"; then
3918  ac_path_GREP_found=false
3919  # Loop through the user's path and test for each of PROGNAME-LIST
3920  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3922do
3923  IFS=$as_save_IFS
3924  test -z "$as_dir" && as_dir=.
3925  for ac_prog in grep ggrep; do
3926    for ac_exec_ext in '' $ac_executable_extensions; do
3927      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3928      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3929# Check for GNU ac_path_GREP and select it if it is found.
3930  # Check for GNU $ac_path_GREP
3931case `"$ac_path_GREP" --version 2>&1` in
3932*GNU*)
3933  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3934*)
3935  ac_count=0
3936  $as_echo_n 0123456789 >"conftest.in"
3937  while :
3938  do
3939    cat "conftest.in" "conftest.in" >"conftest.tmp"
3940    mv "conftest.tmp" "conftest.in"
3941    cp "conftest.in" "conftest.nl"
3942    $as_echo 'GREP' >> "conftest.nl"
3943    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3944    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3945    ac_count=`expr $ac_count + 1`
3946    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3947      # Best one so far, save it but keep looking for a better one
3948      ac_cv_path_GREP="$ac_path_GREP"
3949      ac_path_GREP_max=$ac_count
3950    fi
3951    # 10*(2^10) chars as input seems more than enough
3952    test $ac_count -gt 10 && break
3953  done
3954  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3955esac
3956
3957      $ac_path_GREP_found && break 3
3958    done
3959  done
3960done
3961IFS=$as_save_IFS
3962  if test -z "$ac_cv_path_GREP"; then
3963    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3964$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3965   { (exit 1); exit 1; }; }
3966  fi
3967else
3968  ac_cv_path_GREP=$GREP
3969fi
3970
3971fi
3972{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3973$as_echo "$ac_cv_path_GREP" >&6; }
3974 GREP="$ac_cv_path_GREP"
3975
3976
3977{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3978$as_echo_n "checking for egrep... " >&6; }
3979if test "${ac_cv_path_EGREP+set}" = set; then
3980  $as_echo_n "(cached) " >&6
3981else
3982  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3983   then ac_cv_path_EGREP="$GREP -E"
3984   else
3985     if test -z "$EGREP"; then
3986  ac_path_EGREP_found=false
3987  # Loop through the user's path and test for each of PROGNAME-LIST
3988  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3990do
3991  IFS=$as_save_IFS
3992  test -z "$as_dir" && as_dir=.
3993  for ac_prog in egrep; do
3994    for ac_exec_ext in '' $ac_executable_extensions; do
3995      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3996      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3997# Check for GNU ac_path_EGREP and select it if it is found.
3998  # Check for GNU $ac_path_EGREP
3999case `"$ac_path_EGREP" --version 2>&1` in
4000*GNU*)
4001  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4002*)
4003  ac_count=0
4004  $as_echo_n 0123456789 >"conftest.in"
4005  while :
4006  do
4007    cat "conftest.in" "conftest.in" >"conftest.tmp"
4008    mv "conftest.tmp" "conftest.in"
4009    cp "conftest.in" "conftest.nl"
4010    $as_echo 'EGREP' >> "conftest.nl"
4011    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4012    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4013    ac_count=`expr $ac_count + 1`
4014    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4015      # Best one so far, save it but keep looking for a better one
4016      ac_cv_path_EGREP="$ac_path_EGREP"
4017      ac_path_EGREP_max=$ac_count
4018    fi
4019    # 10*(2^10) chars as input seems more than enough
4020    test $ac_count -gt 10 && break
4021  done
4022  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4023esac
4024
4025      $ac_path_EGREP_found && break 3
4026    done
4027  done
4028done
4029IFS=$as_save_IFS
4030  if test -z "$ac_cv_path_EGREP"; then
4031    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4032$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4033   { (exit 1); exit 1; }; }
4034  fi
4035else
4036  ac_cv_path_EGREP=$EGREP
4037fi
4038
4039   fi
4040fi
4041{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4042$as_echo "$ac_cv_path_EGREP" >&6; }
4043 EGREP="$ac_cv_path_EGREP"
4044
4045
4046{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4047$as_echo_n "checking for fgrep... " >&6; }
4048if test "${ac_cv_path_FGREP+set}" = set; then
4049  $as_echo_n "(cached) " >&6
4050else
4051  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4052   then ac_cv_path_FGREP="$GREP -F"
4053   else
4054     if test -z "$FGREP"; then
4055  ac_path_FGREP_found=false
4056  # Loop through the user's path and test for each of PROGNAME-LIST
4057  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4059do
4060  IFS=$as_save_IFS
4061  test -z "$as_dir" && as_dir=.
4062  for ac_prog in fgrep; do
4063    for ac_exec_ext in '' $ac_executable_extensions; do
4064      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4065      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4066# Check for GNU ac_path_FGREP and select it if it is found.
4067  # Check for GNU $ac_path_FGREP
4068case `"$ac_path_FGREP" --version 2>&1` in
4069*GNU*)
4070  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4071*)
4072  ac_count=0
4073  $as_echo_n 0123456789 >"conftest.in"
4074  while :
4075  do
4076    cat "conftest.in" "conftest.in" >"conftest.tmp"
4077    mv "conftest.tmp" "conftest.in"
4078    cp "conftest.in" "conftest.nl"
4079    $as_echo 'FGREP' >> "conftest.nl"
4080    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4081    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4082    ac_count=`expr $ac_count + 1`
4083    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4084      # Best one so far, save it but keep looking for a better one
4085      ac_cv_path_FGREP="$ac_path_FGREP"
4086      ac_path_FGREP_max=$ac_count
4087    fi
4088    # 10*(2^10) chars as input seems more than enough
4089    test $ac_count -gt 10 && break
4090  done
4091  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4092esac
4093
4094      $ac_path_FGREP_found && break 3
4095    done
4096  done
4097done
4098IFS=$as_save_IFS
4099  if test -z "$ac_cv_path_FGREP"; then
4100    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4101$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4102   { (exit 1); exit 1; }; }
4103  fi
4104else
4105  ac_cv_path_FGREP=$FGREP
4106fi
4107
4108   fi
4109fi
4110{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4111$as_echo "$ac_cv_path_FGREP" >&6; }
4112 FGREP="$ac_cv_path_FGREP"
4113
4114
4115test -z "$GREP" && GREP=grep
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135# Check whether --with-gnu-ld was given.
4136if test "${with_gnu_ld+set}" = set; then
4137  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4138else
4139  with_gnu_ld=no
4140fi
4141
4142ac_prog=ld
4143if test "$GCC" = yes; then
4144  # Check if gcc -print-prog-name=ld gives a path.
4145  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4146$as_echo_n "checking for ld used by $CC... " >&6; }
4147  case $host in
4148  *-*-mingw*)
4149    # gcc leaves a trailing carriage return which upsets mingw
4150    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4151  *)
4152    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4153  esac
4154  case $ac_prog in
4155    # Accept absolute paths.
4156    [\\/]* | ?:[\\/]*)
4157      re_direlt='/[^/][^/]*/\.\./'
4158      # Canonicalize the pathname of ld
4159      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4160      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4161	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4162      done
4163      test -z "$LD" && LD="$ac_prog"
4164      ;;
4165  "")
4166    # If it fails, then pretend we aren't using GCC.
4167    ac_prog=ld
4168    ;;
4169  *)
4170    # If it is relative, then search for the first ld in PATH.
4171    with_gnu_ld=unknown
4172    ;;
4173  esac
4174elif test "$with_gnu_ld" = yes; then
4175  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4176$as_echo_n "checking for GNU ld... " >&6; }
4177else
4178  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4179$as_echo_n "checking for non-GNU ld... " >&6; }
4180fi
4181if test "${lt_cv_path_LD+set}" = set; then
4182  $as_echo_n "(cached) " >&6
4183else
4184  if test -z "$LD"; then
4185  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4186  for ac_dir in $PATH; do
4187    IFS="$lt_save_ifs"
4188    test -z "$ac_dir" && ac_dir=.
4189    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4190      lt_cv_path_LD="$ac_dir/$ac_prog"
4191      # Check to see if the program is GNU ld.  I'd rather use --version,
4192      # but apparently some variants of GNU ld only accept -v.
4193      # Break only if it was the GNU/non-GNU ld that we prefer.
4194      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4195      *GNU* | *'with BFD'*)
4196	test "$with_gnu_ld" != no && break
4197	;;
4198      *)
4199	test "$with_gnu_ld" != yes && break
4200	;;
4201      esac
4202    fi
4203  done
4204  IFS="$lt_save_ifs"
4205else
4206  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4207fi
4208fi
4209
4210LD="$lt_cv_path_LD"
4211if test -n "$LD"; then
4212  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4213$as_echo "$LD" >&6; }
4214else
4215  { $as_echo "$as_me:$LINENO: result: no" >&5
4216$as_echo "no" >&6; }
4217fi
4218test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4219$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4220   { (exit 1); exit 1; }; }
4221{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4222$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4223if test "${lt_cv_prog_gnu_ld+set}" = set; then
4224  $as_echo_n "(cached) " >&6
4225else
4226  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4227case `$LD -v 2>&1 </dev/null` in
4228*GNU* | *'with BFD'*)
4229  lt_cv_prog_gnu_ld=yes
4230  ;;
4231*)
4232  lt_cv_prog_gnu_ld=no
4233  ;;
4234esac
4235fi
4236{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4237$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4238with_gnu_ld=$lt_cv_prog_gnu_ld
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4249$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4250if test "${lt_cv_path_NM+set}" = set; then
4251  $as_echo_n "(cached) " >&6
4252else
4253  if test -n "$NM"; then
4254  # Let the user override the test.
4255  lt_cv_path_NM="$NM"
4256else
4257  lt_nm_to_check="${ac_tool_prefix}nm"
4258  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4259    lt_nm_to_check="$lt_nm_to_check nm"
4260  fi
4261  for lt_tmp_nm in $lt_nm_to_check; do
4262    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4263    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4264      IFS="$lt_save_ifs"
4265      test -z "$ac_dir" && ac_dir=.
4266      tmp_nm="$ac_dir/$lt_tmp_nm"
4267      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4268	# Check to see if the nm accepts a BSD-compat flag.
4269	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4270	#   nm: unknown option "B" ignored
4271	# Tru64's nm complains that /dev/null is an invalid object file
4272	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4273	*/dev/null* | *'Invalid file or object type'*)
4274	  lt_cv_path_NM="$tmp_nm -B"
4275	  break
4276	  ;;
4277	*)
4278	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4279	  */dev/null*)
4280	    lt_cv_path_NM="$tmp_nm -p"
4281	    break
4282	    ;;
4283	  *)
4284	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4285	    continue # so that we can try to find one that supports BSD flags
4286	    ;;
4287	  esac
4288	  ;;
4289	esac
4290      fi
4291    done
4292    IFS="$lt_save_ifs"
4293  done
4294  : ${lt_cv_path_NM=no}
4295fi
4296fi
4297{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4298$as_echo "$lt_cv_path_NM" >&6; }
4299if test "$lt_cv_path_NM" != "no"; then
4300  NM="$lt_cv_path_NM"
4301else
4302  # Didn't find any BSD compatible name lister, look for dumpbin.
4303  if test -n "$ac_tool_prefix"; then
4304  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4305  do
4306    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4307set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4308{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4309$as_echo_n "checking for $ac_word... " >&6; }
4310if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4311  $as_echo_n "(cached) " >&6
4312else
4313  if test -n "$DUMPBIN"; then
4314  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4315else
4316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317for as_dir in $PATH
4318do
4319  IFS=$as_save_IFS
4320  test -z "$as_dir" && as_dir=.
4321  for ac_exec_ext in '' $ac_executable_extensions; do
4322  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4324    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4325    break 2
4326  fi
4327done
4328done
4329IFS=$as_save_IFS
4330
4331fi
4332fi
4333DUMPBIN=$ac_cv_prog_DUMPBIN
4334if test -n "$DUMPBIN"; then
4335  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4336$as_echo "$DUMPBIN" >&6; }
4337else
4338  { $as_echo "$as_me:$LINENO: result: no" >&5
4339$as_echo "no" >&6; }
4340fi
4341
4342
4343    test -n "$DUMPBIN" && break
4344  done
4345fi
4346if test -z "$DUMPBIN"; then
4347  ac_ct_DUMPBIN=$DUMPBIN
4348  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4349do
4350  # Extract the first word of "$ac_prog", so it can be a program name with args.
4351set dummy $ac_prog; ac_word=$2
4352{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4353$as_echo_n "checking for $ac_word... " >&6; }
4354if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4355  $as_echo_n "(cached) " >&6
4356else
4357  if test -n "$ac_ct_DUMPBIN"; then
4358  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4359else
4360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361for as_dir in $PATH
4362do
4363  IFS=$as_save_IFS
4364  test -z "$as_dir" && as_dir=.
4365  for ac_exec_ext in '' $ac_executable_extensions; do
4366  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4368    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4369    break 2
4370  fi
4371done
4372done
4373IFS=$as_save_IFS
4374
4375fi
4376fi
4377ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4378if test -n "$ac_ct_DUMPBIN"; then
4379  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4380$as_echo "$ac_ct_DUMPBIN" >&6; }
4381else
4382  { $as_echo "$as_me:$LINENO: result: no" >&5
4383$as_echo "no" >&6; }
4384fi
4385
4386
4387  test -n "$ac_ct_DUMPBIN" && break
4388done
4389
4390  if test "x$ac_ct_DUMPBIN" = x; then
4391    DUMPBIN=":"
4392  else
4393    case $cross_compiling:$ac_tool_warned in
4394yes:)
4395{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4396$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4397ac_tool_warned=yes ;;
4398esac
4399    DUMPBIN=$ac_ct_DUMPBIN
4400  fi
4401fi
4402
4403
4404  if test "$DUMPBIN" != ":"; then
4405    NM="$DUMPBIN"
4406  fi
4407fi
4408test -z "$NM" && NM=nm
4409
4410
4411
4412
4413
4414
4415{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4416$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4417if test "${lt_cv_nm_interface+set}" = set; then
4418  $as_echo_n "(cached) " >&6
4419else
4420  lt_cv_nm_interface="BSD nm"
4421  echo "int some_variable = 0;" > conftest.$ac_ext
4422  (eval echo "\"\$as_me:4422: $ac_compile\"" >&5)
4423  (eval "$ac_compile" 2>conftest.err)
4424  cat conftest.err >&5
4425  (eval echo "\"\$as_me:4425: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4426  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4427  cat conftest.err >&5
4428  (eval echo "\"\$as_me:4428: output\"" >&5)
4429  cat conftest.out >&5
4430  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4431    lt_cv_nm_interface="MS dumpbin"
4432  fi
4433  rm -f conftest*
4434fi
4435{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4436$as_echo "$lt_cv_nm_interface" >&6; }
4437
4438{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4439$as_echo_n "checking whether ln -s works... " >&6; }
4440LN_S=$as_ln_s
4441if test "$LN_S" = "ln -s"; then
4442  { $as_echo "$as_me:$LINENO: result: yes" >&5
4443$as_echo "yes" >&6; }
4444else
4445  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4446$as_echo "no, using $LN_S" >&6; }
4447fi
4448
4449# find the maximum length of command line arguments
4450{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4451$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4452if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4453  $as_echo_n "(cached) " >&6
4454else
4455    i=0
4456  teststring="ABCD"
4457
4458  case $build_os in
4459  msdosdjgpp*)
4460    # On DJGPP, this test can blow up pretty badly due to problems in libc
4461    # (any single argument exceeding 2000 bytes causes a buffer overrun
4462    # during glob expansion).  Even if it were fixed, the result of this
4463    # check would be larger than it should be.
4464    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4465    ;;
4466
4467  gnu*)
4468    # Under GNU Hurd, this test is not required because there is
4469    # no limit to the length of command line arguments.
4470    # Libtool will interpret -1 as no limit whatsoever
4471    lt_cv_sys_max_cmd_len=-1;
4472    ;;
4473
4474  cygwin* | mingw* | cegcc*)
4475    # On Win9x/ME, this test blows up -- it succeeds, but takes
4476    # about 5 minutes as the teststring grows exponentially.
4477    # Worse, since 9x/ME are not pre-emptively multitasking,
4478    # you end up with a "frozen" computer, even though with patience
4479    # the test eventually succeeds (with a max line length of 256k).
4480    # Instead, let's just punt: use the minimum linelength reported by
4481    # all of the supported platforms: 8192 (on NT/2K/XP).
4482    lt_cv_sys_max_cmd_len=8192;
4483    ;;
4484
4485  amigaos*)
4486    # On AmigaOS with pdksh, this test takes hours, literally.
4487    # So we just punt and use a minimum line length of 8192.
4488    lt_cv_sys_max_cmd_len=8192;
4489    ;;
4490
4491  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4492    # This has been around since 386BSD, at least.  Likely further.
4493    if test -x /sbin/sysctl; then
4494      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4495    elif test -x /usr/sbin/sysctl; then
4496      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4497    else
4498      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4499    fi
4500    # And add a safety zone
4501    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4502    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4503    ;;
4504
4505  interix*)
4506    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4507    lt_cv_sys_max_cmd_len=196608
4508    ;;
4509
4510  osf*)
4511    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4512    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4513    # nice to cause kernel panics so lets avoid the loop below.
4514    # First set a reasonable default.
4515    lt_cv_sys_max_cmd_len=16384
4516    #
4517    if test -x /sbin/sysconfig; then
4518      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4519        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4520      esac
4521    fi
4522    ;;
4523  sco3.2v5*)
4524    lt_cv_sys_max_cmd_len=102400
4525    ;;
4526  sysv5* | sco5v6* | sysv4.2uw2*)
4527    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4528    if test -n "$kargmax"; then
4529      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4530    else
4531      lt_cv_sys_max_cmd_len=32768
4532    fi
4533    ;;
4534  *)
4535    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4536    if test -n "$lt_cv_sys_max_cmd_len"; then
4537      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4538      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4539    else
4540      # Make teststring a little bigger before we do anything with it.
4541      # a 1K string should be a reasonable start.
4542      for i in 1 2 3 4 5 6 7 8 ; do
4543        teststring=$teststring$teststring
4544      done
4545      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4546      # If test is not a shell built-in, we'll probably end up computing a
4547      # maximum length that is only half of the actual maximum length, but
4548      # we can't tell.
4549      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4550	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4551	      test $i != 17 # 1/2 MB should be enough
4552      do
4553        i=`expr $i + 1`
4554        teststring=$teststring$teststring
4555      done
4556      # Only check the string length outside the loop.
4557      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4558      teststring=
4559      # Add a significant safety factor because C++ compilers can tack on
4560      # massive amounts of additional arguments before passing them to the
4561      # linker.  It appears as though 1/2 is a usable value.
4562      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4563    fi
4564    ;;
4565  esac
4566
4567fi
4568
4569if test -n $lt_cv_sys_max_cmd_len ; then
4570  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4571$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4572else
4573  { $as_echo "$as_me:$LINENO: result: none" >&5
4574$as_echo "none" >&6; }
4575fi
4576max_cmd_len=$lt_cv_sys_max_cmd_len
4577
4578
4579
4580
4581
4582
4583: ${CP="cp -f"}
4584: ${MV="mv -f"}
4585: ${RM="rm -f"}
4586
4587{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4588$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4589# Try some XSI features
4590xsi_shell=no
4591( _lt_dummy="a/b/c"
4592  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4593      = c,a/b,, \
4594    && eval 'test $(( 1 + 1 )) -eq 2 \
4595    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4596  && xsi_shell=yes
4597{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4598$as_echo "$xsi_shell" >&6; }
4599
4600
4601{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4602$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4603lt_shell_append=no
4604( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4605    >/dev/null 2>&1 \
4606  && lt_shell_append=yes
4607{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4608$as_echo "$lt_shell_append" >&6; }
4609
4610
4611if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4612  lt_unset=unset
4613else
4614  lt_unset=false
4615fi
4616
4617
4618
4619
4620
4621# test EBCDIC or ASCII
4622case `echo X|tr X '\101'` in
4623 A) # ASCII based system
4624    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4625  lt_SP2NL='tr \040 \012'
4626  lt_NL2SP='tr \015\012 \040\040'
4627  ;;
4628 *) # EBCDIC based system
4629  lt_SP2NL='tr \100 \n'
4630  lt_NL2SP='tr \r\n \100\100'
4631  ;;
4632esac
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4643$as_echo_n "checking for $LD option to reload object files... " >&6; }
4644if test "${lt_cv_ld_reload_flag+set}" = set; then
4645  $as_echo_n "(cached) " >&6
4646else
4647  lt_cv_ld_reload_flag='-r'
4648fi
4649{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4650$as_echo "$lt_cv_ld_reload_flag" >&6; }
4651reload_flag=$lt_cv_ld_reload_flag
4652case $reload_flag in
4653"" | " "*) ;;
4654*) reload_flag=" $reload_flag" ;;
4655esac
4656reload_cmds='$LD$reload_flag -o $output$reload_objs'
4657case $host_os in
4658  darwin*)
4659    if test "$GCC" = yes; then
4660      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4661    else
4662      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4663    fi
4664    ;;
4665esac
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675if test -n "$ac_tool_prefix"; then
4676  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4677set dummy ${ac_tool_prefix}objdump; ac_word=$2
4678{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4679$as_echo_n "checking for $ac_word... " >&6; }
4680if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4681  $as_echo_n "(cached) " >&6
4682else
4683  if test -n "$OBJDUMP"; then
4684  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4685else
4686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687for as_dir in $PATH
4688do
4689  IFS=$as_save_IFS
4690  test -z "$as_dir" && as_dir=.
4691  for ac_exec_ext in '' $ac_executable_extensions; do
4692  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4693    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4694    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4695    break 2
4696  fi
4697done
4698done
4699IFS=$as_save_IFS
4700
4701fi
4702fi
4703OBJDUMP=$ac_cv_prog_OBJDUMP
4704if test -n "$OBJDUMP"; then
4705  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4706$as_echo "$OBJDUMP" >&6; }
4707else
4708  { $as_echo "$as_me:$LINENO: result: no" >&5
4709$as_echo "no" >&6; }
4710fi
4711
4712
4713fi
4714if test -z "$ac_cv_prog_OBJDUMP"; then
4715  ac_ct_OBJDUMP=$OBJDUMP
4716  # Extract the first word of "objdump", so it can be a program name with args.
4717set dummy objdump; ac_word=$2
4718{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4719$as_echo_n "checking for $ac_word... " >&6; }
4720if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4721  $as_echo_n "(cached) " >&6
4722else
4723  if test -n "$ac_ct_OBJDUMP"; then
4724  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4725else
4726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727for as_dir in $PATH
4728do
4729  IFS=$as_save_IFS
4730  test -z "$as_dir" && as_dir=.
4731  for ac_exec_ext in '' $ac_executable_extensions; do
4732  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4733    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4734    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4735    break 2
4736  fi
4737done
4738done
4739IFS=$as_save_IFS
4740
4741fi
4742fi
4743ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4744if test -n "$ac_ct_OBJDUMP"; then
4745  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4746$as_echo "$ac_ct_OBJDUMP" >&6; }
4747else
4748  { $as_echo "$as_me:$LINENO: result: no" >&5
4749$as_echo "no" >&6; }
4750fi
4751
4752  if test "x$ac_ct_OBJDUMP" = x; then
4753    OBJDUMP="false"
4754  else
4755    case $cross_compiling:$ac_tool_warned in
4756yes:)
4757{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4759ac_tool_warned=yes ;;
4760esac
4761    OBJDUMP=$ac_ct_OBJDUMP
4762  fi
4763else
4764  OBJDUMP="$ac_cv_prog_OBJDUMP"
4765fi
4766
4767test -z "$OBJDUMP" && OBJDUMP=objdump
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4778$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4779if test "${lt_cv_deplibs_check_method+set}" = set; then
4780  $as_echo_n "(cached) " >&6
4781else
4782  lt_cv_file_magic_cmd='$MAGIC_CMD'
4783lt_cv_file_magic_test_file=
4784lt_cv_deplibs_check_method='unknown'
4785# Need to set the preceding variable on all platforms that support
4786# interlibrary dependencies.
4787# 'none' -- dependencies not supported.
4788# `unknown' -- same as none, but documents that we really don't know.
4789# 'pass_all' -- all dependencies passed with no checks.
4790# 'test_compile' -- check by making test program.
4791# 'file_magic [[regex]]' -- check by looking for files in library path
4792# which responds to the $file_magic_cmd with a given extended regex.
4793# If you have `file' or equivalent on your system and you're not sure
4794# whether `pass_all' will *always* work, you probably want this one.
4795
4796case $host_os in
4797aix[4-9]*)
4798  lt_cv_deplibs_check_method=pass_all
4799  ;;
4800
4801beos*)
4802  lt_cv_deplibs_check_method=pass_all
4803  ;;
4804
4805bsdi[45]*)
4806  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4807  lt_cv_file_magic_cmd='/usr/bin/file -L'
4808  lt_cv_file_magic_test_file=/shlib/libc.so
4809  ;;
4810
4811cygwin*)
4812  # func_win32_libid is a shell function defined in ltmain.sh
4813  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4814  lt_cv_file_magic_cmd='func_win32_libid'
4815  ;;
4816
4817mingw* | pw32*)
4818  # Base MSYS/MinGW do not provide the 'file' command needed by
4819  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4820  # unless we find 'file', for example because we are cross-compiling.
4821  if ( file / ) >/dev/null 2>&1; then
4822    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4823    lt_cv_file_magic_cmd='func_win32_libid'
4824  else
4825    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4826    lt_cv_file_magic_cmd='$OBJDUMP -f'
4827  fi
4828  ;;
4829
4830cegcc)
4831  # use the weaker test based on 'objdump'. See mingw*.
4832  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4833  lt_cv_file_magic_cmd='$OBJDUMP -f'
4834  ;;
4835
4836darwin* | rhapsody*)
4837  lt_cv_deplibs_check_method=pass_all
4838  ;;
4839
4840freebsd* | dragonfly*)
4841  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4842    case $host_cpu in
4843    i*86 )
4844      # Not sure whether the presence of OpenBSD here was a mistake.
4845      # Let's accept both of them until this is cleared up.
4846      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4847      lt_cv_file_magic_cmd=/usr/bin/file
4848      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4849      ;;
4850    esac
4851  else
4852    lt_cv_deplibs_check_method=pass_all
4853  fi
4854  ;;
4855
4856gnu*)
4857  lt_cv_deplibs_check_method=pass_all
4858  ;;
4859
4860hpux10.20* | hpux11*)
4861  lt_cv_file_magic_cmd=/usr/bin/file
4862  case $host_cpu in
4863  ia64*)
4864    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4865    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4866    ;;
4867  hppa*64*)
4868    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]'
4869    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4870    ;;
4871  *)
4872    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4873    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4874    ;;
4875  esac
4876  ;;
4877
4878interix[3-9]*)
4879  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4880  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4881  ;;
4882
4883irix5* | irix6* | nonstopux*)
4884  case $LD in
4885  *-32|*"-32 ") libmagic=32-bit;;
4886  *-n32|*"-n32 ") libmagic=N32;;
4887  *-64|*"-64 ") libmagic=64-bit;;
4888  *) libmagic=never-match;;
4889  esac
4890  lt_cv_deplibs_check_method=pass_all
4891  ;;
4892
4893# This must be Linux ELF.
4894linux* | k*bsd*-gnu)
4895  lt_cv_deplibs_check_method=pass_all
4896  ;;
4897
4898netbsd*)
4899  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4900    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4901  else
4902    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4903  fi
4904  ;;
4905
4906newos6*)
4907  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4908  lt_cv_file_magic_cmd=/usr/bin/file
4909  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4910  ;;
4911
4912*nto* | *qnx*)
4913  lt_cv_deplibs_check_method=pass_all
4914  ;;
4915
4916openbsd*)
4917  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4918    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4919  else
4920    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4921  fi
4922  ;;
4923
4924osf3* | osf4* | osf5*)
4925  lt_cv_deplibs_check_method=pass_all
4926  ;;
4927
4928rdos*)
4929  lt_cv_deplibs_check_method=pass_all
4930  ;;
4931
4932solaris*)
4933  lt_cv_deplibs_check_method=pass_all
4934  ;;
4935
4936sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4937  lt_cv_deplibs_check_method=pass_all
4938  ;;
4939
4940sysv4 | sysv4.3*)
4941  case $host_vendor in
4942  motorola)
4943    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]'
4944    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4945    ;;
4946  ncr)
4947    lt_cv_deplibs_check_method=pass_all
4948    ;;
4949  sequent)
4950    lt_cv_file_magic_cmd='/bin/file'
4951    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4952    ;;
4953  sni)
4954    lt_cv_file_magic_cmd='/bin/file'
4955    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4956    lt_cv_file_magic_test_file=/lib/libc.so
4957    ;;
4958  siemens)
4959    lt_cv_deplibs_check_method=pass_all
4960    ;;
4961  pc)
4962    lt_cv_deplibs_check_method=pass_all
4963    ;;
4964  esac
4965  ;;
4966
4967tpf*)
4968  lt_cv_deplibs_check_method=pass_all
4969  ;;
4970esac
4971
4972fi
4973{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4974$as_echo "$lt_cv_deplibs_check_method" >&6; }
4975file_magic_cmd=$lt_cv_file_magic_cmd
4976deplibs_check_method=$lt_cv_deplibs_check_method
4977test -z "$deplibs_check_method" && deplibs_check_method=unknown
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990if test -n "$ac_tool_prefix"; then
4991  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4992set dummy ${ac_tool_prefix}ar; ac_word=$2
4993{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4994$as_echo_n "checking for $ac_word... " >&6; }
4995if test "${ac_cv_prog_AR+set}" = set; then
4996  $as_echo_n "(cached) " >&6
4997else
4998  if test -n "$AR"; then
4999  ac_cv_prog_AR="$AR" # Let the user override the test.
5000else
5001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002for as_dir in $PATH
5003do
5004  IFS=$as_save_IFS
5005  test -z "$as_dir" && as_dir=.
5006  for ac_exec_ext in '' $ac_executable_extensions; do
5007  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5008    ac_cv_prog_AR="${ac_tool_prefix}ar"
5009    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5010    break 2
5011  fi
5012done
5013done
5014IFS=$as_save_IFS
5015
5016fi
5017fi
5018AR=$ac_cv_prog_AR
5019if test -n "$AR"; then
5020  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5021$as_echo "$AR" >&6; }
5022else
5023  { $as_echo "$as_me:$LINENO: result: no" >&5
5024$as_echo "no" >&6; }
5025fi
5026
5027
5028fi
5029if test -z "$ac_cv_prog_AR"; then
5030  ac_ct_AR=$AR
5031  # Extract the first word of "ar", so it can be a program name with args.
5032set dummy ar; ac_word=$2
5033{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5034$as_echo_n "checking for $ac_word... " >&6; }
5035if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5036  $as_echo_n "(cached) " >&6
5037else
5038  if test -n "$ac_ct_AR"; then
5039  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5040else
5041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042for as_dir in $PATH
5043do
5044  IFS=$as_save_IFS
5045  test -z "$as_dir" && as_dir=.
5046  for ac_exec_ext in '' $ac_executable_extensions; do
5047  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5048    ac_cv_prog_ac_ct_AR="ar"
5049    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5050    break 2
5051  fi
5052done
5053done
5054IFS=$as_save_IFS
5055
5056fi
5057fi
5058ac_ct_AR=$ac_cv_prog_ac_ct_AR
5059if test -n "$ac_ct_AR"; then
5060  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5061$as_echo "$ac_ct_AR" >&6; }
5062else
5063  { $as_echo "$as_me:$LINENO: result: no" >&5
5064$as_echo "no" >&6; }
5065fi
5066
5067  if test "x$ac_ct_AR" = x; then
5068    AR="false"
5069  else
5070    case $cross_compiling:$ac_tool_warned in
5071yes:)
5072{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5073$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074ac_tool_warned=yes ;;
5075esac
5076    AR=$ac_ct_AR
5077  fi
5078else
5079  AR="$ac_cv_prog_AR"
5080fi
5081
5082test -z "$AR" && AR=ar
5083test -z "$AR_FLAGS" && AR_FLAGS=cru
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095if test -n "$ac_tool_prefix"; then
5096  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5097set dummy ${ac_tool_prefix}strip; ac_word=$2
5098{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5099$as_echo_n "checking for $ac_word... " >&6; }
5100if test "${ac_cv_prog_STRIP+set}" = set; then
5101  $as_echo_n "(cached) " >&6
5102else
5103  if test -n "$STRIP"; then
5104  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5105else
5106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107for as_dir in $PATH
5108do
5109  IFS=$as_save_IFS
5110  test -z "$as_dir" && as_dir=.
5111  for ac_exec_ext in '' $ac_executable_extensions; do
5112  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5114    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5115    break 2
5116  fi
5117done
5118done
5119IFS=$as_save_IFS
5120
5121fi
5122fi
5123STRIP=$ac_cv_prog_STRIP
5124if test -n "$STRIP"; then
5125  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5126$as_echo "$STRIP" >&6; }
5127else
5128  { $as_echo "$as_me:$LINENO: result: no" >&5
5129$as_echo "no" >&6; }
5130fi
5131
5132
5133fi
5134if test -z "$ac_cv_prog_STRIP"; then
5135  ac_ct_STRIP=$STRIP
5136  # Extract the first word of "strip", so it can be a program name with args.
5137set dummy strip; ac_word=$2
5138{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5139$as_echo_n "checking for $ac_word... " >&6; }
5140if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5141  $as_echo_n "(cached) " >&6
5142else
5143  if test -n "$ac_ct_STRIP"; then
5144  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5145else
5146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147for as_dir in $PATH
5148do
5149  IFS=$as_save_IFS
5150  test -z "$as_dir" && as_dir=.
5151  for ac_exec_ext in '' $ac_executable_extensions; do
5152  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5153    ac_cv_prog_ac_ct_STRIP="strip"
5154    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5155    break 2
5156  fi
5157done
5158done
5159IFS=$as_save_IFS
5160
5161fi
5162fi
5163ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5164if test -n "$ac_ct_STRIP"; then
5165  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5166$as_echo "$ac_ct_STRIP" >&6; }
5167else
5168  { $as_echo "$as_me:$LINENO: result: no" >&5
5169$as_echo "no" >&6; }
5170fi
5171
5172  if test "x$ac_ct_STRIP" = x; then
5173    STRIP=":"
5174  else
5175    case $cross_compiling:$ac_tool_warned in
5176yes:)
5177{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5179ac_tool_warned=yes ;;
5180esac
5181    STRIP=$ac_ct_STRIP
5182  fi
5183else
5184  STRIP="$ac_cv_prog_STRIP"
5185fi
5186
5187test -z "$STRIP" && STRIP=:
5188
5189
5190
5191
5192
5193
5194if test -n "$ac_tool_prefix"; then
5195  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5196set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5197{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5198$as_echo_n "checking for $ac_word... " >&6; }
5199if test "${ac_cv_prog_RANLIB+set}" = set; then
5200  $as_echo_n "(cached) " >&6
5201else
5202  if test -n "$RANLIB"; then
5203  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5204else
5205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206for as_dir in $PATH
5207do
5208  IFS=$as_save_IFS
5209  test -z "$as_dir" && as_dir=.
5210  for ac_exec_ext in '' $ac_executable_extensions; do
5211  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5213    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5214    break 2
5215  fi
5216done
5217done
5218IFS=$as_save_IFS
5219
5220fi
5221fi
5222RANLIB=$ac_cv_prog_RANLIB
5223if test -n "$RANLIB"; then
5224  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5225$as_echo "$RANLIB" >&6; }
5226else
5227  { $as_echo "$as_me:$LINENO: result: no" >&5
5228$as_echo "no" >&6; }
5229fi
5230
5231
5232fi
5233if test -z "$ac_cv_prog_RANLIB"; then
5234  ac_ct_RANLIB=$RANLIB
5235  # Extract the first word of "ranlib", so it can be a program name with args.
5236set dummy ranlib; ac_word=$2
5237{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5238$as_echo_n "checking for $ac_word... " >&6; }
5239if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5240  $as_echo_n "(cached) " >&6
5241else
5242  if test -n "$ac_ct_RANLIB"; then
5243  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5244else
5245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246for as_dir in $PATH
5247do
5248  IFS=$as_save_IFS
5249  test -z "$as_dir" && as_dir=.
5250  for ac_exec_ext in '' $ac_executable_extensions; do
5251  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252    ac_cv_prog_ac_ct_RANLIB="ranlib"
5253    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5254    break 2
5255  fi
5256done
5257done
5258IFS=$as_save_IFS
5259
5260fi
5261fi
5262ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5263if test -n "$ac_ct_RANLIB"; then
5264  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5265$as_echo "$ac_ct_RANLIB" >&6; }
5266else
5267  { $as_echo "$as_me:$LINENO: result: no" >&5
5268$as_echo "no" >&6; }
5269fi
5270
5271  if test "x$ac_ct_RANLIB" = x; then
5272    RANLIB=":"
5273  else
5274    case $cross_compiling:$ac_tool_warned in
5275yes:)
5276{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5277$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5278ac_tool_warned=yes ;;
5279esac
5280    RANLIB=$ac_ct_RANLIB
5281  fi
5282else
5283  RANLIB="$ac_cv_prog_RANLIB"
5284fi
5285
5286test -z "$RANLIB" && RANLIB=:
5287
5288
5289
5290
5291
5292
5293# Determine commands to create old-style static archives.
5294old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5295old_postinstall_cmds='chmod 644 $oldlib'
5296old_postuninstall_cmds=
5297
5298if test -n "$RANLIB"; then
5299  case $host_os in
5300  openbsd*)
5301    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5302    ;;
5303  *)
5304    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5305    ;;
5306  esac
5307  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5308fi
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343# If no C compiler was specified, use CC.
5344LTCC=${LTCC-"$CC"}
5345
5346# If no C compiler flags were specified, use CFLAGS.
5347LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5348
5349# Allow CC to be a program name with arguments.
5350compiler=$CC
5351
5352
5353# Check for command to grab the raw symbol name followed by C symbol from nm.
5354{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5355$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5356if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5357  $as_echo_n "(cached) " >&6
5358else
5359
5360# These are sane defaults that work on at least a few old systems.
5361# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5362
5363# Character class describing NM global symbol codes.
5364symcode='[BCDEGRST]'
5365
5366# Regexp to match symbols that can be accessed directly from C.
5367sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5368
5369# Define system-specific variables.
5370case $host_os in
5371aix*)
5372  symcode='[BCDT]'
5373  ;;
5374cygwin* | mingw* | pw32* | cegcc*)
5375  symcode='[ABCDGISTW]'
5376  ;;
5377hpux*)
5378  if test "$host_cpu" = ia64; then
5379    symcode='[ABCDEGRST]'
5380  fi
5381  ;;
5382irix* | nonstopux*)
5383  symcode='[BCDEGRST]'
5384  ;;
5385osf*)
5386  symcode='[BCDEGQRST]'
5387  ;;
5388solaris*)
5389  symcode='[BDRT]'
5390  ;;
5391sco3.2v5*)
5392  symcode='[DT]'
5393  ;;
5394sysv4.2uw2*)
5395  symcode='[DT]'
5396  ;;
5397sysv5* | sco5v6* | unixware* | OpenUNIX*)
5398  symcode='[ABDT]'
5399  ;;
5400sysv4)
5401  symcode='[DFNSTU]'
5402  ;;
5403esac
5404
5405# If we're using GNU nm, then use its standard symbol codes.
5406case `$NM -V 2>&1` in
5407*GNU* | *'with BFD'*)
5408  symcode='[ABCDGIRSTW]' ;;
5409esac
5410
5411# Transform an extracted symbol line into a proper C declaration.
5412# Some systems (esp. on ia64) link data and code symbols differently,
5413# so use this general approach.
5414lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5415
5416# Transform an extracted symbol line into symbol name and symbol address
5417lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5418lt_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'"
5419
5420# Handle CRLF in mingw tool chain
5421opt_cr=
5422case $build_os in
5423mingw*)
5424  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5425  ;;
5426esac
5427
5428# Try without a prefix underscore, then with it.
5429for ac_symprfx in "" "_"; do
5430
5431  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5432  symxfrm="\\1 $ac_symprfx\\2 \\2"
5433
5434  # Write the raw and C identifiers.
5435  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5436    # Fake it for dumpbin and say T for any non-static function
5437    # and D for any global variable.
5438    # Also find C++ and __fastcall symbols from MSVC++,
5439    # which start with @ or ?.
5440    lt_cv_sys_global_symbol_pipe="$AWK '"\
5441"     {last_section=section; section=\$ 3};"\
5442"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5443"     \$ 0!~/External *\|/{next};"\
5444"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5445"     {if(hide[section]) next};"\
5446"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5447"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5448"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5449"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5450"     ' prfx=^$ac_symprfx"
5451  else
5452    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5453  fi
5454
5455  # Check to see that the pipe works correctly.
5456  pipe_works=no
5457
5458  rm -f conftest*
5459  cat > conftest.$ac_ext <<_LT_EOF
5460#ifdef __cplusplus
5461extern "C" {
5462#endif
5463char nm_test_var;
5464void nm_test_func(void);
5465void nm_test_func(void){}
5466#ifdef __cplusplus
5467}
5468#endif
5469int main(){nm_test_var='a';nm_test_func();return(0);}
5470_LT_EOF
5471
5472  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5473  (eval $ac_compile) 2>&5
5474  ac_status=$?
5475  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476  (exit $ac_status); }; then
5477    # Now try to grab the symbols.
5478    nlist=conftest.nm
5479    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5480  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5481  ac_status=$?
5482  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483  (exit $ac_status); } && test -s "$nlist"; then
5484      # Try sorting and uniquifying the output.
5485      if sort "$nlist" | uniq > "$nlist"T; then
5486	mv -f "$nlist"T "$nlist"
5487      else
5488	rm -f "$nlist"T
5489      fi
5490
5491      # Make sure that we snagged all the symbols we need.
5492      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5493	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5494	  cat <<_LT_EOF > conftest.$ac_ext
5495#ifdef __cplusplus
5496extern "C" {
5497#endif
5498
5499_LT_EOF
5500	  # Now generate the symbol file.
5501	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5502
5503	  cat <<_LT_EOF >> conftest.$ac_ext
5504
5505/* The mapping between symbol names and symbols.  */
5506const struct {
5507  const char *name;
5508  void       *address;
5509}
5510lt__PROGRAM__LTX_preloaded_symbols[] =
5511{
5512  { "@PROGRAM@", (void *) 0 },
5513_LT_EOF
5514	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5515	  cat <<\_LT_EOF >> conftest.$ac_ext
5516  {0, (void *) 0}
5517};
5518
5519/* This works around a problem in FreeBSD linker */
5520#ifdef FREEBSD_WORKAROUND
5521static const void *lt_preloaded_setup() {
5522  return lt__PROGRAM__LTX_preloaded_symbols;
5523}
5524#endif
5525
5526#ifdef __cplusplus
5527}
5528#endif
5529_LT_EOF
5530	  # Now try linking the two files.
5531	  mv conftest.$ac_objext conftstm.$ac_objext
5532	  lt_save_LIBS="$LIBS"
5533	  lt_save_CFLAGS="$CFLAGS"
5534	  LIBS="conftstm.$ac_objext"
5535	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5536	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5537  (eval $ac_link) 2>&5
5538  ac_status=$?
5539  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540  (exit $ac_status); } && test -s conftest${ac_exeext}; then
5541	    pipe_works=yes
5542	  fi
5543	  LIBS="$lt_save_LIBS"
5544	  CFLAGS="$lt_save_CFLAGS"
5545	else
5546	  echo "cannot find nm_test_func in $nlist" >&5
5547	fi
5548      else
5549	echo "cannot find nm_test_var in $nlist" >&5
5550      fi
5551    else
5552      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5553    fi
5554  else
5555    echo "$progname: failed program was:" >&5
5556    cat conftest.$ac_ext >&5
5557  fi
5558  rm -rf conftest* conftst*
5559
5560  # Do not use the global_symbol_pipe unless it works.
5561  if test "$pipe_works" = yes; then
5562    break
5563  else
5564    lt_cv_sys_global_symbol_pipe=
5565  fi
5566done
5567
5568fi
5569
5570if test -z "$lt_cv_sys_global_symbol_pipe"; then
5571  lt_cv_sys_global_symbol_to_cdecl=
5572fi
5573if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5574  { $as_echo "$as_me:$LINENO: result: failed" >&5
5575$as_echo "failed" >&6; }
5576else
5577  { $as_echo "$as_me:$LINENO: result: ok" >&5
5578$as_echo "ok" >&6; }
5579fi
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603# Check whether --enable-libtool-lock was given.
5604if test "${enable_libtool_lock+set}" = set; then
5605  enableval=$enable_libtool_lock;
5606fi
5607
5608test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5609
5610# Some flags need to be propagated to the compiler or linker for good
5611# libtool support.
5612case $host in
5613ia64-*-hpux*)
5614  # Find out which ABI we are using.
5615  echo 'int i;' > conftest.$ac_ext
5616  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5617  (eval $ac_compile) 2>&5
5618  ac_status=$?
5619  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620  (exit $ac_status); }; then
5621    case `/usr/bin/file conftest.$ac_objext` in
5622      *ELF-32*)
5623	HPUX_IA64_MODE="32"
5624	;;
5625      *ELF-64*)
5626	HPUX_IA64_MODE="64"
5627	;;
5628    esac
5629  fi
5630  rm -rf conftest*
5631  ;;
5632*-*-irix6*)
5633  # Find out which ABI we are using.
5634  echo '#line 5634 "configure"' > conftest.$ac_ext
5635  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5636  (eval $ac_compile) 2>&5
5637  ac_status=$?
5638  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639  (exit $ac_status); }; then
5640    if test "$lt_cv_prog_gnu_ld" = yes; then
5641      case `/usr/bin/file conftest.$ac_objext` in
5642	*32-bit*)
5643	  LD="${LD-ld} -melf32bsmip"
5644	  ;;
5645	*N32*)
5646	  LD="${LD-ld} -melf32bmipn32"
5647	  ;;
5648	*64-bit*)
5649	  LD="${LD-ld} -melf64bmip"
5650	;;
5651      esac
5652    else
5653      case `/usr/bin/file conftest.$ac_objext` in
5654	*32-bit*)
5655	  LD="${LD-ld} -32"
5656	  ;;
5657	*N32*)
5658	  LD="${LD-ld} -n32"
5659	  ;;
5660	*64-bit*)
5661	  LD="${LD-ld} -64"
5662	  ;;
5663      esac
5664    fi
5665  fi
5666  rm -rf conftest*
5667  ;;
5668
5669x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5670s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5671  # Find out which ABI we are using.
5672  echo 'int i;' > conftest.$ac_ext
5673  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5674  (eval $ac_compile) 2>&5
5675  ac_status=$?
5676  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677  (exit $ac_status); }; then
5678    case `/usr/bin/file conftest.o` in
5679      *32-bit*)
5680	case $host in
5681	  x86_64-*kfreebsd*-gnu)
5682	    LD="${LD-ld} -m elf_i386_fbsd"
5683	    ;;
5684	  x86_64-*linux*)
5685	    LD="${LD-ld} -m elf_i386"
5686	    ;;
5687	  ppc64-*linux*|powerpc64-*linux*)
5688	    LD="${LD-ld} -m elf32ppclinux"
5689	    ;;
5690	  s390x-*linux*)
5691	    LD="${LD-ld} -m elf_s390"
5692	    ;;
5693	  sparc64-*linux*)
5694	    LD="${LD-ld} -m elf32_sparc"
5695	    ;;
5696	esac
5697	;;
5698      *64-bit*)
5699	case $host in
5700	  x86_64-*kfreebsd*-gnu)
5701	    LD="${LD-ld} -m elf_x86_64_fbsd"
5702	    ;;
5703	  x86_64-*linux*)
5704	    LD="${LD-ld} -m elf_x86_64"
5705	    ;;
5706	  ppc*-*linux*|powerpc*-*linux*)
5707	    LD="${LD-ld} -m elf64ppc"
5708	    ;;
5709	  s390*-*linux*|s390*-*tpf*)
5710	    LD="${LD-ld} -m elf64_s390"
5711	    ;;
5712	  sparc*-*linux*)
5713	    LD="${LD-ld} -m elf64_sparc"
5714	    ;;
5715	esac
5716	;;
5717    esac
5718  fi
5719  rm -rf conftest*
5720  ;;
5721
5722*-*-sco3.2v5*)
5723  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5724  SAVE_CFLAGS="$CFLAGS"
5725  CFLAGS="$CFLAGS -belf"
5726  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5727$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5728if test "${lt_cv_cc_needs_belf+set}" = set; then
5729  $as_echo_n "(cached) " >&6
5730else
5731  ac_ext=c
5732ac_cpp='$CPP $CPPFLAGS'
5733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5735ac_compiler_gnu=$ac_cv_c_compiler_gnu
5736
5737     cat >conftest.$ac_ext <<_ACEOF
5738/* confdefs.h.  */
5739_ACEOF
5740cat confdefs.h >>conftest.$ac_ext
5741cat >>conftest.$ac_ext <<_ACEOF
5742/* end confdefs.h.  */
5743
5744int
5745main ()
5746{
5747
5748  ;
5749  return 0;
5750}
5751_ACEOF
5752rm -f conftest.$ac_objext conftest$ac_exeext
5753if { (ac_try="$ac_link"
5754case "(($ac_try" in
5755  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5756  *) ac_try_echo=$ac_try;;
5757esac
5758eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5759$as_echo "$ac_try_echo") >&5
5760  (eval "$ac_link") 2>conftest.er1
5761  ac_status=$?
5762  grep -v '^ *+' conftest.er1 >conftest.err
5763  rm -f conftest.er1
5764  cat conftest.err >&5
5765  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766  (exit $ac_status); } && {
5767	 test -z "$ac_c_werror_flag" ||
5768	 test ! -s conftest.err
5769       } && test -s conftest$ac_exeext && {
5770	 test "$cross_compiling" = yes ||
5771	 $as_test_x conftest$ac_exeext
5772       }; then
5773  lt_cv_cc_needs_belf=yes
5774else
5775  $as_echo "$as_me: failed program was:" >&5
5776sed 's/^/| /' conftest.$ac_ext >&5
5777
5778	lt_cv_cc_needs_belf=no
5779fi
5780
5781rm -rf conftest.dSYM
5782rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5783      conftest$ac_exeext conftest.$ac_ext
5784     ac_ext=c
5785ac_cpp='$CPP $CPPFLAGS'
5786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5788ac_compiler_gnu=$ac_cv_c_compiler_gnu
5789
5790fi
5791{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5792$as_echo "$lt_cv_cc_needs_belf" >&6; }
5793  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5794    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5795    CFLAGS="$SAVE_CFLAGS"
5796  fi
5797  ;;
5798sparc*-*solaris*)
5799  # Find out which ABI we are using.
5800  echo 'int i;' > conftest.$ac_ext
5801  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5802  (eval $ac_compile) 2>&5
5803  ac_status=$?
5804  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805  (exit $ac_status); }; then
5806    case `/usr/bin/file conftest.o` in
5807    *64-bit*)
5808      case $lt_cv_prog_gnu_ld in
5809      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5810      *)
5811	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5812	  LD="${LD-ld} -64"
5813	fi
5814	;;
5815      esac
5816      ;;
5817    esac
5818  fi
5819  rm -rf conftest*
5820  ;;
5821esac
5822
5823need_locks="$enable_libtool_lock"
5824
5825
5826  case $host_os in
5827    rhapsody* | darwin*)
5828    if test -n "$ac_tool_prefix"; then
5829  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5830set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5831{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5832$as_echo_n "checking for $ac_word... " >&6; }
5833if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5834  $as_echo_n "(cached) " >&6
5835else
5836  if test -n "$DSYMUTIL"; then
5837  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5838else
5839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840for as_dir in $PATH
5841do
5842  IFS=$as_save_IFS
5843  test -z "$as_dir" && as_dir=.
5844  for ac_exec_ext in '' $ac_executable_extensions; do
5845  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5846    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5847    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5848    break 2
5849  fi
5850done
5851done
5852IFS=$as_save_IFS
5853
5854fi
5855fi
5856DSYMUTIL=$ac_cv_prog_DSYMUTIL
5857if test -n "$DSYMUTIL"; then
5858  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5859$as_echo "$DSYMUTIL" >&6; }
5860else
5861  { $as_echo "$as_me:$LINENO: result: no" >&5
5862$as_echo "no" >&6; }
5863fi
5864
5865
5866fi
5867if test -z "$ac_cv_prog_DSYMUTIL"; then
5868  ac_ct_DSYMUTIL=$DSYMUTIL
5869  # Extract the first word of "dsymutil", so it can be a program name with args.
5870set dummy dsymutil; ac_word=$2
5871{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5872$as_echo_n "checking for $ac_word... " >&6; }
5873if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5874  $as_echo_n "(cached) " >&6
5875else
5876  if test -n "$ac_ct_DSYMUTIL"; then
5877  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5878else
5879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880for as_dir in $PATH
5881do
5882  IFS=$as_save_IFS
5883  test -z "$as_dir" && as_dir=.
5884  for ac_exec_ext in '' $ac_executable_extensions; do
5885  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5887    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888    break 2
5889  fi
5890done
5891done
5892IFS=$as_save_IFS
5893
5894fi
5895fi
5896ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5897if test -n "$ac_ct_DSYMUTIL"; then
5898  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5899$as_echo "$ac_ct_DSYMUTIL" >&6; }
5900else
5901  { $as_echo "$as_me:$LINENO: result: no" >&5
5902$as_echo "no" >&6; }
5903fi
5904
5905  if test "x$ac_ct_DSYMUTIL" = x; then
5906    DSYMUTIL=":"
5907  else
5908    case $cross_compiling:$ac_tool_warned in
5909yes:)
5910{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5911$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5912ac_tool_warned=yes ;;
5913esac
5914    DSYMUTIL=$ac_ct_DSYMUTIL
5915  fi
5916else
5917  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5918fi
5919
5920    if test -n "$ac_tool_prefix"; then
5921  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5922set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5923{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5924$as_echo_n "checking for $ac_word... " >&6; }
5925if test "${ac_cv_prog_NMEDIT+set}" = set; then
5926  $as_echo_n "(cached) " >&6
5927else
5928  if test -n "$NMEDIT"; then
5929  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5930else
5931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932for as_dir in $PATH
5933do
5934  IFS=$as_save_IFS
5935  test -z "$as_dir" && as_dir=.
5936  for ac_exec_ext in '' $ac_executable_extensions; do
5937  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5938    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5939    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5940    break 2
5941  fi
5942done
5943done
5944IFS=$as_save_IFS
5945
5946fi
5947fi
5948NMEDIT=$ac_cv_prog_NMEDIT
5949if test -n "$NMEDIT"; then
5950  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5951$as_echo "$NMEDIT" >&6; }
5952else
5953  { $as_echo "$as_me:$LINENO: result: no" >&5
5954$as_echo "no" >&6; }
5955fi
5956
5957
5958fi
5959if test -z "$ac_cv_prog_NMEDIT"; then
5960  ac_ct_NMEDIT=$NMEDIT
5961  # Extract the first word of "nmedit", so it can be a program name with args.
5962set dummy nmedit; ac_word=$2
5963{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5964$as_echo_n "checking for $ac_word... " >&6; }
5965if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5966  $as_echo_n "(cached) " >&6
5967else
5968  if test -n "$ac_ct_NMEDIT"; then
5969  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5970else
5971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972for as_dir in $PATH
5973do
5974  IFS=$as_save_IFS
5975  test -z "$as_dir" && as_dir=.
5976  for ac_exec_ext in '' $ac_executable_extensions; do
5977  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5978    ac_cv_prog_ac_ct_NMEDIT="nmedit"
5979    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5980    break 2
5981  fi
5982done
5983done
5984IFS=$as_save_IFS
5985
5986fi
5987fi
5988ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5989if test -n "$ac_ct_NMEDIT"; then
5990  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5991$as_echo "$ac_ct_NMEDIT" >&6; }
5992else
5993  { $as_echo "$as_me:$LINENO: result: no" >&5
5994$as_echo "no" >&6; }
5995fi
5996
5997  if test "x$ac_ct_NMEDIT" = x; then
5998    NMEDIT=":"
5999  else
6000    case $cross_compiling:$ac_tool_warned in
6001yes:)
6002{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6004ac_tool_warned=yes ;;
6005esac
6006    NMEDIT=$ac_ct_NMEDIT
6007  fi
6008else
6009  NMEDIT="$ac_cv_prog_NMEDIT"
6010fi
6011
6012    if test -n "$ac_tool_prefix"; then
6013  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6014set dummy ${ac_tool_prefix}lipo; ac_word=$2
6015{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6016$as_echo_n "checking for $ac_word... " >&6; }
6017if test "${ac_cv_prog_LIPO+set}" = set; then
6018  $as_echo_n "(cached) " >&6
6019else
6020  if test -n "$LIPO"; then
6021  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6022else
6023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024for as_dir in $PATH
6025do
6026  IFS=$as_save_IFS
6027  test -z "$as_dir" && as_dir=.
6028  for ac_exec_ext in '' $ac_executable_extensions; do
6029  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6030    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6031    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6032    break 2
6033  fi
6034done
6035done
6036IFS=$as_save_IFS
6037
6038fi
6039fi
6040LIPO=$ac_cv_prog_LIPO
6041if test -n "$LIPO"; then
6042  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6043$as_echo "$LIPO" >&6; }
6044else
6045  { $as_echo "$as_me:$LINENO: result: no" >&5
6046$as_echo "no" >&6; }
6047fi
6048
6049
6050fi
6051if test -z "$ac_cv_prog_LIPO"; then
6052  ac_ct_LIPO=$LIPO
6053  # Extract the first word of "lipo", so it can be a program name with args.
6054set dummy lipo; ac_word=$2
6055{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6056$as_echo_n "checking for $ac_word... " >&6; }
6057if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6058  $as_echo_n "(cached) " >&6
6059else
6060  if test -n "$ac_ct_LIPO"; then
6061  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6062else
6063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064for as_dir in $PATH
6065do
6066  IFS=$as_save_IFS
6067  test -z "$as_dir" && as_dir=.
6068  for ac_exec_ext in '' $ac_executable_extensions; do
6069  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6070    ac_cv_prog_ac_ct_LIPO="lipo"
6071    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6072    break 2
6073  fi
6074done
6075done
6076IFS=$as_save_IFS
6077
6078fi
6079fi
6080ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6081if test -n "$ac_ct_LIPO"; then
6082  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6083$as_echo "$ac_ct_LIPO" >&6; }
6084else
6085  { $as_echo "$as_me:$LINENO: result: no" >&5
6086$as_echo "no" >&6; }
6087fi
6088
6089  if test "x$ac_ct_LIPO" = x; then
6090    LIPO=":"
6091  else
6092    case $cross_compiling:$ac_tool_warned in
6093yes:)
6094{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6095$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6096ac_tool_warned=yes ;;
6097esac
6098    LIPO=$ac_ct_LIPO
6099  fi
6100else
6101  LIPO="$ac_cv_prog_LIPO"
6102fi
6103
6104    if test -n "$ac_tool_prefix"; then
6105  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6106set dummy ${ac_tool_prefix}otool; ac_word=$2
6107{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6108$as_echo_n "checking for $ac_word... " >&6; }
6109if test "${ac_cv_prog_OTOOL+set}" = set; then
6110  $as_echo_n "(cached) " >&6
6111else
6112  if test -n "$OTOOL"; then
6113  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6114else
6115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116for as_dir in $PATH
6117do
6118  IFS=$as_save_IFS
6119  test -z "$as_dir" && as_dir=.
6120  for ac_exec_ext in '' $ac_executable_extensions; do
6121  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6123    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6124    break 2
6125  fi
6126done
6127done
6128IFS=$as_save_IFS
6129
6130fi
6131fi
6132OTOOL=$ac_cv_prog_OTOOL
6133if test -n "$OTOOL"; then
6134  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6135$as_echo "$OTOOL" >&6; }
6136else
6137  { $as_echo "$as_me:$LINENO: result: no" >&5
6138$as_echo "no" >&6; }
6139fi
6140
6141
6142fi
6143if test -z "$ac_cv_prog_OTOOL"; then
6144  ac_ct_OTOOL=$OTOOL
6145  # Extract the first word of "otool", so it can be a program name with args.
6146set dummy otool; ac_word=$2
6147{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6148$as_echo_n "checking for $ac_word... " >&6; }
6149if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6150  $as_echo_n "(cached) " >&6
6151else
6152  if test -n "$ac_ct_OTOOL"; then
6153  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6154else
6155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156for as_dir in $PATH
6157do
6158  IFS=$as_save_IFS
6159  test -z "$as_dir" && as_dir=.
6160  for ac_exec_ext in '' $ac_executable_extensions; do
6161  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162    ac_cv_prog_ac_ct_OTOOL="otool"
6163    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6164    break 2
6165  fi
6166done
6167done
6168IFS=$as_save_IFS
6169
6170fi
6171fi
6172ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6173if test -n "$ac_ct_OTOOL"; then
6174  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6175$as_echo "$ac_ct_OTOOL" >&6; }
6176else
6177  { $as_echo "$as_me:$LINENO: result: no" >&5
6178$as_echo "no" >&6; }
6179fi
6180
6181  if test "x$ac_ct_OTOOL" = x; then
6182    OTOOL=":"
6183  else
6184    case $cross_compiling:$ac_tool_warned in
6185yes:)
6186{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6187$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188ac_tool_warned=yes ;;
6189esac
6190    OTOOL=$ac_ct_OTOOL
6191  fi
6192else
6193  OTOOL="$ac_cv_prog_OTOOL"
6194fi
6195
6196    if test -n "$ac_tool_prefix"; then
6197  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6198set dummy ${ac_tool_prefix}otool64; ac_word=$2
6199{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6200$as_echo_n "checking for $ac_word... " >&6; }
6201if test "${ac_cv_prog_OTOOL64+set}" = set; then
6202  $as_echo_n "(cached) " >&6
6203else
6204  if test -n "$OTOOL64"; then
6205  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6206else
6207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208for as_dir in $PATH
6209do
6210  IFS=$as_save_IFS
6211  test -z "$as_dir" && as_dir=.
6212  for ac_exec_ext in '' $ac_executable_extensions; do
6213  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6214    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6215    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6216    break 2
6217  fi
6218done
6219done
6220IFS=$as_save_IFS
6221
6222fi
6223fi
6224OTOOL64=$ac_cv_prog_OTOOL64
6225if test -n "$OTOOL64"; then
6226  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6227$as_echo "$OTOOL64" >&6; }
6228else
6229  { $as_echo "$as_me:$LINENO: result: no" >&5
6230$as_echo "no" >&6; }
6231fi
6232
6233
6234fi
6235if test -z "$ac_cv_prog_OTOOL64"; then
6236  ac_ct_OTOOL64=$OTOOL64
6237  # Extract the first word of "otool64", so it can be a program name with args.
6238set dummy otool64; ac_word=$2
6239{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6240$as_echo_n "checking for $ac_word... " >&6; }
6241if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6242  $as_echo_n "(cached) " >&6
6243else
6244  if test -n "$ac_ct_OTOOL64"; then
6245  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6246else
6247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248for as_dir in $PATH
6249do
6250  IFS=$as_save_IFS
6251  test -z "$as_dir" && as_dir=.
6252  for ac_exec_ext in '' $ac_executable_extensions; do
6253  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254    ac_cv_prog_ac_ct_OTOOL64="otool64"
6255    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6256    break 2
6257  fi
6258done
6259done
6260IFS=$as_save_IFS
6261
6262fi
6263fi
6264ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6265if test -n "$ac_ct_OTOOL64"; then
6266  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6267$as_echo "$ac_ct_OTOOL64" >&6; }
6268else
6269  { $as_echo "$as_me:$LINENO: result: no" >&5
6270$as_echo "no" >&6; }
6271fi
6272
6273  if test "x$ac_ct_OTOOL64" = x; then
6274    OTOOL64=":"
6275  else
6276    case $cross_compiling:$ac_tool_warned in
6277yes:)
6278{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6279$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6280ac_tool_warned=yes ;;
6281esac
6282    OTOOL64=$ac_ct_OTOOL64
6283  fi
6284else
6285  OTOOL64="$ac_cv_prog_OTOOL64"
6286fi
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6315$as_echo_n "checking for -single_module linker flag... " >&6; }
6316if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6317  $as_echo_n "(cached) " >&6
6318else
6319  lt_cv_apple_cc_single_mod=no
6320      if test -z "${LT_MULTI_MODULE}"; then
6321	# By default we will add the -single_module flag. You can override
6322	# by either setting the environment variable LT_MULTI_MODULE
6323	# non-empty at configure time, or by adding -multi_module to the
6324	# link flags.
6325	rm -rf libconftest.dylib*
6326	echo "int foo(void){return 1;}" > conftest.c
6327	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6328-dynamiclib -Wl,-single_module conftest.c" >&5
6329	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6330	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6331        _lt_result=$?
6332	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6333	  lt_cv_apple_cc_single_mod=yes
6334	else
6335	  cat conftest.err >&5
6336	fi
6337	rm -rf libconftest.dylib*
6338	rm -f conftest.*
6339      fi
6340fi
6341{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6342$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6343    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6344$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6345if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6346  $as_echo_n "(cached) " >&6
6347else
6348  lt_cv_ld_exported_symbols_list=no
6349      save_LDFLAGS=$LDFLAGS
6350      echo "_main" > conftest.sym
6351      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6352      cat >conftest.$ac_ext <<_ACEOF
6353/* confdefs.h.  */
6354_ACEOF
6355cat confdefs.h >>conftest.$ac_ext
6356cat >>conftest.$ac_ext <<_ACEOF
6357/* end confdefs.h.  */
6358
6359int
6360main ()
6361{
6362
6363  ;
6364  return 0;
6365}
6366_ACEOF
6367rm -f conftest.$ac_objext conftest$ac_exeext
6368if { (ac_try="$ac_link"
6369case "(($ac_try" in
6370  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6371  *) ac_try_echo=$ac_try;;
6372esac
6373eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6374$as_echo "$ac_try_echo") >&5
6375  (eval "$ac_link") 2>conftest.er1
6376  ac_status=$?
6377  grep -v '^ *+' conftest.er1 >conftest.err
6378  rm -f conftest.er1
6379  cat conftest.err >&5
6380  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381  (exit $ac_status); } && {
6382	 test -z "$ac_c_werror_flag" ||
6383	 test ! -s conftest.err
6384       } && test -s conftest$ac_exeext && {
6385	 test "$cross_compiling" = yes ||
6386	 $as_test_x conftest$ac_exeext
6387       }; then
6388  lt_cv_ld_exported_symbols_list=yes
6389else
6390  $as_echo "$as_me: failed program was:" >&5
6391sed 's/^/| /' conftest.$ac_ext >&5
6392
6393	lt_cv_ld_exported_symbols_list=no
6394fi
6395
6396rm -rf conftest.dSYM
6397rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6398      conftest$ac_exeext conftest.$ac_ext
6399	LDFLAGS="$save_LDFLAGS"
6400
6401fi
6402{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6403$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6404    case $host_os in
6405    rhapsody* | darwin1.[012])
6406      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6407    darwin1.*)
6408      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6409    darwin*) # darwin 5.x on
6410      # if running on 10.5 or later, the deployment target defaults
6411      # to the OS version, if on x86, and 10.4, the deployment
6412      # target defaults to 10.4. Don't you love it?
6413      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6414	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6415	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6416	10.[012]*)
6417	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6418	10.*)
6419	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6420      esac
6421    ;;
6422  esac
6423    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6424      _lt_dar_single_mod='$single_module'
6425    fi
6426    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6427      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6428    else
6429      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6430    fi
6431    if test "$DSYMUTIL" != ":"; then
6432      _lt_dsymutil='~$DSYMUTIL $lib || :'
6433    else
6434      _lt_dsymutil=
6435    fi
6436    ;;
6437  esac
6438
6439ac_ext=c
6440ac_cpp='$CPP $CPPFLAGS'
6441ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6442ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6443ac_compiler_gnu=$ac_cv_c_compiler_gnu
6444{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6445$as_echo_n "checking how to run the C preprocessor... " >&6; }
6446# On Suns, sometimes $CPP names a directory.
6447if test -n "$CPP" && test -d "$CPP"; then
6448  CPP=
6449fi
6450if test -z "$CPP"; then
6451  if test "${ac_cv_prog_CPP+set}" = set; then
6452  $as_echo_n "(cached) " >&6
6453else
6454      # Double quotes because CPP needs to be expanded
6455    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6456    do
6457      ac_preproc_ok=false
6458for ac_c_preproc_warn_flag in '' yes
6459do
6460  # Use a header file that comes with gcc, so configuring glibc
6461  # with a fresh cross-compiler works.
6462  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6463  # <limits.h> exists even on freestanding compilers.
6464  # On the NeXT, cc -E runs the code through the compiler's parser,
6465  # not just through cpp. "Syntax error" is here to catch this case.
6466  cat >conftest.$ac_ext <<_ACEOF
6467/* confdefs.h.  */
6468_ACEOF
6469cat confdefs.h >>conftest.$ac_ext
6470cat >>conftest.$ac_ext <<_ACEOF
6471/* end confdefs.h.  */
6472#ifdef __STDC__
6473# include <limits.h>
6474#else
6475# include <assert.h>
6476#endif
6477		     Syntax error
6478_ACEOF
6479if { (ac_try="$ac_cpp conftest.$ac_ext"
6480case "(($ac_try" in
6481  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6482  *) ac_try_echo=$ac_try;;
6483esac
6484eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6485$as_echo "$ac_try_echo") >&5
6486  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6487  ac_status=$?
6488  grep -v '^ *+' conftest.er1 >conftest.err
6489  rm -f conftest.er1
6490  cat conftest.err >&5
6491  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492  (exit $ac_status); } >/dev/null && {
6493	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6494	 test ! -s conftest.err
6495       }; then
6496  :
6497else
6498  $as_echo "$as_me: failed program was:" >&5
6499sed 's/^/| /' conftest.$ac_ext >&5
6500
6501  # Broken: fails on valid input.
6502continue
6503fi
6504
6505rm -f conftest.err conftest.$ac_ext
6506
6507  # OK, works on sane cases.  Now check whether nonexistent headers
6508  # can be detected and how.
6509  cat >conftest.$ac_ext <<_ACEOF
6510/* confdefs.h.  */
6511_ACEOF
6512cat confdefs.h >>conftest.$ac_ext
6513cat >>conftest.$ac_ext <<_ACEOF
6514/* end confdefs.h.  */
6515#include <ac_nonexistent.h>
6516_ACEOF
6517if { (ac_try="$ac_cpp conftest.$ac_ext"
6518case "(($ac_try" in
6519  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6520  *) ac_try_echo=$ac_try;;
6521esac
6522eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6523$as_echo "$ac_try_echo") >&5
6524  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6525  ac_status=$?
6526  grep -v '^ *+' conftest.er1 >conftest.err
6527  rm -f conftest.er1
6528  cat conftest.err >&5
6529  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530  (exit $ac_status); } >/dev/null && {
6531	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6532	 test ! -s conftest.err
6533       }; then
6534  # Broken: success on invalid input.
6535continue
6536else
6537  $as_echo "$as_me: failed program was:" >&5
6538sed 's/^/| /' conftest.$ac_ext >&5
6539
6540  # Passes both tests.
6541ac_preproc_ok=:
6542break
6543fi
6544
6545rm -f conftest.err conftest.$ac_ext
6546
6547done
6548# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6549rm -f conftest.err conftest.$ac_ext
6550if $ac_preproc_ok; then
6551  break
6552fi
6553
6554    done
6555    ac_cv_prog_CPP=$CPP
6556
6557fi
6558  CPP=$ac_cv_prog_CPP
6559else
6560  ac_cv_prog_CPP=$CPP
6561fi
6562{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6563$as_echo "$CPP" >&6; }
6564ac_preproc_ok=false
6565for ac_c_preproc_warn_flag in '' yes
6566do
6567  # Use a header file that comes with gcc, so configuring glibc
6568  # with a fresh cross-compiler works.
6569  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6570  # <limits.h> exists even on freestanding compilers.
6571  # On the NeXT, cc -E runs the code through the compiler's parser,
6572  # not just through cpp. "Syntax error" is here to catch this case.
6573  cat >conftest.$ac_ext <<_ACEOF
6574/* confdefs.h.  */
6575_ACEOF
6576cat confdefs.h >>conftest.$ac_ext
6577cat >>conftest.$ac_ext <<_ACEOF
6578/* end confdefs.h.  */
6579#ifdef __STDC__
6580# include <limits.h>
6581#else
6582# include <assert.h>
6583#endif
6584		     Syntax error
6585_ACEOF
6586if { (ac_try="$ac_cpp conftest.$ac_ext"
6587case "(($ac_try" in
6588  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6589  *) ac_try_echo=$ac_try;;
6590esac
6591eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6592$as_echo "$ac_try_echo") >&5
6593  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6594  ac_status=$?
6595  grep -v '^ *+' conftest.er1 >conftest.err
6596  rm -f conftest.er1
6597  cat conftest.err >&5
6598  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599  (exit $ac_status); } >/dev/null && {
6600	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6601	 test ! -s conftest.err
6602       }; then
6603  :
6604else
6605  $as_echo "$as_me: failed program was:" >&5
6606sed 's/^/| /' conftest.$ac_ext >&5
6607
6608  # Broken: fails on valid input.
6609continue
6610fi
6611
6612rm -f conftest.err conftest.$ac_ext
6613
6614  # OK, works on sane cases.  Now check whether nonexistent headers
6615  # can be detected and how.
6616  cat >conftest.$ac_ext <<_ACEOF
6617/* confdefs.h.  */
6618_ACEOF
6619cat confdefs.h >>conftest.$ac_ext
6620cat >>conftest.$ac_ext <<_ACEOF
6621/* end confdefs.h.  */
6622#include <ac_nonexistent.h>
6623_ACEOF
6624if { (ac_try="$ac_cpp conftest.$ac_ext"
6625case "(($ac_try" in
6626  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6627  *) ac_try_echo=$ac_try;;
6628esac
6629eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6630$as_echo "$ac_try_echo") >&5
6631  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6632  ac_status=$?
6633  grep -v '^ *+' conftest.er1 >conftest.err
6634  rm -f conftest.er1
6635  cat conftest.err >&5
6636  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637  (exit $ac_status); } >/dev/null && {
6638	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6639	 test ! -s conftest.err
6640       }; then
6641  # Broken: success on invalid input.
6642continue
6643else
6644  $as_echo "$as_me: failed program was:" >&5
6645sed 's/^/| /' conftest.$ac_ext >&5
6646
6647  # Passes both tests.
6648ac_preproc_ok=:
6649break
6650fi
6651
6652rm -f conftest.err conftest.$ac_ext
6653
6654done
6655# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6656rm -f conftest.err conftest.$ac_ext
6657if $ac_preproc_ok; then
6658  :
6659else
6660  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6661$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6662{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6663See \`config.log' for more details." >&5
6664$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6665See \`config.log' for more details." >&2;}
6666   { (exit 1); exit 1; }; }; }
6667fi
6668
6669ac_ext=c
6670ac_cpp='$CPP $CPPFLAGS'
6671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6673ac_compiler_gnu=$ac_cv_c_compiler_gnu
6674
6675
6676{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6677$as_echo_n "checking for ANSI C header files... " >&6; }
6678if test "${ac_cv_header_stdc+set}" = set; then
6679  $as_echo_n "(cached) " >&6
6680else
6681  cat >conftest.$ac_ext <<_ACEOF
6682/* confdefs.h.  */
6683_ACEOF
6684cat confdefs.h >>conftest.$ac_ext
6685cat >>conftest.$ac_ext <<_ACEOF
6686/* end confdefs.h.  */
6687#include <stdlib.h>
6688#include <stdarg.h>
6689#include <string.h>
6690#include <float.h>
6691
6692int
6693main ()
6694{
6695
6696  ;
6697  return 0;
6698}
6699_ACEOF
6700rm -f conftest.$ac_objext
6701if { (ac_try="$ac_compile"
6702case "(($ac_try" in
6703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6704  *) ac_try_echo=$ac_try;;
6705esac
6706eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6707$as_echo "$ac_try_echo") >&5
6708  (eval "$ac_compile") 2>conftest.er1
6709  ac_status=$?
6710  grep -v '^ *+' conftest.er1 >conftest.err
6711  rm -f conftest.er1
6712  cat conftest.err >&5
6713  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714  (exit $ac_status); } && {
6715	 test -z "$ac_c_werror_flag" ||
6716	 test ! -s conftest.err
6717       } && test -s conftest.$ac_objext; then
6718  ac_cv_header_stdc=yes
6719else
6720  $as_echo "$as_me: failed program was:" >&5
6721sed 's/^/| /' conftest.$ac_ext >&5
6722
6723	ac_cv_header_stdc=no
6724fi
6725
6726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6727
6728if test $ac_cv_header_stdc = yes; then
6729  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6730  cat >conftest.$ac_ext <<_ACEOF
6731/* confdefs.h.  */
6732_ACEOF
6733cat confdefs.h >>conftest.$ac_ext
6734cat >>conftest.$ac_ext <<_ACEOF
6735/* end confdefs.h.  */
6736#include <string.h>
6737
6738_ACEOF
6739if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6740  $EGREP "memchr" >/dev/null 2>&1; then
6741  :
6742else
6743  ac_cv_header_stdc=no
6744fi
6745rm -f conftest*
6746
6747fi
6748
6749if test $ac_cv_header_stdc = yes; then
6750  # ISC 2.0.2 stdlib.h does not declare free, 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 <stdlib.h>
6758
6759_ACEOF
6760if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6761  $EGREP "free" >/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  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6772  if test "$cross_compiling" = yes; then
6773  :
6774else
6775  cat >conftest.$ac_ext <<_ACEOF
6776/* confdefs.h.  */
6777_ACEOF
6778cat confdefs.h >>conftest.$ac_ext
6779cat >>conftest.$ac_ext <<_ACEOF
6780/* end confdefs.h.  */
6781#include <ctype.h>
6782#include <stdlib.h>
6783#if ((' ' & 0x0FF) == 0x020)
6784# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6785# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6786#else
6787# define ISLOWER(c) \
6788		   (('a' <= (c) && (c) <= 'i') \
6789		     || ('j' <= (c) && (c) <= 'r') \
6790		     || ('s' <= (c) && (c) <= 'z'))
6791# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6792#endif
6793
6794#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6795int
6796main ()
6797{
6798  int i;
6799  for (i = 0; i < 256; i++)
6800    if (XOR (islower (i), ISLOWER (i))
6801	|| toupper (i) != TOUPPER (i))
6802      return 2;
6803  return 0;
6804}
6805_ACEOF
6806rm -f conftest$ac_exeext
6807if { (ac_try="$ac_link"
6808case "(($ac_try" in
6809  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6810  *) ac_try_echo=$ac_try;;
6811esac
6812eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6813$as_echo "$ac_try_echo") >&5
6814  (eval "$ac_link") 2>&5
6815  ac_status=$?
6816  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6818  { (case "(($ac_try" in
6819  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6820  *) ac_try_echo=$ac_try;;
6821esac
6822eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6823$as_echo "$ac_try_echo") >&5
6824  (eval "$ac_try") 2>&5
6825  ac_status=$?
6826  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827  (exit $ac_status); }; }; then
6828  :
6829else
6830  $as_echo "$as_me: program exited with status $ac_status" >&5
6831$as_echo "$as_me: failed program was:" >&5
6832sed 's/^/| /' conftest.$ac_ext >&5
6833
6834( exit $ac_status )
6835ac_cv_header_stdc=no
6836fi
6837rm -rf conftest.dSYM
6838rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6839fi
6840
6841
6842fi
6843fi
6844{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6845$as_echo "$ac_cv_header_stdc" >&6; }
6846if test $ac_cv_header_stdc = yes; then
6847
6848cat >>confdefs.h <<\_ACEOF
6849#define STDC_HEADERS 1
6850_ACEOF
6851
6852fi
6853
6854# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6865		  inttypes.h stdint.h unistd.h
6866do
6867as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6868{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6869$as_echo_n "checking for $ac_header... " >&6; }
6870if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6871  $as_echo_n "(cached) " >&6
6872else
6873  cat >conftest.$ac_ext <<_ACEOF
6874/* confdefs.h.  */
6875_ACEOF
6876cat confdefs.h >>conftest.$ac_ext
6877cat >>conftest.$ac_ext <<_ACEOF
6878/* end confdefs.h.  */
6879$ac_includes_default
6880
6881#include <$ac_header>
6882_ACEOF
6883rm -f conftest.$ac_objext
6884if { (ac_try="$ac_compile"
6885case "(($ac_try" in
6886  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6887  *) ac_try_echo=$ac_try;;
6888esac
6889eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6890$as_echo "$ac_try_echo") >&5
6891  (eval "$ac_compile") 2>conftest.er1
6892  ac_status=$?
6893  grep -v '^ *+' conftest.er1 >conftest.err
6894  rm -f conftest.er1
6895  cat conftest.err >&5
6896  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897  (exit $ac_status); } && {
6898	 test -z "$ac_c_werror_flag" ||
6899	 test ! -s conftest.err
6900       } && test -s conftest.$ac_objext; then
6901  eval "$as_ac_Header=yes"
6902else
6903  $as_echo "$as_me: failed program was:" >&5
6904sed 's/^/| /' conftest.$ac_ext >&5
6905
6906	eval "$as_ac_Header=no"
6907fi
6908
6909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6910fi
6911ac_res=`eval 'as_val=${'$as_ac_Header'}
6912		 $as_echo "$as_val"'`
6913	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6914$as_echo "$ac_res" >&6; }
6915as_val=`eval 'as_val=${'$as_ac_Header'}
6916		 $as_echo "$as_val"'`
6917   if test "x$as_val" = x""yes; then
6918  cat >>confdefs.h <<_ACEOF
6919#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6920_ACEOF
6921
6922fi
6923
6924done
6925
6926
6927
6928for ac_header in dlfcn.h
6929do
6930as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6931{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6932$as_echo_n "checking for $ac_header... " >&6; }
6933if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6934  $as_echo_n "(cached) " >&6
6935else
6936  cat >conftest.$ac_ext <<_ACEOF
6937/* confdefs.h.  */
6938_ACEOF
6939cat confdefs.h >>conftest.$ac_ext
6940cat >>conftest.$ac_ext <<_ACEOF
6941/* end confdefs.h.  */
6942$ac_includes_default
6943
6944#include <$ac_header>
6945_ACEOF
6946rm -f conftest.$ac_objext
6947if { (ac_try="$ac_compile"
6948case "(($ac_try" in
6949  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6950  *) ac_try_echo=$ac_try;;
6951esac
6952eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6953$as_echo "$ac_try_echo") >&5
6954  (eval "$ac_compile") 2>conftest.er1
6955  ac_status=$?
6956  grep -v '^ *+' conftest.er1 >conftest.err
6957  rm -f conftest.er1
6958  cat conftest.err >&5
6959  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960  (exit $ac_status); } && {
6961	 test -z "$ac_c_werror_flag" ||
6962	 test ! -s conftest.err
6963       } && test -s conftest.$ac_objext; then
6964  eval "$as_ac_Header=yes"
6965else
6966  $as_echo "$as_me: failed program was:" >&5
6967sed 's/^/| /' conftest.$ac_ext >&5
6968
6969	eval "$as_ac_Header=no"
6970fi
6971
6972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6973fi
6974ac_res=`eval 'as_val=${'$as_ac_Header'}
6975		 $as_echo "$as_val"'`
6976	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6977$as_echo "$ac_res" >&6; }
6978as_val=`eval 'as_val=${'$as_ac_Header'}
6979		 $as_echo "$as_val"'`
6980   if test "x$as_val" = x""yes; then
6981  cat >>confdefs.h <<_ACEOF
6982#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6983_ACEOF
6984
6985fi
6986
6987done
6988
6989
6990
6991# Set options
6992
6993
6994
6995        enable_dlopen=no
6996
6997
6998  enable_win32_dll=no
6999
7000
7001            # Check whether --enable-shared was given.
7002if test "${enable_shared+set}" = set; then
7003  enableval=$enable_shared; p=${PACKAGE-default}
7004    case $enableval in
7005    yes) enable_shared=yes ;;
7006    no) enable_shared=no ;;
7007    *)
7008      enable_shared=no
7009      # Look at the argument we got.  We use all the common list separators.
7010      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7011      for pkg in $enableval; do
7012	IFS="$lt_save_ifs"
7013	if test "X$pkg" = "X$p"; then
7014	  enable_shared=yes
7015	fi
7016      done
7017      IFS="$lt_save_ifs"
7018      ;;
7019    esac
7020else
7021  enable_shared=yes
7022fi
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032  # Check whether --enable-static was given.
7033if test "${enable_static+set}" = set; then
7034  enableval=$enable_static; p=${PACKAGE-default}
7035    case $enableval in
7036    yes) enable_static=yes ;;
7037    no) enable_static=no ;;
7038    *)
7039     enable_static=no
7040      # Look at the argument we got.  We use all the common list separators.
7041      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7042      for pkg in $enableval; do
7043	IFS="$lt_save_ifs"
7044	if test "X$pkg" = "X$p"; then
7045	  enable_static=yes
7046	fi
7047      done
7048      IFS="$lt_save_ifs"
7049      ;;
7050    esac
7051else
7052  enable_static=yes
7053fi
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064# Check whether --with-pic was given.
7065if test "${with_pic+set}" = set; then
7066  withval=$with_pic; pic_mode="$withval"
7067else
7068  pic_mode=default
7069fi
7070
7071
7072test -z "$pic_mode" && pic_mode=default
7073
7074
7075
7076
7077
7078
7079
7080  # Check whether --enable-fast-install was given.
7081if test "${enable_fast_install+set}" = set; then
7082  enableval=$enable_fast_install; p=${PACKAGE-default}
7083    case $enableval in
7084    yes) enable_fast_install=yes ;;
7085    no) enable_fast_install=no ;;
7086    *)
7087      enable_fast_install=no
7088      # Look at the argument we got.  We use all the common list separators.
7089      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7090      for pkg in $enableval; do
7091	IFS="$lt_save_ifs"
7092	if test "X$pkg" = "X$p"; then
7093	  enable_fast_install=yes
7094	fi
7095      done
7096      IFS="$lt_save_ifs"
7097      ;;
7098    esac
7099else
7100  enable_fast_install=yes
7101fi
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113# This can be used to rebuild libtool when needed
7114LIBTOOL_DEPS="$ltmain"
7115
7116# Always use our own libtool.
7117LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143test -z "$LN_S" && LN_S="ln -s"
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158if test -n "${ZSH_VERSION+set}" ; then
7159   setopt NO_GLOB_SUBST
7160fi
7161
7162{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7163$as_echo_n "checking for objdir... " >&6; }
7164if test "${lt_cv_objdir+set}" = set; then
7165  $as_echo_n "(cached) " >&6
7166else
7167  rm -f .libs 2>/dev/null
7168mkdir .libs 2>/dev/null
7169if test -d .libs; then
7170  lt_cv_objdir=.libs
7171else
7172  # MS-DOS does not allow filenames that begin with a dot.
7173  lt_cv_objdir=_libs
7174fi
7175rmdir .libs 2>/dev/null
7176fi
7177{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7178$as_echo "$lt_cv_objdir" >&6; }
7179objdir=$lt_cv_objdir
7180
7181
7182
7183
7184
7185cat >>confdefs.h <<_ACEOF
7186#define LT_OBJDIR "$lt_cv_objdir/"
7187_ACEOF
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205case $host_os in
7206aix3*)
7207  # AIX sometimes has problems with the GCC collect2 program.  For some
7208  # reason, if we set the COLLECT_NAMES environment variable, the problems
7209  # vanish in a puff of smoke.
7210  if test "X${COLLECT_NAMES+set}" != Xset; then
7211    COLLECT_NAMES=
7212    export COLLECT_NAMES
7213  fi
7214  ;;
7215esac
7216
7217# Sed substitution that helps us do robust quoting.  It backslashifies
7218# metacharacters that are still active within double-quoted strings.
7219sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7220
7221# Same as above, but do not quote variable references.
7222double_quote_subst='s/\(["`\\]\)/\\\1/g'
7223
7224# Sed substitution to delay expansion of an escaped shell variable in a
7225# double_quote_subst'ed string.
7226delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7227
7228# Sed substitution to delay expansion of an escaped single quote.
7229delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7230
7231# Sed substitution to avoid accidental globbing in evaled expressions
7232no_glob_subst='s/\*/\\\*/g'
7233
7234# Global variables:
7235ofile=libtool
7236can_build_shared=yes
7237
7238# All known linkers require a `.a' archive for static linking (except MSVC,
7239# which needs '.lib').
7240libext=a
7241
7242with_gnu_ld="$lt_cv_prog_gnu_ld"
7243
7244old_CC="$CC"
7245old_CFLAGS="$CFLAGS"
7246
7247# Set sane defaults for various variables
7248test -z "$CC" && CC=cc
7249test -z "$LTCC" && LTCC=$CC
7250test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7251test -z "$LD" && LD=ld
7252test -z "$ac_objext" && ac_objext=o
7253
7254for cc_temp in $compiler""; do
7255  case $cc_temp in
7256    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7257    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7258    \-*) ;;
7259    *) break;;
7260  esac
7261done
7262cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7263
7264
7265# Only perform the check for file, if the check method requires it
7266test -z "$MAGIC_CMD" && MAGIC_CMD=file
7267case $deplibs_check_method in
7268file_magic*)
7269  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7270    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7271$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7272if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7273  $as_echo_n "(cached) " >&6
7274else
7275  case $MAGIC_CMD in
7276[\\/*] |  ?:[\\/]*)
7277  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7278  ;;
7279*)
7280  lt_save_MAGIC_CMD="$MAGIC_CMD"
7281  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7282  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7283  for ac_dir in $ac_dummy; do
7284    IFS="$lt_save_ifs"
7285    test -z "$ac_dir" && ac_dir=.
7286    if test -f $ac_dir/${ac_tool_prefix}file; then
7287      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7288      if test -n "$file_magic_test_file"; then
7289	case $deplibs_check_method in
7290	"file_magic "*)
7291	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7292	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7293	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7294	    $EGREP "$file_magic_regex" > /dev/null; then
7295	    :
7296	  else
7297	    cat <<_LT_EOF 1>&2
7298
7299*** Warning: the command libtool uses to detect shared libraries,
7300*** $file_magic_cmd, produces output that libtool cannot recognize.
7301*** The result is that libtool may fail to recognize shared libraries
7302*** as such.  This will affect the creation of libtool libraries that
7303*** depend on shared libraries, but programs linked with such libtool
7304*** libraries will work regardless of this problem.  Nevertheless, you
7305*** may want to report the problem to your system manager and/or to
7306*** bug-libtool@gnu.org
7307
7308_LT_EOF
7309	  fi ;;
7310	esac
7311      fi
7312      break
7313    fi
7314  done
7315  IFS="$lt_save_ifs"
7316  MAGIC_CMD="$lt_save_MAGIC_CMD"
7317  ;;
7318esac
7319fi
7320
7321MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7322if test -n "$MAGIC_CMD"; then
7323  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7324$as_echo "$MAGIC_CMD" >&6; }
7325else
7326  { $as_echo "$as_me:$LINENO: result: no" >&5
7327$as_echo "no" >&6; }
7328fi
7329
7330
7331
7332
7333
7334if test -z "$lt_cv_path_MAGIC_CMD"; then
7335  if test -n "$ac_tool_prefix"; then
7336    { $as_echo "$as_me:$LINENO: checking for file" >&5
7337$as_echo_n "checking for file... " >&6; }
7338if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7339  $as_echo_n "(cached) " >&6
7340else
7341  case $MAGIC_CMD in
7342[\\/*] |  ?:[\\/]*)
7343  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7344  ;;
7345*)
7346  lt_save_MAGIC_CMD="$MAGIC_CMD"
7347  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7348  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7349  for ac_dir in $ac_dummy; do
7350    IFS="$lt_save_ifs"
7351    test -z "$ac_dir" && ac_dir=.
7352    if test -f $ac_dir/file; then
7353      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7354      if test -n "$file_magic_test_file"; then
7355	case $deplibs_check_method in
7356	"file_magic "*)
7357	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7358	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7359	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7360	    $EGREP "$file_magic_regex" > /dev/null; then
7361	    :
7362	  else
7363	    cat <<_LT_EOF 1>&2
7364
7365*** Warning: the command libtool uses to detect shared libraries,
7366*** $file_magic_cmd, produces output that libtool cannot recognize.
7367*** The result is that libtool may fail to recognize shared libraries
7368*** as such.  This will affect the creation of libtool libraries that
7369*** depend on shared libraries, but programs linked with such libtool
7370*** libraries will work regardless of this problem.  Nevertheless, you
7371*** may want to report the problem to your system manager and/or to
7372*** bug-libtool@gnu.org
7373
7374_LT_EOF
7375	  fi ;;
7376	esac
7377      fi
7378      break
7379    fi
7380  done
7381  IFS="$lt_save_ifs"
7382  MAGIC_CMD="$lt_save_MAGIC_CMD"
7383  ;;
7384esac
7385fi
7386
7387MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7388if test -n "$MAGIC_CMD"; then
7389  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7390$as_echo "$MAGIC_CMD" >&6; }
7391else
7392  { $as_echo "$as_me:$LINENO: result: no" >&5
7393$as_echo "no" >&6; }
7394fi
7395
7396
7397  else
7398    MAGIC_CMD=:
7399  fi
7400fi
7401
7402  fi
7403  ;;
7404esac
7405
7406# Use C for the default configuration in the libtool script
7407
7408lt_save_CC="$CC"
7409ac_ext=c
7410ac_cpp='$CPP $CPPFLAGS'
7411ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7412ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7413ac_compiler_gnu=$ac_cv_c_compiler_gnu
7414
7415
7416# Source file extension for C test sources.
7417ac_ext=c
7418
7419# Object file extension for compiled C test sources.
7420objext=o
7421objext=$objext
7422
7423# Code to be used in simple compile tests
7424lt_simple_compile_test_code="int some_variable = 0;"
7425
7426# Code to be used in simple link tests
7427lt_simple_link_test_code='int main(){return(0);}'
7428
7429
7430
7431
7432
7433
7434
7435# If no C compiler was specified, use CC.
7436LTCC=${LTCC-"$CC"}
7437
7438# If no C compiler flags were specified, use CFLAGS.
7439LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7440
7441# Allow CC to be a program name with arguments.
7442compiler=$CC
7443
7444# Save the default compiler, since it gets overwritten when the other
7445# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7446compiler_DEFAULT=$CC
7447
7448# save warnings/boilerplate of simple test code
7449ac_outfile=conftest.$ac_objext
7450echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7451eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7452_lt_compiler_boilerplate=`cat conftest.err`
7453$RM conftest*
7454
7455ac_outfile=conftest.$ac_objext
7456echo "$lt_simple_link_test_code" >conftest.$ac_ext
7457eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7458_lt_linker_boilerplate=`cat conftest.err`
7459$RM -r conftest*
7460
7461
7462if test -n "$compiler"; then
7463
7464lt_prog_compiler_no_builtin_flag=
7465
7466if test "$GCC" = yes; then
7467  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7468
7469  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7470$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7471if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7472  $as_echo_n "(cached) " >&6
7473else
7474  lt_cv_prog_compiler_rtti_exceptions=no
7475   ac_outfile=conftest.$ac_objext
7476   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7477   lt_compiler_flag="-fno-rtti -fno-exceptions"
7478   # Insert the option either (1) after the last *FLAGS variable, or
7479   # (2) before a word containing "conftest.", or (3) at the end.
7480   # Note that $ac_compile itself does not contain backslashes and begins
7481   # with a dollar sign (not a hyphen), so the echo should work correctly.
7482   # The option is referenced via a variable to avoid confusing sed.
7483   lt_compile=`echo "$ac_compile" | $SED \
7484   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7485   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7486   -e 's:$: $lt_compiler_flag:'`
7487   (eval echo "\"\$as_me:7487: $lt_compile\"" >&5)
7488   (eval "$lt_compile" 2>conftest.err)
7489   ac_status=$?
7490   cat conftest.err >&5
7491   echo "$as_me:7491: \$? = $ac_status" >&5
7492   if (exit $ac_status) && test -s "$ac_outfile"; then
7493     # The compiler can only warn and ignore the option if not recognized
7494     # So say no if there are warnings other than the usual output.
7495     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7496     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7497     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7498       lt_cv_prog_compiler_rtti_exceptions=yes
7499     fi
7500   fi
7501   $RM conftest*
7502
7503fi
7504{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7505$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7506
7507if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7508    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7509else
7510    :
7511fi
7512
7513fi
7514
7515
7516
7517
7518
7519
7520  lt_prog_compiler_wl=
7521lt_prog_compiler_pic=
7522lt_prog_compiler_static=
7523
7524{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7525$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7526
7527  if test "$GCC" = yes; then
7528    lt_prog_compiler_wl='-Wl,'
7529    lt_prog_compiler_static='-static'
7530
7531    case $host_os in
7532      aix*)
7533      # All AIX code is PIC.
7534      if test "$host_cpu" = ia64; then
7535	# AIX 5 now supports IA64 processor
7536	lt_prog_compiler_static='-Bstatic'
7537      fi
7538      ;;
7539
7540    amigaos*)
7541      case $host_cpu in
7542      powerpc)
7543            # see comment about AmigaOS4 .so support
7544            lt_prog_compiler_pic='-fPIC'
7545        ;;
7546      m68k)
7547            # FIXME: we need at least 68020 code to build shared libraries, but
7548            # adding the `-m68020' flag to GCC prevents building anything better,
7549            # like `-m68040'.
7550            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7551        ;;
7552      esac
7553      ;;
7554
7555    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7556      # PIC is the default for these OSes.
7557      ;;
7558
7559    mingw* | cygwin* | pw32* | os2* | cegcc*)
7560      # This hack is so that the source file can tell whether it is being
7561      # built for inclusion in a dll (and should export symbols for example).
7562      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7563      # (--disable-auto-import) libraries
7564      lt_prog_compiler_pic='-DDLL_EXPORT'
7565      ;;
7566
7567    darwin* | rhapsody*)
7568      # PIC is the default on this platform
7569      # Common symbols not allowed in MH_DYLIB files
7570      lt_prog_compiler_pic='-fno-common'
7571      ;;
7572
7573    hpux*)
7574      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7575      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7576      # sets the default TLS model and affects inlining.
7577      case $host_cpu in
7578      hppa*64*)
7579	# +Z the default
7580	;;
7581      *)
7582	lt_prog_compiler_pic='-fPIC'
7583	;;
7584      esac
7585      ;;
7586
7587    interix[3-9]*)
7588      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7589      # Instead, we relocate shared libraries at runtime.
7590      ;;
7591
7592    msdosdjgpp*)
7593      # Just because we use GCC doesn't mean we suddenly get shared libraries
7594      # on systems that don't support them.
7595      lt_prog_compiler_can_build_shared=no
7596      enable_shared=no
7597      ;;
7598
7599    *nto* | *qnx*)
7600      # QNX uses GNU C++, but need to define -shared option too, otherwise
7601      # it will coredump.
7602      lt_prog_compiler_pic='-fPIC -shared'
7603      ;;
7604
7605    sysv4*MP*)
7606      if test -d /usr/nec; then
7607	lt_prog_compiler_pic=-Kconform_pic
7608      fi
7609      ;;
7610
7611    *)
7612      lt_prog_compiler_pic='-fPIC'
7613      ;;
7614    esac
7615  else
7616    # PORTME Check for flag to pass linker flags through the system compiler.
7617    case $host_os in
7618    aix*)
7619      lt_prog_compiler_wl='-Wl,'
7620      if test "$host_cpu" = ia64; then
7621	# AIX 5 now supports IA64 processor
7622	lt_prog_compiler_static='-Bstatic'
7623      else
7624	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7625      fi
7626      ;;
7627
7628    mingw* | cygwin* | pw32* | os2* | cegcc*)
7629      # This hack is so that the source file can tell whether it is being
7630      # built for inclusion in a dll (and should export symbols for example).
7631      lt_prog_compiler_pic='-DDLL_EXPORT'
7632      ;;
7633
7634    hpux9* | hpux10* | hpux11*)
7635      lt_prog_compiler_wl='-Wl,'
7636      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7637      # not for PA HP-UX.
7638      case $host_cpu in
7639      hppa*64*|ia64*)
7640	# +Z the default
7641	;;
7642      *)
7643	lt_prog_compiler_pic='+Z'
7644	;;
7645      esac
7646      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7647      lt_prog_compiler_static='${wl}-a ${wl}archive'
7648      ;;
7649
7650    irix5* | irix6* | nonstopux*)
7651      lt_prog_compiler_wl='-Wl,'
7652      # PIC (with -KPIC) is the default.
7653      lt_prog_compiler_static='-non_shared'
7654      ;;
7655
7656    linux* | k*bsd*-gnu)
7657      case $cc_basename in
7658      # old Intel for x86_64 which still supported -KPIC.
7659      ecc*)
7660	lt_prog_compiler_wl='-Wl,'
7661	lt_prog_compiler_pic='-KPIC'
7662	lt_prog_compiler_static='-static'
7663        ;;
7664      # icc used to be incompatible with GCC.
7665      # ICC 10 doesn't accept -KPIC any more.
7666      icc* | ifort*)
7667	lt_prog_compiler_wl='-Wl,'
7668	lt_prog_compiler_pic='-fPIC'
7669	lt_prog_compiler_static='-static'
7670        ;;
7671      # Lahey Fortran 8.1.
7672      lf95*)
7673	lt_prog_compiler_wl='-Wl,'
7674	lt_prog_compiler_pic='--shared'
7675	lt_prog_compiler_static='--static'
7676	;;
7677      pgcc* | pgf77* | pgf90* | pgf95*)
7678        # Portland Group compilers (*not* the Pentium gcc compiler,
7679	# which looks to be a dead project)
7680	lt_prog_compiler_wl='-Wl,'
7681	lt_prog_compiler_pic='-fpic'
7682	lt_prog_compiler_static='-Bstatic'
7683        ;;
7684      ccc*)
7685        lt_prog_compiler_wl='-Wl,'
7686        # All Alpha code is PIC.
7687        lt_prog_compiler_static='-non_shared'
7688        ;;
7689      xl*)
7690	# IBM XL C 8.0/Fortran 10.1 on PPC
7691	lt_prog_compiler_wl='-Wl,'
7692	lt_prog_compiler_pic='-qpic'
7693	lt_prog_compiler_static='-qstaticlink'
7694	;;
7695      *)
7696	case `$CC -V 2>&1 | sed 5q` in
7697	*Sun\ C*)
7698	  # Sun C 5.9
7699	  lt_prog_compiler_pic='-KPIC'
7700	  lt_prog_compiler_static='-Bstatic'
7701	  lt_prog_compiler_wl='-Wl,'
7702	  ;;
7703	*Sun\ F*)
7704	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7705	  lt_prog_compiler_pic='-KPIC'
7706	  lt_prog_compiler_static='-Bstatic'
7707	  lt_prog_compiler_wl=''
7708	  ;;
7709	esac
7710	;;
7711      esac
7712      ;;
7713
7714    newsos6)
7715      lt_prog_compiler_pic='-KPIC'
7716      lt_prog_compiler_static='-Bstatic'
7717      ;;
7718
7719    *nto* | *qnx*)
7720      # QNX uses GNU C++, but need to define -shared option too, otherwise
7721      # it will coredump.
7722      lt_prog_compiler_pic='-fPIC -shared'
7723      ;;
7724
7725    osf3* | osf4* | osf5*)
7726      lt_prog_compiler_wl='-Wl,'
7727      # All OSF/1 code is PIC.
7728      lt_prog_compiler_static='-non_shared'
7729      ;;
7730
7731    rdos*)
7732      lt_prog_compiler_static='-non_shared'
7733      ;;
7734
7735    solaris*)
7736      lt_prog_compiler_pic='-KPIC'
7737      lt_prog_compiler_static='-Bstatic'
7738      case $cc_basename in
7739      f77* | f90* | f95*)
7740	lt_prog_compiler_wl='-Qoption ld ';;
7741      *)
7742	lt_prog_compiler_wl='-Wl,';;
7743      esac
7744      ;;
7745
7746    sunos4*)
7747      lt_prog_compiler_wl='-Qoption ld '
7748      lt_prog_compiler_pic='-PIC'
7749      lt_prog_compiler_static='-Bstatic'
7750      ;;
7751
7752    sysv4 | sysv4.2uw2* | sysv4.3*)
7753      lt_prog_compiler_wl='-Wl,'
7754      lt_prog_compiler_pic='-KPIC'
7755      lt_prog_compiler_static='-Bstatic'
7756      ;;
7757
7758    sysv4*MP*)
7759      if test -d /usr/nec ;then
7760	lt_prog_compiler_pic='-Kconform_pic'
7761	lt_prog_compiler_static='-Bstatic'
7762      fi
7763      ;;
7764
7765    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7766      lt_prog_compiler_wl='-Wl,'
7767      lt_prog_compiler_pic='-KPIC'
7768      lt_prog_compiler_static='-Bstatic'
7769      ;;
7770
7771    unicos*)
7772      lt_prog_compiler_wl='-Wl,'
7773      lt_prog_compiler_can_build_shared=no
7774      ;;
7775
7776    uts4*)
7777      lt_prog_compiler_pic='-pic'
7778      lt_prog_compiler_static='-Bstatic'
7779      ;;
7780
7781    *)
7782      lt_prog_compiler_can_build_shared=no
7783      ;;
7784    esac
7785  fi
7786
7787case $host_os in
7788  # For platforms which do not support PIC, -DPIC is meaningless:
7789  *djgpp*)
7790    lt_prog_compiler_pic=
7791    ;;
7792  *)
7793    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7794    ;;
7795esac
7796{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7797$as_echo "$lt_prog_compiler_pic" >&6; }
7798
7799
7800
7801
7802
7803
7804#
7805# Check to make sure the PIC flag actually works.
7806#
7807if test -n "$lt_prog_compiler_pic"; then
7808  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7809$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7810if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7811  $as_echo_n "(cached) " >&6
7812else
7813  lt_cv_prog_compiler_pic_works=no
7814   ac_outfile=conftest.$ac_objext
7815   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7816   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7817   # Insert the option either (1) after the last *FLAGS variable, or
7818   # (2) before a word containing "conftest.", or (3) at the end.
7819   # Note that $ac_compile itself does not contain backslashes and begins
7820   # with a dollar sign (not a hyphen), so the echo should work correctly.
7821   # The option is referenced via a variable to avoid confusing sed.
7822   lt_compile=`echo "$ac_compile" | $SED \
7823   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7824   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7825   -e 's:$: $lt_compiler_flag:'`
7826   (eval echo "\"\$as_me:7826: $lt_compile\"" >&5)
7827   (eval "$lt_compile" 2>conftest.err)
7828   ac_status=$?
7829   cat conftest.err >&5
7830   echo "$as_me:7830: \$? = $ac_status" >&5
7831   if (exit $ac_status) && test -s "$ac_outfile"; then
7832     # The compiler can only warn and ignore the option if not recognized
7833     # So say no if there are warnings other than the usual output.
7834     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7835     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7836     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7837       lt_cv_prog_compiler_pic_works=yes
7838     fi
7839   fi
7840   $RM conftest*
7841
7842fi
7843{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7844$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7845
7846if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7847    case $lt_prog_compiler_pic in
7848     "" | " "*) ;;
7849     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7850     esac
7851else
7852    lt_prog_compiler_pic=
7853     lt_prog_compiler_can_build_shared=no
7854fi
7855
7856fi
7857
7858
7859
7860
7861
7862
7863#
7864# Check to make sure the static flag actually works.
7865#
7866wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7867{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7868$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7869if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7870  $as_echo_n "(cached) " >&6
7871else
7872  lt_cv_prog_compiler_static_works=no
7873   save_LDFLAGS="$LDFLAGS"
7874   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7875   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7876   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7877     # The linker can only warn and ignore the option if not recognized
7878     # So say no if there are warnings
7879     if test -s conftest.err; then
7880       # Append any errors to the config.log.
7881       cat conftest.err 1>&5
7882       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7883       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7884       if diff conftest.exp conftest.er2 >/dev/null; then
7885         lt_cv_prog_compiler_static_works=yes
7886       fi
7887     else
7888       lt_cv_prog_compiler_static_works=yes
7889     fi
7890   fi
7891   $RM -r conftest*
7892   LDFLAGS="$save_LDFLAGS"
7893
7894fi
7895{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7896$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7897
7898if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7899    :
7900else
7901    lt_prog_compiler_static=
7902fi
7903
7904
7905
7906
7907
7908
7909
7910  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7911$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7912if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7913  $as_echo_n "(cached) " >&6
7914else
7915  lt_cv_prog_compiler_c_o=no
7916   $RM -r conftest 2>/dev/null
7917   mkdir conftest
7918   cd conftest
7919   mkdir out
7920   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7921
7922   lt_compiler_flag="-o out/conftest2.$ac_objext"
7923   # Insert the option either (1) after the last *FLAGS variable, or
7924   # (2) before a word containing "conftest.", or (3) at the end.
7925   # Note that $ac_compile itself does not contain backslashes and begins
7926   # with a dollar sign (not a hyphen), so the echo should work correctly.
7927   lt_compile=`echo "$ac_compile" | $SED \
7928   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7929   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7930   -e 's:$: $lt_compiler_flag:'`
7931   (eval echo "\"\$as_me:7931: $lt_compile\"" >&5)
7932   (eval "$lt_compile" 2>out/conftest.err)
7933   ac_status=$?
7934   cat out/conftest.err >&5
7935   echo "$as_me:7935: \$? = $ac_status" >&5
7936   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7937   then
7938     # The compiler can only warn and ignore the option if not recognized
7939     # So say no if there are warnings
7940     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7941     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7942     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7943       lt_cv_prog_compiler_c_o=yes
7944     fi
7945   fi
7946   chmod u+w . 2>&5
7947   $RM conftest*
7948   # SGI C++ compiler will create directory out/ii_files/ for
7949   # template instantiation
7950   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7951   $RM out/* && rmdir out
7952   cd ..
7953   $RM -r conftest
7954   $RM conftest*
7955
7956fi
7957{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7958$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7959
7960
7961
7962
7963
7964
7965  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7966$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7967if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7968  $as_echo_n "(cached) " >&6
7969else
7970  lt_cv_prog_compiler_c_o=no
7971   $RM -r conftest 2>/dev/null
7972   mkdir conftest
7973   cd conftest
7974   mkdir out
7975   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7976
7977   lt_compiler_flag="-o out/conftest2.$ac_objext"
7978   # Insert the option either (1) after the last *FLAGS variable, or
7979   # (2) before a word containing "conftest.", or (3) at the end.
7980   # Note that $ac_compile itself does not contain backslashes and begins
7981   # with a dollar sign (not a hyphen), so the echo should work correctly.
7982   lt_compile=`echo "$ac_compile" | $SED \
7983   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7984   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7985   -e 's:$: $lt_compiler_flag:'`
7986   (eval echo "\"\$as_me:7986: $lt_compile\"" >&5)
7987   (eval "$lt_compile" 2>out/conftest.err)
7988   ac_status=$?
7989   cat out/conftest.err >&5
7990   echo "$as_me:7990: \$? = $ac_status" >&5
7991   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7992   then
7993     # The compiler can only warn and ignore the option if not recognized
7994     # So say no if there are warnings
7995     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7996     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7997     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7998       lt_cv_prog_compiler_c_o=yes
7999     fi
8000   fi
8001   chmod u+w . 2>&5
8002   $RM conftest*
8003   # SGI C++ compiler will create directory out/ii_files/ for
8004   # template instantiation
8005   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8006   $RM out/* && rmdir out
8007   cd ..
8008   $RM -r conftest
8009   $RM conftest*
8010
8011fi
8012{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8013$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8014
8015
8016
8017
8018hard_links="nottested"
8019if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8020  # do not overwrite the value of need_locks provided by the user
8021  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8022$as_echo_n "checking if we can lock with hard links... " >&6; }
8023  hard_links=yes
8024  $RM conftest*
8025  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8026  touch conftest.a
8027  ln conftest.a conftest.b 2>&5 || hard_links=no
8028  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8029  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8030$as_echo "$hard_links" >&6; }
8031  if test "$hard_links" = no; then
8032    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8033$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8034    need_locks=warn
8035  fi
8036else
8037  need_locks=no
8038fi
8039
8040
8041
8042
8043
8044
8045  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8046$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8047
8048  runpath_var=
8049  allow_undefined_flag=
8050  always_export_symbols=no
8051  archive_cmds=
8052  archive_expsym_cmds=
8053  compiler_needs_object=no
8054  enable_shared_with_static_runtimes=no
8055  export_dynamic_flag_spec=
8056  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8057  hardcode_automatic=no
8058  hardcode_direct=no
8059  hardcode_direct_absolute=no
8060  hardcode_libdir_flag_spec=
8061  hardcode_libdir_flag_spec_ld=
8062  hardcode_libdir_separator=
8063  hardcode_minus_L=no
8064  hardcode_shlibpath_var=unsupported
8065  inherit_rpath=no
8066  link_all_deplibs=unknown
8067  module_cmds=
8068  module_expsym_cmds=
8069  old_archive_from_new_cmds=
8070  old_archive_from_expsyms_cmds=
8071  thread_safe_flag_spec=
8072  whole_archive_flag_spec=
8073  # include_expsyms should be a list of space-separated symbols to be *always*
8074  # included in the symbol list
8075  include_expsyms=
8076  # exclude_expsyms can be an extended regexp of symbols to exclude
8077  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8078  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8079  # as well as any symbol that contains `d'.
8080  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8081  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8082  # platforms (ab)use it in PIC code, but their linkers get confused if
8083  # the symbol is explicitly referenced.  Since portable code cannot
8084  # rely on this symbol name, it's probably fine to never include it in
8085  # preloaded symbol tables.
8086  # Exclude shared library initialization/finalization symbols.
8087  extract_expsyms_cmds=
8088
8089  case $host_os in
8090  cygwin* | mingw* | pw32* | cegcc*)
8091    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8092    # When not using gcc, we currently assume that we are using
8093    # Microsoft Visual C++.
8094    if test "$GCC" != yes; then
8095      with_gnu_ld=no
8096    fi
8097    ;;
8098  interix*)
8099    # we just hope/assume this is gcc and not c89 (= MSVC++)
8100    with_gnu_ld=yes
8101    ;;
8102  openbsd*)
8103    with_gnu_ld=no
8104    ;;
8105  esac
8106
8107  ld_shlibs=yes
8108  if test "$with_gnu_ld" = yes; then
8109    # If archive_cmds runs LD, not CC, wlarc should be empty
8110    wlarc='${wl}'
8111
8112    # Set some defaults for GNU ld with shared library support. These
8113    # are reset later if shared libraries are not supported. Putting them
8114    # here allows them to be overridden if necessary.
8115    runpath_var=LD_RUN_PATH
8116    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8117    export_dynamic_flag_spec='${wl}--export-dynamic'
8118    # ancient GNU ld didn't support --whole-archive et. al.
8119    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8120      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8121    else
8122      whole_archive_flag_spec=
8123    fi
8124    supports_anon_versioning=no
8125    case `$LD -v 2>&1` in
8126      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8127      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8128      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8129      *\ 2.11.*) ;; # other 2.11 versions
8130      *) supports_anon_versioning=yes ;;
8131    esac
8132
8133    # See if GNU ld supports shared libraries.
8134    case $host_os in
8135    aix[3-9]*)
8136      # On AIX/PPC, the GNU linker is very broken
8137      if test "$host_cpu" != ia64; then
8138	ld_shlibs=no
8139	cat <<_LT_EOF 1>&2
8140
8141*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8142*** to be unable to reliably create shared libraries on AIX.
8143*** Therefore, libtool is disabling shared libraries support.  If you
8144*** really care for shared libraries, you may want to modify your PATH
8145*** so that a non-GNU linker is found, and then restart.
8146
8147_LT_EOF
8148      fi
8149      ;;
8150
8151    amigaos*)
8152      case $host_cpu in
8153      powerpc)
8154            # see comment about AmigaOS4 .so support
8155            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8156            archive_expsym_cmds=''
8157        ;;
8158      m68k)
8159            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)'
8160            hardcode_libdir_flag_spec='-L$libdir'
8161            hardcode_minus_L=yes
8162        ;;
8163      esac
8164      ;;
8165
8166    beos*)
8167      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8168	allow_undefined_flag=unsupported
8169	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8170	# support --undefined.  This deserves some investigation.  FIXME
8171	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8172      else
8173	ld_shlibs=no
8174      fi
8175      ;;
8176
8177    cygwin* | mingw* | pw32* | cegcc*)
8178      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8179      # as there is no search path for DLLs.
8180      hardcode_libdir_flag_spec='-L$libdir'
8181      allow_undefined_flag=unsupported
8182      always_export_symbols=no
8183      enable_shared_with_static_runtimes=yes
8184      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8185
8186      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8187        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8188	# If the export-symbols file already is a .def file (1st line
8189	# is EXPORTS), use it as is; otherwise, prepend...
8190	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8191	  cp $export_symbols $output_objdir/$soname.def;
8192	else
8193	  echo EXPORTS > $output_objdir/$soname.def;
8194	  cat $export_symbols >> $output_objdir/$soname.def;
8195	fi~
8196	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8197      else
8198	ld_shlibs=no
8199      fi
8200      ;;
8201
8202    interix[3-9]*)
8203      hardcode_direct=no
8204      hardcode_shlibpath_var=no
8205      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8206      export_dynamic_flag_spec='${wl}-E'
8207      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8208      # Instead, shared libraries are loaded at an image base (0x10000000 by
8209      # default) and relocated if they conflict, which is a slow very memory
8210      # consuming and fragmenting process.  To avoid this, we pick a random,
8211      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8212      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8213      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8214      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'
8215      ;;
8216
8217    gnu* | linux* | tpf* | k*bsd*-gnu)
8218      tmp_diet=no
8219      if test "$host_os" = linux-dietlibc; then
8220	case $cc_basename in
8221	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8222	esac
8223      fi
8224      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8225	 && test "$tmp_diet" = no
8226      then
8227	tmp_addflag=
8228	tmp_sharedflag='-shared'
8229	case $cc_basename,$host_cpu in
8230        pgcc*)				# Portland Group C compiler
8231	  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'
8232	  tmp_addflag=' $pic_flag'
8233	  ;;
8234	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8235	  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'
8236	  tmp_addflag=' $pic_flag -Mnomain' ;;
8237	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8238	  tmp_addflag=' -i_dynamic' ;;
8239	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8240	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8241	ifc* | ifort*)			# Intel Fortran compiler
8242	  tmp_addflag=' -nofor_main' ;;
8243	lf95*)				# Lahey Fortran 8.1
8244	  whole_archive_flag_spec=
8245	  tmp_sharedflag='--shared' ;;
8246	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8247	  tmp_sharedflag='-qmkshrobj'
8248	  tmp_addflag= ;;
8249	esac
8250	case `$CC -V 2>&1 | sed 5q` in
8251	*Sun\ C*)			# Sun C 5.9
8252	  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'
8253	  compiler_needs_object=yes
8254	  tmp_sharedflag='-G' ;;
8255	*Sun\ F*)			# Sun Fortran 8.3
8256	  tmp_sharedflag='-G' ;;
8257	esac
8258	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8259
8260        if test "x$supports_anon_versioning" = xyes; then
8261          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8262	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8263	    echo "local: *; };" >> $output_objdir/$libname.ver~
8264	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8265        fi
8266
8267	case $cc_basename in
8268	xlf*)
8269	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8270	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8271	  hardcode_libdir_flag_spec=
8272	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8273	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8274	  if test "x$supports_anon_versioning" = xyes; then
8275	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8276	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8277	      echo "local: *; };" >> $output_objdir/$libname.ver~
8278	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8279	  fi
8280	  ;;
8281	esac
8282      else
8283        ld_shlibs=no
8284      fi
8285      ;;
8286
8287    netbsd*)
8288      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8289	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8290	wlarc=
8291      else
8292	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8293	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8294      fi
8295      ;;
8296
8297    solaris*)
8298      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8299	ld_shlibs=no
8300	cat <<_LT_EOF 1>&2
8301
8302*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8303*** create shared libraries on Solaris systems.  Therefore, libtool
8304*** is disabling shared libraries support.  We urge you to upgrade GNU
8305*** binutils to release 2.9.1 or newer.  Another option is to modify
8306*** your PATH or compiler configuration so that the native linker is
8307*** used, and then restart.
8308
8309_LT_EOF
8310      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8311	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8312	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8313      else
8314	ld_shlibs=no
8315      fi
8316      ;;
8317
8318    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8319      case `$LD -v 2>&1` in
8320        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8321	ld_shlibs=no
8322	cat <<_LT_EOF 1>&2
8323
8324*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8325*** reliably create shared libraries on SCO systems.  Therefore, libtool
8326*** is disabling shared libraries support.  We urge you to upgrade GNU
8327*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8328*** your PATH or compiler configuration so that the native linker is
8329*** used, and then restart.
8330
8331_LT_EOF
8332	;;
8333	*)
8334	  # For security reasons, it is highly recommended that you always
8335	  # use absolute paths for naming shared libraries, and exclude the
8336	  # DT_RUNPATH tag from executables and libraries.  But doing so
8337	  # requires that you compile everything twice, which is a pain.
8338	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8339	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8340	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8341	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8342	  else
8343	    ld_shlibs=no
8344	  fi
8345	;;
8346      esac
8347      ;;
8348
8349    sunos4*)
8350      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8351      wlarc=
8352      hardcode_direct=yes
8353      hardcode_shlibpath_var=no
8354      ;;
8355
8356    *)
8357      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8358	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8359	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8360      else
8361	ld_shlibs=no
8362      fi
8363      ;;
8364    esac
8365
8366    if test "$ld_shlibs" = no; then
8367      runpath_var=
8368      hardcode_libdir_flag_spec=
8369      export_dynamic_flag_spec=
8370      whole_archive_flag_spec=
8371    fi
8372  else
8373    # PORTME fill in a description of your system's linker (not GNU ld)
8374    case $host_os in
8375    aix3*)
8376      allow_undefined_flag=unsupported
8377      always_export_symbols=yes
8378      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'
8379      # Note: this linker hardcodes the directories in LIBPATH if there
8380      # are no directories specified by -L.
8381      hardcode_minus_L=yes
8382      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8383	# Neither direct hardcoding nor static linking is supported with a
8384	# broken collect2.
8385	hardcode_direct=unsupported
8386      fi
8387      ;;
8388
8389    aix[4-9]*)
8390      if test "$host_cpu" = ia64; then
8391	# On IA64, the linker does run time linking by default, so we don't
8392	# have to do anything special.
8393	aix_use_runtimelinking=no
8394	exp_sym_flag='-Bexport'
8395	no_entry_flag=""
8396      else
8397	# If we're using GNU nm, then we don't want the "-C" option.
8398	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8399	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8400	  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'
8401	else
8402	  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'
8403	fi
8404	aix_use_runtimelinking=no
8405
8406	# Test if we are trying to use run time linking or normal
8407	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8408	# need to do runtime linking.
8409	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8410	  for ld_flag in $LDFLAGS; do
8411	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8412	    aix_use_runtimelinking=yes
8413	    break
8414	  fi
8415	  done
8416	  ;;
8417	esac
8418
8419	exp_sym_flag='-bexport'
8420	no_entry_flag='-bnoentry'
8421      fi
8422
8423      # When large executables or shared objects are built, AIX ld can
8424      # have problems creating the table of contents.  If linking a library
8425      # or program results in "error TOC overflow" add -mminimal-toc to
8426      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8427      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8428
8429      archive_cmds=''
8430      hardcode_direct=yes
8431      hardcode_direct_absolute=yes
8432      hardcode_libdir_separator=':'
8433      link_all_deplibs=yes
8434      file_list_spec='${wl}-f,'
8435
8436      if test "$GCC" = yes; then
8437	case $host_os in aix4.[012]|aix4.[012].*)
8438	# We only want to do this on AIX 4.2 and lower, the check
8439	# below for broken collect2 doesn't work under 4.3+
8440	  collect2name=`${CC} -print-prog-name=collect2`
8441	  if test -f "$collect2name" &&
8442	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8443	  then
8444	  # We have reworked collect2
8445	  :
8446	  else
8447	  # We have old collect2
8448	  hardcode_direct=unsupported
8449	  # It fails to find uninstalled libraries when the uninstalled
8450	  # path is not listed in the libpath.  Setting hardcode_minus_L
8451	  # to unsupported forces relinking
8452	  hardcode_minus_L=yes
8453	  hardcode_libdir_flag_spec='-L$libdir'
8454	  hardcode_libdir_separator=
8455	  fi
8456	  ;;
8457	esac
8458	shared_flag='-shared'
8459	if test "$aix_use_runtimelinking" = yes; then
8460	  shared_flag="$shared_flag "'${wl}-G'
8461	fi
8462      else
8463	# not using gcc
8464	if test "$host_cpu" = ia64; then
8465	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8466	# chokes on -Wl,-G. The following line is correct:
8467	  shared_flag='-G'
8468	else
8469	  if test "$aix_use_runtimelinking" = yes; then
8470	    shared_flag='${wl}-G'
8471	  else
8472	    shared_flag='${wl}-bM:SRE'
8473	  fi
8474	fi
8475      fi
8476
8477      export_dynamic_flag_spec='${wl}-bexpall'
8478      # It seems that -bexpall does not export symbols beginning with
8479      # underscore (_), so it is better to generate a list of symbols to export.
8480      always_export_symbols=yes
8481      if test "$aix_use_runtimelinking" = yes; then
8482	# Warning - without using the other runtime loading flags (-brtl),
8483	# -berok will link without error, but may produce a broken library.
8484	allow_undefined_flag='-berok'
8485        # Determine the default libpath from the value encoded in an
8486        # empty executable.
8487        cat >conftest.$ac_ext <<_ACEOF
8488/* confdefs.h.  */
8489_ACEOF
8490cat confdefs.h >>conftest.$ac_ext
8491cat >>conftest.$ac_ext <<_ACEOF
8492/* end confdefs.h.  */
8493
8494int
8495main ()
8496{
8497
8498  ;
8499  return 0;
8500}
8501_ACEOF
8502rm -f conftest.$ac_objext conftest$ac_exeext
8503if { (ac_try="$ac_link"
8504case "(($ac_try" in
8505  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8506  *) ac_try_echo=$ac_try;;
8507esac
8508eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8509$as_echo "$ac_try_echo") >&5
8510  (eval "$ac_link") 2>conftest.er1
8511  ac_status=$?
8512  grep -v '^ *+' conftest.er1 >conftest.err
8513  rm -f conftest.er1
8514  cat conftest.err >&5
8515  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516  (exit $ac_status); } && {
8517	 test -z "$ac_c_werror_flag" ||
8518	 test ! -s conftest.err
8519       } && test -s conftest$ac_exeext && {
8520	 test "$cross_compiling" = yes ||
8521	 $as_test_x conftest$ac_exeext
8522       }; then
8523
8524lt_aix_libpath_sed='
8525    /Import File Strings/,/^$/ {
8526	/^0/ {
8527	    s/^0  *\(.*\)$/\1/
8528	    p
8529	}
8530    }'
8531aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8532# Check for a 64-bit object if we didn't find anything.
8533if test -z "$aix_libpath"; then
8534  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8535fi
8536else
8537  $as_echo "$as_me: failed program was:" >&5
8538sed 's/^/| /' conftest.$ac_ext >&5
8539
8540
8541fi
8542
8543rm -rf conftest.dSYM
8544rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8545      conftest$ac_exeext conftest.$ac_ext
8546if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8547
8548        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8549        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"
8550      else
8551	if test "$host_cpu" = ia64; then
8552	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8553	  allow_undefined_flag="-z nodefs"
8554	  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"
8555	else
8556	 # Determine the default libpath from the value encoded in an
8557	 # empty executable.
8558	 cat >conftest.$ac_ext <<_ACEOF
8559/* confdefs.h.  */
8560_ACEOF
8561cat confdefs.h >>conftest.$ac_ext
8562cat >>conftest.$ac_ext <<_ACEOF
8563/* end confdefs.h.  */
8564
8565int
8566main ()
8567{
8568
8569  ;
8570  return 0;
8571}
8572_ACEOF
8573rm -f conftest.$ac_objext conftest$ac_exeext
8574if { (ac_try="$ac_link"
8575case "(($ac_try" in
8576  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8577  *) ac_try_echo=$ac_try;;
8578esac
8579eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8580$as_echo "$ac_try_echo") >&5
8581  (eval "$ac_link") 2>conftest.er1
8582  ac_status=$?
8583  grep -v '^ *+' conftest.er1 >conftest.err
8584  rm -f conftest.er1
8585  cat conftest.err >&5
8586  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587  (exit $ac_status); } && {
8588	 test -z "$ac_c_werror_flag" ||
8589	 test ! -s conftest.err
8590       } && test -s conftest$ac_exeext && {
8591	 test "$cross_compiling" = yes ||
8592	 $as_test_x conftest$ac_exeext
8593       }; then
8594
8595lt_aix_libpath_sed='
8596    /Import File Strings/,/^$/ {
8597	/^0/ {
8598	    s/^0  *\(.*\)$/\1/
8599	    p
8600	}
8601    }'
8602aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8603# Check for a 64-bit object if we didn't find anything.
8604if test -z "$aix_libpath"; then
8605  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8606fi
8607else
8608  $as_echo "$as_me: failed program was:" >&5
8609sed 's/^/| /' conftest.$ac_ext >&5
8610
8611
8612fi
8613
8614rm -rf conftest.dSYM
8615rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8616      conftest$ac_exeext conftest.$ac_ext
8617if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8618
8619	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8620	  # Warning - without using the other run time loading flags,
8621	  # -berok will link without error, but may produce a broken library.
8622	  no_undefined_flag=' ${wl}-bernotok'
8623	  allow_undefined_flag=' ${wl}-berok'
8624	  # Exported symbols can be pulled into shared objects from archives
8625	  whole_archive_flag_spec='$convenience'
8626	  archive_cmds_need_lc=yes
8627	  # This is similar to how AIX traditionally builds its shared libraries.
8628	  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'
8629	fi
8630      fi
8631      ;;
8632
8633    amigaos*)
8634      case $host_cpu in
8635      powerpc)
8636            # see comment about AmigaOS4 .so support
8637            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8638            archive_expsym_cmds=''
8639        ;;
8640      m68k)
8641            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)'
8642            hardcode_libdir_flag_spec='-L$libdir'
8643            hardcode_minus_L=yes
8644        ;;
8645      esac
8646      ;;
8647
8648    bsdi[45]*)
8649      export_dynamic_flag_spec=-rdynamic
8650      ;;
8651
8652    cygwin* | mingw* | pw32* | cegcc*)
8653      # When not using gcc, we currently assume that we are using
8654      # Microsoft Visual C++.
8655      # hardcode_libdir_flag_spec is actually meaningless, as there is
8656      # no search path for DLLs.
8657      hardcode_libdir_flag_spec=' '
8658      allow_undefined_flag=unsupported
8659      # Tell ltmain to make .lib files, not .a files.
8660      libext=lib
8661      # Tell ltmain to make .dll files, not .so files.
8662      shrext_cmds=".dll"
8663      # FIXME: Setting linknames here is a bad hack.
8664      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8665      # The linker will automatically build a .lib file if we build a DLL.
8666      old_archive_from_new_cmds='true'
8667      # FIXME: Should let the user specify the lib program.
8668      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8669      fix_srcfile_path='`cygpath -w "$srcfile"`'
8670      enable_shared_with_static_runtimes=yes
8671      ;;
8672
8673    darwin* | rhapsody*)
8674
8675
8676  archive_cmds_need_lc=no
8677  hardcode_direct=no
8678  hardcode_automatic=yes
8679  hardcode_shlibpath_var=unsupported
8680  whole_archive_flag_spec=''
8681  link_all_deplibs=yes
8682  allow_undefined_flag="$_lt_dar_allow_undefined"
8683  case $cc_basename in
8684     ifort*) _lt_dar_can_shared=yes ;;
8685     *) _lt_dar_can_shared=$GCC ;;
8686  esac
8687  if test "$_lt_dar_can_shared" = "yes"; then
8688    output_verbose_link_cmd=echo
8689    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8690    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8691    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}"
8692    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}"
8693
8694  else
8695  ld_shlibs=no
8696  fi
8697
8698      ;;
8699
8700    dgux*)
8701      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8702      hardcode_libdir_flag_spec='-L$libdir'
8703      hardcode_shlibpath_var=no
8704      ;;
8705
8706    freebsd1*)
8707      ld_shlibs=no
8708      ;;
8709
8710    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8711    # support.  Future versions do this automatically, but an explicit c++rt0.o
8712    # does not break anything, and helps significantly (at the cost of a little
8713    # extra space).
8714    freebsd2.2*)
8715      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8716      hardcode_libdir_flag_spec='-R$libdir'
8717      hardcode_direct=yes
8718      hardcode_shlibpath_var=no
8719      ;;
8720
8721    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8722    freebsd2*)
8723      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8724      hardcode_direct=yes
8725      hardcode_minus_L=yes
8726      hardcode_shlibpath_var=no
8727      ;;
8728
8729    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8730    freebsd* | dragonfly*)
8731      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8732      hardcode_libdir_flag_spec='-R$libdir'
8733      hardcode_direct=yes
8734      hardcode_shlibpath_var=no
8735      ;;
8736
8737    hpux9*)
8738      if test "$GCC" = yes; then
8739	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'
8740      else
8741	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'
8742      fi
8743      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8744      hardcode_libdir_separator=:
8745      hardcode_direct=yes
8746
8747      # hardcode_minus_L: Not really in the search PATH,
8748      # but as the default location of the library.
8749      hardcode_minus_L=yes
8750      export_dynamic_flag_spec='${wl}-E'
8751      ;;
8752
8753    hpux10*)
8754      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8755	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8756      else
8757	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8758      fi
8759      if test "$with_gnu_ld" = no; then
8760	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8761	hardcode_libdir_flag_spec_ld='+b $libdir'
8762	hardcode_libdir_separator=:
8763	hardcode_direct=yes
8764	hardcode_direct_absolute=yes
8765	export_dynamic_flag_spec='${wl}-E'
8766	# hardcode_minus_L: Not really in the search PATH,
8767	# but as the default location of the library.
8768	hardcode_minus_L=yes
8769      fi
8770      ;;
8771
8772    hpux11*)
8773      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8774	case $host_cpu in
8775	hppa*64*)
8776	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8777	  ;;
8778	ia64*)
8779	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8780	  ;;
8781	*)
8782	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8783	  ;;
8784	esac
8785      else
8786	case $host_cpu in
8787	hppa*64*)
8788	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8789	  ;;
8790	ia64*)
8791	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8792	  ;;
8793	*)
8794	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8795	  ;;
8796	esac
8797      fi
8798      if test "$with_gnu_ld" = no; then
8799	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8800	hardcode_libdir_separator=:
8801
8802	case $host_cpu in
8803	hppa*64*|ia64*)
8804	  hardcode_direct=no
8805	  hardcode_shlibpath_var=no
8806	  ;;
8807	*)
8808	  hardcode_direct=yes
8809	  hardcode_direct_absolute=yes
8810	  export_dynamic_flag_spec='${wl}-E'
8811
8812	  # hardcode_minus_L: Not really in the search PATH,
8813	  # but as the default location of the library.
8814	  hardcode_minus_L=yes
8815	  ;;
8816	esac
8817      fi
8818      ;;
8819
8820    irix5* | irix6* | nonstopux*)
8821      if test "$GCC" = yes; then
8822	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'
8823	# Try to use the -exported_symbol ld option, if it does not
8824	# work, assume that -exports_file does not work either and
8825	# implicitly export all symbols.
8826        save_LDFLAGS="$LDFLAGS"
8827        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8828        cat >conftest.$ac_ext <<_ACEOF
8829int foo(void) {}
8830_ACEOF
8831rm -f conftest.$ac_objext conftest$ac_exeext
8832if { (ac_try="$ac_link"
8833case "(($ac_try" in
8834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8835  *) ac_try_echo=$ac_try;;
8836esac
8837eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8838$as_echo "$ac_try_echo") >&5
8839  (eval "$ac_link") 2>conftest.er1
8840  ac_status=$?
8841  grep -v '^ *+' conftest.er1 >conftest.err
8842  rm -f conftest.er1
8843  cat conftest.err >&5
8844  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845  (exit $ac_status); } && {
8846	 test -z "$ac_c_werror_flag" ||
8847	 test ! -s conftest.err
8848       } && test -s conftest$ac_exeext && {
8849	 test "$cross_compiling" = yes ||
8850	 $as_test_x conftest$ac_exeext
8851       }; then
8852  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'
8853
8854else
8855  $as_echo "$as_me: failed program was:" >&5
8856sed 's/^/| /' conftest.$ac_ext >&5
8857
8858
8859fi
8860
8861rm -rf conftest.dSYM
8862rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8863      conftest$ac_exeext conftest.$ac_ext
8864        LDFLAGS="$save_LDFLAGS"
8865      else
8866	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'
8867	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'
8868      fi
8869      archive_cmds_need_lc='no'
8870      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8871      hardcode_libdir_separator=:
8872      inherit_rpath=yes
8873      link_all_deplibs=yes
8874      ;;
8875
8876    netbsd*)
8877      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8878	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8879      else
8880	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8881      fi
8882      hardcode_libdir_flag_spec='-R$libdir'
8883      hardcode_direct=yes
8884      hardcode_shlibpath_var=no
8885      ;;
8886
8887    newsos6)
8888      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8889      hardcode_direct=yes
8890      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8891      hardcode_libdir_separator=:
8892      hardcode_shlibpath_var=no
8893      ;;
8894
8895    *nto* | *qnx*)
8896      ;;
8897
8898    openbsd*)
8899      if test -f /usr/libexec/ld.so; then
8900	hardcode_direct=yes
8901	hardcode_shlibpath_var=no
8902	hardcode_direct_absolute=yes
8903	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8904	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8905	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8906	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8907	  export_dynamic_flag_spec='${wl}-E'
8908	else
8909	  case $host_os in
8910	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8911	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8912	     hardcode_libdir_flag_spec='-R$libdir'
8913	     ;;
8914	   *)
8915	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8916	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8917	     ;;
8918	  esac
8919	fi
8920      else
8921	ld_shlibs=no
8922      fi
8923      ;;
8924
8925    os2*)
8926      hardcode_libdir_flag_spec='-L$libdir'
8927      hardcode_minus_L=yes
8928      allow_undefined_flag=unsupported
8929      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'
8930      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8931      ;;
8932
8933    osf3*)
8934      if test "$GCC" = yes; then
8935	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8936	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'
8937      else
8938	allow_undefined_flag=' -expect_unresolved \*'
8939	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'
8940      fi
8941      archive_cmds_need_lc='no'
8942      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8943      hardcode_libdir_separator=:
8944      ;;
8945
8946    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8947      if test "$GCC" = yes; then
8948	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8949	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'
8950	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8951      else
8952	allow_undefined_flag=' -expect_unresolved \*'
8953	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'
8954	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~
8955	$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'
8956
8957	# Both c and cxx compiler support -rpath directly
8958	hardcode_libdir_flag_spec='-rpath $libdir'
8959      fi
8960      archive_cmds_need_lc='no'
8961      hardcode_libdir_separator=:
8962      ;;
8963
8964    solaris*)
8965      no_undefined_flag=' -z defs'
8966      if test "$GCC" = yes; then
8967	wlarc='${wl}'
8968	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8969	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8970	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8971      else
8972	case `$CC -V 2>&1` in
8973	*"Compilers 5.0"*)
8974	  wlarc=''
8975	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8976	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8977	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8978	  ;;
8979	*)
8980	  wlarc='${wl}'
8981	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8982	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8983	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8984	  ;;
8985	esac
8986      fi
8987      hardcode_libdir_flag_spec='-R$libdir'
8988      hardcode_shlibpath_var=no
8989      case $host_os in
8990      solaris2.[0-5] | solaris2.[0-5].*) ;;
8991      *)
8992	# The compiler driver will combine and reorder linker options,
8993	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8994	# but is careful enough not to reorder.
8995	# Supported since Solaris 2.6 (maybe 2.5.1?)
8996	if test "$GCC" = yes; then
8997	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8998	else
8999	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9000	fi
9001	;;
9002      esac
9003      link_all_deplibs=yes
9004      ;;
9005
9006    sunos4*)
9007      if test "x$host_vendor" = xsequent; then
9008	# Use $CC to link under sequent, because it throws in some extra .o
9009	# files that make .init and .fini sections work.
9010	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9011      else
9012	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9013      fi
9014      hardcode_libdir_flag_spec='-L$libdir'
9015      hardcode_direct=yes
9016      hardcode_minus_L=yes
9017      hardcode_shlibpath_var=no
9018      ;;
9019
9020    sysv4)
9021      case $host_vendor in
9022	sni)
9023	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9024	  hardcode_direct=yes # is this really true???
9025	;;
9026	siemens)
9027	  ## LD is ld it makes a PLAMLIB
9028	  ## CC just makes a GrossModule.
9029	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9030	  reload_cmds='$CC -r -o $output$reload_objs'
9031	  hardcode_direct=no
9032        ;;
9033	motorola)
9034	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9035	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9036	;;
9037      esac
9038      runpath_var='LD_RUN_PATH'
9039      hardcode_shlibpath_var=no
9040      ;;
9041
9042    sysv4.3*)
9043      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9044      hardcode_shlibpath_var=no
9045      export_dynamic_flag_spec='-Bexport'
9046      ;;
9047
9048    sysv4*MP*)
9049      if test -d /usr/nec; then
9050	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9051	hardcode_shlibpath_var=no
9052	runpath_var=LD_RUN_PATH
9053	hardcode_runpath_var=yes
9054	ld_shlibs=yes
9055      fi
9056      ;;
9057
9058    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9059      no_undefined_flag='${wl}-z,text'
9060      archive_cmds_need_lc=no
9061      hardcode_shlibpath_var=no
9062      runpath_var='LD_RUN_PATH'
9063
9064      if test "$GCC" = yes; then
9065	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9066	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9067      else
9068	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9069	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9070      fi
9071      ;;
9072
9073    sysv5* | sco3.2v5* | sco5v6*)
9074      # Note: We can NOT use -z defs as we might desire, because we do not
9075      # link with -lc, and that would cause any symbols used from libc to
9076      # always be unresolved, which means just about no library would
9077      # ever link correctly.  If we're not using GNU ld we use -z text
9078      # though, which does catch some bad symbols but isn't as heavy-handed
9079      # as -z defs.
9080      no_undefined_flag='${wl}-z,text'
9081      allow_undefined_flag='${wl}-z,nodefs'
9082      archive_cmds_need_lc=no
9083      hardcode_shlibpath_var=no
9084      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9085      hardcode_libdir_separator=':'
9086      link_all_deplibs=yes
9087      export_dynamic_flag_spec='${wl}-Bexport'
9088      runpath_var='LD_RUN_PATH'
9089
9090      if test "$GCC" = yes; then
9091	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9092	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9093      else
9094	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9095	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9096      fi
9097      ;;
9098
9099    uts4*)
9100      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9101      hardcode_libdir_flag_spec='-L$libdir'
9102      hardcode_shlibpath_var=no
9103      ;;
9104
9105    *)
9106      ld_shlibs=no
9107      ;;
9108    esac
9109
9110    if test x$host_vendor = xsni; then
9111      case $host in
9112      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9113	export_dynamic_flag_spec='${wl}-Blargedynsym'
9114	;;
9115      esac
9116    fi
9117  fi
9118
9119{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9120$as_echo "$ld_shlibs" >&6; }
9121test "$ld_shlibs" = no && can_build_shared=no
9122
9123with_gnu_ld=$with_gnu_ld
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139#
9140# Do we need to explicitly link libc?
9141#
9142case "x$archive_cmds_need_lc" in
9143x|xyes)
9144  # Assume -lc should be added
9145  archive_cmds_need_lc=yes
9146
9147  if test "$enable_shared" = yes && test "$GCC" = yes; then
9148    case $archive_cmds in
9149    *'~'*)
9150      # FIXME: we may have to deal with multi-command sequences.
9151      ;;
9152    '$CC '*)
9153      # Test whether the compiler implicitly links with -lc since on some
9154      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9155      # to ld, don't add -lc before -lgcc.
9156      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9157$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9158      $RM conftest*
9159      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9160
9161      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9162  (eval $ac_compile) 2>&5
9163  ac_status=$?
9164  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165  (exit $ac_status); } 2>conftest.err; then
9166        soname=conftest
9167        lib=conftest
9168        libobjs=conftest.$ac_objext
9169        deplibs=
9170        wl=$lt_prog_compiler_wl
9171	pic_flag=$lt_prog_compiler_pic
9172        compiler_flags=-v
9173        linker_flags=-v
9174        verstring=
9175        output_objdir=.
9176        libname=conftest
9177        lt_save_allow_undefined_flag=$allow_undefined_flag
9178        allow_undefined_flag=
9179        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9180  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9181  ac_status=$?
9182  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183  (exit $ac_status); }
9184        then
9185	  archive_cmds_need_lc=no
9186        else
9187	  archive_cmds_need_lc=yes
9188        fi
9189        allow_undefined_flag=$lt_save_allow_undefined_flag
9190      else
9191        cat conftest.err 1>&5
9192      fi
9193      $RM conftest*
9194      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9195$as_echo "$archive_cmds_need_lc" >&6; }
9196      ;;
9197    esac
9198  fi
9199  ;;
9200esac
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
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  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9359$as_echo_n "checking dynamic linker characteristics... " >&6; }
9360
9361if test "$GCC" = yes; then
9362  case $host_os in
9363    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9364    *) lt_awk_arg="/^libraries:/" ;;
9365  esac
9366  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9367  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9368    # if the path contains ";" then we assume it to be the separator
9369    # otherwise default to the standard path separator (i.e. ":") - it is
9370    # assumed that no part of a normal pathname contains ";" but that should
9371    # okay in the real world where ";" in dirpaths is itself problematic.
9372    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9373  else
9374    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9375  fi
9376  # Ok, now we have the path, separated by spaces, we can step through it
9377  # and add multilib dir if necessary.
9378  lt_tmp_lt_search_path_spec=
9379  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9380  for lt_sys_path in $lt_search_path_spec; do
9381    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9382      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9383    else
9384      test -d "$lt_sys_path" && \
9385	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9386    fi
9387  done
9388  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9389BEGIN {RS=" "; FS="/|\n";} {
9390  lt_foo="";
9391  lt_count=0;
9392  for (lt_i = NF; lt_i > 0; lt_i--) {
9393    if ($lt_i != "" && $lt_i != ".") {
9394      if ($lt_i == "..") {
9395        lt_count++;
9396      } else {
9397        if (lt_count == 0) {
9398          lt_foo="/" $lt_i lt_foo;
9399        } else {
9400          lt_count--;
9401        }
9402      }
9403    }
9404  }
9405  if (lt_foo != "") { lt_freq[lt_foo]++; }
9406  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9407}'`
9408  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9409else
9410  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9411fi
9412library_names_spec=
9413libname_spec='lib$name'
9414soname_spec=
9415shrext_cmds=".so"
9416postinstall_cmds=
9417postuninstall_cmds=
9418finish_cmds=
9419finish_eval=
9420shlibpath_var=
9421shlibpath_overrides_runpath=unknown
9422version_type=none
9423dynamic_linker="$host_os ld.so"
9424sys_lib_dlsearch_path_spec="/lib /usr/lib"
9425need_lib_prefix=unknown
9426hardcode_into_libs=no
9427
9428# when you set need_version to no, make sure it does not cause -set_version
9429# flags to be left without arguments
9430need_version=unknown
9431
9432case $host_os in
9433aix3*)
9434  version_type=linux
9435  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9436  shlibpath_var=LIBPATH
9437
9438  # AIX 3 has no versioning support, so we append a major version to the name.
9439  soname_spec='${libname}${release}${shared_ext}$major'
9440  ;;
9441
9442aix[4-9]*)
9443  version_type=linux
9444  need_lib_prefix=no
9445  need_version=no
9446  hardcode_into_libs=yes
9447  if test "$host_cpu" = ia64; then
9448    # AIX 5 supports IA64
9449    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9450    shlibpath_var=LD_LIBRARY_PATH
9451  else
9452    # With GCC up to 2.95.x, collect2 would create an import file
9453    # for dependence libraries.  The import file would start with
9454    # the line `#! .'.  This would cause the generated library to
9455    # depend on `.', always an invalid library.  This was fixed in
9456    # development snapshots of GCC prior to 3.0.
9457    case $host_os in
9458      aix4 | aix4.[01] | aix4.[01].*)
9459      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9460	   echo ' yes '
9461	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9462	:
9463      else
9464	can_build_shared=no
9465      fi
9466      ;;
9467    esac
9468    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9469    # soname into executable. Probably we can add versioning support to
9470    # collect2, so additional links can be useful in future.
9471    if test "$aix_use_runtimelinking" = yes; then
9472      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9473      # instead of lib<name>.a to let people know that these are not
9474      # typical AIX shared libraries.
9475      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9476    else
9477      # We preserve .a as extension for shared libraries through AIX4.2
9478      # and later when we are not doing run time linking.
9479      library_names_spec='${libname}${release}.a $libname.a'
9480      soname_spec='${libname}${release}${shared_ext}$major'
9481    fi
9482    shlibpath_var=LIBPATH
9483  fi
9484  ;;
9485
9486amigaos*)
9487  case $host_cpu in
9488  powerpc)
9489    # Since July 2007 AmigaOS4 officially supports .so libraries.
9490    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9491    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9492    ;;
9493  m68k)
9494    library_names_spec='$libname.ixlibrary $libname.a'
9495    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9496    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'
9497    ;;
9498  esac
9499  ;;
9500
9501beos*)
9502  library_names_spec='${libname}${shared_ext}'
9503  dynamic_linker="$host_os ld.so"
9504  shlibpath_var=LIBRARY_PATH
9505  ;;
9506
9507bsdi[45]*)
9508  version_type=linux
9509  need_version=no
9510  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9511  soname_spec='${libname}${release}${shared_ext}$major'
9512  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9513  shlibpath_var=LD_LIBRARY_PATH
9514  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9515  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9516  # the default ld.so.conf also contains /usr/contrib/lib and
9517  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9518  # libtool to hard-code these into programs
9519  ;;
9520
9521cygwin* | mingw* | pw32* | cegcc*)
9522  version_type=windows
9523  shrext_cmds=".dll"
9524  need_version=no
9525  need_lib_prefix=no
9526
9527  case $GCC,$host_os in
9528  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9529    library_names_spec='$libname.dll.a'
9530    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9531    postinstall_cmds='base_file=`basename \${file}`~
9532      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9533      dldir=$destdir/`dirname \$dlpath`~
9534      test -d \$dldir || mkdir -p \$dldir~
9535      $install_prog $dir/$dlname \$dldir/$dlname~
9536      chmod a+x \$dldir/$dlname~
9537      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9538        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9539      fi'
9540    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9541      dlpath=$dir/\$dldll~
9542       $RM \$dlpath'
9543    shlibpath_overrides_runpath=yes
9544
9545    case $host_os in
9546    cygwin*)
9547      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9548      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9549      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9550      ;;
9551    mingw* | cegcc*)
9552      # MinGW DLLs use traditional 'lib' prefix
9553      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9554      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9555      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9556        # It is most probably a Windows format PATH printed by
9557        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9558        # path with ; separators, and with drive letters. We can handle the
9559        # drive letters (cygwin fileutils understands them), so leave them,
9560        # especially as we might pass files found there to a mingw objdump,
9561        # which wouldn't understand a cygwinified path. Ahh.
9562        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9563      else
9564        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9565      fi
9566      ;;
9567    pw32*)
9568      # pw32 DLLs use 'pw' prefix rather than 'lib'
9569      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9570      ;;
9571    esac
9572    ;;
9573
9574  *)
9575    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9576    ;;
9577  esac
9578  dynamic_linker='Win32 ld.exe'
9579  # FIXME: first we should search . and the directory the executable is in
9580  shlibpath_var=PATH
9581  ;;
9582
9583darwin* | rhapsody*)
9584  dynamic_linker="$host_os dyld"
9585  version_type=darwin
9586  need_lib_prefix=no
9587  need_version=no
9588  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9589  soname_spec='${libname}${release}${major}$shared_ext'
9590  shlibpath_overrides_runpath=yes
9591  shlibpath_var=DYLD_LIBRARY_PATH
9592  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9593
9594  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9595  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9596  ;;
9597
9598dgux*)
9599  version_type=linux
9600  need_lib_prefix=no
9601  need_version=no
9602  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9603  soname_spec='${libname}${release}${shared_ext}$major'
9604  shlibpath_var=LD_LIBRARY_PATH
9605  ;;
9606
9607freebsd1*)
9608  dynamic_linker=no
9609  ;;
9610
9611freebsd* | dragonfly*)
9612  # DragonFly does not have aout.  When/if they implement a new
9613  # versioning mechanism, adjust this.
9614  if test -x /usr/bin/objformat; then
9615    objformat=`/usr/bin/objformat`
9616  else
9617    case $host_os in
9618    freebsd[123]*) objformat=aout ;;
9619    *) objformat=elf ;;
9620    esac
9621  fi
9622  version_type=freebsd-$objformat
9623  case $version_type in
9624    freebsd-elf*)
9625      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9626      need_version=no
9627      need_lib_prefix=no
9628      ;;
9629    freebsd-*)
9630      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9631      need_version=yes
9632      ;;
9633  esac
9634  shlibpath_var=LD_LIBRARY_PATH
9635  case $host_os in
9636  freebsd2*)
9637    shlibpath_overrides_runpath=yes
9638    ;;
9639  freebsd3.[01]* | freebsdelf3.[01]*)
9640    shlibpath_overrides_runpath=yes
9641    hardcode_into_libs=yes
9642    ;;
9643  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9644  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9645    shlibpath_overrides_runpath=no
9646    hardcode_into_libs=yes
9647    ;;
9648  *) # from 4.6 on, and DragonFly
9649    shlibpath_overrides_runpath=yes
9650    hardcode_into_libs=yes
9651    ;;
9652  esac
9653  ;;
9654
9655gnu*)
9656  version_type=linux
9657  need_lib_prefix=no
9658  need_version=no
9659  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9660  soname_spec='${libname}${release}${shared_ext}$major'
9661  shlibpath_var=LD_LIBRARY_PATH
9662  hardcode_into_libs=yes
9663  ;;
9664
9665hpux9* | hpux10* | hpux11*)
9666  # Give a soname corresponding to the major version so that dld.sl refuses to
9667  # link against other versions.
9668  version_type=sunos
9669  need_lib_prefix=no
9670  need_version=no
9671  case $host_cpu in
9672  ia64*)
9673    shrext_cmds='.so'
9674    hardcode_into_libs=yes
9675    dynamic_linker="$host_os dld.so"
9676    shlibpath_var=LD_LIBRARY_PATH
9677    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9678    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9679    soname_spec='${libname}${release}${shared_ext}$major'
9680    if test "X$HPUX_IA64_MODE" = X32; then
9681      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9682    else
9683      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9684    fi
9685    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9686    ;;
9687  hppa*64*)
9688    shrext_cmds='.sl'
9689    hardcode_into_libs=yes
9690    dynamic_linker="$host_os dld.sl"
9691    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9692    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9693    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9694    soname_spec='${libname}${release}${shared_ext}$major'
9695    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9696    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9697    ;;
9698  *)
9699    shrext_cmds='.sl'
9700    dynamic_linker="$host_os dld.sl"
9701    shlibpath_var=SHLIB_PATH
9702    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9703    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9704    soname_spec='${libname}${release}${shared_ext}$major'
9705    ;;
9706  esac
9707  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9708  postinstall_cmds='chmod 555 $lib'
9709  ;;
9710
9711interix[3-9]*)
9712  version_type=linux
9713  need_lib_prefix=no
9714  need_version=no
9715  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9716  soname_spec='${libname}${release}${shared_ext}$major'
9717  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9718  shlibpath_var=LD_LIBRARY_PATH
9719  shlibpath_overrides_runpath=no
9720  hardcode_into_libs=yes
9721  ;;
9722
9723irix5* | irix6* | nonstopux*)
9724  case $host_os in
9725    nonstopux*) version_type=nonstopux ;;
9726    *)
9727	if test "$lt_cv_prog_gnu_ld" = yes; then
9728		version_type=linux
9729	else
9730		version_type=irix
9731	fi ;;
9732  esac
9733  need_lib_prefix=no
9734  need_version=no
9735  soname_spec='${libname}${release}${shared_ext}$major'
9736  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9737  case $host_os in
9738  irix5* | nonstopux*)
9739    libsuff= shlibsuff=
9740    ;;
9741  *)
9742    case $LD in # libtool.m4 will add one of these switches to LD
9743    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9744      libsuff= shlibsuff= libmagic=32-bit;;
9745    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9746      libsuff=32 shlibsuff=N32 libmagic=N32;;
9747    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9748      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9749    *) libsuff= shlibsuff= libmagic=never-match;;
9750    esac
9751    ;;
9752  esac
9753  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9754  shlibpath_overrides_runpath=no
9755  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9756  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9757  hardcode_into_libs=yes
9758  ;;
9759
9760# No shared lib support for Linux oldld, aout, or coff.
9761linux*oldld* | linux*aout* | linux*coff*)
9762  dynamic_linker=no
9763  ;;
9764
9765# This must be Linux ELF.
9766linux* | k*bsd*-gnu)
9767  version_type=linux
9768  need_lib_prefix=no
9769  need_version=no
9770  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9771  soname_spec='${libname}${release}${shared_ext}$major'
9772  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9773  shlibpath_var=LD_LIBRARY_PATH
9774  shlibpath_overrides_runpath=no
9775  # Some binutils ld are patched to set DT_RUNPATH
9776  save_LDFLAGS=$LDFLAGS
9777  save_libdir=$libdir
9778  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9779       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9780  cat >conftest.$ac_ext <<_ACEOF
9781/* confdefs.h.  */
9782_ACEOF
9783cat confdefs.h >>conftest.$ac_ext
9784cat >>conftest.$ac_ext <<_ACEOF
9785/* end confdefs.h.  */
9786
9787int
9788main ()
9789{
9790
9791  ;
9792  return 0;
9793}
9794_ACEOF
9795rm -f conftest.$ac_objext conftest$ac_exeext
9796if { (ac_try="$ac_link"
9797case "(($ac_try" in
9798  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9799  *) ac_try_echo=$ac_try;;
9800esac
9801eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9802$as_echo "$ac_try_echo") >&5
9803  (eval "$ac_link") 2>conftest.er1
9804  ac_status=$?
9805  grep -v '^ *+' conftest.er1 >conftest.err
9806  rm -f conftest.er1
9807  cat conftest.err >&5
9808  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809  (exit $ac_status); } && {
9810	 test -z "$ac_c_werror_flag" ||
9811	 test ! -s conftest.err
9812       } && test -s conftest$ac_exeext && {
9813	 test "$cross_compiling" = yes ||
9814	 $as_test_x conftest$ac_exeext
9815       }; then
9816  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9817  shlibpath_overrides_runpath=yes
9818fi
9819
9820else
9821  $as_echo "$as_me: failed program was:" >&5
9822sed 's/^/| /' conftest.$ac_ext >&5
9823
9824
9825fi
9826
9827rm -rf conftest.dSYM
9828rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9829      conftest$ac_exeext conftest.$ac_ext
9830  LDFLAGS=$save_LDFLAGS
9831  libdir=$save_libdir
9832
9833  # This implies no fast_install, which is unacceptable.
9834  # Some rework will be needed to allow for fast_install
9835  # before this can be enabled.
9836  hardcode_into_libs=yes
9837
9838  # Add ABI-specific directories to the system library path.
9839  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9840
9841  # Append ld.so.conf contents to the search path
9842  if test -f /etc/ld.so.conf; then
9843    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' ' '`
9844    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9845  fi
9846
9847  # We used to test for /lib/ld.so.1 and disable shared libraries on
9848  # powerpc, because MkLinux only supported shared libraries with the
9849  # GNU dynamic linker.  Since this was broken with cross compilers,
9850  # most powerpc-linux boxes support dynamic linking these days and
9851  # people can always --disable-shared, the test was removed, and we
9852  # assume the GNU/Linux dynamic linker is in use.
9853  dynamic_linker='GNU/Linux ld.so'
9854  ;;
9855
9856netbsd*)
9857  version_type=sunos
9858  need_lib_prefix=no
9859  need_version=no
9860  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9861    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9862    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9863    dynamic_linker='NetBSD (a.out) ld.so'
9864  else
9865    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9866    soname_spec='${libname}${release}${shared_ext}$major'
9867    dynamic_linker='NetBSD ld.elf_so'
9868  fi
9869  shlibpath_var=LD_LIBRARY_PATH
9870  shlibpath_overrides_runpath=yes
9871  hardcode_into_libs=yes
9872  ;;
9873
9874newsos6)
9875  version_type=linux
9876  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9877  shlibpath_var=LD_LIBRARY_PATH
9878  shlibpath_overrides_runpath=yes
9879  ;;
9880
9881*nto* | *qnx*)
9882  version_type=qnx
9883  need_lib_prefix=no
9884  need_version=no
9885  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9886  soname_spec='${libname}${release}${shared_ext}$major'
9887  shlibpath_var=LD_LIBRARY_PATH
9888  shlibpath_overrides_runpath=no
9889  hardcode_into_libs=yes
9890  dynamic_linker='ldqnx.so'
9891  ;;
9892
9893openbsd*)
9894  version_type=sunos
9895  sys_lib_dlsearch_path_spec="/usr/lib"
9896  need_lib_prefix=no
9897  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9898  case $host_os in
9899    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9900    *)				need_version=no  ;;
9901  esac
9902  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9903  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9904  shlibpath_var=LD_LIBRARY_PATH
9905  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9906    case $host_os in
9907      openbsd2.[89] | openbsd2.[89].*)
9908	shlibpath_overrides_runpath=no
9909	;;
9910      *)
9911	shlibpath_overrides_runpath=yes
9912	;;
9913      esac
9914  else
9915    shlibpath_overrides_runpath=yes
9916  fi
9917  ;;
9918
9919os2*)
9920  libname_spec='$name'
9921  shrext_cmds=".dll"
9922  need_lib_prefix=no
9923  library_names_spec='$libname${shared_ext} $libname.a'
9924  dynamic_linker='OS/2 ld.exe'
9925  shlibpath_var=LIBPATH
9926  ;;
9927
9928osf3* | osf4* | osf5*)
9929  version_type=osf
9930  need_lib_prefix=no
9931  need_version=no
9932  soname_spec='${libname}${release}${shared_ext}$major'
9933  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9934  shlibpath_var=LD_LIBRARY_PATH
9935  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9936  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9937  ;;
9938
9939rdos*)
9940  dynamic_linker=no
9941  ;;
9942
9943solaris*)
9944  version_type=linux
9945  need_lib_prefix=no
9946  need_version=no
9947  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9948  soname_spec='${libname}${release}${shared_ext}$major'
9949  shlibpath_var=LD_LIBRARY_PATH
9950  shlibpath_overrides_runpath=yes
9951  hardcode_into_libs=yes
9952  # ldd complains unless libraries are executable
9953  postinstall_cmds='chmod +x $lib'
9954  ;;
9955
9956sunos4*)
9957  version_type=sunos
9958  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9959  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9960  shlibpath_var=LD_LIBRARY_PATH
9961  shlibpath_overrides_runpath=yes
9962  if test "$with_gnu_ld" = yes; then
9963    need_lib_prefix=no
9964  fi
9965  need_version=yes
9966  ;;
9967
9968sysv4 | sysv4.3*)
9969  version_type=linux
9970  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9971  soname_spec='${libname}${release}${shared_ext}$major'
9972  shlibpath_var=LD_LIBRARY_PATH
9973  case $host_vendor in
9974    sni)
9975      shlibpath_overrides_runpath=no
9976      need_lib_prefix=no
9977      runpath_var=LD_RUN_PATH
9978      ;;
9979    siemens)
9980      need_lib_prefix=no
9981      ;;
9982    motorola)
9983      need_lib_prefix=no
9984      need_version=no
9985      shlibpath_overrides_runpath=no
9986      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9987      ;;
9988  esac
9989  ;;
9990
9991sysv4*MP*)
9992  if test -d /usr/nec ;then
9993    version_type=linux
9994    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9995    soname_spec='$libname${shared_ext}.$major'
9996    shlibpath_var=LD_LIBRARY_PATH
9997  fi
9998  ;;
9999
10000sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10001  version_type=freebsd-elf
10002  need_lib_prefix=no
10003  need_version=no
10004  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10005  soname_spec='${libname}${release}${shared_ext}$major'
10006  shlibpath_var=LD_LIBRARY_PATH
10007  shlibpath_overrides_runpath=yes
10008  hardcode_into_libs=yes
10009  if test "$with_gnu_ld" = yes; then
10010    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10011  else
10012    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10013    case $host_os in
10014      sco3.2v5*)
10015        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10016	;;
10017    esac
10018  fi
10019  sys_lib_dlsearch_path_spec='/usr/lib'
10020  ;;
10021
10022tpf*)
10023  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10024  version_type=linux
10025  need_lib_prefix=no
10026  need_version=no
10027  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10028  shlibpath_var=LD_LIBRARY_PATH
10029  shlibpath_overrides_runpath=no
10030  hardcode_into_libs=yes
10031  ;;
10032
10033uts4*)
10034  version_type=linux
10035  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10036  soname_spec='${libname}${release}${shared_ext}$major'
10037  shlibpath_var=LD_LIBRARY_PATH
10038  ;;
10039
10040*)
10041  dynamic_linker=no
10042  ;;
10043esac
10044{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10045$as_echo "$dynamic_linker" >&6; }
10046test "$dynamic_linker" = no && can_build_shared=no
10047
10048variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10049if test "$GCC" = yes; then
10050  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10051fi
10052
10053if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10054  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10055fi
10056if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10057  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10058fi
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
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  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10147$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10148hardcode_action=
10149if test -n "$hardcode_libdir_flag_spec" ||
10150   test -n "$runpath_var" ||
10151   test "X$hardcode_automatic" = "Xyes" ; then
10152
10153  # We can hardcode non-existent directories.
10154  if test "$hardcode_direct" != no &&
10155     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10156     # have to relink, otherwise we might link with an installed library
10157     # when we should be linking with a yet-to-be-installed one
10158     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10159     test "$hardcode_minus_L" != no; then
10160    # Linking always hardcodes the temporary library directory.
10161    hardcode_action=relink
10162  else
10163    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10164    hardcode_action=immediate
10165  fi
10166else
10167  # We cannot hardcode anything, or else we can only hardcode existing
10168  # directories.
10169  hardcode_action=unsupported
10170fi
10171{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10172$as_echo "$hardcode_action" >&6; }
10173
10174if test "$hardcode_action" = relink ||
10175   test "$inherit_rpath" = yes; then
10176  # Fast installation is not supported
10177  enable_fast_install=no
10178elif test "$shlibpath_overrides_runpath" = yes ||
10179     test "$enable_shared" = no; then
10180  # Fast installation is not necessary
10181  enable_fast_install=needless
10182fi
10183
10184
10185
10186
10187
10188
10189  if test "x$enable_dlopen" != xyes; then
10190  enable_dlopen=unknown
10191  enable_dlopen_self=unknown
10192  enable_dlopen_self_static=unknown
10193else
10194  lt_cv_dlopen=no
10195  lt_cv_dlopen_libs=
10196
10197  case $host_os in
10198  beos*)
10199    lt_cv_dlopen="load_add_on"
10200    lt_cv_dlopen_libs=
10201    lt_cv_dlopen_self=yes
10202    ;;
10203
10204  mingw* | pw32* | cegcc*)
10205    lt_cv_dlopen="LoadLibrary"
10206    lt_cv_dlopen_libs=
10207    ;;
10208
10209  cygwin*)
10210    lt_cv_dlopen="dlopen"
10211    lt_cv_dlopen_libs=
10212    ;;
10213
10214  darwin*)
10215  # if libdl is installed we need to link against it
10216    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10217$as_echo_n "checking for dlopen in -ldl... " >&6; }
10218if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10219  $as_echo_n "(cached) " >&6
10220else
10221  ac_check_lib_save_LIBS=$LIBS
10222LIBS="-ldl  $LIBS"
10223cat >conftest.$ac_ext <<_ACEOF
10224/* confdefs.h.  */
10225_ACEOF
10226cat confdefs.h >>conftest.$ac_ext
10227cat >>conftest.$ac_ext <<_ACEOF
10228/* end confdefs.h.  */
10229
10230/* Override any GCC internal prototype to avoid an error.
10231   Use char because int might match the return type of a GCC
10232   builtin and then its argument prototype would still apply.  */
10233#ifdef __cplusplus
10234extern "C"
10235#endif
10236char dlopen ();
10237int
10238main ()
10239{
10240return dlopen ();
10241  ;
10242  return 0;
10243}
10244_ACEOF
10245rm -f conftest.$ac_objext conftest$ac_exeext
10246if { (ac_try="$ac_link"
10247case "(($ac_try" in
10248  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10249  *) ac_try_echo=$ac_try;;
10250esac
10251eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10252$as_echo "$ac_try_echo") >&5
10253  (eval "$ac_link") 2>conftest.er1
10254  ac_status=$?
10255  grep -v '^ *+' conftest.er1 >conftest.err
10256  rm -f conftest.er1
10257  cat conftest.err >&5
10258  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259  (exit $ac_status); } && {
10260	 test -z "$ac_c_werror_flag" ||
10261	 test ! -s conftest.err
10262       } && test -s conftest$ac_exeext && {
10263	 test "$cross_compiling" = yes ||
10264	 $as_test_x conftest$ac_exeext
10265       }; then
10266  ac_cv_lib_dl_dlopen=yes
10267else
10268  $as_echo "$as_me: failed program was:" >&5
10269sed 's/^/| /' conftest.$ac_ext >&5
10270
10271	ac_cv_lib_dl_dlopen=no
10272fi
10273
10274rm -rf conftest.dSYM
10275rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10276      conftest$ac_exeext conftest.$ac_ext
10277LIBS=$ac_check_lib_save_LIBS
10278fi
10279{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10280$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10281if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10282  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10283else
10284
10285    lt_cv_dlopen="dyld"
10286    lt_cv_dlopen_libs=
10287    lt_cv_dlopen_self=yes
10288
10289fi
10290
10291    ;;
10292
10293  *)
10294    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10295$as_echo_n "checking for shl_load... " >&6; }
10296if test "${ac_cv_func_shl_load+set}" = set; then
10297  $as_echo_n "(cached) " >&6
10298else
10299  cat >conftest.$ac_ext <<_ACEOF
10300/* confdefs.h.  */
10301_ACEOF
10302cat confdefs.h >>conftest.$ac_ext
10303cat >>conftest.$ac_ext <<_ACEOF
10304/* end confdefs.h.  */
10305/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10306   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10307#define shl_load innocuous_shl_load
10308
10309/* System header to define __stub macros and hopefully few prototypes,
10310    which can conflict with char shl_load (); below.
10311    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10312    <limits.h> exists even on freestanding compilers.  */
10313
10314#ifdef __STDC__
10315# include <limits.h>
10316#else
10317# include <assert.h>
10318#endif
10319
10320#undef shl_load
10321
10322/* Override any GCC internal prototype to avoid an error.
10323   Use char because int might match the return type of a GCC
10324   builtin and then its argument prototype would still apply.  */
10325#ifdef __cplusplus
10326extern "C"
10327#endif
10328char shl_load ();
10329/* The GNU C library defines this for functions which it implements
10330    to always fail with ENOSYS.  Some functions are actually named
10331    something starting with __ and the normal name is an alias.  */
10332#if defined __stub_shl_load || defined __stub___shl_load
10333choke me
10334#endif
10335
10336int
10337main ()
10338{
10339return shl_load ();
10340  ;
10341  return 0;
10342}
10343_ACEOF
10344rm -f conftest.$ac_objext conftest$ac_exeext
10345if { (ac_try="$ac_link"
10346case "(($ac_try" in
10347  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10348  *) ac_try_echo=$ac_try;;
10349esac
10350eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10351$as_echo "$ac_try_echo") >&5
10352  (eval "$ac_link") 2>conftest.er1
10353  ac_status=$?
10354  grep -v '^ *+' conftest.er1 >conftest.err
10355  rm -f conftest.er1
10356  cat conftest.err >&5
10357  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358  (exit $ac_status); } && {
10359	 test -z "$ac_c_werror_flag" ||
10360	 test ! -s conftest.err
10361       } && test -s conftest$ac_exeext && {
10362	 test "$cross_compiling" = yes ||
10363	 $as_test_x conftest$ac_exeext
10364       }; then
10365  ac_cv_func_shl_load=yes
10366else
10367  $as_echo "$as_me: failed program was:" >&5
10368sed 's/^/| /' conftest.$ac_ext >&5
10369
10370	ac_cv_func_shl_load=no
10371fi
10372
10373rm -rf conftest.dSYM
10374rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10375      conftest$ac_exeext conftest.$ac_ext
10376fi
10377{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10378$as_echo "$ac_cv_func_shl_load" >&6; }
10379if test "x$ac_cv_func_shl_load" = x""yes; then
10380  lt_cv_dlopen="shl_load"
10381else
10382  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10383$as_echo_n "checking for shl_load in -ldld... " >&6; }
10384if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10385  $as_echo_n "(cached) " >&6
10386else
10387  ac_check_lib_save_LIBS=$LIBS
10388LIBS="-ldld  $LIBS"
10389cat >conftest.$ac_ext <<_ACEOF
10390/* confdefs.h.  */
10391_ACEOF
10392cat confdefs.h >>conftest.$ac_ext
10393cat >>conftest.$ac_ext <<_ACEOF
10394/* end confdefs.h.  */
10395
10396/* Override any GCC internal prototype to avoid an error.
10397   Use char because int might match the return type of a GCC
10398   builtin and then its argument prototype would still apply.  */
10399#ifdef __cplusplus
10400extern "C"
10401#endif
10402char shl_load ();
10403int
10404main ()
10405{
10406return shl_load ();
10407  ;
10408  return 0;
10409}
10410_ACEOF
10411rm -f conftest.$ac_objext conftest$ac_exeext
10412if { (ac_try="$ac_link"
10413case "(($ac_try" in
10414  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10415  *) ac_try_echo=$ac_try;;
10416esac
10417eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10418$as_echo "$ac_try_echo") >&5
10419  (eval "$ac_link") 2>conftest.er1
10420  ac_status=$?
10421  grep -v '^ *+' conftest.er1 >conftest.err
10422  rm -f conftest.er1
10423  cat conftest.err >&5
10424  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425  (exit $ac_status); } && {
10426	 test -z "$ac_c_werror_flag" ||
10427	 test ! -s conftest.err
10428       } && test -s conftest$ac_exeext && {
10429	 test "$cross_compiling" = yes ||
10430	 $as_test_x conftest$ac_exeext
10431       }; then
10432  ac_cv_lib_dld_shl_load=yes
10433else
10434  $as_echo "$as_me: failed program was:" >&5
10435sed 's/^/| /' conftest.$ac_ext >&5
10436
10437	ac_cv_lib_dld_shl_load=no
10438fi
10439
10440rm -rf conftest.dSYM
10441rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10442      conftest$ac_exeext conftest.$ac_ext
10443LIBS=$ac_check_lib_save_LIBS
10444fi
10445{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10446$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10447if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10448  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10449else
10450  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10451$as_echo_n "checking for dlopen... " >&6; }
10452if test "${ac_cv_func_dlopen+set}" = set; then
10453  $as_echo_n "(cached) " >&6
10454else
10455  cat >conftest.$ac_ext <<_ACEOF
10456/* confdefs.h.  */
10457_ACEOF
10458cat confdefs.h >>conftest.$ac_ext
10459cat >>conftest.$ac_ext <<_ACEOF
10460/* end confdefs.h.  */
10461/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10462   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10463#define dlopen innocuous_dlopen
10464
10465/* System header to define __stub macros and hopefully few prototypes,
10466    which can conflict with char dlopen (); below.
10467    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10468    <limits.h> exists even on freestanding compilers.  */
10469
10470#ifdef __STDC__
10471# include <limits.h>
10472#else
10473# include <assert.h>
10474#endif
10475
10476#undef dlopen
10477
10478/* Override any GCC internal prototype to avoid an error.
10479   Use char because int might match the return type of a GCC
10480   builtin and then its argument prototype would still apply.  */
10481#ifdef __cplusplus
10482extern "C"
10483#endif
10484char dlopen ();
10485/* The GNU C library defines this for functions which it implements
10486    to always fail with ENOSYS.  Some functions are actually named
10487    something starting with __ and the normal name is an alias.  */
10488#if defined __stub_dlopen || defined __stub___dlopen
10489choke me
10490#endif
10491
10492int
10493main ()
10494{
10495return dlopen ();
10496  ;
10497  return 0;
10498}
10499_ACEOF
10500rm -f conftest.$ac_objext conftest$ac_exeext
10501if { (ac_try="$ac_link"
10502case "(($ac_try" in
10503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10504  *) ac_try_echo=$ac_try;;
10505esac
10506eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10507$as_echo "$ac_try_echo") >&5
10508  (eval "$ac_link") 2>conftest.er1
10509  ac_status=$?
10510  grep -v '^ *+' conftest.er1 >conftest.err
10511  rm -f conftest.er1
10512  cat conftest.err >&5
10513  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514  (exit $ac_status); } && {
10515	 test -z "$ac_c_werror_flag" ||
10516	 test ! -s conftest.err
10517       } && test -s conftest$ac_exeext && {
10518	 test "$cross_compiling" = yes ||
10519	 $as_test_x conftest$ac_exeext
10520       }; then
10521  ac_cv_func_dlopen=yes
10522else
10523  $as_echo "$as_me: failed program was:" >&5
10524sed 's/^/| /' conftest.$ac_ext >&5
10525
10526	ac_cv_func_dlopen=no
10527fi
10528
10529rm -rf conftest.dSYM
10530rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10531      conftest$ac_exeext conftest.$ac_ext
10532fi
10533{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10534$as_echo "$ac_cv_func_dlopen" >&6; }
10535if test "x$ac_cv_func_dlopen" = x""yes; then
10536  lt_cv_dlopen="dlopen"
10537else
10538  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10539$as_echo_n "checking for dlopen in -ldl... " >&6; }
10540if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10541  $as_echo_n "(cached) " >&6
10542else
10543  ac_check_lib_save_LIBS=$LIBS
10544LIBS="-ldl  $LIBS"
10545cat >conftest.$ac_ext <<_ACEOF
10546/* confdefs.h.  */
10547_ACEOF
10548cat confdefs.h >>conftest.$ac_ext
10549cat >>conftest.$ac_ext <<_ACEOF
10550/* end confdefs.h.  */
10551
10552/* Override any GCC internal prototype to avoid an error.
10553   Use char because int might match the return type of a GCC
10554   builtin and then its argument prototype would still apply.  */
10555#ifdef __cplusplus
10556extern "C"
10557#endif
10558char dlopen ();
10559int
10560main ()
10561{
10562return dlopen ();
10563  ;
10564  return 0;
10565}
10566_ACEOF
10567rm -f conftest.$ac_objext conftest$ac_exeext
10568if { (ac_try="$ac_link"
10569case "(($ac_try" in
10570  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10571  *) ac_try_echo=$ac_try;;
10572esac
10573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10574$as_echo "$ac_try_echo") >&5
10575  (eval "$ac_link") 2>conftest.er1
10576  ac_status=$?
10577  grep -v '^ *+' conftest.er1 >conftest.err
10578  rm -f conftest.er1
10579  cat conftest.err >&5
10580  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581  (exit $ac_status); } && {
10582	 test -z "$ac_c_werror_flag" ||
10583	 test ! -s conftest.err
10584       } && test -s conftest$ac_exeext && {
10585	 test "$cross_compiling" = yes ||
10586	 $as_test_x conftest$ac_exeext
10587       }; then
10588  ac_cv_lib_dl_dlopen=yes
10589else
10590  $as_echo "$as_me: failed program was:" >&5
10591sed 's/^/| /' conftest.$ac_ext >&5
10592
10593	ac_cv_lib_dl_dlopen=no
10594fi
10595
10596rm -rf conftest.dSYM
10597rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10598      conftest$ac_exeext conftest.$ac_ext
10599LIBS=$ac_check_lib_save_LIBS
10600fi
10601{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10602$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10603if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10604  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10605else
10606  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10607$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10608if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10609  $as_echo_n "(cached) " >&6
10610else
10611  ac_check_lib_save_LIBS=$LIBS
10612LIBS="-lsvld  $LIBS"
10613cat >conftest.$ac_ext <<_ACEOF
10614/* confdefs.h.  */
10615_ACEOF
10616cat confdefs.h >>conftest.$ac_ext
10617cat >>conftest.$ac_ext <<_ACEOF
10618/* end confdefs.h.  */
10619
10620/* Override any GCC internal prototype to avoid an error.
10621   Use char because int might match the return type of a GCC
10622   builtin and then its argument prototype would still apply.  */
10623#ifdef __cplusplus
10624extern "C"
10625#endif
10626char dlopen ();
10627int
10628main ()
10629{
10630return dlopen ();
10631  ;
10632  return 0;
10633}
10634_ACEOF
10635rm -f conftest.$ac_objext conftest$ac_exeext
10636if { (ac_try="$ac_link"
10637case "(($ac_try" in
10638  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10639  *) ac_try_echo=$ac_try;;
10640esac
10641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10642$as_echo "$ac_try_echo") >&5
10643  (eval "$ac_link") 2>conftest.er1
10644  ac_status=$?
10645  grep -v '^ *+' conftest.er1 >conftest.err
10646  rm -f conftest.er1
10647  cat conftest.err >&5
10648  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649  (exit $ac_status); } && {
10650	 test -z "$ac_c_werror_flag" ||
10651	 test ! -s conftest.err
10652       } && test -s conftest$ac_exeext && {
10653	 test "$cross_compiling" = yes ||
10654	 $as_test_x conftest$ac_exeext
10655       }; then
10656  ac_cv_lib_svld_dlopen=yes
10657else
10658  $as_echo "$as_me: failed program was:" >&5
10659sed 's/^/| /' conftest.$ac_ext >&5
10660
10661	ac_cv_lib_svld_dlopen=no
10662fi
10663
10664rm -rf conftest.dSYM
10665rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10666      conftest$ac_exeext conftest.$ac_ext
10667LIBS=$ac_check_lib_save_LIBS
10668fi
10669{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10670$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10671if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10672  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10673else
10674  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10675$as_echo_n "checking for dld_link in -ldld... " >&6; }
10676if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10677  $as_echo_n "(cached) " >&6
10678else
10679  ac_check_lib_save_LIBS=$LIBS
10680LIBS="-ldld  $LIBS"
10681cat >conftest.$ac_ext <<_ACEOF
10682/* confdefs.h.  */
10683_ACEOF
10684cat confdefs.h >>conftest.$ac_ext
10685cat >>conftest.$ac_ext <<_ACEOF
10686/* end confdefs.h.  */
10687
10688/* Override any GCC internal prototype to avoid an error.
10689   Use char because int might match the return type of a GCC
10690   builtin and then its argument prototype would still apply.  */
10691#ifdef __cplusplus
10692extern "C"
10693#endif
10694char dld_link ();
10695int
10696main ()
10697{
10698return dld_link ();
10699  ;
10700  return 0;
10701}
10702_ACEOF
10703rm -f conftest.$ac_objext conftest$ac_exeext
10704if { (ac_try="$ac_link"
10705case "(($ac_try" in
10706  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10707  *) ac_try_echo=$ac_try;;
10708esac
10709eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10710$as_echo "$ac_try_echo") >&5
10711  (eval "$ac_link") 2>conftest.er1
10712  ac_status=$?
10713  grep -v '^ *+' conftest.er1 >conftest.err
10714  rm -f conftest.er1
10715  cat conftest.err >&5
10716  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717  (exit $ac_status); } && {
10718	 test -z "$ac_c_werror_flag" ||
10719	 test ! -s conftest.err
10720       } && test -s conftest$ac_exeext && {
10721	 test "$cross_compiling" = yes ||
10722	 $as_test_x conftest$ac_exeext
10723       }; then
10724  ac_cv_lib_dld_dld_link=yes
10725else
10726  $as_echo "$as_me: failed program was:" >&5
10727sed 's/^/| /' conftest.$ac_ext >&5
10728
10729	ac_cv_lib_dld_dld_link=no
10730fi
10731
10732rm -rf conftest.dSYM
10733rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10734      conftest$ac_exeext conftest.$ac_ext
10735LIBS=$ac_check_lib_save_LIBS
10736fi
10737{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10738$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10739if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10740  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10741fi
10742
10743
10744fi
10745
10746
10747fi
10748
10749
10750fi
10751
10752
10753fi
10754
10755
10756fi
10757
10758    ;;
10759  esac
10760
10761  if test "x$lt_cv_dlopen" != xno; then
10762    enable_dlopen=yes
10763  else
10764    enable_dlopen=no
10765  fi
10766
10767  case $lt_cv_dlopen in
10768  dlopen)
10769    save_CPPFLAGS="$CPPFLAGS"
10770    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10771
10772    save_LDFLAGS="$LDFLAGS"
10773    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10774
10775    save_LIBS="$LIBS"
10776    LIBS="$lt_cv_dlopen_libs $LIBS"
10777
10778    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10779$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10780if test "${lt_cv_dlopen_self+set}" = set; then
10781  $as_echo_n "(cached) " >&6
10782else
10783  	  if test "$cross_compiling" = yes; then :
10784  lt_cv_dlopen_self=cross
10785else
10786  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10787  lt_status=$lt_dlunknown
10788  cat > conftest.$ac_ext <<_LT_EOF
10789#line 10789 "configure"
10790#include "confdefs.h"
10791
10792#if HAVE_DLFCN_H
10793#include <dlfcn.h>
10794#endif
10795
10796#include <stdio.h>
10797
10798#ifdef RTLD_GLOBAL
10799#  define LT_DLGLOBAL		RTLD_GLOBAL
10800#else
10801#  ifdef DL_GLOBAL
10802#    define LT_DLGLOBAL		DL_GLOBAL
10803#  else
10804#    define LT_DLGLOBAL		0
10805#  endif
10806#endif
10807
10808/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10809   find out it does not work in some platform. */
10810#ifndef LT_DLLAZY_OR_NOW
10811#  ifdef RTLD_LAZY
10812#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10813#  else
10814#    ifdef DL_LAZY
10815#      define LT_DLLAZY_OR_NOW		DL_LAZY
10816#    else
10817#      ifdef RTLD_NOW
10818#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10819#      else
10820#        ifdef DL_NOW
10821#          define LT_DLLAZY_OR_NOW	DL_NOW
10822#        else
10823#          define LT_DLLAZY_OR_NOW	0
10824#        endif
10825#      endif
10826#    endif
10827#  endif
10828#endif
10829
10830void fnord() { int i=42;}
10831int main ()
10832{
10833  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10834  int status = $lt_dlunknown;
10835
10836  if (self)
10837    {
10838      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10839      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10840      /* dlclose (self); */
10841    }
10842  else
10843    puts (dlerror ());
10844
10845  return status;
10846}
10847_LT_EOF
10848  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10849  (eval $ac_link) 2>&5
10850  ac_status=$?
10851  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10853    (./conftest; exit; ) >&5 2>/dev/null
10854    lt_status=$?
10855    case x$lt_status in
10856      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10857      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10858      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10859    esac
10860  else :
10861    # compilation failed
10862    lt_cv_dlopen_self=no
10863  fi
10864fi
10865rm -fr conftest*
10866
10867
10868fi
10869{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10870$as_echo "$lt_cv_dlopen_self" >&6; }
10871
10872    if test "x$lt_cv_dlopen_self" = xyes; then
10873      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10874      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10875$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10876if test "${lt_cv_dlopen_self_static+set}" = set; then
10877  $as_echo_n "(cached) " >&6
10878else
10879  	  if test "$cross_compiling" = yes; then :
10880  lt_cv_dlopen_self_static=cross
10881else
10882  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10883  lt_status=$lt_dlunknown
10884  cat > conftest.$ac_ext <<_LT_EOF
10885#line 10885 "configure"
10886#include "confdefs.h"
10887
10888#if HAVE_DLFCN_H
10889#include <dlfcn.h>
10890#endif
10891
10892#include <stdio.h>
10893
10894#ifdef RTLD_GLOBAL
10895#  define LT_DLGLOBAL		RTLD_GLOBAL
10896#else
10897#  ifdef DL_GLOBAL
10898#    define LT_DLGLOBAL		DL_GLOBAL
10899#  else
10900#    define LT_DLGLOBAL		0
10901#  endif
10902#endif
10903
10904/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10905   find out it does not work in some platform. */
10906#ifndef LT_DLLAZY_OR_NOW
10907#  ifdef RTLD_LAZY
10908#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10909#  else
10910#    ifdef DL_LAZY
10911#      define LT_DLLAZY_OR_NOW		DL_LAZY
10912#    else
10913#      ifdef RTLD_NOW
10914#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10915#      else
10916#        ifdef DL_NOW
10917#          define LT_DLLAZY_OR_NOW	DL_NOW
10918#        else
10919#          define LT_DLLAZY_OR_NOW	0
10920#        endif
10921#      endif
10922#    endif
10923#  endif
10924#endif
10925
10926void fnord() { int i=42;}
10927int main ()
10928{
10929  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10930  int status = $lt_dlunknown;
10931
10932  if (self)
10933    {
10934      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10935      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10936      /* dlclose (self); */
10937    }
10938  else
10939    puts (dlerror ());
10940
10941  return status;
10942}
10943_LT_EOF
10944  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10945  (eval $ac_link) 2>&5
10946  ac_status=$?
10947  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10949    (./conftest; exit; ) >&5 2>/dev/null
10950    lt_status=$?
10951    case x$lt_status in
10952      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10953      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10954      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10955    esac
10956  else :
10957    # compilation failed
10958    lt_cv_dlopen_self_static=no
10959  fi
10960fi
10961rm -fr conftest*
10962
10963
10964fi
10965{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10966$as_echo "$lt_cv_dlopen_self_static" >&6; }
10967    fi
10968
10969    CPPFLAGS="$save_CPPFLAGS"
10970    LDFLAGS="$save_LDFLAGS"
10971    LIBS="$save_LIBS"
10972    ;;
10973  esac
10974
10975  case $lt_cv_dlopen_self in
10976  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10977  *) enable_dlopen_self=unknown ;;
10978  esac
10979
10980  case $lt_cv_dlopen_self_static in
10981  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10982  *) enable_dlopen_self_static=unknown ;;
10983  esac
10984fi
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002striplib=
11003old_striplib=
11004{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11005$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11006if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11007  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11008  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11009  { $as_echo "$as_me:$LINENO: result: yes" >&5
11010$as_echo "yes" >&6; }
11011else
11012# FIXME - insert some real tests, host_os isn't really good enough
11013  case $host_os in
11014  darwin*)
11015    if test -n "$STRIP" ; then
11016      striplib="$STRIP -x"
11017      old_striplib="$STRIP -S"
11018      { $as_echo "$as_me:$LINENO: result: yes" >&5
11019$as_echo "yes" >&6; }
11020    else
11021      { $as_echo "$as_me:$LINENO: result: no" >&5
11022$as_echo "no" >&6; }
11023    fi
11024    ;;
11025  *)
11026    { $as_echo "$as_me:$LINENO: result: no" >&5
11027$as_echo "no" >&6; }
11028    ;;
11029  esac
11030fi
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043  # Report which library types will actually be built
11044  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11045$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11046  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11047$as_echo "$can_build_shared" >&6; }
11048
11049  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11050$as_echo_n "checking whether to build shared libraries... " >&6; }
11051  test "$can_build_shared" = "no" && enable_shared=no
11052
11053  # On AIX, shared libraries and static libraries use the same namespace, and
11054  # are all built from PIC.
11055  case $host_os in
11056  aix3*)
11057    test "$enable_shared" = yes && enable_static=no
11058    if test -n "$RANLIB"; then
11059      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11060      postinstall_cmds='$RANLIB $lib'
11061    fi
11062    ;;
11063
11064  aix[4-9]*)
11065    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11066      test "$enable_shared" = yes && enable_static=no
11067    fi
11068    ;;
11069  esac
11070  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11071$as_echo "$enable_shared" >&6; }
11072
11073  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11074$as_echo_n "checking whether to build static libraries... " >&6; }
11075  # Make sure either enable_shared or enable_static is yes.
11076  test "$enable_shared" = yes || enable_static=yes
11077  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11078$as_echo "$enable_static" >&6; }
11079
11080
11081
11082
11083fi
11084ac_ext=c
11085ac_cpp='$CPP $CPPFLAGS'
11086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11088ac_compiler_gnu=$ac_cv_c_compiler_gnu
11089
11090CC="$lt_save_CC"
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104        ac_config_commands="$ac_config_commands libtool"
11105
11106
11107
11108
11109# Only expand once:
11110
11111
11112if test "x$CC" != xcc; then
11113  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11114$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11115else
11116  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11117$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11118fi
11119set dummy $CC; ac_cc=`$as_echo "$2" |
11120		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11121if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
11122  $as_echo_n "(cached) " >&6
11123else
11124  cat >conftest.$ac_ext <<_ACEOF
11125/* confdefs.h.  */
11126_ACEOF
11127cat confdefs.h >>conftest.$ac_ext
11128cat >>conftest.$ac_ext <<_ACEOF
11129/* end confdefs.h.  */
11130
11131int
11132main ()
11133{
11134
11135  ;
11136  return 0;
11137}
11138_ACEOF
11139# Make sure it works both with $CC and with simple cc.
11140# We do the test twice because some compilers refuse to overwrite an
11141# existing .o file with -o, though they will create one.
11142ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11143rm -f conftest2.*
11144if { (case "(($ac_try" in
11145  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11146  *) ac_try_echo=$ac_try;;
11147esac
11148eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11149$as_echo "$ac_try_echo") >&5
11150  (eval "$ac_try") 2>&5
11151  ac_status=$?
11152  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153  (exit $ac_status); } &&
11154   test -f conftest2.$ac_objext && { (case "(($ac_try" in
11155  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11156  *) ac_try_echo=$ac_try;;
11157esac
11158eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11159$as_echo "$ac_try_echo") >&5
11160  (eval "$ac_try") 2>&5
11161  ac_status=$?
11162  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163  (exit $ac_status); };
11164then
11165  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11166  if test "x$CC" != xcc; then
11167    # Test first that cc exists at all.
11168    if { ac_try='cc -c conftest.$ac_ext >&5'
11169  { (case "(($ac_try" in
11170  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11171  *) ac_try_echo=$ac_try;;
11172esac
11173eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11174$as_echo "$ac_try_echo") >&5
11175  (eval "$ac_try") 2>&5
11176  ac_status=$?
11177  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178  (exit $ac_status); }; }; then
11179      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11180      rm -f conftest2.*
11181      if { (case "(($ac_try" in
11182  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11183  *) ac_try_echo=$ac_try;;
11184esac
11185eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11186$as_echo "$ac_try_echo") >&5
11187  (eval "$ac_try") 2>&5
11188  ac_status=$?
11189  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190  (exit $ac_status); } &&
11191	 test -f conftest2.$ac_objext && { (case "(($ac_try" in
11192  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11193  *) ac_try_echo=$ac_try;;
11194esac
11195eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11196$as_echo "$ac_try_echo") >&5
11197  (eval "$ac_try") 2>&5
11198  ac_status=$?
11199  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200  (exit $ac_status); };
11201      then
11202	# cc works too.
11203	:
11204      else
11205	# cc exists but doesn't like -o.
11206	eval ac_cv_prog_cc_${ac_cc}_c_o=no
11207      fi
11208    fi
11209  fi
11210else
11211  eval ac_cv_prog_cc_${ac_cc}_c_o=no
11212fi
11213rm -f core conftest*
11214
11215fi
11216if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11217  { $as_echo "$as_me:$LINENO: result: yes" >&5
11218$as_echo "yes" >&6; }
11219else
11220  { $as_echo "$as_me:$LINENO: result: no" >&5
11221$as_echo "no" >&6; }
11222
11223cat >>confdefs.h <<\_ACEOF
11224#define NO_MINUS_C_MINUS_O 1
11225_ACEOF
11226
11227fi
11228
11229# FIXME: we rely on the cache variable name because
11230# there is no other way.
11231set dummy $CC
11232am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11233eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11234if test "$am_t" != yes; then
11235   # Losing compiler, so override with the script.
11236   # FIXME: It is wrong to rewrite CC.
11237   # But if we don't then we get into trouble of one sort or another.
11238   # A longer-term fix would be to have automake use am__CC in this case,
11239   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11240   CC="$am_aux_dir/compile $CC"
11241fi
11242
11243
11244
11245
11246if  test "x$GCC" = xyes ; then
11247    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
11248-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
11249-Wbad-function-cast"
11250    case `gcc -dumpversion` in
11251    3.4.* | 4.*)
11252	CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement"
11253	;;
11254    esac
11255else
11256    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
11257$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
11258if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
11259  $as_echo_n "(cached) " >&6
11260else
11261  cat >conftest.$ac_ext <<_ACEOF
11262/* confdefs.h.  */
11263_ACEOF
11264cat confdefs.h >>conftest.$ac_ext
11265cat >>conftest.$ac_ext <<_ACEOF
11266/* end confdefs.h.  */
11267$ac_includes_default
11268int
11269main ()
11270{
11271#ifndef __SUNPRO_C
11272  (void) __SUNPRO_C;
11273#endif
11274
11275  ;
11276  return 0;
11277}
11278_ACEOF
11279rm -f conftest.$ac_objext
11280if { (ac_try="$ac_compile"
11281case "(($ac_try" in
11282  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11283  *) ac_try_echo=$ac_try;;
11284esac
11285eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11286$as_echo "$ac_try_echo") >&5
11287  (eval "$ac_compile") 2>conftest.er1
11288  ac_status=$?
11289  grep -v '^ *+' conftest.er1 >conftest.err
11290  rm -f conftest.er1
11291  cat conftest.err >&5
11292  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293  (exit $ac_status); } && {
11294	 test -z "$ac_c_werror_flag" ||
11295	 test ! -s conftest.err
11296       } && test -s conftest.$ac_objext; then
11297  ac_cv_have_decl___SUNPRO_C=yes
11298else
11299  $as_echo "$as_me: failed program was:" >&5
11300sed 's/^/| /' conftest.$ac_ext >&5
11301
11302	ac_cv_have_decl___SUNPRO_C=no
11303fi
11304
11305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11306fi
11307{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
11308$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
11309if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
11310  SUNCC="yes"
11311else
11312  SUNCC="no"
11313fi
11314
11315    if test "x$SUNCC" = "xyes"; then
11316	CWARNFLAGS="-v"
11317    fi
11318fi
11319
11320
11321
11322if test x"$CC_FOR_BUILD" = x; then
11323	if test x"$cross_compiling" = xyes; then
11324		for ac_prog in gcc cc
11325do
11326  # Extract the first word of "$ac_prog", so it can be a program name with args.
11327set dummy $ac_prog; ac_word=$2
11328{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11329$as_echo_n "checking for $ac_word... " >&6; }
11330if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
11331  $as_echo_n "(cached) " >&6
11332else
11333  if test -n "$CC_FOR_BUILD"; then
11334  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
11335else
11336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11337for as_dir in $PATH
11338do
11339  IFS=$as_save_IFS
11340  test -z "$as_dir" && as_dir=.
11341  for ac_exec_ext in '' $ac_executable_extensions; do
11342  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11343    ac_cv_prog_CC_FOR_BUILD="$ac_prog"
11344    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11345    break 2
11346  fi
11347done
11348done
11349IFS=$as_save_IFS
11350
11351fi
11352fi
11353CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
11354if test -n "$CC_FOR_BUILD"; then
11355  { $as_echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
11356$as_echo "$CC_FOR_BUILD" >&6; }
11357else
11358  { $as_echo "$as_me:$LINENO: result: no" >&5
11359$as_echo "no" >&6; }
11360fi
11361
11362
11363  test -n "$CC_FOR_BUILD" && break
11364done
11365
11366	else
11367	        CC_FOR_BUILD="$CC"
11368	fi
11369fi
11370
11371
11372
11373
11374if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11375	if test -n "$ac_tool_prefix"; then
11376  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11377set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11378{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11379$as_echo_n "checking for $ac_word... " >&6; }
11380if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11381  $as_echo_n "(cached) " >&6
11382else
11383  case $PKG_CONFIG in
11384  [\\/]* | ?:[\\/]*)
11385  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11386  ;;
11387  *)
11388  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11389for as_dir in $PATH
11390do
11391  IFS=$as_save_IFS
11392  test -z "$as_dir" && as_dir=.
11393  for ac_exec_ext in '' $ac_executable_extensions; do
11394  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11395    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11396    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11397    break 2
11398  fi
11399done
11400done
11401IFS=$as_save_IFS
11402
11403  ;;
11404esac
11405fi
11406PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11407if test -n "$PKG_CONFIG"; then
11408  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11409$as_echo "$PKG_CONFIG" >&6; }
11410else
11411  { $as_echo "$as_me:$LINENO: result: no" >&5
11412$as_echo "no" >&6; }
11413fi
11414
11415
11416fi
11417if test -z "$ac_cv_path_PKG_CONFIG"; then
11418  ac_pt_PKG_CONFIG=$PKG_CONFIG
11419  # Extract the first word of "pkg-config", so it can be a program name with args.
11420set dummy pkg-config; ac_word=$2
11421{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11422$as_echo_n "checking for $ac_word... " >&6; }
11423if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11424  $as_echo_n "(cached) " >&6
11425else
11426  case $ac_pt_PKG_CONFIG in
11427  [\\/]* | ?:[\\/]*)
11428  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11429  ;;
11430  *)
11431  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11432for as_dir in $PATH
11433do
11434  IFS=$as_save_IFS
11435  test -z "$as_dir" && as_dir=.
11436  for ac_exec_ext in '' $ac_executable_extensions; do
11437  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11438    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11439    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11440    break 2
11441  fi
11442done
11443done
11444IFS=$as_save_IFS
11445
11446  ;;
11447esac
11448fi
11449ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11450if test -n "$ac_pt_PKG_CONFIG"; then
11451  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11452$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11453else
11454  { $as_echo "$as_me:$LINENO: result: no" >&5
11455$as_echo "no" >&6; }
11456fi
11457
11458  if test "x$ac_pt_PKG_CONFIG" = x; then
11459    PKG_CONFIG=""
11460  else
11461    case $cross_compiling:$ac_tool_warned in
11462yes:)
11463{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11464$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11465ac_tool_warned=yes ;;
11466esac
11467    PKG_CONFIG=$ac_pt_PKG_CONFIG
11468  fi
11469else
11470  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11471fi
11472
11473fi
11474if test -n "$PKG_CONFIG"; then
11475	_pkg_min_version=0.9.0
11476	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11477$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11478	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11479		{ $as_echo "$as_me:$LINENO: result: yes" >&5
11480$as_echo "yes" >&6; }
11481	else
11482		{ $as_echo "$as_me:$LINENO: result: no" >&5
11483$as_echo "no" >&6; }
11484		PKG_CONFIG=""
11485	fi
11486
11487fi
11488
11489pkg_failed=no
11490{ $as_echo "$as_me:$LINENO: checking for XT" >&5
11491$as_echo_n "checking for XT... " >&6; }
11492
11493if test -n "$XT_CFLAGS"; then
11494    pkg_cv_XT_CFLAGS="$XT_CFLAGS"
11495 elif test -n "$PKG_CONFIG"; then
11496    if test -n "$PKG_CONFIG" && \
11497    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sm x11 xproto kbproto\"") >&5
11498  ($PKG_CONFIG --exists --print-errors "sm x11 xproto kbproto") 2>&5
11499  ac_status=$?
11500  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501  (exit $ac_status); }; then
11502  pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "sm x11 xproto kbproto" 2>/dev/null`
11503else
11504  pkg_failed=yes
11505fi
11506 else
11507    pkg_failed=untried
11508fi
11509if test -n "$XT_LIBS"; then
11510    pkg_cv_XT_LIBS="$XT_LIBS"
11511 elif test -n "$PKG_CONFIG"; then
11512    if test -n "$PKG_CONFIG" && \
11513    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sm x11 xproto kbproto\"") >&5
11514  ($PKG_CONFIG --exists --print-errors "sm x11 xproto kbproto") 2>&5
11515  ac_status=$?
11516  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517  (exit $ac_status); }; then
11518  pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "sm x11 xproto kbproto" 2>/dev/null`
11519else
11520  pkg_failed=yes
11521fi
11522 else
11523    pkg_failed=untried
11524fi
11525
11526
11527
11528if test $pkg_failed = yes; then
11529
11530if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11531        _pkg_short_errors_supported=yes
11532else
11533        _pkg_short_errors_supported=no
11534fi
11535        if test $_pkg_short_errors_supported = yes; then
11536	        XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sm x11 xproto kbproto" 2>&1`
11537        else
11538	        XT_PKG_ERRORS=`$PKG_CONFIG --print-errors "sm x11 xproto kbproto" 2>&1`
11539        fi
11540	# Put the nasty error message in config.log where it belongs
11541	echo "$XT_PKG_ERRORS" >&5
11542
11543	{ { $as_echo "$as_me:$LINENO: error: Package requirements (sm x11 xproto kbproto) were not met:
11544
11545$XT_PKG_ERRORS
11546
11547Consider adjusting the PKG_CONFIG_PATH environment variable if you
11548installed software in a non-standard prefix.
11549
11550Alternatively, you may set the environment variables XT_CFLAGS
11551and XT_LIBS to avoid the need to call pkg-config.
11552See the pkg-config man page for more details.
11553" >&5
11554$as_echo "$as_me: error: Package requirements (sm x11 xproto kbproto) were not met:
11555
11556$XT_PKG_ERRORS
11557
11558Consider adjusting the PKG_CONFIG_PATH environment variable if you
11559installed software in a non-standard prefix.
11560
11561Alternatively, you may set the environment variables XT_CFLAGS
11562and XT_LIBS to avoid the need to call pkg-config.
11563See the pkg-config man page for more details.
11564" >&2;}
11565   { (exit 1); exit 1; }; }
11566elif test $pkg_failed = untried; then
11567	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11568$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11569{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
11570is in your PATH or set the PKG_CONFIG environment variable to the full
11571path to pkg-config.
11572
11573Alternatively, you may set the environment variables XT_CFLAGS
11574and XT_LIBS to avoid the need to call pkg-config.
11575See the pkg-config man page for more details.
11576
11577To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11578See \`config.log' for more details." >&5
11579$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
11580is in your PATH or set the PKG_CONFIG environment variable to the full
11581path to pkg-config.
11582
11583Alternatively, you may set the environment variables XT_CFLAGS
11584and XT_LIBS to avoid the need to call pkg-config.
11585See the pkg-config man page for more details.
11586
11587To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11588See \`config.log' for more details." >&2;}
11589   { (exit 1); exit 1; }; }; }
11590else
11591	XT_CFLAGS=$pkg_cv_XT_CFLAGS
11592	XT_LIBS=$pkg_cv_XT_LIBS
11593        { $as_echo "$as_me:$LINENO: result: yes" >&5
11594$as_echo "yes" >&6; }
11595	:
11596fi
11597
11598# Needed for including Xalloca.h
11599if test "${ac_cv_header_alloca_h+set}" = set; then
11600  { $as_echo "$as_me:$LINENO: checking for alloca.h" >&5
11601$as_echo_n "checking for alloca.h... " >&6; }
11602if test "${ac_cv_header_alloca_h+set}" = set; then
11603  $as_echo_n "(cached) " >&6
11604fi
11605{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_alloca_h" >&5
11606$as_echo "$ac_cv_header_alloca_h" >&6; }
11607else
11608  # Is the header compilable?
11609{ $as_echo "$as_me:$LINENO: checking alloca.h usability" >&5
11610$as_echo_n "checking alloca.h usability... " >&6; }
11611cat >conftest.$ac_ext <<_ACEOF
11612/* confdefs.h.  */
11613_ACEOF
11614cat confdefs.h >>conftest.$ac_ext
11615cat >>conftest.$ac_ext <<_ACEOF
11616/* end confdefs.h.  */
11617$ac_includes_default
11618#include <alloca.h>
11619_ACEOF
11620rm -f conftest.$ac_objext
11621if { (ac_try="$ac_compile"
11622case "(($ac_try" in
11623  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11624  *) ac_try_echo=$ac_try;;
11625esac
11626eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11627$as_echo "$ac_try_echo") >&5
11628  (eval "$ac_compile") 2>conftest.er1
11629  ac_status=$?
11630  grep -v '^ *+' conftest.er1 >conftest.err
11631  rm -f conftest.er1
11632  cat conftest.err >&5
11633  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634  (exit $ac_status); } && {
11635	 test -z "$ac_c_werror_flag" ||
11636	 test ! -s conftest.err
11637       } && test -s conftest.$ac_objext; then
11638  ac_header_compiler=yes
11639else
11640  $as_echo "$as_me: failed program was:" >&5
11641sed 's/^/| /' conftest.$ac_ext >&5
11642
11643	ac_header_compiler=no
11644fi
11645
11646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11647{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11648$as_echo "$ac_header_compiler" >&6; }
11649
11650# Is the header present?
11651{ $as_echo "$as_me:$LINENO: checking alloca.h presence" >&5
11652$as_echo_n "checking alloca.h presence... " >&6; }
11653cat >conftest.$ac_ext <<_ACEOF
11654/* confdefs.h.  */
11655_ACEOF
11656cat confdefs.h >>conftest.$ac_ext
11657cat >>conftest.$ac_ext <<_ACEOF
11658/* end confdefs.h.  */
11659#include <alloca.h>
11660_ACEOF
11661if { (ac_try="$ac_cpp conftest.$ac_ext"
11662case "(($ac_try" in
11663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11664  *) ac_try_echo=$ac_try;;
11665esac
11666eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11667$as_echo "$ac_try_echo") >&5
11668  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11669  ac_status=$?
11670  grep -v '^ *+' conftest.er1 >conftest.err
11671  rm -f conftest.er1
11672  cat conftest.err >&5
11673  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674  (exit $ac_status); } >/dev/null && {
11675	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11676	 test ! -s conftest.err
11677       }; then
11678  ac_header_preproc=yes
11679else
11680  $as_echo "$as_me: failed program was:" >&5
11681sed 's/^/| /' conftest.$ac_ext >&5
11682
11683  ac_header_preproc=no
11684fi
11685
11686rm -f conftest.err conftest.$ac_ext
11687{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11688$as_echo "$ac_header_preproc" >&6; }
11689
11690# So?  What about this header?
11691case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11692  yes:no: )
11693    { $as_echo "$as_me:$LINENO: WARNING: alloca.h: accepted by the compiler, rejected by the preprocessor!" >&5
11694$as_echo "$as_me: WARNING: alloca.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11695    { $as_echo "$as_me:$LINENO: WARNING: alloca.h: proceeding with the compiler's result" >&5
11696$as_echo "$as_me: WARNING: alloca.h: proceeding with the compiler's result" >&2;}
11697    ac_header_preproc=yes
11698    ;;
11699  no:yes:* )
11700    { $as_echo "$as_me:$LINENO: WARNING: alloca.h: present but cannot be compiled" >&5
11701$as_echo "$as_me: WARNING: alloca.h: present but cannot be compiled" >&2;}
11702    { $as_echo "$as_me:$LINENO: WARNING: alloca.h:     check for missing prerequisite headers?" >&5
11703$as_echo "$as_me: WARNING: alloca.h:     check for missing prerequisite headers?" >&2;}
11704    { $as_echo "$as_me:$LINENO: WARNING: alloca.h: see the Autoconf documentation" >&5
11705$as_echo "$as_me: WARNING: alloca.h: see the Autoconf documentation" >&2;}
11706    { $as_echo "$as_me:$LINENO: WARNING: alloca.h:     section \"Present But Cannot Be Compiled\"" >&5
11707$as_echo "$as_me: WARNING: alloca.h:     section \"Present But Cannot Be Compiled\"" >&2;}
11708    { $as_echo "$as_me:$LINENO: WARNING: alloca.h: proceeding with the preprocessor's result" >&5
11709$as_echo "$as_me: WARNING: alloca.h: proceeding with the preprocessor's result" >&2;}
11710    { $as_echo "$as_me:$LINENO: WARNING: alloca.h: in the future, the compiler will take precedence" >&5
11711$as_echo "$as_me: WARNING: alloca.h: in the future, the compiler will take precedence" >&2;}
11712    ( cat <<\_ASBOX
11713## ---------------------------------------------------------------------- ##
11714## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
11715## ---------------------------------------------------------------------- ##
11716_ASBOX
11717     ) | sed "s/^/$as_me: WARNING:     /" >&2
11718    ;;
11719esac
11720{ $as_echo "$as_me:$LINENO: checking for alloca.h" >&5
11721$as_echo_n "checking for alloca.h... " >&6; }
11722if test "${ac_cv_header_alloca_h+set}" = set; then
11723  $as_echo_n "(cached) " >&6
11724else
11725  ac_cv_header_alloca_h=$ac_header_preproc
11726fi
11727{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_alloca_h" >&5
11728$as_echo "$ac_cv_header_alloca_h" >&6; }
11729
11730fi
11731if test "x$ac_cv_header_alloca_h" = x""yes; then
11732
11733cat >>confdefs.h <<\_ACEOF
11734#define INCLUDE_ALLOCA_H 1
11735_ACEOF
11736
11737fi
11738
11739
11740
11741# Map function checks to old Imake #defines
11742case $host_os in
11743	# darwin has poll() but can't be used to poll character devices
11744	# darwin10 (SnowLeopard) should be tested as well once released
11745	darwin7*) ;; darwin8*) ;; darwin9*) ;;
11746	*)
11747		{ $as_echo "$as_me:$LINENO: checking for poll" >&5
11748$as_echo_n "checking for poll... " >&6; }
11749if test "${ac_cv_func_poll+set}" = set; then
11750  $as_echo_n "(cached) " >&6
11751else
11752  cat >conftest.$ac_ext <<_ACEOF
11753/* confdefs.h.  */
11754_ACEOF
11755cat confdefs.h >>conftest.$ac_ext
11756cat >>conftest.$ac_ext <<_ACEOF
11757/* end confdefs.h.  */
11758/* Define poll to an innocuous variant, in case <limits.h> declares poll.
11759   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11760#define poll innocuous_poll
11761
11762/* System header to define __stub macros and hopefully few prototypes,
11763    which can conflict with char poll (); below.
11764    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11765    <limits.h> exists even on freestanding compilers.  */
11766
11767#ifdef __STDC__
11768# include <limits.h>
11769#else
11770# include <assert.h>
11771#endif
11772
11773#undef poll
11774
11775/* Override any GCC internal prototype to avoid an error.
11776   Use char because int might match the return type of a GCC
11777   builtin and then its argument prototype would still apply.  */
11778#ifdef __cplusplus
11779extern "C"
11780#endif
11781char poll ();
11782/* The GNU C library defines this for functions which it implements
11783    to always fail with ENOSYS.  Some functions are actually named
11784    something starting with __ and the normal name is an alias.  */
11785#if defined __stub_poll || defined __stub___poll
11786choke me
11787#endif
11788
11789int
11790main ()
11791{
11792return poll ();
11793  ;
11794  return 0;
11795}
11796_ACEOF
11797rm -f conftest.$ac_objext conftest$ac_exeext
11798if { (ac_try="$ac_link"
11799case "(($ac_try" in
11800  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11801  *) ac_try_echo=$ac_try;;
11802esac
11803eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11804$as_echo "$ac_try_echo") >&5
11805  (eval "$ac_link") 2>conftest.er1
11806  ac_status=$?
11807  grep -v '^ *+' conftest.er1 >conftest.err
11808  rm -f conftest.er1
11809  cat conftest.err >&5
11810  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811  (exit $ac_status); } && {
11812	 test -z "$ac_c_werror_flag" ||
11813	 test ! -s conftest.err
11814       } && test -s conftest$ac_exeext && {
11815	 test "$cross_compiling" = yes ||
11816	 $as_test_x conftest$ac_exeext
11817       }; then
11818  ac_cv_func_poll=yes
11819else
11820  $as_echo "$as_me: failed program was:" >&5
11821sed 's/^/| /' conftest.$ac_ext >&5
11822
11823	ac_cv_func_poll=no
11824fi
11825
11826rm -rf conftest.dSYM
11827rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11828      conftest$ac_exeext conftest.$ac_ext
11829fi
11830{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5
11831$as_echo "$ac_cv_func_poll" >&6; }
11832if test "x$ac_cv_func_poll" = x""yes; then
11833
11834cat >>confdefs.h <<\_ACEOF
11835#define USE_POLL 1
11836_ACEOF
11837
11838fi
11839
11840	;;
11841esac
11842{ $as_echo "$as_me:$LINENO: checking for snprintf" >&5
11843$as_echo_n "checking for snprintf... " >&6; }
11844if test "${ac_cv_func_snprintf+set}" = set; then
11845  $as_echo_n "(cached) " >&6
11846else
11847  cat >conftest.$ac_ext <<_ACEOF
11848/* confdefs.h.  */
11849_ACEOF
11850cat confdefs.h >>conftest.$ac_ext
11851cat >>conftest.$ac_ext <<_ACEOF
11852/* end confdefs.h.  */
11853/* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
11854   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11855#define snprintf innocuous_snprintf
11856
11857/* System header to define __stub macros and hopefully few prototypes,
11858    which can conflict with char snprintf (); below.
11859    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11860    <limits.h> exists even on freestanding compilers.  */
11861
11862#ifdef __STDC__
11863# include <limits.h>
11864#else
11865# include <assert.h>
11866#endif
11867
11868#undef snprintf
11869
11870/* Override any GCC internal prototype to avoid an error.
11871   Use char because int might match the return type of a GCC
11872   builtin and then its argument prototype would still apply.  */
11873#ifdef __cplusplus
11874extern "C"
11875#endif
11876char snprintf ();
11877/* The GNU C library defines this for functions which it implements
11878    to always fail with ENOSYS.  Some functions are actually named
11879    something starting with __ and the normal name is an alias.  */
11880#if defined __stub_snprintf || defined __stub___snprintf
11881choke me
11882#endif
11883
11884int
11885main ()
11886{
11887return snprintf ();
11888  ;
11889  return 0;
11890}
11891_ACEOF
11892rm -f conftest.$ac_objext conftest$ac_exeext
11893if { (ac_try="$ac_link"
11894case "(($ac_try" in
11895  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11896  *) ac_try_echo=$ac_try;;
11897esac
11898eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11899$as_echo "$ac_try_echo") >&5
11900  (eval "$ac_link") 2>conftest.er1
11901  ac_status=$?
11902  grep -v '^ *+' conftest.er1 >conftest.err
11903  rm -f conftest.er1
11904  cat conftest.err >&5
11905  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906  (exit $ac_status); } && {
11907	 test -z "$ac_c_werror_flag" ||
11908	 test ! -s conftest.err
11909       } && test -s conftest$ac_exeext && {
11910	 test "$cross_compiling" = yes ||
11911	 $as_test_x conftest$ac_exeext
11912       }; then
11913  ac_cv_func_snprintf=yes
11914else
11915  $as_echo "$as_me: failed program was:" >&5
11916sed 's/^/| /' conftest.$ac_ext >&5
11917
11918	ac_cv_func_snprintf=no
11919fi
11920
11921rm -rf conftest.dSYM
11922rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11923      conftest$ac_exeext conftest.$ac_ext
11924fi
11925{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
11926$as_echo "$ac_cv_func_snprintf" >&6; }
11927if test "x$ac_cv_func_snprintf" = x""yes; then
11928
11929cat >>confdefs.h <<\_ACEOF
11930#define USE_SNPRINTF 1
11931_ACEOF
11932
11933fi
11934
11935
11936
11937{ $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
11938$as_echo_n "checking for main in -lws2_32... " >&6; }
11939if test "${ac_cv_lib_ws2_32_main+set}" = set; then
11940  $as_echo_n "(cached) " >&6
11941else
11942  ac_check_lib_save_LIBS=$LIBS
11943LIBS="-lws2_32  $LIBS"
11944cat >conftest.$ac_ext <<_ACEOF
11945/* confdefs.h.  */
11946_ACEOF
11947cat confdefs.h >>conftest.$ac_ext
11948cat >>conftest.$ac_ext <<_ACEOF
11949/* end confdefs.h.  */
11950
11951
11952int
11953main ()
11954{
11955return main ();
11956  ;
11957  return 0;
11958}
11959_ACEOF
11960rm -f conftest.$ac_objext conftest$ac_exeext
11961if { (ac_try="$ac_link"
11962case "(($ac_try" in
11963  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11964  *) ac_try_echo=$ac_try;;
11965esac
11966eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11967$as_echo "$ac_try_echo") >&5
11968  (eval "$ac_link") 2>conftest.er1
11969  ac_status=$?
11970  grep -v '^ *+' conftest.er1 >conftest.err
11971  rm -f conftest.er1
11972  cat conftest.err >&5
11973  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974  (exit $ac_status); } && {
11975	 test -z "$ac_c_werror_flag" ||
11976	 test ! -s conftest.err
11977       } && test -s conftest$ac_exeext && {
11978	 test "$cross_compiling" = yes ||
11979	 $as_test_x conftest$ac_exeext
11980       }; then
11981  ac_cv_lib_ws2_32_main=yes
11982else
11983  $as_echo "$as_me: failed program was:" >&5
11984sed 's/^/| /' conftest.$ac_ext >&5
11985
11986	ac_cv_lib_ws2_32_main=no
11987fi
11988
11989rm -rf conftest.dSYM
11990rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11991      conftest$ac_exeext conftest.$ac_ext
11992LIBS=$ac_check_lib_save_LIBS
11993fi
11994{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
11995$as_echo "$ac_cv_lib_ws2_32_main" >&6; }
11996if test "x$ac_cv_lib_ws2_32_main" = x""yes; then
11997  cat >>confdefs.h <<_ACEOF
11998#define HAVE_LIBWS2_32 1
11999_ACEOF
12000
12001  LIBS="-lws2_32 $LIBS"
12002
12003fi
12004ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
12005
12006
12007# Options
12008# Check whether --enable-xkb was given.
12009if test "${enable_xkb+set}" = set; then
12010  enableval=$enable_xkb; XKB="$enableval"
12011else
12012  XKB="yes"
12013fi
12014
12015if test "x$XKB" = "xyes" ; then
12016
12017cat >>confdefs.h <<\_ACEOF
12018#define XKB 1
12019_ACEOF
12020
12021fi
12022
12023# Check whether --enable-install-makestrs was given.
12024if test "${enable_install_makestrs+set}" = set; then
12025  enableval=$enable_install_makestrs; INSTALL_MAKESTRS="$enableval"
12026else
12027  INSTALL_MAKESTRS="yes"
12028fi
12029
12030 if test "x$INSTALL_MAKESTRS" = xyes; then
12031  INSTALL_MAKESTRS_TRUE=
12032  INSTALL_MAKESTRS_FALSE='#'
12033else
12034  INSTALL_MAKESTRS_TRUE='#'
12035  INSTALL_MAKESTRS_FALSE=
12036fi
12037
12038
12039# Replaces XFileSearchPathDefault from Imake configs
12040XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S:$(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconfdir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S:$(datadir)/X11/%L/%T/%N%C%S:$(datadir)/X11/%l/%T/%N%C%S:$(datadir)/X11/%T/%N%C%S:$(datadir)/X11/%L/%T/%N%S:$(datadir)/X11/%l/%T/%N%S:$(datadir)/X11/%T/%N%S:$(libdir)/X11/%L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S:$(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/X11/%T/%N%S'
12041
12042
12043# Check whether --with-xfile-search-path was given.
12044if test "${with_xfile_search_path+set}" = set; then
12045  withval=$with_xfile_search_path; XFILESEARCHPATHDEFAULT="$withval"
12046fi
12047
12048
12049
12050
12051# Check whether --with-appdefaultdir was given.
12052if test "${with_appdefaultdir+set}" = set; then
12053  withval=$with_appdefaultdir; appdefaultdir="$withval"
12054else
12055  appdefaultdir=${datadir}/X11/app-defaults
12056fi
12057
12058
12059  prefix_NONE=
12060  exec_prefix_NONE=
12061  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
12062  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
12063  eval ac_define_dir="\"$appdefaultdir\""
12064  eval ac_define_dir="\"$ac_define_dir\""
12065  appdefaultdir="$ac_define_dir"
12066
12067
12068cat >>confdefs.h <<_ACEOF
12069#define appdefaultdir "$ac_define_dir"
12070_ACEOF
12071
12072  test "$prefix_NONE" && prefix=NONE
12073  test "$exec_prefix_NONE" && exec_prefix=NONE
12074
12075
12076# Replacement for Imake ToolkitStringsABIOptions, controls string tables
12077# generated by util/string.list in StringDefs.h & Shell.h
12078case $host_os in
12079	solaris*)
12080		# Solaris uses -intelabi even on SPARC
12081  		STRINGSABIOPTIONS="-intelabi -solarisabinames"
12082		;;
12083	sco* | svr4*)
12084		case $host_cpu in
12085		    i*86) STRINGSABIOPTIONS="-intelabi" ;;
12086		       *) STRINGSABIOPTIONS="" ;;
12087		esac
12088		;;
12089esac
12090
12091
12092case $host_os in
12093    darwin*)
12094        OS_CFLAGS="-Wl,-flat_namespace"
12095	;;
12096    *)
12097        OS_CFLAGS=
12098        ;;
12099esac
12100
12101XT_CFLAGS="$CWARNFLAGS $XT_CFLAGS $OS_CFLAGS"
12102
12103# Man page processing requirements
12104
12105
12106for ac_prog in cpp
12107do
12108  # Extract the first word of "$ac_prog", so it can be a program name with args.
12109set dummy $ac_prog; ac_word=$2
12110{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12111$as_echo_n "checking for $ac_word... " >&6; }
12112if test "${ac_cv_path_RAWCPP+set}" = set; then
12113  $as_echo_n "(cached) " >&6
12114else
12115  case $RAWCPP in
12116  [\\/]* | ?:[\\/]*)
12117  ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
12118  ;;
12119  *)
12120  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12121as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
12122for as_dir in $as_dummy
12123do
12124  IFS=$as_save_IFS
12125  test -z "$as_dir" && as_dir=.
12126  for ac_exec_ext in '' $ac_executable_extensions; do
12127  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12128    ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
12129    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12130    break 2
12131  fi
12132done
12133done
12134IFS=$as_save_IFS
12135
12136  ;;
12137esac
12138fi
12139RAWCPP=$ac_cv_path_RAWCPP
12140if test -n "$RAWCPP"; then
12141  { $as_echo "$as_me:$LINENO: result: $RAWCPP" >&5
12142$as_echo "$RAWCPP" >&6; }
12143else
12144  { $as_echo "$as_me:$LINENO: result: no" >&5
12145$as_echo "no" >&6; }
12146fi
12147
12148
12149  test -n "$RAWCPP" && break
12150done
12151test -n "$RAWCPP" || RAWCPP="${CPP}"
12152
12153
12154# Check for flag to avoid builtin definitions - assumes unix is predefined,
12155# which is not the best choice for supporting other OS'es, but covers most
12156# of the ones we need for now.
12157{ $as_echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5
12158$as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
12159cat >conftest.$ac_ext <<_ACEOF
12160Does cpp redefine unix ?
12161_ACEOF
12162if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
12163	{ $as_echo "$as_me:$LINENO: result: no" >&5
12164$as_echo "no" >&6; }
12165else
12166	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
12167		RAWCPPFLAGS=-undef
12168		{ $as_echo "$as_me:$LINENO: result: yes" >&5
12169$as_echo "yes" >&6; }
12170	# under Cygwin unix is still defined even with -undef
12171	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
12172		RAWCPPFLAGS="-undef -ansi"
12173		{ $as_echo "$as_me:$LINENO: result: yes, with -ansi" >&5
12174$as_echo "yes, with -ansi" >&6; }
12175	else
12176		{ { $as_echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&5
12177$as_echo "$as_me: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&2;}
12178   { (exit 1); exit 1; }; }
12179	fi
12180fi
12181rm -f conftest.$ac_ext
12182
12183{ $as_echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5
12184$as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
12185cat >conftest.$ac_ext <<_ACEOF
12186Does cpp preserve   "whitespace"?
12187_ACEOF
12188if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
12189	{ $as_echo "$as_me:$LINENO: result: no" >&5
12190$as_echo "no" >&6; }
12191else
12192	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
12193		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
12194		{ $as_echo "$as_me:$LINENO: result: yes" >&5
12195$as_echo "yes" >&6; }
12196	else
12197		{ { $as_echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&5
12198$as_echo "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&2;}
12199   { (exit 1); exit 1; }; }
12200	fi
12201fi
12202rm -f conftest.$ac_ext
12203
12204
12205
12206
12207
12208if test x$APP_MAN_SUFFIX = x    ; then
12209    APP_MAN_SUFFIX=1
12210fi
12211if test x$APP_MAN_DIR = x    ; then
12212    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
12213fi
12214
12215if test x$LIB_MAN_SUFFIX = x    ; then
12216    LIB_MAN_SUFFIX=3
12217fi
12218if test x$LIB_MAN_DIR = x    ; then
12219    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
12220fi
12221
12222if test x$FILE_MAN_SUFFIX = x    ; then
12223    case $host_os in
12224	solaris*)	FILE_MAN_SUFFIX=4  ;;
12225	*)		FILE_MAN_SUFFIX=5  ;;
12226    esac
12227fi
12228if test x$FILE_MAN_DIR = x    ; then
12229    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
12230fi
12231
12232if test x$MISC_MAN_SUFFIX = x    ; then
12233    case $host_os in
12234	solaris*)	MISC_MAN_SUFFIX=5  ;;
12235	*)		MISC_MAN_SUFFIX=7  ;;
12236    esac
12237fi
12238if test x$MISC_MAN_DIR = x    ; then
12239    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
12240fi
12241
12242if test x$DRIVER_MAN_SUFFIX = x    ; then
12243    case $host_os in
12244	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
12245	*)		DRIVER_MAN_SUFFIX=4  ;;
12246    esac
12247fi
12248if test x$DRIVER_MAN_DIR = x    ; then
12249    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
12250fi
12251
12252if test x$ADMIN_MAN_SUFFIX = x    ; then
12253    case $host_os in
12254	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
12255	*)		ADMIN_MAN_SUFFIX=8  ;;
12256    esac
12257fi
12258if test x$ADMIN_MAN_DIR = x    ; then
12259    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
12260fi
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277# Check render configuration, strip extra digits from package version to
12278# find the required protocol version
12279
12280
12281# Check whether --enable-malloc0returnsnull was given.
12282if test "${enable_malloc0returnsnull+set}" = set; then
12283  enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
12284else
12285  MALLOC_ZERO_RETURNS_NULL=auto
12286fi
12287
12288
12289{ $as_echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
12290$as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
12291if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
12292	if test "$cross_compiling" = yes; then
12293  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12294$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12295{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12296See \`config.log' for more details." >&5
12297$as_echo "$as_me: error: cannot run test program while cross compiling
12298See \`config.log' for more details." >&2;}
12299   { (exit 1); exit 1; }; }; }
12300else
12301  cat >conftest.$ac_ext <<_ACEOF
12302
12303char *malloc();
12304char *realloc();
12305char *calloc();
12306main() {
12307    char *m0, *r0, *c0, *p;
12308    m0 = malloc(0);
12309    p = malloc(10);
12310    r0 = realloc(p,0);
12311    c0 = calloc(0);
12312    exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
12313}
12314_ACEOF
12315rm -f conftest$ac_exeext
12316if { (ac_try="$ac_link"
12317case "(($ac_try" in
12318  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12319  *) ac_try_echo=$ac_try;;
12320esac
12321eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12322$as_echo "$ac_try_echo") >&5
12323  (eval "$ac_link") 2>&5
12324  ac_status=$?
12325  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12327  { (case "(($ac_try" in
12328  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12329  *) ac_try_echo=$ac_try;;
12330esac
12331eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12332$as_echo "$ac_try_echo") >&5
12333  (eval "$ac_try") 2>&5
12334  ac_status=$?
12335  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336  (exit $ac_status); }; }; then
12337  MALLOC_ZERO_RETURNS_NULL=yes
12338else
12339  $as_echo "$as_me: program exited with status $ac_status" >&5
12340$as_echo "$as_me: failed program was:" >&5
12341sed 's/^/| /' conftest.$ac_ext >&5
12342
12343( exit $ac_status )
12344MALLOC_ZERO_RETURNS_NULL=no
12345fi
12346rm -rf conftest.dSYM
12347rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12348fi
12349
12350
12351fi
12352{ $as_echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
12353$as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
12354
12355if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
12356	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
12357	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
12358	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
12359else
12360	MALLOC_ZERO_CFLAGS=""
12361	XMALLOC_ZERO_CFLAGS=""
12362	XTMALLOC_ZERO_CFLAGS=""
12363fi
12364
12365
12366
12367
12368
12369
12370
12371# Check whether --with-release-version was given.
12372if test "${with_release_version+set}" = set; then
12373  withval=$with_release_version; RELEASE_VERSION="$withval"
12374else
12375  RELEASE_VERSION=""
12376fi
12377
12378	if test "x$RELEASE_VERSION" != "x"; then
12379		PACKAGE="$PACKAGE-$RELEASE_VERSION"
12380		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
12381		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
12382$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
12383	fi
12384
12385cat >>confdefs.h <<_ACEOF
12386#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
12387_ACEOF
12388
12389	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
12390	if test "x$PVM" = "x"; then
12391		PVM="0"
12392	fi
12393
12394cat >>confdefs.h <<_ACEOF
12395#define PACKAGE_VERSION_MINOR $PVM
12396_ACEOF
12397
12398	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
12399	if test "x$PVP" = "x"; then
12400		PVP="0"
12401	fi
12402
12403cat >>confdefs.h <<_ACEOF
12404#define PACKAGE_VERSION_PATCHLEVEL $PVP
12405_ACEOF
12406
12407
12408
12409CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
12410mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
12411echo 'git directory not found: installing possibly empty changelog.' >&2)"
12412
12413distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
12414
12415
12416
12417ac_config_files="$ac_config_files Makefile src/Makefile util/Makefile include/Makefile man/Makefile xt.pc"
12418
12419cat >confcache <<\_ACEOF
12420# This file is a shell script that caches the results of configure
12421# tests run on this system so they can be shared between configure
12422# scripts and configure runs, see configure's option --config-cache.
12423# It is not useful on other systems.  If it contains results you don't
12424# want to keep, you may remove or edit it.
12425#
12426# config.status only pays attention to the cache file if you give it
12427# the --recheck option to rerun configure.
12428#
12429# `ac_cv_env_foo' variables (set or unset) will be overridden when
12430# loading this file, other *unset* `ac_cv_foo' will be assigned the
12431# following values.
12432
12433_ACEOF
12434
12435# The following way of writing the cache mishandles newlines in values,
12436# but we know of no workaround that is simple, portable, and efficient.
12437# So, we kill variables containing newlines.
12438# Ultrix sh set writes to stderr and can't be redirected directly,
12439# and sets the high bit in the cache file unless we assign to the vars.
12440(
12441  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12442    eval ac_val=\$$ac_var
12443    case $ac_val in #(
12444    *${as_nl}*)
12445      case $ac_var in #(
12446      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12447$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12448      esac
12449      case $ac_var in #(
12450      _ | IFS | as_nl) ;; #(
12451      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12452      *) $as_unset $ac_var ;;
12453      esac ;;
12454    esac
12455  done
12456
12457  (set) 2>&1 |
12458    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12459    *${as_nl}ac_space=\ *)
12460      # `set' does not quote correctly, so add quotes (double-quote
12461      # substitution turns \\\\ into \\, and sed turns \\ into \).
12462      sed -n \
12463	"s/'/'\\\\''/g;
12464	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12465      ;; #(
12466    *)
12467      # `set' quotes correctly as required by POSIX, so do not add quotes.
12468      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12469      ;;
12470    esac |
12471    sort
12472) |
12473  sed '
12474     /^ac_cv_env_/b end
12475     t clear
12476     :clear
12477     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12478     t end
12479     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12480     :end' >>confcache
12481if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12482  if test -w "$cache_file"; then
12483    test "x$cache_file" != "x/dev/null" &&
12484      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12485$as_echo "$as_me: updating cache $cache_file" >&6;}
12486    cat confcache >$cache_file
12487  else
12488    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12489$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12490  fi
12491fi
12492rm -f confcache
12493
12494test "x$prefix" = xNONE && prefix=$ac_default_prefix
12495# Let make expand exec_prefix.
12496test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12497
12498DEFS=-DHAVE_CONFIG_H
12499
12500ac_libobjs=
12501ac_ltlibobjs=
12502for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12503  # 1. Remove the extension, and $U if already installed.
12504  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12505  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12506  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12507  #    will be set to the directory where LIBOBJS objects are built.
12508  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12509  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12510done
12511LIBOBJS=$ac_libobjs
12512
12513LTLIBOBJS=$ac_ltlibobjs
12514
12515
12516if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12517  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12518Usually this means the macro was only invoked conditionally." >&5
12519$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12520Usually this means the macro was only invoked conditionally." >&2;}
12521   { (exit 1); exit 1; }; }
12522fi
12523if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12524  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12525Usually this means the macro was only invoked conditionally." >&5
12526$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12527Usually this means the macro was only invoked conditionally." >&2;}
12528   { (exit 1); exit 1; }; }
12529fi
12530if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12531  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12532Usually this means the macro was only invoked conditionally." >&5
12533$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12534Usually this means the macro was only invoked conditionally." >&2;}
12535   { (exit 1); exit 1; }; }
12536fi
12537if test -z "${INSTALL_MAKESTRS_TRUE}" && test -z "${INSTALL_MAKESTRS_FALSE}"; then
12538  { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_MAKESTRS\" was never defined.
12539Usually this means the macro was only invoked conditionally." >&5
12540$as_echo "$as_me: error: conditional \"INSTALL_MAKESTRS\" was never defined.
12541Usually this means the macro was only invoked conditionally." >&2;}
12542   { (exit 1); exit 1; }; }
12543fi
12544
12545: ${CONFIG_STATUS=./config.status}
12546ac_write_fail=0
12547ac_clean_files_save=$ac_clean_files
12548ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12549{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12550$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12551cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12552#! $SHELL
12553# Generated by $as_me.
12554# Run this file to recreate the current configuration.
12555# Compiler output produced by configure, useful for debugging
12556# configure, is in config.log if it exists.
12557
12558debug=false
12559ac_cs_recheck=false
12560ac_cs_silent=false
12561SHELL=\${CONFIG_SHELL-$SHELL}
12562_ACEOF
12563
12564cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12565## --------------------- ##
12566## M4sh Initialization.  ##
12567## --------------------- ##
12568
12569# Be more Bourne compatible
12570DUALCASE=1; export DUALCASE # for MKS sh
12571if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12572  emulate sh
12573  NULLCMD=:
12574  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12575  # is contrary to our usage.  Disable this feature.
12576  alias -g '${1+"$@"}'='"$@"'
12577  setopt NO_GLOB_SUBST
12578else
12579  case `(set -o) 2>/dev/null` in
12580  *posix*) set -o posix ;;
12581esac
12582
12583fi
12584
12585
12586
12587
12588# PATH needs CR
12589# Avoid depending upon Character Ranges.
12590as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12591as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12592as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12593as_cr_digits='0123456789'
12594as_cr_alnum=$as_cr_Letters$as_cr_digits
12595
12596as_nl='
12597'
12598export as_nl
12599# Printing a long string crashes Solaris 7 /usr/bin/printf.
12600as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12601as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12602as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12603if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12604  as_echo='printf %s\n'
12605  as_echo_n='printf %s'
12606else
12607  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12608    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12609    as_echo_n='/usr/ucb/echo -n'
12610  else
12611    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12612    as_echo_n_body='eval
12613      arg=$1;
12614      case $arg in
12615      *"$as_nl"*)
12616	expr "X$arg" : "X\\(.*\\)$as_nl";
12617	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12618      esac;
12619      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12620    '
12621    export as_echo_n_body
12622    as_echo_n='sh -c $as_echo_n_body as_echo'
12623  fi
12624  export as_echo_body
12625  as_echo='sh -c $as_echo_body as_echo'
12626fi
12627
12628# The user is always right.
12629if test "${PATH_SEPARATOR+set}" != set; then
12630  PATH_SEPARATOR=:
12631  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12632    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12633      PATH_SEPARATOR=';'
12634  }
12635fi
12636
12637# Support unset when possible.
12638if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12639  as_unset=unset
12640else
12641  as_unset=false
12642fi
12643
12644
12645# IFS
12646# We need space, tab and new line, in precisely that order.  Quoting is
12647# there to prevent editors from complaining about space-tab.
12648# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12649# splitting by setting IFS to empty value.)
12650IFS=" ""	$as_nl"
12651
12652# Find who we are.  Look in the path if we contain no directory separator.
12653case $0 in
12654  *[\\/]* ) as_myself=$0 ;;
12655  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12656for as_dir in $PATH
12657do
12658  IFS=$as_save_IFS
12659  test -z "$as_dir" && as_dir=.
12660  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12661done
12662IFS=$as_save_IFS
12663
12664     ;;
12665esac
12666# We did not find ourselves, most probably we were run as `sh COMMAND'
12667# in which case we are not to be found in the path.
12668if test "x$as_myself" = x; then
12669  as_myself=$0
12670fi
12671if test ! -f "$as_myself"; then
12672  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12673  { (exit 1); exit 1; }
12674fi
12675
12676# Work around bugs in pre-3.0 UWIN ksh.
12677for as_var in ENV MAIL MAILPATH
12678do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12679done
12680PS1='$ '
12681PS2='> '
12682PS4='+ '
12683
12684# NLS nuisances.
12685LC_ALL=C
12686export LC_ALL
12687LANGUAGE=C
12688export LANGUAGE
12689
12690# Required to use basename.
12691if expr a : '\(a\)' >/dev/null 2>&1 &&
12692   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12693  as_expr=expr
12694else
12695  as_expr=false
12696fi
12697
12698if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12699  as_basename=basename
12700else
12701  as_basename=false
12702fi
12703
12704
12705# Name of the executable.
12706as_me=`$as_basename -- "$0" ||
12707$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12708	 X"$0" : 'X\(//\)$' \| \
12709	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12710$as_echo X/"$0" |
12711    sed '/^.*\/\([^/][^/]*\)\/*$/{
12712	    s//\1/
12713	    q
12714	  }
12715	  /^X\/\(\/\/\)$/{
12716	    s//\1/
12717	    q
12718	  }
12719	  /^X\/\(\/\).*/{
12720	    s//\1/
12721	    q
12722	  }
12723	  s/.*/./; q'`
12724
12725# CDPATH.
12726$as_unset CDPATH
12727
12728
12729
12730  as_lineno_1=$LINENO
12731  as_lineno_2=$LINENO
12732  test "x$as_lineno_1" != "x$as_lineno_2" &&
12733  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12734
12735  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12736  # uniformly replaced by the line number.  The first 'sed' inserts a
12737  # line-number line after each line using $LINENO; the second 'sed'
12738  # does the real work.  The second script uses 'N' to pair each
12739  # line-number line with the line containing $LINENO, and appends
12740  # trailing '-' during substitution so that $LINENO is not a special
12741  # case at line end.
12742  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12743  # scripts with optimization help from Paolo Bonzini.  Blame Lee
12744  # E. McMahon (1931-1989) for sed's syntax.  :-)
12745  sed -n '
12746    p
12747    /[$]LINENO/=
12748  ' <$as_myself |
12749    sed '
12750      s/[$]LINENO.*/&-/
12751      t lineno
12752      b
12753      :lineno
12754      N
12755      :loop
12756      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12757      t loop
12758      s/-\n.*//
12759    ' >$as_me.lineno &&
12760  chmod +x "$as_me.lineno" ||
12761    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12762   { (exit 1); exit 1; }; }
12763
12764  # Don't try to exec as it changes $[0], causing all sort of problems
12765  # (the dirname of $[0] is not the place where we might find the
12766  # original and so on.  Autoconf is especially sensitive to this).
12767  . "./$as_me.lineno"
12768  # Exit status is that of the last command.
12769  exit
12770}
12771
12772
12773if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12774  as_dirname=dirname
12775else
12776  as_dirname=false
12777fi
12778
12779ECHO_C= ECHO_N= ECHO_T=
12780case `echo -n x` in
12781-n*)
12782  case `echo 'x\c'` in
12783  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
12784  *)   ECHO_C='\c';;
12785  esac;;
12786*)
12787  ECHO_N='-n';;
12788esac
12789if expr a : '\(a\)' >/dev/null 2>&1 &&
12790   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12791  as_expr=expr
12792else
12793  as_expr=false
12794fi
12795
12796rm -f conf$$ conf$$.exe conf$$.file
12797if test -d conf$$.dir; then
12798  rm -f conf$$.dir/conf$$.file
12799else
12800  rm -f conf$$.dir
12801  mkdir conf$$.dir 2>/dev/null
12802fi
12803if (echo >conf$$.file) 2>/dev/null; then
12804  if ln -s conf$$.file conf$$ 2>/dev/null; then
12805    as_ln_s='ln -s'
12806    # ... but there are two gotchas:
12807    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12808    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12809    # In both cases, we have to default to `cp -p'.
12810    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12811      as_ln_s='cp -p'
12812  elif ln conf$$.file conf$$ 2>/dev/null; then
12813    as_ln_s=ln
12814  else
12815    as_ln_s='cp -p'
12816  fi
12817else
12818  as_ln_s='cp -p'
12819fi
12820rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12821rmdir conf$$.dir 2>/dev/null
12822
12823if mkdir -p . 2>/dev/null; then
12824  as_mkdir_p=:
12825else
12826  test -d ./-p && rmdir ./-p
12827  as_mkdir_p=false
12828fi
12829
12830if test -x / >/dev/null 2>&1; then
12831  as_test_x='test -x'
12832else
12833  if ls -dL / >/dev/null 2>&1; then
12834    as_ls_L_option=L
12835  else
12836    as_ls_L_option=
12837  fi
12838  as_test_x='
12839    eval sh -c '\''
12840      if test -d "$1"; then
12841	test -d "$1/.";
12842      else
12843	case $1 in
12844	-*)set "./$1";;
12845	esac;
12846	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12847	???[sx]*):;;*)false;;esac;fi
12848    '\'' sh
12849  '
12850fi
12851as_executable_p=$as_test_x
12852
12853# Sed expression to map a string onto a valid CPP name.
12854as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12855
12856# Sed expression to map a string onto a valid variable name.
12857as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12858
12859
12860exec 6>&1
12861
12862# Save the log message, to keep $[0] and so on meaningful, and to
12863# report actual input values of CONFIG_FILES etc. instead of their
12864# values after options handling.
12865ac_log="
12866This file was extended by libXt $as_me 1.0.6, which was
12867generated by GNU Autoconf 2.63.  Invocation command line was
12868
12869  CONFIG_FILES    = $CONFIG_FILES
12870  CONFIG_HEADERS  = $CONFIG_HEADERS
12871  CONFIG_LINKS    = $CONFIG_LINKS
12872  CONFIG_COMMANDS = $CONFIG_COMMANDS
12873  $ $0 $@
12874
12875on `(hostname || uname -n) 2>/dev/null | sed 1q`
12876"
12877
12878_ACEOF
12879
12880case $ac_config_files in *"
12881"*) set x $ac_config_files; shift; ac_config_files=$*;;
12882esac
12883
12884case $ac_config_headers in *"
12885"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12886esac
12887
12888
12889cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12890# Files that config.status was made for.
12891config_files="$ac_config_files"
12892config_headers="$ac_config_headers"
12893config_commands="$ac_config_commands"
12894
12895_ACEOF
12896
12897cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12898ac_cs_usage="\
12899\`$as_me' instantiates files from templates according to the
12900current configuration.
12901
12902Usage: $0 [OPTION]... [FILE]...
12903
12904  -h, --help       print this help, then exit
12905  -V, --version    print version number and configuration settings, then exit
12906  -q, --quiet, --silent
12907                   do not print progress messages
12908  -d, --debug      don't remove temporary files
12909      --recheck    update $as_me by reconfiguring in the same conditions
12910      --file=FILE[:TEMPLATE]
12911                   instantiate the configuration file FILE
12912      --header=FILE[:TEMPLATE]
12913                   instantiate the configuration header FILE
12914
12915Configuration files:
12916$config_files
12917
12918Configuration headers:
12919$config_headers
12920
12921Configuration commands:
12922$config_commands
12923
12924Report bugs to <bug-autoconf@gnu.org>."
12925
12926_ACEOF
12927cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12928ac_cs_version="\\
12929libXt config.status 1.0.6
12930configured by $0, generated by GNU Autoconf 2.63,
12931  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12932
12933Copyright (C) 2008 Free Software Foundation, Inc.
12934This config.status script is free software; the Free Software Foundation
12935gives unlimited permission to copy, distribute and modify it."
12936
12937ac_pwd='$ac_pwd'
12938srcdir='$srcdir'
12939INSTALL='$INSTALL'
12940MKDIR_P='$MKDIR_P'
12941AWK='$AWK'
12942test -n "\$AWK" || AWK=awk
12943_ACEOF
12944
12945cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12946# The default lists apply if the user does not specify any file.
12947ac_need_defaults=:
12948while test $# != 0
12949do
12950  case $1 in
12951  --*=*)
12952    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12953    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12954    ac_shift=:
12955    ;;
12956  *)
12957    ac_option=$1
12958    ac_optarg=$2
12959    ac_shift=shift
12960    ;;
12961  esac
12962
12963  case $ac_option in
12964  # Handling of the options.
12965  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12966    ac_cs_recheck=: ;;
12967  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12968    $as_echo "$ac_cs_version"; exit ;;
12969  --debug | --debu | --deb | --de | --d | -d )
12970    debug=: ;;
12971  --file | --fil | --fi | --f )
12972    $ac_shift
12973    case $ac_optarg in
12974    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12975    esac
12976    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
12977    ac_need_defaults=false;;
12978  --header | --heade | --head | --hea )
12979    $ac_shift
12980    case $ac_optarg in
12981    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12982    esac
12983    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
12984    ac_need_defaults=false;;
12985  --he | --h)
12986    # Conflict between --help and --header
12987    { $as_echo "$as_me: error: ambiguous option: $1
12988Try \`$0 --help' for more information." >&2
12989   { (exit 1); exit 1; }; };;
12990  --help | --hel | -h )
12991    $as_echo "$ac_cs_usage"; exit ;;
12992  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12993  | -silent | --silent | --silen | --sile | --sil | --si | --s)
12994    ac_cs_silent=: ;;
12995
12996  # This is an error.
12997  -*) { $as_echo "$as_me: error: unrecognized option: $1
12998Try \`$0 --help' for more information." >&2
12999   { (exit 1); exit 1; }; } ;;
13000
13001  *) ac_config_targets="$ac_config_targets $1"
13002     ac_need_defaults=false ;;
13003
13004  esac
13005  shift
13006done
13007
13008ac_configure_extra_args=
13009
13010if $ac_cs_silent; then
13011  exec 6>/dev/null
13012  ac_configure_extra_args="$ac_configure_extra_args --silent"
13013fi
13014
13015_ACEOF
13016cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13017if \$ac_cs_recheck; then
13018  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13019  shift
13020  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13021  CONFIG_SHELL='$SHELL'
13022  export CONFIG_SHELL
13023  exec "\$@"
13024fi
13025
13026_ACEOF
13027cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13028exec 5>>config.log
13029{
13030  echo
13031  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13032## Running $as_me. ##
13033_ASBOX
13034  $as_echo "$ac_log"
13035} >&5
13036
13037_ACEOF
13038cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13039#
13040# INIT-COMMANDS
13041#
13042AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13043
13044
13045# The HP-UX ksh and POSIX shell print the target directory to stdout
13046# if CDPATH is set.
13047(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13048
13049sed_quote_subst='$sed_quote_subst'
13050double_quote_subst='$double_quote_subst'
13051delay_variable_subst='$delay_variable_subst'
13052macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13053macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13054enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13055enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13056pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13057enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13058host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13059host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13060host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13061build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13062build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13063build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13064SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13065Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13066GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13067EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13068FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13069LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13070NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13071LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13072max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13073ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13074exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13075lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13076lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13077lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13078reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13079reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13080OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13081deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13082file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13083AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13084AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13085STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13086RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13087old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13088old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13089old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13090CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13091CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13092compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13093GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13094lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13095lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13096lt_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"`'
13097lt_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"`'
13098objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13099SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13100ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13101MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13102lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13103lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13104lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13105lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13106lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13107need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13108DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13109NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13110LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13111OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13112OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13113libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13114shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13115extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13116archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13117enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13118export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13119whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13120compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13121old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13122old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13123archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13124archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13125module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13126module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13127with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13128allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13129no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13130hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13131hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13132hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13133hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13134hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13135hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13136hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13137hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13138inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13139link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13140fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13141always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13142export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13143exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13144include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13145prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13146file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13147variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13148need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13149need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13150version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13151runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13152shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13153shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13154libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13155library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13156soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13157postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13158postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13159finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13160finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13161hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13162sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13163sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13164hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13165enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13166enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13167enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13168old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13169striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13170
13171LTCC='$LTCC'
13172LTCFLAGS='$LTCFLAGS'
13173compiler='$compiler_DEFAULT'
13174
13175# Quote evaled strings.
13176for var in SED \
13177GREP \
13178EGREP \
13179FGREP \
13180LD \
13181NM \
13182LN_S \
13183lt_SP2NL \
13184lt_NL2SP \
13185reload_flag \
13186OBJDUMP \
13187deplibs_check_method \
13188file_magic_cmd \
13189AR \
13190AR_FLAGS \
13191STRIP \
13192RANLIB \
13193CC \
13194CFLAGS \
13195compiler \
13196lt_cv_sys_global_symbol_pipe \
13197lt_cv_sys_global_symbol_to_cdecl \
13198lt_cv_sys_global_symbol_to_c_name_address \
13199lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13200SHELL \
13201ECHO \
13202lt_prog_compiler_no_builtin_flag \
13203lt_prog_compiler_wl \
13204lt_prog_compiler_pic \
13205lt_prog_compiler_static \
13206lt_cv_prog_compiler_c_o \
13207need_locks \
13208DSYMUTIL \
13209NMEDIT \
13210LIPO \
13211OTOOL \
13212OTOOL64 \
13213shrext_cmds \
13214export_dynamic_flag_spec \
13215whole_archive_flag_spec \
13216compiler_needs_object \
13217with_gnu_ld \
13218allow_undefined_flag \
13219no_undefined_flag \
13220hardcode_libdir_flag_spec \
13221hardcode_libdir_flag_spec_ld \
13222hardcode_libdir_separator \
13223fix_srcfile_path \
13224exclude_expsyms \
13225include_expsyms \
13226file_list_spec \
13227variables_saved_for_relink \
13228libname_spec \
13229library_names_spec \
13230soname_spec \
13231finish_eval \
13232old_striplib \
13233striplib; do
13234    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13235    *[\\\\\\\`\\"\\\$]*)
13236      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13237      ;;
13238    *)
13239      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13240      ;;
13241    esac
13242done
13243
13244# Double-quote double-evaled strings.
13245for var in reload_cmds \
13246old_postinstall_cmds \
13247old_postuninstall_cmds \
13248old_archive_cmds \
13249extract_expsyms_cmds \
13250old_archive_from_new_cmds \
13251old_archive_from_expsyms_cmds \
13252archive_cmds \
13253archive_expsym_cmds \
13254module_cmds \
13255module_expsym_cmds \
13256export_symbols_cmds \
13257prelink_cmds \
13258postinstall_cmds \
13259postuninstall_cmds \
13260finish_cmds \
13261sys_lib_search_path_spec \
13262sys_lib_dlsearch_path_spec; do
13263    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13264    *[\\\\\\\`\\"\\\$]*)
13265      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13266      ;;
13267    *)
13268      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13269      ;;
13270    esac
13271done
13272
13273# Fix-up fallback echo if it was mangled by the above quoting rules.
13274case \$lt_ECHO in
13275*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13276  ;;
13277esac
13278
13279ac_aux_dir='$ac_aux_dir'
13280xsi_shell='$xsi_shell'
13281lt_shell_append='$lt_shell_append'
13282
13283# See if we are running on zsh, and set the options which allow our
13284# commands through without removal of \ escapes INIT.
13285if test -n "\${ZSH_VERSION+set}" ; then
13286   setopt NO_GLOB_SUBST
13287fi
13288
13289
13290    PACKAGE='$PACKAGE'
13291    VERSION='$VERSION'
13292    TIMESTAMP='$TIMESTAMP'
13293    RM='$RM'
13294    ofile='$ofile'
13295
13296
13297
13298
13299_ACEOF
13300
13301cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13302
13303# Handling of arguments.
13304for ac_config_target in $ac_config_targets
13305do
13306  case $ac_config_target in
13307    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13308    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13309    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13310    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13311    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13312    "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
13313    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13314    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13315    "xt.pc") CONFIG_FILES="$CONFIG_FILES xt.pc" ;;
13316
13317  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13318$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13319   { (exit 1); exit 1; }; };;
13320  esac
13321done
13322
13323
13324# If the user did not use the arguments to specify the items to instantiate,
13325# then the envvar interface is used.  Set only those that are not.
13326# We use the long form for the default assignment because of an extremely
13327# bizarre bug on SunOS 4.1.3.
13328if $ac_need_defaults; then
13329  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13330  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13331  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13332fi
13333
13334# Have a temporary directory for convenience.  Make it in the build tree
13335# simply because there is no reason against having it here, and in addition,
13336# creating and moving files from /tmp can sometimes cause problems.
13337# Hook for its removal unless debugging.
13338# Note that there is a small window in which the directory will not be cleaned:
13339# after its creation but before its name has been assigned to `$tmp'.
13340$debug ||
13341{
13342  tmp=
13343  trap 'exit_status=$?
13344  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13345' 0
13346  trap '{ (exit 1); exit 1; }' 1 2 13 15
13347}
13348# Create a (secure) tmp directory for tmp files.
13349
13350{
13351  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13352  test -n "$tmp" && test -d "$tmp"
13353}  ||
13354{
13355  tmp=./conf$$-$RANDOM
13356  (umask 077 && mkdir "$tmp")
13357} ||
13358{
13359   $as_echo "$as_me: cannot create a temporary directory in ." >&2
13360   { (exit 1); exit 1; }
13361}
13362
13363# Set up the scripts for CONFIG_FILES section.
13364# No need to generate them if there are no CONFIG_FILES.
13365# This happens for instance with `./config.status config.h'.
13366if test -n "$CONFIG_FILES"; then
13367
13368
13369ac_cr='
13370'
13371ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13372if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13373  ac_cs_awk_cr='\\r'
13374else
13375  ac_cs_awk_cr=$ac_cr
13376fi
13377
13378echo 'BEGIN {' >"$tmp/subs1.awk" &&
13379_ACEOF
13380
13381
13382{
13383  echo "cat >conf$$subs.awk <<_ACEOF" &&
13384  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13385  echo "_ACEOF"
13386} >conf$$subs.sh ||
13387  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13388$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13389   { (exit 1); exit 1; }; }
13390ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13391ac_delim='%!_!# '
13392for ac_last_try in false false false false false :; do
13393  . ./conf$$subs.sh ||
13394    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13395$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13396   { (exit 1); exit 1; }; }
13397
13398  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13399  if test $ac_delim_n = $ac_delim_num; then
13400    break
13401  elif $ac_last_try; then
13402    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13403$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13404   { (exit 1); exit 1; }; }
13405  else
13406    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13407  fi
13408done
13409rm -f conf$$subs.sh
13410
13411cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13412cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13413_ACEOF
13414sed -n '
13415h
13416s/^/S["/; s/!.*/"]=/
13417p
13418g
13419s/^[^!]*!//
13420:repl
13421t repl
13422s/'"$ac_delim"'$//
13423t delim
13424:nl
13425h
13426s/\(.\{148\}\).*/\1/
13427t more1
13428s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13429p
13430n
13431b repl
13432:more1
13433s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13434p
13435g
13436s/.\{148\}//
13437t nl
13438:delim
13439h
13440s/\(.\{148\}\).*/\1/
13441t more2
13442s/["\\]/\\&/g; s/^/"/; s/$/"/
13443p
13444b
13445:more2
13446s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13447p
13448g
13449s/.\{148\}//
13450t delim
13451' <conf$$subs.awk | sed '
13452/^[^""]/{
13453  N
13454  s/\n//
13455}
13456' >>$CONFIG_STATUS || ac_write_fail=1
13457rm -f conf$$subs.awk
13458cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13459_ACAWK
13460cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13461  for (key in S) S_is_set[key] = 1
13462  FS = ""
13463
13464}
13465{
13466  line = $ 0
13467  nfields = split(line, field, "@")
13468  substed = 0
13469  len = length(field[1])
13470  for (i = 2; i < nfields; i++) {
13471    key = field[i]
13472    keylen = length(key)
13473    if (S_is_set[key]) {
13474      value = S[key]
13475      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13476      len += length(value) + length(field[++i])
13477      substed = 1
13478    } else
13479      len += 1 + keylen
13480  }
13481
13482  print line
13483}
13484
13485_ACAWK
13486_ACEOF
13487cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13488if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13489  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13490else
13491  cat
13492fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13493  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13494$as_echo "$as_me: error: could not setup config files machinery" >&2;}
13495   { (exit 1); exit 1; }; }
13496_ACEOF
13497
13498# VPATH may cause trouble with some makes, so we remove $(srcdir),
13499# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13500# trailing colons and then remove the whole line if VPATH becomes empty
13501# (actually we leave an empty line to preserve line numbers).
13502if test "x$srcdir" = x.; then
13503  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
13504s/:*\$(srcdir):*/:/
13505s/:*\${srcdir}:*/:/
13506s/:*@srcdir@:*/:/
13507s/^\([^=]*=[	 ]*\):*/\1/
13508s/:*$//
13509s/^[^=]*=[	 ]*$//
13510}'
13511fi
13512
13513cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13514fi # test -n "$CONFIG_FILES"
13515
13516# Set up the scripts for CONFIG_HEADERS section.
13517# No need to generate them if there are no CONFIG_HEADERS.
13518# This happens for instance with `./config.status Makefile'.
13519if test -n "$CONFIG_HEADERS"; then
13520cat >"$tmp/defines.awk" <<\_ACAWK ||
13521BEGIN {
13522_ACEOF
13523
13524# Transform confdefs.h into an awk script `defines.awk', embedded as
13525# here-document in config.status, that substitutes the proper values into
13526# config.h.in to produce config.h.
13527
13528# Create a delimiter string that does not exist in confdefs.h, to ease
13529# handling of long lines.
13530ac_delim='%!_!# '
13531for ac_last_try in false false :; do
13532  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13533  if test -z "$ac_t"; then
13534    break
13535  elif $ac_last_try; then
13536    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
13537$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
13538   { (exit 1); exit 1; }; }
13539  else
13540    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13541  fi
13542done
13543
13544# For the awk script, D is an array of macro values keyed by name,
13545# likewise P contains macro parameters if any.  Preserve backslash
13546# newline sequences.
13547
13548ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13549sed -n '
13550s/.\{148\}/&'"$ac_delim"'/g
13551t rset
13552:rset
13553s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13554t def
13555d
13556:def
13557s/\\$//
13558t bsnl
13559s/["\\]/\\&/g
13560s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13561D["\1"]=" \3"/p
13562s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13563d
13564:bsnl
13565s/["\\]/\\&/g
13566s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13567D["\1"]=" \3\\\\\\n"\\/p
13568t cont
13569s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13570t cont
13571d
13572:cont
13573n
13574s/.\{148\}/&'"$ac_delim"'/g
13575t clear
13576:clear
13577s/\\$//
13578t bsnlc
13579s/["\\]/\\&/g; s/^/"/; s/$/"/p
13580d
13581:bsnlc
13582s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13583b cont
13584' <confdefs.h | sed '
13585s/'"$ac_delim"'/"\\\
13586"/g' >>$CONFIG_STATUS || ac_write_fail=1
13587
13588cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13589  for (key in D) D_is_set[key] = 1
13590  FS = ""
13591}
13592/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13593  line = \$ 0
13594  split(line, arg, " ")
13595  if (arg[1] == "#") {
13596    defundef = arg[2]
13597    mac1 = arg[3]
13598  } else {
13599    defundef = substr(arg[1], 2)
13600    mac1 = arg[2]
13601  }
13602  split(mac1, mac2, "(") #)
13603  macro = mac2[1]
13604  prefix = substr(line, 1, index(line, defundef) - 1)
13605  if (D_is_set[macro]) {
13606    # Preserve the white space surrounding the "#".
13607    print prefix "define", macro P[macro] D[macro]
13608    next
13609  } else {
13610    # Replace #undef with comments.  This is necessary, for example,
13611    # in the case of _POSIX_SOURCE, which is predefined and required
13612    # on some systems where configure will not decide to define it.
13613    if (defundef == "undef") {
13614      print "/*", prefix defundef, macro, "*/"
13615      next
13616    }
13617  }
13618}
13619{ print }
13620_ACAWK
13621_ACEOF
13622cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13623  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13624$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13625   { (exit 1); exit 1; }; }
13626fi # test -n "$CONFIG_HEADERS"
13627
13628
13629eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13630shift
13631for ac_tag
13632do
13633  case $ac_tag in
13634  :[FHLC]) ac_mode=$ac_tag; continue;;
13635  esac
13636  case $ac_mode$ac_tag in
13637  :[FHL]*:*);;
13638  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13639$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13640   { (exit 1); exit 1; }; };;
13641  :[FH]-) ac_tag=-:-;;
13642  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13643  esac
13644  ac_save_IFS=$IFS
13645  IFS=:
13646  set x $ac_tag
13647  IFS=$ac_save_IFS
13648  shift
13649  ac_file=$1
13650  shift
13651
13652  case $ac_mode in
13653  :L) ac_source=$1;;
13654  :[FH])
13655    ac_file_inputs=
13656    for ac_f
13657    do
13658      case $ac_f in
13659      -) ac_f="$tmp/stdin";;
13660      *) # Look for the file first in the build tree, then in the source tree
13661	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
13662	 # because $ac_f cannot contain `:'.
13663	 test -f "$ac_f" ||
13664	   case $ac_f in
13665	   [\\/$]*) false;;
13666	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13667	   esac ||
13668	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13669$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13670   { (exit 1); exit 1; }; };;
13671      esac
13672      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13673      ac_file_inputs="$ac_file_inputs '$ac_f'"
13674    done
13675
13676    # Let's still pretend it is `configure' which instantiates (i.e., don't
13677    # use $as_me), people would be surprised to read:
13678    #    /* config.h.  Generated by config.status.  */
13679    configure_input='Generated from '`
13680	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13681	`' by configure.'
13682    if test x"$ac_file" != x-; then
13683      configure_input="$ac_file.  $configure_input"
13684      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13685$as_echo "$as_me: creating $ac_file" >&6;}
13686    fi
13687    # Neutralize special characters interpreted by sed in replacement strings.
13688    case $configure_input in #(
13689    *\&* | *\|* | *\\* )
13690       ac_sed_conf_input=`$as_echo "$configure_input" |
13691       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13692    *) ac_sed_conf_input=$configure_input;;
13693    esac
13694
13695    case $ac_tag in
13696    *:-:* | *:-) cat >"$tmp/stdin" \
13697      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13698$as_echo "$as_me: error: could not create $ac_file" >&2;}
13699   { (exit 1); exit 1; }; } ;;
13700    esac
13701    ;;
13702  esac
13703
13704  ac_dir=`$as_dirname -- "$ac_file" ||
13705$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13706	 X"$ac_file" : 'X\(//\)[^/]' \| \
13707	 X"$ac_file" : 'X\(//\)$' \| \
13708	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13709$as_echo X"$ac_file" |
13710    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13711	    s//\1/
13712	    q
13713	  }
13714	  /^X\(\/\/\)[^/].*/{
13715	    s//\1/
13716	    q
13717	  }
13718	  /^X\(\/\/\)$/{
13719	    s//\1/
13720	    q
13721	  }
13722	  /^X\(\/\).*/{
13723	    s//\1/
13724	    q
13725	  }
13726	  s/.*/./; q'`
13727  { as_dir="$ac_dir"
13728  case $as_dir in #(
13729  -*) as_dir=./$as_dir;;
13730  esac
13731  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13732    as_dirs=
13733    while :; do
13734      case $as_dir in #(
13735      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13736      *) as_qdir=$as_dir;;
13737      esac
13738      as_dirs="'$as_qdir' $as_dirs"
13739      as_dir=`$as_dirname -- "$as_dir" ||
13740$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13741	 X"$as_dir" : 'X\(//\)[^/]' \| \
13742	 X"$as_dir" : 'X\(//\)$' \| \
13743	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13744$as_echo X"$as_dir" |
13745    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13746	    s//\1/
13747	    q
13748	  }
13749	  /^X\(\/\/\)[^/].*/{
13750	    s//\1/
13751	    q
13752	  }
13753	  /^X\(\/\/\)$/{
13754	    s//\1/
13755	    q
13756	  }
13757	  /^X\(\/\).*/{
13758	    s//\1/
13759	    q
13760	  }
13761	  s/.*/./; q'`
13762      test -d "$as_dir" && break
13763    done
13764    test -z "$as_dirs" || eval "mkdir $as_dirs"
13765  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13766$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13767   { (exit 1); exit 1; }; }; }
13768  ac_builddir=.
13769
13770case "$ac_dir" in
13771.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13772*)
13773  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13774  # A ".." for each directory in $ac_dir_suffix.
13775  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13776  case $ac_top_builddir_sub in
13777  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13778  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13779  esac ;;
13780esac
13781ac_abs_top_builddir=$ac_pwd
13782ac_abs_builddir=$ac_pwd$ac_dir_suffix
13783# for backward compatibility:
13784ac_top_builddir=$ac_top_build_prefix
13785
13786case $srcdir in
13787  .)  # We are building in place.
13788    ac_srcdir=.
13789    ac_top_srcdir=$ac_top_builddir_sub
13790    ac_abs_top_srcdir=$ac_pwd ;;
13791  [\\/]* | ?:[\\/]* )  # Absolute name.
13792    ac_srcdir=$srcdir$ac_dir_suffix;
13793    ac_top_srcdir=$srcdir
13794    ac_abs_top_srcdir=$srcdir ;;
13795  *) # Relative name.
13796    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13797    ac_top_srcdir=$ac_top_build_prefix$srcdir
13798    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13799esac
13800ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13801
13802
13803  case $ac_mode in
13804  :F)
13805  #
13806  # CONFIG_FILE
13807  #
13808
13809  case $INSTALL in
13810  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13811  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13812  esac
13813  ac_MKDIR_P=$MKDIR_P
13814  case $MKDIR_P in
13815  [\\/$]* | ?:[\\/]* ) ;;
13816  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13817  esac
13818_ACEOF
13819
13820cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13821# If the template does not know about datarootdir, expand it.
13822# FIXME: This hack should be removed a few years after 2.60.
13823ac_datarootdir_hack=; ac_datarootdir_seen=
13824
13825ac_sed_dataroot='
13826/datarootdir/ {
13827  p
13828  q
13829}
13830/@datadir@/p
13831/@docdir@/p
13832/@infodir@/p
13833/@localedir@/p
13834/@mandir@/p
13835'
13836case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13837*datarootdir*) ac_datarootdir_seen=yes;;
13838*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13839  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13840$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13841_ACEOF
13842cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13843  ac_datarootdir_hack='
13844  s&@datadir@&$datadir&g
13845  s&@docdir@&$docdir&g
13846  s&@infodir@&$infodir&g
13847  s&@localedir@&$localedir&g
13848  s&@mandir@&$mandir&g
13849    s&\\\${datarootdir}&$datarootdir&g' ;;
13850esac
13851_ACEOF
13852
13853# Neutralize VPATH when `$srcdir' = `.'.
13854# Shell code in configure.ac might set extrasub.
13855# FIXME: do we really want to maintain this feature?
13856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13857ac_sed_extra="$ac_vpsub
13858$extrasub
13859_ACEOF
13860cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13861:t
13862/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13863s|@configure_input@|$ac_sed_conf_input|;t t
13864s&@top_builddir@&$ac_top_builddir_sub&;t t
13865s&@top_build_prefix@&$ac_top_build_prefix&;t t
13866s&@srcdir@&$ac_srcdir&;t t
13867s&@abs_srcdir@&$ac_abs_srcdir&;t t
13868s&@top_srcdir@&$ac_top_srcdir&;t t
13869s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13870s&@builddir@&$ac_builddir&;t t
13871s&@abs_builddir@&$ac_abs_builddir&;t t
13872s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13873s&@INSTALL@&$ac_INSTALL&;t t
13874s&@MKDIR_P@&$ac_MKDIR_P&;t t
13875$ac_datarootdir_hack
13876"
13877eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13878  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13879$as_echo "$as_me: error: could not create $ac_file" >&2;}
13880   { (exit 1); exit 1; }; }
13881
13882test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13883  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13884  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13885  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13886which seems to be undefined.  Please make sure it is defined." >&5
13887$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13888which seems to be undefined.  Please make sure it is defined." >&2;}
13889
13890  rm -f "$tmp/stdin"
13891  case $ac_file in
13892  -) cat "$tmp/out" && rm -f "$tmp/out";;
13893  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13894  esac \
13895  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13896$as_echo "$as_me: error: could not create $ac_file" >&2;}
13897   { (exit 1); exit 1; }; }
13898 ;;
13899  :H)
13900  #
13901  # CONFIG_HEADER
13902  #
13903  if test x"$ac_file" != x-; then
13904    {
13905      $as_echo "/* $configure_input  */" \
13906      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13907    } >"$tmp/config.h" \
13908      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13909$as_echo "$as_me: error: could not create $ac_file" >&2;}
13910   { (exit 1); exit 1; }; }
13911    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13912      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13913$as_echo "$as_me: $ac_file is unchanged" >&6;}
13914    else
13915      rm -f "$ac_file"
13916      mv "$tmp/config.h" "$ac_file" \
13917	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13918$as_echo "$as_me: error: could not create $ac_file" >&2;}
13919   { (exit 1); exit 1; }; }
13920    fi
13921  else
13922    $as_echo "/* $configure_input  */" \
13923      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13924      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13925$as_echo "$as_me: error: could not create -" >&2;}
13926   { (exit 1); exit 1; }; }
13927  fi
13928# Compute "$ac_file"'s index in $config_headers.
13929_am_arg="$ac_file"
13930_am_stamp_count=1
13931for _am_header in $config_headers :; do
13932  case $_am_header in
13933    $_am_arg | $_am_arg:* )
13934      break ;;
13935    * )
13936      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13937  esac
13938done
13939echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13940$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13941	 X"$_am_arg" : 'X\(//\)[^/]' \| \
13942	 X"$_am_arg" : 'X\(//\)$' \| \
13943	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13944$as_echo X"$_am_arg" |
13945    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13946	    s//\1/
13947	    q
13948	  }
13949	  /^X\(\/\/\)[^/].*/{
13950	    s//\1/
13951	    q
13952	  }
13953	  /^X\(\/\/\)$/{
13954	    s//\1/
13955	    q
13956	  }
13957	  /^X\(\/\).*/{
13958	    s//\1/
13959	    q
13960	  }
13961	  s/.*/./; q'`/stamp-h$_am_stamp_count
13962 ;;
13963
13964  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
13965$as_echo "$as_me: executing $ac_file commands" >&6;}
13966 ;;
13967  esac
13968
13969
13970  case $ac_file$ac_mode in
13971    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
13972# are listed without --file.  Let's play safe and only enable the eval
13973# if we detect the quoting.
13974case $CONFIG_FILES in
13975*\'*) eval set x "$CONFIG_FILES" ;;
13976*)   set x $CONFIG_FILES ;;
13977esac
13978shift
13979for mf
13980do
13981  # Strip MF so we end up with the name of the file.
13982  mf=`echo "$mf" | sed -e 's/:.*$//'`
13983  # Check whether this is an Automake generated Makefile or not.
13984  # We used to match only the files named `Makefile.in', but
13985  # some people rename them; so instead we look at the file content.
13986  # Grep'ing the first line is not enough: some people post-process
13987  # each Makefile.in and add a new line on top of each file to say so.
13988  # Grep'ing the whole file is not good either: AIX grep has a line
13989  # limit of 2048, but all sed's we know have understand at least 4000.
13990  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13991    dirpart=`$as_dirname -- "$mf" ||
13992$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13993	 X"$mf" : 'X\(//\)[^/]' \| \
13994	 X"$mf" : 'X\(//\)$' \| \
13995	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13996$as_echo X"$mf" |
13997    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13998	    s//\1/
13999	    q
14000	  }
14001	  /^X\(\/\/\)[^/].*/{
14002	    s//\1/
14003	    q
14004	  }
14005	  /^X\(\/\/\)$/{
14006	    s//\1/
14007	    q
14008	  }
14009	  /^X\(\/\).*/{
14010	    s//\1/
14011	    q
14012	  }
14013	  s/.*/./; q'`
14014  else
14015    continue
14016  fi
14017  # Extract the definition of DEPDIR, am__include, and am__quote
14018  # from the Makefile without running `make'.
14019  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14020  test -z "$DEPDIR" && continue
14021  am__include=`sed -n 's/^am__include = //p' < "$mf"`
14022  test -z "am__include" && continue
14023  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14024  # When using ansi2knr, U may be empty or an underscore; expand it
14025  U=`sed -n 's/^U = //p' < "$mf"`
14026  # Find all dependency output files, they are included files with
14027  # $(DEPDIR) in their names.  We invoke sed twice because it is the
14028  # simplest approach to changing $(DEPDIR) to its actual value in the
14029  # expansion.
14030  for file in `sed -n "
14031    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14032       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14033    # Make sure the directory exists.
14034    test -f "$dirpart/$file" && continue
14035    fdir=`$as_dirname -- "$file" ||
14036$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14037	 X"$file" : 'X\(//\)[^/]' \| \
14038	 X"$file" : 'X\(//\)$' \| \
14039	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14040$as_echo X"$file" |
14041    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14042	    s//\1/
14043	    q
14044	  }
14045	  /^X\(\/\/\)[^/].*/{
14046	    s//\1/
14047	    q
14048	  }
14049	  /^X\(\/\/\)$/{
14050	    s//\1/
14051	    q
14052	  }
14053	  /^X\(\/\).*/{
14054	    s//\1/
14055	    q
14056	  }
14057	  s/.*/./; q'`
14058    { as_dir=$dirpart/$fdir
14059  case $as_dir in #(
14060  -*) as_dir=./$as_dir;;
14061  esac
14062  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14063    as_dirs=
14064    while :; do
14065      case $as_dir in #(
14066      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14067      *) as_qdir=$as_dir;;
14068      esac
14069      as_dirs="'$as_qdir' $as_dirs"
14070      as_dir=`$as_dirname -- "$as_dir" ||
14071$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14072	 X"$as_dir" : 'X\(//\)[^/]' \| \
14073	 X"$as_dir" : 'X\(//\)$' \| \
14074	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14075$as_echo X"$as_dir" |
14076    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14077	    s//\1/
14078	    q
14079	  }
14080	  /^X\(\/\/\)[^/].*/{
14081	    s//\1/
14082	    q
14083	  }
14084	  /^X\(\/\/\)$/{
14085	    s//\1/
14086	    q
14087	  }
14088	  /^X\(\/\).*/{
14089	    s//\1/
14090	    q
14091	  }
14092	  s/.*/./; q'`
14093      test -d "$as_dir" && break
14094    done
14095    test -z "$as_dirs" || eval "mkdir $as_dirs"
14096  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14097$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14098   { (exit 1); exit 1; }; }; }
14099    # echo "creating $dirpart/$file"
14100    echo '# dummy' > "$dirpart/$file"
14101  done
14102done
14103 ;;
14104    "libtool":C)
14105
14106    # See if we are running on zsh, and set the options which allow our
14107    # commands through without removal of \ escapes.
14108    if test -n "${ZSH_VERSION+set}" ; then
14109      setopt NO_GLOB_SUBST
14110    fi
14111
14112    cfgfile="${ofile}T"
14113    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14114    $RM "$cfgfile"
14115
14116    cat <<_LT_EOF >> "$cfgfile"
14117#! $SHELL
14118
14119# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14120# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14121# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14122# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14123#
14124#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14125#                 2006, 2007, 2008 Free Software Foundation, Inc.
14126#   Written by Gordon Matzigkeit, 1996
14127#
14128#   This file is part of GNU Libtool.
14129#
14130# GNU Libtool is free software; you can redistribute it and/or
14131# modify it under the terms of the GNU General Public License as
14132# published by the Free Software Foundation; either version 2 of
14133# the License, or (at your option) any later version.
14134#
14135# As a special exception to the GNU General Public License,
14136# if you distribute this file as part of a program or library that
14137# is built using GNU Libtool, you may include this file under the
14138# same distribution terms that you use for the rest of that program.
14139#
14140# GNU Libtool is distributed in the hope that it will be useful,
14141# but WITHOUT ANY WARRANTY; without even the implied warranty of
14142# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14143# GNU General Public License for more details.
14144#
14145# You should have received a copy of the GNU General Public License
14146# along with GNU Libtool; see the file COPYING.  If not, a copy
14147# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14148# obtained by writing to the Free Software Foundation, Inc.,
14149# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14150
14151
14152# The names of the tagged configurations supported by this script.
14153available_tags=""
14154
14155# ### BEGIN LIBTOOL CONFIG
14156
14157# Which release of libtool.m4 was used?
14158macro_version=$macro_version
14159macro_revision=$macro_revision
14160
14161# Whether or not to build shared libraries.
14162build_libtool_libs=$enable_shared
14163
14164# Whether or not to build static libraries.
14165build_old_libs=$enable_static
14166
14167# What type of objects to build.
14168pic_mode=$pic_mode
14169
14170# Whether or not to optimize for fast installation.
14171fast_install=$enable_fast_install
14172
14173# The host system.
14174host_alias=$host_alias
14175host=$host
14176host_os=$host_os
14177
14178# The build system.
14179build_alias=$build_alias
14180build=$build
14181build_os=$build_os
14182
14183# A sed program that does not truncate output.
14184SED=$lt_SED
14185
14186# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14187Xsed="\$SED -e 1s/^X//"
14188
14189# A grep program that handles long lines.
14190GREP=$lt_GREP
14191
14192# An ERE matcher.
14193EGREP=$lt_EGREP
14194
14195# A literal string matcher.
14196FGREP=$lt_FGREP
14197
14198# A BSD- or MS-compatible name lister.
14199NM=$lt_NM
14200
14201# Whether we need soft or hard links.
14202LN_S=$lt_LN_S
14203
14204# What is the maximum length of a command?
14205max_cmd_len=$max_cmd_len
14206
14207# Object file suffix (normally "o").
14208objext=$ac_objext
14209
14210# Executable file suffix (normally "").
14211exeext=$exeext
14212
14213# whether the shell understands "unset".
14214lt_unset=$lt_unset
14215
14216# turn spaces into newlines.
14217SP2NL=$lt_lt_SP2NL
14218
14219# turn newlines into spaces.
14220NL2SP=$lt_lt_NL2SP
14221
14222# How to create reloadable object files.
14223reload_flag=$lt_reload_flag
14224reload_cmds=$lt_reload_cmds
14225
14226# An object symbol dumper.
14227OBJDUMP=$lt_OBJDUMP
14228
14229# Method to check whether dependent libraries are shared objects.
14230deplibs_check_method=$lt_deplibs_check_method
14231
14232# Command to use when deplibs_check_method == "file_magic".
14233file_magic_cmd=$lt_file_magic_cmd
14234
14235# The archiver.
14236AR=$lt_AR
14237AR_FLAGS=$lt_AR_FLAGS
14238
14239# A symbol stripping program.
14240STRIP=$lt_STRIP
14241
14242# Commands used to install an old-style archive.
14243RANLIB=$lt_RANLIB
14244old_postinstall_cmds=$lt_old_postinstall_cmds
14245old_postuninstall_cmds=$lt_old_postuninstall_cmds
14246
14247# A C compiler.
14248LTCC=$lt_CC
14249
14250# LTCC compiler flags.
14251LTCFLAGS=$lt_CFLAGS
14252
14253# Take the output of nm and produce a listing of raw symbols and C names.
14254global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14255
14256# Transform the output of nm in a proper C declaration.
14257global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14258
14259# Transform the output of nm in a C name address pair.
14260global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14261
14262# Transform the output of nm in a C name address pair when lib prefix is needed.
14263global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14264
14265# The name of the directory that contains temporary libtool files.
14266objdir=$objdir
14267
14268# Shell to use when invoking shell scripts.
14269SHELL=$lt_SHELL
14270
14271# An echo program that does not interpret backslashes.
14272ECHO=$lt_ECHO
14273
14274# Used to examine libraries when file_magic_cmd begins with "file".
14275MAGIC_CMD=$MAGIC_CMD
14276
14277# Must we lock files when doing compilation?
14278need_locks=$lt_need_locks
14279
14280# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14281DSYMUTIL=$lt_DSYMUTIL
14282
14283# Tool to change global to local symbols on Mac OS X.
14284NMEDIT=$lt_NMEDIT
14285
14286# Tool to manipulate fat objects and archives on Mac OS X.
14287LIPO=$lt_LIPO
14288
14289# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14290OTOOL=$lt_OTOOL
14291
14292# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14293OTOOL64=$lt_OTOOL64
14294
14295# Old archive suffix (normally "a").
14296libext=$libext
14297
14298# Shared library suffix (normally ".so").
14299shrext_cmds=$lt_shrext_cmds
14300
14301# The commands to extract the exported symbol list from a shared archive.
14302extract_expsyms_cmds=$lt_extract_expsyms_cmds
14303
14304# Variables whose values should be saved in libtool wrapper scripts and
14305# restored at link time.
14306variables_saved_for_relink=$lt_variables_saved_for_relink
14307
14308# Do we need the "lib" prefix for modules?
14309need_lib_prefix=$need_lib_prefix
14310
14311# Do we need a version for libraries?
14312need_version=$need_version
14313
14314# Library versioning type.
14315version_type=$version_type
14316
14317# Shared library runtime path variable.
14318runpath_var=$runpath_var
14319
14320# Shared library path variable.
14321shlibpath_var=$shlibpath_var
14322
14323# Is shlibpath searched before the hard-coded library search path?
14324shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14325
14326# Format of library name prefix.
14327libname_spec=$lt_libname_spec
14328
14329# List of archive names.  First name is the real one, the rest are links.
14330# The last name is the one that the linker finds with -lNAME
14331library_names_spec=$lt_library_names_spec
14332
14333# The coded name of the library, if different from the real name.
14334soname_spec=$lt_soname_spec
14335
14336# Command to use after installation of a shared archive.
14337postinstall_cmds=$lt_postinstall_cmds
14338
14339# Command to use after uninstallation of a shared archive.
14340postuninstall_cmds=$lt_postuninstall_cmds
14341
14342# Commands used to finish a libtool library installation in a directory.
14343finish_cmds=$lt_finish_cmds
14344
14345# As "finish_cmds", except a single script fragment to be evaled but
14346# not shown.
14347finish_eval=$lt_finish_eval
14348
14349# Whether we should hardcode library paths into libraries.
14350hardcode_into_libs=$hardcode_into_libs
14351
14352# Compile-time system search path for libraries.
14353sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14354
14355# Run-time system search path for libraries.
14356sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14357
14358# Whether dlopen is supported.
14359dlopen_support=$enable_dlopen
14360
14361# Whether dlopen of programs is supported.
14362dlopen_self=$enable_dlopen_self
14363
14364# Whether dlopen of statically linked programs is supported.
14365dlopen_self_static=$enable_dlopen_self_static
14366
14367# Commands to strip libraries.
14368old_striplib=$lt_old_striplib
14369striplib=$lt_striplib
14370
14371
14372# The linker used to build libraries.
14373LD=$lt_LD
14374
14375# Commands used to build an old-style archive.
14376old_archive_cmds=$lt_old_archive_cmds
14377
14378# A language specific compiler.
14379CC=$lt_compiler
14380
14381# Is the compiler the GNU compiler?
14382with_gcc=$GCC
14383
14384# Compiler flag to turn off builtin functions.
14385no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14386
14387# How to pass a linker flag through the compiler.
14388wl=$lt_lt_prog_compiler_wl
14389
14390# Additional compiler flags for building library objects.
14391pic_flag=$lt_lt_prog_compiler_pic
14392
14393# Compiler flag to prevent dynamic linking.
14394link_static_flag=$lt_lt_prog_compiler_static
14395
14396# Does compiler simultaneously support -c and -o options?
14397compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14398
14399# Whether or not to add -lc for building shared libraries.
14400build_libtool_need_lc=$archive_cmds_need_lc
14401
14402# Whether or not to disallow shared libs when runtime libs are static.
14403allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14404
14405# Compiler flag to allow reflexive dlopens.
14406export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14407
14408# Compiler flag to generate shared objects directly from archives.
14409whole_archive_flag_spec=$lt_whole_archive_flag_spec
14410
14411# Whether the compiler copes with passing no objects directly.
14412compiler_needs_object=$lt_compiler_needs_object
14413
14414# Create an old-style archive from a shared archive.
14415old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14416
14417# Create a temporary old-style archive to link instead of a shared archive.
14418old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14419
14420# Commands used to build a shared archive.
14421archive_cmds=$lt_archive_cmds
14422archive_expsym_cmds=$lt_archive_expsym_cmds
14423
14424# Commands used to build a loadable module if different from building
14425# a shared archive.
14426module_cmds=$lt_module_cmds
14427module_expsym_cmds=$lt_module_expsym_cmds
14428
14429# Whether we are building with GNU ld or not.
14430with_gnu_ld=$lt_with_gnu_ld
14431
14432# Flag that allows shared libraries with undefined symbols to be built.
14433allow_undefined_flag=$lt_allow_undefined_flag
14434
14435# Flag that enforces no undefined symbols.
14436no_undefined_flag=$lt_no_undefined_flag
14437
14438# Flag to hardcode \$libdir into a binary during linking.
14439# This must work even if \$libdir does not exist
14440hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14441
14442# If ld is used when linking, flag to hardcode \$libdir into a binary
14443# during linking.  This must work even if \$libdir does not exist.
14444hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14445
14446# Whether we need a single "-rpath" flag with a separated argument.
14447hardcode_libdir_separator=$lt_hardcode_libdir_separator
14448
14449# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14450# DIR into the resulting binary.
14451hardcode_direct=$hardcode_direct
14452
14453# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14454# DIR into the resulting binary and the resulting library dependency is
14455# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14456# library is relocated.
14457hardcode_direct_absolute=$hardcode_direct_absolute
14458
14459# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14460# into the resulting binary.
14461hardcode_minus_L=$hardcode_minus_L
14462
14463# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14464# into the resulting binary.
14465hardcode_shlibpath_var=$hardcode_shlibpath_var
14466
14467# Set to "yes" if building a shared library automatically hardcodes DIR
14468# into the library and all subsequent libraries and executables linked
14469# against it.
14470hardcode_automatic=$hardcode_automatic
14471
14472# Set to yes if linker adds runtime paths of dependent libraries
14473# to runtime path list.
14474inherit_rpath=$inherit_rpath
14475
14476# Whether libtool must link a program against all its dependency libraries.
14477link_all_deplibs=$link_all_deplibs
14478
14479# Fix the shell variable \$srcfile for the compiler.
14480fix_srcfile_path=$lt_fix_srcfile_path
14481
14482# Set to "yes" if exported symbols are required.
14483always_export_symbols=$always_export_symbols
14484
14485# The commands to list exported symbols.
14486export_symbols_cmds=$lt_export_symbols_cmds
14487
14488# Symbols that should not be listed in the preloaded symbols.
14489exclude_expsyms=$lt_exclude_expsyms
14490
14491# Symbols that must always be exported.
14492include_expsyms=$lt_include_expsyms
14493
14494# Commands necessary for linking programs (against libraries) with templates.
14495prelink_cmds=$lt_prelink_cmds
14496
14497# Specify filename containing input files.
14498file_list_spec=$lt_file_list_spec
14499
14500# How to hardcode a shared library path into an executable.
14501hardcode_action=$hardcode_action
14502
14503# ### END LIBTOOL CONFIG
14504
14505_LT_EOF
14506
14507  case $host_os in
14508  aix3*)
14509    cat <<\_LT_EOF >> "$cfgfile"
14510# AIX sometimes has problems with the GCC collect2 program.  For some
14511# reason, if we set the COLLECT_NAMES environment variable, the problems
14512# vanish in a puff of smoke.
14513if test "X${COLLECT_NAMES+set}" != Xset; then
14514  COLLECT_NAMES=
14515  export COLLECT_NAMES
14516fi
14517_LT_EOF
14518    ;;
14519  esac
14520
14521
14522ltmain="$ac_aux_dir/ltmain.sh"
14523
14524
14525  # We use sed instead of cat because bash on DJGPP gets confused if
14526  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14527  # text mode, it properly converts lines to CR/LF.  This bash problem
14528  # is reportedly fixed, but why not run on old versions too?
14529  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14530    || (rm -f "$cfgfile"; exit 1)
14531
14532  case $xsi_shell in
14533  yes)
14534    cat << \_LT_EOF >> "$cfgfile"
14535
14536# func_dirname file append nondir_replacement
14537# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14538# otherwise set result to NONDIR_REPLACEMENT.
14539func_dirname ()
14540{
14541  case ${1} in
14542    */*) func_dirname_result="${1%/*}${2}" ;;
14543    *  ) func_dirname_result="${3}" ;;
14544  esac
14545}
14546
14547# func_basename file
14548func_basename ()
14549{
14550  func_basename_result="${1##*/}"
14551}
14552
14553# func_dirname_and_basename file append nondir_replacement
14554# perform func_basename and func_dirname in a single function
14555# call:
14556#   dirname:  Compute the dirname of FILE.  If nonempty,
14557#             add APPEND to the result, otherwise set result
14558#             to NONDIR_REPLACEMENT.
14559#             value returned in "$func_dirname_result"
14560#   basename: Compute filename of FILE.
14561#             value retuned in "$func_basename_result"
14562# Implementation must be kept synchronized with func_dirname
14563# and func_basename. For efficiency, we do not delegate to
14564# those functions but instead duplicate the functionality here.
14565func_dirname_and_basename ()
14566{
14567  case ${1} in
14568    */*) func_dirname_result="${1%/*}${2}" ;;
14569    *  ) func_dirname_result="${3}" ;;
14570  esac
14571  func_basename_result="${1##*/}"
14572}
14573
14574# func_stripname prefix suffix name
14575# strip PREFIX and SUFFIX off of NAME.
14576# PREFIX and SUFFIX must not contain globbing or regex special
14577# characters, hashes, percent signs, but SUFFIX may contain a leading
14578# dot (in which case that matches only a dot).
14579func_stripname ()
14580{
14581  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14582  # positional parameters, so assign one to ordinary parameter first.
14583  func_stripname_result=${3}
14584  func_stripname_result=${func_stripname_result#"${1}"}
14585  func_stripname_result=${func_stripname_result%"${2}"}
14586}
14587
14588# func_opt_split
14589func_opt_split ()
14590{
14591  func_opt_split_opt=${1%%=*}
14592  func_opt_split_arg=${1#*=}
14593}
14594
14595# func_lo2o object
14596func_lo2o ()
14597{
14598  case ${1} in
14599    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14600    *)    func_lo2o_result=${1} ;;
14601  esac
14602}
14603
14604# func_xform libobj-or-source
14605func_xform ()
14606{
14607  func_xform_result=${1%.*}.lo
14608}
14609
14610# func_arith arithmetic-term...
14611func_arith ()
14612{
14613  func_arith_result=$(( $* ))
14614}
14615
14616# func_len string
14617# STRING may not start with a hyphen.
14618func_len ()
14619{
14620  func_len_result=${#1}
14621}
14622
14623_LT_EOF
14624    ;;
14625  *) # Bourne compatible functions.
14626    cat << \_LT_EOF >> "$cfgfile"
14627
14628# func_dirname file append nondir_replacement
14629# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14630# otherwise set result to NONDIR_REPLACEMENT.
14631func_dirname ()
14632{
14633  # Extract subdirectory from the argument.
14634  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14635  if test "X$func_dirname_result" = "X${1}"; then
14636    func_dirname_result="${3}"
14637  else
14638    func_dirname_result="$func_dirname_result${2}"
14639  fi
14640}
14641
14642# func_basename file
14643func_basename ()
14644{
14645  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14646}
14647
14648
14649# func_stripname prefix suffix name
14650# strip PREFIX and SUFFIX off of NAME.
14651# PREFIX and SUFFIX must not contain globbing or regex special
14652# characters, hashes, percent signs, but SUFFIX may contain a leading
14653# dot (in which case that matches only a dot).
14654# func_strip_suffix prefix name
14655func_stripname ()
14656{
14657  case ${2} in
14658    .*) func_stripname_result=`$ECHO "X${3}" \
14659           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14660    *)  func_stripname_result=`$ECHO "X${3}" \
14661           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14662  esac
14663}
14664
14665# sed scripts:
14666my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14667my_sed_long_arg='1s/^-[^=]*=//'
14668
14669# func_opt_split
14670func_opt_split ()
14671{
14672  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14673  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14674}
14675
14676# func_lo2o object
14677func_lo2o ()
14678{
14679  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14680}
14681
14682# func_xform libobj-or-source
14683func_xform ()
14684{
14685  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14686}
14687
14688# func_arith arithmetic-term...
14689func_arith ()
14690{
14691  func_arith_result=`expr "$@"`
14692}
14693
14694# func_len string
14695# STRING may not start with a hyphen.
14696func_len ()
14697{
14698  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14699}
14700
14701_LT_EOF
14702esac
14703
14704case $lt_shell_append in
14705  yes)
14706    cat << \_LT_EOF >> "$cfgfile"
14707
14708# func_append var value
14709# Append VALUE to the end of shell variable VAR.
14710func_append ()
14711{
14712  eval "$1+=\$2"
14713}
14714_LT_EOF
14715    ;;
14716  *)
14717    cat << \_LT_EOF >> "$cfgfile"
14718
14719# func_append var value
14720# Append VALUE to the end of shell variable VAR.
14721func_append ()
14722{
14723  eval "$1=\$$1\$2"
14724}
14725
14726_LT_EOF
14727    ;;
14728  esac
14729
14730
14731  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14732    || (rm -f "$cfgfile"; exit 1)
14733
14734  mv -f "$cfgfile" "$ofile" ||
14735    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14736  chmod +x "$ofile"
14737
14738 ;;
14739
14740  esac
14741done # for ac_tag
14742
14743
14744{ (exit 0); exit 0; }
14745_ACEOF
14746chmod +x $CONFIG_STATUS
14747ac_clean_files=$ac_clean_files_save
14748
14749test $ac_write_fail = 0 ||
14750  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14751$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14752   { (exit 1); exit 1; }; }
14753
14754
14755# configure is writing to config.log, and then calls config.status.
14756# config.status does its own redirection, appending to config.log.
14757# Unfortunately, on DOS this fails, as config.log is still kept open
14758# by configure, so config.status won't be able to write to it; its
14759# output is simply discarded.  So we exec the FD to /dev/null,
14760# effectively closing config.log, so it can be properly (re)opened and
14761# appended to by config.status.  When coming back to configure, we
14762# need to make the FD available again.
14763if test "$no_create" != yes; then
14764  ac_cs_success=:
14765  ac_config_status_args=
14766  test "$silent" = yes &&
14767    ac_config_status_args="$ac_config_status_args --quiet"
14768  exec 5>/dev/null
14769  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14770  exec 5>>config.log
14771  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14772  # would make configure fail if this is the last instruction.
14773  $ac_cs_success || { (exit 1); exit 1; }
14774fi
14775if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14776  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14777$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14778fi
14779
14780