1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for Epson Inkjet Printer Driver (ESC/P-R) for Linux 1.7.17.
4#
5# Report bugs to <Seiko Epson Corporation <linux-printer@epson.jp>>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (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
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and Seiko Epson
278$0: Corporation <linux-printer@epson.jp> about your system,
279$0: including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='Epson Inkjet Printer Driver (ESC/P-R) for Linux'
592PACKAGE_TARNAME='epson-inkjet-printer-escpr'
593PACKAGE_VERSION='1.7.17'
594PACKAGE_STRING='Epson Inkjet Printer Driver (ESC/P-R) for Linux 1.7.17'
595PACKAGE_BUGREPORT='Seiko Epson Corporation <linux-printer@epson.jp>'
596PACKAGE_URL=''
597
598ac_unique_file="src/filter.c"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639INTERNAL_PPD_OPTION
640INTERNAL_PPD
641LSB_FALSE
642LSB_TRUE
643CUPS_PPD_DIR
644CUPS_FILTER_DIR
645have_cups_config
646LT_SYS_LIBRARY_PATH
647OTOOL64
648OTOOL
649LIPO
650NMEDIT
651DSYMUTIL
652MANIFEST_TOOL
653RANLIB
654ac_ct_AR
655AR
656DLLTOOL
657OBJDUMP
658NM
659ac_ct_DUMPBIN
660DUMPBIN
661LD
662FGREP
663EGREP
664GREP
665SED
666host_os
667host_vendor
668host_cpu
669host
670build_os
671build_vendor
672build_cpu
673build
674LIBTOOL
675LN_S
676CPP
677am__fastdepCC_FALSE
678am__fastdepCC_TRUE
679CCDEPMODE
680am__nodep
681AMDEPBACKSLASH
682AMDEP_FALSE
683AMDEP_TRUE
684am__quote
685am__include
686DEPDIR
687OBJEXT
688EXEEXT
689ac_ct_CC
690CPPFLAGS
691LDFLAGS
692CFLAGS
693CC
694AM_BACKSLASH
695AM_DEFAULT_VERBOSITY
696AM_DEFAULT_V
697AM_V
698am__untar
699am__tar
700AMTAR
701am__leading_dot
702SET_MAKE
703AWK
704mkdir_p
705MKDIR_P
706INSTALL_STRIP_PROGRAM
707STRIP
708install_sh
709MAKEINFO
710AUTOHEADER
711AUTOMAKE
712AUTOCONF
713ACLOCAL
714VERSION
715PACKAGE
716CYGPATH_W
717am__isrc
718INSTALL_DATA
719INSTALL_SCRIPT
720INSTALL_PROGRAM
721VENDOR_NAME
722LSB_VER
723PACKAGE_RELEASE
724target_alias
725host_alias
726build_alias
727LIBS
728ECHO_T
729ECHO_N
730ECHO_C
731DEFS
732mandir
733localedir
734libdir
735psdir
736pdfdir
737dvidir
738htmldir
739infodir
740docdir
741oldincludedir
742includedir
743runstatedir
744localstatedir
745sharedstatedir
746sysconfdir
747datadir
748datarootdir
749libexecdir
750sbindir
751bindir
752program_transform_name
753prefix
754exec_prefix
755PACKAGE_URL
756PACKAGE_BUGREPORT
757PACKAGE_STRING
758PACKAGE_VERSION
759PACKAGE_TARNAME
760PACKAGE_NAME
761PATH_SEPARATOR
762SHELL'
763ac_subst_files=''
764ac_user_opts='
765enable_option_checking
766enable_silent_rules
767enable_dependency_tracking
768enable_shared
769enable_static
770with_pic
771enable_fast_install
772with_aix_soname
773with_gnu_ld
774with_sysroot
775enable_libtool_lock
776with_cupsfilterdir
777with_cupsppddir
778enable_lsb
779with_internal
780'
781      ac_precious_vars='build_alias
782host_alias
783target_alias
784CC
785CFLAGS
786LDFLAGS
787LIBS
788CPPFLAGS
789CPP
790LT_SYS_LIBRARY_PATH'
791
792
793# Initialize some variables set by options.
794ac_init_help=
795ac_init_version=false
796ac_unrecognized_opts=
797ac_unrecognized_sep=
798# The variables have the same names as the options, with
799# dashes changed to underlines.
800cache_file=/dev/null
801exec_prefix=NONE
802no_create=
803no_recursion=
804prefix=NONE
805program_prefix=NONE
806program_suffix=NONE
807program_transform_name=s,x,x,
808silent=
809site=
810srcdir=
811verbose=
812x_includes=NONE
813x_libraries=NONE
814
815# Installation directory options.
816# These are left unexpanded so users can "make install exec_prefix=/foo"
817# and all the variables that are supposed to be based on exec_prefix
818# by default will actually change.
819# Use braces instead of parens because sh, perl, etc. also accept them.
820# (The list follows the same order as the GNU Coding Standards.)
821bindir='${exec_prefix}/bin'
822sbindir='${exec_prefix}/sbin'
823libexecdir='${exec_prefix}/libexec'
824datarootdir='${prefix}/share'
825datadir='${datarootdir}'
826sysconfdir='${prefix}/etc'
827sharedstatedir='${prefix}/com'
828localstatedir='${prefix}/var'
829runstatedir='${localstatedir}/run'
830includedir='${prefix}/include'
831oldincludedir='/usr/include'
832docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833infodir='${datarootdir}/info'
834htmldir='${docdir}'
835dvidir='${docdir}'
836pdfdir='${docdir}'
837psdir='${docdir}'
838libdir='${exec_prefix}/lib'
839localedir='${datarootdir}/locale'
840mandir='${datarootdir}/man'
841
842ac_prev=
843ac_dashdash=
844for ac_option
845do
846  # If the previous option needs an argument, assign it.
847  if test -n "$ac_prev"; then
848    eval $ac_prev=\$ac_option
849    ac_prev=
850    continue
851  fi
852
853  case $ac_option in
854  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855  *=)   ac_optarg= ;;
856  *)    ac_optarg=yes ;;
857  esac
858
859  # Accept the important Cygnus configure options, so we can diagnose typos.
860
861  case $ac_dashdash$ac_option in
862  --)
863    ac_dashdash=yes ;;
864
865  -bindir | --bindir | --bindi | --bind | --bin | --bi)
866    ac_prev=bindir ;;
867  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
868    bindir=$ac_optarg ;;
869
870  -build | --build | --buil | --bui | --bu)
871    ac_prev=build_alias ;;
872  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
873    build_alias=$ac_optarg ;;
874
875  -cache-file | --cache-file | --cache-fil | --cache-fi \
876  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
877    ac_prev=cache_file ;;
878  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
879  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
880    cache_file=$ac_optarg ;;
881
882  --config-cache | -C)
883    cache_file=config.cache ;;
884
885  -datadir | --datadir | --datadi | --datad)
886    ac_prev=datadir ;;
887  -datadir=* | --datadir=* | --datadi=* | --datad=*)
888    datadir=$ac_optarg ;;
889
890  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
891  | --dataroo | --dataro | --datar)
892    ac_prev=datarootdir ;;
893  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
894  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
895    datarootdir=$ac_optarg ;;
896
897  -disable-* | --disable-*)
898    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899    # Reject names that are not valid shell variable names.
900    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
901      as_fn_error $? "invalid feature name: $ac_useropt"
902    ac_useropt_orig=$ac_useropt
903    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904    case $ac_user_opts in
905      *"
906"enable_$ac_useropt"
907"*) ;;
908      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909	 ac_unrecognized_sep=', ';;
910    esac
911    eval enable_$ac_useropt=no ;;
912
913  -docdir | --docdir | --docdi | --doc | --do)
914    ac_prev=docdir ;;
915  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
916    docdir=$ac_optarg ;;
917
918  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
919    ac_prev=dvidir ;;
920  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
921    dvidir=$ac_optarg ;;
922
923  -enable-* | --enable-*)
924    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925    # Reject names that are not valid shell variable names.
926    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927      as_fn_error $? "invalid feature name: $ac_useropt"
928    ac_useropt_orig=$ac_useropt
929    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930    case $ac_user_opts in
931      *"
932"enable_$ac_useropt"
933"*) ;;
934      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
935	 ac_unrecognized_sep=', ';;
936    esac
937    eval enable_$ac_useropt=\$ac_optarg ;;
938
939  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
940  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
941  | --exec | --exe | --ex)
942    ac_prev=exec_prefix ;;
943  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
944  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
945  | --exec=* | --exe=* | --ex=*)
946    exec_prefix=$ac_optarg ;;
947
948  -gas | --gas | --ga | --g)
949    # Obsolete; use --with-gas.
950    with_gas=yes ;;
951
952  -help | --help | --hel | --he | -h)
953    ac_init_help=long ;;
954  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
955    ac_init_help=recursive ;;
956  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
957    ac_init_help=short ;;
958
959  -host | --host | --hos | --ho)
960    ac_prev=host_alias ;;
961  -host=* | --host=* | --hos=* | --ho=*)
962    host_alias=$ac_optarg ;;
963
964  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
965    ac_prev=htmldir ;;
966  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
967  | --ht=*)
968    htmldir=$ac_optarg ;;
969
970  -includedir | --includedir | --includedi | --included | --include \
971  | --includ | --inclu | --incl | --inc)
972    ac_prev=includedir ;;
973  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
974  | --includ=* | --inclu=* | --incl=* | --inc=*)
975    includedir=$ac_optarg ;;
976
977  -infodir | --infodir | --infodi | --infod | --info | --inf)
978    ac_prev=infodir ;;
979  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
980    infodir=$ac_optarg ;;
981
982  -libdir | --libdir | --libdi | --libd)
983    ac_prev=libdir ;;
984  -libdir=* | --libdir=* | --libdi=* | --libd=*)
985    libdir=$ac_optarg ;;
986
987  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
988  | --libexe | --libex | --libe)
989    ac_prev=libexecdir ;;
990  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
991  | --libexe=* | --libex=* | --libe=*)
992    libexecdir=$ac_optarg ;;
993
994  -localedir | --localedir | --localedi | --localed | --locale)
995    ac_prev=localedir ;;
996  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
997    localedir=$ac_optarg ;;
998
999  -localstatedir | --localstatedir | --localstatedi | --localstated \
1000  | --localstate | --localstat | --localsta | --localst | --locals)
1001    ac_prev=localstatedir ;;
1002  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1003  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1004    localstatedir=$ac_optarg ;;
1005
1006  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1007    ac_prev=mandir ;;
1008  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1009    mandir=$ac_optarg ;;
1010
1011  -nfp | --nfp | --nf)
1012    # Obsolete; use --without-fp.
1013    with_fp=no ;;
1014
1015  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1016  | --no-cr | --no-c | -n)
1017    no_create=yes ;;
1018
1019  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1020  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1021    no_recursion=yes ;;
1022
1023  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1024  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1025  | --oldin | --oldi | --old | --ol | --o)
1026    ac_prev=oldincludedir ;;
1027  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1028  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1029  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1030    oldincludedir=$ac_optarg ;;
1031
1032  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1033    ac_prev=prefix ;;
1034  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1035    prefix=$ac_optarg ;;
1036
1037  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1038  | --program-pre | --program-pr | --program-p)
1039    ac_prev=program_prefix ;;
1040  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1041  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1042    program_prefix=$ac_optarg ;;
1043
1044  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1045  | --program-suf | --program-su | --program-s)
1046    ac_prev=program_suffix ;;
1047  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1048  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1049    program_suffix=$ac_optarg ;;
1050
1051  -program-transform-name | --program-transform-name \
1052  | --program-transform-nam | --program-transform-na \
1053  | --program-transform-n | --program-transform- \
1054  | --program-transform | --program-transfor \
1055  | --program-transfo | --program-transf \
1056  | --program-trans | --program-tran \
1057  | --progr-tra | --program-tr | --program-t)
1058    ac_prev=program_transform_name ;;
1059  -program-transform-name=* | --program-transform-name=* \
1060  | --program-transform-nam=* | --program-transform-na=* \
1061  | --program-transform-n=* | --program-transform-=* \
1062  | --program-transform=* | --program-transfor=* \
1063  | --program-transfo=* | --program-transf=* \
1064  | --program-trans=* | --program-tran=* \
1065  | --progr-tra=* | --program-tr=* | --program-t=*)
1066    program_transform_name=$ac_optarg ;;
1067
1068  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1069    ac_prev=pdfdir ;;
1070  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1071    pdfdir=$ac_optarg ;;
1072
1073  -psdir | --psdir | --psdi | --psd | --ps)
1074    ac_prev=psdir ;;
1075  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1076    psdir=$ac_optarg ;;
1077
1078  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1079  | -silent | --silent | --silen | --sile | --sil)
1080    silent=yes ;;
1081
1082  -runstatedir | --runstatedir | --runstatedi | --runstated \
1083  | --runstate | --runstat | --runsta | --runst | --runs \
1084  | --run | --ru | --r)
1085    ac_prev=runstatedir ;;
1086  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1087  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1088  | --run=* | --ru=* | --r=*)
1089    runstatedir=$ac_optarg ;;
1090
1091  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1092    ac_prev=sbindir ;;
1093  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1094  | --sbi=* | --sb=*)
1095    sbindir=$ac_optarg ;;
1096
1097  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1098  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1099  | --sharedst | --shareds | --shared | --share | --shar \
1100  | --sha | --sh)
1101    ac_prev=sharedstatedir ;;
1102  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1103  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1104  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1105  | --sha=* | --sh=*)
1106    sharedstatedir=$ac_optarg ;;
1107
1108  -site | --site | --sit)
1109    ac_prev=site ;;
1110  -site=* | --site=* | --sit=*)
1111    site=$ac_optarg ;;
1112
1113  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1114    ac_prev=srcdir ;;
1115  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1116    srcdir=$ac_optarg ;;
1117
1118  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1119  | --syscon | --sysco | --sysc | --sys | --sy)
1120    ac_prev=sysconfdir ;;
1121  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1122  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1123    sysconfdir=$ac_optarg ;;
1124
1125  -target | --target | --targe | --targ | --tar | --ta | --t)
1126    ac_prev=target_alias ;;
1127  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1128    target_alias=$ac_optarg ;;
1129
1130  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1131    verbose=yes ;;
1132
1133  -version | --version | --versio | --versi | --vers | -V)
1134    ac_init_version=: ;;
1135
1136  -with-* | --with-*)
1137    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1138    # Reject names that are not valid shell variable names.
1139    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1140      as_fn_error $? "invalid package name: $ac_useropt"
1141    ac_useropt_orig=$ac_useropt
1142    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143    case $ac_user_opts in
1144      *"
1145"with_$ac_useropt"
1146"*) ;;
1147      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148	 ac_unrecognized_sep=', ';;
1149    esac
1150    eval with_$ac_useropt=\$ac_optarg ;;
1151
1152  -without-* | --without-*)
1153    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154    # Reject names that are not valid shell variable names.
1155    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156      as_fn_error $? "invalid package name: $ac_useropt"
1157    ac_useropt_orig=$ac_useropt
1158    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159    case $ac_user_opts in
1160      *"
1161"with_$ac_useropt"
1162"*) ;;
1163      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1164	 ac_unrecognized_sep=', ';;
1165    esac
1166    eval with_$ac_useropt=no ;;
1167
1168  --x)
1169    # Obsolete; use --with-x.
1170    with_x=yes ;;
1171
1172  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1173  | --x-incl | --x-inc | --x-in | --x-i)
1174    ac_prev=x_includes ;;
1175  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1176  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1177    x_includes=$ac_optarg ;;
1178
1179  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1180  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1181    ac_prev=x_libraries ;;
1182  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1183  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1184    x_libraries=$ac_optarg ;;
1185
1186  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1187Try \`$0 --help' for more information"
1188    ;;
1189
1190  *=*)
1191    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1192    # Reject names that are not valid shell variable names.
1193    case $ac_envvar in #(
1194      '' | [0-9]* | *[!_$as_cr_alnum]* )
1195      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1196    esac
1197    eval $ac_envvar=\$ac_optarg
1198    export $ac_envvar ;;
1199
1200  *)
1201    # FIXME: should be removed in autoconf 3.0.
1202    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1203    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1205    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1206    ;;
1207
1208  esac
1209done
1210
1211if test -n "$ac_prev"; then
1212  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1213  as_fn_error $? "missing argument to $ac_option"
1214fi
1215
1216if test -n "$ac_unrecognized_opts"; then
1217  case $enable_option_checking in
1218    no) ;;
1219    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1220    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1221  esac
1222fi
1223
1224# Check all directory arguments for consistency.
1225for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1226		datadir sysconfdir sharedstatedir localstatedir includedir \
1227		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1228		libdir localedir mandir runstatedir
1229do
1230  eval ac_val=\$$ac_var
1231  # Remove trailing slashes.
1232  case $ac_val in
1233    */ )
1234      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1235      eval $ac_var=\$ac_val;;
1236  esac
1237  # Be sure to have absolute directory names.
1238  case $ac_val in
1239    [\\/$]* | ?:[\\/]* )  continue;;
1240    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1241  esac
1242  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1243done
1244
1245# There might be people who depend on the old broken behavior: `$host'
1246# used to hold the argument of --host etc.
1247# FIXME: To remove some day.
1248build=$build_alias
1249host=$host_alias
1250target=$target_alias
1251
1252# FIXME: To remove some day.
1253if test "x$host_alias" != x; then
1254  if test "x$build_alias" = x; then
1255    cross_compiling=maybe
1256  elif test "x$build_alias" != "x$host_alias"; then
1257    cross_compiling=yes
1258  fi
1259fi
1260
1261ac_tool_prefix=
1262test -n "$host_alias" && ac_tool_prefix=$host_alias-
1263
1264test "$silent" = yes && exec 6>/dev/null
1265
1266
1267ac_pwd=`pwd` && test -n "$ac_pwd" &&
1268ac_ls_di=`ls -di .` &&
1269ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1270  as_fn_error $? "working directory cannot be determined"
1271test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272  as_fn_error $? "pwd does not report name of working directory"
1273
1274
1275# Find the source files, if location was not specified.
1276if test -z "$srcdir"; then
1277  ac_srcdir_defaulted=yes
1278  # Try the directory containing this script, then the parent directory.
1279  ac_confdir=`$as_dirname -- "$as_myself" ||
1280$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281	 X"$as_myself" : 'X\(//\)[^/]' \| \
1282	 X"$as_myself" : 'X\(//\)$' \| \
1283	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284$as_echo X"$as_myself" |
1285    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286	    s//\1/
1287	    q
1288	  }
1289	  /^X\(\/\/\)[^/].*/{
1290	    s//\1/
1291	    q
1292	  }
1293	  /^X\(\/\/\)$/{
1294	    s//\1/
1295	    q
1296	  }
1297	  /^X\(\/\).*/{
1298	    s//\1/
1299	    q
1300	  }
1301	  s/.*/./; q'`
1302  srcdir=$ac_confdir
1303  if test ! -r "$srcdir/$ac_unique_file"; then
1304    srcdir=..
1305  fi
1306else
1307  ac_srcdir_defaulted=no
1308fi
1309if test ! -r "$srcdir/$ac_unique_file"; then
1310  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1311  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1312fi
1313ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1314ac_abs_confdir=`(
1315	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316	pwd)`
1317# When building in place, set srcdir=.
1318if test "$ac_abs_confdir" = "$ac_pwd"; then
1319  srcdir=.
1320fi
1321# Remove unnecessary trailing slashes from srcdir.
1322# Double slashes in file names in object file debugging info
1323# mess up M-x gdb in Emacs.
1324case $srcdir in
1325*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326esac
1327for ac_var in $ac_precious_vars; do
1328  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1329  eval ac_env_${ac_var}_value=\$${ac_var}
1330  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1331  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1332done
1333
1334#
1335# Report the --help message.
1336#
1337if test "$ac_init_help" = "long"; then
1338  # Omit some internal or obsolete options to make the list less imposing.
1339  # This message is too long to be a string in the A/UX 3.1 sh.
1340  cat <<_ACEOF
1341\`configure' configures Epson Inkjet Printer Driver (ESC/P-R) for Linux 1.7.17 to adapt to many kinds of systems.
1342
1343Usage: $0 [OPTION]... [VAR=VALUE]...
1344
1345To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346VAR=VALUE.  See below for descriptions of some of the useful variables.
1347
1348Defaults for the options are specified in brackets.
1349
1350Configuration:
1351  -h, --help              display this help and exit
1352      --help=short        display options specific to this package
1353      --help=recursive    display the short help of all the included packages
1354  -V, --version           display version information and exit
1355  -q, --quiet, --silent   do not print \`checking ...' messages
1356      --cache-file=FILE   cache test results in FILE [disabled]
1357  -C, --config-cache      alias for \`--cache-file=config.cache'
1358  -n, --no-create         do not create output files
1359      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1360
1361Installation directories:
1362  --prefix=PREFIX         install architecture-independent files in PREFIX
1363                          [$ac_default_prefix]
1364  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1365                          [PREFIX]
1366
1367By default, \`make install' will install all the files in
1368\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1369an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370for instance \`--prefix=\$HOME'.
1371
1372For better control, use the options below.
1373
1374Fine tuning of the installation directories:
1375  --bindir=DIR            user executables [EPREFIX/bin]
1376  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1377  --libexecdir=DIR        program executables [EPREFIX/libexec]
1378  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1379  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1380  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1381  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1382  --libdir=DIR            object code libraries [EPREFIX/lib]
1383  --includedir=DIR        C header files [PREFIX/include]
1384  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1385  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1386  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1387  --infodir=DIR           info documentation [DATAROOTDIR/info]
1388  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1389  --mandir=DIR            man documentation [DATAROOTDIR/man]
1390  --docdir=DIR            documentation root
1391                          [DATAROOTDIR/doc/epson-inkjet-printer-escpr]
1392  --htmldir=DIR           html documentation [DOCDIR]
1393  --dvidir=DIR            dvi documentation [DOCDIR]
1394  --pdfdir=DIR            pdf documentation [DOCDIR]
1395  --psdir=DIR             ps documentation [DOCDIR]
1396_ACEOF
1397
1398  cat <<\_ACEOF
1399
1400Program names:
1401  --program-prefix=PREFIX            prepend PREFIX to installed program names
1402  --program-suffix=SUFFIX            append SUFFIX to installed program names
1403  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1404
1405System types:
1406  --build=BUILD     configure for building on BUILD [guessed]
1407  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1408_ACEOF
1409fi
1410
1411if test -n "$ac_init_help"; then
1412  case $ac_init_help in
1413     short | recursive ) echo "Configuration of Epson Inkjet Printer Driver (ESC/P-R) for Linux 1.7.17:";;
1414   esac
1415  cat <<\_ACEOF
1416
1417Optional Features:
1418  --disable-option-checking  ignore unrecognized --enable/--with options
1419  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1420  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1421  --enable-silent-rules   less verbose build output (undo: "make V=1")
1422  --disable-silent-rules  verbose build output (undo: "make V=0")
1423  --enable-dependency-tracking
1424                          do not reject slow dependency extractors
1425  --disable-dependency-tracking
1426                          speeds up one-time build
1427  --enable-shared[=PKGS]  build shared libraries [default=yes]
1428  --enable-static[=PKGS]  build static libraries [default=yes]
1429  --enable-fast-install[=PKGS]
1430                          optimize for fast installation [default=yes]
1431  --disable-libtool-lock  avoid locking (might break parallel builds)
1432  --enable-lsb            Turn on lsb build environment
1433
1434Optional Packages:
1435  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1436  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1437  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1438                          both]
1439  --with-aix-soname=aix|svr4|both
1440                          shared library versioning (aka "SONAME") variant to
1441                          provide on AIX, [default=aix].
1442  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1443  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1444                          compiler's sysroot if not specified).
1445  --with-cupsfilterdir=DIR
1446                          CUPS binary directory, where filters are stored.
1447  --with-cupsppddir=DIR   CUPS ppd directory
1448  --with-internal=subdir  Turn on internal ppd
1449
1450Some influential environment variables:
1451  CC          C compiler command
1452  CFLAGS      C compiler flags
1453  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1454              nonstandard directory <lib dir>
1455  LIBS        libraries to pass to the linker, e.g. -l<library>
1456  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1457              you have headers in a nonstandard directory <include dir>
1458  CPP         C preprocessor
1459  LT_SYS_LIBRARY_PATH
1460              User-defined run-time library search path.
1461
1462Use these variables to override the choices made by `configure' or to help
1463it to find libraries and programs with nonstandard names/locations.
1464
1465Report bugs to <Seiko Epson Corporation <linux-printer@epson.jp>>.
1466_ACEOF
1467ac_status=$?
1468fi
1469
1470if test "$ac_init_help" = "recursive"; then
1471  # If there are subdirs, report their specific --help.
1472  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1473    test -d "$ac_dir" ||
1474      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1475      continue
1476    ac_builddir=.
1477
1478case "$ac_dir" in
1479.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480*)
1481  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1482  # A ".." for each directory in $ac_dir_suffix.
1483  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1484  case $ac_top_builddir_sub in
1485  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1487  esac ;;
1488esac
1489ac_abs_top_builddir=$ac_pwd
1490ac_abs_builddir=$ac_pwd$ac_dir_suffix
1491# for backward compatibility:
1492ac_top_builddir=$ac_top_build_prefix
1493
1494case $srcdir in
1495  .)  # We are building in place.
1496    ac_srcdir=.
1497    ac_top_srcdir=$ac_top_builddir_sub
1498    ac_abs_top_srcdir=$ac_pwd ;;
1499  [\\/]* | ?:[\\/]* )  # Absolute name.
1500    ac_srcdir=$srcdir$ac_dir_suffix;
1501    ac_top_srcdir=$srcdir
1502    ac_abs_top_srcdir=$srcdir ;;
1503  *) # Relative name.
1504    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1505    ac_top_srcdir=$ac_top_build_prefix$srcdir
1506    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1507esac
1508ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1509
1510    cd "$ac_dir" || { ac_status=$?; continue; }
1511    # Check for guested configure.
1512    if test -f "$ac_srcdir/configure.gnu"; then
1513      echo &&
1514      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1515    elif test -f "$ac_srcdir/configure"; then
1516      echo &&
1517      $SHELL "$ac_srcdir/configure" --help=recursive
1518    else
1519      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1520    fi || ac_status=$?
1521    cd "$ac_pwd" || { ac_status=$?; break; }
1522  done
1523fi
1524
1525test -n "$ac_init_help" && exit $ac_status
1526if $ac_init_version; then
1527  cat <<\_ACEOF
1528Epson Inkjet Printer Driver (ESC/P-R) for Linux configure 1.7.17
1529generated by GNU Autoconf 2.69
1530
1531Copyright (C) 2012 Free Software Foundation, Inc.
1532This configure script is free software; the Free Software Foundation
1533gives unlimited permission to copy, distribute and modify it.
1534_ACEOF
1535  exit
1536fi
1537
1538## ------------------------ ##
1539## Autoconf initialization. ##
1540## ------------------------ ##
1541
1542# ac_fn_c_try_compile LINENO
1543# --------------------------
1544# Try to compile conftest.$ac_ext, and return whether this succeeded.
1545ac_fn_c_try_compile ()
1546{
1547  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548  rm -f conftest.$ac_objext
1549  if { { ac_try="$ac_compile"
1550case "(($ac_try" in
1551  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1552  *) ac_try_echo=$ac_try;;
1553esac
1554eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555$as_echo "$ac_try_echo"; } >&5
1556  (eval "$ac_compile") 2>conftest.err
1557  ac_status=$?
1558  if test -s conftest.err; then
1559    grep -v '^ *+' conftest.err >conftest.er1
1560    cat conftest.er1 >&5
1561    mv -f conftest.er1 conftest.err
1562  fi
1563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564  test $ac_status = 0; } && {
1565	 test -z "$ac_c_werror_flag" ||
1566	 test ! -s conftest.err
1567       } && test -s conftest.$ac_objext; then :
1568  ac_retval=0
1569else
1570  $as_echo "$as_me: failed program was:" >&5
1571sed 's/^/| /' conftest.$ac_ext >&5
1572
1573	ac_retval=1
1574fi
1575  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1576  as_fn_set_status $ac_retval
1577
1578} # ac_fn_c_try_compile
1579
1580# ac_fn_c_try_cpp LINENO
1581# ----------------------
1582# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1583ac_fn_c_try_cpp ()
1584{
1585  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586  if { { ac_try="$ac_cpp conftest.$ac_ext"
1587case "(($ac_try" in
1588  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1589  *) ac_try_echo=$ac_try;;
1590esac
1591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1592$as_echo "$ac_try_echo"; } >&5
1593  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1594  ac_status=$?
1595  if test -s conftest.err; then
1596    grep -v '^ *+' conftest.err >conftest.er1
1597    cat conftest.er1 >&5
1598    mv -f conftest.er1 conftest.err
1599  fi
1600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1601  test $ac_status = 0; } > conftest.i && {
1602	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1603	 test ! -s conftest.err
1604       }; then :
1605  ac_retval=0
1606else
1607  $as_echo "$as_me: failed program was:" >&5
1608sed 's/^/| /' conftest.$ac_ext >&5
1609
1610    ac_retval=1
1611fi
1612  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613  as_fn_set_status $ac_retval
1614
1615} # ac_fn_c_try_cpp
1616
1617# ac_fn_c_try_link LINENO
1618# -----------------------
1619# Try to link conftest.$ac_ext, and return whether this succeeded.
1620ac_fn_c_try_link ()
1621{
1622  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623  rm -f conftest.$ac_objext conftest$ac_exeext
1624  if { { ac_try="$ac_link"
1625case "(($ac_try" in
1626  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627  *) ac_try_echo=$ac_try;;
1628esac
1629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630$as_echo "$ac_try_echo"; } >&5
1631  (eval "$ac_link") 2>conftest.err
1632  ac_status=$?
1633  if test -s conftest.err; then
1634    grep -v '^ *+' conftest.err >conftest.er1
1635    cat conftest.er1 >&5
1636    mv -f conftest.er1 conftest.err
1637  fi
1638  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639  test $ac_status = 0; } && {
1640	 test -z "$ac_c_werror_flag" ||
1641	 test ! -s conftest.err
1642       } && test -s conftest$ac_exeext && {
1643	 test "$cross_compiling" = yes ||
1644	 test -x conftest$ac_exeext
1645       }; then :
1646  ac_retval=0
1647else
1648  $as_echo "$as_me: failed program was:" >&5
1649sed 's/^/| /' conftest.$ac_ext >&5
1650
1651	ac_retval=1
1652fi
1653  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1654  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1655  # interfere with the next link command; also delete a directory that is
1656  # left behind by Apple's compiler.  We do this before executing the actions.
1657  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1658  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659  as_fn_set_status $ac_retval
1660
1661} # ac_fn_c_try_link
1662
1663# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1664# -------------------------------------------------------
1665# Tests whether HEADER exists and can be compiled using the include files in
1666# INCLUDES, setting the cache variable VAR accordingly.
1667ac_fn_c_check_header_compile ()
1668{
1669  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671$as_echo_n "checking for $2... " >&6; }
1672if eval \${$3+:} false; then :
1673  $as_echo_n "(cached) " >&6
1674else
1675  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1676/* end confdefs.h.  */
1677$4
1678#include <$2>
1679_ACEOF
1680if ac_fn_c_try_compile "$LINENO"; then :
1681  eval "$3=yes"
1682else
1683  eval "$3=no"
1684fi
1685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1686fi
1687eval ac_res=\$$3
1688	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689$as_echo "$ac_res" >&6; }
1690  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691
1692} # ac_fn_c_check_header_compile
1693
1694# ac_fn_c_try_run LINENO
1695# ----------------------
1696# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697# that executables *can* be run.
1698ac_fn_c_try_run ()
1699{
1700  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701  if { { ac_try="$ac_link"
1702case "(($ac_try" in
1703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704  *) ac_try_echo=$ac_try;;
1705esac
1706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707$as_echo "$ac_try_echo"; } >&5
1708  (eval "$ac_link") 2>&5
1709  ac_status=$?
1710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1712  { { case "(($ac_try" in
1713  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714  *) ac_try_echo=$ac_try;;
1715esac
1716eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717$as_echo "$ac_try_echo"; } >&5
1718  (eval "$ac_try") 2>&5
1719  ac_status=$?
1720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721  test $ac_status = 0; }; }; then :
1722  ac_retval=0
1723else
1724  $as_echo "$as_me: program exited with status $ac_status" >&5
1725       $as_echo "$as_me: failed program was:" >&5
1726sed 's/^/| /' conftest.$ac_ext >&5
1727
1728       ac_retval=$ac_status
1729fi
1730  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732  as_fn_set_status $ac_retval
1733
1734} # ac_fn_c_try_run
1735
1736# ac_fn_c_check_func LINENO FUNC VAR
1737# ----------------------------------
1738# Tests whether FUNC exists, setting the cache variable VAR accordingly
1739ac_fn_c_check_func ()
1740{
1741  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743$as_echo_n "checking for $2... " >&6; }
1744if eval \${$3+:} false; then :
1745  $as_echo_n "(cached) " >&6
1746else
1747  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748/* end confdefs.h.  */
1749/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1750   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1751#define $2 innocuous_$2
1752
1753/* System header to define __stub macros and hopefully few prototypes,
1754    which can conflict with char $2 (); below.
1755    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1756    <limits.h> exists even on freestanding compilers.  */
1757
1758#ifdef __STDC__
1759# include <limits.h>
1760#else
1761# include <assert.h>
1762#endif
1763
1764#undef $2
1765
1766/* Override any GCC internal prototype to avoid an error.
1767   Use char because int might match the return type of a GCC
1768   builtin and then its argument prototype would still apply.  */
1769#ifdef __cplusplus
1770extern "C"
1771#endif
1772char $2 ();
1773/* The GNU C library defines this for functions which it implements
1774    to always fail with ENOSYS.  Some functions are actually named
1775    something starting with __ and the normal name is an alias.  */
1776#if defined __stub_$2 || defined __stub___$2
1777choke me
1778#endif
1779
1780int
1781main ()
1782{
1783return $2 ();
1784  ;
1785  return 0;
1786}
1787_ACEOF
1788if ac_fn_c_try_link "$LINENO"; then :
1789  eval "$3=yes"
1790else
1791  eval "$3=no"
1792fi
1793rm -f core conftest.err conftest.$ac_objext \
1794    conftest$ac_exeext conftest.$ac_ext
1795fi
1796eval ac_res=\$$3
1797	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798$as_echo "$ac_res" >&6; }
1799  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800
1801} # ac_fn_c_check_func
1802
1803# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1804# -------------------------------------------
1805# Tests whether TYPE exists after having included INCLUDES, setting cache
1806# variable VAR accordingly.
1807ac_fn_c_check_type ()
1808{
1809  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811$as_echo_n "checking for $2... " >&6; }
1812if eval \${$3+:} false; then :
1813  $as_echo_n "(cached) " >&6
1814else
1815  eval "$3=no"
1816  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817/* end confdefs.h.  */
1818$4
1819int
1820main ()
1821{
1822if (sizeof ($2))
1823	 return 0;
1824  ;
1825  return 0;
1826}
1827_ACEOF
1828if ac_fn_c_try_compile "$LINENO"; then :
1829  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830/* end confdefs.h.  */
1831$4
1832int
1833main ()
1834{
1835if (sizeof (($2)))
1836	    return 0;
1837  ;
1838  return 0;
1839}
1840_ACEOF
1841if ac_fn_c_try_compile "$LINENO"; then :
1842
1843else
1844  eval "$3=yes"
1845fi
1846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1847fi
1848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1849fi
1850eval ac_res=\$$3
1851	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852$as_echo "$ac_res" >&6; }
1853  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854
1855} # ac_fn_c_check_type
1856
1857# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1858# -------------------------------------------------------
1859# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1860# the include files in INCLUDES and setting the cache variable VAR
1861# accordingly.
1862ac_fn_c_check_header_mongrel ()
1863{
1864  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865  if eval \${$3+:} false; then :
1866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867$as_echo_n "checking for $2... " >&6; }
1868if eval \${$3+:} false; then :
1869  $as_echo_n "(cached) " >&6
1870fi
1871eval ac_res=\$$3
1872	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873$as_echo "$ac_res" >&6; }
1874else
1875  # Is the header compilable?
1876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1877$as_echo_n "checking $2 usability... " >&6; }
1878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879/* end confdefs.h.  */
1880$4
1881#include <$2>
1882_ACEOF
1883if ac_fn_c_try_compile "$LINENO"; then :
1884  ac_header_compiler=yes
1885else
1886  ac_header_compiler=no
1887fi
1888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1890$as_echo "$ac_header_compiler" >&6; }
1891
1892# Is the header present?
1893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1894$as_echo_n "checking $2 presence... " >&6; }
1895cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896/* end confdefs.h.  */
1897#include <$2>
1898_ACEOF
1899if ac_fn_c_try_cpp "$LINENO"; then :
1900  ac_header_preproc=yes
1901else
1902  ac_header_preproc=no
1903fi
1904rm -f conftest.err conftest.i conftest.$ac_ext
1905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1906$as_echo "$ac_header_preproc" >&6; }
1907
1908# So?  What about this header?
1909case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1910  yes:no: )
1911    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1912$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1913    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1914$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1915    ;;
1916  no:yes:* )
1917    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1918$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1919    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1920$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1921    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1922$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1923    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1924$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1925    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1926$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1927( $as_echo "## --------------------------------------------------------------- ##
1928## Report this to Seiko Epson Corporation <linux-printer@epson.jp> ##
1929## --------------------------------------------------------------- ##"
1930     ) | sed "s/^/$as_me: WARNING:     /" >&2
1931    ;;
1932esac
1933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1934$as_echo_n "checking for $2... " >&6; }
1935if eval \${$3+:} false; then :
1936  $as_echo_n "(cached) " >&6
1937else
1938  eval "$3=\$ac_header_compiler"
1939fi
1940eval ac_res=\$$3
1941	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942$as_echo "$ac_res" >&6; }
1943fi
1944  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945
1946} # ac_fn_c_check_header_mongrel
1947cat >config.log <<_ACEOF
1948This file contains any messages produced by compilers while
1949running configure, to aid debugging if configure makes a mistake.
1950
1951It was created by Epson Inkjet Printer Driver (ESC/P-R) for Linux $as_me 1.7.17, which was
1952generated by GNU Autoconf 2.69.  Invocation command line was
1953
1954  $ $0 $@
1955
1956_ACEOF
1957exec 5>>config.log
1958{
1959cat <<_ASUNAME
1960## --------- ##
1961## Platform. ##
1962## --------- ##
1963
1964hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1965uname -m = `(uname -m) 2>/dev/null || echo unknown`
1966uname -r = `(uname -r) 2>/dev/null || echo unknown`
1967uname -s = `(uname -s) 2>/dev/null || echo unknown`
1968uname -v = `(uname -v) 2>/dev/null || echo unknown`
1969
1970/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1971/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1972
1973/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1974/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1975/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1976/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1977/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1978/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1979/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1980
1981_ASUNAME
1982
1983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984for as_dir in $PATH
1985do
1986  IFS=$as_save_IFS
1987  test -z "$as_dir" && as_dir=.
1988    $as_echo "PATH: $as_dir"
1989  done
1990IFS=$as_save_IFS
1991
1992} >&5
1993
1994cat >&5 <<_ACEOF
1995
1996
1997## ----------- ##
1998## Core tests. ##
1999## ----------- ##
2000
2001_ACEOF
2002
2003
2004# Keep a trace of the command line.
2005# Strip out --no-create and --no-recursion so they do not pile up.
2006# Strip out --silent because we don't want to record it for future runs.
2007# Also quote any args containing shell meta-characters.
2008# Make two passes to allow for proper duplicate-argument suppression.
2009ac_configure_args=
2010ac_configure_args0=
2011ac_configure_args1=
2012ac_must_keep_next=false
2013for ac_pass in 1 2
2014do
2015  for ac_arg
2016  do
2017    case $ac_arg in
2018    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2019    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2020    | -silent | --silent | --silen | --sile | --sil)
2021      continue ;;
2022    *\'*)
2023      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2024    esac
2025    case $ac_pass in
2026    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2027    2)
2028      as_fn_append ac_configure_args1 " '$ac_arg'"
2029      if test $ac_must_keep_next = true; then
2030	ac_must_keep_next=false # Got value, back to normal.
2031      else
2032	case $ac_arg in
2033	  *=* | --config-cache | -C | -disable-* | --disable-* \
2034	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2035	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2036	  | -with-* | --with-* | -without-* | --without-* | --x)
2037	    case "$ac_configure_args0 " in
2038	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2039	    esac
2040	    ;;
2041	  -* ) ac_must_keep_next=true ;;
2042	esac
2043      fi
2044      as_fn_append ac_configure_args " '$ac_arg'"
2045      ;;
2046    esac
2047  done
2048done
2049{ ac_configure_args0=; unset ac_configure_args0;}
2050{ ac_configure_args1=; unset ac_configure_args1;}
2051
2052# When interrupted or exit'd, cleanup temporary files, and complete
2053# config.log.  We remove comments because anyway the quotes in there
2054# would cause problems or look ugly.
2055# WARNING: Use '\'' to represent an apostrophe within the trap.
2056# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2057trap 'exit_status=$?
2058  # Save into config.log some information that might help in debugging.
2059  {
2060    echo
2061
2062    $as_echo "## ---------------- ##
2063## Cache variables. ##
2064## ---------------- ##"
2065    echo
2066    # The following way of writing the cache mishandles newlines in values,
2067(
2068  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2069    eval ac_val=\$$ac_var
2070    case $ac_val in #(
2071    *${as_nl}*)
2072      case $ac_var in #(
2073      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2074$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2075      esac
2076      case $ac_var in #(
2077      _ | IFS | as_nl) ;; #(
2078      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2079      *) { eval $ac_var=; unset $ac_var;} ;;
2080      esac ;;
2081    esac
2082  done
2083  (set) 2>&1 |
2084    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2085    *${as_nl}ac_space=\ *)
2086      sed -n \
2087	"s/'\''/'\''\\\\'\'''\''/g;
2088	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2089      ;; #(
2090    *)
2091      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2092      ;;
2093    esac |
2094    sort
2095)
2096    echo
2097
2098    $as_echo "## ----------------- ##
2099## Output variables. ##
2100## ----------------- ##"
2101    echo
2102    for ac_var in $ac_subst_vars
2103    do
2104      eval ac_val=\$$ac_var
2105      case $ac_val in
2106      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107      esac
2108      $as_echo "$ac_var='\''$ac_val'\''"
2109    done | sort
2110    echo
2111
2112    if test -n "$ac_subst_files"; then
2113      $as_echo "## ------------------- ##
2114## File substitutions. ##
2115## ------------------- ##"
2116      echo
2117      for ac_var in $ac_subst_files
2118      do
2119	eval ac_val=\$$ac_var
2120	case $ac_val in
2121	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122	esac
2123	$as_echo "$ac_var='\''$ac_val'\''"
2124      done | sort
2125      echo
2126    fi
2127
2128    if test -s confdefs.h; then
2129      $as_echo "## ----------- ##
2130## confdefs.h. ##
2131## ----------- ##"
2132      echo
2133      cat confdefs.h
2134      echo
2135    fi
2136    test "$ac_signal" != 0 &&
2137      $as_echo "$as_me: caught signal $ac_signal"
2138    $as_echo "$as_me: exit $exit_status"
2139  } >&5
2140  rm -f core *.core core.conftest.* &&
2141    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2142    exit $exit_status
2143' 0
2144for ac_signal in 1 2 13 15; do
2145  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2146done
2147ac_signal=0
2148
2149# confdefs.h avoids OS command line length limits that DEFS can exceed.
2150rm -f -r conftest* confdefs.h
2151
2152$as_echo "/* confdefs.h */" > confdefs.h
2153
2154# Predefined preprocessor variables.
2155
2156cat >>confdefs.h <<_ACEOF
2157#define PACKAGE_NAME "$PACKAGE_NAME"
2158_ACEOF
2159
2160cat >>confdefs.h <<_ACEOF
2161#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2162_ACEOF
2163
2164cat >>confdefs.h <<_ACEOF
2165#define PACKAGE_VERSION "$PACKAGE_VERSION"
2166_ACEOF
2167
2168cat >>confdefs.h <<_ACEOF
2169#define PACKAGE_STRING "$PACKAGE_STRING"
2170_ACEOF
2171
2172cat >>confdefs.h <<_ACEOF
2173#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2174_ACEOF
2175
2176cat >>confdefs.h <<_ACEOF
2177#define PACKAGE_URL "$PACKAGE_URL"
2178_ACEOF
2179
2180
2181# Let the site file select an alternate cache file if it wants to.
2182# Prefer an explicitly selected file to automatically selected ones.
2183ac_site_file1=NONE
2184ac_site_file2=NONE
2185if test -n "$CONFIG_SITE"; then
2186  # We do not want a PATH search for config.site.
2187  case $CONFIG_SITE in #((
2188    -*)  ac_site_file1=./$CONFIG_SITE;;
2189    */*) ac_site_file1=$CONFIG_SITE;;
2190    *)   ac_site_file1=./$CONFIG_SITE;;
2191  esac
2192elif test "x$prefix" != xNONE; then
2193  ac_site_file1=$prefix/share/config.site
2194  ac_site_file2=$prefix/etc/config.site
2195else
2196  ac_site_file1=$ac_default_prefix/share/config.site
2197  ac_site_file2=$ac_default_prefix/etc/config.site
2198fi
2199for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2200do
2201  test "x$ac_site_file" = xNONE && continue
2202  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2203    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2204$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2205    sed 's/^/| /' "$ac_site_file" >&5
2206    . "$ac_site_file" \
2207      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209as_fn_error $? "failed to load site script $ac_site_file
2210See \`config.log' for more details" "$LINENO" 5; }
2211  fi
2212done
2213
2214if test -r "$cache_file"; then
2215  # Some versions of bash will fail to source /dev/null (special files
2216  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2217  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2218    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2219$as_echo "$as_me: loading cache $cache_file" >&6;}
2220    case $cache_file in
2221      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2222      *)                      . "./$cache_file";;
2223    esac
2224  fi
2225else
2226  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2227$as_echo "$as_me: creating cache $cache_file" >&6;}
2228  >$cache_file
2229fi
2230
2231# Check that the precious variables saved in the cache have kept the same
2232# value.
2233ac_cache_corrupted=false
2234for ac_var in $ac_precious_vars; do
2235  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2236  eval ac_new_set=\$ac_env_${ac_var}_set
2237  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2238  eval ac_new_val=\$ac_env_${ac_var}_value
2239  case $ac_old_set,$ac_new_set in
2240    set,)
2241      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2242$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2243      ac_cache_corrupted=: ;;
2244    ,set)
2245      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2246$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2247      ac_cache_corrupted=: ;;
2248    ,);;
2249    *)
2250      if test "x$ac_old_val" != "x$ac_new_val"; then
2251	# differences in whitespace do not lead to failure.
2252	ac_old_val_w=`echo x $ac_old_val`
2253	ac_new_val_w=`echo x $ac_new_val`
2254	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2255	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2256$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2257	  ac_cache_corrupted=:
2258	else
2259	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2260$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2261	  eval $ac_var=\$ac_old_val
2262	fi
2263	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2264$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2265	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2266$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2267      fi;;
2268  esac
2269  # Pass precious variables to config.status.
2270  if test "$ac_new_set" = set; then
2271    case $ac_new_val in
2272    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2273    *) ac_arg=$ac_var=$ac_new_val ;;
2274    esac
2275    case " $ac_configure_args " in
2276      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2277      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2278    esac
2279  fi
2280done
2281if $ac_cache_corrupted; then
2282  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2284  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2285$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2286  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2287fi
2288## -------------------- ##
2289## Main body of script. ##
2290## -------------------- ##
2291
2292ac_ext=c
2293ac_cpp='$CPP $CPPFLAGS'
2294ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2295ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2296ac_compiler_gnu=$ac_cv_c_compiler_gnu
2297
2298
2299PACKAGE_RELEASE=1
2300
2301LSB_VER=3.2
2302
2303VENDOR_NAME="Seiko Epson Corporation"
2304
2305
2306ac_config_headers="$ac_config_headers config.h"
2307
2308
2309
2310
2311am__api_version='1.15'
2312
2313ac_aux_dir=
2314for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2315  if test -f "$ac_dir/install-sh"; then
2316    ac_aux_dir=$ac_dir
2317    ac_install_sh="$ac_aux_dir/install-sh -c"
2318    break
2319  elif test -f "$ac_dir/install.sh"; then
2320    ac_aux_dir=$ac_dir
2321    ac_install_sh="$ac_aux_dir/install.sh -c"
2322    break
2323  elif test -f "$ac_dir/shtool"; then
2324    ac_aux_dir=$ac_dir
2325    ac_install_sh="$ac_aux_dir/shtool install -c"
2326    break
2327  fi
2328done
2329if test -z "$ac_aux_dir"; then
2330  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2331fi
2332
2333# These three variables are undocumented and unsupported,
2334# and are intended to be withdrawn in a future Autoconf release.
2335# They can cause serious problems if a builder's source tree is in a directory
2336# whose full name contains unusual characters.
2337ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2338ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2339ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2340
2341
2342# Find a good install program.  We prefer a C program (faster),
2343# so one script is as good as another.  But avoid the broken or
2344# incompatible versions:
2345# SysV /etc/install, /usr/sbin/install
2346# SunOS /usr/etc/install
2347# IRIX /sbin/install
2348# AIX /bin/install
2349# AmigaOS /C/install, which installs bootblocks on floppy discs
2350# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2351# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2352# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2353# OS/2's system install, which has a completely different semantic
2354# ./install, which can be erroneously created by make from ./install.sh.
2355# Reject install programs that cannot install multiple files.
2356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2357$as_echo_n "checking for a BSD-compatible install... " >&6; }
2358if test -z "$INSTALL"; then
2359if ${ac_cv_path_install+:} false; then :
2360  $as_echo_n "(cached) " >&6
2361else
2362  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363for as_dir in $PATH
2364do
2365  IFS=$as_save_IFS
2366  test -z "$as_dir" && as_dir=.
2367    # Account for people who put trailing slashes in PATH elements.
2368case $as_dir/ in #((
2369  ./ | .// | /[cC]/* | \
2370  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2371  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2372  /usr/ucb/* ) ;;
2373  *)
2374    # OSF1 and SCO ODT 3.0 have their own names for install.
2375    # Don't use installbsd from OSF since it installs stuff as root
2376    # by default.
2377    for ac_prog in ginstall scoinst install; do
2378      for ac_exec_ext in '' $ac_executable_extensions; do
2379	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2380	  if test $ac_prog = install &&
2381	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2382	    # AIX install.  It has an incompatible calling convention.
2383	    :
2384	  elif test $ac_prog = install &&
2385	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2386	    # program-specific install script used by HP pwplus--don't use.
2387	    :
2388	  else
2389	    rm -rf conftest.one conftest.two conftest.dir
2390	    echo one > conftest.one
2391	    echo two > conftest.two
2392	    mkdir conftest.dir
2393	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2394	      test -s conftest.one && test -s conftest.two &&
2395	      test -s conftest.dir/conftest.one &&
2396	      test -s conftest.dir/conftest.two
2397	    then
2398	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2399	      break 3
2400	    fi
2401	  fi
2402	fi
2403      done
2404    done
2405    ;;
2406esac
2407
2408  done
2409IFS=$as_save_IFS
2410
2411rm -rf conftest.one conftest.two conftest.dir
2412
2413fi
2414  if test "${ac_cv_path_install+set}" = set; then
2415    INSTALL=$ac_cv_path_install
2416  else
2417    # As a last resort, use the slow shell script.  Don't cache a
2418    # value for INSTALL within a source directory, because that will
2419    # break other packages using the cache if that directory is
2420    # removed, or if the value is a relative name.
2421    INSTALL=$ac_install_sh
2422  fi
2423fi
2424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2425$as_echo "$INSTALL" >&6; }
2426
2427# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2428# It thinks the first close brace ends the variable substitution.
2429test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2430
2431test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2432
2433test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2434
2435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2436$as_echo_n "checking whether build environment is sane... " >&6; }
2437# Reject unsafe characters in $srcdir or the absolute working directory
2438# name.  Accept space and tab only in the latter.
2439am_lf='
2440'
2441case `pwd` in
2442  *[\\\"\#\$\&\'\`$am_lf]*)
2443    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2444esac
2445case $srcdir in
2446  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2447    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2448esac
2449
2450# Do 'set' in a subshell so we don't clobber the current shell's
2451# arguments.  Must try -L first in case configure is actually a
2452# symlink; some systems play weird games with the mod time of symlinks
2453# (eg FreeBSD returns the mod time of the symlink's containing
2454# directory).
2455if (
2456   am_has_slept=no
2457   for am_try in 1 2; do
2458     echo "timestamp, slept: $am_has_slept" > conftest.file
2459     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2460     if test "$*" = "X"; then
2461	# -L didn't work.
2462	set X `ls -t "$srcdir/configure" conftest.file`
2463     fi
2464     if test "$*" != "X $srcdir/configure conftest.file" \
2465	&& test "$*" != "X conftest.file $srcdir/configure"; then
2466
2467	# If neither matched, then we have a broken ls.  This can happen
2468	# if, for instance, CONFIG_SHELL is bash and it inherits a
2469	# broken ls alias from the environment.  This has actually
2470	# happened.  Such a system could not be considered "sane".
2471	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2472  alias in your environment" "$LINENO" 5
2473     fi
2474     if test "$2" = conftest.file || test $am_try -eq 2; then
2475       break
2476     fi
2477     # Just in case.
2478     sleep 1
2479     am_has_slept=yes
2480   done
2481   test "$2" = conftest.file
2482   )
2483then
2484   # Ok.
2485   :
2486else
2487   as_fn_error $? "newly created file is older than distributed files!
2488Check your system clock" "$LINENO" 5
2489fi
2490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2491$as_echo "yes" >&6; }
2492# If we didn't sleep, we still need to ensure time stamps of config.status and
2493# generated files are strictly newer.
2494am_sleep_pid=
2495if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2496  ( sleep 1 ) &
2497  am_sleep_pid=$!
2498fi
2499
2500rm -f conftest.file
2501
2502test "$program_prefix" != NONE &&
2503  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2504# Use a double $ so make ignores it.
2505test "$program_suffix" != NONE &&
2506  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2507# Double any \ or $.
2508# By default was `s,x,x', remove it if useless.
2509ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2510program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2511
2512# Expand $ac_aux_dir to an absolute path.
2513am_aux_dir=`cd "$ac_aux_dir" && pwd`
2514
2515if test x"${MISSING+set}" != xset; then
2516  case $am_aux_dir in
2517  *\ * | *\	*)
2518    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2519  *)
2520    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2521  esac
2522fi
2523# Use eval to expand $SHELL
2524if eval "$MISSING --is-lightweight"; then
2525  am_missing_run="$MISSING "
2526else
2527  am_missing_run=
2528  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2529$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2530fi
2531
2532if test x"${install_sh+set}" != xset; then
2533  case $am_aux_dir in
2534  *\ * | *\	*)
2535    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2536  *)
2537    install_sh="\${SHELL} $am_aux_dir/install-sh"
2538  esac
2539fi
2540
2541# Installed binaries are usually stripped using 'strip' when the user
2542# run "make install-strip".  However 'strip' might not be the right
2543# tool to use in cross-compilation environments, therefore Automake
2544# will honor the 'STRIP' environment variable to overrule this program.
2545if test "$cross_compiling" != no; then
2546  if test -n "$ac_tool_prefix"; then
2547  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2548set dummy ${ac_tool_prefix}strip; ac_word=$2
2549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550$as_echo_n "checking for $ac_word... " >&6; }
2551if ${ac_cv_prog_STRIP+:} false; then :
2552  $as_echo_n "(cached) " >&6
2553else
2554  if test -n "$STRIP"; then
2555  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2556else
2557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558for as_dir in $PATH
2559do
2560  IFS=$as_save_IFS
2561  test -z "$as_dir" && as_dir=.
2562    for ac_exec_ext in '' $ac_executable_extensions; do
2563  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2564    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2565    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566    break 2
2567  fi
2568done
2569  done
2570IFS=$as_save_IFS
2571
2572fi
2573fi
2574STRIP=$ac_cv_prog_STRIP
2575if test -n "$STRIP"; then
2576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2577$as_echo "$STRIP" >&6; }
2578else
2579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580$as_echo "no" >&6; }
2581fi
2582
2583
2584fi
2585if test -z "$ac_cv_prog_STRIP"; then
2586  ac_ct_STRIP=$STRIP
2587  # Extract the first word of "strip", so it can be a program name with args.
2588set dummy strip; ac_word=$2
2589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590$as_echo_n "checking for $ac_word... " >&6; }
2591if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2592  $as_echo_n "(cached) " >&6
2593else
2594  if test -n "$ac_ct_STRIP"; then
2595  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2596else
2597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598for as_dir in $PATH
2599do
2600  IFS=$as_save_IFS
2601  test -z "$as_dir" && as_dir=.
2602    for ac_exec_ext in '' $ac_executable_extensions; do
2603  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2604    ac_cv_prog_ac_ct_STRIP="strip"
2605    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606    break 2
2607  fi
2608done
2609  done
2610IFS=$as_save_IFS
2611
2612fi
2613fi
2614ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2615if test -n "$ac_ct_STRIP"; then
2616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2617$as_echo "$ac_ct_STRIP" >&6; }
2618else
2619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620$as_echo "no" >&6; }
2621fi
2622
2623  if test "x$ac_ct_STRIP" = x; then
2624    STRIP=":"
2625  else
2626    case $cross_compiling:$ac_tool_warned in
2627yes:)
2628{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2629$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2630ac_tool_warned=yes ;;
2631esac
2632    STRIP=$ac_ct_STRIP
2633  fi
2634else
2635  STRIP="$ac_cv_prog_STRIP"
2636fi
2637
2638fi
2639INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2640
2641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2642$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2643if test -z "$MKDIR_P"; then
2644  if ${ac_cv_path_mkdir+:} false; then :
2645  $as_echo_n "(cached) " >&6
2646else
2647  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2649do
2650  IFS=$as_save_IFS
2651  test -z "$as_dir" && as_dir=.
2652    for ac_prog in mkdir gmkdir; do
2653	 for ac_exec_ext in '' $ac_executable_extensions; do
2654	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2655	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2656	     'mkdir (GNU coreutils) '* | \
2657	     'mkdir (coreutils) '* | \
2658	     'mkdir (fileutils) '4.1*)
2659	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2660	       break 3;;
2661	   esac
2662	 done
2663       done
2664  done
2665IFS=$as_save_IFS
2666
2667fi
2668
2669  test -d ./--version && rmdir ./--version
2670  if test "${ac_cv_path_mkdir+set}" = set; then
2671    MKDIR_P="$ac_cv_path_mkdir -p"
2672  else
2673    # As a last resort, use the slow shell script.  Don't cache a
2674    # value for MKDIR_P within a source directory, because that will
2675    # break other packages using the cache if that directory is
2676    # removed, or if the value is a relative name.
2677    MKDIR_P="$ac_install_sh -d"
2678  fi
2679fi
2680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2681$as_echo "$MKDIR_P" >&6; }
2682
2683for ac_prog in gawk mawk nawk awk
2684do
2685  # Extract the first word of "$ac_prog", so it can be a program name with args.
2686set dummy $ac_prog; ac_word=$2
2687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688$as_echo_n "checking for $ac_word... " >&6; }
2689if ${ac_cv_prog_AWK+:} false; then :
2690  $as_echo_n "(cached) " >&6
2691else
2692  if test -n "$AWK"; then
2693  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2694else
2695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696for as_dir in $PATH
2697do
2698  IFS=$as_save_IFS
2699  test -z "$as_dir" && as_dir=.
2700    for ac_exec_ext in '' $ac_executable_extensions; do
2701  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2702    ac_cv_prog_AWK="$ac_prog"
2703    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2704    break 2
2705  fi
2706done
2707  done
2708IFS=$as_save_IFS
2709
2710fi
2711fi
2712AWK=$ac_cv_prog_AWK
2713if test -n "$AWK"; then
2714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2715$as_echo "$AWK" >&6; }
2716else
2717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718$as_echo "no" >&6; }
2719fi
2720
2721
2722  test -n "$AWK" && break
2723done
2724
2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2726$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2727set x ${MAKE-make}
2728ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2729if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2730  $as_echo_n "(cached) " >&6
2731else
2732  cat >conftest.make <<\_ACEOF
2733SHELL = /bin/sh
2734all:
2735	@echo '@@@%%%=$(MAKE)=@@@%%%'
2736_ACEOF
2737# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2738case `${MAKE-make} -f conftest.make 2>/dev/null` in
2739  *@@@%%%=?*=@@@%%%*)
2740    eval ac_cv_prog_make_${ac_make}_set=yes;;
2741  *)
2742    eval ac_cv_prog_make_${ac_make}_set=no;;
2743esac
2744rm -f conftest.make
2745fi
2746if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2748$as_echo "yes" >&6; }
2749  SET_MAKE=
2750else
2751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752$as_echo "no" >&6; }
2753  SET_MAKE="MAKE=${MAKE-make}"
2754fi
2755
2756rm -rf .tst 2>/dev/null
2757mkdir .tst 2>/dev/null
2758if test -d .tst; then
2759  am__leading_dot=.
2760else
2761  am__leading_dot=_
2762fi
2763rmdir .tst 2>/dev/null
2764
2765# Check whether --enable-silent-rules was given.
2766if test "${enable_silent_rules+set}" = set; then :
2767  enableval=$enable_silent_rules;
2768fi
2769
2770case $enable_silent_rules in # (((
2771  yes) AM_DEFAULT_VERBOSITY=0;;
2772   no) AM_DEFAULT_VERBOSITY=1;;
2773    *) AM_DEFAULT_VERBOSITY=1;;
2774esac
2775am_make=${MAKE-make}
2776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2777$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2778if ${am_cv_make_support_nested_variables+:} false; then :
2779  $as_echo_n "(cached) " >&6
2780else
2781  if $as_echo 'TRUE=$(BAR$(V))
2782BAR0=false
2783BAR1=true
2784V=1
2785am__doit:
2786	@$(TRUE)
2787.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2788  am_cv_make_support_nested_variables=yes
2789else
2790  am_cv_make_support_nested_variables=no
2791fi
2792fi
2793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2794$as_echo "$am_cv_make_support_nested_variables" >&6; }
2795if test $am_cv_make_support_nested_variables = yes; then
2796    AM_V='$(V)'
2797  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2798else
2799  AM_V=$AM_DEFAULT_VERBOSITY
2800  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2801fi
2802AM_BACKSLASH='\'
2803
2804if test "`cd $srcdir && pwd`" != "`pwd`"; then
2805  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2806  # is not polluted with repeated "-I."
2807  am__isrc=' -I$(srcdir)'
2808  # test to see if srcdir already configured
2809  if test -f $srcdir/config.status; then
2810    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2811  fi
2812fi
2813
2814# test whether we have cygpath
2815if test -z "$CYGPATH_W"; then
2816  if (cygpath --version) >/dev/null 2>/dev/null; then
2817    CYGPATH_W='cygpath -w'
2818  else
2819    CYGPATH_W=echo
2820  fi
2821fi
2822
2823
2824# Define the identity of the package.
2825 PACKAGE='epson-inkjet-printer-escpr'
2826 VERSION='1.7.17'
2827
2828
2829cat >>confdefs.h <<_ACEOF
2830#define PACKAGE "$PACKAGE"
2831_ACEOF
2832
2833
2834cat >>confdefs.h <<_ACEOF
2835#define VERSION "$VERSION"
2836_ACEOF
2837
2838# Some tools Automake needs.
2839
2840ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2841
2842
2843AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2844
2845
2846AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2847
2848
2849AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2850
2851
2852MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2853
2854# For better backward compatibility.  To be removed once Automake 1.9.x
2855# dies out for good.  For more background, see:
2856# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2857# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2858mkdir_p='$(MKDIR_P)'
2859
2860# We need awk for the "check" target (and possibly the TAP driver).  The
2861# system "awk" is bad on some platforms.
2862# Always define AMTAR for backward compatibility.  Yes, it's still used
2863# in the wild :-(  We should find a proper way to deprecate it ...
2864AMTAR='$${TAR-tar}'
2865
2866
2867# We'll loop over all known methods to create a tar archive until one works.
2868_am_tools='gnutar  pax cpio none'
2869
2870am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2871
2872
2873
2874
2875
2876
2877# POSIX will say in a future version that running "rm -f" with no argument
2878# is OK; and we want to be able to make that assumption in our Makefile
2879# recipes.  So use an aggressive probe to check that the usage we want is
2880# actually supported "in the wild" to an acceptable degree.
2881# See automake bug#10828.
2882# To make any issue more visible, cause the running configure to be aborted
2883# by default if the 'rm' program in use doesn't match our expectations; the
2884# user can still override this though.
2885if rm -f && rm -fr && rm -rf; then : OK; else
2886  cat >&2 <<'END'
2887Oops!
2888
2889Your 'rm' program seems unable to run without file operands specified
2890on the command line, even when the '-f' option is present.  This is contrary
2891to the behaviour of most rm programs out there, and not conforming with
2892the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2893
2894Please tell bug-automake@gnu.org about your system, including the value
2895of your $PATH and any error possibly output before this message.  This
2896can help us improve future automake versions.
2897
2898END
2899  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2900    echo 'Configuration will proceed anyway, since you have set the' >&2
2901    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2902    echo >&2
2903  else
2904    cat >&2 <<'END'
2905Aborting the configuration process, to ensure you take notice of the issue.
2906
2907You can download and install GNU coreutils to get an 'rm' implementation
2908that behaves properly: <http://www.gnu.org/software/coreutils/>.
2909
2910If you want to complete the configuration process using your problematic
2911'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2912to "yes", and re-run configure.
2913
2914END
2915    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2916  fi
2917fi
2918
2919
2920ac_ext=c
2921ac_cpp='$CPP $CPPFLAGS'
2922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2924ac_compiler_gnu=$ac_cv_c_compiler_gnu
2925if test -n "$ac_tool_prefix"; then
2926  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2927set dummy ${ac_tool_prefix}gcc; ac_word=$2
2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929$as_echo_n "checking for $ac_word... " >&6; }
2930if ${ac_cv_prog_CC+:} false; then :
2931  $as_echo_n "(cached) " >&6
2932else
2933  if test -n "$CC"; then
2934  ac_cv_prog_CC="$CC" # Let the user override the test.
2935else
2936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937for as_dir in $PATH
2938do
2939  IFS=$as_save_IFS
2940  test -z "$as_dir" && as_dir=.
2941    for ac_exec_ext in '' $ac_executable_extensions; do
2942  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2943    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2944    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945    break 2
2946  fi
2947done
2948  done
2949IFS=$as_save_IFS
2950
2951fi
2952fi
2953CC=$ac_cv_prog_CC
2954if test -n "$CC"; then
2955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956$as_echo "$CC" >&6; }
2957else
2958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959$as_echo "no" >&6; }
2960fi
2961
2962
2963fi
2964if test -z "$ac_cv_prog_CC"; then
2965  ac_ct_CC=$CC
2966  # Extract the first word of "gcc", so it can be a program name with args.
2967set dummy gcc; ac_word=$2
2968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969$as_echo_n "checking for $ac_word... " >&6; }
2970if ${ac_cv_prog_ac_ct_CC+:} false; then :
2971  $as_echo_n "(cached) " >&6
2972else
2973  if test -n "$ac_ct_CC"; then
2974  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2975else
2976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977for as_dir in $PATH
2978do
2979  IFS=$as_save_IFS
2980  test -z "$as_dir" && as_dir=.
2981    for ac_exec_ext in '' $ac_executable_extensions; do
2982  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2983    ac_cv_prog_ac_ct_CC="gcc"
2984    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985    break 2
2986  fi
2987done
2988  done
2989IFS=$as_save_IFS
2990
2991fi
2992fi
2993ac_ct_CC=$ac_cv_prog_ac_ct_CC
2994if test -n "$ac_ct_CC"; then
2995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2996$as_echo "$ac_ct_CC" >&6; }
2997else
2998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999$as_echo "no" >&6; }
3000fi
3001
3002  if test "x$ac_ct_CC" = x; then
3003    CC=""
3004  else
3005    case $cross_compiling:$ac_tool_warned in
3006yes:)
3007{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3008$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3009ac_tool_warned=yes ;;
3010esac
3011    CC=$ac_ct_CC
3012  fi
3013else
3014  CC="$ac_cv_prog_CC"
3015fi
3016
3017if test -z "$CC"; then
3018          if test -n "$ac_tool_prefix"; then
3019    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3020set dummy ${ac_tool_prefix}cc; ac_word=$2
3021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022$as_echo_n "checking for $ac_word... " >&6; }
3023if ${ac_cv_prog_CC+:} false; then :
3024  $as_echo_n "(cached) " >&6
3025else
3026  if test -n "$CC"; then
3027  ac_cv_prog_CC="$CC" # Let the user override the test.
3028else
3029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030for as_dir in $PATH
3031do
3032  IFS=$as_save_IFS
3033  test -z "$as_dir" && as_dir=.
3034    for ac_exec_ext in '' $ac_executable_extensions; do
3035  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3036    ac_cv_prog_CC="${ac_tool_prefix}cc"
3037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038    break 2
3039  fi
3040done
3041  done
3042IFS=$as_save_IFS
3043
3044fi
3045fi
3046CC=$ac_cv_prog_CC
3047if test -n "$CC"; then
3048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3049$as_echo "$CC" >&6; }
3050else
3051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052$as_echo "no" >&6; }
3053fi
3054
3055
3056  fi
3057fi
3058if test -z "$CC"; then
3059  # Extract the first word of "cc", so it can be a program name with args.
3060set dummy cc; ac_word=$2
3061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062$as_echo_n "checking for $ac_word... " >&6; }
3063if ${ac_cv_prog_CC+:} false; then :
3064  $as_echo_n "(cached) " >&6
3065else
3066  if test -n "$CC"; then
3067  ac_cv_prog_CC="$CC" # Let the user override the test.
3068else
3069  ac_prog_rejected=no
3070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071for as_dir in $PATH
3072do
3073  IFS=$as_save_IFS
3074  test -z "$as_dir" && as_dir=.
3075    for ac_exec_ext in '' $ac_executable_extensions; do
3076  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3078       ac_prog_rejected=yes
3079       continue
3080     fi
3081    ac_cv_prog_CC="cc"
3082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083    break 2
3084  fi
3085done
3086  done
3087IFS=$as_save_IFS
3088
3089if test $ac_prog_rejected = yes; then
3090  # We found a bogon in the path, so make sure we never use it.
3091  set dummy $ac_cv_prog_CC
3092  shift
3093  if test $# != 0; then
3094    # We chose a different compiler from the bogus one.
3095    # However, it has the same basename, so the bogon will be chosen
3096    # first if we set CC to just the basename; use the full file name.
3097    shift
3098    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3099  fi
3100fi
3101fi
3102fi
3103CC=$ac_cv_prog_CC
3104if test -n "$CC"; then
3105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3106$as_echo "$CC" >&6; }
3107else
3108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109$as_echo "no" >&6; }
3110fi
3111
3112
3113fi
3114if test -z "$CC"; then
3115  if test -n "$ac_tool_prefix"; then
3116  for ac_prog in cl.exe
3117  do
3118    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3119set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121$as_echo_n "checking for $ac_word... " >&6; }
3122if ${ac_cv_prog_CC+:} false; then :
3123  $as_echo_n "(cached) " >&6
3124else
3125  if test -n "$CC"; then
3126  ac_cv_prog_CC="$CC" # Let the user override the test.
3127else
3128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129for as_dir in $PATH
3130do
3131  IFS=$as_save_IFS
3132  test -z "$as_dir" && as_dir=.
3133    for ac_exec_ext in '' $ac_executable_extensions; do
3134  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3135    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3136    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137    break 2
3138  fi
3139done
3140  done
3141IFS=$as_save_IFS
3142
3143fi
3144fi
3145CC=$ac_cv_prog_CC
3146if test -n "$CC"; then
3147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3148$as_echo "$CC" >&6; }
3149else
3150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151$as_echo "no" >&6; }
3152fi
3153
3154
3155    test -n "$CC" && break
3156  done
3157fi
3158if test -z "$CC"; then
3159  ac_ct_CC=$CC
3160  for ac_prog in cl.exe
3161do
3162  # Extract the first word of "$ac_prog", so it can be a program name with args.
3163set dummy $ac_prog; ac_word=$2
3164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165$as_echo_n "checking for $ac_word... " >&6; }
3166if ${ac_cv_prog_ac_ct_CC+:} false; then :
3167  $as_echo_n "(cached) " >&6
3168else
3169  if test -n "$ac_ct_CC"; then
3170  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3171else
3172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173for as_dir in $PATH
3174do
3175  IFS=$as_save_IFS
3176  test -z "$as_dir" && as_dir=.
3177    for ac_exec_ext in '' $ac_executable_extensions; do
3178  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179    ac_cv_prog_ac_ct_CC="$ac_prog"
3180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181    break 2
3182  fi
3183done
3184  done
3185IFS=$as_save_IFS
3186
3187fi
3188fi
3189ac_ct_CC=$ac_cv_prog_ac_ct_CC
3190if test -n "$ac_ct_CC"; then
3191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3192$as_echo "$ac_ct_CC" >&6; }
3193else
3194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195$as_echo "no" >&6; }
3196fi
3197
3198
3199  test -n "$ac_ct_CC" && break
3200done
3201
3202  if test "x$ac_ct_CC" = x; then
3203    CC=""
3204  else
3205    case $cross_compiling:$ac_tool_warned in
3206yes:)
3207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3209ac_tool_warned=yes ;;
3210esac
3211    CC=$ac_ct_CC
3212  fi
3213fi
3214
3215fi
3216
3217
3218test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220as_fn_error $? "no acceptable C compiler found in \$PATH
3221See \`config.log' for more details" "$LINENO" 5; }
3222
3223# Provide some information about the compiler.
3224$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3225set X $ac_compile
3226ac_compiler=$2
3227for ac_option in --version -v -V -qversion; do
3228  { { ac_try="$ac_compiler $ac_option >&5"
3229case "(($ac_try" in
3230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231  *) ac_try_echo=$ac_try;;
3232esac
3233eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234$as_echo "$ac_try_echo"; } >&5
3235  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3236  ac_status=$?
3237  if test -s conftest.err; then
3238    sed '10a\
3239... rest of stderr output deleted ...
3240         10q' conftest.err >conftest.er1
3241    cat conftest.er1 >&5
3242  fi
3243  rm -f conftest.er1 conftest.err
3244  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245  test $ac_status = 0; }
3246done
3247
3248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249/* end confdefs.h.  */
3250
3251int
3252main ()
3253{
3254
3255  ;
3256  return 0;
3257}
3258_ACEOF
3259ac_clean_files_save=$ac_clean_files
3260ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3261# Try to create an executable without -o first, disregard a.out.
3262# It will help us diagnose broken compilers, and finding out an intuition
3263# of exeext.
3264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3265$as_echo_n "checking whether the C compiler works... " >&6; }
3266ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3267
3268# The possible output files:
3269ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3270
3271ac_rmfiles=
3272for ac_file in $ac_files
3273do
3274  case $ac_file in
3275    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3276    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3277  esac
3278done
3279rm -f $ac_rmfiles
3280
3281if { { ac_try="$ac_link_default"
3282case "(($ac_try" in
3283  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284  *) ac_try_echo=$ac_try;;
3285esac
3286eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3287$as_echo "$ac_try_echo"; } >&5
3288  (eval "$ac_link_default") 2>&5
3289  ac_status=$?
3290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291  test $ac_status = 0; }; then :
3292  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3293# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3294# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3295# so that the user can short-circuit this test for compilers unknown to
3296# Autoconf.
3297for ac_file in $ac_files ''
3298do
3299  test -f "$ac_file" || continue
3300  case $ac_file in
3301    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3302	;;
3303    [ab].out )
3304	# We found the default executable, but exeext='' is most
3305	# certainly right.
3306	break;;
3307    *.* )
3308	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3309	then :; else
3310	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3311	fi
3312	# We set ac_cv_exeext here because the later test for it is not
3313	# safe: cross compilers may not add the suffix if given an `-o'
3314	# argument, so we may need to know it at that point already.
3315	# Even if this section looks crufty: it has the advantage of
3316	# actually working.
3317	break;;
3318    * )
3319	break;;
3320  esac
3321done
3322test "$ac_cv_exeext" = no && ac_cv_exeext=
3323
3324else
3325  ac_file=''
3326fi
3327if test -z "$ac_file"; then :
3328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329$as_echo "no" >&6; }
3330$as_echo "$as_me: failed program was:" >&5
3331sed 's/^/| /' conftest.$ac_ext >&5
3332
3333{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335as_fn_error 77 "C compiler cannot create executables
3336See \`config.log' for more details" "$LINENO" 5; }
3337else
3338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3339$as_echo "yes" >&6; }
3340fi
3341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3342$as_echo_n "checking for C compiler default output file name... " >&6; }
3343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3344$as_echo "$ac_file" >&6; }
3345ac_exeext=$ac_cv_exeext
3346
3347rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3348ac_clean_files=$ac_clean_files_save
3349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3350$as_echo_n "checking for suffix of executables... " >&6; }
3351if { { ac_try="$ac_link"
3352case "(($ac_try" in
3353  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354  *) ac_try_echo=$ac_try;;
3355esac
3356eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357$as_echo "$ac_try_echo"; } >&5
3358  (eval "$ac_link") 2>&5
3359  ac_status=$?
3360  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361  test $ac_status = 0; }; then :
3362  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3363# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3364# work properly (i.e., refer to `conftest.exe'), while it won't with
3365# `rm'.
3366for ac_file in conftest.exe conftest conftest.*; do
3367  test -f "$ac_file" || continue
3368  case $ac_file in
3369    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3370    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371	  break;;
3372    * ) break;;
3373  esac
3374done
3375else
3376  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3379See \`config.log' for more details" "$LINENO" 5; }
3380fi
3381rm -f conftest conftest$ac_cv_exeext
3382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3383$as_echo "$ac_cv_exeext" >&6; }
3384
3385rm -f conftest.$ac_ext
3386EXEEXT=$ac_cv_exeext
3387ac_exeext=$EXEEXT
3388cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389/* end confdefs.h.  */
3390#include <stdio.h>
3391int
3392main ()
3393{
3394FILE *f = fopen ("conftest.out", "w");
3395 return ferror (f) || fclose (f) != 0;
3396
3397  ;
3398  return 0;
3399}
3400_ACEOF
3401ac_clean_files="$ac_clean_files conftest.out"
3402# Check that the compiler produces executables we can run.  If not, either
3403# the compiler is broken, or we cross compile.
3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3405$as_echo_n "checking whether we are cross compiling... " >&6; }
3406if test "$cross_compiling" != yes; then
3407  { { ac_try="$ac_link"
3408case "(($ac_try" in
3409  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410  *) ac_try_echo=$ac_try;;
3411esac
3412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413$as_echo "$ac_try_echo"; } >&5
3414  (eval "$ac_link") 2>&5
3415  ac_status=$?
3416  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417  test $ac_status = 0; }
3418  if { ac_try='./conftest$ac_cv_exeext'
3419  { { case "(($ac_try" in
3420  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421  *) ac_try_echo=$ac_try;;
3422esac
3423eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424$as_echo "$ac_try_echo"; } >&5
3425  (eval "$ac_try") 2>&5
3426  ac_status=$?
3427  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428  test $ac_status = 0; }; }; then
3429    cross_compiling=no
3430  else
3431    if test "$cross_compiling" = maybe; then
3432	cross_compiling=yes
3433    else
3434	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436as_fn_error $? "cannot run C compiled programs.
3437If you meant to cross compile, use \`--host'.
3438See \`config.log' for more details" "$LINENO" 5; }
3439    fi
3440  fi
3441fi
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3443$as_echo "$cross_compiling" >&6; }
3444
3445rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3446ac_clean_files=$ac_clean_files_save
3447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3448$as_echo_n "checking for suffix of object files... " >&6; }
3449if ${ac_cv_objext+:} false; then :
3450  $as_echo_n "(cached) " >&6
3451else
3452  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453/* end confdefs.h.  */
3454
3455int
3456main ()
3457{
3458
3459  ;
3460  return 0;
3461}
3462_ACEOF
3463rm -f conftest.o conftest.obj
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:${as_lineno-$LINENO}: $ac_try_echo\""
3470$as_echo "$ac_try_echo"; } >&5
3471  (eval "$ac_compile") 2>&5
3472  ac_status=$?
3473  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474  test $ac_status = 0; }; then :
3475  for ac_file in conftest.o conftest.obj conftest.*; do
3476  test -f "$ac_file" || continue;
3477  case $ac_file in
3478    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3479    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3480       break;;
3481  esac
3482done
3483else
3484  $as_echo "$as_me: failed program was:" >&5
3485sed 's/^/| /' conftest.$ac_ext >&5
3486
3487{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489as_fn_error $? "cannot compute suffix of object files: cannot compile
3490See \`config.log' for more details" "$LINENO" 5; }
3491fi
3492rm -f conftest.$ac_cv_objext conftest.$ac_ext
3493fi
3494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3495$as_echo "$ac_cv_objext" >&6; }
3496OBJEXT=$ac_cv_objext
3497ac_objext=$OBJEXT
3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3499$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3500if ${ac_cv_c_compiler_gnu+:} false; then :
3501  $as_echo_n "(cached) " >&6
3502else
3503  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504/* end confdefs.h.  */
3505
3506int
3507main ()
3508{
3509#ifndef __GNUC__
3510       choke me
3511#endif
3512
3513  ;
3514  return 0;
3515}
3516_ACEOF
3517if ac_fn_c_try_compile "$LINENO"; then :
3518  ac_compiler_gnu=yes
3519else
3520  ac_compiler_gnu=no
3521fi
3522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524
3525fi
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3527$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528if test $ac_compiler_gnu = yes; then
3529  GCC=yes
3530else
3531  GCC=
3532fi
3533ac_test_CFLAGS=${CFLAGS+set}
3534ac_save_CFLAGS=$CFLAGS
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3536$as_echo_n "checking whether $CC accepts -g... " >&6; }
3537if ${ac_cv_prog_cc_g+:} false; then :
3538  $as_echo_n "(cached) " >&6
3539else
3540  ac_save_c_werror_flag=$ac_c_werror_flag
3541   ac_c_werror_flag=yes
3542   ac_cv_prog_cc_g=no
3543   CFLAGS="-g"
3544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545/* end confdefs.h.  */
3546
3547int
3548main ()
3549{
3550
3551  ;
3552  return 0;
3553}
3554_ACEOF
3555if ac_fn_c_try_compile "$LINENO"; then :
3556  ac_cv_prog_cc_g=yes
3557else
3558  CFLAGS=""
3559      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560/* end confdefs.h.  */
3561
3562int
3563main ()
3564{
3565
3566  ;
3567  return 0;
3568}
3569_ACEOF
3570if ac_fn_c_try_compile "$LINENO"; then :
3571
3572else
3573  ac_c_werror_flag=$ac_save_c_werror_flag
3574	 CFLAGS="-g"
3575	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576/* end confdefs.h.  */
3577
3578int
3579main ()
3580{
3581
3582  ;
3583  return 0;
3584}
3585_ACEOF
3586if ac_fn_c_try_compile "$LINENO"; then :
3587  ac_cv_prog_cc_g=yes
3588fi
3589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590fi
3591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592fi
3593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594   ac_c_werror_flag=$ac_save_c_werror_flag
3595fi
3596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3597$as_echo "$ac_cv_prog_cc_g" >&6; }
3598if test "$ac_test_CFLAGS" = set; then
3599  CFLAGS=$ac_save_CFLAGS
3600elif test $ac_cv_prog_cc_g = yes; then
3601  if test "$GCC" = yes; then
3602    CFLAGS="-g -O2"
3603  else
3604    CFLAGS="-g"
3605  fi
3606else
3607  if test "$GCC" = yes; then
3608    CFLAGS="-O2"
3609  else
3610    CFLAGS=
3611  fi
3612fi
3613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615if ${ac_cv_prog_cc_c89+:} false; then :
3616  $as_echo_n "(cached) " >&6
3617else
3618  ac_cv_prog_cc_c89=no
3619ac_save_CC=$CC
3620cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621/* end confdefs.h.  */
3622#include <stdarg.h>
3623#include <stdio.h>
3624struct stat;
3625/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3626struct buf { int x; };
3627FILE * (*rcsopen) (struct buf *, struct stat *, int);
3628static char *e (p, i)
3629     char **p;
3630     int i;
3631{
3632  return p[i];
3633}
3634static char *f (char * (*g) (char **, int), char **p, ...)
3635{
3636  char *s;
3637  va_list v;
3638  va_start (v,p);
3639  s = g (p, va_arg (v,int));
3640  va_end (v);
3641  return s;
3642}
3643
3644/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3645   function prototypes and stuff, but not '\xHH' hex character constants.
3646   These don't provoke an error unfortunately, instead are silently treated
3647   as 'x'.  The following induces an error, until -std is added to get
3648   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3649   array size at least.  It's necessary to write '\x00'==0 to get something
3650   that's true only with -std.  */
3651int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3652
3653/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3654   inside strings and character constants.  */
3655#define FOO(x) 'x'
3656int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3657
3658int test (int i, double x);
3659struct s1 {int (*f) (int a);};
3660struct s2 {int (*f) (double a);};
3661int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3662int argc;
3663char **argv;
3664int
3665main ()
3666{
3667return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3668  ;
3669  return 0;
3670}
3671_ACEOF
3672for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3673	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3674do
3675  CC="$ac_save_CC $ac_arg"
3676  if ac_fn_c_try_compile "$LINENO"; then :
3677  ac_cv_prog_cc_c89=$ac_arg
3678fi
3679rm -f core conftest.err conftest.$ac_objext
3680  test "x$ac_cv_prog_cc_c89" != "xno" && break
3681done
3682rm -f conftest.$ac_ext
3683CC=$ac_save_CC
3684
3685fi
3686# AC_CACHE_VAL
3687case "x$ac_cv_prog_cc_c89" in
3688  x)
3689    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3690$as_echo "none needed" >&6; } ;;
3691  xno)
3692    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3693$as_echo "unsupported" >&6; } ;;
3694  *)
3695    CC="$CC $ac_cv_prog_cc_c89"
3696    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3697$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3698esac
3699if test "x$ac_cv_prog_cc_c89" != xno; then :
3700
3701fi
3702
3703ac_ext=c
3704ac_cpp='$CPP $CPPFLAGS'
3705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708
3709ac_ext=c
3710ac_cpp='$CPP $CPPFLAGS'
3711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3715$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3716if ${am_cv_prog_cc_c_o+:} false; then :
3717  $as_echo_n "(cached) " >&6
3718else
3719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720/* end confdefs.h.  */
3721
3722int
3723main ()
3724{
3725
3726  ;
3727  return 0;
3728}
3729_ACEOF
3730  # Make sure it works both with $CC and with simple cc.
3731  # Following AC_PROG_CC_C_O, we do the test twice because some
3732  # compilers refuse to overwrite an existing .o file with -o,
3733  # though they will create one.
3734  am_cv_prog_cc_c_o=yes
3735  for am_i in 1 2; do
3736    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3737   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3738   ac_status=$?
3739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740   (exit $ac_status); } \
3741         && test -f conftest2.$ac_objext; then
3742      : OK
3743    else
3744      am_cv_prog_cc_c_o=no
3745      break
3746    fi
3747  done
3748  rm -f core conftest*
3749  unset am_i
3750fi
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3752$as_echo "$am_cv_prog_cc_c_o" >&6; }
3753if test "$am_cv_prog_cc_c_o" != yes; then
3754   # Losing compiler, so override with the script.
3755   # FIXME: It is wrong to rewrite CC.
3756   # But if we don't then we get into trouble of one sort or another.
3757   # A longer-term fix would be to have automake use am__CC in this case,
3758   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3759   CC="$am_aux_dir/compile $CC"
3760fi
3761ac_ext=c
3762ac_cpp='$CPP $CPPFLAGS'
3763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3765ac_compiler_gnu=$ac_cv_c_compiler_gnu
3766
3767DEPDIR="${am__leading_dot}deps"
3768
3769ac_config_commands="$ac_config_commands depfiles"
3770
3771
3772am_make=${MAKE-make}
3773cat > confinc << 'END'
3774am__doit:
3775	@echo this is the am__doit target
3776.PHONY: am__doit
3777END
3778# If we don't find an include directive, just comment out the code.
3779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3780$as_echo_n "checking for style of include used by $am_make... " >&6; }
3781am__include="#"
3782am__quote=
3783_am_result=none
3784# First try GNU make style include.
3785echo "include confinc" > confmf
3786# Ignore all kinds of additional output from 'make'.
3787case `$am_make -s -f confmf 2> /dev/null` in #(
3788*the\ am__doit\ target*)
3789  am__include=include
3790  am__quote=
3791  _am_result=GNU
3792  ;;
3793esac
3794# Now try BSD make style include.
3795if test "$am__include" = "#"; then
3796   echo '.include "confinc"' > confmf
3797   case `$am_make -s -f confmf 2> /dev/null` in #(
3798   *the\ am__doit\ target*)
3799     am__include=.include
3800     am__quote="\""
3801     _am_result=BSD
3802     ;;
3803   esac
3804fi
3805
3806
3807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3808$as_echo "$_am_result" >&6; }
3809rm -f confinc confmf
3810
3811# Check whether --enable-dependency-tracking was given.
3812if test "${enable_dependency_tracking+set}" = set; then :
3813  enableval=$enable_dependency_tracking;
3814fi
3815
3816if test "x$enable_dependency_tracking" != xno; then
3817  am_depcomp="$ac_aux_dir/depcomp"
3818  AMDEPBACKSLASH='\'
3819  am__nodep='_no'
3820fi
3821 if test "x$enable_dependency_tracking" != xno; then
3822  AMDEP_TRUE=
3823  AMDEP_FALSE='#'
3824else
3825  AMDEP_TRUE='#'
3826  AMDEP_FALSE=
3827fi
3828
3829
3830
3831depcc="$CC"   am_compiler_list=
3832
3833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3834$as_echo_n "checking dependency style of $depcc... " >&6; }
3835if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3836  $as_echo_n "(cached) " >&6
3837else
3838  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3839  # We make a subdir and do the tests there.  Otherwise we can end up
3840  # making bogus files that we don't know about and never remove.  For
3841  # instance it was reported that on HP-UX the gcc test will end up
3842  # making a dummy file named 'D' -- because '-MD' means "put the output
3843  # in D".
3844  rm -rf conftest.dir
3845  mkdir conftest.dir
3846  # Copy depcomp to subdir because otherwise we won't find it if we're
3847  # using a relative directory.
3848  cp "$am_depcomp" conftest.dir
3849  cd conftest.dir
3850  # We will build objects and dependencies in a subdirectory because
3851  # it helps to detect inapplicable dependency modes.  For instance
3852  # both Tru64's cc and ICC support -MD to output dependencies as a
3853  # side effect of compilation, but ICC will put the dependencies in
3854  # the current directory while Tru64 will put them in the object
3855  # directory.
3856  mkdir sub
3857
3858  am_cv_CC_dependencies_compiler_type=none
3859  if test "$am_compiler_list" = ""; then
3860     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3861  fi
3862  am__universal=false
3863  case " $depcc " in #(
3864     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3865     esac
3866
3867  for depmode in $am_compiler_list; do
3868    # Setup a source with many dependencies, because some compilers
3869    # like to wrap large dependency lists on column 80 (with \), and
3870    # we should not choose a depcomp mode which is confused by this.
3871    #
3872    # We need to recreate these files for each test, as the compiler may
3873    # overwrite some of them when testing with obscure command lines.
3874    # This happens at least with the AIX C compiler.
3875    : > sub/conftest.c
3876    for i in 1 2 3 4 5 6; do
3877      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3878      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3879      # Solaris 10 /bin/sh.
3880      echo '/* dummy */' > sub/conftst$i.h
3881    done
3882    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3883
3884    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3885    # mode.  It turns out that the SunPro C++ compiler does not properly
3886    # handle '-M -o', and we need to detect this.  Also, some Intel
3887    # versions had trouble with output in subdirs.
3888    am__obj=sub/conftest.${OBJEXT-o}
3889    am__minus_obj="-o $am__obj"
3890    case $depmode in
3891    gcc)
3892      # This depmode causes a compiler race in universal mode.
3893      test "$am__universal" = false || continue
3894      ;;
3895    nosideeffect)
3896      # After this tag, mechanisms are not by side-effect, so they'll
3897      # only be used when explicitly requested.
3898      if test "x$enable_dependency_tracking" = xyes; then
3899	continue
3900      else
3901	break
3902      fi
3903      ;;
3904    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3905      # This compiler won't grok '-c -o', but also, the minuso test has
3906      # not run yet.  These depmodes are late enough in the game, and
3907      # so weak that their functioning should not be impacted.
3908      am__obj=conftest.${OBJEXT-o}
3909      am__minus_obj=
3910      ;;
3911    none) break ;;
3912    esac
3913    if depmode=$depmode \
3914       source=sub/conftest.c object=$am__obj \
3915       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3916       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3917         >/dev/null 2>conftest.err &&
3918       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3919       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3920       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3921       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3922      # icc doesn't choke on unknown options, it will just issue warnings
3923      # or remarks (even with -Werror).  So we grep stderr for any message
3924      # that says an option was ignored or not supported.
3925      # When given -MP, icc 7.0 and 7.1 complain thusly:
3926      #   icc: Command line warning: ignoring option '-M'; no argument required
3927      # The diagnosis changed in icc 8.0:
3928      #   icc: Command line remark: option '-MP' not supported
3929      if (grep 'ignoring option' conftest.err ||
3930          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3931        am_cv_CC_dependencies_compiler_type=$depmode
3932        break
3933      fi
3934    fi
3935  done
3936
3937  cd ..
3938  rm -rf conftest.dir
3939else
3940  am_cv_CC_dependencies_compiler_type=none
3941fi
3942
3943fi
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3945$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3946CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3947
3948 if
3949  test "x$enable_dependency_tracking" != xno \
3950  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3951  am__fastdepCC_TRUE=
3952  am__fastdepCC_FALSE='#'
3953else
3954  am__fastdepCC_TRUE='#'
3955  am__fastdepCC_FALSE=
3956fi
3957
3958
3959
3960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3961$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3962if ${ac_cv_c_const+:} false; then :
3963  $as_echo_n "(cached) " >&6
3964else
3965  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966/* end confdefs.h.  */
3967
3968int
3969main ()
3970{
3971
3972#ifndef __cplusplus
3973  /* Ultrix mips cc rejects this sort of thing.  */
3974  typedef int charset[2];
3975  const charset cs = { 0, 0 };
3976  /* SunOS 4.1.1 cc rejects this.  */
3977  char const *const *pcpcc;
3978  char **ppc;
3979  /* NEC SVR4.0.2 mips cc rejects this.  */
3980  struct point {int x, y;};
3981  static struct point const zero = {0,0};
3982  /* AIX XL C 1.02.0.0 rejects this.
3983     It does not let you subtract one const X* pointer from another in
3984     an arm of an if-expression whose if-part is not a constant
3985     expression */
3986  const char *g = "string";
3987  pcpcc = &g + (g ? g-g : 0);
3988  /* HPUX 7.0 cc rejects these. */
3989  ++pcpcc;
3990  ppc = (char**) pcpcc;
3991  pcpcc = (char const *const *) ppc;
3992  { /* SCO 3.2v4 cc rejects this sort of thing.  */
3993    char tx;
3994    char *t = &tx;
3995    char const *s = 0 ? (char *) 0 : (char const *) 0;
3996
3997    *t++ = 0;
3998    if (s) return 0;
3999  }
4000  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4001    int x[] = {25, 17};
4002    const int *foo = &x[0];
4003    ++foo;
4004  }
4005  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4006    typedef const int *iptr;
4007    iptr p = 0;
4008    ++p;
4009  }
4010  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4011       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4012    struct s { int j; const int *ap[3]; } bx;
4013    struct s *b = &bx; b->j = 5;
4014  }
4015  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4016    const int foo = 10;
4017    if (!foo) return 0;
4018  }
4019  return !cs[0] && !zero.x;
4020#endif
4021
4022  ;
4023  return 0;
4024}
4025_ACEOF
4026if ac_fn_c_try_compile "$LINENO"; then :
4027  ac_cv_c_const=yes
4028else
4029  ac_cv_c_const=no
4030fi
4031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032fi
4033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4034$as_echo "$ac_cv_c_const" >&6; }
4035if test $ac_cv_c_const = no; then
4036
4037$as_echo "#define const /**/" >>confdefs.h
4038
4039fi
4040
4041ac_ext=c
4042ac_cpp='$CPP $CPPFLAGS'
4043ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4044ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4045ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4047$as_echo_n "checking how to run the C preprocessor... " >&6; }
4048# On Suns, sometimes $CPP names a directory.
4049if test -n "$CPP" && test -d "$CPP"; then
4050  CPP=
4051fi
4052if test -z "$CPP"; then
4053  if ${ac_cv_prog_CPP+:} false; then :
4054  $as_echo_n "(cached) " >&6
4055else
4056      # Double quotes because CPP needs to be expanded
4057    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4058    do
4059      ac_preproc_ok=false
4060for ac_c_preproc_warn_flag in '' yes
4061do
4062  # Use a header file that comes with gcc, so configuring glibc
4063  # with a fresh cross-compiler works.
4064  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4065  # <limits.h> exists even on freestanding compilers.
4066  # On the NeXT, cc -E runs the code through the compiler's parser,
4067  # not just through cpp. "Syntax error" is here to catch this case.
4068  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069/* end confdefs.h.  */
4070#ifdef __STDC__
4071# include <limits.h>
4072#else
4073# include <assert.h>
4074#endif
4075		     Syntax error
4076_ACEOF
4077if ac_fn_c_try_cpp "$LINENO"; then :
4078
4079else
4080  # Broken: fails on valid input.
4081continue
4082fi
4083rm -f conftest.err conftest.i conftest.$ac_ext
4084
4085  # OK, works on sane cases.  Now check whether nonexistent headers
4086  # can be detected and how.
4087  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088/* end confdefs.h.  */
4089#include <ac_nonexistent.h>
4090_ACEOF
4091if ac_fn_c_try_cpp "$LINENO"; then :
4092  # Broken: success on invalid input.
4093continue
4094else
4095  # Passes both tests.
4096ac_preproc_ok=:
4097break
4098fi
4099rm -f conftest.err conftest.i conftest.$ac_ext
4100
4101done
4102# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4103rm -f conftest.i conftest.err conftest.$ac_ext
4104if $ac_preproc_ok; then :
4105  break
4106fi
4107
4108    done
4109    ac_cv_prog_CPP=$CPP
4110
4111fi
4112  CPP=$ac_cv_prog_CPP
4113else
4114  ac_cv_prog_CPP=$CPP
4115fi
4116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4117$as_echo "$CPP" >&6; }
4118ac_preproc_ok=false
4119for ac_c_preproc_warn_flag in '' yes
4120do
4121  # Use a header file that comes with gcc, so configuring glibc
4122  # with a fresh cross-compiler works.
4123  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4124  # <limits.h> exists even on freestanding compilers.
4125  # On the NeXT, cc -E runs the code through the compiler's parser,
4126  # not just through cpp. "Syntax error" is here to catch this case.
4127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128/* end confdefs.h.  */
4129#ifdef __STDC__
4130# include <limits.h>
4131#else
4132# include <assert.h>
4133#endif
4134		     Syntax error
4135_ACEOF
4136if ac_fn_c_try_cpp "$LINENO"; then :
4137
4138else
4139  # Broken: fails on valid input.
4140continue
4141fi
4142rm -f conftest.err conftest.i conftest.$ac_ext
4143
4144  # OK, works on sane cases.  Now check whether nonexistent headers
4145  # can be detected and how.
4146  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147/* end confdefs.h.  */
4148#include <ac_nonexistent.h>
4149_ACEOF
4150if ac_fn_c_try_cpp "$LINENO"; then :
4151  # Broken: success on invalid input.
4152continue
4153else
4154  # Passes both tests.
4155ac_preproc_ok=:
4156break
4157fi
4158rm -f conftest.err conftest.i conftest.$ac_ext
4159
4160done
4161# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4162rm -f conftest.i conftest.err conftest.$ac_ext
4163if $ac_preproc_ok; then :
4164
4165else
4166  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4167$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4168as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4169See \`config.log' for more details" "$LINENO" 5; }
4170fi
4171
4172ac_ext=c
4173ac_cpp='$CPP $CPPFLAGS'
4174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4176ac_compiler_gnu=$ac_cv_c_compiler_gnu
4177
4178
4179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4180$as_echo_n "checking whether ln -s works... " >&6; }
4181LN_S=$as_ln_s
4182if test "$LN_S" = "ln -s"; then
4183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4184$as_echo "yes" >&6; }
4185else
4186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4187$as_echo "no, using $LN_S" >&6; }
4188fi
4189
4190case `pwd` in
4191  *\ * | *\	*)
4192    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4193$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4194esac
4195
4196
4197
4198macro_version='2.4.6'
4199macro_revision='2.4.6'
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213ltmain=$ac_aux_dir/ltmain.sh
4214
4215# Make sure we can run config.sub.
4216$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4217  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4218
4219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4220$as_echo_n "checking build system type... " >&6; }
4221if ${ac_cv_build+:} false; then :
4222  $as_echo_n "(cached) " >&6
4223else
4224  ac_build_alias=$build_alias
4225test "x$ac_build_alias" = x &&
4226  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4227test "x$ac_build_alias" = x &&
4228  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4229ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4230  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4231
4232fi
4233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4234$as_echo "$ac_cv_build" >&6; }
4235case $ac_cv_build in
4236*-*-*) ;;
4237*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4238esac
4239build=$ac_cv_build
4240ac_save_IFS=$IFS; IFS='-'
4241set x $ac_cv_build
4242shift
4243build_cpu=$1
4244build_vendor=$2
4245shift; shift
4246# Remember, the first character of IFS is used to create $*,
4247# except with old shells:
4248build_os=$*
4249IFS=$ac_save_IFS
4250case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4251
4252
4253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4254$as_echo_n "checking host system type... " >&6; }
4255if ${ac_cv_host+:} false; then :
4256  $as_echo_n "(cached) " >&6
4257else
4258  if test "x$host_alias" = x; then
4259  ac_cv_host=$ac_cv_build
4260else
4261  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4262    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4263fi
4264
4265fi
4266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4267$as_echo "$ac_cv_host" >&6; }
4268case $ac_cv_host in
4269*-*-*) ;;
4270*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4271esac
4272host=$ac_cv_host
4273ac_save_IFS=$IFS; IFS='-'
4274set x $ac_cv_host
4275shift
4276host_cpu=$1
4277host_vendor=$2
4278shift; shift
4279# Remember, the first character of IFS is used to create $*,
4280# except with old shells:
4281host_os=$*
4282IFS=$ac_save_IFS
4283case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4284
4285
4286# Backslashify metacharacters that are still active within
4287# double-quoted strings.
4288sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4289
4290# Same as above, but do not quote variable references.
4291double_quote_subst='s/\(["`\\]\)/\\\1/g'
4292
4293# Sed substitution to delay expansion of an escaped shell variable in a
4294# double_quote_subst'ed string.
4295delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4296
4297# Sed substitution to delay expansion of an escaped single quote.
4298delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4299
4300# Sed substitution to avoid accidental globbing in evaled expressions
4301no_glob_subst='s/\*/\\\*/g'
4302
4303ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4304ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4305ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4306
4307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4308$as_echo_n "checking how to print strings... " >&6; }
4309# Test print first, because it will be a builtin if present.
4310if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4311   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4312  ECHO='print -r --'
4313elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4314  ECHO='printf %s\n'
4315else
4316  # Use this function as a fallback that always works.
4317  func_fallback_echo ()
4318  {
4319    eval 'cat <<_LTECHO_EOF
4320$1
4321_LTECHO_EOF'
4322  }
4323  ECHO='func_fallback_echo'
4324fi
4325
4326# func_echo_all arg...
4327# Invoke $ECHO with all args, space-separated.
4328func_echo_all ()
4329{
4330    $ECHO ""
4331}
4332
4333case $ECHO in
4334  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4335$as_echo "printf" >&6; } ;;
4336  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4337$as_echo "print -r" >&6; } ;;
4338  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4339$as_echo "cat" >&6; } ;;
4340esac
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4356$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4357if ${ac_cv_path_SED+:} false; then :
4358  $as_echo_n "(cached) " >&6
4359else
4360            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4361     for ac_i in 1 2 3 4 5 6 7; do
4362       ac_script="$ac_script$as_nl$ac_script"
4363     done
4364     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4365     { ac_script=; unset ac_script;}
4366     if test -z "$SED"; then
4367  ac_path_SED_found=false
4368  # Loop through the user's path and test for each of PROGNAME-LIST
4369  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370for as_dir in $PATH
4371do
4372  IFS=$as_save_IFS
4373  test -z "$as_dir" && as_dir=.
4374    for ac_prog in sed gsed; do
4375    for ac_exec_ext in '' $ac_executable_extensions; do
4376      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4377      as_fn_executable_p "$ac_path_SED" || continue
4378# Check for GNU ac_path_SED and select it if it is found.
4379  # Check for GNU $ac_path_SED
4380case `"$ac_path_SED" --version 2>&1` in
4381*GNU*)
4382  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4383*)
4384  ac_count=0
4385  $as_echo_n 0123456789 >"conftest.in"
4386  while :
4387  do
4388    cat "conftest.in" "conftest.in" >"conftest.tmp"
4389    mv "conftest.tmp" "conftest.in"
4390    cp "conftest.in" "conftest.nl"
4391    $as_echo '' >> "conftest.nl"
4392    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4393    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4394    as_fn_arith $ac_count + 1 && ac_count=$as_val
4395    if test $ac_count -gt ${ac_path_SED_max-0}; then
4396      # Best one so far, save it but keep looking for a better one
4397      ac_cv_path_SED="$ac_path_SED"
4398      ac_path_SED_max=$ac_count
4399    fi
4400    # 10*(2^10) chars as input seems more than enough
4401    test $ac_count -gt 10 && break
4402  done
4403  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4404esac
4405
4406      $ac_path_SED_found && break 3
4407    done
4408  done
4409  done
4410IFS=$as_save_IFS
4411  if test -z "$ac_cv_path_SED"; then
4412    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4413  fi
4414else
4415  ac_cv_path_SED=$SED
4416fi
4417
4418fi
4419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4420$as_echo "$ac_cv_path_SED" >&6; }
4421 SED="$ac_cv_path_SED"
4422  rm -f conftest.sed
4423
4424test -z "$SED" && SED=sed
4425Xsed="$SED -e 1s/^X//"
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4438$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4439if ${ac_cv_path_GREP+:} false; then :
4440  $as_echo_n "(cached) " >&6
4441else
4442  if test -z "$GREP"; then
4443  ac_path_GREP_found=false
4444  # Loop through the user's path and test for each of PROGNAME-LIST
4445  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4447do
4448  IFS=$as_save_IFS
4449  test -z "$as_dir" && as_dir=.
4450    for ac_prog in grep ggrep; do
4451    for ac_exec_ext in '' $ac_executable_extensions; do
4452      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4453      as_fn_executable_p "$ac_path_GREP" || continue
4454# Check for GNU ac_path_GREP and select it if it is found.
4455  # Check for GNU $ac_path_GREP
4456case `"$ac_path_GREP" --version 2>&1` in
4457*GNU*)
4458  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4459*)
4460  ac_count=0
4461  $as_echo_n 0123456789 >"conftest.in"
4462  while :
4463  do
4464    cat "conftest.in" "conftest.in" >"conftest.tmp"
4465    mv "conftest.tmp" "conftest.in"
4466    cp "conftest.in" "conftest.nl"
4467    $as_echo 'GREP' >> "conftest.nl"
4468    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4469    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4470    as_fn_arith $ac_count + 1 && ac_count=$as_val
4471    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4472      # Best one so far, save it but keep looking for a better one
4473      ac_cv_path_GREP="$ac_path_GREP"
4474      ac_path_GREP_max=$ac_count
4475    fi
4476    # 10*(2^10) chars as input seems more than enough
4477    test $ac_count -gt 10 && break
4478  done
4479  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4480esac
4481
4482      $ac_path_GREP_found && break 3
4483    done
4484  done
4485  done
4486IFS=$as_save_IFS
4487  if test -z "$ac_cv_path_GREP"; then
4488    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4489  fi
4490else
4491  ac_cv_path_GREP=$GREP
4492fi
4493
4494fi
4495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4496$as_echo "$ac_cv_path_GREP" >&6; }
4497 GREP="$ac_cv_path_GREP"
4498
4499
4500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4501$as_echo_n "checking for egrep... " >&6; }
4502if ${ac_cv_path_EGREP+:} false; then :
4503  $as_echo_n "(cached) " >&6
4504else
4505  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4506   then ac_cv_path_EGREP="$GREP -E"
4507   else
4508     if test -z "$EGREP"; then
4509  ac_path_EGREP_found=false
4510  # Loop through the user's path and test for each of PROGNAME-LIST
4511  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4513do
4514  IFS=$as_save_IFS
4515  test -z "$as_dir" && as_dir=.
4516    for ac_prog in egrep; do
4517    for ac_exec_ext in '' $ac_executable_extensions; do
4518      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4519      as_fn_executable_p "$ac_path_EGREP" || continue
4520# Check for GNU ac_path_EGREP and select it if it is found.
4521  # Check for GNU $ac_path_EGREP
4522case `"$ac_path_EGREP" --version 2>&1` in
4523*GNU*)
4524  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4525*)
4526  ac_count=0
4527  $as_echo_n 0123456789 >"conftest.in"
4528  while :
4529  do
4530    cat "conftest.in" "conftest.in" >"conftest.tmp"
4531    mv "conftest.tmp" "conftest.in"
4532    cp "conftest.in" "conftest.nl"
4533    $as_echo 'EGREP' >> "conftest.nl"
4534    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4535    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4536    as_fn_arith $ac_count + 1 && ac_count=$as_val
4537    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4538      # Best one so far, save it but keep looking for a better one
4539      ac_cv_path_EGREP="$ac_path_EGREP"
4540      ac_path_EGREP_max=$ac_count
4541    fi
4542    # 10*(2^10) chars as input seems more than enough
4543    test $ac_count -gt 10 && break
4544  done
4545  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4546esac
4547
4548      $ac_path_EGREP_found && break 3
4549    done
4550  done
4551  done
4552IFS=$as_save_IFS
4553  if test -z "$ac_cv_path_EGREP"; then
4554    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4555  fi
4556else
4557  ac_cv_path_EGREP=$EGREP
4558fi
4559
4560   fi
4561fi
4562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4563$as_echo "$ac_cv_path_EGREP" >&6; }
4564 EGREP="$ac_cv_path_EGREP"
4565
4566
4567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4568$as_echo_n "checking for fgrep... " >&6; }
4569if ${ac_cv_path_FGREP+:} false; then :
4570  $as_echo_n "(cached) " >&6
4571else
4572  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4573   then ac_cv_path_FGREP="$GREP -F"
4574   else
4575     if test -z "$FGREP"; then
4576  ac_path_FGREP_found=false
4577  # Loop through the user's path and test for each of PROGNAME-LIST
4578  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4580do
4581  IFS=$as_save_IFS
4582  test -z "$as_dir" && as_dir=.
4583    for ac_prog in fgrep; do
4584    for ac_exec_ext in '' $ac_executable_extensions; do
4585      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4586      as_fn_executable_p "$ac_path_FGREP" || continue
4587# Check for GNU ac_path_FGREP and select it if it is found.
4588  # Check for GNU $ac_path_FGREP
4589case `"$ac_path_FGREP" --version 2>&1` in
4590*GNU*)
4591  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4592*)
4593  ac_count=0
4594  $as_echo_n 0123456789 >"conftest.in"
4595  while :
4596  do
4597    cat "conftest.in" "conftest.in" >"conftest.tmp"
4598    mv "conftest.tmp" "conftest.in"
4599    cp "conftest.in" "conftest.nl"
4600    $as_echo 'FGREP' >> "conftest.nl"
4601    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4602    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4603    as_fn_arith $ac_count + 1 && ac_count=$as_val
4604    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4605      # Best one so far, save it but keep looking for a better one
4606      ac_cv_path_FGREP="$ac_path_FGREP"
4607      ac_path_FGREP_max=$ac_count
4608    fi
4609    # 10*(2^10) chars as input seems more than enough
4610    test $ac_count -gt 10 && break
4611  done
4612  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4613esac
4614
4615      $ac_path_FGREP_found && break 3
4616    done
4617  done
4618  done
4619IFS=$as_save_IFS
4620  if test -z "$ac_cv_path_FGREP"; then
4621    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4622  fi
4623else
4624  ac_cv_path_FGREP=$FGREP
4625fi
4626
4627   fi
4628fi
4629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4630$as_echo "$ac_cv_path_FGREP" >&6; }
4631 FGREP="$ac_cv_path_FGREP"
4632
4633
4634test -z "$GREP" && GREP=grep
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654# Check whether --with-gnu-ld was given.
4655if test "${with_gnu_ld+set}" = set; then :
4656  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4657else
4658  with_gnu_ld=no
4659fi
4660
4661ac_prog=ld
4662if test yes = "$GCC"; then
4663  # Check if gcc -print-prog-name=ld gives a path.
4664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4665$as_echo_n "checking for ld used by $CC... " >&6; }
4666  case $host in
4667  *-*-mingw*)
4668    # gcc leaves a trailing carriage return, which upsets mingw
4669    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4670  *)
4671    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4672  esac
4673  case $ac_prog in
4674    # Accept absolute paths.
4675    [\\/]* | ?:[\\/]*)
4676      re_direlt='/[^/][^/]*/\.\./'
4677      # Canonicalize the pathname of ld
4678      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4679      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4680	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4681      done
4682      test -z "$LD" && LD=$ac_prog
4683      ;;
4684  "")
4685    # If it fails, then pretend we aren't using GCC.
4686    ac_prog=ld
4687    ;;
4688  *)
4689    # If it is relative, then search for the first ld in PATH.
4690    with_gnu_ld=unknown
4691    ;;
4692  esac
4693elif test yes = "$with_gnu_ld"; then
4694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4695$as_echo_n "checking for GNU ld... " >&6; }
4696else
4697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4698$as_echo_n "checking for non-GNU ld... " >&6; }
4699fi
4700if ${lt_cv_path_LD+:} false; then :
4701  $as_echo_n "(cached) " >&6
4702else
4703  if test -z "$LD"; then
4704  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4705  for ac_dir in $PATH; do
4706    IFS=$lt_save_ifs
4707    test -z "$ac_dir" && ac_dir=.
4708    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4709      lt_cv_path_LD=$ac_dir/$ac_prog
4710      # Check to see if the program is GNU ld.  I'd rather use --version,
4711      # but apparently some variants of GNU ld only accept -v.
4712      # Break only if it was the GNU/non-GNU ld that we prefer.
4713      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4714      *GNU* | *'with BFD'*)
4715	test no != "$with_gnu_ld" && break
4716	;;
4717      *)
4718	test yes != "$with_gnu_ld" && break
4719	;;
4720      esac
4721    fi
4722  done
4723  IFS=$lt_save_ifs
4724else
4725  lt_cv_path_LD=$LD # Let the user override the test with a path.
4726fi
4727fi
4728
4729LD=$lt_cv_path_LD
4730if test -n "$LD"; then
4731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4732$as_echo "$LD" >&6; }
4733else
4734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735$as_echo "no" >&6; }
4736fi
4737test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4739$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4740if ${lt_cv_prog_gnu_ld+:} false; then :
4741  $as_echo_n "(cached) " >&6
4742else
4743  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4744case `$LD -v 2>&1 </dev/null` in
4745*GNU* | *'with BFD'*)
4746  lt_cv_prog_gnu_ld=yes
4747  ;;
4748*)
4749  lt_cv_prog_gnu_ld=no
4750  ;;
4751esac
4752fi
4753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4754$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4755with_gnu_ld=$lt_cv_prog_gnu_ld
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4766$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4767if ${lt_cv_path_NM+:} false; then :
4768  $as_echo_n "(cached) " >&6
4769else
4770  if test -n "$NM"; then
4771  # Let the user override the test.
4772  lt_cv_path_NM=$NM
4773else
4774  lt_nm_to_check=${ac_tool_prefix}nm
4775  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4776    lt_nm_to_check="$lt_nm_to_check nm"
4777  fi
4778  for lt_tmp_nm in $lt_nm_to_check; do
4779    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4780    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4781      IFS=$lt_save_ifs
4782      test -z "$ac_dir" && ac_dir=.
4783      tmp_nm=$ac_dir/$lt_tmp_nm
4784      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4785	# Check to see if the nm accepts a BSD-compat flag.
4786	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4787	#   nm: unknown option "B" ignored
4788	# Tru64's nm complains that /dev/null is an invalid object file
4789	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4790	case $build_os in
4791	mingw*) lt_bad_file=conftest.nm/nofile ;;
4792	*) lt_bad_file=/dev/null ;;
4793	esac
4794	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4795	*$lt_bad_file* | *'Invalid file or object type'*)
4796	  lt_cv_path_NM="$tmp_nm -B"
4797	  break 2
4798	  ;;
4799	*)
4800	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4801	  */dev/null*)
4802	    lt_cv_path_NM="$tmp_nm -p"
4803	    break 2
4804	    ;;
4805	  *)
4806	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4807	    continue # so that we can try to find one that supports BSD flags
4808	    ;;
4809	  esac
4810	  ;;
4811	esac
4812      fi
4813    done
4814    IFS=$lt_save_ifs
4815  done
4816  : ${lt_cv_path_NM=no}
4817fi
4818fi
4819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4820$as_echo "$lt_cv_path_NM" >&6; }
4821if test no != "$lt_cv_path_NM"; then
4822  NM=$lt_cv_path_NM
4823else
4824  # Didn't find any BSD compatible name lister, look for dumpbin.
4825  if test -n "$DUMPBIN"; then :
4826    # Let the user override the test.
4827  else
4828    if test -n "$ac_tool_prefix"; then
4829  for ac_prog in dumpbin "link -dump"
4830  do
4831    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4832set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834$as_echo_n "checking for $ac_word... " >&6; }
4835if ${ac_cv_prog_DUMPBIN+:} false; then :
4836  $as_echo_n "(cached) " >&6
4837else
4838  if test -n "$DUMPBIN"; then
4839  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4840else
4841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842for as_dir in $PATH
4843do
4844  IFS=$as_save_IFS
4845  test -z "$as_dir" && as_dir=.
4846    for ac_exec_ext in '' $ac_executable_extensions; do
4847  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4848    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4849    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850    break 2
4851  fi
4852done
4853  done
4854IFS=$as_save_IFS
4855
4856fi
4857fi
4858DUMPBIN=$ac_cv_prog_DUMPBIN
4859if test -n "$DUMPBIN"; then
4860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4861$as_echo "$DUMPBIN" >&6; }
4862else
4863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864$as_echo "no" >&6; }
4865fi
4866
4867
4868    test -n "$DUMPBIN" && break
4869  done
4870fi
4871if test -z "$DUMPBIN"; then
4872  ac_ct_DUMPBIN=$DUMPBIN
4873  for ac_prog in dumpbin "link -dump"
4874do
4875  # Extract the first word of "$ac_prog", so it can be a program name with args.
4876set dummy $ac_prog; ac_word=$2
4877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878$as_echo_n "checking for $ac_word... " >&6; }
4879if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4880  $as_echo_n "(cached) " >&6
4881else
4882  if test -n "$ac_ct_DUMPBIN"; then
4883  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4884else
4885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886for as_dir in $PATH
4887do
4888  IFS=$as_save_IFS
4889  test -z "$as_dir" && as_dir=.
4890    for ac_exec_ext in '' $ac_executable_extensions; do
4891  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4893    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894    break 2
4895  fi
4896done
4897  done
4898IFS=$as_save_IFS
4899
4900fi
4901fi
4902ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4903if test -n "$ac_ct_DUMPBIN"; then
4904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4905$as_echo "$ac_ct_DUMPBIN" >&6; }
4906else
4907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908$as_echo "no" >&6; }
4909fi
4910
4911
4912  test -n "$ac_ct_DUMPBIN" && break
4913done
4914
4915  if test "x$ac_ct_DUMPBIN" = x; then
4916    DUMPBIN=":"
4917  else
4918    case $cross_compiling:$ac_tool_warned in
4919yes:)
4920{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4921$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4922ac_tool_warned=yes ;;
4923esac
4924    DUMPBIN=$ac_ct_DUMPBIN
4925  fi
4926fi
4927
4928    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4929    *COFF*)
4930      DUMPBIN="$DUMPBIN -symbols -headers"
4931      ;;
4932    *)
4933      DUMPBIN=:
4934      ;;
4935    esac
4936  fi
4937
4938  if test : != "$DUMPBIN"; then
4939    NM=$DUMPBIN
4940  fi
4941fi
4942test -z "$NM" && NM=nm
4943
4944
4945
4946
4947
4948
4949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4950$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4951if ${lt_cv_nm_interface+:} false; then :
4952  $as_echo_n "(cached) " >&6
4953else
4954  lt_cv_nm_interface="BSD nm"
4955  echo "int some_variable = 0;" > conftest.$ac_ext
4956  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4957  (eval "$ac_compile" 2>conftest.err)
4958  cat conftest.err >&5
4959  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4960  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4961  cat conftest.err >&5
4962  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4963  cat conftest.out >&5
4964  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4965    lt_cv_nm_interface="MS dumpbin"
4966  fi
4967  rm -f conftest*
4968fi
4969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4970$as_echo "$lt_cv_nm_interface" >&6; }
4971
4972# find the maximum length of command line arguments
4973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4974$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4975if ${lt_cv_sys_max_cmd_len+:} false; then :
4976  $as_echo_n "(cached) " >&6
4977else
4978    i=0
4979  teststring=ABCD
4980
4981  case $build_os in
4982  msdosdjgpp*)
4983    # On DJGPP, this test can blow up pretty badly due to problems in libc
4984    # (any single argument exceeding 2000 bytes causes a buffer overrun
4985    # during glob expansion).  Even if it were fixed, the result of this
4986    # check would be larger than it should be.
4987    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4988    ;;
4989
4990  gnu*)
4991    # Under GNU Hurd, this test is not required because there is
4992    # no limit to the length of command line arguments.
4993    # Libtool will interpret -1 as no limit whatsoever
4994    lt_cv_sys_max_cmd_len=-1;
4995    ;;
4996
4997  cygwin* | mingw* | cegcc*)
4998    # On Win9x/ME, this test blows up -- it succeeds, but takes
4999    # about 5 minutes as the teststring grows exponentially.
5000    # Worse, since 9x/ME are not pre-emptively multitasking,
5001    # you end up with a "frozen" computer, even though with patience
5002    # the test eventually succeeds (with a max line length of 256k).
5003    # Instead, let's just punt: use the minimum linelength reported by
5004    # all of the supported platforms: 8192 (on NT/2K/XP).
5005    lt_cv_sys_max_cmd_len=8192;
5006    ;;
5007
5008  mint*)
5009    # On MiNT this can take a long time and run out of memory.
5010    lt_cv_sys_max_cmd_len=8192;
5011    ;;
5012
5013  amigaos*)
5014    # On AmigaOS with pdksh, this test takes hours, literally.
5015    # So we just punt and use a minimum line length of 8192.
5016    lt_cv_sys_max_cmd_len=8192;
5017    ;;
5018
5019  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5020    # This has been around since 386BSD, at least.  Likely further.
5021    if test -x /sbin/sysctl; then
5022      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5023    elif test -x /usr/sbin/sysctl; then
5024      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5025    else
5026      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5027    fi
5028    # And add a safety zone
5029    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5030    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5031    ;;
5032
5033  interix*)
5034    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5035    lt_cv_sys_max_cmd_len=196608
5036    ;;
5037
5038  os2*)
5039    # The test takes a long time on OS/2.
5040    lt_cv_sys_max_cmd_len=8192
5041    ;;
5042
5043  osf*)
5044    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5045    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5046    # nice to cause kernel panics so lets avoid the loop below.
5047    # First set a reasonable default.
5048    lt_cv_sys_max_cmd_len=16384
5049    #
5050    if test -x /sbin/sysconfig; then
5051      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5052        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5053      esac
5054    fi
5055    ;;
5056  sco3.2v5*)
5057    lt_cv_sys_max_cmd_len=102400
5058    ;;
5059  sysv5* | sco5v6* | sysv4.2uw2*)
5060    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5061    if test -n "$kargmax"; then
5062      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5063    else
5064      lt_cv_sys_max_cmd_len=32768
5065    fi
5066    ;;
5067  *)
5068    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5069    if test -n "$lt_cv_sys_max_cmd_len" && \
5070       test undefined != "$lt_cv_sys_max_cmd_len"; then
5071      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5072      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5073    else
5074      # Make teststring a little bigger before we do anything with it.
5075      # a 1K string should be a reasonable start.
5076      for i in 1 2 3 4 5 6 7 8; do
5077        teststring=$teststring$teststring
5078      done
5079      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5080      # If test is not a shell built-in, we'll probably end up computing a
5081      # maximum length that is only half of the actual maximum length, but
5082      # we can't tell.
5083      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5084	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5085	      test 17 != "$i" # 1/2 MB should be enough
5086      do
5087        i=`expr $i + 1`
5088        teststring=$teststring$teststring
5089      done
5090      # Only check the string length outside the loop.
5091      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5092      teststring=
5093      # Add a significant safety factor because C++ compilers can tack on
5094      # massive amounts of additional arguments before passing them to the
5095      # linker.  It appears as though 1/2 is a usable value.
5096      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5097    fi
5098    ;;
5099  esac
5100
5101fi
5102
5103if test -n "$lt_cv_sys_max_cmd_len"; then
5104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5105$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5106else
5107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5108$as_echo "none" >&6; }
5109fi
5110max_cmd_len=$lt_cv_sys_max_cmd_len
5111
5112
5113
5114
5115
5116
5117: ${CP="cp -f"}
5118: ${MV="mv -f"}
5119: ${RM="rm -f"}
5120
5121if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5122  lt_unset=unset
5123else
5124  lt_unset=false
5125fi
5126
5127
5128
5129
5130
5131# test EBCDIC or ASCII
5132case `echo X|tr X '\101'` in
5133 A) # ASCII based system
5134    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5135  lt_SP2NL='tr \040 \012'
5136  lt_NL2SP='tr \015\012 \040\040'
5137  ;;
5138 *) # EBCDIC based system
5139  lt_SP2NL='tr \100 \n'
5140  lt_NL2SP='tr \r\n \100\100'
5141  ;;
5142esac
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5153$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5154if ${lt_cv_to_host_file_cmd+:} false; then :
5155  $as_echo_n "(cached) " >&6
5156else
5157  case $host in
5158  *-*-mingw* )
5159    case $build in
5160      *-*-mingw* ) # actually msys
5161        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5162        ;;
5163      *-*-cygwin* )
5164        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5165        ;;
5166      * ) # otherwise, assume *nix
5167        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5168        ;;
5169    esac
5170    ;;
5171  *-*-cygwin* )
5172    case $build in
5173      *-*-mingw* ) # actually msys
5174        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5175        ;;
5176      *-*-cygwin* )
5177        lt_cv_to_host_file_cmd=func_convert_file_noop
5178        ;;
5179      * ) # otherwise, assume *nix
5180        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5181        ;;
5182    esac
5183    ;;
5184  * ) # unhandled hosts (and "normal" native builds)
5185    lt_cv_to_host_file_cmd=func_convert_file_noop
5186    ;;
5187esac
5188
5189fi
5190
5191to_host_file_cmd=$lt_cv_to_host_file_cmd
5192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5193$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5194
5195
5196
5197
5198
5199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5200$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5201if ${lt_cv_to_tool_file_cmd+:} false; then :
5202  $as_echo_n "(cached) " >&6
5203else
5204  #assume ordinary cross tools, or native build.
5205lt_cv_to_tool_file_cmd=func_convert_file_noop
5206case $host in
5207  *-*-mingw* )
5208    case $build in
5209      *-*-mingw* ) # actually msys
5210        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5211        ;;
5212    esac
5213    ;;
5214esac
5215
5216fi
5217
5218to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5220$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5221
5222
5223
5224
5225
5226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5227$as_echo_n "checking for $LD option to reload object files... " >&6; }
5228if ${lt_cv_ld_reload_flag+:} false; then :
5229  $as_echo_n "(cached) " >&6
5230else
5231  lt_cv_ld_reload_flag='-r'
5232fi
5233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5234$as_echo "$lt_cv_ld_reload_flag" >&6; }
5235reload_flag=$lt_cv_ld_reload_flag
5236case $reload_flag in
5237"" | " "*) ;;
5238*) reload_flag=" $reload_flag" ;;
5239esac
5240reload_cmds='$LD$reload_flag -o $output$reload_objs'
5241case $host_os in
5242  cygwin* | mingw* | pw32* | cegcc*)
5243    if test yes != "$GCC"; then
5244      reload_cmds=false
5245    fi
5246    ;;
5247  darwin*)
5248    if test yes = "$GCC"; then
5249      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5250    else
5251      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5252    fi
5253    ;;
5254esac
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264if test -n "$ac_tool_prefix"; then
5265  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5266set dummy ${ac_tool_prefix}objdump; ac_word=$2
5267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268$as_echo_n "checking for $ac_word... " >&6; }
5269if ${ac_cv_prog_OBJDUMP+:} false; then :
5270  $as_echo_n "(cached) " >&6
5271else
5272  if test -n "$OBJDUMP"; then
5273  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5274else
5275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276for as_dir in $PATH
5277do
5278  IFS=$as_save_IFS
5279  test -z "$as_dir" && as_dir=.
5280    for ac_exec_ext in '' $ac_executable_extensions; do
5281  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5282    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5283    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284    break 2
5285  fi
5286done
5287  done
5288IFS=$as_save_IFS
5289
5290fi
5291fi
5292OBJDUMP=$ac_cv_prog_OBJDUMP
5293if test -n "$OBJDUMP"; then
5294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5295$as_echo "$OBJDUMP" >&6; }
5296else
5297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298$as_echo "no" >&6; }
5299fi
5300
5301
5302fi
5303if test -z "$ac_cv_prog_OBJDUMP"; then
5304  ac_ct_OBJDUMP=$OBJDUMP
5305  # Extract the first word of "objdump", so it can be a program name with args.
5306set dummy objdump; ac_word=$2
5307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308$as_echo_n "checking for $ac_word... " >&6; }
5309if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5310  $as_echo_n "(cached) " >&6
5311else
5312  if test -n "$ac_ct_OBJDUMP"; then
5313  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5314else
5315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316for as_dir in $PATH
5317do
5318  IFS=$as_save_IFS
5319  test -z "$as_dir" && as_dir=.
5320    for ac_exec_ext in '' $ac_executable_extensions; do
5321  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5322    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5323    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324    break 2
5325  fi
5326done
5327  done
5328IFS=$as_save_IFS
5329
5330fi
5331fi
5332ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5333if test -n "$ac_ct_OBJDUMP"; then
5334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5335$as_echo "$ac_ct_OBJDUMP" >&6; }
5336else
5337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338$as_echo "no" >&6; }
5339fi
5340
5341  if test "x$ac_ct_OBJDUMP" = x; then
5342    OBJDUMP="false"
5343  else
5344    case $cross_compiling:$ac_tool_warned in
5345yes:)
5346{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5347$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5348ac_tool_warned=yes ;;
5349esac
5350    OBJDUMP=$ac_ct_OBJDUMP
5351  fi
5352else
5353  OBJDUMP="$ac_cv_prog_OBJDUMP"
5354fi
5355
5356test -z "$OBJDUMP" && OBJDUMP=objdump
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5367$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5368if ${lt_cv_deplibs_check_method+:} false; then :
5369  $as_echo_n "(cached) " >&6
5370else
5371  lt_cv_file_magic_cmd='$MAGIC_CMD'
5372lt_cv_file_magic_test_file=
5373lt_cv_deplibs_check_method='unknown'
5374# Need to set the preceding variable on all platforms that support
5375# interlibrary dependencies.
5376# 'none' -- dependencies not supported.
5377# 'unknown' -- same as none, but documents that we really don't know.
5378# 'pass_all' -- all dependencies passed with no checks.
5379# 'test_compile' -- check by making test program.
5380# 'file_magic [[regex]]' -- check by looking for files in library path
5381# that responds to the $file_magic_cmd with a given extended regex.
5382# If you have 'file' or equivalent on your system and you're not sure
5383# whether 'pass_all' will *always* work, you probably want this one.
5384
5385case $host_os in
5386aix[4-9]*)
5387  lt_cv_deplibs_check_method=pass_all
5388  ;;
5389
5390beos*)
5391  lt_cv_deplibs_check_method=pass_all
5392  ;;
5393
5394bsdi[45]*)
5395  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5396  lt_cv_file_magic_cmd='/usr/bin/file -L'
5397  lt_cv_file_magic_test_file=/shlib/libc.so
5398  ;;
5399
5400cygwin*)
5401  # func_win32_libid is a shell function defined in ltmain.sh
5402  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5403  lt_cv_file_magic_cmd='func_win32_libid'
5404  ;;
5405
5406mingw* | pw32*)
5407  # Base MSYS/MinGW do not provide the 'file' command needed by
5408  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5409  # unless we find 'file', for example because we are cross-compiling.
5410  if ( file / ) >/dev/null 2>&1; then
5411    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5412    lt_cv_file_magic_cmd='func_win32_libid'
5413  else
5414    # Keep this pattern in sync with the one in func_win32_libid.
5415    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5416    lt_cv_file_magic_cmd='$OBJDUMP -f'
5417  fi
5418  ;;
5419
5420cegcc*)
5421  # use the weaker test based on 'objdump'. See mingw*.
5422  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5423  lt_cv_file_magic_cmd='$OBJDUMP -f'
5424  ;;
5425
5426darwin* | rhapsody*)
5427  lt_cv_deplibs_check_method=pass_all
5428  ;;
5429
5430freebsd* | dragonfly*)
5431  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5432    case $host_cpu in
5433    i*86 )
5434      # Not sure whether the presence of OpenBSD here was a mistake.
5435      # Let's accept both of them until this is cleared up.
5436      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5437      lt_cv_file_magic_cmd=/usr/bin/file
5438      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5439      ;;
5440    esac
5441  else
5442    lt_cv_deplibs_check_method=pass_all
5443  fi
5444  ;;
5445
5446haiku*)
5447  lt_cv_deplibs_check_method=pass_all
5448  ;;
5449
5450hpux10.20* | hpux11*)
5451  lt_cv_file_magic_cmd=/usr/bin/file
5452  case $host_cpu in
5453  ia64*)
5454    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5455    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5456    ;;
5457  hppa*64*)
5458    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5459    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5460    ;;
5461  *)
5462    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5463    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5464    ;;
5465  esac
5466  ;;
5467
5468interix[3-9]*)
5469  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5470  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5471  ;;
5472
5473irix5* | irix6* | nonstopux*)
5474  case $LD in
5475  *-32|*"-32 ") libmagic=32-bit;;
5476  *-n32|*"-n32 ") libmagic=N32;;
5477  *-64|*"-64 ") libmagic=64-bit;;
5478  *) libmagic=never-match;;
5479  esac
5480  lt_cv_deplibs_check_method=pass_all
5481  ;;
5482
5483# This must be glibc/ELF.
5484linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5485  lt_cv_deplibs_check_method=pass_all
5486  ;;
5487
5488netbsd* | netbsdelf*-gnu)
5489  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5490    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5491  else
5492    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5493  fi
5494  ;;
5495
5496newos6*)
5497  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5498  lt_cv_file_magic_cmd=/usr/bin/file
5499  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5500  ;;
5501
5502*nto* | *qnx*)
5503  lt_cv_deplibs_check_method=pass_all
5504  ;;
5505
5506openbsd* | bitrig*)
5507  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5508    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5509  else
5510    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5511  fi
5512  ;;
5513
5514osf3* | osf4* | osf5*)
5515  lt_cv_deplibs_check_method=pass_all
5516  ;;
5517
5518rdos*)
5519  lt_cv_deplibs_check_method=pass_all
5520  ;;
5521
5522solaris*)
5523  lt_cv_deplibs_check_method=pass_all
5524  ;;
5525
5526sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5527  lt_cv_deplibs_check_method=pass_all
5528  ;;
5529
5530sysv4 | sysv4.3*)
5531  case $host_vendor in
5532  motorola)
5533    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]'
5534    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5535    ;;
5536  ncr)
5537    lt_cv_deplibs_check_method=pass_all
5538    ;;
5539  sequent)
5540    lt_cv_file_magic_cmd='/bin/file'
5541    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5542    ;;
5543  sni)
5544    lt_cv_file_magic_cmd='/bin/file'
5545    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5546    lt_cv_file_magic_test_file=/lib/libc.so
5547    ;;
5548  siemens)
5549    lt_cv_deplibs_check_method=pass_all
5550    ;;
5551  pc)
5552    lt_cv_deplibs_check_method=pass_all
5553    ;;
5554  esac
5555  ;;
5556
5557tpf*)
5558  lt_cv_deplibs_check_method=pass_all
5559  ;;
5560os2*)
5561  lt_cv_deplibs_check_method=pass_all
5562  ;;
5563esac
5564
5565fi
5566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5567$as_echo "$lt_cv_deplibs_check_method" >&6; }
5568
5569file_magic_glob=
5570want_nocaseglob=no
5571if test "$build" = "$host"; then
5572  case $host_os in
5573  mingw* | pw32*)
5574    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5575      want_nocaseglob=yes
5576    else
5577      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5578    fi
5579    ;;
5580  esac
5581fi
5582
5583file_magic_cmd=$lt_cv_file_magic_cmd
5584deplibs_check_method=$lt_cv_deplibs_check_method
5585test -z "$deplibs_check_method" && deplibs_check_method=unknown
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608if test -n "$ac_tool_prefix"; then
5609  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5610set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612$as_echo_n "checking for $ac_word... " >&6; }
5613if ${ac_cv_prog_DLLTOOL+:} false; then :
5614  $as_echo_n "(cached) " >&6
5615else
5616  if test -n "$DLLTOOL"; then
5617  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5618else
5619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620for as_dir in $PATH
5621do
5622  IFS=$as_save_IFS
5623  test -z "$as_dir" && as_dir=.
5624    for ac_exec_ext in '' $ac_executable_extensions; do
5625  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5626    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5627    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628    break 2
5629  fi
5630done
5631  done
5632IFS=$as_save_IFS
5633
5634fi
5635fi
5636DLLTOOL=$ac_cv_prog_DLLTOOL
5637if test -n "$DLLTOOL"; then
5638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5639$as_echo "$DLLTOOL" >&6; }
5640else
5641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642$as_echo "no" >&6; }
5643fi
5644
5645
5646fi
5647if test -z "$ac_cv_prog_DLLTOOL"; then
5648  ac_ct_DLLTOOL=$DLLTOOL
5649  # Extract the first word of "dlltool", so it can be a program name with args.
5650set dummy dlltool; ac_word=$2
5651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652$as_echo_n "checking for $ac_word... " >&6; }
5653if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5654  $as_echo_n "(cached) " >&6
5655else
5656  if test -n "$ac_ct_DLLTOOL"; then
5657  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5658else
5659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660for as_dir in $PATH
5661do
5662  IFS=$as_save_IFS
5663  test -z "$as_dir" && as_dir=.
5664    for ac_exec_ext in '' $ac_executable_extensions; do
5665  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5666    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5667    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668    break 2
5669  fi
5670done
5671  done
5672IFS=$as_save_IFS
5673
5674fi
5675fi
5676ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5677if test -n "$ac_ct_DLLTOOL"; then
5678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5679$as_echo "$ac_ct_DLLTOOL" >&6; }
5680else
5681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682$as_echo "no" >&6; }
5683fi
5684
5685  if test "x$ac_ct_DLLTOOL" = x; then
5686    DLLTOOL="false"
5687  else
5688    case $cross_compiling:$ac_tool_warned in
5689yes:)
5690{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5691$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5692ac_tool_warned=yes ;;
5693esac
5694    DLLTOOL=$ac_ct_DLLTOOL
5695  fi
5696else
5697  DLLTOOL="$ac_cv_prog_DLLTOOL"
5698fi
5699
5700test -z "$DLLTOOL" && DLLTOOL=dlltool
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5712$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5713if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5714  $as_echo_n "(cached) " >&6
5715else
5716  lt_cv_sharedlib_from_linklib_cmd='unknown'
5717
5718case $host_os in
5719cygwin* | mingw* | pw32* | cegcc*)
5720  # two different shell functions defined in ltmain.sh;
5721  # decide which one to use based on capabilities of $DLLTOOL
5722  case `$DLLTOOL --help 2>&1` in
5723  *--identify-strict*)
5724    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5725    ;;
5726  *)
5727    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5728    ;;
5729  esac
5730  ;;
5731*)
5732  # fallback: assume linklib IS sharedlib
5733  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5734  ;;
5735esac
5736
5737fi
5738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5739$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5740sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5741test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5742
5743
5744
5745
5746
5747
5748
5749if test -n "$ac_tool_prefix"; then
5750  for ac_prog in ar
5751  do
5752    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5753set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755$as_echo_n "checking for $ac_word... " >&6; }
5756if ${ac_cv_prog_AR+:} false; then :
5757  $as_echo_n "(cached) " >&6
5758else
5759  if test -n "$AR"; then
5760  ac_cv_prog_AR="$AR" # Let the user override the test.
5761else
5762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763for as_dir in $PATH
5764do
5765  IFS=$as_save_IFS
5766  test -z "$as_dir" && as_dir=.
5767    for ac_exec_ext in '' $ac_executable_extensions; do
5768  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5770    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771    break 2
5772  fi
5773done
5774  done
5775IFS=$as_save_IFS
5776
5777fi
5778fi
5779AR=$ac_cv_prog_AR
5780if test -n "$AR"; then
5781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5782$as_echo "$AR" >&6; }
5783else
5784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785$as_echo "no" >&6; }
5786fi
5787
5788
5789    test -n "$AR" && break
5790  done
5791fi
5792if test -z "$AR"; then
5793  ac_ct_AR=$AR
5794  for ac_prog in ar
5795do
5796  # Extract the first word of "$ac_prog", so it can be a program name with args.
5797set dummy $ac_prog; ac_word=$2
5798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799$as_echo_n "checking for $ac_word... " >&6; }
5800if ${ac_cv_prog_ac_ct_AR+:} false; then :
5801  $as_echo_n "(cached) " >&6
5802else
5803  if test -n "$ac_ct_AR"; then
5804  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813    ac_cv_prog_ac_ct_AR="$ac_prog"
5814    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815    break 2
5816  fi
5817done
5818  done
5819IFS=$as_save_IFS
5820
5821fi
5822fi
5823ac_ct_AR=$ac_cv_prog_ac_ct_AR
5824if test -n "$ac_ct_AR"; then
5825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5826$as_echo "$ac_ct_AR" >&6; }
5827else
5828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829$as_echo "no" >&6; }
5830fi
5831
5832
5833  test -n "$ac_ct_AR" && break
5834done
5835
5836  if test "x$ac_ct_AR" = x; then
5837    AR="false"
5838  else
5839    case $cross_compiling:$ac_tool_warned in
5840yes:)
5841{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5842$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5843ac_tool_warned=yes ;;
5844esac
5845    AR=$ac_ct_AR
5846  fi
5847fi
5848
5849: ${AR=ar}
5850: ${AR_FLAGS=cru}
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5863$as_echo_n "checking for archiver @FILE support... " >&6; }
5864if ${lt_cv_ar_at_file+:} false; then :
5865  $as_echo_n "(cached) " >&6
5866else
5867  lt_cv_ar_at_file=no
5868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5869/* end confdefs.h.  */
5870
5871int
5872main ()
5873{
5874
5875  ;
5876  return 0;
5877}
5878_ACEOF
5879if ac_fn_c_try_compile "$LINENO"; then :
5880  echo conftest.$ac_objext > conftest.lst
5881      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5882      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5883  (eval $lt_ar_try) 2>&5
5884  ac_status=$?
5885  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5886  test $ac_status = 0; }
5887      if test 0 -eq "$ac_status"; then
5888	# Ensure the archiver fails upon bogus file names.
5889	rm -f conftest.$ac_objext libconftest.a
5890	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5891  (eval $lt_ar_try) 2>&5
5892  ac_status=$?
5893  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5894  test $ac_status = 0; }
5895	if test 0 -ne "$ac_status"; then
5896          lt_cv_ar_at_file=@
5897        fi
5898      fi
5899      rm -f conftest.* libconftest.a
5900
5901fi
5902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5903
5904fi
5905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5906$as_echo "$lt_cv_ar_at_file" >&6; }
5907
5908if test no = "$lt_cv_ar_at_file"; then
5909  archiver_list_spec=
5910else
5911  archiver_list_spec=$lt_cv_ar_at_file
5912fi
5913
5914
5915
5916
5917
5918
5919
5920if test -n "$ac_tool_prefix"; then
5921  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5922set dummy ${ac_tool_prefix}strip; ac_word=$2
5923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5924$as_echo_n "checking for $ac_word... " >&6; }
5925if ${ac_cv_prog_STRIP+:} false; then :
5926  $as_echo_n "(cached) " >&6
5927else
5928  if test -n "$STRIP"; then
5929  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5930else
5931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932for as_dir in $PATH
5933do
5934  IFS=$as_save_IFS
5935  test -z "$as_dir" && as_dir=.
5936    for ac_exec_ext in '' $ac_executable_extensions; do
5937  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5938    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5939    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940    break 2
5941  fi
5942done
5943  done
5944IFS=$as_save_IFS
5945
5946fi
5947fi
5948STRIP=$ac_cv_prog_STRIP
5949if test -n "$STRIP"; then
5950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5951$as_echo "$STRIP" >&6; }
5952else
5953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5954$as_echo "no" >&6; }
5955fi
5956
5957
5958fi
5959if test -z "$ac_cv_prog_STRIP"; then
5960  ac_ct_STRIP=$STRIP
5961  # Extract the first word of "strip", so it can be a program name with args.
5962set dummy strip; ac_word=$2
5963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964$as_echo_n "checking for $ac_word... " >&6; }
5965if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5966  $as_echo_n "(cached) " >&6
5967else
5968  if test -n "$ac_ct_STRIP"; then
5969  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5970else
5971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972for as_dir in $PATH
5973do
5974  IFS=$as_save_IFS
5975  test -z "$as_dir" && as_dir=.
5976    for ac_exec_ext in '' $ac_executable_extensions; do
5977  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5978    ac_cv_prog_ac_ct_STRIP="strip"
5979    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980    break 2
5981  fi
5982done
5983  done
5984IFS=$as_save_IFS
5985
5986fi
5987fi
5988ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5989if test -n "$ac_ct_STRIP"; then
5990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5991$as_echo "$ac_ct_STRIP" >&6; }
5992else
5993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994$as_echo "no" >&6; }
5995fi
5996
5997  if test "x$ac_ct_STRIP" = x; then
5998    STRIP=":"
5999  else
6000    case $cross_compiling:$ac_tool_warned in
6001yes:)
6002{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6004ac_tool_warned=yes ;;
6005esac
6006    STRIP=$ac_ct_STRIP
6007  fi
6008else
6009  STRIP="$ac_cv_prog_STRIP"
6010fi
6011
6012test -z "$STRIP" && STRIP=:
6013
6014
6015
6016
6017
6018
6019if test -n "$ac_tool_prefix"; then
6020  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6021set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023$as_echo_n "checking for $ac_word... " >&6; }
6024if ${ac_cv_prog_RANLIB+:} false; then :
6025  $as_echo_n "(cached) " >&6
6026else
6027  if test -n "$RANLIB"; then
6028  ac_cv_prog_RANLIB="$RANLIB" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6037    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6038    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039    break 2
6040  fi
6041done
6042  done
6043IFS=$as_save_IFS
6044
6045fi
6046fi
6047RANLIB=$ac_cv_prog_RANLIB
6048if test -n "$RANLIB"; then
6049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6050$as_echo "$RANLIB" >&6; }
6051else
6052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053$as_echo "no" >&6; }
6054fi
6055
6056
6057fi
6058if test -z "$ac_cv_prog_RANLIB"; then
6059  ac_ct_RANLIB=$RANLIB
6060  # Extract the first word of "ranlib", so it can be a program name with args.
6061set dummy ranlib; ac_word=$2
6062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063$as_echo_n "checking for $ac_word... " >&6; }
6064if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6065  $as_echo_n "(cached) " >&6
6066else
6067  if test -n "$ac_ct_RANLIB"; then
6068  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6069else
6070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071for as_dir in $PATH
6072do
6073  IFS=$as_save_IFS
6074  test -z "$as_dir" && as_dir=.
6075    for ac_exec_ext in '' $ac_executable_extensions; do
6076  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6077    ac_cv_prog_ac_ct_RANLIB="ranlib"
6078    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079    break 2
6080  fi
6081done
6082  done
6083IFS=$as_save_IFS
6084
6085fi
6086fi
6087ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6088if test -n "$ac_ct_RANLIB"; then
6089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6090$as_echo "$ac_ct_RANLIB" >&6; }
6091else
6092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093$as_echo "no" >&6; }
6094fi
6095
6096  if test "x$ac_ct_RANLIB" = x; then
6097    RANLIB=":"
6098  else
6099    case $cross_compiling:$ac_tool_warned in
6100yes:)
6101{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6102$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6103ac_tool_warned=yes ;;
6104esac
6105    RANLIB=$ac_ct_RANLIB
6106  fi
6107else
6108  RANLIB="$ac_cv_prog_RANLIB"
6109fi
6110
6111test -z "$RANLIB" && RANLIB=:
6112
6113
6114
6115
6116
6117
6118# Determine commands to create old-style static archives.
6119old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6120old_postinstall_cmds='chmod 644 $oldlib'
6121old_postuninstall_cmds=
6122
6123if test -n "$RANLIB"; then
6124  case $host_os in
6125  bitrig* | openbsd*)
6126    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6127    ;;
6128  *)
6129    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6130    ;;
6131  esac
6132  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6133fi
6134
6135case $host_os in
6136  darwin*)
6137    lock_old_archive_extraction=yes ;;
6138  *)
6139    lock_old_archive_extraction=no ;;
6140esac
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180# If no C compiler was specified, use CC.
6181LTCC=${LTCC-"$CC"}
6182
6183# If no C compiler flags were specified, use CFLAGS.
6184LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6185
6186# Allow CC to be a program name with arguments.
6187compiler=$CC
6188
6189
6190# Check for command to grab the raw symbol name followed by C symbol from nm.
6191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6192$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6193if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6194  $as_echo_n "(cached) " >&6
6195else
6196
6197# These are sane defaults that work on at least a few old systems.
6198# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6199
6200# Character class describing NM global symbol codes.
6201symcode='[BCDEGRST]'
6202
6203# Regexp to match symbols that can be accessed directly from C.
6204sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6205
6206# Define system-specific variables.
6207case $host_os in
6208aix*)
6209  symcode='[BCDT]'
6210  ;;
6211cygwin* | mingw* | pw32* | cegcc*)
6212  symcode='[ABCDGISTW]'
6213  ;;
6214hpux*)
6215  if test ia64 = "$host_cpu"; then
6216    symcode='[ABCDEGRST]'
6217  fi
6218  ;;
6219irix* | nonstopux*)
6220  symcode='[BCDEGRST]'
6221  ;;
6222osf*)
6223  symcode='[BCDEGQRST]'
6224  ;;
6225solaris*)
6226  symcode='[BDRT]'
6227  ;;
6228sco3.2v5*)
6229  symcode='[DT]'
6230  ;;
6231sysv4.2uw2*)
6232  symcode='[DT]'
6233  ;;
6234sysv5* | sco5v6* | unixware* | OpenUNIX*)
6235  symcode='[ABDT]'
6236  ;;
6237sysv4)
6238  symcode='[DFNSTU]'
6239  ;;
6240esac
6241
6242# If we're using GNU nm, then use its standard symbol codes.
6243case `$NM -V 2>&1` in
6244*GNU* | *'with BFD'*)
6245  symcode='[ABCDGIRSTW]' ;;
6246esac
6247
6248if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6249  # Gets list of data symbols to import.
6250  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6251  # Adjust the below global symbol transforms to fixup imported variables.
6252  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6253  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6254  lt_c_name_lib_hook="\
6255  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6256  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6257else
6258  # Disable hooks by default.
6259  lt_cv_sys_global_symbol_to_import=
6260  lt_cdecl_hook=
6261  lt_c_name_hook=
6262  lt_c_name_lib_hook=
6263fi
6264
6265# Transform an extracted symbol line into a proper C declaration.
6266# Some systems (esp. on ia64) link data and code symbols differently,
6267# so use this general approach.
6268lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6269$lt_cdecl_hook\
6270" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6271" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6272
6273# Transform an extracted symbol line into symbol name and symbol address
6274lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6275$lt_c_name_hook\
6276" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6277" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6278
6279# Transform an extracted symbol line into symbol name with lib prefix and
6280# symbol address.
6281lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6282$lt_c_name_lib_hook\
6283" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6284" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6285" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6286
6287# Handle CRLF in mingw tool chain
6288opt_cr=
6289case $build_os in
6290mingw*)
6291  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6292  ;;
6293esac
6294
6295# Try without a prefix underscore, then with it.
6296for ac_symprfx in "" "_"; do
6297
6298  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6299  symxfrm="\\1 $ac_symprfx\\2 \\2"
6300
6301  # Write the raw and C identifiers.
6302  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6303    # Fake it for dumpbin and say T for any non-static function,
6304    # D for any global variable and I for any imported variable.
6305    # Also find C++ and __fastcall symbols from MSVC++,
6306    # which start with @ or ?.
6307    lt_cv_sys_global_symbol_pipe="$AWK '"\
6308"     {last_section=section; section=\$ 3};"\
6309"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6310"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6311"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6312"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6313"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6314"     \$ 0!~/External *\|/{next};"\
6315"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6316"     {if(hide[section]) next};"\
6317"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6318"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6319"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6320"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6321"     ' prfx=^$ac_symprfx"
6322  else
6323    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6324  fi
6325  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6326
6327  # Check to see that the pipe works correctly.
6328  pipe_works=no
6329
6330  rm -f conftest*
6331  cat > conftest.$ac_ext <<_LT_EOF
6332#ifdef __cplusplus
6333extern "C" {
6334#endif
6335char nm_test_var;
6336void nm_test_func(void);
6337void nm_test_func(void){}
6338#ifdef __cplusplus
6339}
6340#endif
6341int main(){nm_test_var='a';nm_test_func();return(0);}
6342_LT_EOF
6343
6344  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6345  (eval $ac_compile) 2>&5
6346  ac_status=$?
6347  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6348  test $ac_status = 0; }; then
6349    # Now try to grab the symbols.
6350    nlist=conftest.nm
6351    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6352  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6353  ac_status=$?
6354  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6355  test $ac_status = 0; } && test -s "$nlist"; then
6356      # Try sorting and uniquifying the output.
6357      if sort "$nlist" | uniq > "$nlist"T; then
6358	mv -f "$nlist"T "$nlist"
6359      else
6360	rm -f "$nlist"T
6361      fi
6362
6363      # Make sure that we snagged all the symbols we need.
6364      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6365	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6366	  cat <<_LT_EOF > conftest.$ac_ext
6367/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6368#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6369/* DATA imports from DLLs on WIN32 can't be const, because runtime
6370   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6371# define LT_DLSYM_CONST
6372#elif defined __osf__
6373/* This system does not cope well with relocations in const data.  */
6374# define LT_DLSYM_CONST
6375#else
6376# define LT_DLSYM_CONST const
6377#endif
6378
6379#ifdef __cplusplus
6380extern "C" {
6381#endif
6382
6383_LT_EOF
6384	  # Now generate the symbol file.
6385	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6386
6387	  cat <<_LT_EOF >> conftest.$ac_ext
6388
6389/* The mapping between symbol names and symbols.  */
6390LT_DLSYM_CONST struct {
6391  const char *name;
6392  void       *address;
6393}
6394lt__PROGRAM__LTX_preloaded_symbols[] =
6395{
6396  { "@PROGRAM@", (void *) 0 },
6397_LT_EOF
6398	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6399	  cat <<\_LT_EOF >> conftest.$ac_ext
6400  {0, (void *) 0}
6401};
6402
6403/* This works around a problem in FreeBSD linker */
6404#ifdef FREEBSD_WORKAROUND
6405static const void *lt_preloaded_setup() {
6406  return lt__PROGRAM__LTX_preloaded_symbols;
6407}
6408#endif
6409
6410#ifdef __cplusplus
6411}
6412#endif
6413_LT_EOF
6414	  # Now try linking the two files.
6415	  mv conftest.$ac_objext conftstm.$ac_objext
6416	  lt_globsym_save_LIBS=$LIBS
6417	  lt_globsym_save_CFLAGS=$CFLAGS
6418	  LIBS=conftstm.$ac_objext
6419	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6420	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6421  (eval $ac_link) 2>&5
6422  ac_status=$?
6423  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6424  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6425	    pipe_works=yes
6426	  fi
6427	  LIBS=$lt_globsym_save_LIBS
6428	  CFLAGS=$lt_globsym_save_CFLAGS
6429	else
6430	  echo "cannot find nm_test_func in $nlist" >&5
6431	fi
6432      else
6433	echo "cannot find nm_test_var in $nlist" >&5
6434      fi
6435    else
6436      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6437    fi
6438  else
6439    echo "$progname: failed program was:" >&5
6440    cat conftest.$ac_ext >&5
6441  fi
6442  rm -rf conftest* conftst*
6443
6444  # Do not use the global_symbol_pipe unless it works.
6445  if test yes = "$pipe_works"; then
6446    break
6447  else
6448    lt_cv_sys_global_symbol_pipe=
6449  fi
6450done
6451
6452fi
6453
6454if test -z "$lt_cv_sys_global_symbol_pipe"; then
6455  lt_cv_sys_global_symbol_to_cdecl=
6456fi
6457if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6459$as_echo "failed" >&6; }
6460else
6461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6462$as_echo "ok" >&6; }
6463fi
6464
6465# Response file support.
6466if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6467  nm_file_list_spec='@'
6468elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6469  nm_file_list_spec='@'
6470fi
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6509$as_echo_n "checking for sysroot... " >&6; }
6510
6511# Check whether --with-sysroot was given.
6512if test "${with_sysroot+set}" = set; then :
6513  withval=$with_sysroot;
6514else
6515  with_sysroot=no
6516fi
6517
6518
6519lt_sysroot=
6520case $with_sysroot in #(
6521 yes)
6522   if test yes = "$GCC"; then
6523     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6524   fi
6525   ;; #(
6526 /*)
6527   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6528   ;; #(
6529 no|'')
6530   ;; #(
6531 *)
6532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6533$as_echo "$with_sysroot" >&6; }
6534   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6535   ;;
6536esac
6537
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6539$as_echo "${lt_sysroot:-no}" >&6; }
6540
6541
6542
6543
6544
6545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6546$as_echo_n "checking for a working dd... " >&6; }
6547if ${ac_cv_path_lt_DD+:} false; then :
6548  $as_echo_n "(cached) " >&6
6549else
6550  printf 0123456789abcdef0123456789abcdef >conftest.i
6551cat conftest.i conftest.i >conftest2.i
6552: ${lt_DD:=$DD}
6553if test -z "$lt_DD"; then
6554  ac_path_lt_DD_found=false
6555  # Loop through the user's path and test for each of PROGNAME-LIST
6556  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557for as_dir in $PATH
6558do
6559  IFS=$as_save_IFS
6560  test -z "$as_dir" && as_dir=.
6561    for ac_prog in dd; do
6562    for ac_exec_ext in '' $ac_executable_extensions; do
6563      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6564      as_fn_executable_p "$ac_path_lt_DD" || continue
6565if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6566  cmp -s conftest.i conftest.out \
6567  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6568fi
6569      $ac_path_lt_DD_found && break 3
6570    done
6571  done
6572  done
6573IFS=$as_save_IFS
6574  if test -z "$ac_cv_path_lt_DD"; then
6575    :
6576  fi
6577else
6578  ac_cv_path_lt_DD=$lt_DD
6579fi
6580
6581rm -f conftest.i conftest2.i conftest.out
6582fi
6583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6584$as_echo "$ac_cv_path_lt_DD" >&6; }
6585
6586
6587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6588$as_echo_n "checking how to truncate binary pipes... " >&6; }
6589if ${lt_cv_truncate_bin+:} false; then :
6590  $as_echo_n "(cached) " >&6
6591else
6592  printf 0123456789abcdef0123456789abcdef >conftest.i
6593cat conftest.i conftest.i >conftest2.i
6594lt_cv_truncate_bin=
6595if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6596  cmp -s conftest.i conftest.out \
6597  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6598fi
6599rm -f conftest.i conftest2.i conftest.out
6600test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6601fi
6602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6603$as_echo "$lt_cv_truncate_bin" >&6; }
6604
6605
6606
6607
6608
6609
6610
6611# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6612func_cc_basename ()
6613{
6614    for cc_temp in $*""; do
6615      case $cc_temp in
6616        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6617        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6618        \-*) ;;
6619        *) break;;
6620      esac
6621    done
6622    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6623}
6624
6625# Check whether --enable-libtool-lock was given.
6626if test "${enable_libtool_lock+set}" = set; then :
6627  enableval=$enable_libtool_lock;
6628fi
6629
6630test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6631
6632# Some flags need to be propagated to the compiler or linker for good
6633# libtool support.
6634case $host in
6635ia64-*-hpux*)
6636  # Find out what ABI is being produced by ac_compile, and set mode
6637  # options accordingly.
6638  echo 'int i;' > conftest.$ac_ext
6639  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6640  (eval $ac_compile) 2>&5
6641  ac_status=$?
6642  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6643  test $ac_status = 0; }; then
6644    case `/usr/bin/file conftest.$ac_objext` in
6645      *ELF-32*)
6646	HPUX_IA64_MODE=32
6647	;;
6648      *ELF-64*)
6649	HPUX_IA64_MODE=64
6650	;;
6651    esac
6652  fi
6653  rm -rf conftest*
6654  ;;
6655*-*-irix6*)
6656  # Find out what ABI is being produced by ac_compile, and set linker
6657  # options accordingly.
6658  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6659  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6660  (eval $ac_compile) 2>&5
6661  ac_status=$?
6662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6663  test $ac_status = 0; }; then
6664    if test yes = "$lt_cv_prog_gnu_ld"; then
6665      case `/usr/bin/file conftest.$ac_objext` in
6666	*32-bit*)
6667	  LD="${LD-ld} -melf32bsmip"
6668	  ;;
6669	*N32*)
6670	  LD="${LD-ld} -melf32bmipn32"
6671	  ;;
6672	*64-bit*)
6673	  LD="${LD-ld} -melf64bmip"
6674	;;
6675      esac
6676    else
6677      case `/usr/bin/file conftest.$ac_objext` in
6678	*32-bit*)
6679	  LD="${LD-ld} -32"
6680	  ;;
6681	*N32*)
6682	  LD="${LD-ld} -n32"
6683	  ;;
6684	*64-bit*)
6685	  LD="${LD-ld} -64"
6686	  ;;
6687      esac
6688    fi
6689  fi
6690  rm -rf conftest*
6691  ;;
6692
6693mips64*-*linux*)
6694  # Find out what ABI is being produced by ac_compile, and set linker
6695  # options accordingly.
6696  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6697  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6698  (eval $ac_compile) 2>&5
6699  ac_status=$?
6700  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6701  test $ac_status = 0; }; then
6702    emul=elf
6703    case `/usr/bin/file conftest.$ac_objext` in
6704      *32-bit*)
6705	emul="${emul}32"
6706	;;
6707      *64-bit*)
6708	emul="${emul}64"
6709	;;
6710    esac
6711    case `/usr/bin/file conftest.$ac_objext` in
6712      *MSB*)
6713	emul="${emul}btsmip"
6714	;;
6715      *LSB*)
6716	emul="${emul}ltsmip"
6717	;;
6718    esac
6719    case `/usr/bin/file conftest.$ac_objext` in
6720      *N32*)
6721	emul="${emul}n32"
6722	;;
6723    esac
6724    LD="${LD-ld} -m $emul"
6725  fi
6726  rm -rf conftest*
6727  ;;
6728
6729x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6730s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6731  # Find out what ABI is being produced by ac_compile, and set linker
6732  # options accordingly.  Note that the listed cases only cover the
6733  # situations where additional linker options are needed (such as when
6734  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6735  # vice versa); the common cases where no linker options are needed do
6736  # not appear in the list.
6737  echo 'int i;' > conftest.$ac_ext
6738  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6739  (eval $ac_compile) 2>&5
6740  ac_status=$?
6741  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6742  test $ac_status = 0; }; then
6743    case `/usr/bin/file conftest.o` in
6744      *32-bit*)
6745	case $host in
6746	  x86_64-*kfreebsd*-gnu)
6747	    LD="${LD-ld} -m elf_i386_fbsd"
6748	    ;;
6749	  x86_64-*linux*)
6750	    case `/usr/bin/file conftest.o` in
6751	      *x86-64*)
6752		LD="${LD-ld} -m elf32_x86_64"
6753		;;
6754	      *)
6755		LD="${LD-ld} -m elf_i386"
6756		;;
6757	    esac
6758	    ;;
6759	  powerpc64le-*linux*)
6760	    LD="${LD-ld} -m elf32lppclinux"
6761	    ;;
6762	  powerpc64-*linux*)
6763	    LD="${LD-ld} -m elf32ppclinux"
6764	    ;;
6765	  s390x-*linux*)
6766	    LD="${LD-ld} -m elf_s390"
6767	    ;;
6768	  sparc64-*linux*)
6769	    LD="${LD-ld} -m elf32_sparc"
6770	    ;;
6771	esac
6772	;;
6773      *64-bit*)
6774	case $host in
6775	  x86_64-*kfreebsd*-gnu)
6776	    LD="${LD-ld} -m elf_x86_64_fbsd"
6777	    ;;
6778	  x86_64-*linux*)
6779	    LD="${LD-ld} -m elf_x86_64"
6780	    ;;
6781	  powerpcle-*linux*)
6782	    LD="${LD-ld} -m elf64lppc"
6783	    ;;
6784	  powerpc-*linux*)
6785	    LD="${LD-ld} -m elf64ppc"
6786	    ;;
6787	  s390*-*linux*|s390*-*tpf*)
6788	    LD="${LD-ld} -m elf64_s390"
6789	    ;;
6790	  sparc*-*linux*)
6791	    LD="${LD-ld} -m elf64_sparc"
6792	    ;;
6793	esac
6794	;;
6795    esac
6796  fi
6797  rm -rf conftest*
6798  ;;
6799
6800*-*-sco3.2v5*)
6801  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6802  SAVE_CFLAGS=$CFLAGS
6803  CFLAGS="$CFLAGS -belf"
6804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6805$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6806if ${lt_cv_cc_needs_belf+:} false; then :
6807  $as_echo_n "(cached) " >&6
6808else
6809  ac_ext=c
6810ac_cpp='$CPP $CPPFLAGS'
6811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6813ac_compiler_gnu=$ac_cv_c_compiler_gnu
6814
6815     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6816/* end confdefs.h.  */
6817
6818int
6819main ()
6820{
6821
6822  ;
6823  return 0;
6824}
6825_ACEOF
6826if ac_fn_c_try_link "$LINENO"; then :
6827  lt_cv_cc_needs_belf=yes
6828else
6829  lt_cv_cc_needs_belf=no
6830fi
6831rm -f core conftest.err conftest.$ac_objext \
6832    conftest$ac_exeext conftest.$ac_ext
6833     ac_ext=c
6834ac_cpp='$CPP $CPPFLAGS'
6835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6837ac_compiler_gnu=$ac_cv_c_compiler_gnu
6838
6839fi
6840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6841$as_echo "$lt_cv_cc_needs_belf" >&6; }
6842  if test yes != "$lt_cv_cc_needs_belf"; then
6843    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6844    CFLAGS=$SAVE_CFLAGS
6845  fi
6846  ;;
6847*-*solaris*)
6848  # Find out what ABI is being produced by ac_compile, and set linker
6849  # options accordingly.
6850  echo 'int i;' > conftest.$ac_ext
6851  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6852  (eval $ac_compile) 2>&5
6853  ac_status=$?
6854  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6855  test $ac_status = 0; }; then
6856    case `/usr/bin/file conftest.o` in
6857    *64-bit*)
6858      case $lt_cv_prog_gnu_ld in
6859      yes*)
6860        case $host in
6861        i?86-*-solaris*|x86_64-*-solaris*)
6862          LD="${LD-ld} -m elf_x86_64"
6863          ;;
6864        sparc*-*-solaris*)
6865          LD="${LD-ld} -m elf64_sparc"
6866          ;;
6867        esac
6868        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6869        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6870          LD=${LD-ld}_sol2
6871        fi
6872        ;;
6873      *)
6874	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6875	  LD="${LD-ld} -64"
6876	fi
6877	;;
6878      esac
6879      ;;
6880    esac
6881  fi
6882  rm -rf conftest*
6883  ;;
6884esac
6885
6886need_locks=$enable_libtool_lock
6887
6888if test -n "$ac_tool_prefix"; then
6889  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6890set dummy ${ac_tool_prefix}mt; ac_word=$2
6891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892$as_echo_n "checking for $ac_word... " >&6; }
6893if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6894  $as_echo_n "(cached) " >&6
6895else
6896  if test -n "$MANIFEST_TOOL"; then
6897  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6898else
6899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900for as_dir in $PATH
6901do
6902  IFS=$as_save_IFS
6903  test -z "$as_dir" && as_dir=.
6904    for ac_exec_ext in '' $ac_executable_extensions; do
6905  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6906    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908    break 2
6909  fi
6910done
6911  done
6912IFS=$as_save_IFS
6913
6914fi
6915fi
6916MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6917if test -n "$MANIFEST_TOOL"; then
6918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6919$as_echo "$MANIFEST_TOOL" >&6; }
6920else
6921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6922$as_echo "no" >&6; }
6923fi
6924
6925
6926fi
6927if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6928  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6929  # Extract the first word of "mt", so it can be a program name with args.
6930set dummy mt; ac_word=$2
6931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932$as_echo_n "checking for $ac_word... " >&6; }
6933if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6934  $as_echo_n "(cached) " >&6
6935else
6936  if test -n "$ac_ct_MANIFEST_TOOL"; then
6937  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6938else
6939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940for as_dir in $PATH
6941do
6942  IFS=$as_save_IFS
6943  test -z "$as_dir" && as_dir=.
6944    for ac_exec_ext in '' $ac_executable_extensions; do
6945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6946    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948    break 2
6949  fi
6950done
6951  done
6952IFS=$as_save_IFS
6953
6954fi
6955fi
6956ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6957if test -n "$ac_ct_MANIFEST_TOOL"; then
6958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6959$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6960else
6961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6962$as_echo "no" >&6; }
6963fi
6964
6965  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6966    MANIFEST_TOOL=":"
6967  else
6968    case $cross_compiling:$ac_tool_warned in
6969yes:)
6970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6972ac_tool_warned=yes ;;
6973esac
6974    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6975  fi
6976else
6977  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6978fi
6979
6980test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6982$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6983if ${lt_cv_path_mainfest_tool+:} false; then :
6984  $as_echo_n "(cached) " >&6
6985else
6986  lt_cv_path_mainfest_tool=no
6987  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6988  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6989  cat conftest.err >&5
6990  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6991    lt_cv_path_mainfest_tool=yes
6992  fi
6993  rm -f conftest*
6994fi
6995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6996$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6997if test yes != "$lt_cv_path_mainfest_tool"; then
6998  MANIFEST_TOOL=:
6999fi
7000
7001
7002
7003
7004
7005
7006  case $host_os in
7007    rhapsody* | darwin*)
7008    if test -n "$ac_tool_prefix"; then
7009  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7010set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7012$as_echo_n "checking for $ac_word... " >&6; }
7013if ${ac_cv_prog_DSYMUTIL+:} false; then :
7014  $as_echo_n "(cached) " >&6
7015else
7016  if test -n "$DSYMUTIL"; then
7017  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7018else
7019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020for as_dir in $PATH
7021do
7022  IFS=$as_save_IFS
7023  test -z "$as_dir" && as_dir=.
7024    for ac_exec_ext in '' $ac_executable_extensions; do
7025  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7026    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7027    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028    break 2
7029  fi
7030done
7031  done
7032IFS=$as_save_IFS
7033
7034fi
7035fi
7036DSYMUTIL=$ac_cv_prog_DSYMUTIL
7037if test -n "$DSYMUTIL"; then
7038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7039$as_echo "$DSYMUTIL" >&6; }
7040else
7041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7042$as_echo "no" >&6; }
7043fi
7044
7045
7046fi
7047if test -z "$ac_cv_prog_DSYMUTIL"; then
7048  ac_ct_DSYMUTIL=$DSYMUTIL
7049  # Extract the first word of "dsymutil", so it can be a program name with args.
7050set dummy dsymutil; ac_word=$2
7051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052$as_echo_n "checking for $ac_word... " >&6; }
7053if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7054  $as_echo_n "(cached) " >&6
7055else
7056  if test -n "$ac_ct_DSYMUTIL"; then
7057  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7058else
7059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060for as_dir in $PATH
7061do
7062  IFS=$as_save_IFS
7063  test -z "$as_dir" && as_dir=.
7064    for ac_exec_ext in '' $ac_executable_extensions; do
7065  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7066    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7067    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068    break 2
7069  fi
7070done
7071  done
7072IFS=$as_save_IFS
7073
7074fi
7075fi
7076ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7077if test -n "$ac_ct_DSYMUTIL"; then
7078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7079$as_echo "$ac_ct_DSYMUTIL" >&6; }
7080else
7081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082$as_echo "no" >&6; }
7083fi
7084
7085  if test "x$ac_ct_DSYMUTIL" = x; then
7086    DSYMUTIL=":"
7087  else
7088    case $cross_compiling:$ac_tool_warned in
7089yes:)
7090{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7091$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7092ac_tool_warned=yes ;;
7093esac
7094    DSYMUTIL=$ac_ct_DSYMUTIL
7095  fi
7096else
7097  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7098fi
7099
7100    if test -n "$ac_tool_prefix"; then
7101  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7102set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104$as_echo_n "checking for $ac_word... " >&6; }
7105if ${ac_cv_prog_NMEDIT+:} false; then :
7106  $as_echo_n "(cached) " >&6
7107else
7108  if test -n "$NMEDIT"; then
7109  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7110else
7111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112for as_dir in $PATH
7113do
7114  IFS=$as_save_IFS
7115  test -z "$as_dir" && as_dir=.
7116    for ac_exec_ext in '' $ac_executable_extensions; do
7117  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120    break 2
7121  fi
7122done
7123  done
7124IFS=$as_save_IFS
7125
7126fi
7127fi
7128NMEDIT=$ac_cv_prog_NMEDIT
7129if test -n "$NMEDIT"; then
7130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7131$as_echo "$NMEDIT" >&6; }
7132else
7133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134$as_echo "no" >&6; }
7135fi
7136
7137
7138fi
7139if test -z "$ac_cv_prog_NMEDIT"; then
7140  ac_ct_NMEDIT=$NMEDIT
7141  # Extract the first word of "nmedit", so it can be a program name with args.
7142set dummy nmedit; ac_word=$2
7143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144$as_echo_n "checking for $ac_word... " >&6; }
7145if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7146  $as_echo_n "(cached) " >&6
7147else
7148  if test -n "$ac_ct_NMEDIT"; then
7149  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7150else
7151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152for as_dir in $PATH
7153do
7154  IFS=$as_save_IFS
7155  test -z "$as_dir" && as_dir=.
7156    for ac_exec_ext in '' $ac_executable_extensions; do
7157  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7159    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160    break 2
7161  fi
7162done
7163  done
7164IFS=$as_save_IFS
7165
7166fi
7167fi
7168ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7169if test -n "$ac_ct_NMEDIT"; then
7170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7171$as_echo "$ac_ct_NMEDIT" >&6; }
7172else
7173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174$as_echo "no" >&6; }
7175fi
7176
7177  if test "x$ac_ct_NMEDIT" = x; then
7178    NMEDIT=":"
7179  else
7180    case $cross_compiling:$ac_tool_warned in
7181yes:)
7182{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184ac_tool_warned=yes ;;
7185esac
7186    NMEDIT=$ac_ct_NMEDIT
7187  fi
7188else
7189  NMEDIT="$ac_cv_prog_NMEDIT"
7190fi
7191
7192    if test -n "$ac_tool_prefix"; then
7193  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7194set dummy ${ac_tool_prefix}lipo; ac_word=$2
7195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196$as_echo_n "checking for $ac_word... " >&6; }
7197if ${ac_cv_prog_LIPO+:} false; then :
7198  $as_echo_n "(cached) " >&6
7199else
7200  if test -n "$LIPO"; then
7201  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7202else
7203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204for as_dir in $PATH
7205do
7206  IFS=$as_save_IFS
7207  test -z "$as_dir" && as_dir=.
7208    for ac_exec_ext in '' $ac_executable_extensions; do
7209  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7210    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212    break 2
7213  fi
7214done
7215  done
7216IFS=$as_save_IFS
7217
7218fi
7219fi
7220LIPO=$ac_cv_prog_LIPO
7221if test -n "$LIPO"; then
7222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7223$as_echo "$LIPO" >&6; }
7224else
7225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226$as_echo "no" >&6; }
7227fi
7228
7229
7230fi
7231if test -z "$ac_cv_prog_LIPO"; then
7232  ac_ct_LIPO=$LIPO
7233  # Extract the first word of "lipo", so it can be a program name with args.
7234set dummy lipo; ac_word=$2
7235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236$as_echo_n "checking for $ac_word... " >&6; }
7237if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7238  $as_echo_n "(cached) " >&6
7239else
7240  if test -n "$ac_ct_LIPO"; then
7241  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7242else
7243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244for as_dir in $PATH
7245do
7246  IFS=$as_save_IFS
7247  test -z "$as_dir" && as_dir=.
7248    for ac_exec_ext in '' $ac_executable_extensions; do
7249  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7250    ac_cv_prog_ac_ct_LIPO="lipo"
7251    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252    break 2
7253  fi
7254done
7255  done
7256IFS=$as_save_IFS
7257
7258fi
7259fi
7260ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7261if test -n "$ac_ct_LIPO"; then
7262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7263$as_echo "$ac_ct_LIPO" >&6; }
7264else
7265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7266$as_echo "no" >&6; }
7267fi
7268
7269  if test "x$ac_ct_LIPO" = x; then
7270    LIPO=":"
7271  else
7272    case $cross_compiling:$ac_tool_warned in
7273yes:)
7274{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7275$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7276ac_tool_warned=yes ;;
7277esac
7278    LIPO=$ac_ct_LIPO
7279  fi
7280else
7281  LIPO="$ac_cv_prog_LIPO"
7282fi
7283
7284    if test -n "$ac_tool_prefix"; then
7285  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7286set dummy ${ac_tool_prefix}otool; ac_word=$2
7287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7288$as_echo_n "checking for $ac_word... " >&6; }
7289if ${ac_cv_prog_OTOOL+:} false; then :
7290  $as_echo_n "(cached) " >&6
7291else
7292  if test -n "$OTOOL"; then
7293  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7294else
7295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296for as_dir in $PATH
7297do
7298  IFS=$as_save_IFS
7299  test -z "$as_dir" && as_dir=.
7300    for ac_exec_ext in '' $ac_executable_extensions; do
7301  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7303    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304    break 2
7305  fi
7306done
7307  done
7308IFS=$as_save_IFS
7309
7310fi
7311fi
7312OTOOL=$ac_cv_prog_OTOOL
7313if test -n "$OTOOL"; then
7314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7315$as_echo "$OTOOL" >&6; }
7316else
7317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7318$as_echo "no" >&6; }
7319fi
7320
7321
7322fi
7323if test -z "$ac_cv_prog_OTOOL"; then
7324  ac_ct_OTOOL=$OTOOL
7325  # Extract the first word of "otool", so it can be a program name with args.
7326set dummy otool; ac_word=$2
7327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328$as_echo_n "checking for $ac_word... " >&6; }
7329if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7330  $as_echo_n "(cached) " >&6
7331else
7332  if test -n "$ac_ct_OTOOL"; then
7333  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7334else
7335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7336for as_dir in $PATH
7337do
7338  IFS=$as_save_IFS
7339  test -z "$as_dir" && as_dir=.
7340    for ac_exec_ext in '' $ac_executable_extensions; do
7341  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342    ac_cv_prog_ac_ct_OTOOL="otool"
7343    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344    break 2
7345  fi
7346done
7347  done
7348IFS=$as_save_IFS
7349
7350fi
7351fi
7352ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7353if test -n "$ac_ct_OTOOL"; then
7354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7355$as_echo "$ac_ct_OTOOL" >&6; }
7356else
7357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358$as_echo "no" >&6; }
7359fi
7360
7361  if test "x$ac_ct_OTOOL" = x; then
7362    OTOOL=":"
7363  else
7364    case $cross_compiling:$ac_tool_warned in
7365yes:)
7366{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7367$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7368ac_tool_warned=yes ;;
7369esac
7370    OTOOL=$ac_ct_OTOOL
7371  fi
7372else
7373  OTOOL="$ac_cv_prog_OTOOL"
7374fi
7375
7376    if test -n "$ac_tool_prefix"; then
7377  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7378set dummy ${ac_tool_prefix}otool64; ac_word=$2
7379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380$as_echo_n "checking for $ac_word... " >&6; }
7381if ${ac_cv_prog_OTOOL64+:} false; then :
7382  $as_echo_n "(cached) " >&6
7383else
7384  if test -n "$OTOOL64"; then
7385  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7386else
7387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388for as_dir in $PATH
7389do
7390  IFS=$as_save_IFS
7391  test -z "$as_dir" && as_dir=.
7392    for ac_exec_ext in '' $ac_executable_extensions; do
7393  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7394    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396    break 2
7397  fi
7398done
7399  done
7400IFS=$as_save_IFS
7401
7402fi
7403fi
7404OTOOL64=$ac_cv_prog_OTOOL64
7405if test -n "$OTOOL64"; then
7406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7407$as_echo "$OTOOL64" >&6; }
7408else
7409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410$as_echo "no" >&6; }
7411fi
7412
7413
7414fi
7415if test -z "$ac_cv_prog_OTOOL64"; then
7416  ac_ct_OTOOL64=$OTOOL64
7417  # Extract the first word of "otool64", so it can be a program name with args.
7418set dummy otool64; ac_word=$2
7419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420$as_echo_n "checking for $ac_word... " >&6; }
7421if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7422  $as_echo_n "(cached) " >&6
7423else
7424  if test -n "$ac_ct_OTOOL64"; then
7425  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7426else
7427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428for as_dir in $PATH
7429do
7430  IFS=$as_save_IFS
7431  test -z "$as_dir" && as_dir=.
7432    for ac_exec_ext in '' $ac_executable_extensions; do
7433  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434    ac_cv_prog_ac_ct_OTOOL64="otool64"
7435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436    break 2
7437  fi
7438done
7439  done
7440IFS=$as_save_IFS
7441
7442fi
7443fi
7444ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7445if test -n "$ac_ct_OTOOL64"; then
7446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7447$as_echo "$ac_ct_OTOOL64" >&6; }
7448else
7449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450$as_echo "no" >&6; }
7451fi
7452
7453  if test "x$ac_ct_OTOOL64" = x; then
7454    OTOOL64=":"
7455  else
7456    case $cross_compiling:$ac_tool_warned in
7457yes:)
7458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7460ac_tool_warned=yes ;;
7461esac
7462    OTOOL64=$ac_ct_OTOOL64
7463  fi
7464else
7465  OTOOL64="$ac_cv_prog_OTOOL64"
7466fi
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7495$as_echo_n "checking for -single_module linker flag... " >&6; }
7496if ${lt_cv_apple_cc_single_mod+:} false; then :
7497  $as_echo_n "(cached) " >&6
7498else
7499  lt_cv_apple_cc_single_mod=no
7500      if test -z "$LT_MULTI_MODULE"; then
7501	# By default we will add the -single_module flag. You can override
7502	# by either setting the environment variable LT_MULTI_MODULE
7503	# non-empty at configure time, or by adding -multi_module to the
7504	# link flags.
7505	rm -rf libconftest.dylib*
7506	echo "int foo(void){return 1;}" > conftest.c
7507	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7508-dynamiclib -Wl,-single_module conftest.c" >&5
7509	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7510	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7511        _lt_result=$?
7512	# If there is a non-empty error log, and "single_module"
7513	# appears in it, assume the flag caused a linker warning
7514        if test -s conftest.err && $GREP single_module conftest.err; then
7515	  cat conftest.err >&5
7516	# Otherwise, if the output was created with a 0 exit code from
7517	# the compiler, it worked.
7518	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7519	  lt_cv_apple_cc_single_mod=yes
7520	else
7521	  cat conftest.err >&5
7522	fi
7523	rm -rf libconftest.dylib*
7524	rm -f conftest.*
7525      fi
7526fi
7527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7528$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7529
7530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7531$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7532if ${lt_cv_ld_exported_symbols_list+:} false; then :
7533  $as_echo_n "(cached) " >&6
7534else
7535  lt_cv_ld_exported_symbols_list=no
7536      save_LDFLAGS=$LDFLAGS
7537      echo "_main" > conftest.sym
7538      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7539      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7540/* end confdefs.h.  */
7541
7542int
7543main ()
7544{
7545
7546  ;
7547  return 0;
7548}
7549_ACEOF
7550if ac_fn_c_try_link "$LINENO"; then :
7551  lt_cv_ld_exported_symbols_list=yes
7552else
7553  lt_cv_ld_exported_symbols_list=no
7554fi
7555rm -f core conftest.err conftest.$ac_objext \
7556    conftest$ac_exeext conftest.$ac_ext
7557	LDFLAGS=$save_LDFLAGS
7558
7559fi
7560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7561$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7562
7563    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7564$as_echo_n "checking for -force_load linker flag... " >&6; }
7565if ${lt_cv_ld_force_load+:} false; then :
7566  $as_echo_n "(cached) " >&6
7567else
7568  lt_cv_ld_force_load=no
7569      cat > conftest.c << _LT_EOF
7570int forced_loaded() { return 2;}
7571_LT_EOF
7572      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7573      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7574      echo "$AR cru libconftest.a conftest.o" >&5
7575      $AR cru libconftest.a conftest.o 2>&5
7576      echo "$RANLIB libconftest.a" >&5
7577      $RANLIB libconftest.a 2>&5
7578      cat > conftest.c << _LT_EOF
7579int main() { return 0;}
7580_LT_EOF
7581      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7582      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7583      _lt_result=$?
7584      if test -s conftest.err && $GREP force_load conftest.err; then
7585	cat conftest.err >&5
7586      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7587	lt_cv_ld_force_load=yes
7588      else
7589	cat conftest.err >&5
7590      fi
7591        rm -f conftest.err libconftest.a conftest conftest.c
7592        rm -rf conftest.dSYM
7593
7594fi
7595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7596$as_echo "$lt_cv_ld_force_load" >&6; }
7597    case $host_os in
7598    rhapsody* | darwin1.[012])
7599      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7600    darwin1.*)
7601      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7602    darwin*) # darwin 5.x on
7603      # if running on 10.5 or later, the deployment target defaults
7604      # to the OS version, if on x86, and 10.4, the deployment
7605      # target defaults to 10.4. Don't you love it?
7606      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7607	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7608	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7609	10.[012][,.]*)
7610	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7611	10.*)
7612	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7613      esac
7614    ;;
7615  esac
7616    if test yes = "$lt_cv_apple_cc_single_mod"; then
7617      _lt_dar_single_mod='$single_module'
7618    fi
7619    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7620      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7621    else
7622      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7623    fi
7624    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7625      _lt_dsymutil='~$DSYMUTIL $lib || :'
7626    else
7627      _lt_dsymutil=
7628    fi
7629    ;;
7630  esac
7631
7632# func_munge_path_list VARIABLE PATH
7633# -----------------------------------
7634# VARIABLE is name of variable containing _space_ separated list of
7635# directories to be munged by the contents of PATH, which is string
7636# having a format:
7637# "DIR[:DIR]:"
7638#       string "DIR[ DIR]" will be prepended to VARIABLE
7639# ":DIR[:DIR]"
7640#       string "DIR[ DIR]" will be appended to VARIABLE
7641# "DIRP[:DIRP]::[DIRA:]DIRA"
7642#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7643#       "DIRA[ DIRA]" will be appended to VARIABLE
7644# "DIR[:DIR]"
7645#       VARIABLE will be replaced by "DIR[ DIR]"
7646func_munge_path_list ()
7647{
7648    case x$2 in
7649    x)
7650        ;;
7651    *:)
7652        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7653        ;;
7654    x:*)
7655        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7656        ;;
7657    *::*)
7658        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7659        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7660        ;;
7661    *)
7662        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7663        ;;
7664    esac
7665}
7666
7667
7668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7669$as_echo_n "checking for ANSI C header files... " >&6; }
7670if ${ac_cv_header_stdc+:} false; then :
7671  $as_echo_n "(cached) " >&6
7672else
7673  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674/* end confdefs.h.  */
7675#include <stdlib.h>
7676#include <stdarg.h>
7677#include <string.h>
7678#include <float.h>
7679
7680int
7681main ()
7682{
7683
7684  ;
7685  return 0;
7686}
7687_ACEOF
7688if ac_fn_c_try_compile "$LINENO"; then :
7689  ac_cv_header_stdc=yes
7690else
7691  ac_cv_header_stdc=no
7692fi
7693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7694
7695if test $ac_cv_header_stdc = yes; then
7696  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7697  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698/* end confdefs.h.  */
7699#include <string.h>
7700
7701_ACEOF
7702if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7703  $EGREP "memchr" >/dev/null 2>&1; then :
7704
7705else
7706  ac_cv_header_stdc=no
7707fi
7708rm -f conftest*
7709
7710fi
7711
7712if test $ac_cv_header_stdc = yes; then
7713  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7714  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715/* end confdefs.h.  */
7716#include <stdlib.h>
7717
7718_ACEOF
7719if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7720  $EGREP "free" >/dev/null 2>&1; then :
7721
7722else
7723  ac_cv_header_stdc=no
7724fi
7725rm -f conftest*
7726
7727fi
7728
7729if test $ac_cv_header_stdc = yes; then
7730  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7731  if test "$cross_compiling" = yes; then :
7732  :
7733else
7734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735/* end confdefs.h.  */
7736#include <ctype.h>
7737#include <stdlib.h>
7738#if ((' ' & 0x0FF) == 0x020)
7739# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7740# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7741#else
7742# define ISLOWER(c) \
7743		   (('a' <= (c) && (c) <= 'i') \
7744		     || ('j' <= (c) && (c) <= 'r') \
7745		     || ('s' <= (c) && (c) <= 'z'))
7746# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7747#endif
7748
7749#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7750int
7751main ()
7752{
7753  int i;
7754  for (i = 0; i < 256; i++)
7755    if (XOR (islower (i), ISLOWER (i))
7756	|| toupper (i) != TOUPPER (i))
7757      return 2;
7758  return 0;
7759}
7760_ACEOF
7761if ac_fn_c_try_run "$LINENO"; then :
7762
7763else
7764  ac_cv_header_stdc=no
7765fi
7766rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7767  conftest.$ac_objext conftest.beam conftest.$ac_ext
7768fi
7769
7770fi
7771fi
7772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7773$as_echo "$ac_cv_header_stdc" >&6; }
7774if test $ac_cv_header_stdc = yes; then
7775
7776$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7777
7778fi
7779
7780# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7781for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7782		  inttypes.h stdint.h unistd.h
7783do :
7784  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7785ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7786"
7787if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7788  cat >>confdefs.h <<_ACEOF
7789#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7790_ACEOF
7791
7792fi
7793
7794done
7795
7796
7797for ac_header in dlfcn.h
7798do :
7799  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7800"
7801if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7802  cat >>confdefs.h <<_ACEOF
7803#define HAVE_DLFCN_H 1
7804_ACEOF
7805
7806fi
7807
7808done
7809
7810
7811
7812
7813
7814# Set options
7815
7816
7817
7818        enable_dlopen=no
7819
7820
7821  enable_win32_dll=no
7822
7823
7824            # Check whether --enable-shared was given.
7825if test "${enable_shared+set}" = set; then :
7826  enableval=$enable_shared; p=${PACKAGE-default}
7827    case $enableval in
7828    yes) enable_shared=yes ;;
7829    no) enable_shared=no ;;
7830    *)
7831      enable_shared=no
7832      # Look at the argument we got.  We use all the common list separators.
7833      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7834      for pkg in $enableval; do
7835	IFS=$lt_save_ifs
7836	if test "X$pkg" = "X$p"; then
7837	  enable_shared=yes
7838	fi
7839      done
7840      IFS=$lt_save_ifs
7841      ;;
7842    esac
7843else
7844  enable_shared=yes
7845fi
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855  # Check whether --enable-static was given.
7856if test "${enable_static+set}" = set; then :
7857  enableval=$enable_static; p=${PACKAGE-default}
7858    case $enableval in
7859    yes) enable_static=yes ;;
7860    no) enable_static=no ;;
7861    *)
7862     enable_static=no
7863      # Look at the argument we got.  We use all the common list separators.
7864      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7865      for pkg in $enableval; do
7866	IFS=$lt_save_ifs
7867	if test "X$pkg" = "X$p"; then
7868	  enable_static=yes
7869	fi
7870      done
7871      IFS=$lt_save_ifs
7872      ;;
7873    esac
7874else
7875  enable_static=yes
7876fi
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887# Check whether --with-pic was given.
7888if test "${with_pic+set}" = set; then :
7889  withval=$with_pic; lt_p=${PACKAGE-default}
7890    case $withval in
7891    yes|no) pic_mode=$withval ;;
7892    *)
7893      pic_mode=default
7894      # Look at the argument we got.  We use all the common list separators.
7895      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7896      for lt_pkg in $withval; do
7897	IFS=$lt_save_ifs
7898	if test "X$lt_pkg" = "X$lt_p"; then
7899	  pic_mode=yes
7900	fi
7901      done
7902      IFS=$lt_save_ifs
7903      ;;
7904    esac
7905else
7906  pic_mode=default
7907fi
7908
7909
7910
7911
7912
7913
7914
7915
7916  # Check whether --enable-fast-install was given.
7917if test "${enable_fast_install+set}" = set; then :
7918  enableval=$enable_fast_install; p=${PACKAGE-default}
7919    case $enableval in
7920    yes) enable_fast_install=yes ;;
7921    no) enable_fast_install=no ;;
7922    *)
7923      enable_fast_install=no
7924      # Look at the argument we got.  We use all the common list separators.
7925      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7926      for pkg in $enableval; do
7927	IFS=$lt_save_ifs
7928	if test "X$pkg" = "X$p"; then
7929	  enable_fast_install=yes
7930	fi
7931      done
7932      IFS=$lt_save_ifs
7933      ;;
7934    esac
7935else
7936  enable_fast_install=yes
7937fi
7938
7939
7940
7941
7942
7943
7944
7945
7946  shared_archive_member_spec=
7947case $host,$enable_shared in
7948power*-*-aix[5-9]*,yes)
7949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7950$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7951
7952# Check whether --with-aix-soname was given.
7953if test "${with_aix_soname+set}" = set; then :
7954  withval=$with_aix_soname; case $withval in
7955    aix|svr4|both)
7956      ;;
7957    *)
7958      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7959      ;;
7960    esac
7961    lt_cv_with_aix_soname=$with_aix_soname
7962else
7963  if ${lt_cv_with_aix_soname+:} false; then :
7964  $as_echo_n "(cached) " >&6
7965else
7966  lt_cv_with_aix_soname=aix
7967fi
7968
7969    with_aix_soname=$lt_cv_with_aix_soname
7970fi
7971
7972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7973$as_echo "$with_aix_soname" >&6; }
7974  if test aix != "$with_aix_soname"; then
7975    # For the AIX way of multilib, we name the shared archive member
7976    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7977    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7978    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7979    # the AIX toolchain works better with OBJECT_MODE set (default 32).
7980    if test 64 = "${OBJECT_MODE-32}"; then
7981      shared_archive_member_spec=shr_64
7982    else
7983      shared_archive_member_spec=shr
7984    fi
7985  fi
7986  ;;
7987*)
7988  with_aix_soname=aix
7989  ;;
7990esac
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001# This can be used to rebuild libtool when needed
8002LIBTOOL_DEPS=$ltmain
8003
8004# Always use our own libtool.
8005LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036test -z "$LN_S" && LN_S="ln -s"
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051if test -n "${ZSH_VERSION+set}"; then
8052   setopt NO_GLOB_SUBST
8053fi
8054
8055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8056$as_echo_n "checking for objdir... " >&6; }
8057if ${lt_cv_objdir+:} false; then :
8058  $as_echo_n "(cached) " >&6
8059else
8060  rm -f .libs 2>/dev/null
8061mkdir .libs 2>/dev/null
8062if test -d .libs; then
8063  lt_cv_objdir=.libs
8064else
8065  # MS-DOS does not allow filenames that begin with a dot.
8066  lt_cv_objdir=_libs
8067fi
8068rmdir .libs 2>/dev/null
8069fi
8070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8071$as_echo "$lt_cv_objdir" >&6; }
8072objdir=$lt_cv_objdir
8073
8074
8075
8076
8077
8078cat >>confdefs.h <<_ACEOF
8079#define LT_OBJDIR "$lt_cv_objdir/"
8080_ACEOF
8081
8082
8083
8084
8085case $host_os in
8086aix3*)
8087  # AIX sometimes has problems with the GCC collect2 program.  For some
8088  # reason, if we set the COLLECT_NAMES environment variable, the problems
8089  # vanish in a puff of smoke.
8090  if test set != "${COLLECT_NAMES+set}"; then
8091    COLLECT_NAMES=
8092    export COLLECT_NAMES
8093  fi
8094  ;;
8095esac
8096
8097# Global variables:
8098ofile=libtool
8099can_build_shared=yes
8100
8101# All known linkers require a '.a' archive for static linking (except MSVC,
8102# which needs '.lib').
8103libext=a
8104
8105with_gnu_ld=$lt_cv_prog_gnu_ld
8106
8107old_CC=$CC
8108old_CFLAGS=$CFLAGS
8109
8110# Set sane defaults for various variables
8111test -z "$CC" && CC=cc
8112test -z "$LTCC" && LTCC=$CC
8113test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8114test -z "$LD" && LD=ld
8115test -z "$ac_objext" && ac_objext=o
8116
8117func_cc_basename $compiler
8118cc_basename=$func_cc_basename_result
8119
8120
8121# Only perform the check for file, if the check method requires it
8122test -z "$MAGIC_CMD" && MAGIC_CMD=file
8123case $deplibs_check_method in
8124file_magic*)
8125  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8126    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8127$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8128if ${lt_cv_path_MAGIC_CMD+:} false; then :
8129  $as_echo_n "(cached) " >&6
8130else
8131  case $MAGIC_CMD in
8132[\\/*] |  ?:[\\/]*)
8133  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8134  ;;
8135*)
8136  lt_save_MAGIC_CMD=$MAGIC_CMD
8137  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8138  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8139  for ac_dir in $ac_dummy; do
8140    IFS=$lt_save_ifs
8141    test -z "$ac_dir" && ac_dir=.
8142    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8143      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8144      if test -n "$file_magic_test_file"; then
8145	case $deplibs_check_method in
8146	"file_magic "*)
8147	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8148	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8149	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8150	    $EGREP "$file_magic_regex" > /dev/null; then
8151	    :
8152	  else
8153	    cat <<_LT_EOF 1>&2
8154
8155*** Warning: the command libtool uses to detect shared libraries,
8156*** $file_magic_cmd, produces output that libtool cannot recognize.
8157*** The result is that libtool may fail to recognize shared libraries
8158*** as such.  This will affect the creation of libtool libraries that
8159*** depend on shared libraries, but programs linked with such libtool
8160*** libraries will work regardless of this problem.  Nevertheless, you
8161*** may want to report the problem to your system manager and/or to
8162*** bug-libtool@gnu.org
8163
8164_LT_EOF
8165	  fi ;;
8166	esac
8167      fi
8168      break
8169    fi
8170  done
8171  IFS=$lt_save_ifs
8172  MAGIC_CMD=$lt_save_MAGIC_CMD
8173  ;;
8174esac
8175fi
8176
8177MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8178if test -n "$MAGIC_CMD"; then
8179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8180$as_echo "$MAGIC_CMD" >&6; }
8181else
8182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8183$as_echo "no" >&6; }
8184fi
8185
8186
8187
8188
8189
8190if test -z "$lt_cv_path_MAGIC_CMD"; then
8191  if test -n "$ac_tool_prefix"; then
8192    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8193$as_echo_n "checking for file... " >&6; }
8194if ${lt_cv_path_MAGIC_CMD+:} false; then :
8195  $as_echo_n "(cached) " >&6
8196else
8197  case $MAGIC_CMD in
8198[\\/*] |  ?:[\\/]*)
8199  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8200  ;;
8201*)
8202  lt_save_MAGIC_CMD=$MAGIC_CMD
8203  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8204  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8205  for ac_dir in $ac_dummy; do
8206    IFS=$lt_save_ifs
8207    test -z "$ac_dir" && ac_dir=.
8208    if test -f "$ac_dir/file"; then
8209      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8210      if test -n "$file_magic_test_file"; then
8211	case $deplibs_check_method in
8212	"file_magic "*)
8213	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8214	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8215	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8216	    $EGREP "$file_magic_regex" > /dev/null; then
8217	    :
8218	  else
8219	    cat <<_LT_EOF 1>&2
8220
8221*** Warning: the command libtool uses to detect shared libraries,
8222*** $file_magic_cmd, produces output that libtool cannot recognize.
8223*** The result is that libtool may fail to recognize shared libraries
8224*** as such.  This will affect the creation of libtool libraries that
8225*** depend on shared libraries, but programs linked with such libtool
8226*** libraries will work regardless of this problem.  Nevertheless, you
8227*** may want to report the problem to your system manager and/or to
8228*** bug-libtool@gnu.org
8229
8230_LT_EOF
8231	  fi ;;
8232	esac
8233      fi
8234      break
8235    fi
8236  done
8237  IFS=$lt_save_ifs
8238  MAGIC_CMD=$lt_save_MAGIC_CMD
8239  ;;
8240esac
8241fi
8242
8243MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8244if test -n "$MAGIC_CMD"; then
8245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8246$as_echo "$MAGIC_CMD" >&6; }
8247else
8248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8249$as_echo "no" >&6; }
8250fi
8251
8252
8253  else
8254    MAGIC_CMD=:
8255  fi
8256fi
8257
8258  fi
8259  ;;
8260esac
8261
8262# Use C for the default configuration in the libtool script
8263
8264lt_save_CC=$CC
8265ac_ext=c
8266ac_cpp='$CPP $CPPFLAGS'
8267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8269ac_compiler_gnu=$ac_cv_c_compiler_gnu
8270
8271
8272# Source file extension for C test sources.
8273ac_ext=c
8274
8275# Object file extension for compiled C test sources.
8276objext=o
8277objext=$objext
8278
8279# Code to be used in simple compile tests
8280lt_simple_compile_test_code="int some_variable = 0;"
8281
8282# Code to be used in simple link tests
8283lt_simple_link_test_code='int main(){return(0);}'
8284
8285
8286
8287
8288
8289
8290
8291# If no C compiler was specified, use CC.
8292LTCC=${LTCC-"$CC"}
8293
8294# If no C compiler flags were specified, use CFLAGS.
8295LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8296
8297# Allow CC to be a program name with arguments.
8298compiler=$CC
8299
8300# Save the default compiler, since it gets overwritten when the other
8301# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8302compiler_DEFAULT=$CC
8303
8304# save warnings/boilerplate of simple test code
8305ac_outfile=conftest.$ac_objext
8306echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8307eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8308_lt_compiler_boilerplate=`cat conftest.err`
8309$RM conftest*
8310
8311ac_outfile=conftest.$ac_objext
8312echo "$lt_simple_link_test_code" >conftest.$ac_ext
8313eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8314_lt_linker_boilerplate=`cat conftest.err`
8315$RM -r conftest*
8316
8317
8318## CAVEAT EMPTOR:
8319## There is no encapsulation within the following macros, do not change
8320## the running order or otherwise move them around unless you know exactly
8321## what you are doing...
8322if test -n "$compiler"; then
8323
8324lt_prog_compiler_no_builtin_flag=
8325
8326if test yes = "$GCC"; then
8327  case $cc_basename in
8328  nvcc*)
8329    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8330  *)
8331    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8332  esac
8333
8334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8335$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8336if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8337  $as_echo_n "(cached) " >&6
8338else
8339  lt_cv_prog_compiler_rtti_exceptions=no
8340   ac_outfile=conftest.$ac_objext
8341   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8342   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8343   # Insert the option either (1) after the last *FLAGS variable, or
8344   # (2) before a word containing "conftest.", or (3) at the end.
8345   # Note that $ac_compile itself does not contain backslashes and begins
8346   # with a dollar sign (not a hyphen), so the echo should work correctly.
8347   # The option is referenced via a variable to avoid confusing sed.
8348   lt_compile=`echo "$ac_compile" | $SED \
8349   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8350   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8351   -e 's:$: $lt_compiler_flag:'`
8352   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8353   (eval "$lt_compile" 2>conftest.err)
8354   ac_status=$?
8355   cat conftest.err >&5
8356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357   if (exit $ac_status) && test -s "$ac_outfile"; then
8358     # The compiler can only warn and ignore the option if not recognized
8359     # So say no if there are warnings other than the usual output.
8360     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8361     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8362     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8363       lt_cv_prog_compiler_rtti_exceptions=yes
8364     fi
8365   fi
8366   $RM conftest*
8367
8368fi
8369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8370$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8371
8372if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8373    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8374else
8375    :
8376fi
8377
8378fi
8379
8380
8381
8382
8383
8384
8385  lt_prog_compiler_wl=
8386lt_prog_compiler_pic=
8387lt_prog_compiler_static=
8388
8389
8390  if test yes = "$GCC"; then
8391    lt_prog_compiler_wl='-Wl,'
8392    lt_prog_compiler_static='-static'
8393
8394    case $host_os in
8395      aix*)
8396      # All AIX code is PIC.
8397      if test ia64 = "$host_cpu"; then
8398	# AIX 5 now supports IA64 processor
8399	lt_prog_compiler_static='-Bstatic'
8400      fi
8401      lt_prog_compiler_pic='-fPIC'
8402      ;;
8403
8404    amigaos*)
8405      case $host_cpu in
8406      powerpc)
8407            # see comment about AmigaOS4 .so support
8408            lt_prog_compiler_pic='-fPIC'
8409        ;;
8410      m68k)
8411            # FIXME: we need at least 68020 code to build shared libraries, but
8412            # adding the '-m68020' flag to GCC prevents building anything better,
8413            # like '-m68040'.
8414            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8415        ;;
8416      esac
8417      ;;
8418
8419    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8420      # PIC is the default for these OSes.
8421      ;;
8422
8423    mingw* | cygwin* | pw32* | os2* | cegcc*)
8424      # This hack is so that the source file can tell whether it is being
8425      # built for inclusion in a dll (and should export symbols for example).
8426      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8427      # (--disable-auto-import) libraries
8428      lt_prog_compiler_pic='-DDLL_EXPORT'
8429      case $host_os in
8430      os2*)
8431	lt_prog_compiler_static='$wl-static'
8432	;;
8433      esac
8434      ;;
8435
8436    darwin* | rhapsody*)
8437      # PIC is the default on this platform
8438      # Common symbols not allowed in MH_DYLIB files
8439      lt_prog_compiler_pic='-fno-common'
8440      ;;
8441
8442    haiku*)
8443      # PIC is the default for Haiku.
8444      # The "-static" flag exists, but is broken.
8445      lt_prog_compiler_static=
8446      ;;
8447
8448    hpux*)
8449      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8450      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8451      # sets the default TLS model and affects inlining.
8452      case $host_cpu in
8453      hppa*64*)
8454	# +Z the default
8455	;;
8456      *)
8457	lt_prog_compiler_pic='-fPIC'
8458	;;
8459      esac
8460      ;;
8461
8462    interix[3-9]*)
8463      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8464      # Instead, we relocate shared libraries at runtime.
8465      ;;
8466
8467    msdosdjgpp*)
8468      # Just because we use GCC doesn't mean we suddenly get shared libraries
8469      # on systems that don't support them.
8470      lt_prog_compiler_can_build_shared=no
8471      enable_shared=no
8472      ;;
8473
8474    *nto* | *qnx*)
8475      # QNX uses GNU C++, but need to define -shared option too, otherwise
8476      # it will coredump.
8477      lt_prog_compiler_pic='-fPIC -shared'
8478      ;;
8479
8480    sysv4*MP*)
8481      if test -d /usr/nec; then
8482	lt_prog_compiler_pic=-Kconform_pic
8483      fi
8484      ;;
8485
8486    *)
8487      lt_prog_compiler_pic='-fPIC'
8488      ;;
8489    esac
8490
8491    case $cc_basename in
8492    nvcc*) # Cuda Compiler Driver 2.2
8493      lt_prog_compiler_wl='-Xlinker '
8494      if test -n "$lt_prog_compiler_pic"; then
8495        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8496      fi
8497      ;;
8498    esac
8499  else
8500    # PORTME Check for flag to pass linker flags through the system compiler.
8501    case $host_os in
8502    aix*)
8503      lt_prog_compiler_wl='-Wl,'
8504      if test ia64 = "$host_cpu"; then
8505	# AIX 5 now supports IA64 processor
8506	lt_prog_compiler_static='-Bstatic'
8507      else
8508	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8509      fi
8510      ;;
8511
8512    darwin* | rhapsody*)
8513      # PIC is the default on this platform
8514      # Common symbols not allowed in MH_DYLIB files
8515      lt_prog_compiler_pic='-fno-common'
8516      case $cc_basename in
8517      nagfor*)
8518        # NAG Fortran compiler
8519        lt_prog_compiler_wl='-Wl,-Wl,,'
8520        lt_prog_compiler_pic='-PIC'
8521        lt_prog_compiler_static='-Bstatic'
8522        ;;
8523      esac
8524      ;;
8525
8526    mingw* | cygwin* | pw32* | os2* | cegcc*)
8527      # This hack is so that the source file can tell whether it is being
8528      # built for inclusion in a dll (and should export symbols for example).
8529      lt_prog_compiler_pic='-DDLL_EXPORT'
8530      case $host_os in
8531      os2*)
8532	lt_prog_compiler_static='$wl-static'
8533	;;
8534      esac
8535      ;;
8536
8537    hpux9* | hpux10* | hpux11*)
8538      lt_prog_compiler_wl='-Wl,'
8539      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8540      # not for PA HP-UX.
8541      case $host_cpu in
8542      hppa*64*|ia64*)
8543	# +Z the default
8544	;;
8545      *)
8546	lt_prog_compiler_pic='+Z'
8547	;;
8548      esac
8549      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8550      lt_prog_compiler_static='$wl-a ${wl}archive'
8551      ;;
8552
8553    irix5* | irix6* | nonstopux*)
8554      lt_prog_compiler_wl='-Wl,'
8555      # PIC (with -KPIC) is the default.
8556      lt_prog_compiler_static='-non_shared'
8557      ;;
8558
8559    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8560      case $cc_basename in
8561      # old Intel for x86_64, which still supported -KPIC.
8562      ecc*)
8563	lt_prog_compiler_wl='-Wl,'
8564	lt_prog_compiler_pic='-KPIC'
8565	lt_prog_compiler_static='-static'
8566        ;;
8567      # icc used to be incompatible with GCC.
8568      # ICC 10 doesn't accept -KPIC any more.
8569      icc* | ifort*)
8570	lt_prog_compiler_wl='-Wl,'
8571	lt_prog_compiler_pic='-fPIC'
8572	lt_prog_compiler_static='-static'
8573        ;;
8574      # Lahey Fortran 8.1.
8575      lf95*)
8576	lt_prog_compiler_wl='-Wl,'
8577	lt_prog_compiler_pic='--shared'
8578	lt_prog_compiler_static='--static'
8579	;;
8580      nagfor*)
8581	# NAG Fortran compiler
8582	lt_prog_compiler_wl='-Wl,-Wl,,'
8583	lt_prog_compiler_pic='-PIC'
8584	lt_prog_compiler_static='-Bstatic'
8585	;;
8586      tcc*)
8587	# Fabrice Bellard et al's Tiny C Compiler
8588	lt_prog_compiler_wl='-Wl,'
8589	lt_prog_compiler_pic='-fPIC'
8590	lt_prog_compiler_static='-static'
8591	;;
8592      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8593        # Portland Group compilers (*not* the Pentium gcc compiler,
8594	# which looks to be a dead project)
8595	lt_prog_compiler_wl='-Wl,'
8596	lt_prog_compiler_pic='-fpic'
8597	lt_prog_compiler_static='-Bstatic'
8598        ;;
8599      ccc*)
8600        lt_prog_compiler_wl='-Wl,'
8601        # All Alpha code is PIC.
8602        lt_prog_compiler_static='-non_shared'
8603        ;;
8604      xl* | bgxl* | bgf* | mpixl*)
8605	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8606	lt_prog_compiler_wl='-Wl,'
8607	lt_prog_compiler_pic='-qpic'
8608	lt_prog_compiler_static='-qstaticlink'
8609	;;
8610      *)
8611	case `$CC -V 2>&1 | sed 5q` in
8612	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8613	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8614	  lt_prog_compiler_pic='-KPIC'
8615	  lt_prog_compiler_static='-Bstatic'
8616	  lt_prog_compiler_wl=''
8617	  ;;
8618	*Sun\ F* | *Sun*Fortran*)
8619	  lt_prog_compiler_pic='-KPIC'
8620	  lt_prog_compiler_static='-Bstatic'
8621	  lt_prog_compiler_wl='-Qoption ld '
8622	  ;;
8623	*Sun\ C*)
8624	  # Sun C 5.9
8625	  lt_prog_compiler_pic='-KPIC'
8626	  lt_prog_compiler_static='-Bstatic'
8627	  lt_prog_compiler_wl='-Wl,'
8628	  ;;
8629        *Intel*\ [CF]*Compiler*)
8630	  lt_prog_compiler_wl='-Wl,'
8631	  lt_prog_compiler_pic='-fPIC'
8632	  lt_prog_compiler_static='-static'
8633	  ;;
8634	*Portland\ Group*)
8635	  lt_prog_compiler_wl='-Wl,'
8636	  lt_prog_compiler_pic='-fpic'
8637	  lt_prog_compiler_static='-Bstatic'
8638	  ;;
8639	esac
8640	;;
8641      esac
8642      ;;
8643
8644    newsos6)
8645      lt_prog_compiler_pic='-KPIC'
8646      lt_prog_compiler_static='-Bstatic'
8647      ;;
8648
8649    *nto* | *qnx*)
8650      # QNX uses GNU C++, but need to define -shared option too, otherwise
8651      # it will coredump.
8652      lt_prog_compiler_pic='-fPIC -shared'
8653      ;;
8654
8655    osf3* | osf4* | osf5*)
8656      lt_prog_compiler_wl='-Wl,'
8657      # All OSF/1 code is PIC.
8658      lt_prog_compiler_static='-non_shared'
8659      ;;
8660
8661    rdos*)
8662      lt_prog_compiler_static='-non_shared'
8663      ;;
8664
8665    solaris*)
8666      lt_prog_compiler_pic='-KPIC'
8667      lt_prog_compiler_static='-Bstatic'
8668      case $cc_basename in
8669      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8670	lt_prog_compiler_wl='-Qoption ld ';;
8671      *)
8672	lt_prog_compiler_wl='-Wl,';;
8673      esac
8674      ;;
8675
8676    sunos4*)
8677      lt_prog_compiler_wl='-Qoption ld '
8678      lt_prog_compiler_pic='-PIC'
8679      lt_prog_compiler_static='-Bstatic'
8680      ;;
8681
8682    sysv4 | sysv4.2uw2* | sysv4.3*)
8683      lt_prog_compiler_wl='-Wl,'
8684      lt_prog_compiler_pic='-KPIC'
8685      lt_prog_compiler_static='-Bstatic'
8686      ;;
8687
8688    sysv4*MP*)
8689      if test -d /usr/nec; then
8690	lt_prog_compiler_pic='-Kconform_pic'
8691	lt_prog_compiler_static='-Bstatic'
8692      fi
8693      ;;
8694
8695    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8696      lt_prog_compiler_wl='-Wl,'
8697      lt_prog_compiler_pic='-KPIC'
8698      lt_prog_compiler_static='-Bstatic'
8699      ;;
8700
8701    unicos*)
8702      lt_prog_compiler_wl='-Wl,'
8703      lt_prog_compiler_can_build_shared=no
8704      ;;
8705
8706    uts4*)
8707      lt_prog_compiler_pic='-pic'
8708      lt_prog_compiler_static='-Bstatic'
8709      ;;
8710
8711    *)
8712      lt_prog_compiler_can_build_shared=no
8713      ;;
8714    esac
8715  fi
8716
8717case $host_os in
8718  # For platforms that do not support PIC, -DPIC is meaningless:
8719  *djgpp*)
8720    lt_prog_compiler_pic=
8721    ;;
8722  *)
8723    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8724    ;;
8725esac
8726
8727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8728$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8729if ${lt_cv_prog_compiler_pic+:} false; then :
8730  $as_echo_n "(cached) " >&6
8731else
8732  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8733fi
8734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8735$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8736lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8737
8738#
8739# Check to make sure the PIC flag actually works.
8740#
8741if test -n "$lt_prog_compiler_pic"; then
8742  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8743$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8744if ${lt_cv_prog_compiler_pic_works+:} false; then :
8745  $as_echo_n "(cached) " >&6
8746else
8747  lt_cv_prog_compiler_pic_works=no
8748   ac_outfile=conftest.$ac_objext
8749   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8750   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8751   # Insert the option either (1) after the last *FLAGS variable, or
8752   # (2) before a word containing "conftest.", or (3) at the end.
8753   # Note that $ac_compile itself does not contain backslashes and begins
8754   # with a dollar sign (not a hyphen), so the echo should work correctly.
8755   # The option is referenced via a variable to avoid confusing sed.
8756   lt_compile=`echo "$ac_compile" | $SED \
8757   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8758   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8759   -e 's:$: $lt_compiler_flag:'`
8760   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8761   (eval "$lt_compile" 2>conftest.err)
8762   ac_status=$?
8763   cat conftest.err >&5
8764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765   if (exit $ac_status) && test -s "$ac_outfile"; then
8766     # The compiler can only warn and ignore the option if not recognized
8767     # So say no if there are warnings other than the usual output.
8768     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8769     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8770     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8771       lt_cv_prog_compiler_pic_works=yes
8772     fi
8773   fi
8774   $RM conftest*
8775
8776fi
8777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8778$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8779
8780if test yes = "$lt_cv_prog_compiler_pic_works"; then
8781    case $lt_prog_compiler_pic in
8782     "" | " "*) ;;
8783     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8784     esac
8785else
8786    lt_prog_compiler_pic=
8787     lt_prog_compiler_can_build_shared=no
8788fi
8789
8790fi
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802#
8803# Check to make sure the static flag actually works.
8804#
8805wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8807$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8808if ${lt_cv_prog_compiler_static_works+:} false; then :
8809  $as_echo_n "(cached) " >&6
8810else
8811  lt_cv_prog_compiler_static_works=no
8812   save_LDFLAGS=$LDFLAGS
8813   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8814   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8815   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8816     # The linker can only warn and ignore the option if not recognized
8817     # So say no if there are warnings
8818     if test -s conftest.err; then
8819       # Append any errors to the config.log.
8820       cat conftest.err 1>&5
8821       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8822       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8823       if diff conftest.exp conftest.er2 >/dev/null; then
8824         lt_cv_prog_compiler_static_works=yes
8825       fi
8826     else
8827       lt_cv_prog_compiler_static_works=yes
8828     fi
8829   fi
8830   $RM -r conftest*
8831   LDFLAGS=$save_LDFLAGS
8832
8833fi
8834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8835$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8836
8837if test yes = "$lt_cv_prog_compiler_static_works"; then
8838    :
8839else
8840    lt_prog_compiler_static=
8841fi
8842
8843
8844
8845
8846
8847
8848
8849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8850$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8851if ${lt_cv_prog_compiler_c_o+:} false; then :
8852  $as_echo_n "(cached) " >&6
8853else
8854  lt_cv_prog_compiler_c_o=no
8855   $RM -r conftest 2>/dev/null
8856   mkdir conftest
8857   cd conftest
8858   mkdir out
8859   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8860
8861   lt_compiler_flag="-o out/conftest2.$ac_objext"
8862   # Insert the option either (1) after the last *FLAGS variable, or
8863   # (2) before a word containing "conftest.", or (3) at the end.
8864   # Note that $ac_compile itself does not contain backslashes and begins
8865   # with a dollar sign (not a hyphen), so the echo should work correctly.
8866   lt_compile=`echo "$ac_compile" | $SED \
8867   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869   -e 's:$: $lt_compiler_flag:'`
8870   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8871   (eval "$lt_compile" 2>out/conftest.err)
8872   ac_status=$?
8873   cat out/conftest.err >&5
8874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8876   then
8877     # The compiler can only warn and ignore the option if not recognized
8878     # So say no if there are warnings
8879     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8880     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8881     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8882       lt_cv_prog_compiler_c_o=yes
8883     fi
8884   fi
8885   chmod u+w . 2>&5
8886   $RM conftest*
8887   # SGI C++ compiler will create directory out/ii_files/ for
8888   # template instantiation
8889   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8890   $RM out/* && rmdir out
8891   cd ..
8892   $RM -r conftest
8893   $RM conftest*
8894
8895fi
8896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8897$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8898
8899
8900
8901
8902
8903
8904  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8905$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8906if ${lt_cv_prog_compiler_c_o+:} false; then :
8907  $as_echo_n "(cached) " >&6
8908else
8909  lt_cv_prog_compiler_c_o=no
8910   $RM -r conftest 2>/dev/null
8911   mkdir conftest
8912   cd conftest
8913   mkdir out
8914   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915
8916   lt_compiler_flag="-o out/conftest2.$ac_objext"
8917   # Insert the option either (1) after the last *FLAGS variable, or
8918   # (2) before a word containing "conftest.", or (3) at the end.
8919   # Note that $ac_compile itself does not contain backslashes and begins
8920   # with a dollar sign (not a hyphen), so the echo should work correctly.
8921   lt_compile=`echo "$ac_compile" | $SED \
8922   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924   -e 's:$: $lt_compiler_flag:'`
8925   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926   (eval "$lt_compile" 2>out/conftest.err)
8927   ac_status=$?
8928   cat out/conftest.err >&5
8929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8931   then
8932     # The compiler can only warn and ignore the option if not recognized
8933     # So say no if there are warnings
8934     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8935     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8936     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8937       lt_cv_prog_compiler_c_o=yes
8938     fi
8939   fi
8940   chmod u+w . 2>&5
8941   $RM conftest*
8942   # SGI C++ compiler will create directory out/ii_files/ for
8943   # template instantiation
8944   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8945   $RM out/* && rmdir out
8946   cd ..
8947   $RM -r conftest
8948   $RM conftest*
8949
8950fi
8951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8952$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8953
8954
8955
8956
8957hard_links=nottested
8958if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8959  # do not overwrite the value of need_locks provided by the user
8960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8961$as_echo_n "checking if we can lock with hard links... " >&6; }
8962  hard_links=yes
8963  $RM conftest*
8964  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8965  touch conftest.a
8966  ln conftest.a conftest.b 2>&5 || hard_links=no
8967  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8969$as_echo "$hard_links" >&6; }
8970  if test no = "$hard_links"; then
8971    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8972$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8973    need_locks=warn
8974  fi
8975else
8976  need_locks=no
8977fi
8978
8979
8980
8981
8982
8983
8984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8985$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8986
8987  runpath_var=
8988  allow_undefined_flag=
8989  always_export_symbols=no
8990  archive_cmds=
8991  archive_expsym_cmds=
8992  compiler_needs_object=no
8993  enable_shared_with_static_runtimes=no
8994  export_dynamic_flag_spec=
8995  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8996  hardcode_automatic=no
8997  hardcode_direct=no
8998  hardcode_direct_absolute=no
8999  hardcode_libdir_flag_spec=
9000  hardcode_libdir_separator=
9001  hardcode_minus_L=no
9002  hardcode_shlibpath_var=unsupported
9003  inherit_rpath=no
9004  link_all_deplibs=unknown
9005  module_cmds=
9006  module_expsym_cmds=
9007  old_archive_from_new_cmds=
9008  old_archive_from_expsyms_cmds=
9009  thread_safe_flag_spec=
9010  whole_archive_flag_spec=
9011  # include_expsyms should be a list of space-separated symbols to be *always*
9012  # included in the symbol list
9013  include_expsyms=
9014  # exclude_expsyms can be an extended regexp of symbols to exclude
9015  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9016  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9017  # as well as any symbol that contains 'd'.
9018  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9019  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9020  # platforms (ab)use it in PIC code, but their linkers get confused if
9021  # the symbol is explicitly referenced.  Since portable code cannot
9022  # rely on this symbol name, it's probably fine to never include it in
9023  # preloaded symbol tables.
9024  # Exclude shared library initialization/finalization symbols.
9025  extract_expsyms_cmds=
9026
9027  case $host_os in
9028  cygwin* | mingw* | pw32* | cegcc*)
9029    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9030    # When not using gcc, we currently assume that we are using
9031    # Microsoft Visual C++.
9032    if test yes != "$GCC"; then
9033      with_gnu_ld=no
9034    fi
9035    ;;
9036  interix*)
9037    # we just hope/assume this is gcc and not c89 (= MSVC++)
9038    with_gnu_ld=yes
9039    ;;
9040  openbsd* | bitrig*)
9041    with_gnu_ld=no
9042    ;;
9043  linux* | k*bsd*-gnu | gnu*)
9044    link_all_deplibs=no
9045    ;;
9046  esac
9047
9048  ld_shlibs=yes
9049
9050  # On some targets, GNU ld is compatible enough with the native linker
9051  # that we're better off using the native interface for both.
9052  lt_use_gnu_ld_interface=no
9053  if test yes = "$with_gnu_ld"; then
9054    case $host_os in
9055      aix*)
9056	# The AIX port of GNU ld has always aspired to compatibility
9057	# with the native linker.  However, as the warning in the GNU ld
9058	# block says, versions before 2.19.5* couldn't really create working
9059	# shared libraries, regardless of the interface used.
9060	case `$LD -v 2>&1` in
9061	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9062	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9063	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9064	  *)
9065	    lt_use_gnu_ld_interface=yes
9066	    ;;
9067	esac
9068	;;
9069      *)
9070	lt_use_gnu_ld_interface=yes
9071	;;
9072    esac
9073  fi
9074
9075  if test yes = "$lt_use_gnu_ld_interface"; then
9076    # If archive_cmds runs LD, not CC, wlarc should be empty
9077    wlarc='$wl'
9078
9079    # Set some defaults for GNU ld with shared library support. These
9080    # are reset later if shared libraries are not supported. Putting them
9081    # here allows them to be overridden if necessary.
9082    runpath_var=LD_RUN_PATH
9083    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9084    export_dynamic_flag_spec='$wl--export-dynamic'
9085    # ancient GNU ld didn't support --whole-archive et. al.
9086    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9087      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9088    else
9089      whole_archive_flag_spec=
9090    fi
9091    supports_anon_versioning=no
9092    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9093      *GNU\ gold*) supports_anon_versioning=yes ;;
9094      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9095      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9096      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9097      *\ 2.11.*) ;; # other 2.11 versions
9098      *) supports_anon_versioning=yes ;;
9099    esac
9100
9101    # See if GNU ld supports shared libraries.
9102    case $host_os in
9103    aix[3-9]*)
9104      # On AIX/PPC, the GNU linker is very broken
9105      if test ia64 != "$host_cpu"; then
9106	ld_shlibs=no
9107	cat <<_LT_EOF 1>&2
9108
9109*** Warning: the GNU linker, at least up to release 2.19, is reported
9110*** to be unable to reliably create shared libraries on AIX.
9111*** Therefore, libtool is disabling shared libraries support.  If you
9112*** really care for shared libraries, you may want to install binutils
9113*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9114*** You will then need to restart the configuration process.
9115
9116_LT_EOF
9117      fi
9118      ;;
9119
9120    amigaos*)
9121      case $host_cpu in
9122      powerpc)
9123            # see comment about AmigaOS4 .so support
9124            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9125            archive_expsym_cmds=''
9126        ;;
9127      m68k)
9128            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)'
9129            hardcode_libdir_flag_spec='-L$libdir'
9130            hardcode_minus_L=yes
9131        ;;
9132      esac
9133      ;;
9134
9135    beos*)
9136      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9137	allow_undefined_flag=unsupported
9138	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9139	# support --undefined.  This deserves some investigation.  FIXME
9140	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9141      else
9142	ld_shlibs=no
9143      fi
9144      ;;
9145
9146    cygwin* | mingw* | pw32* | cegcc*)
9147      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9148      # as there is no search path for DLLs.
9149      hardcode_libdir_flag_spec='-L$libdir'
9150      export_dynamic_flag_spec='$wl--export-all-symbols'
9151      allow_undefined_flag=unsupported
9152      always_export_symbols=no
9153      enable_shared_with_static_runtimes=yes
9154      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9155      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9156
9157      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9158        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9159	# If the export-symbols file already is a .def file, use it as
9160	# is; otherwise, prepend EXPORTS...
9161	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9162          cp $export_symbols $output_objdir/$soname.def;
9163        else
9164          echo EXPORTS > $output_objdir/$soname.def;
9165          cat $export_symbols >> $output_objdir/$soname.def;
9166        fi~
9167        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9168      else
9169	ld_shlibs=no
9170      fi
9171      ;;
9172
9173    haiku*)
9174      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9175      link_all_deplibs=yes
9176      ;;
9177
9178    os2*)
9179      hardcode_libdir_flag_spec='-L$libdir'
9180      hardcode_minus_L=yes
9181      allow_undefined_flag=unsupported
9182      shrext_cmds=.dll
9183      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9184	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9185	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9186	$ECHO EXPORTS >> $output_objdir/$libname.def~
9187	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9188	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9189	emximp -o $lib $output_objdir/$libname.def'
9190      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9191	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9192	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9193	$ECHO EXPORTS >> $output_objdir/$libname.def~
9194	prefix_cmds="$SED"~
9195	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9196	  prefix_cmds="$prefix_cmds -e 1d";
9197	fi~
9198	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9199	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9200	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9201	emximp -o $lib $output_objdir/$libname.def'
9202      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9203      enable_shared_with_static_runtimes=yes
9204      ;;
9205
9206    interix[3-9]*)
9207      hardcode_direct=no
9208      hardcode_shlibpath_var=no
9209      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9210      export_dynamic_flag_spec='$wl-E'
9211      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9212      # Instead, shared libraries are loaded at an image base (0x10000000 by
9213      # default) and relocated if they conflict, which is a slow very memory
9214      # consuming and fragmenting process.  To avoid this, we pick a random,
9215      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9216      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9217      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9218      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'
9219      ;;
9220
9221    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9222      tmp_diet=no
9223      if test linux-dietlibc = "$host_os"; then
9224	case $cc_basename in
9225	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9226	esac
9227      fi
9228      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9229	 && test no = "$tmp_diet"
9230      then
9231	tmp_addflag=' $pic_flag'
9232	tmp_sharedflag='-shared'
9233	case $cc_basename,$host_cpu in
9234        pgcc*)				# Portland Group C compiler
9235	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9236	  tmp_addflag=' $pic_flag'
9237	  ;;
9238	pgf77* | pgf90* | pgf95* | pgfortran*)
9239					# Portland Group f77 and f90 compilers
9240	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9241	  tmp_addflag=' $pic_flag -Mnomain' ;;
9242	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9243	  tmp_addflag=' -i_dynamic' ;;
9244	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9245	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9246	ifc* | ifort*)			# Intel Fortran compiler
9247	  tmp_addflag=' -nofor_main' ;;
9248	lf95*)				# Lahey Fortran 8.1
9249	  whole_archive_flag_spec=
9250	  tmp_sharedflag='--shared' ;;
9251        nagfor*)                        # NAGFOR 5.3
9252          tmp_sharedflag='-Wl,-shared' ;;
9253	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9254	  tmp_sharedflag='-qmkshrobj'
9255	  tmp_addflag= ;;
9256	nvcc*)	# Cuda Compiler Driver 2.2
9257	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9258	  compiler_needs_object=yes
9259	  ;;
9260	esac
9261	case `$CC -V 2>&1 | sed 5q` in
9262	*Sun\ C*)			# Sun C 5.9
9263	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9264	  compiler_needs_object=yes
9265	  tmp_sharedflag='-G' ;;
9266	*Sun\ F*)			# Sun Fortran 8.3
9267	  tmp_sharedflag='-G' ;;
9268	esac
9269	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9270
9271        if test yes = "$supports_anon_versioning"; then
9272          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9273            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9274            echo "local: *; };" >> $output_objdir/$libname.ver~
9275            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9276        fi
9277
9278	case $cc_basename in
9279	tcc*)
9280	  export_dynamic_flag_spec='-rdynamic'
9281	  ;;
9282	xlf* | bgf* | bgxlf* | mpixlf*)
9283	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9284	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9285	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9286	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9287	  if test yes = "$supports_anon_versioning"; then
9288	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9289              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9290              echo "local: *; };" >> $output_objdir/$libname.ver~
9291              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9292	  fi
9293	  ;;
9294	esac
9295      else
9296        ld_shlibs=no
9297      fi
9298      ;;
9299
9300    netbsd* | netbsdelf*-gnu)
9301      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9302	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9303	wlarc=
9304      else
9305	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9306	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9307      fi
9308      ;;
9309
9310    solaris*)
9311      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9312	ld_shlibs=no
9313	cat <<_LT_EOF 1>&2
9314
9315*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9316*** create shared libraries on Solaris systems.  Therefore, libtool
9317*** is disabling shared libraries support.  We urge you to upgrade GNU
9318*** binutils to release 2.9.1 or newer.  Another option is to modify
9319*** your PATH or compiler configuration so that the native linker is
9320*** used, and then restart.
9321
9322_LT_EOF
9323      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9324	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9325	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9326      else
9327	ld_shlibs=no
9328      fi
9329      ;;
9330
9331    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9332      case `$LD -v 2>&1` in
9333        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9334	ld_shlibs=no
9335	cat <<_LT_EOF 1>&2
9336
9337*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9338*** reliably create shared libraries on SCO systems.  Therefore, libtool
9339*** is disabling shared libraries support.  We urge you to upgrade GNU
9340*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9341*** your PATH or compiler configuration so that the native linker is
9342*** used, and then restart.
9343
9344_LT_EOF
9345	;;
9346	*)
9347	  # For security reasons, it is highly recommended that you always
9348	  # use absolute paths for naming shared libraries, and exclude the
9349	  # DT_RUNPATH tag from executables and libraries.  But doing so
9350	  # requires that you compile everything twice, which is a pain.
9351	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9352	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9353	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9354	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9355	  else
9356	    ld_shlibs=no
9357	  fi
9358	;;
9359      esac
9360      ;;
9361
9362    sunos4*)
9363      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9364      wlarc=
9365      hardcode_direct=yes
9366      hardcode_shlibpath_var=no
9367      ;;
9368
9369    *)
9370      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9372	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9373      else
9374	ld_shlibs=no
9375      fi
9376      ;;
9377    esac
9378
9379    if test no = "$ld_shlibs"; then
9380      runpath_var=
9381      hardcode_libdir_flag_spec=
9382      export_dynamic_flag_spec=
9383      whole_archive_flag_spec=
9384    fi
9385  else
9386    # PORTME fill in a description of your system's linker (not GNU ld)
9387    case $host_os in
9388    aix3*)
9389      allow_undefined_flag=unsupported
9390      always_export_symbols=yes
9391      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'
9392      # Note: this linker hardcodes the directories in LIBPATH if there
9393      # are no directories specified by -L.
9394      hardcode_minus_L=yes
9395      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9396	# Neither direct hardcoding nor static linking is supported with a
9397	# broken collect2.
9398	hardcode_direct=unsupported
9399      fi
9400      ;;
9401
9402    aix[4-9]*)
9403      if test ia64 = "$host_cpu"; then
9404	# On IA64, the linker does run time linking by default, so we don't
9405	# have to do anything special.
9406	aix_use_runtimelinking=no
9407	exp_sym_flag='-Bexport'
9408	no_entry_flag=
9409      else
9410	# If we're using GNU nm, then we don't want the "-C" option.
9411	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9412	# Without the "-l" option, or with the "-B" option, AIX nm treats
9413	# weak defined symbols like other global defined symbols, whereas
9414	# GNU nm marks them as "W".
9415	# While the 'weak' keyword is ignored in the Export File, we need
9416	# it in the Import File for the 'aix-soname' feature, so we have
9417	# to replace the "-B" option with "-P" for AIX nm.
9418	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9419	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9420	else
9421	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9422	fi
9423	aix_use_runtimelinking=no
9424
9425	# Test if we are trying to use run time linking or normal
9426	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9427	# have runtime linking enabled, and use it for executables.
9428	# For shared libraries, we enable/disable runtime linking
9429	# depending on the kind of the shared library created -
9430	# when "with_aix_soname,aix_use_runtimelinking" is:
9431	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9432	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9433	#            lib.a           static archive
9434	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9435	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9436	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9437	#            lib.a(lib.so.V) shared, rtl:no
9438	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9439	#            lib.a           static archive
9440	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9441	  for ld_flag in $LDFLAGS; do
9442	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9443	    aix_use_runtimelinking=yes
9444	    break
9445	  fi
9446	  done
9447	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9448	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9449	    # so we don't have lib.a shared libs to link our executables.
9450	    # We have to force runtime linking in this case.
9451	    aix_use_runtimelinking=yes
9452	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9453	  fi
9454	  ;;
9455	esac
9456
9457	exp_sym_flag='-bexport'
9458	no_entry_flag='-bnoentry'
9459      fi
9460
9461      # When large executables or shared objects are built, AIX ld can
9462      # have problems creating the table of contents.  If linking a library
9463      # or program results in "error TOC overflow" add -mminimal-toc to
9464      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9465      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9466
9467      archive_cmds=''
9468      hardcode_direct=yes
9469      hardcode_direct_absolute=yes
9470      hardcode_libdir_separator=':'
9471      link_all_deplibs=yes
9472      file_list_spec='$wl-f,'
9473      case $with_aix_soname,$aix_use_runtimelinking in
9474      aix,*) ;; # traditional, no import file
9475      svr4,* | *,yes) # use import file
9476	# The Import File defines what to hardcode.
9477	hardcode_direct=no
9478	hardcode_direct_absolute=no
9479	;;
9480      esac
9481
9482      if test yes = "$GCC"; then
9483	case $host_os in aix4.[012]|aix4.[012].*)
9484	# We only want to do this on AIX 4.2 and lower, the check
9485	# below for broken collect2 doesn't work under 4.3+
9486	  collect2name=`$CC -print-prog-name=collect2`
9487	  if test -f "$collect2name" &&
9488	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9489	  then
9490	  # We have reworked collect2
9491	  :
9492	  else
9493	  # We have old collect2
9494	  hardcode_direct=unsupported
9495	  # It fails to find uninstalled libraries when the uninstalled
9496	  # path is not listed in the libpath.  Setting hardcode_minus_L
9497	  # to unsupported forces relinking
9498	  hardcode_minus_L=yes
9499	  hardcode_libdir_flag_spec='-L$libdir'
9500	  hardcode_libdir_separator=
9501	  fi
9502	  ;;
9503	esac
9504	shared_flag='-shared'
9505	if test yes = "$aix_use_runtimelinking"; then
9506	  shared_flag="$shared_flag "'$wl-G'
9507	fi
9508	# Need to ensure runtime linking is disabled for the traditional
9509	# shared library, or the linker may eventually find shared libraries
9510	# /with/ Import File - we do not want to mix them.
9511	shared_flag_aix='-shared'
9512	shared_flag_svr4='-shared $wl-G'
9513      else
9514	# not using gcc
9515	if test ia64 = "$host_cpu"; then
9516	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9517	# chokes on -Wl,-G. The following line is correct:
9518	  shared_flag='-G'
9519	else
9520	  if test yes = "$aix_use_runtimelinking"; then
9521	    shared_flag='$wl-G'
9522	  else
9523	    shared_flag='$wl-bM:SRE'
9524	  fi
9525	  shared_flag_aix='$wl-bM:SRE'
9526	  shared_flag_svr4='$wl-G'
9527	fi
9528      fi
9529
9530      export_dynamic_flag_spec='$wl-bexpall'
9531      # It seems that -bexpall does not export symbols beginning with
9532      # underscore (_), so it is better to generate a list of symbols to export.
9533      always_export_symbols=yes
9534      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9535	# Warning - without using the other runtime loading flags (-brtl),
9536	# -berok will link without error, but may produce a broken library.
9537	allow_undefined_flag='-berok'
9538        # Determine the default libpath from the value encoded in an
9539        # empty executable.
9540        if test set = "${lt_cv_aix_libpath+set}"; then
9541  aix_libpath=$lt_cv_aix_libpath
9542else
9543  if ${lt_cv_aix_libpath_+:} false; then :
9544  $as_echo_n "(cached) " >&6
9545else
9546  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547/* end confdefs.h.  */
9548
9549int
9550main ()
9551{
9552
9553  ;
9554  return 0;
9555}
9556_ACEOF
9557if ac_fn_c_try_link "$LINENO"; then :
9558
9559  lt_aix_libpath_sed='
9560      /Import File Strings/,/^$/ {
9561	  /^0/ {
9562	      s/^0  *\([^ ]*\) *$/\1/
9563	      p
9564	  }
9565      }'
9566  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9567  # Check for a 64-bit object if we didn't find anything.
9568  if test -z "$lt_cv_aix_libpath_"; then
9569    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570  fi
9571fi
9572rm -f core conftest.err conftest.$ac_objext \
9573    conftest$ac_exeext conftest.$ac_ext
9574  if test -z "$lt_cv_aix_libpath_"; then
9575    lt_cv_aix_libpath_=/usr/lib:/lib
9576  fi
9577
9578fi
9579
9580  aix_libpath=$lt_cv_aix_libpath_
9581fi
9582
9583        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9584        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9585      else
9586	if test ia64 = "$host_cpu"; then
9587	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9588	  allow_undefined_flag="-z nodefs"
9589	  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"
9590	else
9591	 # Determine the default libpath from the value encoded in an
9592	 # empty executable.
9593	 if test set = "${lt_cv_aix_libpath+set}"; then
9594  aix_libpath=$lt_cv_aix_libpath
9595else
9596  if ${lt_cv_aix_libpath_+:} false; then :
9597  $as_echo_n "(cached) " >&6
9598else
9599  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600/* end confdefs.h.  */
9601
9602int
9603main ()
9604{
9605
9606  ;
9607  return 0;
9608}
9609_ACEOF
9610if ac_fn_c_try_link "$LINENO"; then :
9611
9612  lt_aix_libpath_sed='
9613      /Import File Strings/,/^$/ {
9614	  /^0/ {
9615	      s/^0  *\([^ ]*\) *$/\1/
9616	      p
9617	  }
9618      }'
9619  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9620  # Check for a 64-bit object if we didn't find anything.
9621  if test -z "$lt_cv_aix_libpath_"; then
9622    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9623  fi
9624fi
9625rm -f core conftest.err conftest.$ac_objext \
9626    conftest$ac_exeext conftest.$ac_ext
9627  if test -z "$lt_cv_aix_libpath_"; then
9628    lt_cv_aix_libpath_=/usr/lib:/lib
9629  fi
9630
9631fi
9632
9633  aix_libpath=$lt_cv_aix_libpath_
9634fi
9635
9636	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9637	  # Warning - without using the other run time loading flags,
9638	  # -berok will link without error, but may produce a broken library.
9639	  no_undefined_flag=' $wl-bernotok'
9640	  allow_undefined_flag=' $wl-berok'
9641	  if test yes = "$with_gnu_ld"; then
9642	    # We only use this code for GNU lds that support --whole-archive.
9643	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9644	  else
9645	    # Exported symbols can be pulled into shared objects from archives
9646	    whole_archive_flag_spec='$convenience'
9647	  fi
9648	  archive_cmds_need_lc=yes
9649	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9650	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9651	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9652	  if test svr4 != "$with_aix_soname"; then
9653	    # This is similar to how AIX traditionally builds its shared libraries.
9654	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9655	  fi
9656	  if test aix != "$with_aix_soname"; then
9657	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9658	  else
9659	    # used by -dlpreopen to get the symbols
9660	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9661	  fi
9662	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9663	fi
9664      fi
9665      ;;
9666
9667    amigaos*)
9668      case $host_cpu in
9669      powerpc)
9670            # see comment about AmigaOS4 .so support
9671            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9672            archive_expsym_cmds=''
9673        ;;
9674      m68k)
9675            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)'
9676            hardcode_libdir_flag_spec='-L$libdir'
9677            hardcode_minus_L=yes
9678        ;;
9679      esac
9680      ;;
9681
9682    bsdi[45]*)
9683      export_dynamic_flag_spec=-rdynamic
9684      ;;
9685
9686    cygwin* | mingw* | pw32* | cegcc*)
9687      # When not using gcc, we currently assume that we are using
9688      # Microsoft Visual C++.
9689      # hardcode_libdir_flag_spec is actually meaningless, as there is
9690      # no search path for DLLs.
9691      case $cc_basename in
9692      cl*)
9693	# Native MSVC
9694	hardcode_libdir_flag_spec=' '
9695	allow_undefined_flag=unsupported
9696	always_export_symbols=yes
9697	file_list_spec='@'
9698	# Tell ltmain to make .lib files, not .a files.
9699	libext=lib
9700	# Tell ltmain to make .dll files, not .so files.
9701	shrext_cmds=.dll
9702	# FIXME: Setting linknames here is a bad hack.
9703	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9704	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9705            cp "$export_symbols" "$output_objdir/$soname.def";
9706            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9707          else
9708            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9709          fi~
9710          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9711          linknames='
9712	# The linker will not automatically build a static lib if we build a DLL.
9713	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9714	enable_shared_with_static_runtimes=yes
9715	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9716	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9717	# Don't use ranlib
9718	old_postinstall_cmds='chmod 644 $oldlib'
9719	postlink_cmds='lt_outputfile="@OUTPUT@"~
9720          lt_tool_outputfile="@TOOL_OUTPUT@"~
9721          case $lt_outputfile in
9722            *.exe|*.EXE) ;;
9723            *)
9724              lt_outputfile=$lt_outputfile.exe
9725              lt_tool_outputfile=$lt_tool_outputfile.exe
9726              ;;
9727          esac~
9728          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9729            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9730            $RM "$lt_outputfile.manifest";
9731          fi'
9732	;;
9733      *)
9734	# Assume MSVC wrapper
9735	hardcode_libdir_flag_spec=' '
9736	allow_undefined_flag=unsupported
9737	# Tell ltmain to make .lib files, not .a files.
9738	libext=lib
9739	# Tell ltmain to make .dll files, not .so files.
9740	shrext_cmds=.dll
9741	# FIXME: Setting linknames here is a bad hack.
9742	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9743	# The linker will automatically build a .lib file if we build a DLL.
9744	old_archive_from_new_cmds='true'
9745	# FIXME: Should let the user specify the lib program.
9746	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9747	enable_shared_with_static_runtimes=yes
9748	;;
9749      esac
9750      ;;
9751
9752    darwin* | rhapsody*)
9753
9754
9755  archive_cmds_need_lc=no
9756  hardcode_direct=no
9757  hardcode_automatic=yes
9758  hardcode_shlibpath_var=unsupported
9759  if test yes = "$lt_cv_ld_force_load"; then
9760    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9761
9762  else
9763    whole_archive_flag_spec=''
9764  fi
9765  link_all_deplibs=yes
9766  allow_undefined_flag=$_lt_dar_allow_undefined
9767  case $cc_basename in
9768     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9769     *) _lt_dar_can_shared=$GCC ;;
9770  esac
9771  if test yes = "$_lt_dar_can_shared"; then
9772    output_verbose_link_cmd=func_echo_all
9773    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9774    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9775    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"
9776    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"
9777
9778  else
9779  ld_shlibs=no
9780  fi
9781
9782      ;;
9783
9784    dgux*)
9785      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9786      hardcode_libdir_flag_spec='-L$libdir'
9787      hardcode_shlibpath_var=no
9788      ;;
9789
9790    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9791    # support.  Future versions do this automatically, but an explicit c++rt0.o
9792    # does not break anything, and helps significantly (at the cost of a little
9793    # extra space).
9794    freebsd2.2*)
9795      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9796      hardcode_libdir_flag_spec='-R$libdir'
9797      hardcode_direct=yes
9798      hardcode_shlibpath_var=no
9799      ;;
9800
9801    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9802    freebsd2.*)
9803      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9804      hardcode_direct=yes
9805      hardcode_minus_L=yes
9806      hardcode_shlibpath_var=no
9807      ;;
9808
9809    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9810    freebsd* | dragonfly*)
9811      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9812      hardcode_libdir_flag_spec='-R$libdir'
9813      hardcode_direct=yes
9814      hardcode_shlibpath_var=no
9815      ;;
9816
9817    hpux9*)
9818      if test yes = "$GCC"; then
9819	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9820      else
9821	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9822      fi
9823      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9824      hardcode_libdir_separator=:
9825      hardcode_direct=yes
9826
9827      # hardcode_minus_L: Not really in the search PATH,
9828      # but as the default location of the library.
9829      hardcode_minus_L=yes
9830      export_dynamic_flag_spec='$wl-E'
9831      ;;
9832
9833    hpux10*)
9834      if test yes,no = "$GCC,$with_gnu_ld"; then
9835	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9836      else
9837	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9838      fi
9839      if test no = "$with_gnu_ld"; then
9840	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9841	hardcode_libdir_separator=:
9842	hardcode_direct=yes
9843	hardcode_direct_absolute=yes
9844	export_dynamic_flag_spec='$wl-E'
9845	# hardcode_minus_L: Not really in the search PATH,
9846	# but as the default location of the library.
9847	hardcode_minus_L=yes
9848      fi
9849      ;;
9850
9851    hpux11*)
9852      if test yes,no = "$GCC,$with_gnu_ld"; then
9853	case $host_cpu in
9854	hppa*64*)
9855	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9856	  ;;
9857	ia64*)
9858	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9859	  ;;
9860	*)
9861	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9862	  ;;
9863	esac
9864      else
9865	case $host_cpu in
9866	hppa*64*)
9867	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9868	  ;;
9869	ia64*)
9870	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9871	  ;;
9872	*)
9873
9874	  # Older versions of the 11.00 compiler do not understand -b yet
9875	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9876	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9877$as_echo_n "checking if $CC understands -b... " >&6; }
9878if ${lt_cv_prog_compiler__b+:} false; then :
9879  $as_echo_n "(cached) " >&6
9880else
9881  lt_cv_prog_compiler__b=no
9882   save_LDFLAGS=$LDFLAGS
9883   LDFLAGS="$LDFLAGS -b"
9884   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9885   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9886     # The linker can only warn and ignore the option if not recognized
9887     # So say no if there are warnings
9888     if test -s conftest.err; then
9889       # Append any errors to the config.log.
9890       cat conftest.err 1>&5
9891       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9892       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9893       if diff conftest.exp conftest.er2 >/dev/null; then
9894         lt_cv_prog_compiler__b=yes
9895       fi
9896     else
9897       lt_cv_prog_compiler__b=yes
9898     fi
9899   fi
9900   $RM -r conftest*
9901   LDFLAGS=$save_LDFLAGS
9902
9903fi
9904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9905$as_echo "$lt_cv_prog_compiler__b" >&6; }
9906
9907if test yes = "$lt_cv_prog_compiler__b"; then
9908    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9909else
9910    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9911fi
9912
9913	  ;;
9914	esac
9915      fi
9916      if test no = "$with_gnu_ld"; then
9917	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9918	hardcode_libdir_separator=:
9919
9920	case $host_cpu in
9921	hppa*64*|ia64*)
9922	  hardcode_direct=no
9923	  hardcode_shlibpath_var=no
9924	  ;;
9925	*)
9926	  hardcode_direct=yes
9927	  hardcode_direct_absolute=yes
9928	  export_dynamic_flag_spec='$wl-E'
9929
9930	  # hardcode_minus_L: Not really in the search PATH,
9931	  # but as the default location of the library.
9932	  hardcode_minus_L=yes
9933	  ;;
9934	esac
9935      fi
9936      ;;
9937
9938    irix5* | irix6* | nonstopux*)
9939      if test yes = "$GCC"; then
9940	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
9941	# Try to use the -exported_symbol ld option, if it does not
9942	# work, assume that -exports_file does not work either and
9943	# implicitly export all symbols.
9944	# This should be the same for all languages, so no per-tag cache variable.
9945	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9946$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9947if ${lt_cv_irix_exported_symbol+:} false; then :
9948  $as_echo_n "(cached) " >&6
9949else
9950  save_LDFLAGS=$LDFLAGS
9951	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9952	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953/* end confdefs.h.  */
9954int foo (void) { return 0; }
9955_ACEOF
9956if ac_fn_c_try_link "$LINENO"; then :
9957  lt_cv_irix_exported_symbol=yes
9958else
9959  lt_cv_irix_exported_symbol=no
9960fi
9961rm -f core conftest.err conftest.$ac_objext \
9962    conftest$ac_exeext conftest.$ac_ext
9963           LDFLAGS=$save_LDFLAGS
9964fi
9965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9966$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9967	if test yes = "$lt_cv_irix_exported_symbol"; then
9968          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
9969	fi
9970	link_all_deplibs=no
9971      else
9972	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
9973	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
9974      fi
9975      archive_cmds_need_lc='no'
9976      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9977      hardcode_libdir_separator=:
9978      inherit_rpath=yes
9979      link_all_deplibs=yes
9980      ;;
9981
9982    linux*)
9983      case $cc_basename in
9984      tcc*)
9985	# Fabrice Bellard et al's Tiny C Compiler
9986	ld_shlibs=yes
9987	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9988	;;
9989      esac
9990      ;;
9991
9992    netbsd* | netbsdelf*-gnu)
9993      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9994	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9995      else
9996	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9997      fi
9998      hardcode_libdir_flag_spec='-R$libdir'
9999      hardcode_direct=yes
10000      hardcode_shlibpath_var=no
10001      ;;
10002
10003    newsos6)
10004      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005      hardcode_direct=yes
10006      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10007      hardcode_libdir_separator=:
10008      hardcode_shlibpath_var=no
10009      ;;
10010
10011    *nto* | *qnx*)
10012      ;;
10013
10014    openbsd* | bitrig*)
10015      if test -f /usr/libexec/ld.so; then
10016	hardcode_direct=yes
10017	hardcode_shlibpath_var=no
10018	hardcode_direct_absolute=yes
10019	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10020	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10022	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10023	  export_dynamic_flag_spec='$wl-E'
10024	else
10025	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10026	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10027	fi
10028      else
10029	ld_shlibs=no
10030      fi
10031      ;;
10032
10033    os2*)
10034      hardcode_libdir_flag_spec='-L$libdir'
10035      hardcode_minus_L=yes
10036      allow_undefined_flag=unsupported
10037      shrext_cmds=.dll
10038      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10039	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10040	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10041	$ECHO EXPORTS >> $output_objdir/$libname.def~
10042	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10043	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10044	emximp -o $lib $output_objdir/$libname.def'
10045      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10046	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10047	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10048	$ECHO EXPORTS >> $output_objdir/$libname.def~
10049	prefix_cmds="$SED"~
10050	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10051	  prefix_cmds="$prefix_cmds -e 1d";
10052	fi~
10053	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10054	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10055	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10056	emximp -o $lib $output_objdir/$libname.def'
10057      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10058      enable_shared_with_static_runtimes=yes
10059      ;;
10060
10061    osf3*)
10062      if test yes = "$GCC"; then
10063	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10064	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10065      else
10066	allow_undefined_flag=' -expect_unresolved \*'
10067	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10068      fi
10069      archive_cmds_need_lc='no'
10070      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10071      hardcode_libdir_separator=:
10072      ;;
10073
10074    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10075      if test yes = "$GCC"; then
10076	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10077	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10078	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10079      else
10080	allow_undefined_flag=' -expect_unresolved \*'
10081	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10082	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~
10083          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10084
10085	# Both c and cxx compiler support -rpath directly
10086	hardcode_libdir_flag_spec='-rpath $libdir'
10087      fi
10088      archive_cmds_need_lc='no'
10089      hardcode_libdir_separator=:
10090      ;;
10091
10092    solaris*)
10093      no_undefined_flag=' -z defs'
10094      if test yes = "$GCC"; then
10095	wlarc='$wl'
10096	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10097	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10098          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10099      else
10100	case `$CC -V 2>&1` in
10101	*"Compilers 5.0"*)
10102	  wlarc=''
10103	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10104	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10105            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10106	  ;;
10107	*)
10108	  wlarc='$wl'
10109	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10110	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10111            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10112	  ;;
10113	esac
10114      fi
10115      hardcode_libdir_flag_spec='-R$libdir'
10116      hardcode_shlibpath_var=no
10117      case $host_os in
10118      solaris2.[0-5] | solaris2.[0-5].*) ;;
10119      *)
10120	# The compiler driver will combine and reorder linker options,
10121	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10122	# but is careful enough not to reorder.
10123	# Supported since Solaris 2.6 (maybe 2.5.1?)
10124	if test yes = "$GCC"; then
10125	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10126	else
10127	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10128	fi
10129	;;
10130      esac
10131      link_all_deplibs=yes
10132      ;;
10133
10134    sunos4*)
10135      if test sequent = "$host_vendor"; then
10136	# Use $CC to link under sequent, because it throws in some extra .o
10137	# files that make .init and .fini sections work.
10138	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10139      else
10140	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10141      fi
10142      hardcode_libdir_flag_spec='-L$libdir'
10143      hardcode_direct=yes
10144      hardcode_minus_L=yes
10145      hardcode_shlibpath_var=no
10146      ;;
10147
10148    sysv4)
10149      case $host_vendor in
10150	sni)
10151	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152	  hardcode_direct=yes # is this really true???
10153	;;
10154	siemens)
10155	  ## LD is ld it makes a PLAMLIB
10156	  ## CC just makes a GrossModule.
10157	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10158	  reload_cmds='$CC -r -o $output$reload_objs'
10159	  hardcode_direct=no
10160        ;;
10161	motorola)
10162	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10164	;;
10165      esac
10166      runpath_var='LD_RUN_PATH'
10167      hardcode_shlibpath_var=no
10168      ;;
10169
10170    sysv4.3*)
10171      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10172      hardcode_shlibpath_var=no
10173      export_dynamic_flag_spec='-Bexport'
10174      ;;
10175
10176    sysv4*MP*)
10177      if test -d /usr/nec; then
10178	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10179	hardcode_shlibpath_var=no
10180	runpath_var=LD_RUN_PATH
10181	hardcode_runpath_var=yes
10182	ld_shlibs=yes
10183      fi
10184      ;;
10185
10186    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10187      no_undefined_flag='$wl-z,text'
10188      archive_cmds_need_lc=no
10189      hardcode_shlibpath_var=no
10190      runpath_var='LD_RUN_PATH'
10191
10192      if test yes = "$GCC"; then
10193	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10194	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10195      else
10196	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198      fi
10199      ;;
10200
10201    sysv5* | sco3.2v5* | sco5v6*)
10202      # Note: We CANNOT use -z defs as we might desire, because we do not
10203      # link with -lc, and that would cause any symbols used from libc to
10204      # always be unresolved, which means just about no library would
10205      # ever link correctly.  If we're not using GNU ld we use -z text
10206      # though, which does catch some bad symbols but isn't as heavy-handed
10207      # as -z defs.
10208      no_undefined_flag='$wl-z,text'
10209      allow_undefined_flag='$wl-z,nodefs'
10210      archive_cmds_need_lc=no
10211      hardcode_shlibpath_var=no
10212      hardcode_libdir_flag_spec='$wl-R,$libdir'
10213      hardcode_libdir_separator=':'
10214      link_all_deplibs=yes
10215      export_dynamic_flag_spec='$wl-Bexport'
10216      runpath_var='LD_RUN_PATH'
10217
10218      if test yes = "$GCC"; then
10219	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10221      else
10222	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10223	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10224      fi
10225      ;;
10226
10227    uts4*)
10228      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10229      hardcode_libdir_flag_spec='-L$libdir'
10230      hardcode_shlibpath_var=no
10231      ;;
10232
10233    *)
10234      ld_shlibs=no
10235      ;;
10236    esac
10237
10238    if test sni = "$host_vendor"; then
10239      case $host in
10240      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10241	export_dynamic_flag_spec='$wl-Blargedynsym'
10242	;;
10243      esac
10244    fi
10245  fi
10246
10247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10248$as_echo "$ld_shlibs" >&6; }
10249test no = "$ld_shlibs" && can_build_shared=no
10250
10251with_gnu_ld=$with_gnu_ld
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267#
10268# Do we need to explicitly link libc?
10269#
10270case "x$archive_cmds_need_lc" in
10271x|xyes)
10272  # Assume -lc should be added
10273  archive_cmds_need_lc=yes
10274
10275  if test yes,yes = "$GCC,$enable_shared"; then
10276    case $archive_cmds in
10277    *'~'*)
10278      # FIXME: we may have to deal with multi-command sequences.
10279      ;;
10280    '$CC '*)
10281      # Test whether the compiler implicitly links with -lc since on some
10282      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10283      # to ld, don't add -lc before -lgcc.
10284      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10285$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10286if ${lt_cv_archive_cmds_need_lc+:} false; then :
10287  $as_echo_n "(cached) " >&6
10288else
10289  $RM conftest*
10290	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10291
10292	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10293  (eval $ac_compile) 2>&5
10294  ac_status=$?
10295  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10296  test $ac_status = 0; } 2>conftest.err; then
10297	  soname=conftest
10298	  lib=conftest
10299	  libobjs=conftest.$ac_objext
10300	  deplibs=
10301	  wl=$lt_prog_compiler_wl
10302	  pic_flag=$lt_prog_compiler_pic
10303	  compiler_flags=-v
10304	  linker_flags=-v
10305	  verstring=
10306	  output_objdir=.
10307	  libname=conftest
10308	  lt_save_allow_undefined_flag=$allow_undefined_flag
10309	  allow_undefined_flag=
10310	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10311  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10312  ac_status=$?
10313  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10314  test $ac_status = 0; }
10315	  then
10316	    lt_cv_archive_cmds_need_lc=no
10317	  else
10318	    lt_cv_archive_cmds_need_lc=yes
10319	  fi
10320	  allow_undefined_flag=$lt_save_allow_undefined_flag
10321	else
10322	  cat conftest.err 1>&5
10323	fi
10324	$RM conftest*
10325
10326fi
10327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10328$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10329      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10330      ;;
10331    esac
10332  fi
10333  ;;
10334esac
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10488$as_echo_n "checking dynamic linker characteristics... " >&6; }
10489
10490if test yes = "$GCC"; then
10491  case $host_os in
10492    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10493    *) lt_awk_arg='/^libraries:/' ;;
10494  esac
10495  case $host_os in
10496    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10497    *) lt_sed_strip_eq='s|=/|/|g' ;;
10498  esac
10499  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10500  case $lt_search_path_spec in
10501  *\;*)
10502    # if the path contains ";" then we assume it to be the separator
10503    # otherwise default to the standard path separator (i.e. ":") - it is
10504    # assumed that no part of a normal pathname contains ";" but that should
10505    # okay in the real world where ";" in dirpaths is itself problematic.
10506    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10507    ;;
10508  *)
10509    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10510    ;;
10511  esac
10512  # Ok, now we have the path, separated by spaces, we can step through it
10513  # and add multilib dir if necessary...
10514  lt_tmp_lt_search_path_spec=
10515  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10516  # ...but if some path component already ends with the multilib dir we assume
10517  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10518  case "$lt_multi_os_dir; $lt_search_path_spec " in
10519  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10520    lt_multi_os_dir=
10521    ;;
10522  esac
10523  for lt_sys_path in $lt_search_path_spec; do
10524    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10525      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10526    elif test -n "$lt_multi_os_dir"; then
10527      test -d "$lt_sys_path" && \
10528	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10529    fi
10530  done
10531  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10532BEGIN {RS = " "; FS = "/|\n";} {
10533  lt_foo = "";
10534  lt_count = 0;
10535  for (lt_i = NF; lt_i > 0; lt_i--) {
10536    if ($lt_i != "" && $lt_i != ".") {
10537      if ($lt_i == "..") {
10538        lt_count++;
10539      } else {
10540        if (lt_count == 0) {
10541          lt_foo = "/" $lt_i lt_foo;
10542        } else {
10543          lt_count--;
10544        }
10545      }
10546    }
10547  }
10548  if (lt_foo != "") { lt_freq[lt_foo]++; }
10549  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10550}'`
10551  # AWK program above erroneously prepends '/' to C:/dos/paths
10552  # for these hosts.
10553  case $host_os in
10554    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10555      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10556  esac
10557  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10558else
10559  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10560fi
10561library_names_spec=
10562libname_spec='lib$name'
10563soname_spec=
10564shrext_cmds=.so
10565postinstall_cmds=
10566postuninstall_cmds=
10567finish_cmds=
10568finish_eval=
10569shlibpath_var=
10570shlibpath_overrides_runpath=unknown
10571version_type=none
10572dynamic_linker="$host_os ld.so"
10573sys_lib_dlsearch_path_spec="/lib /usr/lib"
10574need_lib_prefix=unknown
10575hardcode_into_libs=no
10576
10577# when you set need_version to no, make sure it does not cause -set_version
10578# flags to be left without arguments
10579need_version=unknown
10580
10581
10582
10583case $host_os in
10584aix3*)
10585  version_type=linux # correct to gnu/linux during the next big refactor
10586  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10587  shlibpath_var=LIBPATH
10588
10589  # AIX 3 has no versioning support, so we append a major version to the name.
10590  soname_spec='$libname$release$shared_ext$major'
10591  ;;
10592
10593aix[4-9]*)
10594  version_type=linux # correct to gnu/linux during the next big refactor
10595  need_lib_prefix=no
10596  need_version=no
10597  hardcode_into_libs=yes
10598  if test ia64 = "$host_cpu"; then
10599    # AIX 5 supports IA64
10600    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10601    shlibpath_var=LD_LIBRARY_PATH
10602  else
10603    # With GCC up to 2.95.x, collect2 would create an import file
10604    # for dependence libraries.  The import file would start with
10605    # the line '#! .'.  This would cause the generated library to
10606    # depend on '.', always an invalid library.  This was fixed in
10607    # development snapshots of GCC prior to 3.0.
10608    case $host_os in
10609      aix4 | aix4.[01] | aix4.[01].*)
10610      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10611	   echo ' yes '
10612	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10613	:
10614      else
10615	can_build_shared=no
10616      fi
10617      ;;
10618    esac
10619    # Using Import Files as archive members, it is possible to support
10620    # filename-based versioning of shared library archives on AIX. While
10621    # this would work for both with and without runtime linking, it will
10622    # prevent static linking of such archives. So we do filename-based
10623    # shared library versioning with .so extension only, which is used
10624    # when both runtime linking and shared linking is enabled.
10625    # Unfortunately, runtime linking may impact performance, so we do
10626    # not want this to be the default eventually. Also, we use the
10627    # versioned .so libs for executables only if there is the -brtl
10628    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10629    # To allow for filename-based versioning support, we need to create
10630    # libNAME.so.V as an archive file, containing:
10631    # *) an Import File, referring to the versioned filename of the
10632    #    archive as well as the shared archive member, telling the
10633    #    bitwidth (32 or 64) of that shared object, and providing the
10634    #    list of exported symbols of that shared object, eventually
10635    #    decorated with the 'weak' keyword
10636    # *) the shared object with the F_LOADONLY flag set, to really avoid
10637    #    it being seen by the linker.
10638    # At run time we better use the real file rather than another symlink,
10639    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10640
10641    case $with_aix_soname,$aix_use_runtimelinking in
10642    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10643    # soname into executable. Probably we can add versioning support to
10644    # collect2, so additional links can be useful in future.
10645    aix,yes) # traditional libtool
10646      dynamic_linker='AIX unversionable lib.so'
10647      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10648      # instead of lib<name>.a to let people know that these are not
10649      # typical AIX shared libraries.
10650      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10651      ;;
10652    aix,no) # traditional AIX only
10653      dynamic_linker='AIX lib.a(lib.so.V)'
10654      # We preserve .a as extension for shared libraries through AIX4.2
10655      # and later when we are not doing run time linking.
10656      library_names_spec='$libname$release.a $libname.a'
10657      soname_spec='$libname$release$shared_ext$major'
10658      ;;
10659    svr4,*) # full svr4 only
10660      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10661      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10662      # We do not specify a path in Import Files, so LIBPATH fires.
10663      shlibpath_overrides_runpath=yes
10664      ;;
10665    *,yes) # both, prefer svr4
10666      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10667      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10668      # unpreferred sharedlib libNAME.a needs extra handling
10669      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10670      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10671      # We do not specify a path in Import Files, so LIBPATH fires.
10672      shlibpath_overrides_runpath=yes
10673      ;;
10674    *,no) # both, prefer aix
10675      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10676      library_names_spec='$libname$release.a $libname.a'
10677      soname_spec='$libname$release$shared_ext$major'
10678      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10679      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10680      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10681      ;;
10682    esac
10683    shlibpath_var=LIBPATH
10684  fi
10685  ;;
10686
10687amigaos*)
10688  case $host_cpu in
10689  powerpc)
10690    # Since July 2007 AmigaOS4 officially supports .so libraries.
10691    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10692    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10693    ;;
10694  m68k)
10695    library_names_spec='$libname.ixlibrary $libname.a'
10696    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10697    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10698    ;;
10699  esac
10700  ;;
10701
10702beos*)
10703  library_names_spec='$libname$shared_ext'
10704  dynamic_linker="$host_os ld.so"
10705  shlibpath_var=LIBRARY_PATH
10706  ;;
10707
10708bsdi[45]*)
10709  version_type=linux # correct to gnu/linux during the next big refactor
10710  need_version=no
10711  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10712  soname_spec='$libname$release$shared_ext$major'
10713  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10714  shlibpath_var=LD_LIBRARY_PATH
10715  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10716  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10717  # the default ld.so.conf also contains /usr/contrib/lib and
10718  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10719  # libtool to hard-code these into programs
10720  ;;
10721
10722cygwin* | mingw* | pw32* | cegcc*)
10723  version_type=windows
10724  shrext_cmds=.dll
10725  need_version=no
10726  need_lib_prefix=no
10727
10728  case $GCC,$cc_basename in
10729  yes,*)
10730    # gcc
10731    library_names_spec='$libname.dll.a'
10732    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10733    postinstall_cmds='base_file=`basename \$file`~
10734      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10735      dldir=$destdir/`dirname \$dlpath`~
10736      test -d \$dldir || mkdir -p \$dldir~
10737      $install_prog $dir/$dlname \$dldir/$dlname~
10738      chmod a+x \$dldir/$dlname~
10739      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10740        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10741      fi'
10742    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10743      dlpath=$dir/\$dldll~
10744       $RM \$dlpath'
10745    shlibpath_overrides_runpath=yes
10746
10747    case $host_os in
10748    cygwin*)
10749      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10750      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10751
10752      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10753      ;;
10754    mingw* | cegcc*)
10755      # MinGW DLLs use traditional 'lib' prefix
10756      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10757      ;;
10758    pw32*)
10759      # pw32 DLLs use 'pw' prefix rather than 'lib'
10760      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10761      ;;
10762    esac
10763    dynamic_linker='Win32 ld.exe'
10764    ;;
10765
10766  *,cl*)
10767    # Native MSVC
10768    libname_spec='$name'
10769    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10770    library_names_spec='$libname.dll.lib'
10771
10772    case $build_os in
10773    mingw*)
10774      sys_lib_search_path_spec=
10775      lt_save_ifs=$IFS
10776      IFS=';'
10777      for lt_path in $LIB
10778      do
10779        IFS=$lt_save_ifs
10780        # Let DOS variable expansion print the short 8.3 style file name.
10781        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10782        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10783      done
10784      IFS=$lt_save_ifs
10785      # Convert to MSYS style.
10786      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10787      ;;
10788    cygwin*)
10789      # Convert to unix form, then to dos form, then back to unix form
10790      # but this time dos style (no spaces!) so that the unix form looks
10791      # like /cygdrive/c/PROGRA~1:/cygdr...
10792      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10793      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10794      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10795      ;;
10796    *)
10797      sys_lib_search_path_spec=$LIB
10798      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10799        # It is most probably a Windows format PATH.
10800        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10801      else
10802        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10803      fi
10804      # FIXME: find the short name or the path components, as spaces are
10805      # common. (e.g. "Program Files" -> "PROGRA~1")
10806      ;;
10807    esac
10808
10809    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10810    postinstall_cmds='base_file=`basename \$file`~
10811      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10812      dldir=$destdir/`dirname \$dlpath`~
10813      test -d \$dldir || mkdir -p \$dldir~
10814      $install_prog $dir/$dlname \$dldir/$dlname'
10815    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10816      dlpath=$dir/\$dldll~
10817       $RM \$dlpath'
10818    shlibpath_overrides_runpath=yes
10819    dynamic_linker='Win32 link.exe'
10820    ;;
10821
10822  *)
10823    # Assume MSVC wrapper
10824    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10825    dynamic_linker='Win32 ld.exe'
10826    ;;
10827  esac
10828  # FIXME: first we should search . and the directory the executable is in
10829  shlibpath_var=PATH
10830  ;;
10831
10832darwin* | rhapsody*)
10833  dynamic_linker="$host_os dyld"
10834  version_type=darwin
10835  need_lib_prefix=no
10836  need_version=no
10837  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10838  soname_spec='$libname$release$major$shared_ext'
10839  shlibpath_overrides_runpath=yes
10840  shlibpath_var=DYLD_LIBRARY_PATH
10841  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10842
10843  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10844  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10845  ;;
10846
10847dgux*)
10848  version_type=linux # correct to gnu/linux during the next big refactor
10849  need_lib_prefix=no
10850  need_version=no
10851  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10852  soname_spec='$libname$release$shared_ext$major'
10853  shlibpath_var=LD_LIBRARY_PATH
10854  ;;
10855
10856freebsd* | dragonfly*)
10857  # DragonFly does not have aout.  When/if they implement a new
10858  # versioning mechanism, adjust this.
10859  if test -x /usr/bin/objformat; then
10860    objformat=`/usr/bin/objformat`
10861  else
10862    case $host_os in
10863    freebsd[23].*) objformat=aout ;;
10864    *) objformat=elf ;;
10865    esac
10866  fi
10867  version_type=freebsd-$objformat
10868  case $version_type in
10869    freebsd-elf*)
10870      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10871      soname_spec='$libname$release$shared_ext$major'
10872      need_version=no
10873      need_lib_prefix=no
10874      ;;
10875    freebsd-*)
10876      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10877      need_version=yes
10878      ;;
10879  esac
10880  shlibpath_var=LD_LIBRARY_PATH
10881  case $host_os in
10882  freebsd2.*)
10883    shlibpath_overrides_runpath=yes
10884    ;;
10885  freebsd3.[01]* | freebsdelf3.[01]*)
10886    shlibpath_overrides_runpath=yes
10887    hardcode_into_libs=yes
10888    ;;
10889  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10890  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10891    shlibpath_overrides_runpath=no
10892    hardcode_into_libs=yes
10893    ;;
10894  *) # from 4.6 on, and DragonFly
10895    shlibpath_overrides_runpath=yes
10896    hardcode_into_libs=yes
10897    ;;
10898  esac
10899  ;;
10900
10901haiku*)
10902  version_type=linux # correct to gnu/linux during the next big refactor
10903  need_lib_prefix=no
10904  need_version=no
10905  dynamic_linker="$host_os runtime_loader"
10906  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10907  soname_spec='$libname$release$shared_ext$major'
10908  shlibpath_var=LIBRARY_PATH
10909  shlibpath_overrides_runpath=no
10910  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10911  hardcode_into_libs=yes
10912  ;;
10913
10914hpux9* | hpux10* | hpux11*)
10915  # Give a soname corresponding to the major version so that dld.sl refuses to
10916  # link against other versions.
10917  version_type=sunos
10918  need_lib_prefix=no
10919  need_version=no
10920  case $host_cpu in
10921  ia64*)
10922    shrext_cmds='.so'
10923    hardcode_into_libs=yes
10924    dynamic_linker="$host_os dld.so"
10925    shlibpath_var=LD_LIBRARY_PATH
10926    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10927    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10928    soname_spec='$libname$release$shared_ext$major'
10929    if test 32 = "$HPUX_IA64_MODE"; then
10930      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10931      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10932    else
10933      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10934      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10935    fi
10936    ;;
10937  hppa*64*)
10938    shrext_cmds='.sl'
10939    hardcode_into_libs=yes
10940    dynamic_linker="$host_os dld.sl"
10941    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10942    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10943    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10944    soname_spec='$libname$release$shared_ext$major'
10945    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10946    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10947    ;;
10948  *)
10949    shrext_cmds='.sl'
10950    dynamic_linker="$host_os dld.sl"
10951    shlibpath_var=SHLIB_PATH
10952    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10953    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10954    soname_spec='$libname$release$shared_ext$major'
10955    ;;
10956  esac
10957  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10958  postinstall_cmds='chmod 555 $lib'
10959  # or fails outright, so override atomically:
10960  install_override_mode=555
10961  ;;
10962
10963interix[3-9]*)
10964  version_type=linux # correct to gnu/linux during the next big refactor
10965  need_lib_prefix=no
10966  need_version=no
10967  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10968  soname_spec='$libname$release$shared_ext$major'
10969  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10970  shlibpath_var=LD_LIBRARY_PATH
10971  shlibpath_overrides_runpath=no
10972  hardcode_into_libs=yes
10973  ;;
10974
10975irix5* | irix6* | nonstopux*)
10976  case $host_os in
10977    nonstopux*) version_type=nonstopux ;;
10978    *)
10979	if test yes = "$lt_cv_prog_gnu_ld"; then
10980		version_type=linux # correct to gnu/linux during the next big refactor
10981	else
10982		version_type=irix
10983	fi ;;
10984  esac
10985  need_lib_prefix=no
10986  need_version=no
10987  soname_spec='$libname$release$shared_ext$major'
10988  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10989  case $host_os in
10990  irix5* | nonstopux*)
10991    libsuff= shlibsuff=
10992    ;;
10993  *)
10994    case $LD in # libtool.m4 will add one of these switches to LD
10995    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10996      libsuff= shlibsuff= libmagic=32-bit;;
10997    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10998      libsuff=32 shlibsuff=N32 libmagic=N32;;
10999    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11000      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11001    *) libsuff= shlibsuff= libmagic=never-match;;
11002    esac
11003    ;;
11004  esac
11005  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11006  shlibpath_overrides_runpath=no
11007  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11008  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11009  hardcode_into_libs=yes
11010  ;;
11011
11012# No shared lib support for Linux oldld, aout, or coff.
11013linux*oldld* | linux*aout* | linux*coff*)
11014  dynamic_linker=no
11015  ;;
11016
11017linux*android*)
11018  version_type=none # Android doesn't support versioned libraries.
11019  need_lib_prefix=no
11020  need_version=no
11021  library_names_spec='$libname$release$shared_ext'
11022  soname_spec='$libname$release$shared_ext'
11023  finish_cmds=
11024  shlibpath_var=LD_LIBRARY_PATH
11025  shlibpath_overrides_runpath=yes
11026
11027  # This implies no fast_install, which is unacceptable.
11028  # Some rework will be needed to allow for fast_install
11029  # before this can be enabled.
11030  hardcode_into_libs=yes
11031
11032  dynamic_linker='Android linker'
11033  # Don't embed -rpath directories since the linker doesn't support them.
11034  hardcode_libdir_flag_spec='-L$libdir'
11035  ;;
11036
11037# This must be glibc/ELF.
11038linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11039  version_type=linux # correct to gnu/linux during the next big refactor
11040  need_lib_prefix=no
11041  need_version=no
11042  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11043  soname_spec='$libname$release$shared_ext$major'
11044  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11045  shlibpath_var=LD_LIBRARY_PATH
11046  shlibpath_overrides_runpath=no
11047
11048  # Some binutils ld are patched to set DT_RUNPATH
11049  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11050  $as_echo_n "(cached) " >&6
11051else
11052  lt_cv_shlibpath_overrides_runpath=no
11053    save_LDFLAGS=$LDFLAGS
11054    save_libdir=$libdir
11055    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11056	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11057    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058/* end confdefs.h.  */
11059
11060int
11061main ()
11062{
11063
11064  ;
11065  return 0;
11066}
11067_ACEOF
11068if ac_fn_c_try_link "$LINENO"; then :
11069  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11070  lt_cv_shlibpath_overrides_runpath=yes
11071fi
11072fi
11073rm -f core conftest.err conftest.$ac_objext \
11074    conftest$ac_exeext conftest.$ac_ext
11075    LDFLAGS=$save_LDFLAGS
11076    libdir=$save_libdir
11077
11078fi
11079
11080  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11081
11082  # This implies no fast_install, which is unacceptable.
11083  # Some rework will be needed to allow for fast_install
11084  # before this can be enabled.
11085  hardcode_into_libs=yes
11086
11087  # Ideally, we could use ldconfig to report *all* directores which are
11088  # searched for libraries, however this is still not possible.  Aside from not
11089  # being certain /sbin/ldconfig is available, command
11090  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11091  # even though it is searched at run-time.  Try to do the best guess by
11092  # appending ld.so.conf contents (and includes) to the search path.
11093  if test -f /etc/ld.so.conf; then
11094    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11095    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11096  fi
11097
11098  # We used to test for /lib/ld.so.1 and disable shared libraries on
11099  # powerpc, because MkLinux only supported shared libraries with the
11100  # GNU dynamic linker.  Since this was broken with cross compilers,
11101  # most powerpc-linux boxes support dynamic linking these days and
11102  # people can always --disable-shared, the test was removed, and we
11103  # assume the GNU/Linux dynamic linker is in use.
11104  dynamic_linker='GNU/Linux ld.so'
11105  ;;
11106
11107netbsdelf*-gnu)
11108  version_type=linux
11109  need_lib_prefix=no
11110  need_version=no
11111  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11112  soname_spec='${libname}${release}${shared_ext}$major'
11113  shlibpath_var=LD_LIBRARY_PATH
11114  shlibpath_overrides_runpath=no
11115  hardcode_into_libs=yes
11116  dynamic_linker='NetBSD ld.elf_so'
11117  ;;
11118
11119netbsd*)
11120  version_type=sunos
11121  need_lib_prefix=no
11122  need_version=no
11123  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11124    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11125    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11126    dynamic_linker='NetBSD (a.out) ld.so'
11127  else
11128    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11129    soname_spec='$libname$release$shared_ext$major'
11130    dynamic_linker='NetBSD ld.elf_so'
11131  fi
11132  shlibpath_var=LD_LIBRARY_PATH
11133  shlibpath_overrides_runpath=yes
11134  hardcode_into_libs=yes
11135  ;;
11136
11137newsos6)
11138  version_type=linux # correct to gnu/linux during the next big refactor
11139  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11140  shlibpath_var=LD_LIBRARY_PATH
11141  shlibpath_overrides_runpath=yes
11142  ;;
11143
11144*nto* | *qnx*)
11145  version_type=qnx
11146  need_lib_prefix=no
11147  need_version=no
11148  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11149  soname_spec='$libname$release$shared_ext$major'
11150  shlibpath_var=LD_LIBRARY_PATH
11151  shlibpath_overrides_runpath=no
11152  hardcode_into_libs=yes
11153  dynamic_linker='ldqnx.so'
11154  ;;
11155
11156openbsd* | bitrig*)
11157  version_type=sunos
11158  sys_lib_dlsearch_path_spec=/usr/lib
11159  need_lib_prefix=no
11160  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11161    need_version=no
11162  else
11163    need_version=yes
11164  fi
11165  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11166  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11167  shlibpath_var=LD_LIBRARY_PATH
11168  shlibpath_overrides_runpath=yes
11169  ;;
11170
11171os2*)
11172  libname_spec='$name'
11173  version_type=windows
11174  shrext_cmds=.dll
11175  need_version=no
11176  need_lib_prefix=no
11177  # OS/2 can only load a DLL with a base name of 8 characters or less.
11178  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11179    v=$($ECHO $release$versuffix | tr -d .-);
11180    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11181    $ECHO $n$v`$shared_ext'
11182  library_names_spec='${libname}_dll.$libext'
11183  dynamic_linker='OS/2 ld.exe'
11184  shlibpath_var=BEGINLIBPATH
11185  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11186  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11187  postinstall_cmds='base_file=`basename \$file`~
11188    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11189    dldir=$destdir/`dirname \$dlpath`~
11190    test -d \$dldir || mkdir -p \$dldir~
11191    $install_prog $dir/$dlname \$dldir/$dlname~
11192    chmod a+x \$dldir/$dlname~
11193    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11194      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11195    fi'
11196  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11197    dlpath=$dir/\$dldll~
11198    $RM \$dlpath'
11199  ;;
11200
11201osf3* | osf4* | osf5*)
11202  version_type=osf
11203  need_lib_prefix=no
11204  need_version=no
11205  soname_spec='$libname$release$shared_ext$major'
11206  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11207  shlibpath_var=LD_LIBRARY_PATH
11208  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11209  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11210  ;;
11211
11212rdos*)
11213  dynamic_linker=no
11214  ;;
11215
11216solaris*)
11217  version_type=linux # correct to gnu/linux during the next big refactor
11218  need_lib_prefix=no
11219  need_version=no
11220  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11221  soname_spec='$libname$release$shared_ext$major'
11222  shlibpath_var=LD_LIBRARY_PATH
11223  shlibpath_overrides_runpath=yes
11224  hardcode_into_libs=yes
11225  # ldd complains unless libraries are executable
11226  postinstall_cmds='chmod +x $lib'
11227  ;;
11228
11229sunos4*)
11230  version_type=sunos
11231  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11232  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11233  shlibpath_var=LD_LIBRARY_PATH
11234  shlibpath_overrides_runpath=yes
11235  if test yes = "$with_gnu_ld"; then
11236    need_lib_prefix=no
11237  fi
11238  need_version=yes
11239  ;;
11240
11241sysv4 | sysv4.3*)
11242  version_type=linux # correct to gnu/linux during the next big refactor
11243  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11244  soname_spec='$libname$release$shared_ext$major'
11245  shlibpath_var=LD_LIBRARY_PATH
11246  case $host_vendor in
11247    sni)
11248      shlibpath_overrides_runpath=no
11249      need_lib_prefix=no
11250      runpath_var=LD_RUN_PATH
11251      ;;
11252    siemens)
11253      need_lib_prefix=no
11254      ;;
11255    motorola)
11256      need_lib_prefix=no
11257      need_version=no
11258      shlibpath_overrides_runpath=no
11259      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11260      ;;
11261  esac
11262  ;;
11263
11264sysv4*MP*)
11265  if test -d /usr/nec; then
11266    version_type=linux # correct to gnu/linux during the next big refactor
11267    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11268    soname_spec='$libname$shared_ext.$major'
11269    shlibpath_var=LD_LIBRARY_PATH
11270  fi
11271  ;;
11272
11273sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11274  version_type=sco
11275  need_lib_prefix=no
11276  need_version=no
11277  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11278  soname_spec='$libname$release$shared_ext$major'
11279  shlibpath_var=LD_LIBRARY_PATH
11280  shlibpath_overrides_runpath=yes
11281  hardcode_into_libs=yes
11282  if test yes = "$with_gnu_ld"; then
11283    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11284  else
11285    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11286    case $host_os in
11287      sco3.2v5*)
11288        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11289	;;
11290    esac
11291  fi
11292  sys_lib_dlsearch_path_spec='/usr/lib'
11293  ;;
11294
11295tpf*)
11296  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11297  version_type=linux # correct to gnu/linux during the next big refactor
11298  need_lib_prefix=no
11299  need_version=no
11300  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11301  shlibpath_var=LD_LIBRARY_PATH
11302  shlibpath_overrides_runpath=no
11303  hardcode_into_libs=yes
11304  ;;
11305
11306uts4*)
11307  version_type=linux # correct to gnu/linux during the next big refactor
11308  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11309  soname_spec='$libname$release$shared_ext$major'
11310  shlibpath_var=LD_LIBRARY_PATH
11311  ;;
11312
11313*)
11314  dynamic_linker=no
11315  ;;
11316esac
11317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11318$as_echo "$dynamic_linker" >&6; }
11319test no = "$dynamic_linker" && can_build_shared=no
11320
11321variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11322if test yes = "$GCC"; then
11323  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11324fi
11325
11326if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11327  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11328fi
11329
11330if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11331  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11332fi
11333
11334# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11335configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11336
11337# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11338func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11339
11340# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11341configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11440$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11441hardcode_action=
11442if test -n "$hardcode_libdir_flag_spec" ||
11443   test -n "$runpath_var" ||
11444   test yes = "$hardcode_automatic"; then
11445
11446  # We can hardcode non-existent directories.
11447  if test no != "$hardcode_direct" &&
11448     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11449     # have to relink, otherwise we might link with an installed library
11450     # when we should be linking with a yet-to-be-installed one
11451     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11452     test no != "$hardcode_minus_L"; then
11453    # Linking always hardcodes the temporary library directory.
11454    hardcode_action=relink
11455  else
11456    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11457    hardcode_action=immediate
11458  fi
11459else
11460  # We cannot hardcode anything, or else we can only hardcode existing
11461  # directories.
11462  hardcode_action=unsupported
11463fi
11464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11465$as_echo "$hardcode_action" >&6; }
11466
11467if test relink = "$hardcode_action" ||
11468   test yes = "$inherit_rpath"; then
11469  # Fast installation is not supported
11470  enable_fast_install=no
11471elif test yes = "$shlibpath_overrides_runpath" ||
11472     test no = "$enable_shared"; then
11473  # Fast installation is not necessary
11474  enable_fast_install=needless
11475fi
11476
11477
11478
11479
11480
11481
11482  if test yes != "$enable_dlopen"; then
11483  enable_dlopen=unknown
11484  enable_dlopen_self=unknown
11485  enable_dlopen_self_static=unknown
11486else
11487  lt_cv_dlopen=no
11488  lt_cv_dlopen_libs=
11489
11490  case $host_os in
11491  beos*)
11492    lt_cv_dlopen=load_add_on
11493    lt_cv_dlopen_libs=
11494    lt_cv_dlopen_self=yes
11495    ;;
11496
11497  mingw* | pw32* | cegcc*)
11498    lt_cv_dlopen=LoadLibrary
11499    lt_cv_dlopen_libs=
11500    ;;
11501
11502  cygwin*)
11503    lt_cv_dlopen=dlopen
11504    lt_cv_dlopen_libs=
11505    ;;
11506
11507  darwin*)
11508    # if libdl is installed we need to link against it
11509    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11510$as_echo_n "checking for dlopen in -ldl... " >&6; }
11511if ${ac_cv_lib_dl_dlopen+:} false; then :
11512  $as_echo_n "(cached) " >&6
11513else
11514  ac_check_lib_save_LIBS=$LIBS
11515LIBS="-ldl  $LIBS"
11516cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517/* end confdefs.h.  */
11518
11519/* Override any GCC internal prototype to avoid an error.
11520   Use char because int might match the return type of a GCC
11521   builtin and then its argument prototype would still apply.  */
11522#ifdef __cplusplus
11523extern "C"
11524#endif
11525char dlopen ();
11526int
11527main ()
11528{
11529return dlopen ();
11530  ;
11531  return 0;
11532}
11533_ACEOF
11534if ac_fn_c_try_link "$LINENO"; then :
11535  ac_cv_lib_dl_dlopen=yes
11536else
11537  ac_cv_lib_dl_dlopen=no
11538fi
11539rm -f core conftest.err conftest.$ac_objext \
11540    conftest$ac_exeext conftest.$ac_ext
11541LIBS=$ac_check_lib_save_LIBS
11542fi
11543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11544$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11545if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11546  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11547else
11548
11549    lt_cv_dlopen=dyld
11550    lt_cv_dlopen_libs=
11551    lt_cv_dlopen_self=yes
11552
11553fi
11554
11555    ;;
11556
11557  tpf*)
11558    # Don't try to run any link tests for TPF.  We know it's impossible
11559    # because TPF is a cross-compiler, and we know how we open DSOs.
11560    lt_cv_dlopen=dlopen
11561    lt_cv_dlopen_libs=
11562    lt_cv_dlopen_self=no
11563    ;;
11564
11565  *)
11566    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11567if test "x$ac_cv_func_shl_load" = xyes; then :
11568  lt_cv_dlopen=shl_load
11569else
11570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11571$as_echo_n "checking for shl_load in -ldld... " >&6; }
11572if ${ac_cv_lib_dld_shl_load+:} false; then :
11573  $as_echo_n "(cached) " >&6
11574else
11575  ac_check_lib_save_LIBS=$LIBS
11576LIBS="-ldld  $LIBS"
11577cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578/* end confdefs.h.  */
11579
11580/* Override any GCC internal prototype to avoid an error.
11581   Use char because int might match the return type of a GCC
11582   builtin and then its argument prototype would still apply.  */
11583#ifdef __cplusplus
11584extern "C"
11585#endif
11586char shl_load ();
11587int
11588main ()
11589{
11590return shl_load ();
11591  ;
11592  return 0;
11593}
11594_ACEOF
11595if ac_fn_c_try_link "$LINENO"; then :
11596  ac_cv_lib_dld_shl_load=yes
11597else
11598  ac_cv_lib_dld_shl_load=no
11599fi
11600rm -f core conftest.err conftest.$ac_objext \
11601    conftest$ac_exeext conftest.$ac_ext
11602LIBS=$ac_check_lib_save_LIBS
11603fi
11604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11605$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11606if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11607  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11608else
11609  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11610if test "x$ac_cv_func_dlopen" = xyes; then :
11611  lt_cv_dlopen=dlopen
11612else
11613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11614$as_echo_n "checking for dlopen in -ldl... " >&6; }
11615if ${ac_cv_lib_dl_dlopen+:} false; then :
11616  $as_echo_n "(cached) " >&6
11617else
11618  ac_check_lib_save_LIBS=$LIBS
11619LIBS="-ldl  $LIBS"
11620cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621/* end confdefs.h.  */
11622
11623/* Override any GCC internal prototype to avoid an error.
11624   Use char because int might match the return type of a GCC
11625   builtin and then its argument prototype would still apply.  */
11626#ifdef __cplusplus
11627extern "C"
11628#endif
11629char dlopen ();
11630int
11631main ()
11632{
11633return dlopen ();
11634  ;
11635  return 0;
11636}
11637_ACEOF
11638if ac_fn_c_try_link "$LINENO"; then :
11639  ac_cv_lib_dl_dlopen=yes
11640else
11641  ac_cv_lib_dl_dlopen=no
11642fi
11643rm -f core conftest.err conftest.$ac_objext \
11644    conftest$ac_exeext conftest.$ac_ext
11645LIBS=$ac_check_lib_save_LIBS
11646fi
11647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11648$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11649if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11650  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11651else
11652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11653$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11654if ${ac_cv_lib_svld_dlopen+:} false; then :
11655  $as_echo_n "(cached) " >&6
11656else
11657  ac_check_lib_save_LIBS=$LIBS
11658LIBS="-lsvld  $LIBS"
11659cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660/* end confdefs.h.  */
11661
11662/* Override any GCC internal prototype to avoid an error.
11663   Use char because int might match the return type of a GCC
11664   builtin and then its argument prototype would still apply.  */
11665#ifdef __cplusplus
11666extern "C"
11667#endif
11668char dlopen ();
11669int
11670main ()
11671{
11672return dlopen ();
11673  ;
11674  return 0;
11675}
11676_ACEOF
11677if ac_fn_c_try_link "$LINENO"; then :
11678  ac_cv_lib_svld_dlopen=yes
11679else
11680  ac_cv_lib_svld_dlopen=no
11681fi
11682rm -f core conftest.err conftest.$ac_objext \
11683    conftest$ac_exeext conftest.$ac_ext
11684LIBS=$ac_check_lib_save_LIBS
11685fi
11686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11687$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11688if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11689  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11690else
11691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11692$as_echo_n "checking for dld_link in -ldld... " >&6; }
11693if ${ac_cv_lib_dld_dld_link+:} false; then :
11694  $as_echo_n "(cached) " >&6
11695else
11696  ac_check_lib_save_LIBS=$LIBS
11697LIBS="-ldld  $LIBS"
11698cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11699/* end confdefs.h.  */
11700
11701/* Override any GCC internal prototype to avoid an error.
11702   Use char because int might match the return type of a GCC
11703   builtin and then its argument prototype would still apply.  */
11704#ifdef __cplusplus
11705extern "C"
11706#endif
11707char dld_link ();
11708int
11709main ()
11710{
11711return dld_link ();
11712  ;
11713  return 0;
11714}
11715_ACEOF
11716if ac_fn_c_try_link "$LINENO"; then :
11717  ac_cv_lib_dld_dld_link=yes
11718else
11719  ac_cv_lib_dld_dld_link=no
11720fi
11721rm -f core conftest.err conftest.$ac_objext \
11722    conftest$ac_exeext conftest.$ac_ext
11723LIBS=$ac_check_lib_save_LIBS
11724fi
11725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11726$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11727if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11728  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11729fi
11730
11731
11732fi
11733
11734
11735fi
11736
11737
11738fi
11739
11740
11741fi
11742
11743
11744fi
11745
11746    ;;
11747  esac
11748
11749  if test no = "$lt_cv_dlopen"; then
11750    enable_dlopen=no
11751  else
11752    enable_dlopen=yes
11753  fi
11754
11755  case $lt_cv_dlopen in
11756  dlopen)
11757    save_CPPFLAGS=$CPPFLAGS
11758    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11759
11760    save_LDFLAGS=$LDFLAGS
11761    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11762
11763    save_LIBS=$LIBS
11764    LIBS="$lt_cv_dlopen_libs $LIBS"
11765
11766    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11767$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11768if ${lt_cv_dlopen_self+:} false; then :
11769  $as_echo_n "(cached) " >&6
11770else
11771  	  if test yes = "$cross_compiling"; then :
11772  lt_cv_dlopen_self=cross
11773else
11774  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11775  lt_status=$lt_dlunknown
11776  cat > conftest.$ac_ext <<_LT_EOF
11777#line $LINENO "configure"
11778#include "confdefs.h"
11779
11780#if HAVE_DLFCN_H
11781#include <dlfcn.h>
11782#endif
11783
11784#include <stdio.h>
11785
11786#ifdef RTLD_GLOBAL
11787#  define LT_DLGLOBAL		RTLD_GLOBAL
11788#else
11789#  ifdef DL_GLOBAL
11790#    define LT_DLGLOBAL		DL_GLOBAL
11791#  else
11792#    define LT_DLGLOBAL		0
11793#  endif
11794#endif
11795
11796/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11797   find out it does not work in some platform. */
11798#ifndef LT_DLLAZY_OR_NOW
11799#  ifdef RTLD_LAZY
11800#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11801#  else
11802#    ifdef DL_LAZY
11803#      define LT_DLLAZY_OR_NOW		DL_LAZY
11804#    else
11805#      ifdef RTLD_NOW
11806#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11807#      else
11808#        ifdef DL_NOW
11809#          define LT_DLLAZY_OR_NOW	DL_NOW
11810#        else
11811#          define LT_DLLAZY_OR_NOW	0
11812#        endif
11813#      endif
11814#    endif
11815#  endif
11816#endif
11817
11818/* When -fvisibility=hidden is used, assume the code has been annotated
11819   correspondingly for the symbols needed.  */
11820#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11821int fnord () __attribute__((visibility("default")));
11822#endif
11823
11824int fnord () { return 42; }
11825int main ()
11826{
11827  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11828  int status = $lt_dlunknown;
11829
11830  if (self)
11831    {
11832      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11833      else
11834        {
11835	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11836          else puts (dlerror ());
11837	}
11838      /* dlclose (self); */
11839    }
11840  else
11841    puts (dlerror ());
11842
11843  return status;
11844}
11845_LT_EOF
11846  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11847  (eval $ac_link) 2>&5
11848  ac_status=$?
11849  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11850  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11851    (./conftest; exit; ) >&5 2>/dev/null
11852    lt_status=$?
11853    case x$lt_status in
11854      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11855      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11856      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11857    esac
11858  else :
11859    # compilation failed
11860    lt_cv_dlopen_self=no
11861  fi
11862fi
11863rm -fr conftest*
11864
11865
11866fi
11867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11868$as_echo "$lt_cv_dlopen_self" >&6; }
11869
11870    if test yes = "$lt_cv_dlopen_self"; then
11871      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11872      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11873$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11874if ${lt_cv_dlopen_self_static+:} false; then :
11875  $as_echo_n "(cached) " >&6
11876else
11877  	  if test yes = "$cross_compiling"; then :
11878  lt_cv_dlopen_self_static=cross
11879else
11880  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11881  lt_status=$lt_dlunknown
11882  cat > conftest.$ac_ext <<_LT_EOF
11883#line $LINENO "configure"
11884#include "confdefs.h"
11885
11886#if HAVE_DLFCN_H
11887#include <dlfcn.h>
11888#endif
11889
11890#include <stdio.h>
11891
11892#ifdef RTLD_GLOBAL
11893#  define LT_DLGLOBAL		RTLD_GLOBAL
11894#else
11895#  ifdef DL_GLOBAL
11896#    define LT_DLGLOBAL		DL_GLOBAL
11897#  else
11898#    define LT_DLGLOBAL		0
11899#  endif
11900#endif
11901
11902/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11903   find out it does not work in some platform. */
11904#ifndef LT_DLLAZY_OR_NOW
11905#  ifdef RTLD_LAZY
11906#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11907#  else
11908#    ifdef DL_LAZY
11909#      define LT_DLLAZY_OR_NOW		DL_LAZY
11910#    else
11911#      ifdef RTLD_NOW
11912#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11913#      else
11914#        ifdef DL_NOW
11915#          define LT_DLLAZY_OR_NOW	DL_NOW
11916#        else
11917#          define LT_DLLAZY_OR_NOW	0
11918#        endif
11919#      endif
11920#    endif
11921#  endif
11922#endif
11923
11924/* When -fvisibility=hidden is used, assume the code has been annotated
11925   correspondingly for the symbols needed.  */
11926#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11927int fnord () __attribute__((visibility("default")));
11928#endif
11929
11930int fnord () { return 42; }
11931int main ()
11932{
11933  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11934  int status = $lt_dlunknown;
11935
11936  if (self)
11937    {
11938      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11939      else
11940        {
11941	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11942          else puts (dlerror ());
11943	}
11944      /* dlclose (self); */
11945    }
11946  else
11947    puts (dlerror ());
11948
11949  return status;
11950}
11951_LT_EOF
11952  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11953  (eval $ac_link) 2>&5
11954  ac_status=$?
11955  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11956  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11957    (./conftest; exit; ) >&5 2>/dev/null
11958    lt_status=$?
11959    case x$lt_status in
11960      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11961      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11962      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11963    esac
11964  else :
11965    # compilation failed
11966    lt_cv_dlopen_self_static=no
11967  fi
11968fi
11969rm -fr conftest*
11970
11971
11972fi
11973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11974$as_echo "$lt_cv_dlopen_self_static" >&6; }
11975    fi
11976
11977    CPPFLAGS=$save_CPPFLAGS
11978    LDFLAGS=$save_LDFLAGS
11979    LIBS=$save_LIBS
11980    ;;
11981  esac
11982
11983  case $lt_cv_dlopen_self in
11984  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11985  *) enable_dlopen_self=unknown ;;
11986  esac
11987
11988  case $lt_cv_dlopen_self_static in
11989  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11990  *) enable_dlopen_self_static=unknown ;;
11991  esac
11992fi
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010striplib=
12011old_striplib=
12012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12013$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12014if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12015  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12016  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12018$as_echo "yes" >&6; }
12019else
12020# FIXME - insert some real tests, host_os isn't really good enough
12021  case $host_os in
12022  darwin*)
12023    if test -n "$STRIP"; then
12024      striplib="$STRIP -x"
12025      old_striplib="$STRIP -S"
12026      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12027$as_echo "yes" >&6; }
12028    else
12029      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12030$as_echo "no" >&6; }
12031    fi
12032    ;;
12033  *)
12034    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12035$as_echo "no" >&6; }
12036    ;;
12037  esac
12038fi
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051  # Report what library types will actually be built
12052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12053$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12055$as_echo "$can_build_shared" >&6; }
12056
12057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12058$as_echo_n "checking whether to build shared libraries... " >&6; }
12059  test no = "$can_build_shared" && enable_shared=no
12060
12061  # On AIX, shared libraries and static libraries use the same namespace, and
12062  # are all built from PIC.
12063  case $host_os in
12064  aix3*)
12065    test yes = "$enable_shared" && enable_static=no
12066    if test -n "$RANLIB"; then
12067      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12068      postinstall_cmds='$RANLIB $lib'
12069    fi
12070    ;;
12071
12072  aix[4-9]*)
12073    if test ia64 != "$host_cpu"; then
12074      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12075      yes,aix,yes) ;;			# shared object as lib.so file only
12076      yes,svr4,*) ;;			# shared object as lib.so archive member only
12077      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12078      esac
12079    fi
12080    ;;
12081  esac
12082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12083$as_echo "$enable_shared" >&6; }
12084
12085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12086$as_echo_n "checking whether to build static libraries... " >&6; }
12087  # Make sure either enable_shared or enable_static is yes.
12088  test yes = "$enable_shared" || enable_static=yes
12089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12090$as_echo "$enable_static" >&6; }
12091
12092
12093
12094
12095fi
12096ac_ext=c
12097ac_cpp='$CPP $CPPFLAGS'
12098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12100ac_compiler_gnu=$ac_cv_c_compiler_gnu
12101
12102CC=$lt_save_CC
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118        ac_config_commands="$ac_config_commands libtool"
12119
12120
12121
12122
12123# Only expand once:
12124
12125
12126
12127
12128# Extract the first word of "cups-config", so it can be a program name with args.
12129set dummy cups-config; ac_word=$2
12130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12131$as_echo_n "checking for $ac_word... " >&6; }
12132if ${ac_cv_prog_have_cups_config+:} false; then :
12133  $as_echo_n "(cached) " >&6
12134else
12135  if test -n "$have_cups_config"; then
12136  ac_cv_prog_have_cups_config="$have_cups_config" # Let the user override the test.
12137else
12138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12139for as_dir in $PATH
12140do
12141  IFS=$as_save_IFS
12142  test -z "$as_dir" && as_dir=.
12143    for ac_exec_ext in '' $ac_executable_extensions; do
12144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12145    ac_cv_prog_have_cups_config="yes"
12146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12147    break 2
12148  fi
12149done
12150  done
12151IFS=$as_save_IFS
12152
12153  test -z "$ac_cv_prog_have_cups_config" && ac_cv_prog_have_cups_config="no"
12154fi
12155fi
12156have_cups_config=$ac_cv_prog_have_cups_config
12157if test -n "$have_cups_config"; then
12158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_cups_config" >&5
12159$as_echo "$have_cups_config" >&6; }
12160else
12161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162$as_echo "no" >&6; }
12163fi
12164
12165
12166
12167if test "xNONE" != "x${prefix}" ; then
12168   cups_default_prefix="${prefix}"
12169else
12170   cups_default_prefix="${ac_default_prefix}"
12171fi
12172
12173
12174# Check whether --with-cupsfilterdir was given.
12175if test "${with_cupsfilterdir+set}" = set; then :
12176  withval=$with_cupsfilterdir;
12177else
12178  with_cupsfilterdir=no
12179fi
12180
12181if test "xno" = "x${with_cupsfilterdir}"; then
12182   if test "xyes" = "x$have_cups_config" ; then
12183            CUPS_FILTER_DIR="${cups_default_prefix}`cups-config --serverbin | sed -e 's,^/[^/][^/]*,,'`/filter"
12184   else
12185      CUPS_FILTER_DIR="${cups_default_prefix}/lib/cups/filter"
12186   fi
12187else
12188   CUPS_FILTER_DIR="${with_cupsfilterdir}"
12189fi
12190
12191
12192# Check whether --with-cupsppddir was given.
12193if test "${with_cupsppddir+set}" = set; then :
12194  withval=$with_cupsppddir;
12195else
12196  with_cupsppddir=no
12197fi
12198
12199if test "xno" = "x${with_cupsppddir}"; then
12200   if test -d "${cups_default_prefix}/share/ppd" ; then
12201      CUPS_PPD_DIR="${cups_default_prefix}/share/ppd"
12202   elif test "xyes" = "x$have_cups_config" ; then
12203            CUPS_PPD_DIR="${cups_default_prefix}`cups-config --datadir | sed -e 's,^/[^/][^/]*,,'`/model"
12204   else
12205      CUPS_PPD_DIR="${cups_default_prefix}/share/cups/model"
12206   fi
12207else
12208   CUPS_PPD_DIR="${with_cupsppddir}"
12209fi
12210
12211
12212
12213
12214
12215# Check whether --enable-lsb was given.
12216if test "${enable_lsb+set}" = set; then :
12217  enableval=$enable_lsb; case "${enableval}" in
12218    yes) lsb=true ;;
12219    no)  lsb=false ;;
12220    *) as_fn_error $? "bad value ${enableval} for --enable-lsb" "$LINENO" 5 ;;
12221  esac
12222else
12223  lsb=true
12224fi
12225
12226 if test x$lsb = xtrue; then
12227  LSB_TRUE=
12228  LSB_FALSE='#'
12229else
12230  LSB_TRUE='#'
12231  LSB_FALSE=
12232fi
12233
12234
12235
12236# Check whether --with-internal was given.
12237if test "${with_internal+set}" = set; then :
12238  withval=$with_internal; INTERNAL_PPD=$withval
12239   INTERNAL_PPD_OPTION=--with-internal=$withval
12240   automake $INTERNAL_PPD/Makefile
12241   ac_config_files="$ac_config_files $INTERNAL_PPD/Makefile"
12242
12243fi
12244
12245
12246
12247
12248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12249$as_echo_n "checking for ANSI C header files... " >&6; }
12250if ${ac_cv_header_stdc+:} false; then :
12251  $as_echo_n "(cached) " >&6
12252else
12253  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254/* end confdefs.h.  */
12255#include <stdlib.h>
12256#include <stdarg.h>
12257#include <string.h>
12258#include <float.h>
12259
12260int
12261main ()
12262{
12263
12264  ;
12265  return 0;
12266}
12267_ACEOF
12268if ac_fn_c_try_compile "$LINENO"; then :
12269  ac_cv_header_stdc=yes
12270else
12271  ac_cv_header_stdc=no
12272fi
12273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12274
12275if test $ac_cv_header_stdc = yes; then
12276  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12277  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278/* end confdefs.h.  */
12279#include <string.h>
12280
12281_ACEOF
12282if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12283  $EGREP "memchr" >/dev/null 2>&1; then :
12284
12285else
12286  ac_cv_header_stdc=no
12287fi
12288rm -f conftest*
12289
12290fi
12291
12292if test $ac_cv_header_stdc = yes; then
12293  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12294  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12295/* end confdefs.h.  */
12296#include <stdlib.h>
12297
12298_ACEOF
12299if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12300  $EGREP "free" >/dev/null 2>&1; then :
12301
12302else
12303  ac_cv_header_stdc=no
12304fi
12305rm -f conftest*
12306
12307fi
12308
12309if test $ac_cv_header_stdc = yes; then
12310  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12311  if test "$cross_compiling" = yes; then :
12312  :
12313else
12314  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315/* end confdefs.h.  */
12316#include <ctype.h>
12317#include <stdlib.h>
12318#if ((' ' & 0x0FF) == 0x020)
12319# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12320# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12321#else
12322# define ISLOWER(c) \
12323		   (('a' <= (c) && (c) <= 'i') \
12324		     || ('j' <= (c) && (c) <= 'r') \
12325		     || ('s' <= (c) && (c) <= 'z'))
12326# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12327#endif
12328
12329#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12330int
12331main ()
12332{
12333  int i;
12334  for (i = 0; i < 256; i++)
12335    if (XOR (islower (i), ISLOWER (i))
12336	|| toupper (i) != TOUPPER (i))
12337      return 2;
12338  return 0;
12339}
12340_ACEOF
12341if ac_fn_c_try_run "$LINENO"; then :
12342
12343else
12344  ac_cv_header_stdc=no
12345fi
12346rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12347  conftest.$ac_objext conftest.beam conftest.$ac_ext
12348fi
12349
12350fi
12351fi
12352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12353$as_echo "$ac_cv_header_stdc" >&6; }
12354if test $ac_cv_header_stdc = yes; then
12355
12356$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12357
12358fi
12359
12360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
12361$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
12362if ${ac_cv_header_stat_broken+:} false; then :
12363  $as_echo_n "(cached) " >&6
12364else
12365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366/* end confdefs.h.  */
12367#include <sys/types.h>
12368#include <sys/stat.h>
12369
12370#if defined S_ISBLK && defined S_IFDIR
12371extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
12372#endif
12373
12374#if defined S_ISBLK && defined S_IFCHR
12375extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
12376#endif
12377
12378#if defined S_ISLNK && defined S_IFREG
12379extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
12380#endif
12381
12382#if defined S_ISSOCK && defined S_IFREG
12383extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
12384#endif
12385
12386_ACEOF
12387if ac_fn_c_try_compile "$LINENO"; then :
12388  ac_cv_header_stat_broken=no
12389else
12390  ac_cv_header_stat_broken=yes
12391fi
12392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12393fi
12394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
12395$as_echo "$ac_cv_header_stat_broken" >&6; }
12396if test $ac_cv_header_stat_broken = yes; then
12397
12398$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
12399
12400fi
12401
12402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12403$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12404if ${ac_cv_header_time+:} false; then :
12405  $as_echo_n "(cached) " >&6
12406else
12407  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408/* end confdefs.h.  */
12409#include <sys/types.h>
12410#include <sys/time.h>
12411#include <time.h>
12412
12413int
12414main ()
12415{
12416if ((struct tm *) 0)
12417return 0;
12418  ;
12419  return 0;
12420}
12421_ACEOF
12422if ac_fn_c_try_compile "$LINENO"; then :
12423  ac_cv_header_time=yes
12424else
12425  ac_cv_header_time=no
12426fi
12427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12428fi
12429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12430$as_echo "$ac_cv_header_time" >&6; }
12431if test $ac_cv_header_time = yes; then
12432
12433$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12434
12435fi
12436
12437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12438$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12439if ${ac_cv_struct_tm+:} false; then :
12440  $as_echo_n "(cached) " >&6
12441else
12442  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12443/* end confdefs.h.  */
12444#include <sys/types.h>
12445#include <time.h>
12446
12447int
12448main ()
12449{
12450struct tm tm;
12451				     int *p = &tm.tm_sec;
12452				     return !p;
12453  ;
12454  return 0;
12455}
12456_ACEOF
12457if ac_fn_c_try_compile "$LINENO"; then :
12458  ac_cv_struct_tm=time.h
12459else
12460  ac_cv_struct_tm=sys/time.h
12461fi
12462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12463fi
12464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12465$as_echo "$ac_cv_struct_tm" >&6; }
12466if test $ac_cv_struct_tm = sys/time.h; then
12467
12468$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12469
12470fi
12471
12472ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12473if test "x$ac_cv_type_pid_t" = xyes; then :
12474
12475else
12476
12477cat >>confdefs.h <<_ACEOF
12478#define pid_t int
12479_ACEOF
12480
12481fi
12482
12483ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12484if test "x$ac_cv_type_size_t" = xyes; then :
12485
12486else
12487
12488cat >>confdefs.h <<_ACEOF
12489#define size_t unsigned int
12490_ACEOF
12491
12492fi
12493
12494
12495for ac_header in \
12496        cups/cups.h \
12497        cups/ppd.h \
12498        cups/raster.h \
12499
12500do :
12501  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12502ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12503if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12504  cat >>confdefs.h <<_ACEOF
12505#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12506_ACEOF
12507
12508fi
12509
12510done
12511
12512for ac_header in \
12513        ctype.h \
12514        errno.h \
12515        fcntl.h \
12516        malloc.h \
12517        signal.h \
12518        stdarg.h \
12519        stddef.h \
12520        stdlib.h \
12521        string.h \
12522        sys/stat.h \
12523        sys/types.h \
12524        time.h \
12525        unistd.h \
12526
12527do :
12528  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12529ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12530if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12531  cat >>confdefs.h <<_ACEOF
12532#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12533_ACEOF
12534
12535fi
12536
12537done
12538
12539
12540# Checks for libraries.
12541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ppdOpenFile in -lcups" >&5
12542$as_echo_n "checking for ppdOpenFile in -lcups... " >&6; }
12543if ${ac_cv_lib_cups_ppdOpenFile+:} false; then :
12544  $as_echo_n "(cached) " >&6
12545else
12546  ac_check_lib_save_LIBS=$LIBS
12547LIBS="-lcups  $LIBS"
12548cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12549/* end confdefs.h.  */
12550
12551/* Override any GCC internal prototype to avoid an error.
12552   Use char because int might match the return type of a GCC
12553   builtin and then its argument prototype would still apply.  */
12554#ifdef __cplusplus
12555extern "C"
12556#endif
12557char ppdOpenFile ();
12558int
12559main ()
12560{
12561return ppdOpenFile ();
12562  ;
12563  return 0;
12564}
12565_ACEOF
12566if ac_fn_c_try_link "$LINENO"; then :
12567  ac_cv_lib_cups_ppdOpenFile=yes
12568else
12569  ac_cv_lib_cups_ppdOpenFile=no
12570fi
12571rm -f core conftest.err conftest.$ac_objext \
12572    conftest$ac_exeext conftest.$ac_ext
12573LIBS=$ac_check_lib_save_LIBS
12574fi
12575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cups_ppdOpenFile" >&5
12576$as_echo "$ac_cv_lib_cups_ppdOpenFile" >&6; }
12577if test "x$ac_cv_lib_cups_ppdOpenFile" = xyes; then :
12578  cat >>confdefs.h <<_ACEOF
12579#define HAVE_LIBCUPS 1
12580_ACEOF
12581
12582  LIBS="-lcups $LIBS"
12583
12584fi
12585
12586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cupsRasterOpen in -lcupsimage" >&5
12587$as_echo_n "checking for cupsRasterOpen in -lcupsimage... " >&6; }
12588if ${ac_cv_lib_cupsimage_cupsRasterOpen+:} false; then :
12589  $as_echo_n "(cached) " >&6
12590else
12591  ac_check_lib_save_LIBS=$LIBS
12592LIBS="-lcupsimage  $LIBS"
12593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594/* end confdefs.h.  */
12595
12596/* Override any GCC internal prototype to avoid an error.
12597   Use char because int might match the return type of a GCC
12598   builtin and then its argument prototype would still apply.  */
12599#ifdef __cplusplus
12600extern "C"
12601#endif
12602char cupsRasterOpen ();
12603int
12604main ()
12605{
12606return cupsRasterOpen ();
12607  ;
12608  return 0;
12609}
12610_ACEOF
12611if ac_fn_c_try_link "$LINENO"; then :
12612  ac_cv_lib_cupsimage_cupsRasterOpen=yes
12613else
12614  ac_cv_lib_cupsimage_cupsRasterOpen=no
12615fi
12616rm -f core conftest.err conftest.$ac_objext \
12617    conftest$ac_exeext conftest.$ac_ext
12618LIBS=$ac_check_lib_save_LIBS
12619fi
12620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cupsimage_cupsRasterOpen" >&5
12621$as_echo "$ac_cv_lib_cupsimage_cupsRasterOpen" >&6; }
12622if test "x$ac_cv_lib_cupsimage_cupsRasterOpen" = xyes; then :
12623  cat >>confdefs.h <<_ACEOF
12624#define HAVE_LIBCUPSIMAGE 1
12625_ACEOF
12626
12627  LIBS="-lcupsimage $LIBS"
12628
12629fi
12630
12631
12632# Checks for library functions.
12633#AC_FUNC_MALLOC avoiding rpl_malloc stupidness
12634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
12635$as_echo_n "checking for working memcmp... " >&6; }
12636if ${ac_cv_func_memcmp_working+:} false; then :
12637  $as_echo_n "(cached) " >&6
12638else
12639  if test "$cross_compiling" = yes; then :
12640  ac_cv_func_memcmp_working=no
12641else
12642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12643/* end confdefs.h.  */
12644$ac_includes_default
12645int
12646main ()
12647{
12648
12649  /* Some versions of memcmp are not 8-bit clean.  */
12650  char c0 = '\100', c1 = '\200', c2 = '\201';
12651  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12652    return 1;
12653
12654  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12655     or more and with at least one buffer not starting on a 4-byte boundary.
12656     William Lewis provided this test program.   */
12657  {
12658    char foo[21];
12659    char bar[21];
12660    int i;
12661    for (i = 0; i < 4; i++)
12662      {
12663	char *a = foo + i;
12664	char *b = bar + i;
12665	strcpy (a, "--------01111111");
12666	strcpy (b, "--------10000000");
12667	if (memcmp (a, b, 16) >= 0)
12668	  return 1;
12669      }
12670    return 0;
12671  }
12672
12673  ;
12674  return 0;
12675}
12676_ACEOF
12677if ac_fn_c_try_run "$LINENO"; then :
12678  ac_cv_func_memcmp_working=yes
12679else
12680  ac_cv_func_memcmp_working=no
12681fi
12682rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12683  conftest.$ac_objext conftest.beam conftest.$ac_ext
12684fi
12685
12686fi
12687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
12688$as_echo "$ac_cv_func_memcmp_working" >&6; }
12689test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12690  *" memcmp.$ac_objext "* ) ;;
12691  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
12692 ;;
12693esac
12694
12695
12696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12697$as_echo_n "checking return type of signal handlers... " >&6; }
12698if ${ac_cv_type_signal+:} false; then :
12699  $as_echo_n "(cached) " >&6
12700else
12701  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702/* end confdefs.h.  */
12703#include <sys/types.h>
12704#include <signal.h>
12705
12706int
12707main ()
12708{
12709return *(signal (0, 0)) (0) == 1;
12710  ;
12711  return 0;
12712}
12713_ACEOF
12714if ac_fn_c_try_compile "$LINENO"; then :
12715  ac_cv_type_signal=int
12716else
12717  ac_cv_type_signal=void
12718fi
12719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12720fi
12721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12722$as_echo "$ac_cv_type_signal" >&6; }
12723
12724cat >>confdefs.h <<_ACEOF
12725#define RETSIGTYPE $ac_cv_type_signal
12726_ACEOF
12727
12728
12729for ac_func in \
12730        memset \
12731        strcspn \
12732        strerror \
12733        strrchr \
12734
12735do :
12736  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12737ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12738if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12739  cat >>confdefs.h <<_ACEOF
12740#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12741_ACEOF
12742
12743fi
12744done
12745
12746
12747ac_config_files="$ac_config_files Makefile epson-inkjet-printer-escpr.spec lsb/lsb-rpm.spec lib/Makefile ppd/Makefile src/Makefile"
12748
12749
12750cat >confcache <<\_ACEOF
12751# This file is a shell script that caches the results of configure
12752# tests run on this system so they can be shared between configure
12753# scripts and configure runs, see configure's option --config-cache.
12754# It is not useful on other systems.  If it contains results you don't
12755# want to keep, you may remove or edit it.
12756#
12757# config.status only pays attention to the cache file if you give it
12758# the --recheck option to rerun configure.
12759#
12760# `ac_cv_env_foo' variables (set or unset) will be overridden when
12761# loading this file, other *unset* `ac_cv_foo' will be assigned the
12762# following values.
12763
12764_ACEOF
12765
12766# The following way of writing the cache mishandles newlines in values,
12767# but we know of no workaround that is simple, portable, and efficient.
12768# So, we kill variables containing newlines.
12769# Ultrix sh set writes to stderr and can't be redirected directly,
12770# and sets the high bit in the cache file unless we assign to the vars.
12771(
12772  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12773    eval ac_val=\$$ac_var
12774    case $ac_val in #(
12775    *${as_nl}*)
12776      case $ac_var in #(
12777      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12778$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12779      esac
12780      case $ac_var in #(
12781      _ | IFS | as_nl) ;; #(
12782      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12783      *) { eval $ac_var=; unset $ac_var;} ;;
12784      esac ;;
12785    esac
12786  done
12787
12788  (set) 2>&1 |
12789    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12790    *${as_nl}ac_space=\ *)
12791      # `set' does not quote correctly, so add quotes: double-quote
12792      # substitution turns \\\\ into \\, and sed turns \\ into \.
12793      sed -n \
12794	"s/'/'\\\\''/g;
12795	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12796      ;; #(
12797    *)
12798      # `set' quotes correctly as required by POSIX, so do not add quotes.
12799      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12800      ;;
12801    esac |
12802    sort
12803) |
12804  sed '
12805     /^ac_cv_env_/b end
12806     t clear
12807     :clear
12808     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12809     t end
12810     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12811     :end' >>confcache
12812if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12813  if test -w "$cache_file"; then
12814    if test "x$cache_file" != "x/dev/null"; then
12815      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12816$as_echo "$as_me: updating cache $cache_file" >&6;}
12817      if test ! -f "$cache_file" || test -h "$cache_file"; then
12818	cat confcache >"$cache_file"
12819      else
12820        case $cache_file in #(
12821        */* | ?:*)
12822	  mv -f confcache "$cache_file"$$ &&
12823	  mv -f "$cache_file"$$ "$cache_file" ;; #(
12824        *)
12825	  mv -f confcache "$cache_file" ;;
12826	esac
12827      fi
12828    fi
12829  else
12830    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12831$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12832  fi
12833fi
12834rm -f confcache
12835
12836test "x$prefix" = xNONE && prefix=$ac_default_prefix
12837# Let make expand exec_prefix.
12838test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12839
12840DEFS=-DHAVE_CONFIG_H
12841
12842ac_libobjs=
12843ac_ltlibobjs=
12844U=
12845for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12846  # 1. Remove the extension, and $U if already installed.
12847  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12848  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12849  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12850  #    will be set to the directory where LIBOBJS objects are built.
12851  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12852  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12853done
12854LIBOBJS=$ac_libobjs
12855
12856LTLIBOBJS=$ac_ltlibobjs
12857
12858
12859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12860$as_echo_n "checking that generated files are newer than configure... " >&6; }
12861   if test -n "$am_sleep_pid"; then
12862     # Hide warnings about reused PIDs.
12863     wait $am_sleep_pid 2>/dev/null
12864   fi
12865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12866$as_echo "done" >&6; }
12867 if test -n "$EXEEXT"; then
12868  am__EXEEXT_TRUE=
12869  am__EXEEXT_FALSE='#'
12870else
12871  am__EXEEXT_TRUE='#'
12872  am__EXEEXT_FALSE=
12873fi
12874
12875if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12876  as_fn_error $? "conditional \"AMDEP\" was never defined.
12877Usually this means the macro was only invoked conditionally." "$LINENO" 5
12878fi
12879if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12880  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12881Usually this means the macro was only invoked conditionally." "$LINENO" 5
12882fi
12883if test -z "${LSB_TRUE}" && test -z "${LSB_FALSE}"; then
12884  as_fn_error $? "conditional \"LSB\" was never defined.
12885Usually this means the macro was only invoked conditionally." "$LINENO" 5
12886fi
12887
12888: "${CONFIG_STATUS=./config.status}"
12889ac_write_fail=0
12890ac_clean_files_save=$ac_clean_files
12891ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12892{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12893$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12894as_write_fail=0
12895cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12896#! $SHELL
12897# Generated by $as_me.
12898# Run this file to recreate the current configuration.
12899# Compiler output produced by configure, useful for debugging
12900# configure, is in config.log if it exists.
12901
12902debug=false
12903ac_cs_recheck=false
12904ac_cs_silent=false
12905
12906SHELL=\${CONFIG_SHELL-$SHELL}
12907export SHELL
12908_ASEOF
12909cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12910## -------------------- ##
12911## M4sh Initialization. ##
12912## -------------------- ##
12913
12914# Be more Bourne compatible
12915DUALCASE=1; export DUALCASE # for MKS sh
12916if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12917  emulate sh
12918  NULLCMD=:
12919  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12920  # is contrary to our usage.  Disable this feature.
12921  alias -g '${1+"$@"}'='"$@"'
12922  setopt NO_GLOB_SUBST
12923else
12924  case `(set -o) 2>/dev/null` in #(
12925  *posix*) :
12926    set -o posix ;; #(
12927  *) :
12928     ;;
12929esac
12930fi
12931
12932
12933as_nl='
12934'
12935export as_nl
12936# Printing a long string crashes Solaris 7 /usr/bin/printf.
12937as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12938as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12939as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12940# Prefer a ksh shell builtin over an external printf program on Solaris,
12941# but without wasting forks for bash or zsh.
12942if test -z "$BASH_VERSION$ZSH_VERSION" \
12943    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12944  as_echo='print -r --'
12945  as_echo_n='print -rn --'
12946elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12947  as_echo='printf %s\n'
12948  as_echo_n='printf %s'
12949else
12950  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12951    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12952    as_echo_n='/usr/ucb/echo -n'
12953  else
12954    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12955    as_echo_n_body='eval
12956      arg=$1;
12957      case $arg in #(
12958      *"$as_nl"*)
12959	expr "X$arg" : "X\\(.*\\)$as_nl";
12960	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12961      esac;
12962      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12963    '
12964    export as_echo_n_body
12965    as_echo_n='sh -c $as_echo_n_body as_echo'
12966  fi
12967  export as_echo_body
12968  as_echo='sh -c $as_echo_body as_echo'
12969fi
12970
12971# The user is always right.
12972if test "${PATH_SEPARATOR+set}" != set; then
12973  PATH_SEPARATOR=:
12974  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12975    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12976      PATH_SEPARATOR=';'
12977  }
12978fi
12979
12980
12981# IFS
12982# We need space, tab and new line, in precisely that order.  Quoting is
12983# there to prevent editors from complaining about space-tab.
12984# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12985# splitting by setting IFS to empty value.)
12986IFS=" ""	$as_nl"
12987
12988# Find who we are.  Look in the path if we contain no directory separator.
12989as_myself=
12990case $0 in #((
12991  *[\\/]* ) as_myself=$0 ;;
12992  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12993for as_dir in $PATH
12994do
12995  IFS=$as_save_IFS
12996  test -z "$as_dir" && as_dir=.
12997    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12998  done
12999IFS=$as_save_IFS
13000
13001     ;;
13002esac
13003# We did not find ourselves, most probably we were run as `sh COMMAND'
13004# in which case we are not to be found in the path.
13005if test "x$as_myself" = x; then
13006  as_myself=$0
13007fi
13008if test ! -f "$as_myself"; then
13009  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13010  exit 1
13011fi
13012
13013# Unset variables that we do not need and which cause bugs (e.g. in
13014# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13015# suppresses any "Segmentation fault" message there.  '((' could
13016# trigger a bug in pdksh 5.2.14.
13017for as_var in BASH_ENV ENV MAIL MAILPATH
13018do eval test x\${$as_var+set} = xset \
13019  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13020done
13021PS1='$ '
13022PS2='> '
13023PS4='+ '
13024
13025# NLS nuisances.
13026LC_ALL=C
13027export LC_ALL
13028LANGUAGE=C
13029export LANGUAGE
13030
13031# CDPATH.
13032(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13033
13034
13035# as_fn_error STATUS ERROR [LINENO LOG_FD]
13036# ----------------------------------------
13037# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13038# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13039# script with STATUS, using 1 if that was 0.
13040as_fn_error ()
13041{
13042  as_status=$1; test $as_status -eq 0 && as_status=1
13043  if test "$4"; then
13044    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13045    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13046  fi
13047  $as_echo "$as_me: error: $2" >&2
13048  as_fn_exit $as_status
13049} # as_fn_error
13050
13051
13052# as_fn_set_status STATUS
13053# -----------------------
13054# Set $? to STATUS, without forking.
13055as_fn_set_status ()
13056{
13057  return $1
13058} # as_fn_set_status
13059
13060# as_fn_exit STATUS
13061# -----------------
13062# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13063as_fn_exit ()
13064{
13065  set +e
13066  as_fn_set_status $1
13067  exit $1
13068} # as_fn_exit
13069
13070# as_fn_unset VAR
13071# ---------------
13072# Portably unset VAR.
13073as_fn_unset ()
13074{
13075  { eval $1=; unset $1;}
13076}
13077as_unset=as_fn_unset
13078# as_fn_append VAR VALUE
13079# ----------------------
13080# Append the text in VALUE to the end of the definition contained in VAR. Take
13081# advantage of any shell optimizations that allow amortized linear growth over
13082# repeated appends, instead of the typical quadratic growth present in naive
13083# implementations.
13084if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13085  eval 'as_fn_append ()
13086  {
13087    eval $1+=\$2
13088  }'
13089else
13090  as_fn_append ()
13091  {
13092    eval $1=\$$1\$2
13093  }
13094fi # as_fn_append
13095
13096# as_fn_arith ARG...
13097# ------------------
13098# Perform arithmetic evaluation on the ARGs, and store the result in the
13099# global $as_val. Take advantage of shells that can avoid forks. The arguments
13100# must be portable across $(()) and expr.
13101if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13102  eval 'as_fn_arith ()
13103  {
13104    as_val=$(( $* ))
13105  }'
13106else
13107  as_fn_arith ()
13108  {
13109    as_val=`expr "$@" || test $? -eq 1`
13110  }
13111fi # as_fn_arith
13112
13113
13114if expr a : '\(a\)' >/dev/null 2>&1 &&
13115   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13116  as_expr=expr
13117else
13118  as_expr=false
13119fi
13120
13121if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13122  as_basename=basename
13123else
13124  as_basename=false
13125fi
13126
13127if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13128  as_dirname=dirname
13129else
13130  as_dirname=false
13131fi
13132
13133as_me=`$as_basename -- "$0" ||
13134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13135	 X"$0" : 'X\(//\)$' \| \
13136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13137$as_echo X/"$0" |
13138    sed '/^.*\/\([^/][^/]*\)\/*$/{
13139	    s//\1/
13140	    q
13141	  }
13142	  /^X\/\(\/\/\)$/{
13143	    s//\1/
13144	    q
13145	  }
13146	  /^X\/\(\/\).*/{
13147	    s//\1/
13148	    q
13149	  }
13150	  s/.*/./; q'`
13151
13152# Avoid depending upon Character Ranges.
13153as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13154as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13155as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13156as_cr_digits='0123456789'
13157as_cr_alnum=$as_cr_Letters$as_cr_digits
13158
13159ECHO_C= ECHO_N= ECHO_T=
13160case `echo -n x` in #(((((
13161-n*)
13162  case `echo 'xy\c'` in
13163  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13164  xy)  ECHO_C='\c';;
13165  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13166       ECHO_T='	';;
13167  esac;;
13168*)
13169  ECHO_N='-n';;
13170esac
13171
13172rm -f conf$$ conf$$.exe conf$$.file
13173if test -d conf$$.dir; then
13174  rm -f conf$$.dir/conf$$.file
13175else
13176  rm -f conf$$.dir
13177  mkdir conf$$.dir 2>/dev/null
13178fi
13179if (echo >conf$$.file) 2>/dev/null; then
13180  if ln -s conf$$.file conf$$ 2>/dev/null; then
13181    as_ln_s='ln -s'
13182    # ... but there are two gotchas:
13183    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13184    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13185    # In both cases, we have to default to `cp -pR'.
13186    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13187      as_ln_s='cp -pR'
13188  elif ln conf$$.file conf$$ 2>/dev/null; then
13189    as_ln_s=ln
13190  else
13191    as_ln_s='cp -pR'
13192  fi
13193else
13194  as_ln_s='cp -pR'
13195fi
13196rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13197rmdir conf$$.dir 2>/dev/null
13198
13199
13200# as_fn_mkdir_p
13201# -------------
13202# Create "$as_dir" as a directory, including parents if necessary.
13203as_fn_mkdir_p ()
13204{
13205
13206  case $as_dir in #(
13207  -*) as_dir=./$as_dir;;
13208  esac
13209  test -d "$as_dir" || eval $as_mkdir_p || {
13210    as_dirs=
13211    while :; do
13212      case $as_dir in #(
13213      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13214      *) as_qdir=$as_dir;;
13215      esac
13216      as_dirs="'$as_qdir' $as_dirs"
13217      as_dir=`$as_dirname -- "$as_dir" ||
13218$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13219	 X"$as_dir" : 'X\(//\)[^/]' \| \
13220	 X"$as_dir" : 'X\(//\)$' \| \
13221	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13222$as_echo X"$as_dir" |
13223    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13224	    s//\1/
13225	    q
13226	  }
13227	  /^X\(\/\/\)[^/].*/{
13228	    s//\1/
13229	    q
13230	  }
13231	  /^X\(\/\/\)$/{
13232	    s//\1/
13233	    q
13234	  }
13235	  /^X\(\/\).*/{
13236	    s//\1/
13237	    q
13238	  }
13239	  s/.*/./; q'`
13240      test -d "$as_dir" && break
13241    done
13242    test -z "$as_dirs" || eval "mkdir $as_dirs"
13243  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13244
13245
13246} # as_fn_mkdir_p
13247if mkdir -p . 2>/dev/null; then
13248  as_mkdir_p='mkdir -p "$as_dir"'
13249else
13250  test -d ./-p && rmdir ./-p
13251  as_mkdir_p=false
13252fi
13253
13254
13255# as_fn_executable_p FILE
13256# -----------------------
13257# Test if FILE is an executable regular file.
13258as_fn_executable_p ()
13259{
13260  test -f "$1" && test -x "$1"
13261} # as_fn_executable_p
13262as_test_x='test -x'
13263as_executable_p=as_fn_executable_p
13264
13265# Sed expression to map a string onto a valid CPP name.
13266as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13267
13268# Sed expression to map a string onto a valid variable name.
13269as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13270
13271
13272exec 6>&1
13273## ----------------------------------- ##
13274## Main body of $CONFIG_STATUS script. ##
13275## ----------------------------------- ##
13276_ASEOF
13277test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13278
13279cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13280# Save the log message, to keep $0 and so on meaningful, and to
13281# report actual input values of CONFIG_FILES etc. instead of their
13282# values after options handling.
13283ac_log="
13284This file was extended by Epson Inkjet Printer Driver (ESC/P-R) for Linux $as_me 1.7.17, which was
13285generated by GNU Autoconf 2.69.  Invocation command line was
13286
13287  CONFIG_FILES    = $CONFIG_FILES
13288  CONFIG_HEADERS  = $CONFIG_HEADERS
13289  CONFIG_LINKS    = $CONFIG_LINKS
13290  CONFIG_COMMANDS = $CONFIG_COMMANDS
13291  $ $0 $@
13292
13293on `(hostname || uname -n) 2>/dev/null | sed 1q`
13294"
13295
13296_ACEOF
13297
13298case $ac_config_files in *"
13299"*) set x $ac_config_files; shift; ac_config_files=$*;;
13300esac
13301
13302case $ac_config_headers in *"
13303"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13304esac
13305
13306
13307cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13308# Files that config.status was made for.
13309config_files="$ac_config_files"
13310config_headers="$ac_config_headers"
13311config_commands="$ac_config_commands"
13312
13313_ACEOF
13314
13315cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13316ac_cs_usage="\
13317\`$as_me' instantiates files and other configuration actions
13318from templates according to the current configuration.  Unless the files
13319and actions are specified as TAGs, all are instantiated by default.
13320
13321Usage: $0 [OPTION]... [TAG]...
13322
13323  -h, --help       print this help, then exit
13324  -V, --version    print version number and configuration settings, then exit
13325      --config     print configuration, then exit
13326  -q, --quiet, --silent
13327                   do not print progress messages
13328  -d, --debug      don't remove temporary files
13329      --recheck    update $as_me by reconfiguring in the same conditions
13330      --file=FILE[:TEMPLATE]
13331                   instantiate the configuration file FILE
13332      --header=FILE[:TEMPLATE]
13333                   instantiate the configuration header FILE
13334
13335Configuration files:
13336$config_files
13337
13338Configuration headers:
13339$config_headers
13340
13341Configuration commands:
13342$config_commands
13343
13344Report bugs to <Seiko Epson Corporation <linux-printer@epson.jp>>."
13345
13346_ACEOF
13347cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13348ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13349ac_cs_version="\\
13350Epson Inkjet Printer Driver (ESC/P-R) for Linux config.status 1.7.17
13351configured by $0, generated by GNU Autoconf 2.69,
13352  with options \\"\$ac_cs_config\\"
13353
13354Copyright (C) 2012 Free Software Foundation, Inc.
13355This config.status script is free software; the Free Software Foundation
13356gives unlimited permission to copy, distribute and modify it."
13357
13358ac_pwd='$ac_pwd'
13359srcdir='$srcdir'
13360INSTALL='$INSTALL'
13361MKDIR_P='$MKDIR_P'
13362AWK='$AWK'
13363test -n "\$AWK" || AWK=awk
13364_ACEOF
13365
13366cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13367# The default lists apply if the user does not specify any file.
13368ac_need_defaults=:
13369while test $# != 0
13370do
13371  case $1 in
13372  --*=?*)
13373    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13374    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13375    ac_shift=:
13376    ;;
13377  --*=)
13378    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13379    ac_optarg=
13380    ac_shift=:
13381    ;;
13382  *)
13383    ac_option=$1
13384    ac_optarg=$2
13385    ac_shift=shift
13386    ;;
13387  esac
13388
13389  case $ac_option in
13390  # Handling of the options.
13391  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13392    ac_cs_recheck=: ;;
13393  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13394    $as_echo "$ac_cs_version"; exit ;;
13395  --config | --confi | --conf | --con | --co | --c )
13396    $as_echo "$ac_cs_config"; exit ;;
13397  --debug | --debu | --deb | --de | --d | -d )
13398    debug=: ;;
13399  --file | --fil | --fi | --f )
13400    $ac_shift
13401    case $ac_optarg in
13402    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13403    '') as_fn_error $? "missing file argument" ;;
13404    esac
13405    as_fn_append CONFIG_FILES " '$ac_optarg'"
13406    ac_need_defaults=false;;
13407  --header | --heade | --head | --hea )
13408    $ac_shift
13409    case $ac_optarg in
13410    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13411    esac
13412    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13413    ac_need_defaults=false;;
13414  --he | --h)
13415    # Conflict between --help and --header
13416    as_fn_error $? "ambiguous option: \`$1'
13417Try \`$0 --help' for more information.";;
13418  --help | --hel | -h )
13419    $as_echo "$ac_cs_usage"; exit ;;
13420  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13421  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13422    ac_cs_silent=: ;;
13423
13424  # This is an error.
13425  -*) as_fn_error $? "unrecognized option: \`$1'
13426Try \`$0 --help' for more information." ;;
13427
13428  *) as_fn_append ac_config_targets " $1"
13429     ac_need_defaults=false ;;
13430
13431  esac
13432  shift
13433done
13434
13435ac_configure_extra_args=
13436
13437if $ac_cs_silent; then
13438  exec 6>/dev/null
13439  ac_configure_extra_args="$ac_configure_extra_args --silent"
13440fi
13441
13442_ACEOF
13443cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13444if \$ac_cs_recheck; then
13445  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13446  shift
13447  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13448  CONFIG_SHELL='$SHELL'
13449  export CONFIG_SHELL
13450  exec "\$@"
13451fi
13452
13453_ACEOF
13454cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13455exec 5>>config.log
13456{
13457  echo
13458  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13459## Running $as_me. ##
13460_ASBOX
13461  $as_echo "$ac_log"
13462} >&5
13463
13464_ACEOF
13465cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13466#
13467# INIT-COMMANDS
13468#
13469AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13470
13471
13472# The HP-UX ksh and POSIX shell print the target directory to stdout
13473# if CDPATH is set.
13474(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13475
13476sed_quote_subst='$sed_quote_subst'
13477double_quote_subst='$double_quote_subst'
13478delay_variable_subst='$delay_variable_subst'
13479macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13480macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13481enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13482enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13483pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13484enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13485shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13486SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13487ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13488PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13489host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13490host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13491host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13492build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13493build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13494build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13495SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13496Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13497GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13498EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13499FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13500LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13501NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13502LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13503max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13504ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13505exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13506lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13507lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13508lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13509lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13510lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13511reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13512reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13513OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13514deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13515file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13516file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13517want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13518DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13519sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13520AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13521AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13522archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13523STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13524RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13525old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13526old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13527old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13528lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13529CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13530CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13531compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13532GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13533lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13534lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13535lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13536lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13537lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13538lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13539nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13540lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13541lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13542objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13543MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13544lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13545lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13546lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13547lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13548lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13549need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13550MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13551DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13552NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13553LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13554OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13555OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13556libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13557shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13558extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13559archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13560enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13561export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13562whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13563compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13564old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13565old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13566archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13567archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13568module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13569module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13570with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13571allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13572no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13573hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13574hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13575hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13576hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13577hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13578hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13579hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13580inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13581link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13582always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13583export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13584exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13585include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13586prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13587postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13588file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13589variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13590need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13591need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13592version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13593runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13594shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13595shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13596libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13597library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13598soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13599install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13600postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13601postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13602finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13603finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13604hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13605sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13606configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13607configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13608hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13609enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13610enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13611enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13612old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13613striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13614
13615LTCC='$LTCC'
13616LTCFLAGS='$LTCFLAGS'
13617compiler='$compiler_DEFAULT'
13618
13619# A function that is used when there is no print builtin or printf.
13620func_fallback_echo ()
13621{
13622  eval 'cat <<_LTECHO_EOF
13623\$1
13624_LTECHO_EOF'
13625}
13626
13627# Quote evaled strings.
13628for var in SHELL \
13629ECHO \
13630PATH_SEPARATOR \
13631SED \
13632GREP \
13633EGREP \
13634FGREP \
13635LD \
13636NM \
13637LN_S \
13638lt_SP2NL \
13639lt_NL2SP \
13640reload_flag \
13641OBJDUMP \
13642deplibs_check_method \
13643file_magic_cmd \
13644file_magic_glob \
13645want_nocaseglob \
13646DLLTOOL \
13647sharedlib_from_linklib_cmd \
13648AR \
13649AR_FLAGS \
13650archiver_list_spec \
13651STRIP \
13652RANLIB \
13653CC \
13654CFLAGS \
13655compiler \
13656lt_cv_sys_global_symbol_pipe \
13657lt_cv_sys_global_symbol_to_cdecl \
13658lt_cv_sys_global_symbol_to_import \
13659lt_cv_sys_global_symbol_to_c_name_address \
13660lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13661lt_cv_nm_interface \
13662nm_file_list_spec \
13663lt_cv_truncate_bin \
13664lt_prog_compiler_no_builtin_flag \
13665lt_prog_compiler_pic \
13666lt_prog_compiler_wl \
13667lt_prog_compiler_static \
13668lt_cv_prog_compiler_c_o \
13669need_locks \
13670MANIFEST_TOOL \
13671DSYMUTIL \
13672NMEDIT \
13673LIPO \
13674OTOOL \
13675OTOOL64 \
13676shrext_cmds \
13677export_dynamic_flag_spec \
13678whole_archive_flag_spec \
13679compiler_needs_object \
13680with_gnu_ld \
13681allow_undefined_flag \
13682no_undefined_flag \
13683hardcode_libdir_flag_spec \
13684hardcode_libdir_separator \
13685exclude_expsyms \
13686include_expsyms \
13687file_list_spec \
13688variables_saved_for_relink \
13689libname_spec \
13690library_names_spec \
13691soname_spec \
13692install_override_mode \
13693finish_eval \
13694old_striplib \
13695striplib; do
13696    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13697    *[\\\\\\\`\\"\\\$]*)
13698      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13699      ;;
13700    *)
13701      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13702      ;;
13703    esac
13704done
13705
13706# Double-quote double-evaled strings.
13707for var in reload_cmds \
13708old_postinstall_cmds \
13709old_postuninstall_cmds \
13710old_archive_cmds \
13711extract_expsyms_cmds \
13712old_archive_from_new_cmds \
13713old_archive_from_expsyms_cmds \
13714archive_cmds \
13715archive_expsym_cmds \
13716module_cmds \
13717module_expsym_cmds \
13718export_symbols_cmds \
13719prelink_cmds \
13720postlink_cmds \
13721postinstall_cmds \
13722postuninstall_cmds \
13723finish_cmds \
13724sys_lib_search_path_spec \
13725configure_time_dlsearch_path \
13726configure_time_lt_sys_library_path; do
13727    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13728    *[\\\\\\\`\\"\\\$]*)
13729      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13730      ;;
13731    *)
13732      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13733      ;;
13734    esac
13735done
13736
13737ac_aux_dir='$ac_aux_dir'
13738
13739# See if we are running on zsh, and set the options that allow our
13740# commands through without removal of \ escapes INIT.
13741if test -n "\${ZSH_VERSION+set}"; then
13742   setopt NO_GLOB_SUBST
13743fi
13744
13745
13746    PACKAGE='$PACKAGE'
13747    VERSION='$VERSION'
13748    RM='$RM'
13749    ofile='$ofile'
13750
13751
13752
13753
13754_ACEOF
13755
13756cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13757
13758# Handling of arguments.
13759for ac_config_target in $ac_config_targets
13760do
13761  case $ac_config_target in
13762    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13763    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13764    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13765    "$INTERNAL_PPD/Makefile") CONFIG_FILES="$CONFIG_FILES $INTERNAL_PPD/Makefile" ;;
13766    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13767    "epson-inkjet-printer-escpr.spec") CONFIG_FILES="$CONFIG_FILES epson-inkjet-printer-escpr.spec" ;;
13768    "lsb/lsb-rpm.spec") CONFIG_FILES="$CONFIG_FILES lsb/lsb-rpm.spec" ;;
13769    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
13770    "ppd/Makefile") CONFIG_FILES="$CONFIG_FILES ppd/Makefile" ;;
13771    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13772
13773  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13774  esac
13775done
13776
13777
13778# If the user did not use the arguments to specify the items to instantiate,
13779# then the envvar interface is used.  Set only those that are not.
13780# We use the long form for the default assignment because of an extremely
13781# bizarre bug on SunOS 4.1.3.
13782if $ac_need_defaults; then
13783  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13784  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13785  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13786fi
13787
13788# Have a temporary directory for convenience.  Make it in the build tree
13789# simply because there is no reason against having it here, and in addition,
13790# creating and moving files from /tmp can sometimes cause problems.
13791# Hook for its removal unless debugging.
13792# Note that there is a small window in which the directory will not be cleaned:
13793# after its creation but before its name has been assigned to `$tmp'.
13794$debug ||
13795{
13796  tmp= ac_tmp=
13797  trap 'exit_status=$?
13798  : "${ac_tmp:=$tmp}"
13799  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13800' 0
13801  trap 'as_fn_exit 1' 1 2 13 15
13802}
13803# Create a (secure) tmp directory for tmp files.
13804
13805{
13806  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13807  test -d "$tmp"
13808}  ||
13809{
13810  tmp=./conf$$-$RANDOM
13811  (umask 077 && mkdir "$tmp")
13812} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13813ac_tmp=$tmp
13814
13815# Set up the scripts for CONFIG_FILES section.
13816# No need to generate them if there are no CONFIG_FILES.
13817# This happens for instance with `./config.status config.h'.
13818if test -n "$CONFIG_FILES"; then
13819
13820
13821ac_cr=`echo X | tr X '\015'`
13822# On cygwin, bash can eat \r inside `` if the user requested igncr.
13823# But we know of no other shell where ac_cr would be empty at this
13824# point, so we can use a bashism as a fallback.
13825if test "x$ac_cr" = x; then
13826  eval ac_cr=\$\'\\r\'
13827fi
13828ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13829if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13830  ac_cs_awk_cr='\\r'
13831else
13832  ac_cs_awk_cr=$ac_cr
13833fi
13834
13835echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13836_ACEOF
13837
13838
13839{
13840  echo "cat >conf$$subs.awk <<_ACEOF" &&
13841  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13842  echo "_ACEOF"
13843} >conf$$subs.sh ||
13844  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13845ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13846ac_delim='%!_!# '
13847for ac_last_try in false false false false false :; do
13848  . ./conf$$subs.sh ||
13849    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13850
13851  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13852  if test $ac_delim_n = $ac_delim_num; then
13853    break
13854  elif $ac_last_try; then
13855    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13856  else
13857    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13858  fi
13859done
13860rm -f conf$$subs.sh
13861
13862cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13863cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13864_ACEOF
13865sed -n '
13866h
13867s/^/S["/; s/!.*/"]=/
13868p
13869g
13870s/^[^!]*!//
13871:repl
13872t repl
13873s/'"$ac_delim"'$//
13874t delim
13875:nl
13876h
13877s/\(.\{148\}\)..*/\1/
13878t more1
13879s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13880p
13881n
13882b repl
13883:more1
13884s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13885p
13886g
13887s/.\{148\}//
13888t nl
13889:delim
13890h
13891s/\(.\{148\}\)..*/\1/
13892t more2
13893s/["\\]/\\&/g; s/^/"/; s/$/"/
13894p
13895b
13896:more2
13897s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13898p
13899g
13900s/.\{148\}//
13901t delim
13902' <conf$$subs.awk | sed '
13903/^[^""]/{
13904  N
13905  s/\n//
13906}
13907' >>$CONFIG_STATUS || ac_write_fail=1
13908rm -f conf$$subs.awk
13909cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13910_ACAWK
13911cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13912  for (key in S) S_is_set[key] = 1
13913  FS = ""
13914
13915}
13916{
13917  line = $ 0
13918  nfields = split(line, field, "@")
13919  substed = 0
13920  len = length(field[1])
13921  for (i = 2; i < nfields; i++) {
13922    key = field[i]
13923    keylen = length(key)
13924    if (S_is_set[key]) {
13925      value = S[key]
13926      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13927      len += length(value) + length(field[++i])
13928      substed = 1
13929    } else
13930      len += 1 + keylen
13931  }
13932
13933  print line
13934}
13935
13936_ACAWK
13937_ACEOF
13938cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13939if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13940  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13941else
13942  cat
13943fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13944  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13945_ACEOF
13946
13947# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13948# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13949# trailing colons and then remove the whole line if VPATH becomes empty
13950# (actually we leave an empty line to preserve line numbers).
13951if test "x$srcdir" = x.; then
13952  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13953h
13954s///
13955s/^/:/
13956s/[	 ]*$/:/
13957s/:\$(srcdir):/:/g
13958s/:\${srcdir}:/:/g
13959s/:@srcdir@:/:/g
13960s/^:*//
13961s/:*$//
13962x
13963s/\(=[	 ]*\).*/\1/
13964G
13965s/\n//
13966s/^[^=]*=[	 ]*$//
13967}'
13968fi
13969
13970cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13971fi # test -n "$CONFIG_FILES"
13972
13973# Set up the scripts for CONFIG_HEADERS section.
13974# No need to generate them if there are no CONFIG_HEADERS.
13975# This happens for instance with `./config.status Makefile'.
13976if test -n "$CONFIG_HEADERS"; then
13977cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13978BEGIN {
13979_ACEOF
13980
13981# Transform confdefs.h into an awk script `defines.awk', embedded as
13982# here-document in config.status, that substitutes the proper values into
13983# config.h.in to produce config.h.
13984
13985# Create a delimiter string that does not exist in confdefs.h, to ease
13986# handling of long lines.
13987ac_delim='%!_!# '
13988for ac_last_try in false false :; do
13989  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13990  if test -z "$ac_tt"; then
13991    break
13992  elif $ac_last_try; then
13993    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13994  else
13995    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13996  fi
13997done
13998
13999# For the awk script, D is an array of macro values keyed by name,
14000# likewise P contains macro parameters if any.  Preserve backslash
14001# newline sequences.
14002
14003ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14004sed -n '
14005s/.\{148\}/&'"$ac_delim"'/g
14006t rset
14007:rset
14008s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14009t def
14010d
14011:def
14012s/\\$//
14013t bsnl
14014s/["\\]/\\&/g
14015s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14016D["\1"]=" \3"/p
14017s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14018d
14019:bsnl
14020s/["\\]/\\&/g
14021s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14022D["\1"]=" \3\\\\\\n"\\/p
14023t cont
14024s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14025t cont
14026d
14027:cont
14028n
14029s/.\{148\}/&'"$ac_delim"'/g
14030t clear
14031:clear
14032s/\\$//
14033t bsnlc
14034s/["\\]/\\&/g; s/^/"/; s/$/"/p
14035d
14036:bsnlc
14037s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14038b cont
14039' <confdefs.h | sed '
14040s/'"$ac_delim"'/"\\\
14041"/g' >>$CONFIG_STATUS || ac_write_fail=1
14042
14043cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14044  for (key in D) D_is_set[key] = 1
14045  FS = ""
14046}
14047/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14048  line = \$ 0
14049  split(line, arg, " ")
14050  if (arg[1] == "#") {
14051    defundef = arg[2]
14052    mac1 = arg[3]
14053  } else {
14054    defundef = substr(arg[1], 2)
14055    mac1 = arg[2]
14056  }
14057  split(mac1, mac2, "(") #)
14058  macro = mac2[1]
14059  prefix = substr(line, 1, index(line, defundef) - 1)
14060  if (D_is_set[macro]) {
14061    # Preserve the white space surrounding the "#".
14062    print prefix "define", macro P[macro] D[macro]
14063    next
14064  } else {
14065    # Replace #undef with comments.  This is necessary, for example,
14066    # in the case of _POSIX_SOURCE, which is predefined and required
14067    # on some systems where configure will not decide to define it.
14068    if (defundef == "undef") {
14069      print "/*", prefix defundef, macro, "*/"
14070      next
14071    }
14072  }
14073}
14074{ print }
14075_ACAWK
14076_ACEOF
14077cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14078  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14079fi # test -n "$CONFIG_HEADERS"
14080
14081
14082eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14083shift
14084for ac_tag
14085do
14086  case $ac_tag in
14087  :[FHLC]) ac_mode=$ac_tag; continue;;
14088  esac
14089  case $ac_mode$ac_tag in
14090  :[FHL]*:*);;
14091  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14092  :[FH]-) ac_tag=-:-;;
14093  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14094  esac
14095  ac_save_IFS=$IFS
14096  IFS=:
14097  set x $ac_tag
14098  IFS=$ac_save_IFS
14099  shift
14100  ac_file=$1
14101  shift
14102
14103  case $ac_mode in
14104  :L) ac_source=$1;;
14105  :[FH])
14106    ac_file_inputs=
14107    for ac_f
14108    do
14109      case $ac_f in
14110      -) ac_f="$ac_tmp/stdin";;
14111      *) # Look for the file first in the build tree, then in the source tree
14112	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14113	 # because $ac_f cannot contain `:'.
14114	 test -f "$ac_f" ||
14115	   case $ac_f in
14116	   [\\/$]*) false;;
14117	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14118	   esac ||
14119	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14120      esac
14121      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14122      as_fn_append ac_file_inputs " '$ac_f'"
14123    done
14124
14125    # Let's still pretend it is `configure' which instantiates (i.e., don't
14126    # use $as_me), people would be surprised to read:
14127    #    /* config.h.  Generated by config.status.  */
14128    configure_input='Generated from '`
14129	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14130	`' by configure.'
14131    if test x"$ac_file" != x-; then
14132      configure_input="$ac_file.  $configure_input"
14133      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14134$as_echo "$as_me: creating $ac_file" >&6;}
14135    fi
14136    # Neutralize special characters interpreted by sed in replacement strings.
14137    case $configure_input in #(
14138    *\&* | *\|* | *\\* )
14139       ac_sed_conf_input=`$as_echo "$configure_input" |
14140       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14141    *) ac_sed_conf_input=$configure_input;;
14142    esac
14143
14144    case $ac_tag in
14145    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14146      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14147    esac
14148    ;;
14149  esac
14150
14151  ac_dir=`$as_dirname -- "$ac_file" ||
14152$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14153	 X"$ac_file" : 'X\(//\)[^/]' \| \
14154	 X"$ac_file" : 'X\(//\)$' \| \
14155	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14156$as_echo X"$ac_file" |
14157    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14158	    s//\1/
14159	    q
14160	  }
14161	  /^X\(\/\/\)[^/].*/{
14162	    s//\1/
14163	    q
14164	  }
14165	  /^X\(\/\/\)$/{
14166	    s//\1/
14167	    q
14168	  }
14169	  /^X\(\/\).*/{
14170	    s//\1/
14171	    q
14172	  }
14173	  s/.*/./; q'`
14174  as_dir="$ac_dir"; as_fn_mkdir_p
14175  ac_builddir=.
14176
14177case "$ac_dir" in
14178.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14179*)
14180  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14181  # A ".." for each directory in $ac_dir_suffix.
14182  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14183  case $ac_top_builddir_sub in
14184  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14185  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14186  esac ;;
14187esac
14188ac_abs_top_builddir=$ac_pwd
14189ac_abs_builddir=$ac_pwd$ac_dir_suffix
14190# for backward compatibility:
14191ac_top_builddir=$ac_top_build_prefix
14192
14193case $srcdir in
14194  .)  # We are building in place.
14195    ac_srcdir=.
14196    ac_top_srcdir=$ac_top_builddir_sub
14197    ac_abs_top_srcdir=$ac_pwd ;;
14198  [\\/]* | ?:[\\/]* )  # Absolute name.
14199    ac_srcdir=$srcdir$ac_dir_suffix;
14200    ac_top_srcdir=$srcdir
14201    ac_abs_top_srcdir=$srcdir ;;
14202  *) # Relative name.
14203    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14204    ac_top_srcdir=$ac_top_build_prefix$srcdir
14205    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14206esac
14207ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14208
14209
14210  case $ac_mode in
14211  :F)
14212  #
14213  # CONFIG_FILE
14214  #
14215
14216  case $INSTALL in
14217  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14218  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14219  esac
14220  ac_MKDIR_P=$MKDIR_P
14221  case $MKDIR_P in
14222  [\\/$]* | ?:[\\/]* ) ;;
14223  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14224  esac
14225_ACEOF
14226
14227cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14228# If the template does not know about datarootdir, expand it.
14229# FIXME: This hack should be removed a few years after 2.60.
14230ac_datarootdir_hack=; ac_datarootdir_seen=
14231ac_sed_dataroot='
14232/datarootdir/ {
14233  p
14234  q
14235}
14236/@datadir@/p
14237/@docdir@/p
14238/@infodir@/p
14239/@localedir@/p
14240/@mandir@/p'
14241case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14242*datarootdir*) ac_datarootdir_seen=yes;;
14243*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14244  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14245$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14246_ACEOF
14247cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14248  ac_datarootdir_hack='
14249  s&@datadir@&$datadir&g
14250  s&@docdir@&$docdir&g
14251  s&@infodir@&$infodir&g
14252  s&@localedir@&$localedir&g
14253  s&@mandir@&$mandir&g
14254  s&\\\${datarootdir}&$datarootdir&g' ;;
14255esac
14256_ACEOF
14257
14258# Neutralize VPATH when `$srcdir' = `.'.
14259# Shell code in configure.ac might set extrasub.
14260# FIXME: do we really want to maintain this feature?
14261cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14262ac_sed_extra="$ac_vpsub
14263$extrasub
14264_ACEOF
14265cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14266:t
14267/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14268s|@configure_input@|$ac_sed_conf_input|;t t
14269s&@top_builddir@&$ac_top_builddir_sub&;t t
14270s&@top_build_prefix@&$ac_top_build_prefix&;t t
14271s&@srcdir@&$ac_srcdir&;t t
14272s&@abs_srcdir@&$ac_abs_srcdir&;t t
14273s&@top_srcdir@&$ac_top_srcdir&;t t
14274s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14275s&@builddir@&$ac_builddir&;t t
14276s&@abs_builddir@&$ac_abs_builddir&;t t
14277s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14278s&@INSTALL@&$ac_INSTALL&;t t
14279s&@MKDIR_P@&$ac_MKDIR_P&;t t
14280$ac_datarootdir_hack
14281"
14282eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14283  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14284
14285test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14286  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14287  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14288      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14289  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14290which seems to be undefined.  Please make sure it is defined" >&5
14291$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14292which seems to be undefined.  Please make sure it is defined" >&2;}
14293
14294  rm -f "$ac_tmp/stdin"
14295  case $ac_file in
14296  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14297  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14298  esac \
14299  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14300 ;;
14301  :H)
14302  #
14303  # CONFIG_HEADER
14304  #
14305  if test x"$ac_file" != x-; then
14306    {
14307      $as_echo "/* $configure_input  */" \
14308      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14309    } >"$ac_tmp/config.h" \
14310      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14311    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14312      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14313$as_echo "$as_me: $ac_file is unchanged" >&6;}
14314    else
14315      rm -f "$ac_file"
14316      mv "$ac_tmp/config.h" "$ac_file" \
14317	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14318    fi
14319  else
14320    $as_echo "/* $configure_input  */" \
14321      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14322      || as_fn_error $? "could not create -" "$LINENO" 5
14323  fi
14324# Compute "$ac_file"'s index in $config_headers.
14325_am_arg="$ac_file"
14326_am_stamp_count=1
14327for _am_header in $config_headers :; do
14328  case $_am_header in
14329    $_am_arg | $_am_arg:* )
14330      break ;;
14331    * )
14332      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14333  esac
14334done
14335echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14336$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14337	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14338	 X"$_am_arg" : 'X\(//\)$' \| \
14339	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14340$as_echo X"$_am_arg" |
14341    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14342	    s//\1/
14343	    q
14344	  }
14345	  /^X\(\/\/\)[^/].*/{
14346	    s//\1/
14347	    q
14348	  }
14349	  /^X\(\/\/\)$/{
14350	    s//\1/
14351	    q
14352	  }
14353	  /^X\(\/\).*/{
14354	    s//\1/
14355	    q
14356	  }
14357	  s/.*/./; q'`/stamp-h$_am_stamp_count
14358 ;;
14359
14360  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14361$as_echo "$as_me: executing $ac_file commands" >&6;}
14362 ;;
14363  esac
14364
14365
14366  case $ac_file$ac_mode in
14367    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14368  # Older Autoconf quotes --file arguments for eval, but not when files
14369  # are listed without --file.  Let's play safe and only enable the eval
14370  # if we detect the quoting.
14371  case $CONFIG_FILES in
14372  *\'*) eval set x "$CONFIG_FILES" ;;
14373  *)   set x $CONFIG_FILES ;;
14374  esac
14375  shift
14376  for mf
14377  do
14378    # Strip MF so we end up with the name of the file.
14379    mf=`echo "$mf" | sed -e 's/:.*$//'`
14380    # Check whether this is an Automake generated Makefile or not.
14381    # We used to match only the files named 'Makefile.in', but
14382    # some people rename them; so instead we look at the file content.
14383    # Grep'ing the first line is not enough: some people post-process
14384    # each Makefile.in and add a new line on top of each file to say so.
14385    # Grep'ing the whole file is not good either: AIX grep has a line
14386    # limit of 2048, but all sed's we know have understand at least 4000.
14387    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14388      dirpart=`$as_dirname -- "$mf" ||
14389$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14390	 X"$mf" : 'X\(//\)[^/]' \| \
14391	 X"$mf" : 'X\(//\)$' \| \
14392	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14393$as_echo X"$mf" |
14394    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14395	    s//\1/
14396	    q
14397	  }
14398	  /^X\(\/\/\)[^/].*/{
14399	    s//\1/
14400	    q
14401	  }
14402	  /^X\(\/\/\)$/{
14403	    s//\1/
14404	    q
14405	  }
14406	  /^X\(\/\).*/{
14407	    s//\1/
14408	    q
14409	  }
14410	  s/.*/./; q'`
14411    else
14412      continue
14413    fi
14414    # Extract the definition of DEPDIR, am__include, and am__quote
14415    # from the Makefile without running 'make'.
14416    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14417    test -z "$DEPDIR" && continue
14418    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14419    test -z "$am__include" && continue
14420    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14421    # Find all dependency output files, they are included files with
14422    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14423    # simplest approach to changing $(DEPDIR) to its actual value in the
14424    # expansion.
14425    for file in `sed -n "
14426      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14427	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14428      # Make sure the directory exists.
14429      test -f "$dirpart/$file" && continue
14430      fdir=`$as_dirname -- "$file" ||
14431$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14432	 X"$file" : 'X\(//\)[^/]' \| \
14433	 X"$file" : 'X\(//\)$' \| \
14434	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14435$as_echo X"$file" |
14436    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14437	    s//\1/
14438	    q
14439	  }
14440	  /^X\(\/\/\)[^/].*/{
14441	    s//\1/
14442	    q
14443	  }
14444	  /^X\(\/\/\)$/{
14445	    s//\1/
14446	    q
14447	  }
14448	  /^X\(\/\).*/{
14449	    s//\1/
14450	    q
14451	  }
14452	  s/.*/./; q'`
14453      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14454      # echo "creating $dirpart/$file"
14455      echo '# dummy' > "$dirpart/$file"
14456    done
14457  done
14458}
14459 ;;
14460    "libtool":C)
14461
14462    # See if we are running on zsh, and set the options that allow our
14463    # commands through without removal of \ escapes.
14464    if test -n "${ZSH_VERSION+set}"; then
14465      setopt NO_GLOB_SUBST
14466    fi
14467
14468    cfgfile=${ofile}T
14469    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14470    $RM "$cfgfile"
14471
14472    cat <<_LT_EOF >> "$cfgfile"
14473#! $SHELL
14474# Generated automatically by $as_me ($PACKAGE) $VERSION
14475# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14476# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14477
14478# Provide generalized library-building support services.
14479# Written by Gordon Matzigkeit, 1996
14480
14481# Copyright (C) 2014 Free Software Foundation, Inc.
14482# This is free software; see the source for copying conditions.  There is NO
14483# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14484
14485# GNU Libtool is free software; you can redistribute it and/or modify
14486# it under the terms of the GNU General Public License as published by
14487# the Free Software Foundation; either version 2 of of the License, or
14488# (at your option) any later version.
14489#
14490# As a special exception to the GNU General Public License, if you
14491# distribute this file as part of a program or library that is built
14492# using GNU Libtool, you may include this file under the  same
14493# distribution terms that you use for the rest of that program.
14494#
14495# GNU Libtool is distributed in the hope that it will be useful, but
14496# WITHOUT ANY WARRANTY; without even the implied warranty of
14497# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14498# GNU General Public License for more details.
14499#
14500# You should have received a copy of the GNU General Public License
14501# along with this program.  If not, see <http://www.gnu.org/licenses/>.
14502
14503
14504# The names of the tagged configurations supported by this script.
14505available_tags=''
14506
14507# Configured defaults for sys_lib_dlsearch_path munging.
14508: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14509
14510# ### BEGIN LIBTOOL CONFIG
14511
14512# Which release of libtool.m4 was used?
14513macro_version=$macro_version
14514macro_revision=$macro_revision
14515
14516# Whether or not to build shared libraries.
14517build_libtool_libs=$enable_shared
14518
14519# Whether or not to build static libraries.
14520build_old_libs=$enable_static
14521
14522# What type of objects to build.
14523pic_mode=$pic_mode
14524
14525# Whether or not to optimize for fast installation.
14526fast_install=$enable_fast_install
14527
14528# Shared archive member basename,for filename based shared library versioning on AIX.
14529shared_archive_member_spec=$shared_archive_member_spec
14530
14531# Shell to use when invoking shell scripts.
14532SHELL=$lt_SHELL
14533
14534# An echo program that protects backslashes.
14535ECHO=$lt_ECHO
14536
14537# The PATH separator for the build system.
14538PATH_SEPARATOR=$lt_PATH_SEPARATOR
14539
14540# The host system.
14541host_alias=$host_alias
14542host=$host
14543host_os=$host_os
14544
14545# The build system.
14546build_alias=$build_alias
14547build=$build
14548build_os=$build_os
14549
14550# A sed program that does not truncate output.
14551SED=$lt_SED
14552
14553# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14554Xsed="\$SED -e 1s/^X//"
14555
14556# A grep program that handles long lines.
14557GREP=$lt_GREP
14558
14559# An ERE matcher.
14560EGREP=$lt_EGREP
14561
14562# A literal string matcher.
14563FGREP=$lt_FGREP
14564
14565# A BSD- or MS-compatible name lister.
14566NM=$lt_NM
14567
14568# Whether we need soft or hard links.
14569LN_S=$lt_LN_S
14570
14571# What is the maximum length of a command?
14572max_cmd_len=$max_cmd_len
14573
14574# Object file suffix (normally "o").
14575objext=$ac_objext
14576
14577# Executable file suffix (normally "").
14578exeext=$exeext
14579
14580# whether the shell understands "unset".
14581lt_unset=$lt_unset
14582
14583# turn spaces into newlines.
14584SP2NL=$lt_lt_SP2NL
14585
14586# turn newlines into spaces.
14587NL2SP=$lt_lt_NL2SP
14588
14589# convert \$build file names to \$host format.
14590to_host_file_cmd=$lt_cv_to_host_file_cmd
14591
14592# convert \$build files to toolchain format.
14593to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14594
14595# An object symbol dumper.
14596OBJDUMP=$lt_OBJDUMP
14597
14598# Method to check whether dependent libraries are shared objects.
14599deplibs_check_method=$lt_deplibs_check_method
14600
14601# Command to use when deplibs_check_method = "file_magic".
14602file_magic_cmd=$lt_file_magic_cmd
14603
14604# How to find potential files when deplibs_check_method = "file_magic".
14605file_magic_glob=$lt_file_magic_glob
14606
14607# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14608want_nocaseglob=$lt_want_nocaseglob
14609
14610# DLL creation program.
14611DLLTOOL=$lt_DLLTOOL
14612
14613# Command to associate shared and link libraries.
14614sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14615
14616# The archiver.
14617AR=$lt_AR
14618
14619# Flags to create an archive.
14620AR_FLAGS=$lt_AR_FLAGS
14621
14622# How to feed a file listing to the archiver.
14623archiver_list_spec=$lt_archiver_list_spec
14624
14625# A symbol stripping program.
14626STRIP=$lt_STRIP
14627
14628# Commands used to install an old-style archive.
14629RANLIB=$lt_RANLIB
14630old_postinstall_cmds=$lt_old_postinstall_cmds
14631old_postuninstall_cmds=$lt_old_postuninstall_cmds
14632
14633# Whether to use a lock for old archive extraction.
14634lock_old_archive_extraction=$lock_old_archive_extraction
14635
14636# A C compiler.
14637LTCC=$lt_CC
14638
14639# LTCC compiler flags.
14640LTCFLAGS=$lt_CFLAGS
14641
14642# Take the output of nm and produce a listing of raw symbols and C names.
14643global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14644
14645# Transform the output of nm in a proper C declaration.
14646global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14647
14648# Transform the output of nm into a list of symbols to manually relocate.
14649global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14650
14651# Transform the output of nm in a C name address pair.
14652global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14653
14654# Transform the output of nm in a C name address pair when lib prefix is needed.
14655global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14656
14657# The name lister interface.
14658nm_interface=$lt_lt_cv_nm_interface
14659
14660# Specify filename containing input files for \$NM.
14661nm_file_list_spec=$lt_nm_file_list_spec
14662
14663# The root where to search for dependent libraries,and where our libraries should be installed.
14664lt_sysroot=$lt_sysroot
14665
14666# Command to truncate a binary pipe.
14667lt_truncate_bin=$lt_lt_cv_truncate_bin
14668
14669# The name of the directory that contains temporary libtool files.
14670objdir=$objdir
14671
14672# Used to examine libraries when file_magic_cmd begins with "file".
14673MAGIC_CMD=$MAGIC_CMD
14674
14675# Must we lock files when doing compilation?
14676need_locks=$lt_need_locks
14677
14678# Manifest tool.
14679MANIFEST_TOOL=$lt_MANIFEST_TOOL
14680
14681# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14682DSYMUTIL=$lt_DSYMUTIL
14683
14684# Tool to change global to local symbols on Mac OS X.
14685NMEDIT=$lt_NMEDIT
14686
14687# Tool to manipulate fat objects and archives on Mac OS X.
14688LIPO=$lt_LIPO
14689
14690# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14691OTOOL=$lt_OTOOL
14692
14693# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14694OTOOL64=$lt_OTOOL64
14695
14696# Old archive suffix (normally "a").
14697libext=$libext
14698
14699# Shared library suffix (normally ".so").
14700shrext_cmds=$lt_shrext_cmds
14701
14702# The commands to extract the exported symbol list from a shared archive.
14703extract_expsyms_cmds=$lt_extract_expsyms_cmds
14704
14705# Variables whose values should be saved in libtool wrapper scripts and
14706# restored at link time.
14707variables_saved_for_relink=$lt_variables_saved_for_relink
14708
14709# Do we need the "lib" prefix for modules?
14710need_lib_prefix=$need_lib_prefix
14711
14712# Do we need a version for libraries?
14713need_version=$need_version
14714
14715# Library versioning type.
14716version_type=$version_type
14717
14718# Shared library runtime path variable.
14719runpath_var=$runpath_var
14720
14721# Shared library path variable.
14722shlibpath_var=$shlibpath_var
14723
14724# Is shlibpath searched before the hard-coded library search path?
14725shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14726
14727# Format of library name prefix.
14728libname_spec=$lt_libname_spec
14729
14730# List of archive names.  First name is the real one, the rest are links.
14731# The last name is the one that the linker finds with -lNAME
14732library_names_spec=$lt_library_names_spec
14733
14734# The coded name of the library, if different from the real name.
14735soname_spec=$lt_soname_spec
14736
14737# Permission mode override for installation of shared libraries.
14738install_override_mode=$lt_install_override_mode
14739
14740# Command to use after installation of a shared archive.
14741postinstall_cmds=$lt_postinstall_cmds
14742
14743# Command to use after uninstallation of a shared archive.
14744postuninstall_cmds=$lt_postuninstall_cmds
14745
14746# Commands used to finish a libtool library installation in a directory.
14747finish_cmds=$lt_finish_cmds
14748
14749# As "finish_cmds", except a single script fragment to be evaled but
14750# not shown.
14751finish_eval=$lt_finish_eval
14752
14753# Whether we should hardcode library paths into libraries.
14754hardcode_into_libs=$hardcode_into_libs
14755
14756# Compile-time system search path for libraries.
14757sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14758
14759# Detected run-time system search path for libraries.
14760sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14761
14762# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14763configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14764
14765# Whether dlopen is supported.
14766dlopen_support=$enable_dlopen
14767
14768# Whether dlopen of programs is supported.
14769dlopen_self=$enable_dlopen_self
14770
14771# Whether dlopen of statically linked programs is supported.
14772dlopen_self_static=$enable_dlopen_self_static
14773
14774# Commands to strip libraries.
14775old_striplib=$lt_old_striplib
14776striplib=$lt_striplib
14777
14778
14779# The linker used to build libraries.
14780LD=$lt_LD
14781
14782# How to create reloadable object files.
14783reload_flag=$lt_reload_flag
14784reload_cmds=$lt_reload_cmds
14785
14786# Commands used to build an old-style archive.
14787old_archive_cmds=$lt_old_archive_cmds
14788
14789# A language specific compiler.
14790CC=$lt_compiler
14791
14792# Is the compiler the GNU compiler?
14793with_gcc=$GCC
14794
14795# Compiler flag to turn off builtin functions.
14796no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14797
14798# Additional compiler flags for building library objects.
14799pic_flag=$lt_lt_prog_compiler_pic
14800
14801# How to pass a linker flag through the compiler.
14802wl=$lt_lt_prog_compiler_wl
14803
14804# Compiler flag to prevent dynamic linking.
14805link_static_flag=$lt_lt_prog_compiler_static
14806
14807# Does compiler simultaneously support -c and -o options?
14808compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14809
14810# Whether or not to add -lc for building shared libraries.
14811build_libtool_need_lc=$archive_cmds_need_lc
14812
14813# Whether or not to disallow shared libs when runtime libs are static.
14814allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14815
14816# Compiler flag to allow reflexive dlopens.
14817export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14818
14819# Compiler flag to generate shared objects directly from archives.
14820whole_archive_flag_spec=$lt_whole_archive_flag_spec
14821
14822# Whether the compiler copes with passing no objects directly.
14823compiler_needs_object=$lt_compiler_needs_object
14824
14825# Create an old-style archive from a shared archive.
14826old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14827
14828# Create a temporary old-style archive to link instead of a shared archive.
14829old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14830
14831# Commands used to build a shared archive.
14832archive_cmds=$lt_archive_cmds
14833archive_expsym_cmds=$lt_archive_expsym_cmds
14834
14835# Commands used to build a loadable module if different from building
14836# a shared archive.
14837module_cmds=$lt_module_cmds
14838module_expsym_cmds=$lt_module_expsym_cmds
14839
14840# Whether we are building with GNU ld or not.
14841with_gnu_ld=$lt_with_gnu_ld
14842
14843# Flag that allows shared libraries with undefined symbols to be built.
14844allow_undefined_flag=$lt_allow_undefined_flag
14845
14846# Flag that enforces no undefined symbols.
14847no_undefined_flag=$lt_no_undefined_flag
14848
14849# Flag to hardcode \$libdir into a binary during linking.
14850# This must work even if \$libdir does not exist
14851hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14852
14853# Whether we need a single "-rpath" flag with a separated argument.
14854hardcode_libdir_separator=$lt_hardcode_libdir_separator
14855
14856# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14857# DIR into the resulting binary.
14858hardcode_direct=$hardcode_direct
14859
14860# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14861# DIR into the resulting binary and the resulting library dependency is
14862# "absolute",i.e impossible to change by setting \$shlibpath_var if the
14863# library is relocated.
14864hardcode_direct_absolute=$hardcode_direct_absolute
14865
14866# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14867# into the resulting binary.
14868hardcode_minus_L=$hardcode_minus_L
14869
14870# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14871# into the resulting binary.
14872hardcode_shlibpath_var=$hardcode_shlibpath_var
14873
14874# Set to "yes" if building a shared library automatically hardcodes DIR
14875# into the library and all subsequent libraries and executables linked
14876# against it.
14877hardcode_automatic=$hardcode_automatic
14878
14879# Set to yes if linker adds runtime paths of dependent libraries
14880# to runtime path list.
14881inherit_rpath=$inherit_rpath
14882
14883# Whether libtool must link a program against all its dependency libraries.
14884link_all_deplibs=$link_all_deplibs
14885
14886# Set to "yes" if exported symbols are required.
14887always_export_symbols=$always_export_symbols
14888
14889# The commands to list exported symbols.
14890export_symbols_cmds=$lt_export_symbols_cmds
14891
14892# Symbols that should not be listed in the preloaded symbols.
14893exclude_expsyms=$lt_exclude_expsyms
14894
14895# Symbols that must always be exported.
14896include_expsyms=$lt_include_expsyms
14897
14898# Commands necessary for linking programs (against libraries) with templates.
14899prelink_cmds=$lt_prelink_cmds
14900
14901# Commands necessary for finishing linking programs.
14902postlink_cmds=$lt_postlink_cmds
14903
14904# Specify filename containing input files.
14905file_list_spec=$lt_file_list_spec
14906
14907# How to hardcode a shared library path into an executable.
14908hardcode_action=$hardcode_action
14909
14910# ### END LIBTOOL CONFIG
14911
14912_LT_EOF
14913
14914    cat <<'_LT_EOF' >> "$cfgfile"
14915
14916# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14917
14918# func_munge_path_list VARIABLE PATH
14919# -----------------------------------
14920# VARIABLE is name of variable containing _space_ separated list of
14921# directories to be munged by the contents of PATH, which is string
14922# having a format:
14923# "DIR[:DIR]:"
14924#       string "DIR[ DIR]" will be prepended to VARIABLE
14925# ":DIR[:DIR]"
14926#       string "DIR[ DIR]" will be appended to VARIABLE
14927# "DIRP[:DIRP]::[DIRA:]DIRA"
14928#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14929#       "DIRA[ DIRA]" will be appended to VARIABLE
14930# "DIR[:DIR]"
14931#       VARIABLE will be replaced by "DIR[ DIR]"
14932func_munge_path_list ()
14933{
14934    case x$2 in
14935    x)
14936        ;;
14937    *:)
14938        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14939        ;;
14940    x:*)
14941        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14942        ;;
14943    *::*)
14944        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14945        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14946        ;;
14947    *)
14948        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14949        ;;
14950    esac
14951}
14952
14953
14954# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
14955func_cc_basename ()
14956{
14957    for cc_temp in $*""; do
14958      case $cc_temp in
14959        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14960        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14961        \-*) ;;
14962        *) break;;
14963      esac
14964    done
14965    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14966}
14967
14968
14969# ### END FUNCTIONS SHARED WITH CONFIGURE
14970
14971_LT_EOF
14972
14973  case $host_os in
14974  aix3*)
14975    cat <<\_LT_EOF >> "$cfgfile"
14976# AIX sometimes has problems with the GCC collect2 program.  For some
14977# reason, if we set the COLLECT_NAMES environment variable, the problems
14978# vanish in a puff of smoke.
14979if test set != "${COLLECT_NAMES+set}"; then
14980  COLLECT_NAMES=
14981  export COLLECT_NAMES
14982fi
14983_LT_EOF
14984    ;;
14985  esac
14986
14987
14988ltmain=$ac_aux_dir/ltmain.sh
14989
14990
14991  # We use sed instead of cat because bash on DJGPP gets confused if
14992  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14993  # text mode, it properly converts lines to CR/LF.  This bash problem
14994  # is reportedly fixed, but why not run on old versions too?
14995  sed '$q' "$ltmain" >> "$cfgfile" \
14996     || (rm -f "$cfgfile"; exit 1)
14997
14998   mv -f "$cfgfile" "$ofile" ||
14999    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15000  chmod +x "$ofile"
15001
15002 ;;
15003
15004  esac
15005done # for ac_tag
15006
15007
15008as_fn_exit 0
15009_ACEOF
15010ac_clean_files=$ac_clean_files_save
15011
15012test $ac_write_fail = 0 ||
15013  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15014
15015
15016# configure is writing to config.log, and then calls config.status.
15017# config.status does its own redirection, appending to config.log.
15018# Unfortunately, on DOS this fails, as config.log is still kept open
15019# by configure, so config.status won't be able to write to it; its
15020# output is simply discarded.  So we exec the FD to /dev/null,
15021# effectively closing config.log, so it can be properly (re)opened and
15022# appended to by config.status.  When coming back to configure, we
15023# need to make the FD available again.
15024if test "$no_create" != yes; then
15025  ac_cs_success=:
15026  ac_config_status_args=
15027  test "$silent" = yes &&
15028    ac_config_status_args="$ac_config_status_args --quiet"
15029  exec 5>/dev/null
15030  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15031  exec 5>>config.log
15032  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15033  # would make configure fail if this is the last instruction.
15034  $ac_cs_success || as_fn_exit 1
15035fi
15036if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15037  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15038$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15039fi
15040
15041