configure revision 775e7de9
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for libXaw 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='libXaw'
747PACKAGE_TARNAME='libXaw'
748PACKAGE_VERSION='1.0.6'
749PACKAGE_STRING='libXaw 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
792ADMIN_MAN_DIR
793DRIVER_MAN_DIR
794MISC_MAN_DIR
795FILE_MAN_DIR
796LIB_MAN_DIR
797APP_MAN_DIR
798ADMIN_MAN_SUFFIX
799DRIVER_MAN_SUFFIX
800MISC_MAN_SUFFIX
801FILE_MAN_SUFFIX
802LIB_MAN_SUFFIX
803APP_MAN_SUFFIX
804BUILD_XAW7_FALSE
805BUILD_XAW7_TRUE
806BUILD_XAW6_FALSE
807BUILD_XAW6_TRUE
808XAW7_LIBS
809XAW7_CFLAGS
810XAW6_LIBS
811XAW6_CFLAGS
812PLATFORM_DARWIN_FALSE
813PLATFORM_DARWIN_TRUE
814PLATFORM_WIN32_FALSE
815PLATFORM_WIN32_TRUE
816LIBEXT
817CWARNFLAGS
818PKG_CONFIG
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
863am__untar
864am__tar
865AMTAR
866am__leading_dot
867SET_MAKE
868AWK
869mkdir_p
870MKDIR_P
871INSTALL_STRIP_PROGRAM
872STRIP
873install_sh
874MAKEINFO
875AUTOHEADER
876AUTOMAKE
877AUTOCONF
878ACLOCAL
879VERSION
880PACKAGE
881CYGPATH_W
882am__isrc
883INSTALL_DATA
884INSTALL_SCRIPT
885INSTALL_PROGRAM
886target_alias
887host_alias
888build_alias
889LIBS
890ECHO_T
891ECHO_N
892ECHO_C
893DEFS
894mandir
895localedir
896libdir
897psdir
898pdfdir
899dvidir
900htmldir
901infodir
902docdir
903oldincludedir
904includedir
905localstatedir
906sharedstatedir
907sysconfdir
908datadir
909datarootdir
910libexecdir
911sbindir
912bindir
913program_transform_name
914prefix
915exec_prefix
916PACKAGE_BUGREPORT
917PACKAGE_STRING
918PACKAGE_VERSION
919PACKAGE_TARNAME
920PACKAGE_NAME
921PATH_SEPARATOR
922SHELL'
923ac_subst_files=''
924ac_user_opts='
925enable_option_checking
926enable_dependency_tracking
927enable_shared
928enable_static
929with_pic
930enable_fast_install
931with_gnu_ld
932enable_libtool_lock
933enable_xaw6
934enable_xaw7
935with_release_version
936'
937      ac_precious_vars='build_alias
938host_alias
939target_alias
940CC
941CFLAGS
942LDFLAGS
943LIBS
944CPPFLAGS
945CPP
946PKG_CONFIG
947XAW6_CFLAGS
948XAW6_LIBS
949XAW7_CFLAGS
950XAW7_LIBS'
951
952
953# Initialize some variables set by options.
954ac_init_help=
955ac_init_version=false
956ac_unrecognized_opts=
957ac_unrecognized_sep=
958# The variables have the same names as the options, with
959# dashes changed to underlines.
960cache_file=/dev/null
961exec_prefix=NONE
962no_create=
963no_recursion=
964prefix=NONE
965program_prefix=NONE
966program_suffix=NONE
967program_transform_name=s,x,x,
968silent=
969site=
970srcdir=
971verbose=
972x_includes=NONE
973x_libraries=NONE
974
975# Installation directory options.
976# These are left unexpanded so users can "make install exec_prefix=/foo"
977# and all the variables that are supposed to be based on exec_prefix
978# by default will actually change.
979# Use braces instead of parens because sh, perl, etc. also accept them.
980# (The list follows the same order as the GNU Coding Standards.)
981bindir='${exec_prefix}/bin'
982sbindir='${exec_prefix}/sbin'
983libexecdir='${exec_prefix}/libexec'
984datarootdir='${prefix}/share'
985datadir='${datarootdir}'
986sysconfdir='${prefix}/etc'
987sharedstatedir='${prefix}/com'
988localstatedir='${prefix}/var'
989includedir='${prefix}/include'
990oldincludedir='/usr/include'
991docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
992infodir='${datarootdir}/info'
993htmldir='${docdir}'
994dvidir='${docdir}'
995pdfdir='${docdir}'
996psdir='${docdir}'
997libdir='${exec_prefix}/lib'
998localedir='${datarootdir}/locale'
999mandir='${datarootdir}/man'
1000
1001ac_prev=
1002ac_dashdash=
1003for ac_option
1004do
1005  # If the previous option needs an argument, assign it.
1006  if test -n "$ac_prev"; then
1007    eval $ac_prev=\$ac_option
1008    ac_prev=
1009    continue
1010  fi
1011
1012  case $ac_option in
1013  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1014  *)	ac_optarg=yes ;;
1015  esac
1016
1017  # Accept the important Cygnus configure options, so we can diagnose typos.
1018
1019  case $ac_dashdash$ac_option in
1020  --)
1021    ac_dashdash=yes ;;
1022
1023  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1024    ac_prev=bindir ;;
1025  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1026    bindir=$ac_optarg ;;
1027
1028  -build | --build | --buil | --bui | --bu)
1029    ac_prev=build_alias ;;
1030  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1031    build_alias=$ac_optarg ;;
1032
1033  -cache-file | --cache-file | --cache-fil | --cache-fi \
1034  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1035    ac_prev=cache_file ;;
1036  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1037  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1038    cache_file=$ac_optarg ;;
1039
1040  --config-cache | -C)
1041    cache_file=config.cache ;;
1042
1043  -datadir | --datadir | --datadi | --datad)
1044    ac_prev=datadir ;;
1045  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1046    datadir=$ac_optarg ;;
1047
1048  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1049  | --dataroo | --dataro | --datar)
1050    ac_prev=datarootdir ;;
1051  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1052  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1053    datarootdir=$ac_optarg ;;
1054
1055  -disable-* | --disable-*)
1056    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057    # Reject names that are not valid shell variable names.
1058    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1060   { (exit 1); exit 1; }; }
1061    ac_useropt_orig=$ac_useropt
1062    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063    case $ac_user_opts in
1064      *"
1065"enable_$ac_useropt"
1066"*) ;;
1067      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1068	 ac_unrecognized_sep=', ';;
1069    esac
1070    eval enable_$ac_useropt=no ;;
1071
1072  -docdir | --docdir | --docdi | --doc | --do)
1073    ac_prev=docdir ;;
1074  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1075    docdir=$ac_optarg ;;
1076
1077  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1078    ac_prev=dvidir ;;
1079  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1080    dvidir=$ac_optarg ;;
1081
1082  -enable-* | --enable-*)
1083    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1084    # Reject names that are not valid shell variable names.
1085    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1087   { (exit 1); exit 1; }; }
1088    ac_useropt_orig=$ac_useropt
1089    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090    case $ac_user_opts in
1091      *"
1092"enable_$ac_useropt"
1093"*) ;;
1094      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1095	 ac_unrecognized_sep=', ';;
1096    esac
1097    eval enable_$ac_useropt=\$ac_optarg ;;
1098
1099  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1100  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1101  | --exec | --exe | --ex)
1102    ac_prev=exec_prefix ;;
1103  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1104  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1105  | --exec=* | --exe=* | --ex=*)
1106    exec_prefix=$ac_optarg ;;
1107
1108  -gas | --gas | --ga | --g)
1109    # Obsolete; use --with-gas.
1110    with_gas=yes ;;
1111
1112  -help | --help | --hel | --he | -h)
1113    ac_init_help=long ;;
1114  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1115    ac_init_help=recursive ;;
1116  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1117    ac_init_help=short ;;
1118
1119  -host | --host | --hos | --ho)
1120    ac_prev=host_alias ;;
1121  -host=* | --host=* | --hos=* | --ho=*)
1122    host_alias=$ac_optarg ;;
1123
1124  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1125    ac_prev=htmldir ;;
1126  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1127  | --ht=*)
1128    htmldir=$ac_optarg ;;
1129
1130  -includedir | --includedir | --includedi | --included | --include \
1131  | --includ | --inclu | --incl | --inc)
1132    ac_prev=includedir ;;
1133  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1134  | --includ=* | --inclu=* | --incl=* | --inc=*)
1135    includedir=$ac_optarg ;;
1136
1137  -infodir | --infodir | --infodi | --infod | --info | --inf)
1138    ac_prev=infodir ;;
1139  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1140    infodir=$ac_optarg ;;
1141
1142  -libdir | --libdir | --libdi | --libd)
1143    ac_prev=libdir ;;
1144  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1145    libdir=$ac_optarg ;;
1146
1147  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1148  | --libexe | --libex | --libe)
1149    ac_prev=libexecdir ;;
1150  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1151  | --libexe=* | --libex=* | --libe=*)
1152    libexecdir=$ac_optarg ;;
1153
1154  -localedir | --localedir | --localedi | --localed | --locale)
1155    ac_prev=localedir ;;
1156  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1157    localedir=$ac_optarg ;;
1158
1159  -localstatedir | --localstatedir | --localstatedi | --localstated \
1160  | --localstate | --localstat | --localsta | --localst | --locals)
1161    ac_prev=localstatedir ;;
1162  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1163  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1164    localstatedir=$ac_optarg ;;
1165
1166  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1167    ac_prev=mandir ;;
1168  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1169    mandir=$ac_optarg ;;
1170
1171  -nfp | --nfp | --nf)
1172    # Obsolete; use --without-fp.
1173    with_fp=no ;;
1174
1175  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1176  | --no-cr | --no-c | -n)
1177    no_create=yes ;;
1178
1179  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1180  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1181    no_recursion=yes ;;
1182
1183  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1184  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1185  | --oldin | --oldi | --old | --ol | --o)
1186    ac_prev=oldincludedir ;;
1187  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1188  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1189  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1190    oldincludedir=$ac_optarg ;;
1191
1192  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1193    ac_prev=prefix ;;
1194  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1195    prefix=$ac_optarg ;;
1196
1197  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1198  | --program-pre | --program-pr | --program-p)
1199    ac_prev=program_prefix ;;
1200  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1201  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1202    program_prefix=$ac_optarg ;;
1203
1204  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1205  | --program-suf | --program-su | --program-s)
1206    ac_prev=program_suffix ;;
1207  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1208  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1209    program_suffix=$ac_optarg ;;
1210
1211  -program-transform-name | --program-transform-name \
1212  | --program-transform-nam | --program-transform-na \
1213  | --program-transform-n | --program-transform- \
1214  | --program-transform | --program-transfor \
1215  | --program-transfo | --program-transf \
1216  | --program-trans | --program-tran \
1217  | --progr-tra | --program-tr | --program-t)
1218    ac_prev=program_transform_name ;;
1219  -program-transform-name=* | --program-transform-name=* \
1220  | --program-transform-nam=* | --program-transform-na=* \
1221  | --program-transform-n=* | --program-transform-=* \
1222  | --program-transform=* | --program-transfor=* \
1223  | --program-transfo=* | --program-transf=* \
1224  | --program-trans=* | --program-tran=* \
1225  | --progr-tra=* | --program-tr=* | --program-t=*)
1226    program_transform_name=$ac_optarg ;;
1227
1228  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1229    ac_prev=pdfdir ;;
1230  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1231    pdfdir=$ac_optarg ;;
1232
1233  -psdir | --psdir | --psdi | --psd | --ps)
1234    ac_prev=psdir ;;
1235  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1236    psdir=$ac_optarg ;;
1237
1238  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1239  | -silent | --silent | --silen | --sile | --sil)
1240    silent=yes ;;
1241
1242  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1243    ac_prev=sbindir ;;
1244  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1245  | --sbi=* | --sb=*)
1246    sbindir=$ac_optarg ;;
1247
1248  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1249  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1250  | --sharedst | --shareds | --shared | --share | --shar \
1251  | --sha | --sh)
1252    ac_prev=sharedstatedir ;;
1253  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1254  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1255  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1256  | --sha=* | --sh=*)
1257    sharedstatedir=$ac_optarg ;;
1258
1259  -site | --site | --sit)
1260    ac_prev=site ;;
1261  -site=* | --site=* | --sit=*)
1262    site=$ac_optarg ;;
1263
1264  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1265    ac_prev=srcdir ;;
1266  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1267    srcdir=$ac_optarg ;;
1268
1269  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1270  | --syscon | --sysco | --sysc | --sys | --sy)
1271    ac_prev=sysconfdir ;;
1272  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1273  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1274    sysconfdir=$ac_optarg ;;
1275
1276  -target | --target | --targe | --targ | --tar | --ta | --t)
1277    ac_prev=target_alias ;;
1278  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1279    target_alias=$ac_optarg ;;
1280
1281  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1282    verbose=yes ;;
1283
1284  -version | --version | --versio | --versi | --vers | -V)
1285    ac_init_version=: ;;
1286
1287  -with-* | --with-*)
1288    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289    # Reject names that are not valid shell variable names.
1290    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1291      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1292   { (exit 1); exit 1; }; }
1293    ac_useropt_orig=$ac_useropt
1294    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295    case $ac_user_opts in
1296      *"
1297"with_$ac_useropt"
1298"*) ;;
1299      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1300	 ac_unrecognized_sep=', ';;
1301    esac
1302    eval with_$ac_useropt=\$ac_optarg ;;
1303
1304  -without-* | --without-*)
1305    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1306    # Reject names that are not valid shell variable names.
1307    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1309   { (exit 1); exit 1; }; }
1310    ac_useropt_orig=$ac_useropt
1311    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312    case $ac_user_opts in
1313      *"
1314"with_$ac_useropt"
1315"*) ;;
1316      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1317	 ac_unrecognized_sep=', ';;
1318    esac
1319    eval with_$ac_useropt=no ;;
1320
1321  --x)
1322    # Obsolete; use --with-x.
1323    with_x=yes ;;
1324
1325  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1326  | --x-incl | --x-inc | --x-in | --x-i)
1327    ac_prev=x_includes ;;
1328  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1329  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1330    x_includes=$ac_optarg ;;
1331
1332  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1333  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1334    ac_prev=x_libraries ;;
1335  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1336  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1337    x_libraries=$ac_optarg ;;
1338
1339  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1340Try \`$0 --help' for more information." >&2
1341   { (exit 1); exit 1; }; }
1342    ;;
1343
1344  *=*)
1345    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1346    # Reject names that are not valid shell variable names.
1347    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1348      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1349   { (exit 1); exit 1; }; }
1350    eval $ac_envvar=\$ac_optarg
1351    export $ac_envvar ;;
1352
1353  *)
1354    # FIXME: should be removed in autoconf 3.0.
1355    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1356    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1357      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1358    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1359    ;;
1360
1361  esac
1362done
1363
1364if test -n "$ac_prev"; then
1365  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1366  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1367   { (exit 1); exit 1; }; }
1368fi
1369
1370if test -n "$ac_unrecognized_opts"; then
1371  case $enable_option_checking in
1372    no) ;;
1373    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1374   { (exit 1); exit 1; }; } ;;
1375    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1376  esac
1377fi
1378
1379# Check all directory arguments for consistency.
1380for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1381		datadir sysconfdir sharedstatedir localstatedir includedir \
1382		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1383		libdir localedir mandir
1384do
1385  eval ac_val=\$$ac_var
1386  # Remove trailing slashes.
1387  case $ac_val in
1388    */ )
1389      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1390      eval $ac_var=\$ac_val;;
1391  esac
1392  # Be sure to have absolute directory names.
1393  case $ac_val in
1394    [\\/$]* | ?:[\\/]* )  continue;;
1395    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1396  esac
1397  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1398   { (exit 1); exit 1; }; }
1399done
1400
1401# There might be people who depend on the old broken behavior: `$host'
1402# used to hold the argument of --host etc.
1403# FIXME: To remove some day.
1404build=$build_alias
1405host=$host_alias
1406target=$target_alias
1407
1408# FIXME: To remove some day.
1409if test "x$host_alias" != x; then
1410  if test "x$build_alias" = x; then
1411    cross_compiling=maybe
1412    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1413    If a cross compiler is detected then cross compile mode will be used." >&2
1414  elif test "x$build_alias" != "x$host_alias"; then
1415    cross_compiling=yes
1416  fi
1417fi
1418
1419ac_tool_prefix=
1420test -n "$host_alias" && ac_tool_prefix=$host_alias-
1421
1422test "$silent" = yes && exec 6>/dev/null
1423
1424
1425ac_pwd=`pwd` && test -n "$ac_pwd" &&
1426ac_ls_di=`ls -di .` &&
1427ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1428  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1429   { (exit 1); exit 1; }; }
1430test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1431  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1432   { (exit 1); exit 1; }; }
1433
1434
1435# Find the source files, if location was not specified.
1436if test -z "$srcdir"; then
1437  ac_srcdir_defaulted=yes
1438  # Try the directory containing this script, then the parent directory.
1439  ac_confdir=`$as_dirname -- "$as_myself" ||
1440$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1441	 X"$as_myself" : 'X\(//\)[^/]' \| \
1442	 X"$as_myself" : 'X\(//\)$' \| \
1443	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1444$as_echo X"$as_myself" |
1445    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446	    s//\1/
1447	    q
1448	  }
1449	  /^X\(\/\/\)[^/].*/{
1450	    s//\1/
1451	    q
1452	  }
1453	  /^X\(\/\/\)$/{
1454	    s//\1/
1455	    q
1456	  }
1457	  /^X\(\/\).*/{
1458	    s//\1/
1459	    q
1460	  }
1461	  s/.*/./; q'`
1462  srcdir=$ac_confdir
1463  if test ! -r "$srcdir/$ac_unique_file"; then
1464    srcdir=..
1465  fi
1466else
1467  ac_srcdir_defaulted=no
1468fi
1469if test ! -r "$srcdir/$ac_unique_file"; then
1470  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1471  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1472   { (exit 1); exit 1; }; }
1473fi
1474ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1475ac_abs_confdir=`(
1476	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1477   { (exit 1); exit 1; }; }
1478	pwd)`
1479# When building in place, set srcdir=.
1480if test "$ac_abs_confdir" = "$ac_pwd"; then
1481  srcdir=.
1482fi
1483# Remove unnecessary trailing slashes from srcdir.
1484# Double slashes in file names in object file debugging info
1485# mess up M-x gdb in Emacs.
1486case $srcdir in
1487*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1488esac
1489for ac_var in $ac_precious_vars; do
1490  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1491  eval ac_env_${ac_var}_value=\$${ac_var}
1492  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1493  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1494done
1495
1496#
1497# Report the --help message.
1498#
1499if test "$ac_init_help" = "long"; then
1500  # Omit some internal or obsolete options to make the list less imposing.
1501  # This message is too long to be a string in the A/UX 3.1 sh.
1502  cat <<_ACEOF
1503\`configure' configures libXaw 1.0.6 to adapt to many kinds of systems.
1504
1505Usage: $0 [OPTION]... [VAR=VALUE]...
1506
1507To assign environment variables (e.g., CC, CFLAGS...), specify them as
1508VAR=VALUE.  See below for descriptions of some of the useful variables.
1509
1510Defaults for the options are specified in brackets.
1511
1512Configuration:
1513  -h, --help              display this help and exit
1514      --help=short        display options specific to this package
1515      --help=recursive    display the short help of all the included packages
1516  -V, --version           display version information and exit
1517  -q, --quiet, --silent   do not print \`checking...' messages
1518      --cache-file=FILE   cache test results in FILE [disabled]
1519  -C, --config-cache      alias for \`--cache-file=config.cache'
1520  -n, --no-create         do not create output files
1521      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1522
1523Installation directories:
1524  --prefix=PREFIX         install architecture-independent files in PREFIX
1525                          [$ac_default_prefix]
1526  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1527                          [PREFIX]
1528
1529By default, \`make install' will install all the files in
1530\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1531an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1532for instance \`--prefix=\$HOME'.
1533
1534For better control, use the options below.
1535
1536Fine tuning of the installation directories:
1537  --bindir=DIR            user executables [EPREFIX/bin]
1538  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1539  --libexecdir=DIR        program executables [EPREFIX/libexec]
1540  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1541  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1542  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1543  --libdir=DIR            object code libraries [EPREFIX/lib]
1544  --includedir=DIR        C header files [PREFIX/include]
1545  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1546  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1547  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1548  --infodir=DIR           info documentation [DATAROOTDIR/info]
1549  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1550  --mandir=DIR            man documentation [DATAROOTDIR/man]
1551  --docdir=DIR            documentation root [DATAROOTDIR/doc/libXaw]
1552  --htmldir=DIR           html documentation [DOCDIR]
1553  --dvidir=DIR            dvi documentation [DOCDIR]
1554  --pdfdir=DIR            pdf documentation [DOCDIR]
1555  --psdir=DIR             ps documentation [DOCDIR]
1556_ACEOF
1557
1558  cat <<\_ACEOF
1559
1560Program names:
1561  --program-prefix=PREFIX            prepend PREFIX to installed program names
1562  --program-suffix=SUFFIX            append SUFFIX to installed program names
1563  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1564
1565System types:
1566  --build=BUILD     configure for building on BUILD [guessed]
1567  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1568_ACEOF
1569fi
1570
1571if test -n "$ac_init_help"; then
1572  case $ac_init_help in
1573     short | recursive ) echo "Configuration of libXaw 1.0.6:";;
1574   esac
1575  cat <<\_ACEOF
1576
1577Optional Features:
1578  --disable-option-checking  ignore unrecognized --enable/--with options
1579  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1580  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1581  --disable-dependency-tracking  speeds up one-time build
1582  --enable-dependency-tracking   do not reject slow dependency extractors
1583  --enable-shared[=PKGS]  build shared libraries [default=yes]
1584  --enable-static[=PKGS]  build static libraries [default=yes]
1585  --enable-fast-install[=PKGS]
1586                          optimize for fast installation [default=yes]
1587  --disable-libtool-lock  avoid locking (might break parallel builds)
1588  --disable-xaw6          Disable building of libXaw.so.6
1589  --disable-xaw7          Disable building of libXaw.so.7
1590
1591Optional Packages:
1592  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1593  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1594  --with-pic              try to use only PIC/non-PIC objects [default=use
1595                          both]
1596  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1597  --with-release-version=STRING
1598                          Use release version string in package name
1599
1600Some influential environment variables:
1601  CC          C compiler command
1602  CFLAGS      C compiler flags
1603  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1604              nonstandard directory <lib dir>
1605  LIBS        libraries to pass to the linker, e.g. -l<library>
1606  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1607              you have headers in a nonstandard directory <include dir>
1608  CPP         C preprocessor
1609  PKG_CONFIG  path to pkg-config utility
1610  XAW6_CFLAGS C compiler flags for XAW6, overriding pkg-config
1611  XAW6_LIBS   linker flags for XAW6, overriding pkg-config
1612  XAW7_CFLAGS C compiler flags for XAW7, overriding pkg-config
1613  XAW7_LIBS   linker flags for XAW7, overriding pkg-config
1614
1615Use these variables to override the choices made by `configure' or to help
1616it to find libraries and programs with nonstandard names/locations.
1617
1618Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1619_ACEOF
1620ac_status=$?
1621fi
1622
1623if test "$ac_init_help" = "recursive"; then
1624  # If there are subdirs, report their specific --help.
1625  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1626    test -d "$ac_dir" ||
1627      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1628      continue
1629    ac_builddir=.
1630
1631case "$ac_dir" in
1632.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1633*)
1634  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1635  # A ".." for each directory in $ac_dir_suffix.
1636  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1637  case $ac_top_builddir_sub in
1638  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1639  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1640  esac ;;
1641esac
1642ac_abs_top_builddir=$ac_pwd
1643ac_abs_builddir=$ac_pwd$ac_dir_suffix
1644# for backward compatibility:
1645ac_top_builddir=$ac_top_build_prefix
1646
1647case $srcdir in
1648  .)  # We are building in place.
1649    ac_srcdir=.
1650    ac_top_srcdir=$ac_top_builddir_sub
1651    ac_abs_top_srcdir=$ac_pwd ;;
1652  [\\/]* | ?:[\\/]* )  # Absolute name.
1653    ac_srcdir=$srcdir$ac_dir_suffix;
1654    ac_top_srcdir=$srcdir
1655    ac_abs_top_srcdir=$srcdir ;;
1656  *) # Relative name.
1657    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1658    ac_top_srcdir=$ac_top_build_prefix$srcdir
1659    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1660esac
1661ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1662
1663    cd "$ac_dir" || { ac_status=$?; continue; }
1664    # Check for guested configure.
1665    if test -f "$ac_srcdir/configure.gnu"; then
1666      echo &&
1667      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1668    elif test -f "$ac_srcdir/configure"; then
1669      echo &&
1670      $SHELL "$ac_srcdir/configure" --help=recursive
1671    else
1672      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1673    fi || ac_status=$?
1674    cd "$ac_pwd" || { ac_status=$?; break; }
1675  done
1676fi
1677
1678test -n "$ac_init_help" && exit $ac_status
1679if $ac_init_version; then
1680  cat <<\_ACEOF
1681libXaw configure 1.0.6
1682generated by GNU Autoconf 2.63
1683
1684Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16852002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1686This configure script is free software; the Free Software Foundation
1687gives unlimited permission to copy, distribute and modify it.
1688_ACEOF
1689  exit
1690fi
1691cat >config.log <<_ACEOF
1692This file contains any messages produced by compilers while
1693running configure, to aid debugging if configure makes a mistake.
1694
1695It was created by libXaw $as_me 1.0.6, which was
1696generated by GNU Autoconf 2.63.  Invocation command line was
1697
1698  $ $0 $@
1699
1700_ACEOF
1701exec 5>>config.log
1702{
1703cat <<_ASUNAME
1704## --------- ##
1705## Platform. ##
1706## --------- ##
1707
1708hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1709uname -m = `(uname -m) 2>/dev/null || echo unknown`
1710uname -r = `(uname -r) 2>/dev/null || echo unknown`
1711uname -s = `(uname -s) 2>/dev/null || echo unknown`
1712uname -v = `(uname -v) 2>/dev/null || echo unknown`
1713
1714/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1715/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1716
1717/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1718/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1719/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1720/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1721/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1722/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1723/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1724
1725_ASUNAME
1726
1727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728for as_dir in $PATH
1729do
1730  IFS=$as_save_IFS
1731  test -z "$as_dir" && as_dir=.
1732  $as_echo "PATH: $as_dir"
1733done
1734IFS=$as_save_IFS
1735
1736} >&5
1737
1738cat >&5 <<_ACEOF
1739
1740
1741## ----------- ##
1742## Core tests. ##
1743## ----------- ##
1744
1745_ACEOF
1746
1747
1748# Keep a trace of the command line.
1749# Strip out --no-create and --no-recursion so they do not pile up.
1750# Strip out --silent because we don't want to record it for future runs.
1751# Also quote any args containing shell meta-characters.
1752# Make two passes to allow for proper duplicate-argument suppression.
1753ac_configure_args=
1754ac_configure_args0=
1755ac_configure_args1=
1756ac_must_keep_next=false
1757for ac_pass in 1 2
1758do
1759  for ac_arg
1760  do
1761    case $ac_arg in
1762    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1763    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1764    | -silent | --silent | --silen | --sile | --sil)
1765      continue ;;
1766    *\'*)
1767      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1768    esac
1769    case $ac_pass in
1770    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1771    2)
1772      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1773      if test $ac_must_keep_next = true; then
1774	ac_must_keep_next=false # Got value, back to normal.
1775      else
1776	case $ac_arg in
1777	  *=* | --config-cache | -C | -disable-* | --disable-* \
1778	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1779	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1780	  | -with-* | --with-* | -without-* | --without-* | --x)
1781	    case "$ac_configure_args0 " in
1782	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1783	    esac
1784	    ;;
1785	  -* ) ac_must_keep_next=true ;;
1786	esac
1787      fi
1788      ac_configure_args="$ac_configure_args '$ac_arg'"
1789      ;;
1790    esac
1791  done
1792done
1793$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1794$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1795
1796# When interrupted or exit'd, cleanup temporary files, and complete
1797# config.log.  We remove comments because anyway the quotes in there
1798# would cause problems or look ugly.
1799# WARNING: Use '\'' to represent an apostrophe within the trap.
1800# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1801trap 'exit_status=$?
1802  # Save into config.log some information that might help in debugging.
1803  {
1804    echo
1805
1806    cat <<\_ASBOX
1807## ---------------- ##
1808## Cache variables. ##
1809## ---------------- ##
1810_ASBOX
1811    echo
1812    # The following way of writing the cache mishandles newlines in values,
1813(
1814  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1815    eval ac_val=\$$ac_var
1816    case $ac_val in #(
1817    *${as_nl}*)
1818      case $ac_var in #(
1819      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1820$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1821      esac
1822      case $ac_var in #(
1823      _ | IFS | as_nl) ;; #(
1824      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1825      *) $as_unset $ac_var ;;
1826      esac ;;
1827    esac
1828  done
1829  (set) 2>&1 |
1830    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1831    *${as_nl}ac_space=\ *)
1832      sed -n \
1833	"s/'\''/'\''\\\\'\'''\''/g;
1834	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1835      ;; #(
1836    *)
1837      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1838      ;;
1839    esac |
1840    sort
1841)
1842    echo
1843
1844    cat <<\_ASBOX
1845## ----------------- ##
1846## Output variables. ##
1847## ----------------- ##
1848_ASBOX
1849    echo
1850    for ac_var in $ac_subst_vars
1851    do
1852      eval ac_val=\$$ac_var
1853      case $ac_val in
1854      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855      esac
1856      $as_echo "$ac_var='\''$ac_val'\''"
1857    done | sort
1858    echo
1859
1860    if test -n "$ac_subst_files"; then
1861      cat <<\_ASBOX
1862## ------------------- ##
1863## File substitutions. ##
1864## ------------------- ##
1865_ASBOX
1866      echo
1867      for ac_var in $ac_subst_files
1868      do
1869	eval ac_val=\$$ac_var
1870	case $ac_val in
1871	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1872	esac
1873	$as_echo "$ac_var='\''$ac_val'\''"
1874      done | sort
1875      echo
1876    fi
1877
1878    if test -s confdefs.h; then
1879      cat <<\_ASBOX
1880## ----------- ##
1881## confdefs.h. ##
1882## ----------- ##
1883_ASBOX
1884      echo
1885      cat confdefs.h
1886      echo
1887    fi
1888    test "$ac_signal" != 0 &&
1889      $as_echo "$as_me: caught signal $ac_signal"
1890    $as_echo "$as_me: exit $exit_status"
1891  } >&5
1892  rm -f core *.core core.conftest.* &&
1893    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1894    exit $exit_status
1895' 0
1896for ac_signal in 1 2 13 15; do
1897  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1898done
1899ac_signal=0
1900
1901# confdefs.h avoids OS command line length limits that DEFS can exceed.
1902rm -f -r conftest* confdefs.h
1903
1904# Predefined preprocessor variables.
1905
1906cat >>confdefs.h <<_ACEOF
1907#define PACKAGE_NAME "$PACKAGE_NAME"
1908_ACEOF
1909
1910
1911cat >>confdefs.h <<_ACEOF
1912#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1913_ACEOF
1914
1915
1916cat >>confdefs.h <<_ACEOF
1917#define PACKAGE_VERSION "$PACKAGE_VERSION"
1918_ACEOF
1919
1920
1921cat >>confdefs.h <<_ACEOF
1922#define PACKAGE_STRING "$PACKAGE_STRING"
1923_ACEOF
1924
1925
1926cat >>confdefs.h <<_ACEOF
1927#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1928_ACEOF
1929
1930
1931# Let the site file select an alternate cache file if it wants to.
1932# Prefer an explicitly selected file to automatically selected ones.
1933ac_site_file1=NONE
1934ac_site_file2=NONE
1935if test -n "$CONFIG_SITE"; then
1936  ac_site_file1=$CONFIG_SITE
1937elif test "x$prefix" != xNONE; then
1938  ac_site_file1=$prefix/share/config.site
1939  ac_site_file2=$prefix/etc/config.site
1940else
1941  ac_site_file1=$ac_default_prefix/share/config.site
1942  ac_site_file2=$ac_default_prefix/etc/config.site
1943fi
1944for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1945do
1946  test "x$ac_site_file" = xNONE && continue
1947  if test -r "$ac_site_file"; then
1948    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1949$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1950    sed 's/^/| /' "$ac_site_file" >&5
1951    . "$ac_site_file"
1952  fi
1953done
1954
1955if test -r "$cache_file"; then
1956  # Some versions of bash will fail to source /dev/null (special
1957  # files actually), so we avoid doing that.
1958  if test -f "$cache_file"; then
1959    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1960$as_echo "$as_me: loading cache $cache_file" >&6;}
1961    case $cache_file in
1962      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1963      *)                      . "./$cache_file";;
1964    esac
1965  fi
1966else
1967  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1968$as_echo "$as_me: creating cache $cache_file" >&6;}
1969  >$cache_file
1970fi
1971
1972# Check that the precious variables saved in the cache have kept the same
1973# value.
1974ac_cache_corrupted=false
1975for ac_var in $ac_precious_vars; do
1976  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1977  eval ac_new_set=\$ac_env_${ac_var}_set
1978  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1979  eval ac_new_val=\$ac_env_${ac_var}_value
1980  case $ac_old_set,$ac_new_set in
1981    set,)
1982      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1983$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1984      ac_cache_corrupted=: ;;
1985    ,set)
1986      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1987$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1988      ac_cache_corrupted=: ;;
1989    ,);;
1990    *)
1991      if test "x$ac_old_val" != "x$ac_new_val"; then
1992	# differences in whitespace do not lead to failure.
1993	ac_old_val_w=`echo x $ac_old_val`
1994	ac_new_val_w=`echo x $ac_new_val`
1995	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1996	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1997$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1998	  ac_cache_corrupted=:
1999	else
2000	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2001$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2002	  eval $ac_var=\$ac_old_val
2003	fi
2004	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2005$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2006	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2007$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2008      fi;;
2009  esac
2010  # Pass precious variables to config.status.
2011  if test "$ac_new_set" = set; then
2012    case $ac_new_val in
2013    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2014    *) ac_arg=$ac_var=$ac_new_val ;;
2015    esac
2016    case " $ac_configure_args " in
2017      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2018      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2019    esac
2020  fi
2021done
2022if $ac_cache_corrupted; then
2023  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2024$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2025  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2026$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2027  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2028$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2029   { (exit 1); exit 1; }; }
2030fi
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056ac_ext=c
2057ac_cpp='$CPP $CPPFLAGS'
2058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2060ac_compiler_gnu=$ac_cv_c_compiler_gnu
2061
2062
2063
2064am__api_version='1.10'
2065
2066ac_aux_dir=
2067for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2068  if test -f "$ac_dir/install-sh"; then
2069    ac_aux_dir=$ac_dir
2070    ac_install_sh="$ac_aux_dir/install-sh -c"
2071    break
2072  elif test -f "$ac_dir/install.sh"; then
2073    ac_aux_dir=$ac_dir
2074    ac_install_sh="$ac_aux_dir/install.sh -c"
2075    break
2076  elif test -f "$ac_dir/shtool"; then
2077    ac_aux_dir=$ac_dir
2078    ac_install_sh="$ac_aux_dir/shtool install -c"
2079    break
2080  fi
2081done
2082if test -z "$ac_aux_dir"; then
2083  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2084$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2085   { (exit 1); exit 1; }; }
2086fi
2087
2088# These three variables are undocumented and unsupported,
2089# and are intended to be withdrawn in a future Autoconf release.
2090# They can cause serious problems if a builder's source tree is in a directory
2091# whose full name contains unusual characters.
2092ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2093ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2094ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2095
2096
2097# Find a good install program.  We prefer a C program (faster),
2098# so one script is as good as another.  But avoid the broken or
2099# incompatible versions:
2100# SysV /etc/install, /usr/sbin/install
2101# SunOS /usr/etc/install
2102# IRIX /sbin/install
2103# AIX /bin/install
2104# AmigaOS /C/install, which installs bootblocks on floppy discs
2105# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2106# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2107# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2108# OS/2's system install, which has a completely different semantic
2109# ./install, which can be erroneously created by make from ./install.sh.
2110# Reject install programs that cannot install multiple files.
2111{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2112$as_echo_n "checking for a BSD-compatible install... " >&6; }
2113if test -z "$INSTALL"; then
2114if test "${ac_cv_path_install+set}" = set; then
2115  $as_echo_n "(cached) " >&6
2116else
2117  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118for as_dir in $PATH
2119do
2120  IFS=$as_save_IFS
2121  test -z "$as_dir" && as_dir=.
2122  # Account for people who put trailing slashes in PATH elements.
2123case $as_dir/ in
2124  ./ | .// | /cC/* | \
2125  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2126  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2127  /usr/ucb/* ) ;;
2128  *)
2129    # OSF1 and SCO ODT 3.0 have their own names for install.
2130    # Don't use installbsd from OSF since it installs stuff as root
2131    # by default.
2132    for ac_prog in ginstall scoinst install; do
2133      for ac_exec_ext in '' $ac_executable_extensions; do
2134	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2135	  if test $ac_prog = install &&
2136	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2137	    # AIX install.  It has an incompatible calling convention.
2138	    :
2139	  elif test $ac_prog = install &&
2140	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2141	    # program-specific install script used by HP pwplus--don't use.
2142	    :
2143	  else
2144	    rm -rf conftest.one conftest.two conftest.dir
2145	    echo one > conftest.one
2146	    echo two > conftest.two
2147	    mkdir conftest.dir
2148	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2149	      test -s conftest.one && test -s conftest.two &&
2150	      test -s conftest.dir/conftest.one &&
2151	      test -s conftest.dir/conftest.two
2152	    then
2153	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2154	      break 3
2155	    fi
2156	  fi
2157	fi
2158      done
2159    done
2160    ;;
2161esac
2162
2163done
2164IFS=$as_save_IFS
2165
2166rm -rf conftest.one conftest.two conftest.dir
2167
2168fi
2169  if test "${ac_cv_path_install+set}" = set; then
2170    INSTALL=$ac_cv_path_install
2171  else
2172    # As a last resort, use the slow shell script.  Don't cache a
2173    # value for INSTALL within a source directory, because that will
2174    # break other packages using the cache if that directory is
2175    # removed, or if the value is a relative name.
2176    INSTALL=$ac_install_sh
2177  fi
2178fi
2179{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2180$as_echo "$INSTALL" >&6; }
2181
2182# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2183# It thinks the first close brace ends the variable substitution.
2184test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2185
2186test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2187
2188test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2189
2190{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2191$as_echo_n "checking whether build environment is sane... " >&6; }
2192# Just in case
2193sleep 1
2194echo timestamp > conftest.file
2195# Do `set' in a subshell so we don't clobber the current shell's
2196# arguments.  Must try -L first in case configure is actually a
2197# symlink; some systems play weird games with the mod time of symlinks
2198# (eg FreeBSD returns the mod time of the symlink's containing
2199# directory).
2200if (
2201   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2202   if test "$*" = "X"; then
2203      # -L didn't work.
2204      set X `ls -t $srcdir/configure conftest.file`
2205   fi
2206   rm -f conftest.file
2207   if test "$*" != "X $srcdir/configure conftest.file" \
2208      && test "$*" != "X conftest.file $srcdir/configure"; then
2209
2210      # If neither matched, then we have a broken ls.  This can happen
2211      # if, for instance, CONFIG_SHELL is bash and it inherits a
2212      # broken ls alias from the environment.  This has actually
2213      # happened.  Such a system could not be considered "sane".
2214      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2215alias in your environment" >&5
2216$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2217alias in your environment" >&2;}
2218   { (exit 1); exit 1; }; }
2219   fi
2220
2221   test "$2" = conftest.file
2222   )
2223then
2224   # Ok.
2225   :
2226else
2227   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2228Check your system clock" >&5
2229$as_echo "$as_me: error: newly created file is older than distributed files!
2230Check your system clock" >&2;}
2231   { (exit 1); exit 1; }; }
2232fi
2233{ $as_echo "$as_me:$LINENO: result: yes" >&5
2234$as_echo "yes" >&6; }
2235test "$program_prefix" != NONE &&
2236  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2237# Use a double $ so make ignores it.
2238test "$program_suffix" != NONE &&
2239  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2240# Double any \ or $.
2241# By default was `s,x,x', remove it if useless.
2242ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2243program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2244
2245# expand $ac_aux_dir to an absolute path
2246am_aux_dir=`cd $ac_aux_dir && pwd`
2247
2248test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2249# Use eval to expand $SHELL
2250if eval "$MISSING --run true"; then
2251  am_missing_run="$MISSING --run "
2252else
2253  am_missing_run=
2254  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2255$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2256fi
2257
2258{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2259$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2260if test -z "$MKDIR_P"; then
2261  if test "${ac_cv_path_mkdir+set}" = set; then
2262  $as_echo_n "(cached) " >&6
2263else
2264  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2266do
2267  IFS=$as_save_IFS
2268  test -z "$as_dir" && as_dir=.
2269  for ac_prog in mkdir gmkdir; do
2270	 for ac_exec_ext in '' $ac_executable_extensions; do
2271	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2272	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2273	     'mkdir (GNU coreutils) '* | \
2274	     'mkdir (coreutils) '* | \
2275	     'mkdir (fileutils) '4.1*)
2276	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2277	       break 3;;
2278	   esac
2279	 done
2280       done
2281done
2282IFS=$as_save_IFS
2283
2284fi
2285
2286  if test "${ac_cv_path_mkdir+set}" = set; then
2287    MKDIR_P="$ac_cv_path_mkdir -p"
2288  else
2289    # As a last resort, use the slow shell script.  Don't cache a
2290    # value for MKDIR_P within a source directory, because that will
2291    # break other packages using the cache if that directory is
2292    # removed, or if the value is a relative name.
2293    test -d ./--version && rmdir ./--version
2294    MKDIR_P="$ac_install_sh -d"
2295  fi
2296fi
2297{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2298$as_echo "$MKDIR_P" >&6; }
2299
2300mkdir_p="$MKDIR_P"
2301case $mkdir_p in
2302  [\\/$]* | ?:[\\/]*) ;;
2303  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2304esac
2305
2306for ac_prog in gawk mawk nawk awk
2307do
2308  # Extract the first word of "$ac_prog", so it can be a program name with args.
2309set dummy $ac_prog; ac_word=$2
2310{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2311$as_echo_n "checking for $ac_word... " >&6; }
2312if test "${ac_cv_prog_AWK+set}" = set; then
2313  $as_echo_n "(cached) " >&6
2314else
2315  if test -n "$AWK"; then
2316  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2317else
2318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319for as_dir in $PATH
2320do
2321  IFS=$as_save_IFS
2322  test -z "$as_dir" && as_dir=.
2323  for ac_exec_ext in '' $ac_executable_extensions; do
2324  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2325    ac_cv_prog_AWK="$ac_prog"
2326    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327    break 2
2328  fi
2329done
2330done
2331IFS=$as_save_IFS
2332
2333fi
2334fi
2335AWK=$ac_cv_prog_AWK
2336if test -n "$AWK"; then
2337  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2338$as_echo "$AWK" >&6; }
2339else
2340  { $as_echo "$as_me:$LINENO: result: no" >&5
2341$as_echo "no" >&6; }
2342fi
2343
2344
2345  test -n "$AWK" && break
2346done
2347
2348{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2349$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2350set x ${MAKE-make}
2351ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2352if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2353  $as_echo_n "(cached) " >&6
2354else
2355  cat >conftest.make <<\_ACEOF
2356SHELL = /bin/sh
2357all:
2358	@echo '@@@%%%=$(MAKE)=@@@%%%'
2359_ACEOF
2360# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2361case `${MAKE-make} -f conftest.make 2>/dev/null` in
2362  *@@@%%%=?*=@@@%%%*)
2363    eval ac_cv_prog_make_${ac_make}_set=yes;;
2364  *)
2365    eval ac_cv_prog_make_${ac_make}_set=no;;
2366esac
2367rm -f conftest.make
2368fi
2369if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2370  { $as_echo "$as_me:$LINENO: result: yes" >&5
2371$as_echo "yes" >&6; }
2372  SET_MAKE=
2373else
2374  { $as_echo "$as_me:$LINENO: result: no" >&5
2375$as_echo "no" >&6; }
2376  SET_MAKE="MAKE=${MAKE-make}"
2377fi
2378
2379rm -rf .tst 2>/dev/null
2380mkdir .tst 2>/dev/null
2381if test -d .tst; then
2382  am__leading_dot=.
2383else
2384  am__leading_dot=_
2385fi
2386rmdir .tst 2>/dev/null
2387
2388if test "`cd $srcdir && pwd`" != "`pwd`"; then
2389  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2390  # is not polluted with repeated "-I."
2391  am__isrc=' -I$(srcdir)'
2392  # test to see if srcdir already configured
2393  if test -f $srcdir/config.status; then
2394    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2395$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2396   { (exit 1); exit 1; }; }
2397  fi
2398fi
2399
2400# test whether we have cygpath
2401if test -z "$CYGPATH_W"; then
2402  if (cygpath --version) >/dev/null 2>/dev/null; then
2403    CYGPATH_W='cygpath -w'
2404  else
2405    CYGPATH_W=echo
2406  fi
2407fi
2408
2409
2410# Define the identity of the package.
2411 PACKAGE='libXaw'
2412 VERSION='1.0.6'
2413
2414
2415cat >>confdefs.h <<_ACEOF
2416#define PACKAGE "$PACKAGE"
2417_ACEOF
2418
2419
2420cat >>confdefs.h <<_ACEOF
2421#define VERSION "$VERSION"
2422_ACEOF
2423
2424# Some tools Automake needs.
2425
2426ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2427
2428
2429AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2430
2431
2432AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2433
2434
2435AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2436
2437
2438MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2439
2440install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2441
2442# Installed binaries are usually stripped using `strip' when the user
2443# run `make install-strip'.  However `strip' might not be the right
2444# tool to use in cross-compilation environments, therefore Automake
2445# will honor the `STRIP' environment variable to overrule this program.
2446if test "$cross_compiling" != no; then
2447  if test -n "$ac_tool_prefix"; then
2448  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2449set dummy ${ac_tool_prefix}strip; ac_word=$2
2450{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2451$as_echo_n "checking for $ac_word... " >&6; }
2452if test "${ac_cv_prog_STRIP+set}" = set; then
2453  $as_echo_n "(cached) " >&6
2454else
2455  if test -n "$STRIP"; then
2456  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2457else
2458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459for as_dir in $PATH
2460do
2461  IFS=$as_save_IFS
2462  test -z "$as_dir" && as_dir=.
2463  for ac_exec_ext in '' $ac_executable_extensions; do
2464  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2466    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467    break 2
2468  fi
2469done
2470done
2471IFS=$as_save_IFS
2472
2473fi
2474fi
2475STRIP=$ac_cv_prog_STRIP
2476if test -n "$STRIP"; then
2477  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2478$as_echo "$STRIP" >&6; }
2479else
2480  { $as_echo "$as_me:$LINENO: result: no" >&5
2481$as_echo "no" >&6; }
2482fi
2483
2484
2485fi
2486if test -z "$ac_cv_prog_STRIP"; then
2487  ac_ct_STRIP=$STRIP
2488  # Extract the first word of "strip", so it can be a program name with args.
2489set dummy strip; ac_word=$2
2490{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2491$as_echo_n "checking for $ac_word... " >&6; }
2492if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2493  $as_echo_n "(cached) " >&6
2494else
2495  if test -n "$ac_ct_STRIP"; then
2496  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2497else
2498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499for as_dir in $PATH
2500do
2501  IFS=$as_save_IFS
2502  test -z "$as_dir" && as_dir=.
2503  for ac_exec_ext in '' $ac_executable_extensions; do
2504  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505    ac_cv_prog_ac_ct_STRIP="strip"
2506    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507    break 2
2508  fi
2509done
2510done
2511IFS=$as_save_IFS
2512
2513fi
2514fi
2515ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2516if test -n "$ac_ct_STRIP"; then
2517  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2518$as_echo "$ac_ct_STRIP" >&6; }
2519else
2520  { $as_echo "$as_me:$LINENO: result: no" >&5
2521$as_echo "no" >&6; }
2522fi
2523
2524  if test "x$ac_ct_STRIP" = x; then
2525    STRIP=":"
2526  else
2527    case $cross_compiling:$ac_tool_warned in
2528yes:)
2529{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2530$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2531ac_tool_warned=yes ;;
2532esac
2533    STRIP=$ac_ct_STRIP
2534  fi
2535else
2536  STRIP="$ac_cv_prog_STRIP"
2537fi
2538
2539fi
2540INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2541
2542# We need awk for the "check" target.  The system "awk" is bad on
2543# some platforms.
2544# Always define AMTAR for backward compatibility.
2545
2546AMTAR=${AMTAR-"${am_missing_run}tar"}
2547
2548am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2549
2550
2551
2552
2553
2554
2555ac_config_headers="$ac_config_headers config.h"
2556
2557
2558# Require xorg-macros: XORG_WITH_LINT, XORG_CWARNFLAGS, XORG_CHANGELOG
2559
2560
2561	XORG_MACROS_needed_version=1.2.1
2562	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
2563	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
2564	{ $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
2565$as_echo_n "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... " >&6; }
2566	XORG_MACROS_version=1.2.1
2567	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
2568	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
2569	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
2570		{ { $as_echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
2571$as_echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
2572   { (exit 1); exit 1; }; }
2573	fi
2574	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
2575		{ { $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
2576$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;}
2577   { (exit 1); exit 1; }; }
2578	fi
2579	{ $as_echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
2580$as_echo "yes, $XORG_MACROS_version" >&6; }
2581
2582
2583# Check for progs
2584ac_ext=c
2585ac_cpp='$CPP $CPPFLAGS'
2586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2588ac_compiler_gnu=$ac_cv_c_compiler_gnu
2589if test -n "$ac_tool_prefix"; then
2590  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2591set dummy ${ac_tool_prefix}gcc; ac_word=$2
2592{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2593$as_echo_n "checking for $ac_word... " >&6; }
2594if test "${ac_cv_prog_CC+set}" = set; then
2595  $as_echo_n "(cached) " >&6
2596else
2597  if test -n "$CC"; then
2598  ac_cv_prog_CC="$CC" # Let the user override the test.
2599else
2600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601for as_dir in $PATH
2602do
2603  IFS=$as_save_IFS
2604  test -z "$as_dir" && as_dir=.
2605  for ac_exec_ext in '' $ac_executable_extensions; do
2606  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2608    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2609    break 2
2610  fi
2611done
2612done
2613IFS=$as_save_IFS
2614
2615fi
2616fi
2617CC=$ac_cv_prog_CC
2618if test -n "$CC"; then
2619  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2620$as_echo "$CC" >&6; }
2621else
2622  { $as_echo "$as_me:$LINENO: result: no" >&5
2623$as_echo "no" >&6; }
2624fi
2625
2626
2627fi
2628if test -z "$ac_cv_prog_CC"; then
2629  ac_ct_CC=$CC
2630  # Extract the first word of "gcc", so it can be a program name with args.
2631set dummy gcc; ac_word=$2
2632{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2633$as_echo_n "checking for $ac_word... " >&6; }
2634if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2635  $as_echo_n "(cached) " >&6
2636else
2637  if test -n "$ac_ct_CC"; then
2638  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2639else
2640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641for as_dir in $PATH
2642do
2643  IFS=$as_save_IFS
2644  test -z "$as_dir" && as_dir=.
2645  for ac_exec_ext in '' $ac_executable_extensions; do
2646  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647    ac_cv_prog_ac_ct_CC="gcc"
2648    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649    break 2
2650  fi
2651done
2652done
2653IFS=$as_save_IFS
2654
2655fi
2656fi
2657ac_ct_CC=$ac_cv_prog_ac_ct_CC
2658if test -n "$ac_ct_CC"; then
2659  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2660$as_echo "$ac_ct_CC" >&6; }
2661else
2662  { $as_echo "$as_me:$LINENO: result: no" >&5
2663$as_echo "no" >&6; }
2664fi
2665
2666  if test "x$ac_ct_CC" = x; then
2667    CC=""
2668  else
2669    case $cross_compiling:$ac_tool_warned in
2670yes:)
2671{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2672$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2673ac_tool_warned=yes ;;
2674esac
2675    CC=$ac_ct_CC
2676  fi
2677else
2678  CC="$ac_cv_prog_CC"
2679fi
2680
2681if test -z "$CC"; then
2682          if test -n "$ac_tool_prefix"; then
2683    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2684set dummy ${ac_tool_prefix}cc; ac_word=$2
2685{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2686$as_echo_n "checking for $ac_word... " >&6; }
2687if test "${ac_cv_prog_CC+set}" = set; then
2688  $as_echo_n "(cached) " >&6
2689else
2690  if test -n "$CC"; then
2691  ac_cv_prog_CC="$CC" # Let the user override the test.
2692else
2693as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694for as_dir in $PATH
2695do
2696  IFS=$as_save_IFS
2697  test -z "$as_dir" && as_dir=.
2698  for ac_exec_ext in '' $ac_executable_extensions; do
2699  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700    ac_cv_prog_CC="${ac_tool_prefix}cc"
2701    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702    break 2
2703  fi
2704done
2705done
2706IFS=$as_save_IFS
2707
2708fi
2709fi
2710CC=$ac_cv_prog_CC
2711if test -n "$CC"; then
2712  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2713$as_echo "$CC" >&6; }
2714else
2715  { $as_echo "$as_me:$LINENO: result: no" >&5
2716$as_echo "no" >&6; }
2717fi
2718
2719
2720  fi
2721fi
2722if test -z "$CC"; then
2723  # Extract the first word of "cc", so it can be a program name with args.
2724set dummy cc; ac_word=$2
2725{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2726$as_echo_n "checking for $ac_word... " >&6; }
2727if test "${ac_cv_prog_CC+set}" = set; then
2728  $as_echo_n "(cached) " >&6
2729else
2730  if test -n "$CC"; then
2731  ac_cv_prog_CC="$CC" # Let the user override the test.
2732else
2733  ac_prog_rejected=no
2734as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735for as_dir in $PATH
2736do
2737  IFS=$as_save_IFS
2738  test -z "$as_dir" && as_dir=.
2739  for ac_exec_ext in '' $ac_executable_extensions; do
2740  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2742       ac_prog_rejected=yes
2743       continue
2744     fi
2745    ac_cv_prog_CC="cc"
2746    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747    break 2
2748  fi
2749done
2750done
2751IFS=$as_save_IFS
2752
2753if test $ac_prog_rejected = yes; then
2754  # We found a bogon in the path, so make sure we never use it.
2755  set dummy $ac_cv_prog_CC
2756  shift
2757  if test $# != 0; then
2758    # We chose a different compiler from the bogus one.
2759    # However, it has the same basename, so the bogon will be chosen
2760    # first if we set CC to just the basename; use the full file name.
2761    shift
2762    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2763  fi
2764fi
2765fi
2766fi
2767CC=$ac_cv_prog_CC
2768if test -n "$CC"; then
2769  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2770$as_echo "$CC" >&6; }
2771else
2772  { $as_echo "$as_me:$LINENO: result: no" >&5
2773$as_echo "no" >&6; }
2774fi
2775
2776
2777fi
2778if test -z "$CC"; then
2779  if test -n "$ac_tool_prefix"; then
2780  for ac_prog in cl.exe
2781  do
2782    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2783set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2784{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2785$as_echo_n "checking for $ac_word... " >&6; }
2786if test "${ac_cv_prog_CC+set}" = set; then
2787  $as_echo_n "(cached) " >&6
2788else
2789  if test -n "$CC"; then
2790  ac_cv_prog_CC="$CC" # Let the user override the test.
2791else
2792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793for as_dir in $PATH
2794do
2795  IFS=$as_save_IFS
2796  test -z "$as_dir" && as_dir=.
2797  for ac_exec_ext in '' $ac_executable_extensions; do
2798  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2800    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2801    break 2
2802  fi
2803done
2804done
2805IFS=$as_save_IFS
2806
2807fi
2808fi
2809CC=$ac_cv_prog_CC
2810if test -n "$CC"; then
2811  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2812$as_echo "$CC" >&6; }
2813else
2814  { $as_echo "$as_me:$LINENO: result: no" >&5
2815$as_echo "no" >&6; }
2816fi
2817
2818
2819    test -n "$CC" && break
2820  done
2821fi
2822if test -z "$CC"; then
2823  ac_ct_CC=$CC
2824  for ac_prog in cl.exe
2825do
2826  # Extract the first word of "$ac_prog", so it can be a program name with args.
2827set dummy $ac_prog; ac_word=$2
2828{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2829$as_echo_n "checking for $ac_word... " >&6; }
2830if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2831  $as_echo_n "(cached) " >&6
2832else
2833  if test -n "$ac_ct_CC"; then
2834  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2835else
2836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2837for as_dir in $PATH
2838do
2839  IFS=$as_save_IFS
2840  test -z "$as_dir" && as_dir=.
2841  for ac_exec_ext in '' $ac_executable_extensions; do
2842  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843    ac_cv_prog_ac_ct_CC="$ac_prog"
2844    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2845    break 2
2846  fi
2847done
2848done
2849IFS=$as_save_IFS
2850
2851fi
2852fi
2853ac_ct_CC=$ac_cv_prog_ac_ct_CC
2854if test -n "$ac_ct_CC"; then
2855  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2856$as_echo "$ac_ct_CC" >&6; }
2857else
2858  { $as_echo "$as_me:$LINENO: result: no" >&5
2859$as_echo "no" >&6; }
2860fi
2861
2862
2863  test -n "$ac_ct_CC" && break
2864done
2865
2866  if test "x$ac_ct_CC" = x; then
2867    CC=""
2868  else
2869    case $cross_compiling:$ac_tool_warned in
2870yes:)
2871{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2872$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2873ac_tool_warned=yes ;;
2874esac
2875    CC=$ac_ct_CC
2876  fi
2877fi
2878
2879fi
2880
2881
2882test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2883$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2884{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2885See \`config.log' for more details." >&5
2886$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2887See \`config.log' for more details." >&2;}
2888   { (exit 1); exit 1; }; }; }
2889
2890# Provide some information about the compiler.
2891$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2892set X $ac_compile
2893ac_compiler=$2
2894{ (ac_try="$ac_compiler --version >&5"
2895case "(($ac_try" in
2896  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897  *) ac_try_echo=$ac_try;;
2898esac
2899eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2900$as_echo "$ac_try_echo") >&5
2901  (eval "$ac_compiler --version >&5") 2>&5
2902  ac_status=$?
2903  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904  (exit $ac_status); }
2905{ (ac_try="$ac_compiler -v >&5"
2906case "(($ac_try" in
2907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908  *) ac_try_echo=$ac_try;;
2909esac
2910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2911$as_echo "$ac_try_echo") >&5
2912  (eval "$ac_compiler -v >&5") 2>&5
2913  ac_status=$?
2914  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915  (exit $ac_status); }
2916{ (ac_try="$ac_compiler -V >&5"
2917case "(($ac_try" in
2918  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919  *) ac_try_echo=$ac_try;;
2920esac
2921eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2922$as_echo "$ac_try_echo") >&5
2923  (eval "$ac_compiler -V >&5") 2>&5
2924  ac_status=$?
2925  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926  (exit $ac_status); }
2927
2928cat >conftest.$ac_ext <<_ACEOF
2929/* confdefs.h.  */
2930_ACEOF
2931cat confdefs.h >>conftest.$ac_ext
2932cat >>conftest.$ac_ext <<_ACEOF
2933/* end confdefs.h.  */
2934
2935int
2936main ()
2937{
2938
2939  ;
2940  return 0;
2941}
2942_ACEOF
2943ac_clean_files_save=$ac_clean_files
2944ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2945# Try to create an executable without -o first, disregard a.out.
2946# It will help us diagnose broken compilers, and finding out an intuition
2947# of exeext.
2948{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2949$as_echo_n "checking for C compiler default output file name... " >&6; }
2950ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2951
2952# The possible output files:
2953ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2954
2955ac_rmfiles=
2956for ac_file in $ac_files
2957do
2958  case $ac_file in
2959    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2960    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2961  esac
2962done
2963rm -f $ac_rmfiles
2964
2965if { (ac_try="$ac_link_default"
2966case "(($ac_try" in
2967  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968  *) ac_try_echo=$ac_try;;
2969esac
2970eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2971$as_echo "$ac_try_echo") >&5
2972  (eval "$ac_link_default") 2>&5
2973  ac_status=$?
2974  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975  (exit $ac_status); }; then
2976  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2977# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2978# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2979# so that the user can short-circuit this test for compilers unknown to
2980# Autoconf.
2981for ac_file in $ac_files ''
2982do
2983  test -f "$ac_file" || continue
2984  case $ac_file in
2985    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2986	;;
2987    [ab].out )
2988	# We found the default executable, but exeext='' is most
2989	# certainly right.
2990	break;;
2991    *.* )
2992        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2993	then :; else
2994	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2995	fi
2996	# We set ac_cv_exeext here because the later test for it is not
2997	# safe: cross compilers may not add the suffix if given an `-o'
2998	# argument, so we may need to know it at that point already.
2999	# Even if this section looks crufty: it has the advantage of
3000	# actually working.
3001	break;;
3002    * )
3003	break;;
3004  esac
3005done
3006test "$ac_cv_exeext" = no && ac_cv_exeext=
3007
3008else
3009  ac_file=''
3010fi
3011
3012{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3013$as_echo "$ac_file" >&6; }
3014if test -z "$ac_file"; then
3015  $as_echo "$as_me: failed program was:" >&5
3016sed 's/^/| /' conftest.$ac_ext >&5
3017
3018{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3019$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3020{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3021See \`config.log' for more details." >&5
3022$as_echo "$as_me: error: C compiler cannot create executables
3023See \`config.log' for more details." >&2;}
3024   { (exit 77); exit 77; }; }; }
3025fi
3026
3027ac_exeext=$ac_cv_exeext
3028
3029# Check that the compiler produces executables we can run.  If not, either
3030# the compiler is broken, or we cross compile.
3031{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3032$as_echo_n "checking whether the C compiler works... " >&6; }
3033# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3034# If not cross compiling, check that we can run a simple program.
3035if test "$cross_compiling" != yes; then
3036  if { ac_try='./$ac_file'
3037  { (case "(($ac_try" in
3038  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039  *) ac_try_echo=$ac_try;;
3040esac
3041eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3042$as_echo "$ac_try_echo") >&5
3043  (eval "$ac_try") 2>&5
3044  ac_status=$?
3045  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046  (exit $ac_status); }; }; then
3047    cross_compiling=no
3048  else
3049    if test "$cross_compiling" = maybe; then
3050	cross_compiling=yes
3051    else
3052	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3053$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3055If you meant to cross compile, use \`--host'.
3056See \`config.log' for more details." >&5
3057$as_echo "$as_me: error: cannot run C compiled programs.
3058If you meant to cross compile, use \`--host'.
3059See \`config.log' for more details." >&2;}
3060   { (exit 1); exit 1; }; }; }
3061    fi
3062  fi
3063fi
3064{ $as_echo "$as_me:$LINENO: result: yes" >&5
3065$as_echo "yes" >&6; }
3066
3067rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3068ac_clean_files=$ac_clean_files_save
3069# Check that the compiler produces executables we can run.  If not, either
3070# the compiler is broken, or we cross compile.
3071{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3072$as_echo_n "checking whether we are cross compiling... " >&6; }
3073{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3074$as_echo "$cross_compiling" >&6; }
3075
3076{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3077$as_echo_n "checking for suffix of executables... " >&6; }
3078if { (ac_try="$ac_link"
3079case "(($ac_try" in
3080  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081  *) ac_try_echo=$ac_try;;
3082esac
3083eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3084$as_echo "$ac_try_echo") >&5
3085  (eval "$ac_link") 2>&5
3086  ac_status=$?
3087  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088  (exit $ac_status); }; then
3089  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3090# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3091# work properly (i.e., refer to `conftest.exe'), while it won't with
3092# `rm'.
3093for ac_file in conftest.exe conftest conftest.*; do
3094  test -f "$ac_file" || continue
3095  case $ac_file in
3096    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3097    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3098	  break;;
3099    * ) break;;
3100  esac
3101done
3102else
3103  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3104$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3105{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3106See \`config.log' for more details." >&5
3107$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3108See \`config.log' for more details." >&2;}
3109   { (exit 1); exit 1; }; }; }
3110fi
3111
3112rm -f conftest$ac_cv_exeext
3113{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3114$as_echo "$ac_cv_exeext" >&6; }
3115
3116rm -f conftest.$ac_ext
3117EXEEXT=$ac_cv_exeext
3118ac_exeext=$EXEEXT
3119{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3120$as_echo_n "checking for suffix of object files... " >&6; }
3121if test "${ac_cv_objext+set}" = set; then
3122  $as_echo_n "(cached) " >&6
3123else
3124  cat >conftest.$ac_ext <<_ACEOF
3125/* confdefs.h.  */
3126_ACEOF
3127cat confdefs.h >>conftest.$ac_ext
3128cat >>conftest.$ac_ext <<_ACEOF
3129/* end confdefs.h.  */
3130
3131int
3132main ()
3133{
3134
3135  ;
3136  return 0;
3137}
3138_ACEOF
3139rm -f conftest.o conftest.obj
3140if { (ac_try="$ac_compile"
3141case "(($ac_try" in
3142  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143  *) ac_try_echo=$ac_try;;
3144esac
3145eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3146$as_echo "$ac_try_echo") >&5
3147  (eval "$ac_compile") 2>&5
3148  ac_status=$?
3149  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150  (exit $ac_status); }; then
3151  for ac_file in conftest.o conftest.obj conftest.*; do
3152  test -f "$ac_file" || continue;
3153  case $ac_file in
3154    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3155    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3156       break;;
3157  esac
3158done
3159else
3160  $as_echo "$as_me: failed program was:" >&5
3161sed 's/^/| /' conftest.$ac_ext >&5
3162
3163{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3164$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3166See \`config.log' for more details." >&5
3167$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3168See \`config.log' for more details." >&2;}
3169   { (exit 1); exit 1; }; }; }
3170fi
3171
3172rm -f conftest.$ac_cv_objext conftest.$ac_ext
3173fi
3174{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3175$as_echo "$ac_cv_objext" >&6; }
3176OBJEXT=$ac_cv_objext
3177ac_objext=$OBJEXT
3178{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3179$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3180if test "${ac_cv_c_compiler_gnu+set}" = set; then
3181  $as_echo_n "(cached) " >&6
3182else
3183  cat >conftest.$ac_ext <<_ACEOF
3184/* confdefs.h.  */
3185_ACEOF
3186cat confdefs.h >>conftest.$ac_ext
3187cat >>conftest.$ac_ext <<_ACEOF
3188/* end confdefs.h.  */
3189
3190int
3191main ()
3192{
3193#ifndef __GNUC__
3194       choke me
3195#endif
3196
3197  ;
3198  return 0;
3199}
3200_ACEOF
3201rm -f conftest.$ac_objext
3202if { (ac_try="$ac_compile"
3203case "(($ac_try" in
3204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205  *) ac_try_echo=$ac_try;;
3206esac
3207eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3208$as_echo "$ac_try_echo") >&5
3209  (eval "$ac_compile") 2>conftest.er1
3210  ac_status=$?
3211  grep -v '^ *+' conftest.er1 >conftest.err
3212  rm -f conftest.er1
3213  cat conftest.err >&5
3214  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215  (exit $ac_status); } && {
3216	 test -z "$ac_c_werror_flag" ||
3217	 test ! -s conftest.err
3218       } && test -s conftest.$ac_objext; then
3219  ac_compiler_gnu=yes
3220else
3221  $as_echo "$as_me: failed program was:" >&5
3222sed 's/^/| /' conftest.$ac_ext >&5
3223
3224	ac_compiler_gnu=no
3225fi
3226
3227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228ac_cv_c_compiler_gnu=$ac_compiler_gnu
3229
3230fi
3231{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3232$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3233if test $ac_compiler_gnu = yes; then
3234  GCC=yes
3235else
3236  GCC=
3237fi
3238ac_test_CFLAGS=${CFLAGS+set}
3239ac_save_CFLAGS=$CFLAGS
3240{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3241$as_echo_n "checking whether $CC accepts -g... " >&6; }
3242if test "${ac_cv_prog_cc_g+set}" = set; then
3243  $as_echo_n "(cached) " >&6
3244else
3245  ac_save_c_werror_flag=$ac_c_werror_flag
3246   ac_c_werror_flag=yes
3247   ac_cv_prog_cc_g=no
3248   CFLAGS="-g"
3249   cat >conftest.$ac_ext <<_ACEOF
3250/* confdefs.h.  */
3251_ACEOF
3252cat confdefs.h >>conftest.$ac_ext
3253cat >>conftest.$ac_ext <<_ACEOF
3254/* end confdefs.h.  */
3255
3256int
3257main ()
3258{
3259
3260  ;
3261  return 0;
3262}
3263_ACEOF
3264rm -f conftest.$ac_objext
3265if { (ac_try="$ac_compile"
3266case "(($ac_try" in
3267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268  *) ac_try_echo=$ac_try;;
3269esac
3270eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3271$as_echo "$ac_try_echo") >&5
3272  (eval "$ac_compile") 2>conftest.er1
3273  ac_status=$?
3274  grep -v '^ *+' conftest.er1 >conftest.err
3275  rm -f conftest.er1
3276  cat conftest.err >&5
3277  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278  (exit $ac_status); } && {
3279	 test -z "$ac_c_werror_flag" ||
3280	 test ! -s conftest.err
3281       } && test -s conftest.$ac_objext; then
3282  ac_cv_prog_cc_g=yes
3283else
3284  $as_echo "$as_me: failed program was:" >&5
3285sed 's/^/| /' conftest.$ac_ext >&5
3286
3287	CFLAGS=""
3288      cat >conftest.$ac_ext <<_ACEOF
3289/* confdefs.h.  */
3290_ACEOF
3291cat confdefs.h >>conftest.$ac_ext
3292cat >>conftest.$ac_ext <<_ACEOF
3293/* end confdefs.h.  */
3294
3295int
3296main ()
3297{
3298
3299  ;
3300  return 0;
3301}
3302_ACEOF
3303rm -f conftest.$ac_objext
3304if { (ac_try="$ac_compile"
3305case "(($ac_try" in
3306  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307  *) ac_try_echo=$ac_try;;
3308esac
3309eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3310$as_echo "$ac_try_echo") >&5
3311  (eval "$ac_compile") 2>conftest.er1
3312  ac_status=$?
3313  grep -v '^ *+' conftest.er1 >conftest.err
3314  rm -f conftest.er1
3315  cat conftest.err >&5
3316  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317  (exit $ac_status); } && {
3318	 test -z "$ac_c_werror_flag" ||
3319	 test ! -s conftest.err
3320       } && test -s conftest.$ac_objext; then
3321  :
3322else
3323  $as_echo "$as_me: failed program was:" >&5
3324sed 's/^/| /' conftest.$ac_ext >&5
3325
3326	ac_c_werror_flag=$ac_save_c_werror_flag
3327	 CFLAGS="-g"
3328	 cat >conftest.$ac_ext <<_ACEOF
3329/* confdefs.h.  */
3330_ACEOF
3331cat confdefs.h >>conftest.$ac_ext
3332cat >>conftest.$ac_ext <<_ACEOF
3333/* end confdefs.h.  */
3334
3335int
3336main ()
3337{
3338
3339  ;
3340  return 0;
3341}
3342_ACEOF
3343rm -f conftest.$ac_objext
3344if { (ac_try="$ac_compile"
3345case "(($ac_try" in
3346  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347  *) ac_try_echo=$ac_try;;
3348esac
3349eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3350$as_echo "$ac_try_echo") >&5
3351  (eval "$ac_compile") 2>conftest.er1
3352  ac_status=$?
3353  grep -v '^ *+' conftest.er1 >conftest.err
3354  rm -f conftest.er1
3355  cat conftest.err >&5
3356  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357  (exit $ac_status); } && {
3358	 test -z "$ac_c_werror_flag" ||
3359	 test ! -s conftest.err
3360       } && test -s conftest.$ac_objext; then
3361  ac_cv_prog_cc_g=yes
3362else
3363  $as_echo "$as_me: failed program was:" >&5
3364sed 's/^/| /' conftest.$ac_ext >&5
3365
3366
3367fi
3368
3369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370fi
3371
3372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373fi
3374
3375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376   ac_c_werror_flag=$ac_save_c_werror_flag
3377fi
3378{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3379$as_echo "$ac_cv_prog_cc_g" >&6; }
3380if test "$ac_test_CFLAGS" = set; then
3381  CFLAGS=$ac_save_CFLAGS
3382elif test $ac_cv_prog_cc_g = yes; then
3383  if test "$GCC" = yes; then
3384    CFLAGS="-g -O2"
3385  else
3386    CFLAGS="-g"
3387  fi
3388else
3389  if test "$GCC" = yes; then
3390    CFLAGS="-O2"
3391  else
3392    CFLAGS=
3393  fi
3394fi
3395{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3396$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3397if test "${ac_cv_prog_cc_c89+set}" = set; then
3398  $as_echo_n "(cached) " >&6
3399else
3400  ac_cv_prog_cc_c89=no
3401ac_save_CC=$CC
3402cat >conftest.$ac_ext <<_ACEOF
3403/* confdefs.h.  */
3404_ACEOF
3405cat confdefs.h >>conftest.$ac_ext
3406cat >>conftest.$ac_ext <<_ACEOF
3407/* end confdefs.h.  */
3408#include <stdarg.h>
3409#include <stdio.h>
3410#include <sys/types.h>
3411#include <sys/stat.h>
3412/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3413struct buf { int x; };
3414FILE * (*rcsopen) (struct buf *, struct stat *, int);
3415static char *e (p, i)
3416     char **p;
3417     int i;
3418{
3419  return p[i];
3420}
3421static char *f (char * (*g) (char **, int), char **p, ...)
3422{
3423  char *s;
3424  va_list v;
3425  va_start (v,p);
3426  s = g (p, va_arg (v,int));
3427  va_end (v);
3428  return s;
3429}
3430
3431/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3432   function prototypes and stuff, but not '\xHH' hex character constants.
3433   These don't provoke an error unfortunately, instead are silently treated
3434   as 'x'.  The following induces an error, until -std is added to get
3435   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3436   array size at least.  It's necessary to write '\x00'==0 to get something
3437   that's true only with -std.  */
3438int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3439
3440/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3441   inside strings and character constants.  */
3442#define FOO(x) 'x'
3443int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3444
3445int test (int i, double x);
3446struct s1 {int (*f) (int a);};
3447struct s2 {int (*f) (double a);};
3448int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3449int argc;
3450char **argv;
3451int
3452main ()
3453{
3454return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3455  ;
3456  return 0;
3457}
3458_ACEOF
3459for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3460	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3461do
3462  CC="$ac_save_CC $ac_arg"
3463  rm -f conftest.$ac_objext
3464if { (ac_try="$ac_compile"
3465case "(($ac_try" in
3466  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467  *) ac_try_echo=$ac_try;;
3468esac
3469eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3470$as_echo "$ac_try_echo") >&5
3471  (eval "$ac_compile") 2>conftest.er1
3472  ac_status=$?
3473  grep -v '^ *+' conftest.er1 >conftest.err
3474  rm -f conftest.er1
3475  cat conftest.err >&5
3476  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477  (exit $ac_status); } && {
3478	 test -z "$ac_c_werror_flag" ||
3479	 test ! -s conftest.err
3480       } && test -s conftest.$ac_objext; then
3481  ac_cv_prog_cc_c89=$ac_arg
3482else
3483  $as_echo "$as_me: failed program was:" >&5
3484sed 's/^/| /' conftest.$ac_ext >&5
3485
3486
3487fi
3488
3489rm -f core conftest.err conftest.$ac_objext
3490  test "x$ac_cv_prog_cc_c89" != "xno" && break
3491done
3492rm -f conftest.$ac_ext
3493CC=$ac_save_CC
3494
3495fi
3496# AC_CACHE_VAL
3497case "x$ac_cv_prog_cc_c89" in
3498  x)
3499    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3500$as_echo "none needed" >&6; } ;;
3501  xno)
3502    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3503$as_echo "unsupported" >&6; } ;;
3504  *)
3505    CC="$CC $ac_cv_prog_cc_c89"
3506    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3507$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3508esac
3509
3510
3511ac_ext=c
3512ac_cpp='$CPP $CPPFLAGS'
3513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516DEPDIR="${am__leading_dot}deps"
3517
3518ac_config_commands="$ac_config_commands depfiles"
3519
3520
3521am_make=${MAKE-make}
3522cat > confinc << 'END'
3523am__doit:
3524	@echo done
3525.PHONY: am__doit
3526END
3527# If we don't find an include directive, just comment out the code.
3528{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3529$as_echo_n "checking for style of include used by $am_make... " >&6; }
3530am__include="#"
3531am__quote=
3532_am_result=none
3533# First try GNU make style include.
3534echo "include confinc" > confmf
3535# We grep out `Entering directory' and `Leaving directory'
3536# messages which can occur if `w' ends up in MAKEFLAGS.
3537# In particular we don't look at `^make:' because GNU make might
3538# be invoked under some other name (usually "gmake"), in which
3539# case it prints its new name instead of `make'.
3540if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3541   am__include=include
3542   am__quote=
3543   _am_result=GNU
3544fi
3545# Now try BSD make style include.
3546if test "$am__include" = "#"; then
3547   echo '.include "confinc"' > confmf
3548   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3549      am__include=.include
3550      am__quote="\""
3551      _am_result=BSD
3552   fi
3553fi
3554
3555
3556{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3557$as_echo "$_am_result" >&6; }
3558rm -f confinc confmf
3559
3560# Check whether --enable-dependency-tracking was given.
3561if test "${enable_dependency_tracking+set}" = set; then
3562  enableval=$enable_dependency_tracking;
3563fi
3564
3565if test "x$enable_dependency_tracking" != xno; then
3566  am_depcomp="$ac_aux_dir/depcomp"
3567  AMDEPBACKSLASH='\'
3568fi
3569 if test "x$enable_dependency_tracking" != xno; then
3570  AMDEP_TRUE=
3571  AMDEP_FALSE='#'
3572else
3573  AMDEP_TRUE='#'
3574  AMDEP_FALSE=
3575fi
3576
3577
3578
3579depcc="$CC"   am_compiler_list=
3580
3581{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3582$as_echo_n "checking dependency style of $depcc... " >&6; }
3583if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3584  $as_echo_n "(cached) " >&6
3585else
3586  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3587  # We make a subdir and do the tests there.  Otherwise we can end up
3588  # making bogus files that we don't know about and never remove.  For
3589  # instance it was reported that on HP-UX the gcc test will end up
3590  # making a dummy file named `D' -- because `-MD' means `put the output
3591  # in D'.
3592  mkdir conftest.dir
3593  # Copy depcomp to subdir because otherwise we won't find it if we're
3594  # using a relative directory.
3595  cp "$am_depcomp" conftest.dir
3596  cd conftest.dir
3597  # We will build objects and dependencies in a subdirectory because
3598  # it helps to detect inapplicable dependency modes.  For instance
3599  # both Tru64's cc and ICC support -MD to output dependencies as a
3600  # side effect of compilation, but ICC will put the dependencies in
3601  # the current directory while Tru64 will put them in the object
3602  # directory.
3603  mkdir sub
3604
3605  am_cv_CC_dependencies_compiler_type=none
3606  if test "$am_compiler_list" = ""; then
3607     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3608  fi
3609  for depmode in $am_compiler_list; do
3610    # Setup a source with many dependencies, because some compilers
3611    # like to wrap large dependency lists on column 80 (with \), and
3612    # we should not choose a depcomp mode which is confused by this.
3613    #
3614    # We need to recreate these files for each test, as the compiler may
3615    # overwrite some of them when testing with obscure command lines.
3616    # This happens at least with the AIX C compiler.
3617    : > sub/conftest.c
3618    for i in 1 2 3 4 5 6; do
3619      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3620      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3621      # Solaris 8's {/usr,}/bin/sh.
3622      touch sub/conftst$i.h
3623    done
3624    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3625
3626    case $depmode in
3627    nosideeffect)
3628      # after this tag, mechanisms are not by side-effect, so they'll
3629      # only be used when explicitly requested
3630      if test "x$enable_dependency_tracking" = xyes; then
3631	continue
3632      else
3633	break
3634      fi
3635      ;;
3636    none) break ;;
3637    esac
3638    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3639    # mode.  It turns out that the SunPro C++ compiler does not properly
3640    # handle `-M -o', and we need to detect this.
3641    if depmode=$depmode \
3642       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3643       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3644       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3645         >/dev/null 2>conftest.err &&
3646       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3647       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3648       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3649       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3650      # icc doesn't choke on unknown options, it will just issue warnings
3651      # or remarks (even with -Werror).  So we grep stderr for any message
3652      # that says an option was ignored or not supported.
3653      # When given -MP, icc 7.0 and 7.1 complain thusly:
3654      #   icc: Command line warning: ignoring option '-M'; no argument required
3655      # The diagnosis changed in icc 8.0:
3656      #   icc: Command line remark: option '-MP' not supported
3657      if (grep 'ignoring option' conftest.err ||
3658          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3659        am_cv_CC_dependencies_compiler_type=$depmode
3660        break
3661      fi
3662    fi
3663  done
3664
3665  cd ..
3666  rm -rf conftest.dir
3667else
3668  am_cv_CC_dependencies_compiler_type=none
3669fi
3670
3671fi
3672{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3673$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3674CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3675
3676 if
3677  test "x$enable_dependency_tracking" != xno \
3678  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3679  am__fastdepCC_TRUE=
3680  am__fastdepCC_FALSE='#'
3681else
3682  am__fastdepCC_TRUE='#'
3683  am__fastdepCC_FALSE=
3684fi
3685
3686
3687case `pwd` in
3688  *\ * | *\	*)
3689    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3690$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3691esac
3692
3693
3694
3695macro_version='2.2.6'
3696macro_revision='1.3012'
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710ltmain="$ac_aux_dir/ltmain.sh"
3711
3712# Make sure we can run config.sub.
3713$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3714  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3715$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3716   { (exit 1); exit 1; }; }
3717
3718{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3719$as_echo_n "checking build system type... " >&6; }
3720if test "${ac_cv_build+set}" = set; then
3721  $as_echo_n "(cached) " >&6
3722else
3723  ac_build_alias=$build_alias
3724test "x$ac_build_alias" = x &&
3725  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3726test "x$ac_build_alias" = x &&
3727  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3728$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3729   { (exit 1); exit 1; }; }
3730ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3731  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3732$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3733   { (exit 1); exit 1; }; }
3734
3735fi
3736{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3737$as_echo "$ac_cv_build" >&6; }
3738case $ac_cv_build in
3739*-*-*) ;;
3740*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3741$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3742   { (exit 1); exit 1; }; };;
3743esac
3744build=$ac_cv_build
3745ac_save_IFS=$IFS; IFS='-'
3746set x $ac_cv_build
3747shift
3748build_cpu=$1
3749build_vendor=$2
3750shift; shift
3751# Remember, the first character of IFS is used to create $*,
3752# except with old shells:
3753build_os=$*
3754IFS=$ac_save_IFS
3755case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3756
3757
3758{ $as_echo "$as_me:$LINENO: checking host system type" >&5
3759$as_echo_n "checking host system type... " >&6; }
3760if test "${ac_cv_host+set}" = set; then
3761  $as_echo_n "(cached) " >&6
3762else
3763  if test "x$host_alias" = x; then
3764  ac_cv_host=$ac_cv_build
3765else
3766  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3767    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3768$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3769   { (exit 1); exit 1; }; }
3770fi
3771
3772fi
3773{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3774$as_echo "$ac_cv_host" >&6; }
3775case $ac_cv_host in
3776*-*-*) ;;
3777*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3778$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3779   { (exit 1); exit 1; }; };;
3780esac
3781host=$ac_cv_host
3782ac_save_IFS=$IFS; IFS='-'
3783set x $ac_cv_host
3784shift
3785host_cpu=$1
3786host_vendor=$2
3787shift; shift
3788# Remember, the first character of IFS is used to create $*,
3789# except with old shells:
3790host_os=$*
3791IFS=$ac_save_IFS
3792case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3793
3794
3795{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3796$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3797if test "${ac_cv_path_SED+set}" = set; then
3798  $as_echo_n "(cached) " >&6
3799else
3800            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3801     for ac_i in 1 2 3 4 5 6 7; do
3802       ac_script="$ac_script$as_nl$ac_script"
3803     done
3804     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3805     $as_unset ac_script || ac_script=
3806     if test -z "$SED"; then
3807  ac_path_SED_found=false
3808  # Loop through the user's path and test for each of PROGNAME-LIST
3809  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810for as_dir in $PATH
3811do
3812  IFS=$as_save_IFS
3813  test -z "$as_dir" && as_dir=.
3814  for ac_prog in sed gsed; do
3815    for ac_exec_ext in '' $ac_executable_extensions; do
3816      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3817      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3818# Check for GNU ac_path_SED and select it if it is found.
3819  # Check for GNU $ac_path_SED
3820case `"$ac_path_SED" --version 2>&1` in
3821*GNU*)
3822  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3823*)
3824  ac_count=0
3825  $as_echo_n 0123456789 >"conftest.in"
3826  while :
3827  do
3828    cat "conftest.in" "conftest.in" >"conftest.tmp"
3829    mv "conftest.tmp" "conftest.in"
3830    cp "conftest.in" "conftest.nl"
3831    $as_echo '' >> "conftest.nl"
3832    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3833    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3834    ac_count=`expr $ac_count + 1`
3835    if test $ac_count -gt ${ac_path_SED_max-0}; then
3836      # Best one so far, save it but keep looking for a better one
3837      ac_cv_path_SED="$ac_path_SED"
3838      ac_path_SED_max=$ac_count
3839    fi
3840    # 10*(2^10) chars as input seems more than enough
3841    test $ac_count -gt 10 && break
3842  done
3843  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3844esac
3845
3846      $ac_path_SED_found && break 3
3847    done
3848  done
3849done
3850IFS=$as_save_IFS
3851  if test -z "$ac_cv_path_SED"; then
3852    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3853$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3854   { (exit 1); exit 1; }; }
3855  fi
3856else
3857  ac_cv_path_SED=$SED
3858fi
3859
3860fi
3861{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3862$as_echo "$ac_cv_path_SED" >&6; }
3863 SED="$ac_cv_path_SED"
3864  rm -f conftest.sed
3865
3866test -z "$SED" && SED=sed
3867Xsed="$SED -e 1s/^X//"
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3880$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3881if test "${ac_cv_path_GREP+set}" = set; then
3882  $as_echo_n "(cached) " >&6
3883else
3884  if test -z "$GREP"; then
3885  ac_path_GREP_found=false
3886  # Loop through the user's path and test for each of PROGNAME-LIST
3887  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3889do
3890  IFS=$as_save_IFS
3891  test -z "$as_dir" && as_dir=.
3892  for ac_prog in grep ggrep; do
3893    for ac_exec_ext in '' $ac_executable_extensions; do
3894      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3895      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3896# Check for GNU ac_path_GREP and select it if it is found.
3897  # Check for GNU $ac_path_GREP
3898case `"$ac_path_GREP" --version 2>&1` in
3899*GNU*)
3900  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3901*)
3902  ac_count=0
3903  $as_echo_n 0123456789 >"conftest.in"
3904  while :
3905  do
3906    cat "conftest.in" "conftest.in" >"conftest.tmp"
3907    mv "conftest.tmp" "conftest.in"
3908    cp "conftest.in" "conftest.nl"
3909    $as_echo 'GREP' >> "conftest.nl"
3910    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3911    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3912    ac_count=`expr $ac_count + 1`
3913    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3914      # Best one so far, save it but keep looking for a better one
3915      ac_cv_path_GREP="$ac_path_GREP"
3916      ac_path_GREP_max=$ac_count
3917    fi
3918    # 10*(2^10) chars as input seems more than enough
3919    test $ac_count -gt 10 && break
3920  done
3921  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3922esac
3923
3924      $ac_path_GREP_found && break 3
3925    done
3926  done
3927done
3928IFS=$as_save_IFS
3929  if test -z "$ac_cv_path_GREP"; then
3930    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3931$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3932   { (exit 1); exit 1; }; }
3933  fi
3934else
3935  ac_cv_path_GREP=$GREP
3936fi
3937
3938fi
3939{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3940$as_echo "$ac_cv_path_GREP" >&6; }
3941 GREP="$ac_cv_path_GREP"
3942
3943
3944{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3945$as_echo_n "checking for egrep... " >&6; }
3946if test "${ac_cv_path_EGREP+set}" = set; then
3947  $as_echo_n "(cached) " >&6
3948else
3949  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3950   then ac_cv_path_EGREP="$GREP -E"
3951   else
3952     if test -z "$EGREP"; then
3953  ac_path_EGREP_found=false
3954  # Loop through the user's path and test for each of PROGNAME-LIST
3955  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3957do
3958  IFS=$as_save_IFS
3959  test -z "$as_dir" && as_dir=.
3960  for ac_prog in egrep; do
3961    for ac_exec_ext in '' $ac_executable_extensions; do
3962      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3963      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3964# Check for GNU ac_path_EGREP and select it if it is found.
3965  # Check for GNU $ac_path_EGREP
3966case `"$ac_path_EGREP" --version 2>&1` in
3967*GNU*)
3968  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3969*)
3970  ac_count=0
3971  $as_echo_n 0123456789 >"conftest.in"
3972  while :
3973  do
3974    cat "conftest.in" "conftest.in" >"conftest.tmp"
3975    mv "conftest.tmp" "conftest.in"
3976    cp "conftest.in" "conftest.nl"
3977    $as_echo 'EGREP' >> "conftest.nl"
3978    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3979    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3980    ac_count=`expr $ac_count + 1`
3981    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3982      # Best one so far, save it but keep looking for a better one
3983      ac_cv_path_EGREP="$ac_path_EGREP"
3984      ac_path_EGREP_max=$ac_count
3985    fi
3986    # 10*(2^10) chars as input seems more than enough
3987    test $ac_count -gt 10 && break
3988  done
3989  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3990esac
3991
3992      $ac_path_EGREP_found && break 3
3993    done
3994  done
3995done
3996IFS=$as_save_IFS
3997  if test -z "$ac_cv_path_EGREP"; then
3998    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3999$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4000   { (exit 1); exit 1; }; }
4001  fi
4002else
4003  ac_cv_path_EGREP=$EGREP
4004fi
4005
4006   fi
4007fi
4008{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4009$as_echo "$ac_cv_path_EGREP" >&6; }
4010 EGREP="$ac_cv_path_EGREP"
4011
4012
4013{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4014$as_echo_n "checking for fgrep... " >&6; }
4015if test "${ac_cv_path_FGREP+set}" = set; then
4016  $as_echo_n "(cached) " >&6
4017else
4018  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4019   then ac_cv_path_FGREP="$GREP -F"
4020   else
4021     if test -z "$FGREP"; then
4022  ac_path_FGREP_found=false
4023  # Loop through the user's path and test for each of PROGNAME-LIST
4024  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4025for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4026do
4027  IFS=$as_save_IFS
4028  test -z "$as_dir" && as_dir=.
4029  for ac_prog in fgrep; do
4030    for ac_exec_ext in '' $ac_executable_extensions; do
4031      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4032      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4033# Check for GNU ac_path_FGREP and select it if it is found.
4034  # Check for GNU $ac_path_FGREP
4035case `"$ac_path_FGREP" --version 2>&1` in
4036*GNU*)
4037  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4038*)
4039  ac_count=0
4040  $as_echo_n 0123456789 >"conftest.in"
4041  while :
4042  do
4043    cat "conftest.in" "conftest.in" >"conftest.tmp"
4044    mv "conftest.tmp" "conftest.in"
4045    cp "conftest.in" "conftest.nl"
4046    $as_echo 'FGREP' >> "conftest.nl"
4047    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4048    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4049    ac_count=`expr $ac_count + 1`
4050    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4051      # Best one so far, save it but keep looking for a better one
4052      ac_cv_path_FGREP="$ac_path_FGREP"
4053      ac_path_FGREP_max=$ac_count
4054    fi
4055    # 10*(2^10) chars as input seems more than enough
4056    test $ac_count -gt 10 && break
4057  done
4058  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4059esac
4060
4061      $ac_path_FGREP_found && break 3
4062    done
4063  done
4064done
4065IFS=$as_save_IFS
4066  if test -z "$ac_cv_path_FGREP"; then
4067    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4068$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4069   { (exit 1); exit 1; }; }
4070  fi
4071else
4072  ac_cv_path_FGREP=$FGREP
4073fi
4074
4075   fi
4076fi
4077{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4078$as_echo "$ac_cv_path_FGREP" >&6; }
4079 FGREP="$ac_cv_path_FGREP"
4080
4081
4082test -z "$GREP" && GREP=grep
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102# Check whether --with-gnu-ld was given.
4103if test "${with_gnu_ld+set}" = set; then
4104  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4105else
4106  with_gnu_ld=no
4107fi
4108
4109ac_prog=ld
4110if test "$GCC" = yes; then
4111  # Check if gcc -print-prog-name=ld gives a path.
4112  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4113$as_echo_n "checking for ld used by $CC... " >&6; }
4114  case $host in
4115  *-*-mingw*)
4116    # gcc leaves a trailing carriage return which upsets mingw
4117    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4118  *)
4119    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4120  esac
4121  case $ac_prog in
4122    # Accept absolute paths.
4123    [\\/]* | ?:[\\/]*)
4124      re_direlt='/[^/][^/]*/\.\./'
4125      # Canonicalize the pathname of ld
4126      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4127      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4128	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4129      done
4130      test -z "$LD" && LD="$ac_prog"
4131      ;;
4132  "")
4133    # If it fails, then pretend we aren't using GCC.
4134    ac_prog=ld
4135    ;;
4136  *)
4137    # If it is relative, then search for the first ld in PATH.
4138    with_gnu_ld=unknown
4139    ;;
4140  esac
4141elif test "$with_gnu_ld" = yes; then
4142  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4143$as_echo_n "checking for GNU ld... " >&6; }
4144else
4145  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4146$as_echo_n "checking for non-GNU ld... " >&6; }
4147fi
4148if test "${lt_cv_path_LD+set}" = set; then
4149  $as_echo_n "(cached) " >&6
4150else
4151  if test -z "$LD"; then
4152  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4153  for ac_dir in $PATH; do
4154    IFS="$lt_save_ifs"
4155    test -z "$ac_dir" && ac_dir=.
4156    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4157      lt_cv_path_LD="$ac_dir/$ac_prog"
4158      # Check to see if the program is GNU ld.  I'd rather use --version,
4159      # but apparently some variants of GNU ld only accept -v.
4160      # Break only if it was the GNU/non-GNU ld that we prefer.
4161      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4162      *GNU* | *'with BFD'*)
4163	test "$with_gnu_ld" != no && break
4164	;;
4165      *)
4166	test "$with_gnu_ld" != yes && break
4167	;;
4168      esac
4169    fi
4170  done
4171  IFS="$lt_save_ifs"
4172else
4173  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4174fi
4175fi
4176
4177LD="$lt_cv_path_LD"
4178if test -n "$LD"; then
4179  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4180$as_echo "$LD" >&6; }
4181else
4182  { $as_echo "$as_me:$LINENO: result: no" >&5
4183$as_echo "no" >&6; }
4184fi
4185test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4186$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4187   { (exit 1); exit 1; }; }
4188{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4189$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4190if test "${lt_cv_prog_gnu_ld+set}" = set; then
4191  $as_echo_n "(cached) " >&6
4192else
4193  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4194case `$LD -v 2>&1 </dev/null` in
4195*GNU* | *'with BFD'*)
4196  lt_cv_prog_gnu_ld=yes
4197  ;;
4198*)
4199  lt_cv_prog_gnu_ld=no
4200  ;;
4201esac
4202fi
4203{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4204$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4205with_gnu_ld=$lt_cv_prog_gnu_ld
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4216$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4217if test "${lt_cv_path_NM+set}" = set; then
4218  $as_echo_n "(cached) " >&6
4219else
4220  if test -n "$NM"; then
4221  # Let the user override the test.
4222  lt_cv_path_NM="$NM"
4223else
4224  lt_nm_to_check="${ac_tool_prefix}nm"
4225  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4226    lt_nm_to_check="$lt_nm_to_check nm"
4227  fi
4228  for lt_tmp_nm in $lt_nm_to_check; do
4229    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4230    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4231      IFS="$lt_save_ifs"
4232      test -z "$ac_dir" && ac_dir=.
4233      tmp_nm="$ac_dir/$lt_tmp_nm"
4234      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4235	# Check to see if the nm accepts a BSD-compat flag.
4236	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4237	#   nm: unknown option "B" ignored
4238	# Tru64's nm complains that /dev/null is an invalid object file
4239	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4240	*/dev/null* | *'Invalid file or object type'*)
4241	  lt_cv_path_NM="$tmp_nm -B"
4242	  break
4243	  ;;
4244	*)
4245	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4246	  */dev/null*)
4247	    lt_cv_path_NM="$tmp_nm -p"
4248	    break
4249	    ;;
4250	  *)
4251	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4252	    continue # so that we can try to find one that supports BSD flags
4253	    ;;
4254	  esac
4255	  ;;
4256	esac
4257      fi
4258    done
4259    IFS="$lt_save_ifs"
4260  done
4261  : ${lt_cv_path_NM=no}
4262fi
4263fi
4264{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4265$as_echo "$lt_cv_path_NM" >&6; }
4266if test "$lt_cv_path_NM" != "no"; then
4267  NM="$lt_cv_path_NM"
4268else
4269  # Didn't find any BSD compatible name lister, look for dumpbin.
4270  if test -n "$ac_tool_prefix"; then
4271  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4272  do
4273    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4274set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4275{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4276$as_echo_n "checking for $ac_word... " >&6; }
4277if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4278  $as_echo_n "(cached) " >&6
4279else
4280  if test -n "$DUMPBIN"; then
4281  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4282else
4283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284for as_dir in $PATH
4285do
4286  IFS=$as_save_IFS
4287  test -z "$as_dir" && as_dir=.
4288  for ac_exec_ext in '' $ac_executable_extensions; do
4289  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4291    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4292    break 2
4293  fi
4294done
4295done
4296IFS=$as_save_IFS
4297
4298fi
4299fi
4300DUMPBIN=$ac_cv_prog_DUMPBIN
4301if test -n "$DUMPBIN"; then
4302  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4303$as_echo "$DUMPBIN" >&6; }
4304else
4305  { $as_echo "$as_me:$LINENO: result: no" >&5
4306$as_echo "no" >&6; }
4307fi
4308
4309
4310    test -n "$DUMPBIN" && break
4311  done
4312fi
4313if test -z "$DUMPBIN"; then
4314  ac_ct_DUMPBIN=$DUMPBIN
4315  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4316do
4317  # Extract the first word of "$ac_prog", so it can be a program name with args.
4318set dummy $ac_prog; ac_word=$2
4319{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4320$as_echo_n "checking for $ac_word... " >&6; }
4321if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4322  $as_echo_n "(cached) " >&6
4323else
4324  if test -n "$ac_ct_DUMPBIN"; then
4325  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4326else
4327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328for as_dir in $PATH
4329do
4330  IFS=$as_save_IFS
4331  test -z "$as_dir" && as_dir=.
4332  for ac_exec_ext in '' $ac_executable_extensions; do
4333  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4334    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4335    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4336    break 2
4337  fi
4338done
4339done
4340IFS=$as_save_IFS
4341
4342fi
4343fi
4344ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4345if test -n "$ac_ct_DUMPBIN"; then
4346  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4347$as_echo "$ac_ct_DUMPBIN" >&6; }
4348else
4349  { $as_echo "$as_me:$LINENO: result: no" >&5
4350$as_echo "no" >&6; }
4351fi
4352
4353
4354  test -n "$ac_ct_DUMPBIN" && break
4355done
4356
4357  if test "x$ac_ct_DUMPBIN" = x; then
4358    DUMPBIN=":"
4359  else
4360    case $cross_compiling:$ac_tool_warned in
4361yes:)
4362{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4363$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4364ac_tool_warned=yes ;;
4365esac
4366    DUMPBIN=$ac_ct_DUMPBIN
4367  fi
4368fi
4369
4370
4371  if test "$DUMPBIN" != ":"; then
4372    NM="$DUMPBIN"
4373  fi
4374fi
4375test -z "$NM" && NM=nm
4376
4377
4378
4379
4380
4381
4382{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4383$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4384if test "${lt_cv_nm_interface+set}" = set; then
4385  $as_echo_n "(cached) " >&6
4386else
4387  lt_cv_nm_interface="BSD nm"
4388  echo "int some_variable = 0;" > conftest.$ac_ext
4389  (eval echo "\"\$as_me:4389: $ac_compile\"" >&5)
4390  (eval "$ac_compile" 2>conftest.err)
4391  cat conftest.err >&5
4392  (eval echo "\"\$as_me:4392: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4393  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4394  cat conftest.err >&5
4395  (eval echo "\"\$as_me:4395: output\"" >&5)
4396  cat conftest.out >&5
4397  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4398    lt_cv_nm_interface="MS dumpbin"
4399  fi
4400  rm -f conftest*
4401fi
4402{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4403$as_echo "$lt_cv_nm_interface" >&6; }
4404
4405{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4406$as_echo_n "checking whether ln -s works... " >&6; }
4407LN_S=$as_ln_s
4408if test "$LN_S" = "ln -s"; then
4409  { $as_echo "$as_me:$LINENO: result: yes" >&5
4410$as_echo "yes" >&6; }
4411else
4412  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4413$as_echo "no, using $LN_S" >&6; }
4414fi
4415
4416# find the maximum length of command line arguments
4417{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4418$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4419if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4420  $as_echo_n "(cached) " >&6
4421else
4422    i=0
4423  teststring="ABCD"
4424
4425  case $build_os in
4426  msdosdjgpp*)
4427    # On DJGPP, this test can blow up pretty badly due to problems in libc
4428    # (any single argument exceeding 2000 bytes causes a buffer overrun
4429    # during glob expansion).  Even if it were fixed, the result of this
4430    # check would be larger than it should be.
4431    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4432    ;;
4433
4434  gnu*)
4435    # Under GNU Hurd, this test is not required because there is
4436    # no limit to the length of command line arguments.
4437    # Libtool will interpret -1 as no limit whatsoever
4438    lt_cv_sys_max_cmd_len=-1;
4439    ;;
4440
4441  cygwin* | mingw* | cegcc*)
4442    # On Win9x/ME, this test blows up -- it succeeds, but takes
4443    # about 5 minutes as the teststring grows exponentially.
4444    # Worse, since 9x/ME are not pre-emptively multitasking,
4445    # you end up with a "frozen" computer, even though with patience
4446    # the test eventually succeeds (with a max line length of 256k).
4447    # Instead, let's just punt: use the minimum linelength reported by
4448    # all of the supported platforms: 8192 (on NT/2K/XP).
4449    lt_cv_sys_max_cmd_len=8192;
4450    ;;
4451
4452  amigaos*)
4453    # On AmigaOS with pdksh, this test takes hours, literally.
4454    # So we just punt and use a minimum line length of 8192.
4455    lt_cv_sys_max_cmd_len=8192;
4456    ;;
4457
4458  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4459    # This has been around since 386BSD, at least.  Likely further.
4460    if test -x /sbin/sysctl; then
4461      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4462    elif test -x /usr/sbin/sysctl; then
4463      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4464    else
4465      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4466    fi
4467    # And add a safety zone
4468    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4469    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4470    ;;
4471
4472  interix*)
4473    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4474    lt_cv_sys_max_cmd_len=196608
4475    ;;
4476
4477  osf*)
4478    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4479    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4480    # nice to cause kernel panics so lets avoid the loop below.
4481    # First set a reasonable default.
4482    lt_cv_sys_max_cmd_len=16384
4483    #
4484    if test -x /sbin/sysconfig; then
4485      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4486        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4487      esac
4488    fi
4489    ;;
4490  sco3.2v5*)
4491    lt_cv_sys_max_cmd_len=102400
4492    ;;
4493  sysv5* | sco5v6* | sysv4.2uw2*)
4494    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4495    if test -n "$kargmax"; then
4496      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4497    else
4498      lt_cv_sys_max_cmd_len=32768
4499    fi
4500    ;;
4501  *)
4502    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4503    if test -n "$lt_cv_sys_max_cmd_len"; then
4504      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4505      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4506    else
4507      # Make teststring a little bigger before we do anything with it.
4508      # a 1K string should be a reasonable start.
4509      for i in 1 2 3 4 5 6 7 8 ; do
4510        teststring=$teststring$teststring
4511      done
4512      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4513      # If test is not a shell built-in, we'll probably end up computing a
4514      # maximum length that is only half of the actual maximum length, but
4515      # we can't tell.
4516      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4517	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4518	      test $i != 17 # 1/2 MB should be enough
4519      do
4520        i=`expr $i + 1`
4521        teststring=$teststring$teststring
4522      done
4523      # Only check the string length outside the loop.
4524      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4525      teststring=
4526      # Add a significant safety factor because C++ compilers can tack on
4527      # massive amounts of additional arguments before passing them to the
4528      # linker.  It appears as though 1/2 is a usable value.
4529      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4530    fi
4531    ;;
4532  esac
4533
4534fi
4535
4536if test -n $lt_cv_sys_max_cmd_len ; then
4537  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4538$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4539else
4540  { $as_echo "$as_me:$LINENO: result: none" >&5
4541$as_echo "none" >&6; }
4542fi
4543max_cmd_len=$lt_cv_sys_max_cmd_len
4544
4545
4546
4547
4548
4549
4550: ${CP="cp -f"}
4551: ${MV="mv -f"}
4552: ${RM="rm -f"}
4553
4554{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4555$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4556# Try some XSI features
4557xsi_shell=no
4558( _lt_dummy="a/b/c"
4559  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4560      = c,a/b,, \
4561    && eval 'test $(( 1 + 1 )) -eq 2 \
4562    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4563  && xsi_shell=yes
4564{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4565$as_echo "$xsi_shell" >&6; }
4566
4567
4568{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4569$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4570lt_shell_append=no
4571( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4572    >/dev/null 2>&1 \
4573  && lt_shell_append=yes
4574{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4575$as_echo "$lt_shell_append" >&6; }
4576
4577
4578if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4579  lt_unset=unset
4580else
4581  lt_unset=false
4582fi
4583
4584
4585
4586
4587
4588# test EBCDIC or ASCII
4589case `echo X|tr X '\101'` in
4590 A) # ASCII based system
4591    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4592  lt_SP2NL='tr \040 \012'
4593  lt_NL2SP='tr \015\012 \040\040'
4594  ;;
4595 *) # EBCDIC based system
4596  lt_SP2NL='tr \100 \n'
4597  lt_NL2SP='tr \r\n \100\100'
4598  ;;
4599esac
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4610$as_echo_n "checking for $LD option to reload object files... " >&6; }
4611if test "${lt_cv_ld_reload_flag+set}" = set; then
4612  $as_echo_n "(cached) " >&6
4613else
4614  lt_cv_ld_reload_flag='-r'
4615fi
4616{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4617$as_echo "$lt_cv_ld_reload_flag" >&6; }
4618reload_flag=$lt_cv_ld_reload_flag
4619case $reload_flag in
4620"" | " "*) ;;
4621*) reload_flag=" $reload_flag" ;;
4622esac
4623reload_cmds='$LD$reload_flag -o $output$reload_objs'
4624case $host_os in
4625  darwin*)
4626    if test "$GCC" = yes; then
4627      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4628    else
4629      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4630    fi
4631    ;;
4632esac
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642if test -n "$ac_tool_prefix"; then
4643  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4644set dummy ${ac_tool_prefix}objdump; ac_word=$2
4645{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4646$as_echo_n "checking for $ac_word... " >&6; }
4647if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4648  $as_echo_n "(cached) " >&6
4649else
4650  if test -n "$OBJDUMP"; then
4651  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4652else
4653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654for as_dir in $PATH
4655do
4656  IFS=$as_save_IFS
4657  test -z "$as_dir" && as_dir=.
4658  for ac_exec_ext in '' $ac_executable_extensions; do
4659  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4660    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4661    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4662    break 2
4663  fi
4664done
4665done
4666IFS=$as_save_IFS
4667
4668fi
4669fi
4670OBJDUMP=$ac_cv_prog_OBJDUMP
4671if test -n "$OBJDUMP"; then
4672  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4673$as_echo "$OBJDUMP" >&6; }
4674else
4675  { $as_echo "$as_me:$LINENO: result: no" >&5
4676$as_echo "no" >&6; }
4677fi
4678
4679
4680fi
4681if test -z "$ac_cv_prog_OBJDUMP"; then
4682  ac_ct_OBJDUMP=$OBJDUMP
4683  # Extract the first word of "objdump", so it can be a program name with args.
4684set dummy objdump; ac_word=$2
4685{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4686$as_echo_n "checking for $ac_word... " >&6; }
4687if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4688  $as_echo_n "(cached) " >&6
4689else
4690  if test -n "$ac_ct_OBJDUMP"; then
4691  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4692else
4693as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694for as_dir in $PATH
4695do
4696  IFS=$as_save_IFS
4697  test -z "$as_dir" && as_dir=.
4698  for ac_exec_ext in '' $ac_executable_extensions; do
4699  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4700    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4701    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4702    break 2
4703  fi
4704done
4705done
4706IFS=$as_save_IFS
4707
4708fi
4709fi
4710ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4711if test -n "$ac_ct_OBJDUMP"; then
4712  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4713$as_echo "$ac_ct_OBJDUMP" >&6; }
4714else
4715  { $as_echo "$as_me:$LINENO: result: no" >&5
4716$as_echo "no" >&6; }
4717fi
4718
4719  if test "x$ac_ct_OBJDUMP" = x; then
4720    OBJDUMP="false"
4721  else
4722    case $cross_compiling:$ac_tool_warned in
4723yes:)
4724{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4725$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726ac_tool_warned=yes ;;
4727esac
4728    OBJDUMP=$ac_ct_OBJDUMP
4729  fi
4730else
4731  OBJDUMP="$ac_cv_prog_OBJDUMP"
4732fi
4733
4734test -z "$OBJDUMP" && OBJDUMP=objdump
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4745$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4746if test "${lt_cv_deplibs_check_method+set}" = set; then
4747  $as_echo_n "(cached) " >&6
4748else
4749  lt_cv_file_magic_cmd='$MAGIC_CMD'
4750lt_cv_file_magic_test_file=
4751lt_cv_deplibs_check_method='unknown'
4752# Need to set the preceding variable on all platforms that support
4753# interlibrary dependencies.
4754# 'none' -- dependencies not supported.
4755# `unknown' -- same as none, but documents that we really don't know.
4756# 'pass_all' -- all dependencies passed with no checks.
4757# 'test_compile' -- check by making test program.
4758# 'file_magic [[regex]]' -- check by looking for files in library path
4759# which responds to the $file_magic_cmd with a given extended regex.
4760# If you have `file' or equivalent on your system and you're not sure
4761# whether `pass_all' will *always* work, you probably want this one.
4762
4763case $host_os in
4764aix[4-9]*)
4765  lt_cv_deplibs_check_method=pass_all
4766  ;;
4767
4768beos*)
4769  lt_cv_deplibs_check_method=pass_all
4770  ;;
4771
4772bsdi[45]*)
4773  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4774  lt_cv_file_magic_cmd='/usr/bin/file -L'
4775  lt_cv_file_magic_test_file=/shlib/libc.so
4776  ;;
4777
4778cygwin*)
4779  # func_win32_libid is a shell function defined in ltmain.sh
4780  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4781  lt_cv_file_magic_cmd='func_win32_libid'
4782  ;;
4783
4784mingw* | pw32*)
4785  # Base MSYS/MinGW do not provide the 'file' command needed by
4786  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4787  # unless we find 'file', for example because we are cross-compiling.
4788  if ( file / ) >/dev/null 2>&1; then
4789    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4790    lt_cv_file_magic_cmd='func_win32_libid'
4791  else
4792    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4793    lt_cv_file_magic_cmd='$OBJDUMP -f'
4794  fi
4795  ;;
4796
4797cegcc)
4798  # use the weaker test based on 'objdump'. See mingw*.
4799  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4800  lt_cv_file_magic_cmd='$OBJDUMP -f'
4801  ;;
4802
4803darwin* | rhapsody*)
4804  lt_cv_deplibs_check_method=pass_all
4805  ;;
4806
4807freebsd* | dragonfly*)
4808  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4809    case $host_cpu in
4810    i*86 )
4811      # Not sure whether the presence of OpenBSD here was a mistake.
4812      # Let's accept both of them until this is cleared up.
4813      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4814      lt_cv_file_magic_cmd=/usr/bin/file
4815      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4816      ;;
4817    esac
4818  else
4819    lt_cv_deplibs_check_method=pass_all
4820  fi
4821  ;;
4822
4823gnu*)
4824  lt_cv_deplibs_check_method=pass_all
4825  ;;
4826
4827hpux10.20* | hpux11*)
4828  lt_cv_file_magic_cmd=/usr/bin/file
4829  case $host_cpu in
4830  ia64*)
4831    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4832    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4833    ;;
4834  hppa*64*)
4835    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]'
4836    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4837    ;;
4838  *)
4839    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4840    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4841    ;;
4842  esac
4843  ;;
4844
4845interix[3-9]*)
4846  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4847  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4848  ;;
4849
4850irix5* | irix6* | nonstopux*)
4851  case $LD in
4852  *-32|*"-32 ") libmagic=32-bit;;
4853  *-n32|*"-n32 ") libmagic=N32;;
4854  *-64|*"-64 ") libmagic=64-bit;;
4855  *) libmagic=never-match;;
4856  esac
4857  lt_cv_deplibs_check_method=pass_all
4858  ;;
4859
4860# This must be Linux ELF.
4861linux* | k*bsd*-gnu)
4862  lt_cv_deplibs_check_method=pass_all
4863  ;;
4864
4865netbsd*)
4866  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4867    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4868  else
4869    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4870  fi
4871  ;;
4872
4873newos6*)
4874  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4875  lt_cv_file_magic_cmd=/usr/bin/file
4876  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4877  ;;
4878
4879*nto* | *qnx*)
4880  lt_cv_deplibs_check_method=pass_all
4881  ;;
4882
4883openbsd*)
4884  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4885    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4886  else
4887    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4888  fi
4889  ;;
4890
4891osf3* | osf4* | osf5*)
4892  lt_cv_deplibs_check_method=pass_all
4893  ;;
4894
4895rdos*)
4896  lt_cv_deplibs_check_method=pass_all
4897  ;;
4898
4899solaris*)
4900  lt_cv_deplibs_check_method=pass_all
4901  ;;
4902
4903sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4904  lt_cv_deplibs_check_method=pass_all
4905  ;;
4906
4907sysv4 | sysv4.3*)
4908  case $host_vendor in
4909  motorola)
4910    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]'
4911    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4912    ;;
4913  ncr)
4914    lt_cv_deplibs_check_method=pass_all
4915    ;;
4916  sequent)
4917    lt_cv_file_magic_cmd='/bin/file'
4918    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4919    ;;
4920  sni)
4921    lt_cv_file_magic_cmd='/bin/file'
4922    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4923    lt_cv_file_magic_test_file=/lib/libc.so
4924    ;;
4925  siemens)
4926    lt_cv_deplibs_check_method=pass_all
4927    ;;
4928  pc)
4929    lt_cv_deplibs_check_method=pass_all
4930    ;;
4931  esac
4932  ;;
4933
4934tpf*)
4935  lt_cv_deplibs_check_method=pass_all
4936  ;;
4937esac
4938
4939fi
4940{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4941$as_echo "$lt_cv_deplibs_check_method" >&6; }
4942file_magic_cmd=$lt_cv_file_magic_cmd
4943deplibs_check_method=$lt_cv_deplibs_check_method
4944test -z "$deplibs_check_method" && deplibs_check_method=unknown
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957if test -n "$ac_tool_prefix"; then
4958  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4959set dummy ${ac_tool_prefix}ar; ac_word=$2
4960{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4961$as_echo_n "checking for $ac_word... " >&6; }
4962if test "${ac_cv_prog_AR+set}" = set; then
4963  $as_echo_n "(cached) " >&6
4964else
4965  if test -n "$AR"; then
4966  ac_cv_prog_AR="$AR" # Let the user override the test.
4967else
4968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969for as_dir in $PATH
4970do
4971  IFS=$as_save_IFS
4972  test -z "$as_dir" && as_dir=.
4973  for ac_exec_ext in '' $ac_executable_extensions; do
4974  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975    ac_cv_prog_AR="${ac_tool_prefix}ar"
4976    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4977    break 2
4978  fi
4979done
4980done
4981IFS=$as_save_IFS
4982
4983fi
4984fi
4985AR=$ac_cv_prog_AR
4986if test -n "$AR"; then
4987  { $as_echo "$as_me:$LINENO: result: $AR" >&5
4988$as_echo "$AR" >&6; }
4989else
4990  { $as_echo "$as_me:$LINENO: result: no" >&5
4991$as_echo "no" >&6; }
4992fi
4993
4994
4995fi
4996if test -z "$ac_cv_prog_AR"; then
4997  ac_ct_AR=$AR
4998  # Extract the first word of "ar", so it can be a program name with args.
4999set dummy ar; ac_word=$2
5000{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5001$as_echo_n "checking for $ac_word... " >&6; }
5002if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5003  $as_echo_n "(cached) " >&6
5004else
5005  if test -n "$ac_ct_AR"; then
5006  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5007else
5008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009for as_dir in $PATH
5010do
5011  IFS=$as_save_IFS
5012  test -z "$as_dir" && as_dir=.
5013  for ac_exec_ext in '' $ac_executable_extensions; do
5014  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015    ac_cv_prog_ac_ct_AR="ar"
5016    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5017    break 2
5018  fi
5019done
5020done
5021IFS=$as_save_IFS
5022
5023fi
5024fi
5025ac_ct_AR=$ac_cv_prog_ac_ct_AR
5026if test -n "$ac_ct_AR"; then
5027  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5028$as_echo "$ac_ct_AR" >&6; }
5029else
5030  { $as_echo "$as_me:$LINENO: result: no" >&5
5031$as_echo "no" >&6; }
5032fi
5033
5034  if test "x$ac_ct_AR" = x; then
5035    AR="false"
5036  else
5037    case $cross_compiling:$ac_tool_warned in
5038yes:)
5039{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5040$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5041ac_tool_warned=yes ;;
5042esac
5043    AR=$ac_ct_AR
5044  fi
5045else
5046  AR="$ac_cv_prog_AR"
5047fi
5048
5049test -z "$AR" && AR=ar
5050test -z "$AR_FLAGS" && AR_FLAGS=cru
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062if test -n "$ac_tool_prefix"; then
5063  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5064set dummy ${ac_tool_prefix}strip; ac_word=$2
5065{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5066$as_echo_n "checking for $ac_word... " >&6; }
5067if test "${ac_cv_prog_STRIP+set}" = set; then
5068  $as_echo_n "(cached) " >&6
5069else
5070  if test -n "$STRIP"; then
5071  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5072else
5073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074for as_dir in $PATH
5075do
5076  IFS=$as_save_IFS
5077  test -z "$as_dir" && as_dir=.
5078  for ac_exec_ext in '' $ac_executable_extensions; do
5079  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5080    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5081    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5082    break 2
5083  fi
5084done
5085done
5086IFS=$as_save_IFS
5087
5088fi
5089fi
5090STRIP=$ac_cv_prog_STRIP
5091if test -n "$STRIP"; then
5092  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5093$as_echo "$STRIP" >&6; }
5094else
5095  { $as_echo "$as_me:$LINENO: result: no" >&5
5096$as_echo "no" >&6; }
5097fi
5098
5099
5100fi
5101if test -z "$ac_cv_prog_STRIP"; then
5102  ac_ct_STRIP=$STRIP
5103  # Extract the first word of "strip", so it can be a program name with args.
5104set dummy strip; ac_word=$2
5105{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5106$as_echo_n "checking for $ac_word... " >&6; }
5107if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5108  $as_echo_n "(cached) " >&6
5109else
5110  if test -n "$ac_ct_STRIP"; then
5111  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5112else
5113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114for as_dir in $PATH
5115do
5116  IFS=$as_save_IFS
5117  test -z "$as_dir" && as_dir=.
5118  for ac_exec_ext in '' $ac_executable_extensions; do
5119  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120    ac_cv_prog_ac_ct_STRIP="strip"
5121    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5122    break 2
5123  fi
5124done
5125done
5126IFS=$as_save_IFS
5127
5128fi
5129fi
5130ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5131if test -n "$ac_ct_STRIP"; then
5132  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5133$as_echo "$ac_ct_STRIP" >&6; }
5134else
5135  { $as_echo "$as_me:$LINENO: result: no" >&5
5136$as_echo "no" >&6; }
5137fi
5138
5139  if test "x$ac_ct_STRIP" = x; then
5140    STRIP=":"
5141  else
5142    case $cross_compiling:$ac_tool_warned in
5143yes:)
5144{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5145$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5146ac_tool_warned=yes ;;
5147esac
5148    STRIP=$ac_ct_STRIP
5149  fi
5150else
5151  STRIP="$ac_cv_prog_STRIP"
5152fi
5153
5154test -z "$STRIP" && STRIP=:
5155
5156
5157
5158
5159
5160
5161if test -n "$ac_tool_prefix"; then
5162  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5163set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5164{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5165$as_echo_n "checking for $ac_word... " >&6; }
5166if test "${ac_cv_prog_RANLIB+set}" = set; then
5167  $as_echo_n "(cached) " >&6
5168else
5169  if test -n "$RANLIB"; then
5170  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5171else
5172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173for as_dir in $PATH
5174do
5175  IFS=$as_save_IFS
5176  test -z "$as_dir" && as_dir=.
5177  for ac_exec_ext in '' $ac_executable_extensions; do
5178  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5180    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181    break 2
5182  fi
5183done
5184done
5185IFS=$as_save_IFS
5186
5187fi
5188fi
5189RANLIB=$ac_cv_prog_RANLIB
5190if test -n "$RANLIB"; then
5191  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5192$as_echo "$RANLIB" >&6; }
5193else
5194  { $as_echo "$as_me:$LINENO: result: no" >&5
5195$as_echo "no" >&6; }
5196fi
5197
5198
5199fi
5200if test -z "$ac_cv_prog_RANLIB"; then
5201  ac_ct_RANLIB=$RANLIB
5202  # Extract the first word of "ranlib", so it can be a program name with args.
5203set dummy ranlib; ac_word=$2
5204{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5205$as_echo_n "checking for $ac_word... " >&6; }
5206if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5207  $as_echo_n "(cached) " >&6
5208else
5209  if test -n "$ac_ct_RANLIB"; then
5210  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5211else
5212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213for as_dir in $PATH
5214do
5215  IFS=$as_save_IFS
5216  test -z "$as_dir" && as_dir=.
5217  for ac_exec_ext in '' $ac_executable_extensions; do
5218  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219    ac_cv_prog_ac_ct_RANLIB="ranlib"
5220    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5221    break 2
5222  fi
5223done
5224done
5225IFS=$as_save_IFS
5226
5227fi
5228fi
5229ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5230if test -n "$ac_ct_RANLIB"; then
5231  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5232$as_echo "$ac_ct_RANLIB" >&6; }
5233else
5234  { $as_echo "$as_me:$LINENO: result: no" >&5
5235$as_echo "no" >&6; }
5236fi
5237
5238  if test "x$ac_ct_RANLIB" = x; then
5239    RANLIB=":"
5240  else
5241    case $cross_compiling:$ac_tool_warned in
5242yes:)
5243{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5244$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5245ac_tool_warned=yes ;;
5246esac
5247    RANLIB=$ac_ct_RANLIB
5248  fi
5249else
5250  RANLIB="$ac_cv_prog_RANLIB"
5251fi
5252
5253test -z "$RANLIB" && RANLIB=:
5254
5255
5256
5257
5258
5259
5260# Determine commands to create old-style static archives.
5261old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5262old_postinstall_cmds='chmod 644 $oldlib'
5263old_postuninstall_cmds=
5264
5265if test -n "$RANLIB"; then
5266  case $host_os in
5267  openbsd*)
5268    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5269    ;;
5270  *)
5271    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5272    ;;
5273  esac
5274  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5275fi
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310# If no C compiler was specified, use CC.
5311LTCC=${LTCC-"$CC"}
5312
5313# If no C compiler flags were specified, use CFLAGS.
5314LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5315
5316# Allow CC to be a program name with arguments.
5317compiler=$CC
5318
5319
5320# Check for command to grab the raw symbol name followed by C symbol from nm.
5321{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5322$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5323if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5324  $as_echo_n "(cached) " >&6
5325else
5326
5327# These are sane defaults that work on at least a few old systems.
5328# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5329
5330# Character class describing NM global symbol codes.
5331symcode='[BCDEGRST]'
5332
5333# Regexp to match symbols that can be accessed directly from C.
5334sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5335
5336# Define system-specific variables.
5337case $host_os in
5338aix*)
5339  symcode='[BCDT]'
5340  ;;
5341cygwin* | mingw* | pw32* | cegcc*)
5342  symcode='[ABCDGISTW]'
5343  ;;
5344hpux*)
5345  if test "$host_cpu" = ia64; then
5346    symcode='[ABCDEGRST]'
5347  fi
5348  ;;
5349irix* | nonstopux*)
5350  symcode='[BCDEGRST]'
5351  ;;
5352osf*)
5353  symcode='[BCDEGQRST]'
5354  ;;
5355solaris*)
5356  symcode='[BDRT]'
5357  ;;
5358sco3.2v5*)
5359  symcode='[DT]'
5360  ;;
5361sysv4.2uw2*)
5362  symcode='[DT]'
5363  ;;
5364sysv5* | sco5v6* | unixware* | OpenUNIX*)
5365  symcode='[ABDT]'
5366  ;;
5367sysv4)
5368  symcode='[DFNSTU]'
5369  ;;
5370esac
5371
5372# If we're using GNU nm, then use its standard symbol codes.
5373case `$NM -V 2>&1` in
5374*GNU* | *'with BFD'*)
5375  symcode='[ABCDGIRSTW]' ;;
5376esac
5377
5378# Transform an extracted symbol line into a proper C declaration.
5379# Some systems (esp. on ia64) link data and code symbols differently,
5380# so use this general approach.
5381lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5382
5383# Transform an extracted symbol line into symbol name and symbol address
5384lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5385lt_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'"
5386
5387# Handle CRLF in mingw tool chain
5388opt_cr=
5389case $build_os in
5390mingw*)
5391  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5392  ;;
5393esac
5394
5395# Try without a prefix underscore, then with it.
5396for ac_symprfx in "" "_"; do
5397
5398  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5399  symxfrm="\\1 $ac_symprfx\\2 \\2"
5400
5401  # Write the raw and C identifiers.
5402  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5403    # Fake it for dumpbin and say T for any non-static function
5404    # and D for any global variable.
5405    # Also find C++ and __fastcall symbols from MSVC++,
5406    # which start with @ or ?.
5407    lt_cv_sys_global_symbol_pipe="$AWK '"\
5408"     {last_section=section; section=\$ 3};"\
5409"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5410"     \$ 0!~/External *\|/{next};"\
5411"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5412"     {if(hide[section]) next};"\
5413"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5414"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5415"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5416"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5417"     ' prfx=^$ac_symprfx"
5418  else
5419    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5420  fi
5421
5422  # Check to see that the pipe works correctly.
5423  pipe_works=no
5424
5425  rm -f conftest*
5426  cat > conftest.$ac_ext <<_LT_EOF
5427#ifdef __cplusplus
5428extern "C" {
5429#endif
5430char nm_test_var;
5431void nm_test_func(void);
5432void nm_test_func(void){}
5433#ifdef __cplusplus
5434}
5435#endif
5436int main(){nm_test_var='a';nm_test_func();return(0);}
5437_LT_EOF
5438
5439  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5440  (eval $ac_compile) 2>&5
5441  ac_status=$?
5442  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443  (exit $ac_status); }; then
5444    # Now try to grab the symbols.
5445    nlist=conftest.nm
5446    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5447  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5448  ac_status=$?
5449  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450  (exit $ac_status); } && test -s "$nlist"; then
5451      # Try sorting and uniquifying the output.
5452      if sort "$nlist" | uniq > "$nlist"T; then
5453	mv -f "$nlist"T "$nlist"
5454      else
5455	rm -f "$nlist"T
5456      fi
5457
5458      # Make sure that we snagged all the symbols we need.
5459      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5460	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5461	  cat <<_LT_EOF > conftest.$ac_ext
5462#ifdef __cplusplus
5463extern "C" {
5464#endif
5465
5466_LT_EOF
5467	  # Now generate the symbol file.
5468	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5469
5470	  cat <<_LT_EOF >> conftest.$ac_ext
5471
5472/* The mapping between symbol names and symbols.  */
5473const struct {
5474  const char *name;
5475  void       *address;
5476}
5477lt__PROGRAM__LTX_preloaded_symbols[] =
5478{
5479  { "@PROGRAM@", (void *) 0 },
5480_LT_EOF
5481	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5482	  cat <<\_LT_EOF >> conftest.$ac_ext
5483  {0, (void *) 0}
5484};
5485
5486/* This works around a problem in FreeBSD linker */
5487#ifdef FREEBSD_WORKAROUND
5488static const void *lt_preloaded_setup() {
5489  return lt__PROGRAM__LTX_preloaded_symbols;
5490}
5491#endif
5492
5493#ifdef __cplusplus
5494}
5495#endif
5496_LT_EOF
5497	  # Now try linking the two files.
5498	  mv conftest.$ac_objext conftstm.$ac_objext
5499	  lt_save_LIBS="$LIBS"
5500	  lt_save_CFLAGS="$CFLAGS"
5501	  LIBS="conftstm.$ac_objext"
5502	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5503	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5504  (eval $ac_link) 2>&5
5505  ac_status=$?
5506  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507  (exit $ac_status); } && test -s conftest${ac_exeext}; then
5508	    pipe_works=yes
5509	  fi
5510	  LIBS="$lt_save_LIBS"
5511	  CFLAGS="$lt_save_CFLAGS"
5512	else
5513	  echo "cannot find nm_test_func in $nlist" >&5
5514	fi
5515      else
5516	echo "cannot find nm_test_var in $nlist" >&5
5517      fi
5518    else
5519      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5520    fi
5521  else
5522    echo "$progname: failed program was:" >&5
5523    cat conftest.$ac_ext >&5
5524  fi
5525  rm -rf conftest* conftst*
5526
5527  # Do not use the global_symbol_pipe unless it works.
5528  if test "$pipe_works" = yes; then
5529    break
5530  else
5531    lt_cv_sys_global_symbol_pipe=
5532  fi
5533done
5534
5535fi
5536
5537if test -z "$lt_cv_sys_global_symbol_pipe"; then
5538  lt_cv_sys_global_symbol_to_cdecl=
5539fi
5540if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5541  { $as_echo "$as_me:$LINENO: result: failed" >&5
5542$as_echo "failed" >&6; }
5543else
5544  { $as_echo "$as_me:$LINENO: result: ok" >&5
5545$as_echo "ok" >&6; }
5546fi
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570# Check whether --enable-libtool-lock was given.
5571if test "${enable_libtool_lock+set}" = set; then
5572  enableval=$enable_libtool_lock;
5573fi
5574
5575test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5576
5577# Some flags need to be propagated to the compiler or linker for good
5578# libtool support.
5579case $host in
5580ia64-*-hpux*)
5581  # Find out which ABI we are using.
5582  echo 'int i;' > conftest.$ac_ext
5583  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5584  (eval $ac_compile) 2>&5
5585  ac_status=$?
5586  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587  (exit $ac_status); }; then
5588    case `/usr/bin/file conftest.$ac_objext` in
5589      *ELF-32*)
5590	HPUX_IA64_MODE="32"
5591	;;
5592      *ELF-64*)
5593	HPUX_IA64_MODE="64"
5594	;;
5595    esac
5596  fi
5597  rm -rf conftest*
5598  ;;
5599*-*-irix6*)
5600  # Find out which ABI we are using.
5601  echo '#line 5601 "configure"' > conftest.$ac_ext
5602  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5603  (eval $ac_compile) 2>&5
5604  ac_status=$?
5605  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606  (exit $ac_status); }; then
5607    if test "$lt_cv_prog_gnu_ld" = yes; then
5608      case `/usr/bin/file conftest.$ac_objext` in
5609	*32-bit*)
5610	  LD="${LD-ld} -melf32bsmip"
5611	  ;;
5612	*N32*)
5613	  LD="${LD-ld} -melf32bmipn32"
5614	  ;;
5615	*64-bit*)
5616	  LD="${LD-ld} -melf64bmip"
5617	;;
5618      esac
5619    else
5620      case `/usr/bin/file conftest.$ac_objext` in
5621	*32-bit*)
5622	  LD="${LD-ld} -32"
5623	  ;;
5624	*N32*)
5625	  LD="${LD-ld} -n32"
5626	  ;;
5627	*64-bit*)
5628	  LD="${LD-ld} -64"
5629	  ;;
5630      esac
5631    fi
5632  fi
5633  rm -rf conftest*
5634  ;;
5635
5636x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5637s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5638  # Find out which ABI we are using.
5639  echo 'int i;' > conftest.$ac_ext
5640  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5641  (eval $ac_compile) 2>&5
5642  ac_status=$?
5643  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644  (exit $ac_status); }; then
5645    case `/usr/bin/file conftest.o` in
5646      *32-bit*)
5647	case $host in
5648	  x86_64-*kfreebsd*-gnu)
5649	    LD="${LD-ld} -m elf_i386_fbsd"
5650	    ;;
5651	  x86_64-*linux*)
5652	    LD="${LD-ld} -m elf_i386"
5653	    ;;
5654	  ppc64-*linux*|powerpc64-*linux*)
5655	    LD="${LD-ld} -m elf32ppclinux"
5656	    ;;
5657	  s390x-*linux*)
5658	    LD="${LD-ld} -m elf_s390"
5659	    ;;
5660	  sparc64-*linux*)
5661	    LD="${LD-ld} -m elf32_sparc"
5662	    ;;
5663	esac
5664	;;
5665      *64-bit*)
5666	case $host in
5667	  x86_64-*kfreebsd*-gnu)
5668	    LD="${LD-ld} -m elf_x86_64_fbsd"
5669	    ;;
5670	  x86_64-*linux*)
5671	    LD="${LD-ld} -m elf_x86_64"
5672	    ;;
5673	  ppc*-*linux*|powerpc*-*linux*)
5674	    LD="${LD-ld} -m elf64ppc"
5675	    ;;
5676	  s390*-*linux*|s390*-*tpf*)
5677	    LD="${LD-ld} -m elf64_s390"
5678	    ;;
5679	  sparc*-*linux*)
5680	    LD="${LD-ld} -m elf64_sparc"
5681	    ;;
5682	esac
5683	;;
5684    esac
5685  fi
5686  rm -rf conftest*
5687  ;;
5688
5689*-*-sco3.2v5*)
5690  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5691  SAVE_CFLAGS="$CFLAGS"
5692  CFLAGS="$CFLAGS -belf"
5693  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5694$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5695if test "${lt_cv_cc_needs_belf+set}" = set; then
5696  $as_echo_n "(cached) " >&6
5697else
5698  ac_ext=c
5699ac_cpp='$CPP $CPPFLAGS'
5700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5702ac_compiler_gnu=$ac_cv_c_compiler_gnu
5703
5704     cat >conftest.$ac_ext <<_ACEOF
5705/* confdefs.h.  */
5706_ACEOF
5707cat confdefs.h >>conftest.$ac_ext
5708cat >>conftest.$ac_ext <<_ACEOF
5709/* end confdefs.h.  */
5710
5711int
5712main ()
5713{
5714
5715  ;
5716  return 0;
5717}
5718_ACEOF
5719rm -f conftest.$ac_objext conftest$ac_exeext
5720if { (ac_try="$ac_link"
5721case "(($ac_try" in
5722  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5723  *) ac_try_echo=$ac_try;;
5724esac
5725eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5726$as_echo "$ac_try_echo") >&5
5727  (eval "$ac_link") 2>conftest.er1
5728  ac_status=$?
5729  grep -v '^ *+' conftest.er1 >conftest.err
5730  rm -f conftest.er1
5731  cat conftest.err >&5
5732  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733  (exit $ac_status); } && {
5734	 test -z "$ac_c_werror_flag" ||
5735	 test ! -s conftest.err
5736       } && test -s conftest$ac_exeext && {
5737	 test "$cross_compiling" = yes ||
5738	 $as_test_x conftest$ac_exeext
5739       }; then
5740  lt_cv_cc_needs_belf=yes
5741else
5742  $as_echo "$as_me: failed program was:" >&5
5743sed 's/^/| /' conftest.$ac_ext >&5
5744
5745	lt_cv_cc_needs_belf=no
5746fi
5747
5748rm -rf conftest.dSYM
5749rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5750      conftest$ac_exeext conftest.$ac_ext
5751     ac_ext=c
5752ac_cpp='$CPP $CPPFLAGS'
5753ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5754ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5755ac_compiler_gnu=$ac_cv_c_compiler_gnu
5756
5757fi
5758{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5759$as_echo "$lt_cv_cc_needs_belf" >&6; }
5760  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5761    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5762    CFLAGS="$SAVE_CFLAGS"
5763  fi
5764  ;;
5765sparc*-*solaris*)
5766  # Find out which ABI we are using.
5767  echo 'int i;' > conftest.$ac_ext
5768  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769  (eval $ac_compile) 2>&5
5770  ac_status=$?
5771  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772  (exit $ac_status); }; then
5773    case `/usr/bin/file conftest.o` in
5774    *64-bit*)
5775      case $lt_cv_prog_gnu_ld in
5776      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5777      *)
5778	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5779	  LD="${LD-ld} -64"
5780	fi
5781	;;
5782      esac
5783      ;;
5784    esac
5785  fi
5786  rm -rf conftest*
5787  ;;
5788esac
5789
5790need_locks="$enable_libtool_lock"
5791
5792
5793  case $host_os in
5794    rhapsody* | darwin*)
5795    if test -n "$ac_tool_prefix"; then
5796  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5797set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5798{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5799$as_echo_n "checking for $ac_word... " >&6; }
5800if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5801  $as_echo_n "(cached) " >&6
5802else
5803  if test -n "$DSYMUTIL"; then
5804  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5805else
5806as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807for as_dir in $PATH
5808do
5809  IFS=$as_save_IFS
5810  test -z "$as_dir" && as_dir=.
5811  for ac_exec_ext in '' $ac_executable_extensions; do
5812  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5813    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5814    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5815    break 2
5816  fi
5817done
5818done
5819IFS=$as_save_IFS
5820
5821fi
5822fi
5823DSYMUTIL=$ac_cv_prog_DSYMUTIL
5824if test -n "$DSYMUTIL"; then
5825  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5826$as_echo "$DSYMUTIL" >&6; }
5827else
5828  { $as_echo "$as_me:$LINENO: result: no" >&5
5829$as_echo "no" >&6; }
5830fi
5831
5832
5833fi
5834if test -z "$ac_cv_prog_DSYMUTIL"; then
5835  ac_ct_DSYMUTIL=$DSYMUTIL
5836  # Extract the first word of "dsymutil", so it can be a program name with args.
5837set dummy dsymutil; ac_word=$2
5838{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5839$as_echo_n "checking for $ac_word... " >&6; }
5840if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5841  $as_echo_n "(cached) " >&6
5842else
5843  if test -n "$ac_ct_DSYMUTIL"; then
5844  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5845else
5846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847for as_dir in $PATH
5848do
5849  IFS=$as_save_IFS
5850  test -z "$as_dir" && as_dir=.
5851  for ac_exec_ext in '' $ac_executable_extensions; do
5852  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5853    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5854    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5855    break 2
5856  fi
5857done
5858done
5859IFS=$as_save_IFS
5860
5861fi
5862fi
5863ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5864if test -n "$ac_ct_DSYMUTIL"; then
5865  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5866$as_echo "$ac_ct_DSYMUTIL" >&6; }
5867else
5868  { $as_echo "$as_me:$LINENO: result: no" >&5
5869$as_echo "no" >&6; }
5870fi
5871
5872  if test "x$ac_ct_DSYMUTIL" = x; then
5873    DSYMUTIL=":"
5874  else
5875    case $cross_compiling:$ac_tool_warned in
5876yes:)
5877{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5878$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5879ac_tool_warned=yes ;;
5880esac
5881    DSYMUTIL=$ac_ct_DSYMUTIL
5882  fi
5883else
5884  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5885fi
5886
5887    if test -n "$ac_tool_prefix"; then
5888  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5889set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5890{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5891$as_echo_n "checking for $ac_word... " >&6; }
5892if test "${ac_cv_prog_NMEDIT+set}" = set; then
5893  $as_echo_n "(cached) " >&6
5894else
5895  if test -n "$NMEDIT"; then
5896  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5897else
5898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899for as_dir in $PATH
5900do
5901  IFS=$as_save_IFS
5902  test -z "$as_dir" && as_dir=.
5903  for ac_exec_ext in '' $ac_executable_extensions; do
5904  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5906    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5907    break 2
5908  fi
5909done
5910done
5911IFS=$as_save_IFS
5912
5913fi
5914fi
5915NMEDIT=$ac_cv_prog_NMEDIT
5916if test -n "$NMEDIT"; then
5917  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5918$as_echo "$NMEDIT" >&6; }
5919else
5920  { $as_echo "$as_me:$LINENO: result: no" >&5
5921$as_echo "no" >&6; }
5922fi
5923
5924
5925fi
5926if test -z "$ac_cv_prog_NMEDIT"; then
5927  ac_ct_NMEDIT=$NMEDIT
5928  # Extract the first word of "nmedit", so it can be a program name with args.
5929set dummy nmedit; ac_word=$2
5930{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5931$as_echo_n "checking for $ac_word... " >&6; }
5932if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5933  $as_echo_n "(cached) " >&6
5934else
5935  if test -n "$ac_ct_NMEDIT"; then
5936  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5937else
5938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939for as_dir in $PATH
5940do
5941  IFS=$as_save_IFS
5942  test -z "$as_dir" && as_dir=.
5943  for ac_exec_ext in '' $ac_executable_extensions; do
5944  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5945    ac_cv_prog_ac_ct_NMEDIT="nmedit"
5946    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5947    break 2
5948  fi
5949done
5950done
5951IFS=$as_save_IFS
5952
5953fi
5954fi
5955ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5956if test -n "$ac_ct_NMEDIT"; then
5957  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5958$as_echo "$ac_ct_NMEDIT" >&6; }
5959else
5960  { $as_echo "$as_me:$LINENO: result: no" >&5
5961$as_echo "no" >&6; }
5962fi
5963
5964  if test "x$ac_ct_NMEDIT" = x; then
5965    NMEDIT=":"
5966  else
5967    case $cross_compiling:$ac_tool_warned in
5968yes:)
5969{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5970$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5971ac_tool_warned=yes ;;
5972esac
5973    NMEDIT=$ac_ct_NMEDIT
5974  fi
5975else
5976  NMEDIT="$ac_cv_prog_NMEDIT"
5977fi
5978
5979    if test -n "$ac_tool_prefix"; then
5980  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5981set dummy ${ac_tool_prefix}lipo; ac_word=$2
5982{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5983$as_echo_n "checking for $ac_word... " >&6; }
5984if test "${ac_cv_prog_LIPO+set}" = set; then
5985  $as_echo_n "(cached) " >&6
5986else
5987  if test -n "$LIPO"; then
5988  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5989else
5990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991for as_dir in $PATH
5992do
5993  IFS=$as_save_IFS
5994  test -z "$as_dir" && as_dir=.
5995  for ac_exec_ext in '' $ac_executable_extensions; do
5996  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5998    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5999    break 2
6000  fi
6001done
6002done
6003IFS=$as_save_IFS
6004
6005fi
6006fi
6007LIPO=$ac_cv_prog_LIPO
6008if test -n "$LIPO"; then
6009  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6010$as_echo "$LIPO" >&6; }
6011else
6012  { $as_echo "$as_me:$LINENO: result: no" >&5
6013$as_echo "no" >&6; }
6014fi
6015
6016
6017fi
6018if test -z "$ac_cv_prog_LIPO"; then
6019  ac_ct_LIPO=$LIPO
6020  # Extract the first word of "lipo", so it can be a program name with args.
6021set dummy lipo; ac_word=$2
6022{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6023$as_echo_n "checking for $ac_word... " >&6; }
6024if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6025  $as_echo_n "(cached) " >&6
6026else
6027  if test -n "$ac_ct_LIPO"; then
6028  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6029else
6030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031for as_dir in $PATH
6032do
6033  IFS=$as_save_IFS
6034  test -z "$as_dir" && as_dir=.
6035  for ac_exec_ext in '' $ac_executable_extensions; do
6036  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037    ac_cv_prog_ac_ct_LIPO="lipo"
6038    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6039    break 2
6040  fi
6041done
6042done
6043IFS=$as_save_IFS
6044
6045fi
6046fi
6047ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6048if test -n "$ac_ct_LIPO"; then
6049  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6050$as_echo "$ac_ct_LIPO" >&6; }
6051else
6052  { $as_echo "$as_me:$LINENO: result: no" >&5
6053$as_echo "no" >&6; }
6054fi
6055
6056  if test "x$ac_ct_LIPO" = x; then
6057    LIPO=":"
6058  else
6059    case $cross_compiling:$ac_tool_warned in
6060yes:)
6061{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6062$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6063ac_tool_warned=yes ;;
6064esac
6065    LIPO=$ac_ct_LIPO
6066  fi
6067else
6068  LIPO="$ac_cv_prog_LIPO"
6069fi
6070
6071    if test -n "$ac_tool_prefix"; then
6072  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6073set dummy ${ac_tool_prefix}otool; ac_word=$2
6074{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6075$as_echo_n "checking for $ac_word... " >&6; }
6076if test "${ac_cv_prog_OTOOL+set}" = set; then
6077  $as_echo_n "(cached) " >&6
6078else
6079  if test -n "$OTOOL"; then
6080  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6081else
6082as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083for as_dir in $PATH
6084do
6085  IFS=$as_save_IFS
6086  test -z "$as_dir" && as_dir=.
6087  for ac_exec_ext in '' $ac_executable_extensions; do
6088  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6089    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6090    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6091    break 2
6092  fi
6093done
6094done
6095IFS=$as_save_IFS
6096
6097fi
6098fi
6099OTOOL=$ac_cv_prog_OTOOL
6100if test -n "$OTOOL"; then
6101  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6102$as_echo "$OTOOL" >&6; }
6103else
6104  { $as_echo "$as_me:$LINENO: result: no" >&5
6105$as_echo "no" >&6; }
6106fi
6107
6108
6109fi
6110if test -z "$ac_cv_prog_OTOOL"; then
6111  ac_ct_OTOOL=$OTOOL
6112  # Extract the first word of "otool", so it can be a program name with args.
6113set dummy otool; ac_word=$2
6114{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6115$as_echo_n "checking for $ac_word... " >&6; }
6116if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6117  $as_echo_n "(cached) " >&6
6118else
6119  if test -n "$ac_ct_OTOOL"; then
6120  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6121else
6122as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123for as_dir in $PATH
6124do
6125  IFS=$as_save_IFS
6126  test -z "$as_dir" && as_dir=.
6127  for ac_exec_ext in '' $ac_executable_extensions; do
6128  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129    ac_cv_prog_ac_ct_OTOOL="otool"
6130    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6131    break 2
6132  fi
6133done
6134done
6135IFS=$as_save_IFS
6136
6137fi
6138fi
6139ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6140if test -n "$ac_ct_OTOOL"; then
6141  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6142$as_echo "$ac_ct_OTOOL" >&6; }
6143else
6144  { $as_echo "$as_me:$LINENO: result: no" >&5
6145$as_echo "no" >&6; }
6146fi
6147
6148  if test "x$ac_ct_OTOOL" = x; then
6149    OTOOL=":"
6150  else
6151    case $cross_compiling:$ac_tool_warned in
6152yes:)
6153{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6154$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155ac_tool_warned=yes ;;
6156esac
6157    OTOOL=$ac_ct_OTOOL
6158  fi
6159else
6160  OTOOL="$ac_cv_prog_OTOOL"
6161fi
6162
6163    if test -n "$ac_tool_prefix"; then
6164  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6165set dummy ${ac_tool_prefix}otool64; ac_word=$2
6166{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6167$as_echo_n "checking for $ac_word... " >&6; }
6168if test "${ac_cv_prog_OTOOL64+set}" = set; then
6169  $as_echo_n "(cached) " >&6
6170else
6171  if test -n "$OTOOL64"; then
6172  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6173else
6174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175for as_dir in $PATH
6176do
6177  IFS=$as_save_IFS
6178  test -z "$as_dir" && as_dir=.
6179  for ac_exec_ext in '' $ac_executable_extensions; do
6180  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6182    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6183    break 2
6184  fi
6185done
6186done
6187IFS=$as_save_IFS
6188
6189fi
6190fi
6191OTOOL64=$ac_cv_prog_OTOOL64
6192if test -n "$OTOOL64"; then
6193  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6194$as_echo "$OTOOL64" >&6; }
6195else
6196  { $as_echo "$as_me:$LINENO: result: no" >&5
6197$as_echo "no" >&6; }
6198fi
6199
6200
6201fi
6202if test -z "$ac_cv_prog_OTOOL64"; then
6203  ac_ct_OTOOL64=$OTOOL64
6204  # Extract the first word of "otool64", so it can be a program name with args.
6205set dummy otool64; ac_word=$2
6206{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6207$as_echo_n "checking for $ac_word... " >&6; }
6208if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6209  $as_echo_n "(cached) " >&6
6210else
6211  if test -n "$ac_ct_OTOOL64"; then
6212  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6213else
6214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215for as_dir in $PATH
6216do
6217  IFS=$as_save_IFS
6218  test -z "$as_dir" && as_dir=.
6219  for ac_exec_ext in '' $ac_executable_extensions; do
6220  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221    ac_cv_prog_ac_ct_OTOOL64="otool64"
6222    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6223    break 2
6224  fi
6225done
6226done
6227IFS=$as_save_IFS
6228
6229fi
6230fi
6231ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6232if test -n "$ac_ct_OTOOL64"; then
6233  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6234$as_echo "$ac_ct_OTOOL64" >&6; }
6235else
6236  { $as_echo "$as_me:$LINENO: result: no" >&5
6237$as_echo "no" >&6; }
6238fi
6239
6240  if test "x$ac_ct_OTOOL64" = x; then
6241    OTOOL64=":"
6242  else
6243    case $cross_compiling:$ac_tool_warned in
6244yes:)
6245{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6246$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247ac_tool_warned=yes ;;
6248esac
6249    OTOOL64=$ac_ct_OTOOL64
6250  fi
6251else
6252  OTOOL64="$ac_cv_prog_OTOOL64"
6253fi
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6282$as_echo_n "checking for -single_module linker flag... " >&6; }
6283if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6284  $as_echo_n "(cached) " >&6
6285else
6286  lt_cv_apple_cc_single_mod=no
6287      if test -z "${LT_MULTI_MODULE}"; then
6288	# By default we will add the -single_module flag. You can override
6289	# by either setting the environment variable LT_MULTI_MODULE
6290	# non-empty at configure time, or by adding -multi_module to the
6291	# link flags.
6292	rm -rf libconftest.dylib*
6293	echo "int foo(void){return 1;}" > conftest.c
6294	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6295-dynamiclib -Wl,-single_module conftest.c" >&5
6296	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6297	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6298        _lt_result=$?
6299	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6300	  lt_cv_apple_cc_single_mod=yes
6301	else
6302	  cat conftest.err >&5
6303	fi
6304	rm -rf libconftest.dylib*
6305	rm -f conftest.*
6306      fi
6307fi
6308{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6309$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6310    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6311$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6312if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6313  $as_echo_n "(cached) " >&6
6314else
6315  lt_cv_ld_exported_symbols_list=no
6316      save_LDFLAGS=$LDFLAGS
6317      echo "_main" > conftest.sym
6318      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6319      cat >conftest.$ac_ext <<_ACEOF
6320/* confdefs.h.  */
6321_ACEOF
6322cat confdefs.h >>conftest.$ac_ext
6323cat >>conftest.$ac_ext <<_ACEOF
6324/* end confdefs.h.  */
6325
6326int
6327main ()
6328{
6329
6330  ;
6331  return 0;
6332}
6333_ACEOF
6334rm -f conftest.$ac_objext conftest$ac_exeext
6335if { (ac_try="$ac_link"
6336case "(($ac_try" in
6337  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6338  *) ac_try_echo=$ac_try;;
6339esac
6340eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6341$as_echo "$ac_try_echo") >&5
6342  (eval "$ac_link") 2>conftest.er1
6343  ac_status=$?
6344  grep -v '^ *+' conftest.er1 >conftest.err
6345  rm -f conftest.er1
6346  cat conftest.err >&5
6347  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348  (exit $ac_status); } && {
6349	 test -z "$ac_c_werror_flag" ||
6350	 test ! -s conftest.err
6351       } && test -s conftest$ac_exeext && {
6352	 test "$cross_compiling" = yes ||
6353	 $as_test_x conftest$ac_exeext
6354       }; then
6355  lt_cv_ld_exported_symbols_list=yes
6356else
6357  $as_echo "$as_me: failed program was:" >&5
6358sed 's/^/| /' conftest.$ac_ext >&5
6359
6360	lt_cv_ld_exported_symbols_list=no
6361fi
6362
6363rm -rf conftest.dSYM
6364rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6365      conftest$ac_exeext conftest.$ac_ext
6366	LDFLAGS="$save_LDFLAGS"
6367
6368fi
6369{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6370$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6371    case $host_os in
6372    rhapsody* | darwin1.[012])
6373      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6374    darwin1.*)
6375      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6376    darwin*) # darwin 5.x on
6377      # if running on 10.5 or later, the deployment target defaults
6378      # to the OS version, if on x86, and 10.4, the deployment
6379      # target defaults to 10.4. Don't you love it?
6380      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6381	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6382	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6383	10.[012]*)
6384	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6385	10.*)
6386	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6387      esac
6388    ;;
6389  esac
6390    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6391      _lt_dar_single_mod='$single_module'
6392    fi
6393    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6394      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6395    else
6396      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6397    fi
6398    if test "$DSYMUTIL" != ":"; then
6399      _lt_dsymutil='~$DSYMUTIL $lib || :'
6400    else
6401      _lt_dsymutil=
6402    fi
6403    ;;
6404  esac
6405
6406ac_ext=c
6407ac_cpp='$CPP $CPPFLAGS'
6408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6410ac_compiler_gnu=$ac_cv_c_compiler_gnu
6411{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6412$as_echo_n "checking how to run the C preprocessor... " >&6; }
6413# On Suns, sometimes $CPP names a directory.
6414if test -n "$CPP" && test -d "$CPP"; then
6415  CPP=
6416fi
6417if test -z "$CPP"; then
6418  if test "${ac_cv_prog_CPP+set}" = set; then
6419  $as_echo_n "(cached) " >&6
6420else
6421      # Double quotes because CPP needs to be expanded
6422    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6423    do
6424      ac_preproc_ok=false
6425for ac_c_preproc_warn_flag in '' yes
6426do
6427  # Use a header file that comes with gcc, so configuring glibc
6428  # with a fresh cross-compiler works.
6429  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6430  # <limits.h> exists even on freestanding compilers.
6431  # On the NeXT, cc -E runs the code through the compiler's parser,
6432  # not just through cpp. "Syntax error" is here to catch this case.
6433  cat >conftest.$ac_ext <<_ACEOF
6434/* confdefs.h.  */
6435_ACEOF
6436cat confdefs.h >>conftest.$ac_ext
6437cat >>conftest.$ac_ext <<_ACEOF
6438/* end confdefs.h.  */
6439#ifdef __STDC__
6440# include <limits.h>
6441#else
6442# include <assert.h>
6443#endif
6444		     Syntax error
6445_ACEOF
6446if { (ac_try="$ac_cpp conftest.$ac_ext"
6447case "(($ac_try" in
6448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449  *) ac_try_echo=$ac_try;;
6450esac
6451eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6452$as_echo "$ac_try_echo") >&5
6453  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6454  ac_status=$?
6455  grep -v '^ *+' conftest.er1 >conftest.err
6456  rm -f conftest.er1
6457  cat conftest.err >&5
6458  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459  (exit $ac_status); } >/dev/null && {
6460	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6461	 test ! -s conftest.err
6462       }; then
6463  :
6464else
6465  $as_echo "$as_me: failed program was:" >&5
6466sed 's/^/| /' conftest.$ac_ext >&5
6467
6468  # Broken: fails on valid input.
6469continue
6470fi
6471
6472rm -f conftest.err conftest.$ac_ext
6473
6474  # OK, works on sane cases.  Now check whether nonexistent headers
6475  # can be detected and how.
6476  cat >conftest.$ac_ext <<_ACEOF
6477/* confdefs.h.  */
6478_ACEOF
6479cat confdefs.h >>conftest.$ac_ext
6480cat >>conftest.$ac_ext <<_ACEOF
6481/* end confdefs.h.  */
6482#include <ac_nonexistent.h>
6483_ACEOF
6484if { (ac_try="$ac_cpp conftest.$ac_ext"
6485case "(($ac_try" in
6486  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6487  *) ac_try_echo=$ac_try;;
6488esac
6489eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6490$as_echo "$ac_try_echo") >&5
6491  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6492  ac_status=$?
6493  grep -v '^ *+' conftest.er1 >conftest.err
6494  rm -f conftest.er1
6495  cat conftest.err >&5
6496  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497  (exit $ac_status); } >/dev/null && {
6498	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6499	 test ! -s conftest.err
6500       }; then
6501  # Broken: success on invalid input.
6502continue
6503else
6504  $as_echo "$as_me: failed program was:" >&5
6505sed 's/^/| /' conftest.$ac_ext >&5
6506
6507  # Passes both tests.
6508ac_preproc_ok=:
6509break
6510fi
6511
6512rm -f conftest.err conftest.$ac_ext
6513
6514done
6515# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6516rm -f conftest.err conftest.$ac_ext
6517if $ac_preproc_ok; then
6518  break
6519fi
6520
6521    done
6522    ac_cv_prog_CPP=$CPP
6523
6524fi
6525  CPP=$ac_cv_prog_CPP
6526else
6527  ac_cv_prog_CPP=$CPP
6528fi
6529{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6530$as_echo "$CPP" >&6; }
6531ac_preproc_ok=false
6532for ac_c_preproc_warn_flag in '' yes
6533do
6534  # Use a header file that comes with gcc, so configuring glibc
6535  # with a fresh cross-compiler works.
6536  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6537  # <limits.h> exists even on freestanding compilers.
6538  # On the NeXT, cc -E runs the code through the compiler's parser,
6539  # not just through cpp. "Syntax error" is here to catch this case.
6540  cat >conftest.$ac_ext <<_ACEOF
6541/* confdefs.h.  */
6542_ACEOF
6543cat confdefs.h >>conftest.$ac_ext
6544cat >>conftest.$ac_ext <<_ACEOF
6545/* end confdefs.h.  */
6546#ifdef __STDC__
6547# include <limits.h>
6548#else
6549# include <assert.h>
6550#endif
6551		     Syntax error
6552_ACEOF
6553if { (ac_try="$ac_cpp conftest.$ac_ext"
6554case "(($ac_try" in
6555  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6556  *) ac_try_echo=$ac_try;;
6557esac
6558eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6559$as_echo "$ac_try_echo") >&5
6560  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6561  ac_status=$?
6562  grep -v '^ *+' conftest.er1 >conftest.err
6563  rm -f conftest.er1
6564  cat conftest.err >&5
6565  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566  (exit $ac_status); } >/dev/null && {
6567	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6568	 test ! -s conftest.err
6569       }; then
6570  :
6571else
6572  $as_echo "$as_me: failed program was:" >&5
6573sed 's/^/| /' conftest.$ac_ext >&5
6574
6575  # Broken: fails on valid input.
6576continue
6577fi
6578
6579rm -f conftest.err conftest.$ac_ext
6580
6581  # OK, works on sane cases.  Now check whether nonexistent headers
6582  # can be detected and how.
6583  cat >conftest.$ac_ext <<_ACEOF
6584/* confdefs.h.  */
6585_ACEOF
6586cat confdefs.h >>conftest.$ac_ext
6587cat >>conftest.$ac_ext <<_ACEOF
6588/* end confdefs.h.  */
6589#include <ac_nonexistent.h>
6590_ACEOF
6591if { (ac_try="$ac_cpp conftest.$ac_ext"
6592case "(($ac_try" in
6593  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6594  *) ac_try_echo=$ac_try;;
6595esac
6596eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6597$as_echo "$ac_try_echo") >&5
6598  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6599  ac_status=$?
6600  grep -v '^ *+' conftest.er1 >conftest.err
6601  rm -f conftest.er1
6602  cat conftest.err >&5
6603  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604  (exit $ac_status); } >/dev/null && {
6605	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6606	 test ! -s conftest.err
6607       }; then
6608  # Broken: success on invalid input.
6609continue
6610else
6611  $as_echo "$as_me: failed program was:" >&5
6612sed 's/^/| /' conftest.$ac_ext >&5
6613
6614  # Passes both tests.
6615ac_preproc_ok=:
6616break
6617fi
6618
6619rm -f conftest.err conftest.$ac_ext
6620
6621done
6622# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6623rm -f conftest.err conftest.$ac_ext
6624if $ac_preproc_ok; then
6625  :
6626else
6627  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6628$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6629{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6630See \`config.log' for more details." >&5
6631$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6632See \`config.log' for more details." >&2;}
6633   { (exit 1); exit 1; }; }; }
6634fi
6635
6636ac_ext=c
6637ac_cpp='$CPP $CPPFLAGS'
6638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6640ac_compiler_gnu=$ac_cv_c_compiler_gnu
6641
6642
6643{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6644$as_echo_n "checking for ANSI C header files... " >&6; }
6645if test "${ac_cv_header_stdc+set}" = set; then
6646  $as_echo_n "(cached) " >&6
6647else
6648  cat >conftest.$ac_ext <<_ACEOF
6649/* confdefs.h.  */
6650_ACEOF
6651cat confdefs.h >>conftest.$ac_ext
6652cat >>conftest.$ac_ext <<_ACEOF
6653/* end confdefs.h.  */
6654#include <stdlib.h>
6655#include <stdarg.h>
6656#include <string.h>
6657#include <float.h>
6658
6659int
6660main ()
6661{
6662
6663  ;
6664  return 0;
6665}
6666_ACEOF
6667rm -f conftest.$ac_objext
6668if { (ac_try="$ac_compile"
6669case "(($ac_try" in
6670  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6671  *) ac_try_echo=$ac_try;;
6672esac
6673eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6674$as_echo "$ac_try_echo") >&5
6675  (eval "$ac_compile") 2>conftest.er1
6676  ac_status=$?
6677  grep -v '^ *+' conftest.er1 >conftest.err
6678  rm -f conftest.er1
6679  cat conftest.err >&5
6680  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681  (exit $ac_status); } && {
6682	 test -z "$ac_c_werror_flag" ||
6683	 test ! -s conftest.err
6684       } && test -s conftest.$ac_objext; then
6685  ac_cv_header_stdc=yes
6686else
6687  $as_echo "$as_me: failed program was:" >&5
6688sed 's/^/| /' conftest.$ac_ext >&5
6689
6690	ac_cv_header_stdc=no
6691fi
6692
6693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6694
6695if test $ac_cv_header_stdc = yes; then
6696  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6697  cat >conftest.$ac_ext <<_ACEOF
6698/* confdefs.h.  */
6699_ACEOF
6700cat confdefs.h >>conftest.$ac_ext
6701cat >>conftest.$ac_ext <<_ACEOF
6702/* end confdefs.h.  */
6703#include <string.h>
6704
6705_ACEOF
6706if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6707  $EGREP "memchr" >/dev/null 2>&1; then
6708  :
6709else
6710  ac_cv_header_stdc=no
6711fi
6712rm -f conftest*
6713
6714fi
6715
6716if test $ac_cv_header_stdc = yes; then
6717  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6718  cat >conftest.$ac_ext <<_ACEOF
6719/* confdefs.h.  */
6720_ACEOF
6721cat confdefs.h >>conftest.$ac_ext
6722cat >>conftest.$ac_ext <<_ACEOF
6723/* end confdefs.h.  */
6724#include <stdlib.h>
6725
6726_ACEOF
6727if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6728  $EGREP "free" >/dev/null 2>&1; then
6729  :
6730else
6731  ac_cv_header_stdc=no
6732fi
6733rm -f conftest*
6734
6735fi
6736
6737if test $ac_cv_header_stdc = yes; then
6738  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6739  if test "$cross_compiling" = yes; then
6740  :
6741else
6742  cat >conftest.$ac_ext <<_ACEOF
6743/* confdefs.h.  */
6744_ACEOF
6745cat confdefs.h >>conftest.$ac_ext
6746cat >>conftest.$ac_ext <<_ACEOF
6747/* end confdefs.h.  */
6748#include <ctype.h>
6749#include <stdlib.h>
6750#if ((' ' & 0x0FF) == 0x020)
6751# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6752# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6753#else
6754# define ISLOWER(c) \
6755		   (('a' <= (c) && (c) <= 'i') \
6756		     || ('j' <= (c) && (c) <= 'r') \
6757		     || ('s' <= (c) && (c) <= 'z'))
6758# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6759#endif
6760
6761#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6762int
6763main ()
6764{
6765  int i;
6766  for (i = 0; i < 256; i++)
6767    if (XOR (islower (i), ISLOWER (i))
6768	|| toupper (i) != TOUPPER (i))
6769      return 2;
6770  return 0;
6771}
6772_ACEOF
6773rm -f conftest$ac_exeext
6774if { (ac_try="$ac_link"
6775case "(($ac_try" in
6776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6777  *) ac_try_echo=$ac_try;;
6778esac
6779eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6780$as_echo "$ac_try_echo") >&5
6781  (eval "$ac_link") 2>&5
6782  ac_status=$?
6783  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6785  { (case "(($ac_try" in
6786  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6787  *) ac_try_echo=$ac_try;;
6788esac
6789eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6790$as_echo "$ac_try_echo") >&5
6791  (eval "$ac_try") 2>&5
6792  ac_status=$?
6793  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794  (exit $ac_status); }; }; then
6795  :
6796else
6797  $as_echo "$as_me: program exited with status $ac_status" >&5
6798$as_echo "$as_me: failed program was:" >&5
6799sed 's/^/| /' conftest.$ac_ext >&5
6800
6801( exit $ac_status )
6802ac_cv_header_stdc=no
6803fi
6804rm -rf conftest.dSYM
6805rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6806fi
6807
6808
6809fi
6810fi
6811{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6812$as_echo "$ac_cv_header_stdc" >&6; }
6813if test $ac_cv_header_stdc = yes; then
6814
6815cat >>confdefs.h <<\_ACEOF
6816#define STDC_HEADERS 1
6817_ACEOF
6818
6819fi
6820
6821# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6832		  inttypes.h stdint.h unistd.h
6833do
6834as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6836$as_echo_n "checking for $ac_header... " >&6; }
6837if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6838  $as_echo_n "(cached) " >&6
6839else
6840  cat >conftest.$ac_ext <<_ACEOF
6841/* confdefs.h.  */
6842_ACEOF
6843cat confdefs.h >>conftest.$ac_ext
6844cat >>conftest.$ac_ext <<_ACEOF
6845/* end confdefs.h.  */
6846$ac_includes_default
6847
6848#include <$ac_header>
6849_ACEOF
6850rm -f conftest.$ac_objext
6851if { (ac_try="$ac_compile"
6852case "(($ac_try" in
6853  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6854  *) ac_try_echo=$ac_try;;
6855esac
6856eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6857$as_echo "$ac_try_echo") >&5
6858  (eval "$ac_compile") 2>conftest.er1
6859  ac_status=$?
6860  grep -v '^ *+' conftest.er1 >conftest.err
6861  rm -f conftest.er1
6862  cat conftest.err >&5
6863  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864  (exit $ac_status); } && {
6865	 test -z "$ac_c_werror_flag" ||
6866	 test ! -s conftest.err
6867       } && test -s conftest.$ac_objext; then
6868  eval "$as_ac_Header=yes"
6869else
6870  $as_echo "$as_me: failed program was:" >&5
6871sed 's/^/| /' conftest.$ac_ext >&5
6872
6873	eval "$as_ac_Header=no"
6874fi
6875
6876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877fi
6878ac_res=`eval 'as_val=${'$as_ac_Header'}
6879		 $as_echo "$as_val"'`
6880	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6881$as_echo "$ac_res" >&6; }
6882as_val=`eval 'as_val=${'$as_ac_Header'}
6883		 $as_echo "$as_val"'`
6884   if test "x$as_val" = x""yes; then
6885  cat >>confdefs.h <<_ACEOF
6886#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887_ACEOF
6888
6889fi
6890
6891done
6892
6893
6894
6895for ac_header in dlfcn.h
6896do
6897as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6898{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6899$as_echo_n "checking for $ac_header... " >&6; }
6900if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6901  $as_echo_n "(cached) " >&6
6902else
6903  cat >conftest.$ac_ext <<_ACEOF
6904/* confdefs.h.  */
6905_ACEOF
6906cat confdefs.h >>conftest.$ac_ext
6907cat >>conftest.$ac_ext <<_ACEOF
6908/* end confdefs.h.  */
6909$ac_includes_default
6910
6911#include <$ac_header>
6912_ACEOF
6913rm -f conftest.$ac_objext
6914if { (ac_try="$ac_compile"
6915case "(($ac_try" in
6916  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6917  *) ac_try_echo=$ac_try;;
6918esac
6919eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6920$as_echo "$ac_try_echo") >&5
6921  (eval "$ac_compile") 2>conftest.er1
6922  ac_status=$?
6923  grep -v '^ *+' conftest.er1 >conftest.err
6924  rm -f conftest.er1
6925  cat conftest.err >&5
6926  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6927  (exit $ac_status); } && {
6928	 test -z "$ac_c_werror_flag" ||
6929	 test ! -s conftest.err
6930       } && test -s conftest.$ac_objext; then
6931  eval "$as_ac_Header=yes"
6932else
6933  $as_echo "$as_me: failed program was:" >&5
6934sed 's/^/| /' conftest.$ac_ext >&5
6935
6936	eval "$as_ac_Header=no"
6937fi
6938
6939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6940fi
6941ac_res=`eval 'as_val=${'$as_ac_Header'}
6942		 $as_echo "$as_val"'`
6943	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6944$as_echo "$ac_res" >&6; }
6945as_val=`eval 'as_val=${'$as_ac_Header'}
6946		 $as_echo "$as_val"'`
6947   if test "x$as_val" = x""yes; then
6948  cat >>confdefs.h <<_ACEOF
6949#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6950_ACEOF
6951
6952fi
6953
6954done
6955
6956
6957
6958# Set options
6959
6960
6961
6962        enable_dlopen=no
6963
6964
6965  enable_win32_dll=no
6966
6967
6968            # Check whether --enable-shared was given.
6969if test "${enable_shared+set}" = set; then
6970  enableval=$enable_shared; p=${PACKAGE-default}
6971    case $enableval in
6972    yes) enable_shared=yes ;;
6973    no) enable_shared=no ;;
6974    *)
6975      enable_shared=no
6976      # Look at the argument we got.  We use all the common list separators.
6977      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6978      for pkg in $enableval; do
6979	IFS="$lt_save_ifs"
6980	if test "X$pkg" = "X$p"; then
6981	  enable_shared=yes
6982	fi
6983      done
6984      IFS="$lt_save_ifs"
6985      ;;
6986    esac
6987else
6988  enable_shared=yes
6989fi
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999  # Check whether --enable-static was given.
7000if test "${enable_static+set}" = set; then
7001  enableval=$enable_static; p=${PACKAGE-default}
7002    case $enableval in
7003    yes) enable_static=yes ;;
7004    no) enable_static=no ;;
7005    *)
7006     enable_static=no
7007      # Look at the argument we got.  We use all the common list separators.
7008      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7009      for pkg in $enableval; do
7010	IFS="$lt_save_ifs"
7011	if test "X$pkg" = "X$p"; then
7012	  enable_static=yes
7013	fi
7014      done
7015      IFS="$lt_save_ifs"
7016      ;;
7017    esac
7018else
7019  enable_static=yes
7020fi
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031# Check whether --with-pic was given.
7032if test "${with_pic+set}" = set; then
7033  withval=$with_pic; pic_mode="$withval"
7034else
7035  pic_mode=default
7036fi
7037
7038
7039test -z "$pic_mode" && pic_mode=default
7040
7041
7042
7043
7044
7045
7046
7047  # Check whether --enable-fast-install was given.
7048if test "${enable_fast_install+set}" = set; then
7049  enableval=$enable_fast_install; p=${PACKAGE-default}
7050    case $enableval in
7051    yes) enable_fast_install=yes ;;
7052    no) enable_fast_install=no ;;
7053    *)
7054      enable_fast_install=no
7055      # Look at the argument we got.  We use all the common list separators.
7056      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7057      for pkg in $enableval; do
7058	IFS="$lt_save_ifs"
7059	if test "X$pkg" = "X$p"; then
7060	  enable_fast_install=yes
7061	fi
7062      done
7063      IFS="$lt_save_ifs"
7064      ;;
7065    esac
7066else
7067  enable_fast_install=yes
7068fi
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080# This can be used to rebuild libtool when needed
7081LIBTOOL_DEPS="$ltmain"
7082
7083# Always use our own libtool.
7084LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110test -z "$LN_S" && LN_S="ln -s"
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125if test -n "${ZSH_VERSION+set}" ; then
7126   setopt NO_GLOB_SUBST
7127fi
7128
7129{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7130$as_echo_n "checking for objdir... " >&6; }
7131if test "${lt_cv_objdir+set}" = set; then
7132  $as_echo_n "(cached) " >&6
7133else
7134  rm -f .libs 2>/dev/null
7135mkdir .libs 2>/dev/null
7136if test -d .libs; then
7137  lt_cv_objdir=.libs
7138else
7139  # MS-DOS does not allow filenames that begin with a dot.
7140  lt_cv_objdir=_libs
7141fi
7142rmdir .libs 2>/dev/null
7143fi
7144{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7145$as_echo "$lt_cv_objdir" >&6; }
7146objdir=$lt_cv_objdir
7147
7148
7149
7150
7151
7152cat >>confdefs.h <<_ACEOF
7153#define LT_OBJDIR "$lt_cv_objdir/"
7154_ACEOF
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172case $host_os in
7173aix3*)
7174  # AIX sometimes has problems with the GCC collect2 program.  For some
7175  # reason, if we set the COLLECT_NAMES environment variable, the problems
7176  # vanish in a puff of smoke.
7177  if test "X${COLLECT_NAMES+set}" != Xset; then
7178    COLLECT_NAMES=
7179    export COLLECT_NAMES
7180  fi
7181  ;;
7182esac
7183
7184# Sed substitution that helps us do robust quoting.  It backslashifies
7185# metacharacters that are still active within double-quoted strings.
7186sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7187
7188# Same as above, but do not quote variable references.
7189double_quote_subst='s/\(["`\\]\)/\\\1/g'
7190
7191# Sed substitution to delay expansion of an escaped shell variable in a
7192# double_quote_subst'ed string.
7193delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7194
7195# Sed substitution to delay expansion of an escaped single quote.
7196delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7197
7198# Sed substitution to avoid accidental globbing in evaled expressions
7199no_glob_subst='s/\*/\\\*/g'
7200
7201# Global variables:
7202ofile=libtool
7203can_build_shared=yes
7204
7205# All known linkers require a `.a' archive for static linking (except MSVC,
7206# which needs '.lib').
7207libext=a
7208
7209with_gnu_ld="$lt_cv_prog_gnu_ld"
7210
7211old_CC="$CC"
7212old_CFLAGS="$CFLAGS"
7213
7214# Set sane defaults for various variables
7215test -z "$CC" && CC=cc
7216test -z "$LTCC" && LTCC=$CC
7217test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7218test -z "$LD" && LD=ld
7219test -z "$ac_objext" && ac_objext=o
7220
7221for cc_temp in $compiler""; do
7222  case $cc_temp in
7223    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7224    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7225    \-*) ;;
7226    *) break;;
7227  esac
7228done
7229cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7230
7231
7232# Only perform the check for file, if the check method requires it
7233test -z "$MAGIC_CMD" && MAGIC_CMD=file
7234case $deplibs_check_method in
7235file_magic*)
7236  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7237    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7238$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7239if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7240  $as_echo_n "(cached) " >&6
7241else
7242  case $MAGIC_CMD in
7243[\\/*] |  ?:[\\/]*)
7244  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7245  ;;
7246*)
7247  lt_save_MAGIC_CMD="$MAGIC_CMD"
7248  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7249  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7250  for ac_dir in $ac_dummy; do
7251    IFS="$lt_save_ifs"
7252    test -z "$ac_dir" && ac_dir=.
7253    if test -f $ac_dir/${ac_tool_prefix}file; then
7254      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7255      if test -n "$file_magic_test_file"; then
7256	case $deplibs_check_method in
7257	"file_magic "*)
7258	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7259	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7260	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7261	    $EGREP "$file_magic_regex" > /dev/null; then
7262	    :
7263	  else
7264	    cat <<_LT_EOF 1>&2
7265
7266*** Warning: the command libtool uses to detect shared libraries,
7267*** $file_magic_cmd, produces output that libtool cannot recognize.
7268*** The result is that libtool may fail to recognize shared libraries
7269*** as such.  This will affect the creation of libtool libraries that
7270*** depend on shared libraries, but programs linked with such libtool
7271*** libraries will work regardless of this problem.  Nevertheless, you
7272*** may want to report the problem to your system manager and/or to
7273*** bug-libtool@gnu.org
7274
7275_LT_EOF
7276	  fi ;;
7277	esac
7278      fi
7279      break
7280    fi
7281  done
7282  IFS="$lt_save_ifs"
7283  MAGIC_CMD="$lt_save_MAGIC_CMD"
7284  ;;
7285esac
7286fi
7287
7288MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7289if test -n "$MAGIC_CMD"; then
7290  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7291$as_echo "$MAGIC_CMD" >&6; }
7292else
7293  { $as_echo "$as_me:$LINENO: result: no" >&5
7294$as_echo "no" >&6; }
7295fi
7296
7297
7298
7299
7300
7301if test -z "$lt_cv_path_MAGIC_CMD"; then
7302  if test -n "$ac_tool_prefix"; then
7303    { $as_echo "$as_me:$LINENO: checking for file" >&5
7304$as_echo_n "checking for file... " >&6; }
7305if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7306  $as_echo_n "(cached) " >&6
7307else
7308  case $MAGIC_CMD in
7309[\\/*] |  ?:[\\/]*)
7310  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7311  ;;
7312*)
7313  lt_save_MAGIC_CMD="$MAGIC_CMD"
7314  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7315  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7316  for ac_dir in $ac_dummy; do
7317    IFS="$lt_save_ifs"
7318    test -z "$ac_dir" && ac_dir=.
7319    if test -f $ac_dir/file; then
7320      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7321      if test -n "$file_magic_test_file"; then
7322	case $deplibs_check_method in
7323	"file_magic "*)
7324	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7325	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7326	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7327	    $EGREP "$file_magic_regex" > /dev/null; then
7328	    :
7329	  else
7330	    cat <<_LT_EOF 1>&2
7331
7332*** Warning: the command libtool uses to detect shared libraries,
7333*** $file_magic_cmd, produces output that libtool cannot recognize.
7334*** The result is that libtool may fail to recognize shared libraries
7335*** as such.  This will affect the creation of libtool libraries that
7336*** depend on shared libraries, but programs linked with such libtool
7337*** libraries will work regardless of this problem.  Nevertheless, you
7338*** may want to report the problem to your system manager and/or to
7339*** bug-libtool@gnu.org
7340
7341_LT_EOF
7342	  fi ;;
7343	esac
7344      fi
7345      break
7346    fi
7347  done
7348  IFS="$lt_save_ifs"
7349  MAGIC_CMD="$lt_save_MAGIC_CMD"
7350  ;;
7351esac
7352fi
7353
7354MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7355if test -n "$MAGIC_CMD"; then
7356  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7357$as_echo "$MAGIC_CMD" >&6; }
7358else
7359  { $as_echo "$as_me:$LINENO: result: no" >&5
7360$as_echo "no" >&6; }
7361fi
7362
7363
7364  else
7365    MAGIC_CMD=:
7366  fi
7367fi
7368
7369  fi
7370  ;;
7371esac
7372
7373# Use C for the default configuration in the libtool script
7374
7375lt_save_CC="$CC"
7376ac_ext=c
7377ac_cpp='$CPP $CPPFLAGS'
7378ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7379ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7380ac_compiler_gnu=$ac_cv_c_compiler_gnu
7381
7382
7383# Source file extension for C test sources.
7384ac_ext=c
7385
7386# Object file extension for compiled C test sources.
7387objext=o
7388objext=$objext
7389
7390# Code to be used in simple compile tests
7391lt_simple_compile_test_code="int some_variable = 0;"
7392
7393# Code to be used in simple link tests
7394lt_simple_link_test_code='int main(){return(0);}'
7395
7396
7397
7398
7399
7400
7401
7402# If no C compiler was specified, use CC.
7403LTCC=${LTCC-"$CC"}
7404
7405# If no C compiler flags were specified, use CFLAGS.
7406LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7407
7408# Allow CC to be a program name with arguments.
7409compiler=$CC
7410
7411# Save the default compiler, since it gets overwritten when the other
7412# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7413compiler_DEFAULT=$CC
7414
7415# save warnings/boilerplate of simple test code
7416ac_outfile=conftest.$ac_objext
7417echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7418eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7419_lt_compiler_boilerplate=`cat conftest.err`
7420$RM conftest*
7421
7422ac_outfile=conftest.$ac_objext
7423echo "$lt_simple_link_test_code" >conftest.$ac_ext
7424eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7425_lt_linker_boilerplate=`cat conftest.err`
7426$RM -r conftest*
7427
7428
7429if test -n "$compiler"; then
7430
7431lt_prog_compiler_no_builtin_flag=
7432
7433if test "$GCC" = yes; then
7434  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7435
7436  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7437$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7438if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7439  $as_echo_n "(cached) " >&6
7440else
7441  lt_cv_prog_compiler_rtti_exceptions=no
7442   ac_outfile=conftest.$ac_objext
7443   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7444   lt_compiler_flag="-fno-rtti -fno-exceptions"
7445   # Insert the option either (1) after the last *FLAGS variable, or
7446   # (2) before a word containing "conftest.", or (3) at the end.
7447   # Note that $ac_compile itself does not contain backslashes and begins
7448   # with a dollar sign (not a hyphen), so the echo should work correctly.
7449   # The option is referenced via a variable to avoid confusing sed.
7450   lt_compile=`echo "$ac_compile" | $SED \
7451   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7452   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7453   -e 's:$: $lt_compiler_flag:'`
7454   (eval echo "\"\$as_me:7454: $lt_compile\"" >&5)
7455   (eval "$lt_compile" 2>conftest.err)
7456   ac_status=$?
7457   cat conftest.err >&5
7458   echo "$as_me:7458: \$? = $ac_status" >&5
7459   if (exit $ac_status) && test -s "$ac_outfile"; then
7460     # The compiler can only warn and ignore the option if not recognized
7461     # So say no if there are warnings other than the usual output.
7462     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7463     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7464     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7465       lt_cv_prog_compiler_rtti_exceptions=yes
7466     fi
7467   fi
7468   $RM conftest*
7469
7470fi
7471{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7472$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7473
7474if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7475    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7476else
7477    :
7478fi
7479
7480fi
7481
7482
7483
7484
7485
7486
7487  lt_prog_compiler_wl=
7488lt_prog_compiler_pic=
7489lt_prog_compiler_static=
7490
7491{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7492$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7493
7494  if test "$GCC" = yes; then
7495    lt_prog_compiler_wl='-Wl,'
7496    lt_prog_compiler_static='-static'
7497
7498    case $host_os in
7499      aix*)
7500      # All AIX code is PIC.
7501      if test "$host_cpu" = ia64; then
7502	# AIX 5 now supports IA64 processor
7503	lt_prog_compiler_static='-Bstatic'
7504      fi
7505      ;;
7506
7507    amigaos*)
7508      case $host_cpu in
7509      powerpc)
7510            # see comment about AmigaOS4 .so support
7511            lt_prog_compiler_pic='-fPIC'
7512        ;;
7513      m68k)
7514            # FIXME: we need at least 68020 code to build shared libraries, but
7515            # adding the `-m68020' flag to GCC prevents building anything better,
7516            # like `-m68040'.
7517            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7518        ;;
7519      esac
7520      ;;
7521
7522    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7523      # PIC is the default for these OSes.
7524      ;;
7525
7526    mingw* | cygwin* | pw32* | os2* | cegcc*)
7527      # This hack is so that the source file can tell whether it is being
7528      # built for inclusion in a dll (and should export symbols for example).
7529      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7530      # (--disable-auto-import) libraries
7531      lt_prog_compiler_pic='-DDLL_EXPORT'
7532      ;;
7533
7534    darwin* | rhapsody*)
7535      # PIC is the default on this platform
7536      # Common symbols not allowed in MH_DYLIB files
7537      lt_prog_compiler_pic='-fno-common'
7538      ;;
7539
7540    hpux*)
7541      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7542      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7543      # sets the default TLS model and affects inlining.
7544      case $host_cpu in
7545      hppa*64*)
7546	# +Z the default
7547	;;
7548      *)
7549	lt_prog_compiler_pic='-fPIC'
7550	;;
7551      esac
7552      ;;
7553
7554    interix[3-9]*)
7555      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7556      # Instead, we relocate shared libraries at runtime.
7557      ;;
7558
7559    msdosdjgpp*)
7560      # Just because we use GCC doesn't mean we suddenly get shared libraries
7561      # on systems that don't support them.
7562      lt_prog_compiler_can_build_shared=no
7563      enable_shared=no
7564      ;;
7565
7566    *nto* | *qnx*)
7567      # QNX uses GNU C++, but need to define -shared option too, otherwise
7568      # it will coredump.
7569      lt_prog_compiler_pic='-fPIC -shared'
7570      ;;
7571
7572    sysv4*MP*)
7573      if test -d /usr/nec; then
7574	lt_prog_compiler_pic=-Kconform_pic
7575      fi
7576      ;;
7577
7578    *)
7579      lt_prog_compiler_pic='-fPIC'
7580      ;;
7581    esac
7582  else
7583    # PORTME Check for flag to pass linker flags through the system compiler.
7584    case $host_os in
7585    aix*)
7586      lt_prog_compiler_wl='-Wl,'
7587      if test "$host_cpu" = ia64; then
7588	# AIX 5 now supports IA64 processor
7589	lt_prog_compiler_static='-Bstatic'
7590      else
7591	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7592      fi
7593      ;;
7594
7595    mingw* | cygwin* | pw32* | os2* | cegcc*)
7596      # This hack is so that the source file can tell whether it is being
7597      # built for inclusion in a dll (and should export symbols for example).
7598      lt_prog_compiler_pic='-DDLL_EXPORT'
7599      ;;
7600
7601    hpux9* | hpux10* | hpux11*)
7602      lt_prog_compiler_wl='-Wl,'
7603      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7604      # not for PA HP-UX.
7605      case $host_cpu in
7606      hppa*64*|ia64*)
7607	# +Z the default
7608	;;
7609      *)
7610	lt_prog_compiler_pic='+Z'
7611	;;
7612      esac
7613      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7614      lt_prog_compiler_static='${wl}-a ${wl}archive'
7615      ;;
7616
7617    irix5* | irix6* | nonstopux*)
7618      lt_prog_compiler_wl='-Wl,'
7619      # PIC (with -KPIC) is the default.
7620      lt_prog_compiler_static='-non_shared'
7621      ;;
7622
7623    linux* | k*bsd*-gnu)
7624      case $cc_basename in
7625      # old Intel for x86_64 which still supported -KPIC.
7626      ecc*)
7627	lt_prog_compiler_wl='-Wl,'
7628	lt_prog_compiler_pic='-KPIC'
7629	lt_prog_compiler_static='-static'
7630        ;;
7631      # icc used to be incompatible with GCC.
7632      # ICC 10 doesn't accept -KPIC any more.
7633      icc* | ifort*)
7634	lt_prog_compiler_wl='-Wl,'
7635	lt_prog_compiler_pic='-fPIC'
7636	lt_prog_compiler_static='-static'
7637        ;;
7638      # Lahey Fortran 8.1.
7639      lf95*)
7640	lt_prog_compiler_wl='-Wl,'
7641	lt_prog_compiler_pic='--shared'
7642	lt_prog_compiler_static='--static'
7643	;;
7644      pgcc* | pgf77* | pgf90* | pgf95*)
7645        # Portland Group compilers (*not* the Pentium gcc compiler,
7646	# which looks to be a dead project)
7647	lt_prog_compiler_wl='-Wl,'
7648	lt_prog_compiler_pic='-fpic'
7649	lt_prog_compiler_static='-Bstatic'
7650        ;;
7651      ccc*)
7652        lt_prog_compiler_wl='-Wl,'
7653        # All Alpha code is PIC.
7654        lt_prog_compiler_static='-non_shared'
7655        ;;
7656      xl*)
7657	# IBM XL C 8.0/Fortran 10.1 on PPC
7658	lt_prog_compiler_wl='-Wl,'
7659	lt_prog_compiler_pic='-qpic'
7660	lt_prog_compiler_static='-qstaticlink'
7661	;;
7662      *)
7663	case `$CC -V 2>&1 | sed 5q` in
7664	*Sun\ C*)
7665	  # Sun C 5.9
7666	  lt_prog_compiler_pic='-KPIC'
7667	  lt_prog_compiler_static='-Bstatic'
7668	  lt_prog_compiler_wl='-Wl,'
7669	  ;;
7670	*Sun\ F*)
7671	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7672	  lt_prog_compiler_pic='-KPIC'
7673	  lt_prog_compiler_static='-Bstatic'
7674	  lt_prog_compiler_wl=''
7675	  ;;
7676	esac
7677	;;
7678      esac
7679      ;;
7680
7681    newsos6)
7682      lt_prog_compiler_pic='-KPIC'
7683      lt_prog_compiler_static='-Bstatic'
7684      ;;
7685
7686    *nto* | *qnx*)
7687      # QNX uses GNU C++, but need to define -shared option too, otherwise
7688      # it will coredump.
7689      lt_prog_compiler_pic='-fPIC -shared'
7690      ;;
7691
7692    osf3* | osf4* | osf5*)
7693      lt_prog_compiler_wl='-Wl,'
7694      # All OSF/1 code is PIC.
7695      lt_prog_compiler_static='-non_shared'
7696      ;;
7697
7698    rdos*)
7699      lt_prog_compiler_static='-non_shared'
7700      ;;
7701
7702    solaris*)
7703      lt_prog_compiler_pic='-KPIC'
7704      lt_prog_compiler_static='-Bstatic'
7705      case $cc_basename in
7706      f77* | f90* | f95*)
7707	lt_prog_compiler_wl='-Qoption ld ';;
7708      *)
7709	lt_prog_compiler_wl='-Wl,';;
7710      esac
7711      ;;
7712
7713    sunos4*)
7714      lt_prog_compiler_wl='-Qoption ld '
7715      lt_prog_compiler_pic='-PIC'
7716      lt_prog_compiler_static='-Bstatic'
7717      ;;
7718
7719    sysv4 | sysv4.2uw2* | sysv4.3*)
7720      lt_prog_compiler_wl='-Wl,'
7721      lt_prog_compiler_pic='-KPIC'
7722      lt_prog_compiler_static='-Bstatic'
7723      ;;
7724
7725    sysv4*MP*)
7726      if test -d /usr/nec ;then
7727	lt_prog_compiler_pic='-Kconform_pic'
7728	lt_prog_compiler_static='-Bstatic'
7729      fi
7730      ;;
7731
7732    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7733      lt_prog_compiler_wl='-Wl,'
7734      lt_prog_compiler_pic='-KPIC'
7735      lt_prog_compiler_static='-Bstatic'
7736      ;;
7737
7738    unicos*)
7739      lt_prog_compiler_wl='-Wl,'
7740      lt_prog_compiler_can_build_shared=no
7741      ;;
7742
7743    uts4*)
7744      lt_prog_compiler_pic='-pic'
7745      lt_prog_compiler_static='-Bstatic'
7746      ;;
7747
7748    *)
7749      lt_prog_compiler_can_build_shared=no
7750      ;;
7751    esac
7752  fi
7753
7754case $host_os in
7755  # For platforms which do not support PIC, -DPIC is meaningless:
7756  *djgpp*)
7757    lt_prog_compiler_pic=
7758    ;;
7759  *)
7760    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7761    ;;
7762esac
7763{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7764$as_echo "$lt_prog_compiler_pic" >&6; }
7765
7766
7767
7768
7769
7770
7771#
7772# Check to make sure the PIC flag actually works.
7773#
7774if test -n "$lt_prog_compiler_pic"; then
7775  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7776$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7777if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7778  $as_echo_n "(cached) " >&6
7779else
7780  lt_cv_prog_compiler_pic_works=no
7781   ac_outfile=conftest.$ac_objext
7782   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7783   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7784   # Insert the option either (1) after the last *FLAGS variable, or
7785   # (2) before a word containing "conftest.", or (3) at the end.
7786   # Note that $ac_compile itself does not contain backslashes and begins
7787   # with a dollar sign (not a hyphen), so the echo should work correctly.
7788   # The option is referenced via a variable to avoid confusing sed.
7789   lt_compile=`echo "$ac_compile" | $SED \
7790   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7791   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7792   -e 's:$: $lt_compiler_flag:'`
7793   (eval echo "\"\$as_me:7793: $lt_compile\"" >&5)
7794   (eval "$lt_compile" 2>conftest.err)
7795   ac_status=$?
7796   cat conftest.err >&5
7797   echo "$as_me:7797: \$? = $ac_status" >&5
7798   if (exit $ac_status) && test -s "$ac_outfile"; then
7799     # The compiler can only warn and ignore the option if not recognized
7800     # So say no if there are warnings other than the usual output.
7801     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7802     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7803     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7804       lt_cv_prog_compiler_pic_works=yes
7805     fi
7806   fi
7807   $RM conftest*
7808
7809fi
7810{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7811$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7812
7813if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7814    case $lt_prog_compiler_pic in
7815     "" | " "*) ;;
7816     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7817     esac
7818else
7819    lt_prog_compiler_pic=
7820     lt_prog_compiler_can_build_shared=no
7821fi
7822
7823fi
7824
7825
7826
7827
7828
7829
7830#
7831# Check to make sure the static flag actually works.
7832#
7833wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7834{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7835$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7836if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7837  $as_echo_n "(cached) " >&6
7838else
7839  lt_cv_prog_compiler_static_works=no
7840   save_LDFLAGS="$LDFLAGS"
7841   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7842   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7843   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7844     # The linker can only warn and ignore the option if not recognized
7845     # So say no if there are warnings
7846     if test -s conftest.err; then
7847       # Append any errors to the config.log.
7848       cat conftest.err 1>&5
7849       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7850       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7851       if diff conftest.exp conftest.er2 >/dev/null; then
7852         lt_cv_prog_compiler_static_works=yes
7853       fi
7854     else
7855       lt_cv_prog_compiler_static_works=yes
7856     fi
7857   fi
7858   $RM -r conftest*
7859   LDFLAGS="$save_LDFLAGS"
7860
7861fi
7862{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7863$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7864
7865if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7866    :
7867else
7868    lt_prog_compiler_static=
7869fi
7870
7871
7872
7873
7874
7875
7876
7877  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7878$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7879if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7880  $as_echo_n "(cached) " >&6
7881else
7882  lt_cv_prog_compiler_c_o=no
7883   $RM -r conftest 2>/dev/null
7884   mkdir conftest
7885   cd conftest
7886   mkdir out
7887   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7888
7889   lt_compiler_flag="-o out/conftest2.$ac_objext"
7890   # Insert the option either (1) after the last *FLAGS variable, or
7891   # (2) before a word containing "conftest.", or (3) at the end.
7892   # Note that $ac_compile itself does not contain backslashes and begins
7893   # with a dollar sign (not a hyphen), so the echo should work correctly.
7894   lt_compile=`echo "$ac_compile" | $SED \
7895   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7896   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7897   -e 's:$: $lt_compiler_flag:'`
7898   (eval echo "\"\$as_me:7898: $lt_compile\"" >&5)
7899   (eval "$lt_compile" 2>out/conftest.err)
7900   ac_status=$?
7901   cat out/conftest.err >&5
7902   echo "$as_me:7902: \$? = $ac_status" >&5
7903   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7904   then
7905     # The compiler can only warn and ignore the option if not recognized
7906     # So say no if there are warnings
7907     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7908     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7909     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7910       lt_cv_prog_compiler_c_o=yes
7911     fi
7912   fi
7913   chmod u+w . 2>&5
7914   $RM conftest*
7915   # SGI C++ compiler will create directory out/ii_files/ for
7916   # template instantiation
7917   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7918   $RM out/* && rmdir out
7919   cd ..
7920   $RM -r conftest
7921   $RM conftest*
7922
7923fi
7924{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7925$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7926
7927
7928
7929
7930
7931
7932  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7933$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7934if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7935  $as_echo_n "(cached) " >&6
7936else
7937  lt_cv_prog_compiler_c_o=no
7938   $RM -r conftest 2>/dev/null
7939   mkdir conftest
7940   cd conftest
7941   mkdir out
7942   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7943
7944   lt_compiler_flag="-o out/conftest2.$ac_objext"
7945   # Insert the option either (1) after the last *FLAGS variable, or
7946   # (2) before a word containing "conftest.", or (3) at the end.
7947   # Note that $ac_compile itself does not contain backslashes and begins
7948   # with a dollar sign (not a hyphen), so the echo should work correctly.
7949   lt_compile=`echo "$ac_compile" | $SED \
7950   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7951   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7952   -e 's:$: $lt_compiler_flag:'`
7953   (eval echo "\"\$as_me:7953: $lt_compile\"" >&5)
7954   (eval "$lt_compile" 2>out/conftest.err)
7955   ac_status=$?
7956   cat out/conftest.err >&5
7957   echo "$as_me:7957: \$? = $ac_status" >&5
7958   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7959   then
7960     # The compiler can only warn and ignore the option if not recognized
7961     # So say no if there are warnings
7962     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7963     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7964     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7965       lt_cv_prog_compiler_c_o=yes
7966     fi
7967   fi
7968   chmod u+w . 2>&5
7969   $RM conftest*
7970   # SGI C++ compiler will create directory out/ii_files/ for
7971   # template instantiation
7972   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7973   $RM out/* && rmdir out
7974   cd ..
7975   $RM -r conftest
7976   $RM conftest*
7977
7978fi
7979{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7980$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7981
7982
7983
7984
7985hard_links="nottested"
7986if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7987  # do not overwrite the value of need_locks provided by the user
7988  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7989$as_echo_n "checking if we can lock with hard links... " >&6; }
7990  hard_links=yes
7991  $RM conftest*
7992  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7993  touch conftest.a
7994  ln conftest.a conftest.b 2>&5 || hard_links=no
7995  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7996  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7997$as_echo "$hard_links" >&6; }
7998  if test "$hard_links" = no; then
7999    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8000$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8001    need_locks=warn
8002  fi
8003else
8004  need_locks=no
8005fi
8006
8007
8008
8009
8010
8011
8012  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8013$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8014
8015  runpath_var=
8016  allow_undefined_flag=
8017  always_export_symbols=no
8018  archive_cmds=
8019  archive_expsym_cmds=
8020  compiler_needs_object=no
8021  enable_shared_with_static_runtimes=no
8022  export_dynamic_flag_spec=
8023  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8024  hardcode_automatic=no
8025  hardcode_direct=no
8026  hardcode_direct_absolute=no
8027  hardcode_libdir_flag_spec=
8028  hardcode_libdir_flag_spec_ld=
8029  hardcode_libdir_separator=
8030  hardcode_minus_L=no
8031  hardcode_shlibpath_var=unsupported
8032  inherit_rpath=no
8033  link_all_deplibs=unknown
8034  module_cmds=
8035  module_expsym_cmds=
8036  old_archive_from_new_cmds=
8037  old_archive_from_expsyms_cmds=
8038  thread_safe_flag_spec=
8039  whole_archive_flag_spec=
8040  # include_expsyms should be a list of space-separated symbols to be *always*
8041  # included in the symbol list
8042  include_expsyms=
8043  # exclude_expsyms can be an extended regexp of symbols to exclude
8044  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8045  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8046  # as well as any symbol that contains `d'.
8047  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8048  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8049  # platforms (ab)use it in PIC code, but their linkers get confused if
8050  # the symbol is explicitly referenced.  Since portable code cannot
8051  # rely on this symbol name, it's probably fine to never include it in
8052  # preloaded symbol tables.
8053  # Exclude shared library initialization/finalization symbols.
8054  extract_expsyms_cmds=
8055
8056  case $host_os in
8057  cygwin* | mingw* | pw32* | cegcc*)
8058    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8059    # When not using gcc, we currently assume that we are using
8060    # Microsoft Visual C++.
8061    if test "$GCC" != yes; then
8062      with_gnu_ld=no
8063    fi
8064    ;;
8065  interix*)
8066    # we just hope/assume this is gcc and not c89 (= MSVC++)
8067    with_gnu_ld=yes
8068    ;;
8069  openbsd*)
8070    with_gnu_ld=no
8071    ;;
8072  esac
8073
8074  ld_shlibs=yes
8075  if test "$with_gnu_ld" = yes; then
8076    # If archive_cmds runs LD, not CC, wlarc should be empty
8077    wlarc='${wl}'
8078
8079    # Set some defaults for GNU ld with shared library support. These
8080    # are reset later if shared libraries are not supported. Putting them
8081    # here allows them to be overridden if necessary.
8082    runpath_var=LD_RUN_PATH
8083    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8084    export_dynamic_flag_spec='${wl}--export-dynamic'
8085    # ancient GNU ld didn't support --whole-archive et. al.
8086    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8087      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8088    else
8089      whole_archive_flag_spec=
8090    fi
8091    supports_anon_versioning=no
8092    case `$LD -v 2>&1` in
8093      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8094      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8095      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8096      *\ 2.11.*) ;; # other 2.11 versions
8097      *) supports_anon_versioning=yes ;;
8098    esac
8099
8100    # See if GNU ld supports shared libraries.
8101    case $host_os in
8102    aix[3-9]*)
8103      # On AIX/PPC, the GNU linker is very broken
8104      if test "$host_cpu" != ia64; then
8105	ld_shlibs=no
8106	cat <<_LT_EOF 1>&2
8107
8108*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8109*** to be unable to reliably create shared libraries on AIX.
8110*** Therefore, libtool is disabling shared libraries support.  If you
8111*** really care for shared libraries, you may want to modify your PATH
8112*** so that a non-GNU linker is found, and then restart.
8113
8114_LT_EOF
8115      fi
8116      ;;
8117
8118    amigaos*)
8119      case $host_cpu in
8120      powerpc)
8121            # see comment about AmigaOS4 .so support
8122            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8123            archive_expsym_cmds=''
8124        ;;
8125      m68k)
8126            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)'
8127            hardcode_libdir_flag_spec='-L$libdir'
8128            hardcode_minus_L=yes
8129        ;;
8130      esac
8131      ;;
8132
8133    beos*)
8134      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8135	allow_undefined_flag=unsupported
8136	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8137	# support --undefined.  This deserves some investigation.  FIXME
8138	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8139      else
8140	ld_shlibs=no
8141      fi
8142      ;;
8143
8144    cygwin* | mingw* | pw32* | cegcc*)
8145      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8146      # as there is no search path for DLLs.
8147      hardcode_libdir_flag_spec='-L$libdir'
8148      allow_undefined_flag=unsupported
8149      always_export_symbols=no
8150      enable_shared_with_static_runtimes=yes
8151      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8152
8153      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8154        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8155	# If the export-symbols file already is a .def file (1st line
8156	# is EXPORTS), use it as is; otherwise, prepend...
8157	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8158	  cp $export_symbols $output_objdir/$soname.def;
8159	else
8160	  echo EXPORTS > $output_objdir/$soname.def;
8161	  cat $export_symbols >> $output_objdir/$soname.def;
8162	fi~
8163	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8164      else
8165	ld_shlibs=no
8166      fi
8167      ;;
8168
8169    interix[3-9]*)
8170      hardcode_direct=no
8171      hardcode_shlibpath_var=no
8172      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8173      export_dynamic_flag_spec='${wl}-E'
8174      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8175      # Instead, shared libraries are loaded at an image base (0x10000000 by
8176      # default) and relocated if they conflict, which is a slow very memory
8177      # consuming and fragmenting process.  To avoid this, we pick a random,
8178      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8179      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8180      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8181      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'
8182      ;;
8183
8184    gnu* | linux* | tpf* | k*bsd*-gnu)
8185      tmp_diet=no
8186      if test "$host_os" = linux-dietlibc; then
8187	case $cc_basename in
8188	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8189	esac
8190      fi
8191      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8192	 && test "$tmp_diet" = no
8193      then
8194	tmp_addflag=
8195	tmp_sharedflag='-shared'
8196	case $cc_basename,$host_cpu in
8197        pgcc*)				# Portland Group C compiler
8198	  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'
8199	  tmp_addflag=' $pic_flag'
8200	  ;;
8201	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8202	  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'
8203	  tmp_addflag=' $pic_flag -Mnomain' ;;
8204	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8205	  tmp_addflag=' -i_dynamic' ;;
8206	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8207	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8208	ifc* | ifort*)			# Intel Fortran compiler
8209	  tmp_addflag=' -nofor_main' ;;
8210	lf95*)				# Lahey Fortran 8.1
8211	  whole_archive_flag_spec=
8212	  tmp_sharedflag='--shared' ;;
8213	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8214	  tmp_sharedflag='-qmkshrobj'
8215	  tmp_addflag= ;;
8216	esac
8217	case `$CC -V 2>&1 | sed 5q` in
8218	*Sun\ C*)			# Sun C 5.9
8219	  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'
8220	  compiler_needs_object=yes
8221	  tmp_sharedflag='-G' ;;
8222	*Sun\ F*)			# Sun Fortran 8.3
8223	  tmp_sharedflag='-G' ;;
8224	esac
8225	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8226
8227        if test "x$supports_anon_versioning" = xyes; then
8228          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8229	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8230	    echo "local: *; };" >> $output_objdir/$libname.ver~
8231	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8232        fi
8233
8234	case $cc_basename in
8235	xlf*)
8236	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8237	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8238	  hardcode_libdir_flag_spec=
8239	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8240	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8241	  if test "x$supports_anon_versioning" = xyes; then
8242	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8243	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8244	      echo "local: *; };" >> $output_objdir/$libname.ver~
8245	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8246	  fi
8247	  ;;
8248	esac
8249      else
8250        ld_shlibs=no
8251      fi
8252      ;;
8253
8254    netbsd*)
8255      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8256	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8257	wlarc=
8258      else
8259	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8260	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8261      fi
8262      ;;
8263
8264    solaris*)
8265      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8266	ld_shlibs=no
8267	cat <<_LT_EOF 1>&2
8268
8269*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8270*** create shared libraries on Solaris systems.  Therefore, libtool
8271*** is disabling shared libraries support.  We urge you to upgrade GNU
8272*** binutils to release 2.9.1 or newer.  Another option is to modify
8273*** your PATH or compiler configuration so that the native linker is
8274*** used, and then restart.
8275
8276_LT_EOF
8277      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8278	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8279	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8280      else
8281	ld_shlibs=no
8282      fi
8283      ;;
8284
8285    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8286      case `$LD -v 2>&1` in
8287        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8288	ld_shlibs=no
8289	cat <<_LT_EOF 1>&2
8290
8291*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8292*** reliably create shared libraries on SCO systems.  Therefore, libtool
8293*** is disabling shared libraries support.  We urge you to upgrade GNU
8294*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8295*** your PATH or compiler configuration so that the native linker is
8296*** used, and then restart.
8297
8298_LT_EOF
8299	;;
8300	*)
8301	  # For security reasons, it is highly recommended that you always
8302	  # use absolute paths for naming shared libraries, and exclude the
8303	  # DT_RUNPATH tag from executables and libraries.  But doing so
8304	  # requires that you compile everything twice, which is a pain.
8305	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8306	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8307	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8308	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8309	  else
8310	    ld_shlibs=no
8311	  fi
8312	;;
8313      esac
8314      ;;
8315
8316    sunos4*)
8317      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8318      wlarc=
8319      hardcode_direct=yes
8320      hardcode_shlibpath_var=no
8321      ;;
8322
8323    *)
8324      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8325	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8326	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8327      else
8328	ld_shlibs=no
8329      fi
8330      ;;
8331    esac
8332
8333    if test "$ld_shlibs" = no; then
8334      runpath_var=
8335      hardcode_libdir_flag_spec=
8336      export_dynamic_flag_spec=
8337      whole_archive_flag_spec=
8338    fi
8339  else
8340    # PORTME fill in a description of your system's linker (not GNU ld)
8341    case $host_os in
8342    aix3*)
8343      allow_undefined_flag=unsupported
8344      always_export_symbols=yes
8345      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'
8346      # Note: this linker hardcodes the directories in LIBPATH if there
8347      # are no directories specified by -L.
8348      hardcode_minus_L=yes
8349      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8350	# Neither direct hardcoding nor static linking is supported with a
8351	# broken collect2.
8352	hardcode_direct=unsupported
8353      fi
8354      ;;
8355
8356    aix[4-9]*)
8357      if test "$host_cpu" = ia64; then
8358	# On IA64, the linker does run time linking by default, so we don't
8359	# have to do anything special.
8360	aix_use_runtimelinking=no
8361	exp_sym_flag='-Bexport'
8362	no_entry_flag=""
8363      else
8364	# If we're using GNU nm, then we don't want the "-C" option.
8365	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8366	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8367	  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'
8368	else
8369	  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'
8370	fi
8371	aix_use_runtimelinking=no
8372
8373	# Test if we are trying to use run time linking or normal
8374	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8375	# need to do runtime linking.
8376	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8377	  for ld_flag in $LDFLAGS; do
8378	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8379	    aix_use_runtimelinking=yes
8380	    break
8381	  fi
8382	  done
8383	  ;;
8384	esac
8385
8386	exp_sym_flag='-bexport'
8387	no_entry_flag='-bnoentry'
8388      fi
8389
8390      # When large executables or shared objects are built, AIX ld can
8391      # have problems creating the table of contents.  If linking a library
8392      # or program results in "error TOC overflow" add -mminimal-toc to
8393      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8394      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8395
8396      archive_cmds=''
8397      hardcode_direct=yes
8398      hardcode_direct_absolute=yes
8399      hardcode_libdir_separator=':'
8400      link_all_deplibs=yes
8401      file_list_spec='${wl}-f,'
8402
8403      if test "$GCC" = yes; then
8404	case $host_os in aix4.[012]|aix4.[012].*)
8405	# We only want to do this on AIX 4.2 and lower, the check
8406	# below for broken collect2 doesn't work under 4.3+
8407	  collect2name=`${CC} -print-prog-name=collect2`
8408	  if test -f "$collect2name" &&
8409	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8410	  then
8411	  # We have reworked collect2
8412	  :
8413	  else
8414	  # We have old collect2
8415	  hardcode_direct=unsupported
8416	  # It fails to find uninstalled libraries when the uninstalled
8417	  # path is not listed in the libpath.  Setting hardcode_minus_L
8418	  # to unsupported forces relinking
8419	  hardcode_minus_L=yes
8420	  hardcode_libdir_flag_spec='-L$libdir'
8421	  hardcode_libdir_separator=
8422	  fi
8423	  ;;
8424	esac
8425	shared_flag='-shared'
8426	if test "$aix_use_runtimelinking" = yes; then
8427	  shared_flag="$shared_flag "'${wl}-G'
8428	fi
8429      else
8430	# not using gcc
8431	if test "$host_cpu" = ia64; then
8432	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8433	# chokes on -Wl,-G. The following line is correct:
8434	  shared_flag='-G'
8435	else
8436	  if test "$aix_use_runtimelinking" = yes; then
8437	    shared_flag='${wl}-G'
8438	  else
8439	    shared_flag='${wl}-bM:SRE'
8440	  fi
8441	fi
8442      fi
8443
8444      export_dynamic_flag_spec='${wl}-bexpall'
8445      # It seems that -bexpall does not export symbols beginning with
8446      # underscore (_), so it is better to generate a list of symbols to export.
8447      always_export_symbols=yes
8448      if test "$aix_use_runtimelinking" = yes; then
8449	# Warning - without using the other runtime loading flags (-brtl),
8450	# -berok will link without error, but may produce a broken library.
8451	allow_undefined_flag='-berok'
8452        # Determine the default libpath from the value encoded in an
8453        # empty executable.
8454        cat >conftest.$ac_ext <<_ACEOF
8455/* confdefs.h.  */
8456_ACEOF
8457cat confdefs.h >>conftest.$ac_ext
8458cat >>conftest.$ac_ext <<_ACEOF
8459/* end confdefs.h.  */
8460
8461int
8462main ()
8463{
8464
8465  ;
8466  return 0;
8467}
8468_ACEOF
8469rm -f conftest.$ac_objext conftest$ac_exeext
8470if { (ac_try="$ac_link"
8471case "(($ac_try" in
8472  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8473  *) ac_try_echo=$ac_try;;
8474esac
8475eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8476$as_echo "$ac_try_echo") >&5
8477  (eval "$ac_link") 2>conftest.er1
8478  ac_status=$?
8479  grep -v '^ *+' conftest.er1 >conftest.err
8480  rm -f conftest.er1
8481  cat conftest.err >&5
8482  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483  (exit $ac_status); } && {
8484	 test -z "$ac_c_werror_flag" ||
8485	 test ! -s conftest.err
8486       } && test -s conftest$ac_exeext && {
8487	 test "$cross_compiling" = yes ||
8488	 $as_test_x conftest$ac_exeext
8489       }; then
8490
8491lt_aix_libpath_sed='
8492    /Import File Strings/,/^$/ {
8493	/^0/ {
8494	    s/^0  *\(.*\)$/\1/
8495	    p
8496	}
8497    }'
8498aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8499# Check for a 64-bit object if we didn't find anything.
8500if test -z "$aix_libpath"; then
8501  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8502fi
8503else
8504  $as_echo "$as_me: failed program was:" >&5
8505sed 's/^/| /' conftest.$ac_ext >&5
8506
8507
8508fi
8509
8510rm -rf conftest.dSYM
8511rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8512      conftest$ac_exeext conftest.$ac_ext
8513if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8514
8515        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8516        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"
8517      else
8518	if test "$host_cpu" = ia64; then
8519	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8520	  allow_undefined_flag="-z nodefs"
8521	  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"
8522	else
8523	 # Determine the default libpath from the value encoded in an
8524	 # empty executable.
8525	 cat >conftest.$ac_ext <<_ACEOF
8526/* confdefs.h.  */
8527_ACEOF
8528cat confdefs.h >>conftest.$ac_ext
8529cat >>conftest.$ac_ext <<_ACEOF
8530/* end confdefs.h.  */
8531
8532int
8533main ()
8534{
8535
8536  ;
8537  return 0;
8538}
8539_ACEOF
8540rm -f conftest.$ac_objext conftest$ac_exeext
8541if { (ac_try="$ac_link"
8542case "(($ac_try" in
8543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8544  *) ac_try_echo=$ac_try;;
8545esac
8546eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8547$as_echo "$ac_try_echo") >&5
8548  (eval "$ac_link") 2>conftest.er1
8549  ac_status=$?
8550  grep -v '^ *+' conftest.er1 >conftest.err
8551  rm -f conftest.er1
8552  cat conftest.err >&5
8553  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554  (exit $ac_status); } && {
8555	 test -z "$ac_c_werror_flag" ||
8556	 test ! -s conftest.err
8557       } && test -s conftest$ac_exeext && {
8558	 test "$cross_compiling" = yes ||
8559	 $as_test_x conftest$ac_exeext
8560       }; then
8561
8562lt_aix_libpath_sed='
8563    /Import File Strings/,/^$/ {
8564	/^0/ {
8565	    s/^0  *\(.*\)$/\1/
8566	    p
8567	}
8568    }'
8569aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8570# Check for a 64-bit object if we didn't find anything.
8571if test -z "$aix_libpath"; then
8572  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8573fi
8574else
8575  $as_echo "$as_me: failed program was:" >&5
8576sed 's/^/| /' conftest.$ac_ext >&5
8577
8578
8579fi
8580
8581rm -rf conftest.dSYM
8582rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8583      conftest$ac_exeext conftest.$ac_ext
8584if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8585
8586	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8587	  # Warning - without using the other run time loading flags,
8588	  # -berok will link without error, but may produce a broken library.
8589	  no_undefined_flag=' ${wl}-bernotok'
8590	  allow_undefined_flag=' ${wl}-berok'
8591	  # Exported symbols can be pulled into shared objects from archives
8592	  whole_archive_flag_spec='$convenience'
8593	  archive_cmds_need_lc=yes
8594	  # This is similar to how AIX traditionally builds its shared libraries.
8595	  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'
8596	fi
8597      fi
8598      ;;
8599
8600    amigaos*)
8601      case $host_cpu in
8602      powerpc)
8603            # see comment about AmigaOS4 .so support
8604            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8605            archive_expsym_cmds=''
8606        ;;
8607      m68k)
8608            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)'
8609            hardcode_libdir_flag_spec='-L$libdir'
8610            hardcode_minus_L=yes
8611        ;;
8612      esac
8613      ;;
8614
8615    bsdi[45]*)
8616      export_dynamic_flag_spec=-rdynamic
8617      ;;
8618
8619    cygwin* | mingw* | pw32* | cegcc*)
8620      # When not using gcc, we currently assume that we are using
8621      # Microsoft Visual C++.
8622      # hardcode_libdir_flag_spec is actually meaningless, as there is
8623      # no search path for DLLs.
8624      hardcode_libdir_flag_spec=' '
8625      allow_undefined_flag=unsupported
8626      # Tell ltmain to make .lib files, not .a files.
8627      libext=lib
8628      # Tell ltmain to make .dll files, not .so files.
8629      shrext_cmds=".dll"
8630      # FIXME: Setting linknames here is a bad hack.
8631      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8632      # The linker will automatically build a .lib file if we build a DLL.
8633      old_archive_from_new_cmds='true'
8634      # FIXME: Should let the user specify the lib program.
8635      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8636      fix_srcfile_path='`cygpath -w "$srcfile"`'
8637      enable_shared_with_static_runtimes=yes
8638      ;;
8639
8640    darwin* | rhapsody*)
8641
8642
8643  archive_cmds_need_lc=no
8644  hardcode_direct=no
8645  hardcode_automatic=yes
8646  hardcode_shlibpath_var=unsupported
8647  whole_archive_flag_spec=''
8648  link_all_deplibs=yes
8649  allow_undefined_flag="$_lt_dar_allow_undefined"
8650  case $cc_basename in
8651     ifort*) _lt_dar_can_shared=yes ;;
8652     *) _lt_dar_can_shared=$GCC ;;
8653  esac
8654  if test "$_lt_dar_can_shared" = "yes"; then
8655    output_verbose_link_cmd=echo
8656    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8657    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8658    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}"
8659    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}"
8660
8661  else
8662  ld_shlibs=no
8663  fi
8664
8665      ;;
8666
8667    dgux*)
8668      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8669      hardcode_libdir_flag_spec='-L$libdir'
8670      hardcode_shlibpath_var=no
8671      ;;
8672
8673    freebsd1*)
8674      ld_shlibs=no
8675      ;;
8676
8677    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8678    # support.  Future versions do this automatically, but an explicit c++rt0.o
8679    # does not break anything, and helps significantly (at the cost of a little
8680    # extra space).
8681    freebsd2.2*)
8682      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8683      hardcode_libdir_flag_spec='-R$libdir'
8684      hardcode_direct=yes
8685      hardcode_shlibpath_var=no
8686      ;;
8687
8688    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8689    freebsd2*)
8690      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8691      hardcode_direct=yes
8692      hardcode_minus_L=yes
8693      hardcode_shlibpath_var=no
8694      ;;
8695
8696    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8697    freebsd* | dragonfly*)
8698      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8699      hardcode_libdir_flag_spec='-R$libdir'
8700      hardcode_direct=yes
8701      hardcode_shlibpath_var=no
8702      ;;
8703
8704    hpux9*)
8705      if test "$GCC" = yes; then
8706	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'
8707      else
8708	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'
8709      fi
8710      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8711      hardcode_libdir_separator=:
8712      hardcode_direct=yes
8713
8714      # hardcode_minus_L: Not really in the search PATH,
8715      # but as the default location of the library.
8716      hardcode_minus_L=yes
8717      export_dynamic_flag_spec='${wl}-E'
8718      ;;
8719
8720    hpux10*)
8721      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8722	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8723      else
8724	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8725      fi
8726      if test "$with_gnu_ld" = no; then
8727	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8728	hardcode_libdir_flag_spec_ld='+b $libdir'
8729	hardcode_libdir_separator=:
8730	hardcode_direct=yes
8731	hardcode_direct_absolute=yes
8732	export_dynamic_flag_spec='${wl}-E'
8733	# hardcode_minus_L: Not really in the search PATH,
8734	# but as the default location of the library.
8735	hardcode_minus_L=yes
8736      fi
8737      ;;
8738
8739    hpux11*)
8740      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8741	case $host_cpu in
8742	hppa*64*)
8743	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8744	  ;;
8745	ia64*)
8746	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8747	  ;;
8748	*)
8749	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8750	  ;;
8751	esac
8752      else
8753	case $host_cpu in
8754	hppa*64*)
8755	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8756	  ;;
8757	ia64*)
8758	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8759	  ;;
8760	*)
8761	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8762	  ;;
8763	esac
8764      fi
8765      if test "$with_gnu_ld" = no; then
8766	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8767	hardcode_libdir_separator=:
8768
8769	case $host_cpu in
8770	hppa*64*|ia64*)
8771	  hardcode_direct=no
8772	  hardcode_shlibpath_var=no
8773	  ;;
8774	*)
8775	  hardcode_direct=yes
8776	  hardcode_direct_absolute=yes
8777	  export_dynamic_flag_spec='${wl}-E'
8778
8779	  # hardcode_minus_L: Not really in the search PATH,
8780	  # but as the default location of the library.
8781	  hardcode_minus_L=yes
8782	  ;;
8783	esac
8784      fi
8785      ;;
8786
8787    irix5* | irix6* | nonstopux*)
8788      if test "$GCC" = yes; then
8789	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'
8790	# Try to use the -exported_symbol ld option, if it does not
8791	# work, assume that -exports_file does not work either and
8792	# implicitly export all symbols.
8793        save_LDFLAGS="$LDFLAGS"
8794        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8795        cat >conftest.$ac_ext <<_ACEOF
8796int foo(void) {}
8797_ACEOF
8798rm -f conftest.$ac_objext conftest$ac_exeext
8799if { (ac_try="$ac_link"
8800case "(($ac_try" in
8801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8802  *) ac_try_echo=$ac_try;;
8803esac
8804eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8805$as_echo "$ac_try_echo") >&5
8806  (eval "$ac_link") 2>conftest.er1
8807  ac_status=$?
8808  grep -v '^ *+' conftest.er1 >conftest.err
8809  rm -f conftest.er1
8810  cat conftest.err >&5
8811  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812  (exit $ac_status); } && {
8813	 test -z "$ac_c_werror_flag" ||
8814	 test ! -s conftest.err
8815       } && test -s conftest$ac_exeext && {
8816	 test "$cross_compiling" = yes ||
8817	 $as_test_x conftest$ac_exeext
8818       }; then
8819  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'
8820
8821else
8822  $as_echo "$as_me: failed program was:" >&5
8823sed 's/^/| /' conftest.$ac_ext >&5
8824
8825
8826fi
8827
8828rm -rf conftest.dSYM
8829rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8830      conftest$ac_exeext conftest.$ac_ext
8831        LDFLAGS="$save_LDFLAGS"
8832      else
8833	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'
8834	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'
8835      fi
8836      archive_cmds_need_lc='no'
8837      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8838      hardcode_libdir_separator=:
8839      inherit_rpath=yes
8840      link_all_deplibs=yes
8841      ;;
8842
8843    netbsd*)
8844      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8845	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8846      else
8847	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8848      fi
8849      hardcode_libdir_flag_spec='-R$libdir'
8850      hardcode_direct=yes
8851      hardcode_shlibpath_var=no
8852      ;;
8853
8854    newsos6)
8855      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8856      hardcode_direct=yes
8857      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8858      hardcode_libdir_separator=:
8859      hardcode_shlibpath_var=no
8860      ;;
8861
8862    *nto* | *qnx*)
8863      ;;
8864
8865    openbsd*)
8866      if test -f /usr/libexec/ld.so; then
8867	hardcode_direct=yes
8868	hardcode_shlibpath_var=no
8869	hardcode_direct_absolute=yes
8870	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8871	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8872	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8873	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8874	  export_dynamic_flag_spec='${wl}-E'
8875	else
8876	  case $host_os in
8877	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8878	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8879	     hardcode_libdir_flag_spec='-R$libdir'
8880	     ;;
8881	   *)
8882	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8883	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8884	     ;;
8885	  esac
8886	fi
8887      else
8888	ld_shlibs=no
8889      fi
8890      ;;
8891
8892    os2*)
8893      hardcode_libdir_flag_spec='-L$libdir'
8894      hardcode_minus_L=yes
8895      allow_undefined_flag=unsupported
8896      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'
8897      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8898      ;;
8899
8900    osf3*)
8901      if test "$GCC" = yes; then
8902	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8903	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'
8904      else
8905	allow_undefined_flag=' -expect_unresolved \*'
8906	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'
8907      fi
8908      archive_cmds_need_lc='no'
8909      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8910      hardcode_libdir_separator=:
8911      ;;
8912
8913    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8914      if test "$GCC" = yes; then
8915	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8916	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'
8917	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8918      else
8919	allow_undefined_flag=' -expect_unresolved \*'
8920	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'
8921	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~
8922	$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'
8923
8924	# Both c and cxx compiler support -rpath directly
8925	hardcode_libdir_flag_spec='-rpath $libdir'
8926      fi
8927      archive_cmds_need_lc='no'
8928      hardcode_libdir_separator=:
8929      ;;
8930
8931    solaris*)
8932      no_undefined_flag=' -z defs'
8933      if test "$GCC" = yes; then
8934	wlarc='${wl}'
8935	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8936	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8937	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8938      else
8939	case `$CC -V 2>&1` in
8940	*"Compilers 5.0"*)
8941	  wlarc=''
8942	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8943	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8944	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8945	  ;;
8946	*)
8947	  wlarc='${wl}'
8948	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8949	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8950	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8951	  ;;
8952	esac
8953      fi
8954      hardcode_libdir_flag_spec='-R$libdir'
8955      hardcode_shlibpath_var=no
8956      case $host_os in
8957      solaris2.[0-5] | solaris2.[0-5].*) ;;
8958      *)
8959	# The compiler driver will combine and reorder linker options,
8960	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8961	# but is careful enough not to reorder.
8962	# Supported since Solaris 2.6 (maybe 2.5.1?)
8963	if test "$GCC" = yes; then
8964	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8965	else
8966	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8967	fi
8968	;;
8969      esac
8970      link_all_deplibs=yes
8971      ;;
8972
8973    sunos4*)
8974      if test "x$host_vendor" = xsequent; then
8975	# Use $CC to link under sequent, because it throws in some extra .o
8976	# files that make .init and .fini sections work.
8977	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8978      else
8979	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8980      fi
8981      hardcode_libdir_flag_spec='-L$libdir'
8982      hardcode_direct=yes
8983      hardcode_minus_L=yes
8984      hardcode_shlibpath_var=no
8985      ;;
8986
8987    sysv4)
8988      case $host_vendor in
8989	sni)
8990	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8991	  hardcode_direct=yes # is this really true???
8992	;;
8993	siemens)
8994	  ## LD is ld it makes a PLAMLIB
8995	  ## CC just makes a GrossModule.
8996	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8997	  reload_cmds='$CC -r -o $output$reload_objs'
8998	  hardcode_direct=no
8999        ;;
9000	motorola)
9001	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9002	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9003	;;
9004      esac
9005      runpath_var='LD_RUN_PATH'
9006      hardcode_shlibpath_var=no
9007      ;;
9008
9009    sysv4.3*)
9010      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9011      hardcode_shlibpath_var=no
9012      export_dynamic_flag_spec='-Bexport'
9013      ;;
9014
9015    sysv4*MP*)
9016      if test -d /usr/nec; then
9017	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9018	hardcode_shlibpath_var=no
9019	runpath_var=LD_RUN_PATH
9020	hardcode_runpath_var=yes
9021	ld_shlibs=yes
9022      fi
9023      ;;
9024
9025    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9026      no_undefined_flag='${wl}-z,text'
9027      archive_cmds_need_lc=no
9028      hardcode_shlibpath_var=no
9029      runpath_var='LD_RUN_PATH'
9030
9031      if test "$GCC" = yes; then
9032	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9033	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9034      else
9035	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9036	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9037      fi
9038      ;;
9039
9040    sysv5* | sco3.2v5* | sco5v6*)
9041      # Note: We can NOT use -z defs as we might desire, because we do not
9042      # link with -lc, and that would cause any symbols used from libc to
9043      # always be unresolved, which means just about no library would
9044      # ever link correctly.  If we're not using GNU ld we use -z text
9045      # though, which does catch some bad symbols but isn't as heavy-handed
9046      # as -z defs.
9047      no_undefined_flag='${wl}-z,text'
9048      allow_undefined_flag='${wl}-z,nodefs'
9049      archive_cmds_need_lc=no
9050      hardcode_shlibpath_var=no
9051      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9052      hardcode_libdir_separator=':'
9053      link_all_deplibs=yes
9054      export_dynamic_flag_spec='${wl}-Bexport'
9055      runpath_var='LD_RUN_PATH'
9056
9057      if test "$GCC" = yes; then
9058	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9059	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9060      else
9061	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9062	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9063      fi
9064      ;;
9065
9066    uts4*)
9067      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9068      hardcode_libdir_flag_spec='-L$libdir'
9069      hardcode_shlibpath_var=no
9070      ;;
9071
9072    *)
9073      ld_shlibs=no
9074      ;;
9075    esac
9076
9077    if test x$host_vendor = xsni; then
9078      case $host in
9079      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9080	export_dynamic_flag_spec='${wl}-Blargedynsym'
9081	;;
9082      esac
9083    fi
9084  fi
9085
9086{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9087$as_echo "$ld_shlibs" >&6; }
9088test "$ld_shlibs" = no && can_build_shared=no
9089
9090with_gnu_ld=$with_gnu_ld
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106#
9107# Do we need to explicitly link libc?
9108#
9109case "x$archive_cmds_need_lc" in
9110x|xyes)
9111  # Assume -lc should be added
9112  archive_cmds_need_lc=yes
9113
9114  if test "$enable_shared" = yes && test "$GCC" = yes; then
9115    case $archive_cmds in
9116    *'~'*)
9117      # FIXME: we may have to deal with multi-command sequences.
9118      ;;
9119    '$CC '*)
9120      # Test whether the compiler implicitly links with -lc since on some
9121      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9122      # to ld, don't add -lc before -lgcc.
9123      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9124$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9125      $RM conftest*
9126      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9127
9128      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9129  (eval $ac_compile) 2>&5
9130  ac_status=$?
9131  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132  (exit $ac_status); } 2>conftest.err; then
9133        soname=conftest
9134        lib=conftest
9135        libobjs=conftest.$ac_objext
9136        deplibs=
9137        wl=$lt_prog_compiler_wl
9138	pic_flag=$lt_prog_compiler_pic
9139        compiler_flags=-v
9140        linker_flags=-v
9141        verstring=
9142        output_objdir=.
9143        libname=conftest
9144        lt_save_allow_undefined_flag=$allow_undefined_flag
9145        allow_undefined_flag=
9146        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9147  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9148  ac_status=$?
9149  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150  (exit $ac_status); }
9151        then
9152	  archive_cmds_need_lc=no
9153        else
9154	  archive_cmds_need_lc=yes
9155        fi
9156        allow_undefined_flag=$lt_save_allow_undefined_flag
9157      else
9158        cat conftest.err 1>&5
9159      fi
9160      $RM conftest*
9161      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9162$as_echo "$archive_cmds_need_lc" >&6; }
9163      ;;
9164    esac
9165  fi
9166  ;;
9167esac
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
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  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9326$as_echo_n "checking dynamic linker characteristics... " >&6; }
9327
9328if test "$GCC" = yes; then
9329  case $host_os in
9330    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9331    *) lt_awk_arg="/^libraries:/" ;;
9332  esac
9333  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9334  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9335    # if the path contains ";" then we assume it to be the separator
9336    # otherwise default to the standard path separator (i.e. ":") - it is
9337    # assumed that no part of a normal pathname contains ";" but that should
9338    # okay in the real world where ";" in dirpaths is itself problematic.
9339    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9340  else
9341    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9342  fi
9343  # Ok, now we have the path, separated by spaces, we can step through it
9344  # and add multilib dir if necessary.
9345  lt_tmp_lt_search_path_spec=
9346  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9347  for lt_sys_path in $lt_search_path_spec; do
9348    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9349      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9350    else
9351      test -d "$lt_sys_path" && \
9352	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9353    fi
9354  done
9355  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9356BEGIN {RS=" "; FS="/|\n";} {
9357  lt_foo="";
9358  lt_count=0;
9359  for (lt_i = NF; lt_i > 0; lt_i--) {
9360    if ($lt_i != "" && $lt_i != ".") {
9361      if ($lt_i == "..") {
9362        lt_count++;
9363      } else {
9364        if (lt_count == 0) {
9365          lt_foo="/" $lt_i lt_foo;
9366        } else {
9367          lt_count--;
9368        }
9369      }
9370    }
9371  }
9372  if (lt_foo != "") { lt_freq[lt_foo]++; }
9373  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9374}'`
9375  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9376else
9377  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9378fi
9379library_names_spec=
9380libname_spec='lib$name'
9381soname_spec=
9382shrext_cmds=".so"
9383postinstall_cmds=
9384postuninstall_cmds=
9385finish_cmds=
9386finish_eval=
9387shlibpath_var=
9388shlibpath_overrides_runpath=unknown
9389version_type=none
9390dynamic_linker="$host_os ld.so"
9391sys_lib_dlsearch_path_spec="/lib /usr/lib"
9392need_lib_prefix=unknown
9393hardcode_into_libs=no
9394
9395# when you set need_version to no, make sure it does not cause -set_version
9396# flags to be left without arguments
9397need_version=unknown
9398
9399case $host_os in
9400aix3*)
9401  version_type=linux
9402  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9403  shlibpath_var=LIBPATH
9404
9405  # AIX 3 has no versioning support, so we append a major version to the name.
9406  soname_spec='${libname}${release}${shared_ext}$major'
9407  ;;
9408
9409aix[4-9]*)
9410  version_type=linux
9411  need_lib_prefix=no
9412  need_version=no
9413  hardcode_into_libs=yes
9414  if test "$host_cpu" = ia64; then
9415    # AIX 5 supports IA64
9416    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9417    shlibpath_var=LD_LIBRARY_PATH
9418  else
9419    # With GCC up to 2.95.x, collect2 would create an import file
9420    # for dependence libraries.  The import file would start with
9421    # the line `#! .'.  This would cause the generated library to
9422    # depend on `.', always an invalid library.  This was fixed in
9423    # development snapshots of GCC prior to 3.0.
9424    case $host_os in
9425      aix4 | aix4.[01] | aix4.[01].*)
9426      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9427	   echo ' yes '
9428	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9429	:
9430      else
9431	can_build_shared=no
9432      fi
9433      ;;
9434    esac
9435    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9436    # soname into executable. Probably we can add versioning support to
9437    # collect2, so additional links can be useful in future.
9438    if test "$aix_use_runtimelinking" = yes; then
9439      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9440      # instead of lib<name>.a to let people know that these are not
9441      # typical AIX shared libraries.
9442      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9443    else
9444      # We preserve .a as extension for shared libraries through AIX4.2
9445      # and later when we are not doing run time linking.
9446      library_names_spec='${libname}${release}.a $libname.a'
9447      soname_spec='${libname}${release}${shared_ext}$major'
9448    fi
9449    shlibpath_var=LIBPATH
9450  fi
9451  ;;
9452
9453amigaos*)
9454  case $host_cpu in
9455  powerpc)
9456    # Since July 2007 AmigaOS4 officially supports .so libraries.
9457    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9458    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9459    ;;
9460  m68k)
9461    library_names_spec='$libname.ixlibrary $libname.a'
9462    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9463    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'
9464    ;;
9465  esac
9466  ;;
9467
9468beos*)
9469  library_names_spec='${libname}${shared_ext}'
9470  dynamic_linker="$host_os ld.so"
9471  shlibpath_var=LIBRARY_PATH
9472  ;;
9473
9474bsdi[45]*)
9475  version_type=linux
9476  need_version=no
9477  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9478  soname_spec='${libname}${release}${shared_ext}$major'
9479  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9480  shlibpath_var=LD_LIBRARY_PATH
9481  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9482  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9483  # the default ld.so.conf also contains /usr/contrib/lib and
9484  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9485  # libtool to hard-code these into programs
9486  ;;
9487
9488cygwin* | mingw* | pw32* | cegcc*)
9489  version_type=windows
9490  shrext_cmds=".dll"
9491  need_version=no
9492  need_lib_prefix=no
9493
9494  case $GCC,$host_os in
9495  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9496    library_names_spec='$libname.dll.a'
9497    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9498    postinstall_cmds='base_file=`basename \${file}`~
9499      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9500      dldir=$destdir/`dirname \$dlpath`~
9501      test -d \$dldir || mkdir -p \$dldir~
9502      $install_prog $dir/$dlname \$dldir/$dlname~
9503      chmod a+x \$dldir/$dlname~
9504      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9505        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9506      fi'
9507    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9508      dlpath=$dir/\$dldll~
9509       $RM \$dlpath'
9510    shlibpath_overrides_runpath=yes
9511
9512    case $host_os in
9513    cygwin*)
9514      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9515      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9516      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9517      ;;
9518    mingw* | cegcc*)
9519      # MinGW DLLs use traditional 'lib' prefix
9520      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9521      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9522      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9523        # It is most probably a Windows format PATH printed by
9524        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9525        # path with ; separators, and with drive letters. We can handle the
9526        # drive letters (cygwin fileutils understands them), so leave them,
9527        # especially as we might pass files found there to a mingw objdump,
9528        # which wouldn't understand a cygwinified path. Ahh.
9529        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9530      else
9531        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9532      fi
9533      ;;
9534    pw32*)
9535      # pw32 DLLs use 'pw' prefix rather than 'lib'
9536      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9537      ;;
9538    esac
9539    ;;
9540
9541  *)
9542    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9543    ;;
9544  esac
9545  dynamic_linker='Win32 ld.exe'
9546  # FIXME: first we should search . and the directory the executable is in
9547  shlibpath_var=PATH
9548  ;;
9549
9550darwin* | rhapsody*)
9551  dynamic_linker="$host_os dyld"
9552  version_type=darwin
9553  need_lib_prefix=no
9554  need_version=no
9555  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9556  soname_spec='${libname}${release}${major}$shared_ext'
9557  shlibpath_overrides_runpath=yes
9558  shlibpath_var=DYLD_LIBRARY_PATH
9559  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9560
9561  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9562  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9563  ;;
9564
9565dgux*)
9566  version_type=linux
9567  need_lib_prefix=no
9568  need_version=no
9569  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9570  soname_spec='${libname}${release}${shared_ext}$major'
9571  shlibpath_var=LD_LIBRARY_PATH
9572  ;;
9573
9574freebsd1*)
9575  dynamic_linker=no
9576  ;;
9577
9578freebsd* | dragonfly*)
9579  # DragonFly does not have aout.  When/if they implement a new
9580  # versioning mechanism, adjust this.
9581  if test -x /usr/bin/objformat; then
9582    objformat=`/usr/bin/objformat`
9583  else
9584    case $host_os in
9585    freebsd[123]*) objformat=aout ;;
9586    *) objformat=elf ;;
9587    esac
9588  fi
9589  version_type=freebsd-$objformat
9590  case $version_type in
9591    freebsd-elf*)
9592      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9593      need_version=no
9594      need_lib_prefix=no
9595      ;;
9596    freebsd-*)
9597      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9598      need_version=yes
9599      ;;
9600  esac
9601  shlibpath_var=LD_LIBRARY_PATH
9602  case $host_os in
9603  freebsd2*)
9604    shlibpath_overrides_runpath=yes
9605    ;;
9606  freebsd3.[01]* | freebsdelf3.[01]*)
9607    shlibpath_overrides_runpath=yes
9608    hardcode_into_libs=yes
9609    ;;
9610  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9611  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9612    shlibpath_overrides_runpath=no
9613    hardcode_into_libs=yes
9614    ;;
9615  *) # from 4.6 on, and DragonFly
9616    shlibpath_overrides_runpath=yes
9617    hardcode_into_libs=yes
9618    ;;
9619  esac
9620  ;;
9621
9622gnu*)
9623  version_type=linux
9624  need_lib_prefix=no
9625  need_version=no
9626  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9627  soname_spec='${libname}${release}${shared_ext}$major'
9628  shlibpath_var=LD_LIBRARY_PATH
9629  hardcode_into_libs=yes
9630  ;;
9631
9632hpux9* | hpux10* | hpux11*)
9633  # Give a soname corresponding to the major version so that dld.sl refuses to
9634  # link against other versions.
9635  version_type=sunos
9636  need_lib_prefix=no
9637  need_version=no
9638  case $host_cpu in
9639  ia64*)
9640    shrext_cmds='.so'
9641    hardcode_into_libs=yes
9642    dynamic_linker="$host_os dld.so"
9643    shlibpath_var=LD_LIBRARY_PATH
9644    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9645    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9646    soname_spec='${libname}${release}${shared_ext}$major'
9647    if test "X$HPUX_IA64_MODE" = X32; then
9648      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9649    else
9650      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9651    fi
9652    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9653    ;;
9654  hppa*64*)
9655    shrext_cmds='.sl'
9656    hardcode_into_libs=yes
9657    dynamic_linker="$host_os dld.sl"
9658    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9659    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9660    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9661    soname_spec='${libname}${release}${shared_ext}$major'
9662    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9663    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9664    ;;
9665  *)
9666    shrext_cmds='.sl'
9667    dynamic_linker="$host_os dld.sl"
9668    shlibpath_var=SHLIB_PATH
9669    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9670    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9671    soname_spec='${libname}${release}${shared_ext}$major'
9672    ;;
9673  esac
9674  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9675  postinstall_cmds='chmod 555 $lib'
9676  ;;
9677
9678interix[3-9]*)
9679  version_type=linux
9680  need_lib_prefix=no
9681  need_version=no
9682  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9683  soname_spec='${libname}${release}${shared_ext}$major'
9684  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9685  shlibpath_var=LD_LIBRARY_PATH
9686  shlibpath_overrides_runpath=no
9687  hardcode_into_libs=yes
9688  ;;
9689
9690irix5* | irix6* | nonstopux*)
9691  case $host_os in
9692    nonstopux*) version_type=nonstopux ;;
9693    *)
9694	if test "$lt_cv_prog_gnu_ld" = yes; then
9695		version_type=linux
9696	else
9697		version_type=irix
9698	fi ;;
9699  esac
9700  need_lib_prefix=no
9701  need_version=no
9702  soname_spec='${libname}${release}${shared_ext}$major'
9703  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9704  case $host_os in
9705  irix5* | nonstopux*)
9706    libsuff= shlibsuff=
9707    ;;
9708  *)
9709    case $LD in # libtool.m4 will add one of these switches to LD
9710    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9711      libsuff= shlibsuff= libmagic=32-bit;;
9712    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9713      libsuff=32 shlibsuff=N32 libmagic=N32;;
9714    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9715      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9716    *) libsuff= shlibsuff= libmagic=never-match;;
9717    esac
9718    ;;
9719  esac
9720  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9721  shlibpath_overrides_runpath=no
9722  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9723  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9724  hardcode_into_libs=yes
9725  ;;
9726
9727# No shared lib support for Linux oldld, aout, or coff.
9728linux*oldld* | linux*aout* | linux*coff*)
9729  dynamic_linker=no
9730  ;;
9731
9732# This must be Linux ELF.
9733linux* | k*bsd*-gnu)
9734  version_type=linux
9735  need_lib_prefix=no
9736  need_version=no
9737  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9738  soname_spec='${libname}${release}${shared_ext}$major'
9739  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9740  shlibpath_var=LD_LIBRARY_PATH
9741  shlibpath_overrides_runpath=no
9742  # Some binutils ld are patched to set DT_RUNPATH
9743  save_LDFLAGS=$LDFLAGS
9744  save_libdir=$libdir
9745  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9746       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9747  cat >conftest.$ac_ext <<_ACEOF
9748/* confdefs.h.  */
9749_ACEOF
9750cat confdefs.h >>conftest.$ac_ext
9751cat >>conftest.$ac_ext <<_ACEOF
9752/* end confdefs.h.  */
9753
9754int
9755main ()
9756{
9757
9758  ;
9759  return 0;
9760}
9761_ACEOF
9762rm -f conftest.$ac_objext conftest$ac_exeext
9763if { (ac_try="$ac_link"
9764case "(($ac_try" in
9765  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9766  *) ac_try_echo=$ac_try;;
9767esac
9768eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9769$as_echo "$ac_try_echo") >&5
9770  (eval "$ac_link") 2>conftest.er1
9771  ac_status=$?
9772  grep -v '^ *+' conftest.er1 >conftest.err
9773  rm -f conftest.er1
9774  cat conftest.err >&5
9775  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776  (exit $ac_status); } && {
9777	 test -z "$ac_c_werror_flag" ||
9778	 test ! -s conftest.err
9779       } && test -s conftest$ac_exeext && {
9780	 test "$cross_compiling" = yes ||
9781	 $as_test_x conftest$ac_exeext
9782       }; then
9783  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9784  shlibpath_overrides_runpath=yes
9785fi
9786
9787else
9788  $as_echo "$as_me: failed program was:" >&5
9789sed 's/^/| /' conftest.$ac_ext >&5
9790
9791
9792fi
9793
9794rm -rf conftest.dSYM
9795rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9796      conftest$ac_exeext conftest.$ac_ext
9797  LDFLAGS=$save_LDFLAGS
9798  libdir=$save_libdir
9799
9800  # This implies no fast_install, which is unacceptable.
9801  # Some rework will be needed to allow for fast_install
9802  # before this can be enabled.
9803  hardcode_into_libs=yes
9804
9805  # Add ABI-specific directories to the system library path.
9806  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9807
9808  # Append ld.so.conf contents to the search path
9809  if test -f /etc/ld.so.conf; then
9810    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' ' '`
9811    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9812  fi
9813
9814  # We used to test for /lib/ld.so.1 and disable shared libraries on
9815  # powerpc, because MkLinux only supported shared libraries with the
9816  # GNU dynamic linker.  Since this was broken with cross compilers,
9817  # most powerpc-linux boxes support dynamic linking these days and
9818  # people can always --disable-shared, the test was removed, and we
9819  # assume the GNU/Linux dynamic linker is in use.
9820  dynamic_linker='GNU/Linux ld.so'
9821  ;;
9822
9823netbsd*)
9824  version_type=sunos
9825  need_lib_prefix=no
9826  need_version=no
9827  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9828    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9829    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9830    dynamic_linker='NetBSD (a.out) ld.so'
9831  else
9832    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9833    soname_spec='${libname}${release}${shared_ext}$major'
9834    dynamic_linker='NetBSD ld.elf_so'
9835  fi
9836  shlibpath_var=LD_LIBRARY_PATH
9837  shlibpath_overrides_runpath=yes
9838  hardcode_into_libs=yes
9839  ;;
9840
9841newsos6)
9842  version_type=linux
9843  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9844  shlibpath_var=LD_LIBRARY_PATH
9845  shlibpath_overrides_runpath=yes
9846  ;;
9847
9848*nto* | *qnx*)
9849  version_type=qnx
9850  need_lib_prefix=no
9851  need_version=no
9852  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9853  soname_spec='${libname}${release}${shared_ext}$major'
9854  shlibpath_var=LD_LIBRARY_PATH
9855  shlibpath_overrides_runpath=no
9856  hardcode_into_libs=yes
9857  dynamic_linker='ldqnx.so'
9858  ;;
9859
9860openbsd*)
9861  version_type=sunos
9862  sys_lib_dlsearch_path_spec="/usr/lib"
9863  need_lib_prefix=no
9864  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9865  case $host_os in
9866    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9867    *)				need_version=no  ;;
9868  esac
9869  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9870  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9871  shlibpath_var=LD_LIBRARY_PATH
9872  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9873    case $host_os in
9874      openbsd2.[89] | openbsd2.[89].*)
9875	shlibpath_overrides_runpath=no
9876	;;
9877      *)
9878	shlibpath_overrides_runpath=yes
9879	;;
9880      esac
9881  else
9882    shlibpath_overrides_runpath=yes
9883  fi
9884  ;;
9885
9886os2*)
9887  libname_spec='$name'
9888  shrext_cmds=".dll"
9889  need_lib_prefix=no
9890  library_names_spec='$libname${shared_ext} $libname.a'
9891  dynamic_linker='OS/2 ld.exe'
9892  shlibpath_var=LIBPATH
9893  ;;
9894
9895osf3* | osf4* | osf5*)
9896  version_type=osf
9897  need_lib_prefix=no
9898  need_version=no
9899  soname_spec='${libname}${release}${shared_ext}$major'
9900  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9901  shlibpath_var=LD_LIBRARY_PATH
9902  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9903  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9904  ;;
9905
9906rdos*)
9907  dynamic_linker=no
9908  ;;
9909
9910solaris*)
9911  version_type=linux
9912  need_lib_prefix=no
9913  need_version=no
9914  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9915  soname_spec='${libname}${release}${shared_ext}$major'
9916  shlibpath_var=LD_LIBRARY_PATH
9917  shlibpath_overrides_runpath=yes
9918  hardcode_into_libs=yes
9919  # ldd complains unless libraries are executable
9920  postinstall_cmds='chmod +x $lib'
9921  ;;
9922
9923sunos4*)
9924  version_type=sunos
9925  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9926  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9927  shlibpath_var=LD_LIBRARY_PATH
9928  shlibpath_overrides_runpath=yes
9929  if test "$with_gnu_ld" = yes; then
9930    need_lib_prefix=no
9931  fi
9932  need_version=yes
9933  ;;
9934
9935sysv4 | sysv4.3*)
9936  version_type=linux
9937  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938  soname_spec='${libname}${release}${shared_ext}$major'
9939  shlibpath_var=LD_LIBRARY_PATH
9940  case $host_vendor in
9941    sni)
9942      shlibpath_overrides_runpath=no
9943      need_lib_prefix=no
9944      runpath_var=LD_RUN_PATH
9945      ;;
9946    siemens)
9947      need_lib_prefix=no
9948      ;;
9949    motorola)
9950      need_lib_prefix=no
9951      need_version=no
9952      shlibpath_overrides_runpath=no
9953      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9954      ;;
9955  esac
9956  ;;
9957
9958sysv4*MP*)
9959  if test -d /usr/nec ;then
9960    version_type=linux
9961    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9962    soname_spec='$libname${shared_ext}.$major'
9963    shlibpath_var=LD_LIBRARY_PATH
9964  fi
9965  ;;
9966
9967sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9968  version_type=freebsd-elf
9969  need_lib_prefix=no
9970  need_version=no
9971  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9972  soname_spec='${libname}${release}${shared_ext}$major'
9973  shlibpath_var=LD_LIBRARY_PATH
9974  shlibpath_overrides_runpath=yes
9975  hardcode_into_libs=yes
9976  if test "$with_gnu_ld" = yes; then
9977    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9978  else
9979    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9980    case $host_os in
9981      sco3.2v5*)
9982        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9983	;;
9984    esac
9985  fi
9986  sys_lib_dlsearch_path_spec='/usr/lib'
9987  ;;
9988
9989tpf*)
9990  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9991  version_type=linux
9992  need_lib_prefix=no
9993  need_version=no
9994  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9995  shlibpath_var=LD_LIBRARY_PATH
9996  shlibpath_overrides_runpath=no
9997  hardcode_into_libs=yes
9998  ;;
9999
10000uts4*)
10001  version_type=linux
10002  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10003  soname_spec='${libname}${release}${shared_ext}$major'
10004  shlibpath_var=LD_LIBRARY_PATH
10005  ;;
10006
10007*)
10008  dynamic_linker=no
10009  ;;
10010esac
10011{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10012$as_echo "$dynamic_linker" >&6; }
10013test "$dynamic_linker" = no && can_build_shared=no
10014
10015variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10016if test "$GCC" = yes; then
10017  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10018fi
10019
10020if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10021  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10022fi
10023if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10024  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10025fi
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
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  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10114$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10115hardcode_action=
10116if test -n "$hardcode_libdir_flag_spec" ||
10117   test -n "$runpath_var" ||
10118   test "X$hardcode_automatic" = "Xyes" ; then
10119
10120  # We can hardcode non-existent directories.
10121  if test "$hardcode_direct" != no &&
10122     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10123     # have to relink, otherwise we might link with an installed library
10124     # when we should be linking with a yet-to-be-installed one
10125     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10126     test "$hardcode_minus_L" != no; then
10127    # Linking always hardcodes the temporary library directory.
10128    hardcode_action=relink
10129  else
10130    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10131    hardcode_action=immediate
10132  fi
10133else
10134  # We cannot hardcode anything, or else we can only hardcode existing
10135  # directories.
10136  hardcode_action=unsupported
10137fi
10138{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10139$as_echo "$hardcode_action" >&6; }
10140
10141if test "$hardcode_action" = relink ||
10142   test "$inherit_rpath" = yes; then
10143  # Fast installation is not supported
10144  enable_fast_install=no
10145elif test "$shlibpath_overrides_runpath" = yes ||
10146     test "$enable_shared" = no; then
10147  # Fast installation is not necessary
10148  enable_fast_install=needless
10149fi
10150
10151
10152
10153
10154
10155
10156  if test "x$enable_dlopen" != xyes; then
10157  enable_dlopen=unknown
10158  enable_dlopen_self=unknown
10159  enable_dlopen_self_static=unknown
10160else
10161  lt_cv_dlopen=no
10162  lt_cv_dlopen_libs=
10163
10164  case $host_os in
10165  beos*)
10166    lt_cv_dlopen="load_add_on"
10167    lt_cv_dlopen_libs=
10168    lt_cv_dlopen_self=yes
10169    ;;
10170
10171  mingw* | pw32* | cegcc*)
10172    lt_cv_dlopen="LoadLibrary"
10173    lt_cv_dlopen_libs=
10174    ;;
10175
10176  cygwin*)
10177    lt_cv_dlopen="dlopen"
10178    lt_cv_dlopen_libs=
10179    ;;
10180
10181  darwin*)
10182  # if libdl is installed we need to link against it
10183    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10184$as_echo_n "checking for dlopen in -ldl... " >&6; }
10185if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10186  $as_echo_n "(cached) " >&6
10187else
10188  ac_check_lib_save_LIBS=$LIBS
10189LIBS="-ldl  $LIBS"
10190cat >conftest.$ac_ext <<_ACEOF
10191/* confdefs.h.  */
10192_ACEOF
10193cat confdefs.h >>conftest.$ac_ext
10194cat >>conftest.$ac_ext <<_ACEOF
10195/* end confdefs.h.  */
10196
10197/* Override any GCC internal prototype to avoid an error.
10198   Use char because int might match the return type of a GCC
10199   builtin and then its argument prototype would still apply.  */
10200#ifdef __cplusplus
10201extern "C"
10202#endif
10203char dlopen ();
10204int
10205main ()
10206{
10207return dlopen ();
10208  ;
10209  return 0;
10210}
10211_ACEOF
10212rm -f conftest.$ac_objext conftest$ac_exeext
10213if { (ac_try="$ac_link"
10214case "(($ac_try" in
10215  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10216  *) ac_try_echo=$ac_try;;
10217esac
10218eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10219$as_echo "$ac_try_echo") >&5
10220  (eval "$ac_link") 2>conftest.er1
10221  ac_status=$?
10222  grep -v '^ *+' conftest.er1 >conftest.err
10223  rm -f conftest.er1
10224  cat conftest.err >&5
10225  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226  (exit $ac_status); } && {
10227	 test -z "$ac_c_werror_flag" ||
10228	 test ! -s conftest.err
10229       } && test -s conftest$ac_exeext && {
10230	 test "$cross_compiling" = yes ||
10231	 $as_test_x conftest$ac_exeext
10232       }; then
10233  ac_cv_lib_dl_dlopen=yes
10234else
10235  $as_echo "$as_me: failed program was:" >&5
10236sed 's/^/| /' conftest.$ac_ext >&5
10237
10238	ac_cv_lib_dl_dlopen=no
10239fi
10240
10241rm -rf conftest.dSYM
10242rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10243      conftest$ac_exeext conftest.$ac_ext
10244LIBS=$ac_check_lib_save_LIBS
10245fi
10246{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10247$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10248if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10249  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10250else
10251
10252    lt_cv_dlopen="dyld"
10253    lt_cv_dlopen_libs=
10254    lt_cv_dlopen_self=yes
10255
10256fi
10257
10258    ;;
10259
10260  *)
10261    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10262$as_echo_n "checking for shl_load... " >&6; }
10263if test "${ac_cv_func_shl_load+set}" = set; then
10264  $as_echo_n "(cached) " >&6
10265else
10266  cat >conftest.$ac_ext <<_ACEOF
10267/* confdefs.h.  */
10268_ACEOF
10269cat confdefs.h >>conftest.$ac_ext
10270cat >>conftest.$ac_ext <<_ACEOF
10271/* end confdefs.h.  */
10272/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10273   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10274#define shl_load innocuous_shl_load
10275
10276/* System header to define __stub macros and hopefully few prototypes,
10277    which can conflict with char shl_load (); below.
10278    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10279    <limits.h> exists even on freestanding compilers.  */
10280
10281#ifdef __STDC__
10282# include <limits.h>
10283#else
10284# include <assert.h>
10285#endif
10286
10287#undef shl_load
10288
10289/* Override any GCC internal prototype to avoid an error.
10290   Use char because int might match the return type of a GCC
10291   builtin and then its argument prototype would still apply.  */
10292#ifdef __cplusplus
10293extern "C"
10294#endif
10295char shl_load ();
10296/* The GNU C library defines this for functions which it implements
10297    to always fail with ENOSYS.  Some functions are actually named
10298    something starting with __ and the normal name is an alias.  */
10299#if defined __stub_shl_load || defined __stub___shl_load
10300choke me
10301#endif
10302
10303int
10304main ()
10305{
10306return shl_load ();
10307  ;
10308  return 0;
10309}
10310_ACEOF
10311rm -f conftest.$ac_objext conftest$ac_exeext
10312if { (ac_try="$ac_link"
10313case "(($ac_try" in
10314  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10315  *) ac_try_echo=$ac_try;;
10316esac
10317eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10318$as_echo "$ac_try_echo") >&5
10319  (eval "$ac_link") 2>conftest.er1
10320  ac_status=$?
10321  grep -v '^ *+' conftest.er1 >conftest.err
10322  rm -f conftest.er1
10323  cat conftest.err >&5
10324  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325  (exit $ac_status); } && {
10326	 test -z "$ac_c_werror_flag" ||
10327	 test ! -s conftest.err
10328       } && test -s conftest$ac_exeext && {
10329	 test "$cross_compiling" = yes ||
10330	 $as_test_x conftest$ac_exeext
10331       }; then
10332  ac_cv_func_shl_load=yes
10333else
10334  $as_echo "$as_me: failed program was:" >&5
10335sed 's/^/| /' conftest.$ac_ext >&5
10336
10337	ac_cv_func_shl_load=no
10338fi
10339
10340rm -rf conftest.dSYM
10341rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10342      conftest$ac_exeext conftest.$ac_ext
10343fi
10344{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10345$as_echo "$ac_cv_func_shl_load" >&6; }
10346if test "x$ac_cv_func_shl_load" = x""yes; then
10347  lt_cv_dlopen="shl_load"
10348else
10349  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10350$as_echo_n "checking for shl_load in -ldld... " >&6; }
10351if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10352  $as_echo_n "(cached) " >&6
10353else
10354  ac_check_lib_save_LIBS=$LIBS
10355LIBS="-ldld  $LIBS"
10356cat >conftest.$ac_ext <<_ACEOF
10357/* confdefs.h.  */
10358_ACEOF
10359cat confdefs.h >>conftest.$ac_ext
10360cat >>conftest.$ac_ext <<_ACEOF
10361/* end confdefs.h.  */
10362
10363/* Override any GCC internal prototype to avoid an error.
10364   Use char because int might match the return type of a GCC
10365   builtin and then its argument prototype would still apply.  */
10366#ifdef __cplusplus
10367extern "C"
10368#endif
10369char shl_load ();
10370int
10371main ()
10372{
10373return shl_load ();
10374  ;
10375  return 0;
10376}
10377_ACEOF
10378rm -f conftest.$ac_objext conftest$ac_exeext
10379if { (ac_try="$ac_link"
10380case "(($ac_try" in
10381  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10382  *) ac_try_echo=$ac_try;;
10383esac
10384eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10385$as_echo "$ac_try_echo") >&5
10386  (eval "$ac_link") 2>conftest.er1
10387  ac_status=$?
10388  grep -v '^ *+' conftest.er1 >conftest.err
10389  rm -f conftest.er1
10390  cat conftest.err >&5
10391  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392  (exit $ac_status); } && {
10393	 test -z "$ac_c_werror_flag" ||
10394	 test ! -s conftest.err
10395       } && test -s conftest$ac_exeext && {
10396	 test "$cross_compiling" = yes ||
10397	 $as_test_x conftest$ac_exeext
10398       }; then
10399  ac_cv_lib_dld_shl_load=yes
10400else
10401  $as_echo "$as_me: failed program was:" >&5
10402sed 's/^/| /' conftest.$ac_ext >&5
10403
10404	ac_cv_lib_dld_shl_load=no
10405fi
10406
10407rm -rf conftest.dSYM
10408rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10409      conftest$ac_exeext conftest.$ac_ext
10410LIBS=$ac_check_lib_save_LIBS
10411fi
10412{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10413$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10414if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10415  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10416else
10417  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10418$as_echo_n "checking for dlopen... " >&6; }
10419if test "${ac_cv_func_dlopen+set}" = set; then
10420  $as_echo_n "(cached) " >&6
10421else
10422  cat >conftest.$ac_ext <<_ACEOF
10423/* confdefs.h.  */
10424_ACEOF
10425cat confdefs.h >>conftest.$ac_ext
10426cat >>conftest.$ac_ext <<_ACEOF
10427/* end confdefs.h.  */
10428/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10429   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10430#define dlopen innocuous_dlopen
10431
10432/* System header to define __stub macros and hopefully few prototypes,
10433    which can conflict with char dlopen (); below.
10434    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10435    <limits.h> exists even on freestanding compilers.  */
10436
10437#ifdef __STDC__
10438# include <limits.h>
10439#else
10440# include <assert.h>
10441#endif
10442
10443#undef dlopen
10444
10445/* Override any GCC internal prototype to avoid an error.
10446   Use char because int might match the return type of a GCC
10447   builtin and then its argument prototype would still apply.  */
10448#ifdef __cplusplus
10449extern "C"
10450#endif
10451char dlopen ();
10452/* The GNU C library defines this for functions which it implements
10453    to always fail with ENOSYS.  Some functions are actually named
10454    something starting with __ and the normal name is an alias.  */
10455#if defined __stub_dlopen || defined __stub___dlopen
10456choke me
10457#endif
10458
10459int
10460main ()
10461{
10462return dlopen ();
10463  ;
10464  return 0;
10465}
10466_ACEOF
10467rm -f conftest.$ac_objext conftest$ac_exeext
10468if { (ac_try="$ac_link"
10469case "(($ac_try" in
10470  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10471  *) ac_try_echo=$ac_try;;
10472esac
10473eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10474$as_echo "$ac_try_echo") >&5
10475  (eval "$ac_link") 2>conftest.er1
10476  ac_status=$?
10477  grep -v '^ *+' conftest.er1 >conftest.err
10478  rm -f conftest.er1
10479  cat conftest.err >&5
10480  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481  (exit $ac_status); } && {
10482	 test -z "$ac_c_werror_flag" ||
10483	 test ! -s conftest.err
10484       } && test -s conftest$ac_exeext && {
10485	 test "$cross_compiling" = yes ||
10486	 $as_test_x conftest$ac_exeext
10487       }; then
10488  ac_cv_func_dlopen=yes
10489else
10490  $as_echo "$as_me: failed program was:" >&5
10491sed 's/^/| /' conftest.$ac_ext >&5
10492
10493	ac_cv_func_dlopen=no
10494fi
10495
10496rm -rf conftest.dSYM
10497rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10498      conftest$ac_exeext conftest.$ac_ext
10499fi
10500{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10501$as_echo "$ac_cv_func_dlopen" >&6; }
10502if test "x$ac_cv_func_dlopen" = x""yes; then
10503  lt_cv_dlopen="dlopen"
10504else
10505  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10506$as_echo_n "checking for dlopen in -ldl... " >&6; }
10507if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10508  $as_echo_n "(cached) " >&6
10509else
10510  ac_check_lib_save_LIBS=$LIBS
10511LIBS="-ldl  $LIBS"
10512cat >conftest.$ac_ext <<_ACEOF
10513/* confdefs.h.  */
10514_ACEOF
10515cat confdefs.h >>conftest.$ac_ext
10516cat >>conftest.$ac_ext <<_ACEOF
10517/* end confdefs.h.  */
10518
10519/* Override any GCC internal prototype to avoid an error.
10520   Use char because int might match the return type of a GCC
10521   builtin and then its argument prototype would still apply.  */
10522#ifdef __cplusplus
10523extern "C"
10524#endif
10525char dlopen ();
10526int
10527main ()
10528{
10529return dlopen ();
10530  ;
10531  return 0;
10532}
10533_ACEOF
10534rm -f conftest.$ac_objext conftest$ac_exeext
10535if { (ac_try="$ac_link"
10536case "(($ac_try" in
10537  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10538  *) ac_try_echo=$ac_try;;
10539esac
10540eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10541$as_echo "$ac_try_echo") >&5
10542  (eval "$ac_link") 2>conftest.er1
10543  ac_status=$?
10544  grep -v '^ *+' conftest.er1 >conftest.err
10545  rm -f conftest.er1
10546  cat conftest.err >&5
10547  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548  (exit $ac_status); } && {
10549	 test -z "$ac_c_werror_flag" ||
10550	 test ! -s conftest.err
10551       } && test -s conftest$ac_exeext && {
10552	 test "$cross_compiling" = yes ||
10553	 $as_test_x conftest$ac_exeext
10554       }; then
10555  ac_cv_lib_dl_dlopen=yes
10556else
10557  $as_echo "$as_me: failed program was:" >&5
10558sed 's/^/| /' conftest.$ac_ext >&5
10559
10560	ac_cv_lib_dl_dlopen=no
10561fi
10562
10563rm -rf conftest.dSYM
10564rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10565      conftest$ac_exeext conftest.$ac_ext
10566LIBS=$ac_check_lib_save_LIBS
10567fi
10568{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10569$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10570if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10571  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10572else
10573  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10574$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10575if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10576  $as_echo_n "(cached) " >&6
10577else
10578  ac_check_lib_save_LIBS=$LIBS
10579LIBS="-lsvld  $LIBS"
10580cat >conftest.$ac_ext <<_ACEOF
10581/* confdefs.h.  */
10582_ACEOF
10583cat confdefs.h >>conftest.$ac_ext
10584cat >>conftest.$ac_ext <<_ACEOF
10585/* end confdefs.h.  */
10586
10587/* Override any GCC internal prototype to avoid an error.
10588   Use char because int might match the return type of a GCC
10589   builtin and then its argument prototype would still apply.  */
10590#ifdef __cplusplus
10591extern "C"
10592#endif
10593char dlopen ();
10594int
10595main ()
10596{
10597return dlopen ();
10598  ;
10599  return 0;
10600}
10601_ACEOF
10602rm -f conftest.$ac_objext conftest$ac_exeext
10603if { (ac_try="$ac_link"
10604case "(($ac_try" in
10605  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10606  *) ac_try_echo=$ac_try;;
10607esac
10608eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10609$as_echo "$ac_try_echo") >&5
10610  (eval "$ac_link") 2>conftest.er1
10611  ac_status=$?
10612  grep -v '^ *+' conftest.er1 >conftest.err
10613  rm -f conftest.er1
10614  cat conftest.err >&5
10615  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616  (exit $ac_status); } && {
10617	 test -z "$ac_c_werror_flag" ||
10618	 test ! -s conftest.err
10619       } && test -s conftest$ac_exeext && {
10620	 test "$cross_compiling" = yes ||
10621	 $as_test_x conftest$ac_exeext
10622       }; then
10623  ac_cv_lib_svld_dlopen=yes
10624else
10625  $as_echo "$as_me: failed program was:" >&5
10626sed 's/^/| /' conftest.$ac_ext >&5
10627
10628	ac_cv_lib_svld_dlopen=no
10629fi
10630
10631rm -rf conftest.dSYM
10632rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10633      conftest$ac_exeext conftest.$ac_ext
10634LIBS=$ac_check_lib_save_LIBS
10635fi
10636{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10637$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10638if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10639  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10640else
10641  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10642$as_echo_n "checking for dld_link in -ldld... " >&6; }
10643if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10644  $as_echo_n "(cached) " >&6
10645else
10646  ac_check_lib_save_LIBS=$LIBS
10647LIBS="-ldld  $LIBS"
10648cat >conftest.$ac_ext <<_ACEOF
10649/* confdefs.h.  */
10650_ACEOF
10651cat confdefs.h >>conftest.$ac_ext
10652cat >>conftest.$ac_ext <<_ACEOF
10653/* end confdefs.h.  */
10654
10655/* Override any GCC internal prototype to avoid an error.
10656   Use char because int might match the return type of a GCC
10657   builtin and then its argument prototype would still apply.  */
10658#ifdef __cplusplus
10659extern "C"
10660#endif
10661char dld_link ();
10662int
10663main ()
10664{
10665return dld_link ();
10666  ;
10667  return 0;
10668}
10669_ACEOF
10670rm -f conftest.$ac_objext conftest$ac_exeext
10671if { (ac_try="$ac_link"
10672case "(($ac_try" in
10673  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10674  *) ac_try_echo=$ac_try;;
10675esac
10676eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10677$as_echo "$ac_try_echo") >&5
10678  (eval "$ac_link") 2>conftest.er1
10679  ac_status=$?
10680  grep -v '^ *+' conftest.er1 >conftest.err
10681  rm -f conftest.er1
10682  cat conftest.err >&5
10683  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684  (exit $ac_status); } && {
10685	 test -z "$ac_c_werror_flag" ||
10686	 test ! -s conftest.err
10687       } && test -s conftest$ac_exeext && {
10688	 test "$cross_compiling" = yes ||
10689	 $as_test_x conftest$ac_exeext
10690       }; then
10691  ac_cv_lib_dld_dld_link=yes
10692else
10693  $as_echo "$as_me: failed program was:" >&5
10694sed 's/^/| /' conftest.$ac_ext >&5
10695
10696	ac_cv_lib_dld_dld_link=no
10697fi
10698
10699rm -rf conftest.dSYM
10700rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10701      conftest$ac_exeext conftest.$ac_ext
10702LIBS=$ac_check_lib_save_LIBS
10703fi
10704{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10705$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10706if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10707  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10708fi
10709
10710
10711fi
10712
10713
10714fi
10715
10716
10717fi
10718
10719
10720fi
10721
10722
10723fi
10724
10725    ;;
10726  esac
10727
10728  if test "x$lt_cv_dlopen" != xno; then
10729    enable_dlopen=yes
10730  else
10731    enable_dlopen=no
10732  fi
10733
10734  case $lt_cv_dlopen in
10735  dlopen)
10736    save_CPPFLAGS="$CPPFLAGS"
10737    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10738
10739    save_LDFLAGS="$LDFLAGS"
10740    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10741
10742    save_LIBS="$LIBS"
10743    LIBS="$lt_cv_dlopen_libs $LIBS"
10744
10745    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10746$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10747if test "${lt_cv_dlopen_self+set}" = set; then
10748  $as_echo_n "(cached) " >&6
10749else
10750  	  if test "$cross_compiling" = yes; then :
10751  lt_cv_dlopen_self=cross
10752else
10753  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10754  lt_status=$lt_dlunknown
10755  cat > conftest.$ac_ext <<_LT_EOF
10756#line 10756 "configure"
10757#include "confdefs.h"
10758
10759#if HAVE_DLFCN_H
10760#include <dlfcn.h>
10761#endif
10762
10763#include <stdio.h>
10764
10765#ifdef RTLD_GLOBAL
10766#  define LT_DLGLOBAL		RTLD_GLOBAL
10767#else
10768#  ifdef DL_GLOBAL
10769#    define LT_DLGLOBAL		DL_GLOBAL
10770#  else
10771#    define LT_DLGLOBAL		0
10772#  endif
10773#endif
10774
10775/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10776   find out it does not work in some platform. */
10777#ifndef LT_DLLAZY_OR_NOW
10778#  ifdef RTLD_LAZY
10779#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10780#  else
10781#    ifdef DL_LAZY
10782#      define LT_DLLAZY_OR_NOW		DL_LAZY
10783#    else
10784#      ifdef RTLD_NOW
10785#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10786#      else
10787#        ifdef DL_NOW
10788#          define LT_DLLAZY_OR_NOW	DL_NOW
10789#        else
10790#          define LT_DLLAZY_OR_NOW	0
10791#        endif
10792#      endif
10793#    endif
10794#  endif
10795#endif
10796
10797void fnord() { int i=42;}
10798int main ()
10799{
10800  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10801  int status = $lt_dlunknown;
10802
10803  if (self)
10804    {
10805      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10806      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10807      /* dlclose (self); */
10808    }
10809  else
10810    puts (dlerror ());
10811
10812  return status;
10813}
10814_LT_EOF
10815  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10816  (eval $ac_link) 2>&5
10817  ac_status=$?
10818  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10820    (./conftest; exit; ) >&5 2>/dev/null
10821    lt_status=$?
10822    case x$lt_status in
10823      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10824      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10825      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10826    esac
10827  else :
10828    # compilation failed
10829    lt_cv_dlopen_self=no
10830  fi
10831fi
10832rm -fr conftest*
10833
10834
10835fi
10836{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10837$as_echo "$lt_cv_dlopen_self" >&6; }
10838
10839    if test "x$lt_cv_dlopen_self" = xyes; then
10840      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10841      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10842$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10843if test "${lt_cv_dlopen_self_static+set}" = set; then
10844  $as_echo_n "(cached) " >&6
10845else
10846  	  if test "$cross_compiling" = yes; then :
10847  lt_cv_dlopen_self_static=cross
10848else
10849  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10850  lt_status=$lt_dlunknown
10851  cat > conftest.$ac_ext <<_LT_EOF
10852#line 10852 "configure"
10853#include "confdefs.h"
10854
10855#if HAVE_DLFCN_H
10856#include <dlfcn.h>
10857#endif
10858
10859#include <stdio.h>
10860
10861#ifdef RTLD_GLOBAL
10862#  define LT_DLGLOBAL		RTLD_GLOBAL
10863#else
10864#  ifdef DL_GLOBAL
10865#    define LT_DLGLOBAL		DL_GLOBAL
10866#  else
10867#    define LT_DLGLOBAL		0
10868#  endif
10869#endif
10870
10871/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10872   find out it does not work in some platform. */
10873#ifndef LT_DLLAZY_OR_NOW
10874#  ifdef RTLD_LAZY
10875#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10876#  else
10877#    ifdef DL_LAZY
10878#      define LT_DLLAZY_OR_NOW		DL_LAZY
10879#    else
10880#      ifdef RTLD_NOW
10881#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10882#      else
10883#        ifdef DL_NOW
10884#          define LT_DLLAZY_OR_NOW	DL_NOW
10885#        else
10886#          define LT_DLLAZY_OR_NOW	0
10887#        endif
10888#      endif
10889#    endif
10890#  endif
10891#endif
10892
10893void fnord() { int i=42;}
10894int main ()
10895{
10896  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10897  int status = $lt_dlunknown;
10898
10899  if (self)
10900    {
10901      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10902      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10903      /* dlclose (self); */
10904    }
10905  else
10906    puts (dlerror ());
10907
10908  return status;
10909}
10910_LT_EOF
10911  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10912  (eval $ac_link) 2>&5
10913  ac_status=$?
10914  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10916    (./conftest; exit; ) >&5 2>/dev/null
10917    lt_status=$?
10918    case x$lt_status in
10919      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10920      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10921      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10922    esac
10923  else :
10924    # compilation failed
10925    lt_cv_dlopen_self_static=no
10926  fi
10927fi
10928rm -fr conftest*
10929
10930
10931fi
10932{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10933$as_echo "$lt_cv_dlopen_self_static" >&6; }
10934    fi
10935
10936    CPPFLAGS="$save_CPPFLAGS"
10937    LDFLAGS="$save_LDFLAGS"
10938    LIBS="$save_LIBS"
10939    ;;
10940  esac
10941
10942  case $lt_cv_dlopen_self in
10943  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10944  *) enable_dlopen_self=unknown ;;
10945  esac
10946
10947  case $lt_cv_dlopen_self_static in
10948  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10949  *) enable_dlopen_self_static=unknown ;;
10950  esac
10951fi
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969striplib=
10970old_striplib=
10971{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10972$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10973if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10974  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10975  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10976  { $as_echo "$as_me:$LINENO: result: yes" >&5
10977$as_echo "yes" >&6; }
10978else
10979# FIXME - insert some real tests, host_os isn't really good enough
10980  case $host_os in
10981  darwin*)
10982    if test -n "$STRIP" ; then
10983      striplib="$STRIP -x"
10984      old_striplib="$STRIP -S"
10985      { $as_echo "$as_me:$LINENO: result: yes" >&5
10986$as_echo "yes" >&6; }
10987    else
10988      { $as_echo "$as_me:$LINENO: result: no" >&5
10989$as_echo "no" >&6; }
10990    fi
10991    ;;
10992  *)
10993    { $as_echo "$as_me:$LINENO: result: no" >&5
10994$as_echo "no" >&6; }
10995    ;;
10996  esac
10997fi
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010  # Report which library types will actually be built
11011  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11012$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11013  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11014$as_echo "$can_build_shared" >&6; }
11015
11016  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11017$as_echo_n "checking whether to build shared libraries... " >&6; }
11018  test "$can_build_shared" = "no" && enable_shared=no
11019
11020  # On AIX, shared libraries and static libraries use the same namespace, and
11021  # are all built from PIC.
11022  case $host_os in
11023  aix3*)
11024    test "$enable_shared" = yes && enable_static=no
11025    if test -n "$RANLIB"; then
11026      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11027      postinstall_cmds='$RANLIB $lib'
11028    fi
11029    ;;
11030
11031  aix[4-9]*)
11032    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11033      test "$enable_shared" = yes && enable_static=no
11034    fi
11035    ;;
11036  esac
11037  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11038$as_echo "$enable_shared" >&6; }
11039
11040  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11041$as_echo_n "checking whether to build static libraries... " >&6; }
11042  # Make sure either enable_shared or enable_static is yes.
11043  test "$enable_shared" = yes || enable_static=yes
11044  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11045$as_echo "$enable_static" >&6; }
11046
11047
11048
11049
11050fi
11051ac_ext=c
11052ac_cpp='$CPP $CPPFLAGS'
11053ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11054ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11055ac_compiler_gnu=$ac_cv_c_compiler_gnu
11056
11057CC="$lt_save_CC"
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071        ac_config_commands="$ac_config_commands libtool"
11072
11073
11074
11075
11076# Only expand once:
11077
11078
11079
11080# Need to call this explicitly since the first call to PKG_CHECK_MODULES
11081# is in an if statement, and later calls would break if it's skipped.
11082
11083
11084if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11085	if test -n "$ac_tool_prefix"; then
11086  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11087set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11088{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11089$as_echo_n "checking for $ac_word... " >&6; }
11090if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11091  $as_echo_n "(cached) " >&6
11092else
11093  case $PKG_CONFIG in
11094  [\\/]* | ?:[\\/]*)
11095  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11096  ;;
11097  *)
11098  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11099for as_dir in $PATH
11100do
11101  IFS=$as_save_IFS
11102  test -z "$as_dir" && as_dir=.
11103  for ac_exec_ext in '' $ac_executable_extensions; do
11104  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11105    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11106    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11107    break 2
11108  fi
11109done
11110done
11111IFS=$as_save_IFS
11112
11113  ;;
11114esac
11115fi
11116PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11117if test -n "$PKG_CONFIG"; then
11118  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11119$as_echo "$PKG_CONFIG" >&6; }
11120else
11121  { $as_echo "$as_me:$LINENO: result: no" >&5
11122$as_echo "no" >&6; }
11123fi
11124
11125
11126fi
11127if test -z "$ac_cv_path_PKG_CONFIG"; then
11128  ac_pt_PKG_CONFIG=$PKG_CONFIG
11129  # Extract the first word of "pkg-config", so it can be a program name with args.
11130set dummy pkg-config; ac_word=$2
11131{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11132$as_echo_n "checking for $ac_word... " >&6; }
11133if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11134  $as_echo_n "(cached) " >&6
11135else
11136  case $ac_pt_PKG_CONFIG in
11137  [\\/]* | ?:[\\/]*)
11138  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11139  ;;
11140  *)
11141  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11142for as_dir in $PATH
11143do
11144  IFS=$as_save_IFS
11145  test -z "$as_dir" && as_dir=.
11146  for ac_exec_ext in '' $ac_executable_extensions; do
11147  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11148    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11149    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11150    break 2
11151  fi
11152done
11153done
11154IFS=$as_save_IFS
11155
11156  ;;
11157esac
11158fi
11159ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11160if test -n "$ac_pt_PKG_CONFIG"; then
11161  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11162$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11163else
11164  { $as_echo "$as_me:$LINENO: result: no" >&5
11165$as_echo "no" >&6; }
11166fi
11167
11168  if test "x$ac_pt_PKG_CONFIG" = x; then
11169    PKG_CONFIG=""
11170  else
11171    case $cross_compiling:$ac_tool_warned in
11172yes:)
11173{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11174$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11175ac_tool_warned=yes ;;
11176esac
11177    PKG_CONFIG=$ac_pt_PKG_CONFIG
11178  fi
11179else
11180  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11181fi
11182
11183fi
11184if test -n "$PKG_CONFIG"; then
11185	_pkg_min_version=0.9.0
11186	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11187$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11188	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11189		{ $as_echo "$as_me:$LINENO: result: yes" >&5
11190$as_echo "yes" >&6; }
11191	else
11192		{ $as_echo "$as_me:$LINENO: result: no" >&5
11193$as_echo "no" >&6; }
11194		PKG_CONFIG=""
11195	fi
11196
11197fi
11198
11199
11200
11201if  test "x$GCC" = xyes ; then
11202    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
11203-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
11204-Wbad-function-cast"
11205    case `gcc -dumpversion` in
11206    3.4.* | 4.*)
11207	CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement"
11208	;;
11209    esac
11210else
11211    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
11212$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
11213if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
11214  $as_echo_n "(cached) " >&6
11215else
11216  cat >conftest.$ac_ext <<_ACEOF
11217/* confdefs.h.  */
11218_ACEOF
11219cat confdefs.h >>conftest.$ac_ext
11220cat >>conftest.$ac_ext <<_ACEOF
11221/* end confdefs.h.  */
11222$ac_includes_default
11223int
11224main ()
11225{
11226#ifndef __SUNPRO_C
11227  (void) __SUNPRO_C;
11228#endif
11229
11230  ;
11231  return 0;
11232}
11233_ACEOF
11234rm -f conftest.$ac_objext
11235if { (ac_try="$ac_compile"
11236case "(($ac_try" in
11237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11238  *) ac_try_echo=$ac_try;;
11239esac
11240eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11241$as_echo "$ac_try_echo") >&5
11242  (eval "$ac_compile") 2>conftest.er1
11243  ac_status=$?
11244  grep -v '^ *+' conftest.er1 >conftest.err
11245  rm -f conftest.er1
11246  cat conftest.err >&5
11247  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248  (exit $ac_status); } && {
11249	 test -z "$ac_c_werror_flag" ||
11250	 test ! -s conftest.err
11251       } && test -s conftest.$ac_objext; then
11252  ac_cv_have_decl___SUNPRO_C=yes
11253else
11254  $as_echo "$as_me: failed program was:" >&5
11255sed 's/^/| /' conftest.$ac_ext >&5
11256
11257	ac_cv_have_decl___SUNPRO_C=no
11258fi
11259
11260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11261fi
11262{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
11263$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
11264if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
11265  SUNCC="yes"
11266else
11267  SUNCC="no"
11268fi
11269
11270    if test "x$SUNCC" = "xyes"; then
11271	CWARNFLAGS="-v"
11272    fi
11273fi
11274
11275
11276
11277#
11278# fix libtool to set SONAME to libXaw.so.$major
11279#
11280{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
11281$as_echo_n "checking for a sed that does not truncate output... " >&6; }
11282if test "${ac_cv_path_SED+set}" = set; then
11283  $as_echo_n "(cached) " >&6
11284else
11285            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
11286     for ac_i in 1 2 3 4 5 6 7; do
11287       ac_script="$ac_script$as_nl$ac_script"
11288     done
11289     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
11290     $as_unset ac_script || ac_script=
11291     if test -z "$SED"; then
11292  ac_path_SED_found=false
11293  # Loop through the user's path and test for each of PROGNAME-LIST
11294  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11295for as_dir in $PATH
11296do
11297  IFS=$as_save_IFS
11298  test -z "$as_dir" && as_dir=.
11299  for ac_prog in sed gsed; do
11300    for ac_exec_ext in '' $ac_executable_extensions; do
11301      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
11302      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
11303# Check for GNU ac_path_SED and select it if it is found.
11304  # Check for GNU $ac_path_SED
11305case `"$ac_path_SED" --version 2>&1` in
11306*GNU*)
11307  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
11308*)
11309  ac_count=0
11310  $as_echo_n 0123456789 >"conftest.in"
11311  while :
11312  do
11313    cat "conftest.in" "conftest.in" >"conftest.tmp"
11314    mv "conftest.tmp" "conftest.in"
11315    cp "conftest.in" "conftest.nl"
11316    $as_echo '' >> "conftest.nl"
11317    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
11318    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11319    ac_count=`expr $ac_count + 1`
11320    if test $ac_count -gt ${ac_path_SED_max-0}; then
11321      # Best one so far, save it but keep looking for a better one
11322      ac_cv_path_SED="$ac_path_SED"
11323      ac_path_SED_max=$ac_count
11324    fi
11325    # 10*(2^10) chars as input seems more than enough
11326    test $ac_count -gt 10 && break
11327  done
11328  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11329esac
11330
11331      $ac_path_SED_found && break 3
11332    done
11333  done
11334done
11335IFS=$as_save_IFS
11336  if test -z "$ac_cv_path_SED"; then
11337    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
11338$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
11339   { (exit 1); exit 1; }; }
11340  fi
11341else
11342  ac_cv_path_SED=$SED
11343fi
11344
11345fi
11346{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
11347$as_echo "$ac_cv_path_SED" >&6; }
11348 SED="$ac_cv_path_SED"
11349  rm -f conftest.sed
11350
11351ac_config_commands="$ac_config_commands libtool_hack"
11352
11353
11354# OSX/Win32 rules are different.
11355platform_win32=no
11356platform_darwin=no
11357LIBEXT=so
11358case $host_os in
11359    cygwin*|mingw*)
11360	platform_win32=yes
11361	;;
11362    darwin*)
11363	LIBEXT=dylib
11364	platform_darwin=yes
11365	;;
11366esac
11367
11368 if test "x$platform_win32" = "xyes"; then
11369  PLATFORM_WIN32_TRUE=
11370  PLATFORM_WIN32_FALSE='#'
11371else
11372  PLATFORM_WIN32_TRUE='#'
11373  PLATFORM_WIN32_FALSE=
11374fi
11375
11376 if test "x$platform_darwin" = "xyes"; then
11377  PLATFORM_DARWIN_TRUE=
11378  PLATFORM_DARWIN_FALSE='#'
11379else
11380  PLATFORM_DARWIN_TRUE='#'
11381  PLATFORM_DARWIN_FALSE=
11382fi
11383
11384
11385# Whether to build Xaw6
11386
11387# Check whether --enable-xaw6 was given.
11388if test "${enable_xaw6+set}" = set; then
11389  enableval=$enable_xaw6; build_v6=$enableval
11390else
11391  build_v6=yes
11392fi
11393
11394
11395if test "x$build_v6" = xyes; then
11396
11397pkg_failed=no
11398{ $as_echo "$as_me:$LINENO: checking for XAW6" >&5
11399$as_echo_n "checking for XAW6... " >&6; }
11400
11401if test -n "$XAW6_CFLAGS"; then
11402    pkg_cv_XAW6_CFLAGS="$XAW6_CFLAGS"
11403 elif test -n "$PKG_CONFIG"; then
11404    if test -n "$PKG_CONFIG" && \
11405    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\"") >&5
11406  ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
11407  ac_status=$?
11408  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409  (exit $ac_status); }; then
11410  pkg_cv_XAW6_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu" 2>/dev/null`
11411else
11412  pkg_failed=yes
11413fi
11414 else
11415    pkg_failed=untried
11416fi
11417if test -n "$XAW6_LIBS"; then
11418    pkg_cv_XAW6_LIBS="$XAW6_LIBS"
11419 elif test -n "$PKG_CONFIG"; then
11420    if test -n "$PKG_CONFIG" && \
11421    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\"") >&5
11422  ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
11423  ac_status=$?
11424  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425  (exit $ac_status); }; then
11426  pkg_cv_XAW6_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu" 2>/dev/null`
11427else
11428  pkg_failed=yes
11429fi
11430 else
11431    pkg_failed=untried
11432fi
11433
11434
11435
11436if test $pkg_failed = yes; then
11437
11438if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11439        _pkg_short_errors_supported=yes
11440else
11441        _pkg_short_errors_supported=no
11442fi
11443        if test $_pkg_short_errors_supported = yes; then
11444	        XAW6_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
11445        else
11446	        XAW6_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
11447        fi
11448	# Put the nasty error message in config.log where it belongs
11449	echo "$XAW6_PKG_ERRORS" >&5
11450
11451	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xext xextproto xt xmu) were not met:
11452
11453$XAW6_PKG_ERRORS
11454
11455Consider adjusting the PKG_CONFIG_PATH environment variable if you
11456installed software in a non-standard prefix.
11457
11458Alternatively, you may set the environment variables XAW6_CFLAGS
11459and XAW6_LIBS to avoid the need to call pkg-config.
11460See the pkg-config man page for more details.
11461" >&5
11462$as_echo "$as_me: error: Package requirements (xproto x11 xext xextproto xt xmu) were not met:
11463
11464$XAW6_PKG_ERRORS
11465
11466Consider adjusting the PKG_CONFIG_PATH environment variable if you
11467installed software in a non-standard prefix.
11468
11469Alternatively, you may set the environment variables XAW6_CFLAGS
11470and XAW6_LIBS to avoid the need to call pkg-config.
11471See the pkg-config man page for more details.
11472" >&2;}
11473   { (exit 1); exit 1; }; }
11474elif test $pkg_failed = untried; then
11475	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11476$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11477{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
11478is in your PATH or set the PKG_CONFIG environment variable to the full
11479path to pkg-config.
11480
11481Alternatively, you may set the environment variables XAW6_CFLAGS
11482and XAW6_LIBS to avoid the need to call pkg-config.
11483See the pkg-config man page for more details.
11484
11485To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11486See \`config.log' for more details." >&5
11487$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
11488is in your PATH or set the PKG_CONFIG environment variable to the full
11489path to pkg-config.
11490
11491Alternatively, you may set the environment variables XAW6_CFLAGS
11492and XAW6_LIBS to avoid the need to call pkg-config.
11493See the pkg-config man page for more details.
11494
11495To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11496See \`config.log' for more details." >&2;}
11497   { (exit 1); exit 1; }; }; }
11498else
11499	XAW6_CFLAGS=$pkg_cv_XAW6_CFLAGS
11500	XAW6_LIBS=$pkg_cv_XAW6_LIBS
11501        { $as_echo "$as_me:$LINENO: result: yes" >&5
11502$as_echo "yes" >&6; }
11503	:
11504fi
11505   XAW6_CFLAGS="$CWARNFLAGS $XAW6_CFLAGS"
11506
11507
11508fi
11509
11510
11511# Whether to build Xaw7
11512
11513# Check whether --enable-xaw7 was given.
11514if test "${enable_xaw7+set}" = set; then
11515  enableval=$enable_xaw7; build_v7=$enableval
11516else
11517  build_v7=yes
11518fi
11519
11520
11521if test "x$build_v7" = xyes; then
11522
11523pkg_failed=no
11524{ $as_echo "$as_me:$LINENO: checking for XAW7" >&5
11525$as_echo_n "checking for XAW7... " >&6; }
11526
11527if test -n "$XAW7_CFLAGS"; then
11528    pkg_cv_XAW7_CFLAGS="$XAW7_CFLAGS"
11529 elif test -n "$PKG_CONFIG"; then
11530    if test -n "$PKG_CONFIG" && \
11531    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\"") >&5
11532  ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
11533  ac_status=$?
11534  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535  (exit $ac_status); }; then
11536  pkg_cv_XAW7_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
11537else
11538  pkg_failed=yes
11539fi
11540 else
11541    pkg_failed=untried
11542fi
11543if test -n "$XAW7_LIBS"; then
11544    pkg_cv_XAW7_LIBS="$XAW7_LIBS"
11545 elif test -n "$PKG_CONFIG"; then
11546    if test -n "$PKG_CONFIG" && \
11547    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\"") >&5
11548  ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
11549  ac_status=$?
11550  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551  (exit $ac_status); }; then
11552  pkg_cv_XAW7_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
11553else
11554  pkg_failed=yes
11555fi
11556 else
11557    pkg_failed=untried
11558fi
11559
11560
11561
11562if test $pkg_failed = yes; then
11563
11564if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11565        _pkg_short_errors_supported=yes
11566else
11567        _pkg_short_errors_supported=no
11568fi
11569        if test $_pkg_short_errors_supported = yes; then
11570	        XAW7_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
11571        else
11572	        XAW7_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
11573        fi
11574	# Put the nasty error message in config.log where it belongs
11575	echo "$XAW7_PKG_ERRORS" >&5
11576
11577	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
11578
11579$XAW7_PKG_ERRORS
11580
11581Consider adjusting the PKG_CONFIG_PATH environment variable if you
11582installed software in a non-standard prefix.
11583
11584Alternatively, you may set the environment variables XAW7_CFLAGS
11585and XAW7_LIBS to avoid the need to call pkg-config.
11586See the pkg-config man page for more details.
11587" >&5
11588$as_echo "$as_me: error: Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
11589
11590$XAW7_PKG_ERRORS
11591
11592Consider adjusting the PKG_CONFIG_PATH environment variable if you
11593installed software in a non-standard prefix.
11594
11595Alternatively, you may set the environment variables XAW7_CFLAGS
11596and XAW7_LIBS to avoid the need to call pkg-config.
11597See the pkg-config man page for more details.
11598" >&2;}
11599   { (exit 1); exit 1; }; }
11600elif test $pkg_failed = untried; then
11601	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11602$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11603{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
11604is in your PATH or set the PKG_CONFIG environment variable to the full
11605path to pkg-config.
11606
11607Alternatively, you may set the environment variables XAW7_CFLAGS
11608and XAW7_LIBS to avoid the need to call pkg-config.
11609See the pkg-config man page for more details.
11610
11611To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11612See \`config.log' for more details." >&5
11613$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
11614is in your PATH or set the PKG_CONFIG environment variable to the full
11615path to pkg-config.
11616
11617Alternatively, you may set the environment variables XAW7_CFLAGS
11618and XAW7_LIBS to avoid the need to call pkg-config.
11619See the pkg-config man page for more details.
11620
11621To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11622See \`config.log' for more details." >&2;}
11623   { (exit 1); exit 1; }; }; }
11624else
11625	XAW7_CFLAGS=$pkg_cv_XAW7_CFLAGS
11626	XAW7_LIBS=$pkg_cv_XAW7_LIBS
11627        { $as_echo "$as_me:$LINENO: result: yes" >&5
11628$as_echo "yes" >&6; }
11629	:
11630fi
11631   XAW7_CFLAGS="$CWARNFLAGS $XAW7_CFLAGS"
11632
11633
11634fi
11635
11636
11637 if test x$build_v6 = xyes; then
11638  BUILD_XAW6_TRUE=
11639  BUILD_XAW6_FALSE='#'
11640else
11641  BUILD_XAW6_TRUE='#'
11642  BUILD_XAW6_FALSE=
11643fi
11644
11645 if test x$build_v7 = xyes; then
11646  BUILD_XAW7_TRUE=
11647  BUILD_XAW7_FALSE='#'
11648else
11649  BUILD_XAW7_TRUE='#'
11650  BUILD_XAW7_FALSE=
11651fi
11652
11653
11654# Checks for header files.
11655{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11656$as_echo_n "checking for ANSI C header files... " >&6; }
11657if test "${ac_cv_header_stdc+set}" = set; then
11658  $as_echo_n "(cached) " >&6
11659else
11660  cat >conftest.$ac_ext <<_ACEOF
11661/* confdefs.h.  */
11662_ACEOF
11663cat confdefs.h >>conftest.$ac_ext
11664cat >>conftest.$ac_ext <<_ACEOF
11665/* end confdefs.h.  */
11666#include <stdlib.h>
11667#include <stdarg.h>
11668#include <string.h>
11669#include <float.h>
11670
11671int
11672main ()
11673{
11674
11675  ;
11676  return 0;
11677}
11678_ACEOF
11679rm -f conftest.$ac_objext
11680if { (ac_try="$ac_compile"
11681case "(($ac_try" in
11682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11683  *) ac_try_echo=$ac_try;;
11684esac
11685eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11686$as_echo "$ac_try_echo") >&5
11687  (eval "$ac_compile") 2>conftest.er1
11688  ac_status=$?
11689  grep -v '^ *+' conftest.er1 >conftest.err
11690  rm -f conftest.er1
11691  cat conftest.err >&5
11692  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693  (exit $ac_status); } && {
11694	 test -z "$ac_c_werror_flag" ||
11695	 test ! -s conftest.err
11696       } && test -s conftest.$ac_objext; then
11697  ac_cv_header_stdc=yes
11698else
11699  $as_echo "$as_me: failed program was:" >&5
11700sed 's/^/| /' conftest.$ac_ext >&5
11701
11702	ac_cv_header_stdc=no
11703fi
11704
11705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11706
11707if test $ac_cv_header_stdc = yes; then
11708  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11709  cat >conftest.$ac_ext <<_ACEOF
11710/* confdefs.h.  */
11711_ACEOF
11712cat confdefs.h >>conftest.$ac_ext
11713cat >>conftest.$ac_ext <<_ACEOF
11714/* end confdefs.h.  */
11715#include <string.h>
11716
11717_ACEOF
11718if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11719  $EGREP "memchr" >/dev/null 2>&1; then
11720  :
11721else
11722  ac_cv_header_stdc=no
11723fi
11724rm -f conftest*
11725
11726fi
11727
11728if test $ac_cv_header_stdc = yes; then
11729  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11730  cat >conftest.$ac_ext <<_ACEOF
11731/* confdefs.h.  */
11732_ACEOF
11733cat confdefs.h >>conftest.$ac_ext
11734cat >>conftest.$ac_ext <<_ACEOF
11735/* end confdefs.h.  */
11736#include <stdlib.h>
11737
11738_ACEOF
11739if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11740  $EGREP "free" >/dev/null 2>&1; then
11741  :
11742else
11743  ac_cv_header_stdc=no
11744fi
11745rm -f conftest*
11746
11747fi
11748
11749if test $ac_cv_header_stdc = yes; then
11750  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11751  if test "$cross_compiling" = yes; then
11752  :
11753else
11754  cat >conftest.$ac_ext <<_ACEOF
11755/* confdefs.h.  */
11756_ACEOF
11757cat confdefs.h >>conftest.$ac_ext
11758cat >>conftest.$ac_ext <<_ACEOF
11759/* end confdefs.h.  */
11760#include <ctype.h>
11761#include <stdlib.h>
11762#if ((' ' & 0x0FF) == 0x020)
11763# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11764# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11765#else
11766# define ISLOWER(c) \
11767		   (('a' <= (c) && (c) <= 'i') \
11768		     || ('j' <= (c) && (c) <= 'r') \
11769		     || ('s' <= (c) && (c) <= 'z'))
11770# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11771#endif
11772
11773#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11774int
11775main ()
11776{
11777  int i;
11778  for (i = 0; i < 256; i++)
11779    if (XOR (islower (i), ISLOWER (i))
11780	|| toupper (i) != TOUPPER (i))
11781      return 2;
11782  return 0;
11783}
11784_ACEOF
11785rm -f conftest$ac_exeext
11786if { (ac_try="$ac_link"
11787case "(($ac_try" in
11788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11789  *) ac_try_echo=$ac_try;;
11790esac
11791eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11792$as_echo "$ac_try_echo") >&5
11793  (eval "$ac_link") 2>&5
11794  ac_status=$?
11795  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11797  { (case "(($ac_try" in
11798  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11799  *) ac_try_echo=$ac_try;;
11800esac
11801eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11802$as_echo "$ac_try_echo") >&5
11803  (eval "$ac_try") 2>&5
11804  ac_status=$?
11805  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806  (exit $ac_status); }; }; then
11807  :
11808else
11809  $as_echo "$as_me: program exited with status $ac_status" >&5
11810$as_echo "$as_me: failed program was:" >&5
11811sed 's/^/| /' conftest.$ac_ext >&5
11812
11813( exit $ac_status )
11814ac_cv_header_stdc=no
11815fi
11816rm -rf conftest.dSYM
11817rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11818fi
11819
11820
11821fi
11822fi
11823{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11824$as_echo "$ac_cv_header_stdc" >&6; }
11825if test $ac_cv_header_stdc = yes; then
11826
11827cat >>confdefs.h <<\_ACEOF
11828#define STDC_HEADERS 1
11829_ACEOF
11830
11831fi
11832
11833if test "${ac_cv_header_wctype_h+set}" = set; then
11834  { $as_echo "$as_me:$LINENO: checking for wctype.h" >&5
11835$as_echo_n "checking for wctype.h... " >&6; }
11836if test "${ac_cv_header_wctype_h+set}" = set; then
11837  $as_echo_n "(cached) " >&6
11838fi
11839{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_wctype_h" >&5
11840$as_echo "$ac_cv_header_wctype_h" >&6; }
11841else
11842  # Is the header compilable?
11843{ $as_echo "$as_me:$LINENO: checking wctype.h usability" >&5
11844$as_echo_n "checking wctype.h usability... " >&6; }
11845cat >conftest.$ac_ext <<_ACEOF
11846/* confdefs.h.  */
11847_ACEOF
11848cat confdefs.h >>conftest.$ac_ext
11849cat >>conftest.$ac_ext <<_ACEOF
11850/* end confdefs.h.  */
11851$ac_includes_default
11852#include <wctype.h>
11853_ACEOF
11854rm -f conftest.$ac_objext
11855if { (ac_try="$ac_compile"
11856case "(($ac_try" in
11857  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11858  *) ac_try_echo=$ac_try;;
11859esac
11860eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11861$as_echo "$ac_try_echo") >&5
11862  (eval "$ac_compile") 2>conftest.er1
11863  ac_status=$?
11864  grep -v '^ *+' conftest.er1 >conftest.err
11865  rm -f conftest.er1
11866  cat conftest.err >&5
11867  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868  (exit $ac_status); } && {
11869	 test -z "$ac_c_werror_flag" ||
11870	 test ! -s conftest.err
11871       } && test -s conftest.$ac_objext; then
11872  ac_header_compiler=yes
11873else
11874  $as_echo "$as_me: failed program was:" >&5
11875sed 's/^/| /' conftest.$ac_ext >&5
11876
11877	ac_header_compiler=no
11878fi
11879
11880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11881{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11882$as_echo "$ac_header_compiler" >&6; }
11883
11884# Is the header present?
11885{ $as_echo "$as_me:$LINENO: checking wctype.h presence" >&5
11886$as_echo_n "checking wctype.h presence... " >&6; }
11887cat >conftest.$ac_ext <<_ACEOF
11888/* confdefs.h.  */
11889_ACEOF
11890cat confdefs.h >>conftest.$ac_ext
11891cat >>conftest.$ac_ext <<_ACEOF
11892/* end confdefs.h.  */
11893#include <wctype.h>
11894_ACEOF
11895if { (ac_try="$ac_cpp conftest.$ac_ext"
11896case "(($ac_try" in
11897  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11898  *) ac_try_echo=$ac_try;;
11899esac
11900eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11901$as_echo "$ac_try_echo") >&5
11902  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11903  ac_status=$?
11904  grep -v '^ *+' conftest.er1 >conftest.err
11905  rm -f conftest.er1
11906  cat conftest.err >&5
11907  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908  (exit $ac_status); } >/dev/null && {
11909	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11910	 test ! -s conftest.err
11911       }; then
11912  ac_header_preproc=yes
11913else
11914  $as_echo "$as_me: failed program was:" >&5
11915sed 's/^/| /' conftest.$ac_ext >&5
11916
11917  ac_header_preproc=no
11918fi
11919
11920rm -f conftest.err conftest.$ac_ext
11921{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11922$as_echo "$ac_header_preproc" >&6; }
11923
11924# So?  What about this header?
11925case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11926  yes:no: )
11927    { $as_echo "$as_me:$LINENO: WARNING: wctype.h: accepted by the compiler, rejected by the preprocessor!" >&5
11928$as_echo "$as_me: WARNING: wctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11929    { $as_echo "$as_me:$LINENO: WARNING: wctype.h: proceeding with the compiler's result" >&5
11930$as_echo "$as_me: WARNING: wctype.h: proceeding with the compiler's result" >&2;}
11931    ac_header_preproc=yes
11932    ;;
11933  no:yes:* )
11934    { $as_echo "$as_me:$LINENO: WARNING: wctype.h: present but cannot be compiled" >&5
11935$as_echo "$as_me: WARNING: wctype.h: present but cannot be compiled" >&2;}
11936    { $as_echo "$as_me:$LINENO: WARNING: wctype.h:     check for missing prerequisite headers?" >&5
11937$as_echo "$as_me: WARNING: wctype.h:     check for missing prerequisite headers?" >&2;}
11938    { $as_echo "$as_me:$LINENO: WARNING: wctype.h: see the Autoconf documentation" >&5
11939$as_echo "$as_me: WARNING: wctype.h: see the Autoconf documentation" >&2;}
11940    { $as_echo "$as_me:$LINENO: WARNING: wctype.h:     section \"Present But Cannot Be Compiled\"" >&5
11941$as_echo "$as_me: WARNING: wctype.h:     section \"Present But Cannot Be Compiled\"" >&2;}
11942    { $as_echo "$as_me:$LINENO: WARNING: wctype.h: proceeding with the preprocessor's result" >&5
11943$as_echo "$as_me: WARNING: wctype.h: proceeding with the preprocessor's result" >&2;}
11944    { $as_echo "$as_me:$LINENO: WARNING: wctype.h: in the future, the compiler will take precedence" >&5
11945$as_echo "$as_me: WARNING: wctype.h: in the future, the compiler will take precedence" >&2;}
11946    ( cat <<\_ASBOX
11947## ---------------------------------------------------------------------- ##
11948## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
11949## ---------------------------------------------------------------------- ##
11950_ASBOX
11951     ) | sed "s/^/$as_me: WARNING:     /" >&2
11952    ;;
11953esac
11954{ $as_echo "$as_me:$LINENO: checking for wctype.h" >&5
11955$as_echo_n "checking for wctype.h... " >&6; }
11956if test "${ac_cv_header_wctype_h+set}" = set; then
11957  $as_echo_n "(cached) " >&6
11958else
11959  ac_cv_header_wctype_h=$ac_header_preproc
11960fi
11961{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_wctype_h" >&5
11962$as_echo "$ac_cv_header_wctype_h" >&6; }
11963
11964fi
11965if test "x$ac_cv_header_wctype_h" = x""yes; then
11966
11967cat >>confdefs.h <<\_ACEOF
11968#define HAS_WCTYPE_H 1
11969_ACEOF
11970
11971fi
11972
11973
11974if test "${ac_cv_header_wchar_h+set}" = set; then
11975  { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
11976$as_echo_n "checking for wchar.h... " >&6; }
11977if test "${ac_cv_header_wchar_h+set}" = set; then
11978  $as_echo_n "(cached) " >&6
11979fi
11980{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
11981$as_echo "$ac_cv_header_wchar_h" >&6; }
11982else
11983  # Is the header compilable?
11984{ $as_echo "$as_me:$LINENO: checking wchar.h usability" >&5
11985$as_echo_n "checking wchar.h usability... " >&6; }
11986cat >conftest.$ac_ext <<_ACEOF
11987/* confdefs.h.  */
11988_ACEOF
11989cat confdefs.h >>conftest.$ac_ext
11990cat >>conftest.$ac_ext <<_ACEOF
11991/* end confdefs.h.  */
11992$ac_includes_default
11993#include <wchar.h>
11994_ACEOF
11995rm -f conftest.$ac_objext
11996if { (ac_try="$ac_compile"
11997case "(($ac_try" in
11998  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11999  *) ac_try_echo=$ac_try;;
12000esac
12001eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12002$as_echo "$ac_try_echo") >&5
12003  (eval "$ac_compile") 2>conftest.er1
12004  ac_status=$?
12005  grep -v '^ *+' conftest.er1 >conftest.err
12006  rm -f conftest.er1
12007  cat conftest.err >&5
12008  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009  (exit $ac_status); } && {
12010	 test -z "$ac_c_werror_flag" ||
12011	 test ! -s conftest.err
12012       } && test -s conftest.$ac_objext; then
12013  ac_header_compiler=yes
12014else
12015  $as_echo "$as_me: failed program was:" >&5
12016sed 's/^/| /' conftest.$ac_ext >&5
12017
12018	ac_header_compiler=no
12019fi
12020
12021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12022{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12023$as_echo "$ac_header_compiler" >&6; }
12024
12025# Is the header present?
12026{ $as_echo "$as_me:$LINENO: checking wchar.h presence" >&5
12027$as_echo_n "checking wchar.h presence... " >&6; }
12028cat >conftest.$ac_ext <<_ACEOF
12029/* confdefs.h.  */
12030_ACEOF
12031cat confdefs.h >>conftest.$ac_ext
12032cat >>conftest.$ac_ext <<_ACEOF
12033/* end confdefs.h.  */
12034#include <wchar.h>
12035_ACEOF
12036if { (ac_try="$ac_cpp conftest.$ac_ext"
12037case "(($ac_try" in
12038  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12039  *) ac_try_echo=$ac_try;;
12040esac
12041eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12042$as_echo "$ac_try_echo") >&5
12043  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12044  ac_status=$?
12045  grep -v '^ *+' conftest.er1 >conftest.err
12046  rm -f conftest.er1
12047  cat conftest.err >&5
12048  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049  (exit $ac_status); } >/dev/null && {
12050	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12051	 test ! -s conftest.err
12052       }; then
12053  ac_header_preproc=yes
12054else
12055  $as_echo "$as_me: failed program was:" >&5
12056sed 's/^/| /' conftest.$ac_ext >&5
12057
12058  ac_header_preproc=no
12059fi
12060
12061rm -f conftest.err conftest.$ac_ext
12062{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12063$as_echo "$ac_header_preproc" >&6; }
12064
12065# So?  What about this header?
12066case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12067  yes:no: )
12068    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
12069$as_echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12070    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
12071$as_echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
12072    ac_header_preproc=yes
12073    ;;
12074  no:yes:* )
12075    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
12076$as_echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
12077    { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     check for missing prerequisite headers?" >&5
12078$as_echo "$as_me: WARNING: wchar.h:     check for missing prerequisite headers?" >&2;}
12079    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
12080$as_echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
12081    { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&5
12082$as_echo "$as_me: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12083    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
12084$as_echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
12085    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
12086$as_echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
12087    ( cat <<\_ASBOX
12088## ---------------------------------------------------------------------- ##
12089## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
12090## ---------------------------------------------------------------------- ##
12091_ASBOX
12092     ) | sed "s/^/$as_me: WARNING:     /" >&2
12093    ;;
12094esac
12095{ $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
12096$as_echo_n "checking for wchar.h... " >&6; }
12097if test "${ac_cv_header_wchar_h+set}" = set; then
12098  $as_echo_n "(cached) " >&6
12099else
12100  ac_cv_header_wchar_h=$ac_header_preproc
12101fi
12102{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
12103$as_echo "$ac_cv_header_wchar_h" >&6; }
12104
12105fi
12106if test "x$ac_cv_header_wchar_h" = x""yes; then
12107
12108cat >>confdefs.h <<\_ACEOF
12109#define HAS_WCHAR_H 1
12110_ACEOF
12111
12112fi
12113
12114
12115if test "${ac_cv_header_widec_h+set}" = set; then
12116  { $as_echo "$as_me:$LINENO: checking for widec.h" >&5
12117$as_echo_n "checking for widec.h... " >&6; }
12118if test "${ac_cv_header_widec_h+set}" = set; then
12119  $as_echo_n "(cached) " >&6
12120fi
12121{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
12122$as_echo "$ac_cv_header_widec_h" >&6; }
12123else
12124  # Is the header compilable?
12125{ $as_echo "$as_me:$LINENO: checking widec.h usability" >&5
12126$as_echo_n "checking widec.h usability... " >&6; }
12127cat >conftest.$ac_ext <<_ACEOF
12128/* confdefs.h.  */
12129_ACEOF
12130cat confdefs.h >>conftest.$ac_ext
12131cat >>conftest.$ac_ext <<_ACEOF
12132/* end confdefs.h.  */
12133$ac_includes_default
12134#include <widec.h>
12135_ACEOF
12136rm -f conftest.$ac_objext
12137if { (ac_try="$ac_compile"
12138case "(($ac_try" in
12139  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12140  *) ac_try_echo=$ac_try;;
12141esac
12142eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12143$as_echo "$ac_try_echo") >&5
12144  (eval "$ac_compile") 2>conftest.er1
12145  ac_status=$?
12146  grep -v '^ *+' conftest.er1 >conftest.err
12147  rm -f conftest.er1
12148  cat conftest.err >&5
12149  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150  (exit $ac_status); } && {
12151	 test -z "$ac_c_werror_flag" ||
12152	 test ! -s conftest.err
12153       } && test -s conftest.$ac_objext; then
12154  ac_header_compiler=yes
12155else
12156  $as_echo "$as_me: failed program was:" >&5
12157sed 's/^/| /' conftest.$ac_ext >&5
12158
12159	ac_header_compiler=no
12160fi
12161
12162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12163{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12164$as_echo "$ac_header_compiler" >&6; }
12165
12166# Is the header present?
12167{ $as_echo "$as_me:$LINENO: checking widec.h presence" >&5
12168$as_echo_n "checking widec.h presence... " >&6; }
12169cat >conftest.$ac_ext <<_ACEOF
12170/* confdefs.h.  */
12171_ACEOF
12172cat confdefs.h >>conftest.$ac_ext
12173cat >>conftest.$ac_ext <<_ACEOF
12174/* end confdefs.h.  */
12175#include <widec.h>
12176_ACEOF
12177if { (ac_try="$ac_cpp conftest.$ac_ext"
12178case "(($ac_try" in
12179  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12180  *) ac_try_echo=$ac_try;;
12181esac
12182eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12183$as_echo "$ac_try_echo") >&5
12184  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12185  ac_status=$?
12186  grep -v '^ *+' conftest.er1 >conftest.err
12187  rm -f conftest.er1
12188  cat conftest.err >&5
12189  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190  (exit $ac_status); } >/dev/null && {
12191	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12192	 test ! -s conftest.err
12193       }; then
12194  ac_header_preproc=yes
12195else
12196  $as_echo "$as_me: failed program was:" >&5
12197sed 's/^/| /' conftest.$ac_ext >&5
12198
12199  ac_header_preproc=no
12200fi
12201
12202rm -f conftest.err conftest.$ac_ext
12203{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12204$as_echo "$ac_header_preproc" >&6; }
12205
12206# So?  What about this header?
12207case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12208  yes:no: )
12209    { $as_echo "$as_me:$LINENO: WARNING: widec.h: accepted by the compiler, rejected by the preprocessor!" >&5
12210$as_echo "$as_me: WARNING: widec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12211    { $as_echo "$as_me:$LINENO: WARNING: widec.h: proceeding with the compiler's result" >&5
12212$as_echo "$as_me: WARNING: widec.h: proceeding with the compiler's result" >&2;}
12213    ac_header_preproc=yes
12214    ;;
12215  no:yes:* )
12216    { $as_echo "$as_me:$LINENO: WARNING: widec.h: present but cannot be compiled" >&5
12217$as_echo "$as_me: WARNING: widec.h: present but cannot be compiled" >&2;}
12218    { $as_echo "$as_me:$LINENO: WARNING: widec.h:     check for missing prerequisite headers?" >&5
12219$as_echo "$as_me: WARNING: widec.h:     check for missing prerequisite headers?" >&2;}
12220    { $as_echo "$as_me:$LINENO: WARNING: widec.h: see the Autoconf documentation" >&5
12221$as_echo "$as_me: WARNING: widec.h: see the Autoconf documentation" >&2;}
12222    { $as_echo "$as_me:$LINENO: WARNING: widec.h:     section \"Present But Cannot Be Compiled\"" >&5
12223$as_echo "$as_me: WARNING: widec.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12224    { $as_echo "$as_me:$LINENO: WARNING: widec.h: proceeding with the preprocessor's result" >&5
12225$as_echo "$as_me: WARNING: widec.h: proceeding with the preprocessor's result" >&2;}
12226    { $as_echo "$as_me:$LINENO: WARNING: widec.h: in the future, the compiler will take precedence" >&5
12227$as_echo "$as_me: WARNING: widec.h: in the future, the compiler will take precedence" >&2;}
12228    ( cat <<\_ASBOX
12229## ---------------------------------------------------------------------- ##
12230## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
12231## ---------------------------------------------------------------------- ##
12232_ASBOX
12233     ) | sed "s/^/$as_me: WARNING:     /" >&2
12234    ;;
12235esac
12236{ $as_echo "$as_me:$LINENO: checking for widec.h" >&5
12237$as_echo_n "checking for widec.h... " >&6; }
12238if test "${ac_cv_header_widec_h+set}" = set; then
12239  $as_echo_n "(cached) " >&6
12240else
12241  ac_cv_header_widec_h=$ac_header_preproc
12242fi
12243{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
12244$as_echo "$ac_cv_header_widec_h" >&6; }
12245
12246fi
12247if test "x$ac_cv_header_widec_h" = x""yes; then
12248  :
12249else
12250
12251cat >>confdefs.h <<\_ACEOF
12252#define NO_WIDEC_H 1
12253_ACEOF
12254
12255fi
12256
12257
12258
12259# Checks for functions
12260
12261for ac_func in iswalnum
12262do
12263as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12264{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12265$as_echo_n "checking for $ac_func... " >&6; }
12266if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12267  $as_echo_n "(cached) " >&6
12268else
12269  cat >conftest.$ac_ext <<_ACEOF
12270/* confdefs.h.  */
12271_ACEOF
12272cat confdefs.h >>conftest.$ac_ext
12273cat >>conftest.$ac_ext <<_ACEOF
12274/* end confdefs.h.  */
12275/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12276   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12277#define $ac_func innocuous_$ac_func
12278
12279/* System header to define __stub macros and hopefully few prototypes,
12280    which can conflict with char $ac_func (); below.
12281    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12282    <limits.h> exists even on freestanding compilers.  */
12283
12284#ifdef __STDC__
12285# include <limits.h>
12286#else
12287# include <assert.h>
12288#endif
12289
12290#undef $ac_func
12291
12292/* Override any GCC internal prototype to avoid an error.
12293   Use char because int might match the return type of a GCC
12294   builtin and then its argument prototype would still apply.  */
12295#ifdef __cplusplus
12296extern "C"
12297#endif
12298char $ac_func ();
12299/* The GNU C library defines this for functions which it implements
12300    to always fail with ENOSYS.  Some functions are actually named
12301    something starting with __ and the normal name is an alias.  */
12302#if defined __stub_$ac_func || defined __stub___$ac_func
12303choke me
12304#endif
12305
12306int
12307main ()
12308{
12309return $ac_func ();
12310  ;
12311  return 0;
12312}
12313_ACEOF
12314rm -f conftest.$ac_objext conftest$ac_exeext
12315if { (ac_try="$ac_link"
12316case "(($ac_try" in
12317  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12318  *) ac_try_echo=$ac_try;;
12319esac
12320eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12321$as_echo "$ac_try_echo") >&5
12322  (eval "$ac_link") 2>conftest.er1
12323  ac_status=$?
12324  grep -v '^ *+' conftest.er1 >conftest.err
12325  rm -f conftest.er1
12326  cat conftest.err >&5
12327  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328  (exit $ac_status); } && {
12329	 test -z "$ac_c_werror_flag" ||
12330	 test ! -s conftest.err
12331       } && test -s conftest$ac_exeext && {
12332	 test "$cross_compiling" = yes ||
12333	 $as_test_x conftest$ac_exeext
12334       }; then
12335  eval "$as_ac_var=yes"
12336else
12337  $as_echo "$as_me: failed program was:" >&5
12338sed 's/^/| /' conftest.$ac_ext >&5
12339
12340	eval "$as_ac_var=no"
12341fi
12342
12343rm -rf conftest.dSYM
12344rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12345      conftest$ac_exeext conftest.$ac_ext
12346fi
12347ac_res=`eval 'as_val=${'$as_ac_var'}
12348		 $as_echo "$as_val"'`
12349	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12350$as_echo "$ac_res" >&6; }
12351as_val=`eval 'as_val=${'$as_ac_var'}
12352		 $as_echo "$as_val"'`
12353   if test "x$as_val" = x""yes; then
12354  cat >>confdefs.h <<_ACEOF
12355#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12356_ACEOF
12357
12358fi
12359done
12360
12361
12362
12363
12364
12365if test x$APP_MAN_SUFFIX = x    ; then
12366    APP_MAN_SUFFIX=1
12367fi
12368if test x$APP_MAN_DIR = x    ; then
12369    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
12370fi
12371
12372if test x$LIB_MAN_SUFFIX = x    ; then
12373    LIB_MAN_SUFFIX=3
12374fi
12375if test x$LIB_MAN_DIR = x    ; then
12376    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
12377fi
12378
12379if test x$FILE_MAN_SUFFIX = x    ; then
12380    case $host_os in
12381	solaris*)	FILE_MAN_SUFFIX=4  ;;
12382	*)		FILE_MAN_SUFFIX=5  ;;
12383    esac
12384fi
12385if test x$FILE_MAN_DIR = x    ; then
12386    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
12387fi
12388
12389if test x$MISC_MAN_SUFFIX = x    ; then
12390    case $host_os in
12391	solaris*)	MISC_MAN_SUFFIX=5  ;;
12392	*)		MISC_MAN_SUFFIX=7  ;;
12393    esac
12394fi
12395if test x$MISC_MAN_DIR = x    ; then
12396    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
12397fi
12398
12399if test x$DRIVER_MAN_SUFFIX = x    ; then
12400    case $host_os in
12401	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
12402	*)		DRIVER_MAN_SUFFIX=4  ;;
12403    esac
12404fi
12405if test x$DRIVER_MAN_DIR = x    ; then
12406    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
12407fi
12408
12409if test x$ADMIN_MAN_SUFFIX = x    ; then
12410    case $host_os in
12411	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
12412	*)		ADMIN_MAN_SUFFIX=8  ;;
12413    esac
12414fi
12415if test x$ADMIN_MAN_DIR = x    ; then
12416    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
12417fi
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435# Check whether --with-release-version was given.
12436if test "${with_release_version+set}" = set; then
12437  withval=$with_release_version; RELEASE_VERSION="$withval"
12438else
12439  RELEASE_VERSION=""
12440fi
12441
12442	if test "x$RELEASE_VERSION" != "x"; then
12443		PACKAGE="$PACKAGE-$RELEASE_VERSION"
12444		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
12445		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
12446$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
12447	fi
12448
12449cat >>confdefs.h <<_ACEOF
12450#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
12451_ACEOF
12452
12453	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
12454	if test "x$PVM" = "x"; then
12455		PVM="0"
12456	fi
12457
12458cat >>confdefs.h <<_ACEOF
12459#define PACKAGE_VERSION_MINOR $PVM
12460_ACEOF
12461
12462	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
12463	if test "x$PVP" = "x"; then
12464		PVP="0"
12465	fi
12466
12467cat >>confdefs.h <<_ACEOF
12468#define PACKAGE_VERSION_PATCHLEVEL $PVP
12469_ACEOF
12470
12471
12472
12473CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
12474mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
12475echo 'git directory not found: installing possibly empty changelog.' >&2)"
12476
12477distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
12478
12479
12480
12481ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile src/Makefile"
12482
12483cat >confcache <<\_ACEOF
12484# This file is a shell script that caches the results of configure
12485# tests run on this system so they can be shared between configure
12486# scripts and configure runs, see configure's option --config-cache.
12487# It is not useful on other systems.  If it contains results you don't
12488# want to keep, you may remove or edit it.
12489#
12490# config.status only pays attention to the cache file if you give it
12491# the --recheck option to rerun configure.
12492#
12493# `ac_cv_env_foo' variables (set or unset) will be overridden when
12494# loading this file, other *unset* `ac_cv_foo' will be assigned the
12495# following values.
12496
12497_ACEOF
12498
12499# The following way of writing the cache mishandles newlines in values,
12500# but we know of no workaround that is simple, portable, and efficient.
12501# So, we kill variables containing newlines.
12502# Ultrix sh set writes to stderr and can't be redirected directly,
12503# and sets the high bit in the cache file unless we assign to the vars.
12504(
12505  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12506    eval ac_val=\$$ac_var
12507    case $ac_val in #(
12508    *${as_nl}*)
12509      case $ac_var in #(
12510      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12511$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12512      esac
12513      case $ac_var in #(
12514      _ | IFS | as_nl) ;; #(
12515      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12516      *) $as_unset $ac_var ;;
12517      esac ;;
12518    esac
12519  done
12520
12521  (set) 2>&1 |
12522    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12523    *${as_nl}ac_space=\ *)
12524      # `set' does not quote correctly, so add quotes (double-quote
12525      # substitution turns \\\\ into \\, and sed turns \\ into \).
12526      sed -n \
12527	"s/'/'\\\\''/g;
12528	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12529      ;; #(
12530    *)
12531      # `set' quotes correctly as required by POSIX, so do not add quotes.
12532      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12533      ;;
12534    esac |
12535    sort
12536) |
12537  sed '
12538     /^ac_cv_env_/b end
12539     t clear
12540     :clear
12541     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12542     t end
12543     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12544     :end' >>confcache
12545if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12546  if test -w "$cache_file"; then
12547    test "x$cache_file" != "x/dev/null" &&
12548      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12549$as_echo "$as_me: updating cache $cache_file" >&6;}
12550    cat confcache >$cache_file
12551  else
12552    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12553$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12554  fi
12555fi
12556rm -f confcache
12557
12558test "x$prefix" = xNONE && prefix=$ac_default_prefix
12559# Let make expand exec_prefix.
12560test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12561
12562DEFS=-DHAVE_CONFIG_H
12563
12564ac_libobjs=
12565ac_ltlibobjs=
12566for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12567  # 1. Remove the extension, and $U if already installed.
12568  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12569  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12570  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12571  #    will be set to the directory where LIBOBJS objects are built.
12572  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12573  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12574done
12575LIBOBJS=$ac_libobjs
12576
12577LTLIBOBJS=$ac_ltlibobjs
12578
12579
12580if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12581  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12582Usually this means the macro was only invoked conditionally." >&5
12583$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12584Usually this means the macro was only invoked conditionally." >&2;}
12585   { (exit 1); exit 1; }; }
12586fi
12587if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12588  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12589Usually this means the macro was only invoked conditionally." >&5
12590$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12591Usually this means the macro was only invoked conditionally." >&2;}
12592   { (exit 1); exit 1; }; }
12593fi
12594if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
12595  { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
12596Usually this means the macro was only invoked conditionally." >&5
12597$as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
12598Usually this means the macro was only invoked conditionally." >&2;}
12599   { (exit 1); exit 1; }; }
12600fi
12601if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
12602  { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_DARWIN\" was never defined.
12603Usually this means the macro was only invoked conditionally." >&5
12604$as_echo "$as_me: error: conditional \"PLATFORM_DARWIN\" was never defined.
12605Usually this means the macro was only invoked conditionally." >&2;}
12606   { (exit 1); exit 1; }; }
12607fi
12608if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
12609  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
12610Usually this means the macro was only invoked conditionally." >&5
12611$as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
12612Usually this means the macro was only invoked conditionally." >&2;}
12613   { (exit 1); exit 1; }; }
12614fi
12615if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
12616  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
12617Usually this means the macro was only invoked conditionally." >&5
12618$as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
12619Usually this means the macro was only invoked conditionally." >&2;}
12620   { (exit 1); exit 1; }; }
12621fi
12622
12623: ${CONFIG_STATUS=./config.status}
12624ac_write_fail=0
12625ac_clean_files_save=$ac_clean_files
12626ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12627{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12628$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12629cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12630#! $SHELL
12631# Generated by $as_me.
12632# Run this file to recreate the current configuration.
12633# Compiler output produced by configure, useful for debugging
12634# configure, is in config.log if it exists.
12635
12636debug=false
12637ac_cs_recheck=false
12638ac_cs_silent=false
12639SHELL=\${CONFIG_SHELL-$SHELL}
12640_ACEOF
12641
12642cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12643## --------------------- ##
12644## M4sh Initialization.  ##
12645## --------------------- ##
12646
12647# Be more Bourne compatible
12648DUALCASE=1; export DUALCASE # for MKS sh
12649if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12650  emulate sh
12651  NULLCMD=:
12652  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12653  # is contrary to our usage.  Disable this feature.
12654  alias -g '${1+"$@"}'='"$@"'
12655  setopt NO_GLOB_SUBST
12656else
12657  case `(set -o) 2>/dev/null` in
12658  *posix*) set -o posix ;;
12659esac
12660
12661fi
12662
12663
12664
12665
12666# PATH needs CR
12667# Avoid depending upon Character Ranges.
12668as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12669as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12670as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12671as_cr_digits='0123456789'
12672as_cr_alnum=$as_cr_Letters$as_cr_digits
12673
12674as_nl='
12675'
12676export as_nl
12677# Printing a long string crashes Solaris 7 /usr/bin/printf.
12678as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12679as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12680as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12681if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12682  as_echo='printf %s\n'
12683  as_echo_n='printf %s'
12684else
12685  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12686    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12687    as_echo_n='/usr/ucb/echo -n'
12688  else
12689    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12690    as_echo_n_body='eval
12691      arg=$1;
12692      case $arg in
12693      *"$as_nl"*)
12694	expr "X$arg" : "X\\(.*\\)$as_nl";
12695	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12696      esac;
12697      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12698    '
12699    export as_echo_n_body
12700    as_echo_n='sh -c $as_echo_n_body as_echo'
12701  fi
12702  export as_echo_body
12703  as_echo='sh -c $as_echo_body as_echo'
12704fi
12705
12706# The user is always right.
12707if test "${PATH_SEPARATOR+set}" != set; then
12708  PATH_SEPARATOR=:
12709  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12710    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12711      PATH_SEPARATOR=';'
12712  }
12713fi
12714
12715# Support unset when possible.
12716if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12717  as_unset=unset
12718else
12719  as_unset=false
12720fi
12721
12722
12723# IFS
12724# We need space, tab and new line, in precisely that order.  Quoting is
12725# there to prevent editors from complaining about space-tab.
12726# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12727# splitting by setting IFS to empty value.)
12728IFS=" ""	$as_nl"
12729
12730# Find who we are.  Look in the path if we contain no directory separator.
12731case $0 in
12732  *[\\/]* ) as_myself=$0 ;;
12733  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12734for as_dir in $PATH
12735do
12736  IFS=$as_save_IFS
12737  test -z "$as_dir" && as_dir=.
12738  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12739done
12740IFS=$as_save_IFS
12741
12742     ;;
12743esac
12744# We did not find ourselves, most probably we were run as `sh COMMAND'
12745# in which case we are not to be found in the path.
12746if test "x$as_myself" = x; then
12747  as_myself=$0
12748fi
12749if test ! -f "$as_myself"; then
12750  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12751  { (exit 1); exit 1; }
12752fi
12753
12754# Work around bugs in pre-3.0 UWIN ksh.
12755for as_var in ENV MAIL MAILPATH
12756do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12757done
12758PS1='$ '
12759PS2='> '
12760PS4='+ '
12761
12762# NLS nuisances.
12763LC_ALL=C
12764export LC_ALL
12765LANGUAGE=C
12766export LANGUAGE
12767
12768# Required to use basename.
12769if expr a : '\(a\)' >/dev/null 2>&1 &&
12770   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12771  as_expr=expr
12772else
12773  as_expr=false
12774fi
12775
12776if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12777  as_basename=basename
12778else
12779  as_basename=false
12780fi
12781
12782
12783# Name of the executable.
12784as_me=`$as_basename -- "$0" ||
12785$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12786	 X"$0" : 'X\(//\)$' \| \
12787	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12788$as_echo X/"$0" |
12789    sed '/^.*\/\([^/][^/]*\)\/*$/{
12790	    s//\1/
12791	    q
12792	  }
12793	  /^X\/\(\/\/\)$/{
12794	    s//\1/
12795	    q
12796	  }
12797	  /^X\/\(\/\).*/{
12798	    s//\1/
12799	    q
12800	  }
12801	  s/.*/./; q'`
12802
12803# CDPATH.
12804$as_unset CDPATH
12805
12806
12807
12808  as_lineno_1=$LINENO
12809  as_lineno_2=$LINENO
12810  test "x$as_lineno_1" != "x$as_lineno_2" &&
12811  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12812
12813  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12814  # uniformly replaced by the line number.  The first 'sed' inserts a
12815  # line-number line after each line using $LINENO; the second 'sed'
12816  # does the real work.  The second script uses 'N' to pair each
12817  # line-number line with the line containing $LINENO, and appends
12818  # trailing '-' during substitution so that $LINENO is not a special
12819  # case at line end.
12820  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12821  # scripts with optimization help from Paolo Bonzini.  Blame Lee
12822  # E. McMahon (1931-1989) for sed's syntax.  :-)
12823  sed -n '
12824    p
12825    /[$]LINENO/=
12826  ' <$as_myself |
12827    sed '
12828      s/[$]LINENO.*/&-/
12829      t lineno
12830      b
12831      :lineno
12832      N
12833      :loop
12834      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12835      t loop
12836      s/-\n.*//
12837    ' >$as_me.lineno &&
12838  chmod +x "$as_me.lineno" ||
12839    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12840   { (exit 1); exit 1; }; }
12841
12842  # Don't try to exec as it changes $[0], causing all sort of problems
12843  # (the dirname of $[0] is not the place where we might find the
12844  # original and so on.  Autoconf is especially sensitive to this).
12845  . "./$as_me.lineno"
12846  # Exit status is that of the last command.
12847  exit
12848}
12849
12850
12851if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12852  as_dirname=dirname
12853else
12854  as_dirname=false
12855fi
12856
12857ECHO_C= ECHO_N= ECHO_T=
12858case `echo -n x` in
12859-n*)
12860  case `echo 'x\c'` in
12861  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
12862  *)   ECHO_C='\c';;
12863  esac;;
12864*)
12865  ECHO_N='-n';;
12866esac
12867if expr a : '\(a\)' >/dev/null 2>&1 &&
12868   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12869  as_expr=expr
12870else
12871  as_expr=false
12872fi
12873
12874rm -f conf$$ conf$$.exe conf$$.file
12875if test -d conf$$.dir; then
12876  rm -f conf$$.dir/conf$$.file
12877else
12878  rm -f conf$$.dir
12879  mkdir conf$$.dir 2>/dev/null
12880fi
12881if (echo >conf$$.file) 2>/dev/null; then
12882  if ln -s conf$$.file conf$$ 2>/dev/null; then
12883    as_ln_s='ln -s'
12884    # ... but there are two gotchas:
12885    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12886    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12887    # In both cases, we have to default to `cp -p'.
12888    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12889      as_ln_s='cp -p'
12890  elif ln conf$$.file conf$$ 2>/dev/null; then
12891    as_ln_s=ln
12892  else
12893    as_ln_s='cp -p'
12894  fi
12895else
12896  as_ln_s='cp -p'
12897fi
12898rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12899rmdir conf$$.dir 2>/dev/null
12900
12901if mkdir -p . 2>/dev/null; then
12902  as_mkdir_p=:
12903else
12904  test -d ./-p && rmdir ./-p
12905  as_mkdir_p=false
12906fi
12907
12908if test -x / >/dev/null 2>&1; then
12909  as_test_x='test -x'
12910else
12911  if ls -dL / >/dev/null 2>&1; then
12912    as_ls_L_option=L
12913  else
12914    as_ls_L_option=
12915  fi
12916  as_test_x='
12917    eval sh -c '\''
12918      if test -d "$1"; then
12919	test -d "$1/.";
12920      else
12921	case $1 in
12922	-*)set "./$1";;
12923	esac;
12924	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12925	???[sx]*):;;*)false;;esac;fi
12926    '\'' sh
12927  '
12928fi
12929as_executable_p=$as_test_x
12930
12931# Sed expression to map a string onto a valid CPP name.
12932as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12933
12934# Sed expression to map a string onto a valid variable name.
12935as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12936
12937
12938exec 6>&1
12939
12940# Save the log message, to keep $[0] and so on meaningful, and to
12941# report actual input values of CONFIG_FILES etc. instead of their
12942# values after options handling.
12943ac_log="
12944This file was extended by libXaw $as_me 1.0.6, which was
12945generated by GNU Autoconf 2.63.  Invocation command line was
12946
12947  CONFIG_FILES    = $CONFIG_FILES
12948  CONFIG_HEADERS  = $CONFIG_HEADERS
12949  CONFIG_LINKS    = $CONFIG_LINKS
12950  CONFIG_COMMANDS = $CONFIG_COMMANDS
12951  $ $0 $@
12952
12953on `(hostname || uname -n) 2>/dev/null | sed 1q`
12954"
12955
12956_ACEOF
12957
12958case $ac_config_files in *"
12959"*) set x $ac_config_files; shift; ac_config_files=$*;;
12960esac
12961
12962case $ac_config_headers in *"
12963"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12964esac
12965
12966
12967cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12968# Files that config.status was made for.
12969config_files="$ac_config_files"
12970config_headers="$ac_config_headers"
12971config_commands="$ac_config_commands"
12972
12973_ACEOF
12974
12975cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12976ac_cs_usage="\
12977\`$as_me' instantiates files from templates according to the
12978current configuration.
12979
12980Usage: $0 [OPTION]... [FILE]...
12981
12982  -h, --help       print this help, then exit
12983  -V, --version    print version number and configuration settings, then exit
12984  -q, --quiet, --silent
12985                   do not print progress messages
12986  -d, --debug      don't remove temporary files
12987      --recheck    update $as_me by reconfiguring in the same conditions
12988      --file=FILE[:TEMPLATE]
12989                   instantiate the configuration file FILE
12990      --header=FILE[:TEMPLATE]
12991                   instantiate the configuration header FILE
12992
12993Configuration files:
12994$config_files
12995
12996Configuration headers:
12997$config_headers
12998
12999Configuration commands:
13000$config_commands
13001
13002Report bugs to <bug-autoconf@gnu.org>."
13003
13004_ACEOF
13005cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13006ac_cs_version="\\
13007libXaw config.status 1.0.6
13008configured by $0, generated by GNU Autoconf 2.63,
13009  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13010
13011Copyright (C) 2008 Free Software Foundation, Inc.
13012This config.status script is free software; the Free Software Foundation
13013gives unlimited permission to copy, distribute and modify it."
13014
13015ac_pwd='$ac_pwd'
13016srcdir='$srcdir'
13017INSTALL='$INSTALL'
13018MKDIR_P='$MKDIR_P'
13019AWK='$AWK'
13020test -n "\$AWK" || AWK=awk
13021_ACEOF
13022
13023cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13024# The default lists apply if the user does not specify any file.
13025ac_need_defaults=:
13026while test $# != 0
13027do
13028  case $1 in
13029  --*=*)
13030    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13031    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13032    ac_shift=:
13033    ;;
13034  *)
13035    ac_option=$1
13036    ac_optarg=$2
13037    ac_shift=shift
13038    ;;
13039  esac
13040
13041  case $ac_option in
13042  # Handling of the options.
13043  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13044    ac_cs_recheck=: ;;
13045  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13046    $as_echo "$ac_cs_version"; exit ;;
13047  --debug | --debu | --deb | --de | --d | -d )
13048    debug=: ;;
13049  --file | --fil | --fi | --f )
13050    $ac_shift
13051    case $ac_optarg in
13052    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13053    esac
13054    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13055    ac_need_defaults=false;;
13056  --header | --heade | --head | --hea )
13057    $ac_shift
13058    case $ac_optarg in
13059    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13060    esac
13061    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13062    ac_need_defaults=false;;
13063  --he | --h)
13064    # Conflict between --help and --header
13065    { $as_echo "$as_me: error: ambiguous option: $1
13066Try \`$0 --help' for more information." >&2
13067   { (exit 1); exit 1; }; };;
13068  --help | --hel | -h )
13069    $as_echo "$ac_cs_usage"; exit ;;
13070  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13071  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13072    ac_cs_silent=: ;;
13073
13074  # This is an error.
13075  -*) { $as_echo "$as_me: error: unrecognized option: $1
13076Try \`$0 --help' for more information." >&2
13077   { (exit 1); exit 1; }; } ;;
13078
13079  *) ac_config_targets="$ac_config_targets $1"
13080     ac_need_defaults=false ;;
13081
13082  esac
13083  shift
13084done
13085
13086ac_configure_extra_args=
13087
13088if $ac_cs_silent; then
13089  exec 6>/dev/null
13090  ac_configure_extra_args="$ac_configure_extra_args --silent"
13091fi
13092
13093_ACEOF
13094cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13095if \$ac_cs_recheck; then
13096  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13097  shift
13098  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13099  CONFIG_SHELL='$SHELL'
13100  export CONFIG_SHELL
13101  exec "\$@"
13102fi
13103
13104_ACEOF
13105cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13106exec 5>>config.log
13107{
13108  echo
13109  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13110## Running $as_me. ##
13111_ASBOX
13112  $as_echo "$ac_log"
13113} >&5
13114
13115_ACEOF
13116cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13117#
13118# INIT-COMMANDS
13119#
13120AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13121
13122
13123# The HP-UX ksh and POSIX shell print the target directory to stdout
13124# if CDPATH is set.
13125(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13126
13127sed_quote_subst='$sed_quote_subst'
13128double_quote_subst='$double_quote_subst'
13129delay_variable_subst='$delay_variable_subst'
13130macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13131macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13132enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13133enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13134pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13135enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13136host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13137host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13138host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13139build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13140build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13141build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13142SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13143Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13144GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13145EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13146FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13147LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13148NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13149LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13150max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13151ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13152exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13153lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13154lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13155lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13156reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13157reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13158OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13159deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13160file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13161AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13162AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13163STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13164RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13165old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13166old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13167old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13168CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13169CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13170compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13171GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13172lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13173lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13174lt_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"`'
13175lt_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"`'
13176objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13177SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13178ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13179MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13180lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13181lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13182lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13183lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13184lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13185need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13186DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13187NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13188LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13189OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13190OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13191libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13192shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13193extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13194archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13195enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13196export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13197whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13198compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13199old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13200old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13201archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13202archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13203module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13204module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13205with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13206allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13207no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13208hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13209hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13210hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13211hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13212hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13213hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13214hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13215hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13216inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13217link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13218fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13219always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13220export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13221exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13222include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13223prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13224file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13225variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13226need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13227need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13228version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13229runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13230shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13231shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13232libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13233library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13234soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13235postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13236postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13237finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13238finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13239hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13240sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13241sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13242hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13243enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13244enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13245enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13246old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13247striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13248
13249LTCC='$LTCC'
13250LTCFLAGS='$LTCFLAGS'
13251compiler='$compiler_DEFAULT'
13252
13253# Quote evaled strings.
13254for var in SED \
13255GREP \
13256EGREP \
13257FGREP \
13258LD \
13259NM \
13260LN_S \
13261lt_SP2NL \
13262lt_NL2SP \
13263reload_flag \
13264OBJDUMP \
13265deplibs_check_method \
13266file_magic_cmd \
13267AR \
13268AR_FLAGS \
13269STRIP \
13270RANLIB \
13271CC \
13272CFLAGS \
13273compiler \
13274lt_cv_sys_global_symbol_pipe \
13275lt_cv_sys_global_symbol_to_cdecl \
13276lt_cv_sys_global_symbol_to_c_name_address \
13277lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13278SHELL \
13279ECHO \
13280lt_prog_compiler_no_builtin_flag \
13281lt_prog_compiler_wl \
13282lt_prog_compiler_pic \
13283lt_prog_compiler_static \
13284lt_cv_prog_compiler_c_o \
13285need_locks \
13286DSYMUTIL \
13287NMEDIT \
13288LIPO \
13289OTOOL \
13290OTOOL64 \
13291shrext_cmds \
13292export_dynamic_flag_spec \
13293whole_archive_flag_spec \
13294compiler_needs_object \
13295with_gnu_ld \
13296allow_undefined_flag \
13297no_undefined_flag \
13298hardcode_libdir_flag_spec \
13299hardcode_libdir_flag_spec_ld \
13300hardcode_libdir_separator \
13301fix_srcfile_path \
13302exclude_expsyms \
13303include_expsyms \
13304file_list_spec \
13305variables_saved_for_relink \
13306libname_spec \
13307library_names_spec \
13308soname_spec \
13309finish_eval \
13310old_striplib \
13311striplib; do
13312    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13313    *[\\\\\\\`\\"\\\$]*)
13314      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13315      ;;
13316    *)
13317      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13318      ;;
13319    esac
13320done
13321
13322# Double-quote double-evaled strings.
13323for var in reload_cmds \
13324old_postinstall_cmds \
13325old_postuninstall_cmds \
13326old_archive_cmds \
13327extract_expsyms_cmds \
13328old_archive_from_new_cmds \
13329old_archive_from_expsyms_cmds \
13330archive_cmds \
13331archive_expsym_cmds \
13332module_cmds \
13333module_expsym_cmds \
13334export_symbols_cmds \
13335prelink_cmds \
13336postinstall_cmds \
13337postuninstall_cmds \
13338finish_cmds \
13339sys_lib_search_path_spec \
13340sys_lib_dlsearch_path_spec; do
13341    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13342    *[\\\\\\\`\\"\\\$]*)
13343      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13344      ;;
13345    *)
13346      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13347      ;;
13348    esac
13349done
13350
13351# Fix-up fallback echo if it was mangled by the above quoting rules.
13352case \$lt_ECHO in
13353*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13354  ;;
13355esac
13356
13357ac_aux_dir='$ac_aux_dir'
13358xsi_shell='$xsi_shell'
13359lt_shell_append='$lt_shell_append'
13360
13361# See if we are running on zsh, and set the options which allow our
13362# commands through without removal of \ escapes INIT.
13363if test -n "\${ZSH_VERSION+set}" ; then
13364   setopt NO_GLOB_SUBST
13365fi
13366
13367
13368    PACKAGE='$PACKAGE'
13369    VERSION='$VERSION'
13370    TIMESTAMP='$TIMESTAMP'
13371    RM='$RM'
13372    ofile='$ofile'
13373
13374
13375
13376
13377_ACEOF
13378
13379cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13380
13381# Handling of arguments.
13382for ac_config_target in $ac_config_targets
13383do
13384  case $ac_config_target in
13385    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13386    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13387    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13388    "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
13389    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13390    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13391    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13392    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13393
13394  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13395$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13396   { (exit 1); exit 1; }; };;
13397  esac
13398done
13399
13400
13401# If the user did not use the arguments to specify the items to instantiate,
13402# then the envvar interface is used.  Set only those that are not.
13403# We use the long form for the default assignment because of an extremely
13404# bizarre bug on SunOS 4.1.3.
13405if $ac_need_defaults; then
13406  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13407  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13408  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13409fi
13410
13411# Have a temporary directory for convenience.  Make it in the build tree
13412# simply because there is no reason against having it here, and in addition,
13413# creating and moving files from /tmp can sometimes cause problems.
13414# Hook for its removal unless debugging.
13415# Note that there is a small window in which the directory will not be cleaned:
13416# after its creation but before its name has been assigned to `$tmp'.
13417$debug ||
13418{
13419  tmp=
13420  trap 'exit_status=$?
13421  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13422' 0
13423  trap '{ (exit 1); exit 1; }' 1 2 13 15
13424}
13425# Create a (secure) tmp directory for tmp files.
13426
13427{
13428  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13429  test -n "$tmp" && test -d "$tmp"
13430}  ||
13431{
13432  tmp=./conf$$-$RANDOM
13433  (umask 077 && mkdir "$tmp")
13434} ||
13435{
13436   $as_echo "$as_me: cannot create a temporary directory in ." >&2
13437   { (exit 1); exit 1; }
13438}
13439
13440# Set up the scripts for CONFIG_FILES section.
13441# No need to generate them if there are no CONFIG_FILES.
13442# This happens for instance with `./config.status config.h'.
13443if test -n "$CONFIG_FILES"; then
13444
13445
13446ac_cr='
13447'
13448ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13449if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13450  ac_cs_awk_cr='\\r'
13451else
13452  ac_cs_awk_cr=$ac_cr
13453fi
13454
13455echo 'BEGIN {' >"$tmp/subs1.awk" &&
13456_ACEOF
13457
13458
13459{
13460  echo "cat >conf$$subs.awk <<_ACEOF" &&
13461  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13462  echo "_ACEOF"
13463} >conf$$subs.sh ||
13464  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13465$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13466   { (exit 1); exit 1; }; }
13467ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13468ac_delim='%!_!# '
13469for ac_last_try in false false false false false :; do
13470  . ./conf$$subs.sh ||
13471    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13472$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13473   { (exit 1); exit 1; }; }
13474
13475  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13476  if test $ac_delim_n = $ac_delim_num; then
13477    break
13478  elif $ac_last_try; then
13479    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13480$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13481   { (exit 1); exit 1; }; }
13482  else
13483    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13484  fi
13485done
13486rm -f conf$$subs.sh
13487
13488cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13489cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13490_ACEOF
13491sed -n '
13492h
13493s/^/S["/; s/!.*/"]=/
13494p
13495g
13496s/^[^!]*!//
13497:repl
13498t repl
13499s/'"$ac_delim"'$//
13500t delim
13501:nl
13502h
13503s/\(.\{148\}\).*/\1/
13504t more1
13505s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13506p
13507n
13508b repl
13509:more1
13510s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13511p
13512g
13513s/.\{148\}//
13514t nl
13515:delim
13516h
13517s/\(.\{148\}\).*/\1/
13518t more2
13519s/["\\]/\\&/g; s/^/"/; s/$/"/
13520p
13521b
13522:more2
13523s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13524p
13525g
13526s/.\{148\}//
13527t delim
13528' <conf$$subs.awk | sed '
13529/^[^""]/{
13530  N
13531  s/\n//
13532}
13533' >>$CONFIG_STATUS || ac_write_fail=1
13534rm -f conf$$subs.awk
13535cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13536_ACAWK
13537cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13538  for (key in S) S_is_set[key] = 1
13539  FS = ""
13540
13541}
13542{
13543  line = $ 0
13544  nfields = split(line, field, "@")
13545  substed = 0
13546  len = length(field[1])
13547  for (i = 2; i < nfields; i++) {
13548    key = field[i]
13549    keylen = length(key)
13550    if (S_is_set[key]) {
13551      value = S[key]
13552      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13553      len += length(value) + length(field[++i])
13554      substed = 1
13555    } else
13556      len += 1 + keylen
13557  }
13558
13559  print line
13560}
13561
13562_ACAWK
13563_ACEOF
13564cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13565if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13566  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13567else
13568  cat
13569fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13570  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13571$as_echo "$as_me: error: could not setup config files machinery" >&2;}
13572   { (exit 1); exit 1; }; }
13573_ACEOF
13574
13575# VPATH may cause trouble with some makes, so we remove $(srcdir),
13576# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13577# trailing colons and then remove the whole line if VPATH becomes empty
13578# (actually we leave an empty line to preserve line numbers).
13579if test "x$srcdir" = x.; then
13580  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
13581s/:*\$(srcdir):*/:/
13582s/:*\${srcdir}:*/:/
13583s/:*@srcdir@:*/:/
13584s/^\([^=]*=[	 ]*\):*/\1/
13585s/:*$//
13586s/^[^=]*=[	 ]*$//
13587}'
13588fi
13589
13590cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13591fi # test -n "$CONFIG_FILES"
13592
13593# Set up the scripts for CONFIG_HEADERS section.
13594# No need to generate them if there are no CONFIG_HEADERS.
13595# This happens for instance with `./config.status Makefile'.
13596if test -n "$CONFIG_HEADERS"; then
13597cat >"$tmp/defines.awk" <<\_ACAWK ||
13598BEGIN {
13599_ACEOF
13600
13601# Transform confdefs.h into an awk script `defines.awk', embedded as
13602# here-document in config.status, that substitutes the proper values into
13603# config.h.in to produce config.h.
13604
13605# Create a delimiter string that does not exist in confdefs.h, to ease
13606# handling of long lines.
13607ac_delim='%!_!# '
13608for ac_last_try in false false :; do
13609  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13610  if test -z "$ac_t"; then
13611    break
13612  elif $ac_last_try; then
13613    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
13614$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
13615   { (exit 1); exit 1; }; }
13616  else
13617    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13618  fi
13619done
13620
13621# For the awk script, D is an array of macro values keyed by name,
13622# likewise P contains macro parameters if any.  Preserve backslash
13623# newline sequences.
13624
13625ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13626sed -n '
13627s/.\{148\}/&'"$ac_delim"'/g
13628t rset
13629:rset
13630s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13631t def
13632d
13633:def
13634s/\\$//
13635t bsnl
13636s/["\\]/\\&/g
13637s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13638D["\1"]=" \3"/p
13639s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13640d
13641:bsnl
13642s/["\\]/\\&/g
13643s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13644D["\1"]=" \3\\\\\\n"\\/p
13645t cont
13646s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13647t cont
13648d
13649:cont
13650n
13651s/.\{148\}/&'"$ac_delim"'/g
13652t clear
13653:clear
13654s/\\$//
13655t bsnlc
13656s/["\\]/\\&/g; s/^/"/; s/$/"/p
13657d
13658:bsnlc
13659s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13660b cont
13661' <confdefs.h | sed '
13662s/'"$ac_delim"'/"\\\
13663"/g' >>$CONFIG_STATUS || ac_write_fail=1
13664
13665cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13666  for (key in D) D_is_set[key] = 1
13667  FS = ""
13668}
13669/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13670  line = \$ 0
13671  split(line, arg, " ")
13672  if (arg[1] == "#") {
13673    defundef = arg[2]
13674    mac1 = arg[3]
13675  } else {
13676    defundef = substr(arg[1], 2)
13677    mac1 = arg[2]
13678  }
13679  split(mac1, mac2, "(") #)
13680  macro = mac2[1]
13681  prefix = substr(line, 1, index(line, defundef) - 1)
13682  if (D_is_set[macro]) {
13683    # Preserve the white space surrounding the "#".
13684    print prefix "define", macro P[macro] D[macro]
13685    next
13686  } else {
13687    # Replace #undef with comments.  This is necessary, for example,
13688    # in the case of _POSIX_SOURCE, which is predefined and required
13689    # on some systems where configure will not decide to define it.
13690    if (defundef == "undef") {
13691      print "/*", prefix defundef, macro, "*/"
13692      next
13693    }
13694  }
13695}
13696{ print }
13697_ACAWK
13698_ACEOF
13699cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13700  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13701$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13702   { (exit 1); exit 1; }; }
13703fi # test -n "$CONFIG_HEADERS"
13704
13705
13706eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13707shift
13708for ac_tag
13709do
13710  case $ac_tag in
13711  :[FHLC]) ac_mode=$ac_tag; continue;;
13712  esac
13713  case $ac_mode$ac_tag in
13714  :[FHL]*:*);;
13715  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13716$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13717   { (exit 1); exit 1; }; };;
13718  :[FH]-) ac_tag=-:-;;
13719  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13720  esac
13721  ac_save_IFS=$IFS
13722  IFS=:
13723  set x $ac_tag
13724  IFS=$ac_save_IFS
13725  shift
13726  ac_file=$1
13727  shift
13728
13729  case $ac_mode in
13730  :L) ac_source=$1;;
13731  :[FH])
13732    ac_file_inputs=
13733    for ac_f
13734    do
13735      case $ac_f in
13736      -) ac_f="$tmp/stdin";;
13737      *) # Look for the file first in the build tree, then in the source tree
13738	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
13739	 # because $ac_f cannot contain `:'.
13740	 test -f "$ac_f" ||
13741	   case $ac_f in
13742	   [\\/$]*) false;;
13743	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13744	   esac ||
13745	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13746$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13747   { (exit 1); exit 1; }; };;
13748      esac
13749      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13750      ac_file_inputs="$ac_file_inputs '$ac_f'"
13751    done
13752
13753    # Let's still pretend it is `configure' which instantiates (i.e., don't
13754    # use $as_me), people would be surprised to read:
13755    #    /* config.h.  Generated by config.status.  */
13756    configure_input='Generated from '`
13757	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13758	`' by configure.'
13759    if test x"$ac_file" != x-; then
13760      configure_input="$ac_file.  $configure_input"
13761      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13762$as_echo "$as_me: creating $ac_file" >&6;}
13763    fi
13764    # Neutralize special characters interpreted by sed in replacement strings.
13765    case $configure_input in #(
13766    *\&* | *\|* | *\\* )
13767       ac_sed_conf_input=`$as_echo "$configure_input" |
13768       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13769    *) ac_sed_conf_input=$configure_input;;
13770    esac
13771
13772    case $ac_tag in
13773    *:-:* | *:-) cat >"$tmp/stdin" \
13774      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13775$as_echo "$as_me: error: could not create $ac_file" >&2;}
13776   { (exit 1); exit 1; }; } ;;
13777    esac
13778    ;;
13779  esac
13780
13781  ac_dir=`$as_dirname -- "$ac_file" ||
13782$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13783	 X"$ac_file" : 'X\(//\)[^/]' \| \
13784	 X"$ac_file" : 'X\(//\)$' \| \
13785	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13786$as_echo X"$ac_file" |
13787    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13788	    s//\1/
13789	    q
13790	  }
13791	  /^X\(\/\/\)[^/].*/{
13792	    s//\1/
13793	    q
13794	  }
13795	  /^X\(\/\/\)$/{
13796	    s//\1/
13797	    q
13798	  }
13799	  /^X\(\/\).*/{
13800	    s//\1/
13801	    q
13802	  }
13803	  s/.*/./; q'`
13804  { as_dir="$ac_dir"
13805  case $as_dir in #(
13806  -*) as_dir=./$as_dir;;
13807  esac
13808  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13809    as_dirs=
13810    while :; do
13811      case $as_dir in #(
13812      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13813      *) as_qdir=$as_dir;;
13814      esac
13815      as_dirs="'$as_qdir' $as_dirs"
13816      as_dir=`$as_dirname -- "$as_dir" ||
13817$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13818	 X"$as_dir" : 'X\(//\)[^/]' \| \
13819	 X"$as_dir" : 'X\(//\)$' \| \
13820	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13821$as_echo X"$as_dir" |
13822    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13823	    s//\1/
13824	    q
13825	  }
13826	  /^X\(\/\/\)[^/].*/{
13827	    s//\1/
13828	    q
13829	  }
13830	  /^X\(\/\/\)$/{
13831	    s//\1/
13832	    q
13833	  }
13834	  /^X\(\/\).*/{
13835	    s//\1/
13836	    q
13837	  }
13838	  s/.*/./; q'`
13839      test -d "$as_dir" && break
13840    done
13841    test -z "$as_dirs" || eval "mkdir $as_dirs"
13842  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13843$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13844   { (exit 1); exit 1; }; }; }
13845  ac_builddir=.
13846
13847case "$ac_dir" in
13848.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13849*)
13850  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13851  # A ".." for each directory in $ac_dir_suffix.
13852  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13853  case $ac_top_builddir_sub in
13854  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13855  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13856  esac ;;
13857esac
13858ac_abs_top_builddir=$ac_pwd
13859ac_abs_builddir=$ac_pwd$ac_dir_suffix
13860# for backward compatibility:
13861ac_top_builddir=$ac_top_build_prefix
13862
13863case $srcdir in
13864  .)  # We are building in place.
13865    ac_srcdir=.
13866    ac_top_srcdir=$ac_top_builddir_sub
13867    ac_abs_top_srcdir=$ac_pwd ;;
13868  [\\/]* | ?:[\\/]* )  # Absolute name.
13869    ac_srcdir=$srcdir$ac_dir_suffix;
13870    ac_top_srcdir=$srcdir
13871    ac_abs_top_srcdir=$srcdir ;;
13872  *) # Relative name.
13873    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13874    ac_top_srcdir=$ac_top_build_prefix$srcdir
13875    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13876esac
13877ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13878
13879
13880  case $ac_mode in
13881  :F)
13882  #
13883  # CONFIG_FILE
13884  #
13885
13886  case $INSTALL in
13887  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13888  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13889  esac
13890  ac_MKDIR_P=$MKDIR_P
13891  case $MKDIR_P in
13892  [\\/$]* | ?:[\\/]* ) ;;
13893  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13894  esac
13895_ACEOF
13896
13897cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13898# If the template does not know about datarootdir, expand it.
13899# FIXME: This hack should be removed a few years after 2.60.
13900ac_datarootdir_hack=; ac_datarootdir_seen=
13901
13902ac_sed_dataroot='
13903/datarootdir/ {
13904  p
13905  q
13906}
13907/@datadir@/p
13908/@docdir@/p
13909/@infodir@/p
13910/@localedir@/p
13911/@mandir@/p
13912'
13913case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13914*datarootdir*) ac_datarootdir_seen=yes;;
13915*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13916  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13917$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13918_ACEOF
13919cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13920  ac_datarootdir_hack='
13921  s&@datadir@&$datadir&g
13922  s&@docdir@&$docdir&g
13923  s&@infodir@&$infodir&g
13924  s&@localedir@&$localedir&g
13925  s&@mandir@&$mandir&g
13926    s&\\\${datarootdir}&$datarootdir&g' ;;
13927esac
13928_ACEOF
13929
13930# Neutralize VPATH when `$srcdir' = `.'.
13931# Shell code in configure.ac might set extrasub.
13932# FIXME: do we really want to maintain this feature?
13933cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13934ac_sed_extra="$ac_vpsub
13935$extrasub
13936_ACEOF
13937cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13938:t
13939/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13940s|@configure_input@|$ac_sed_conf_input|;t t
13941s&@top_builddir@&$ac_top_builddir_sub&;t t
13942s&@top_build_prefix@&$ac_top_build_prefix&;t t
13943s&@srcdir@&$ac_srcdir&;t t
13944s&@abs_srcdir@&$ac_abs_srcdir&;t t
13945s&@top_srcdir@&$ac_top_srcdir&;t t
13946s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13947s&@builddir@&$ac_builddir&;t t
13948s&@abs_builddir@&$ac_abs_builddir&;t t
13949s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13950s&@INSTALL@&$ac_INSTALL&;t t
13951s&@MKDIR_P@&$ac_MKDIR_P&;t t
13952$ac_datarootdir_hack
13953"
13954eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13955  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13956$as_echo "$as_me: error: could not create $ac_file" >&2;}
13957   { (exit 1); exit 1; }; }
13958
13959test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13960  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13961  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13962  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13963which seems to be undefined.  Please make sure it is defined." >&5
13964$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13965which seems to be undefined.  Please make sure it is defined." >&2;}
13966
13967  rm -f "$tmp/stdin"
13968  case $ac_file in
13969  -) cat "$tmp/out" && rm -f "$tmp/out";;
13970  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13971  esac \
13972  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13973$as_echo "$as_me: error: could not create $ac_file" >&2;}
13974   { (exit 1); exit 1; }; }
13975 ;;
13976  :H)
13977  #
13978  # CONFIG_HEADER
13979  #
13980  if test x"$ac_file" != x-; then
13981    {
13982      $as_echo "/* $configure_input  */" \
13983      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13984    } >"$tmp/config.h" \
13985      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13986$as_echo "$as_me: error: could not create $ac_file" >&2;}
13987   { (exit 1); exit 1; }; }
13988    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13989      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13990$as_echo "$as_me: $ac_file is unchanged" >&6;}
13991    else
13992      rm -f "$ac_file"
13993      mv "$tmp/config.h" "$ac_file" \
13994	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13995$as_echo "$as_me: error: could not create $ac_file" >&2;}
13996   { (exit 1); exit 1; }; }
13997    fi
13998  else
13999    $as_echo "/* $configure_input  */" \
14000      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14001      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14002$as_echo "$as_me: error: could not create -" >&2;}
14003   { (exit 1); exit 1; }; }
14004  fi
14005# Compute "$ac_file"'s index in $config_headers.
14006_am_arg="$ac_file"
14007_am_stamp_count=1
14008for _am_header in $config_headers :; do
14009  case $_am_header in
14010    $_am_arg | $_am_arg:* )
14011      break ;;
14012    * )
14013      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14014  esac
14015done
14016echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14017$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14018	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14019	 X"$_am_arg" : 'X\(//\)$' \| \
14020	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14021$as_echo X"$_am_arg" |
14022    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14023	    s//\1/
14024	    q
14025	  }
14026	  /^X\(\/\/\)[^/].*/{
14027	    s//\1/
14028	    q
14029	  }
14030	  /^X\(\/\/\)$/{
14031	    s//\1/
14032	    q
14033	  }
14034	  /^X\(\/\).*/{
14035	    s//\1/
14036	    q
14037	  }
14038	  s/.*/./; q'`/stamp-h$_am_stamp_count
14039 ;;
14040
14041  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14042$as_echo "$as_me: executing $ac_file commands" >&6;}
14043 ;;
14044  esac
14045
14046
14047  case $ac_file$ac_mode in
14048    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
14049# are listed without --file.  Let's play safe and only enable the eval
14050# if we detect the quoting.
14051case $CONFIG_FILES in
14052*\'*) eval set x "$CONFIG_FILES" ;;
14053*)   set x $CONFIG_FILES ;;
14054esac
14055shift
14056for mf
14057do
14058  # Strip MF so we end up with the name of the file.
14059  mf=`echo "$mf" | sed -e 's/:.*$//'`
14060  # Check whether this is an Automake generated Makefile or not.
14061  # We used to match only the files named `Makefile.in', but
14062  # some people rename them; so instead we look at the file content.
14063  # Grep'ing the first line is not enough: some people post-process
14064  # each Makefile.in and add a new line on top of each file to say so.
14065  # Grep'ing the whole file is not good either: AIX grep has a line
14066  # limit of 2048, but all sed's we know have understand at least 4000.
14067  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14068    dirpart=`$as_dirname -- "$mf" ||
14069$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14070	 X"$mf" : 'X\(//\)[^/]' \| \
14071	 X"$mf" : 'X\(//\)$' \| \
14072	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14073$as_echo X"$mf" |
14074    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14075	    s//\1/
14076	    q
14077	  }
14078	  /^X\(\/\/\)[^/].*/{
14079	    s//\1/
14080	    q
14081	  }
14082	  /^X\(\/\/\)$/{
14083	    s//\1/
14084	    q
14085	  }
14086	  /^X\(\/\).*/{
14087	    s//\1/
14088	    q
14089	  }
14090	  s/.*/./; q'`
14091  else
14092    continue
14093  fi
14094  # Extract the definition of DEPDIR, am__include, and am__quote
14095  # from the Makefile without running `make'.
14096  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14097  test -z "$DEPDIR" && continue
14098  am__include=`sed -n 's/^am__include = //p' < "$mf"`
14099  test -z "am__include" && continue
14100  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14101  # When using ansi2knr, U may be empty or an underscore; expand it
14102  U=`sed -n 's/^U = //p' < "$mf"`
14103  # Find all dependency output files, they are included files with
14104  # $(DEPDIR) in their names.  We invoke sed twice because it is the
14105  # simplest approach to changing $(DEPDIR) to its actual value in the
14106  # expansion.
14107  for file in `sed -n "
14108    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14109       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14110    # Make sure the directory exists.
14111    test -f "$dirpart/$file" && continue
14112    fdir=`$as_dirname -- "$file" ||
14113$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14114	 X"$file" : 'X\(//\)[^/]' \| \
14115	 X"$file" : 'X\(//\)$' \| \
14116	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14117$as_echo X"$file" |
14118    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14119	    s//\1/
14120	    q
14121	  }
14122	  /^X\(\/\/\)[^/].*/{
14123	    s//\1/
14124	    q
14125	  }
14126	  /^X\(\/\/\)$/{
14127	    s//\1/
14128	    q
14129	  }
14130	  /^X\(\/\).*/{
14131	    s//\1/
14132	    q
14133	  }
14134	  s/.*/./; q'`
14135    { as_dir=$dirpart/$fdir
14136  case $as_dir in #(
14137  -*) as_dir=./$as_dir;;
14138  esac
14139  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14140    as_dirs=
14141    while :; do
14142      case $as_dir in #(
14143      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14144      *) as_qdir=$as_dir;;
14145      esac
14146      as_dirs="'$as_qdir' $as_dirs"
14147      as_dir=`$as_dirname -- "$as_dir" ||
14148$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14149	 X"$as_dir" : 'X\(//\)[^/]' \| \
14150	 X"$as_dir" : 'X\(//\)$' \| \
14151	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14152$as_echo X"$as_dir" |
14153    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14154	    s//\1/
14155	    q
14156	  }
14157	  /^X\(\/\/\)[^/].*/{
14158	    s//\1/
14159	    q
14160	  }
14161	  /^X\(\/\/\)$/{
14162	    s//\1/
14163	    q
14164	  }
14165	  /^X\(\/\).*/{
14166	    s//\1/
14167	    q
14168	  }
14169	  s/.*/./; q'`
14170      test -d "$as_dir" && break
14171    done
14172    test -z "$as_dirs" || eval "mkdir $as_dirs"
14173  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14174$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14175   { (exit 1); exit 1; }; }; }
14176    # echo "creating $dirpart/$file"
14177    echo '# dummy' > "$dirpart/$file"
14178  done
14179done
14180 ;;
14181    "libtool":C)
14182
14183    # See if we are running on zsh, and set the options which allow our
14184    # commands through without removal of \ escapes.
14185    if test -n "${ZSH_VERSION+set}" ; then
14186      setopt NO_GLOB_SUBST
14187    fi
14188
14189    cfgfile="${ofile}T"
14190    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14191    $RM "$cfgfile"
14192
14193    cat <<_LT_EOF >> "$cfgfile"
14194#! $SHELL
14195
14196# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14197# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14198# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14199# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14200#
14201#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14202#                 2006, 2007, 2008 Free Software Foundation, Inc.
14203#   Written by Gordon Matzigkeit, 1996
14204#
14205#   This file is part of GNU Libtool.
14206#
14207# GNU Libtool is free software; you can redistribute it and/or
14208# modify it under the terms of the GNU General Public License as
14209# published by the Free Software Foundation; either version 2 of
14210# the License, or (at your option) any later version.
14211#
14212# As a special exception to the GNU General Public License,
14213# if you distribute this file as part of a program or library that
14214# is built using GNU Libtool, you may include this file under the
14215# same distribution terms that you use for the rest of that program.
14216#
14217# GNU Libtool is distributed in the hope that it will be useful,
14218# but WITHOUT ANY WARRANTY; without even the implied warranty of
14219# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14220# GNU General Public License for more details.
14221#
14222# You should have received a copy of the GNU General Public License
14223# along with GNU Libtool; see the file COPYING.  If not, a copy
14224# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14225# obtained by writing to the Free Software Foundation, Inc.,
14226# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14227
14228
14229# The names of the tagged configurations supported by this script.
14230available_tags=""
14231
14232# ### BEGIN LIBTOOL CONFIG
14233
14234# Which release of libtool.m4 was used?
14235macro_version=$macro_version
14236macro_revision=$macro_revision
14237
14238# Whether or not to build shared libraries.
14239build_libtool_libs=$enable_shared
14240
14241# Whether or not to build static libraries.
14242build_old_libs=$enable_static
14243
14244# What type of objects to build.
14245pic_mode=$pic_mode
14246
14247# Whether or not to optimize for fast installation.
14248fast_install=$enable_fast_install
14249
14250# The host system.
14251host_alias=$host_alias
14252host=$host
14253host_os=$host_os
14254
14255# The build system.
14256build_alias=$build_alias
14257build=$build
14258build_os=$build_os
14259
14260# A sed program that does not truncate output.
14261SED=$lt_SED
14262
14263# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14264Xsed="\$SED -e 1s/^X//"
14265
14266# A grep program that handles long lines.
14267GREP=$lt_GREP
14268
14269# An ERE matcher.
14270EGREP=$lt_EGREP
14271
14272# A literal string matcher.
14273FGREP=$lt_FGREP
14274
14275# A BSD- or MS-compatible name lister.
14276NM=$lt_NM
14277
14278# Whether we need soft or hard links.
14279LN_S=$lt_LN_S
14280
14281# What is the maximum length of a command?
14282max_cmd_len=$max_cmd_len
14283
14284# Object file suffix (normally "o").
14285objext=$ac_objext
14286
14287# Executable file suffix (normally "").
14288exeext=$exeext
14289
14290# whether the shell understands "unset".
14291lt_unset=$lt_unset
14292
14293# turn spaces into newlines.
14294SP2NL=$lt_lt_SP2NL
14295
14296# turn newlines into spaces.
14297NL2SP=$lt_lt_NL2SP
14298
14299# How to create reloadable object files.
14300reload_flag=$lt_reload_flag
14301reload_cmds=$lt_reload_cmds
14302
14303# An object symbol dumper.
14304OBJDUMP=$lt_OBJDUMP
14305
14306# Method to check whether dependent libraries are shared objects.
14307deplibs_check_method=$lt_deplibs_check_method
14308
14309# Command to use when deplibs_check_method == "file_magic".
14310file_magic_cmd=$lt_file_magic_cmd
14311
14312# The archiver.
14313AR=$lt_AR
14314AR_FLAGS=$lt_AR_FLAGS
14315
14316# A symbol stripping program.
14317STRIP=$lt_STRIP
14318
14319# Commands used to install an old-style archive.
14320RANLIB=$lt_RANLIB
14321old_postinstall_cmds=$lt_old_postinstall_cmds
14322old_postuninstall_cmds=$lt_old_postuninstall_cmds
14323
14324# A C compiler.
14325LTCC=$lt_CC
14326
14327# LTCC compiler flags.
14328LTCFLAGS=$lt_CFLAGS
14329
14330# Take the output of nm and produce a listing of raw symbols and C names.
14331global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14332
14333# Transform the output of nm in a proper C declaration.
14334global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14335
14336# Transform the output of nm in a C name address pair.
14337global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14338
14339# Transform the output of nm in a C name address pair when lib prefix is needed.
14340global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14341
14342# The name of the directory that contains temporary libtool files.
14343objdir=$objdir
14344
14345# Shell to use when invoking shell scripts.
14346SHELL=$lt_SHELL
14347
14348# An echo program that does not interpret backslashes.
14349ECHO=$lt_ECHO
14350
14351# Used to examine libraries when file_magic_cmd begins with "file".
14352MAGIC_CMD=$MAGIC_CMD
14353
14354# Must we lock files when doing compilation?
14355need_locks=$lt_need_locks
14356
14357# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14358DSYMUTIL=$lt_DSYMUTIL
14359
14360# Tool to change global to local symbols on Mac OS X.
14361NMEDIT=$lt_NMEDIT
14362
14363# Tool to manipulate fat objects and archives on Mac OS X.
14364LIPO=$lt_LIPO
14365
14366# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14367OTOOL=$lt_OTOOL
14368
14369# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14370OTOOL64=$lt_OTOOL64
14371
14372# Old archive suffix (normally "a").
14373libext=$libext
14374
14375# Shared library suffix (normally ".so").
14376shrext_cmds=$lt_shrext_cmds
14377
14378# The commands to extract the exported symbol list from a shared archive.
14379extract_expsyms_cmds=$lt_extract_expsyms_cmds
14380
14381# Variables whose values should be saved in libtool wrapper scripts and
14382# restored at link time.
14383variables_saved_for_relink=$lt_variables_saved_for_relink
14384
14385# Do we need the "lib" prefix for modules?
14386need_lib_prefix=$need_lib_prefix
14387
14388# Do we need a version for libraries?
14389need_version=$need_version
14390
14391# Library versioning type.
14392version_type=$version_type
14393
14394# Shared library runtime path variable.
14395runpath_var=$runpath_var
14396
14397# Shared library path variable.
14398shlibpath_var=$shlibpath_var
14399
14400# Is shlibpath searched before the hard-coded library search path?
14401shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14402
14403# Format of library name prefix.
14404libname_spec=$lt_libname_spec
14405
14406# List of archive names.  First name is the real one, the rest are links.
14407# The last name is the one that the linker finds with -lNAME
14408library_names_spec=$lt_library_names_spec
14409
14410# The coded name of the library, if different from the real name.
14411soname_spec=$lt_soname_spec
14412
14413# Command to use after installation of a shared archive.
14414postinstall_cmds=$lt_postinstall_cmds
14415
14416# Command to use after uninstallation of a shared archive.
14417postuninstall_cmds=$lt_postuninstall_cmds
14418
14419# Commands used to finish a libtool library installation in a directory.
14420finish_cmds=$lt_finish_cmds
14421
14422# As "finish_cmds", except a single script fragment to be evaled but
14423# not shown.
14424finish_eval=$lt_finish_eval
14425
14426# Whether we should hardcode library paths into libraries.
14427hardcode_into_libs=$hardcode_into_libs
14428
14429# Compile-time system search path for libraries.
14430sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14431
14432# Run-time system search path for libraries.
14433sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14434
14435# Whether dlopen is supported.
14436dlopen_support=$enable_dlopen
14437
14438# Whether dlopen of programs is supported.
14439dlopen_self=$enable_dlopen_self
14440
14441# Whether dlopen of statically linked programs is supported.
14442dlopen_self_static=$enable_dlopen_self_static
14443
14444# Commands to strip libraries.
14445old_striplib=$lt_old_striplib
14446striplib=$lt_striplib
14447
14448
14449# The linker used to build libraries.
14450LD=$lt_LD
14451
14452# Commands used to build an old-style archive.
14453old_archive_cmds=$lt_old_archive_cmds
14454
14455# A language specific compiler.
14456CC=$lt_compiler
14457
14458# Is the compiler the GNU compiler?
14459with_gcc=$GCC
14460
14461# Compiler flag to turn off builtin functions.
14462no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14463
14464# How to pass a linker flag through the compiler.
14465wl=$lt_lt_prog_compiler_wl
14466
14467# Additional compiler flags for building library objects.
14468pic_flag=$lt_lt_prog_compiler_pic
14469
14470# Compiler flag to prevent dynamic linking.
14471link_static_flag=$lt_lt_prog_compiler_static
14472
14473# Does compiler simultaneously support -c and -o options?
14474compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14475
14476# Whether or not to add -lc for building shared libraries.
14477build_libtool_need_lc=$archive_cmds_need_lc
14478
14479# Whether or not to disallow shared libs when runtime libs are static.
14480allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14481
14482# Compiler flag to allow reflexive dlopens.
14483export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14484
14485# Compiler flag to generate shared objects directly from archives.
14486whole_archive_flag_spec=$lt_whole_archive_flag_spec
14487
14488# Whether the compiler copes with passing no objects directly.
14489compiler_needs_object=$lt_compiler_needs_object
14490
14491# Create an old-style archive from a shared archive.
14492old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14493
14494# Create a temporary old-style archive to link instead of a shared archive.
14495old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14496
14497# Commands used to build a shared archive.
14498archive_cmds=$lt_archive_cmds
14499archive_expsym_cmds=$lt_archive_expsym_cmds
14500
14501# Commands used to build a loadable module if different from building
14502# a shared archive.
14503module_cmds=$lt_module_cmds
14504module_expsym_cmds=$lt_module_expsym_cmds
14505
14506# Whether we are building with GNU ld or not.
14507with_gnu_ld=$lt_with_gnu_ld
14508
14509# Flag that allows shared libraries with undefined symbols to be built.
14510allow_undefined_flag=$lt_allow_undefined_flag
14511
14512# Flag that enforces no undefined symbols.
14513no_undefined_flag=$lt_no_undefined_flag
14514
14515# Flag to hardcode \$libdir into a binary during linking.
14516# This must work even if \$libdir does not exist
14517hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14518
14519# If ld is used when linking, flag to hardcode \$libdir into a binary
14520# during linking.  This must work even if \$libdir does not exist.
14521hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14522
14523# Whether we need a single "-rpath" flag with a separated argument.
14524hardcode_libdir_separator=$lt_hardcode_libdir_separator
14525
14526# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14527# DIR into the resulting binary.
14528hardcode_direct=$hardcode_direct
14529
14530# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14531# DIR into the resulting binary and the resulting library dependency is
14532# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14533# library is relocated.
14534hardcode_direct_absolute=$hardcode_direct_absolute
14535
14536# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14537# into the resulting binary.
14538hardcode_minus_L=$hardcode_minus_L
14539
14540# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14541# into the resulting binary.
14542hardcode_shlibpath_var=$hardcode_shlibpath_var
14543
14544# Set to "yes" if building a shared library automatically hardcodes DIR
14545# into the library and all subsequent libraries and executables linked
14546# against it.
14547hardcode_automatic=$hardcode_automatic
14548
14549# Set to yes if linker adds runtime paths of dependent libraries
14550# to runtime path list.
14551inherit_rpath=$inherit_rpath
14552
14553# Whether libtool must link a program against all its dependency libraries.
14554link_all_deplibs=$link_all_deplibs
14555
14556# Fix the shell variable \$srcfile for the compiler.
14557fix_srcfile_path=$lt_fix_srcfile_path
14558
14559# Set to "yes" if exported symbols are required.
14560always_export_symbols=$always_export_symbols
14561
14562# The commands to list exported symbols.
14563export_symbols_cmds=$lt_export_symbols_cmds
14564
14565# Symbols that should not be listed in the preloaded symbols.
14566exclude_expsyms=$lt_exclude_expsyms
14567
14568# Symbols that must always be exported.
14569include_expsyms=$lt_include_expsyms
14570
14571# Commands necessary for linking programs (against libraries) with templates.
14572prelink_cmds=$lt_prelink_cmds
14573
14574# Specify filename containing input files.
14575file_list_spec=$lt_file_list_spec
14576
14577# How to hardcode a shared library path into an executable.
14578hardcode_action=$hardcode_action
14579
14580# ### END LIBTOOL CONFIG
14581
14582_LT_EOF
14583
14584  case $host_os in
14585  aix3*)
14586    cat <<\_LT_EOF >> "$cfgfile"
14587# AIX sometimes has problems with the GCC collect2 program.  For some
14588# reason, if we set the COLLECT_NAMES environment variable, the problems
14589# vanish in a puff of smoke.
14590if test "X${COLLECT_NAMES+set}" != Xset; then
14591  COLLECT_NAMES=
14592  export COLLECT_NAMES
14593fi
14594_LT_EOF
14595    ;;
14596  esac
14597
14598
14599ltmain="$ac_aux_dir/ltmain.sh"
14600
14601
14602  # We use sed instead of cat because bash on DJGPP gets confused if
14603  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14604  # text mode, it properly converts lines to CR/LF.  This bash problem
14605  # is reportedly fixed, but why not run on old versions too?
14606  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14607    || (rm -f "$cfgfile"; exit 1)
14608
14609  case $xsi_shell in
14610  yes)
14611    cat << \_LT_EOF >> "$cfgfile"
14612
14613# func_dirname file append nondir_replacement
14614# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14615# otherwise set result to NONDIR_REPLACEMENT.
14616func_dirname ()
14617{
14618  case ${1} in
14619    */*) func_dirname_result="${1%/*}${2}" ;;
14620    *  ) func_dirname_result="${3}" ;;
14621  esac
14622}
14623
14624# func_basename file
14625func_basename ()
14626{
14627  func_basename_result="${1##*/}"
14628}
14629
14630# func_dirname_and_basename file append nondir_replacement
14631# perform func_basename and func_dirname in a single function
14632# call:
14633#   dirname:  Compute the dirname of FILE.  If nonempty,
14634#             add APPEND to the result, otherwise set result
14635#             to NONDIR_REPLACEMENT.
14636#             value returned in "$func_dirname_result"
14637#   basename: Compute filename of FILE.
14638#             value retuned in "$func_basename_result"
14639# Implementation must be kept synchronized with func_dirname
14640# and func_basename. For efficiency, we do not delegate to
14641# those functions but instead duplicate the functionality here.
14642func_dirname_and_basename ()
14643{
14644  case ${1} in
14645    */*) func_dirname_result="${1%/*}${2}" ;;
14646    *  ) func_dirname_result="${3}" ;;
14647  esac
14648  func_basename_result="${1##*/}"
14649}
14650
14651# func_stripname prefix suffix name
14652# strip PREFIX and SUFFIX off of NAME.
14653# PREFIX and SUFFIX must not contain globbing or regex special
14654# characters, hashes, percent signs, but SUFFIX may contain a leading
14655# dot (in which case that matches only a dot).
14656func_stripname ()
14657{
14658  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14659  # positional parameters, so assign one to ordinary parameter first.
14660  func_stripname_result=${3}
14661  func_stripname_result=${func_stripname_result#"${1}"}
14662  func_stripname_result=${func_stripname_result%"${2}"}
14663}
14664
14665# func_opt_split
14666func_opt_split ()
14667{
14668  func_opt_split_opt=${1%%=*}
14669  func_opt_split_arg=${1#*=}
14670}
14671
14672# func_lo2o object
14673func_lo2o ()
14674{
14675  case ${1} in
14676    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14677    *)    func_lo2o_result=${1} ;;
14678  esac
14679}
14680
14681# func_xform libobj-or-source
14682func_xform ()
14683{
14684  func_xform_result=${1%.*}.lo
14685}
14686
14687# func_arith arithmetic-term...
14688func_arith ()
14689{
14690  func_arith_result=$(( $* ))
14691}
14692
14693# func_len string
14694# STRING may not start with a hyphen.
14695func_len ()
14696{
14697  func_len_result=${#1}
14698}
14699
14700_LT_EOF
14701    ;;
14702  *) # Bourne compatible functions.
14703    cat << \_LT_EOF >> "$cfgfile"
14704
14705# func_dirname file append nondir_replacement
14706# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14707# otherwise set result to NONDIR_REPLACEMENT.
14708func_dirname ()
14709{
14710  # Extract subdirectory from the argument.
14711  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14712  if test "X$func_dirname_result" = "X${1}"; then
14713    func_dirname_result="${3}"
14714  else
14715    func_dirname_result="$func_dirname_result${2}"
14716  fi
14717}
14718
14719# func_basename file
14720func_basename ()
14721{
14722  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14723}
14724
14725
14726# func_stripname prefix suffix name
14727# strip PREFIX and SUFFIX off of NAME.
14728# PREFIX and SUFFIX must not contain globbing or regex special
14729# characters, hashes, percent signs, but SUFFIX may contain a leading
14730# dot (in which case that matches only a dot).
14731# func_strip_suffix prefix name
14732func_stripname ()
14733{
14734  case ${2} in
14735    .*) func_stripname_result=`$ECHO "X${3}" \
14736           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14737    *)  func_stripname_result=`$ECHO "X${3}" \
14738           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14739  esac
14740}
14741
14742# sed scripts:
14743my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14744my_sed_long_arg='1s/^-[^=]*=//'
14745
14746# func_opt_split
14747func_opt_split ()
14748{
14749  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14750  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14751}
14752
14753# func_lo2o object
14754func_lo2o ()
14755{
14756  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14757}
14758
14759# func_xform libobj-or-source
14760func_xform ()
14761{
14762  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14763}
14764
14765# func_arith arithmetic-term...
14766func_arith ()
14767{
14768  func_arith_result=`expr "$@"`
14769}
14770
14771# func_len string
14772# STRING may not start with a hyphen.
14773func_len ()
14774{
14775  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14776}
14777
14778_LT_EOF
14779esac
14780
14781case $lt_shell_append in
14782  yes)
14783    cat << \_LT_EOF >> "$cfgfile"
14784
14785# func_append var value
14786# Append VALUE to the end of shell variable VAR.
14787func_append ()
14788{
14789  eval "$1+=\$2"
14790}
14791_LT_EOF
14792    ;;
14793  *)
14794    cat << \_LT_EOF >> "$cfgfile"
14795
14796# func_append var value
14797# Append VALUE to the end of shell variable VAR.
14798func_append ()
14799{
14800  eval "$1=\$$1\$2"
14801}
14802
14803_LT_EOF
14804    ;;
14805  esac
14806
14807
14808  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14809    || (rm -f "$cfgfile"; exit 1)
14810
14811  mv -f "$cfgfile" "$ofile" ||
14812    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14813  chmod +x "$ofile"
14814
14815 ;;
14816    "libtool_hack":C)
14817	cp -f libtool libtool_
14818	test -z "$SED" && SED=sed
14819	$SED '1,/^soname_spec/{
14820/^soname_spec/i\
14821# X.Org hack to match monolithic Xaw SONAME\
14822xorglibxawname="libXaw"
14823/^soname_spec/s/libname/xorglibxawname/
14824}' libtool_ > libtool
14825	rm -f libtool_
14826 ;;
14827
14828  esac
14829done # for ac_tag
14830
14831
14832{ (exit 0); exit 0; }
14833_ACEOF
14834chmod +x $CONFIG_STATUS
14835ac_clean_files=$ac_clean_files_save
14836
14837test $ac_write_fail = 0 ||
14838  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14839$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14840   { (exit 1); exit 1; }; }
14841
14842
14843# configure is writing to config.log, and then calls config.status.
14844# config.status does its own redirection, appending to config.log.
14845# Unfortunately, on DOS this fails, as config.log is still kept open
14846# by configure, so config.status won't be able to write to it; its
14847# output is simply discarded.  So we exec the FD to /dev/null,
14848# effectively closing config.log, so it can be properly (re)opened and
14849# appended to by config.status.  When coming back to configure, we
14850# need to make the FD available again.
14851if test "$no_create" != yes; then
14852  ac_cs_success=:
14853  ac_config_status_args=
14854  test "$silent" = yes &&
14855    ac_config_status_args="$ac_config_status_args --quiet"
14856  exec 5>/dev/null
14857  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14858  exec 5>>config.log
14859  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14860  # would make configure fail if this is the last instruction.
14861  $ac_cs_success || { (exit 1); exit 1; }
14862fi
14863if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14864  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14865$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14866fi
14867
14868
14869if test "x$build_v6" = xyes; then
14870   ac_config_files="$ac_config_files xaw6.pc"
14871
14872cat >confcache <<\_ACEOF
14873# This file is a shell script that caches the results of configure
14874# tests run on this system so they can be shared between configure
14875# scripts and configure runs, see configure's option --config-cache.
14876# It is not useful on other systems.  If it contains results you don't
14877# want to keep, you may remove or edit it.
14878#
14879# config.status only pays attention to the cache file if you give it
14880# the --recheck option to rerun configure.
14881#
14882# `ac_cv_env_foo' variables (set or unset) will be overridden when
14883# loading this file, other *unset* `ac_cv_foo' will be assigned the
14884# following values.
14885
14886_ACEOF
14887
14888# The following way of writing the cache mishandles newlines in values,
14889# but we know of no workaround that is simple, portable, and efficient.
14890# So, we kill variables containing newlines.
14891# Ultrix sh set writes to stderr and can't be redirected directly,
14892# and sets the high bit in the cache file unless we assign to the vars.
14893(
14894  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14895    eval ac_val=\$$ac_var
14896    case $ac_val in #(
14897    *${as_nl}*)
14898      case $ac_var in #(
14899      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
14900$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14901      esac
14902      case $ac_var in #(
14903      _ | IFS | as_nl) ;; #(
14904      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14905      *) $as_unset $ac_var ;;
14906      esac ;;
14907    esac
14908  done
14909
14910  (set) 2>&1 |
14911    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14912    *${as_nl}ac_space=\ *)
14913      # `set' does not quote correctly, so add quotes (double-quote
14914      # substitution turns \\\\ into \\, and sed turns \\ into \).
14915      sed -n \
14916	"s/'/'\\\\''/g;
14917	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14918      ;; #(
14919    *)
14920      # `set' quotes correctly as required by POSIX, so do not add quotes.
14921      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14922      ;;
14923    esac |
14924    sort
14925) |
14926  sed '
14927     /^ac_cv_env_/b end
14928     t clear
14929     :clear
14930     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14931     t end
14932     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14933     :end' >>confcache
14934if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14935  if test -w "$cache_file"; then
14936    test "x$cache_file" != "x/dev/null" &&
14937      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
14938$as_echo "$as_me: updating cache $cache_file" >&6;}
14939    cat confcache >$cache_file
14940  else
14941    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14942$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14943  fi
14944fi
14945rm -f confcache
14946
14947test "x$prefix" = xNONE && prefix=$ac_default_prefix
14948# Let make expand exec_prefix.
14949test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14950
14951DEFS=-DHAVE_CONFIG_H
14952
14953ac_libobjs=
14954ac_ltlibobjs=
14955for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14956  # 1. Remove the extension, and $U if already installed.
14957  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14958  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14959  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14960  #    will be set to the directory where LIBOBJS objects are built.
14961  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14962  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14963done
14964LIBOBJS=$ac_libobjs
14965
14966LTLIBOBJS=$ac_ltlibobjs
14967
14968
14969if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14970  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14971Usually this means the macro was only invoked conditionally." >&5
14972$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
14973Usually this means the macro was only invoked conditionally." >&2;}
14974   { (exit 1); exit 1; }; }
14975fi
14976if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14977  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14978Usually this means the macro was only invoked conditionally." >&5
14979$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14980Usually this means the macro was only invoked conditionally." >&2;}
14981   { (exit 1); exit 1; }; }
14982fi
14983if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14984  { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
14985Usually this means the macro was only invoked conditionally." >&5
14986$as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
14987Usually this means the macro was only invoked conditionally." >&2;}
14988   { (exit 1); exit 1; }; }
14989fi
14990if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
14991  { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_DARWIN\" was never defined.
14992Usually this means the macro was only invoked conditionally." >&5
14993$as_echo "$as_me: error: conditional \"PLATFORM_DARWIN\" was never defined.
14994Usually this means the macro was only invoked conditionally." >&2;}
14995   { (exit 1); exit 1; }; }
14996fi
14997if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
14998  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
14999Usually this means the macro was only invoked conditionally." >&5
15000$as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
15001Usually this means the macro was only invoked conditionally." >&2;}
15002   { (exit 1); exit 1; }; }
15003fi
15004if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
15005  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
15006Usually this means the macro was only invoked conditionally." >&5
15007$as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
15008Usually this means the macro was only invoked conditionally." >&2;}
15009   { (exit 1); exit 1; }; }
15010fi
15011
15012: ${CONFIG_STATUS=./config.status}
15013ac_write_fail=0
15014ac_clean_files_save=$ac_clean_files
15015ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15016{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15017$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15018cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15019#! $SHELL
15020# Generated by $as_me.
15021# Run this file to recreate the current configuration.
15022# Compiler output produced by configure, useful for debugging
15023# configure, is in config.log if it exists.
15024
15025debug=false
15026ac_cs_recheck=false
15027ac_cs_silent=false
15028SHELL=\${CONFIG_SHELL-$SHELL}
15029_ACEOF
15030
15031cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15032## --------------------- ##
15033## M4sh Initialization.  ##
15034## --------------------- ##
15035
15036# Be more Bourne compatible
15037DUALCASE=1; export DUALCASE # for MKS sh
15038if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15039  emulate sh
15040  NULLCMD=:
15041  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15042  # is contrary to our usage.  Disable this feature.
15043  alias -g '${1+"$@"}'='"$@"'
15044  setopt NO_GLOB_SUBST
15045else
15046  case `(set -o) 2>/dev/null` in
15047  *posix*) set -o posix ;;
15048esac
15049
15050fi
15051
15052
15053
15054
15055# PATH needs CR
15056# Avoid depending upon Character Ranges.
15057as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15058as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15059as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15060as_cr_digits='0123456789'
15061as_cr_alnum=$as_cr_Letters$as_cr_digits
15062
15063as_nl='
15064'
15065export as_nl
15066# Printing a long string crashes Solaris 7 /usr/bin/printf.
15067as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15068as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15069as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15070if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15071  as_echo='printf %s\n'
15072  as_echo_n='printf %s'
15073else
15074  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15075    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15076    as_echo_n='/usr/ucb/echo -n'
15077  else
15078    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15079    as_echo_n_body='eval
15080      arg=$1;
15081      case $arg in
15082      *"$as_nl"*)
15083	expr "X$arg" : "X\\(.*\\)$as_nl";
15084	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15085      esac;
15086      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15087    '
15088    export as_echo_n_body
15089    as_echo_n='sh -c $as_echo_n_body as_echo'
15090  fi
15091  export as_echo_body
15092  as_echo='sh -c $as_echo_body as_echo'
15093fi
15094
15095# The user is always right.
15096if test "${PATH_SEPARATOR+set}" != set; then
15097  PATH_SEPARATOR=:
15098  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15099    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15100      PATH_SEPARATOR=';'
15101  }
15102fi
15103
15104# Support unset when possible.
15105if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15106  as_unset=unset
15107else
15108  as_unset=false
15109fi
15110
15111
15112# IFS
15113# We need space, tab and new line, in precisely that order.  Quoting is
15114# there to prevent editors from complaining about space-tab.
15115# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15116# splitting by setting IFS to empty value.)
15117IFS=" ""	$as_nl"
15118
15119# Find who we are.  Look in the path if we contain no directory separator.
15120case $0 in
15121  *[\\/]* ) as_myself=$0 ;;
15122  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15123for as_dir in $PATH
15124do
15125  IFS=$as_save_IFS
15126  test -z "$as_dir" && as_dir=.
15127  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15128done
15129IFS=$as_save_IFS
15130
15131     ;;
15132esac
15133# We did not find ourselves, most probably we were run as `sh COMMAND'
15134# in which case we are not to be found in the path.
15135if test "x$as_myself" = x; then
15136  as_myself=$0
15137fi
15138if test ! -f "$as_myself"; then
15139  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15140  { (exit 1); exit 1; }
15141fi
15142
15143# Work around bugs in pre-3.0 UWIN ksh.
15144for as_var in ENV MAIL MAILPATH
15145do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15146done
15147PS1='$ '
15148PS2='> '
15149PS4='+ '
15150
15151# NLS nuisances.
15152LC_ALL=C
15153export LC_ALL
15154LANGUAGE=C
15155export LANGUAGE
15156
15157# Required to use basename.
15158if expr a : '\(a\)' >/dev/null 2>&1 &&
15159   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15160  as_expr=expr
15161else
15162  as_expr=false
15163fi
15164
15165if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15166  as_basename=basename
15167else
15168  as_basename=false
15169fi
15170
15171
15172# Name of the executable.
15173as_me=`$as_basename -- "$0" ||
15174$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15175	 X"$0" : 'X\(//\)$' \| \
15176	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15177$as_echo X/"$0" |
15178    sed '/^.*\/\([^/][^/]*\)\/*$/{
15179	    s//\1/
15180	    q
15181	  }
15182	  /^X\/\(\/\/\)$/{
15183	    s//\1/
15184	    q
15185	  }
15186	  /^X\/\(\/\).*/{
15187	    s//\1/
15188	    q
15189	  }
15190	  s/.*/./; q'`
15191
15192# CDPATH.
15193$as_unset CDPATH
15194
15195
15196
15197  as_lineno_1=$LINENO
15198  as_lineno_2=$LINENO
15199  test "x$as_lineno_1" != "x$as_lineno_2" &&
15200  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15201
15202  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15203  # uniformly replaced by the line number.  The first 'sed' inserts a
15204  # line-number line after each line using $LINENO; the second 'sed'
15205  # does the real work.  The second script uses 'N' to pair each
15206  # line-number line with the line containing $LINENO, and appends
15207  # trailing '-' during substitution so that $LINENO is not a special
15208  # case at line end.
15209  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15210  # scripts with optimization help from Paolo Bonzini.  Blame Lee
15211  # E. McMahon (1931-1989) for sed's syntax.  :-)
15212  sed -n '
15213    p
15214    /[$]LINENO/=
15215  ' <$as_myself |
15216    sed '
15217      s/[$]LINENO.*/&-/
15218      t lineno
15219      b
15220      :lineno
15221      N
15222      :loop
15223      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15224      t loop
15225      s/-\n.*//
15226    ' >$as_me.lineno &&
15227  chmod +x "$as_me.lineno" ||
15228    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15229   { (exit 1); exit 1; }; }
15230
15231  # Don't try to exec as it changes $[0], causing all sort of problems
15232  # (the dirname of $[0] is not the place where we might find the
15233  # original and so on.  Autoconf is especially sensitive to this).
15234  . "./$as_me.lineno"
15235  # Exit status is that of the last command.
15236  exit
15237}
15238
15239
15240if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15241  as_dirname=dirname
15242else
15243  as_dirname=false
15244fi
15245
15246ECHO_C= ECHO_N= ECHO_T=
15247case `echo -n x` in
15248-n*)
15249  case `echo 'x\c'` in
15250  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15251  *)   ECHO_C='\c';;
15252  esac;;
15253*)
15254  ECHO_N='-n';;
15255esac
15256if expr a : '\(a\)' >/dev/null 2>&1 &&
15257   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15258  as_expr=expr
15259else
15260  as_expr=false
15261fi
15262
15263rm -f conf$$ conf$$.exe conf$$.file
15264if test -d conf$$.dir; then
15265  rm -f conf$$.dir/conf$$.file
15266else
15267  rm -f conf$$.dir
15268  mkdir conf$$.dir 2>/dev/null
15269fi
15270if (echo >conf$$.file) 2>/dev/null; then
15271  if ln -s conf$$.file conf$$ 2>/dev/null; then
15272    as_ln_s='ln -s'
15273    # ... but there are two gotchas:
15274    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15275    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15276    # In both cases, we have to default to `cp -p'.
15277    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15278      as_ln_s='cp -p'
15279  elif ln conf$$.file conf$$ 2>/dev/null; then
15280    as_ln_s=ln
15281  else
15282    as_ln_s='cp -p'
15283  fi
15284else
15285  as_ln_s='cp -p'
15286fi
15287rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15288rmdir conf$$.dir 2>/dev/null
15289
15290if mkdir -p . 2>/dev/null; then
15291  as_mkdir_p=:
15292else
15293  test -d ./-p && rmdir ./-p
15294  as_mkdir_p=false
15295fi
15296
15297if test -x / >/dev/null 2>&1; then
15298  as_test_x='test -x'
15299else
15300  if ls -dL / >/dev/null 2>&1; then
15301    as_ls_L_option=L
15302  else
15303    as_ls_L_option=
15304  fi
15305  as_test_x='
15306    eval sh -c '\''
15307      if test -d "$1"; then
15308	test -d "$1/.";
15309      else
15310	case $1 in
15311	-*)set "./$1";;
15312	esac;
15313	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15314	???[sx]*):;;*)false;;esac;fi
15315    '\'' sh
15316  '
15317fi
15318as_executable_p=$as_test_x
15319
15320# Sed expression to map a string onto a valid CPP name.
15321as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15322
15323# Sed expression to map a string onto a valid variable name.
15324as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15325
15326
15327exec 6>&1
15328
15329# Save the log message, to keep $[0] and so on meaningful, and to
15330# report actual input values of CONFIG_FILES etc. instead of their
15331# values after options handling.
15332ac_log="
15333This file was extended by libXaw $as_me 1.0.6, which was
15334generated by GNU Autoconf 2.63.  Invocation command line was
15335
15336  CONFIG_FILES    = $CONFIG_FILES
15337  CONFIG_HEADERS  = $CONFIG_HEADERS
15338  CONFIG_LINKS    = $CONFIG_LINKS
15339  CONFIG_COMMANDS = $CONFIG_COMMANDS
15340  $ $0 $@
15341
15342on `(hostname || uname -n) 2>/dev/null | sed 1q`
15343"
15344
15345_ACEOF
15346
15347case $ac_config_files in *"
15348"*) set x $ac_config_files; shift; ac_config_files=$*;;
15349esac
15350
15351case $ac_config_headers in *"
15352"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15353esac
15354
15355
15356cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15357# Files that config.status was made for.
15358config_files="$ac_config_files"
15359config_headers="$ac_config_headers"
15360config_commands="$ac_config_commands"
15361
15362_ACEOF
15363
15364cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15365ac_cs_usage="\
15366\`$as_me' instantiates files from templates according to the
15367current configuration.
15368
15369Usage: $0 [OPTION]... [FILE]...
15370
15371  -h, --help       print this help, then exit
15372  -V, --version    print version number and configuration settings, then exit
15373  -q, --quiet, --silent
15374                   do not print progress messages
15375  -d, --debug      don't remove temporary files
15376      --recheck    update $as_me by reconfiguring in the same conditions
15377      --file=FILE[:TEMPLATE]
15378                   instantiate the configuration file FILE
15379      --header=FILE[:TEMPLATE]
15380                   instantiate the configuration header FILE
15381
15382Configuration files:
15383$config_files
15384
15385Configuration headers:
15386$config_headers
15387
15388Configuration commands:
15389$config_commands
15390
15391Report bugs to <bug-autoconf@gnu.org>."
15392
15393_ACEOF
15394cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15395ac_cs_version="\\
15396libXaw config.status 1.0.6
15397configured by $0, generated by GNU Autoconf 2.63,
15398  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15399
15400Copyright (C) 2008 Free Software Foundation, Inc.
15401This config.status script is free software; the Free Software Foundation
15402gives unlimited permission to copy, distribute and modify it."
15403
15404ac_pwd='$ac_pwd'
15405srcdir='$srcdir'
15406INSTALL='$INSTALL'
15407MKDIR_P='$MKDIR_P'
15408AWK='$AWK'
15409test -n "\$AWK" || AWK=awk
15410_ACEOF
15411
15412cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15413# The default lists apply if the user does not specify any file.
15414ac_need_defaults=:
15415while test $# != 0
15416do
15417  case $1 in
15418  --*=*)
15419    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15420    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15421    ac_shift=:
15422    ;;
15423  *)
15424    ac_option=$1
15425    ac_optarg=$2
15426    ac_shift=shift
15427    ;;
15428  esac
15429
15430  case $ac_option in
15431  # Handling of the options.
15432  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15433    ac_cs_recheck=: ;;
15434  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15435    $as_echo "$ac_cs_version"; exit ;;
15436  --debug | --debu | --deb | --de | --d | -d )
15437    debug=: ;;
15438  --file | --fil | --fi | --f )
15439    $ac_shift
15440    case $ac_optarg in
15441    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15442    esac
15443    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
15444    ac_need_defaults=false;;
15445  --header | --heade | --head | --hea )
15446    $ac_shift
15447    case $ac_optarg in
15448    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15449    esac
15450    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
15451    ac_need_defaults=false;;
15452  --he | --h)
15453    # Conflict between --help and --header
15454    { $as_echo "$as_me: error: ambiguous option: $1
15455Try \`$0 --help' for more information." >&2
15456   { (exit 1); exit 1; }; };;
15457  --help | --hel | -h )
15458    $as_echo "$ac_cs_usage"; exit ;;
15459  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15460  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15461    ac_cs_silent=: ;;
15462
15463  # This is an error.
15464  -*) { $as_echo "$as_me: error: unrecognized option: $1
15465Try \`$0 --help' for more information." >&2
15466   { (exit 1); exit 1; }; } ;;
15467
15468  *) ac_config_targets="$ac_config_targets $1"
15469     ac_need_defaults=false ;;
15470
15471  esac
15472  shift
15473done
15474
15475ac_configure_extra_args=
15476
15477if $ac_cs_silent; then
15478  exec 6>/dev/null
15479  ac_configure_extra_args="$ac_configure_extra_args --silent"
15480fi
15481
15482_ACEOF
15483cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15484if \$ac_cs_recheck; then
15485  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15486  shift
15487  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15488  CONFIG_SHELL='$SHELL'
15489  export CONFIG_SHELL
15490  exec "\$@"
15491fi
15492
15493_ACEOF
15494cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15495exec 5>>config.log
15496{
15497  echo
15498  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15499## Running $as_me. ##
15500_ASBOX
15501  $as_echo "$ac_log"
15502} >&5
15503
15504_ACEOF
15505cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15506#
15507# INIT-COMMANDS
15508#
15509AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15510
15511
15512# The HP-UX ksh and POSIX shell print the target directory to stdout
15513# if CDPATH is set.
15514(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15515
15516sed_quote_subst='$sed_quote_subst'
15517double_quote_subst='$double_quote_subst'
15518delay_variable_subst='$delay_variable_subst'
15519macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15520macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15521enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15522enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15523pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15524enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15525host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15526host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15527host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15528build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15529build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15530build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15531SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15532Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15533GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15534EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15535FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15536LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15537NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15538LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15539max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15540ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15541exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15542lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15543lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15544lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15545reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15546reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15547OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15548deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15549file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15550AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15551AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15552STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15553RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15554old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15555old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15556old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15557CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15558CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15559compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15560GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15561lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15562lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15563lt_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"`'
15564lt_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"`'
15565objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15566SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15567ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15568MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15569lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15570lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15571lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15572lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15573lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15574need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15575DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15576NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15577LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15578OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15579OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15580libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15581shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15582extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15583archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15584enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15585export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15586whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15587compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15588old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15589old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15590archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15591archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15592module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15593module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15594with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15595allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15596no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15597hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15598hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15599hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15600hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15601hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15602hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15603hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15604hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15605inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15606link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15607fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15608always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15609export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15610exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15611include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15612prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15613file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15614variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15615need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15616need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15617version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15618runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15619shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15620shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15621libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15622library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15623soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15624postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15625postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15626finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15627finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15628hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15629sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15630sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15631hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15632enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15633enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15634enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15635old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15636striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15637
15638LTCC='$LTCC'
15639LTCFLAGS='$LTCFLAGS'
15640compiler='$compiler_DEFAULT'
15641
15642# Quote evaled strings.
15643for var in SED \
15644GREP \
15645EGREP \
15646FGREP \
15647LD \
15648NM \
15649LN_S \
15650lt_SP2NL \
15651lt_NL2SP \
15652reload_flag \
15653OBJDUMP \
15654deplibs_check_method \
15655file_magic_cmd \
15656AR \
15657AR_FLAGS \
15658STRIP \
15659RANLIB \
15660CC \
15661CFLAGS \
15662compiler \
15663lt_cv_sys_global_symbol_pipe \
15664lt_cv_sys_global_symbol_to_cdecl \
15665lt_cv_sys_global_symbol_to_c_name_address \
15666lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15667SHELL \
15668ECHO \
15669lt_prog_compiler_no_builtin_flag \
15670lt_prog_compiler_wl \
15671lt_prog_compiler_pic \
15672lt_prog_compiler_static \
15673lt_cv_prog_compiler_c_o \
15674need_locks \
15675DSYMUTIL \
15676NMEDIT \
15677LIPO \
15678OTOOL \
15679OTOOL64 \
15680shrext_cmds \
15681export_dynamic_flag_spec \
15682whole_archive_flag_spec \
15683compiler_needs_object \
15684with_gnu_ld \
15685allow_undefined_flag \
15686no_undefined_flag \
15687hardcode_libdir_flag_spec \
15688hardcode_libdir_flag_spec_ld \
15689hardcode_libdir_separator \
15690fix_srcfile_path \
15691exclude_expsyms \
15692include_expsyms \
15693file_list_spec \
15694variables_saved_for_relink \
15695libname_spec \
15696library_names_spec \
15697soname_spec \
15698finish_eval \
15699old_striplib \
15700striplib; do
15701    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15702    *[\\\\\\\`\\"\\\$]*)
15703      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15704      ;;
15705    *)
15706      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15707      ;;
15708    esac
15709done
15710
15711# Double-quote double-evaled strings.
15712for var in reload_cmds \
15713old_postinstall_cmds \
15714old_postuninstall_cmds \
15715old_archive_cmds \
15716extract_expsyms_cmds \
15717old_archive_from_new_cmds \
15718old_archive_from_expsyms_cmds \
15719archive_cmds \
15720archive_expsym_cmds \
15721module_cmds \
15722module_expsym_cmds \
15723export_symbols_cmds \
15724prelink_cmds \
15725postinstall_cmds \
15726postuninstall_cmds \
15727finish_cmds \
15728sys_lib_search_path_spec \
15729sys_lib_dlsearch_path_spec; do
15730    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15731    *[\\\\\\\`\\"\\\$]*)
15732      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15733      ;;
15734    *)
15735      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15736      ;;
15737    esac
15738done
15739
15740# Fix-up fallback echo if it was mangled by the above quoting rules.
15741case \$lt_ECHO in
15742*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15743  ;;
15744esac
15745
15746ac_aux_dir='$ac_aux_dir'
15747xsi_shell='$xsi_shell'
15748lt_shell_append='$lt_shell_append'
15749
15750# See if we are running on zsh, and set the options which allow our
15751# commands through without removal of \ escapes INIT.
15752if test -n "\${ZSH_VERSION+set}" ; then
15753   setopt NO_GLOB_SUBST
15754fi
15755
15756
15757    PACKAGE='$PACKAGE'
15758    VERSION='$VERSION'
15759    TIMESTAMP='$TIMESTAMP'
15760    RM='$RM'
15761    ofile='$ofile'
15762
15763ac_aux_dir='$ac_aux_dir'
15764
15765
15766
15767_ACEOF
15768
15769cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15770
15771# Handling of arguments.
15772for ac_config_target in $ac_config_targets
15773do
15774  case $ac_config_target in
15775    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15776    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15777    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15778    "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
15779    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15780    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15781    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
15782    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15783    "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
15784
15785  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15786$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15787   { (exit 1); exit 1; }; };;
15788  esac
15789done
15790
15791
15792# If the user did not use the arguments to specify the items to instantiate,
15793# then the envvar interface is used.  Set only those that are not.
15794# We use the long form for the default assignment because of an extremely
15795# bizarre bug on SunOS 4.1.3.
15796if $ac_need_defaults; then
15797  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15798  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15799  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15800fi
15801
15802# Have a temporary directory for convenience.  Make it in the build tree
15803# simply because there is no reason against having it here, and in addition,
15804# creating and moving files from /tmp can sometimes cause problems.
15805# Hook for its removal unless debugging.
15806# Note that there is a small window in which the directory will not be cleaned:
15807# after its creation but before its name has been assigned to `$tmp'.
15808$debug ||
15809{
15810  tmp=
15811  trap 'exit_status=$?
15812  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15813' 0
15814  trap '{ (exit 1); exit 1; }' 1 2 13 15
15815}
15816# Create a (secure) tmp directory for tmp files.
15817
15818{
15819  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15820  test -n "$tmp" && test -d "$tmp"
15821}  ||
15822{
15823  tmp=./conf$$-$RANDOM
15824  (umask 077 && mkdir "$tmp")
15825} ||
15826{
15827   $as_echo "$as_me: cannot create a temporary directory in ." >&2
15828   { (exit 1); exit 1; }
15829}
15830
15831# Set up the scripts for CONFIG_FILES section.
15832# No need to generate them if there are no CONFIG_FILES.
15833# This happens for instance with `./config.status config.h'.
15834if test -n "$CONFIG_FILES"; then
15835
15836
15837ac_cr='
15838'
15839ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15840if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15841  ac_cs_awk_cr='\\r'
15842else
15843  ac_cs_awk_cr=$ac_cr
15844fi
15845
15846echo 'BEGIN {' >"$tmp/subs1.awk" &&
15847_ACEOF
15848
15849
15850{
15851  echo "cat >conf$$subs.awk <<_ACEOF" &&
15852  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15853  echo "_ACEOF"
15854} >conf$$subs.sh ||
15855  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15856$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15857   { (exit 1); exit 1; }; }
15858ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15859ac_delim='%!_!# '
15860for ac_last_try in false false false false false :; do
15861  . ./conf$$subs.sh ||
15862    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15863$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15864   { (exit 1); exit 1; }; }
15865
15866  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15867  if test $ac_delim_n = $ac_delim_num; then
15868    break
15869  elif $ac_last_try; then
15870    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15871$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15872   { (exit 1); exit 1; }; }
15873  else
15874    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15875  fi
15876done
15877rm -f conf$$subs.sh
15878
15879cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15880cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15881_ACEOF
15882sed -n '
15883h
15884s/^/S["/; s/!.*/"]=/
15885p
15886g
15887s/^[^!]*!//
15888:repl
15889t repl
15890s/'"$ac_delim"'$//
15891t delim
15892:nl
15893h
15894s/\(.\{148\}\).*/\1/
15895t more1
15896s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15897p
15898n
15899b repl
15900:more1
15901s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15902p
15903g
15904s/.\{148\}//
15905t nl
15906:delim
15907h
15908s/\(.\{148\}\).*/\1/
15909t more2
15910s/["\\]/\\&/g; s/^/"/; s/$/"/
15911p
15912b
15913:more2
15914s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15915p
15916g
15917s/.\{148\}//
15918t delim
15919' <conf$$subs.awk | sed '
15920/^[^""]/{
15921  N
15922  s/\n//
15923}
15924' >>$CONFIG_STATUS || ac_write_fail=1
15925rm -f conf$$subs.awk
15926cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15927_ACAWK
15928cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15929  for (key in S) S_is_set[key] = 1
15930  FS = ""
15931
15932}
15933{
15934  line = $ 0
15935  nfields = split(line, field, "@")
15936  substed = 0
15937  len = length(field[1])
15938  for (i = 2; i < nfields; i++) {
15939    key = field[i]
15940    keylen = length(key)
15941    if (S_is_set[key]) {
15942      value = S[key]
15943      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15944      len += length(value) + length(field[++i])
15945      substed = 1
15946    } else
15947      len += 1 + keylen
15948  }
15949
15950  print line
15951}
15952
15953_ACAWK
15954_ACEOF
15955cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15956if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15957  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15958else
15959  cat
15960fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15961  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
15962$as_echo "$as_me: error: could not setup config files machinery" >&2;}
15963   { (exit 1); exit 1; }; }
15964_ACEOF
15965
15966# VPATH may cause trouble with some makes, so we remove $(srcdir),
15967# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15968# trailing colons and then remove the whole line if VPATH becomes empty
15969# (actually we leave an empty line to preserve line numbers).
15970if test "x$srcdir" = x.; then
15971  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
15972s/:*\$(srcdir):*/:/
15973s/:*\${srcdir}:*/:/
15974s/:*@srcdir@:*/:/
15975s/^\([^=]*=[	 ]*\):*/\1/
15976s/:*$//
15977s/^[^=]*=[	 ]*$//
15978}'
15979fi
15980
15981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15982fi # test -n "$CONFIG_FILES"
15983
15984# Set up the scripts for CONFIG_HEADERS section.
15985# No need to generate them if there are no CONFIG_HEADERS.
15986# This happens for instance with `./config.status Makefile'.
15987if test -n "$CONFIG_HEADERS"; then
15988cat >"$tmp/defines.awk" <<\_ACAWK ||
15989BEGIN {
15990_ACEOF
15991
15992# Transform confdefs.h into an awk script `defines.awk', embedded as
15993# here-document in config.status, that substitutes the proper values into
15994# config.h.in to produce config.h.
15995
15996# Create a delimiter string that does not exist in confdefs.h, to ease
15997# handling of long lines.
15998ac_delim='%!_!# '
15999for ac_last_try in false false :; do
16000  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16001  if test -z "$ac_t"; then
16002    break
16003  elif $ac_last_try; then
16004    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
16005$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
16006   { (exit 1); exit 1; }; }
16007  else
16008    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16009  fi
16010done
16011
16012# For the awk script, D is an array of macro values keyed by name,
16013# likewise P contains macro parameters if any.  Preserve backslash
16014# newline sequences.
16015
16016ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16017sed -n '
16018s/.\{148\}/&'"$ac_delim"'/g
16019t rset
16020:rset
16021s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16022t def
16023d
16024:def
16025s/\\$//
16026t bsnl
16027s/["\\]/\\&/g
16028s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16029D["\1"]=" \3"/p
16030s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16031d
16032:bsnl
16033s/["\\]/\\&/g
16034s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16035D["\1"]=" \3\\\\\\n"\\/p
16036t cont
16037s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16038t cont
16039d
16040:cont
16041n
16042s/.\{148\}/&'"$ac_delim"'/g
16043t clear
16044:clear
16045s/\\$//
16046t bsnlc
16047s/["\\]/\\&/g; s/^/"/; s/$/"/p
16048d
16049:bsnlc
16050s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16051b cont
16052' <confdefs.h | sed '
16053s/'"$ac_delim"'/"\\\
16054"/g' >>$CONFIG_STATUS || ac_write_fail=1
16055
16056cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16057  for (key in D) D_is_set[key] = 1
16058  FS = ""
16059}
16060/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16061  line = \$ 0
16062  split(line, arg, " ")
16063  if (arg[1] == "#") {
16064    defundef = arg[2]
16065    mac1 = arg[3]
16066  } else {
16067    defundef = substr(arg[1], 2)
16068    mac1 = arg[2]
16069  }
16070  split(mac1, mac2, "(") #)
16071  macro = mac2[1]
16072  prefix = substr(line, 1, index(line, defundef) - 1)
16073  if (D_is_set[macro]) {
16074    # Preserve the white space surrounding the "#".
16075    print prefix "define", macro P[macro] D[macro]
16076    next
16077  } else {
16078    # Replace #undef with comments.  This is necessary, for example,
16079    # in the case of _POSIX_SOURCE, which is predefined and required
16080    # on some systems where configure will not decide to define it.
16081    if (defundef == "undef") {
16082      print "/*", prefix defundef, macro, "*/"
16083      next
16084    }
16085  }
16086}
16087{ print }
16088_ACAWK
16089_ACEOF
16090cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16091  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16092$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16093   { (exit 1); exit 1; }; }
16094fi # test -n "$CONFIG_HEADERS"
16095
16096
16097eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16098shift
16099for ac_tag
16100do
16101  case $ac_tag in
16102  :[FHLC]) ac_mode=$ac_tag; continue;;
16103  esac
16104  case $ac_mode$ac_tag in
16105  :[FHL]*:*);;
16106  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16107$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16108   { (exit 1); exit 1; }; };;
16109  :[FH]-) ac_tag=-:-;;
16110  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16111  esac
16112  ac_save_IFS=$IFS
16113  IFS=:
16114  set x $ac_tag
16115  IFS=$ac_save_IFS
16116  shift
16117  ac_file=$1
16118  shift
16119
16120  case $ac_mode in
16121  :L) ac_source=$1;;
16122  :[FH])
16123    ac_file_inputs=
16124    for ac_f
16125    do
16126      case $ac_f in
16127      -) ac_f="$tmp/stdin";;
16128      *) # Look for the file first in the build tree, then in the source tree
16129	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16130	 # because $ac_f cannot contain `:'.
16131	 test -f "$ac_f" ||
16132	   case $ac_f in
16133	   [\\/$]*) false;;
16134	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16135	   esac ||
16136	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16137$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16138   { (exit 1); exit 1; }; };;
16139      esac
16140      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16141      ac_file_inputs="$ac_file_inputs '$ac_f'"
16142    done
16143
16144    # Let's still pretend it is `configure' which instantiates (i.e., don't
16145    # use $as_me), people would be surprised to read:
16146    #    /* config.h.  Generated by config.status.  */
16147    configure_input='Generated from '`
16148	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16149	`' by configure.'
16150    if test x"$ac_file" != x-; then
16151      configure_input="$ac_file.  $configure_input"
16152      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16153$as_echo "$as_me: creating $ac_file" >&6;}
16154    fi
16155    # Neutralize special characters interpreted by sed in replacement strings.
16156    case $configure_input in #(
16157    *\&* | *\|* | *\\* )
16158       ac_sed_conf_input=`$as_echo "$configure_input" |
16159       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16160    *) ac_sed_conf_input=$configure_input;;
16161    esac
16162
16163    case $ac_tag in
16164    *:-:* | *:-) cat >"$tmp/stdin" \
16165      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16166$as_echo "$as_me: error: could not create $ac_file" >&2;}
16167   { (exit 1); exit 1; }; } ;;
16168    esac
16169    ;;
16170  esac
16171
16172  ac_dir=`$as_dirname -- "$ac_file" ||
16173$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16174	 X"$ac_file" : 'X\(//\)[^/]' \| \
16175	 X"$ac_file" : 'X\(//\)$' \| \
16176	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16177$as_echo X"$ac_file" |
16178    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16179	    s//\1/
16180	    q
16181	  }
16182	  /^X\(\/\/\)[^/].*/{
16183	    s//\1/
16184	    q
16185	  }
16186	  /^X\(\/\/\)$/{
16187	    s//\1/
16188	    q
16189	  }
16190	  /^X\(\/\).*/{
16191	    s//\1/
16192	    q
16193	  }
16194	  s/.*/./; q'`
16195  { as_dir="$ac_dir"
16196  case $as_dir in #(
16197  -*) as_dir=./$as_dir;;
16198  esac
16199  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16200    as_dirs=
16201    while :; do
16202      case $as_dir in #(
16203      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16204      *) as_qdir=$as_dir;;
16205      esac
16206      as_dirs="'$as_qdir' $as_dirs"
16207      as_dir=`$as_dirname -- "$as_dir" ||
16208$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16209	 X"$as_dir" : 'X\(//\)[^/]' \| \
16210	 X"$as_dir" : 'X\(//\)$' \| \
16211	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16212$as_echo X"$as_dir" |
16213    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16214	    s//\1/
16215	    q
16216	  }
16217	  /^X\(\/\/\)[^/].*/{
16218	    s//\1/
16219	    q
16220	  }
16221	  /^X\(\/\/\)$/{
16222	    s//\1/
16223	    q
16224	  }
16225	  /^X\(\/\).*/{
16226	    s//\1/
16227	    q
16228	  }
16229	  s/.*/./; q'`
16230      test -d "$as_dir" && break
16231    done
16232    test -z "$as_dirs" || eval "mkdir $as_dirs"
16233  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16234$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16235   { (exit 1); exit 1; }; }; }
16236  ac_builddir=.
16237
16238case "$ac_dir" in
16239.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16240*)
16241  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16242  # A ".." for each directory in $ac_dir_suffix.
16243  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16244  case $ac_top_builddir_sub in
16245  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16246  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16247  esac ;;
16248esac
16249ac_abs_top_builddir=$ac_pwd
16250ac_abs_builddir=$ac_pwd$ac_dir_suffix
16251# for backward compatibility:
16252ac_top_builddir=$ac_top_build_prefix
16253
16254case $srcdir in
16255  .)  # We are building in place.
16256    ac_srcdir=.
16257    ac_top_srcdir=$ac_top_builddir_sub
16258    ac_abs_top_srcdir=$ac_pwd ;;
16259  [\\/]* | ?:[\\/]* )  # Absolute name.
16260    ac_srcdir=$srcdir$ac_dir_suffix;
16261    ac_top_srcdir=$srcdir
16262    ac_abs_top_srcdir=$srcdir ;;
16263  *) # Relative name.
16264    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16265    ac_top_srcdir=$ac_top_build_prefix$srcdir
16266    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16267esac
16268ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16269
16270
16271  case $ac_mode in
16272  :F)
16273  #
16274  # CONFIG_FILE
16275  #
16276
16277  case $INSTALL in
16278  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16279  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16280  esac
16281  ac_MKDIR_P=$MKDIR_P
16282  case $MKDIR_P in
16283  [\\/$]* | ?:[\\/]* ) ;;
16284  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16285  esac
16286_ACEOF
16287
16288cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16289# If the template does not know about datarootdir, expand it.
16290# FIXME: This hack should be removed a few years after 2.60.
16291ac_datarootdir_hack=; ac_datarootdir_seen=
16292
16293ac_sed_dataroot='
16294/datarootdir/ {
16295  p
16296  q
16297}
16298/@datadir@/p
16299/@docdir@/p
16300/@infodir@/p
16301/@localedir@/p
16302/@mandir@/p
16303'
16304case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16305*datarootdir*) ac_datarootdir_seen=yes;;
16306*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16307  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16308$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16309_ACEOF
16310cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16311  ac_datarootdir_hack='
16312  s&@datadir@&$datadir&g
16313  s&@docdir@&$docdir&g
16314  s&@infodir@&$infodir&g
16315  s&@localedir@&$localedir&g
16316  s&@mandir@&$mandir&g
16317    s&\\\${datarootdir}&$datarootdir&g' ;;
16318esac
16319_ACEOF
16320
16321# Neutralize VPATH when `$srcdir' = `.'.
16322# Shell code in configure.ac might set extrasub.
16323# FIXME: do we really want to maintain this feature?
16324cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16325ac_sed_extra="$ac_vpsub
16326$extrasub
16327_ACEOF
16328cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16329:t
16330/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16331s|@configure_input@|$ac_sed_conf_input|;t t
16332s&@top_builddir@&$ac_top_builddir_sub&;t t
16333s&@top_build_prefix@&$ac_top_build_prefix&;t t
16334s&@srcdir@&$ac_srcdir&;t t
16335s&@abs_srcdir@&$ac_abs_srcdir&;t t
16336s&@top_srcdir@&$ac_top_srcdir&;t t
16337s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16338s&@builddir@&$ac_builddir&;t t
16339s&@abs_builddir@&$ac_abs_builddir&;t t
16340s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16341s&@INSTALL@&$ac_INSTALL&;t t
16342s&@MKDIR_P@&$ac_MKDIR_P&;t t
16343$ac_datarootdir_hack
16344"
16345eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16346  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16347$as_echo "$as_me: error: could not create $ac_file" >&2;}
16348   { (exit 1); exit 1; }; }
16349
16350test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16351  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16352  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16353  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16354which seems to be undefined.  Please make sure it is defined." >&5
16355$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16356which seems to be undefined.  Please make sure it is defined." >&2;}
16357
16358  rm -f "$tmp/stdin"
16359  case $ac_file in
16360  -) cat "$tmp/out" && rm -f "$tmp/out";;
16361  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16362  esac \
16363  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16364$as_echo "$as_me: error: could not create $ac_file" >&2;}
16365   { (exit 1); exit 1; }; }
16366 ;;
16367  :H)
16368  #
16369  # CONFIG_HEADER
16370  #
16371  if test x"$ac_file" != x-; then
16372    {
16373      $as_echo "/* $configure_input  */" \
16374      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16375    } >"$tmp/config.h" \
16376      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16377$as_echo "$as_me: error: could not create $ac_file" >&2;}
16378   { (exit 1); exit 1; }; }
16379    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16380      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16381$as_echo "$as_me: $ac_file is unchanged" >&6;}
16382    else
16383      rm -f "$ac_file"
16384      mv "$tmp/config.h" "$ac_file" \
16385	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16386$as_echo "$as_me: error: could not create $ac_file" >&2;}
16387   { (exit 1); exit 1; }; }
16388    fi
16389  else
16390    $as_echo "/* $configure_input  */" \
16391      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16392      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16393$as_echo "$as_me: error: could not create -" >&2;}
16394   { (exit 1); exit 1; }; }
16395  fi
16396# Compute "$ac_file"'s index in $config_headers.
16397_am_arg="$ac_file"
16398_am_stamp_count=1
16399for _am_header in $config_headers :; do
16400  case $_am_header in
16401    $_am_arg | $_am_arg:* )
16402      break ;;
16403    * )
16404      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16405  esac
16406done
16407echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16408$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16409	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16410	 X"$_am_arg" : 'X\(//\)$' \| \
16411	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16412$as_echo X"$_am_arg" |
16413    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16414	    s//\1/
16415	    q
16416	  }
16417	  /^X\(\/\/\)[^/].*/{
16418	    s//\1/
16419	    q
16420	  }
16421	  /^X\(\/\/\)$/{
16422	    s//\1/
16423	    q
16424	  }
16425	  /^X\(\/\).*/{
16426	    s//\1/
16427	    q
16428	  }
16429	  s/.*/./; q'`/stamp-h$_am_stamp_count
16430 ;;
16431
16432  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
16433$as_echo "$as_me: executing $ac_file commands" >&6;}
16434 ;;
16435  esac
16436
16437
16438  case $ac_file$ac_mode in
16439    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
16440# are listed without --file.  Let's play safe and only enable the eval
16441# if we detect the quoting.
16442case $CONFIG_FILES in
16443*\'*) eval set x "$CONFIG_FILES" ;;
16444*)   set x $CONFIG_FILES ;;
16445esac
16446shift
16447for mf
16448do
16449  # Strip MF so we end up with the name of the file.
16450  mf=`echo "$mf" | sed -e 's/:.*$//'`
16451  # Check whether this is an Automake generated Makefile or not.
16452  # We used to match only the files named `Makefile.in', but
16453  # some people rename them; so instead we look at the file content.
16454  # Grep'ing the first line is not enough: some people post-process
16455  # each Makefile.in and add a new line on top of each file to say so.
16456  # Grep'ing the whole file is not good either: AIX grep has a line
16457  # limit of 2048, but all sed's we know have understand at least 4000.
16458  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16459    dirpart=`$as_dirname -- "$mf" ||
16460$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16461	 X"$mf" : 'X\(//\)[^/]' \| \
16462	 X"$mf" : 'X\(//\)$' \| \
16463	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16464$as_echo X"$mf" |
16465    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16466	    s//\1/
16467	    q
16468	  }
16469	  /^X\(\/\/\)[^/].*/{
16470	    s//\1/
16471	    q
16472	  }
16473	  /^X\(\/\/\)$/{
16474	    s//\1/
16475	    q
16476	  }
16477	  /^X\(\/\).*/{
16478	    s//\1/
16479	    q
16480	  }
16481	  s/.*/./; q'`
16482  else
16483    continue
16484  fi
16485  # Extract the definition of DEPDIR, am__include, and am__quote
16486  # from the Makefile without running `make'.
16487  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16488  test -z "$DEPDIR" && continue
16489  am__include=`sed -n 's/^am__include = //p' < "$mf"`
16490  test -z "am__include" && continue
16491  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16492  # When using ansi2knr, U may be empty or an underscore; expand it
16493  U=`sed -n 's/^U = //p' < "$mf"`
16494  # Find all dependency output files, they are included files with
16495  # $(DEPDIR) in their names.  We invoke sed twice because it is the
16496  # simplest approach to changing $(DEPDIR) to its actual value in the
16497  # expansion.
16498  for file in `sed -n "
16499    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16500       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16501    # Make sure the directory exists.
16502    test -f "$dirpart/$file" && continue
16503    fdir=`$as_dirname -- "$file" ||
16504$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16505	 X"$file" : 'X\(//\)[^/]' \| \
16506	 X"$file" : 'X\(//\)$' \| \
16507	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16508$as_echo X"$file" |
16509    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16510	    s//\1/
16511	    q
16512	  }
16513	  /^X\(\/\/\)[^/].*/{
16514	    s//\1/
16515	    q
16516	  }
16517	  /^X\(\/\/\)$/{
16518	    s//\1/
16519	    q
16520	  }
16521	  /^X\(\/\).*/{
16522	    s//\1/
16523	    q
16524	  }
16525	  s/.*/./; q'`
16526    { as_dir=$dirpart/$fdir
16527  case $as_dir in #(
16528  -*) as_dir=./$as_dir;;
16529  esac
16530  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16531    as_dirs=
16532    while :; do
16533      case $as_dir in #(
16534      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16535      *) as_qdir=$as_dir;;
16536      esac
16537      as_dirs="'$as_qdir' $as_dirs"
16538      as_dir=`$as_dirname -- "$as_dir" ||
16539$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16540	 X"$as_dir" : 'X\(//\)[^/]' \| \
16541	 X"$as_dir" : 'X\(//\)$' \| \
16542	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16543$as_echo X"$as_dir" |
16544    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16545	    s//\1/
16546	    q
16547	  }
16548	  /^X\(\/\/\)[^/].*/{
16549	    s//\1/
16550	    q
16551	  }
16552	  /^X\(\/\/\)$/{
16553	    s//\1/
16554	    q
16555	  }
16556	  /^X\(\/\).*/{
16557	    s//\1/
16558	    q
16559	  }
16560	  s/.*/./; q'`
16561      test -d "$as_dir" && break
16562    done
16563    test -z "$as_dirs" || eval "mkdir $as_dirs"
16564  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16565$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16566   { (exit 1); exit 1; }; }; }
16567    # echo "creating $dirpart/$file"
16568    echo '# dummy' > "$dirpart/$file"
16569  done
16570done
16571 ;;
16572    "libtool":C)
16573
16574    # See if we are running on zsh, and set the options which allow our
16575    # commands through without removal of \ escapes.
16576    if test -n "${ZSH_VERSION+set}" ; then
16577      setopt NO_GLOB_SUBST
16578    fi
16579
16580    cfgfile="${ofile}T"
16581    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16582    $RM "$cfgfile"
16583
16584    cat <<_LT_EOF >> "$cfgfile"
16585#! $SHELL
16586
16587# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16588# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16589# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16590# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16591#
16592#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16593#                 2006, 2007, 2008 Free Software Foundation, Inc.
16594#   Written by Gordon Matzigkeit, 1996
16595#
16596#   This file is part of GNU Libtool.
16597#
16598# GNU Libtool is free software; you can redistribute it and/or
16599# modify it under the terms of the GNU General Public License as
16600# published by the Free Software Foundation; either version 2 of
16601# the License, or (at your option) any later version.
16602#
16603# As a special exception to the GNU General Public License,
16604# if you distribute this file as part of a program or library that
16605# is built using GNU Libtool, you may include this file under the
16606# same distribution terms that you use for the rest of that program.
16607#
16608# GNU Libtool is distributed in the hope that it will be useful,
16609# but WITHOUT ANY WARRANTY; without even the implied warranty of
16610# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16611# GNU General Public License for more details.
16612#
16613# You should have received a copy of the GNU General Public License
16614# along with GNU Libtool; see the file COPYING.  If not, a copy
16615# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16616# obtained by writing to the Free Software Foundation, Inc.,
16617# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16618
16619
16620# The names of the tagged configurations supported by this script.
16621available_tags=""
16622
16623# ### BEGIN LIBTOOL CONFIG
16624
16625# Which release of libtool.m4 was used?
16626macro_version=$macro_version
16627macro_revision=$macro_revision
16628
16629# Whether or not to build shared libraries.
16630build_libtool_libs=$enable_shared
16631
16632# Whether or not to build static libraries.
16633build_old_libs=$enable_static
16634
16635# What type of objects to build.
16636pic_mode=$pic_mode
16637
16638# Whether or not to optimize for fast installation.
16639fast_install=$enable_fast_install
16640
16641# The host system.
16642host_alias=$host_alias
16643host=$host
16644host_os=$host_os
16645
16646# The build system.
16647build_alias=$build_alias
16648build=$build
16649build_os=$build_os
16650
16651# A sed program that does not truncate output.
16652SED=$lt_SED
16653
16654# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16655Xsed="\$SED -e 1s/^X//"
16656
16657# A grep program that handles long lines.
16658GREP=$lt_GREP
16659
16660# An ERE matcher.
16661EGREP=$lt_EGREP
16662
16663# A literal string matcher.
16664FGREP=$lt_FGREP
16665
16666# A BSD- or MS-compatible name lister.
16667NM=$lt_NM
16668
16669# Whether we need soft or hard links.
16670LN_S=$lt_LN_S
16671
16672# What is the maximum length of a command?
16673max_cmd_len=$max_cmd_len
16674
16675# Object file suffix (normally "o").
16676objext=$ac_objext
16677
16678# Executable file suffix (normally "").
16679exeext=$exeext
16680
16681# whether the shell understands "unset".
16682lt_unset=$lt_unset
16683
16684# turn spaces into newlines.
16685SP2NL=$lt_lt_SP2NL
16686
16687# turn newlines into spaces.
16688NL2SP=$lt_lt_NL2SP
16689
16690# How to create reloadable object files.
16691reload_flag=$lt_reload_flag
16692reload_cmds=$lt_reload_cmds
16693
16694# An object symbol dumper.
16695OBJDUMP=$lt_OBJDUMP
16696
16697# Method to check whether dependent libraries are shared objects.
16698deplibs_check_method=$lt_deplibs_check_method
16699
16700# Command to use when deplibs_check_method == "file_magic".
16701file_magic_cmd=$lt_file_magic_cmd
16702
16703# The archiver.
16704AR=$lt_AR
16705AR_FLAGS=$lt_AR_FLAGS
16706
16707# A symbol stripping program.
16708STRIP=$lt_STRIP
16709
16710# Commands used to install an old-style archive.
16711RANLIB=$lt_RANLIB
16712old_postinstall_cmds=$lt_old_postinstall_cmds
16713old_postuninstall_cmds=$lt_old_postuninstall_cmds
16714
16715# A C compiler.
16716LTCC=$lt_CC
16717
16718# LTCC compiler flags.
16719LTCFLAGS=$lt_CFLAGS
16720
16721# Take the output of nm and produce a listing of raw symbols and C names.
16722global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16723
16724# Transform the output of nm in a proper C declaration.
16725global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16726
16727# Transform the output of nm in a C name address pair.
16728global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16729
16730# Transform the output of nm in a C name address pair when lib prefix is needed.
16731global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16732
16733# The name of the directory that contains temporary libtool files.
16734objdir=$objdir
16735
16736# Shell to use when invoking shell scripts.
16737SHELL=$lt_SHELL
16738
16739# An echo program that does not interpret backslashes.
16740ECHO=$lt_ECHO
16741
16742# Used to examine libraries when file_magic_cmd begins with "file".
16743MAGIC_CMD=$MAGIC_CMD
16744
16745# Must we lock files when doing compilation?
16746need_locks=$lt_need_locks
16747
16748# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16749DSYMUTIL=$lt_DSYMUTIL
16750
16751# Tool to change global to local symbols on Mac OS X.
16752NMEDIT=$lt_NMEDIT
16753
16754# Tool to manipulate fat objects and archives on Mac OS X.
16755LIPO=$lt_LIPO
16756
16757# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16758OTOOL=$lt_OTOOL
16759
16760# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16761OTOOL64=$lt_OTOOL64
16762
16763# Old archive suffix (normally "a").
16764libext=$libext
16765
16766# Shared library suffix (normally ".so").
16767shrext_cmds=$lt_shrext_cmds
16768
16769# The commands to extract the exported symbol list from a shared archive.
16770extract_expsyms_cmds=$lt_extract_expsyms_cmds
16771
16772# Variables whose values should be saved in libtool wrapper scripts and
16773# restored at link time.
16774variables_saved_for_relink=$lt_variables_saved_for_relink
16775
16776# Do we need the "lib" prefix for modules?
16777need_lib_prefix=$need_lib_prefix
16778
16779# Do we need a version for libraries?
16780need_version=$need_version
16781
16782# Library versioning type.
16783version_type=$version_type
16784
16785# Shared library runtime path variable.
16786runpath_var=$runpath_var
16787
16788# Shared library path variable.
16789shlibpath_var=$shlibpath_var
16790
16791# Is shlibpath searched before the hard-coded library search path?
16792shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16793
16794# Format of library name prefix.
16795libname_spec=$lt_libname_spec
16796
16797# List of archive names.  First name is the real one, the rest are links.
16798# The last name is the one that the linker finds with -lNAME
16799library_names_spec=$lt_library_names_spec
16800
16801# The coded name of the library, if different from the real name.
16802soname_spec=$lt_soname_spec
16803
16804# Command to use after installation of a shared archive.
16805postinstall_cmds=$lt_postinstall_cmds
16806
16807# Command to use after uninstallation of a shared archive.
16808postuninstall_cmds=$lt_postuninstall_cmds
16809
16810# Commands used to finish a libtool library installation in a directory.
16811finish_cmds=$lt_finish_cmds
16812
16813# As "finish_cmds", except a single script fragment to be evaled but
16814# not shown.
16815finish_eval=$lt_finish_eval
16816
16817# Whether we should hardcode library paths into libraries.
16818hardcode_into_libs=$hardcode_into_libs
16819
16820# Compile-time system search path for libraries.
16821sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16822
16823# Run-time system search path for libraries.
16824sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16825
16826# Whether dlopen is supported.
16827dlopen_support=$enable_dlopen
16828
16829# Whether dlopen of programs is supported.
16830dlopen_self=$enable_dlopen_self
16831
16832# Whether dlopen of statically linked programs is supported.
16833dlopen_self_static=$enable_dlopen_self_static
16834
16835# Commands to strip libraries.
16836old_striplib=$lt_old_striplib
16837striplib=$lt_striplib
16838
16839
16840# The linker used to build libraries.
16841LD=$lt_LD
16842
16843# Commands used to build an old-style archive.
16844old_archive_cmds=$lt_old_archive_cmds
16845
16846# A language specific compiler.
16847CC=$lt_compiler
16848
16849# Is the compiler the GNU compiler?
16850with_gcc=$GCC
16851
16852# Compiler flag to turn off builtin functions.
16853no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16854
16855# How to pass a linker flag through the compiler.
16856wl=$lt_lt_prog_compiler_wl
16857
16858# Additional compiler flags for building library objects.
16859pic_flag=$lt_lt_prog_compiler_pic
16860
16861# Compiler flag to prevent dynamic linking.
16862link_static_flag=$lt_lt_prog_compiler_static
16863
16864# Does compiler simultaneously support -c and -o options?
16865compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16866
16867# Whether or not to add -lc for building shared libraries.
16868build_libtool_need_lc=$archive_cmds_need_lc
16869
16870# Whether or not to disallow shared libs when runtime libs are static.
16871allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16872
16873# Compiler flag to allow reflexive dlopens.
16874export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16875
16876# Compiler flag to generate shared objects directly from archives.
16877whole_archive_flag_spec=$lt_whole_archive_flag_spec
16878
16879# Whether the compiler copes with passing no objects directly.
16880compiler_needs_object=$lt_compiler_needs_object
16881
16882# Create an old-style archive from a shared archive.
16883old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16884
16885# Create a temporary old-style archive to link instead of a shared archive.
16886old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16887
16888# Commands used to build a shared archive.
16889archive_cmds=$lt_archive_cmds
16890archive_expsym_cmds=$lt_archive_expsym_cmds
16891
16892# Commands used to build a loadable module if different from building
16893# a shared archive.
16894module_cmds=$lt_module_cmds
16895module_expsym_cmds=$lt_module_expsym_cmds
16896
16897# Whether we are building with GNU ld or not.
16898with_gnu_ld=$lt_with_gnu_ld
16899
16900# Flag that allows shared libraries with undefined symbols to be built.
16901allow_undefined_flag=$lt_allow_undefined_flag
16902
16903# Flag that enforces no undefined symbols.
16904no_undefined_flag=$lt_no_undefined_flag
16905
16906# Flag to hardcode \$libdir into a binary during linking.
16907# This must work even if \$libdir does not exist
16908hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16909
16910# If ld is used when linking, flag to hardcode \$libdir into a binary
16911# during linking.  This must work even if \$libdir does not exist.
16912hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16913
16914# Whether we need a single "-rpath" flag with a separated argument.
16915hardcode_libdir_separator=$lt_hardcode_libdir_separator
16916
16917# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16918# DIR into the resulting binary.
16919hardcode_direct=$hardcode_direct
16920
16921# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16922# DIR into the resulting binary and the resulting library dependency is
16923# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16924# library is relocated.
16925hardcode_direct_absolute=$hardcode_direct_absolute
16926
16927# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16928# into the resulting binary.
16929hardcode_minus_L=$hardcode_minus_L
16930
16931# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16932# into the resulting binary.
16933hardcode_shlibpath_var=$hardcode_shlibpath_var
16934
16935# Set to "yes" if building a shared library automatically hardcodes DIR
16936# into the library and all subsequent libraries and executables linked
16937# against it.
16938hardcode_automatic=$hardcode_automatic
16939
16940# Set to yes if linker adds runtime paths of dependent libraries
16941# to runtime path list.
16942inherit_rpath=$inherit_rpath
16943
16944# Whether libtool must link a program against all its dependency libraries.
16945link_all_deplibs=$link_all_deplibs
16946
16947# Fix the shell variable \$srcfile for the compiler.
16948fix_srcfile_path=$lt_fix_srcfile_path
16949
16950# Set to "yes" if exported symbols are required.
16951always_export_symbols=$always_export_symbols
16952
16953# The commands to list exported symbols.
16954export_symbols_cmds=$lt_export_symbols_cmds
16955
16956# Symbols that should not be listed in the preloaded symbols.
16957exclude_expsyms=$lt_exclude_expsyms
16958
16959# Symbols that must always be exported.
16960include_expsyms=$lt_include_expsyms
16961
16962# Commands necessary for linking programs (against libraries) with templates.
16963prelink_cmds=$lt_prelink_cmds
16964
16965# Specify filename containing input files.
16966file_list_spec=$lt_file_list_spec
16967
16968# How to hardcode a shared library path into an executable.
16969hardcode_action=$hardcode_action
16970
16971# ### END LIBTOOL CONFIG
16972
16973_LT_EOF
16974
16975  case $host_os in
16976  aix3*)
16977    cat <<\_LT_EOF >> "$cfgfile"
16978# AIX sometimes has problems with the GCC collect2 program.  For some
16979# reason, if we set the COLLECT_NAMES environment variable, the problems
16980# vanish in a puff of smoke.
16981if test "X${COLLECT_NAMES+set}" != Xset; then
16982  COLLECT_NAMES=
16983  export COLLECT_NAMES
16984fi
16985_LT_EOF
16986    ;;
16987  esac
16988
16989
16990ltmain="$ac_aux_dir/ltmain.sh"
16991
16992
16993  # We use sed instead of cat because bash on DJGPP gets confused if
16994  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16995  # text mode, it properly converts lines to CR/LF.  This bash problem
16996  # is reportedly fixed, but why not run on old versions too?
16997  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16998    || (rm -f "$cfgfile"; exit 1)
16999
17000  case $xsi_shell in
17001  yes)
17002    cat << \_LT_EOF >> "$cfgfile"
17003
17004# func_dirname file append nondir_replacement
17005# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17006# otherwise set result to NONDIR_REPLACEMENT.
17007func_dirname ()
17008{
17009  case ${1} in
17010    */*) func_dirname_result="${1%/*}${2}" ;;
17011    *  ) func_dirname_result="${3}" ;;
17012  esac
17013}
17014
17015# func_basename file
17016func_basename ()
17017{
17018  func_basename_result="${1##*/}"
17019}
17020
17021# func_dirname_and_basename file append nondir_replacement
17022# perform func_basename and func_dirname in a single function
17023# call:
17024#   dirname:  Compute the dirname of FILE.  If nonempty,
17025#             add APPEND to the result, otherwise set result
17026#             to NONDIR_REPLACEMENT.
17027#             value returned in "$func_dirname_result"
17028#   basename: Compute filename of FILE.
17029#             value retuned in "$func_basename_result"
17030# Implementation must be kept synchronized with func_dirname
17031# and func_basename. For efficiency, we do not delegate to
17032# those functions but instead duplicate the functionality here.
17033func_dirname_and_basename ()
17034{
17035  case ${1} in
17036    */*) func_dirname_result="${1%/*}${2}" ;;
17037    *  ) func_dirname_result="${3}" ;;
17038  esac
17039  func_basename_result="${1##*/}"
17040}
17041
17042# func_stripname prefix suffix name
17043# strip PREFIX and SUFFIX off of NAME.
17044# PREFIX and SUFFIX must not contain globbing or regex special
17045# characters, hashes, percent signs, but SUFFIX may contain a leading
17046# dot (in which case that matches only a dot).
17047func_stripname ()
17048{
17049  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17050  # positional parameters, so assign one to ordinary parameter first.
17051  func_stripname_result=${3}
17052  func_stripname_result=${func_stripname_result#"${1}"}
17053  func_stripname_result=${func_stripname_result%"${2}"}
17054}
17055
17056# func_opt_split
17057func_opt_split ()
17058{
17059  func_opt_split_opt=${1%%=*}
17060  func_opt_split_arg=${1#*=}
17061}
17062
17063# func_lo2o object
17064func_lo2o ()
17065{
17066  case ${1} in
17067    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17068    *)    func_lo2o_result=${1} ;;
17069  esac
17070}
17071
17072# func_xform libobj-or-source
17073func_xform ()
17074{
17075  func_xform_result=${1%.*}.lo
17076}
17077
17078# func_arith arithmetic-term...
17079func_arith ()
17080{
17081  func_arith_result=$(( $* ))
17082}
17083
17084# func_len string
17085# STRING may not start with a hyphen.
17086func_len ()
17087{
17088  func_len_result=${#1}
17089}
17090
17091_LT_EOF
17092    ;;
17093  *) # Bourne compatible functions.
17094    cat << \_LT_EOF >> "$cfgfile"
17095
17096# func_dirname file append nondir_replacement
17097# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17098# otherwise set result to NONDIR_REPLACEMENT.
17099func_dirname ()
17100{
17101  # Extract subdirectory from the argument.
17102  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17103  if test "X$func_dirname_result" = "X${1}"; then
17104    func_dirname_result="${3}"
17105  else
17106    func_dirname_result="$func_dirname_result${2}"
17107  fi
17108}
17109
17110# func_basename file
17111func_basename ()
17112{
17113  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17114}
17115
17116
17117# func_stripname prefix suffix name
17118# strip PREFIX and SUFFIX off of NAME.
17119# PREFIX and SUFFIX must not contain globbing or regex special
17120# characters, hashes, percent signs, but SUFFIX may contain a leading
17121# dot (in which case that matches only a dot).
17122# func_strip_suffix prefix name
17123func_stripname ()
17124{
17125  case ${2} in
17126    .*) func_stripname_result=`$ECHO "X${3}" \
17127           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17128    *)  func_stripname_result=`$ECHO "X${3}" \
17129           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17130  esac
17131}
17132
17133# sed scripts:
17134my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17135my_sed_long_arg='1s/^-[^=]*=//'
17136
17137# func_opt_split
17138func_opt_split ()
17139{
17140  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17141  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17142}
17143
17144# func_lo2o object
17145func_lo2o ()
17146{
17147  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17148}
17149
17150# func_xform libobj-or-source
17151func_xform ()
17152{
17153  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17154}
17155
17156# func_arith arithmetic-term...
17157func_arith ()
17158{
17159  func_arith_result=`expr "$@"`
17160}
17161
17162# func_len string
17163# STRING may not start with a hyphen.
17164func_len ()
17165{
17166  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17167}
17168
17169_LT_EOF
17170esac
17171
17172case $lt_shell_append in
17173  yes)
17174    cat << \_LT_EOF >> "$cfgfile"
17175
17176# func_append var value
17177# Append VALUE to the end of shell variable VAR.
17178func_append ()
17179{
17180  eval "$1+=\$2"
17181}
17182_LT_EOF
17183    ;;
17184  *)
17185    cat << \_LT_EOF >> "$cfgfile"
17186
17187# func_append var value
17188# Append VALUE to the end of shell variable VAR.
17189func_append ()
17190{
17191  eval "$1=\$$1\$2"
17192}
17193
17194_LT_EOF
17195    ;;
17196  esac
17197
17198
17199  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17200    || (rm -f "$cfgfile"; exit 1)
17201
17202  mv -f "$cfgfile" "$ofile" ||
17203    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17204  chmod +x "$ofile"
17205
17206 ;;
17207    "libtool_hack":C)
17208	cp -f libtool libtool_
17209	test -z "$SED" && SED=sed
17210	$SED '1,/^soname_spec/{
17211/^soname_spec/i\
17212# X.Org hack to match monolithic Xaw SONAME\
17213xorglibxawname="libXaw"
17214/^soname_spec/s/libname/xorglibxawname/
17215}' libtool_ > libtool
17216	rm -f libtool_
17217 ;;
17218
17219  esac
17220done # for ac_tag
17221
17222
17223{ (exit 0); exit 0; }
17224_ACEOF
17225chmod +x $CONFIG_STATUS
17226ac_clean_files=$ac_clean_files_save
17227
17228test $ac_write_fail = 0 ||
17229  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17230$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17231   { (exit 1); exit 1; }; }
17232
17233
17234# configure is writing to config.log, and then calls config.status.
17235# config.status does its own redirection, appending to config.log.
17236# Unfortunately, on DOS this fails, as config.log is still kept open
17237# by configure, so config.status won't be able to write to it; its
17238# output is simply discarded.  So we exec the FD to /dev/null,
17239# effectively closing config.log, so it can be properly (re)opened and
17240# appended to by config.status.  When coming back to configure, we
17241# need to make the FD available again.
17242if test "$no_create" != yes; then
17243  ac_cs_success=:
17244  ac_config_status_args=
17245  test "$silent" = yes &&
17246    ac_config_status_args="$ac_config_status_args --quiet"
17247  exec 5>/dev/null
17248  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17249  exec 5>>config.log
17250  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17251  # would make configure fail if this is the last instruction.
17252  $ac_cs_success || { (exit 1); exit 1; }
17253fi
17254if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17255  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17256$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17257fi
17258
17259fi
17260
17261if test "x$build_v7" = xyes; then
17262   ac_config_files="$ac_config_files xaw7.pc"
17263
17264cat >confcache <<\_ACEOF
17265# This file is a shell script that caches the results of configure
17266# tests run on this system so they can be shared between configure
17267# scripts and configure runs, see configure's option --config-cache.
17268# It is not useful on other systems.  If it contains results you don't
17269# want to keep, you may remove or edit it.
17270#
17271# config.status only pays attention to the cache file if you give it
17272# the --recheck option to rerun configure.
17273#
17274# `ac_cv_env_foo' variables (set or unset) will be overridden when
17275# loading this file, other *unset* `ac_cv_foo' will be assigned the
17276# following values.
17277
17278_ACEOF
17279
17280# The following way of writing the cache mishandles newlines in values,
17281# but we know of no workaround that is simple, portable, and efficient.
17282# So, we kill variables containing newlines.
17283# Ultrix sh set writes to stderr and can't be redirected directly,
17284# and sets the high bit in the cache file unless we assign to the vars.
17285(
17286  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17287    eval ac_val=\$$ac_var
17288    case $ac_val in #(
17289    *${as_nl}*)
17290      case $ac_var in #(
17291      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
17292$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17293      esac
17294      case $ac_var in #(
17295      _ | IFS | as_nl) ;; #(
17296      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17297      *) $as_unset $ac_var ;;
17298      esac ;;
17299    esac
17300  done
17301
17302  (set) 2>&1 |
17303    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17304    *${as_nl}ac_space=\ *)
17305      # `set' does not quote correctly, so add quotes (double-quote
17306      # substitution turns \\\\ into \\, and sed turns \\ into \).
17307      sed -n \
17308	"s/'/'\\\\''/g;
17309	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17310      ;; #(
17311    *)
17312      # `set' quotes correctly as required by POSIX, so do not add quotes.
17313      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17314      ;;
17315    esac |
17316    sort
17317) |
17318  sed '
17319     /^ac_cv_env_/b end
17320     t clear
17321     :clear
17322     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17323     t end
17324     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17325     :end' >>confcache
17326if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17327  if test -w "$cache_file"; then
17328    test "x$cache_file" != "x/dev/null" &&
17329      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
17330$as_echo "$as_me: updating cache $cache_file" >&6;}
17331    cat confcache >$cache_file
17332  else
17333    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
17334$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17335  fi
17336fi
17337rm -f confcache
17338
17339test "x$prefix" = xNONE && prefix=$ac_default_prefix
17340# Let make expand exec_prefix.
17341test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17342
17343DEFS=-DHAVE_CONFIG_H
17344
17345ac_libobjs=
17346ac_ltlibobjs=
17347for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17348  # 1. Remove the extension, and $U if already installed.
17349  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17350  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17351  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17352  #    will be set to the directory where LIBOBJS objects are built.
17353  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17354  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
17355done
17356LIBOBJS=$ac_libobjs
17357
17358LTLIBOBJS=$ac_ltlibobjs
17359
17360
17361if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17362  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17363Usually this means the macro was only invoked conditionally." >&5
17364$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17365Usually this means the macro was only invoked conditionally." >&2;}
17366   { (exit 1); exit 1; }; }
17367fi
17368if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17369  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17370Usually this means the macro was only invoked conditionally." >&5
17371$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17372Usually this means the macro was only invoked conditionally." >&2;}
17373   { (exit 1); exit 1; }; }
17374fi
17375if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
17376  { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
17377Usually this means the macro was only invoked conditionally." >&5
17378$as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
17379Usually this means the macro was only invoked conditionally." >&2;}
17380   { (exit 1); exit 1; }; }
17381fi
17382if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
17383  { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_DARWIN\" was never defined.
17384Usually this means the macro was only invoked conditionally." >&5
17385$as_echo "$as_me: error: conditional \"PLATFORM_DARWIN\" was never defined.
17386Usually this means the macro was only invoked conditionally." >&2;}
17387   { (exit 1); exit 1; }; }
17388fi
17389if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
17390  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
17391Usually this means the macro was only invoked conditionally." >&5
17392$as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
17393Usually this means the macro was only invoked conditionally." >&2;}
17394   { (exit 1); exit 1; }; }
17395fi
17396if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
17397  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
17398Usually this means the macro was only invoked conditionally." >&5
17399$as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
17400Usually this means the macro was only invoked conditionally." >&2;}
17401   { (exit 1); exit 1; }; }
17402fi
17403
17404: ${CONFIG_STATUS=./config.status}
17405ac_write_fail=0
17406ac_clean_files_save=$ac_clean_files
17407ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17408{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17409$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17410cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17411#! $SHELL
17412# Generated by $as_me.
17413# Run this file to recreate the current configuration.
17414# Compiler output produced by configure, useful for debugging
17415# configure, is in config.log if it exists.
17416
17417debug=false
17418ac_cs_recheck=false
17419ac_cs_silent=false
17420SHELL=\${CONFIG_SHELL-$SHELL}
17421_ACEOF
17422
17423cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17424## --------------------- ##
17425## M4sh Initialization.  ##
17426## --------------------- ##
17427
17428# Be more Bourne compatible
17429DUALCASE=1; export DUALCASE # for MKS sh
17430if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17431  emulate sh
17432  NULLCMD=:
17433  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17434  # is contrary to our usage.  Disable this feature.
17435  alias -g '${1+"$@"}'='"$@"'
17436  setopt NO_GLOB_SUBST
17437else
17438  case `(set -o) 2>/dev/null` in
17439  *posix*) set -o posix ;;
17440esac
17441
17442fi
17443
17444
17445
17446
17447# PATH needs CR
17448# Avoid depending upon Character Ranges.
17449as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17450as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17451as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17452as_cr_digits='0123456789'
17453as_cr_alnum=$as_cr_Letters$as_cr_digits
17454
17455as_nl='
17456'
17457export as_nl
17458# Printing a long string crashes Solaris 7 /usr/bin/printf.
17459as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17460as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17461as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17462if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17463  as_echo='printf %s\n'
17464  as_echo_n='printf %s'
17465else
17466  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17467    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17468    as_echo_n='/usr/ucb/echo -n'
17469  else
17470    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17471    as_echo_n_body='eval
17472      arg=$1;
17473      case $arg in
17474      *"$as_nl"*)
17475	expr "X$arg" : "X\\(.*\\)$as_nl";
17476	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17477      esac;
17478      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17479    '
17480    export as_echo_n_body
17481    as_echo_n='sh -c $as_echo_n_body as_echo'
17482  fi
17483  export as_echo_body
17484  as_echo='sh -c $as_echo_body as_echo'
17485fi
17486
17487# The user is always right.
17488if test "${PATH_SEPARATOR+set}" != set; then
17489  PATH_SEPARATOR=:
17490  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17491    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17492      PATH_SEPARATOR=';'
17493  }
17494fi
17495
17496# Support unset when possible.
17497if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17498  as_unset=unset
17499else
17500  as_unset=false
17501fi
17502
17503
17504# IFS
17505# We need space, tab and new line, in precisely that order.  Quoting is
17506# there to prevent editors from complaining about space-tab.
17507# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17508# splitting by setting IFS to empty value.)
17509IFS=" ""	$as_nl"
17510
17511# Find who we are.  Look in the path if we contain no directory separator.
17512case $0 in
17513  *[\\/]* ) as_myself=$0 ;;
17514  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17515for as_dir in $PATH
17516do
17517  IFS=$as_save_IFS
17518  test -z "$as_dir" && as_dir=.
17519  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17520done
17521IFS=$as_save_IFS
17522
17523     ;;
17524esac
17525# We did not find ourselves, most probably we were run as `sh COMMAND'
17526# in which case we are not to be found in the path.
17527if test "x$as_myself" = x; then
17528  as_myself=$0
17529fi
17530if test ! -f "$as_myself"; then
17531  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17532  { (exit 1); exit 1; }
17533fi
17534
17535# Work around bugs in pre-3.0 UWIN ksh.
17536for as_var in ENV MAIL MAILPATH
17537do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17538done
17539PS1='$ '
17540PS2='> '
17541PS4='+ '
17542
17543# NLS nuisances.
17544LC_ALL=C
17545export LC_ALL
17546LANGUAGE=C
17547export LANGUAGE
17548
17549# Required to use basename.
17550if expr a : '\(a\)' >/dev/null 2>&1 &&
17551   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17552  as_expr=expr
17553else
17554  as_expr=false
17555fi
17556
17557if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17558  as_basename=basename
17559else
17560  as_basename=false
17561fi
17562
17563
17564# Name of the executable.
17565as_me=`$as_basename -- "$0" ||
17566$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17567	 X"$0" : 'X\(//\)$' \| \
17568	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17569$as_echo X/"$0" |
17570    sed '/^.*\/\([^/][^/]*\)\/*$/{
17571	    s//\1/
17572	    q
17573	  }
17574	  /^X\/\(\/\/\)$/{
17575	    s//\1/
17576	    q
17577	  }
17578	  /^X\/\(\/\).*/{
17579	    s//\1/
17580	    q
17581	  }
17582	  s/.*/./; q'`
17583
17584# CDPATH.
17585$as_unset CDPATH
17586
17587
17588
17589  as_lineno_1=$LINENO
17590  as_lineno_2=$LINENO
17591  test "x$as_lineno_1" != "x$as_lineno_2" &&
17592  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17593
17594  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17595  # uniformly replaced by the line number.  The first 'sed' inserts a
17596  # line-number line after each line using $LINENO; the second 'sed'
17597  # does the real work.  The second script uses 'N' to pair each
17598  # line-number line with the line containing $LINENO, and appends
17599  # trailing '-' during substitution so that $LINENO is not a special
17600  # case at line end.
17601  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17602  # scripts with optimization help from Paolo Bonzini.  Blame Lee
17603  # E. McMahon (1931-1989) for sed's syntax.  :-)
17604  sed -n '
17605    p
17606    /[$]LINENO/=
17607  ' <$as_myself |
17608    sed '
17609      s/[$]LINENO.*/&-/
17610      t lineno
17611      b
17612      :lineno
17613      N
17614      :loop
17615      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17616      t loop
17617      s/-\n.*//
17618    ' >$as_me.lineno &&
17619  chmod +x "$as_me.lineno" ||
17620    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17621   { (exit 1); exit 1; }; }
17622
17623  # Don't try to exec as it changes $[0], causing all sort of problems
17624  # (the dirname of $[0] is not the place where we might find the
17625  # original and so on.  Autoconf is especially sensitive to this).
17626  . "./$as_me.lineno"
17627  # Exit status is that of the last command.
17628  exit
17629}
17630
17631
17632if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17633  as_dirname=dirname
17634else
17635  as_dirname=false
17636fi
17637
17638ECHO_C= ECHO_N= ECHO_T=
17639case `echo -n x` in
17640-n*)
17641  case `echo 'x\c'` in
17642  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17643  *)   ECHO_C='\c';;
17644  esac;;
17645*)
17646  ECHO_N='-n';;
17647esac
17648if expr a : '\(a\)' >/dev/null 2>&1 &&
17649   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17650  as_expr=expr
17651else
17652  as_expr=false
17653fi
17654
17655rm -f conf$$ conf$$.exe conf$$.file
17656if test -d conf$$.dir; then
17657  rm -f conf$$.dir/conf$$.file
17658else
17659  rm -f conf$$.dir
17660  mkdir conf$$.dir 2>/dev/null
17661fi
17662if (echo >conf$$.file) 2>/dev/null; then
17663  if ln -s conf$$.file conf$$ 2>/dev/null; then
17664    as_ln_s='ln -s'
17665    # ... but there are two gotchas:
17666    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17667    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17668    # In both cases, we have to default to `cp -p'.
17669    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17670      as_ln_s='cp -p'
17671  elif ln conf$$.file conf$$ 2>/dev/null; then
17672    as_ln_s=ln
17673  else
17674    as_ln_s='cp -p'
17675  fi
17676else
17677  as_ln_s='cp -p'
17678fi
17679rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17680rmdir conf$$.dir 2>/dev/null
17681
17682if mkdir -p . 2>/dev/null; then
17683  as_mkdir_p=:
17684else
17685  test -d ./-p && rmdir ./-p
17686  as_mkdir_p=false
17687fi
17688
17689if test -x / >/dev/null 2>&1; then
17690  as_test_x='test -x'
17691else
17692  if ls -dL / >/dev/null 2>&1; then
17693    as_ls_L_option=L
17694  else
17695    as_ls_L_option=
17696  fi
17697  as_test_x='
17698    eval sh -c '\''
17699      if test -d "$1"; then
17700	test -d "$1/.";
17701      else
17702	case $1 in
17703	-*)set "./$1";;
17704	esac;
17705	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17706	???[sx]*):;;*)false;;esac;fi
17707    '\'' sh
17708  '
17709fi
17710as_executable_p=$as_test_x
17711
17712# Sed expression to map a string onto a valid CPP name.
17713as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17714
17715# Sed expression to map a string onto a valid variable name.
17716as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17717
17718
17719exec 6>&1
17720
17721# Save the log message, to keep $[0] and so on meaningful, and to
17722# report actual input values of CONFIG_FILES etc. instead of their
17723# values after options handling.
17724ac_log="
17725This file was extended by libXaw $as_me 1.0.6, which was
17726generated by GNU Autoconf 2.63.  Invocation command line was
17727
17728  CONFIG_FILES    = $CONFIG_FILES
17729  CONFIG_HEADERS  = $CONFIG_HEADERS
17730  CONFIG_LINKS    = $CONFIG_LINKS
17731  CONFIG_COMMANDS = $CONFIG_COMMANDS
17732  $ $0 $@
17733
17734on `(hostname || uname -n) 2>/dev/null | sed 1q`
17735"
17736
17737_ACEOF
17738
17739case $ac_config_files in *"
17740"*) set x $ac_config_files; shift; ac_config_files=$*;;
17741esac
17742
17743case $ac_config_headers in *"
17744"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17745esac
17746
17747
17748cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17749# Files that config.status was made for.
17750config_files="$ac_config_files"
17751config_headers="$ac_config_headers"
17752config_commands="$ac_config_commands"
17753
17754_ACEOF
17755
17756cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17757ac_cs_usage="\
17758\`$as_me' instantiates files from templates according to the
17759current configuration.
17760
17761Usage: $0 [OPTION]... [FILE]...
17762
17763  -h, --help       print this help, then exit
17764  -V, --version    print version number and configuration settings, then exit
17765  -q, --quiet, --silent
17766                   do not print progress messages
17767  -d, --debug      don't remove temporary files
17768      --recheck    update $as_me by reconfiguring in the same conditions
17769      --file=FILE[:TEMPLATE]
17770                   instantiate the configuration file FILE
17771      --header=FILE[:TEMPLATE]
17772                   instantiate the configuration header FILE
17773
17774Configuration files:
17775$config_files
17776
17777Configuration headers:
17778$config_headers
17779
17780Configuration commands:
17781$config_commands
17782
17783Report bugs to <bug-autoconf@gnu.org>."
17784
17785_ACEOF
17786cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17787ac_cs_version="\\
17788libXaw config.status 1.0.6
17789configured by $0, generated by GNU Autoconf 2.63,
17790  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17791
17792Copyright (C) 2008 Free Software Foundation, Inc.
17793This config.status script is free software; the Free Software Foundation
17794gives unlimited permission to copy, distribute and modify it."
17795
17796ac_pwd='$ac_pwd'
17797srcdir='$srcdir'
17798INSTALL='$INSTALL'
17799MKDIR_P='$MKDIR_P'
17800AWK='$AWK'
17801test -n "\$AWK" || AWK=awk
17802_ACEOF
17803
17804cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17805# The default lists apply if the user does not specify any file.
17806ac_need_defaults=:
17807while test $# != 0
17808do
17809  case $1 in
17810  --*=*)
17811    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17812    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17813    ac_shift=:
17814    ;;
17815  *)
17816    ac_option=$1
17817    ac_optarg=$2
17818    ac_shift=shift
17819    ;;
17820  esac
17821
17822  case $ac_option in
17823  # Handling of the options.
17824  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17825    ac_cs_recheck=: ;;
17826  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17827    $as_echo "$ac_cs_version"; exit ;;
17828  --debug | --debu | --deb | --de | --d | -d )
17829    debug=: ;;
17830  --file | --fil | --fi | --f )
17831    $ac_shift
17832    case $ac_optarg in
17833    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17834    esac
17835    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
17836    ac_need_defaults=false;;
17837  --header | --heade | --head | --hea )
17838    $ac_shift
17839    case $ac_optarg in
17840    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17841    esac
17842    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
17843    ac_need_defaults=false;;
17844  --he | --h)
17845    # Conflict between --help and --header
17846    { $as_echo "$as_me: error: ambiguous option: $1
17847Try \`$0 --help' for more information." >&2
17848   { (exit 1); exit 1; }; };;
17849  --help | --hel | -h )
17850    $as_echo "$ac_cs_usage"; exit ;;
17851  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17852  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17853    ac_cs_silent=: ;;
17854
17855  # This is an error.
17856  -*) { $as_echo "$as_me: error: unrecognized option: $1
17857Try \`$0 --help' for more information." >&2
17858   { (exit 1); exit 1; }; } ;;
17859
17860  *) ac_config_targets="$ac_config_targets $1"
17861     ac_need_defaults=false ;;
17862
17863  esac
17864  shift
17865done
17866
17867ac_configure_extra_args=
17868
17869if $ac_cs_silent; then
17870  exec 6>/dev/null
17871  ac_configure_extra_args="$ac_configure_extra_args --silent"
17872fi
17873
17874_ACEOF
17875cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17876if \$ac_cs_recheck; then
17877  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17878  shift
17879  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17880  CONFIG_SHELL='$SHELL'
17881  export CONFIG_SHELL
17882  exec "\$@"
17883fi
17884
17885_ACEOF
17886cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17887exec 5>>config.log
17888{
17889  echo
17890  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17891## Running $as_me. ##
17892_ASBOX
17893  $as_echo "$ac_log"
17894} >&5
17895
17896_ACEOF
17897cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17898#
17899# INIT-COMMANDS
17900#
17901AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17902
17903
17904# The HP-UX ksh and POSIX shell print the target directory to stdout
17905# if CDPATH is set.
17906(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17907
17908sed_quote_subst='$sed_quote_subst'
17909double_quote_subst='$double_quote_subst'
17910delay_variable_subst='$delay_variable_subst'
17911macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17912macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17913enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17914enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17915pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17916enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17917host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17918host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17919host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17920build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17921build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17922build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17923SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17924Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17925GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17926EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17927FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17928LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17929NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17930LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17931max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17932ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17933exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17934lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17935lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17936lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17937reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17938reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17939OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17940deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17941file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17942AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17943AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17944STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17945RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17946old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17947old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17948old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17949CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17950CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17951compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17952GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17953lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17954lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17955lt_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"`'
17956lt_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"`'
17957objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17958SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17959ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17960MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17961lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17962lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17963lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17964lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17965lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17966need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17967DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17968NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17969LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17970OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17971OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17972libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17973shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17974extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17975archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17976enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17977export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17978whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17979compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17980old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17981old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17982archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17983archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17984module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17985module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17986with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17987allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17988no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17989hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17990hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17991hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17992hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17993hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17994hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17995hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17996hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17997inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17998link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17999fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18000always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18001export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18002exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18003include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18004prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18005file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18006variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18007need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18008need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18009version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18010runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18011shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18012shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18013libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18014library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18015soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18016postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18017postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18018finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18019finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18020hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18021sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18022sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18023hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18024enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18025enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18026enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18027old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18028striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18029
18030LTCC='$LTCC'
18031LTCFLAGS='$LTCFLAGS'
18032compiler='$compiler_DEFAULT'
18033
18034# Quote evaled strings.
18035for var in SED \
18036GREP \
18037EGREP \
18038FGREP \
18039LD \
18040NM \
18041LN_S \
18042lt_SP2NL \
18043lt_NL2SP \
18044reload_flag \
18045OBJDUMP \
18046deplibs_check_method \
18047file_magic_cmd \
18048AR \
18049AR_FLAGS \
18050STRIP \
18051RANLIB \
18052CC \
18053CFLAGS \
18054compiler \
18055lt_cv_sys_global_symbol_pipe \
18056lt_cv_sys_global_symbol_to_cdecl \
18057lt_cv_sys_global_symbol_to_c_name_address \
18058lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18059SHELL \
18060ECHO \
18061lt_prog_compiler_no_builtin_flag \
18062lt_prog_compiler_wl \
18063lt_prog_compiler_pic \
18064lt_prog_compiler_static \
18065lt_cv_prog_compiler_c_o \
18066need_locks \
18067DSYMUTIL \
18068NMEDIT \
18069LIPO \
18070OTOOL \
18071OTOOL64 \
18072shrext_cmds \
18073export_dynamic_flag_spec \
18074whole_archive_flag_spec \
18075compiler_needs_object \
18076with_gnu_ld \
18077allow_undefined_flag \
18078no_undefined_flag \
18079hardcode_libdir_flag_spec \
18080hardcode_libdir_flag_spec_ld \
18081hardcode_libdir_separator \
18082fix_srcfile_path \
18083exclude_expsyms \
18084include_expsyms \
18085file_list_spec \
18086variables_saved_for_relink \
18087libname_spec \
18088library_names_spec \
18089soname_spec \
18090finish_eval \
18091old_striplib \
18092striplib; do
18093    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18094    *[\\\\\\\`\\"\\\$]*)
18095      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18096      ;;
18097    *)
18098      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18099      ;;
18100    esac
18101done
18102
18103# Double-quote double-evaled strings.
18104for var in reload_cmds \
18105old_postinstall_cmds \
18106old_postuninstall_cmds \
18107old_archive_cmds \
18108extract_expsyms_cmds \
18109old_archive_from_new_cmds \
18110old_archive_from_expsyms_cmds \
18111archive_cmds \
18112archive_expsym_cmds \
18113module_cmds \
18114module_expsym_cmds \
18115export_symbols_cmds \
18116prelink_cmds \
18117postinstall_cmds \
18118postuninstall_cmds \
18119finish_cmds \
18120sys_lib_search_path_spec \
18121sys_lib_dlsearch_path_spec; do
18122    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18123    *[\\\\\\\`\\"\\\$]*)
18124      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18125      ;;
18126    *)
18127      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18128      ;;
18129    esac
18130done
18131
18132# Fix-up fallback echo if it was mangled by the above quoting rules.
18133case \$lt_ECHO in
18134*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18135  ;;
18136esac
18137
18138ac_aux_dir='$ac_aux_dir'
18139xsi_shell='$xsi_shell'
18140lt_shell_append='$lt_shell_append'
18141
18142# See if we are running on zsh, and set the options which allow our
18143# commands through without removal of \ escapes INIT.
18144if test -n "\${ZSH_VERSION+set}" ; then
18145   setopt NO_GLOB_SUBST
18146fi
18147
18148
18149    PACKAGE='$PACKAGE'
18150    VERSION='$VERSION'
18151    TIMESTAMP='$TIMESTAMP'
18152    RM='$RM'
18153    ofile='$ofile'
18154
18155ac_aux_dir='$ac_aux_dir'
18156ac_aux_dir='$ac_aux_dir'
18157
18158
18159
18160_ACEOF
18161
18162cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18163
18164# Handling of arguments.
18165for ac_config_target in $ac_config_targets
18166do
18167  case $ac_config_target in
18168    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18169    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18170    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18171    "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
18172    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18173    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
18174    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
18175    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18176    "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
18177    "xaw7.pc") CONFIG_FILES="$CONFIG_FILES xaw7.pc" ;;
18178
18179  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18180$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18181   { (exit 1); exit 1; }; };;
18182  esac
18183done
18184
18185
18186# If the user did not use the arguments to specify the items to instantiate,
18187# then the envvar interface is used.  Set only those that are not.
18188# We use the long form for the default assignment because of an extremely
18189# bizarre bug on SunOS 4.1.3.
18190if $ac_need_defaults; then
18191  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18192  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18193  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18194fi
18195
18196# Have a temporary directory for convenience.  Make it in the build tree
18197# simply because there is no reason against having it here, and in addition,
18198# creating and moving files from /tmp can sometimes cause problems.
18199# Hook for its removal unless debugging.
18200# Note that there is a small window in which the directory will not be cleaned:
18201# after its creation but before its name has been assigned to `$tmp'.
18202$debug ||
18203{
18204  tmp=
18205  trap 'exit_status=$?
18206  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18207' 0
18208  trap '{ (exit 1); exit 1; }' 1 2 13 15
18209}
18210# Create a (secure) tmp directory for tmp files.
18211
18212{
18213  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18214  test -n "$tmp" && test -d "$tmp"
18215}  ||
18216{
18217  tmp=./conf$$-$RANDOM
18218  (umask 077 && mkdir "$tmp")
18219} ||
18220{
18221   $as_echo "$as_me: cannot create a temporary directory in ." >&2
18222   { (exit 1); exit 1; }
18223}
18224
18225# Set up the scripts for CONFIG_FILES section.
18226# No need to generate them if there are no CONFIG_FILES.
18227# This happens for instance with `./config.status config.h'.
18228if test -n "$CONFIG_FILES"; then
18229
18230
18231ac_cr='
18232'
18233ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18234if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18235  ac_cs_awk_cr='\\r'
18236else
18237  ac_cs_awk_cr=$ac_cr
18238fi
18239
18240echo 'BEGIN {' >"$tmp/subs1.awk" &&
18241_ACEOF
18242
18243
18244{
18245  echo "cat >conf$$subs.awk <<_ACEOF" &&
18246  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18247  echo "_ACEOF"
18248} >conf$$subs.sh ||
18249  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18250$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18251   { (exit 1); exit 1; }; }
18252ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18253ac_delim='%!_!# '
18254for ac_last_try in false false false false false :; do
18255  . ./conf$$subs.sh ||
18256    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18257$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18258   { (exit 1); exit 1; }; }
18259
18260  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18261  if test $ac_delim_n = $ac_delim_num; then
18262    break
18263  elif $ac_last_try; then
18264    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18265$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18266   { (exit 1); exit 1; }; }
18267  else
18268    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18269  fi
18270done
18271rm -f conf$$subs.sh
18272
18273cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18274cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
18275_ACEOF
18276sed -n '
18277h
18278s/^/S["/; s/!.*/"]=/
18279p
18280g
18281s/^[^!]*!//
18282:repl
18283t repl
18284s/'"$ac_delim"'$//
18285t delim
18286:nl
18287h
18288s/\(.\{148\}\).*/\1/
18289t more1
18290s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18291p
18292n
18293b repl
18294:more1
18295s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18296p
18297g
18298s/.\{148\}//
18299t nl
18300:delim
18301h
18302s/\(.\{148\}\).*/\1/
18303t more2
18304s/["\\]/\\&/g; s/^/"/; s/$/"/
18305p
18306b
18307:more2
18308s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18309p
18310g
18311s/.\{148\}//
18312t delim
18313' <conf$$subs.awk | sed '
18314/^[^""]/{
18315  N
18316  s/\n//
18317}
18318' >>$CONFIG_STATUS || ac_write_fail=1
18319rm -f conf$$subs.awk
18320cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18321_ACAWK
18322cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18323  for (key in S) S_is_set[key] = 1
18324  FS = ""
18325
18326}
18327{
18328  line = $ 0
18329  nfields = split(line, field, "@")
18330  substed = 0
18331  len = length(field[1])
18332  for (i = 2; i < nfields; i++) {
18333    key = field[i]
18334    keylen = length(key)
18335    if (S_is_set[key]) {
18336      value = S[key]
18337      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18338      len += length(value) + length(field[++i])
18339      substed = 1
18340    } else
18341      len += 1 + keylen
18342  }
18343
18344  print line
18345}
18346
18347_ACAWK
18348_ACEOF
18349cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18350if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18351  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18352else
18353  cat
18354fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18355  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
18356$as_echo "$as_me: error: could not setup config files machinery" >&2;}
18357   { (exit 1); exit 1; }; }
18358_ACEOF
18359
18360# VPATH may cause trouble with some makes, so we remove $(srcdir),
18361# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18362# trailing colons and then remove the whole line if VPATH becomes empty
18363# (actually we leave an empty line to preserve line numbers).
18364if test "x$srcdir" = x.; then
18365  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
18366s/:*\$(srcdir):*/:/
18367s/:*\${srcdir}:*/:/
18368s/:*@srcdir@:*/:/
18369s/^\([^=]*=[	 ]*\):*/\1/
18370s/:*$//
18371s/^[^=]*=[	 ]*$//
18372}'
18373fi
18374
18375cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18376fi # test -n "$CONFIG_FILES"
18377
18378# Set up the scripts for CONFIG_HEADERS section.
18379# No need to generate them if there are no CONFIG_HEADERS.
18380# This happens for instance with `./config.status Makefile'.
18381if test -n "$CONFIG_HEADERS"; then
18382cat >"$tmp/defines.awk" <<\_ACAWK ||
18383BEGIN {
18384_ACEOF
18385
18386# Transform confdefs.h into an awk script `defines.awk', embedded as
18387# here-document in config.status, that substitutes the proper values into
18388# config.h.in to produce config.h.
18389
18390# Create a delimiter string that does not exist in confdefs.h, to ease
18391# handling of long lines.
18392ac_delim='%!_!# '
18393for ac_last_try in false false :; do
18394  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18395  if test -z "$ac_t"; then
18396    break
18397  elif $ac_last_try; then
18398    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
18399$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
18400   { (exit 1); exit 1; }; }
18401  else
18402    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18403  fi
18404done
18405
18406# For the awk script, D is an array of macro values keyed by name,
18407# likewise P contains macro parameters if any.  Preserve backslash
18408# newline sequences.
18409
18410ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18411sed -n '
18412s/.\{148\}/&'"$ac_delim"'/g
18413t rset
18414:rset
18415s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18416t def
18417d
18418:def
18419s/\\$//
18420t bsnl
18421s/["\\]/\\&/g
18422s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18423D["\1"]=" \3"/p
18424s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18425d
18426:bsnl
18427s/["\\]/\\&/g
18428s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18429D["\1"]=" \3\\\\\\n"\\/p
18430t cont
18431s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18432t cont
18433d
18434:cont
18435n
18436s/.\{148\}/&'"$ac_delim"'/g
18437t clear
18438:clear
18439s/\\$//
18440t bsnlc
18441s/["\\]/\\&/g; s/^/"/; s/$/"/p
18442d
18443:bsnlc
18444s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18445b cont
18446' <confdefs.h | sed '
18447s/'"$ac_delim"'/"\\\
18448"/g' >>$CONFIG_STATUS || ac_write_fail=1
18449
18450cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18451  for (key in D) D_is_set[key] = 1
18452  FS = ""
18453}
18454/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18455  line = \$ 0
18456  split(line, arg, " ")
18457  if (arg[1] == "#") {
18458    defundef = arg[2]
18459    mac1 = arg[3]
18460  } else {
18461    defundef = substr(arg[1], 2)
18462    mac1 = arg[2]
18463  }
18464  split(mac1, mac2, "(") #)
18465  macro = mac2[1]
18466  prefix = substr(line, 1, index(line, defundef) - 1)
18467  if (D_is_set[macro]) {
18468    # Preserve the white space surrounding the "#".
18469    print prefix "define", macro P[macro] D[macro]
18470    next
18471  } else {
18472    # Replace #undef with comments.  This is necessary, for example,
18473    # in the case of _POSIX_SOURCE, which is predefined and required
18474    # on some systems where configure will not decide to define it.
18475    if (defundef == "undef") {
18476      print "/*", prefix defundef, macro, "*/"
18477      next
18478    }
18479  }
18480}
18481{ print }
18482_ACAWK
18483_ACEOF
18484cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18485  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18486$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18487   { (exit 1); exit 1; }; }
18488fi # test -n "$CONFIG_HEADERS"
18489
18490
18491eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18492shift
18493for ac_tag
18494do
18495  case $ac_tag in
18496  :[FHLC]) ac_mode=$ac_tag; continue;;
18497  esac
18498  case $ac_mode$ac_tag in
18499  :[FHL]*:*);;
18500  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18501$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18502   { (exit 1); exit 1; }; };;
18503  :[FH]-) ac_tag=-:-;;
18504  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18505  esac
18506  ac_save_IFS=$IFS
18507  IFS=:
18508  set x $ac_tag
18509  IFS=$ac_save_IFS
18510  shift
18511  ac_file=$1
18512  shift
18513
18514  case $ac_mode in
18515  :L) ac_source=$1;;
18516  :[FH])
18517    ac_file_inputs=
18518    for ac_f
18519    do
18520      case $ac_f in
18521      -) ac_f="$tmp/stdin";;
18522      *) # Look for the file first in the build tree, then in the source tree
18523	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18524	 # because $ac_f cannot contain `:'.
18525	 test -f "$ac_f" ||
18526	   case $ac_f in
18527	   [\\/$]*) false;;
18528	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18529	   esac ||
18530	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18531$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18532   { (exit 1); exit 1; }; };;
18533      esac
18534      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18535      ac_file_inputs="$ac_file_inputs '$ac_f'"
18536    done
18537
18538    # Let's still pretend it is `configure' which instantiates (i.e., don't
18539    # use $as_me), people would be surprised to read:
18540    #    /* config.h.  Generated by config.status.  */
18541    configure_input='Generated from '`
18542	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18543	`' by configure.'
18544    if test x"$ac_file" != x-; then
18545      configure_input="$ac_file.  $configure_input"
18546      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
18547$as_echo "$as_me: creating $ac_file" >&6;}
18548    fi
18549    # Neutralize special characters interpreted by sed in replacement strings.
18550    case $configure_input in #(
18551    *\&* | *\|* | *\\* )
18552       ac_sed_conf_input=`$as_echo "$configure_input" |
18553       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18554    *) ac_sed_conf_input=$configure_input;;
18555    esac
18556
18557    case $ac_tag in
18558    *:-:* | *:-) cat >"$tmp/stdin" \
18559      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18560$as_echo "$as_me: error: could not create $ac_file" >&2;}
18561   { (exit 1); exit 1; }; } ;;
18562    esac
18563    ;;
18564  esac
18565
18566  ac_dir=`$as_dirname -- "$ac_file" ||
18567$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18568	 X"$ac_file" : 'X\(//\)[^/]' \| \
18569	 X"$ac_file" : 'X\(//\)$' \| \
18570	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18571$as_echo X"$ac_file" |
18572    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18573	    s//\1/
18574	    q
18575	  }
18576	  /^X\(\/\/\)[^/].*/{
18577	    s//\1/
18578	    q
18579	  }
18580	  /^X\(\/\/\)$/{
18581	    s//\1/
18582	    q
18583	  }
18584	  /^X\(\/\).*/{
18585	    s//\1/
18586	    q
18587	  }
18588	  s/.*/./; q'`
18589  { as_dir="$ac_dir"
18590  case $as_dir in #(
18591  -*) as_dir=./$as_dir;;
18592  esac
18593  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18594    as_dirs=
18595    while :; do
18596      case $as_dir in #(
18597      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18598      *) as_qdir=$as_dir;;
18599      esac
18600      as_dirs="'$as_qdir' $as_dirs"
18601      as_dir=`$as_dirname -- "$as_dir" ||
18602$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18603	 X"$as_dir" : 'X\(//\)[^/]' \| \
18604	 X"$as_dir" : 'X\(//\)$' \| \
18605	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18606$as_echo X"$as_dir" |
18607    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18608	    s//\1/
18609	    q
18610	  }
18611	  /^X\(\/\/\)[^/].*/{
18612	    s//\1/
18613	    q
18614	  }
18615	  /^X\(\/\/\)$/{
18616	    s//\1/
18617	    q
18618	  }
18619	  /^X\(\/\).*/{
18620	    s//\1/
18621	    q
18622	  }
18623	  s/.*/./; q'`
18624      test -d "$as_dir" && break
18625    done
18626    test -z "$as_dirs" || eval "mkdir $as_dirs"
18627  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18628$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18629   { (exit 1); exit 1; }; }; }
18630  ac_builddir=.
18631
18632case "$ac_dir" in
18633.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18634*)
18635  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18636  # A ".." for each directory in $ac_dir_suffix.
18637  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18638  case $ac_top_builddir_sub in
18639  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18640  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18641  esac ;;
18642esac
18643ac_abs_top_builddir=$ac_pwd
18644ac_abs_builddir=$ac_pwd$ac_dir_suffix
18645# for backward compatibility:
18646ac_top_builddir=$ac_top_build_prefix
18647
18648case $srcdir in
18649  .)  # We are building in place.
18650    ac_srcdir=.
18651    ac_top_srcdir=$ac_top_builddir_sub
18652    ac_abs_top_srcdir=$ac_pwd ;;
18653  [\\/]* | ?:[\\/]* )  # Absolute name.
18654    ac_srcdir=$srcdir$ac_dir_suffix;
18655    ac_top_srcdir=$srcdir
18656    ac_abs_top_srcdir=$srcdir ;;
18657  *) # Relative name.
18658    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18659    ac_top_srcdir=$ac_top_build_prefix$srcdir
18660    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18661esac
18662ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18663
18664
18665  case $ac_mode in
18666  :F)
18667  #
18668  # CONFIG_FILE
18669  #
18670
18671  case $INSTALL in
18672  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18673  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18674  esac
18675  ac_MKDIR_P=$MKDIR_P
18676  case $MKDIR_P in
18677  [\\/$]* | ?:[\\/]* ) ;;
18678  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18679  esac
18680_ACEOF
18681
18682cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18683# If the template does not know about datarootdir, expand it.
18684# FIXME: This hack should be removed a few years after 2.60.
18685ac_datarootdir_hack=; ac_datarootdir_seen=
18686
18687ac_sed_dataroot='
18688/datarootdir/ {
18689  p
18690  q
18691}
18692/@datadir@/p
18693/@docdir@/p
18694/@infodir@/p
18695/@localedir@/p
18696/@mandir@/p
18697'
18698case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18699*datarootdir*) ac_datarootdir_seen=yes;;
18700*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18701  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18702$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18703_ACEOF
18704cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18705  ac_datarootdir_hack='
18706  s&@datadir@&$datadir&g
18707  s&@docdir@&$docdir&g
18708  s&@infodir@&$infodir&g
18709  s&@localedir@&$localedir&g
18710  s&@mandir@&$mandir&g
18711    s&\\\${datarootdir}&$datarootdir&g' ;;
18712esac
18713_ACEOF
18714
18715# Neutralize VPATH when `$srcdir' = `.'.
18716# Shell code in configure.ac might set extrasub.
18717# FIXME: do we really want to maintain this feature?
18718cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18719ac_sed_extra="$ac_vpsub
18720$extrasub
18721_ACEOF
18722cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18723:t
18724/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18725s|@configure_input@|$ac_sed_conf_input|;t t
18726s&@top_builddir@&$ac_top_builddir_sub&;t t
18727s&@top_build_prefix@&$ac_top_build_prefix&;t t
18728s&@srcdir@&$ac_srcdir&;t t
18729s&@abs_srcdir@&$ac_abs_srcdir&;t t
18730s&@top_srcdir@&$ac_top_srcdir&;t t
18731s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18732s&@builddir@&$ac_builddir&;t t
18733s&@abs_builddir@&$ac_abs_builddir&;t t
18734s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18735s&@INSTALL@&$ac_INSTALL&;t t
18736s&@MKDIR_P@&$ac_MKDIR_P&;t t
18737$ac_datarootdir_hack
18738"
18739eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18740  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18741$as_echo "$as_me: error: could not create $ac_file" >&2;}
18742   { (exit 1); exit 1; }; }
18743
18744test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18745  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18746  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18747  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18748which seems to be undefined.  Please make sure it is defined." >&5
18749$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18750which seems to be undefined.  Please make sure it is defined." >&2;}
18751
18752  rm -f "$tmp/stdin"
18753  case $ac_file in
18754  -) cat "$tmp/out" && rm -f "$tmp/out";;
18755  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18756  esac \
18757  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18758$as_echo "$as_me: error: could not create $ac_file" >&2;}
18759   { (exit 1); exit 1; }; }
18760 ;;
18761  :H)
18762  #
18763  # CONFIG_HEADER
18764  #
18765  if test x"$ac_file" != x-; then
18766    {
18767      $as_echo "/* $configure_input  */" \
18768      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18769    } >"$tmp/config.h" \
18770      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18771$as_echo "$as_me: error: could not create $ac_file" >&2;}
18772   { (exit 1); exit 1; }; }
18773    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18774      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18775$as_echo "$as_me: $ac_file is unchanged" >&6;}
18776    else
18777      rm -f "$ac_file"
18778      mv "$tmp/config.h" "$ac_file" \
18779	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18780$as_echo "$as_me: error: could not create $ac_file" >&2;}
18781   { (exit 1); exit 1; }; }
18782    fi
18783  else
18784    $as_echo "/* $configure_input  */" \
18785      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18786      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18787$as_echo "$as_me: error: could not create -" >&2;}
18788   { (exit 1); exit 1; }; }
18789  fi
18790# Compute "$ac_file"'s index in $config_headers.
18791_am_arg="$ac_file"
18792_am_stamp_count=1
18793for _am_header in $config_headers :; do
18794  case $_am_header in
18795    $_am_arg | $_am_arg:* )
18796      break ;;
18797    * )
18798      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18799  esac
18800done
18801echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18802$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18803	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18804	 X"$_am_arg" : 'X\(//\)$' \| \
18805	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18806$as_echo X"$_am_arg" |
18807    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18808	    s//\1/
18809	    q
18810	  }
18811	  /^X\(\/\/\)[^/].*/{
18812	    s//\1/
18813	    q
18814	  }
18815	  /^X\(\/\/\)$/{
18816	    s//\1/
18817	    q
18818	  }
18819	  /^X\(\/\).*/{
18820	    s//\1/
18821	    q
18822	  }
18823	  s/.*/./; q'`/stamp-h$_am_stamp_count
18824 ;;
18825
18826  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
18827$as_echo "$as_me: executing $ac_file commands" >&6;}
18828 ;;
18829  esac
18830
18831
18832  case $ac_file$ac_mode in
18833    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
18834# are listed without --file.  Let's play safe and only enable the eval
18835# if we detect the quoting.
18836case $CONFIG_FILES in
18837*\'*) eval set x "$CONFIG_FILES" ;;
18838*)   set x $CONFIG_FILES ;;
18839esac
18840shift
18841for mf
18842do
18843  # Strip MF so we end up with the name of the file.
18844  mf=`echo "$mf" | sed -e 's/:.*$//'`
18845  # Check whether this is an Automake generated Makefile or not.
18846  # We used to match only the files named `Makefile.in', but
18847  # some people rename them; so instead we look at the file content.
18848  # Grep'ing the first line is not enough: some people post-process
18849  # each Makefile.in and add a new line on top of each file to say so.
18850  # Grep'ing the whole file is not good either: AIX grep has a line
18851  # limit of 2048, but all sed's we know have understand at least 4000.
18852  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18853    dirpart=`$as_dirname -- "$mf" ||
18854$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18855	 X"$mf" : 'X\(//\)[^/]' \| \
18856	 X"$mf" : 'X\(//\)$' \| \
18857	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18858$as_echo X"$mf" |
18859    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18860	    s//\1/
18861	    q
18862	  }
18863	  /^X\(\/\/\)[^/].*/{
18864	    s//\1/
18865	    q
18866	  }
18867	  /^X\(\/\/\)$/{
18868	    s//\1/
18869	    q
18870	  }
18871	  /^X\(\/\).*/{
18872	    s//\1/
18873	    q
18874	  }
18875	  s/.*/./; q'`
18876  else
18877    continue
18878  fi
18879  # Extract the definition of DEPDIR, am__include, and am__quote
18880  # from the Makefile without running `make'.
18881  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18882  test -z "$DEPDIR" && continue
18883  am__include=`sed -n 's/^am__include = //p' < "$mf"`
18884  test -z "am__include" && continue
18885  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18886  # When using ansi2knr, U may be empty or an underscore; expand it
18887  U=`sed -n 's/^U = //p' < "$mf"`
18888  # Find all dependency output files, they are included files with
18889  # $(DEPDIR) in their names.  We invoke sed twice because it is the
18890  # simplest approach to changing $(DEPDIR) to its actual value in the
18891  # expansion.
18892  for file in `sed -n "
18893    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18894       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18895    # Make sure the directory exists.
18896    test -f "$dirpart/$file" && continue
18897    fdir=`$as_dirname -- "$file" ||
18898$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18899	 X"$file" : 'X\(//\)[^/]' \| \
18900	 X"$file" : 'X\(//\)$' \| \
18901	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18902$as_echo X"$file" |
18903    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18904	    s//\1/
18905	    q
18906	  }
18907	  /^X\(\/\/\)[^/].*/{
18908	    s//\1/
18909	    q
18910	  }
18911	  /^X\(\/\/\)$/{
18912	    s//\1/
18913	    q
18914	  }
18915	  /^X\(\/\).*/{
18916	    s//\1/
18917	    q
18918	  }
18919	  s/.*/./; q'`
18920    { as_dir=$dirpart/$fdir
18921  case $as_dir in #(
18922  -*) as_dir=./$as_dir;;
18923  esac
18924  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18925    as_dirs=
18926    while :; do
18927      case $as_dir in #(
18928      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18929      *) as_qdir=$as_dir;;
18930      esac
18931      as_dirs="'$as_qdir' $as_dirs"
18932      as_dir=`$as_dirname -- "$as_dir" ||
18933$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18934	 X"$as_dir" : 'X\(//\)[^/]' \| \
18935	 X"$as_dir" : 'X\(//\)$' \| \
18936	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18937$as_echo X"$as_dir" |
18938    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18939	    s//\1/
18940	    q
18941	  }
18942	  /^X\(\/\/\)[^/].*/{
18943	    s//\1/
18944	    q
18945	  }
18946	  /^X\(\/\/\)$/{
18947	    s//\1/
18948	    q
18949	  }
18950	  /^X\(\/\).*/{
18951	    s//\1/
18952	    q
18953	  }
18954	  s/.*/./; q'`
18955      test -d "$as_dir" && break
18956    done
18957    test -z "$as_dirs" || eval "mkdir $as_dirs"
18958  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18959$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18960   { (exit 1); exit 1; }; }; }
18961    # echo "creating $dirpart/$file"
18962    echo '# dummy' > "$dirpart/$file"
18963  done
18964done
18965 ;;
18966    "libtool":C)
18967
18968    # See if we are running on zsh, and set the options which allow our
18969    # commands through without removal of \ escapes.
18970    if test -n "${ZSH_VERSION+set}" ; then
18971      setopt NO_GLOB_SUBST
18972    fi
18973
18974    cfgfile="${ofile}T"
18975    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18976    $RM "$cfgfile"
18977
18978    cat <<_LT_EOF >> "$cfgfile"
18979#! $SHELL
18980
18981# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18982# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18983# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18984# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18985#
18986#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18987#                 2006, 2007, 2008 Free Software Foundation, Inc.
18988#   Written by Gordon Matzigkeit, 1996
18989#
18990#   This file is part of GNU Libtool.
18991#
18992# GNU Libtool is free software; you can redistribute it and/or
18993# modify it under the terms of the GNU General Public License as
18994# published by the Free Software Foundation; either version 2 of
18995# the License, or (at your option) any later version.
18996#
18997# As a special exception to the GNU General Public License,
18998# if you distribute this file as part of a program or library that
18999# is built using GNU Libtool, you may include this file under the
19000# same distribution terms that you use for the rest of that program.
19001#
19002# GNU Libtool is distributed in the hope that it will be useful,
19003# but WITHOUT ANY WARRANTY; without even the implied warranty of
19004# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19005# GNU General Public License for more details.
19006#
19007# You should have received a copy of the GNU General Public License
19008# along with GNU Libtool; see the file COPYING.  If not, a copy
19009# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19010# obtained by writing to the Free Software Foundation, Inc.,
19011# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19012
19013
19014# The names of the tagged configurations supported by this script.
19015available_tags=""
19016
19017# ### BEGIN LIBTOOL CONFIG
19018
19019# Which release of libtool.m4 was used?
19020macro_version=$macro_version
19021macro_revision=$macro_revision
19022
19023# Whether or not to build shared libraries.
19024build_libtool_libs=$enable_shared
19025
19026# Whether or not to build static libraries.
19027build_old_libs=$enable_static
19028
19029# What type of objects to build.
19030pic_mode=$pic_mode
19031
19032# Whether or not to optimize for fast installation.
19033fast_install=$enable_fast_install
19034
19035# The host system.
19036host_alias=$host_alias
19037host=$host
19038host_os=$host_os
19039
19040# The build system.
19041build_alias=$build_alias
19042build=$build
19043build_os=$build_os
19044
19045# A sed program that does not truncate output.
19046SED=$lt_SED
19047
19048# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19049Xsed="\$SED -e 1s/^X//"
19050
19051# A grep program that handles long lines.
19052GREP=$lt_GREP
19053
19054# An ERE matcher.
19055EGREP=$lt_EGREP
19056
19057# A literal string matcher.
19058FGREP=$lt_FGREP
19059
19060# A BSD- or MS-compatible name lister.
19061NM=$lt_NM
19062
19063# Whether we need soft or hard links.
19064LN_S=$lt_LN_S
19065
19066# What is the maximum length of a command?
19067max_cmd_len=$max_cmd_len
19068
19069# Object file suffix (normally "o").
19070objext=$ac_objext
19071
19072# Executable file suffix (normally "").
19073exeext=$exeext
19074
19075# whether the shell understands "unset".
19076lt_unset=$lt_unset
19077
19078# turn spaces into newlines.
19079SP2NL=$lt_lt_SP2NL
19080
19081# turn newlines into spaces.
19082NL2SP=$lt_lt_NL2SP
19083
19084# How to create reloadable object files.
19085reload_flag=$lt_reload_flag
19086reload_cmds=$lt_reload_cmds
19087
19088# An object symbol dumper.
19089OBJDUMP=$lt_OBJDUMP
19090
19091# Method to check whether dependent libraries are shared objects.
19092deplibs_check_method=$lt_deplibs_check_method
19093
19094# Command to use when deplibs_check_method == "file_magic".
19095file_magic_cmd=$lt_file_magic_cmd
19096
19097# The archiver.
19098AR=$lt_AR
19099AR_FLAGS=$lt_AR_FLAGS
19100
19101# A symbol stripping program.
19102STRIP=$lt_STRIP
19103
19104# Commands used to install an old-style archive.
19105RANLIB=$lt_RANLIB
19106old_postinstall_cmds=$lt_old_postinstall_cmds
19107old_postuninstall_cmds=$lt_old_postuninstall_cmds
19108
19109# A C compiler.
19110LTCC=$lt_CC
19111
19112# LTCC compiler flags.
19113LTCFLAGS=$lt_CFLAGS
19114
19115# Take the output of nm and produce a listing of raw symbols and C names.
19116global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19117
19118# Transform the output of nm in a proper C declaration.
19119global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19120
19121# Transform the output of nm in a C name address pair.
19122global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19123
19124# Transform the output of nm in a C name address pair when lib prefix is needed.
19125global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19126
19127# The name of the directory that contains temporary libtool files.
19128objdir=$objdir
19129
19130# Shell to use when invoking shell scripts.
19131SHELL=$lt_SHELL
19132
19133# An echo program that does not interpret backslashes.
19134ECHO=$lt_ECHO
19135
19136# Used to examine libraries when file_magic_cmd begins with "file".
19137MAGIC_CMD=$MAGIC_CMD
19138
19139# Must we lock files when doing compilation?
19140need_locks=$lt_need_locks
19141
19142# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19143DSYMUTIL=$lt_DSYMUTIL
19144
19145# Tool to change global to local symbols on Mac OS X.
19146NMEDIT=$lt_NMEDIT
19147
19148# Tool to manipulate fat objects and archives on Mac OS X.
19149LIPO=$lt_LIPO
19150
19151# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19152OTOOL=$lt_OTOOL
19153
19154# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19155OTOOL64=$lt_OTOOL64
19156
19157# Old archive suffix (normally "a").
19158libext=$libext
19159
19160# Shared library suffix (normally ".so").
19161shrext_cmds=$lt_shrext_cmds
19162
19163# The commands to extract the exported symbol list from a shared archive.
19164extract_expsyms_cmds=$lt_extract_expsyms_cmds
19165
19166# Variables whose values should be saved in libtool wrapper scripts and
19167# restored at link time.
19168variables_saved_for_relink=$lt_variables_saved_for_relink
19169
19170# Do we need the "lib" prefix for modules?
19171need_lib_prefix=$need_lib_prefix
19172
19173# Do we need a version for libraries?
19174need_version=$need_version
19175
19176# Library versioning type.
19177version_type=$version_type
19178
19179# Shared library runtime path variable.
19180runpath_var=$runpath_var
19181
19182# Shared library path variable.
19183shlibpath_var=$shlibpath_var
19184
19185# Is shlibpath searched before the hard-coded library search path?
19186shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19187
19188# Format of library name prefix.
19189libname_spec=$lt_libname_spec
19190
19191# List of archive names.  First name is the real one, the rest are links.
19192# The last name is the one that the linker finds with -lNAME
19193library_names_spec=$lt_library_names_spec
19194
19195# The coded name of the library, if different from the real name.
19196soname_spec=$lt_soname_spec
19197
19198# Command to use after installation of a shared archive.
19199postinstall_cmds=$lt_postinstall_cmds
19200
19201# Command to use after uninstallation of a shared archive.
19202postuninstall_cmds=$lt_postuninstall_cmds
19203
19204# Commands used to finish a libtool library installation in a directory.
19205finish_cmds=$lt_finish_cmds
19206
19207# As "finish_cmds", except a single script fragment to be evaled but
19208# not shown.
19209finish_eval=$lt_finish_eval
19210
19211# Whether we should hardcode library paths into libraries.
19212hardcode_into_libs=$hardcode_into_libs
19213
19214# Compile-time system search path for libraries.
19215sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19216
19217# Run-time system search path for libraries.
19218sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19219
19220# Whether dlopen is supported.
19221dlopen_support=$enable_dlopen
19222
19223# Whether dlopen of programs is supported.
19224dlopen_self=$enable_dlopen_self
19225
19226# Whether dlopen of statically linked programs is supported.
19227dlopen_self_static=$enable_dlopen_self_static
19228
19229# Commands to strip libraries.
19230old_striplib=$lt_old_striplib
19231striplib=$lt_striplib
19232
19233
19234# The linker used to build libraries.
19235LD=$lt_LD
19236
19237# Commands used to build an old-style archive.
19238old_archive_cmds=$lt_old_archive_cmds
19239
19240# A language specific compiler.
19241CC=$lt_compiler
19242
19243# Is the compiler the GNU compiler?
19244with_gcc=$GCC
19245
19246# Compiler flag to turn off builtin functions.
19247no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19248
19249# How to pass a linker flag through the compiler.
19250wl=$lt_lt_prog_compiler_wl
19251
19252# Additional compiler flags for building library objects.
19253pic_flag=$lt_lt_prog_compiler_pic
19254
19255# Compiler flag to prevent dynamic linking.
19256link_static_flag=$lt_lt_prog_compiler_static
19257
19258# Does compiler simultaneously support -c and -o options?
19259compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19260
19261# Whether or not to add -lc for building shared libraries.
19262build_libtool_need_lc=$archive_cmds_need_lc
19263
19264# Whether or not to disallow shared libs when runtime libs are static.
19265allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19266
19267# Compiler flag to allow reflexive dlopens.
19268export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19269
19270# Compiler flag to generate shared objects directly from archives.
19271whole_archive_flag_spec=$lt_whole_archive_flag_spec
19272
19273# Whether the compiler copes with passing no objects directly.
19274compiler_needs_object=$lt_compiler_needs_object
19275
19276# Create an old-style archive from a shared archive.
19277old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19278
19279# Create a temporary old-style archive to link instead of a shared archive.
19280old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19281
19282# Commands used to build a shared archive.
19283archive_cmds=$lt_archive_cmds
19284archive_expsym_cmds=$lt_archive_expsym_cmds
19285
19286# Commands used to build a loadable module if different from building
19287# a shared archive.
19288module_cmds=$lt_module_cmds
19289module_expsym_cmds=$lt_module_expsym_cmds
19290
19291# Whether we are building with GNU ld or not.
19292with_gnu_ld=$lt_with_gnu_ld
19293
19294# Flag that allows shared libraries with undefined symbols to be built.
19295allow_undefined_flag=$lt_allow_undefined_flag
19296
19297# Flag that enforces no undefined symbols.
19298no_undefined_flag=$lt_no_undefined_flag
19299
19300# Flag to hardcode \$libdir into a binary during linking.
19301# This must work even if \$libdir does not exist
19302hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19303
19304# If ld is used when linking, flag to hardcode \$libdir into a binary
19305# during linking.  This must work even if \$libdir does not exist.
19306hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19307
19308# Whether we need a single "-rpath" flag with a separated argument.
19309hardcode_libdir_separator=$lt_hardcode_libdir_separator
19310
19311# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19312# DIR into the resulting binary.
19313hardcode_direct=$hardcode_direct
19314
19315# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19316# DIR into the resulting binary and the resulting library dependency is
19317# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19318# library is relocated.
19319hardcode_direct_absolute=$hardcode_direct_absolute
19320
19321# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19322# into the resulting binary.
19323hardcode_minus_L=$hardcode_minus_L
19324
19325# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19326# into the resulting binary.
19327hardcode_shlibpath_var=$hardcode_shlibpath_var
19328
19329# Set to "yes" if building a shared library automatically hardcodes DIR
19330# into the library and all subsequent libraries and executables linked
19331# against it.
19332hardcode_automatic=$hardcode_automatic
19333
19334# Set to yes if linker adds runtime paths of dependent libraries
19335# to runtime path list.
19336inherit_rpath=$inherit_rpath
19337
19338# Whether libtool must link a program against all its dependency libraries.
19339link_all_deplibs=$link_all_deplibs
19340
19341# Fix the shell variable \$srcfile for the compiler.
19342fix_srcfile_path=$lt_fix_srcfile_path
19343
19344# Set to "yes" if exported symbols are required.
19345always_export_symbols=$always_export_symbols
19346
19347# The commands to list exported symbols.
19348export_symbols_cmds=$lt_export_symbols_cmds
19349
19350# Symbols that should not be listed in the preloaded symbols.
19351exclude_expsyms=$lt_exclude_expsyms
19352
19353# Symbols that must always be exported.
19354include_expsyms=$lt_include_expsyms
19355
19356# Commands necessary for linking programs (against libraries) with templates.
19357prelink_cmds=$lt_prelink_cmds
19358
19359# Specify filename containing input files.
19360file_list_spec=$lt_file_list_spec
19361
19362# How to hardcode a shared library path into an executable.
19363hardcode_action=$hardcode_action
19364
19365# ### END LIBTOOL CONFIG
19366
19367_LT_EOF
19368
19369  case $host_os in
19370  aix3*)
19371    cat <<\_LT_EOF >> "$cfgfile"
19372# AIX sometimes has problems with the GCC collect2 program.  For some
19373# reason, if we set the COLLECT_NAMES environment variable, the problems
19374# vanish in a puff of smoke.
19375if test "X${COLLECT_NAMES+set}" != Xset; then
19376  COLLECT_NAMES=
19377  export COLLECT_NAMES
19378fi
19379_LT_EOF
19380    ;;
19381  esac
19382
19383
19384ltmain="$ac_aux_dir/ltmain.sh"
19385
19386
19387  # We use sed instead of cat because bash on DJGPP gets confused if
19388  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19389  # text mode, it properly converts lines to CR/LF.  This bash problem
19390  # is reportedly fixed, but why not run on old versions too?
19391  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19392    || (rm -f "$cfgfile"; exit 1)
19393
19394  case $xsi_shell in
19395  yes)
19396    cat << \_LT_EOF >> "$cfgfile"
19397
19398# func_dirname file append nondir_replacement
19399# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19400# otherwise set result to NONDIR_REPLACEMENT.
19401func_dirname ()
19402{
19403  case ${1} in
19404    */*) func_dirname_result="${1%/*}${2}" ;;
19405    *  ) func_dirname_result="${3}" ;;
19406  esac
19407}
19408
19409# func_basename file
19410func_basename ()
19411{
19412  func_basename_result="${1##*/}"
19413}
19414
19415# func_dirname_and_basename file append nondir_replacement
19416# perform func_basename and func_dirname in a single function
19417# call:
19418#   dirname:  Compute the dirname of FILE.  If nonempty,
19419#             add APPEND to the result, otherwise set result
19420#             to NONDIR_REPLACEMENT.
19421#             value returned in "$func_dirname_result"
19422#   basename: Compute filename of FILE.
19423#             value retuned in "$func_basename_result"
19424# Implementation must be kept synchronized with func_dirname
19425# and func_basename. For efficiency, we do not delegate to
19426# those functions but instead duplicate the functionality here.
19427func_dirname_and_basename ()
19428{
19429  case ${1} in
19430    */*) func_dirname_result="${1%/*}${2}" ;;
19431    *  ) func_dirname_result="${3}" ;;
19432  esac
19433  func_basename_result="${1##*/}"
19434}
19435
19436# func_stripname prefix suffix name
19437# strip PREFIX and SUFFIX off of NAME.
19438# PREFIX and SUFFIX must not contain globbing or regex special
19439# characters, hashes, percent signs, but SUFFIX may contain a leading
19440# dot (in which case that matches only a dot).
19441func_stripname ()
19442{
19443  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19444  # positional parameters, so assign one to ordinary parameter first.
19445  func_stripname_result=${3}
19446  func_stripname_result=${func_stripname_result#"${1}"}
19447  func_stripname_result=${func_stripname_result%"${2}"}
19448}
19449
19450# func_opt_split
19451func_opt_split ()
19452{
19453  func_opt_split_opt=${1%%=*}
19454  func_opt_split_arg=${1#*=}
19455}
19456
19457# func_lo2o object
19458func_lo2o ()
19459{
19460  case ${1} in
19461    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19462    *)    func_lo2o_result=${1} ;;
19463  esac
19464}
19465
19466# func_xform libobj-or-source
19467func_xform ()
19468{
19469  func_xform_result=${1%.*}.lo
19470}
19471
19472# func_arith arithmetic-term...
19473func_arith ()
19474{
19475  func_arith_result=$(( $* ))
19476}
19477
19478# func_len string
19479# STRING may not start with a hyphen.
19480func_len ()
19481{
19482  func_len_result=${#1}
19483}
19484
19485_LT_EOF
19486    ;;
19487  *) # Bourne compatible functions.
19488    cat << \_LT_EOF >> "$cfgfile"
19489
19490# func_dirname file append nondir_replacement
19491# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19492# otherwise set result to NONDIR_REPLACEMENT.
19493func_dirname ()
19494{
19495  # Extract subdirectory from the argument.
19496  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19497  if test "X$func_dirname_result" = "X${1}"; then
19498    func_dirname_result="${3}"
19499  else
19500    func_dirname_result="$func_dirname_result${2}"
19501  fi
19502}
19503
19504# func_basename file
19505func_basename ()
19506{
19507  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19508}
19509
19510
19511# func_stripname prefix suffix name
19512# strip PREFIX and SUFFIX off of NAME.
19513# PREFIX and SUFFIX must not contain globbing or regex special
19514# characters, hashes, percent signs, but SUFFIX may contain a leading
19515# dot (in which case that matches only a dot).
19516# func_strip_suffix prefix name
19517func_stripname ()
19518{
19519  case ${2} in
19520    .*) func_stripname_result=`$ECHO "X${3}" \
19521           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19522    *)  func_stripname_result=`$ECHO "X${3}" \
19523           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19524  esac
19525}
19526
19527# sed scripts:
19528my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19529my_sed_long_arg='1s/^-[^=]*=//'
19530
19531# func_opt_split
19532func_opt_split ()
19533{
19534  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19535  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19536}
19537
19538# func_lo2o object
19539func_lo2o ()
19540{
19541  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19542}
19543
19544# func_xform libobj-or-source
19545func_xform ()
19546{
19547  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19548}
19549
19550# func_arith arithmetic-term...
19551func_arith ()
19552{
19553  func_arith_result=`expr "$@"`
19554}
19555
19556# func_len string
19557# STRING may not start with a hyphen.
19558func_len ()
19559{
19560  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19561}
19562
19563_LT_EOF
19564esac
19565
19566case $lt_shell_append in
19567  yes)
19568    cat << \_LT_EOF >> "$cfgfile"
19569
19570# func_append var value
19571# Append VALUE to the end of shell variable VAR.
19572func_append ()
19573{
19574  eval "$1+=\$2"
19575}
19576_LT_EOF
19577    ;;
19578  *)
19579    cat << \_LT_EOF >> "$cfgfile"
19580
19581# func_append var value
19582# Append VALUE to the end of shell variable VAR.
19583func_append ()
19584{
19585  eval "$1=\$$1\$2"
19586}
19587
19588_LT_EOF
19589    ;;
19590  esac
19591
19592
19593  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19594    || (rm -f "$cfgfile"; exit 1)
19595
19596  mv -f "$cfgfile" "$ofile" ||
19597    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19598  chmod +x "$ofile"
19599
19600 ;;
19601    "libtool_hack":C)
19602	cp -f libtool libtool_
19603	test -z "$SED" && SED=sed
19604	$SED '1,/^soname_spec/{
19605/^soname_spec/i\
19606# X.Org hack to match monolithic Xaw SONAME\
19607xorglibxawname="libXaw"
19608/^soname_spec/s/libname/xorglibxawname/
19609}' libtool_ > libtool
19610	rm -f libtool_
19611 ;;
19612
19613  esac
19614done # for ac_tag
19615
19616
19617{ (exit 0); exit 0; }
19618_ACEOF
19619chmod +x $CONFIG_STATUS
19620ac_clean_files=$ac_clean_files_save
19621
19622test $ac_write_fail = 0 ||
19623  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19624$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19625   { (exit 1); exit 1; }; }
19626
19627
19628# configure is writing to config.log, and then calls config.status.
19629# config.status does its own redirection, appending to config.log.
19630# Unfortunately, on DOS this fails, as config.log is still kept open
19631# by configure, so config.status won't be able to write to it; its
19632# output is simply discarded.  So we exec the FD to /dev/null,
19633# effectively closing config.log, so it can be properly (re)opened and
19634# appended to by config.status.  When coming back to configure, we
19635# need to make the FD available again.
19636if test "$no_create" != yes; then
19637  ac_cs_success=:
19638  ac_config_status_args=
19639  test "$silent" = yes &&
19640    ac_config_status_args="$ac_config_status_args --quiet"
19641  exec 5>/dev/null
19642  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19643  exec 5>>config.log
19644  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19645  # would make configure fail if this is the last instruction.
19646  $ac_cs_success || { (exit 1); exit 1; }
19647fi
19648if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19649  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19650$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19651fi
19652
19653fi
19654