1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for barvinok 0.41.5.
4#
5# Report bugs to <isl-development@googlegroups.com>.
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
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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
278$0: isl-development@googlegroups.com 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='barvinok'
592PACKAGE_TARNAME='barvinok'
593PACKAGE_VERSION='0.41.5'
594PACKAGE_STRING='barvinok 0.41.5'
595PACKAGE_BUGREPORT='isl-development@googlegroups.com'
596PACKAGE_URL=''
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634enable_option_checking=no
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638subdirs
639pkgconfig_libfile
640pkgconfig_libdir
641USE_FDSTREAM_FALSE
642USE_FDSTREAM_TRUE
643GIT_HEAD_VERSION
644GIT_HEAD
645GIT_HEAD_ID
646HAVE_TOPCOM_FALSE
647HAVE_TOPCOM_TRUE
648POINTS2TRIANGS
649HAVE_GLPK_FALSE
650HAVE_GLPK_TRUE
651HAVE_CDDLIB_FALSE
652HAVE_CDDLIB_TRUE
653USE_PARKER_FALSE
654USE_PARKER_TRUE
655MONAPATH
656HAVE_OMEGA_FALSE
657HAVE_OMEGA_TRUE
658OMEGA_CODEGEN_LIBS
659OMEGA_LIBS
660OMEGA_LDFLAGS
661OMEGA_CPPFLAGS
662USE_ZSOLVE_FALSE
663USE_ZSOLVE_TRUE
664bv_cone_hilbert_basis
665NTL_LDFLAGS
666NTL_CPPFLAGS
667BUILD_PET_FALSE
668BUILD_PET_TRUE
669BUNDLED_PET_FALSE
670BUNDLED_PET_TRUE
671PET_BUILDDIR
672PET_LIBS
673PET_CFLAGS
674HAVE_ISL_BUILDDIR_FALSE
675HAVE_ISL_BUILDDIR_TRUE
676BUILD_ISL_FALSE
677BUILD_ISL_TRUE
678BUNDLED_ISL_FALSE
679BUNDLED_ISL_TRUE
680ISL_BUILDDIR
681ISL_SRCDIR
682ISL_LIBS
683ISL_CFLAGS
684BUNDLED_POLYLIB_FALSE
685BUNDLED_POLYLIB_TRUE
686POLYLIB_LIBS
687POLYLIB_LDFLAGS
688POLYLIB_CPPFLAGS
689LIBOBJS
690HAVE_CXX11
691PKG_CONFIG
692CXXCPP
693CPP
694LT_SYS_LIBRARY_PATH
695OTOOL64
696OTOOL
697LIPO
698NMEDIT
699DSYMUTIL
700MANIFEST_TOOL
701RANLIB
702ac_ct_AR
703AR
704LN_S
705NM
706ac_ct_DUMPBIN
707DUMPBIN
708LD
709FGREP
710EGREP
711LIBTOOL
712BV_LDFLAGS
713OBJDUMP
714DLLTOOL
715AS
716host_os
717host_vendor
718host_cpu
719host
720build_os
721build_vendor
722build_cpu
723build
724versioninfo
725SED
726GREP
727YFLAGS
728YACC
729LEXLIB
730LEX_OUTPUT_ROOT
731LEX
732am__fastdepCXX_FALSE
733am__fastdepCXX_TRUE
734CXXDEPMODE
735ac_ct_CXX
736CXXFLAGS
737CXX
738am__fastdepCC_FALSE
739am__fastdepCC_TRUE
740CCDEPMODE
741am__nodep
742AMDEPBACKSLASH
743AMDEP_FALSE
744AMDEP_TRUE
745am__include
746DEPDIR
747OBJEXT
748EXEEXT
749ac_ct_CC
750CPPFLAGS
751LDFLAGS
752CFLAGS
753CC
754AM_BACKSLASH
755AM_DEFAULT_VERBOSITY
756AM_DEFAULT_V
757AM_V
758am__untar
759am__tar
760AMTAR
761am__leading_dot
762SET_MAKE
763AWK
764mkdir_p
765MKDIR_P
766INSTALL_STRIP_PROGRAM
767STRIP
768install_sh
769MAKEINFO
770AUTOHEADER
771AUTOMAKE
772AUTOCONF
773ACLOCAL
774VERSION
775PACKAGE
776CYGPATH_W
777am__isrc
778INSTALL_DATA
779INSTALL_SCRIPT
780INSTALL_PROGRAM
781target_alias
782host_alias
783build_alias
784LIBS
785ECHO_T
786ECHO_N
787ECHO_C
788DEFS
789mandir
790localedir
791libdir
792psdir
793pdfdir
794dvidir
795htmldir
796infodir
797docdir
798oldincludedir
799includedir
800runstatedir
801localstatedir
802sharedstatedir
803sysconfdir
804datadir
805datarootdir
806libexecdir
807sbindir
808bindir
809program_transform_name
810prefix
811exec_prefix
812PACKAGE_URL
813PACKAGE_BUGREPORT
814PACKAGE_STRING
815PACKAGE_VERSION
816PACKAGE_TARNAME
817PACKAGE_NAME
818PATH_SEPARATOR
819SHELL
820am__quote'
821ac_subst_files=''
822ac_user_opts='
823enable_option_checking
824enable_silent_rules
825enable_dependency_tracking
826enable_shared
827enable_static
828with_pic
829enable_fast_install
830with_aix_soname
831with_gnu_ld
832with_sysroot
833enable_libtool_lock
834enable_shared_barvinok
835with_default_prefix
836with_gmp
837with_gmp_prefix
838with_gmp_exec_prefix
839with_gmp_builddir
840with_polylib
841with_polylib_prefix
842with_polylib_exec_prefix
843with_polylib_builddir
844with_isl
845with_isl_prefix
846with_isl_exec_prefix
847with_isl_builddir
848with_pet
849with_pet_prefix
850with_pet_exec_prefix
851with_pet_builddir
852enable_incremental
853with_ntl
854with_ntl_prefix
855with_ntl_builddir
856with_zsolve
857with_omega
858with_omega_prefix
859with_omega_exec_prefix
860with_parker
861with_mona
862with_cddlib
863with_glpk
864with_topcom
865'
866      ac_precious_vars='build_alias
867host_alias
868target_alias
869CC
870CFLAGS
871LDFLAGS
872LIBS
873CPPFLAGS
874CXX
875CXXFLAGS
876CCC
877YACC
878YFLAGS
879LT_SYS_LIBRARY_PATH
880CPP
881CXXCPP
882PKG_CONFIG
883ISL_CFLAGS
884ISL_LIBS
885PET_CFLAGS
886PET_LIBS'
887ac_subdirs_all='polylib
888isl
889pet'
890
891# Initialize some variables set by options.
892ac_init_help=
893ac_init_version=false
894ac_unrecognized_opts=
895ac_unrecognized_sep=
896# The variables have the same names as the options, with
897# dashes changed to underlines.
898cache_file=/dev/null
899exec_prefix=NONE
900no_create=
901no_recursion=
902prefix=NONE
903program_prefix=NONE
904program_suffix=NONE
905program_transform_name=s,x,x,
906silent=
907site=
908srcdir=
909verbose=
910x_includes=NONE
911x_libraries=NONE
912
913# Installation directory options.
914# These are left unexpanded so users can "make install exec_prefix=/foo"
915# and all the variables that are supposed to be based on exec_prefix
916# by default will actually change.
917# Use braces instead of parens because sh, perl, etc. also accept them.
918# (The list follows the same order as the GNU Coding Standards.)
919bindir='${exec_prefix}/bin'
920sbindir='${exec_prefix}/sbin'
921libexecdir='${exec_prefix}/libexec'
922datarootdir='${prefix}/share'
923datadir='${datarootdir}'
924sysconfdir='${prefix}/etc'
925sharedstatedir='${prefix}/com'
926localstatedir='${prefix}/var'
927runstatedir='${localstatedir}/run'
928includedir='${prefix}/include'
929oldincludedir='/usr/include'
930docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
931infodir='${datarootdir}/info'
932htmldir='${docdir}'
933dvidir='${docdir}'
934pdfdir='${docdir}'
935psdir='${docdir}'
936libdir='${exec_prefix}/lib'
937localedir='${datarootdir}/locale'
938mandir='${datarootdir}/man'
939
940ac_prev=
941ac_dashdash=
942for ac_option
943do
944  # If the previous option needs an argument, assign it.
945  if test -n "$ac_prev"; then
946    eval $ac_prev=\$ac_option
947    ac_prev=
948    continue
949  fi
950
951  case $ac_option in
952  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953  *=)   ac_optarg= ;;
954  *)    ac_optarg=yes ;;
955  esac
956
957  # Accept the important Cygnus configure options, so we can diagnose typos.
958
959  case $ac_dashdash$ac_option in
960  --)
961    ac_dashdash=yes ;;
962
963  -bindir | --bindir | --bindi | --bind | --bin | --bi)
964    ac_prev=bindir ;;
965  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
966    bindir=$ac_optarg ;;
967
968  -build | --build | --buil | --bui | --bu)
969    ac_prev=build_alias ;;
970  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
971    build_alias=$ac_optarg ;;
972
973  -cache-file | --cache-file | --cache-fil | --cache-fi \
974  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
975    ac_prev=cache_file ;;
976  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
977  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
978    cache_file=$ac_optarg ;;
979
980  --config-cache | -C)
981    cache_file=config.cache ;;
982
983  -datadir | --datadir | --datadi | --datad)
984    ac_prev=datadir ;;
985  -datadir=* | --datadir=* | --datadi=* | --datad=*)
986    datadir=$ac_optarg ;;
987
988  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
989  | --dataroo | --dataro | --datar)
990    ac_prev=datarootdir ;;
991  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
992  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
993    datarootdir=$ac_optarg ;;
994
995  -disable-* | --disable-*)
996    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
997    # Reject names that are not valid shell variable names.
998    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
999      as_fn_error $? "invalid feature name: $ac_useropt"
1000    ac_useropt_orig=$ac_useropt
1001    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002    case $ac_user_opts in
1003      *"
1004"enable_$ac_useropt"
1005"*) ;;
1006      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1007	 ac_unrecognized_sep=', ';;
1008    esac
1009    eval enable_$ac_useropt=no ;;
1010
1011  -docdir | --docdir | --docdi | --doc | --do)
1012    ac_prev=docdir ;;
1013  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1014    docdir=$ac_optarg ;;
1015
1016  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1017    ac_prev=dvidir ;;
1018  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1019    dvidir=$ac_optarg ;;
1020
1021  -enable-* | --enable-*)
1022    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023    # Reject names that are not valid shell variable names.
1024    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025      as_fn_error $? "invalid feature name: $ac_useropt"
1026    ac_useropt_orig=$ac_useropt
1027    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028    case $ac_user_opts in
1029      *"
1030"enable_$ac_useropt"
1031"*) ;;
1032      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1033	 ac_unrecognized_sep=', ';;
1034    esac
1035    eval enable_$ac_useropt=\$ac_optarg ;;
1036
1037  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1038  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1039  | --exec | --exe | --ex)
1040    ac_prev=exec_prefix ;;
1041  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1042  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1043  | --exec=* | --exe=* | --ex=*)
1044    exec_prefix=$ac_optarg ;;
1045
1046  -gas | --gas | --ga | --g)
1047    # Obsolete; use --with-gas.
1048    with_gas=yes ;;
1049
1050  -help | --help | --hel | --he | -h)
1051    ac_init_help=long ;;
1052  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1053    ac_init_help=recursive ;;
1054  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1055    ac_init_help=short ;;
1056
1057  -host | --host | --hos | --ho)
1058    ac_prev=host_alias ;;
1059  -host=* | --host=* | --hos=* | --ho=*)
1060    host_alias=$ac_optarg ;;
1061
1062  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1063    ac_prev=htmldir ;;
1064  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1065  | --ht=*)
1066    htmldir=$ac_optarg ;;
1067
1068  -includedir | --includedir | --includedi | --included | --include \
1069  | --includ | --inclu | --incl | --inc)
1070    ac_prev=includedir ;;
1071  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1072  | --includ=* | --inclu=* | --incl=* | --inc=*)
1073    includedir=$ac_optarg ;;
1074
1075  -infodir | --infodir | --infodi | --infod | --info | --inf)
1076    ac_prev=infodir ;;
1077  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1078    infodir=$ac_optarg ;;
1079
1080  -libdir | --libdir | --libdi | --libd)
1081    ac_prev=libdir ;;
1082  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1083    libdir=$ac_optarg ;;
1084
1085  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1086  | --libexe | --libex | --libe)
1087    ac_prev=libexecdir ;;
1088  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1089  | --libexe=* | --libex=* | --libe=*)
1090    libexecdir=$ac_optarg ;;
1091
1092  -localedir | --localedir | --localedi | --localed | --locale)
1093    ac_prev=localedir ;;
1094  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1095    localedir=$ac_optarg ;;
1096
1097  -localstatedir | --localstatedir | --localstatedi | --localstated \
1098  | --localstate | --localstat | --localsta | --localst | --locals)
1099    ac_prev=localstatedir ;;
1100  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1101  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1102    localstatedir=$ac_optarg ;;
1103
1104  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1105    ac_prev=mandir ;;
1106  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1107    mandir=$ac_optarg ;;
1108
1109  -nfp | --nfp | --nf)
1110    # Obsolete; use --without-fp.
1111    with_fp=no ;;
1112
1113  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1114  | --no-cr | --no-c | -n)
1115    no_create=yes ;;
1116
1117  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1118  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1119    no_recursion=yes ;;
1120
1121  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1122  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1123  | --oldin | --oldi | --old | --ol | --o)
1124    ac_prev=oldincludedir ;;
1125  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1126  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1127  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1128    oldincludedir=$ac_optarg ;;
1129
1130  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1131    ac_prev=prefix ;;
1132  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1133    prefix=$ac_optarg ;;
1134
1135  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1136  | --program-pre | --program-pr | --program-p)
1137    ac_prev=program_prefix ;;
1138  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1139  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1140    program_prefix=$ac_optarg ;;
1141
1142  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1143  | --program-suf | --program-su | --program-s)
1144    ac_prev=program_suffix ;;
1145  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1146  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1147    program_suffix=$ac_optarg ;;
1148
1149  -program-transform-name | --program-transform-name \
1150  | --program-transform-nam | --program-transform-na \
1151  | --program-transform-n | --program-transform- \
1152  | --program-transform | --program-transfor \
1153  | --program-transfo | --program-transf \
1154  | --program-trans | --program-tran \
1155  | --progr-tra | --program-tr | --program-t)
1156    ac_prev=program_transform_name ;;
1157  -program-transform-name=* | --program-transform-name=* \
1158  | --program-transform-nam=* | --program-transform-na=* \
1159  | --program-transform-n=* | --program-transform-=* \
1160  | --program-transform=* | --program-transfor=* \
1161  | --program-transfo=* | --program-transf=* \
1162  | --program-trans=* | --program-tran=* \
1163  | --progr-tra=* | --program-tr=* | --program-t=*)
1164    program_transform_name=$ac_optarg ;;
1165
1166  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1167    ac_prev=pdfdir ;;
1168  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1169    pdfdir=$ac_optarg ;;
1170
1171  -psdir | --psdir | --psdi | --psd | --ps)
1172    ac_prev=psdir ;;
1173  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1174    psdir=$ac_optarg ;;
1175
1176  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1177  | -silent | --silent | --silen | --sile | --sil)
1178    silent=yes ;;
1179
1180  -runstatedir | --runstatedir | --runstatedi | --runstated \
1181  | --runstate | --runstat | --runsta | --runst | --runs \
1182  | --run | --ru | --r)
1183    ac_prev=runstatedir ;;
1184  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1185  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1186  | --run=* | --ru=* | --r=*)
1187    runstatedir=$ac_optarg ;;
1188
1189  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1190    ac_prev=sbindir ;;
1191  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1192  | --sbi=* | --sb=*)
1193    sbindir=$ac_optarg ;;
1194
1195  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1196  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1197  | --sharedst | --shareds | --shared | --share | --shar \
1198  | --sha | --sh)
1199    ac_prev=sharedstatedir ;;
1200  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1201  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1202  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1203  | --sha=* | --sh=*)
1204    sharedstatedir=$ac_optarg ;;
1205
1206  -site | --site | --sit)
1207    ac_prev=site ;;
1208  -site=* | --site=* | --sit=*)
1209    site=$ac_optarg ;;
1210
1211  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1212    ac_prev=srcdir ;;
1213  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1214    srcdir=$ac_optarg ;;
1215
1216  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1217  | --syscon | --sysco | --sysc | --sys | --sy)
1218    ac_prev=sysconfdir ;;
1219  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1220  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1221    sysconfdir=$ac_optarg ;;
1222
1223  -target | --target | --targe | --targ | --tar | --ta | --t)
1224    ac_prev=target_alias ;;
1225  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1226    target_alias=$ac_optarg ;;
1227
1228  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1229    verbose=yes ;;
1230
1231  -version | --version | --versio | --versi | --vers | -V)
1232    ac_init_version=: ;;
1233
1234  -with-* | --with-*)
1235    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236    # Reject names that are not valid shell variable names.
1237    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238      as_fn_error $? "invalid package name: $ac_useropt"
1239    ac_useropt_orig=$ac_useropt
1240    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241    case $ac_user_opts in
1242      *"
1243"with_$ac_useropt"
1244"*) ;;
1245      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1246	 ac_unrecognized_sep=', ';;
1247    esac
1248    eval with_$ac_useropt=\$ac_optarg ;;
1249
1250  -without-* | --without-*)
1251    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252    # Reject names that are not valid shell variable names.
1253    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254      as_fn_error $? "invalid package name: $ac_useropt"
1255    ac_useropt_orig=$ac_useropt
1256    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257    case $ac_user_opts in
1258      *"
1259"with_$ac_useropt"
1260"*) ;;
1261      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1262	 ac_unrecognized_sep=', ';;
1263    esac
1264    eval with_$ac_useropt=no ;;
1265
1266  --x)
1267    # Obsolete; use --with-x.
1268    with_x=yes ;;
1269
1270  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1271  | --x-incl | --x-inc | --x-in | --x-i)
1272    ac_prev=x_includes ;;
1273  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1274  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1275    x_includes=$ac_optarg ;;
1276
1277  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1278  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1279    ac_prev=x_libraries ;;
1280  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1281  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1282    x_libraries=$ac_optarg ;;
1283
1284  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1285Try \`$0 --help' for more information"
1286    ;;
1287
1288  *=*)
1289    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1290    # Reject names that are not valid shell variable names.
1291    case $ac_envvar in #(
1292      '' | [0-9]* | *[!_$as_cr_alnum]* )
1293      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1294    esac
1295    eval $ac_envvar=\$ac_optarg
1296    export $ac_envvar ;;
1297
1298  *)
1299    # FIXME: should be removed in autoconf 3.0.
1300    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1302      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1304    ;;
1305
1306  esac
1307done
1308
1309if test -n "$ac_prev"; then
1310  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1311  as_fn_error $? "missing argument to $ac_option"
1312fi
1313
1314if test -n "$ac_unrecognized_opts"; then
1315  case $enable_option_checking in
1316    no) ;;
1317    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1318    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1319  esac
1320fi
1321
1322# Check all directory arguments for consistency.
1323for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1324		datadir sysconfdir sharedstatedir localstatedir includedir \
1325		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1326		libdir localedir mandir runstatedir
1327do
1328  eval ac_val=\$$ac_var
1329  # Remove trailing slashes.
1330  case $ac_val in
1331    */ )
1332      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1333      eval $ac_var=\$ac_val;;
1334  esac
1335  # Be sure to have absolute directory names.
1336  case $ac_val in
1337    [\\/$]* | ?:[\\/]* )  continue;;
1338    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1339  esac
1340  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1341done
1342
1343# There might be people who depend on the old broken behavior: `$host'
1344# used to hold the argument of --host etc.
1345# FIXME: To remove some day.
1346build=$build_alias
1347host=$host_alias
1348target=$target_alias
1349
1350# FIXME: To remove some day.
1351if test "x$host_alias" != x; then
1352  if test "x$build_alias" = x; then
1353    cross_compiling=maybe
1354  elif test "x$build_alias" != "x$host_alias"; then
1355    cross_compiling=yes
1356  fi
1357fi
1358
1359ac_tool_prefix=
1360test -n "$host_alias" && ac_tool_prefix=$host_alias-
1361
1362test "$silent" = yes && exec 6>/dev/null
1363
1364
1365ac_pwd=`pwd` && test -n "$ac_pwd" &&
1366ac_ls_di=`ls -di .` &&
1367ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1368  as_fn_error $? "working directory cannot be determined"
1369test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1370  as_fn_error $? "pwd does not report name of working directory"
1371
1372
1373# Find the source files, if location was not specified.
1374if test -z "$srcdir"; then
1375  ac_srcdir_defaulted=yes
1376  # Try the directory containing this script, then the parent directory.
1377  ac_confdir=`$as_dirname -- "$as_myself" ||
1378$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379	 X"$as_myself" : 'X\(//\)[^/]' \| \
1380	 X"$as_myself" : 'X\(//\)$' \| \
1381	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1382$as_echo X"$as_myself" |
1383    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1384	    s//\1/
1385	    q
1386	  }
1387	  /^X\(\/\/\)[^/].*/{
1388	    s//\1/
1389	    q
1390	  }
1391	  /^X\(\/\/\)$/{
1392	    s//\1/
1393	    q
1394	  }
1395	  /^X\(\/\).*/{
1396	    s//\1/
1397	    q
1398	  }
1399	  s/.*/./; q'`
1400  srcdir=$ac_confdir
1401  if test ! -r "$srcdir/$ac_unique_file"; then
1402    srcdir=..
1403  fi
1404else
1405  ac_srcdir_defaulted=no
1406fi
1407if test ! -r "$srcdir/$ac_unique_file"; then
1408  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1409  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1410fi
1411ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1412ac_abs_confdir=`(
1413	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1414	pwd)`
1415# When building in place, set srcdir=.
1416if test "$ac_abs_confdir" = "$ac_pwd"; then
1417  srcdir=.
1418fi
1419# Remove unnecessary trailing slashes from srcdir.
1420# Double slashes in file names in object file debugging info
1421# mess up M-x gdb in Emacs.
1422case $srcdir in
1423*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1424esac
1425for ac_var in $ac_precious_vars; do
1426  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1427  eval ac_env_${ac_var}_value=\$${ac_var}
1428  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1429  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1430done
1431
1432#
1433# Report the --help message.
1434#
1435if test "$ac_init_help" = "long"; then
1436  # Omit some internal or obsolete options to make the list less imposing.
1437  # This message is too long to be a string in the A/UX 3.1 sh.
1438  cat <<_ACEOF
1439\`configure' configures barvinok 0.41.5 to adapt to many kinds of systems.
1440
1441Usage: $0 [OPTION]... [VAR=VALUE]...
1442
1443To assign environment variables (e.g., CC, CFLAGS...), specify them as
1444VAR=VALUE.  See below for descriptions of some of the useful variables.
1445
1446Defaults for the options are specified in brackets.
1447
1448Configuration:
1449  -h, --help              display this help and exit
1450      --help=short        display options specific to this package
1451      --help=recursive    display the short help of all the included packages
1452  -V, --version           display version information and exit
1453  -q, --quiet, --silent   do not print \`checking ...' messages
1454      --cache-file=FILE   cache test results in FILE [disabled]
1455  -C, --config-cache      alias for \`--cache-file=config.cache'
1456  -n, --no-create         do not create output files
1457      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1458
1459Installation directories:
1460  --prefix=PREFIX         install architecture-independent files in PREFIX
1461                          [$ac_default_prefix]
1462  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1463                          [PREFIX]
1464
1465By default, \`make install' will install all the files in
1466\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1467an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1468for instance \`--prefix=\$HOME'.
1469
1470For better control, use the options below.
1471
1472Fine tuning of the installation directories:
1473  --bindir=DIR            user executables [EPREFIX/bin]
1474  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1475  --libexecdir=DIR        program executables [EPREFIX/libexec]
1476  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1477  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1478  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1479  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1480  --libdir=DIR            object code libraries [EPREFIX/lib]
1481  --includedir=DIR        C header files [PREFIX/include]
1482  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1483  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1484  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1485  --infodir=DIR           info documentation [DATAROOTDIR/info]
1486  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1487  --mandir=DIR            man documentation [DATAROOTDIR/man]
1488  --docdir=DIR            documentation root [DATAROOTDIR/doc/barvinok]
1489  --htmldir=DIR           html documentation [DOCDIR]
1490  --dvidir=DIR            dvi documentation [DOCDIR]
1491  --pdfdir=DIR            pdf documentation [DOCDIR]
1492  --psdir=DIR             ps documentation [DOCDIR]
1493_ACEOF
1494
1495  cat <<\_ACEOF
1496
1497Program names:
1498  --program-prefix=PREFIX            prepend PREFIX to installed program names
1499  --program-suffix=SUFFIX            append SUFFIX to installed program names
1500  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1501
1502System types:
1503  --build=BUILD     configure for building on BUILD [guessed]
1504  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1505_ACEOF
1506fi
1507
1508if test -n "$ac_init_help"; then
1509  case $ac_init_help in
1510     short | recursive ) echo "Configuration of barvinok 0.41.5:";;
1511   esac
1512  cat <<\_ACEOF
1513
1514Optional Features:
1515  --disable-option-checking  ignore unrecognized --enable/--with options
1516  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1517  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1518  --enable-silent-rules   less verbose build output (undo: "make V=1")
1519  --disable-silent-rules  verbose build output (undo: "make V=0")
1520  --enable-dependency-tracking
1521                          do not reject slow dependency extractors
1522  --disable-dependency-tracking
1523                          speeds up one-time build
1524  --enable-shared[=PKGS]  build shared libraries [default=yes]
1525  --enable-static[=PKGS]  build static libraries [default=yes]
1526  --enable-fast-install[=PKGS]
1527                          optimize for fast installation [default=yes]
1528  --disable-libtool-lock  avoid locking (might break parallel builds)
1529  --enable-shared-barvinok
1530                          build shared barvinok library
1531  --enable-incremental[=bf|df]
1532                          Enable incremental algorithm [bf]
1533
1534Optional Packages:
1535  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1536  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1537  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1538                          both]
1539  --with-aix-soname=aix|svr4|both
1540                          shared library versioning (aka "SONAME") variant to
1541                          provide on AIX, [default=aix].
1542  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1543  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1544                          compiler's sysroot if not specified).
1545  --with-default-prefix=DIR
1546                          Default installation prefix of optional packages
1547  --with-gmp=system|build Which gmp to use [default=system]
1548  --with-gmp-prefix=DIR   Prefix of gmp installation
1549  --with-gmp-exec-prefix=DIR
1550                          Exec prefix of gmp installation
1551  --with-gmp-builddir=DIR Location of gmp builddir
1552  --with-polylib=build|bundled|system
1553                          Which polylib to use [default=bundled]
1554  --with-polylib-prefix=DIR
1555                          Prefix of polylib installation
1556  --with-polylib-exec-prefix=DIR
1557                          Exec prefix of polylib installation
1558  --with-polylib-builddir=DIR
1559                          Location of polylib builddir
1560  --with-isl=build|bundled|system
1561                          Which isl to use [default=bundled]
1562  --with-isl-prefix=DIR   Prefix of isl installation
1563  --with-isl-exec-prefix=DIR
1564                          Exec prefix of isl installation
1565  --with-isl-builddir=DIR Location of isl builddir
1566  --with-pet=bundled|build|system|no
1567                          Which pet to use [default=no]
1568  --with-pet-prefix=DIR   Prefix of pet installation
1569  --with-pet-exec-prefix=DIR
1570                          Exec prefix of pet installation
1571  --with-pet-builddir=DIR Location of pet builddir
1572  --with-ntl=system|build Which NTL to use [default=system]
1573  --with-ntl-prefix=DIR   Prefix of NTL installation
1574  --with-ntl-builddir=DIR Prefix of NTL root build directory containing
1575                          include and src subdirectories
1576  --without-zsolve        do not compile zsolve
1577  --with-omega=no|system  Which omega to use [default=no]
1578  --with-omega-prefix=DIR Prefix of omega installation
1579  --with-omega-exec-prefix=DIR
1580                          Exec prefix of omega installation
1581  --with-mona=DIR         mona *source* directory
1582  --with-cddlib=DIR       DIR Location of cddlib
1583  --with-glpk=DIR         DIR Location of GLPK
1584  --with-topcom=DIR       Location of TOPCOM
1585
1586Some influential environment variables:
1587  CC          C compiler command
1588  CFLAGS      C compiler flags
1589  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1590              nonstandard directory <lib dir>
1591  LIBS        libraries to pass to the linker, e.g. -l<library>
1592  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1593              you have headers in a nonstandard directory <include dir>
1594  CXX         C++ compiler command
1595  CXXFLAGS    C++ compiler flags
1596  YACC        The `Yet Another Compiler Compiler' implementation to use.
1597              Defaults to the first program found out of: `bison -y', `byacc',
1598              `yacc'.
1599  YFLAGS      The list of arguments that will be passed by default to $YACC.
1600              This script will default YFLAGS to the empty string to avoid a
1601              default value of `-d' given by some make applications.
1602  LT_SYS_LIBRARY_PATH
1603              User-defined run-time library search path.
1604  CPP         C preprocessor
1605  CXXCPP      C++ preprocessor
1606  PKG_CONFIG  path to pkg-config utility
1607  ISL_CFLAGS  C compiler flags for ISL, overriding pkg-config
1608  ISL_LIBS    linker flags for ISL, overriding pkg-config
1609  PET_CFLAGS  C compiler flags for PET, overriding pkg-config
1610  PET_LIBS    linker flags for PET, overriding pkg-config
1611
1612Use these variables to override the choices made by `configure' or to help
1613it to find libraries and programs with nonstandard names/locations.
1614
1615Report bugs to <isl-development@googlegroups.com>.
1616_ACEOF
1617ac_status=$?
1618fi
1619
1620if test "$ac_init_help" = "recursive"; then
1621  # If there are subdirs, report their specific --help.
1622  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1623    test -d "$ac_dir" ||
1624      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1625      continue
1626    ac_builddir=.
1627
1628case "$ac_dir" in
1629.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630*)
1631  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1632  # A ".." for each directory in $ac_dir_suffix.
1633  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1634  case $ac_top_builddir_sub in
1635  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1637  esac ;;
1638esac
1639ac_abs_top_builddir=$ac_pwd
1640ac_abs_builddir=$ac_pwd$ac_dir_suffix
1641# for backward compatibility:
1642ac_top_builddir=$ac_top_build_prefix
1643
1644case $srcdir in
1645  .)  # We are building in place.
1646    ac_srcdir=.
1647    ac_top_srcdir=$ac_top_builddir_sub
1648    ac_abs_top_srcdir=$ac_pwd ;;
1649  [\\/]* | ?:[\\/]* )  # Absolute name.
1650    ac_srcdir=$srcdir$ac_dir_suffix;
1651    ac_top_srcdir=$srcdir
1652    ac_abs_top_srcdir=$srcdir ;;
1653  *) # Relative name.
1654    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1655    ac_top_srcdir=$ac_top_build_prefix$srcdir
1656    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1657esac
1658ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659
1660    cd "$ac_dir" || { ac_status=$?; continue; }
1661    # Check for guested configure.
1662    if test -f "$ac_srcdir/configure.gnu"; then
1663      echo &&
1664      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1665    elif test -f "$ac_srcdir/configure"; then
1666      echo &&
1667      $SHELL "$ac_srcdir/configure" --help=recursive
1668    else
1669      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1670    fi || ac_status=$?
1671    cd "$ac_pwd" || { ac_status=$?; break; }
1672  done
1673fi
1674
1675test -n "$ac_init_help" && exit $ac_status
1676if $ac_init_version; then
1677  cat <<\_ACEOF
1678barvinok configure 0.41.5
1679generated by GNU Autoconf 2.69
1680
1681Copyright (C) 2012 Free Software Foundation, Inc.
1682This configure script is free software; the Free Software Foundation
1683gives unlimited permission to copy, distribute and modify it.
1684_ACEOF
1685  exit
1686fi
1687
1688## ------------------------ ##
1689## Autoconf initialization. ##
1690## ------------------------ ##
1691
1692# ac_fn_c_try_compile LINENO
1693# --------------------------
1694# Try to compile conftest.$ac_ext, and return whether this succeeded.
1695ac_fn_c_try_compile ()
1696{
1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698  rm -f conftest.$ac_objext
1699  if { { ac_try="$ac_compile"
1700case "(($ac_try" in
1701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702  *) ac_try_echo=$ac_try;;
1703esac
1704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705$as_echo "$ac_try_echo"; } >&5
1706  (eval "$ac_compile") 2>conftest.err
1707  ac_status=$?
1708  if test -s conftest.err; then
1709    grep -v '^ *+' conftest.err >conftest.er1
1710    cat conftest.er1 >&5
1711    mv -f conftest.er1 conftest.err
1712  fi
1713  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714  test $ac_status = 0; } && {
1715	 test -z "$ac_c_werror_flag" ||
1716	 test ! -s conftest.err
1717       } && test -s conftest.$ac_objext; then :
1718  ac_retval=0
1719else
1720  $as_echo "$as_me: failed program was:" >&5
1721sed 's/^/| /' conftest.$ac_ext >&5
1722
1723	ac_retval=1
1724fi
1725  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726  as_fn_set_status $ac_retval
1727
1728} # ac_fn_c_try_compile
1729
1730# ac_fn_cxx_try_compile LINENO
1731# ----------------------------
1732# Try to compile conftest.$ac_ext, and return whether this succeeded.
1733ac_fn_cxx_try_compile ()
1734{
1735  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736  rm -f conftest.$ac_objext
1737  if { { ac_try="$ac_compile"
1738case "(($ac_try" in
1739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740  *) ac_try_echo=$ac_try;;
1741esac
1742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743$as_echo "$ac_try_echo"; } >&5
1744  (eval "$ac_compile") 2>conftest.err
1745  ac_status=$?
1746  if test -s conftest.err; then
1747    grep -v '^ *+' conftest.err >conftest.er1
1748    cat conftest.er1 >&5
1749    mv -f conftest.er1 conftest.err
1750  fi
1751  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752  test $ac_status = 0; } && {
1753	 test -z "$ac_cxx_werror_flag" ||
1754	 test ! -s conftest.err
1755       } && test -s conftest.$ac_objext; then :
1756  ac_retval=0
1757else
1758  $as_echo "$as_me: failed program was:" >&5
1759sed 's/^/| /' conftest.$ac_ext >&5
1760
1761	ac_retval=1
1762fi
1763  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764  as_fn_set_status $ac_retval
1765
1766} # ac_fn_cxx_try_compile
1767
1768# ac_fn_c_try_link LINENO
1769# -----------------------
1770# Try to link conftest.$ac_ext, and return whether this succeeded.
1771ac_fn_c_try_link ()
1772{
1773  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774  rm -f conftest.$ac_objext conftest$ac_exeext
1775  if { { ac_try="$ac_link"
1776case "(($ac_try" in
1777  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778  *) ac_try_echo=$ac_try;;
1779esac
1780eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781$as_echo "$ac_try_echo"; } >&5
1782  (eval "$ac_link") 2>conftest.err
1783  ac_status=$?
1784  if test -s conftest.err; then
1785    grep -v '^ *+' conftest.err >conftest.er1
1786    cat conftest.er1 >&5
1787    mv -f conftest.er1 conftest.err
1788  fi
1789  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790  test $ac_status = 0; } && {
1791	 test -z "$ac_c_werror_flag" ||
1792	 test ! -s conftest.err
1793       } && test -s conftest$ac_exeext && {
1794	 test "$cross_compiling" = yes ||
1795	 test -x conftest$ac_exeext
1796       }; then :
1797  ac_retval=0
1798else
1799  $as_echo "$as_me: failed program was:" >&5
1800sed 's/^/| /' conftest.$ac_ext >&5
1801
1802	ac_retval=1
1803fi
1804  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1805  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1806  # interfere with the next link command; also delete a directory that is
1807  # left behind by Apple's compiler.  We do this before executing the actions.
1808  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810  as_fn_set_status $ac_retval
1811
1812} # ac_fn_c_try_link
1813
1814# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1815# -------------------------------------------------------
1816# Tests whether HEADER exists and can be compiled using the include files in
1817# INCLUDES, setting the cache variable VAR accordingly.
1818ac_fn_c_check_header_compile ()
1819{
1820  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822$as_echo_n "checking for $2... " >&6; }
1823if eval \${$3+:} false; then :
1824  $as_echo_n "(cached) " >&6
1825else
1826  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827/* end confdefs.h.  */
1828$4
1829#include <$2>
1830_ACEOF
1831if ac_fn_c_try_compile "$LINENO"; then :
1832  eval "$3=yes"
1833else
1834  eval "$3=no"
1835fi
1836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1837fi
1838eval ac_res=\$$3
1839	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840$as_echo "$ac_res" >&6; }
1841  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842
1843} # ac_fn_c_check_header_compile
1844
1845# ac_fn_c_try_cpp LINENO
1846# ----------------------
1847# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1848ac_fn_c_try_cpp ()
1849{
1850  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851  if { { ac_try="$ac_cpp conftest.$ac_ext"
1852case "(($ac_try" in
1853  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854  *) ac_try_echo=$ac_try;;
1855esac
1856eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857$as_echo "$ac_try_echo"; } >&5
1858  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1859  ac_status=$?
1860  if test -s conftest.err; then
1861    grep -v '^ *+' conftest.err >conftest.er1
1862    cat conftest.er1 >&5
1863    mv -f conftest.er1 conftest.err
1864  fi
1865  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866  test $ac_status = 0; } > conftest.i && {
1867	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1868	 test ! -s conftest.err
1869       }; then :
1870  ac_retval=0
1871else
1872  $as_echo "$as_me: failed program was:" >&5
1873sed 's/^/| /' conftest.$ac_ext >&5
1874
1875    ac_retval=1
1876fi
1877  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878  as_fn_set_status $ac_retval
1879
1880} # ac_fn_c_try_cpp
1881
1882# ac_fn_c_try_run LINENO
1883# ----------------------
1884# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1885# that executables *can* be run.
1886ac_fn_c_try_run ()
1887{
1888  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889  if { { ac_try="$ac_link"
1890case "(($ac_try" in
1891  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892  *) ac_try_echo=$ac_try;;
1893esac
1894eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895$as_echo "$ac_try_echo"; } >&5
1896  (eval "$ac_link") 2>&5
1897  ac_status=$?
1898  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1900  { { case "(($ac_try" in
1901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1902  *) ac_try_echo=$ac_try;;
1903esac
1904eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905$as_echo "$ac_try_echo"; } >&5
1906  (eval "$ac_try") 2>&5
1907  ac_status=$?
1908  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909  test $ac_status = 0; }; }; then :
1910  ac_retval=0
1911else
1912  $as_echo "$as_me: program exited with status $ac_status" >&5
1913       $as_echo "$as_me: failed program was:" >&5
1914sed 's/^/| /' conftest.$ac_ext >&5
1915
1916       ac_retval=$ac_status
1917fi
1918  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1919  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920  as_fn_set_status $ac_retval
1921
1922} # ac_fn_c_try_run
1923
1924# ac_fn_c_check_func LINENO FUNC VAR
1925# ----------------------------------
1926# Tests whether FUNC exists, setting the cache variable VAR accordingly
1927ac_fn_c_check_func ()
1928{
1929  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931$as_echo_n "checking for $2... " >&6; }
1932if eval \${$3+:} false; then :
1933  $as_echo_n "(cached) " >&6
1934else
1935  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936/* end confdefs.h.  */
1937/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1938   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1939#define $2 innocuous_$2
1940
1941/* System header to define __stub macros and hopefully few prototypes,
1942    which can conflict with char $2 (); below.
1943    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1944    <limits.h> exists even on freestanding compilers.  */
1945
1946#ifdef __STDC__
1947# include <limits.h>
1948#else
1949# include <assert.h>
1950#endif
1951
1952#undef $2
1953
1954/* Override any GCC internal prototype to avoid an error.
1955   Use char because int might match the return type of a GCC
1956   builtin and then its argument prototype would still apply.  */
1957#ifdef __cplusplus
1958extern "C"
1959#endif
1960char $2 ();
1961/* The GNU C library defines this for functions which it implements
1962    to always fail with ENOSYS.  Some functions are actually named
1963    something starting with __ and the normal name is an alias.  */
1964#if defined __stub_$2 || defined __stub___$2
1965choke me
1966#endif
1967
1968int
1969main ()
1970{
1971return $2 ();
1972  ;
1973  return 0;
1974}
1975_ACEOF
1976if ac_fn_c_try_link "$LINENO"; then :
1977  eval "$3=yes"
1978else
1979  eval "$3=no"
1980fi
1981rm -f core conftest.err conftest.$ac_objext \
1982    conftest$ac_exeext conftest.$ac_ext
1983fi
1984eval ac_res=\$$3
1985	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986$as_echo "$ac_res" >&6; }
1987  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988
1989} # ac_fn_c_check_func
1990
1991# ac_fn_cxx_try_cpp LINENO
1992# ------------------------
1993# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1994ac_fn_cxx_try_cpp ()
1995{
1996  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1997  if { { ac_try="$ac_cpp conftest.$ac_ext"
1998case "(($ac_try" in
1999  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2000  *) ac_try_echo=$ac_try;;
2001esac
2002eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003$as_echo "$ac_try_echo"; } >&5
2004  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2005  ac_status=$?
2006  if test -s conftest.err; then
2007    grep -v '^ *+' conftest.err >conftest.er1
2008    cat conftest.er1 >&5
2009    mv -f conftest.er1 conftest.err
2010  fi
2011  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012  test $ac_status = 0; } > conftest.i && {
2013	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2014	 test ! -s conftest.err
2015       }; then :
2016  ac_retval=0
2017else
2018  $as_echo "$as_me: failed program was:" >&5
2019sed 's/^/| /' conftest.$ac_ext >&5
2020
2021    ac_retval=1
2022fi
2023  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024  as_fn_set_status $ac_retval
2025
2026} # ac_fn_cxx_try_cpp
2027
2028# ac_fn_cxx_try_link LINENO
2029# -------------------------
2030# Try to link conftest.$ac_ext, and return whether this succeeded.
2031ac_fn_cxx_try_link ()
2032{
2033  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034  rm -f conftest.$ac_objext conftest$ac_exeext
2035  if { { ac_try="$ac_link"
2036case "(($ac_try" in
2037  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2038  *) ac_try_echo=$ac_try;;
2039esac
2040eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2041$as_echo "$ac_try_echo"; } >&5
2042  (eval "$ac_link") 2>conftest.err
2043  ac_status=$?
2044  if test -s conftest.err; then
2045    grep -v '^ *+' conftest.err >conftest.er1
2046    cat conftest.er1 >&5
2047    mv -f conftest.er1 conftest.err
2048  fi
2049  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2050  test $ac_status = 0; } && {
2051	 test -z "$ac_cxx_werror_flag" ||
2052	 test ! -s conftest.err
2053       } && test -s conftest$ac_exeext && {
2054	 test "$cross_compiling" = yes ||
2055	 test -x conftest$ac_exeext
2056       }; then :
2057  ac_retval=0
2058else
2059  $as_echo "$as_me: failed program was:" >&5
2060sed 's/^/| /' conftest.$ac_ext >&5
2061
2062	ac_retval=1
2063fi
2064  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2065  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2066  # interfere with the next link command; also delete a directory that is
2067  # left behind by Apple's compiler.  We do this before executing the actions.
2068  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2069  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070  as_fn_set_status $ac_retval
2071
2072} # ac_fn_cxx_try_link
2073
2074# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2075# -------------------------------------------------------
2076# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2077# the include files in INCLUDES and setting the cache variable VAR
2078# accordingly.
2079ac_fn_c_check_header_mongrel ()
2080{
2081  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2082  if eval \${$3+:} false; then :
2083  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084$as_echo_n "checking for $2... " >&6; }
2085if eval \${$3+:} false; then :
2086  $as_echo_n "(cached) " >&6
2087fi
2088eval ac_res=\$$3
2089	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2090$as_echo "$ac_res" >&6; }
2091else
2092  # Is the header compilable?
2093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2094$as_echo_n "checking $2 usability... " >&6; }
2095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096/* end confdefs.h.  */
2097$4
2098#include <$2>
2099_ACEOF
2100if ac_fn_c_try_compile "$LINENO"; then :
2101  ac_header_compiler=yes
2102else
2103  ac_header_compiler=no
2104fi
2105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2107$as_echo "$ac_header_compiler" >&6; }
2108
2109# Is the header present?
2110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2111$as_echo_n "checking $2 presence... " >&6; }
2112cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2113/* end confdefs.h.  */
2114#include <$2>
2115_ACEOF
2116if ac_fn_c_try_cpp "$LINENO"; then :
2117  ac_header_preproc=yes
2118else
2119  ac_header_preproc=no
2120fi
2121rm -f conftest.err conftest.i conftest.$ac_ext
2122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2123$as_echo "$ac_header_preproc" >&6; }
2124
2125# So?  What about this header?
2126case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2127  yes:no: )
2128    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2129$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2130    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2131$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2132    ;;
2133  no:yes:* )
2134    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2135$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2136    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2137$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2138    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2139$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2140    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2141$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2142    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2143$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2144( $as_echo "## ----------------------------------------------- ##
2145## Report this to isl-development@googlegroups.com ##
2146## ----------------------------------------------- ##"
2147     ) | sed "s/^/$as_me: WARNING:     /" >&2
2148    ;;
2149esac
2150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2151$as_echo_n "checking for $2... " >&6; }
2152if eval \${$3+:} false; then :
2153  $as_echo_n "(cached) " >&6
2154else
2155  eval "$3=\$ac_header_compiler"
2156fi
2157eval ac_res=\$$3
2158	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2159$as_echo "$ac_res" >&6; }
2160fi
2161  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162
2163} # ac_fn_c_check_header_mongrel
2164
2165# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2166# ---------------------------------------------
2167# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2168# accordingly.
2169ac_fn_c_check_decl ()
2170{
2171  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2172  as_decl_name=`echo $2|sed 's/ *(.*//'`
2173  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2174  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2175$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2176if eval \${$3+:} false; then :
2177  $as_echo_n "(cached) " >&6
2178else
2179  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180/* end confdefs.h.  */
2181$4
2182int
2183main ()
2184{
2185#ifndef $as_decl_name
2186#ifdef __cplusplus
2187  (void) $as_decl_use;
2188#else
2189  (void) $as_decl_name;
2190#endif
2191#endif
2192
2193  ;
2194  return 0;
2195}
2196_ACEOF
2197if ac_fn_c_try_compile "$LINENO"; then :
2198  eval "$3=yes"
2199else
2200  eval "$3=no"
2201fi
2202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203fi
2204eval ac_res=\$$3
2205	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2206$as_echo "$ac_res" >&6; }
2207  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2208
2209} # ac_fn_c_check_decl
2210
2211# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2212# ---------------------------------------------------------
2213# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2214# the include files in INCLUDES and setting the cache variable VAR
2215# accordingly.
2216ac_fn_cxx_check_header_mongrel ()
2217{
2218  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2219  if eval \${$3+:} false; then :
2220  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2221$as_echo_n "checking for $2... " >&6; }
2222if eval \${$3+:} false; then :
2223  $as_echo_n "(cached) " >&6
2224fi
2225eval ac_res=\$$3
2226	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227$as_echo "$ac_res" >&6; }
2228else
2229  # Is the header compilable?
2230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2231$as_echo_n "checking $2 usability... " >&6; }
2232cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233/* end confdefs.h.  */
2234$4
2235#include <$2>
2236_ACEOF
2237if ac_fn_cxx_try_compile "$LINENO"; then :
2238  ac_header_compiler=yes
2239else
2240  ac_header_compiler=no
2241fi
2242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2244$as_echo "$ac_header_compiler" >&6; }
2245
2246# Is the header present?
2247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2248$as_echo_n "checking $2 presence... " >&6; }
2249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2250/* end confdefs.h.  */
2251#include <$2>
2252_ACEOF
2253if ac_fn_cxx_try_cpp "$LINENO"; then :
2254  ac_header_preproc=yes
2255else
2256  ac_header_preproc=no
2257fi
2258rm -f conftest.err conftest.i conftest.$ac_ext
2259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2260$as_echo "$ac_header_preproc" >&6; }
2261
2262# So?  What about this header?
2263case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2264  yes:no: )
2265    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2266$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2267    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2268$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2269    ;;
2270  no:yes:* )
2271    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2272$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2273    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2274$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2275    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2276$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2277    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2278$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2279    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2280$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2281( $as_echo "## ----------------------------------------------- ##
2282## Report this to isl-development@googlegroups.com ##
2283## ----------------------------------------------- ##"
2284     ) | sed "s/^/$as_me: WARNING:     /" >&2
2285    ;;
2286esac
2287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2288$as_echo_n "checking for $2... " >&6; }
2289if eval \${$3+:} false; then :
2290  $as_echo_n "(cached) " >&6
2291else
2292  eval "$3=\$ac_header_compiler"
2293fi
2294eval ac_res=\$$3
2295	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2296$as_echo "$ac_res" >&6; }
2297fi
2298  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2299
2300} # ac_fn_cxx_check_header_mongrel
2301
2302# ac_fn_cxx_try_run LINENO
2303# ------------------------
2304# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2305# that executables *can* be run.
2306ac_fn_cxx_try_run ()
2307{
2308  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2309  if { { ac_try="$ac_link"
2310case "(($ac_try" in
2311  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2312  *) ac_try_echo=$ac_try;;
2313esac
2314eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2315$as_echo "$ac_try_echo"; } >&5
2316  (eval "$ac_link") 2>&5
2317  ac_status=$?
2318  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2319  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2320  { { case "(($ac_try" in
2321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322  *) ac_try_echo=$ac_try;;
2323esac
2324eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2325$as_echo "$ac_try_echo"; } >&5
2326  (eval "$ac_try") 2>&5
2327  ac_status=$?
2328  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2329  test $ac_status = 0; }; }; then :
2330  ac_retval=0
2331else
2332  $as_echo "$as_me: program exited with status $ac_status" >&5
2333       $as_echo "$as_me: failed program was:" >&5
2334sed 's/^/| /' conftest.$ac_ext >&5
2335
2336       ac_retval=$ac_status
2337fi
2338  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2339  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2340  as_fn_set_status $ac_retval
2341
2342} # ac_fn_cxx_try_run
2343cat >config.log <<_ACEOF
2344This file contains any messages produced by compilers while
2345running configure, to aid debugging if configure makes a mistake.
2346
2347It was created by barvinok $as_me 0.41.5, which was
2348generated by GNU Autoconf 2.69.  Invocation command line was
2349
2350  $ $0 $@
2351
2352_ACEOF
2353exec 5>>config.log
2354{
2355cat <<_ASUNAME
2356## --------- ##
2357## Platform. ##
2358## --------- ##
2359
2360hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2361uname -m = `(uname -m) 2>/dev/null || echo unknown`
2362uname -r = `(uname -r) 2>/dev/null || echo unknown`
2363uname -s = `(uname -s) 2>/dev/null || echo unknown`
2364uname -v = `(uname -v) 2>/dev/null || echo unknown`
2365
2366/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2367/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2368
2369/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2370/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2371/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2372/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2373/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2374/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2375/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2376
2377_ASUNAME
2378
2379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380for as_dir in $PATH
2381do
2382  IFS=$as_save_IFS
2383  test -z "$as_dir" && as_dir=.
2384    $as_echo "PATH: $as_dir"
2385  done
2386IFS=$as_save_IFS
2387
2388} >&5
2389
2390cat >&5 <<_ACEOF
2391
2392
2393## ----------- ##
2394## Core tests. ##
2395## ----------- ##
2396
2397_ACEOF
2398
2399
2400# Keep a trace of the command line.
2401# Strip out --no-create and --no-recursion so they do not pile up.
2402# Strip out --silent because we don't want to record it for future runs.
2403# Also quote any args containing shell meta-characters.
2404# Make two passes to allow for proper duplicate-argument suppression.
2405ac_configure_args=
2406ac_configure_args0=
2407ac_configure_args1=
2408ac_must_keep_next=false
2409for ac_pass in 1 2
2410do
2411  for ac_arg
2412  do
2413    case $ac_arg in
2414    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2415    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2416    | -silent | --silent | --silen | --sile | --sil)
2417      continue ;;
2418    *\'*)
2419      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2420    esac
2421    case $ac_pass in
2422    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2423    2)
2424      as_fn_append ac_configure_args1 " '$ac_arg'"
2425      if test $ac_must_keep_next = true; then
2426	ac_must_keep_next=false # Got value, back to normal.
2427      else
2428	case $ac_arg in
2429	  *=* | --config-cache | -C | -disable-* | --disable-* \
2430	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2431	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2432	  | -with-* | --with-* | -without-* | --without-* | --x)
2433	    case "$ac_configure_args0 " in
2434	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2435	    esac
2436	    ;;
2437	  -* ) ac_must_keep_next=true ;;
2438	esac
2439      fi
2440      as_fn_append ac_configure_args " '$ac_arg'"
2441      ;;
2442    esac
2443  done
2444done
2445{ ac_configure_args0=; unset ac_configure_args0;}
2446{ ac_configure_args1=; unset ac_configure_args1;}
2447
2448# When interrupted or exit'd, cleanup temporary files, and complete
2449# config.log.  We remove comments because anyway the quotes in there
2450# would cause problems or look ugly.
2451# WARNING: Use '\'' to represent an apostrophe within the trap.
2452# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2453trap 'exit_status=$?
2454  # Save into config.log some information that might help in debugging.
2455  {
2456    echo
2457
2458    $as_echo "## ---------------- ##
2459## Cache variables. ##
2460## ---------------- ##"
2461    echo
2462    # The following way of writing the cache mishandles newlines in values,
2463(
2464  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2465    eval ac_val=\$$ac_var
2466    case $ac_val in #(
2467    *${as_nl}*)
2468      case $ac_var in #(
2469      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2470$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2471      esac
2472      case $ac_var in #(
2473      _ | IFS | as_nl) ;; #(
2474      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2475      *) { eval $ac_var=; unset $ac_var;} ;;
2476      esac ;;
2477    esac
2478  done
2479  (set) 2>&1 |
2480    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2481    *${as_nl}ac_space=\ *)
2482      sed -n \
2483	"s/'\''/'\''\\\\'\'''\''/g;
2484	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2485      ;; #(
2486    *)
2487      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2488      ;;
2489    esac |
2490    sort
2491)
2492    echo
2493
2494    $as_echo "## ----------------- ##
2495## Output variables. ##
2496## ----------------- ##"
2497    echo
2498    for ac_var in $ac_subst_vars
2499    do
2500      eval ac_val=\$$ac_var
2501      case $ac_val in
2502      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2503      esac
2504      $as_echo "$ac_var='\''$ac_val'\''"
2505    done | sort
2506    echo
2507
2508    if test -n "$ac_subst_files"; then
2509      $as_echo "## ------------------- ##
2510## File substitutions. ##
2511## ------------------- ##"
2512      echo
2513      for ac_var in $ac_subst_files
2514      do
2515	eval ac_val=\$$ac_var
2516	case $ac_val in
2517	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2518	esac
2519	$as_echo "$ac_var='\''$ac_val'\''"
2520      done | sort
2521      echo
2522    fi
2523
2524    if test -s confdefs.h; then
2525      $as_echo "## ----------- ##
2526## confdefs.h. ##
2527## ----------- ##"
2528      echo
2529      cat confdefs.h
2530      echo
2531    fi
2532    test "$ac_signal" != 0 &&
2533      $as_echo "$as_me: caught signal $ac_signal"
2534    $as_echo "$as_me: exit $exit_status"
2535  } >&5
2536  rm -f core *.core core.conftest.* &&
2537    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2538    exit $exit_status
2539' 0
2540for ac_signal in 1 2 13 15; do
2541  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2542done
2543ac_signal=0
2544
2545# confdefs.h avoids OS command line length limits that DEFS can exceed.
2546rm -f -r conftest* confdefs.h
2547
2548$as_echo "/* confdefs.h */" > confdefs.h
2549
2550# Predefined preprocessor variables.
2551
2552cat >>confdefs.h <<_ACEOF
2553#define PACKAGE_NAME "$PACKAGE_NAME"
2554_ACEOF
2555
2556cat >>confdefs.h <<_ACEOF
2557#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2558_ACEOF
2559
2560cat >>confdefs.h <<_ACEOF
2561#define PACKAGE_VERSION "$PACKAGE_VERSION"
2562_ACEOF
2563
2564cat >>confdefs.h <<_ACEOF
2565#define PACKAGE_STRING "$PACKAGE_STRING"
2566_ACEOF
2567
2568cat >>confdefs.h <<_ACEOF
2569#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2570_ACEOF
2571
2572cat >>confdefs.h <<_ACEOF
2573#define PACKAGE_URL "$PACKAGE_URL"
2574_ACEOF
2575
2576
2577# Let the site file select an alternate cache file if it wants to.
2578# Prefer an explicitly selected file to automatically selected ones.
2579ac_site_file1=NONE
2580ac_site_file2=NONE
2581if test -n "$CONFIG_SITE"; then
2582  # We do not want a PATH search for config.site.
2583  case $CONFIG_SITE in #((
2584    -*)  ac_site_file1=./$CONFIG_SITE;;
2585    */*) ac_site_file1=$CONFIG_SITE;;
2586    *)   ac_site_file1=./$CONFIG_SITE;;
2587  esac
2588elif test "x$prefix" != xNONE; then
2589  ac_site_file1=$prefix/share/config.site
2590  ac_site_file2=$prefix/etc/config.site
2591else
2592  ac_site_file1=$ac_default_prefix/share/config.site
2593  ac_site_file2=$ac_default_prefix/etc/config.site
2594fi
2595for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2596do
2597  test "x$ac_site_file" = xNONE && continue
2598  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2599    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2600$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2601    sed 's/^/| /' "$ac_site_file" >&5
2602    . "$ac_site_file" \
2603      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2604$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2605as_fn_error $? "failed to load site script $ac_site_file
2606See \`config.log' for more details" "$LINENO" 5; }
2607  fi
2608done
2609
2610if test -r "$cache_file"; then
2611  # Some versions of bash will fail to source /dev/null (special files
2612  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2613  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2614    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2615$as_echo "$as_me: loading cache $cache_file" >&6;}
2616    case $cache_file in
2617      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2618      *)                      . "./$cache_file";;
2619    esac
2620  fi
2621else
2622  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2623$as_echo "$as_me: creating cache $cache_file" >&6;}
2624  >$cache_file
2625fi
2626
2627# Check that the precious variables saved in the cache have kept the same
2628# value.
2629ac_cache_corrupted=false
2630for ac_var in $ac_precious_vars; do
2631  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2632  eval ac_new_set=\$ac_env_${ac_var}_set
2633  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2634  eval ac_new_val=\$ac_env_${ac_var}_value
2635  case $ac_old_set,$ac_new_set in
2636    set,)
2637      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2638$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2639      ac_cache_corrupted=: ;;
2640    ,set)
2641      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2642$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2643      ac_cache_corrupted=: ;;
2644    ,);;
2645    *)
2646      if test "x$ac_old_val" != "x$ac_new_val"; then
2647	# differences in whitespace do not lead to failure.
2648	ac_old_val_w=`echo x $ac_old_val`
2649	ac_new_val_w=`echo x $ac_new_val`
2650	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2651	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2652$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2653	  ac_cache_corrupted=:
2654	else
2655	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2656$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2657	  eval $ac_var=\$ac_old_val
2658	fi
2659	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2660$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2661	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2662$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2663      fi;;
2664  esac
2665  # Pass precious variables to config.status.
2666  if test "$ac_new_set" = set; then
2667    case $ac_new_val in
2668    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2669    *) ac_arg=$ac_var=$ac_new_val ;;
2670    esac
2671    case " $ac_configure_args " in
2672      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2673      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2674    esac
2675  fi
2676done
2677if $ac_cache_corrupted; then
2678  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2680  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2681$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2682  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2683fi
2684## -------------------- ##
2685## Main body of script. ##
2686## -------------------- ##
2687
2688ac_ext=c
2689ac_cpp='$CPP $CPPFLAGS'
2690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2692ac_compiler_gnu=$ac_cv_c_compiler_gnu
2693
2694
2695
2696am__api_version='1.16'
2697
2698ac_aux_dir=
2699for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2700  if test -f "$ac_dir/install-sh"; then
2701    ac_aux_dir=$ac_dir
2702    ac_install_sh="$ac_aux_dir/install-sh -c"
2703    break
2704  elif test -f "$ac_dir/install.sh"; then
2705    ac_aux_dir=$ac_dir
2706    ac_install_sh="$ac_aux_dir/install.sh -c"
2707    break
2708  elif test -f "$ac_dir/shtool"; then
2709    ac_aux_dir=$ac_dir
2710    ac_install_sh="$ac_aux_dir/shtool install -c"
2711    break
2712  fi
2713done
2714if test -z "$ac_aux_dir"; then
2715  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2716fi
2717
2718# These three variables are undocumented and unsupported,
2719# and are intended to be withdrawn in a future Autoconf release.
2720# They can cause serious problems if a builder's source tree is in a directory
2721# whose full name contains unusual characters.
2722ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2723ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2724ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2725
2726
2727# Find a good install program.  We prefer a C program (faster),
2728# so one script is as good as another.  But avoid the broken or
2729# incompatible versions:
2730# SysV /etc/install, /usr/sbin/install
2731# SunOS /usr/etc/install
2732# IRIX /sbin/install
2733# AIX /bin/install
2734# AmigaOS /C/install, which installs bootblocks on floppy discs
2735# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2736# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2737# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2738# OS/2's system install, which has a completely different semantic
2739# ./install, which can be erroneously created by make from ./install.sh.
2740# Reject install programs that cannot install multiple files.
2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2742$as_echo_n "checking for a BSD-compatible install... " >&6; }
2743if test -z "$INSTALL"; then
2744if ${ac_cv_path_install+:} false; then :
2745  $as_echo_n "(cached) " >&6
2746else
2747  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748for as_dir in $PATH
2749do
2750  IFS=$as_save_IFS
2751  test -z "$as_dir" && as_dir=.
2752    # Account for people who put trailing slashes in PATH elements.
2753case $as_dir/ in #((
2754  ./ | .// | /[cC]/* | \
2755  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2756  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2757  /usr/ucb/* ) ;;
2758  *)
2759    # OSF1 and SCO ODT 3.0 have their own names for install.
2760    # Don't use installbsd from OSF since it installs stuff as root
2761    # by default.
2762    for ac_prog in ginstall scoinst install; do
2763      for ac_exec_ext in '' $ac_executable_extensions; do
2764	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2765	  if test $ac_prog = install &&
2766	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2767	    # AIX install.  It has an incompatible calling convention.
2768	    :
2769	  elif test $ac_prog = install &&
2770	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2771	    # program-specific install script used by HP pwplus--don't use.
2772	    :
2773	  else
2774	    rm -rf conftest.one conftest.two conftest.dir
2775	    echo one > conftest.one
2776	    echo two > conftest.two
2777	    mkdir conftest.dir
2778	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2779	      test -s conftest.one && test -s conftest.two &&
2780	      test -s conftest.dir/conftest.one &&
2781	      test -s conftest.dir/conftest.two
2782	    then
2783	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2784	      break 3
2785	    fi
2786	  fi
2787	fi
2788      done
2789    done
2790    ;;
2791esac
2792
2793  done
2794IFS=$as_save_IFS
2795
2796rm -rf conftest.one conftest.two conftest.dir
2797
2798fi
2799  if test "${ac_cv_path_install+set}" = set; then
2800    INSTALL=$ac_cv_path_install
2801  else
2802    # As a last resort, use the slow shell script.  Don't cache a
2803    # value for INSTALL within a source directory, because that will
2804    # break other packages using the cache if that directory is
2805    # removed, or if the value is a relative name.
2806    INSTALL=$ac_install_sh
2807  fi
2808fi
2809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2810$as_echo "$INSTALL" >&6; }
2811
2812# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2813# It thinks the first close brace ends the variable substitution.
2814test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2815
2816test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2817
2818test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2819
2820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2821$as_echo_n "checking whether build environment is sane... " >&6; }
2822# Reject unsafe characters in $srcdir or the absolute working directory
2823# name.  Accept space and tab only in the latter.
2824am_lf='
2825'
2826case `pwd` in
2827  *[\\\"\#\$\&\'\`$am_lf]*)
2828    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2829esac
2830case $srcdir in
2831  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2832    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2833esac
2834
2835# Do 'set' in a subshell so we don't clobber the current shell's
2836# arguments.  Must try -L first in case configure is actually a
2837# symlink; some systems play weird games with the mod time of symlinks
2838# (eg FreeBSD returns the mod time of the symlink's containing
2839# directory).
2840if (
2841   am_has_slept=no
2842   for am_try in 1 2; do
2843     echo "timestamp, slept: $am_has_slept" > conftest.file
2844     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2845     if test "$*" = "X"; then
2846	# -L didn't work.
2847	set X `ls -t "$srcdir/configure" conftest.file`
2848     fi
2849     if test "$*" != "X $srcdir/configure conftest.file" \
2850	&& test "$*" != "X conftest.file $srcdir/configure"; then
2851
2852	# If neither matched, then we have a broken ls.  This can happen
2853	# if, for instance, CONFIG_SHELL is bash and it inherits a
2854	# broken ls alias from the environment.  This has actually
2855	# happened.  Such a system could not be considered "sane".
2856	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2857  alias in your environment" "$LINENO" 5
2858     fi
2859     if test "$2" = conftest.file || test $am_try -eq 2; then
2860       break
2861     fi
2862     # Just in case.
2863     sleep 1
2864     am_has_slept=yes
2865   done
2866   test "$2" = conftest.file
2867   )
2868then
2869   # Ok.
2870   :
2871else
2872   as_fn_error $? "newly created file is older than distributed files!
2873Check your system clock" "$LINENO" 5
2874fi
2875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2876$as_echo "yes" >&6; }
2877# If we didn't sleep, we still need to ensure time stamps of config.status and
2878# generated files are strictly newer.
2879am_sleep_pid=
2880if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2881  ( sleep 1 ) &
2882  am_sleep_pid=$!
2883fi
2884
2885rm -f conftest.file
2886
2887test "$program_prefix" != NONE &&
2888  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2889# Use a double $ so make ignores it.
2890test "$program_suffix" != NONE &&
2891  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2892# Double any \ or $.
2893# By default was `s,x,x', remove it if useless.
2894ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2895program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2896
2897# Expand $ac_aux_dir to an absolute path.
2898am_aux_dir=`cd "$ac_aux_dir" && pwd`
2899
2900if test x"${MISSING+set}" != xset; then
2901  case $am_aux_dir in
2902  *\ * | *\	*)
2903    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2904  *)
2905    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2906  esac
2907fi
2908# Use eval to expand $SHELL
2909if eval "$MISSING --is-lightweight"; then
2910  am_missing_run="$MISSING "
2911else
2912  am_missing_run=
2913  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2914$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2915fi
2916
2917if test x"${install_sh+set}" != xset; then
2918  case $am_aux_dir in
2919  *\ * | *\	*)
2920    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2921  *)
2922    install_sh="\${SHELL} $am_aux_dir/install-sh"
2923  esac
2924fi
2925
2926# Installed binaries are usually stripped using 'strip' when the user
2927# run "make install-strip".  However 'strip' might not be the right
2928# tool to use in cross-compilation environments, therefore Automake
2929# will honor the 'STRIP' environment variable to overrule this program.
2930if test "$cross_compiling" != no; then
2931  if test -n "$ac_tool_prefix"; then
2932  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2933set dummy ${ac_tool_prefix}strip; ac_word=$2
2934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935$as_echo_n "checking for $ac_word... " >&6; }
2936if ${ac_cv_prog_STRIP+:} false; then :
2937  $as_echo_n "(cached) " >&6
2938else
2939  if test -n "$STRIP"; then
2940  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2941else
2942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943for as_dir in $PATH
2944do
2945  IFS=$as_save_IFS
2946  test -z "$as_dir" && as_dir=.
2947    for ac_exec_ext in '' $ac_executable_extensions; do
2948  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2949    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2950    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951    break 2
2952  fi
2953done
2954  done
2955IFS=$as_save_IFS
2956
2957fi
2958fi
2959STRIP=$ac_cv_prog_STRIP
2960if test -n "$STRIP"; then
2961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2962$as_echo "$STRIP" >&6; }
2963else
2964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965$as_echo "no" >&6; }
2966fi
2967
2968
2969fi
2970if test -z "$ac_cv_prog_STRIP"; then
2971  ac_ct_STRIP=$STRIP
2972  # Extract the first word of "strip", so it can be a program name with args.
2973set dummy strip; ac_word=$2
2974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975$as_echo_n "checking for $ac_word... " >&6; }
2976if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2977  $as_echo_n "(cached) " >&6
2978else
2979  if test -n "$ac_ct_STRIP"; then
2980  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2981else
2982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983for as_dir in $PATH
2984do
2985  IFS=$as_save_IFS
2986  test -z "$as_dir" && as_dir=.
2987    for ac_exec_ext in '' $ac_executable_extensions; do
2988  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989    ac_cv_prog_ac_ct_STRIP="strip"
2990    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991    break 2
2992  fi
2993done
2994  done
2995IFS=$as_save_IFS
2996
2997fi
2998fi
2999ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3000if test -n "$ac_ct_STRIP"; then
3001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3002$as_echo "$ac_ct_STRIP" >&6; }
3003else
3004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005$as_echo "no" >&6; }
3006fi
3007
3008  if test "x$ac_ct_STRIP" = x; then
3009    STRIP=":"
3010  else
3011    case $cross_compiling:$ac_tool_warned in
3012yes:)
3013{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3015ac_tool_warned=yes ;;
3016esac
3017    STRIP=$ac_ct_STRIP
3018  fi
3019else
3020  STRIP="$ac_cv_prog_STRIP"
3021fi
3022
3023fi
3024INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3025
3026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3027$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3028if test -z "$MKDIR_P"; then
3029  if ${ac_cv_path_mkdir+:} false; then :
3030  $as_echo_n "(cached) " >&6
3031else
3032  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3034do
3035  IFS=$as_save_IFS
3036  test -z "$as_dir" && as_dir=.
3037    for ac_prog in mkdir gmkdir; do
3038	 for ac_exec_ext in '' $ac_executable_extensions; do
3039	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3040	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3041	     'mkdir (GNU coreutils) '* | \
3042	     'mkdir (coreutils) '* | \
3043	     'mkdir (fileutils) '4.1*)
3044	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3045	       break 3;;
3046	   esac
3047	 done
3048       done
3049  done
3050IFS=$as_save_IFS
3051
3052fi
3053
3054  test -d ./--version && rmdir ./--version
3055  if test "${ac_cv_path_mkdir+set}" = set; then
3056    MKDIR_P="$ac_cv_path_mkdir -p"
3057  else
3058    # As a last resort, use the slow shell script.  Don't cache a
3059    # value for MKDIR_P within a source directory, because that will
3060    # break other packages using the cache if that directory is
3061    # removed, or if the value is a relative name.
3062    MKDIR_P="$ac_install_sh -d"
3063  fi
3064fi
3065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3066$as_echo "$MKDIR_P" >&6; }
3067
3068for ac_prog in gawk mawk nawk awk
3069do
3070  # Extract the first word of "$ac_prog", so it can be a program name with args.
3071set dummy $ac_prog; ac_word=$2
3072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073$as_echo_n "checking for $ac_word... " >&6; }
3074if ${ac_cv_prog_AWK+:} false; then :
3075  $as_echo_n "(cached) " >&6
3076else
3077  if test -n "$AWK"; then
3078  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3079else
3080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081for as_dir in $PATH
3082do
3083  IFS=$as_save_IFS
3084  test -z "$as_dir" && as_dir=.
3085    for ac_exec_ext in '' $ac_executable_extensions; do
3086  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087    ac_cv_prog_AWK="$ac_prog"
3088    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089    break 2
3090  fi
3091done
3092  done
3093IFS=$as_save_IFS
3094
3095fi
3096fi
3097AWK=$ac_cv_prog_AWK
3098if test -n "$AWK"; then
3099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3100$as_echo "$AWK" >&6; }
3101else
3102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103$as_echo "no" >&6; }
3104fi
3105
3106
3107  test -n "$AWK" && break
3108done
3109
3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3111$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3112set x ${MAKE-make}
3113ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3114if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3115  $as_echo_n "(cached) " >&6
3116else
3117  cat >conftest.make <<\_ACEOF
3118SHELL = /bin/sh
3119all:
3120	@echo '@@@%%%=$(MAKE)=@@@%%%'
3121_ACEOF
3122# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3123case `${MAKE-make} -f conftest.make 2>/dev/null` in
3124  *@@@%%%=?*=@@@%%%*)
3125    eval ac_cv_prog_make_${ac_make}_set=yes;;
3126  *)
3127    eval ac_cv_prog_make_${ac_make}_set=no;;
3128esac
3129rm -f conftest.make
3130fi
3131if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3133$as_echo "yes" >&6; }
3134  SET_MAKE=
3135else
3136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137$as_echo "no" >&6; }
3138  SET_MAKE="MAKE=${MAKE-make}"
3139fi
3140
3141rm -rf .tst 2>/dev/null
3142mkdir .tst 2>/dev/null
3143if test -d .tst; then
3144  am__leading_dot=.
3145else
3146  am__leading_dot=_
3147fi
3148rmdir .tst 2>/dev/null
3149
3150# Check whether --enable-silent-rules was given.
3151if test "${enable_silent_rules+set}" = set; then :
3152  enableval=$enable_silent_rules;
3153fi
3154
3155case $enable_silent_rules in # (((
3156  yes) AM_DEFAULT_VERBOSITY=0;;
3157   no) AM_DEFAULT_VERBOSITY=1;;
3158    *) AM_DEFAULT_VERBOSITY=1;;
3159esac
3160am_make=${MAKE-make}
3161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3162$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3163if ${am_cv_make_support_nested_variables+:} false; then :
3164  $as_echo_n "(cached) " >&6
3165else
3166  if $as_echo 'TRUE=$(BAR$(V))
3167BAR0=false
3168BAR1=true
3169V=1
3170am__doit:
3171	@$(TRUE)
3172.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3173  am_cv_make_support_nested_variables=yes
3174else
3175  am_cv_make_support_nested_variables=no
3176fi
3177fi
3178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3179$as_echo "$am_cv_make_support_nested_variables" >&6; }
3180if test $am_cv_make_support_nested_variables = yes; then
3181    AM_V='$(V)'
3182  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3183else
3184  AM_V=$AM_DEFAULT_VERBOSITY
3185  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3186fi
3187AM_BACKSLASH='\'
3188
3189if test "`cd $srcdir && pwd`" != "`pwd`"; then
3190  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3191  # is not polluted with repeated "-I."
3192  am__isrc=' -I$(srcdir)'
3193  # test to see if srcdir already configured
3194  if test -f $srcdir/config.status; then
3195    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3196  fi
3197fi
3198
3199# test whether we have cygpath
3200if test -z "$CYGPATH_W"; then
3201  if (cygpath --version) >/dev/null 2>/dev/null; then
3202    CYGPATH_W='cygpath -w'
3203  else
3204    CYGPATH_W=echo
3205  fi
3206fi
3207
3208
3209# Define the identity of the package.
3210 PACKAGE='barvinok'
3211 VERSION='0.41.5'
3212
3213
3214cat >>confdefs.h <<_ACEOF
3215#define PACKAGE "$PACKAGE"
3216_ACEOF
3217
3218
3219cat >>confdefs.h <<_ACEOF
3220#define VERSION "$VERSION"
3221_ACEOF
3222
3223# Some tools Automake needs.
3224
3225ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3226
3227
3228AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3229
3230
3231AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3232
3233
3234AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3235
3236
3237MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3238
3239# For better backward compatibility.  To be removed once Automake 1.9.x
3240# dies out for good.  For more background, see:
3241# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3242# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3243mkdir_p='$(MKDIR_P)'
3244
3245# We need awk for the "check" target (and possibly the TAP driver).  The
3246# system "awk" is bad on some platforms.
3247# Always define AMTAR for backward compatibility.  Yes, it's still used
3248# in the wild :-(  We should find a proper way to deprecate it ...
3249AMTAR='$${TAR-tar}'
3250
3251
3252# We'll loop over all known methods to create a tar archive until one works.
3253_am_tools='gnutar  pax cpio none'
3254
3255am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3256
3257
3258
3259
3260
3261
3262# POSIX will say in a future version that running "rm -f" with no argument
3263# is OK; and we want to be able to make that assumption in our Makefile
3264# recipes.  So use an aggressive probe to check that the usage we want is
3265# actually supported "in the wild" to an acceptable degree.
3266# See automake bug#10828.
3267# To make any issue more visible, cause the running configure to be aborted
3268# by default if the 'rm' program in use doesn't match our expectations; the
3269# user can still override this though.
3270if rm -f && rm -fr && rm -rf; then : OK; else
3271  cat >&2 <<'END'
3272Oops!
3273
3274Your 'rm' program seems unable to run without file operands specified
3275on the command line, even when the '-f' option is present.  This is contrary
3276to the behaviour of most rm programs out there, and not conforming with
3277the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3278
3279Please tell bug-automake@gnu.org about your system, including the value
3280of your $PATH and any error possibly output before this message.  This
3281can help us improve future automake versions.
3282
3283END
3284  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3285    echo 'Configuration will proceed anyway, since you have set the' >&2
3286    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3287    echo >&2
3288  else
3289    cat >&2 <<'END'
3290Aborting the configuration process, to ensure you take notice of the issue.
3291
3292You can download and install GNU coreutils to get an 'rm' implementation
3293that behaves properly: <https://www.gnu.org/software/coreutils/>.
3294
3295If you want to complete the configuration process using your problematic
3296'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3297to "yes", and re-run configure.
3298
3299END
3300    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3301  fi
3302fi
3303
3304# Check whether --enable-silent-rules was given.
3305if test "${enable_silent_rules+set}" = set; then :
3306  enableval=$enable_silent_rules;
3307fi
3308
3309case $enable_silent_rules in # (((
3310  yes) AM_DEFAULT_VERBOSITY=0;;
3311   no) AM_DEFAULT_VERBOSITY=1;;
3312    *) AM_DEFAULT_VERBOSITY=0;;
3313esac
3314am_make=${MAKE-make}
3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3316$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3317if ${am_cv_make_support_nested_variables+:} false; then :
3318  $as_echo_n "(cached) " >&6
3319else
3320  if $as_echo 'TRUE=$(BAR$(V))
3321BAR0=false
3322BAR1=true
3323V=1
3324am__doit:
3325	@$(TRUE)
3326.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3327  am_cv_make_support_nested_variables=yes
3328else
3329  am_cv_make_support_nested_variables=no
3330fi
3331fi
3332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3333$as_echo "$am_cv_make_support_nested_variables" >&6; }
3334if test $am_cv_make_support_nested_variables = yes; then
3335    AM_V='$(V)'
3336  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3337else
3338  AM_V=$AM_DEFAULT_VERBOSITY
3339  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3340fi
3341AM_BACKSLASH='\'
3342
3343ac_ext=c
3344ac_cpp='$CPP $CPPFLAGS'
3345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3347ac_compiler_gnu=$ac_cv_c_compiler_gnu
3348if test -n "$ac_tool_prefix"; then
3349  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3350set dummy ${ac_tool_prefix}gcc; ac_word=$2
3351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352$as_echo_n "checking for $ac_word... " >&6; }
3353if ${ac_cv_prog_CC+:} false; then :
3354  $as_echo_n "(cached) " >&6
3355else
3356  if test -n "$CC"; then
3357  ac_cv_prog_CC="$CC" # Let the user override the test.
3358else
3359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360for as_dir in $PATH
3361do
3362  IFS=$as_save_IFS
3363  test -z "$as_dir" && as_dir=.
3364    for ac_exec_ext in '' $ac_executable_extensions; do
3365  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3366    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3367    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368    break 2
3369  fi
3370done
3371  done
3372IFS=$as_save_IFS
3373
3374fi
3375fi
3376CC=$ac_cv_prog_CC
3377if test -n "$CC"; then
3378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3379$as_echo "$CC" >&6; }
3380else
3381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382$as_echo "no" >&6; }
3383fi
3384
3385
3386fi
3387if test -z "$ac_cv_prog_CC"; then
3388  ac_ct_CC=$CC
3389  # Extract the first word of "gcc", so it can be a program name with args.
3390set dummy gcc; ac_word=$2
3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392$as_echo_n "checking for $ac_word... " >&6; }
3393if ${ac_cv_prog_ac_ct_CC+:} false; then :
3394  $as_echo_n "(cached) " >&6
3395else
3396  if test -n "$ac_ct_CC"; then
3397  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3398else
3399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400for as_dir in $PATH
3401do
3402  IFS=$as_save_IFS
3403  test -z "$as_dir" && as_dir=.
3404    for ac_exec_ext in '' $ac_executable_extensions; do
3405  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3406    ac_cv_prog_ac_ct_CC="gcc"
3407    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408    break 2
3409  fi
3410done
3411  done
3412IFS=$as_save_IFS
3413
3414fi
3415fi
3416ac_ct_CC=$ac_cv_prog_ac_ct_CC
3417if test -n "$ac_ct_CC"; then
3418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3419$as_echo "$ac_ct_CC" >&6; }
3420else
3421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422$as_echo "no" >&6; }
3423fi
3424
3425  if test "x$ac_ct_CC" = x; then
3426    CC=""
3427  else
3428    case $cross_compiling:$ac_tool_warned in
3429yes:)
3430{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3431$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3432ac_tool_warned=yes ;;
3433esac
3434    CC=$ac_ct_CC
3435  fi
3436else
3437  CC="$ac_cv_prog_CC"
3438fi
3439
3440if test -z "$CC"; then
3441          if test -n "$ac_tool_prefix"; then
3442    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3443set dummy ${ac_tool_prefix}cc; ac_word=$2
3444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445$as_echo_n "checking for $ac_word... " >&6; }
3446if ${ac_cv_prog_CC+:} false; then :
3447  $as_echo_n "(cached) " >&6
3448else
3449  if test -n "$CC"; then
3450  ac_cv_prog_CC="$CC" # Let the user override the test.
3451else
3452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453for as_dir in $PATH
3454do
3455  IFS=$as_save_IFS
3456  test -z "$as_dir" && as_dir=.
3457    for ac_exec_ext in '' $ac_executable_extensions; do
3458  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459    ac_cv_prog_CC="${ac_tool_prefix}cc"
3460    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3461    break 2
3462  fi
3463done
3464  done
3465IFS=$as_save_IFS
3466
3467fi
3468fi
3469CC=$ac_cv_prog_CC
3470if test -n "$CC"; then
3471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3472$as_echo "$CC" >&6; }
3473else
3474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475$as_echo "no" >&6; }
3476fi
3477
3478
3479  fi
3480fi
3481if test -z "$CC"; then
3482  # Extract the first word of "cc", so it can be a program name with args.
3483set dummy cc; ac_word=$2
3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3485$as_echo_n "checking for $ac_word... " >&6; }
3486if ${ac_cv_prog_CC+:} false; then :
3487  $as_echo_n "(cached) " >&6
3488else
3489  if test -n "$CC"; then
3490  ac_cv_prog_CC="$CC" # Let the user override the test.
3491else
3492  ac_prog_rejected=no
3493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494for as_dir in $PATH
3495do
3496  IFS=$as_save_IFS
3497  test -z "$as_dir" && as_dir=.
3498    for ac_exec_ext in '' $ac_executable_extensions; do
3499  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3501       ac_prog_rejected=yes
3502       continue
3503     fi
3504    ac_cv_prog_CC="cc"
3505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506    break 2
3507  fi
3508done
3509  done
3510IFS=$as_save_IFS
3511
3512if test $ac_prog_rejected = yes; then
3513  # We found a bogon in the path, so make sure we never use it.
3514  set dummy $ac_cv_prog_CC
3515  shift
3516  if test $# != 0; then
3517    # We chose a different compiler from the bogus one.
3518    # However, it has the same basename, so the bogon will be chosen
3519    # first if we set CC to just the basename; use the full file name.
3520    shift
3521    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3522  fi
3523fi
3524fi
3525fi
3526CC=$ac_cv_prog_CC
3527if test -n "$CC"; then
3528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3529$as_echo "$CC" >&6; }
3530else
3531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532$as_echo "no" >&6; }
3533fi
3534
3535
3536fi
3537if test -z "$CC"; then
3538  if test -n "$ac_tool_prefix"; then
3539  for ac_prog in cl.exe
3540  do
3541    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3542set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544$as_echo_n "checking for $ac_word... " >&6; }
3545if ${ac_cv_prog_CC+:} false; then :
3546  $as_echo_n "(cached) " >&6
3547else
3548  if test -n "$CC"; then
3549  ac_cv_prog_CC="$CC" # Let the user override the test.
3550else
3551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552for as_dir in $PATH
3553do
3554  IFS=$as_save_IFS
3555  test -z "$as_dir" && as_dir=.
3556    for ac_exec_ext in '' $ac_executable_extensions; do
3557  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3558    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3559    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3560    break 2
3561  fi
3562done
3563  done
3564IFS=$as_save_IFS
3565
3566fi
3567fi
3568CC=$ac_cv_prog_CC
3569if test -n "$CC"; then
3570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3571$as_echo "$CC" >&6; }
3572else
3573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574$as_echo "no" >&6; }
3575fi
3576
3577
3578    test -n "$CC" && break
3579  done
3580fi
3581if test -z "$CC"; then
3582  ac_ct_CC=$CC
3583  for ac_prog in cl.exe
3584do
3585  # Extract the first word of "$ac_prog", so it can be a program name with args.
3586set dummy $ac_prog; ac_word=$2
3587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588$as_echo_n "checking for $ac_word... " >&6; }
3589if ${ac_cv_prog_ac_ct_CC+:} false; then :
3590  $as_echo_n "(cached) " >&6
3591else
3592  if test -n "$ac_ct_CC"; then
3593  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3594else
3595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596for as_dir in $PATH
3597do
3598  IFS=$as_save_IFS
3599  test -z "$as_dir" && as_dir=.
3600    for ac_exec_ext in '' $ac_executable_extensions; do
3601  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3602    ac_cv_prog_ac_ct_CC="$ac_prog"
3603    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604    break 2
3605  fi
3606done
3607  done
3608IFS=$as_save_IFS
3609
3610fi
3611fi
3612ac_ct_CC=$ac_cv_prog_ac_ct_CC
3613if test -n "$ac_ct_CC"; then
3614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3615$as_echo "$ac_ct_CC" >&6; }
3616else
3617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618$as_echo "no" >&6; }
3619fi
3620
3621
3622  test -n "$ac_ct_CC" && break
3623done
3624
3625  if test "x$ac_ct_CC" = x; then
3626    CC=""
3627  else
3628    case $cross_compiling:$ac_tool_warned in
3629yes:)
3630{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3631$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3632ac_tool_warned=yes ;;
3633esac
3634    CC=$ac_ct_CC
3635  fi
3636fi
3637
3638fi
3639
3640
3641test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3642$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3643as_fn_error $? "no acceptable C compiler found in \$PATH
3644See \`config.log' for more details" "$LINENO" 5; }
3645
3646# Provide some information about the compiler.
3647$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3648set X $ac_compile
3649ac_compiler=$2
3650for ac_option in --version -v -V -qversion; do
3651  { { ac_try="$ac_compiler $ac_option >&5"
3652case "(($ac_try" in
3653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654  *) ac_try_echo=$ac_try;;
3655esac
3656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657$as_echo "$ac_try_echo"; } >&5
3658  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3659  ac_status=$?
3660  if test -s conftest.err; then
3661    sed '10a\
3662... rest of stderr output deleted ...
3663         10q' conftest.err >conftest.er1
3664    cat conftest.er1 >&5
3665  fi
3666  rm -f conftest.er1 conftest.err
3667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668  test $ac_status = 0; }
3669done
3670
3671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672/* end confdefs.h.  */
3673
3674int
3675main ()
3676{
3677
3678  ;
3679  return 0;
3680}
3681_ACEOF
3682ac_clean_files_save=$ac_clean_files
3683ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3684# Try to create an executable without -o first, disregard a.out.
3685# It will help us diagnose broken compilers, and finding out an intuition
3686# of exeext.
3687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3688$as_echo_n "checking whether the C compiler works... " >&6; }
3689ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3690
3691# The possible output files:
3692ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3693
3694ac_rmfiles=
3695for ac_file in $ac_files
3696do
3697  case $ac_file in
3698    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3699    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3700  esac
3701done
3702rm -f $ac_rmfiles
3703
3704if { { ac_try="$ac_link_default"
3705case "(($ac_try" in
3706  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3707  *) ac_try_echo=$ac_try;;
3708esac
3709eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3710$as_echo "$ac_try_echo"; } >&5
3711  (eval "$ac_link_default") 2>&5
3712  ac_status=$?
3713  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3714  test $ac_status = 0; }; then :
3715  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3716# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3717# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3718# so that the user can short-circuit this test for compilers unknown to
3719# Autoconf.
3720for ac_file in $ac_files ''
3721do
3722  test -f "$ac_file" || continue
3723  case $ac_file in
3724    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3725	;;
3726    [ab].out )
3727	# We found the default executable, but exeext='' is most
3728	# certainly right.
3729	break;;
3730    *.* )
3731	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3732	then :; else
3733	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3734	fi
3735	# We set ac_cv_exeext here because the later test for it is not
3736	# safe: cross compilers may not add the suffix if given an `-o'
3737	# argument, so we may need to know it at that point already.
3738	# Even if this section looks crufty: it has the advantage of
3739	# actually working.
3740	break;;
3741    * )
3742	break;;
3743  esac
3744done
3745test "$ac_cv_exeext" = no && ac_cv_exeext=
3746
3747else
3748  ac_file=''
3749fi
3750if test -z "$ac_file"; then :
3751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752$as_echo "no" >&6; }
3753$as_echo "$as_me: failed program was:" >&5
3754sed 's/^/| /' conftest.$ac_ext >&5
3755
3756{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758as_fn_error 77 "C compiler cannot create executables
3759See \`config.log' for more details" "$LINENO" 5; }
3760else
3761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3762$as_echo "yes" >&6; }
3763fi
3764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3765$as_echo_n "checking for C compiler default output file name... " >&6; }
3766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3767$as_echo "$ac_file" >&6; }
3768ac_exeext=$ac_cv_exeext
3769
3770rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3771ac_clean_files=$ac_clean_files_save
3772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3773$as_echo_n "checking for suffix of executables... " >&6; }
3774if { { ac_try="$ac_link"
3775case "(($ac_try" in
3776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777  *) ac_try_echo=$ac_try;;
3778esac
3779eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3780$as_echo "$ac_try_echo"; } >&5
3781  (eval "$ac_link") 2>&5
3782  ac_status=$?
3783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784  test $ac_status = 0; }; then :
3785  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3786# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3787# work properly (i.e., refer to `conftest.exe'), while it won't with
3788# `rm'.
3789for ac_file in conftest.exe conftest conftest.*; do
3790  test -f "$ac_file" || continue
3791  case $ac_file in
3792    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3793    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3794	  break;;
3795    * ) break;;
3796  esac
3797done
3798else
3799  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3802See \`config.log' for more details" "$LINENO" 5; }
3803fi
3804rm -f conftest conftest$ac_cv_exeext
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3806$as_echo "$ac_cv_exeext" >&6; }
3807
3808rm -f conftest.$ac_ext
3809EXEEXT=$ac_cv_exeext
3810ac_exeext=$EXEEXT
3811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812/* end confdefs.h.  */
3813#include <stdio.h>
3814int
3815main ()
3816{
3817FILE *f = fopen ("conftest.out", "w");
3818 return ferror (f) || fclose (f) != 0;
3819
3820  ;
3821  return 0;
3822}
3823_ACEOF
3824ac_clean_files="$ac_clean_files conftest.out"
3825# Check that the compiler produces executables we can run.  If not, either
3826# the compiler is broken, or we cross compile.
3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3828$as_echo_n "checking whether we are cross compiling... " >&6; }
3829if test "$cross_compiling" != yes; then
3830  { { ac_try="$ac_link"
3831case "(($ac_try" in
3832  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833  *) ac_try_echo=$ac_try;;
3834esac
3835eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3836$as_echo "$ac_try_echo"; } >&5
3837  (eval "$ac_link") 2>&5
3838  ac_status=$?
3839  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3840  test $ac_status = 0; }
3841  if { ac_try='./conftest$ac_cv_exeext'
3842  { { case "(($ac_try" in
3843  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844  *) ac_try_echo=$ac_try;;
3845esac
3846eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847$as_echo "$ac_try_echo"; } >&5
3848  (eval "$ac_try") 2>&5
3849  ac_status=$?
3850  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851  test $ac_status = 0; }; }; then
3852    cross_compiling=no
3853  else
3854    if test "$cross_compiling" = maybe; then
3855	cross_compiling=yes
3856    else
3857	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3858$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3859as_fn_error $? "cannot run C compiled programs.
3860If you meant to cross compile, use \`--host'.
3861See \`config.log' for more details" "$LINENO" 5; }
3862    fi
3863  fi
3864fi
3865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3866$as_echo "$cross_compiling" >&6; }
3867
3868rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3869ac_clean_files=$ac_clean_files_save
3870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3871$as_echo_n "checking for suffix of object files... " >&6; }
3872if ${ac_cv_objext+:} false; then :
3873  $as_echo_n "(cached) " >&6
3874else
3875  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876/* end confdefs.h.  */
3877
3878int
3879main ()
3880{
3881
3882  ;
3883  return 0;
3884}
3885_ACEOF
3886rm -f conftest.o conftest.obj
3887if { { ac_try="$ac_compile"
3888case "(($ac_try" in
3889  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890  *) ac_try_echo=$ac_try;;
3891esac
3892eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3893$as_echo "$ac_try_echo"; } >&5
3894  (eval "$ac_compile") 2>&5
3895  ac_status=$?
3896  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897  test $ac_status = 0; }; then :
3898  for ac_file in conftest.o conftest.obj conftest.*; do
3899  test -f "$ac_file" || continue;
3900  case $ac_file in
3901    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3902    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3903       break;;
3904  esac
3905done
3906else
3907  $as_echo "$as_me: failed program was:" >&5
3908sed 's/^/| /' conftest.$ac_ext >&5
3909
3910{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3911$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3912as_fn_error $? "cannot compute suffix of object files: cannot compile
3913See \`config.log' for more details" "$LINENO" 5; }
3914fi
3915rm -f conftest.$ac_cv_objext conftest.$ac_ext
3916fi
3917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3918$as_echo "$ac_cv_objext" >&6; }
3919OBJEXT=$ac_cv_objext
3920ac_objext=$OBJEXT
3921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3922$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3923if ${ac_cv_c_compiler_gnu+:} false; then :
3924  $as_echo_n "(cached) " >&6
3925else
3926  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927/* end confdefs.h.  */
3928
3929int
3930main ()
3931{
3932#ifndef __GNUC__
3933       choke me
3934#endif
3935
3936  ;
3937  return 0;
3938}
3939_ACEOF
3940if ac_fn_c_try_compile "$LINENO"; then :
3941  ac_compiler_gnu=yes
3942else
3943  ac_compiler_gnu=no
3944fi
3945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946ac_cv_c_compiler_gnu=$ac_compiler_gnu
3947
3948fi
3949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3950$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3951if test $ac_compiler_gnu = yes; then
3952  GCC=yes
3953else
3954  GCC=
3955fi
3956ac_test_CFLAGS=${CFLAGS+set}
3957ac_save_CFLAGS=$CFLAGS
3958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3959$as_echo_n "checking whether $CC accepts -g... " >&6; }
3960if ${ac_cv_prog_cc_g+:} false; then :
3961  $as_echo_n "(cached) " >&6
3962else
3963  ac_save_c_werror_flag=$ac_c_werror_flag
3964   ac_c_werror_flag=yes
3965   ac_cv_prog_cc_g=no
3966   CFLAGS="-g"
3967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968/* end confdefs.h.  */
3969
3970int
3971main ()
3972{
3973
3974  ;
3975  return 0;
3976}
3977_ACEOF
3978if ac_fn_c_try_compile "$LINENO"; then :
3979  ac_cv_prog_cc_g=yes
3980else
3981  CFLAGS=""
3982      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983/* end confdefs.h.  */
3984
3985int
3986main ()
3987{
3988
3989  ;
3990  return 0;
3991}
3992_ACEOF
3993if ac_fn_c_try_compile "$LINENO"; then :
3994
3995else
3996  ac_c_werror_flag=$ac_save_c_werror_flag
3997	 CFLAGS="-g"
3998	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999/* end confdefs.h.  */
4000
4001int
4002main ()
4003{
4004
4005  ;
4006  return 0;
4007}
4008_ACEOF
4009if ac_fn_c_try_compile "$LINENO"; then :
4010  ac_cv_prog_cc_g=yes
4011fi
4012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4013fi
4014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4015fi
4016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4017   ac_c_werror_flag=$ac_save_c_werror_flag
4018fi
4019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4020$as_echo "$ac_cv_prog_cc_g" >&6; }
4021if test "$ac_test_CFLAGS" = set; then
4022  CFLAGS=$ac_save_CFLAGS
4023elif test $ac_cv_prog_cc_g = yes; then
4024  if test "$GCC" = yes; then
4025    CFLAGS="-g -O2"
4026  else
4027    CFLAGS="-g"
4028  fi
4029else
4030  if test "$GCC" = yes; then
4031    CFLAGS="-O2"
4032  else
4033    CFLAGS=
4034  fi
4035fi
4036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4037$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4038if ${ac_cv_prog_cc_c89+:} false; then :
4039  $as_echo_n "(cached) " >&6
4040else
4041  ac_cv_prog_cc_c89=no
4042ac_save_CC=$CC
4043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044/* end confdefs.h.  */
4045#include <stdarg.h>
4046#include <stdio.h>
4047struct stat;
4048/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4049struct buf { int x; };
4050FILE * (*rcsopen) (struct buf *, struct stat *, int);
4051static char *e (p, i)
4052     char **p;
4053     int i;
4054{
4055  return p[i];
4056}
4057static char *f (char * (*g) (char **, int), char **p, ...)
4058{
4059  char *s;
4060  va_list v;
4061  va_start (v,p);
4062  s = g (p, va_arg (v,int));
4063  va_end (v);
4064  return s;
4065}
4066
4067/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4068   function prototypes and stuff, but not '\xHH' hex character constants.
4069   These don't provoke an error unfortunately, instead are silently treated
4070   as 'x'.  The following induces an error, until -std is added to get
4071   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4072   array size at least.  It's necessary to write '\x00'==0 to get something
4073   that's true only with -std.  */
4074int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4075
4076/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4077   inside strings and character constants.  */
4078#define FOO(x) 'x'
4079int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4080
4081int test (int i, double x);
4082struct s1 {int (*f) (int a);};
4083struct s2 {int (*f) (double a);};
4084int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4085int argc;
4086char **argv;
4087int
4088main ()
4089{
4090return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4091  ;
4092  return 0;
4093}
4094_ACEOF
4095for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4096	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4097do
4098  CC="$ac_save_CC $ac_arg"
4099  if ac_fn_c_try_compile "$LINENO"; then :
4100  ac_cv_prog_cc_c89=$ac_arg
4101fi
4102rm -f core conftest.err conftest.$ac_objext
4103  test "x$ac_cv_prog_cc_c89" != "xno" && break
4104done
4105rm -f conftest.$ac_ext
4106CC=$ac_save_CC
4107
4108fi
4109# AC_CACHE_VAL
4110case "x$ac_cv_prog_cc_c89" in
4111  x)
4112    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4113$as_echo "none needed" >&6; } ;;
4114  xno)
4115    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4116$as_echo "unsupported" >&6; } ;;
4117  *)
4118    CC="$CC $ac_cv_prog_cc_c89"
4119    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4120$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4121esac
4122if test "x$ac_cv_prog_cc_c89" != xno; then :
4123
4124fi
4125
4126ac_ext=c
4127ac_cpp='$CPP $CPPFLAGS'
4128ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130ac_compiler_gnu=$ac_cv_c_compiler_gnu
4131
4132ac_ext=c
4133ac_cpp='$CPP $CPPFLAGS'
4134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4138$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4139if ${am_cv_prog_cc_c_o+:} false; then :
4140  $as_echo_n "(cached) " >&6
4141else
4142  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143/* end confdefs.h.  */
4144
4145int
4146main ()
4147{
4148
4149  ;
4150  return 0;
4151}
4152_ACEOF
4153  # Make sure it works both with $CC and with simple cc.
4154  # Following AC_PROG_CC_C_O, we do the test twice because some
4155  # compilers refuse to overwrite an existing .o file with -o,
4156  # though they will create one.
4157  am_cv_prog_cc_c_o=yes
4158  for am_i in 1 2; do
4159    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4160   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4161   ac_status=$?
4162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163   (exit $ac_status); } \
4164         && test -f conftest2.$ac_objext; then
4165      : OK
4166    else
4167      am_cv_prog_cc_c_o=no
4168      break
4169    fi
4170  done
4171  rm -f core conftest*
4172  unset am_i
4173fi
4174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4175$as_echo "$am_cv_prog_cc_c_o" >&6; }
4176if test "$am_cv_prog_cc_c_o" != yes; then
4177   # Losing compiler, so override with the script.
4178   # FIXME: It is wrong to rewrite CC.
4179   # But if we don't then we get into trouble of one sort or another.
4180   # A longer-term fix would be to have automake use am__CC in this case,
4181   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4182   CC="$am_aux_dir/compile $CC"
4183fi
4184ac_ext=c
4185ac_cpp='$CPP $CPPFLAGS'
4186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4188ac_compiler_gnu=$ac_cv_c_compiler_gnu
4189
4190DEPDIR="${am__leading_dot}deps"
4191
4192ac_config_commands="$ac_config_commands depfiles"
4193
4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4195$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4196cat > confinc.mk << 'END'
4197am__doit:
4198	@echo this is the am__doit target >confinc.out
4199.PHONY: am__doit
4200END
4201am__include="#"
4202am__quote=
4203# BSD make does it like this.
4204echo '.include "confinc.mk" # ignored' > confmf.BSD
4205# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4206echo 'include confinc.mk # ignored' > confmf.GNU
4207_am_result=no
4208for s in GNU BSD; do
4209  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4210   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4211   ac_status=$?
4212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213   (exit $ac_status); }
4214  case $?:`cat confinc.out 2>/dev/null` in #(
4215  '0:this is the am__doit target') :
4216    case $s in #(
4217  BSD) :
4218    am__include='.include' am__quote='"' ;; #(
4219  *) :
4220    am__include='include' am__quote='' ;;
4221esac ;; #(
4222  *) :
4223     ;;
4224esac
4225  if test "$am__include" != "#"; then
4226    _am_result="yes ($s style)"
4227    break
4228  fi
4229done
4230rm -f confinc.* confmf.*
4231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4232$as_echo "${_am_result}" >&6; }
4233
4234# Check whether --enable-dependency-tracking was given.
4235if test "${enable_dependency_tracking+set}" = set; then :
4236  enableval=$enable_dependency_tracking;
4237fi
4238
4239if test "x$enable_dependency_tracking" != xno; then
4240  am_depcomp="$ac_aux_dir/depcomp"
4241  AMDEPBACKSLASH='\'
4242  am__nodep='_no'
4243fi
4244 if test "x$enable_dependency_tracking" != xno; then
4245  AMDEP_TRUE=
4246  AMDEP_FALSE='#'
4247else
4248  AMDEP_TRUE='#'
4249  AMDEP_FALSE=
4250fi
4251
4252
4253
4254depcc="$CC"   am_compiler_list=
4255
4256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4257$as_echo_n "checking dependency style of $depcc... " >&6; }
4258if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4259  $as_echo_n "(cached) " >&6
4260else
4261  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4262  # We make a subdir and do the tests there.  Otherwise we can end up
4263  # making bogus files that we don't know about and never remove.  For
4264  # instance it was reported that on HP-UX the gcc test will end up
4265  # making a dummy file named 'D' -- because '-MD' means "put the output
4266  # in D".
4267  rm -rf conftest.dir
4268  mkdir conftest.dir
4269  # Copy depcomp to subdir because otherwise we won't find it if we're
4270  # using a relative directory.
4271  cp "$am_depcomp" conftest.dir
4272  cd conftest.dir
4273  # We will build objects and dependencies in a subdirectory because
4274  # it helps to detect inapplicable dependency modes.  For instance
4275  # both Tru64's cc and ICC support -MD to output dependencies as a
4276  # side effect of compilation, but ICC will put the dependencies in
4277  # the current directory while Tru64 will put them in the object
4278  # directory.
4279  mkdir sub
4280
4281  am_cv_CC_dependencies_compiler_type=none
4282  if test "$am_compiler_list" = ""; then
4283     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4284  fi
4285  am__universal=false
4286  case " $depcc " in #(
4287     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4288     esac
4289
4290  for depmode in $am_compiler_list; do
4291    # Setup a source with many dependencies, because some compilers
4292    # like to wrap large dependency lists on column 80 (with \), and
4293    # we should not choose a depcomp mode which is confused by this.
4294    #
4295    # We need to recreate these files for each test, as the compiler may
4296    # overwrite some of them when testing with obscure command lines.
4297    # This happens at least with the AIX C compiler.
4298    : > sub/conftest.c
4299    for i in 1 2 3 4 5 6; do
4300      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4301      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4302      # Solaris 10 /bin/sh.
4303      echo '/* dummy */' > sub/conftst$i.h
4304    done
4305    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4306
4307    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4308    # mode.  It turns out that the SunPro C++ compiler does not properly
4309    # handle '-M -o', and we need to detect this.  Also, some Intel
4310    # versions had trouble with output in subdirs.
4311    am__obj=sub/conftest.${OBJEXT-o}
4312    am__minus_obj="-o $am__obj"
4313    case $depmode in
4314    gcc)
4315      # This depmode causes a compiler race in universal mode.
4316      test "$am__universal" = false || continue
4317      ;;
4318    nosideeffect)
4319      # After this tag, mechanisms are not by side-effect, so they'll
4320      # only be used when explicitly requested.
4321      if test "x$enable_dependency_tracking" = xyes; then
4322	continue
4323      else
4324	break
4325      fi
4326      ;;
4327    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4328      # This compiler won't grok '-c -o', but also, the minuso test has
4329      # not run yet.  These depmodes are late enough in the game, and
4330      # so weak that their functioning should not be impacted.
4331      am__obj=conftest.${OBJEXT-o}
4332      am__minus_obj=
4333      ;;
4334    none) break ;;
4335    esac
4336    if depmode=$depmode \
4337       source=sub/conftest.c object=$am__obj \
4338       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4339       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4340         >/dev/null 2>conftest.err &&
4341       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4342       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4343       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4344       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4345      # icc doesn't choke on unknown options, it will just issue warnings
4346      # or remarks (even with -Werror).  So we grep stderr for any message
4347      # that says an option was ignored or not supported.
4348      # When given -MP, icc 7.0 and 7.1 complain thusly:
4349      #   icc: Command line warning: ignoring option '-M'; no argument required
4350      # The diagnosis changed in icc 8.0:
4351      #   icc: Command line remark: option '-MP' not supported
4352      if (grep 'ignoring option' conftest.err ||
4353          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4354        am_cv_CC_dependencies_compiler_type=$depmode
4355        break
4356      fi
4357    fi
4358  done
4359
4360  cd ..
4361  rm -rf conftest.dir
4362else
4363  am_cv_CC_dependencies_compiler_type=none
4364fi
4365
4366fi
4367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4368$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4369CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4370
4371 if
4372  test "x$enable_dependency_tracking" != xno \
4373  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4374  am__fastdepCC_TRUE=
4375  am__fastdepCC_FALSE='#'
4376else
4377  am__fastdepCC_TRUE='#'
4378  am__fastdepCC_FALSE=
4379fi
4380
4381
4382
4383ac_ext=cpp
4384ac_cpp='$CXXCPP $CPPFLAGS'
4385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4388if test -z "$CXX"; then
4389  if test -n "$CCC"; then
4390    CXX=$CCC
4391  else
4392    if test -n "$ac_tool_prefix"; then
4393  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4394  do
4395    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4396set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398$as_echo_n "checking for $ac_word... " >&6; }
4399if ${ac_cv_prog_CXX+:} false; then :
4400  $as_echo_n "(cached) " >&6
4401else
4402  if test -n "$CXX"; then
4403  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4404else
4405as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406for as_dir in $PATH
4407do
4408  IFS=$as_save_IFS
4409  test -z "$as_dir" && as_dir=.
4410    for ac_exec_ext in '' $ac_executable_extensions; do
4411  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414    break 2
4415  fi
4416done
4417  done
4418IFS=$as_save_IFS
4419
4420fi
4421fi
4422CXX=$ac_cv_prog_CXX
4423if test -n "$CXX"; then
4424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4425$as_echo "$CXX" >&6; }
4426else
4427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428$as_echo "no" >&6; }
4429fi
4430
4431
4432    test -n "$CXX" && break
4433  done
4434fi
4435if test -z "$CXX"; then
4436  ac_ct_CXX=$CXX
4437  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4438do
4439  # Extract the first word of "$ac_prog", so it can be a program name with args.
4440set dummy $ac_prog; ac_word=$2
4441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442$as_echo_n "checking for $ac_word... " >&6; }
4443if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4444  $as_echo_n "(cached) " >&6
4445else
4446  if test -n "$ac_ct_CXX"; then
4447  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4448else
4449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450for as_dir in $PATH
4451do
4452  IFS=$as_save_IFS
4453  test -z "$as_dir" && as_dir=.
4454    for ac_exec_ext in '' $ac_executable_extensions; do
4455  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456    ac_cv_prog_ac_ct_CXX="$ac_prog"
4457    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458    break 2
4459  fi
4460done
4461  done
4462IFS=$as_save_IFS
4463
4464fi
4465fi
4466ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4467if test -n "$ac_ct_CXX"; then
4468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4469$as_echo "$ac_ct_CXX" >&6; }
4470else
4471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472$as_echo "no" >&6; }
4473fi
4474
4475
4476  test -n "$ac_ct_CXX" && break
4477done
4478
4479  if test "x$ac_ct_CXX" = x; then
4480    CXX="g++"
4481  else
4482    case $cross_compiling:$ac_tool_warned in
4483yes:)
4484{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4485$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4486ac_tool_warned=yes ;;
4487esac
4488    CXX=$ac_ct_CXX
4489  fi
4490fi
4491
4492  fi
4493fi
4494# Provide some information about the compiler.
4495$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4496set X $ac_compile
4497ac_compiler=$2
4498for ac_option in --version -v -V -qversion; do
4499  { { ac_try="$ac_compiler $ac_option >&5"
4500case "(($ac_try" in
4501  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4502  *) ac_try_echo=$ac_try;;
4503esac
4504eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4505$as_echo "$ac_try_echo"; } >&5
4506  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4507  ac_status=$?
4508  if test -s conftest.err; then
4509    sed '10a\
4510... rest of stderr output deleted ...
4511         10q' conftest.err >conftest.er1
4512    cat conftest.er1 >&5
4513  fi
4514  rm -f conftest.er1 conftest.err
4515  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4516  test $ac_status = 0; }
4517done
4518
4519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4520$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4521if ${ac_cv_cxx_compiler_gnu+:} false; then :
4522  $as_echo_n "(cached) " >&6
4523else
4524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525/* end confdefs.h.  */
4526
4527int
4528main ()
4529{
4530#ifndef __GNUC__
4531       choke me
4532#endif
4533
4534  ;
4535  return 0;
4536}
4537_ACEOF
4538if ac_fn_cxx_try_compile "$LINENO"; then :
4539  ac_compiler_gnu=yes
4540else
4541  ac_compiler_gnu=no
4542fi
4543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4544ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4545
4546fi
4547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4548$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4549if test $ac_compiler_gnu = yes; then
4550  GXX=yes
4551else
4552  GXX=
4553fi
4554ac_test_CXXFLAGS=${CXXFLAGS+set}
4555ac_save_CXXFLAGS=$CXXFLAGS
4556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4557$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4558if ${ac_cv_prog_cxx_g+:} false; then :
4559  $as_echo_n "(cached) " >&6
4560else
4561  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4562   ac_cxx_werror_flag=yes
4563   ac_cv_prog_cxx_g=no
4564   CXXFLAGS="-g"
4565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566/* end confdefs.h.  */
4567
4568int
4569main ()
4570{
4571
4572  ;
4573  return 0;
4574}
4575_ACEOF
4576if ac_fn_cxx_try_compile "$LINENO"; then :
4577  ac_cv_prog_cxx_g=yes
4578else
4579  CXXFLAGS=""
4580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581/* end confdefs.h.  */
4582
4583int
4584main ()
4585{
4586
4587  ;
4588  return 0;
4589}
4590_ACEOF
4591if ac_fn_cxx_try_compile "$LINENO"; then :
4592
4593else
4594  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4595	 CXXFLAGS="-g"
4596	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597/* end confdefs.h.  */
4598
4599int
4600main ()
4601{
4602
4603  ;
4604  return 0;
4605}
4606_ACEOF
4607if ac_fn_cxx_try_compile "$LINENO"; then :
4608  ac_cv_prog_cxx_g=yes
4609fi
4610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4611fi
4612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613fi
4614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4616fi
4617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4618$as_echo "$ac_cv_prog_cxx_g" >&6; }
4619if test "$ac_test_CXXFLAGS" = set; then
4620  CXXFLAGS=$ac_save_CXXFLAGS
4621elif test $ac_cv_prog_cxx_g = yes; then
4622  if test "$GXX" = yes; then
4623    CXXFLAGS="-g -O2"
4624  else
4625    CXXFLAGS="-g"
4626  fi
4627else
4628  if test "$GXX" = yes; then
4629    CXXFLAGS="-O2"
4630  else
4631    CXXFLAGS=
4632  fi
4633fi
4634ac_ext=c
4635ac_cpp='$CPP $CPPFLAGS'
4636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4638ac_compiler_gnu=$ac_cv_c_compiler_gnu
4639
4640depcc="$CXX"  am_compiler_list=
4641
4642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4643$as_echo_n "checking dependency style of $depcc... " >&6; }
4644if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4645  $as_echo_n "(cached) " >&6
4646else
4647  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4648  # We make a subdir and do the tests there.  Otherwise we can end up
4649  # making bogus files that we don't know about and never remove.  For
4650  # instance it was reported that on HP-UX the gcc test will end up
4651  # making a dummy file named 'D' -- because '-MD' means "put the output
4652  # in D".
4653  rm -rf conftest.dir
4654  mkdir conftest.dir
4655  # Copy depcomp to subdir because otherwise we won't find it if we're
4656  # using a relative directory.
4657  cp "$am_depcomp" conftest.dir
4658  cd conftest.dir
4659  # We will build objects and dependencies in a subdirectory because
4660  # it helps to detect inapplicable dependency modes.  For instance
4661  # both Tru64's cc and ICC support -MD to output dependencies as a
4662  # side effect of compilation, but ICC will put the dependencies in
4663  # the current directory while Tru64 will put them in the object
4664  # directory.
4665  mkdir sub
4666
4667  am_cv_CXX_dependencies_compiler_type=none
4668  if test "$am_compiler_list" = ""; then
4669     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4670  fi
4671  am__universal=false
4672  case " $depcc " in #(
4673     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4674     esac
4675
4676  for depmode in $am_compiler_list; do
4677    # Setup a source with many dependencies, because some compilers
4678    # like to wrap large dependency lists on column 80 (with \), and
4679    # we should not choose a depcomp mode which is confused by this.
4680    #
4681    # We need to recreate these files for each test, as the compiler may
4682    # overwrite some of them when testing with obscure command lines.
4683    # This happens at least with the AIX C compiler.
4684    : > sub/conftest.c
4685    for i in 1 2 3 4 5 6; do
4686      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4687      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4688      # Solaris 10 /bin/sh.
4689      echo '/* dummy */' > sub/conftst$i.h
4690    done
4691    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4692
4693    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4694    # mode.  It turns out that the SunPro C++ compiler does not properly
4695    # handle '-M -o', and we need to detect this.  Also, some Intel
4696    # versions had trouble with output in subdirs.
4697    am__obj=sub/conftest.${OBJEXT-o}
4698    am__minus_obj="-o $am__obj"
4699    case $depmode in
4700    gcc)
4701      # This depmode causes a compiler race in universal mode.
4702      test "$am__universal" = false || continue
4703      ;;
4704    nosideeffect)
4705      # After this tag, mechanisms are not by side-effect, so they'll
4706      # only be used when explicitly requested.
4707      if test "x$enable_dependency_tracking" = xyes; then
4708	continue
4709      else
4710	break
4711      fi
4712      ;;
4713    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4714      # This compiler won't grok '-c -o', but also, the minuso test has
4715      # not run yet.  These depmodes are late enough in the game, and
4716      # so weak that their functioning should not be impacted.
4717      am__obj=conftest.${OBJEXT-o}
4718      am__minus_obj=
4719      ;;
4720    none) break ;;
4721    esac
4722    if depmode=$depmode \
4723       source=sub/conftest.c object=$am__obj \
4724       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4725       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4726         >/dev/null 2>conftest.err &&
4727       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4728       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4729       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4730       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4731      # icc doesn't choke on unknown options, it will just issue warnings
4732      # or remarks (even with -Werror).  So we grep stderr for any message
4733      # that says an option was ignored or not supported.
4734      # When given -MP, icc 7.0 and 7.1 complain thusly:
4735      #   icc: Command line warning: ignoring option '-M'; no argument required
4736      # The diagnosis changed in icc 8.0:
4737      #   icc: Command line remark: option '-MP' not supported
4738      if (grep 'ignoring option' conftest.err ||
4739          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4740        am_cv_CXX_dependencies_compiler_type=$depmode
4741        break
4742      fi
4743    fi
4744  done
4745
4746  cd ..
4747  rm -rf conftest.dir
4748else
4749  am_cv_CXX_dependencies_compiler_type=none
4750fi
4751
4752fi
4753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4754$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4755CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4756
4757 if
4758  test "x$enable_dependency_tracking" != xno \
4759  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4760  am__fastdepCXX_TRUE=
4761  am__fastdepCXX_FALSE='#'
4762else
4763  am__fastdepCXX_TRUE='#'
4764  am__fastdepCXX_FALSE=
4765fi
4766
4767
4768
4769for ac_prog in flex lex
4770do
4771  # Extract the first word of "$ac_prog", so it can be a program name with args.
4772set dummy $ac_prog; ac_word=$2
4773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774$as_echo_n "checking for $ac_word... " >&6; }
4775if ${ac_cv_prog_LEX+:} false; then :
4776  $as_echo_n "(cached) " >&6
4777else
4778  if test -n "$LEX"; then
4779  ac_cv_prog_LEX="$LEX" # Let the user override the test.
4780else
4781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782for as_dir in $PATH
4783do
4784  IFS=$as_save_IFS
4785  test -z "$as_dir" && as_dir=.
4786    for ac_exec_ext in '' $ac_executable_extensions; do
4787  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4788    ac_cv_prog_LEX="$ac_prog"
4789    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790    break 2
4791  fi
4792done
4793  done
4794IFS=$as_save_IFS
4795
4796fi
4797fi
4798LEX=$ac_cv_prog_LEX
4799if test -n "$LEX"; then
4800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4801$as_echo "$LEX" >&6; }
4802else
4803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804$as_echo "no" >&6; }
4805fi
4806
4807
4808  test -n "$LEX" && break
4809done
4810test -n "$LEX" || LEX=":"
4811
4812if test "x$LEX" != "x:"; then
4813  cat >conftest.l <<_ACEOF
4814%%
4815a { ECHO; }
4816b { REJECT; }
4817c { yymore (); }
4818d { yyless (1); }
4819e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4820    yyless ((input () != 0)); }
4821f { unput (yytext[0]); }
4822. { BEGIN INITIAL; }
4823%%
4824#ifdef YYTEXT_POINTER
4825extern char *yytext;
4826#endif
4827int
4828main (void)
4829{
4830  return ! yylex () + ! yywrap ();
4831}
4832_ACEOF
4833{ { ac_try="$LEX conftest.l"
4834case "(($ac_try" in
4835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4836  *) ac_try_echo=$ac_try;;
4837esac
4838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4839$as_echo "$ac_try_echo"; } >&5
4840  (eval "$LEX conftest.l") 2>&5
4841  ac_status=$?
4842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4843  test $ac_status = 0; }
4844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4845$as_echo_n "checking lex output file root... " >&6; }
4846if ${ac_cv_prog_lex_root+:} false; then :
4847  $as_echo_n "(cached) " >&6
4848else
4849
4850if test -f lex.yy.c; then
4851  ac_cv_prog_lex_root=lex.yy
4852elif test -f lexyy.c; then
4853  ac_cv_prog_lex_root=lexyy
4854else
4855  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4856fi
4857fi
4858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4859$as_echo "$ac_cv_prog_lex_root" >&6; }
4860LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4861
4862if test -z "${LEXLIB+set}"; then
4863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4864$as_echo_n "checking lex library... " >&6; }
4865if ${ac_cv_lib_lex+:} false; then :
4866  $as_echo_n "(cached) " >&6
4867else
4868
4869    ac_save_LIBS=$LIBS
4870    ac_cv_lib_lex='none needed'
4871    for ac_lib in '' -lfl -ll; do
4872      LIBS="$ac_lib $ac_save_LIBS"
4873      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874/* end confdefs.h.  */
4875`cat $LEX_OUTPUT_ROOT.c`
4876_ACEOF
4877if ac_fn_c_try_link "$LINENO"; then :
4878  ac_cv_lib_lex=$ac_lib
4879fi
4880rm -f core conftest.err conftest.$ac_objext \
4881    conftest$ac_exeext conftest.$ac_ext
4882      test "$ac_cv_lib_lex" != 'none needed' && break
4883    done
4884    LIBS=$ac_save_LIBS
4885
4886fi
4887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4888$as_echo "$ac_cv_lib_lex" >&6; }
4889  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4890fi
4891
4892
4893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4894$as_echo_n "checking whether yytext is a pointer... " >&6; }
4895if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4896  $as_echo_n "(cached) " >&6
4897else
4898  # POSIX says lex can declare yytext either as a pointer or an array; the
4899# default is implementation-dependent.  Figure out which it is, since
4900# not all implementations provide the %pointer and %array declarations.
4901ac_cv_prog_lex_yytext_pointer=no
4902ac_save_LIBS=$LIBS
4903LIBS="$LEXLIB $ac_save_LIBS"
4904cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905/* end confdefs.h.  */
4906
4907  #define YYTEXT_POINTER 1
4908`cat $LEX_OUTPUT_ROOT.c`
4909_ACEOF
4910if ac_fn_c_try_link "$LINENO"; then :
4911  ac_cv_prog_lex_yytext_pointer=yes
4912fi
4913rm -f core conftest.err conftest.$ac_objext \
4914    conftest$ac_exeext conftest.$ac_ext
4915LIBS=$ac_save_LIBS
4916
4917fi
4918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4919$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4920if test $ac_cv_prog_lex_yytext_pointer = yes; then
4921
4922$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4923
4924fi
4925rm -f conftest.l $LEX_OUTPUT_ROOT.c
4926
4927fi
4928if test "$LEX" = :; then
4929  LEX=${am_missing_run}flex
4930fi
4931for ac_prog in 'bison -y' byacc
4932do
4933  # Extract the first word of "$ac_prog", so it can be a program name with args.
4934set dummy $ac_prog; ac_word=$2
4935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936$as_echo_n "checking for $ac_word... " >&6; }
4937if ${ac_cv_prog_YACC+:} false; then :
4938  $as_echo_n "(cached) " >&6
4939else
4940  if test -n "$YACC"; then
4941  ac_cv_prog_YACC="$YACC" # Let the user override the test.
4942else
4943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944for as_dir in $PATH
4945do
4946  IFS=$as_save_IFS
4947  test -z "$as_dir" && as_dir=.
4948    for ac_exec_ext in '' $ac_executable_extensions; do
4949  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4950    ac_cv_prog_YACC="$ac_prog"
4951    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952    break 2
4953  fi
4954done
4955  done
4956IFS=$as_save_IFS
4957
4958fi
4959fi
4960YACC=$ac_cv_prog_YACC
4961if test -n "$YACC"; then
4962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4963$as_echo "$YACC" >&6; }
4964else
4965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966$as_echo "no" >&6; }
4967fi
4968
4969
4970  test -n "$YACC" && break
4971done
4972test -n "$YACC" || YACC="yacc"
4973
4974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4975$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4976if ${ac_cv_path_GREP+:} false; then :
4977  $as_echo_n "(cached) " >&6
4978else
4979  if test -z "$GREP"; then
4980  ac_path_GREP_found=false
4981  # Loop through the user's path and test for each of PROGNAME-LIST
4982  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4984do
4985  IFS=$as_save_IFS
4986  test -z "$as_dir" && as_dir=.
4987    for ac_prog in grep ggrep; do
4988    for ac_exec_ext in '' $ac_executable_extensions; do
4989      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4990      as_fn_executable_p "$ac_path_GREP" || continue
4991# Check for GNU ac_path_GREP and select it if it is found.
4992  # Check for GNU $ac_path_GREP
4993case `"$ac_path_GREP" --version 2>&1` in
4994*GNU*)
4995  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4996*)
4997  ac_count=0
4998  $as_echo_n 0123456789 >"conftest.in"
4999  while :
5000  do
5001    cat "conftest.in" "conftest.in" >"conftest.tmp"
5002    mv "conftest.tmp" "conftest.in"
5003    cp "conftest.in" "conftest.nl"
5004    $as_echo 'GREP' >> "conftest.nl"
5005    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5006    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5007    as_fn_arith $ac_count + 1 && ac_count=$as_val
5008    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5009      # Best one so far, save it but keep looking for a better one
5010      ac_cv_path_GREP="$ac_path_GREP"
5011      ac_path_GREP_max=$ac_count
5012    fi
5013    # 10*(2^10) chars as input seems more than enough
5014    test $ac_count -gt 10 && break
5015  done
5016  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5017esac
5018
5019      $ac_path_GREP_found && break 3
5020    done
5021  done
5022  done
5023IFS=$as_save_IFS
5024  if test -z "$ac_cv_path_GREP"; then
5025    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5026  fi
5027else
5028  ac_cv_path_GREP=$GREP
5029fi
5030
5031fi
5032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5033$as_echo "$ac_cv_path_GREP" >&6; }
5034 GREP="$ac_cv_path_GREP"
5035
5036
5037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5038$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5039if ${ac_cv_path_SED+:} false; then :
5040  $as_echo_n "(cached) " >&6
5041else
5042            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5043     for ac_i in 1 2 3 4 5 6 7; do
5044       ac_script="$ac_script$as_nl$ac_script"
5045     done
5046     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5047     { ac_script=; unset ac_script;}
5048     if test -z "$SED"; then
5049  ac_path_SED_found=false
5050  # Loop through the user's path and test for each of PROGNAME-LIST
5051  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052for as_dir in $PATH
5053do
5054  IFS=$as_save_IFS
5055  test -z "$as_dir" && as_dir=.
5056    for ac_prog in sed gsed; do
5057    for ac_exec_ext in '' $ac_executable_extensions; do
5058      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5059      as_fn_executable_p "$ac_path_SED" || continue
5060# Check for GNU ac_path_SED and select it if it is found.
5061  # Check for GNU $ac_path_SED
5062case `"$ac_path_SED" --version 2>&1` in
5063*GNU*)
5064  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5065*)
5066  ac_count=0
5067  $as_echo_n 0123456789 >"conftest.in"
5068  while :
5069  do
5070    cat "conftest.in" "conftest.in" >"conftest.tmp"
5071    mv "conftest.tmp" "conftest.in"
5072    cp "conftest.in" "conftest.nl"
5073    $as_echo '' >> "conftest.nl"
5074    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5075    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5076    as_fn_arith $ac_count + 1 && ac_count=$as_val
5077    if test $ac_count -gt ${ac_path_SED_max-0}; then
5078      # Best one so far, save it but keep looking for a better one
5079      ac_cv_path_SED="$ac_path_SED"
5080      ac_path_SED_max=$ac_count
5081    fi
5082    # 10*(2^10) chars as input seems more than enough
5083    test $ac_count -gt 10 && break
5084  done
5085  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5086esac
5087
5088      $ac_path_SED_found && break 3
5089    done
5090  done
5091  done
5092IFS=$as_save_IFS
5093  if test -z "$ac_cv_path_SED"; then
5094    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5095  fi
5096else
5097  ac_cv_path_SED=$SED
5098fi
5099
5100fi
5101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5102$as_echo "$ac_cv_path_SED" >&6; }
5103 SED="$ac_cv_path_SED"
5104  rm -f conftest.sed
5105
5106
5107versioninfo=23:11:0
5108
5109# Make sure we can run config.sub.
5110$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5111  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5112
5113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5114$as_echo_n "checking build system type... " >&6; }
5115if ${ac_cv_build+:} false; then :
5116  $as_echo_n "(cached) " >&6
5117else
5118  ac_build_alias=$build_alias
5119test "x$ac_build_alias" = x &&
5120  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5121test "x$ac_build_alias" = x &&
5122  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5123ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5124  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5125
5126fi
5127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5128$as_echo "$ac_cv_build" >&6; }
5129case $ac_cv_build in
5130*-*-*) ;;
5131*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5132esac
5133build=$ac_cv_build
5134ac_save_IFS=$IFS; IFS='-'
5135set x $ac_cv_build
5136shift
5137build_cpu=$1
5138build_vendor=$2
5139shift; shift
5140# Remember, the first character of IFS is used to create $*,
5141# except with old shells:
5142build_os=$*
5143IFS=$ac_save_IFS
5144case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5145
5146
5147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5148$as_echo_n "checking host system type... " >&6; }
5149if ${ac_cv_host+:} false; then :
5150  $as_echo_n "(cached) " >&6
5151else
5152  if test "x$host_alias" = x; then
5153  ac_cv_host=$ac_cv_build
5154else
5155  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5156    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5157fi
5158
5159fi
5160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5161$as_echo "$ac_cv_host" >&6; }
5162case $ac_cv_host in
5163*-*-*) ;;
5164*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5165esac
5166host=$ac_cv_host
5167ac_save_IFS=$IFS; IFS='-'
5168set x $ac_cv_host
5169shift
5170host_cpu=$1
5171host_vendor=$2
5172shift; shift
5173# Remember, the first character of IFS is used to create $*,
5174# except with old shells:
5175host_os=$*
5176IFS=$ac_save_IFS
5177case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5178
5179
5180enable_win32_dll=yes
5181
5182case $host in
5183*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5184  if test -n "$ac_tool_prefix"; then
5185  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5186set dummy ${ac_tool_prefix}as; ac_word=$2
5187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188$as_echo_n "checking for $ac_word... " >&6; }
5189if ${ac_cv_prog_AS+:} false; then :
5190  $as_echo_n "(cached) " >&6
5191else
5192  if test -n "$AS"; then
5193  ac_cv_prog_AS="$AS" # Let the user override the test.
5194else
5195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196for as_dir in $PATH
5197do
5198  IFS=$as_save_IFS
5199  test -z "$as_dir" && as_dir=.
5200    for ac_exec_ext in '' $ac_executable_extensions; do
5201  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5202    ac_cv_prog_AS="${ac_tool_prefix}as"
5203    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204    break 2
5205  fi
5206done
5207  done
5208IFS=$as_save_IFS
5209
5210fi
5211fi
5212AS=$ac_cv_prog_AS
5213if test -n "$AS"; then
5214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5215$as_echo "$AS" >&6; }
5216else
5217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218$as_echo "no" >&6; }
5219fi
5220
5221
5222fi
5223if test -z "$ac_cv_prog_AS"; then
5224  ac_ct_AS=$AS
5225  # Extract the first word of "as", so it can be a program name with args.
5226set dummy as; ac_word=$2
5227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228$as_echo_n "checking for $ac_word... " >&6; }
5229if ${ac_cv_prog_ac_ct_AS+:} false; then :
5230  $as_echo_n "(cached) " >&6
5231else
5232  if test -n "$ac_ct_AS"; then
5233  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5234else
5235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236for as_dir in $PATH
5237do
5238  IFS=$as_save_IFS
5239  test -z "$as_dir" && as_dir=.
5240    for ac_exec_ext in '' $ac_executable_extensions; do
5241  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5242    ac_cv_prog_ac_ct_AS="as"
5243    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244    break 2
5245  fi
5246done
5247  done
5248IFS=$as_save_IFS
5249
5250fi
5251fi
5252ac_ct_AS=$ac_cv_prog_ac_ct_AS
5253if test -n "$ac_ct_AS"; then
5254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5255$as_echo "$ac_ct_AS" >&6; }
5256else
5257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258$as_echo "no" >&6; }
5259fi
5260
5261  if test "x$ac_ct_AS" = x; then
5262    AS="false"
5263  else
5264    case $cross_compiling:$ac_tool_warned in
5265yes:)
5266{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5267$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5268ac_tool_warned=yes ;;
5269esac
5270    AS=$ac_ct_AS
5271  fi
5272else
5273  AS="$ac_cv_prog_AS"
5274fi
5275
5276  if test -n "$ac_tool_prefix"; then
5277  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5278set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280$as_echo_n "checking for $ac_word... " >&6; }
5281if ${ac_cv_prog_DLLTOOL+:} false; then :
5282  $as_echo_n "(cached) " >&6
5283else
5284  if test -n "$DLLTOOL"; then
5285  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5286else
5287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288for as_dir in $PATH
5289do
5290  IFS=$as_save_IFS
5291  test -z "$as_dir" && as_dir=.
5292    for ac_exec_ext in '' $ac_executable_extensions; do
5293  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5295    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296    break 2
5297  fi
5298done
5299  done
5300IFS=$as_save_IFS
5301
5302fi
5303fi
5304DLLTOOL=$ac_cv_prog_DLLTOOL
5305if test -n "$DLLTOOL"; then
5306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5307$as_echo "$DLLTOOL" >&6; }
5308else
5309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310$as_echo "no" >&6; }
5311fi
5312
5313
5314fi
5315if test -z "$ac_cv_prog_DLLTOOL"; then
5316  ac_ct_DLLTOOL=$DLLTOOL
5317  # Extract the first word of "dlltool", so it can be a program name with args.
5318set dummy dlltool; ac_word=$2
5319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320$as_echo_n "checking for $ac_word... " >&6; }
5321if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5322  $as_echo_n "(cached) " >&6
5323else
5324  if test -n "$ac_ct_DLLTOOL"; then
5325  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5326else
5327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328for as_dir in $PATH
5329do
5330  IFS=$as_save_IFS
5331  test -z "$as_dir" && as_dir=.
5332    for ac_exec_ext in '' $ac_executable_extensions; do
5333  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5334    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5335    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336    break 2
5337  fi
5338done
5339  done
5340IFS=$as_save_IFS
5341
5342fi
5343fi
5344ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5345if test -n "$ac_ct_DLLTOOL"; then
5346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5347$as_echo "$ac_ct_DLLTOOL" >&6; }
5348else
5349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350$as_echo "no" >&6; }
5351fi
5352
5353  if test "x$ac_ct_DLLTOOL" = x; then
5354    DLLTOOL="false"
5355  else
5356    case $cross_compiling:$ac_tool_warned in
5357yes:)
5358{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5359$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5360ac_tool_warned=yes ;;
5361esac
5362    DLLTOOL=$ac_ct_DLLTOOL
5363  fi
5364else
5365  DLLTOOL="$ac_cv_prog_DLLTOOL"
5366fi
5367
5368  if test -n "$ac_tool_prefix"; then
5369  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5370set dummy ${ac_tool_prefix}objdump; ac_word=$2
5371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372$as_echo_n "checking for $ac_word... " >&6; }
5373if ${ac_cv_prog_OBJDUMP+:} false; then :
5374  $as_echo_n "(cached) " >&6
5375else
5376  if test -n "$OBJDUMP"; then
5377  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5378else
5379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380for as_dir in $PATH
5381do
5382  IFS=$as_save_IFS
5383  test -z "$as_dir" && as_dir=.
5384    for ac_exec_ext in '' $ac_executable_extensions; do
5385  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5386    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5387    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388    break 2
5389  fi
5390done
5391  done
5392IFS=$as_save_IFS
5393
5394fi
5395fi
5396OBJDUMP=$ac_cv_prog_OBJDUMP
5397if test -n "$OBJDUMP"; then
5398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5399$as_echo "$OBJDUMP" >&6; }
5400else
5401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402$as_echo "no" >&6; }
5403fi
5404
5405
5406fi
5407if test -z "$ac_cv_prog_OBJDUMP"; then
5408  ac_ct_OBJDUMP=$OBJDUMP
5409  # Extract the first word of "objdump", so it can be a program name with args.
5410set dummy objdump; ac_word=$2
5411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412$as_echo_n "checking for $ac_word... " >&6; }
5413if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5414  $as_echo_n "(cached) " >&6
5415else
5416  if test -n "$ac_ct_OBJDUMP"; then
5417  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5418else
5419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420for as_dir in $PATH
5421do
5422  IFS=$as_save_IFS
5423  test -z "$as_dir" && as_dir=.
5424    for ac_exec_ext in '' $ac_executable_extensions; do
5425  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428    break 2
5429  fi
5430done
5431  done
5432IFS=$as_save_IFS
5433
5434fi
5435fi
5436ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5437if test -n "$ac_ct_OBJDUMP"; then
5438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5439$as_echo "$ac_ct_OBJDUMP" >&6; }
5440else
5441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442$as_echo "no" >&6; }
5443fi
5444
5445  if test "x$ac_ct_OBJDUMP" = x; then
5446    OBJDUMP="false"
5447  else
5448    case $cross_compiling:$ac_tool_warned in
5449yes:)
5450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5452ac_tool_warned=yes ;;
5453esac
5454    OBJDUMP=$ac_ct_OBJDUMP
5455  fi
5456else
5457  OBJDUMP="$ac_cv_prog_OBJDUMP"
5458fi
5459
5460  ;;
5461esac
5462
5463test -z "$AS" && AS=as
5464
5465
5466
5467
5468
5469test -z "$DLLTOOL" && DLLTOOL=dlltool
5470
5471
5472
5473
5474
5475test -z "$OBJDUMP" && OBJDUMP=objdump
5476
5477
5478
5479
5480
5481
5482
5483
5484case $host in
5485	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
5486	if test "$enable_shared" = yes; then
5487		BV_LDFLAGS="-no-undefined"
5488	fi
5489	;;
5490esac
5491
5492case `pwd` in
5493  *\ * | *\	*)
5494    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5495$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5496esac
5497
5498
5499
5500macro_version='2.4.6'
5501macro_revision='2.4.6'
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515ltmain=$ac_aux_dir/ltmain.sh
5516
5517# Backslashify metacharacters that are still active within
5518# double-quoted strings.
5519sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5520
5521# Same as above, but do not quote variable references.
5522double_quote_subst='s/\(["`\\]\)/\\\1/g'
5523
5524# Sed substitution to delay expansion of an escaped shell variable in a
5525# double_quote_subst'ed string.
5526delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5527
5528# Sed substitution to delay expansion of an escaped single quote.
5529delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5530
5531# Sed substitution to avoid accidental globbing in evaled expressions
5532no_glob_subst='s/\*/\\\*/g'
5533
5534ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5535ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5536ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5537
5538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5539$as_echo_n "checking how to print strings... " >&6; }
5540# Test print first, because it will be a builtin if present.
5541if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5542   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5543  ECHO='print -r --'
5544elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5545  ECHO='printf %s\n'
5546else
5547  # Use this function as a fallback that always works.
5548  func_fallback_echo ()
5549  {
5550    eval 'cat <<_LTECHO_EOF
5551$1
5552_LTECHO_EOF'
5553  }
5554  ECHO='func_fallback_echo'
5555fi
5556
5557# func_echo_all arg...
5558# Invoke $ECHO with all args, space-separated.
5559func_echo_all ()
5560{
5561    $ECHO ""
5562}
5563
5564case $ECHO in
5565  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5566$as_echo "printf" >&6; } ;;
5567  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5568$as_echo "print -r" >&6; } ;;
5569  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5570$as_echo "cat" >&6; } ;;
5571esac
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5587$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5588if ${ac_cv_path_SED+:} false; then :
5589  $as_echo_n "(cached) " >&6
5590else
5591            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5592     for ac_i in 1 2 3 4 5 6 7; do
5593       ac_script="$ac_script$as_nl$ac_script"
5594     done
5595     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5596     { ac_script=; unset ac_script;}
5597     if test -z "$SED"; then
5598  ac_path_SED_found=false
5599  # Loop through the user's path and test for each of PROGNAME-LIST
5600  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601for as_dir in $PATH
5602do
5603  IFS=$as_save_IFS
5604  test -z "$as_dir" && as_dir=.
5605    for ac_prog in sed gsed; do
5606    for ac_exec_ext in '' $ac_executable_extensions; do
5607      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5608      as_fn_executable_p "$ac_path_SED" || continue
5609# Check for GNU ac_path_SED and select it if it is found.
5610  # Check for GNU $ac_path_SED
5611case `"$ac_path_SED" --version 2>&1` in
5612*GNU*)
5613  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5614*)
5615  ac_count=0
5616  $as_echo_n 0123456789 >"conftest.in"
5617  while :
5618  do
5619    cat "conftest.in" "conftest.in" >"conftest.tmp"
5620    mv "conftest.tmp" "conftest.in"
5621    cp "conftest.in" "conftest.nl"
5622    $as_echo '' >> "conftest.nl"
5623    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5624    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5625    as_fn_arith $ac_count + 1 && ac_count=$as_val
5626    if test $ac_count -gt ${ac_path_SED_max-0}; then
5627      # Best one so far, save it but keep looking for a better one
5628      ac_cv_path_SED="$ac_path_SED"
5629      ac_path_SED_max=$ac_count
5630    fi
5631    # 10*(2^10) chars as input seems more than enough
5632    test $ac_count -gt 10 && break
5633  done
5634  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5635esac
5636
5637      $ac_path_SED_found && break 3
5638    done
5639  done
5640  done
5641IFS=$as_save_IFS
5642  if test -z "$ac_cv_path_SED"; then
5643    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5644  fi
5645else
5646  ac_cv_path_SED=$SED
5647fi
5648
5649fi
5650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5651$as_echo "$ac_cv_path_SED" >&6; }
5652 SED="$ac_cv_path_SED"
5653  rm -f conftest.sed
5654
5655test -z "$SED" && SED=sed
5656Xsed="$SED -e 1s/^X//"
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5669$as_echo_n "checking for egrep... " >&6; }
5670if ${ac_cv_path_EGREP+:} false; then :
5671  $as_echo_n "(cached) " >&6
5672else
5673  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5674   then ac_cv_path_EGREP="$GREP -E"
5675   else
5676     if test -z "$EGREP"; then
5677  ac_path_EGREP_found=false
5678  # Loop through the user's path and test for each of PROGNAME-LIST
5679  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5681do
5682  IFS=$as_save_IFS
5683  test -z "$as_dir" && as_dir=.
5684    for ac_prog in egrep; do
5685    for ac_exec_ext in '' $ac_executable_extensions; do
5686      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5687      as_fn_executable_p "$ac_path_EGREP" || continue
5688# Check for GNU ac_path_EGREP and select it if it is found.
5689  # Check for GNU $ac_path_EGREP
5690case `"$ac_path_EGREP" --version 2>&1` in
5691*GNU*)
5692  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5693*)
5694  ac_count=0
5695  $as_echo_n 0123456789 >"conftest.in"
5696  while :
5697  do
5698    cat "conftest.in" "conftest.in" >"conftest.tmp"
5699    mv "conftest.tmp" "conftest.in"
5700    cp "conftest.in" "conftest.nl"
5701    $as_echo 'EGREP' >> "conftest.nl"
5702    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5703    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5704    as_fn_arith $ac_count + 1 && ac_count=$as_val
5705    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5706      # Best one so far, save it but keep looking for a better one
5707      ac_cv_path_EGREP="$ac_path_EGREP"
5708      ac_path_EGREP_max=$ac_count
5709    fi
5710    # 10*(2^10) chars as input seems more than enough
5711    test $ac_count -gt 10 && break
5712  done
5713  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5714esac
5715
5716      $ac_path_EGREP_found && break 3
5717    done
5718  done
5719  done
5720IFS=$as_save_IFS
5721  if test -z "$ac_cv_path_EGREP"; then
5722    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5723  fi
5724else
5725  ac_cv_path_EGREP=$EGREP
5726fi
5727
5728   fi
5729fi
5730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5731$as_echo "$ac_cv_path_EGREP" >&6; }
5732 EGREP="$ac_cv_path_EGREP"
5733
5734
5735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5736$as_echo_n "checking for fgrep... " >&6; }
5737if ${ac_cv_path_FGREP+:} false; then :
5738  $as_echo_n "(cached) " >&6
5739else
5740  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5741   then ac_cv_path_FGREP="$GREP -F"
5742   else
5743     if test -z "$FGREP"; then
5744  ac_path_FGREP_found=false
5745  # Loop through the user's path and test for each of PROGNAME-LIST
5746  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5748do
5749  IFS=$as_save_IFS
5750  test -z "$as_dir" && as_dir=.
5751    for ac_prog in fgrep; do
5752    for ac_exec_ext in '' $ac_executable_extensions; do
5753      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5754      as_fn_executable_p "$ac_path_FGREP" || continue
5755# Check for GNU ac_path_FGREP and select it if it is found.
5756  # Check for GNU $ac_path_FGREP
5757case `"$ac_path_FGREP" --version 2>&1` in
5758*GNU*)
5759  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5760*)
5761  ac_count=0
5762  $as_echo_n 0123456789 >"conftest.in"
5763  while :
5764  do
5765    cat "conftest.in" "conftest.in" >"conftest.tmp"
5766    mv "conftest.tmp" "conftest.in"
5767    cp "conftest.in" "conftest.nl"
5768    $as_echo 'FGREP' >> "conftest.nl"
5769    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5770    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5771    as_fn_arith $ac_count + 1 && ac_count=$as_val
5772    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5773      # Best one so far, save it but keep looking for a better one
5774      ac_cv_path_FGREP="$ac_path_FGREP"
5775      ac_path_FGREP_max=$ac_count
5776    fi
5777    # 10*(2^10) chars as input seems more than enough
5778    test $ac_count -gt 10 && break
5779  done
5780  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5781esac
5782
5783      $ac_path_FGREP_found && break 3
5784    done
5785  done
5786  done
5787IFS=$as_save_IFS
5788  if test -z "$ac_cv_path_FGREP"; then
5789    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5790  fi
5791else
5792  ac_cv_path_FGREP=$FGREP
5793fi
5794
5795   fi
5796fi
5797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5798$as_echo "$ac_cv_path_FGREP" >&6; }
5799 FGREP="$ac_cv_path_FGREP"
5800
5801
5802test -z "$GREP" && GREP=grep
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822# Check whether --with-gnu-ld was given.
5823if test "${with_gnu_ld+set}" = set; then :
5824  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5825else
5826  with_gnu_ld=no
5827fi
5828
5829ac_prog=ld
5830if test yes = "$GCC"; then
5831  # Check if gcc -print-prog-name=ld gives a path.
5832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5833$as_echo_n "checking for ld used by $CC... " >&6; }
5834  case $host in
5835  *-*-mingw*)
5836    # gcc leaves a trailing carriage return, which upsets mingw
5837    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5838  *)
5839    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5840  esac
5841  case $ac_prog in
5842    # Accept absolute paths.
5843    [\\/]* | ?:[\\/]*)
5844      re_direlt='/[^/][^/]*/\.\./'
5845      # Canonicalize the pathname of ld
5846      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5847      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5848	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5849      done
5850      test -z "$LD" && LD=$ac_prog
5851      ;;
5852  "")
5853    # If it fails, then pretend we aren't using GCC.
5854    ac_prog=ld
5855    ;;
5856  *)
5857    # If it is relative, then search for the first ld in PATH.
5858    with_gnu_ld=unknown
5859    ;;
5860  esac
5861elif test yes = "$with_gnu_ld"; then
5862  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5863$as_echo_n "checking for GNU ld... " >&6; }
5864else
5865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5866$as_echo_n "checking for non-GNU ld... " >&6; }
5867fi
5868if ${lt_cv_path_LD+:} false; then :
5869  $as_echo_n "(cached) " >&6
5870else
5871  if test -z "$LD"; then
5872  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5873  for ac_dir in $PATH; do
5874    IFS=$lt_save_ifs
5875    test -z "$ac_dir" && ac_dir=.
5876    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5877      lt_cv_path_LD=$ac_dir/$ac_prog
5878      # Check to see if the program is GNU ld.  I'd rather use --version,
5879      # but apparently some variants of GNU ld only accept -v.
5880      # Break only if it was the GNU/non-GNU ld that we prefer.
5881      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5882      *GNU* | *'with BFD'*)
5883	test no != "$with_gnu_ld" && break
5884	;;
5885      *)
5886	test yes != "$with_gnu_ld" && break
5887	;;
5888      esac
5889    fi
5890  done
5891  IFS=$lt_save_ifs
5892else
5893  lt_cv_path_LD=$LD # Let the user override the test with a path.
5894fi
5895fi
5896
5897LD=$lt_cv_path_LD
5898if test -n "$LD"; then
5899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5900$as_echo "$LD" >&6; }
5901else
5902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903$as_echo "no" >&6; }
5904fi
5905test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5907$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5908if ${lt_cv_prog_gnu_ld+:} false; then :
5909  $as_echo_n "(cached) " >&6
5910else
5911  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5912case `$LD -v 2>&1 </dev/null` in
5913*GNU* | *'with BFD'*)
5914  lt_cv_prog_gnu_ld=yes
5915  ;;
5916*)
5917  lt_cv_prog_gnu_ld=no
5918  ;;
5919esac
5920fi
5921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5922$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5923with_gnu_ld=$lt_cv_prog_gnu_ld
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5934$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5935if ${lt_cv_path_NM+:} false; then :
5936  $as_echo_n "(cached) " >&6
5937else
5938  if test -n "$NM"; then
5939  # Let the user override the test.
5940  lt_cv_path_NM=$NM
5941else
5942  lt_nm_to_check=${ac_tool_prefix}nm
5943  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5944    lt_nm_to_check="$lt_nm_to_check nm"
5945  fi
5946  for lt_tmp_nm in $lt_nm_to_check; do
5947    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5948    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5949      IFS=$lt_save_ifs
5950      test -z "$ac_dir" && ac_dir=.
5951      tmp_nm=$ac_dir/$lt_tmp_nm
5952      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5953	# Check to see if the nm accepts a BSD-compat flag.
5954	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5955	#   nm: unknown option "B" ignored
5956	# Tru64's nm complains that /dev/null is an invalid object file
5957	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5958	case $build_os in
5959	mingw*) lt_bad_file=conftest.nm/nofile ;;
5960	*) lt_bad_file=/dev/null ;;
5961	esac
5962	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5963	*$lt_bad_file* | *'Invalid file or object type'*)
5964	  lt_cv_path_NM="$tmp_nm -B"
5965	  break 2
5966	  ;;
5967	*)
5968	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5969	  */dev/null*)
5970	    lt_cv_path_NM="$tmp_nm -p"
5971	    break 2
5972	    ;;
5973	  *)
5974	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5975	    continue # so that we can try to find one that supports BSD flags
5976	    ;;
5977	  esac
5978	  ;;
5979	esac
5980      fi
5981    done
5982    IFS=$lt_save_ifs
5983  done
5984  : ${lt_cv_path_NM=no}
5985fi
5986fi
5987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5988$as_echo "$lt_cv_path_NM" >&6; }
5989if test no != "$lt_cv_path_NM"; then
5990  NM=$lt_cv_path_NM
5991else
5992  # Didn't find any BSD compatible name lister, look for dumpbin.
5993  if test -n "$DUMPBIN"; then :
5994    # Let the user override the test.
5995  else
5996    if test -n "$ac_tool_prefix"; then
5997  for ac_prog in dumpbin "link -dump"
5998  do
5999    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6000set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002$as_echo_n "checking for $ac_word... " >&6; }
6003if ${ac_cv_prog_DUMPBIN+:} false; then :
6004  $as_echo_n "(cached) " >&6
6005else
6006  if test -n "$DUMPBIN"; then
6007  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6008else
6009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010for as_dir in $PATH
6011do
6012  IFS=$as_save_IFS
6013  test -z "$as_dir" && as_dir=.
6014    for ac_exec_ext in '' $ac_executable_extensions; do
6015  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6017    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018    break 2
6019  fi
6020done
6021  done
6022IFS=$as_save_IFS
6023
6024fi
6025fi
6026DUMPBIN=$ac_cv_prog_DUMPBIN
6027if test -n "$DUMPBIN"; then
6028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6029$as_echo "$DUMPBIN" >&6; }
6030else
6031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032$as_echo "no" >&6; }
6033fi
6034
6035
6036    test -n "$DUMPBIN" && break
6037  done
6038fi
6039if test -z "$DUMPBIN"; then
6040  ac_ct_DUMPBIN=$DUMPBIN
6041  for ac_prog in dumpbin "link -dump"
6042do
6043  # Extract the first word of "$ac_prog", so it can be a program name with args.
6044set dummy $ac_prog; ac_word=$2
6045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046$as_echo_n "checking for $ac_word... " >&6; }
6047if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6048  $as_echo_n "(cached) " >&6
6049else
6050  if test -n "$ac_ct_DUMPBIN"; then
6051  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6052else
6053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054for as_dir in $PATH
6055do
6056  IFS=$as_save_IFS
6057  test -z "$as_dir" && as_dir=.
6058    for ac_exec_ext in '' $ac_executable_extensions; do
6059  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062    break 2
6063  fi
6064done
6065  done
6066IFS=$as_save_IFS
6067
6068fi
6069fi
6070ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6071if test -n "$ac_ct_DUMPBIN"; then
6072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6073$as_echo "$ac_ct_DUMPBIN" >&6; }
6074else
6075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076$as_echo "no" >&6; }
6077fi
6078
6079
6080  test -n "$ac_ct_DUMPBIN" && break
6081done
6082
6083  if test "x$ac_ct_DUMPBIN" = x; then
6084    DUMPBIN=":"
6085  else
6086    case $cross_compiling:$ac_tool_warned in
6087yes:)
6088{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6089$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6090ac_tool_warned=yes ;;
6091esac
6092    DUMPBIN=$ac_ct_DUMPBIN
6093  fi
6094fi
6095
6096    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6097    *COFF*)
6098      DUMPBIN="$DUMPBIN -symbols -headers"
6099      ;;
6100    *)
6101      DUMPBIN=:
6102      ;;
6103    esac
6104  fi
6105
6106  if test : != "$DUMPBIN"; then
6107    NM=$DUMPBIN
6108  fi
6109fi
6110test -z "$NM" && NM=nm
6111
6112
6113
6114
6115
6116
6117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6118$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6119if ${lt_cv_nm_interface+:} false; then :
6120  $as_echo_n "(cached) " >&6
6121else
6122  lt_cv_nm_interface="BSD nm"
6123  echo "int some_variable = 0;" > conftest.$ac_ext
6124  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6125  (eval "$ac_compile" 2>conftest.err)
6126  cat conftest.err >&5
6127  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6128  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6129  cat conftest.err >&5
6130  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6131  cat conftest.out >&5
6132  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6133    lt_cv_nm_interface="MS dumpbin"
6134  fi
6135  rm -f conftest*
6136fi
6137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6138$as_echo "$lt_cv_nm_interface" >&6; }
6139
6140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6141$as_echo_n "checking whether ln -s works... " >&6; }
6142LN_S=$as_ln_s
6143if test "$LN_S" = "ln -s"; then
6144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6145$as_echo "yes" >&6; }
6146else
6147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6148$as_echo "no, using $LN_S" >&6; }
6149fi
6150
6151# find the maximum length of command line arguments
6152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6153$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6154if ${lt_cv_sys_max_cmd_len+:} false; then :
6155  $as_echo_n "(cached) " >&6
6156else
6157    i=0
6158  teststring=ABCD
6159
6160  case $build_os in
6161  msdosdjgpp*)
6162    # On DJGPP, this test can blow up pretty badly due to problems in libc
6163    # (any single argument exceeding 2000 bytes causes a buffer overrun
6164    # during glob expansion).  Even if it were fixed, the result of this
6165    # check would be larger than it should be.
6166    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6167    ;;
6168
6169  gnu*)
6170    # Under GNU Hurd, this test is not required because there is
6171    # no limit to the length of command line arguments.
6172    # Libtool will interpret -1 as no limit whatsoever
6173    lt_cv_sys_max_cmd_len=-1;
6174    ;;
6175
6176  cygwin* | mingw* | cegcc*)
6177    # On Win9x/ME, this test blows up -- it succeeds, but takes
6178    # about 5 minutes as the teststring grows exponentially.
6179    # Worse, since 9x/ME are not pre-emptively multitasking,
6180    # you end up with a "frozen" computer, even though with patience
6181    # the test eventually succeeds (with a max line length of 256k).
6182    # Instead, let's just punt: use the minimum linelength reported by
6183    # all of the supported platforms: 8192 (on NT/2K/XP).
6184    lt_cv_sys_max_cmd_len=8192;
6185    ;;
6186
6187  mint*)
6188    # On MiNT this can take a long time and run out of memory.
6189    lt_cv_sys_max_cmd_len=8192;
6190    ;;
6191
6192  amigaos*)
6193    # On AmigaOS with pdksh, this test takes hours, literally.
6194    # So we just punt and use a minimum line length of 8192.
6195    lt_cv_sys_max_cmd_len=8192;
6196    ;;
6197
6198  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6199    # This has been around since 386BSD, at least.  Likely further.
6200    if test -x /sbin/sysctl; then
6201      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6202    elif test -x /usr/sbin/sysctl; then
6203      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6204    else
6205      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6206    fi
6207    # And add a safety zone
6208    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6209    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6210    ;;
6211
6212  interix*)
6213    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6214    lt_cv_sys_max_cmd_len=196608
6215    ;;
6216
6217  os2*)
6218    # The test takes a long time on OS/2.
6219    lt_cv_sys_max_cmd_len=8192
6220    ;;
6221
6222  osf*)
6223    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6224    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6225    # nice to cause kernel panics so lets avoid the loop below.
6226    # First set a reasonable default.
6227    lt_cv_sys_max_cmd_len=16384
6228    #
6229    if test -x /sbin/sysconfig; then
6230      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6231        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6232      esac
6233    fi
6234    ;;
6235  sco3.2v5*)
6236    lt_cv_sys_max_cmd_len=102400
6237    ;;
6238  sysv5* | sco5v6* | sysv4.2uw2*)
6239    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6240    if test -n "$kargmax"; then
6241      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6242    else
6243      lt_cv_sys_max_cmd_len=32768
6244    fi
6245    ;;
6246  *)
6247    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6248    if test -n "$lt_cv_sys_max_cmd_len" && \
6249       test undefined != "$lt_cv_sys_max_cmd_len"; then
6250      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6251      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6252    else
6253      # Make teststring a little bigger before we do anything with it.
6254      # a 1K string should be a reasonable start.
6255      for i in 1 2 3 4 5 6 7 8; do
6256        teststring=$teststring$teststring
6257      done
6258      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6259      # If test is not a shell built-in, we'll probably end up computing a
6260      # maximum length that is only half of the actual maximum length, but
6261      # we can't tell.
6262      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6263	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6264	      test 17 != "$i" # 1/2 MB should be enough
6265      do
6266        i=`expr $i + 1`
6267        teststring=$teststring$teststring
6268      done
6269      # Only check the string length outside the loop.
6270      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6271      teststring=
6272      # Add a significant safety factor because C++ compilers can tack on
6273      # massive amounts of additional arguments before passing them to the
6274      # linker.  It appears as though 1/2 is a usable value.
6275      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6276    fi
6277    ;;
6278  esac
6279
6280fi
6281
6282if test -n "$lt_cv_sys_max_cmd_len"; then
6283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6284$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6285else
6286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6287$as_echo "none" >&6; }
6288fi
6289max_cmd_len=$lt_cv_sys_max_cmd_len
6290
6291
6292
6293
6294
6295
6296: ${CP="cp -f"}
6297: ${MV="mv -f"}
6298: ${RM="rm -f"}
6299
6300if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6301  lt_unset=unset
6302else
6303  lt_unset=false
6304fi
6305
6306
6307
6308
6309
6310# test EBCDIC or ASCII
6311case `echo X|tr X '\101'` in
6312 A) # ASCII based system
6313    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6314  lt_SP2NL='tr \040 \012'
6315  lt_NL2SP='tr \015\012 \040\040'
6316  ;;
6317 *) # EBCDIC based system
6318  lt_SP2NL='tr \100 \n'
6319  lt_NL2SP='tr \r\n \100\100'
6320  ;;
6321esac
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6332$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6333if ${lt_cv_to_host_file_cmd+:} false; then :
6334  $as_echo_n "(cached) " >&6
6335else
6336  case $host in
6337  *-*-mingw* )
6338    case $build in
6339      *-*-mingw* ) # actually msys
6340        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6341        ;;
6342      *-*-cygwin* )
6343        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6344        ;;
6345      * ) # otherwise, assume *nix
6346        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6347        ;;
6348    esac
6349    ;;
6350  *-*-cygwin* )
6351    case $build in
6352      *-*-mingw* ) # actually msys
6353        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6354        ;;
6355      *-*-cygwin* )
6356        lt_cv_to_host_file_cmd=func_convert_file_noop
6357        ;;
6358      * ) # otherwise, assume *nix
6359        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6360        ;;
6361    esac
6362    ;;
6363  * ) # unhandled hosts (and "normal" native builds)
6364    lt_cv_to_host_file_cmd=func_convert_file_noop
6365    ;;
6366esac
6367
6368fi
6369
6370to_host_file_cmd=$lt_cv_to_host_file_cmd
6371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6372$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6373
6374
6375
6376
6377
6378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6379$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6380if ${lt_cv_to_tool_file_cmd+:} false; then :
6381  $as_echo_n "(cached) " >&6
6382else
6383  #assume ordinary cross tools, or native build.
6384lt_cv_to_tool_file_cmd=func_convert_file_noop
6385case $host in
6386  *-*-mingw* )
6387    case $build in
6388      *-*-mingw* ) # actually msys
6389        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6390        ;;
6391    esac
6392    ;;
6393esac
6394
6395fi
6396
6397to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6399$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6400
6401
6402
6403
6404
6405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6406$as_echo_n "checking for $LD option to reload object files... " >&6; }
6407if ${lt_cv_ld_reload_flag+:} false; then :
6408  $as_echo_n "(cached) " >&6
6409else
6410  lt_cv_ld_reload_flag='-r'
6411fi
6412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6413$as_echo "$lt_cv_ld_reload_flag" >&6; }
6414reload_flag=$lt_cv_ld_reload_flag
6415case $reload_flag in
6416"" | " "*) ;;
6417*) reload_flag=" $reload_flag" ;;
6418esac
6419reload_cmds='$LD$reload_flag -o $output$reload_objs'
6420case $host_os in
6421  cygwin* | mingw* | pw32* | cegcc*)
6422    if test yes != "$GCC"; then
6423      reload_cmds=false
6424    fi
6425    ;;
6426  darwin*)
6427    if test yes = "$GCC"; then
6428      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6429    else
6430      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6431    fi
6432    ;;
6433esac
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443if test -n "$ac_tool_prefix"; then
6444  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6445set dummy ${ac_tool_prefix}objdump; ac_word=$2
6446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6447$as_echo_n "checking for $ac_word... " >&6; }
6448if ${ac_cv_prog_OBJDUMP+:} false; then :
6449  $as_echo_n "(cached) " >&6
6450else
6451  if test -n "$OBJDUMP"; then
6452  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6453else
6454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455for as_dir in $PATH
6456do
6457  IFS=$as_save_IFS
6458  test -z "$as_dir" && as_dir=.
6459    for ac_exec_ext in '' $ac_executable_extensions; do
6460  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6461    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6462    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6463    break 2
6464  fi
6465done
6466  done
6467IFS=$as_save_IFS
6468
6469fi
6470fi
6471OBJDUMP=$ac_cv_prog_OBJDUMP
6472if test -n "$OBJDUMP"; then
6473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6474$as_echo "$OBJDUMP" >&6; }
6475else
6476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6477$as_echo "no" >&6; }
6478fi
6479
6480
6481fi
6482if test -z "$ac_cv_prog_OBJDUMP"; then
6483  ac_ct_OBJDUMP=$OBJDUMP
6484  # Extract the first word of "objdump", so it can be a program name with args.
6485set dummy objdump; ac_word=$2
6486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6487$as_echo_n "checking for $ac_word... " >&6; }
6488if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6489  $as_echo_n "(cached) " >&6
6490else
6491  if test -n "$ac_ct_OBJDUMP"; then
6492  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6493else
6494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6495for as_dir in $PATH
6496do
6497  IFS=$as_save_IFS
6498  test -z "$as_dir" && as_dir=.
6499    for ac_exec_ext in '' $ac_executable_extensions; do
6500  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6501    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6502    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6503    break 2
6504  fi
6505done
6506  done
6507IFS=$as_save_IFS
6508
6509fi
6510fi
6511ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6512if test -n "$ac_ct_OBJDUMP"; then
6513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6514$as_echo "$ac_ct_OBJDUMP" >&6; }
6515else
6516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517$as_echo "no" >&6; }
6518fi
6519
6520  if test "x$ac_ct_OBJDUMP" = x; then
6521    OBJDUMP="false"
6522  else
6523    case $cross_compiling:$ac_tool_warned in
6524yes:)
6525{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6526$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6527ac_tool_warned=yes ;;
6528esac
6529    OBJDUMP=$ac_ct_OBJDUMP
6530  fi
6531else
6532  OBJDUMP="$ac_cv_prog_OBJDUMP"
6533fi
6534
6535test -z "$OBJDUMP" && OBJDUMP=objdump
6536
6537
6538
6539
6540
6541
6542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6543$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6544if ${lt_cv_deplibs_check_method+:} false; then :
6545  $as_echo_n "(cached) " >&6
6546else
6547  lt_cv_file_magic_cmd='$MAGIC_CMD'
6548lt_cv_file_magic_test_file=
6549lt_cv_deplibs_check_method='unknown'
6550# Need to set the preceding variable on all platforms that support
6551# interlibrary dependencies.
6552# 'none' -- dependencies not supported.
6553# 'unknown' -- same as none, but documents that we really don't know.
6554# 'pass_all' -- all dependencies passed with no checks.
6555# 'test_compile' -- check by making test program.
6556# 'file_magic [[regex]]' -- check by looking for files in library path
6557# that responds to the $file_magic_cmd with a given extended regex.
6558# If you have 'file' or equivalent on your system and you're not sure
6559# whether 'pass_all' will *always* work, you probably want this one.
6560
6561case $host_os in
6562aix[4-9]*)
6563  lt_cv_deplibs_check_method=pass_all
6564  ;;
6565
6566beos*)
6567  lt_cv_deplibs_check_method=pass_all
6568  ;;
6569
6570bsdi[45]*)
6571  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6572  lt_cv_file_magic_cmd='/usr/bin/file -L'
6573  lt_cv_file_magic_test_file=/shlib/libc.so
6574  ;;
6575
6576cygwin*)
6577  # func_win32_libid is a shell function defined in ltmain.sh
6578  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6579  lt_cv_file_magic_cmd='func_win32_libid'
6580  ;;
6581
6582mingw* | pw32*)
6583  # Base MSYS/MinGW do not provide the 'file' command needed by
6584  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6585  # unless we find 'file', for example because we are cross-compiling.
6586  if ( file / ) >/dev/null 2>&1; then
6587    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6588    lt_cv_file_magic_cmd='func_win32_libid'
6589  else
6590    # Keep this pattern in sync with the one in func_win32_libid.
6591    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6592    lt_cv_file_magic_cmd='$OBJDUMP -f'
6593  fi
6594  ;;
6595
6596cegcc*)
6597  # use the weaker test based on 'objdump'. See mingw*.
6598  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6599  lt_cv_file_magic_cmd='$OBJDUMP -f'
6600  ;;
6601
6602darwin* | rhapsody*)
6603  lt_cv_deplibs_check_method=pass_all
6604  ;;
6605
6606freebsd* | dragonfly*)
6607  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6608    case $host_cpu in
6609    i*86 )
6610      # Not sure whether the presence of OpenBSD here was a mistake.
6611      # Let's accept both of them until this is cleared up.
6612      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6613      lt_cv_file_magic_cmd=/usr/bin/file
6614      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6615      ;;
6616    esac
6617  else
6618    lt_cv_deplibs_check_method=pass_all
6619  fi
6620  ;;
6621
6622haiku*)
6623  lt_cv_deplibs_check_method=pass_all
6624  ;;
6625
6626hpux10.20* | hpux11*)
6627  lt_cv_file_magic_cmd=/usr/bin/file
6628  case $host_cpu in
6629  ia64*)
6630    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6631    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6632    ;;
6633  hppa*64*)
6634    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]'
6635    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6636    ;;
6637  *)
6638    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6639    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6640    ;;
6641  esac
6642  ;;
6643
6644interix[3-9]*)
6645  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6646  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6647  ;;
6648
6649irix5* | irix6* | nonstopux*)
6650  case $LD in
6651  *-32|*"-32 ") libmagic=32-bit;;
6652  *-n32|*"-n32 ") libmagic=N32;;
6653  *-64|*"-64 ") libmagic=64-bit;;
6654  *) libmagic=never-match;;
6655  esac
6656  lt_cv_deplibs_check_method=pass_all
6657  ;;
6658
6659# This must be glibc/ELF.
6660linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6661  lt_cv_deplibs_check_method=pass_all
6662  ;;
6663
6664netbsd* | netbsdelf*-gnu)
6665  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6666    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6667  else
6668    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6669  fi
6670  ;;
6671
6672newos6*)
6673  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6674  lt_cv_file_magic_cmd=/usr/bin/file
6675  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6676  ;;
6677
6678*nto* | *qnx*)
6679  lt_cv_deplibs_check_method=pass_all
6680  ;;
6681
6682openbsd* | bitrig*)
6683  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6684    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6685  else
6686    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6687  fi
6688  ;;
6689
6690osf3* | osf4* | osf5*)
6691  lt_cv_deplibs_check_method=pass_all
6692  ;;
6693
6694rdos*)
6695  lt_cv_deplibs_check_method=pass_all
6696  ;;
6697
6698solaris*)
6699  lt_cv_deplibs_check_method=pass_all
6700  ;;
6701
6702sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6703  lt_cv_deplibs_check_method=pass_all
6704  ;;
6705
6706sysv4 | sysv4.3*)
6707  case $host_vendor in
6708  motorola)
6709    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]'
6710    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6711    ;;
6712  ncr)
6713    lt_cv_deplibs_check_method=pass_all
6714    ;;
6715  sequent)
6716    lt_cv_file_magic_cmd='/bin/file'
6717    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6718    ;;
6719  sni)
6720    lt_cv_file_magic_cmd='/bin/file'
6721    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6722    lt_cv_file_magic_test_file=/lib/libc.so
6723    ;;
6724  siemens)
6725    lt_cv_deplibs_check_method=pass_all
6726    ;;
6727  pc)
6728    lt_cv_deplibs_check_method=pass_all
6729    ;;
6730  esac
6731  ;;
6732
6733tpf*)
6734  lt_cv_deplibs_check_method=pass_all
6735  ;;
6736os2*)
6737  lt_cv_deplibs_check_method=pass_all
6738  ;;
6739esac
6740
6741fi
6742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6743$as_echo "$lt_cv_deplibs_check_method" >&6; }
6744
6745file_magic_glob=
6746want_nocaseglob=no
6747if test "$build" = "$host"; then
6748  case $host_os in
6749  mingw* | pw32*)
6750    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6751      want_nocaseglob=yes
6752    else
6753      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6754    fi
6755    ;;
6756  esac
6757fi
6758
6759file_magic_cmd=$lt_cv_file_magic_cmd
6760deplibs_check_method=$lt_cv_deplibs_check_method
6761test -z "$deplibs_check_method" && deplibs_check_method=unknown
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784if test -n "$ac_tool_prefix"; then
6785  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6786set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6788$as_echo_n "checking for $ac_word... " >&6; }
6789if ${ac_cv_prog_DLLTOOL+:} false; then :
6790  $as_echo_n "(cached) " >&6
6791else
6792  if test -n "$DLLTOOL"; then
6793  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6794else
6795as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796for as_dir in $PATH
6797do
6798  IFS=$as_save_IFS
6799  test -z "$as_dir" && as_dir=.
6800    for ac_exec_ext in '' $ac_executable_extensions; do
6801  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6802    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6803    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6804    break 2
6805  fi
6806done
6807  done
6808IFS=$as_save_IFS
6809
6810fi
6811fi
6812DLLTOOL=$ac_cv_prog_DLLTOOL
6813if test -n "$DLLTOOL"; then
6814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6815$as_echo "$DLLTOOL" >&6; }
6816else
6817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818$as_echo "no" >&6; }
6819fi
6820
6821
6822fi
6823if test -z "$ac_cv_prog_DLLTOOL"; then
6824  ac_ct_DLLTOOL=$DLLTOOL
6825  # Extract the first word of "dlltool", so it can be a program name with args.
6826set dummy dlltool; ac_word=$2
6827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828$as_echo_n "checking for $ac_word... " >&6; }
6829if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6830  $as_echo_n "(cached) " >&6
6831else
6832  if test -n "$ac_ct_DLLTOOL"; then
6833  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6834else
6835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836for as_dir in $PATH
6837do
6838  IFS=$as_save_IFS
6839  test -z "$as_dir" && as_dir=.
6840    for ac_exec_ext in '' $ac_executable_extensions; do
6841  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6842    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6843    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844    break 2
6845  fi
6846done
6847  done
6848IFS=$as_save_IFS
6849
6850fi
6851fi
6852ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6853if test -n "$ac_ct_DLLTOOL"; then
6854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6855$as_echo "$ac_ct_DLLTOOL" >&6; }
6856else
6857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858$as_echo "no" >&6; }
6859fi
6860
6861  if test "x$ac_ct_DLLTOOL" = x; then
6862    DLLTOOL="false"
6863  else
6864    case $cross_compiling:$ac_tool_warned in
6865yes:)
6866{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6867$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6868ac_tool_warned=yes ;;
6869esac
6870    DLLTOOL=$ac_ct_DLLTOOL
6871  fi
6872else
6873  DLLTOOL="$ac_cv_prog_DLLTOOL"
6874fi
6875
6876test -z "$DLLTOOL" && DLLTOOL=dlltool
6877
6878
6879
6880
6881
6882
6883
6884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6885$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6886if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6887  $as_echo_n "(cached) " >&6
6888else
6889  lt_cv_sharedlib_from_linklib_cmd='unknown'
6890
6891case $host_os in
6892cygwin* | mingw* | pw32* | cegcc*)
6893  # two different shell functions defined in ltmain.sh;
6894  # decide which one to use based on capabilities of $DLLTOOL
6895  case `$DLLTOOL --help 2>&1` in
6896  *--identify-strict*)
6897    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6898    ;;
6899  *)
6900    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6901    ;;
6902  esac
6903  ;;
6904*)
6905  # fallback: assume linklib IS sharedlib
6906  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6907  ;;
6908esac
6909
6910fi
6911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6912$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6913sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6914test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6915
6916
6917
6918
6919
6920
6921
6922if test -n "$ac_tool_prefix"; then
6923  for ac_prog in ar
6924  do
6925    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6926set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6928$as_echo_n "checking for $ac_word... " >&6; }
6929if ${ac_cv_prog_AR+:} false; then :
6930  $as_echo_n "(cached) " >&6
6931else
6932  if test -n "$AR"; then
6933  ac_cv_prog_AR="$AR" # Let the user override the test.
6934else
6935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936for as_dir in $PATH
6937do
6938  IFS=$as_save_IFS
6939  test -z "$as_dir" && as_dir=.
6940    for ac_exec_ext in '' $ac_executable_extensions; do
6941  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6942    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944    break 2
6945  fi
6946done
6947  done
6948IFS=$as_save_IFS
6949
6950fi
6951fi
6952AR=$ac_cv_prog_AR
6953if test -n "$AR"; then
6954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6955$as_echo "$AR" >&6; }
6956else
6957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958$as_echo "no" >&6; }
6959fi
6960
6961
6962    test -n "$AR" && break
6963  done
6964fi
6965if test -z "$AR"; then
6966  ac_ct_AR=$AR
6967  for ac_prog in ar
6968do
6969  # Extract the first word of "$ac_prog", so it can be a program name with args.
6970set dummy $ac_prog; ac_word=$2
6971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6972$as_echo_n "checking for $ac_word... " >&6; }
6973if ${ac_cv_prog_ac_ct_AR+:} false; then :
6974  $as_echo_n "(cached) " >&6
6975else
6976  if test -n "$ac_ct_AR"; then
6977  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6978else
6979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980for as_dir in $PATH
6981do
6982  IFS=$as_save_IFS
6983  test -z "$as_dir" && as_dir=.
6984    for ac_exec_ext in '' $ac_executable_extensions; do
6985  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6986    ac_cv_prog_ac_ct_AR="$ac_prog"
6987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988    break 2
6989  fi
6990done
6991  done
6992IFS=$as_save_IFS
6993
6994fi
6995fi
6996ac_ct_AR=$ac_cv_prog_ac_ct_AR
6997if test -n "$ac_ct_AR"; then
6998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6999$as_echo "$ac_ct_AR" >&6; }
7000else
7001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002$as_echo "no" >&6; }
7003fi
7004
7005
7006  test -n "$ac_ct_AR" && break
7007done
7008
7009  if test "x$ac_ct_AR" = x; then
7010    AR="false"
7011  else
7012    case $cross_compiling:$ac_tool_warned in
7013yes:)
7014{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7015$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7016ac_tool_warned=yes ;;
7017esac
7018    AR=$ac_ct_AR
7019  fi
7020fi
7021
7022: ${AR=ar}
7023: ${AR_FLAGS=cru}
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7036$as_echo_n "checking for archiver @FILE support... " >&6; }
7037if ${lt_cv_ar_at_file+:} false; then :
7038  $as_echo_n "(cached) " >&6
7039else
7040  lt_cv_ar_at_file=no
7041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7042/* end confdefs.h.  */
7043
7044int
7045main ()
7046{
7047
7048  ;
7049  return 0;
7050}
7051_ACEOF
7052if ac_fn_c_try_compile "$LINENO"; then :
7053  echo conftest.$ac_objext > conftest.lst
7054      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7055      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7056  (eval $lt_ar_try) 2>&5
7057  ac_status=$?
7058  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7059  test $ac_status = 0; }
7060      if test 0 -eq "$ac_status"; then
7061	# Ensure the archiver fails upon bogus file names.
7062	rm -f conftest.$ac_objext libconftest.a
7063	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7064  (eval $lt_ar_try) 2>&5
7065  ac_status=$?
7066  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067  test $ac_status = 0; }
7068	if test 0 -ne "$ac_status"; then
7069          lt_cv_ar_at_file=@
7070        fi
7071      fi
7072      rm -f conftest.* libconftest.a
7073
7074fi
7075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7076
7077fi
7078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7079$as_echo "$lt_cv_ar_at_file" >&6; }
7080
7081if test no = "$lt_cv_ar_at_file"; then
7082  archiver_list_spec=
7083else
7084  archiver_list_spec=$lt_cv_ar_at_file
7085fi
7086
7087
7088
7089
7090
7091
7092
7093if test -n "$ac_tool_prefix"; then
7094  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7095set dummy ${ac_tool_prefix}strip; ac_word=$2
7096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097$as_echo_n "checking for $ac_word... " >&6; }
7098if ${ac_cv_prog_STRIP+:} false; then :
7099  $as_echo_n "(cached) " >&6
7100else
7101  if test -n "$STRIP"; then
7102  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7103else
7104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105for as_dir in $PATH
7106do
7107  IFS=$as_save_IFS
7108  test -z "$as_dir" && as_dir=.
7109    for ac_exec_ext in '' $ac_executable_extensions; do
7110  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7111    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7112    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7113    break 2
7114  fi
7115done
7116  done
7117IFS=$as_save_IFS
7118
7119fi
7120fi
7121STRIP=$ac_cv_prog_STRIP
7122if test -n "$STRIP"; then
7123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7124$as_echo "$STRIP" >&6; }
7125else
7126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127$as_echo "no" >&6; }
7128fi
7129
7130
7131fi
7132if test -z "$ac_cv_prog_STRIP"; then
7133  ac_ct_STRIP=$STRIP
7134  # Extract the first word of "strip", so it can be a program name with args.
7135set dummy strip; ac_word=$2
7136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137$as_echo_n "checking for $ac_word... " >&6; }
7138if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7139  $as_echo_n "(cached) " >&6
7140else
7141  if test -n "$ac_ct_STRIP"; then
7142  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7143else
7144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145for as_dir in $PATH
7146do
7147  IFS=$as_save_IFS
7148  test -z "$as_dir" && as_dir=.
7149    for ac_exec_ext in '' $ac_executable_extensions; do
7150  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7151    ac_cv_prog_ac_ct_STRIP="strip"
7152    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153    break 2
7154  fi
7155done
7156  done
7157IFS=$as_save_IFS
7158
7159fi
7160fi
7161ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7162if test -n "$ac_ct_STRIP"; then
7163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7164$as_echo "$ac_ct_STRIP" >&6; }
7165else
7166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167$as_echo "no" >&6; }
7168fi
7169
7170  if test "x$ac_ct_STRIP" = x; then
7171    STRIP=":"
7172  else
7173    case $cross_compiling:$ac_tool_warned in
7174yes:)
7175{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7176$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7177ac_tool_warned=yes ;;
7178esac
7179    STRIP=$ac_ct_STRIP
7180  fi
7181else
7182  STRIP="$ac_cv_prog_STRIP"
7183fi
7184
7185test -z "$STRIP" && STRIP=:
7186
7187
7188
7189
7190
7191
7192if test -n "$ac_tool_prefix"; then
7193  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7194set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+:} false; then :
7198  $as_echo_n "(cached) " >&6
7199else
7200  if test -n "$RANLIB"; then
7201  ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
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
7220RANLIB=$ac_cv_prog_RANLIB
7221if test -n "$RANLIB"; then
7222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7223$as_echo "$RANLIB" >&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_RANLIB"; then
7232  ac_ct_RANLIB=$RANLIB
7233  # Extract the first word of "ranlib", so it can be a program name with args.
7234set dummy ranlib; 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_RANLIB+:} false; then :
7238  $as_echo_n "(cached) " >&6
7239else
7240  if test -n "$ac_ct_RANLIB"; then
7241  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"
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_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7261if test -n "$ac_ct_RANLIB"; then
7262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7263$as_echo "$ac_ct_RANLIB" >&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_RANLIB" = x; then
7270    RANLIB=":"
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    RANLIB=$ac_ct_RANLIB
7279  fi
7280else
7281  RANLIB="$ac_cv_prog_RANLIB"
7282fi
7283
7284test -z "$RANLIB" && RANLIB=:
7285
7286
7287
7288
7289
7290
7291# Determine commands to create old-style static archives.
7292old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7293old_postinstall_cmds='chmod 644 $oldlib'
7294old_postuninstall_cmds=
7295
7296if test -n "$RANLIB"; then
7297  case $host_os in
7298  bitrig* | openbsd*)
7299    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7300    ;;
7301  *)
7302    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7303    ;;
7304  esac
7305  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7306fi
7307
7308case $host_os in
7309  darwin*)
7310    lock_old_archive_extraction=yes ;;
7311  *)
7312    lock_old_archive_extraction=no ;;
7313esac
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353# If no C compiler was specified, use CC.
7354LTCC=${LTCC-"$CC"}
7355
7356# If no C compiler flags were specified, use CFLAGS.
7357LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7358
7359# Allow CC to be a program name with arguments.
7360compiler=$CC
7361
7362
7363# Check for command to grab the raw symbol name followed by C symbol from nm.
7364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7365$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7366if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7367  $as_echo_n "(cached) " >&6
7368else
7369
7370# These are sane defaults that work on at least a few old systems.
7371# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7372
7373# Character class describing NM global symbol codes.
7374symcode='[BCDEGRST]'
7375
7376# Regexp to match symbols that can be accessed directly from C.
7377sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7378
7379# Define system-specific variables.
7380case $host_os in
7381aix*)
7382  symcode='[BCDT]'
7383  ;;
7384cygwin* | mingw* | pw32* | cegcc*)
7385  symcode='[ABCDGISTW]'
7386  ;;
7387hpux*)
7388  if test ia64 = "$host_cpu"; then
7389    symcode='[ABCDEGRST]'
7390  fi
7391  ;;
7392irix* | nonstopux*)
7393  symcode='[BCDEGRST]'
7394  ;;
7395osf*)
7396  symcode='[BCDEGQRST]'
7397  ;;
7398solaris*)
7399  symcode='[BDRT]'
7400  ;;
7401sco3.2v5*)
7402  symcode='[DT]'
7403  ;;
7404sysv4.2uw2*)
7405  symcode='[DT]'
7406  ;;
7407sysv5* | sco5v6* | unixware* | OpenUNIX*)
7408  symcode='[ABDT]'
7409  ;;
7410sysv4)
7411  symcode='[DFNSTU]'
7412  ;;
7413esac
7414
7415# If we're using GNU nm, then use its standard symbol codes.
7416case `$NM -V 2>&1` in
7417*GNU* | *'with BFD'*)
7418  symcode='[ABCDGIRSTW]' ;;
7419esac
7420
7421if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7422  # Gets list of data symbols to import.
7423  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7424  # Adjust the below global symbol transforms to fixup imported variables.
7425  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7426  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7427  lt_c_name_lib_hook="\
7428  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7429  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7430else
7431  # Disable hooks by default.
7432  lt_cv_sys_global_symbol_to_import=
7433  lt_cdecl_hook=
7434  lt_c_name_hook=
7435  lt_c_name_lib_hook=
7436fi
7437
7438# Transform an extracted symbol line into a proper C declaration.
7439# Some systems (esp. on ia64) link data and code symbols differently,
7440# so use this general approach.
7441lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7442$lt_cdecl_hook\
7443" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7444" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7445
7446# Transform an extracted symbol line into symbol name and symbol address
7447lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7448$lt_c_name_hook\
7449" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7450" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7451
7452# Transform an extracted symbol line into symbol name with lib prefix and
7453# symbol address.
7454lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7455$lt_c_name_lib_hook\
7456" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7457" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7458" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7459
7460# Handle CRLF in mingw tool chain
7461opt_cr=
7462case $build_os in
7463mingw*)
7464  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7465  ;;
7466esac
7467
7468# Try without a prefix underscore, then with it.
7469for ac_symprfx in "" "_"; do
7470
7471  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7472  symxfrm="\\1 $ac_symprfx\\2 \\2"
7473
7474  # Write the raw and C identifiers.
7475  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7476    # Fake it for dumpbin and say T for any non-static function,
7477    # D for any global variable and I for any imported variable.
7478    # Also find C++ and __fastcall symbols from MSVC++,
7479    # which start with @ or ?.
7480    lt_cv_sys_global_symbol_pipe="$AWK '"\
7481"     {last_section=section; section=\$ 3};"\
7482"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7483"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7484"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7485"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7486"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7487"     \$ 0!~/External *\|/{next};"\
7488"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7489"     {if(hide[section]) next};"\
7490"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7491"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7492"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7493"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7494"     ' prfx=^$ac_symprfx"
7495  else
7496    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7497  fi
7498  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7499
7500  # Check to see that the pipe works correctly.
7501  pipe_works=no
7502
7503  rm -f conftest*
7504  cat > conftest.$ac_ext <<_LT_EOF
7505#ifdef __cplusplus
7506extern "C" {
7507#endif
7508char nm_test_var;
7509void nm_test_func(void);
7510void nm_test_func(void){}
7511#ifdef __cplusplus
7512}
7513#endif
7514int main(){nm_test_var='a';nm_test_func();return(0);}
7515_LT_EOF
7516
7517  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7518  (eval $ac_compile) 2>&5
7519  ac_status=$?
7520  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7521  test $ac_status = 0; }; then
7522    # Now try to grab the symbols.
7523    nlist=conftest.nm
7524    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7525  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7526  ac_status=$?
7527  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7528  test $ac_status = 0; } && test -s "$nlist"; then
7529      # Try sorting and uniquifying the output.
7530      if sort "$nlist" | uniq > "$nlist"T; then
7531	mv -f "$nlist"T "$nlist"
7532      else
7533	rm -f "$nlist"T
7534      fi
7535
7536      # Make sure that we snagged all the symbols we need.
7537      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7538	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7539	  cat <<_LT_EOF > conftest.$ac_ext
7540/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7541#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7542/* DATA imports from DLLs on WIN32 can't be const, because runtime
7543   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7544# define LT_DLSYM_CONST
7545#elif defined __osf__
7546/* This system does not cope well with relocations in const data.  */
7547# define LT_DLSYM_CONST
7548#else
7549# define LT_DLSYM_CONST const
7550#endif
7551
7552#ifdef __cplusplus
7553extern "C" {
7554#endif
7555
7556_LT_EOF
7557	  # Now generate the symbol file.
7558	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7559
7560	  cat <<_LT_EOF >> conftest.$ac_ext
7561
7562/* The mapping between symbol names and symbols.  */
7563LT_DLSYM_CONST struct {
7564  const char *name;
7565  void       *address;
7566}
7567lt__PROGRAM__LTX_preloaded_symbols[] =
7568{
7569  { "@PROGRAM@", (void *) 0 },
7570_LT_EOF
7571	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7572	  cat <<\_LT_EOF >> conftest.$ac_ext
7573  {0, (void *) 0}
7574};
7575
7576/* This works around a problem in FreeBSD linker */
7577#ifdef FREEBSD_WORKAROUND
7578static const void *lt_preloaded_setup() {
7579  return lt__PROGRAM__LTX_preloaded_symbols;
7580}
7581#endif
7582
7583#ifdef __cplusplus
7584}
7585#endif
7586_LT_EOF
7587	  # Now try linking the two files.
7588	  mv conftest.$ac_objext conftstm.$ac_objext
7589	  lt_globsym_save_LIBS=$LIBS
7590	  lt_globsym_save_CFLAGS=$CFLAGS
7591	  LIBS=conftstm.$ac_objext
7592	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7593	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7594  (eval $ac_link) 2>&5
7595  ac_status=$?
7596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7597  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7598	    pipe_works=yes
7599	  fi
7600	  LIBS=$lt_globsym_save_LIBS
7601	  CFLAGS=$lt_globsym_save_CFLAGS
7602	else
7603	  echo "cannot find nm_test_func in $nlist" >&5
7604	fi
7605      else
7606	echo "cannot find nm_test_var in $nlist" >&5
7607      fi
7608    else
7609      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7610    fi
7611  else
7612    echo "$progname: failed program was:" >&5
7613    cat conftest.$ac_ext >&5
7614  fi
7615  rm -rf conftest* conftst*
7616
7617  # Do not use the global_symbol_pipe unless it works.
7618  if test yes = "$pipe_works"; then
7619    break
7620  else
7621    lt_cv_sys_global_symbol_pipe=
7622  fi
7623done
7624
7625fi
7626
7627if test -z "$lt_cv_sys_global_symbol_pipe"; then
7628  lt_cv_sys_global_symbol_to_cdecl=
7629fi
7630if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7632$as_echo "failed" >&6; }
7633else
7634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7635$as_echo "ok" >&6; }
7636fi
7637
7638# Response file support.
7639if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7640  nm_file_list_spec='@'
7641elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7642  nm_file_list_spec='@'
7643fi
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7682$as_echo_n "checking for sysroot... " >&6; }
7683
7684# Check whether --with-sysroot was given.
7685if test "${with_sysroot+set}" = set; then :
7686  withval=$with_sysroot;
7687else
7688  with_sysroot=no
7689fi
7690
7691
7692lt_sysroot=
7693case $with_sysroot in #(
7694 yes)
7695   if test yes = "$GCC"; then
7696     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7697   fi
7698   ;; #(
7699 /*)
7700   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7701   ;; #(
7702 no|'')
7703   ;; #(
7704 *)
7705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7706$as_echo "$with_sysroot" >&6; }
7707   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7708   ;;
7709esac
7710
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7712$as_echo "${lt_sysroot:-no}" >&6; }
7713
7714
7715
7716
7717
7718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7719$as_echo_n "checking for a working dd... " >&6; }
7720if ${ac_cv_path_lt_DD+:} false; then :
7721  $as_echo_n "(cached) " >&6
7722else
7723  printf 0123456789abcdef0123456789abcdef >conftest.i
7724cat conftest.i conftest.i >conftest2.i
7725: ${lt_DD:=$DD}
7726if test -z "$lt_DD"; then
7727  ac_path_lt_DD_found=false
7728  # Loop through the user's path and test for each of PROGNAME-LIST
7729  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730for as_dir in $PATH
7731do
7732  IFS=$as_save_IFS
7733  test -z "$as_dir" && as_dir=.
7734    for ac_prog in dd; do
7735    for ac_exec_ext in '' $ac_executable_extensions; do
7736      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7737      as_fn_executable_p "$ac_path_lt_DD" || continue
7738if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7739  cmp -s conftest.i conftest.out \
7740  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7741fi
7742      $ac_path_lt_DD_found && break 3
7743    done
7744  done
7745  done
7746IFS=$as_save_IFS
7747  if test -z "$ac_cv_path_lt_DD"; then
7748    :
7749  fi
7750else
7751  ac_cv_path_lt_DD=$lt_DD
7752fi
7753
7754rm -f conftest.i conftest2.i conftest.out
7755fi
7756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7757$as_echo "$ac_cv_path_lt_DD" >&6; }
7758
7759
7760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7761$as_echo_n "checking how to truncate binary pipes... " >&6; }
7762if ${lt_cv_truncate_bin+:} false; then :
7763  $as_echo_n "(cached) " >&6
7764else
7765  printf 0123456789abcdef0123456789abcdef >conftest.i
7766cat conftest.i conftest.i >conftest2.i
7767lt_cv_truncate_bin=
7768if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7769  cmp -s conftest.i conftest.out \
7770  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7771fi
7772rm -f conftest.i conftest2.i conftest.out
7773test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7774fi
7775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7776$as_echo "$lt_cv_truncate_bin" >&6; }
7777
7778
7779
7780
7781
7782
7783
7784# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7785func_cc_basename ()
7786{
7787    for cc_temp in $*""; do
7788      case $cc_temp in
7789        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7790        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7791        \-*) ;;
7792        *) break;;
7793      esac
7794    done
7795    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7796}
7797
7798# Check whether --enable-libtool-lock was given.
7799if test "${enable_libtool_lock+set}" = set; then :
7800  enableval=$enable_libtool_lock;
7801fi
7802
7803test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7804
7805# Some flags need to be propagated to the compiler or linker for good
7806# libtool support.
7807case $host in
7808ia64-*-hpux*)
7809  # Find out what ABI is being produced by ac_compile, and set mode
7810  # options accordingly.
7811  echo 'int i;' > conftest.$ac_ext
7812  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7813  (eval $ac_compile) 2>&5
7814  ac_status=$?
7815  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7816  test $ac_status = 0; }; then
7817    case `/usr/bin/file conftest.$ac_objext` in
7818      *ELF-32*)
7819	HPUX_IA64_MODE=32
7820	;;
7821      *ELF-64*)
7822	HPUX_IA64_MODE=64
7823	;;
7824    esac
7825  fi
7826  rm -rf conftest*
7827  ;;
7828*-*-irix6*)
7829  # Find out what ABI is being produced by ac_compile, and set linker
7830  # options accordingly.
7831  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7832  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7833  (eval $ac_compile) 2>&5
7834  ac_status=$?
7835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7836  test $ac_status = 0; }; then
7837    if test yes = "$lt_cv_prog_gnu_ld"; then
7838      case `/usr/bin/file conftest.$ac_objext` in
7839	*32-bit*)
7840	  LD="${LD-ld} -melf32bsmip"
7841	  ;;
7842	*N32*)
7843	  LD="${LD-ld} -melf32bmipn32"
7844	  ;;
7845	*64-bit*)
7846	  LD="${LD-ld} -melf64bmip"
7847	;;
7848      esac
7849    else
7850      case `/usr/bin/file conftest.$ac_objext` in
7851	*32-bit*)
7852	  LD="${LD-ld} -32"
7853	  ;;
7854	*N32*)
7855	  LD="${LD-ld} -n32"
7856	  ;;
7857	*64-bit*)
7858	  LD="${LD-ld} -64"
7859	  ;;
7860      esac
7861    fi
7862  fi
7863  rm -rf conftest*
7864  ;;
7865
7866mips64*-*linux*)
7867  # Find out what ABI is being produced by ac_compile, and set linker
7868  # options accordingly.
7869  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7870  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7871  (eval $ac_compile) 2>&5
7872  ac_status=$?
7873  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7874  test $ac_status = 0; }; then
7875    emul=elf
7876    case `/usr/bin/file conftest.$ac_objext` in
7877      *32-bit*)
7878	emul="${emul}32"
7879	;;
7880      *64-bit*)
7881	emul="${emul}64"
7882	;;
7883    esac
7884    case `/usr/bin/file conftest.$ac_objext` in
7885      *MSB*)
7886	emul="${emul}btsmip"
7887	;;
7888      *LSB*)
7889	emul="${emul}ltsmip"
7890	;;
7891    esac
7892    case `/usr/bin/file conftest.$ac_objext` in
7893      *N32*)
7894	emul="${emul}n32"
7895	;;
7896    esac
7897    LD="${LD-ld} -m $emul"
7898  fi
7899  rm -rf conftest*
7900  ;;
7901
7902x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7903s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7904  # Find out what ABI is being produced by ac_compile, and set linker
7905  # options accordingly.  Note that the listed cases only cover the
7906  # situations where additional linker options are needed (such as when
7907  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7908  # vice versa); the common cases where no linker options are needed do
7909  # not appear in the list.
7910  echo 'int i;' > conftest.$ac_ext
7911  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7912  (eval $ac_compile) 2>&5
7913  ac_status=$?
7914  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7915  test $ac_status = 0; }; then
7916    case `/usr/bin/file conftest.o` in
7917      *32-bit*)
7918	case $host in
7919	  x86_64-*kfreebsd*-gnu)
7920	    LD="${LD-ld} -m elf_i386_fbsd"
7921	    ;;
7922	  x86_64-*linux*)
7923	    case `/usr/bin/file conftest.o` in
7924	      *x86-64*)
7925		LD="${LD-ld} -m elf32_x86_64"
7926		;;
7927	      *)
7928		LD="${LD-ld} -m elf_i386"
7929		;;
7930	    esac
7931	    ;;
7932	  powerpc64le-*linux*)
7933	    LD="${LD-ld} -m elf32lppclinux"
7934	    ;;
7935	  powerpc64-*linux*)
7936	    LD="${LD-ld} -m elf32ppclinux"
7937	    ;;
7938	  s390x-*linux*)
7939	    LD="${LD-ld} -m elf_s390"
7940	    ;;
7941	  sparc64-*linux*)
7942	    LD="${LD-ld} -m elf32_sparc"
7943	    ;;
7944	esac
7945	;;
7946      *64-bit*)
7947	case $host in
7948	  x86_64-*kfreebsd*-gnu)
7949	    LD="${LD-ld} -m elf_x86_64_fbsd"
7950	    ;;
7951	  x86_64-*linux*)
7952	    LD="${LD-ld} -m elf_x86_64"
7953	    ;;
7954	  powerpcle-*linux*)
7955	    LD="${LD-ld} -m elf64lppc"
7956	    ;;
7957	  powerpc-*linux*)
7958	    LD="${LD-ld} -m elf64ppc"
7959	    ;;
7960	  s390*-*linux*|s390*-*tpf*)
7961	    LD="${LD-ld} -m elf64_s390"
7962	    ;;
7963	  sparc*-*linux*)
7964	    LD="${LD-ld} -m elf64_sparc"
7965	    ;;
7966	esac
7967	;;
7968    esac
7969  fi
7970  rm -rf conftest*
7971  ;;
7972
7973*-*-sco3.2v5*)
7974  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7975  SAVE_CFLAGS=$CFLAGS
7976  CFLAGS="$CFLAGS -belf"
7977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7978$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7979if ${lt_cv_cc_needs_belf+:} false; then :
7980  $as_echo_n "(cached) " >&6
7981else
7982  ac_ext=c
7983ac_cpp='$CPP $CPPFLAGS'
7984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7986ac_compiler_gnu=$ac_cv_c_compiler_gnu
7987
7988     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989/* end confdefs.h.  */
7990
7991int
7992main ()
7993{
7994
7995  ;
7996  return 0;
7997}
7998_ACEOF
7999if ac_fn_c_try_link "$LINENO"; then :
8000  lt_cv_cc_needs_belf=yes
8001else
8002  lt_cv_cc_needs_belf=no
8003fi
8004rm -f core conftest.err conftest.$ac_objext \
8005    conftest$ac_exeext conftest.$ac_ext
8006     ac_ext=c
8007ac_cpp='$CPP $CPPFLAGS'
8008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8010ac_compiler_gnu=$ac_cv_c_compiler_gnu
8011
8012fi
8013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8014$as_echo "$lt_cv_cc_needs_belf" >&6; }
8015  if test yes != "$lt_cv_cc_needs_belf"; then
8016    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8017    CFLAGS=$SAVE_CFLAGS
8018  fi
8019  ;;
8020*-*solaris*)
8021  # Find out what ABI is being produced by ac_compile, and set linker
8022  # options accordingly.
8023  echo 'int i;' > conftest.$ac_ext
8024  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8025  (eval $ac_compile) 2>&5
8026  ac_status=$?
8027  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8028  test $ac_status = 0; }; then
8029    case `/usr/bin/file conftest.o` in
8030    *64-bit*)
8031      case $lt_cv_prog_gnu_ld in
8032      yes*)
8033        case $host in
8034        i?86-*-solaris*|x86_64-*-solaris*)
8035          LD="${LD-ld} -m elf_x86_64"
8036          ;;
8037        sparc*-*-solaris*)
8038          LD="${LD-ld} -m elf64_sparc"
8039          ;;
8040        esac
8041        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8042        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8043          LD=${LD-ld}_sol2
8044        fi
8045        ;;
8046      *)
8047	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8048	  LD="${LD-ld} -64"
8049	fi
8050	;;
8051      esac
8052      ;;
8053    esac
8054  fi
8055  rm -rf conftest*
8056  ;;
8057esac
8058
8059need_locks=$enable_libtool_lock
8060
8061if test -n "$ac_tool_prefix"; then
8062  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8063set dummy ${ac_tool_prefix}mt; ac_word=$2
8064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065$as_echo_n "checking for $ac_word... " >&6; }
8066if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8067  $as_echo_n "(cached) " >&6
8068else
8069  if test -n "$MANIFEST_TOOL"; then
8070  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8071else
8072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073for as_dir in $PATH
8074do
8075  IFS=$as_save_IFS
8076  test -z "$as_dir" && as_dir=.
8077    for ac_exec_ext in '' $ac_executable_extensions; do
8078  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8080    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081    break 2
8082  fi
8083done
8084  done
8085IFS=$as_save_IFS
8086
8087fi
8088fi
8089MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8090if test -n "$MANIFEST_TOOL"; then
8091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8092$as_echo "$MANIFEST_TOOL" >&6; }
8093else
8094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095$as_echo "no" >&6; }
8096fi
8097
8098
8099fi
8100if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8101  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8102  # Extract the first word of "mt", so it can be a program name with args.
8103set dummy mt; ac_word=$2
8104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8105$as_echo_n "checking for $ac_word... " >&6; }
8106if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8107  $as_echo_n "(cached) " >&6
8108else
8109  if test -n "$ac_ct_MANIFEST_TOOL"; then
8110  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8111else
8112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113for as_dir in $PATH
8114do
8115  IFS=$as_save_IFS
8116  test -z "$as_dir" && as_dir=.
8117    for ac_exec_ext in '' $ac_executable_extensions; do
8118  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8119    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8120    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8121    break 2
8122  fi
8123done
8124  done
8125IFS=$as_save_IFS
8126
8127fi
8128fi
8129ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8130if test -n "$ac_ct_MANIFEST_TOOL"; then
8131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8132$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8133else
8134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135$as_echo "no" >&6; }
8136fi
8137
8138  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8139    MANIFEST_TOOL=":"
8140  else
8141    case $cross_compiling:$ac_tool_warned in
8142yes:)
8143{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8144$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8145ac_tool_warned=yes ;;
8146esac
8147    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8148  fi
8149else
8150  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8151fi
8152
8153test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8155$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8156if ${lt_cv_path_mainfest_tool+:} false; then :
8157  $as_echo_n "(cached) " >&6
8158else
8159  lt_cv_path_mainfest_tool=no
8160  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8161  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8162  cat conftest.err >&5
8163  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8164    lt_cv_path_mainfest_tool=yes
8165  fi
8166  rm -f conftest*
8167fi
8168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8169$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8170if test yes != "$lt_cv_path_mainfest_tool"; then
8171  MANIFEST_TOOL=:
8172fi
8173
8174
8175
8176
8177
8178
8179  case $host_os in
8180    rhapsody* | darwin*)
8181    if test -n "$ac_tool_prefix"; then
8182  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8183set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8185$as_echo_n "checking for $ac_word... " >&6; }
8186if ${ac_cv_prog_DSYMUTIL+:} false; then :
8187  $as_echo_n "(cached) " >&6
8188else
8189  if test -n "$DSYMUTIL"; then
8190  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8191else
8192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193for as_dir in $PATH
8194do
8195  IFS=$as_save_IFS
8196  test -z "$as_dir" && as_dir=.
8197    for ac_exec_ext in '' $ac_executable_extensions; do
8198  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8199    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8201    break 2
8202  fi
8203done
8204  done
8205IFS=$as_save_IFS
8206
8207fi
8208fi
8209DSYMUTIL=$ac_cv_prog_DSYMUTIL
8210if test -n "$DSYMUTIL"; then
8211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8212$as_echo "$DSYMUTIL" >&6; }
8213else
8214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215$as_echo "no" >&6; }
8216fi
8217
8218
8219fi
8220if test -z "$ac_cv_prog_DSYMUTIL"; then
8221  ac_ct_DSYMUTIL=$DSYMUTIL
8222  # Extract the first word of "dsymutil", so it can be a program name with args.
8223set dummy dsymutil; ac_word=$2
8224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8225$as_echo_n "checking for $ac_word... " >&6; }
8226if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8227  $as_echo_n "(cached) " >&6
8228else
8229  if test -n "$ac_ct_DSYMUTIL"; then
8230  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8231else
8232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8233for as_dir in $PATH
8234do
8235  IFS=$as_save_IFS
8236  test -z "$as_dir" && as_dir=.
8237    for ac_exec_ext in '' $ac_executable_extensions; do
8238  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8239    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8241    break 2
8242  fi
8243done
8244  done
8245IFS=$as_save_IFS
8246
8247fi
8248fi
8249ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8250if test -n "$ac_ct_DSYMUTIL"; then
8251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8252$as_echo "$ac_ct_DSYMUTIL" >&6; }
8253else
8254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255$as_echo "no" >&6; }
8256fi
8257
8258  if test "x$ac_ct_DSYMUTIL" = x; then
8259    DSYMUTIL=":"
8260  else
8261    case $cross_compiling:$ac_tool_warned in
8262yes:)
8263{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8264$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8265ac_tool_warned=yes ;;
8266esac
8267    DSYMUTIL=$ac_ct_DSYMUTIL
8268  fi
8269else
8270  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8271fi
8272
8273    if test -n "$ac_tool_prefix"; then
8274  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8275set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8277$as_echo_n "checking for $ac_word... " >&6; }
8278if ${ac_cv_prog_NMEDIT+:} false; then :
8279  $as_echo_n "(cached) " >&6
8280else
8281  if test -n "$NMEDIT"; then
8282  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8283else
8284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285for as_dir in $PATH
8286do
8287  IFS=$as_save_IFS
8288  test -z "$as_dir" && as_dir=.
8289    for ac_exec_ext in '' $ac_executable_extensions; do
8290  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8291    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8292    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8293    break 2
8294  fi
8295done
8296  done
8297IFS=$as_save_IFS
8298
8299fi
8300fi
8301NMEDIT=$ac_cv_prog_NMEDIT
8302if test -n "$NMEDIT"; then
8303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8304$as_echo "$NMEDIT" >&6; }
8305else
8306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307$as_echo "no" >&6; }
8308fi
8309
8310
8311fi
8312if test -z "$ac_cv_prog_NMEDIT"; then
8313  ac_ct_NMEDIT=$NMEDIT
8314  # Extract the first word of "nmedit", so it can be a program name with args.
8315set dummy nmedit; ac_word=$2
8316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317$as_echo_n "checking for $ac_word... " >&6; }
8318if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8319  $as_echo_n "(cached) " >&6
8320else
8321  if test -n "$ac_ct_NMEDIT"; then
8322  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8323else
8324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325for as_dir in $PATH
8326do
8327  IFS=$as_save_IFS
8328  test -z "$as_dir" && as_dir=.
8329    for ac_exec_ext in '' $ac_executable_extensions; do
8330  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8332    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8333    break 2
8334  fi
8335done
8336  done
8337IFS=$as_save_IFS
8338
8339fi
8340fi
8341ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8342if test -n "$ac_ct_NMEDIT"; then
8343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8344$as_echo "$ac_ct_NMEDIT" >&6; }
8345else
8346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347$as_echo "no" >&6; }
8348fi
8349
8350  if test "x$ac_ct_NMEDIT" = x; then
8351    NMEDIT=":"
8352  else
8353    case $cross_compiling:$ac_tool_warned in
8354yes:)
8355{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8356$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8357ac_tool_warned=yes ;;
8358esac
8359    NMEDIT=$ac_ct_NMEDIT
8360  fi
8361else
8362  NMEDIT="$ac_cv_prog_NMEDIT"
8363fi
8364
8365    if test -n "$ac_tool_prefix"; then
8366  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8367set dummy ${ac_tool_prefix}lipo; ac_word=$2
8368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8369$as_echo_n "checking for $ac_word... " >&6; }
8370if ${ac_cv_prog_LIPO+:} false; then :
8371  $as_echo_n "(cached) " >&6
8372else
8373  if test -n "$LIPO"; then
8374  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8375else
8376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8377for as_dir in $PATH
8378do
8379  IFS=$as_save_IFS
8380  test -z "$as_dir" && as_dir=.
8381    for ac_exec_ext in '' $ac_executable_extensions; do
8382  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8383    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8384    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8385    break 2
8386  fi
8387done
8388  done
8389IFS=$as_save_IFS
8390
8391fi
8392fi
8393LIPO=$ac_cv_prog_LIPO
8394if test -n "$LIPO"; then
8395  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8396$as_echo "$LIPO" >&6; }
8397else
8398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399$as_echo "no" >&6; }
8400fi
8401
8402
8403fi
8404if test -z "$ac_cv_prog_LIPO"; then
8405  ac_ct_LIPO=$LIPO
8406  # Extract the first word of "lipo", so it can be a program name with args.
8407set dummy lipo; ac_word=$2
8408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8409$as_echo_n "checking for $ac_word... " >&6; }
8410if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8411  $as_echo_n "(cached) " >&6
8412else
8413  if test -n "$ac_ct_LIPO"; then
8414  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8415else
8416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8417for as_dir in $PATH
8418do
8419  IFS=$as_save_IFS
8420  test -z "$as_dir" && as_dir=.
8421    for ac_exec_ext in '' $ac_executable_extensions; do
8422  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8423    ac_cv_prog_ac_ct_LIPO="lipo"
8424    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8425    break 2
8426  fi
8427done
8428  done
8429IFS=$as_save_IFS
8430
8431fi
8432fi
8433ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8434if test -n "$ac_ct_LIPO"; then
8435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8436$as_echo "$ac_ct_LIPO" >&6; }
8437else
8438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8439$as_echo "no" >&6; }
8440fi
8441
8442  if test "x$ac_ct_LIPO" = x; then
8443    LIPO=":"
8444  else
8445    case $cross_compiling:$ac_tool_warned in
8446yes:)
8447{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8448$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8449ac_tool_warned=yes ;;
8450esac
8451    LIPO=$ac_ct_LIPO
8452  fi
8453else
8454  LIPO="$ac_cv_prog_LIPO"
8455fi
8456
8457    if test -n "$ac_tool_prefix"; then
8458  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8459set dummy ${ac_tool_prefix}otool; ac_word=$2
8460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8461$as_echo_n "checking for $ac_word... " >&6; }
8462if ${ac_cv_prog_OTOOL+:} false; then :
8463  $as_echo_n "(cached) " >&6
8464else
8465  if test -n "$OTOOL"; then
8466  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8467else
8468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469for as_dir in $PATH
8470do
8471  IFS=$as_save_IFS
8472  test -z "$as_dir" && as_dir=.
8473    for ac_exec_ext in '' $ac_executable_extensions; do
8474  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8475    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8476    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8477    break 2
8478  fi
8479done
8480  done
8481IFS=$as_save_IFS
8482
8483fi
8484fi
8485OTOOL=$ac_cv_prog_OTOOL
8486if test -n "$OTOOL"; then
8487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8488$as_echo "$OTOOL" >&6; }
8489else
8490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8491$as_echo "no" >&6; }
8492fi
8493
8494
8495fi
8496if test -z "$ac_cv_prog_OTOOL"; then
8497  ac_ct_OTOOL=$OTOOL
8498  # Extract the first word of "otool", so it can be a program name with args.
8499set dummy otool; ac_word=$2
8500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8501$as_echo_n "checking for $ac_word... " >&6; }
8502if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8503  $as_echo_n "(cached) " >&6
8504else
8505  if test -n "$ac_ct_OTOOL"; then
8506  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8507else
8508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8509for as_dir in $PATH
8510do
8511  IFS=$as_save_IFS
8512  test -z "$as_dir" && as_dir=.
8513    for ac_exec_ext in '' $ac_executable_extensions; do
8514  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8515    ac_cv_prog_ac_ct_OTOOL="otool"
8516    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8517    break 2
8518  fi
8519done
8520  done
8521IFS=$as_save_IFS
8522
8523fi
8524fi
8525ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8526if test -n "$ac_ct_OTOOL"; then
8527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8528$as_echo "$ac_ct_OTOOL" >&6; }
8529else
8530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8531$as_echo "no" >&6; }
8532fi
8533
8534  if test "x$ac_ct_OTOOL" = x; then
8535    OTOOL=":"
8536  else
8537    case $cross_compiling:$ac_tool_warned in
8538yes:)
8539{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8540$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8541ac_tool_warned=yes ;;
8542esac
8543    OTOOL=$ac_ct_OTOOL
8544  fi
8545else
8546  OTOOL="$ac_cv_prog_OTOOL"
8547fi
8548
8549    if test -n "$ac_tool_prefix"; then
8550  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8551set dummy ${ac_tool_prefix}otool64; ac_word=$2
8552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8553$as_echo_n "checking for $ac_word... " >&6; }
8554if ${ac_cv_prog_OTOOL64+:} false; then :
8555  $as_echo_n "(cached) " >&6
8556else
8557  if test -n "$OTOOL64"; then
8558  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8559else
8560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8561for as_dir in $PATH
8562do
8563  IFS=$as_save_IFS
8564  test -z "$as_dir" && as_dir=.
8565    for ac_exec_ext in '' $ac_executable_extensions; do
8566  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8567    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8568    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8569    break 2
8570  fi
8571done
8572  done
8573IFS=$as_save_IFS
8574
8575fi
8576fi
8577OTOOL64=$ac_cv_prog_OTOOL64
8578if test -n "$OTOOL64"; then
8579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8580$as_echo "$OTOOL64" >&6; }
8581else
8582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8583$as_echo "no" >&6; }
8584fi
8585
8586
8587fi
8588if test -z "$ac_cv_prog_OTOOL64"; then
8589  ac_ct_OTOOL64=$OTOOL64
8590  # Extract the first word of "otool64", so it can be a program name with args.
8591set dummy otool64; ac_word=$2
8592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8593$as_echo_n "checking for $ac_word... " >&6; }
8594if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8595  $as_echo_n "(cached) " >&6
8596else
8597  if test -n "$ac_ct_OTOOL64"; then
8598  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8599else
8600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8601for as_dir in $PATH
8602do
8603  IFS=$as_save_IFS
8604  test -z "$as_dir" && as_dir=.
8605    for ac_exec_ext in '' $ac_executable_extensions; do
8606  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8607    ac_cv_prog_ac_ct_OTOOL64="otool64"
8608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8609    break 2
8610  fi
8611done
8612  done
8613IFS=$as_save_IFS
8614
8615fi
8616fi
8617ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8618if test -n "$ac_ct_OTOOL64"; then
8619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8620$as_echo "$ac_ct_OTOOL64" >&6; }
8621else
8622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8623$as_echo "no" >&6; }
8624fi
8625
8626  if test "x$ac_ct_OTOOL64" = x; then
8627    OTOOL64=":"
8628  else
8629    case $cross_compiling:$ac_tool_warned in
8630yes:)
8631{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8632$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8633ac_tool_warned=yes ;;
8634esac
8635    OTOOL64=$ac_ct_OTOOL64
8636  fi
8637else
8638  OTOOL64="$ac_cv_prog_OTOOL64"
8639fi
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8668$as_echo_n "checking for -single_module linker flag... " >&6; }
8669if ${lt_cv_apple_cc_single_mod+:} false; then :
8670  $as_echo_n "(cached) " >&6
8671else
8672  lt_cv_apple_cc_single_mod=no
8673      if test -z "$LT_MULTI_MODULE"; then
8674	# By default we will add the -single_module flag. You can override
8675	# by either setting the environment variable LT_MULTI_MODULE
8676	# non-empty at configure time, or by adding -multi_module to the
8677	# link flags.
8678	rm -rf libconftest.dylib*
8679	echo "int foo(void){return 1;}" > conftest.c
8680	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8681-dynamiclib -Wl,-single_module conftest.c" >&5
8682	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8683	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8684        _lt_result=$?
8685	# If there is a non-empty error log, and "single_module"
8686	# appears in it, assume the flag caused a linker warning
8687        if test -s conftest.err && $GREP single_module conftest.err; then
8688	  cat conftest.err >&5
8689	# Otherwise, if the output was created with a 0 exit code from
8690	# the compiler, it worked.
8691	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8692	  lt_cv_apple_cc_single_mod=yes
8693	else
8694	  cat conftest.err >&5
8695	fi
8696	rm -rf libconftest.dylib*
8697	rm -f conftest.*
8698      fi
8699fi
8700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8701$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8702
8703    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8704$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8705if ${lt_cv_ld_exported_symbols_list+:} false; then :
8706  $as_echo_n "(cached) " >&6
8707else
8708  lt_cv_ld_exported_symbols_list=no
8709      save_LDFLAGS=$LDFLAGS
8710      echo "_main" > conftest.sym
8711      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713/* end confdefs.h.  */
8714
8715int
8716main ()
8717{
8718
8719  ;
8720  return 0;
8721}
8722_ACEOF
8723if ac_fn_c_try_link "$LINENO"; then :
8724  lt_cv_ld_exported_symbols_list=yes
8725else
8726  lt_cv_ld_exported_symbols_list=no
8727fi
8728rm -f core conftest.err conftest.$ac_objext \
8729    conftest$ac_exeext conftest.$ac_ext
8730	LDFLAGS=$save_LDFLAGS
8731
8732fi
8733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8734$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8735
8736    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8737$as_echo_n "checking for -force_load linker flag... " >&6; }
8738if ${lt_cv_ld_force_load+:} false; then :
8739  $as_echo_n "(cached) " >&6
8740else
8741  lt_cv_ld_force_load=no
8742      cat > conftest.c << _LT_EOF
8743int forced_loaded() { return 2;}
8744_LT_EOF
8745      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8746      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8747      echo "$AR cru libconftest.a conftest.o" >&5
8748      $AR cru libconftest.a conftest.o 2>&5
8749      echo "$RANLIB libconftest.a" >&5
8750      $RANLIB libconftest.a 2>&5
8751      cat > conftest.c << _LT_EOF
8752int main() { return 0;}
8753_LT_EOF
8754      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8755      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8756      _lt_result=$?
8757      if test -s conftest.err && $GREP force_load conftest.err; then
8758	cat conftest.err >&5
8759      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8760	lt_cv_ld_force_load=yes
8761      else
8762	cat conftest.err >&5
8763      fi
8764        rm -f conftest.err libconftest.a conftest conftest.c
8765        rm -rf conftest.dSYM
8766
8767fi
8768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8769$as_echo "$lt_cv_ld_force_load" >&6; }
8770    case $host_os in
8771    rhapsody* | darwin1.[012])
8772      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8773    darwin1.*)
8774      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8775    darwin*) # darwin 5.x on
8776      # if running on 10.5 or later, the deployment target defaults
8777      # to the OS version, if on x86, and 10.4, the deployment
8778      # target defaults to 10.4. Don't you love it?
8779      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8780	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8781	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8782	10.[012][,.]*)
8783	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8784	10.*)
8785	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8786      esac
8787    ;;
8788  esac
8789    if test yes = "$lt_cv_apple_cc_single_mod"; then
8790      _lt_dar_single_mod='$single_module'
8791    fi
8792    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8793      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8794    else
8795      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8796    fi
8797    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8798      _lt_dsymutil='~$DSYMUTIL $lib || :'
8799    else
8800      _lt_dsymutil=
8801    fi
8802    ;;
8803  esac
8804
8805# func_munge_path_list VARIABLE PATH
8806# -----------------------------------
8807# VARIABLE is name of variable containing _space_ separated list of
8808# directories to be munged by the contents of PATH, which is string
8809# having a format:
8810# "DIR[:DIR]:"
8811#       string "DIR[ DIR]" will be prepended to VARIABLE
8812# ":DIR[:DIR]"
8813#       string "DIR[ DIR]" will be appended to VARIABLE
8814# "DIRP[:DIRP]::[DIRA:]DIRA"
8815#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8816#       "DIRA[ DIRA]" will be appended to VARIABLE
8817# "DIR[:DIR]"
8818#       VARIABLE will be replaced by "DIR[ DIR]"
8819func_munge_path_list ()
8820{
8821    case x$2 in
8822    x)
8823        ;;
8824    *:)
8825        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8826        ;;
8827    x:*)
8828        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8829        ;;
8830    *::*)
8831        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8832        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8833        ;;
8834    *)
8835        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8836        ;;
8837    esac
8838}
8839
8840ac_ext=c
8841ac_cpp='$CPP $CPPFLAGS'
8842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8844ac_compiler_gnu=$ac_cv_c_compiler_gnu
8845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8846$as_echo_n "checking how to run the C preprocessor... " >&6; }
8847# On Suns, sometimes $CPP names a directory.
8848if test -n "$CPP" && test -d "$CPP"; then
8849  CPP=
8850fi
8851if test -z "$CPP"; then
8852  if ${ac_cv_prog_CPP+:} false; then :
8853  $as_echo_n "(cached) " >&6
8854else
8855      # Double quotes because CPP needs to be expanded
8856    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8857    do
8858      ac_preproc_ok=false
8859for ac_c_preproc_warn_flag in '' yes
8860do
8861  # Use a header file that comes with gcc, so configuring glibc
8862  # with a fresh cross-compiler works.
8863  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8864  # <limits.h> exists even on freestanding compilers.
8865  # On the NeXT, cc -E runs the code through the compiler's parser,
8866  # not just through cpp. "Syntax error" is here to catch this case.
8867  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868/* end confdefs.h.  */
8869#ifdef __STDC__
8870# include <limits.h>
8871#else
8872# include <assert.h>
8873#endif
8874		     Syntax error
8875_ACEOF
8876if ac_fn_c_try_cpp "$LINENO"; then :
8877
8878else
8879  # Broken: fails on valid input.
8880continue
8881fi
8882rm -f conftest.err conftest.i conftest.$ac_ext
8883
8884  # OK, works on sane cases.  Now check whether nonexistent headers
8885  # can be detected and how.
8886  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887/* end confdefs.h.  */
8888#include <ac_nonexistent.h>
8889_ACEOF
8890if ac_fn_c_try_cpp "$LINENO"; then :
8891  # Broken: success on invalid input.
8892continue
8893else
8894  # Passes both tests.
8895ac_preproc_ok=:
8896break
8897fi
8898rm -f conftest.err conftest.i conftest.$ac_ext
8899
8900done
8901# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8902rm -f conftest.i conftest.err conftest.$ac_ext
8903if $ac_preproc_ok; then :
8904  break
8905fi
8906
8907    done
8908    ac_cv_prog_CPP=$CPP
8909
8910fi
8911  CPP=$ac_cv_prog_CPP
8912else
8913  ac_cv_prog_CPP=$CPP
8914fi
8915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8916$as_echo "$CPP" >&6; }
8917ac_preproc_ok=false
8918for ac_c_preproc_warn_flag in '' yes
8919do
8920  # Use a header file that comes with gcc, so configuring glibc
8921  # with a fresh cross-compiler works.
8922  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8923  # <limits.h> exists even on freestanding compilers.
8924  # On the NeXT, cc -E runs the code through the compiler's parser,
8925  # not just through cpp. "Syntax error" is here to catch this case.
8926  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927/* end confdefs.h.  */
8928#ifdef __STDC__
8929# include <limits.h>
8930#else
8931# include <assert.h>
8932#endif
8933		     Syntax error
8934_ACEOF
8935if ac_fn_c_try_cpp "$LINENO"; then :
8936
8937else
8938  # Broken: fails on valid input.
8939continue
8940fi
8941rm -f conftest.err conftest.i conftest.$ac_ext
8942
8943  # OK, works on sane cases.  Now check whether nonexistent headers
8944  # can be detected and how.
8945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946/* end confdefs.h.  */
8947#include <ac_nonexistent.h>
8948_ACEOF
8949if ac_fn_c_try_cpp "$LINENO"; then :
8950  # Broken: success on invalid input.
8951continue
8952else
8953  # Passes both tests.
8954ac_preproc_ok=:
8955break
8956fi
8957rm -f conftest.err conftest.i conftest.$ac_ext
8958
8959done
8960# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8961rm -f conftest.i conftest.err conftest.$ac_ext
8962if $ac_preproc_ok; then :
8963
8964else
8965  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8966$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8967as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8968See \`config.log' for more details" "$LINENO" 5; }
8969fi
8970
8971ac_ext=c
8972ac_cpp='$CPP $CPPFLAGS'
8973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8975ac_compiler_gnu=$ac_cv_c_compiler_gnu
8976
8977
8978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8979$as_echo_n "checking for ANSI C header files... " >&6; }
8980if ${ac_cv_header_stdc+:} false; then :
8981  $as_echo_n "(cached) " >&6
8982else
8983  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984/* end confdefs.h.  */
8985#include <stdlib.h>
8986#include <stdarg.h>
8987#include <string.h>
8988#include <float.h>
8989
8990int
8991main ()
8992{
8993
8994  ;
8995  return 0;
8996}
8997_ACEOF
8998if ac_fn_c_try_compile "$LINENO"; then :
8999  ac_cv_header_stdc=yes
9000else
9001  ac_cv_header_stdc=no
9002fi
9003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9004
9005if test $ac_cv_header_stdc = yes; then
9006  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9007  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9008/* end confdefs.h.  */
9009#include <string.h>
9010
9011_ACEOF
9012if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9013  $EGREP "memchr" >/dev/null 2>&1; then :
9014
9015else
9016  ac_cv_header_stdc=no
9017fi
9018rm -f conftest*
9019
9020fi
9021
9022if test $ac_cv_header_stdc = yes; then
9023  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9024  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9025/* end confdefs.h.  */
9026#include <stdlib.h>
9027
9028_ACEOF
9029if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9030  $EGREP "free" >/dev/null 2>&1; then :
9031
9032else
9033  ac_cv_header_stdc=no
9034fi
9035rm -f conftest*
9036
9037fi
9038
9039if test $ac_cv_header_stdc = yes; then
9040  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9041  if test "$cross_compiling" = yes; then :
9042  :
9043else
9044  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045/* end confdefs.h.  */
9046#include <ctype.h>
9047#include <stdlib.h>
9048#if ((' ' & 0x0FF) == 0x020)
9049# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9050# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9051#else
9052# define ISLOWER(c) \
9053		   (('a' <= (c) && (c) <= 'i') \
9054		     || ('j' <= (c) && (c) <= 'r') \
9055		     || ('s' <= (c) && (c) <= 'z'))
9056# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9057#endif
9058
9059#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9060int
9061main ()
9062{
9063  int i;
9064  for (i = 0; i < 256; i++)
9065    if (XOR (islower (i), ISLOWER (i))
9066	|| toupper (i) != TOUPPER (i))
9067      return 2;
9068  return 0;
9069}
9070_ACEOF
9071if ac_fn_c_try_run "$LINENO"; then :
9072
9073else
9074  ac_cv_header_stdc=no
9075fi
9076rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9077  conftest.$ac_objext conftest.beam conftest.$ac_ext
9078fi
9079
9080fi
9081fi
9082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9083$as_echo "$ac_cv_header_stdc" >&6; }
9084if test $ac_cv_header_stdc = yes; then
9085
9086$as_echo "#define STDC_HEADERS 1" >>confdefs.h
9087
9088fi
9089
9090# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9091for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9092		  inttypes.h stdint.h unistd.h
9093do :
9094  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9095ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9096"
9097if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9098  cat >>confdefs.h <<_ACEOF
9099#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9100_ACEOF
9101
9102fi
9103
9104done
9105
9106
9107for ac_header in dlfcn.h
9108do :
9109  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9110"
9111if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9112  cat >>confdefs.h <<_ACEOF
9113#define HAVE_DLFCN_H 1
9114_ACEOF
9115
9116fi
9117
9118done
9119
9120
9121
9122
9123func_stripname_cnf ()
9124{
9125  case $2 in
9126  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9127  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9128  esac
9129} # func_stripname_cnf
9130
9131
9132
9133
9134
9135# Set options
9136
9137
9138
9139        enable_dlopen=no
9140
9141
9142
9143            # Check whether --enable-shared was given.
9144if test "${enable_shared+set}" = set; then :
9145  enableval=$enable_shared; p=${PACKAGE-default}
9146    case $enableval in
9147    yes) enable_shared=yes ;;
9148    no) enable_shared=no ;;
9149    *)
9150      enable_shared=no
9151      # Look at the argument we got.  We use all the common list separators.
9152      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9153      for pkg in $enableval; do
9154	IFS=$lt_save_ifs
9155	if test "X$pkg" = "X$p"; then
9156	  enable_shared=yes
9157	fi
9158      done
9159      IFS=$lt_save_ifs
9160      ;;
9161    esac
9162else
9163  enable_shared=yes
9164fi
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174  # Check whether --enable-static was given.
9175if test "${enable_static+set}" = set; then :
9176  enableval=$enable_static; p=${PACKAGE-default}
9177    case $enableval in
9178    yes) enable_static=yes ;;
9179    no) enable_static=no ;;
9180    *)
9181     enable_static=no
9182      # Look at the argument we got.  We use all the common list separators.
9183      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9184      for pkg in $enableval; do
9185	IFS=$lt_save_ifs
9186	if test "X$pkg" = "X$p"; then
9187	  enable_static=yes
9188	fi
9189      done
9190      IFS=$lt_save_ifs
9191      ;;
9192    esac
9193else
9194  enable_static=yes
9195fi
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206# Check whether --with-pic was given.
9207if test "${with_pic+set}" = set; then :
9208  withval=$with_pic; lt_p=${PACKAGE-default}
9209    case $withval in
9210    yes|no) pic_mode=$withval ;;
9211    *)
9212      pic_mode=default
9213      # Look at the argument we got.  We use all the common list separators.
9214      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9215      for lt_pkg in $withval; do
9216	IFS=$lt_save_ifs
9217	if test "X$lt_pkg" = "X$lt_p"; then
9218	  pic_mode=yes
9219	fi
9220      done
9221      IFS=$lt_save_ifs
9222      ;;
9223    esac
9224else
9225  pic_mode=default
9226fi
9227
9228
9229
9230
9231
9232
9233
9234
9235  # Check whether --enable-fast-install was given.
9236if test "${enable_fast_install+set}" = set; then :
9237  enableval=$enable_fast_install; p=${PACKAGE-default}
9238    case $enableval in
9239    yes) enable_fast_install=yes ;;
9240    no) enable_fast_install=no ;;
9241    *)
9242      enable_fast_install=no
9243      # Look at the argument we got.  We use all the common list separators.
9244      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9245      for pkg in $enableval; do
9246	IFS=$lt_save_ifs
9247	if test "X$pkg" = "X$p"; then
9248	  enable_fast_install=yes
9249	fi
9250      done
9251      IFS=$lt_save_ifs
9252      ;;
9253    esac
9254else
9255  enable_fast_install=yes
9256fi
9257
9258
9259
9260
9261
9262
9263
9264
9265  shared_archive_member_spec=
9266case $host,$enable_shared in
9267power*-*-aix[5-9]*,yes)
9268  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9269$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9270
9271# Check whether --with-aix-soname was given.
9272if test "${with_aix_soname+set}" = set; then :
9273  withval=$with_aix_soname; case $withval in
9274    aix|svr4|both)
9275      ;;
9276    *)
9277      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9278      ;;
9279    esac
9280    lt_cv_with_aix_soname=$with_aix_soname
9281else
9282  if ${lt_cv_with_aix_soname+:} false; then :
9283  $as_echo_n "(cached) " >&6
9284else
9285  lt_cv_with_aix_soname=aix
9286fi
9287
9288    with_aix_soname=$lt_cv_with_aix_soname
9289fi
9290
9291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9292$as_echo "$with_aix_soname" >&6; }
9293  if test aix != "$with_aix_soname"; then
9294    # For the AIX way of multilib, we name the shared archive member
9295    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9296    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9297    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9298    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9299    if test 64 = "${OBJECT_MODE-32}"; then
9300      shared_archive_member_spec=shr_64
9301    else
9302      shared_archive_member_spec=shr
9303    fi
9304  fi
9305  ;;
9306*)
9307  with_aix_soname=aix
9308  ;;
9309esac
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320# This can be used to rebuild libtool when needed
9321LIBTOOL_DEPS=$ltmain
9322
9323# Always use our own libtool.
9324LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355test -z "$LN_S" && LN_S="ln -s"
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370if test -n "${ZSH_VERSION+set}"; then
9371   setopt NO_GLOB_SUBST
9372fi
9373
9374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9375$as_echo_n "checking for objdir... " >&6; }
9376if ${lt_cv_objdir+:} false; then :
9377  $as_echo_n "(cached) " >&6
9378else
9379  rm -f .libs 2>/dev/null
9380mkdir .libs 2>/dev/null
9381if test -d .libs; then
9382  lt_cv_objdir=.libs
9383else
9384  # MS-DOS does not allow filenames that begin with a dot.
9385  lt_cv_objdir=_libs
9386fi
9387rmdir .libs 2>/dev/null
9388fi
9389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9390$as_echo "$lt_cv_objdir" >&6; }
9391objdir=$lt_cv_objdir
9392
9393
9394
9395
9396
9397cat >>confdefs.h <<_ACEOF
9398#define LT_OBJDIR "$lt_cv_objdir/"
9399_ACEOF
9400
9401
9402
9403
9404case $host_os in
9405aix3*)
9406  # AIX sometimes has problems with the GCC collect2 program.  For some
9407  # reason, if we set the COLLECT_NAMES environment variable, the problems
9408  # vanish in a puff of smoke.
9409  if test set != "${COLLECT_NAMES+set}"; then
9410    COLLECT_NAMES=
9411    export COLLECT_NAMES
9412  fi
9413  ;;
9414esac
9415
9416# Global variables:
9417ofile=libtool
9418can_build_shared=yes
9419
9420# All known linkers require a '.a' archive for static linking (except MSVC,
9421# which needs '.lib').
9422libext=a
9423
9424with_gnu_ld=$lt_cv_prog_gnu_ld
9425
9426old_CC=$CC
9427old_CFLAGS=$CFLAGS
9428
9429# Set sane defaults for various variables
9430test -z "$CC" && CC=cc
9431test -z "$LTCC" && LTCC=$CC
9432test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9433test -z "$LD" && LD=ld
9434test -z "$ac_objext" && ac_objext=o
9435
9436func_cc_basename $compiler
9437cc_basename=$func_cc_basename_result
9438
9439
9440# Only perform the check for file, if the check method requires it
9441test -z "$MAGIC_CMD" && MAGIC_CMD=file
9442case $deplibs_check_method in
9443file_magic*)
9444  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9445    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9446$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9447if ${lt_cv_path_MAGIC_CMD+:} false; then :
9448  $as_echo_n "(cached) " >&6
9449else
9450  case $MAGIC_CMD in
9451[\\/*] |  ?:[\\/]*)
9452  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9453  ;;
9454*)
9455  lt_save_MAGIC_CMD=$MAGIC_CMD
9456  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9457  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9458  for ac_dir in $ac_dummy; do
9459    IFS=$lt_save_ifs
9460    test -z "$ac_dir" && ac_dir=.
9461    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9462      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9463      if test -n "$file_magic_test_file"; then
9464	case $deplibs_check_method in
9465	"file_magic "*)
9466	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9467	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9468	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9469	    $EGREP "$file_magic_regex" > /dev/null; then
9470	    :
9471	  else
9472	    cat <<_LT_EOF 1>&2
9473
9474*** Warning: the command libtool uses to detect shared libraries,
9475*** $file_magic_cmd, produces output that libtool cannot recognize.
9476*** The result is that libtool may fail to recognize shared libraries
9477*** as such.  This will affect the creation of libtool libraries that
9478*** depend on shared libraries, but programs linked with such libtool
9479*** libraries will work regardless of this problem.  Nevertheless, you
9480*** may want to report the problem to your system manager and/or to
9481*** bug-libtool@gnu.org
9482
9483_LT_EOF
9484	  fi ;;
9485	esac
9486      fi
9487      break
9488    fi
9489  done
9490  IFS=$lt_save_ifs
9491  MAGIC_CMD=$lt_save_MAGIC_CMD
9492  ;;
9493esac
9494fi
9495
9496MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9497if test -n "$MAGIC_CMD"; then
9498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9499$as_echo "$MAGIC_CMD" >&6; }
9500else
9501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9502$as_echo "no" >&6; }
9503fi
9504
9505
9506
9507
9508
9509if test -z "$lt_cv_path_MAGIC_CMD"; then
9510  if test -n "$ac_tool_prefix"; then
9511    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9512$as_echo_n "checking for file... " >&6; }
9513if ${lt_cv_path_MAGIC_CMD+:} false; then :
9514  $as_echo_n "(cached) " >&6
9515else
9516  case $MAGIC_CMD in
9517[\\/*] |  ?:[\\/]*)
9518  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9519  ;;
9520*)
9521  lt_save_MAGIC_CMD=$MAGIC_CMD
9522  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9523  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9524  for ac_dir in $ac_dummy; do
9525    IFS=$lt_save_ifs
9526    test -z "$ac_dir" && ac_dir=.
9527    if test -f "$ac_dir/file"; then
9528      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9529      if test -n "$file_magic_test_file"; then
9530	case $deplibs_check_method in
9531	"file_magic "*)
9532	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9533	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9534	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9535	    $EGREP "$file_magic_regex" > /dev/null; then
9536	    :
9537	  else
9538	    cat <<_LT_EOF 1>&2
9539
9540*** Warning: the command libtool uses to detect shared libraries,
9541*** $file_magic_cmd, produces output that libtool cannot recognize.
9542*** The result is that libtool may fail to recognize shared libraries
9543*** as such.  This will affect the creation of libtool libraries that
9544*** depend on shared libraries, but programs linked with such libtool
9545*** libraries will work regardless of this problem.  Nevertheless, you
9546*** may want to report the problem to your system manager and/or to
9547*** bug-libtool@gnu.org
9548
9549_LT_EOF
9550	  fi ;;
9551	esac
9552      fi
9553      break
9554    fi
9555  done
9556  IFS=$lt_save_ifs
9557  MAGIC_CMD=$lt_save_MAGIC_CMD
9558  ;;
9559esac
9560fi
9561
9562MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9563if test -n "$MAGIC_CMD"; then
9564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9565$as_echo "$MAGIC_CMD" >&6; }
9566else
9567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9568$as_echo "no" >&6; }
9569fi
9570
9571
9572  else
9573    MAGIC_CMD=:
9574  fi
9575fi
9576
9577  fi
9578  ;;
9579esac
9580
9581# Use C for the default configuration in the libtool script
9582
9583lt_save_CC=$CC
9584ac_ext=c
9585ac_cpp='$CPP $CPPFLAGS'
9586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9588ac_compiler_gnu=$ac_cv_c_compiler_gnu
9589
9590
9591# Source file extension for C test sources.
9592ac_ext=c
9593
9594# Object file extension for compiled C test sources.
9595objext=o
9596objext=$objext
9597
9598# Code to be used in simple compile tests
9599lt_simple_compile_test_code="int some_variable = 0;"
9600
9601# Code to be used in simple link tests
9602lt_simple_link_test_code='int main(){return(0);}'
9603
9604
9605
9606
9607
9608
9609
9610# If no C compiler was specified, use CC.
9611LTCC=${LTCC-"$CC"}
9612
9613# If no C compiler flags were specified, use CFLAGS.
9614LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9615
9616# Allow CC to be a program name with arguments.
9617compiler=$CC
9618
9619# Save the default compiler, since it gets overwritten when the other
9620# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9621compiler_DEFAULT=$CC
9622
9623# save warnings/boilerplate of simple test code
9624ac_outfile=conftest.$ac_objext
9625echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9626eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9627_lt_compiler_boilerplate=`cat conftest.err`
9628$RM conftest*
9629
9630ac_outfile=conftest.$ac_objext
9631echo "$lt_simple_link_test_code" >conftest.$ac_ext
9632eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9633_lt_linker_boilerplate=`cat conftest.err`
9634$RM -r conftest*
9635
9636
9637## CAVEAT EMPTOR:
9638## There is no encapsulation within the following macros, do not change
9639## the running order or otherwise move them around unless you know exactly
9640## what you are doing...
9641if test -n "$compiler"; then
9642
9643lt_prog_compiler_no_builtin_flag=
9644
9645if test yes = "$GCC"; then
9646  case $cc_basename in
9647  nvcc*)
9648    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9649  *)
9650    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9651  esac
9652
9653  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9654$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9655if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9656  $as_echo_n "(cached) " >&6
9657else
9658  lt_cv_prog_compiler_rtti_exceptions=no
9659   ac_outfile=conftest.$ac_objext
9660   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9661   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9662   # Insert the option either (1) after the last *FLAGS variable, or
9663   # (2) before a word containing "conftest.", or (3) at the end.
9664   # Note that $ac_compile itself does not contain backslashes and begins
9665   # with a dollar sign (not a hyphen), so the echo should work correctly.
9666   # The option is referenced via a variable to avoid confusing sed.
9667   lt_compile=`echo "$ac_compile" | $SED \
9668   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9669   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9670   -e 's:$: $lt_compiler_flag:'`
9671   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9672   (eval "$lt_compile" 2>conftest.err)
9673   ac_status=$?
9674   cat conftest.err >&5
9675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676   if (exit $ac_status) && test -s "$ac_outfile"; then
9677     # The compiler can only warn and ignore the option if not recognized
9678     # So say no if there are warnings other than the usual output.
9679     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9680     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9681     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9682       lt_cv_prog_compiler_rtti_exceptions=yes
9683     fi
9684   fi
9685   $RM conftest*
9686
9687fi
9688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9689$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9690
9691if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9692    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9693else
9694    :
9695fi
9696
9697fi
9698
9699
9700
9701
9702
9703
9704  lt_prog_compiler_wl=
9705lt_prog_compiler_pic=
9706lt_prog_compiler_static=
9707
9708
9709  if test yes = "$GCC"; then
9710    lt_prog_compiler_wl='-Wl,'
9711    lt_prog_compiler_static='-static'
9712
9713    case $host_os in
9714      aix*)
9715      # All AIX code is PIC.
9716      if test ia64 = "$host_cpu"; then
9717	# AIX 5 now supports IA64 processor
9718	lt_prog_compiler_static='-Bstatic'
9719      fi
9720      lt_prog_compiler_pic='-fPIC'
9721      ;;
9722
9723    amigaos*)
9724      case $host_cpu in
9725      powerpc)
9726            # see comment about AmigaOS4 .so support
9727            lt_prog_compiler_pic='-fPIC'
9728        ;;
9729      m68k)
9730            # FIXME: we need at least 68020 code to build shared libraries, but
9731            # adding the '-m68020' flag to GCC prevents building anything better,
9732            # like '-m68040'.
9733            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9734        ;;
9735      esac
9736      ;;
9737
9738    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9739      # PIC is the default for these OSes.
9740      ;;
9741
9742    mingw* | cygwin* | pw32* | os2* | cegcc*)
9743      # This hack is so that the source file can tell whether it is being
9744      # built for inclusion in a dll (and should export symbols for example).
9745      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9746      # (--disable-auto-import) libraries
9747      lt_prog_compiler_pic='-DDLL_EXPORT'
9748      case $host_os in
9749      os2*)
9750	lt_prog_compiler_static='$wl-static'
9751	;;
9752      esac
9753      ;;
9754
9755    darwin* | rhapsody*)
9756      # PIC is the default on this platform
9757      # Common symbols not allowed in MH_DYLIB files
9758      lt_prog_compiler_pic='-fno-common'
9759      ;;
9760
9761    haiku*)
9762      # PIC is the default for Haiku.
9763      # The "-static" flag exists, but is broken.
9764      lt_prog_compiler_static=
9765      ;;
9766
9767    hpux*)
9768      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9769      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9770      # sets the default TLS model and affects inlining.
9771      case $host_cpu in
9772      hppa*64*)
9773	# +Z the default
9774	;;
9775      *)
9776	lt_prog_compiler_pic='-fPIC'
9777	;;
9778      esac
9779      ;;
9780
9781    interix[3-9]*)
9782      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9783      # Instead, we relocate shared libraries at runtime.
9784      ;;
9785
9786    msdosdjgpp*)
9787      # Just because we use GCC doesn't mean we suddenly get shared libraries
9788      # on systems that don't support them.
9789      lt_prog_compiler_can_build_shared=no
9790      enable_shared=no
9791      ;;
9792
9793    *nto* | *qnx*)
9794      # QNX uses GNU C++, but need to define -shared option too, otherwise
9795      # it will coredump.
9796      lt_prog_compiler_pic='-fPIC -shared'
9797      ;;
9798
9799    sysv4*MP*)
9800      if test -d /usr/nec; then
9801	lt_prog_compiler_pic=-Kconform_pic
9802      fi
9803      ;;
9804
9805    *)
9806      lt_prog_compiler_pic='-fPIC'
9807      ;;
9808    esac
9809
9810    case $cc_basename in
9811    nvcc*) # Cuda Compiler Driver 2.2
9812      lt_prog_compiler_wl='-Xlinker '
9813      if test -n "$lt_prog_compiler_pic"; then
9814        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9815      fi
9816      ;;
9817    esac
9818  else
9819    # PORTME Check for flag to pass linker flags through the system compiler.
9820    case $host_os in
9821    aix*)
9822      lt_prog_compiler_wl='-Wl,'
9823      if test ia64 = "$host_cpu"; then
9824	# AIX 5 now supports IA64 processor
9825	lt_prog_compiler_static='-Bstatic'
9826      else
9827	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9828      fi
9829      ;;
9830
9831    darwin* | rhapsody*)
9832      # PIC is the default on this platform
9833      # Common symbols not allowed in MH_DYLIB files
9834      lt_prog_compiler_pic='-fno-common'
9835      case $cc_basename in
9836      nagfor*)
9837        # NAG Fortran compiler
9838        lt_prog_compiler_wl='-Wl,-Wl,,'
9839        lt_prog_compiler_pic='-PIC'
9840        lt_prog_compiler_static='-Bstatic'
9841        ;;
9842      esac
9843      ;;
9844
9845    mingw* | cygwin* | pw32* | os2* | cegcc*)
9846      # This hack is so that the source file can tell whether it is being
9847      # built for inclusion in a dll (and should export symbols for example).
9848      lt_prog_compiler_pic='-DDLL_EXPORT'
9849      case $host_os in
9850      os2*)
9851	lt_prog_compiler_static='$wl-static'
9852	;;
9853      esac
9854      ;;
9855
9856    hpux9* | hpux10* | hpux11*)
9857      lt_prog_compiler_wl='-Wl,'
9858      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9859      # not for PA HP-UX.
9860      case $host_cpu in
9861      hppa*64*|ia64*)
9862	# +Z the default
9863	;;
9864      *)
9865	lt_prog_compiler_pic='+Z'
9866	;;
9867      esac
9868      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9869      lt_prog_compiler_static='$wl-a ${wl}archive'
9870      ;;
9871
9872    irix5* | irix6* | nonstopux*)
9873      lt_prog_compiler_wl='-Wl,'
9874      # PIC (with -KPIC) is the default.
9875      lt_prog_compiler_static='-non_shared'
9876      ;;
9877
9878    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9879      case $cc_basename in
9880      # old Intel for x86_64, which still supported -KPIC.
9881      ecc*)
9882	lt_prog_compiler_wl='-Wl,'
9883	lt_prog_compiler_pic='-KPIC'
9884	lt_prog_compiler_static='-static'
9885        ;;
9886      # icc used to be incompatible with GCC.
9887      # ICC 10 doesn't accept -KPIC any more.
9888      icc* | ifort*)
9889	lt_prog_compiler_wl='-Wl,'
9890	lt_prog_compiler_pic='-fPIC'
9891	lt_prog_compiler_static='-static'
9892        ;;
9893      # Lahey Fortran 8.1.
9894      lf95*)
9895	lt_prog_compiler_wl='-Wl,'
9896	lt_prog_compiler_pic='--shared'
9897	lt_prog_compiler_static='--static'
9898	;;
9899      nagfor*)
9900	# NAG Fortran compiler
9901	lt_prog_compiler_wl='-Wl,-Wl,,'
9902	lt_prog_compiler_pic='-PIC'
9903	lt_prog_compiler_static='-Bstatic'
9904	;;
9905      tcc*)
9906	# Fabrice Bellard et al's Tiny C Compiler
9907	lt_prog_compiler_wl='-Wl,'
9908	lt_prog_compiler_pic='-fPIC'
9909	lt_prog_compiler_static='-static'
9910	;;
9911      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9912        # Portland Group compilers (*not* the Pentium gcc compiler,
9913	# which looks to be a dead project)
9914	lt_prog_compiler_wl='-Wl,'
9915	lt_prog_compiler_pic='-fpic'
9916	lt_prog_compiler_static='-Bstatic'
9917        ;;
9918      ccc*)
9919        lt_prog_compiler_wl='-Wl,'
9920        # All Alpha code is PIC.
9921        lt_prog_compiler_static='-non_shared'
9922        ;;
9923      xl* | bgxl* | bgf* | mpixl*)
9924	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9925	lt_prog_compiler_wl='-Wl,'
9926	lt_prog_compiler_pic='-qpic'
9927	lt_prog_compiler_static='-qstaticlink'
9928	;;
9929      *)
9930	case `$CC -V 2>&1 | sed 5q` in
9931	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9932	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9933	  lt_prog_compiler_pic='-KPIC'
9934	  lt_prog_compiler_static='-Bstatic'
9935	  lt_prog_compiler_wl=''
9936	  ;;
9937	*Sun\ F* | *Sun*Fortran*)
9938	  lt_prog_compiler_pic='-KPIC'
9939	  lt_prog_compiler_static='-Bstatic'
9940	  lt_prog_compiler_wl='-Qoption ld '
9941	  ;;
9942	*Sun\ C*)
9943	  # Sun C 5.9
9944	  lt_prog_compiler_pic='-KPIC'
9945	  lt_prog_compiler_static='-Bstatic'
9946	  lt_prog_compiler_wl='-Wl,'
9947	  ;;
9948        *Intel*\ [CF]*Compiler*)
9949	  lt_prog_compiler_wl='-Wl,'
9950	  lt_prog_compiler_pic='-fPIC'
9951	  lt_prog_compiler_static='-static'
9952	  ;;
9953	*Portland\ Group*)
9954	  lt_prog_compiler_wl='-Wl,'
9955	  lt_prog_compiler_pic='-fpic'
9956	  lt_prog_compiler_static='-Bstatic'
9957	  ;;
9958	esac
9959	;;
9960      esac
9961      ;;
9962
9963    newsos6)
9964      lt_prog_compiler_pic='-KPIC'
9965      lt_prog_compiler_static='-Bstatic'
9966      ;;
9967
9968    *nto* | *qnx*)
9969      # QNX uses GNU C++, but need to define -shared option too, otherwise
9970      # it will coredump.
9971      lt_prog_compiler_pic='-fPIC -shared'
9972      ;;
9973
9974    osf3* | osf4* | osf5*)
9975      lt_prog_compiler_wl='-Wl,'
9976      # All OSF/1 code is PIC.
9977      lt_prog_compiler_static='-non_shared'
9978      ;;
9979
9980    rdos*)
9981      lt_prog_compiler_static='-non_shared'
9982      ;;
9983
9984    solaris*)
9985      lt_prog_compiler_pic='-KPIC'
9986      lt_prog_compiler_static='-Bstatic'
9987      case $cc_basename in
9988      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9989	lt_prog_compiler_wl='-Qoption ld ';;
9990      *)
9991	lt_prog_compiler_wl='-Wl,';;
9992      esac
9993      ;;
9994
9995    sunos4*)
9996      lt_prog_compiler_wl='-Qoption ld '
9997      lt_prog_compiler_pic='-PIC'
9998      lt_prog_compiler_static='-Bstatic'
9999      ;;
10000
10001    sysv4 | sysv4.2uw2* | sysv4.3*)
10002      lt_prog_compiler_wl='-Wl,'
10003      lt_prog_compiler_pic='-KPIC'
10004      lt_prog_compiler_static='-Bstatic'
10005      ;;
10006
10007    sysv4*MP*)
10008      if test -d /usr/nec; then
10009	lt_prog_compiler_pic='-Kconform_pic'
10010	lt_prog_compiler_static='-Bstatic'
10011      fi
10012      ;;
10013
10014    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10015      lt_prog_compiler_wl='-Wl,'
10016      lt_prog_compiler_pic='-KPIC'
10017      lt_prog_compiler_static='-Bstatic'
10018      ;;
10019
10020    unicos*)
10021      lt_prog_compiler_wl='-Wl,'
10022      lt_prog_compiler_can_build_shared=no
10023      ;;
10024
10025    uts4*)
10026      lt_prog_compiler_pic='-pic'
10027      lt_prog_compiler_static='-Bstatic'
10028      ;;
10029
10030    *)
10031      lt_prog_compiler_can_build_shared=no
10032      ;;
10033    esac
10034  fi
10035
10036case $host_os in
10037  # For platforms that do not support PIC, -DPIC is meaningless:
10038  *djgpp*)
10039    lt_prog_compiler_pic=
10040    ;;
10041  *)
10042    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10043    ;;
10044esac
10045
10046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10047$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10048if ${lt_cv_prog_compiler_pic+:} false; then :
10049  $as_echo_n "(cached) " >&6
10050else
10051  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10052fi
10053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10054$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10055lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10056
10057#
10058# Check to make sure the PIC flag actually works.
10059#
10060if test -n "$lt_prog_compiler_pic"; then
10061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10062$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10063if ${lt_cv_prog_compiler_pic_works+:} false; then :
10064  $as_echo_n "(cached) " >&6
10065else
10066  lt_cv_prog_compiler_pic_works=no
10067   ac_outfile=conftest.$ac_objext
10068   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10069   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10070   # Insert the option either (1) after the last *FLAGS variable, or
10071   # (2) before a word containing "conftest.", or (3) at the end.
10072   # Note that $ac_compile itself does not contain backslashes and begins
10073   # with a dollar sign (not a hyphen), so the echo should work correctly.
10074   # The option is referenced via a variable to avoid confusing sed.
10075   lt_compile=`echo "$ac_compile" | $SED \
10076   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10077   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10078   -e 's:$: $lt_compiler_flag:'`
10079   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10080   (eval "$lt_compile" 2>conftest.err)
10081   ac_status=$?
10082   cat conftest.err >&5
10083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084   if (exit $ac_status) && test -s "$ac_outfile"; then
10085     # The compiler can only warn and ignore the option if not recognized
10086     # So say no if there are warnings other than the usual output.
10087     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10088     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10089     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10090       lt_cv_prog_compiler_pic_works=yes
10091     fi
10092   fi
10093   $RM conftest*
10094
10095fi
10096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10097$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10098
10099if test yes = "$lt_cv_prog_compiler_pic_works"; then
10100    case $lt_prog_compiler_pic in
10101     "" | " "*) ;;
10102     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10103     esac
10104else
10105    lt_prog_compiler_pic=
10106     lt_prog_compiler_can_build_shared=no
10107fi
10108
10109fi
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121#
10122# Check to make sure the static flag actually works.
10123#
10124wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10126$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10127if ${lt_cv_prog_compiler_static_works+:} false; then :
10128  $as_echo_n "(cached) " >&6
10129else
10130  lt_cv_prog_compiler_static_works=no
10131   save_LDFLAGS=$LDFLAGS
10132   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10133   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10134   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10135     # The linker can only warn and ignore the option if not recognized
10136     # So say no if there are warnings
10137     if test -s conftest.err; then
10138       # Append any errors to the config.log.
10139       cat conftest.err 1>&5
10140       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10141       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10142       if diff conftest.exp conftest.er2 >/dev/null; then
10143         lt_cv_prog_compiler_static_works=yes
10144       fi
10145     else
10146       lt_cv_prog_compiler_static_works=yes
10147     fi
10148   fi
10149   $RM -r conftest*
10150   LDFLAGS=$save_LDFLAGS
10151
10152fi
10153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10154$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10155
10156if test yes = "$lt_cv_prog_compiler_static_works"; then
10157    :
10158else
10159    lt_prog_compiler_static=
10160fi
10161
10162
10163
10164
10165
10166
10167
10168  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10169$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10170if ${lt_cv_prog_compiler_c_o+:} false; then :
10171  $as_echo_n "(cached) " >&6
10172else
10173  lt_cv_prog_compiler_c_o=no
10174   $RM -r conftest 2>/dev/null
10175   mkdir conftest
10176   cd conftest
10177   mkdir out
10178   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10179
10180   lt_compiler_flag="-o out/conftest2.$ac_objext"
10181   # Insert the option either (1) after the last *FLAGS variable, or
10182   # (2) before a word containing "conftest.", or (3) at the end.
10183   # Note that $ac_compile itself does not contain backslashes and begins
10184   # with a dollar sign (not a hyphen), so the echo should work correctly.
10185   lt_compile=`echo "$ac_compile" | $SED \
10186   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10187   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10188   -e 's:$: $lt_compiler_flag:'`
10189   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10190   (eval "$lt_compile" 2>out/conftest.err)
10191   ac_status=$?
10192   cat out/conftest.err >&5
10193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10195   then
10196     # The compiler can only warn and ignore the option if not recognized
10197     # So say no if there are warnings
10198     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10199     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10200     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10201       lt_cv_prog_compiler_c_o=yes
10202     fi
10203   fi
10204   chmod u+w . 2>&5
10205   $RM conftest*
10206   # SGI C++ compiler will create directory out/ii_files/ for
10207   # template instantiation
10208   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10209   $RM out/* && rmdir out
10210   cd ..
10211   $RM -r conftest
10212   $RM conftest*
10213
10214fi
10215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10216$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10217
10218
10219
10220
10221
10222
10223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10224$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10225if ${lt_cv_prog_compiler_c_o+:} false; then :
10226  $as_echo_n "(cached) " >&6
10227else
10228  lt_cv_prog_compiler_c_o=no
10229   $RM -r conftest 2>/dev/null
10230   mkdir conftest
10231   cd conftest
10232   mkdir out
10233   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10234
10235   lt_compiler_flag="-o out/conftest2.$ac_objext"
10236   # Insert the option either (1) after the last *FLAGS variable, or
10237   # (2) before a word containing "conftest.", or (3) at the end.
10238   # Note that $ac_compile itself does not contain backslashes and begins
10239   # with a dollar sign (not a hyphen), so the echo should work correctly.
10240   lt_compile=`echo "$ac_compile" | $SED \
10241   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10242   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10243   -e 's:$: $lt_compiler_flag:'`
10244   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10245   (eval "$lt_compile" 2>out/conftest.err)
10246   ac_status=$?
10247   cat out/conftest.err >&5
10248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10250   then
10251     # The compiler can only warn and ignore the option if not recognized
10252     # So say no if there are warnings
10253     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10254     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10255     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10256       lt_cv_prog_compiler_c_o=yes
10257     fi
10258   fi
10259   chmod u+w . 2>&5
10260   $RM conftest*
10261   # SGI C++ compiler will create directory out/ii_files/ for
10262   # template instantiation
10263   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10264   $RM out/* && rmdir out
10265   cd ..
10266   $RM -r conftest
10267   $RM conftest*
10268
10269fi
10270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10271$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10272
10273
10274
10275
10276hard_links=nottested
10277if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10278  # do not overwrite the value of need_locks provided by the user
10279  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10280$as_echo_n "checking if we can lock with hard links... " >&6; }
10281  hard_links=yes
10282  $RM conftest*
10283  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10284  touch conftest.a
10285  ln conftest.a conftest.b 2>&5 || hard_links=no
10286  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10288$as_echo "$hard_links" >&6; }
10289  if test no = "$hard_links"; then
10290    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10291$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10292    need_locks=warn
10293  fi
10294else
10295  need_locks=no
10296fi
10297
10298
10299
10300
10301
10302
10303  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10304$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10305
10306  runpath_var=
10307  allow_undefined_flag=
10308  always_export_symbols=no
10309  archive_cmds=
10310  archive_expsym_cmds=
10311  compiler_needs_object=no
10312  enable_shared_with_static_runtimes=no
10313  export_dynamic_flag_spec=
10314  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10315  hardcode_automatic=no
10316  hardcode_direct=no
10317  hardcode_direct_absolute=no
10318  hardcode_libdir_flag_spec=
10319  hardcode_libdir_separator=
10320  hardcode_minus_L=no
10321  hardcode_shlibpath_var=unsupported
10322  inherit_rpath=no
10323  link_all_deplibs=unknown
10324  module_cmds=
10325  module_expsym_cmds=
10326  old_archive_from_new_cmds=
10327  old_archive_from_expsyms_cmds=
10328  thread_safe_flag_spec=
10329  whole_archive_flag_spec=
10330  # include_expsyms should be a list of space-separated symbols to be *always*
10331  # included in the symbol list
10332  include_expsyms=
10333  # exclude_expsyms can be an extended regexp of symbols to exclude
10334  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10335  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10336  # as well as any symbol that contains 'd'.
10337  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10338  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10339  # platforms (ab)use it in PIC code, but their linkers get confused if
10340  # the symbol is explicitly referenced.  Since portable code cannot
10341  # rely on this symbol name, it's probably fine to never include it in
10342  # preloaded symbol tables.
10343  # Exclude shared library initialization/finalization symbols.
10344  extract_expsyms_cmds=
10345
10346  case $host_os in
10347  cygwin* | mingw* | pw32* | cegcc*)
10348    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10349    # When not using gcc, we currently assume that we are using
10350    # Microsoft Visual C++.
10351    if test yes != "$GCC"; then
10352      with_gnu_ld=no
10353    fi
10354    ;;
10355  interix*)
10356    # we just hope/assume this is gcc and not c89 (= MSVC++)
10357    with_gnu_ld=yes
10358    ;;
10359  openbsd* | bitrig*)
10360    with_gnu_ld=no
10361    ;;
10362  linux* | k*bsd*-gnu | gnu*)
10363    link_all_deplibs=no
10364    ;;
10365  esac
10366
10367  ld_shlibs=yes
10368
10369  # On some targets, GNU ld is compatible enough with the native linker
10370  # that we're better off using the native interface for both.
10371  lt_use_gnu_ld_interface=no
10372  if test yes = "$with_gnu_ld"; then
10373    case $host_os in
10374      aix*)
10375	# The AIX port of GNU ld has always aspired to compatibility
10376	# with the native linker.  However, as the warning in the GNU ld
10377	# block says, versions before 2.19.5* couldn't really create working
10378	# shared libraries, regardless of the interface used.
10379	case `$LD -v 2>&1` in
10380	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10381	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10382	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10383	  *)
10384	    lt_use_gnu_ld_interface=yes
10385	    ;;
10386	esac
10387	;;
10388      *)
10389	lt_use_gnu_ld_interface=yes
10390	;;
10391    esac
10392  fi
10393
10394  if test yes = "$lt_use_gnu_ld_interface"; then
10395    # If archive_cmds runs LD, not CC, wlarc should be empty
10396    wlarc='$wl'
10397
10398    # Set some defaults for GNU ld with shared library support. These
10399    # are reset later if shared libraries are not supported. Putting them
10400    # here allows them to be overridden if necessary.
10401    runpath_var=LD_RUN_PATH
10402    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10403    export_dynamic_flag_spec='$wl--export-dynamic'
10404    # ancient GNU ld didn't support --whole-archive et. al.
10405    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10406      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10407    else
10408      whole_archive_flag_spec=
10409    fi
10410    supports_anon_versioning=no
10411    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10412      *GNU\ gold*) supports_anon_versioning=yes ;;
10413      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10414      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10415      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10416      *\ 2.11.*) ;; # other 2.11 versions
10417      *) supports_anon_versioning=yes ;;
10418    esac
10419
10420    # See if GNU ld supports shared libraries.
10421    case $host_os in
10422    aix[3-9]*)
10423      # On AIX/PPC, the GNU linker is very broken
10424      if test ia64 != "$host_cpu"; then
10425	ld_shlibs=no
10426	cat <<_LT_EOF 1>&2
10427
10428*** Warning: the GNU linker, at least up to release 2.19, is reported
10429*** to be unable to reliably create shared libraries on AIX.
10430*** Therefore, libtool is disabling shared libraries support.  If you
10431*** really care for shared libraries, you may want to install binutils
10432*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10433*** You will then need to restart the configuration process.
10434
10435_LT_EOF
10436      fi
10437      ;;
10438
10439    amigaos*)
10440      case $host_cpu in
10441      powerpc)
10442            # see comment about AmigaOS4 .so support
10443            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10444            archive_expsym_cmds=''
10445        ;;
10446      m68k)
10447            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)'
10448            hardcode_libdir_flag_spec='-L$libdir'
10449            hardcode_minus_L=yes
10450        ;;
10451      esac
10452      ;;
10453
10454    beos*)
10455      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10456	allow_undefined_flag=unsupported
10457	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10458	# support --undefined.  This deserves some investigation.  FIXME
10459	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10460      else
10461	ld_shlibs=no
10462      fi
10463      ;;
10464
10465    cygwin* | mingw* | pw32* | cegcc*)
10466      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10467      # as there is no search path for DLLs.
10468      hardcode_libdir_flag_spec='-L$libdir'
10469      export_dynamic_flag_spec='$wl--export-all-symbols'
10470      allow_undefined_flag=unsupported
10471      always_export_symbols=no
10472      enable_shared_with_static_runtimes=yes
10473      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'
10474      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10475
10476      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10477        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10478	# If the export-symbols file already is a .def file, use it as
10479	# is; otherwise, prepend EXPORTS...
10480	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10481          cp $export_symbols $output_objdir/$soname.def;
10482        else
10483          echo EXPORTS > $output_objdir/$soname.def;
10484          cat $export_symbols >> $output_objdir/$soname.def;
10485        fi~
10486        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10487      else
10488	ld_shlibs=no
10489      fi
10490      ;;
10491
10492    haiku*)
10493      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10494      link_all_deplibs=yes
10495      ;;
10496
10497    os2*)
10498      hardcode_libdir_flag_spec='-L$libdir'
10499      hardcode_minus_L=yes
10500      allow_undefined_flag=unsupported
10501      shrext_cmds=.dll
10502      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10503	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10504	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10505	$ECHO EXPORTS >> $output_objdir/$libname.def~
10506	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10507	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10508	emximp -o $lib $output_objdir/$libname.def'
10509      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10510	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10511	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10512	$ECHO EXPORTS >> $output_objdir/$libname.def~
10513	prefix_cmds="$SED"~
10514	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10515	  prefix_cmds="$prefix_cmds -e 1d";
10516	fi~
10517	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10518	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10519	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10520	emximp -o $lib $output_objdir/$libname.def'
10521      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10522      enable_shared_with_static_runtimes=yes
10523      ;;
10524
10525    interix[3-9]*)
10526      hardcode_direct=no
10527      hardcode_shlibpath_var=no
10528      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10529      export_dynamic_flag_spec='$wl-E'
10530      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10531      # Instead, shared libraries are loaded at an image base (0x10000000 by
10532      # default) and relocated if they conflict, which is a slow very memory
10533      # consuming and fragmenting process.  To avoid this, we pick a random,
10534      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10535      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10536      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10537      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'
10538      ;;
10539
10540    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10541      tmp_diet=no
10542      if test linux-dietlibc = "$host_os"; then
10543	case $cc_basename in
10544	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10545	esac
10546      fi
10547      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10548	 && test no = "$tmp_diet"
10549      then
10550	tmp_addflag=' $pic_flag'
10551	tmp_sharedflag='-shared'
10552	case $cc_basename,$host_cpu in
10553        pgcc*)				# Portland Group C compiler
10554	  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'
10555	  tmp_addflag=' $pic_flag'
10556	  ;;
10557	pgf77* | pgf90* | pgf95* | pgfortran*)
10558					# Portland Group f77 and f90 compilers
10559	  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'
10560	  tmp_addflag=' $pic_flag -Mnomain' ;;
10561	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10562	  tmp_addflag=' -i_dynamic' ;;
10563	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10564	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10565	ifc* | ifort*)			# Intel Fortran compiler
10566	  tmp_addflag=' -nofor_main' ;;
10567	lf95*)				# Lahey Fortran 8.1
10568	  whole_archive_flag_spec=
10569	  tmp_sharedflag='--shared' ;;
10570        nagfor*)                        # NAGFOR 5.3
10571          tmp_sharedflag='-Wl,-shared' ;;
10572	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10573	  tmp_sharedflag='-qmkshrobj'
10574	  tmp_addflag= ;;
10575	nvcc*)	# Cuda Compiler Driver 2.2
10576	  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'
10577	  compiler_needs_object=yes
10578	  ;;
10579	esac
10580	case `$CC -V 2>&1 | sed 5q` in
10581	*Sun\ C*)			# Sun C 5.9
10582	  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'
10583	  compiler_needs_object=yes
10584	  tmp_sharedflag='-G' ;;
10585	*Sun\ F*)			# Sun Fortran 8.3
10586	  tmp_sharedflag='-G' ;;
10587	esac
10588	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10589
10590        if test yes = "$supports_anon_versioning"; then
10591          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10592            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10593            echo "local: *; };" >> $output_objdir/$libname.ver~
10594            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10595        fi
10596
10597	case $cc_basename in
10598	tcc*)
10599	  export_dynamic_flag_spec='-rdynamic'
10600	  ;;
10601	xlf* | bgf* | bgxlf* | mpixlf*)
10602	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10603	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10604	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10605	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10606	  if test yes = "$supports_anon_versioning"; then
10607	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10608              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10609              echo "local: *; };" >> $output_objdir/$libname.ver~
10610              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10611	  fi
10612	  ;;
10613	esac
10614      else
10615        ld_shlibs=no
10616      fi
10617      ;;
10618
10619    netbsd* | netbsdelf*-gnu)
10620      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10621	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10622	wlarc=
10623      else
10624	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10625	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10626      fi
10627      ;;
10628
10629    solaris*)
10630      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10631	ld_shlibs=no
10632	cat <<_LT_EOF 1>&2
10633
10634*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10635*** create shared libraries on Solaris systems.  Therefore, libtool
10636*** is disabling shared libraries support.  We urge you to upgrade GNU
10637*** binutils to release 2.9.1 or newer.  Another option is to modify
10638*** your PATH or compiler configuration so that the native linker is
10639*** used, and then restart.
10640
10641_LT_EOF
10642      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10643	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10644	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10645      else
10646	ld_shlibs=no
10647      fi
10648      ;;
10649
10650    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10651      case `$LD -v 2>&1` in
10652        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10653	ld_shlibs=no
10654	cat <<_LT_EOF 1>&2
10655
10656*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10657*** reliably create shared libraries on SCO systems.  Therefore, libtool
10658*** is disabling shared libraries support.  We urge you to upgrade GNU
10659*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10660*** your PATH or compiler configuration so that the native linker is
10661*** used, and then restart.
10662
10663_LT_EOF
10664	;;
10665	*)
10666	  # For security reasons, it is highly recommended that you always
10667	  # use absolute paths for naming shared libraries, and exclude the
10668	  # DT_RUNPATH tag from executables and libraries.  But doing so
10669	  # requires that you compile everything twice, which is a pain.
10670	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10671	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10672	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10673	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10674	  else
10675	    ld_shlibs=no
10676	  fi
10677	;;
10678      esac
10679      ;;
10680
10681    sunos4*)
10682      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10683      wlarc=
10684      hardcode_direct=yes
10685      hardcode_shlibpath_var=no
10686      ;;
10687
10688    *)
10689      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10690	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10691	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10692      else
10693	ld_shlibs=no
10694      fi
10695      ;;
10696    esac
10697
10698    if test no = "$ld_shlibs"; then
10699      runpath_var=
10700      hardcode_libdir_flag_spec=
10701      export_dynamic_flag_spec=
10702      whole_archive_flag_spec=
10703    fi
10704  else
10705    # PORTME fill in a description of your system's linker (not GNU ld)
10706    case $host_os in
10707    aix3*)
10708      allow_undefined_flag=unsupported
10709      always_export_symbols=yes
10710      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'
10711      # Note: this linker hardcodes the directories in LIBPATH if there
10712      # are no directories specified by -L.
10713      hardcode_minus_L=yes
10714      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10715	# Neither direct hardcoding nor static linking is supported with a
10716	# broken collect2.
10717	hardcode_direct=unsupported
10718      fi
10719      ;;
10720
10721    aix[4-9]*)
10722      if test ia64 = "$host_cpu"; then
10723	# On IA64, the linker does run time linking by default, so we don't
10724	# have to do anything special.
10725	aix_use_runtimelinking=no
10726	exp_sym_flag='-Bexport'
10727	no_entry_flag=
10728      else
10729	# If we're using GNU nm, then we don't want the "-C" option.
10730	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10731	# Without the "-l" option, or with the "-B" option, AIX nm treats
10732	# weak defined symbols like other global defined symbols, whereas
10733	# GNU nm marks them as "W".
10734	# While the 'weak' keyword is ignored in the Export File, we need
10735	# it in the Import File for the 'aix-soname' feature, so we have
10736	# to replace the "-B" option with "-P" for AIX nm.
10737	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10738	  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'
10739	else
10740	  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'
10741	fi
10742	aix_use_runtimelinking=no
10743
10744	# Test if we are trying to use run time linking or normal
10745	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10746	# have runtime linking enabled, and use it for executables.
10747	# For shared libraries, we enable/disable runtime linking
10748	# depending on the kind of the shared library created -
10749	# when "with_aix_soname,aix_use_runtimelinking" is:
10750	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10751	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10752	#            lib.a           static archive
10753	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10754	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10755	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10756	#            lib.a(lib.so.V) shared, rtl:no
10757	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10758	#            lib.a           static archive
10759	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10760	  for ld_flag in $LDFLAGS; do
10761	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10762	    aix_use_runtimelinking=yes
10763	    break
10764	  fi
10765	  done
10766	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10767	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10768	    # so we don't have lib.a shared libs to link our executables.
10769	    # We have to force runtime linking in this case.
10770	    aix_use_runtimelinking=yes
10771	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10772	  fi
10773	  ;;
10774	esac
10775
10776	exp_sym_flag='-bexport'
10777	no_entry_flag='-bnoentry'
10778      fi
10779
10780      # When large executables or shared objects are built, AIX ld can
10781      # have problems creating the table of contents.  If linking a library
10782      # or program results in "error TOC overflow" add -mminimal-toc to
10783      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10784      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10785
10786      archive_cmds=''
10787      hardcode_direct=yes
10788      hardcode_direct_absolute=yes
10789      hardcode_libdir_separator=':'
10790      link_all_deplibs=yes
10791      file_list_spec='$wl-f,'
10792      case $with_aix_soname,$aix_use_runtimelinking in
10793      aix,*) ;; # traditional, no import file
10794      svr4,* | *,yes) # use import file
10795	# The Import File defines what to hardcode.
10796	hardcode_direct=no
10797	hardcode_direct_absolute=no
10798	;;
10799      esac
10800
10801      if test yes = "$GCC"; then
10802	case $host_os in aix4.[012]|aix4.[012].*)
10803	# We only want to do this on AIX 4.2 and lower, the check
10804	# below for broken collect2 doesn't work under 4.3+
10805	  collect2name=`$CC -print-prog-name=collect2`
10806	  if test -f "$collect2name" &&
10807	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10808	  then
10809	  # We have reworked collect2
10810	  :
10811	  else
10812	  # We have old collect2
10813	  hardcode_direct=unsupported
10814	  # It fails to find uninstalled libraries when the uninstalled
10815	  # path is not listed in the libpath.  Setting hardcode_minus_L
10816	  # to unsupported forces relinking
10817	  hardcode_minus_L=yes
10818	  hardcode_libdir_flag_spec='-L$libdir'
10819	  hardcode_libdir_separator=
10820	  fi
10821	  ;;
10822	esac
10823	shared_flag='-shared'
10824	if test yes = "$aix_use_runtimelinking"; then
10825	  shared_flag="$shared_flag "'$wl-G'
10826	fi
10827	# Need to ensure runtime linking is disabled for the traditional
10828	# shared library, or the linker may eventually find shared libraries
10829	# /with/ Import File - we do not want to mix them.
10830	shared_flag_aix='-shared'
10831	shared_flag_svr4='-shared $wl-G'
10832      else
10833	# not using gcc
10834	if test ia64 = "$host_cpu"; then
10835	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10836	# chokes on -Wl,-G. The following line is correct:
10837	  shared_flag='-G'
10838	else
10839	  if test yes = "$aix_use_runtimelinking"; then
10840	    shared_flag='$wl-G'
10841	  else
10842	    shared_flag='$wl-bM:SRE'
10843	  fi
10844	  shared_flag_aix='$wl-bM:SRE'
10845	  shared_flag_svr4='$wl-G'
10846	fi
10847      fi
10848
10849      export_dynamic_flag_spec='$wl-bexpall'
10850      # It seems that -bexpall does not export symbols beginning with
10851      # underscore (_), so it is better to generate a list of symbols to export.
10852      always_export_symbols=yes
10853      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10854	# Warning - without using the other runtime loading flags (-brtl),
10855	# -berok will link without error, but may produce a broken library.
10856	allow_undefined_flag='-berok'
10857        # Determine the default libpath from the value encoded in an
10858        # empty executable.
10859        if test set = "${lt_cv_aix_libpath+set}"; then
10860  aix_libpath=$lt_cv_aix_libpath
10861else
10862  if ${lt_cv_aix_libpath_+:} false; then :
10863  $as_echo_n "(cached) " >&6
10864else
10865  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866/* end confdefs.h.  */
10867
10868int
10869main ()
10870{
10871
10872  ;
10873  return 0;
10874}
10875_ACEOF
10876if ac_fn_c_try_link "$LINENO"; then :
10877
10878  lt_aix_libpath_sed='
10879      /Import File Strings/,/^$/ {
10880	  /^0/ {
10881	      s/^0  *\([^ ]*\) *$/\1/
10882	      p
10883	  }
10884      }'
10885  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10886  # Check for a 64-bit object if we didn't find anything.
10887  if test -z "$lt_cv_aix_libpath_"; then
10888    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10889  fi
10890fi
10891rm -f core conftest.err conftest.$ac_objext \
10892    conftest$ac_exeext conftest.$ac_ext
10893  if test -z "$lt_cv_aix_libpath_"; then
10894    lt_cv_aix_libpath_=/usr/lib:/lib
10895  fi
10896
10897fi
10898
10899  aix_libpath=$lt_cv_aix_libpath_
10900fi
10901
10902        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10903        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
10904      else
10905	if test ia64 = "$host_cpu"; then
10906	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10907	  allow_undefined_flag="-z nodefs"
10908	  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"
10909	else
10910	 # Determine the default libpath from the value encoded in an
10911	 # empty executable.
10912	 if test set = "${lt_cv_aix_libpath+set}"; then
10913  aix_libpath=$lt_cv_aix_libpath
10914else
10915  if ${lt_cv_aix_libpath_+:} false; then :
10916  $as_echo_n "(cached) " >&6
10917else
10918  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919/* end confdefs.h.  */
10920
10921int
10922main ()
10923{
10924
10925  ;
10926  return 0;
10927}
10928_ACEOF
10929if ac_fn_c_try_link "$LINENO"; then :
10930
10931  lt_aix_libpath_sed='
10932      /Import File Strings/,/^$/ {
10933	  /^0/ {
10934	      s/^0  *\([^ ]*\) *$/\1/
10935	      p
10936	  }
10937      }'
10938  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10939  # Check for a 64-bit object if we didn't find anything.
10940  if test -z "$lt_cv_aix_libpath_"; then
10941    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10942  fi
10943fi
10944rm -f core conftest.err conftest.$ac_objext \
10945    conftest$ac_exeext conftest.$ac_ext
10946  if test -z "$lt_cv_aix_libpath_"; then
10947    lt_cv_aix_libpath_=/usr/lib:/lib
10948  fi
10949
10950fi
10951
10952  aix_libpath=$lt_cv_aix_libpath_
10953fi
10954
10955	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10956	  # Warning - without using the other run time loading flags,
10957	  # -berok will link without error, but may produce a broken library.
10958	  no_undefined_flag=' $wl-bernotok'
10959	  allow_undefined_flag=' $wl-berok'
10960	  if test yes = "$with_gnu_ld"; then
10961	    # We only use this code for GNU lds that support --whole-archive.
10962	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10963	  else
10964	    # Exported symbols can be pulled into shared objects from archives
10965	    whole_archive_flag_spec='$convenience'
10966	  fi
10967	  archive_cmds_need_lc=yes
10968	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10969	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10970	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10971	  if test svr4 != "$with_aix_soname"; then
10972	    # This is similar to how AIX traditionally builds its shared libraries.
10973	    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'
10974	  fi
10975	  if test aix != "$with_aix_soname"; then
10976	    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'
10977	  else
10978	    # used by -dlpreopen to get the symbols
10979	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10980	  fi
10981	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10982	fi
10983      fi
10984      ;;
10985
10986    amigaos*)
10987      case $host_cpu in
10988      powerpc)
10989            # see comment about AmigaOS4 .so support
10990            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10991            archive_expsym_cmds=''
10992        ;;
10993      m68k)
10994            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)'
10995            hardcode_libdir_flag_spec='-L$libdir'
10996            hardcode_minus_L=yes
10997        ;;
10998      esac
10999      ;;
11000
11001    bsdi[45]*)
11002      export_dynamic_flag_spec=-rdynamic
11003      ;;
11004
11005    cygwin* | mingw* | pw32* | cegcc*)
11006      # When not using gcc, we currently assume that we are using
11007      # Microsoft Visual C++.
11008      # hardcode_libdir_flag_spec is actually meaningless, as there is
11009      # no search path for DLLs.
11010      case $cc_basename in
11011      cl*)
11012	# Native MSVC
11013	hardcode_libdir_flag_spec=' '
11014	allow_undefined_flag=unsupported
11015	always_export_symbols=yes
11016	file_list_spec='@'
11017	# Tell ltmain to make .lib files, not .a files.
11018	libext=lib
11019	# Tell ltmain to make .dll files, not .so files.
11020	shrext_cmds=.dll
11021	# FIXME: Setting linknames here is a bad hack.
11022	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11023	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11024            cp "$export_symbols" "$output_objdir/$soname.def";
11025            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11026          else
11027            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11028          fi~
11029          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11030          linknames='
11031	# The linker will not automatically build a static lib if we build a DLL.
11032	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11033	enable_shared_with_static_runtimes=yes
11034	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11035	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11036	# Don't use ranlib
11037	old_postinstall_cmds='chmod 644 $oldlib'
11038	postlink_cmds='lt_outputfile="@OUTPUT@"~
11039          lt_tool_outputfile="@TOOL_OUTPUT@"~
11040          case $lt_outputfile in
11041            *.exe|*.EXE) ;;
11042            *)
11043              lt_outputfile=$lt_outputfile.exe
11044              lt_tool_outputfile=$lt_tool_outputfile.exe
11045              ;;
11046          esac~
11047          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11048            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11049            $RM "$lt_outputfile.manifest";
11050          fi'
11051	;;
11052      *)
11053	# Assume MSVC wrapper
11054	hardcode_libdir_flag_spec=' '
11055	allow_undefined_flag=unsupported
11056	# Tell ltmain to make .lib files, not .a files.
11057	libext=lib
11058	# Tell ltmain to make .dll files, not .so files.
11059	shrext_cmds=.dll
11060	# FIXME: Setting linknames here is a bad hack.
11061	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11062	# The linker will automatically build a .lib file if we build a DLL.
11063	old_archive_from_new_cmds='true'
11064	# FIXME: Should let the user specify the lib program.
11065	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11066	enable_shared_with_static_runtimes=yes
11067	;;
11068      esac
11069      ;;
11070
11071    darwin* | rhapsody*)
11072
11073
11074  archive_cmds_need_lc=no
11075  hardcode_direct=no
11076  hardcode_automatic=yes
11077  hardcode_shlibpath_var=unsupported
11078  if test yes = "$lt_cv_ld_force_load"; then
11079    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\"`'
11080
11081  else
11082    whole_archive_flag_spec=''
11083  fi
11084  link_all_deplibs=yes
11085  allow_undefined_flag=$_lt_dar_allow_undefined
11086  case $cc_basename in
11087     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11088     *) _lt_dar_can_shared=$GCC ;;
11089  esac
11090  if test yes = "$_lt_dar_can_shared"; then
11091    output_verbose_link_cmd=func_echo_all
11092    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11093    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11094    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"
11095    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"
11096
11097  else
11098  ld_shlibs=no
11099  fi
11100
11101      ;;
11102
11103    dgux*)
11104      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11105      hardcode_libdir_flag_spec='-L$libdir'
11106      hardcode_shlibpath_var=no
11107      ;;
11108
11109    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11110    # support.  Future versions do this automatically, but an explicit c++rt0.o
11111    # does not break anything, and helps significantly (at the cost of a little
11112    # extra space).
11113    freebsd2.2*)
11114      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11115      hardcode_libdir_flag_spec='-R$libdir'
11116      hardcode_direct=yes
11117      hardcode_shlibpath_var=no
11118      ;;
11119
11120    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11121    freebsd2.*)
11122      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11123      hardcode_direct=yes
11124      hardcode_minus_L=yes
11125      hardcode_shlibpath_var=no
11126      ;;
11127
11128    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11129    freebsd* | dragonfly*)
11130      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11131      hardcode_libdir_flag_spec='-R$libdir'
11132      hardcode_direct=yes
11133      hardcode_shlibpath_var=no
11134      ;;
11135
11136    hpux9*)
11137      if test yes = "$GCC"; then
11138	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'
11139      else
11140	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'
11141      fi
11142      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11143      hardcode_libdir_separator=:
11144      hardcode_direct=yes
11145
11146      # hardcode_minus_L: Not really in the search PATH,
11147      # but as the default location of the library.
11148      hardcode_minus_L=yes
11149      export_dynamic_flag_spec='$wl-E'
11150      ;;
11151
11152    hpux10*)
11153      if test yes,no = "$GCC,$with_gnu_ld"; then
11154	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11155      else
11156	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11157      fi
11158      if test no = "$with_gnu_ld"; then
11159	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11160	hardcode_libdir_separator=:
11161	hardcode_direct=yes
11162	hardcode_direct_absolute=yes
11163	export_dynamic_flag_spec='$wl-E'
11164	# hardcode_minus_L: Not really in the search PATH,
11165	# but as the default location of the library.
11166	hardcode_minus_L=yes
11167      fi
11168      ;;
11169
11170    hpux11*)
11171      if test yes,no = "$GCC,$with_gnu_ld"; then
11172	case $host_cpu in
11173	hppa*64*)
11174	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11175	  ;;
11176	ia64*)
11177	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11178	  ;;
11179	*)
11180	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11181	  ;;
11182	esac
11183      else
11184	case $host_cpu in
11185	hppa*64*)
11186	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11187	  ;;
11188	ia64*)
11189	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11190	  ;;
11191	*)
11192
11193	  # Older versions of the 11.00 compiler do not understand -b yet
11194	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11195	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11196$as_echo_n "checking if $CC understands -b... " >&6; }
11197if ${lt_cv_prog_compiler__b+:} false; then :
11198  $as_echo_n "(cached) " >&6
11199else
11200  lt_cv_prog_compiler__b=no
11201   save_LDFLAGS=$LDFLAGS
11202   LDFLAGS="$LDFLAGS -b"
11203   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11204   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11205     # The linker can only warn and ignore the option if not recognized
11206     # So say no if there are warnings
11207     if test -s conftest.err; then
11208       # Append any errors to the config.log.
11209       cat conftest.err 1>&5
11210       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11211       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11212       if diff conftest.exp conftest.er2 >/dev/null; then
11213         lt_cv_prog_compiler__b=yes
11214       fi
11215     else
11216       lt_cv_prog_compiler__b=yes
11217     fi
11218   fi
11219   $RM -r conftest*
11220   LDFLAGS=$save_LDFLAGS
11221
11222fi
11223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11224$as_echo "$lt_cv_prog_compiler__b" >&6; }
11225
11226if test yes = "$lt_cv_prog_compiler__b"; then
11227    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11228else
11229    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11230fi
11231
11232	  ;;
11233	esac
11234      fi
11235      if test no = "$with_gnu_ld"; then
11236	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11237	hardcode_libdir_separator=:
11238
11239	case $host_cpu in
11240	hppa*64*|ia64*)
11241	  hardcode_direct=no
11242	  hardcode_shlibpath_var=no
11243	  ;;
11244	*)
11245	  hardcode_direct=yes
11246	  hardcode_direct_absolute=yes
11247	  export_dynamic_flag_spec='$wl-E'
11248
11249	  # hardcode_minus_L: Not really in the search PATH,
11250	  # but as the default location of the library.
11251	  hardcode_minus_L=yes
11252	  ;;
11253	esac
11254      fi
11255      ;;
11256
11257    irix5* | irix6* | nonstopux*)
11258      if test yes = "$GCC"; then
11259	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'
11260	# Try to use the -exported_symbol ld option, if it does not
11261	# work, assume that -exports_file does not work either and
11262	# implicitly export all symbols.
11263	# This should be the same for all languages, so no per-tag cache variable.
11264	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11265$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11266if ${lt_cv_irix_exported_symbol+:} false; then :
11267  $as_echo_n "(cached) " >&6
11268else
11269  save_LDFLAGS=$LDFLAGS
11270	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11271	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272/* end confdefs.h.  */
11273int foo (void) { return 0; }
11274_ACEOF
11275if ac_fn_c_try_link "$LINENO"; then :
11276  lt_cv_irix_exported_symbol=yes
11277else
11278  lt_cv_irix_exported_symbol=no
11279fi
11280rm -f core conftest.err conftest.$ac_objext \
11281    conftest$ac_exeext conftest.$ac_ext
11282           LDFLAGS=$save_LDFLAGS
11283fi
11284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11285$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11286	if test yes = "$lt_cv_irix_exported_symbol"; then
11287          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'
11288	fi
11289	link_all_deplibs=no
11290      else
11291	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'
11292	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'
11293      fi
11294      archive_cmds_need_lc='no'
11295      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11296      hardcode_libdir_separator=:
11297      inherit_rpath=yes
11298      link_all_deplibs=yes
11299      ;;
11300
11301    linux*)
11302      case $cc_basename in
11303      tcc*)
11304	# Fabrice Bellard et al's Tiny C Compiler
11305	ld_shlibs=yes
11306	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11307	;;
11308      esac
11309      ;;
11310
11311    netbsd* | netbsdelf*-gnu)
11312      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11313	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11314      else
11315	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11316      fi
11317      hardcode_libdir_flag_spec='-R$libdir'
11318      hardcode_direct=yes
11319      hardcode_shlibpath_var=no
11320      ;;
11321
11322    newsos6)
11323      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11324      hardcode_direct=yes
11325      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11326      hardcode_libdir_separator=:
11327      hardcode_shlibpath_var=no
11328      ;;
11329
11330    *nto* | *qnx*)
11331      ;;
11332
11333    openbsd* | bitrig*)
11334      if test -f /usr/libexec/ld.so; then
11335	hardcode_direct=yes
11336	hardcode_shlibpath_var=no
11337	hardcode_direct_absolute=yes
11338	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11339	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11340	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11341	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11342	  export_dynamic_flag_spec='$wl-E'
11343	else
11344	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11345	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11346	fi
11347      else
11348	ld_shlibs=no
11349      fi
11350      ;;
11351
11352    os2*)
11353      hardcode_libdir_flag_spec='-L$libdir'
11354      hardcode_minus_L=yes
11355      allow_undefined_flag=unsupported
11356      shrext_cmds=.dll
11357      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11358	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11359	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11360	$ECHO EXPORTS >> $output_objdir/$libname.def~
11361	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11362	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11363	emximp -o $lib $output_objdir/$libname.def'
11364      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11365	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11366	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11367	$ECHO EXPORTS >> $output_objdir/$libname.def~
11368	prefix_cmds="$SED"~
11369	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11370	  prefix_cmds="$prefix_cmds -e 1d";
11371	fi~
11372	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11373	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11374	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11375	emximp -o $lib $output_objdir/$libname.def'
11376      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11377      enable_shared_with_static_runtimes=yes
11378      ;;
11379
11380    osf3*)
11381      if test yes = "$GCC"; then
11382	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11383	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'
11384      else
11385	allow_undefined_flag=' -expect_unresolved \*'
11386	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'
11387      fi
11388      archive_cmds_need_lc='no'
11389      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11390      hardcode_libdir_separator=:
11391      ;;
11392
11393    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11394      if test yes = "$GCC"; then
11395	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11396	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'
11397	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11398      else
11399	allow_undefined_flag=' -expect_unresolved \*'
11400	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'
11401	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~
11402          $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'
11403
11404	# Both c and cxx compiler support -rpath directly
11405	hardcode_libdir_flag_spec='-rpath $libdir'
11406      fi
11407      archive_cmds_need_lc='no'
11408      hardcode_libdir_separator=:
11409      ;;
11410
11411    solaris*)
11412      no_undefined_flag=' -z defs'
11413      if test yes = "$GCC"; then
11414	wlarc='$wl'
11415	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11416	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11417          $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'
11418      else
11419	case `$CC -V 2>&1` in
11420	*"Compilers 5.0"*)
11421	  wlarc=''
11422	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11423	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11424            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11425	  ;;
11426	*)
11427	  wlarc='$wl'
11428	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11429	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11430            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11431	  ;;
11432	esac
11433      fi
11434      hardcode_libdir_flag_spec='-R$libdir'
11435      hardcode_shlibpath_var=no
11436      case $host_os in
11437      solaris2.[0-5] | solaris2.[0-5].*) ;;
11438      *)
11439	# The compiler driver will combine and reorder linker options,
11440	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11441	# but is careful enough not to reorder.
11442	# Supported since Solaris 2.6 (maybe 2.5.1?)
11443	if test yes = "$GCC"; then
11444	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11445	else
11446	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11447	fi
11448	;;
11449      esac
11450      link_all_deplibs=yes
11451      ;;
11452
11453    sunos4*)
11454      if test sequent = "$host_vendor"; then
11455	# Use $CC to link under sequent, because it throws in some extra .o
11456	# files that make .init and .fini sections work.
11457	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11458      else
11459	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11460      fi
11461      hardcode_libdir_flag_spec='-L$libdir'
11462      hardcode_direct=yes
11463      hardcode_minus_L=yes
11464      hardcode_shlibpath_var=no
11465      ;;
11466
11467    sysv4)
11468      case $host_vendor in
11469	sni)
11470	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11471	  hardcode_direct=yes # is this really true???
11472	;;
11473	siemens)
11474	  ## LD is ld it makes a PLAMLIB
11475	  ## CC just makes a GrossModule.
11476	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11477	  reload_cmds='$CC -r -o $output$reload_objs'
11478	  hardcode_direct=no
11479        ;;
11480	motorola)
11481	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11482	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11483	;;
11484      esac
11485      runpath_var='LD_RUN_PATH'
11486      hardcode_shlibpath_var=no
11487      ;;
11488
11489    sysv4.3*)
11490      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11491      hardcode_shlibpath_var=no
11492      export_dynamic_flag_spec='-Bexport'
11493      ;;
11494
11495    sysv4*MP*)
11496      if test -d /usr/nec; then
11497	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11498	hardcode_shlibpath_var=no
11499	runpath_var=LD_RUN_PATH
11500	hardcode_runpath_var=yes
11501	ld_shlibs=yes
11502      fi
11503      ;;
11504
11505    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11506      no_undefined_flag='$wl-z,text'
11507      archive_cmds_need_lc=no
11508      hardcode_shlibpath_var=no
11509      runpath_var='LD_RUN_PATH'
11510
11511      if test yes = "$GCC"; then
11512	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11513	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11514      else
11515	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11516	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11517      fi
11518      ;;
11519
11520    sysv5* | sco3.2v5* | sco5v6*)
11521      # Note: We CANNOT use -z defs as we might desire, because we do not
11522      # link with -lc, and that would cause any symbols used from libc to
11523      # always be unresolved, which means just about no library would
11524      # ever link correctly.  If we're not using GNU ld we use -z text
11525      # though, which does catch some bad symbols but isn't as heavy-handed
11526      # as -z defs.
11527      no_undefined_flag='$wl-z,text'
11528      allow_undefined_flag='$wl-z,nodefs'
11529      archive_cmds_need_lc=no
11530      hardcode_shlibpath_var=no
11531      hardcode_libdir_flag_spec='$wl-R,$libdir'
11532      hardcode_libdir_separator=':'
11533      link_all_deplibs=yes
11534      export_dynamic_flag_spec='$wl-Bexport'
11535      runpath_var='LD_RUN_PATH'
11536
11537      if test yes = "$GCC"; then
11538	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11539	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11540      else
11541	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11542	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11543      fi
11544      ;;
11545
11546    uts4*)
11547      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11548      hardcode_libdir_flag_spec='-L$libdir'
11549      hardcode_shlibpath_var=no
11550      ;;
11551
11552    *)
11553      ld_shlibs=no
11554      ;;
11555    esac
11556
11557    if test sni = "$host_vendor"; then
11558      case $host in
11559      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11560	export_dynamic_flag_spec='$wl-Blargedynsym'
11561	;;
11562      esac
11563    fi
11564  fi
11565
11566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11567$as_echo "$ld_shlibs" >&6; }
11568test no = "$ld_shlibs" && can_build_shared=no
11569
11570with_gnu_ld=$with_gnu_ld
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586#
11587# Do we need to explicitly link libc?
11588#
11589case "x$archive_cmds_need_lc" in
11590x|xyes)
11591  # Assume -lc should be added
11592  archive_cmds_need_lc=yes
11593
11594  if test yes,yes = "$GCC,$enable_shared"; then
11595    case $archive_cmds in
11596    *'~'*)
11597      # FIXME: we may have to deal with multi-command sequences.
11598      ;;
11599    '$CC '*)
11600      # Test whether the compiler implicitly links with -lc since on some
11601      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11602      # to ld, don't add -lc before -lgcc.
11603      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11604$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11605if ${lt_cv_archive_cmds_need_lc+:} false; then :
11606  $as_echo_n "(cached) " >&6
11607else
11608  $RM conftest*
11609	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11610
11611	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11612  (eval $ac_compile) 2>&5
11613  ac_status=$?
11614  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11615  test $ac_status = 0; } 2>conftest.err; then
11616	  soname=conftest
11617	  lib=conftest
11618	  libobjs=conftest.$ac_objext
11619	  deplibs=
11620	  wl=$lt_prog_compiler_wl
11621	  pic_flag=$lt_prog_compiler_pic
11622	  compiler_flags=-v
11623	  linker_flags=-v
11624	  verstring=
11625	  output_objdir=.
11626	  libname=conftest
11627	  lt_save_allow_undefined_flag=$allow_undefined_flag
11628	  allow_undefined_flag=
11629	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11630  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11631  ac_status=$?
11632  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11633  test $ac_status = 0; }
11634	  then
11635	    lt_cv_archive_cmds_need_lc=no
11636	  else
11637	    lt_cv_archive_cmds_need_lc=yes
11638	  fi
11639	  allow_undefined_flag=$lt_save_allow_undefined_flag
11640	else
11641	  cat conftest.err 1>&5
11642	fi
11643	$RM conftest*
11644
11645fi
11646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11647$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11648      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11649      ;;
11650    esac
11651  fi
11652  ;;
11653esac
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11807$as_echo_n "checking dynamic linker characteristics... " >&6; }
11808
11809if test yes = "$GCC"; then
11810  case $host_os in
11811    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11812    *) lt_awk_arg='/^libraries:/' ;;
11813  esac
11814  case $host_os in
11815    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11816    *) lt_sed_strip_eq='s|=/|/|g' ;;
11817  esac
11818  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11819  case $lt_search_path_spec in
11820  *\;*)
11821    # if the path contains ";" then we assume it to be the separator
11822    # otherwise default to the standard path separator (i.e. ":") - it is
11823    # assumed that no part of a normal pathname contains ";" but that should
11824    # okay in the real world where ";" in dirpaths is itself problematic.
11825    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11826    ;;
11827  *)
11828    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11829    ;;
11830  esac
11831  # Ok, now we have the path, separated by spaces, we can step through it
11832  # and add multilib dir if necessary...
11833  lt_tmp_lt_search_path_spec=
11834  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11835  # ...but if some path component already ends with the multilib dir we assume
11836  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11837  case "$lt_multi_os_dir; $lt_search_path_spec " in
11838  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11839    lt_multi_os_dir=
11840    ;;
11841  esac
11842  for lt_sys_path in $lt_search_path_spec; do
11843    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11844      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11845    elif test -n "$lt_multi_os_dir"; then
11846      test -d "$lt_sys_path" && \
11847	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11848    fi
11849  done
11850  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11851BEGIN {RS = " "; FS = "/|\n";} {
11852  lt_foo = "";
11853  lt_count = 0;
11854  for (lt_i = NF; lt_i > 0; lt_i--) {
11855    if ($lt_i != "" && $lt_i != ".") {
11856      if ($lt_i == "..") {
11857        lt_count++;
11858      } else {
11859        if (lt_count == 0) {
11860          lt_foo = "/" $lt_i lt_foo;
11861        } else {
11862          lt_count--;
11863        }
11864      }
11865    }
11866  }
11867  if (lt_foo != "") { lt_freq[lt_foo]++; }
11868  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11869}'`
11870  # AWK program above erroneously prepends '/' to C:/dos/paths
11871  # for these hosts.
11872  case $host_os in
11873    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11874      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11875  esac
11876  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11877else
11878  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11879fi
11880library_names_spec=
11881libname_spec='lib$name'
11882soname_spec=
11883shrext_cmds=.so
11884postinstall_cmds=
11885postuninstall_cmds=
11886finish_cmds=
11887finish_eval=
11888shlibpath_var=
11889shlibpath_overrides_runpath=unknown
11890version_type=none
11891dynamic_linker="$host_os ld.so"
11892sys_lib_dlsearch_path_spec="/lib /usr/lib"
11893need_lib_prefix=unknown
11894hardcode_into_libs=no
11895
11896# when you set need_version to no, make sure it does not cause -set_version
11897# flags to be left without arguments
11898need_version=unknown
11899
11900
11901
11902case $host_os in
11903aix3*)
11904  version_type=linux # correct to gnu/linux during the next big refactor
11905  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11906  shlibpath_var=LIBPATH
11907
11908  # AIX 3 has no versioning support, so we append a major version to the name.
11909  soname_spec='$libname$release$shared_ext$major'
11910  ;;
11911
11912aix[4-9]*)
11913  version_type=linux # correct to gnu/linux during the next big refactor
11914  need_lib_prefix=no
11915  need_version=no
11916  hardcode_into_libs=yes
11917  if test ia64 = "$host_cpu"; then
11918    # AIX 5 supports IA64
11919    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11920    shlibpath_var=LD_LIBRARY_PATH
11921  else
11922    # With GCC up to 2.95.x, collect2 would create an import file
11923    # for dependence libraries.  The import file would start with
11924    # the line '#! .'.  This would cause the generated library to
11925    # depend on '.', always an invalid library.  This was fixed in
11926    # development snapshots of GCC prior to 3.0.
11927    case $host_os in
11928      aix4 | aix4.[01] | aix4.[01].*)
11929      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11930	   echo ' yes '
11931	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11932	:
11933      else
11934	can_build_shared=no
11935      fi
11936      ;;
11937    esac
11938    # Using Import Files as archive members, it is possible to support
11939    # filename-based versioning of shared library archives on AIX. While
11940    # this would work for both with and without runtime linking, it will
11941    # prevent static linking of such archives. So we do filename-based
11942    # shared library versioning with .so extension only, which is used
11943    # when both runtime linking and shared linking is enabled.
11944    # Unfortunately, runtime linking may impact performance, so we do
11945    # not want this to be the default eventually. Also, we use the
11946    # versioned .so libs for executables only if there is the -brtl
11947    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11948    # To allow for filename-based versioning support, we need to create
11949    # libNAME.so.V as an archive file, containing:
11950    # *) an Import File, referring to the versioned filename of the
11951    #    archive as well as the shared archive member, telling the
11952    #    bitwidth (32 or 64) of that shared object, and providing the
11953    #    list of exported symbols of that shared object, eventually
11954    #    decorated with the 'weak' keyword
11955    # *) the shared object with the F_LOADONLY flag set, to really avoid
11956    #    it being seen by the linker.
11957    # At run time we better use the real file rather than another symlink,
11958    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11959
11960    case $with_aix_soname,$aix_use_runtimelinking in
11961    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11962    # soname into executable. Probably we can add versioning support to
11963    # collect2, so additional links can be useful in future.
11964    aix,yes) # traditional libtool
11965      dynamic_linker='AIX unversionable lib.so'
11966      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11967      # instead of lib<name>.a to let people know that these are not
11968      # typical AIX shared libraries.
11969      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11970      ;;
11971    aix,no) # traditional AIX only
11972      dynamic_linker='AIX lib.a(lib.so.V)'
11973      # We preserve .a as extension for shared libraries through AIX4.2
11974      # and later when we are not doing run time linking.
11975      library_names_spec='$libname$release.a $libname.a'
11976      soname_spec='$libname$release$shared_ext$major'
11977      ;;
11978    svr4,*) # full svr4 only
11979      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11980      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11981      # We do not specify a path in Import Files, so LIBPATH fires.
11982      shlibpath_overrides_runpath=yes
11983      ;;
11984    *,yes) # both, prefer svr4
11985      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11986      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11987      # unpreferred sharedlib libNAME.a needs extra handling
11988      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"'
11989      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"'
11990      # We do not specify a path in Import Files, so LIBPATH fires.
11991      shlibpath_overrides_runpath=yes
11992      ;;
11993    *,no) # both, prefer aix
11994      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11995      library_names_spec='$libname$release.a $libname.a'
11996      soname_spec='$libname$release$shared_ext$major'
11997      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11998      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)'
11999      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"'
12000      ;;
12001    esac
12002    shlibpath_var=LIBPATH
12003  fi
12004  ;;
12005
12006amigaos*)
12007  case $host_cpu in
12008  powerpc)
12009    # Since July 2007 AmigaOS4 officially supports .so libraries.
12010    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12011    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12012    ;;
12013  m68k)
12014    library_names_spec='$libname.ixlibrary $libname.a'
12015    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12016    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'
12017    ;;
12018  esac
12019  ;;
12020
12021beos*)
12022  library_names_spec='$libname$shared_ext'
12023  dynamic_linker="$host_os ld.so"
12024  shlibpath_var=LIBRARY_PATH
12025  ;;
12026
12027bsdi[45]*)
12028  version_type=linux # correct to gnu/linux during the next big refactor
12029  need_version=no
12030  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12031  soname_spec='$libname$release$shared_ext$major'
12032  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12033  shlibpath_var=LD_LIBRARY_PATH
12034  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12035  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12036  # the default ld.so.conf also contains /usr/contrib/lib and
12037  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12038  # libtool to hard-code these into programs
12039  ;;
12040
12041cygwin* | mingw* | pw32* | cegcc*)
12042  version_type=windows
12043  shrext_cmds=.dll
12044  need_version=no
12045  need_lib_prefix=no
12046
12047  case $GCC,$cc_basename in
12048  yes,*)
12049    # gcc
12050    library_names_spec='$libname.dll.a'
12051    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12052    postinstall_cmds='base_file=`basename \$file`~
12053      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12054      dldir=$destdir/`dirname \$dlpath`~
12055      test -d \$dldir || mkdir -p \$dldir~
12056      $install_prog $dir/$dlname \$dldir/$dlname~
12057      chmod a+x \$dldir/$dlname~
12058      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12059        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12060      fi'
12061    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12062      dlpath=$dir/\$dldll~
12063       $RM \$dlpath'
12064    shlibpath_overrides_runpath=yes
12065
12066    case $host_os in
12067    cygwin*)
12068      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12069      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12070
12071      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12072      ;;
12073    mingw* | cegcc*)
12074      # MinGW DLLs use traditional 'lib' prefix
12075      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12076      ;;
12077    pw32*)
12078      # pw32 DLLs use 'pw' prefix rather than 'lib'
12079      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12080      ;;
12081    esac
12082    dynamic_linker='Win32 ld.exe'
12083    ;;
12084
12085  *,cl*)
12086    # Native MSVC
12087    libname_spec='$name'
12088    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12089    library_names_spec='$libname.dll.lib'
12090
12091    case $build_os in
12092    mingw*)
12093      sys_lib_search_path_spec=
12094      lt_save_ifs=$IFS
12095      IFS=';'
12096      for lt_path in $LIB
12097      do
12098        IFS=$lt_save_ifs
12099        # Let DOS variable expansion print the short 8.3 style file name.
12100        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12101        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12102      done
12103      IFS=$lt_save_ifs
12104      # Convert to MSYS style.
12105      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12106      ;;
12107    cygwin*)
12108      # Convert to unix form, then to dos form, then back to unix form
12109      # but this time dos style (no spaces!) so that the unix form looks
12110      # like /cygdrive/c/PROGRA~1:/cygdr...
12111      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12112      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12113      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12114      ;;
12115    *)
12116      sys_lib_search_path_spec=$LIB
12117      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12118        # It is most probably a Windows format PATH.
12119        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12120      else
12121        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12122      fi
12123      # FIXME: find the short name or the path components, as spaces are
12124      # common. (e.g. "Program Files" -> "PROGRA~1")
12125      ;;
12126    esac
12127
12128    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12129    postinstall_cmds='base_file=`basename \$file`~
12130      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12131      dldir=$destdir/`dirname \$dlpath`~
12132      test -d \$dldir || mkdir -p \$dldir~
12133      $install_prog $dir/$dlname \$dldir/$dlname'
12134    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12135      dlpath=$dir/\$dldll~
12136       $RM \$dlpath'
12137    shlibpath_overrides_runpath=yes
12138    dynamic_linker='Win32 link.exe'
12139    ;;
12140
12141  *)
12142    # Assume MSVC wrapper
12143    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12144    dynamic_linker='Win32 ld.exe'
12145    ;;
12146  esac
12147  # FIXME: first we should search . and the directory the executable is in
12148  shlibpath_var=PATH
12149  ;;
12150
12151darwin* | rhapsody*)
12152  dynamic_linker="$host_os dyld"
12153  version_type=darwin
12154  need_lib_prefix=no
12155  need_version=no
12156  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12157  soname_spec='$libname$release$major$shared_ext'
12158  shlibpath_overrides_runpath=yes
12159  shlibpath_var=DYLD_LIBRARY_PATH
12160  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12161
12162  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12163  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12164  ;;
12165
12166dgux*)
12167  version_type=linux # correct to gnu/linux during the next big refactor
12168  need_lib_prefix=no
12169  need_version=no
12170  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12171  soname_spec='$libname$release$shared_ext$major'
12172  shlibpath_var=LD_LIBRARY_PATH
12173  ;;
12174
12175freebsd* | dragonfly*)
12176  # DragonFly does not have aout.  When/if they implement a new
12177  # versioning mechanism, adjust this.
12178  if test -x /usr/bin/objformat; then
12179    objformat=`/usr/bin/objformat`
12180  else
12181    case $host_os in
12182    freebsd[23].*) objformat=aout ;;
12183    *) objformat=elf ;;
12184    esac
12185  fi
12186  version_type=freebsd-$objformat
12187  case $version_type in
12188    freebsd-elf*)
12189      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12190      soname_spec='$libname$release$shared_ext$major'
12191      need_version=no
12192      need_lib_prefix=no
12193      ;;
12194    freebsd-*)
12195      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12196      need_version=yes
12197      ;;
12198  esac
12199  shlibpath_var=LD_LIBRARY_PATH
12200  case $host_os in
12201  freebsd2.*)
12202    shlibpath_overrides_runpath=yes
12203    ;;
12204  freebsd3.[01]* | freebsdelf3.[01]*)
12205    shlibpath_overrides_runpath=yes
12206    hardcode_into_libs=yes
12207    ;;
12208  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12209  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12210    shlibpath_overrides_runpath=no
12211    hardcode_into_libs=yes
12212    ;;
12213  *) # from 4.6 on, and DragonFly
12214    shlibpath_overrides_runpath=yes
12215    hardcode_into_libs=yes
12216    ;;
12217  esac
12218  ;;
12219
12220haiku*)
12221  version_type=linux # correct to gnu/linux during the next big refactor
12222  need_lib_prefix=no
12223  need_version=no
12224  dynamic_linker="$host_os runtime_loader"
12225  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12226  soname_spec='$libname$release$shared_ext$major'
12227  shlibpath_var=LIBRARY_PATH
12228  shlibpath_overrides_runpath=no
12229  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12230  hardcode_into_libs=yes
12231  ;;
12232
12233hpux9* | hpux10* | hpux11*)
12234  # Give a soname corresponding to the major version so that dld.sl refuses to
12235  # link against other versions.
12236  version_type=sunos
12237  need_lib_prefix=no
12238  need_version=no
12239  case $host_cpu in
12240  ia64*)
12241    shrext_cmds='.so'
12242    hardcode_into_libs=yes
12243    dynamic_linker="$host_os dld.so"
12244    shlibpath_var=LD_LIBRARY_PATH
12245    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12246    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12247    soname_spec='$libname$release$shared_ext$major'
12248    if test 32 = "$HPUX_IA64_MODE"; then
12249      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12250      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12251    else
12252      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12253      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12254    fi
12255    ;;
12256  hppa*64*)
12257    shrext_cmds='.sl'
12258    hardcode_into_libs=yes
12259    dynamic_linker="$host_os dld.sl"
12260    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12261    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12262    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12263    soname_spec='$libname$release$shared_ext$major'
12264    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12265    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12266    ;;
12267  *)
12268    shrext_cmds='.sl'
12269    dynamic_linker="$host_os dld.sl"
12270    shlibpath_var=SHLIB_PATH
12271    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12272    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12273    soname_spec='$libname$release$shared_ext$major'
12274    ;;
12275  esac
12276  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12277  postinstall_cmds='chmod 555 $lib'
12278  # or fails outright, so override atomically:
12279  install_override_mode=555
12280  ;;
12281
12282interix[3-9]*)
12283  version_type=linux # correct to gnu/linux during the next big refactor
12284  need_lib_prefix=no
12285  need_version=no
12286  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12287  soname_spec='$libname$release$shared_ext$major'
12288  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12289  shlibpath_var=LD_LIBRARY_PATH
12290  shlibpath_overrides_runpath=no
12291  hardcode_into_libs=yes
12292  ;;
12293
12294irix5* | irix6* | nonstopux*)
12295  case $host_os in
12296    nonstopux*) version_type=nonstopux ;;
12297    *)
12298	if test yes = "$lt_cv_prog_gnu_ld"; then
12299		version_type=linux # correct to gnu/linux during the next big refactor
12300	else
12301		version_type=irix
12302	fi ;;
12303  esac
12304  need_lib_prefix=no
12305  need_version=no
12306  soname_spec='$libname$release$shared_ext$major'
12307  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12308  case $host_os in
12309  irix5* | nonstopux*)
12310    libsuff= shlibsuff=
12311    ;;
12312  *)
12313    case $LD in # libtool.m4 will add one of these switches to LD
12314    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12315      libsuff= shlibsuff= libmagic=32-bit;;
12316    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12317      libsuff=32 shlibsuff=N32 libmagic=N32;;
12318    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12319      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12320    *) libsuff= shlibsuff= libmagic=never-match;;
12321    esac
12322    ;;
12323  esac
12324  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12325  shlibpath_overrides_runpath=no
12326  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12327  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12328  hardcode_into_libs=yes
12329  ;;
12330
12331# No shared lib support for Linux oldld, aout, or coff.
12332linux*oldld* | linux*aout* | linux*coff*)
12333  dynamic_linker=no
12334  ;;
12335
12336linux*android*)
12337  version_type=none # Android doesn't support versioned libraries.
12338  need_lib_prefix=no
12339  need_version=no
12340  library_names_spec='$libname$release$shared_ext'
12341  soname_spec='$libname$release$shared_ext'
12342  finish_cmds=
12343  shlibpath_var=LD_LIBRARY_PATH
12344  shlibpath_overrides_runpath=yes
12345
12346  # This implies no fast_install, which is unacceptable.
12347  # Some rework will be needed to allow for fast_install
12348  # before this can be enabled.
12349  hardcode_into_libs=yes
12350
12351  dynamic_linker='Android linker'
12352  # Don't embed -rpath directories since the linker doesn't support them.
12353  hardcode_libdir_flag_spec='-L$libdir'
12354  ;;
12355
12356# This must be glibc/ELF.
12357linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12358  version_type=linux # correct to gnu/linux during the next big refactor
12359  need_lib_prefix=no
12360  need_version=no
12361  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12362  soname_spec='$libname$release$shared_ext$major'
12363  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12364  shlibpath_var=LD_LIBRARY_PATH
12365  shlibpath_overrides_runpath=no
12366
12367  # Some binutils ld are patched to set DT_RUNPATH
12368  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12369  $as_echo_n "(cached) " >&6
12370else
12371  lt_cv_shlibpath_overrides_runpath=no
12372    save_LDFLAGS=$LDFLAGS
12373    save_libdir=$libdir
12374    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12375	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12376    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377/* end confdefs.h.  */
12378
12379int
12380main ()
12381{
12382
12383  ;
12384  return 0;
12385}
12386_ACEOF
12387if ac_fn_c_try_link "$LINENO"; then :
12388  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12389  lt_cv_shlibpath_overrides_runpath=yes
12390fi
12391fi
12392rm -f core conftest.err conftest.$ac_objext \
12393    conftest$ac_exeext conftest.$ac_ext
12394    LDFLAGS=$save_LDFLAGS
12395    libdir=$save_libdir
12396
12397fi
12398
12399  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12400
12401  # This implies no fast_install, which is unacceptable.
12402  # Some rework will be needed to allow for fast_install
12403  # before this can be enabled.
12404  hardcode_into_libs=yes
12405
12406  # Ideally, we could use ldconfig to report *all* directores which are
12407  # searched for libraries, however this is still not possible.  Aside from not
12408  # being certain /sbin/ldconfig is available, command
12409  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12410  # even though it is searched at run-time.  Try to do the best guess by
12411  # appending ld.so.conf contents (and includes) to the search path.
12412  if test -f /etc/ld.so.conf; then
12413    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' ' '`
12414    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12415  fi
12416
12417  # We used to test for /lib/ld.so.1 and disable shared libraries on
12418  # powerpc, because MkLinux only supported shared libraries with the
12419  # GNU dynamic linker.  Since this was broken with cross compilers,
12420  # most powerpc-linux boxes support dynamic linking these days and
12421  # people can always --disable-shared, the test was removed, and we
12422  # assume the GNU/Linux dynamic linker is in use.
12423  dynamic_linker='GNU/Linux ld.so'
12424  ;;
12425
12426netbsdelf*-gnu)
12427  version_type=linux
12428  need_lib_prefix=no
12429  need_version=no
12430  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12431  soname_spec='${libname}${release}${shared_ext}$major'
12432  shlibpath_var=LD_LIBRARY_PATH
12433  shlibpath_overrides_runpath=no
12434  hardcode_into_libs=yes
12435  dynamic_linker='NetBSD ld.elf_so'
12436  ;;
12437
12438netbsd*)
12439  version_type=sunos
12440  need_lib_prefix=no
12441  need_version=no
12442  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12443    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12444    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12445    dynamic_linker='NetBSD (a.out) ld.so'
12446  else
12447    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12448    soname_spec='$libname$release$shared_ext$major'
12449    dynamic_linker='NetBSD ld.elf_so'
12450  fi
12451  shlibpath_var=LD_LIBRARY_PATH
12452  shlibpath_overrides_runpath=yes
12453  hardcode_into_libs=yes
12454  ;;
12455
12456newsos6)
12457  version_type=linux # correct to gnu/linux during the next big refactor
12458  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12459  shlibpath_var=LD_LIBRARY_PATH
12460  shlibpath_overrides_runpath=yes
12461  ;;
12462
12463*nto* | *qnx*)
12464  version_type=qnx
12465  need_lib_prefix=no
12466  need_version=no
12467  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12468  soname_spec='$libname$release$shared_ext$major'
12469  shlibpath_var=LD_LIBRARY_PATH
12470  shlibpath_overrides_runpath=no
12471  hardcode_into_libs=yes
12472  dynamic_linker='ldqnx.so'
12473  ;;
12474
12475openbsd* | bitrig*)
12476  version_type=sunos
12477  sys_lib_dlsearch_path_spec=/usr/lib
12478  need_lib_prefix=no
12479  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12480    need_version=no
12481  else
12482    need_version=yes
12483  fi
12484  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12485  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12486  shlibpath_var=LD_LIBRARY_PATH
12487  shlibpath_overrides_runpath=yes
12488  ;;
12489
12490os2*)
12491  libname_spec='$name'
12492  version_type=windows
12493  shrext_cmds=.dll
12494  need_version=no
12495  need_lib_prefix=no
12496  # OS/2 can only load a DLL with a base name of 8 characters or less.
12497  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12498    v=$($ECHO $release$versuffix | tr -d .-);
12499    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12500    $ECHO $n$v`$shared_ext'
12501  library_names_spec='${libname}_dll.$libext'
12502  dynamic_linker='OS/2 ld.exe'
12503  shlibpath_var=BEGINLIBPATH
12504  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12505  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12506  postinstall_cmds='base_file=`basename \$file`~
12507    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12508    dldir=$destdir/`dirname \$dlpath`~
12509    test -d \$dldir || mkdir -p \$dldir~
12510    $install_prog $dir/$dlname \$dldir/$dlname~
12511    chmod a+x \$dldir/$dlname~
12512    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12513      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12514    fi'
12515  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12516    dlpath=$dir/\$dldll~
12517    $RM \$dlpath'
12518  ;;
12519
12520osf3* | osf4* | osf5*)
12521  version_type=osf
12522  need_lib_prefix=no
12523  need_version=no
12524  soname_spec='$libname$release$shared_ext$major'
12525  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12526  shlibpath_var=LD_LIBRARY_PATH
12527  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12528  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12529  ;;
12530
12531rdos*)
12532  dynamic_linker=no
12533  ;;
12534
12535solaris*)
12536  version_type=linux # correct to gnu/linux during the next big refactor
12537  need_lib_prefix=no
12538  need_version=no
12539  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12540  soname_spec='$libname$release$shared_ext$major'
12541  shlibpath_var=LD_LIBRARY_PATH
12542  shlibpath_overrides_runpath=yes
12543  hardcode_into_libs=yes
12544  # ldd complains unless libraries are executable
12545  postinstall_cmds='chmod +x $lib'
12546  ;;
12547
12548sunos4*)
12549  version_type=sunos
12550  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12551  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12552  shlibpath_var=LD_LIBRARY_PATH
12553  shlibpath_overrides_runpath=yes
12554  if test yes = "$with_gnu_ld"; then
12555    need_lib_prefix=no
12556  fi
12557  need_version=yes
12558  ;;
12559
12560sysv4 | sysv4.3*)
12561  version_type=linux # correct to gnu/linux during the next big refactor
12562  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12563  soname_spec='$libname$release$shared_ext$major'
12564  shlibpath_var=LD_LIBRARY_PATH
12565  case $host_vendor in
12566    sni)
12567      shlibpath_overrides_runpath=no
12568      need_lib_prefix=no
12569      runpath_var=LD_RUN_PATH
12570      ;;
12571    siemens)
12572      need_lib_prefix=no
12573      ;;
12574    motorola)
12575      need_lib_prefix=no
12576      need_version=no
12577      shlibpath_overrides_runpath=no
12578      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12579      ;;
12580  esac
12581  ;;
12582
12583sysv4*MP*)
12584  if test -d /usr/nec; then
12585    version_type=linux # correct to gnu/linux during the next big refactor
12586    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12587    soname_spec='$libname$shared_ext.$major'
12588    shlibpath_var=LD_LIBRARY_PATH
12589  fi
12590  ;;
12591
12592sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12593  version_type=sco
12594  need_lib_prefix=no
12595  need_version=no
12596  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12597  soname_spec='$libname$release$shared_ext$major'
12598  shlibpath_var=LD_LIBRARY_PATH
12599  shlibpath_overrides_runpath=yes
12600  hardcode_into_libs=yes
12601  if test yes = "$with_gnu_ld"; then
12602    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12603  else
12604    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12605    case $host_os in
12606      sco3.2v5*)
12607        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12608	;;
12609    esac
12610  fi
12611  sys_lib_dlsearch_path_spec='/usr/lib'
12612  ;;
12613
12614tpf*)
12615  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12616  version_type=linux # correct to gnu/linux during the next big refactor
12617  need_lib_prefix=no
12618  need_version=no
12619  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12620  shlibpath_var=LD_LIBRARY_PATH
12621  shlibpath_overrides_runpath=no
12622  hardcode_into_libs=yes
12623  ;;
12624
12625uts4*)
12626  version_type=linux # correct to gnu/linux during the next big refactor
12627  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12628  soname_spec='$libname$release$shared_ext$major'
12629  shlibpath_var=LD_LIBRARY_PATH
12630  ;;
12631
12632*)
12633  dynamic_linker=no
12634  ;;
12635esac
12636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12637$as_echo "$dynamic_linker" >&6; }
12638test no = "$dynamic_linker" && can_build_shared=no
12639
12640variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12641if test yes = "$GCC"; then
12642  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12643fi
12644
12645if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12646  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12647fi
12648
12649if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12650  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12651fi
12652
12653# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12654configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12655
12656# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12657func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12658
12659# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12660configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12759$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12760hardcode_action=
12761if test -n "$hardcode_libdir_flag_spec" ||
12762   test -n "$runpath_var" ||
12763   test yes = "$hardcode_automatic"; then
12764
12765  # We can hardcode non-existent directories.
12766  if test no != "$hardcode_direct" &&
12767     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12768     # have to relink, otherwise we might link with an installed library
12769     # when we should be linking with a yet-to-be-installed one
12770     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12771     test no != "$hardcode_minus_L"; then
12772    # Linking always hardcodes the temporary library directory.
12773    hardcode_action=relink
12774  else
12775    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12776    hardcode_action=immediate
12777  fi
12778else
12779  # We cannot hardcode anything, or else we can only hardcode existing
12780  # directories.
12781  hardcode_action=unsupported
12782fi
12783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12784$as_echo "$hardcode_action" >&6; }
12785
12786if test relink = "$hardcode_action" ||
12787   test yes = "$inherit_rpath"; then
12788  # Fast installation is not supported
12789  enable_fast_install=no
12790elif test yes = "$shlibpath_overrides_runpath" ||
12791     test no = "$enable_shared"; then
12792  # Fast installation is not necessary
12793  enable_fast_install=needless
12794fi
12795
12796
12797
12798
12799
12800
12801  if test yes != "$enable_dlopen"; then
12802  enable_dlopen=unknown
12803  enable_dlopen_self=unknown
12804  enable_dlopen_self_static=unknown
12805else
12806  lt_cv_dlopen=no
12807  lt_cv_dlopen_libs=
12808
12809  case $host_os in
12810  beos*)
12811    lt_cv_dlopen=load_add_on
12812    lt_cv_dlopen_libs=
12813    lt_cv_dlopen_self=yes
12814    ;;
12815
12816  mingw* | pw32* | cegcc*)
12817    lt_cv_dlopen=LoadLibrary
12818    lt_cv_dlopen_libs=
12819    ;;
12820
12821  cygwin*)
12822    lt_cv_dlopen=dlopen
12823    lt_cv_dlopen_libs=
12824    ;;
12825
12826  darwin*)
12827    # if libdl is installed we need to link against it
12828    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12829$as_echo_n "checking for dlopen in -ldl... " >&6; }
12830if ${ac_cv_lib_dl_dlopen+:} false; then :
12831  $as_echo_n "(cached) " >&6
12832else
12833  ac_check_lib_save_LIBS=$LIBS
12834LIBS="-ldl  $LIBS"
12835cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836/* end confdefs.h.  */
12837
12838/* Override any GCC internal prototype to avoid an error.
12839   Use char because int might match the return type of a GCC
12840   builtin and then its argument prototype would still apply.  */
12841#ifdef __cplusplus
12842extern "C"
12843#endif
12844char dlopen ();
12845int
12846main ()
12847{
12848return dlopen ();
12849  ;
12850  return 0;
12851}
12852_ACEOF
12853if ac_fn_c_try_link "$LINENO"; then :
12854  ac_cv_lib_dl_dlopen=yes
12855else
12856  ac_cv_lib_dl_dlopen=no
12857fi
12858rm -f core conftest.err conftest.$ac_objext \
12859    conftest$ac_exeext conftest.$ac_ext
12860LIBS=$ac_check_lib_save_LIBS
12861fi
12862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12863$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12864if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12865  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12866else
12867
12868    lt_cv_dlopen=dyld
12869    lt_cv_dlopen_libs=
12870    lt_cv_dlopen_self=yes
12871
12872fi
12873
12874    ;;
12875
12876  tpf*)
12877    # Don't try to run any link tests for TPF.  We know it's impossible
12878    # because TPF is a cross-compiler, and we know how we open DSOs.
12879    lt_cv_dlopen=dlopen
12880    lt_cv_dlopen_libs=
12881    lt_cv_dlopen_self=no
12882    ;;
12883
12884  *)
12885    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12886if test "x$ac_cv_func_shl_load" = xyes; then :
12887  lt_cv_dlopen=shl_load
12888else
12889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12890$as_echo_n "checking for shl_load in -ldld... " >&6; }
12891if ${ac_cv_lib_dld_shl_load+:} false; then :
12892  $as_echo_n "(cached) " >&6
12893else
12894  ac_check_lib_save_LIBS=$LIBS
12895LIBS="-ldld  $LIBS"
12896cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12897/* end confdefs.h.  */
12898
12899/* Override any GCC internal prototype to avoid an error.
12900   Use char because int might match the return type of a GCC
12901   builtin and then its argument prototype would still apply.  */
12902#ifdef __cplusplus
12903extern "C"
12904#endif
12905char shl_load ();
12906int
12907main ()
12908{
12909return shl_load ();
12910  ;
12911  return 0;
12912}
12913_ACEOF
12914if ac_fn_c_try_link "$LINENO"; then :
12915  ac_cv_lib_dld_shl_load=yes
12916else
12917  ac_cv_lib_dld_shl_load=no
12918fi
12919rm -f core conftest.err conftest.$ac_objext \
12920    conftest$ac_exeext conftest.$ac_ext
12921LIBS=$ac_check_lib_save_LIBS
12922fi
12923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12924$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12925if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12926  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12927else
12928  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12929if test "x$ac_cv_func_dlopen" = xyes; then :
12930  lt_cv_dlopen=dlopen
12931else
12932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12933$as_echo_n "checking for dlopen in -ldl... " >&6; }
12934if ${ac_cv_lib_dl_dlopen+:} false; then :
12935  $as_echo_n "(cached) " >&6
12936else
12937  ac_check_lib_save_LIBS=$LIBS
12938LIBS="-ldl  $LIBS"
12939cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940/* end confdefs.h.  */
12941
12942/* Override any GCC internal prototype to avoid an error.
12943   Use char because int might match the return type of a GCC
12944   builtin and then its argument prototype would still apply.  */
12945#ifdef __cplusplus
12946extern "C"
12947#endif
12948char dlopen ();
12949int
12950main ()
12951{
12952return dlopen ();
12953  ;
12954  return 0;
12955}
12956_ACEOF
12957if ac_fn_c_try_link "$LINENO"; then :
12958  ac_cv_lib_dl_dlopen=yes
12959else
12960  ac_cv_lib_dl_dlopen=no
12961fi
12962rm -f core conftest.err conftest.$ac_objext \
12963    conftest$ac_exeext conftest.$ac_ext
12964LIBS=$ac_check_lib_save_LIBS
12965fi
12966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12967$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12968if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12969  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12970else
12971  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12972$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12973if ${ac_cv_lib_svld_dlopen+:} false; then :
12974  $as_echo_n "(cached) " >&6
12975else
12976  ac_check_lib_save_LIBS=$LIBS
12977LIBS="-lsvld  $LIBS"
12978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979/* end confdefs.h.  */
12980
12981/* Override any GCC internal prototype to avoid an error.
12982   Use char because int might match the return type of a GCC
12983   builtin and then its argument prototype would still apply.  */
12984#ifdef __cplusplus
12985extern "C"
12986#endif
12987char dlopen ();
12988int
12989main ()
12990{
12991return dlopen ();
12992  ;
12993  return 0;
12994}
12995_ACEOF
12996if ac_fn_c_try_link "$LINENO"; then :
12997  ac_cv_lib_svld_dlopen=yes
12998else
12999  ac_cv_lib_svld_dlopen=no
13000fi
13001rm -f core conftest.err conftest.$ac_objext \
13002    conftest$ac_exeext conftest.$ac_ext
13003LIBS=$ac_check_lib_save_LIBS
13004fi
13005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13006$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13007if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13008  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13009else
13010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13011$as_echo_n "checking for dld_link in -ldld... " >&6; }
13012if ${ac_cv_lib_dld_dld_link+:} false; then :
13013  $as_echo_n "(cached) " >&6
13014else
13015  ac_check_lib_save_LIBS=$LIBS
13016LIBS="-ldld  $LIBS"
13017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018/* end confdefs.h.  */
13019
13020/* Override any GCC internal prototype to avoid an error.
13021   Use char because int might match the return type of a GCC
13022   builtin and then its argument prototype would still apply.  */
13023#ifdef __cplusplus
13024extern "C"
13025#endif
13026char dld_link ();
13027int
13028main ()
13029{
13030return dld_link ();
13031  ;
13032  return 0;
13033}
13034_ACEOF
13035if ac_fn_c_try_link "$LINENO"; then :
13036  ac_cv_lib_dld_dld_link=yes
13037else
13038  ac_cv_lib_dld_dld_link=no
13039fi
13040rm -f core conftest.err conftest.$ac_objext \
13041    conftest$ac_exeext conftest.$ac_ext
13042LIBS=$ac_check_lib_save_LIBS
13043fi
13044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13045$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13046if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13047  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13048fi
13049
13050
13051fi
13052
13053
13054fi
13055
13056
13057fi
13058
13059
13060fi
13061
13062
13063fi
13064
13065    ;;
13066  esac
13067
13068  if test no = "$lt_cv_dlopen"; then
13069    enable_dlopen=no
13070  else
13071    enable_dlopen=yes
13072  fi
13073
13074  case $lt_cv_dlopen in
13075  dlopen)
13076    save_CPPFLAGS=$CPPFLAGS
13077    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13078
13079    save_LDFLAGS=$LDFLAGS
13080    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13081
13082    save_LIBS=$LIBS
13083    LIBS="$lt_cv_dlopen_libs $LIBS"
13084
13085    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13086$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13087if ${lt_cv_dlopen_self+:} false; then :
13088  $as_echo_n "(cached) " >&6
13089else
13090  	  if test yes = "$cross_compiling"; then :
13091  lt_cv_dlopen_self=cross
13092else
13093  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13094  lt_status=$lt_dlunknown
13095  cat > conftest.$ac_ext <<_LT_EOF
13096#line $LINENO "configure"
13097#include "confdefs.h"
13098
13099#if HAVE_DLFCN_H
13100#include <dlfcn.h>
13101#endif
13102
13103#include <stdio.h>
13104
13105#ifdef RTLD_GLOBAL
13106#  define LT_DLGLOBAL		RTLD_GLOBAL
13107#else
13108#  ifdef DL_GLOBAL
13109#    define LT_DLGLOBAL		DL_GLOBAL
13110#  else
13111#    define LT_DLGLOBAL		0
13112#  endif
13113#endif
13114
13115/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13116   find out it does not work in some platform. */
13117#ifndef LT_DLLAZY_OR_NOW
13118#  ifdef RTLD_LAZY
13119#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13120#  else
13121#    ifdef DL_LAZY
13122#      define LT_DLLAZY_OR_NOW		DL_LAZY
13123#    else
13124#      ifdef RTLD_NOW
13125#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13126#      else
13127#        ifdef DL_NOW
13128#          define LT_DLLAZY_OR_NOW	DL_NOW
13129#        else
13130#          define LT_DLLAZY_OR_NOW	0
13131#        endif
13132#      endif
13133#    endif
13134#  endif
13135#endif
13136
13137/* When -fvisibility=hidden is used, assume the code has been annotated
13138   correspondingly for the symbols needed.  */
13139#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13140int fnord () __attribute__((visibility("default")));
13141#endif
13142
13143int fnord () { return 42; }
13144int main ()
13145{
13146  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13147  int status = $lt_dlunknown;
13148
13149  if (self)
13150    {
13151      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13152      else
13153        {
13154	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13155          else puts (dlerror ());
13156	}
13157      /* dlclose (self); */
13158    }
13159  else
13160    puts (dlerror ());
13161
13162  return status;
13163}
13164_LT_EOF
13165  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13166  (eval $ac_link) 2>&5
13167  ac_status=$?
13168  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13169  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13170    (./conftest; exit; ) >&5 2>/dev/null
13171    lt_status=$?
13172    case x$lt_status in
13173      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13174      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13175      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13176    esac
13177  else :
13178    # compilation failed
13179    lt_cv_dlopen_self=no
13180  fi
13181fi
13182rm -fr conftest*
13183
13184
13185fi
13186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13187$as_echo "$lt_cv_dlopen_self" >&6; }
13188
13189    if test yes = "$lt_cv_dlopen_self"; then
13190      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13191      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13192$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13193if ${lt_cv_dlopen_self_static+:} false; then :
13194  $as_echo_n "(cached) " >&6
13195else
13196  	  if test yes = "$cross_compiling"; then :
13197  lt_cv_dlopen_self_static=cross
13198else
13199  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13200  lt_status=$lt_dlunknown
13201  cat > conftest.$ac_ext <<_LT_EOF
13202#line $LINENO "configure"
13203#include "confdefs.h"
13204
13205#if HAVE_DLFCN_H
13206#include <dlfcn.h>
13207#endif
13208
13209#include <stdio.h>
13210
13211#ifdef RTLD_GLOBAL
13212#  define LT_DLGLOBAL		RTLD_GLOBAL
13213#else
13214#  ifdef DL_GLOBAL
13215#    define LT_DLGLOBAL		DL_GLOBAL
13216#  else
13217#    define LT_DLGLOBAL		0
13218#  endif
13219#endif
13220
13221/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13222   find out it does not work in some platform. */
13223#ifndef LT_DLLAZY_OR_NOW
13224#  ifdef RTLD_LAZY
13225#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13226#  else
13227#    ifdef DL_LAZY
13228#      define LT_DLLAZY_OR_NOW		DL_LAZY
13229#    else
13230#      ifdef RTLD_NOW
13231#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13232#      else
13233#        ifdef DL_NOW
13234#          define LT_DLLAZY_OR_NOW	DL_NOW
13235#        else
13236#          define LT_DLLAZY_OR_NOW	0
13237#        endif
13238#      endif
13239#    endif
13240#  endif
13241#endif
13242
13243/* When -fvisibility=hidden is used, assume the code has been annotated
13244   correspondingly for the symbols needed.  */
13245#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13246int fnord () __attribute__((visibility("default")));
13247#endif
13248
13249int fnord () { return 42; }
13250int main ()
13251{
13252  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13253  int status = $lt_dlunknown;
13254
13255  if (self)
13256    {
13257      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13258      else
13259        {
13260	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13261          else puts (dlerror ());
13262	}
13263      /* dlclose (self); */
13264    }
13265  else
13266    puts (dlerror ());
13267
13268  return status;
13269}
13270_LT_EOF
13271  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13272  (eval $ac_link) 2>&5
13273  ac_status=$?
13274  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13275  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13276    (./conftest; exit; ) >&5 2>/dev/null
13277    lt_status=$?
13278    case x$lt_status in
13279      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13280      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13281      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13282    esac
13283  else :
13284    # compilation failed
13285    lt_cv_dlopen_self_static=no
13286  fi
13287fi
13288rm -fr conftest*
13289
13290
13291fi
13292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13293$as_echo "$lt_cv_dlopen_self_static" >&6; }
13294    fi
13295
13296    CPPFLAGS=$save_CPPFLAGS
13297    LDFLAGS=$save_LDFLAGS
13298    LIBS=$save_LIBS
13299    ;;
13300  esac
13301
13302  case $lt_cv_dlopen_self in
13303  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13304  *) enable_dlopen_self=unknown ;;
13305  esac
13306
13307  case $lt_cv_dlopen_self_static in
13308  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13309  *) enable_dlopen_self_static=unknown ;;
13310  esac
13311fi
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329striplib=
13330old_striplib=
13331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13332$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13333if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13334  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13335  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13337$as_echo "yes" >&6; }
13338else
13339# FIXME - insert some real tests, host_os isn't really good enough
13340  case $host_os in
13341  darwin*)
13342    if test -n "$STRIP"; then
13343      striplib="$STRIP -x"
13344      old_striplib="$STRIP -S"
13345      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13346$as_echo "yes" >&6; }
13347    else
13348      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13349$as_echo "no" >&6; }
13350    fi
13351    ;;
13352  *)
13353    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13354$as_echo "no" >&6; }
13355    ;;
13356  esac
13357fi
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370  # Report what library types will actually be built
13371  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13372$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13374$as_echo "$can_build_shared" >&6; }
13375
13376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13377$as_echo_n "checking whether to build shared libraries... " >&6; }
13378  test no = "$can_build_shared" && enable_shared=no
13379
13380  # On AIX, shared libraries and static libraries use the same namespace, and
13381  # are all built from PIC.
13382  case $host_os in
13383  aix3*)
13384    test yes = "$enable_shared" && enable_static=no
13385    if test -n "$RANLIB"; then
13386      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13387      postinstall_cmds='$RANLIB $lib'
13388    fi
13389    ;;
13390
13391  aix[4-9]*)
13392    if test ia64 != "$host_cpu"; then
13393      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13394      yes,aix,yes) ;;			# shared object as lib.so file only
13395      yes,svr4,*) ;;			# shared object as lib.so archive member only
13396      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13397      esac
13398    fi
13399    ;;
13400  esac
13401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13402$as_echo "$enable_shared" >&6; }
13403
13404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13405$as_echo_n "checking whether to build static libraries... " >&6; }
13406  # Make sure either enable_shared or enable_static is yes.
13407  test yes = "$enable_shared" || enable_static=yes
13408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13409$as_echo "$enable_static" >&6; }
13410
13411
13412
13413
13414fi
13415ac_ext=c
13416ac_cpp='$CPP $CPPFLAGS'
13417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419ac_compiler_gnu=$ac_cv_c_compiler_gnu
13420
13421CC=$lt_save_CC
13422
13423      if test -n "$CXX" && ( test no != "$CXX" &&
13424    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13425    (test g++ != "$CXX"))); then
13426  ac_ext=cpp
13427ac_cpp='$CXXCPP $CPPFLAGS'
13428ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13429ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13430ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13432$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13433if test -z "$CXXCPP"; then
13434  if ${ac_cv_prog_CXXCPP+:} false; then :
13435  $as_echo_n "(cached) " >&6
13436else
13437      # Double quotes because CXXCPP needs to be expanded
13438    for CXXCPP in "$CXX -E" "/lib/cpp"
13439    do
13440      ac_preproc_ok=false
13441for ac_cxx_preproc_warn_flag in '' yes
13442do
13443  # Use a header file that comes with gcc, so configuring glibc
13444  # with a fresh cross-compiler works.
13445  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13446  # <limits.h> exists even on freestanding compilers.
13447  # On the NeXT, cc -E runs the code through the compiler's parser,
13448  # not just through cpp. "Syntax error" is here to catch this case.
13449  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450/* end confdefs.h.  */
13451#ifdef __STDC__
13452# include <limits.h>
13453#else
13454# include <assert.h>
13455#endif
13456		     Syntax error
13457_ACEOF
13458if ac_fn_cxx_try_cpp "$LINENO"; then :
13459
13460else
13461  # Broken: fails on valid input.
13462continue
13463fi
13464rm -f conftest.err conftest.i conftest.$ac_ext
13465
13466  # OK, works on sane cases.  Now check whether nonexistent headers
13467  # can be detected and how.
13468  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13469/* end confdefs.h.  */
13470#include <ac_nonexistent.h>
13471_ACEOF
13472if ac_fn_cxx_try_cpp "$LINENO"; then :
13473  # Broken: success on invalid input.
13474continue
13475else
13476  # Passes both tests.
13477ac_preproc_ok=:
13478break
13479fi
13480rm -f conftest.err conftest.i conftest.$ac_ext
13481
13482done
13483# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13484rm -f conftest.i conftest.err conftest.$ac_ext
13485if $ac_preproc_ok; then :
13486  break
13487fi
13488
13489    done
13490    ac_cv_prog_CXXCPP=$CXXCPP
13491
13492fi
13493  CXXCPP=$ac_cv_prog_CXXCPP
13494else
13495  ac_cv_prog_CXXCPP=$CXXCPP
13496fi
13497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13498$as_echo "$CXXCPP" >&6; }
13499ac_preproc_ok=false
13500for ac_cxx_preproc_warn_flag in '' yes
13501do
13502  # Use a header file that comes with gcc, so configuring glibc
13503  # with a fresh cross-compiler works.
13504  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13505  # <limits.h> exists even on freestanding compilers.
13506  # On the NeXT, cc -E runs the code through the compiler's parser,
13507  # not just through cpp. "Syntax error" is here to catch this case.
13508  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509/* end confdefs.h.  */
13510#ifdef __STDC__
13511# include <limits.h>
13512#else
13513# include <assert.h>
13514#endif
13515		     Syntax error
13516_ACEOF
13517if ac_fn_cxx_try_cpp "$LINENO"; then :
13518
13519else
13520  # Broken: fails on valid input.
13521continue
13522fi
13523rm -f conftest.err conftest.i conftest.$ac_ext
13524
13525  # OK, works on sane cases.  Now check whether nonexistent headers
13526  # can be detected and how.
13527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528/* end confdefs.h.  */
13529#include <ac_nonexistent.h>
13530_ACEOF
13531if ac_fn_cxx_try_cpp "$LINENO"; then :
13532  # Broken: success on invalid input.
13533continue
13534else
13535  # Passes both tests.
13536ac_preproc_ok=:
13537break
13538fi
13539rm -f conftest.err conftest.i conftest.$ac_ext
13540
13541done
13542# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13543rm -f conftest.i conftest.err conftest.$ac_ext
13544if $ac_preproc_ok; then :
13545
13546else
13547  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13548$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13549as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13550See \`config.log' for more details" "$LINENO" 5; }
13551fi
13552
13553ac_ext=c
13554ac_cpp='$CPP $CPPFLAGS'
13555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13557ac_compiler_gnu=$ac_cv_c_compiler_gnu
13558
13559else
13560  _lt_caught_CXX_error=yes
13561fi
13562
13563ac_ext=cpp
13564ac_cpp='$CXXCPP $CPPFLAGS'
13565ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13566ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13567ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13568
13569archive_cmds_need_lc_CXX=no
13570allow_undefined_flag_CXX=
13571always_export_symbols_CXX=no
13572archive_expsym_cmds_CXX=
13573compiler_needs_object_CXX=no
13574export_dynamic_flag_spec_CXX=
13575hardcode_direct_CXX=no
13576hardcode_direct_absolute_CXX=no
13577hardcode_libdir_flag_spec_CXX=
13578hardcode_libdir_separator_CXX=
13579hardcode_minus_L_CXX=no
13580hardcode_shlibpath_var_CXX=unsupported
13581hardcode_automatic_CXX=no
13582inherit_rpath_CXX=no
13583module_cmds_CXX=
13584module_expsym_cmds_CXX=
13585link_all_deplibs_CXX=unknown
13586old_archive_cmds_CXX=$old_archive_cmds
13587reload_flag_CXX=$reload_flag
13588reload_cmds_CXX=$reload_cmds
13589no_undefined_flag_CXX=
13590whole_archive_flag_spec_CXX=
13591enable_shared_with_static_runtimes_CXX=no
13592
13593# Source file extension for C++ test sources.
13594ac_ext=cpp
13595
13596# Object file extension for compiled C++ test sources.
13597objext=o
13598objext_CXX=$objext
13599
13600# No sense in running all these tests if we already determined that
13601# the CXX compiler isn't working.  Some variables (like enable_shared)
13602# are currently assumed to apply to all compilers on this platform,
13603# and will be corrupted by setting them based on a non-working compiler.
13604if test yes != "$_lt_caught_CXX_error"; then
13605  # Code to be used in simple compile tests
13606  lt_simple_compile_test_code="int some_variable = 0;"
13607
13608  # Code to be used in simple link tests
13609  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13610
13611  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13612
13613
13614
13615
13616
13617
13618# If no C compiler was specified, use CC.
13619LTCC=${LTCC-"$CC"}
13620
13621# If no C compiler flags were specified, use CFLAGS.
13622LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13623
13624# Allow CC to be a program name with arguments.
13625compiler=$CC
13626
13627
13628  # save warnings/boilerplate of simple test code
13629  ac_outfile=conftest.$ac_objext
13630echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13631eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13632_lt_compiler_boilerplate=`cat conftest.err`
13633$RM conftest*
13634
13635  ac_outfile=conftest.$ac_objext
13636echo "$lt_simple_link_test_code" >conftest.$ac_ext
13637eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13638_lt_linker_boilerplate=`cat conftest.err`
13639$RM -r conftest*
13640
13641
13642  # Allow CC to be a program name with arguments.
13643  lt_save_CC=$CC
13644  lt_save_CFLAGS=$CFLAGS
13645  lt_save_LD=$LD
13646  lt_save_GCC=$GCC
13647  GCC=$GXX
13648  lt_save_with_gnu_ld=$with_gnu_ld
13649  lt_save_path_LD=$lt_cv_path_LD
13650  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13651    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13652  else
13653    $as_unset lt_cv_prog_gnu_ld
13654  fi
13655  if test -n "${lt_cv_path_LDCXX+set}"; then
13656    lt_cv_path_LD=$lt_cv_path_LDCXX
13657  else
13658    $as_unset lt_cv_path_LD
13659  fi
13660  test -z "${LDCXX+set}" || LD=$LDCXX
13661  CC=${CXX-"c++"}
13662  CFLAGS=$CXXFLAGS
13663  compiler=$CC
13664  compiler_CXX=$CC
13665  func_cc_basename $compiler
13666cc_basename=$func_cc_basename_result
13667
13668
13669  if test -n "$compiler"; then
13670    # We don't want -fno-exception when compiling C++ code, so set the
13671    # no_builtin_flag separately
13672    if test yes = "$GXX"; then
13673      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13674    else
13675      lt_prog_compiler_no_builtin_flag_CXX=
13676    fi
13677
13678    if test yes = "$GXX"; then
13679      # Set up default GNU C++ configuration
13680
13681
13682
13683# Check whether --with-gnu-ld was given.
13684if test "${with_gnu_ld+set}" = set; then :
13685  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13686else
13687  with_gnu_ld=no
13688fi
13689
13690ac_prog=ld
13691if test yes = "$GCC"; then
13692  # Check if gcc -print-prog-name=ld gives a path.
13693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13694$as_echo_n "checking for ld used by $CC... " >&6; }
13695  case $host in
13696  *-*-mingw*)
13697    # gcc leaves a trailing carriage return, which upsets mingw
13698    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13699  *)
13700    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13701  esac
13702  case $ac_prog in
13703    # Accept absolute paths.
13704    [\\/]* | ?:[\\/]*)
13705      re_direlt='/[^/][^/]*/\.\./'
13706      # Canonicalize the pathname of ld
13707      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13708      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13709	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13710      done
13711      test -z "$LD" && LD=$ac_prog
13712      ;;
13713  "")
13714    # If it fails, then pretend we aren't using GCC.
13715    ac_prog=ld
13716    ;;
13717  *)
13718    # If it is relative, then search for the first ld in PATH.
13719    with_gnu_ld=unknown
13720    ;;
13721  esac
13722elif test yes = "$with_gnu_ld"; then
13723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13724$as_echo_n "checking for GNU ld... " >&6; }
13725else
13726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13727$as_echo_n "checking for non-GNU ld... " >&6; }
13728fi
13729if ${lt_cv_path_LD+:} false; then :
13730  $as_echo_n "(cached) " >&6
13731else
13732  if test -z "$LD"; then
13733  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13734  for ac_dir in $PATH; do
13735    IFS=$lt_save_ifs
13736    test -z "$ac_dir" && ac_dir=.
13737    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13738      lt_cv_path_LD=$ac_dir/$ac_prog
13739      # Check to see if the program is GNU ld.  I'd rather use --version,
13740      # but apparently some variants of GNU ld only accept -v.
13741      # Break only if it was the GNU/non-GNU ld that we prefer.
13742      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13743      *GNU* | *'with BFD'*)
13744	test no != "$with_gnu_ld" && break
13745	;;
13746      *)
13747	test yes != "$with_gnu_ld" && break
13748	;;
13749      esac
13750    fi
13751  done
13752  IFS=$lt_save_ifs
13753else
13754  lt_cv_path_LD=$LD # Let the user override the test with a path.
13755fi
13756fi
13757
13758LD=$lt_cv_path_LD
13759if test -n "$LD"; then
13760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13761$as_echo "$LD" >&6; }
13762else
13763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13764$as_echo "no" >&6; }
13765fi
13766test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13768$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13769if ${lt_cv_prog_gnu_ld+:} false; then :
13770  $as_echo_n "(cached) " >&6
13771else
13772  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13773case `$LD -v 2>&1 </dev/null` in
13774*GNU* | *'with BFD'*)
13775  lt_cv_prog_gnu_ld=yes
13776  ;;
13777*)
13778  lt_cv_prog_gnu_ld=no
13779  ;;
13780esac
13781fi
13782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13783$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13784with_gnu_ld=$lt_cv_prog_gnu_ld
13785
13786
13787
13788
13789
13790
13791
13792      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13793      # archiving commands below assume that GNU ld is being used.
13794      if test yes = "$with_gnu_ld"; then
13795        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13796        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13797
13798        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13799        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13800
13801        # If archive_cmds runs LD, not CC, wlarc should be empty
13802        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13803        #     investigate it a little bit more. (MM)
13804        wlarc='$wl'
13805
13806        # ancient GNU ld didn't support --whole-archive et. al.
13807        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13808	  $GREP 'no-whole-archive' > /dev/null; then
13809          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13810        else
13811          whole_archive_flag_spec_CXX=
13812        fi
13813      else
13814        with_gnu_ld=no
13815        wlarc=
13816
13817        # A generic and very simple default shared library creation
13818        # command for GNU C++ for the case where it uses the native
13819        # linker, instead of GNU ld.  If possible, this setting should
13820        # overridden to take advantage of the native linker features on
13821        # the platform it is being used on.
13822        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13823      fi
13824
13825      # Commands to make compiler produce verbose output that lists
13826      # what "hidden" libraries, object files and flags are used when
13827      # linking a shared library.
13828      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13829
13830    else
13831      GXX=no
13832      with_gnu_ld=no
13833      wlarc=
13834    fi
13835
13836    # PORTME: fill in a description of your system's C++ link characteristics
13837    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13838$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13839    ld_shlibs_CXX=yes
13840    case $host_os in
13841      aix3*)
13842        # FIXME: insert proper C++ library support
13843        ld_shlibs_CXX=no
13844        ;;
13845      aix[4-9]*)
13846        if test ia64 = "$host_cpu"; then
13847          # On IA64, the linker does run time linking by default, so we don't
13848          # have to do anything special.
13849          aix_use_runtimelinking=no
13850          exp_sym_flag='-Bexport'
13851          no_entry_flag=
13852        else
13853          aix_use_runtimelinking=no
13854
13855          # Test if we are trying to use run time linking or normal
13856          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13857          # have runtime linking enabled, and use it for executables.
13858          # For shared libraries, we enable/disable runtime linking
13859          # depending on the kind of the shared library created -
13860          # when "with_aix_soname,aix_use_runtimelinking" is:
13861          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13862          # "aix,yes"  lib.so          shared, rtl:yes, for executables
13863          #            lib.a           static archive
13864          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13865          #            lib.a(lib.so.V) shared, rtl:no,  for executables
13866          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13867          #            lib.a(lib.so.V) shared, rtl:no
13868          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13869          #            lib.a           static archive
13870          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13871	    for ld_flag in $LDFLAGS; do
13872	      case $ld_flag in
13873	      *-brtl*)
13874	        aix_use_runtimelinking=yes
13875	        break
13876	        ;;
13877	      esac
13878	    done
13879	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13880	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
13881	      # so we don't have lib.a shared libs to link our executables.
13882	      # We have to force runtime linking in this case.
13883	      aix_use_runtimelinking=yes
13884	      LDFLAGS="$LDFLAGS -Wl,-brtl"
13885	    fi
13886	    ;;
13887          esac
13888
13889          exp_sym_flag='-bexport'
13890          no_entry_flag='-bnoentry'
13891        fi
13892
13893        # When large executables or shared objects are built, AIX ld can
13894        # have problems creating the table of contents.  If linking a library
13895        # or program results in "error TOC overflow" add -mminimal-toc to
13896        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13897        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13898
13899        archive_cmds_CXX=''
13900        hardcode_direct_CXX=yes
13901        hardcode_direct_absolute_CXX=yes
13902        hardcode_libdir_separator_CXX=':'
13903        link_all_deplibs_CXX=yes
13904        file_list_spec_CXX='$wl-f,'
13905        case $with_aix_soname,$aix_use_runtimelinking in
13906        aix,*) ;;	# no import file
13907        svr4,* | *,yes) # use import file
13908          # The Import File defines what to hardcode.
13909          hardcode_direct_CXX=no
13910          hardcode_direct_absolute_CXX=no
13911          ;;
13912        esac
13913
13914        if test yes = "$GXX"; then
13915          case $host_os in aix4.[012]|aix4.[012].*)
13916          # We only want to do this on AIX 4.2 and lower, the check
13917          # below for broken collect2 doesn't work under 4.3+
13918	  collect2name=`$CC -print-prog-name=collect2`
13919	  if test -f "$collect2name" &&
13920	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13921	  then
13922	    # We have reworked collect2
13923	    :
13924	  else
13925	    # We have old collect2
13926	    hardcode_direct_CXX=unsupported
13927	    # It fails to find uninstalled libraries when the uninstalled
13928	    # path is not listed in the libpath.  Setting hardcode_minus_L
13929	    # to unsupported forces relinking
13930	    hardcode_minus_L_CXX=yes
13931	    hardcode_libdir_flag_spec_CXX='-L$libdir'
13932	    hardcode_libdir_separator_CXX=
13933	  fi
13934          esac
13935          shared_flag='-shared'
13936	  if test yes = "$aix_use_runtimelinking"; then
13937	    shared_flag=$shared_flag' $wl-G'
13938	  fi
13939	  # Need to ensure runtime linking is disabled for the traditional
13940	  # shared library, or the linker may eventually find shared libraries
13941	  # /with/ Import File - we do not want to mix them.
13942	  shared_flag_aix='-shared'
13943	  shared_flag_svr4='-shared $wl-G'
13944        else
13945          # not using gcc
13946          if test ia64 = "$host_cpu"; then
13947	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13948	  # chokes on -Wl,-G. The following line is correct:
13949	  shared_flag='-G'
13950          else
13951	    if test yes = "$aix_use_runtimelinking"; then
13952	      shared_flag='$wl-G'
13953	    else
13954	      shared_flag='$wl-bM:SRE'
13955	    fi
13956	    shared_flag_aix='$wl-bM:SRE'
13957	    shared_flag_svr4='$wl-G'
13958          fi
13959        fi
13960
13961        export_dynamic_flag_spec_CXX='$wl-bexpall'
13962        # It seems that -bexpall does not export symbols beginning with
13963        # underscore (_), so it is better to generate a list of symbols to
13964	# export.
13965        always_export_symbols_CXX=yes
13966	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13967          # Warning - without using the other runtime loading flags (-brtl),
13968          # -berok will link without error, but may produce a broken library.
13969          # The "-G" linker flag allows undefined symbols.
13970          no_undefined_flag_CXX='-bernotok'
13971          # Determine the default libpath from the value encoded in an empty
13972          # executable.
13973          if test set = "${lt_cv_aix_libpath+set}"; then
13974  aix_libpath=$lt_cv_aix_libpath
13975else
13976  if ${lt_cv_aix_libpath__CXX+:} false; then :
13977  $as_echo_n "(cached) " >&6
13978else
13979  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13980/* end confdefs.h.  */
13981
13982int
13983main ()
13984{
13985
13986  ;
13987  return 0;
13988}
13989_ACEOF
13990if ac_fn_cxx_try_link "$LINENO"; then :
13991
13992  lt_aix_libpath_sed='
13993      /Import File Strings/,/^$/ {
13994	  /^0/ {
13995	      s/^0  *\([^ ]*\) *$/\1/
13996	      p
13997	  }
13998      }'
13999  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14000  # Check for a 64-bit object if we didn't find anything.
14001  if test -z "$lt_cv_aix_libpath__CXX"; then
14002    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14003  fi
14004fi
14005rm -f core conftest.err conftest.$ac_objext \
14006    conftest$ac_exeext conftest.$ac_ext
14007  if test -z "$lt_cv_aix_libpath__CXX"; then
14008    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14009  fi
14010
14011fi
14012
14013  aix_libpath=$lt_cv_aix_libpath__CXX
14014fi
14015
14016          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14017
14018          archive_expsym_cmds_CXX='$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
14019        else
14020          if test ia64 = "$host_cpu"; then
14021	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14022	    allow_undefined_flag_CXX="-z nodefs"
14023	    archive_expsym_cmds_CXX="\$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"
14024          else
14025	    # Determine the default libpath from the value encoded in an
14026	    # empty executable.
14027	    if test set = "${lt_cv_aix_libpath+set}"; then
14028  aix_libpath=$lt_cv_aix_libpath
14029else
14030  if ${lt_cv_aix_libpath__CXX+:} false; then :
14031  $as_echo_n "(cached) " >&6
14032else
14033  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034/* end confdefs.h.  */
14035
14036int
14037main ()
14038{
14039
14040  ;
14041  return 0;
14042}
14043_ACEOF
14044if ac_fn_cxx_try_link "$LINENO"; then :
14045
14046  lt_aix_libpath_sed='
14047      /Import File Strings/,/^$/ {
14048	  /^0/ {
14049	      s/^0  *\([^ ]*\) *$/\1/
14050	      p
14051	  }
14052      }'
14053  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14054  # Check for a 64-bit object if we didn't find anything.
14055  if test -z "$lt_cv_aix_libpath__CXX"; then
14056    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14057  fi
14058fi
14059rm -f core conftest.err conftest.$ac_objext \
14060    conftest$ac_exeext conftest.$ac_ext
14061  if test -z "$lt_cv_aix_libpath__CXX"; then
14062    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14063  fi
14064
14065fi
14066
14067  aix_libpath=$lt_cv_aix_libpath__CXX
14068fi
14069
14070	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14071	    # Warning - without using the other run time loading flags,
14072	    # -berok will link without error, but may produce a broken library.
14073	    no_undefined_flag_CXX=' $wl-bernotok'
14074	    allow_undefined_flag_CXX=' $wl-berok'
14075	    if test yes = "$with_gnu_ld"; then
14076	      # We only use this code for GNU lds that support --whole-archive.
14077	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14078	    else
14079	      # Exported symbols can be pulled into shared objects from archives
14080	      whole_archive_flag_spec_CXX='$convenience'
14081	    fi
14082	    archive_cmds_need_lc_CXX=yes
14083	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14084	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14085	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14086	    if test svr4 != "$with_aix_soname"; then
14087	      # This is similar to how AIX traditionally builds its shared
14088	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14089	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
14090	    fi
14091	    if test aix != "$with_aix_soname"; then
14092	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
14093	    else
14094	      # used by -dlpreopen to get the symbols
14095	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14096	    fi
14097	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14098          fi
14099        fi
14100        ;;
14101
14102      beos*)
14103	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14104	  allow_undefined_flag_CXX=unsupported
14105	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14106	  # support --undefined.  This deserves some investigation.  FIXME
14107	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14108	else
14109	  ld_shlibs_CXX=no
14110	fi
14111	;;
14112
14113      chorus*)
14114        case $cc_basename in
14115          *)
14116	  # FIXME: insert proper C++ library support
14117	  ld_shlibs_CXX=no
14118	  ;;
14119        esac
14120        ;;
14121
14122      cygwin* | mingw* | pw32* | cegcc*)
14123	case $GXX,$cc_basename in
14124	,cl* | no,cl*)
14125	  # Native MSVC
14126	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14127	  # no search path for DLLs.
14128	  hardcode_libdir_flag_spec_CXX=' '
14129	  allow_undefined_flag_CXX=unsupported
14130	  always_export_symbols_CXX=yes
14131	  file_list_spec_CXX='@'
14132	  # Tell ltmain to make .lib files, not .a files.
14133	  libext=lib
14134	  # Tell ltmain to make .dll files, not .so files.
14135	  shrext_cmds=.dll
14136	  # FIXME: Setting linknames here is a bad hack.
14137	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14138	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14139              cp "$export_symbols" "$output_objdir/$soname.def";
14140              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14141            else
14142              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14143            fi~
14144            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14145            linknames='
14146	  # The linker will not automatically build a static lib if we build a DLL.
14147	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14148	  enable_shared_with_static_runtimes_CXX=yes
14149	  # Don't use ranlib
14150	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14151	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14152            lt_tool_outputfile="@TOOL_OUTPUT@"~
14153            case $lt_outputfile in
14154              *.exe|*.EXE) ;;
14155              *)
14156                lt_outputfile=$lt_outputfile.exe
14157                lt_tool_outputfile=$lt_tool_outputfile.exe
14158                ;;
14159            esac~
14160            func_to_tool_file "$lt_outputfile"~
14161            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14162              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14163              $RM "$lt_outputfile.manifest";
14164            fi'
14165	  ;;
14166	*)
14167	  # g++
14168	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14169	  # as there is no search path for DLLs.
14170	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14171	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14172	  allow_undefined_flag_CXX=unsupported
14173	  always_export_symbols_CXX=no
14174	  enable_shared_with_static_runtimes_CXX=yes
14175
14176	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14177	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14178	    # If the export-symbols file already is a .def file, use it as
14179	    # is; otherwise, prepend EXPORTS...
14180	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14181              cp $export_symbols $output_objdir/$soname.def;
14182            else
14183              echo EXPORTS > $output_objdir/$soname.def;
14184              cat $export_symbols >> $output_objdir/$soname.def;
14185            fi~
14186            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14187	  else
14188	    ld_shlibs_CXX=no
14189	  fi
14190	  ;;
14191	esac
14192	;;
14193      darwin* | rhapsody*)
14194
14195
14196  archive_cmds_need_lc_CXX=no
14197  hardcode_direct_CXX=no
14198  hardcode_automatic_CXX=yes
14199  hardcode_shlibpath_var_CXX=unsupported
14200  if test yes = "$lt_cv_ld_force_load"; then
14201    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14202
14203  else
14204    whole_archive_flag_spec_CXX=''
14205  fi
14206  link_all_deplibs_CXX=yes
14207  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14208  case $cc_basename in
14209     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14210     *) _lt_dar_can_shared=$GCC ;;
14211  esac
14212  if test yes = "$_lt_dar_can_shared"; then
14213    output_verbose_link_cmd=func_echo_all
14214    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
14215    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14216    archive_expsym_cmds_CXX="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"
14217    module_expsym_cmds_CXX="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"
14218       if test yes != "$lt_cv_apple_cc_single_mod"; then
14219      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
14220      archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
14221    fi
14222
14223  else
14224  ld_shlibs_CXX=no
14225  fi
14226
14227	;;
14228
14229      os2*)
14230	hardcode_libdir_flag_spec_CXX='-L$libdir'
14231	hardcode_minus_L_CXX=yes
14232	allow_undefined_flag_CXX=unsupported
14233	shrext_cmds=.dll
14234	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14235	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14236	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14237	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14238	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14239	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14240	  emximp -o $lib $output_objdir/$libname.def'
14241	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14242	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14243	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14244	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14245	  prefix_cmds="$SED"~
14246	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14247	    prefix_cmds="$prefix_cmds -e 1d";
14248	  fi~
14249	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14250	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14251	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14252	  emximp -o $lib $output_objdir/$libname.def'
14253	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14254	enable_shared_with_static_runtimes_CXX=yes
14255	;;
14256
14257      dgux*)
14258        case $cc_basename in
14259          ec++*)
14260	    # FIXME: insert proper C++ library support
14261	    ld_shlibs_CXX=no
14262	    ;;
14263          ghcx*)
14264	    # Green Hills C++ Compiler
14265	    # FIXME: insert proper C++ library support
14266	    ld_shlibs_CXX=no
14267	    ;;
14268          *)
14269	    # FIXME: insert proper C++ library support
14270	    ld_shlibs_CXX=no
14271	    ;;
14272        esac
14273        ;;
14274
14275      freebsd2.*)
14276        # C++ shared libraries reported to be fairly broken before
14277	# switch to ELF
14278        ld_shlibs_CXX=no
14279        ;;
14280
14281      freebsd-elf*)
14282        archive_cmds_need_lc_CXX=no
14283        ;;
14284
14285      freebsd* | dragonfly*)
14286        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14287        # conventions
14288        ld_shlibs_CXX=yes
14289        ;;
14290
14291      haiku*)
14292        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14293        link_all_deplibs_CXX=yes
14294        ;;
14295
14296      hpux9*)
14297        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14298        hardcode_libdir_separator_CXX=:
14299        export_dynamic_flag_spec_CXX='$wl-E'
14300        hardcode_direct_CXX=yes
14301        hardcode_minus_L_CXX=yes # Not in the search PATH,
14302				             # but as the default
14303				             # location of the library.
14304
14305        case $cc_basename in
14306          CC*)
14307            # FIXME: insert proper C++ library support
14308            ld_shlibs_CXX=no
14309            ;;
14310          aCC*)
14311            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14312            # Commands to make compiler produce verbose output that lists
14313            # what "hidden" libraries, object files and flags are used when
14314            # linking a shared library.
14315            #
14316            # There doesn't appear to be a way to prevent this compiler from
14317            # explicitly linking system object files so we need to strip them
14318            # from the output so that they don't get included in the library
14319            # dependencies.
14320            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14321            ;;
14322          *)
14323            if test yes = "$GXX"; then
14324              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14325            else
14326              # FIXME: insert proper C++ library support
14327              ld_shlibs_CXX=no
14328            fi
14329            ;;
14330        esac
14331        ;;
14332
14333      hpux10*|hpux11*)
14334        if test no = "$with_gnu_ld"; then
14335	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14336	  hardcode_libdir_separator_CXX=:
14337
14338          case $host_cpu in
14339            hppa*64*|ia64*)
14340              ;;
14341            *)
14342	      export_dynamic_flag_spec_CXX='$wl-E'
14343              ;;
14344          esac
14345        fi
14346        case $host_cpu in
14347          hppa*64*|ia64*)
14348            hardcode_direct_CXX=no
14349            hardcode_shlibpath_var_CXX=no
14350            ;;
14351          *)
14352            hardcode_direct_CXX=yes
14353            hardcode_direct_absolute_CXX=yes
14354            hardcode_minus_L_CXX=yes # Not in the search PATH,
14355					         # but as the default
14356					         # location of the library.
14357            ;;
14358        esac
14359
14360        case $cc_basename in
14361          CC*)
14362	    # FIXME: insert proper C++ library support
14363	    ld_shlibs_CXX=no
14364	    ;;
14365          aCC*)
14366	    case $host_cpu in
14367	      hppa*64*)
14368	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14369	        ;;
14370	      ia64*)
14371	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14372	        ;;
14373	      *)
14374	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14375	        ;;
14376	    esac
14377	    # Commands to make compiler produce verbose output that lists
14378	    # what "hidden" libraries, object files and flags are used when
14379	    # linking a shared library.
14380	    #
14381	    # There doesn't appear to be a way to prevent this compiler from
14382	    # explicitly linking system object files so we need to strip them
14383	    # from the output so that they don't get included in the library
14384	    # dependencies.
14385	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14386	    ;;
14387          *)
14388	    if test yes = "$GXX"; then
14389	      if test no = "$with_gnu_ld"; then
14390	        case $host_cpu in
14391	          hppa*64*)
14392	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14393	            ;;
14394	          ia64*)
14395	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14396	            ;;
14397	          *)
14398	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14399	            ;;
14400	        esac
14401	      fi
14402	    else
14403	      # FIXME: insert proper C++ library support
14404	      ld_shlibs_CXX=no
14405	    fi
14406	    ;;
14407        esac
14408        ;;
14409
14410      interix[3-9]*)
14411	hardcode_direct_CXX=no
14412	hardcode_shlibpath_var_CXX=no
14413	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14414	export_dynamic_flag_spec_CXX='$wl-E'
14415	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14416	# Instead, shared libraries are loaded at an image base (0x10000000 by
14417	# default) and relocated if they conflict, which is a slow very memory
14418	# consuming and fragmenting process.  To avoid this, we pick a random,
14419	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14420	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14421	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14422	archive_expsym_cmds_CXX='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'
14423	;;
14424      irix5* | irix6*)
14425        case $cc_basename in
14426          CC*)
14427	    # SGI C++
14428	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14429
14430	    # Archives containing C++ object files must be created using
14431	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14432	    # necessary to make sure instantiated templates are included
14433	    # in the archive.
14434	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14435	    ;;
14436          *)
14437	    if test yes = "$GXX"; then
14438	      if test no = "$with_gnu_ld"; then
14439	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
14440	      else
14441	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
14442	      fi
14443	    fi
14444	    link_all_deplibs_CXX=yes
14445	    ;;
14446        esac
14447        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14448        hardcode_libdir_separator_CXX=:
14449        inherit_rpath_CXX=yes
14450        ;;
14451
14452      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14453        case $cc_basename in
14454          KCC*)
14455	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14456
14457	    # KCC will only create a shared library if the output file
14458	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14459	    # to its proper name (with version) after linking.
14460	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14461	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
14462	    # Commands to make compiler produce verbose output that lists
14463	    # what "hidden" libraries, object files and flags are used when
14464	    # linking a shared library.
14465	    #
14466	    # There doesn't appear to be a way to prevent this compiler from
14467	    # explicitly linking system object files so we need to strip them
14468	    # from the output so that they don't get included in the library
14469	    # dependencies.
14470	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14471
14472	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14473	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14474
14475	    # Archives containing C++ object files must be created using
14476	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14477	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14478	    ;;
14479	  icpc* | ecpc* )
14480	    # Intel C++
14481	    with_gnu_ld=yes
14482	    # version 8.0 and above of icpc choke on multiply defined symbols
14483	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14484	    # earlier do not add the objects themselves.
14485	    case `$CC -V 2>&1` in
14486	      *"Version 7."*)
14487	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14488		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14489		;;
14490	      *)  # Version 8.0 or newer
14491	        tmp_idyn=
14492	        case $host_cpu in
14493		  ia64*) tmp_idyn=' -i_dynamic';;
14494		esac
14495	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14496		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14497		;;
14498	    esac
14499	    archive_cmds_need_lc_CXX=no
14500	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14501	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14502	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14503	    ;;
14504          pgCC* | pgcpp*)
14505            # Portland Group C++ compiler
14506	    case `$CC -V` in
14507	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14508	      prelink_cmds_CXX='tpldir=Template.dir~
14509               rm -rf $tpldir~
14510               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14511               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14512	      old_archive_cmds_CXX='tpldir=Template.dir~
14513                rm -rf $tpldir~
14514                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14515                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14516                $RANLIB $oldlib'
14517	      archive_cmds_CXX='tpldir=Template.dir~
14518                rm -rf $tpldir~
14519                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14520                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14521	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14522                rm -rf $tpldir~
14523                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14524                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14525	      ;;
14526	    *) # Version 6 and above use weak symbols
14527	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14528	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14529	      ;;
14530	    esac
14531
14532	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14533	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14534	    whole_archive_flag_spec_CXX='$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'
14535            ;;
14536	  cxx*)
14537	    # Compaq C++
14538	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14539	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
14540
14541	    runpath_var=LD_RUN_PATH
14542	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14543	    hardcode_libdir_separator_CXX=:
14544
14545	    # Commands to make compiler produce verbose output that lists
14546	    # what "hidden" libraries, object files and flags are used when
14547	    # linking a shared library.
14548	    #
14549	    # There doesn't appear to be a way to prevent this compiler from
14550	    # explicitly linking system object files so we need to strip them
14551	    # from the output so that they don't get included in the library
14552	    # dependencies.
14553	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14554	    ;;
14555	  xl* | mpixl* | bgxl*)
14556	    # IBM XL 8.0 on PPC, with GNU ld
14557	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14558	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14559	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14560	    if test yes = "$supports_anon_versioning"; then
14561	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14562                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14563                echo "local: *; };" >> $output_objdir/$libname.ver~
14564                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14565	    fi
14566	    ;;
14567	  *)
14568	    case `$CC -V 2>&1 | sed 5q` in
14569	    *Sun\ C*)
14570	      # Sun C++ 5.9
14571	      no_undefined_flag_CXX=' -zdefs'
14572	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14573	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
14574	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14575	      whole_archive_flag_spec_CXX='$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'
14576	      compiler_needs_object_CXX=yes
14577
14578	      # Not sure whether something based on
14579	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14580	      # would be better.
14581	      output_verbose_link_cmd='func_echo_all'
14582
14583	      # Archives containing C++ object files must be created using
14584	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14585	      # necessary to make sure instantiated templates are included
14586	      # in the archive.
14587	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14588	      ;;
14589	    esac
14590	    ;;
14591	esac
14592	;;
14593
14594      lynxos*)
14595        # FIXME: insert proper C++ library support
14596	ld_shlibs_CXX=no
14597	;;
14598
14599      m88k*)
14600        # FIXME: insert proper C++ library support
14601        ld_shlibs_CXX=no
14602	;;
14603
14604      mvs*)
14605        case $cc_basename in
14606          cxx*)
14607	    # FIXME: insert proper C++ library support
14608	    ld_shlibs_CXX=no
14609	    ;;
14610	  *)
14611	    # FIXME: insert proper C++ library support
14612	    ld_shlibs_CXX=no
14613	    ;;
14614	esac
14615	;;
14616
14617      netbsd*)
14618        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14619	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14620	  wlarc=
14621	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14622	  hardcode_direct_CXX=yes
14623	  hardcode_shlibpath_var_CXX=no
14624	fi
14625	# Workaround some broken pre-1.5 toolchains
14626	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14627	;;
14628
14629      *nto* | *qnx*)
14630        ld_shlibs_CXX=yes
14631	;;
14632
14633      openbsd* | bitrig*)
14634	if test -f /usr/libexec/ld.so; then
14635	  hardcode_direct_CXX=yes
14636	  hardcode_shlibpath_var_CXX=no
14637	  hardcode_direct_absolute_CXX=yes
14638	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14639	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14640	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14641	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14642	    export_dynamic_flag_spec_CXX='$wl-E'
14643	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14644	  fi
14645	  output_verbose_link_cmd=func_echo_all
14646	else
14647	  ld_shlibs_CXX=no
14648	fi
14649	;;
14650
14651      osf3* | osf4* | osf5*)
14652        case $cc_basename in
14653          KCC*)
14654	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14655
14656	    # KCC will only create a shared library if the output file
14657	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14658	    # to its proper name (with version) after linking.
14659	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14660
14661	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14662	    hardcode_libdir_separator_CXX=:
14663
14664	    # Archives containing C++ object files must be created using
14665	    # the KAI C++ compiler.
14666	    case $host in
14667	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14668	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14669	    esac
14670	    ;;
14671          RCC*)
14672	    # Rational C++ 2.4.1
14673	    # FIXME: insert proper C++ library support
14674	    ld_shlibs_CXX=no
14675	    ;;
14676          cxx*)
14677	    case $host in
14678	      osf3*)
14679	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14680	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14681	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14682		;;
14683	      *)
14684	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14685	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14686	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14687                  echo "-hidden">> $lib.exp~
14688                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
14689                  $RM $lib.exp'
14690	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14691		;;
14692	    esac
14693
14694	    hardcode_libdir_separator_CXX=:
14695
14696	    # Commands to make compiler produce verbose output that lists
14697	    # what "hidden" libraries, object files and flags are used when
14698	    # linking a shared library.
14699	    #
14700	    # There doesn't appear to be a way to prevent this compiler from
14701	    # explicitly linking system object files so we need to strip them
14702	    # from the output so that they don't get included in the library
14703	    # dependencies.
14704	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14705	    ;;
14706	  *)
14707	    if test yes,no = "$GXX,$with_gnu_ld"; then
14708	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14709	      case $host in
14710	        osf3*)
14711	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
14712		  ;;
14713	        *)
14714	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
14715		  ;;
14716	      esac
14717
14718	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14719	      hardcode_libdir_separator_CXX=:
14720
14721	      # Commands to make compiler produce verbose output that lists
14722	      # what "hidden" libraries, object files and flags are used when
14723	      # linking a shared library.
14724	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14725
14726	    else
14727	      # FIXME: insert proper C++ library support
14728	      ld_shlibs_CXX=no
14729	    fi
14730	    ;;
14731        esac
14732        ;;
14733
14734      psos*)
14735        # FIXME: insert proper C++ library support
14736        ld_shlibs_CXX=no
14737        ;;
14738
14739      sunos4*)
14740        case $cc_basename in
14741          CC*)
14742	    # Sun C++ 4.x
14743	    # FIXME: insert proper C++ library support
14744	    ld_shlibs_CXX=no
14745	    ;;
14746          lcc*)
14747	    # Lucid
14748	    # FIXME: insert proper C++ library support
14749	    ld_shlibs_CXX=no
14750	    ;;
14751          *)
14752	    # FIXME: insert proper C++ library support
14753	    ld_shlibs_CXX=no
14754	    ;;
14755        esac
14756        ;;
14757
14758      solaris*)
14759        case $cc_basename in
14760          CC* | sunCC*)
14761	    # Sun C++ 4.2, 5.x and Centerline C++
14762            archive_cmds_need_lc_CXX=yes
14763	    no_undefined_flag_CXX=' -zdefs'
14764	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14765	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14766              $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14767
14768	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14769	    hardcode_shlibpath_var_CXX=no
14770	    case $host_os in
14771	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14772	      *)
14773		# The compiler driver will combine and reorder linker options,
14774		# but understands '-z linker_flag'.
14775	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14776		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14777	        ;;
14778	    esac
14779	    link_all_deplibs_CXX=yes
14780
14781	    output_verbose_link_cmd='func_echo_all'
14782
14783	    # Archives containing C++ object files must be created using
14784	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14785	    # necessary to make sure instantiated templates are included
14786	    # in the archive.
14787	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14788	    ;;
14789          gcx*)
14790	    # Green Hills C++ Compiler
14791	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14792
14793	    # The C++ compiler must be used to create the archive.
14794	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14795	    ;;
14796          *)
14797	    # GNU C++ compiler with Solaris linker
14798	    if test yes,no = "$GXX,$with_gnu_ld"; then
14799	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
14800	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14801	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14802	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14803                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14804
14805	        # Commands to make compiler produce verbose output that lists
14806	        # what "hidden" libraries, object files and flags are used when
14807	        # linking a shared library.
14808	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14809	      else
14810	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
14811	        # platform.
14812	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14813	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14814                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14815
14816	        # Commands to make compiler produce verbose output that lists
14817	        # what "hidden" libraries, object files and flags are used when
14818	        # linking a shared library.
14819	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14820	      fi
14821
14822	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14823	      case $host_os in
14824		solaris2.[0-5] | solaris2.[0-5].*) ;;
14825		*)
14826		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14827		  ;;
14828	      esac
14829	    fi
14830	    ;;
14831        esac
14832        ;;
14833
14834    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14835      no_undefined_flag_CXX='$wl-z,text'
14836      archive_cmds_need_lc_CXX=no
14837      hardcode_shlibpath_var_CXX=no
14838      runpath_var='LD_RUN_PATH'
14839
14840      case $cc_basename in
14841        CC*)
14842	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14843	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14844	  ;;
14845	*)
14846	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14847	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14848	  ;;
14849      esac
14850      ;;
14851
14852      sysv5* | sco3.2v5* | sco5v6*)
14853	# Note: We CANNOT use -z defs as we might desire, because we do not
14854	# link with -lc, and that would cause any symbols used from libc to
14855	# always be unresolved, which means just about no library would
14856	# ever link correctly.  If we're not using GNU ld we use -z text
14857	# though, which does catch some bad symbols but isn't as heavy-handed
14858	# as -z defs.
14859	no_undefined_flag_CXX='$wl-z,text'
14860	allow_undefined_flag_CXX='$wl-z,nodefs'
14861	archive_cmds_need_lc_CXX=no
14862	hardcode_shlibpath_var_CXX=no
14863	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14864	hardcode_libdir_separator_CXX=':'
14865	link_all_deplibs_CXX=yes
14866	export_dynamic_flag_spec_CXX='$wl-Bexport'
14867	runpath_var='LD_RUN_PATH'
14868
14869	case $cc_basename in
14870          CC*)
14871	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14872	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14873	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14874              '"$old_archive_cmds_CXX"
14875	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14876              '"$reload_cmds_CXX"
14877	    ;;
14878	  *)
14879	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14880	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14881	    ;;
14882	esac
14883      ;;
14884
14885      tandem*)
14886        case $cc_basename in
14887          NCC*)
14888	    # NonStop-UX NCC 3.20
14889	    # FIXME: insert proper C++ library support
14890	    ld_shlibs_CXX=no
14891	    ;;
14892          *)
14893	    # FIXME: insert proper C++ library support
14894	    ld_shlibs_CXX=no
14895	    ;;
14896        esac
14897        ;;
14898
14899      vxworks*)
14900        # FIXME: insert proper C++ library support
14901        ld_shlibs_CXX=no
14902        ;;
14903
14904      *)
14905        # FIXME: insert proper C++ library support
14906        ld_shlibs_CXX=no
14907        ;;
14908    esac
14909
14910    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14911$as_echo "$ld_shlibs_CXX" >&6; }
14912    test no = "$ld_shlibs_CXX" && can_build_shared=no
14913
14914    GCC_CXX=$GXX
14915    LD_CXX=$LD
14916
14917    ## CAVEAT EMPTOR:
14918    ## There is no encapsulation within the following macros, do not change
14919    ## the running order or otherwise move them around unless you know exactly
14920    ## what you are doing...
14921    # Dependencies to place before and after the object being linked:
14922predep_objects_CXX=
14923postdep_objects_CXX=
14924predeps_CXX=
14925postdeps_CXX=
14926compiler_lib_search_path_CXX=
14927
14928cat > conftest.$ac_ext <<_LT_EOF
14929class Foo
14930{
14931public:
14932  Foo (void) { a = 0; }
14933private:
14934  int a;
14935};
14936_LT_EOF
14937
14938
14939_lt_libdeps_save_CFLAGS=$CFLAGS
14940case "$CC $CFLAGS " in #(
14941*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14942*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14943*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14944esac
14945
14946if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14947  (eval $ac_compile) 2>&5
14948  ac_status=$?
14949  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14950  test $ac_status = 0; }; then
14951  # Parse the compiler output and extract the necessary
14952  # objects, libraries and library flags.
14953
14954  # Sentinel used to keep track of whether or not we are before
14955  # the conftest object file.
14956  pre_test_object_deps_done=no
14957
14958  for p in `eval "$output_verbose_link_cmd"`; do
14959    case $prev$p in
14960
14961    -L* | -R* | -l*)
14962       # Some compilers place space between "-{L,R}" and the path.
14963       # Remove the space.
14964       if test x-L = "$p" ||
14965          test x-R = "$p"; then
14966	 prev=$p
14967	 continue
14968       fi
14969
14970       # Expand the sysroot to ease extracting the directories later.
14971       if test -z "$prev"; then
14972         case $p in
14973         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14974         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14975         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14976         esac
14977       fi
14978       case $p in
14979       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14980       esac
14981       if test no = "$pre_test_object_deps_done"; then
14982	 case $prev in
14983	 -L | -R)
14984	   # Internal compiler library paths should come after those
14985	   # provided the user.  The postdeps already come after the
14986	   # user supplied libs so there is no need to process them.
14987	   if test -z "$compiler_lib_search_path_CXX"; then
14988	     compiler_lib_search_path_CXX=$prev$p
14989	   else
14990	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14991	   fi
14992	   ;;
14993	 # The "-l" case would never come before the object being
14994	 # linked, so don't bother handling this case.
14995	 esac
14996       else
14997	 if test -z "$postdeps_CXX"; then
14998	   postdeps_CXX=$prev$p
14999	 else
15000	   postdeps_CXX="${postdeps_CXX} $prev$p"
15001	 fi
15002       fi
15003       prev=
15004       ;;
15005
15006    *.lto.$objext) ;; # Ignore GCC LTO objects
15007    *.$objext)
15008       # This assumes that the test object file only shows up
15009       # once in the compiler output.
15010       if test "$p" = "conftest.$objext"; then
15011	 pre_test_object_deps_done=yes
15012	 continue
15013       fi
15014
15015       if test no = "$pre_test_object_deps_done"; then
15016	 if test -z "$predep_objects_CXX"; then
15017	   predep_objects_CXX=$p
15018	 else
15019	   predep_objects_CXX="$predep_objects_CXX $p"
15020	 fi
15021       else
15022	 if test -z "$postdep_objects_CXX"; then
15023	   postdep_objects_CXX=$p
15024	 else
15025	   postdep_objects_CXX="$postdep_objects_CXX $p"
15026	 fi
15027       fi
15028       ;;
15029
15030    *) ;; # Ignore the rest.
15031
15032    esac
15033  done
15034
15035  # Clean up.
15036  rm -f a.out a.exe
15037else
15038  echo "libtool.m4: error: problem compiling CXX test program"
15039fi
15040
15041$RM -f confest.$objext
15042CFLAGS=$_lt_libdeps_save_CFLAGS
15043
15044# PORTME: override above test on systems where it is broken
15045case $host_os in
15046interix[3-9]*)
15047  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15048  # hack all around it, let's just trust "g++" to DTRT.
15049  predep_objects_CXX=
15050  postdep_objects_CXX=
15051  postdeps_CXX=
15052  ;;
15053esac
15054
15055
15056case " $postdeps_CXX " in
15057*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15058esac
15059 compiler_lib_search_dirs_CXX=
15060if test -n "${compiler_lib_search_path_CXX}"; then
15061 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15062fi
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094    lt_prog_compiler_wl_CXX=
15095lt_prog_compiler_pic_CXX=
15096lt_prog_compiler_static_CXX=
15097
15098
15099  # C++ specific cases for pic, static, wl, etc.
15100  if test yes = "$GXX"; then
15101    lt_prog_compiler_wl_CXX='-Wl,'
15102    lt_prog_compiler_static_CXX='-static'
15103
15104    case $host_os in
15105    aix*)
15106      # All AIX code is PIC.
15107      if test ia64 = "$host_cpu"; then
15108	# AIX 5 now supports IA64 processor
15109	lt_prog_compiler_static_CXX='-Bstatic'
15110      fi
15111      lt_prog_compiler_pic_CXX='-fPIC'
15112      ;;
15113
15114    amigaos*)
15115      case $host_cpu in
15116      powerpc)
15117            # see comment about AmigaOS4 .so support
15118            lt_prog_compiler_pic_CXX='-fPIC'
15119        ;;
15120      m68k)
15121            # FIXME: we need at least 68020 code to build shared libraries, but
15122            # adding the '-m68020' flag to GCC prevents building anything better,
15123            # like '-m68040'.
15124            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15125        ;;
15126      esac
15127      ;;
15128
15129    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15130      # PIC is the default for these OSes.
15131      ;;
15132    mingw* | cygwin* | os2* | pw32* | cegcc*)
15133      # This hack is so that the source file can tell whether it is being
15134      # built for inclusion in a dll (and should export symbols for example).
15135      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15136      # (--disable-auto-import) libraries
15137      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15138      case $host_os in
15139      os2*)
15140	lt_prog_compiler_static_CXX='$wl-static'
15141	;;
15142      esac
15143      ;;
15144    darwin* | rhapsody*)
15145      # PIC is the default on this platform
15146      # Common symbols not allowed in MH_DYLIB files
15147      lt_prog_compiler_pic_CXX='-fno-common'
15148      ;;
15149    *djgpp*)
15150      # DJGPP does not support shared libraries at all
15151      lt_prog_compiler_pic_CXX=
15152      ;;
15153    haiku*)
15154      # PIC is the default for Haiku.
15155      # The "-static" flag exists, but is broken.
15156      lt_prog_compiler_static_CXX=
15157      ;;
15158    interix[3-9]*)
15159      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15160      # Instead, we relocate shared libraries at runtime.
15161      ;;
15162    sysv4*MP*)
15163      if test -d /usr/nec; then
15164	lt_prog_compiler_pic_CXX=-Kconform_pic
15165      fi
15166      ;;
15167    hpux*)
15168      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15169      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15170      # sets the default TLS model and affects inlining.
15171      case $host_cpu in
15172      hppa*64*)
15173	;;
15174      *)
15175	lt_prog_compiler_pic_CXX='-fPIC'
15176	;;
15177      esac
15178      ;;
15179    *qnx* | *nto*)
15180      # QNX uses GNU C++, but need to define -shared option too, otherwise
15181      # it will coredump.
15182      lt_prog_compiler_pic_CXX='-fPIC -shared'
15183      ;;
15184    *)
15185      lt_prog_compiler_pic_CXX='-fPIC'
15186      ;;
15187    esac
15188  else
15189    case $host_os in
15190      aix[4-9]*)
15191	# All AIX code is PIC.
15192	if test ia64 = "$host_cpu"; then
15193	  # AIX 5 now supports IA64 processor
15194	  lt_prog_compiler_static_CXX='-Bstatic'
15195	else
15196	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15197	fi
15198	;;
15199      chorus*)
15200	case $cc_basename in
15201	cxch68*)
15202	  # Green Hills C++ Compiler
15203	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15204	  ;;
15205	esac
15206	;;
15207      mingw* | cygwin* | os2* | pw32* | cegcc*)
15208	# This hack is so that the source file can tell whether it is being
15209	# built for inclusion in a dll (and should export symbols for example).
15210	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15211	;;
15212      dgux*)
15213	case $cc_basename in
15214	  ec++*)
15215	    lt_prog_compiler_pic_CXX='-KPIC'
15216	    ;;
15217	  ghcx*)
15218	    # Green Hills C++ Compiler
15219	    lt_prog_compiler_pic_CXX='-pic'
15220	    ;;
15221	  *)
15222	    ;;
15223	esac
15224	;;
15225      freebsd* | dragonfly*)
15226	# FreeBSD uses GNU C++
15227	;;
15228      hpux9* | hpux10* | hpux11*)
15229	case $cc_basename in
15230	  CC*)
15231	    lt_prog_compiler_wl_CXX='-Wl,'
15232	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15233	    if test ia64 != "$host_cpu"; then
15234	      lt_prog_compiler_pic_CXX='+Z'
15235	    fi
15236	    ;;
15237	  aCC*)
15238	    lt_prog_compiler_wl_CXX='-Wl,'
15239	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15240	    case $host_cpu in
15241	    hppa*64*|ia64*)
15242	      # +Z the default
15243	      ;;
15244	    *)
15245	      lt_prog_compiler_pic_CXX='+Z'
15246	      ;;
15247	    esac
15248	    ;;
15249	  *)
15250	    ;;
15251	esac
15252	;;
15253      interix*)
15254	# This is c89, which is MS Visual C++ (no shared libs)
15255	# Anyone wants to do a port?
15256	;;
15257      irix5* | irix6* | nonstopux*)
15258	case $cc_basename in
15259	  CC*)
15260	    lt_prog_compiler_wl_CXX='-Wl,'
15261	    lt_prog_compiler_static_CXX='-non_shared'
15262	    # CC pic flag -KPIC is the default.
15263	    ;;
15264	  *)
15265	    ;;
15266	esac
15267	;;
15268      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15269	case $cc_basename in
15270	  KCC*)
15271	    # KAI C++ Compiler
15272	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15273	    lt_prog_compiler_pic_CXX='-fPIC'
15274	    ;;
15275	  ecpc* )
15276	    # old Intel C++ for x86_64, which still supported -KPIC.
15277	    lt_prog_compiler_wl_CXX='-Wl,'
15278	    lt_prog_compiler_pic_CXX='-KPIC'
15279	    lt_prog_compiler_static_CXX='-static'
15280	    ;;
15281	  icpc* )
15282	    # Intel C++, used to be incompatible with GCC.
15283	    # ICC 10 doesn't accept -KPIC any more.
15284	    lt_prog_compiler_wl_CXX='-Wl,'
15285	    lt_prog_compiler_pic_CXX='-fPIC'
15286	    lt_prog_compiler_static_CXX='-static'
15287	    ;;
15288	  pgCC* | pgcpp*)
15289	    # Portland Group C++ compiler
15290	    lt_prog_compiler_wl_CXX='-Wl,'
15291	    lt_prog_compiler_pic_CXX='-fpic'
15292	    lt_prog_compiler_static_CXX='-Bstatic'
15293	    ;;
15294	  cxx*)
15295	    # Compaq C++
15296	    # Make sure the PIC flag is empty.  It appears that all Alpha
15297	    # Linux and Compaq Tru64 Unix objects are PIC.
15298	    lt_prog_compiler_pic_CXX=
15299	    lt_prog_compiler_static_CXX='-non_shared'
15300	    ;;
15301	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15302	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15303	    lt_prog_compiler_wl_CXX='-Wl,'
15304	    lt_prog_compiler_pic_CXX='-qpic'
15305	    lt_prog_compiler_static_CXX='-qstaticlink'
15306	    ;;
15307	  *)
15308	    case `$CC -V 2>&1 | sed 5q` in
15309	    *Sun\ C*)
15310	      # Sun C++ 5.9
15311	      lt_prog_compiler_pic_CXX='-KPIC'
15312	      lt_prog_compiler_static_CXX='-Bstatic'
15313	      lt_prog_compiler_wl_CXX='-Qoption ld '
15314	      ;;
15315	    esac
15316	    ;;
15317	esac
15318	;;
15319      lynxos*)
15320	;;
15321      m88k*)
15322	;;
15323      mvs*)
15324	case $cc_basename in
15325	  cxx*)
15326	    lt_prog_compiler_pic_CXX='-W c,exportall'
15327	    ;;
15328	  *)
15329	    ;;
15330	esac
15331	;;
15332      netbsd* | netbsdelf*-gnu)
15333	;;
15334      *qnx* | *nto*)
15335        # QNX uses GNU C++, but need to define -shared option too, otherwise
15336        # it will coredump.
15337        lt_prog_compiler_pic_CXX='-fPIC -shared'
15338        ;;
15339      osf3* | osf4* | osf5*)
15340	case $cc_basename in
15341	  KCC*)
15342	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15343	    ;;
15344	  RCC*)
15345	    # Rational C++ 2.4.1
15346	    lt_prog_compiler_pic_CXX='-pic'
15347	    ;;
15348	  cxx*)
15349	    # Digital/Compaq C++
15350	    lt_prog_compiler_wl_CXX='-Wl,'
15351	    # Make sure the PIC flag is empty.  It appears that all Alpha
15352	    # Linux and Compaq Tru64 Unix objects are PIC.
15353	    lt_prog_compiler_pic_CXX=
15354	    lt_prog_compiler_static_CXX='-non_shared'
15355	    ;;
15356	  *)
15357	    ;;
15358	esac
15359	;;
15360      psos*)
15361	;;
15362      solaris*)
15363	case $cc_basename in
15364	  CC* | sunCC*)
15365	    # Sun C++ 4.2, 5.x and Centerline C++
15366	    lt_prog_compiler_pic_CXX='-KPIC'
15367	    lt_prog_compiler_static_CXX='-Bstatic'
15368	    lt_prog_compiler_wl_CXX='-Qoption ld '
15369	    ;;
15370	  gcx*)
15371	    # Green Hills C++ Compiler
15372	    lt_prog_compiler_pic_CXX='-PIC'
15373	    ;;
15374	  *)
15375	    ;;
15376	esac
15377	;;
15378      sunos4*)
15379	case $cc_basename in
15380	  CC*)
15381	    # Sun C++ 4.x
15382	    lt_prog_compiler_pic_CXX='-pic'
15383	    lt_prog_compiler_static_CXX='-Bstatic'
15384	    ;;
15385	  lcc*)
15386	    # Lucid
15387	    lt_prog_compiler_pic_CXX='-pic'
15388	    ;;
15389	  *)
15390	    ;;
15391	esac
15392	;;
15393      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15394	case $cc_basename in
15395	  CC*)
15396	    lt_prog_compiler_wl_CXX='-Wl,'
15397	    lt_prog_compiler_pic_CXX='-KPIC'
15398	    lt_prog_compiler_static_CXX='-Bstatic'
15399	    ;;
15400	esac
15401	;;
15402      tandem*)
15403	case $cc_basename in
15404	  NCC*)
15405	    # NonStop-UX NCC 3.20
15406	    lt_prog_compiler_pic_CXX='-KPIC'
15407	    ;;
15408	  *)
15409	    ;;
15410	esac
15411	;;
15412      vxworks*)
15413	;;
15414      *)
15415	lt_prog_compiler_can_build_shared_CXX=no
15416	;;
15417    esac
15418  fi
15419
15420case $host_os in
15421  # For platforms that do not support PIC, -DPIC is meaningless:
15422  *djgpp*)
15423    lt_prog_compiler_pic_CXX=
15424    ;;
15425  *)
15426    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15427    ;;
15428esac
15429
15430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15431$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15432if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15433  $as_echo_n "(cached) " >&6
15434else
15435  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15436fi
15437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15438$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15439lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15440
15441#
15442# Check to make sure the PIC flag actually works.
15443#
15444if test -n "$lt_prog_compiler_pic_CXX"; then
15445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15446$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15447if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15448  $as_echo_n "(cached) " >&6
15449else
15450  lt_cv_prog_compiler_pic_works_CXX=no
15451   ac_outfile=conftest.$ac_objext
15452   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15453   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15454   # Insert the option either (1) after the last *FLAGS variable, or
15455   # (2) before a word containing "conftest.", or (3) at the end.
15456   # Note that $ac_compile itself does not contain backslashes and begins
15457   # with a dollar sign (not a hyphen), so the echo should work correctly.
15458   # The option is referenced via a variable to avoid confusing sed.
15459   lt_compile=`echo "$ac_compile" | $SED \
15460   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15461   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15462   -e 's:$: $lt_compiler_flag:'`
15463   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15464   (eval "$lt_compile" 2>conftest.err)
15465   ac_status=$?
15466   cat conftest.err >&5
15467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468   if (exit $ac_status) && test -s "$ac_outfile"; then
15469     # The compiler can only warn and ignore the option if not recognized
15470     # So say no if there are warnings other than the usual output.
15471     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15472     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15473     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15474       lt_cv_prog_compiler_pic_works_CXX=yes
15475     fi
15476   fi
15477   $RM conftest*
15478
15479fi
15480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15481$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15482
15483if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15484    case $lt_prog_compiler_pic_CXX in
15485     "" | " "*) ;;
15486     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15487     esac
15488else
15489    lt_prog_compiler_pic_CXX=
15490     lt_prog_compiler_can_build_shared_CXX=no
15491fi
15492
15493fi
15494
15495
15496
15497
15498
15499#
15500# Check to make sure the static flag actually works.
15501#
15502wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15504$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15505if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15506  $as_echo_n "(cached) " >&6
15507else
15508  lt_cv_prog_compiler_static_works_CXX=no
15509   save_LDFLAGS=$LDFLAGS
15510   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15511   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15512   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15513     # The linker can only warn and ignore the option if not recognized
15514     # So say no if there are warnings
15515     if test -s conftest.err; then
15516       # Append any errors to the config.log.
15517       cat conftest.err 1>&5
15518       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15519       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15520       if diff conftest.exp conftest.er2 >/dev/null; then
15521         lt_cv_prog_compiler_static_works_CXX=yes
15522       fi
15523     else
15524       lt_cv_prog_compiler_static_works_CXX=yes
15525     fi
15526   fi
15527   $RM -r conftest*
15528   LDFLAGS=$save_LDFLAGS
15529
15530fi
15531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15532$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15533
15534if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15535    :
15536else
15537    lt_prog_compiler_static_CXX=
15538fi
15539
15540
15541
15542
15543    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15544$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15545if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15546  $as_echo_n "(cached) " >&6
15547else
15548  lt_cv_prog_compiler_c_o_CXX=no
15549   $RM -r conftest 2>/dev/null
15550   mkdir conftest
15551   cd conftest
15552   mkdir out
15553   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15554
15555   lt_compiler_flag="-o out/conftest2.$ac_objext"
15556   # Insert the option either (1) after the last *FLAGS variable, or
15557   # (2) before a word containing "conftest.", or (3) at the end.
15558   # Note that $ac_compile itself does not contain backslashes and begins
15559   # with a dollar sign (not a hyphen), so the echo should work correctly.
15560   lt_compile=`echo "$ac_compile" | $SED \
15561   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15562   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15563   -e 's:$: $lt_compiler_flag:'`
15564   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15565   (eval "$lt_compile" 2>out/conftest.err)
15566   ac_status=$?
15567   cat out/conftest.err >&5
15568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15570   then
15571     # The compiler can only warn and ignore the option if not recognized
15572     # So say no if there are warnings
15573     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15574     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15575     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15576       lt_cv_prog_compiler_c_o_CXX=yes
15577     fi
15578   fi
15579   chmod u+w . 2>&5
15580   $RM conftest*
15581   # SGI C++ compiler will create directory out/ii_files/ for
15582   # template instantiation
15583   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15584   $RM out/* && rmdir out
15585   cd ..
15586   $RM -r conftest
15587   $RM conftest*
15588
15589fi
15590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15591$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15592
15593
15594
15595    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15596$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15597if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15598  $as_echo_n "(cached) " >&6
15599else
15600  lt_cv_prog_compiler_c_o_CXX=no
15601   $RM -r conftest 2>/dev/null
15602   mkdir conftest
15603   cd conftest
15604   mkdir out
15605   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15606
15607   lt_compiler_flag="-o out/conftest2.$ac_objext"
15608   # Insert the option either (1) after the last *FLAGS variable, or
15609   # (2) before a word containing "conftest.", or (3) at the end.
15610   # Note that $ac_compile itself does not contain backslashes and begins
15611   # with a dollar sign (not a hyphen), so the echo should work correctly.
15612   lt_compile=`echo "$ac_compile" | $SED \
15613   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15614   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15615   -e 's:$: $lt_compiler_flag:'`
15616   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15617   (eval "$lt_compile" 2>out/conftest.err)
15618   ac_status=$?
15619   cat out/conftest.err >&5
15620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15622   then
15623     # The compiler can only warn and ignore the option if not recognized
15624     # So say no if there are warnings
15625     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15626     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15627     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15628       lt_cv_prog_compiler_c_o_CXX=yes
15629     fi
15630   fi
15631   chmod u+w . 2>&5
15632   $RM conftest*
15633   # SGI C++ compiler will create directory out/ii_files/ for
15634   # template instantiation
15635   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15636   $RM out/* && rmdir out
15637   cd ..
15638   $RM -r conftest
15639   $RM conftest*
15640
15641fi
15642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15643$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15644
15645
15646
15647
15648hard_links=nottested
15649if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15650  # do not overwrite the value of need_locks provided by the user
15651  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15652$as_echo_n "checking if we can lock with hard links... " >&6; }
15653  hard_links=yes
15654  $RM conftest*
15655  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15656  touch conftest.a
15657  ln conftest.a conftest.b 2>&5 || hard_links=no
15658  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15660$as_echo "$hard_links" >&6; }
15661  if test no = "$hard_links"; then
15662    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15663$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15664    need_locks=warn
15665  fi
15666else
15667  need_locks=no
15668fi
15669
15670
15671
15672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15673$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15674
15675  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15676  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15677  case $host_os in
15678  aix[4-9]*)
15679    # If we're using GNU nm, then we don't want the "-C" option.
15680    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15681    # Without the "-l" option, or with the "-B" option, AIX nm treats
15682    # weak defined symbols like other global defined symbols, whereas
15683    # GNU nm marks them as "W".
15684    # While the 'weak' keyword is ignored in the Export File, we need
15685    # it in the Import File for the 'aix-soname' feature, so we have
15686    # to replace the "-B" option with "-P" for AIX nm.
15687    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15688      export_symbols_cmds_CXX='$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'
15689    else
15690      export_symbols_cmds_CXX='`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'
15691    fi
15692    ;;
15693  pw32*)
15694    export_symbols_cmds_CXX=$ltdll_cmds
15695    ;;
15696  cygwin* | mingw* | cegcc*)
15697    case $cc_basename in
15698    cl*)
15699      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15700      ;;
15701    *)
15702      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15703      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15704      ;;
15705    esac
15706    ;;
15707  linux* | k*bsd*-gnu | gnu*)
15708    link_all_deplibs_CXX=no
15709    ;;
15710  *)
15711    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15712    ;;
15713  esac
15714
15715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15716$as_echo "$ld_shlibs_CXX" >&6; }
15717test no = "$ld_shlibs_CXX" && can_build_shared=no
15718
15719with_gnu_ld_CXX=$with_gnu_ld
15720
15721
15722
15723
15724
15725
15726#
15727# Do we need to explicitly link libc?
15728#
15729case "x$archive_cmds_need_lc_CXX" in
15730x|xyes)
15731  # Assume -lc should be added
15732  archive_cmds_need_lc_CXX=yes
15733
15734  if test yes,yes = "$GCC,$enable_shared"; then
15735    case $archive_cmds_CXX in
15736    *'~'*)
15737      # FIXME: we may have to deal with multi-command sequences.
15738      ;;
15739    '$CC '*)
15740      # Test whether the compiler implicitly links with -lc since on some
15741      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15742      # to ld, don't add -lc before -lgcc.
15743      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15744$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15745if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15746  $as_echo_n "(cached) " >&6
15747else
15748  $RM conftest*
15749	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15750
15751	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15752  (eval $ac_compile) 2>&5
15753  ac_status=$?
15754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15755  test $ac_status = 0; } 2>conftest.err; then
15756	  soname=conftest
15757	  lib=conftest
15758	  libobjs=conftest.$ac_objext
15759	  deplibs=
15760	  wl=$lt_prog_compiler_wl_CXX
15761	  pic_flag=$lt_prog_compiler_pic_CXX
15762	  compiler_flags=-v
15763	  linker_flags=-v
15764	  verstring=
15765	  output_objdir=.
15766	  libname=conftest
15767	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15768	  allow_undefined_flag_CXX=
15769	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15770  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15771  ac_status=$?
15772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15773  test $ac_status = 0; }
15774	  then
15775	    lt_cv_archive_cmds_need_lc_CXX=no
15776	  else
15777	    lt_cv_archive_cmds_need_lc_CXX=yes
15778	  fi
15779	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15780	else
15781	  cat conftest.err 1>&5
15782	fi
15783	$RM conftest*
15784
15785fi
15786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15787$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15788      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15789      ;;
15790    esac
15791  fi
15792  ;;
15793esac
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15857$as_echo_n "checking dynamic linker characteristics... " >&6; }
15858
15859library_names_spec=
15860libname_spec='lib$name'
15861soname_spec=
15862shrext_cmds=.so
15863postinstall_cmds=
15864postuninstall_cmds=
15865finish_cmds=
15866finish_eval=
15867shlibpath_var=
15868shlibpath_overrides_runpath=unknown
15869version_type=none
15870dynamic_linker="$host_os ld.so"
15871sys_lib_dlsearch_path_spec="/lib /usr/lib"
15872need_lib_prefix=unknown
15873hardcode_into_libs=no
15874
15875# when you set need_version to no, make sure it does not cause -set_version
15876# flags to be left without arguments
15877need_version=unknown
15878
15879
15880
15881case $host_os in
15882aix3*)
15883  version_type=linux # correct to gnu/linux during the next big refactor
15884  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15885  shlibpath_var=LIBPATH
15886
15887  # AIX 3 has no versioning support, so we append a major version to the name.
15888  soname_spec='$libname$release$shared_ext$major'
15889  ;;
15890
15891aix[4-9]*)
15892  version_type=linux # correct to gnu/linux during the next big refactor
15893  need_lib_prefix=no
15894  need_version=no
15895  hardcode_into_libs=yes
15896  if test ia64 = "$host_cpu"; then
15897    # AIX 5 supports IA64
15898    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15899    shlibpath_var=LD_LIBRARY_PATH
15900  else
15901    # With GCC up to 2.95.x, collect2 would create an import file
15902    # for dependence libraries.  The import file would start with
15903    # the line '#! .'.  This would cause the generated library to
15904    # depend on '.', always an invalid library.  This was fixed in
15905    # development snapshots of GCC prior to 3.0.
15906    case $host_os in
15907      aix4 | aix4.[01] | aix4.[01].*)
15908      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15909	   echo ' yes '
15910	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15911	:
15912      else
15913	can_build_shared=no
15914      fi
15915      ;;
15916    esac
15917    # Using Import Files as archive members, it is possible to support
15918    # filename-based versioning of shared library archives on AIX. While
15919    # this would work for both with and without runtime linking, it will
15920    # prevent static linking of such archives. So we do filename-based
15921    # shared library versioning with .so extension only, which is used
15922    # when both runtime linking and shared linking is enabled.
15923    # Unfortunately, runtime linking may impact performance, so we do
15924    # not want this to be the default eventually. Also, we use the
15925    # versioned .so libs for executables only if there is the -brtl
15926    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15927    # To allow for filename-based versioning support, we need to create
15928    # libNAME.so.V as an archive file, containing:
15929    # *) an Import File, referring to the versioned filename of the
15930    #    archive as well as the shared archive member, telling the
15931    #    bitwidth (32 or 64) of that shared object, and providing the
15932    #    list of exported symbols of that shared object, eventually
15933    #    decorated with the 'weak' keyword
15934    # *) the shared object with the F_LOADONLY flag set, to really avoid
15935    #    it being seen by the linker.
15936    # At run time we better use the real file rather than another symlink,
15937    # but for link time we create the symlink libNAME.so -> libNAME.so.V
15938
15939    case $with_aix_soname,$aix_use_runtimelinking in
15940    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15941    # soname into executable. Probably we can add versioning support to
15942    # collect2, so additional links can be useful in future.
15943    aix,yes) # traditional libtool
15944      dynamic_linker='AIX unversionable lib.so'
15945      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15946      # instead of lib<name>.a to let people know that these are not
15947      # typical AIX shared libraries.
15948      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15949      ;;
15950    aix,no) # traditional AIX only
15951      dynamic_linker='AIX lib.a(lib.so.V)'
15952      # We preserve .a as extension for shared libraries through AIX4.2
15953      # and later when we are not doing run time linking.
15954      library_names_spec='$libname$release.a $libname.a'
15955      soname_spec='$libname$release$shared_ext$major'
15956      ;;
15957    svr4,*) # full svr4 only
15958      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15959      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15960      # We do not specify a path in Import Files, so LIBPATH fires.
15961      shlibpath_overrides_runpath=yes
15962      ;;
15963    *,yes) # both, prefer svr4
15964      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15965      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15966      # unpreferred sharedlib libNAME.a needs extra handling
15967      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"'
15968      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"'
15969      # We do not specify a path in Import Files, so LIBPATH fires.
15970      shlibpath_overrides_runpath=yes
15971      ;;
15972    *,no) # both, prefer aix
15973      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15974      library_names_spec='$libname$release.a $libname.a'
15975      soname_spec='$libname$release$shared_ext$major'
15976      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15977      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)'
15978      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"'
15979      ;;
15980    esac
15981    shlibpath_var=LIBPATH
15982  fi
15983  ;;
15984
15985amigaos*)
15986  case $host_cpu in
15987  powerpc)
15988    # Since July 2007 AmigaOS4 officially supports .so libraries.
15989    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15990    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15991    ;;
15992  m68k)
15993    library_names_spec='$libname.ixlibrary $libname.a'
15994    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15995    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'
15996    ;;
15997  esac
15998  ;;
15999
16000beos*)
16001  library_names_spec='$libname$shared_ext'
16002  dynamic_linker="$host_os ld.so"
16003  shlibpath_var=LIBRARY_PATH
16004  ;;
16005
16006bsdi[45]*)
16007  version_type=linux # correct to gnu/linux during the next big refactor
16008  need_version=no
16009  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16010  soname_spec='$libname$release$shared_ext$major'
16011  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16012  shlibpath_var=LD_LIBRARY_PATH
16013  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16014  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16015  # the default ld.so.conf also contains /usr/contrib/lib and
16016  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16017  # libtool to hard-code these into programs
16018  ;;
16019
16020cygwin* | mingw* | pw32* | cegcc*)
16021  version_type=windows
16022  shrext_cmds=.dll
16023  need_version=no
16024  need_lib_prefix=no
16025
16026  case $GCC,$cc_basename in
16027  yes,*)
16028    # gcc
16029    library_names_spec='$libname.dll.a'
16030    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16031    postinstall_cmds='base_file=`basename \$file`~
16032      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16033      dldir=$destdir/`dirname \$dlpath`~
16034      test -d \$dldir || mkdir -p \$dldir~
16035      $install_prog $dir/$dlname \$dldir/$dlname~
16036      chmod a+x \$dldir/$dlname~
16037      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16038        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16039      fi'
16040    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16041      dlpath=$dir/\$dldll~
16042       $RM \$dlpath'
16043    shlibpath_overrides_runpath=yes
16044
16045    case $host_os in
16046    cygwin*)
16047      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16048      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16049
16050      ;;
16051    mingw* | cegcc*)
16052      # MinGW DLLs use traditional 'lib' prefix
16053      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16054      ;;
16055    pw32*)
16056      # pw32 DLLs use 'pw' prefix rather than 'lib'
16057      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16058      ;;
16059    esac
16060    dynamic_linker='Win32 ld.exe'
16061    ;;
16062
16063  *,cl*)
16064    # Native MSVC
16065    libname_spec='$name'
16066    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16067    library_names_spec='$libname.dll.lib'
16068
16069    case $build_os in
16070    mingw*)
16071      sys_lib_search_path_spec=
16072      lt_save_ifs=$IFS
16073      IFS=';'
16074      for lt_path in $LIB
16075      do
16076        IFS=$lt_save_ifs
16077        # Let DOS variable expansion print the short 8.3 style file name.
16078        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16079        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16080      done
16081      IFS=$lt_save_ifs
16082      # Convert to MSYS style.
16083      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16084      ;;
16085    cygwin*)
16086      # Convert to unix form, then to dos form, then back to unix form
16087      # but this time dos style (no spaces!) so that the unix form looks
16088      # like /cygdrive/c/PROGRA~1:/cygdr...
16089      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16090      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16091      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16092      ;;
16093    *)
16094      sys_lib_search_path_spec=$LIB
16095      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16096        # It is most probably a Windows format PATH.
16097        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16098      else
16099        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16100      fi
16101      # FIXME: find the short name or the path components, as spaces are
16102      # common. (e.g. "Program Files" -> "PROGRA~1")
16103      ;;
16104    esac
16105
16106    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16107    postinstall_cmds='base_file=`basename \$file`~
16108      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16109      dldir=$destdir/`dirname \$dlpath`~
16110      test -d \$dldir || mkdir -p \$dldir~
16111      $install_prog $dir/$dlname \$dldir/$dlname'
16112    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16113      dlpath=$dir/\$dldll~
16114       $RM \$dlpath'
16115    shlibpath_overrides_runpath=yes
16116    dynamic_linker='Win32 link.exe'
16117    ;;
16118
16119  *)
16120    # Assume MSVC wrapper
16121    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16122    dynamic_linker='Win32 ld.exe'
16123    ;;
16124  esac
16125  # FIXME: first we should search . and the directory the executable is in
16126  shlibpath_var=PATH
16127  ;;
16128
16129darwin* | rhapsody*)
16130  dynamic_linker="$host_os dyld"
16131  version_type=darwin
16132  need_lib_prefix=no
16133  need_version=no
16134  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16135  soname_spec='$libname$release$major$shared_ext'
16136  shlibpath_overrides_runpath=yes
16137  shlibpath_var=DYLD_LIBRARY_PATH
16138  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16139
16140  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16141  ;;
16142
16143dgux*)
16144  version_type=linux # correct to gnu/linux during the next big refactor
16145  need_lib_prefix=no
16146  need_version=no
16147  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16148  soname_spec='$libname$release$shared_ext$major'
16149  shlibpath_var=LD_LIBRARY_PATH
16150  ;;
16151
16152freebsd* | dragonfly*)
16153  # DragonFly does not have aout.  When/if they implement a new
16154  # versioning mechanism, adjust this.
16155  if test -x /usr/bin/objformat; then
16156    objformat=`/usr/bin/objformat`
16157  else
16158    case $host_os in
16159    freebsd[23].*) objformat=aout ;;
16160    *) objformat=elf ;;
16161    esac
16162  fi
16163  version_type=freebsd-$objformat
16164  case $version_type in
16165    freebsd-elf*)
16166      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16167      soname_spec='$libname$release$shared_ext$major'
16168      need_version=no
16169      need_lib_prefix=no
16170      ;;
16171    freebsd-*)
16172      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16173      need_version=yes
16174      ;;
16175  esac
16176  shlibpath_var=LD_LIBRARY_PATH
16177  case $host_os in
16178  freebsd2.*)
16179    shlibpath_overrides_runpath=yes
16180    ;;
16181  freebsd3.[01]* | freebsdelf3.[01]*)
16182    shlibpath_overrides_runpath=yes
16183    hardcode_into_libs=yes
16184    ;;
16185  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16186  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16187    shlibpath_overrides_runpath=no
16188    hardcode_into_libs=yes
16189    ;;
16190  *) # from 4.6 on, and DragonFly
16191    shlibpath_overrides_runpath=yes
16192    hardcode_into_libs=yes
16193    ;;
16194  esac
16195  ;;
16196
16197haiku*)
16198  version_type=linux # correct to gnu/linux during the next big refactor
16199  need_lib_prefix=no
16200  need_version=no
16201  dynamic_linker="$host_os runtime_loader"
16202  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16203  soname_spec='$libname$release$shared_ext$major'
16204  shlibpath_var=LIBRARY_PATH
16205  shlibpath_overrides_runpath=no
16206  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16207  hardcode_into_libs=yes
16208  ;;
16209
16210hpux9* | hpux10* | hpux11*)
16211  # Give a soname corresponding to the major version so that dld.sl refuses to
16212  # link against other versions.
16213  version_type=sunos
16214  need_lib_prefix=no
16215  need_version=no
16216  case $host_cpu in
16217  ia64*)
16218    shrext_cmds='.so'
16219    hardcode_into_libs=yes
16220    dynamic_linker="$host_os dld.so"
16221    shlibpath_var=LD_LIBRARY_PATH
16222    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16223    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16224    soname_spec='$libname$release$shared_ext$major'
16225    if test 32 = "$HPUX_IA64_MODE"; then
16226      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16227      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16228    else
16229      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16230      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16231    fi
16232    ;;
16233  hppa*64*)
16234    shrext_cmds='.sl'
16235    hardcode_into_libs=yes
16236    dynamic_linker="$host_os dld.sl"
16237    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16238    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16239    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16240    soname_spec='$libname$release$shared_ext$major'
16241    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16242    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16243    ;;
16244  *)
16245    shrext_cmds='.sl'
16246    dynamic_linker="$host_os dld.sl"
16247    shlibpath_var=SHLIB_PATH
16248    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16249    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16250    soname_spec='$libname$release$shared_ext$major'
16251    ;;
16252  esac
16253  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16254  postinstall_cmds='chmod 555 $lib'
16255  # or fails outright, so override atomically:
16256  install_override_mode=555
16257  ;;
16258
16259interix[3-9]*)
16260  version_type=linux # correct to gnu/linux during the next big refactor
16261  need_lib_prefix=no
16262  need_version=no
16263  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16264  soname_spec='$libname$release$shared_ext$major'
16265  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16266  shlibpath_var=LD_LIBRARY_PATH
16267  shlibpath_overrides_runpath=no
16268  hardcode_into_libs=yes
16269  ;;
16270
16271irix5* | irix6* | nonstopux*)
16272  case $host_os in
16273    nonstopux*) version_type=nonstopux ;;
16274    *)
16275	if test yes = "$lt_cv_prog_gnu_ld"; then
16276		version_type=linux # correct to gnu/linux during the next big refactor
16277	else
16278		version_type=irix
16279	fi ;;
16280  esac
16281  need_lib_prefix=no
16282  need_version=no
16283  soname_spec='$libname$release$shared_ext$major'
16284  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16285  case $host_os in
16286  irix5* | nonstopux*)
16287    libsuff= shlibsuff=
16288    ;;
16289  *)
16290    case $LD in # libtool.m4 will add one of these switches to LD
16291    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16292      libsuff= shlibsuff= libmagic=32-bit;;
16293    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16294      libsuff=32 shlibsuff=N32 libmagic=N32;;
16295    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16296      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16297    *) libsuff= shlibsuff= libmagic=never-match;;
16298    esac
16299    ;;
16300  esac
16301  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16302  shlibpath_overrides_runpath=no
16303  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16304  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16305  hardcode_into_libs=yes
16306  ;;
16307
16308# No shared lib support for Linux oldld, aout, or coff.
16309linux*oldld* | linux*aout* | linux*coff*)
16310  dynamic_linker=no
16311  ;;
16312
16313linux*android*)
16314  version_type=none # Android doesn't support versioned libraries.
16315  need_lib_prefix=no
16316  need_version=no
16317  library_names_spec='$libname$release$shared_ext'
16318  soname_spec='$libname$release$shared_ext'
16319  finish_cmds=
16320  shlibpath_var=LD_LIBRARY_PATH
16321  shlibpath_overrides_runpath=yes
16322
16323  # This implies no fast_install, which is unacceptable.
16324  # Some rework will be needed to allow for fast_install
16325  # before this can be enabled.
16326  hardcode_into_libs=yes
16327
16328  dynamic_linker='Android linker'
16329  # Don't embed -rpath directories since the linker doesn't support them.
16330  hardcode_libdir_flag_spec_CXX='-L$libdir'
16331  ;;
16332
16333# This must be glibc/ELF.
16334linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16335  version_type=linux # correct to gnu/linux during the next big refactor
16336  need_lib_prefix=no
16337  need_version=no
16338  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16339  soname_spec='$libname$release$shared_ext$major'
16340  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16341  shlibpath_var=LD_LIBRARY_PATH
16342  shlibpath_overrides_runpath=no
16343
16344  # Some binutils ld are patched to set DT_RUNPATH
16345  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16346  $as_echo_n "(cached) " >&6
16347else
16348  lt_cv_shlibpath_overrides_runpath=no
16349    save_LDFLAGS=$LDFLAGS
16350    save_libdir=$libdir
16351    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16352	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16353    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16354/* end confdefs.h.  */
16355
16356int
16357main ()
16358{
16359
16360  ;
16361  return 0;
16362}
16363_ACEOF
16364if ac_fn_cxx_try_link "$LINENO"; then :
16365  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16366  lt_cv_shlibpath_overrides_runpath=yes
16367fi
16368fi
16369rm -f core conftest.err conftest.$ac_objext \
16370    conftest$ac_exeext conftest.$ac_ext
16371    LDFLAGS=$save_LDFLAGS
16372    libdir=$save_libdir
16373
16374fi
16375
16376  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16377
16378  # This implies no fast_install, which is unacceptable.
16379  # Some rework will be needed to allow for fast_install
16380  # before this can be enabled.
16381  hardcode_into_libs=yes
16382
16383  # Ideally, we could use ldconfig to report *all* directores which are
16384  # searched for libraries, however this is still not possible.  Aside from not
16385  # being certain /sbin/ldconfig is available, command
16386  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16387  # even though it is searched at run-time.  Try to do the best guess by
16388  # appending ld.so.conf contents (and includes) to the search path.
16389  if test -f /etc/ld.so.conf; then
16390    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' ' '`
16391    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16392  fi
16393
16394  # We used to test for /lib/ld.so.1 and disable shared libraries on
16395  # powerpc, because MkLinux only supported shared libraries with the
16396  # GNU dynamic linker.  Since this was broken with cross compilers,
16397  # most powerpc-linux boxes support dynamic linking these days and
16398  # people can always --disable-shared, the test was removed, and we
16399  # assume the GNU/Linux dynamic linker is in use.
16400  dynamic_linker='GNU/Linux ld.so'
16401  ;;
16402
16403netbsdelf*-gnu)
16404  version_type=linux
16405  need_lib_prefix=no
16406  need_version=no
16407  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16408  soname_spec='${libname}${release}${shared_ext}$major'
16409  shlibpath_var=LD_LIBRARY_PATH
16410  shlibpath_overrides_runpath=no
16411  hardcode_into_libs=yes
16412  dynamic_linker='NetBSD ld.elf_so'
16413  ;;
16414
16415netbsd*)
16416  version_type=sunos
16417  need_lib_prefix=no
16418  need_version=no
16419  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16420    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16421    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16422    dynamic_linker='NetBSD (a.out) ld.so'
16423  else
16424    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16425    soname_spec='$libname$release$shared_ext$major'
16426    dynamic_linker='NetBSD ld.elf_so'
16427  fi
16428  shlibpath_var=LD_LIBRARY_PATH
16429  shlibpath_overrides_runpath=yes
16430  hardcode_into_libs=yes
16431  ;;
16432
16433newsos6)
16434  version_type=linux # correct to gnu/linux during the next big refactor
16435  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16436  shlibpath_var=LD_LIBRARY_PATH
16437  shlibpath_overrides_runpath=yes
16438  ;;
16439
16440*nto* | *qnx*)
16441  version_type=qnx
16442  need_lib_prefix=no
16443  need_version=no
16444  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16445  soname_spec='$libname$release$shared_ext$major'
16446  shlibpath_var=LD_LIBRARY_PATH
16447  shlibpath_overrides_runpath=no
16448  hardcode_into_libs=yes
16449  dynamic_linker='ldqnx.so'
16450  ;;
16451
16452openbsd* | bitrig*)
16453  version_type=sunos
16454  sys_lib_dlsearch_path_spec=/usr/lib
16455  need_lib_prefix=no
16456  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16457    need_version=no
16458  else
16459    need_version=yes
16460  fi
16461  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16462  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16463  shlibpath_var=LD_LIBRARY_PATH
16464  shlibpath_overrides_runpath=yes
16465  ;;
16466
16467os2*)
16468  libname_spec='$name'
16469  version_type=windows
16470  shrext_cmds=.dll
16471  need_version=no
16472  need_lib_prefix=no
16473  # OS/2 can only load a DLL with a base name of 8 characters or less.
16474  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16475    v=$($ECHO $release$versuffix | tr -d .-);
16476    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16477    $ECHO $n$v`$shared_ext'
16478  library_names_spec='${libname}_dll.$libext'
16479  dynamic_linker='OS/2 ld.exe'
16480  shlibpath_var=BEGINLIBPATH
16481  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16482  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16483  postinstall_cmds='base_file=`basename \$file`~
16484    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16485    dldir=$destdir/`dirname \$dlpath`~
16486    test -d \$dldir || mkdir -p \$dldir~
16487    $install_prog $dir/$dlname \$dldir/$dlname~
16488    chmod a+x \$dldir/$dlname~
16489    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16490      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16491    fi'
16492  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16493    dlpath=$dir/\$dldll~
16494    $RM \$dlpath'
16495  ;;
16496
16497osf3* | osf4* | osf5*)
16498  version_type=osf
16499  need_lib_prefix=no
16500  need_version=no
16501  soname_spec='$libname$release$shared_ext$major'
16502  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16503  shlibpath_var=LD_LIBRARY_PATH
16504  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16505  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16506  ;;
16507
16508rdos*)
16509  dynamic_linker=no
16510  ;;
16511
16512solaris*)
16513  version_type=linux # correct to gnu/linux during the next big refactor
16514  need_lib_prefix=no
16515  need_version=no
16516  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16517  soname_spec='$libname$release$shared_ext$major'
16518  shlibpath_var=LD_LIBRARY_PATH
16519  shlibpath_overrides_runpath=yes
16520  hardcode_into_libs=yes
16521  # ldd complains unless libraries are executable
16522  postinstall_cmds='chmod +x $lib'
16523  ;;
16524
16525sunos4*)
16526  version_type=sunos
16527  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16528  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16529  shlibpath_var=LD_LIBRARY_PATH
16530  shlibpath_overrides_runpath=yes
16531  if test yes = "$with_gnu_ld"; then
16532    need_lib_prefix=no
16533  fi
16534  need_version=yes
16535  ;;
16536
16537sysv4 | sysv4.3*)
16538  version_type=linux # correct to gnu/linux during the next big refactor
16539  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16540  soname_spec='$libname$release$shared_ext$major'
16541  shlibpath_var=LD_LIBRARY_PATH
16542  case $host_vendor in
16543    sni)
16544      shlibpath_overrides_runpath=no
16545      need_lib_prefix=no
16546      runpath_var=LD_RUN_PATH
16547      ;;
16548    siemens)
16549      need_lib_prefix=no
16550      ;;
16551    motorola)
16552      need_lib_prefix=no
16553      need_version=no
16554      shlibpath_overrides_runpath=no
16555      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16556      ;;
16557  esac
16558  ;;
16559
16560sysv4*MP*)
16561  if test -d /usr/nec; then
16562    version_type=linux # correct to gnu/linux during the next big refactor
16563    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16564    soname_spec='$libname$shared_ext.$major'
16565    shlibpath_var=LD_LIBRARY_PATH
16566  fi
16567  ;;
16568
16569sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16570  version_type=sco
16571  need_lib_prefix=no
16572  need_version=no
16573  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16574  soname_spec='$libname$release$shared_ext$major'
16575  shlibpath_var=LD_LIBRARY_PATH
16576  shlibpath_overrides_runpath=yes
16577  hardcode_into_libs=yes
16578  if test yes = "$with_gnu_ld"; then
16579    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16580  else
16581    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16582    case $host_os in
16583      sco3.2v5*)
16584        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16585	;;
16586    esac
16587  fi
16588  sys_lib_dlsearch_path_spec='/usr/lib'
16589  ;;
16590
16591tpf*)
16592  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16593  version_type=linux # correct to gnu/linux during the next big refactor
16594  need_lib_prefix=no
16595  need_version=no
16596  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16597  shlibpath_var=LD_LIBRARY_PATH
16598  shlibpath_overrides_runpath=no
16599  hardcode_into_libs=yes
16600  ;;
16601
16602uts4*)
16603  version_type=linux # correct to gnu/linux during the next big refactor
16604  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16605  soname_spec='$libname$release$shared_ext$major'
16606  shlibpath_var=LD_LIBRARY_PATH
16607  ;;
16608
16609*)
16610  dynamic_linker=no
16611  ;;
16612esac
16613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16614$as_echo "$dynamic_linker" >&6; }
16615test no = "$dynamic_linker" && can_build_shared=no
16616
16617variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16618if test yes = "$GCC"; then
16619  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16620fi
16621
16622if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16623  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16624fi
16625
16626if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16627  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16628fi
16629
16630# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16631configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16632
16633# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16634func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16635
16636# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16637configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16679$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16680hardcode_action_CXX=
16681if test -n "$hardcode_libdir_flag_spec_CXX" ||
16682   test -n "$runpath_var_CXX" ||
16683   test yes = "$hardcode_automatic_CXX"; then
16684
16685  # We can hardcode non-existent directories.
16686  if test no != "$hardcode_direct_CXX" &&
16687     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16688     # have to relink, otherwise we might link with an installed library
16689     # when we should be linking with a yet-to-be-installed one
16690     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16691     test no != "$hardcode_minus_L_CXX"; then
16692    # Linking always hardcodes the temporary library directory.
16693    hardcode_action_CXX=relink
16694  else
16695    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16696    hardcode_action_CXX=immediate
16697  fi
16698else
16699  # We cannot hardcode anything, or else we can only hardcode existing
16700  # directories.
16701  hardcode_action_CXX=unsupported
16702fi
16703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16704$as_echo "$hardcode_action_CXX" >&6; }
16705
16706if test relink = "$hardcode_action_CXX" ||
16707   test yes = "$inherit_rpath_CXX"; then
16708  # Fast installation is not supported
16709  enable_fast_install=no
16710elif test yes = "$shlibpath_overrides_runpath" ||
16711     test no = "$enable_shared"; then
16712  # Fast installation is not necessary
16713  enable_fast_install=needless
16714fi
16715
16716
16717
16718
16719
16720
16721
16722  fi # test -n "$compiler"
16723
16724  CC=$lt_save_CC
16725  CFLAGS=$lt_save_CFLAGS
16726  LDCXX=$LD
16727  LD=$lt_save_LD
16728  GCC=$lt_save_GCC
16729  with_gnu_ld=$lt_save_with_gnu_ld
16730  lt_cv_path_LDCXX=$lt_cv_path_LD
16731  lt_cv_path_LD=$lt_save_path_LD
16732  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16733  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16734fi # test yes != "$_lt_caught_CXX_error"
16735
16736ac_ext=c
16737ac_cpp='$CPP $CPPFLAGS'
16738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16740ac_compiler_gnu=$ac_cv_c_compiler_gnu
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756        ac_config_commands="$ac_config_commands libtool"
16757
16758
16759
16760
16761# Only expand once:
16762
16763
16764
16765
16766
16767if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16768	if test -n "$ac_tool_prefix"; then
16769  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16770set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16772$as_echo_n "checking for $ac_word... " >&6; }
16773if ${ac_cv_path_PKG_CONFIG+:} false; then :
16774  $as_echo_n "(cached) " >&6
16775else
16776  case $PKG_CONFIG in
16777  [\\/]* | ?:[\\/]*)
16778  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16779  ;;
16780  *)
16781  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16782for as_dir in $PATH
16783do
16784  IFS=$as_save_IFS
16785  test -z "$as_dir" && as_dir=.
16786    for ac_exec_ext in '' $ac_executable_extensions; do
16787  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16788    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16789    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16790    break 2
16791  fi
16792done
16793  done
16794IFS=$as_save_IFS
16795
16796  ;;
16797esac
16798fi
16799PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16800if test -n "$PKG_CONFIG"; then
16801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16802$as_echo "$PKG_CONFIG" >&6; }
16803else
16804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16805$as_echo "no" >&6; }
16806fi
16807
16808
16809fi
16810if test -z "$ac_cv_path_PKG_CONFIG"; then
16811  ac_pt_PKG_CONFIG=$PKG_CONFIG
16812  # Extract the first word of "pkg-config", so it can be a program name with args.
16813set dummy pkg-config; ac_word=$2
16814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16815$as_echo_n "checking for $ac_word... " >&6; }
16816if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16817  $as_echo_n "(cached) " >&6
16818else
16819  case $ac_pt_PKG_CONFIG in
16820  [\\/]* | ?:[\\/]*)
16821  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16822  ;;
16823  *)
16824  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16825for as_dir in $PATH
16826do
16827  IFS=$as_save_IFS
16828  test -z "$as_dir" && as_dir=.
16829    for ac_exec_ext in '' $ac_executable_extensions; do
16830  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16831    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16832    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16833    break 2
16834  fi
16835done
16836  done
16837IFS=$as_save_IFS
16838
16839  ;;
16840esac
16841fi
16842ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16843if test -n "$ac_pt_PKG_CONFIG"; then
16844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16845$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16846else
16847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16848$as_echo "no" >&6; }
16849fi
16850
16851  if test "x$ac_pt_PKG_CONFIG" = x; then
16852    PKG_CONFIG=""
16853  else
16854    case $cross_compiling:$ac_tool_warned in
16855yes:)
16856{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16857$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16858ac_tool_warned=yes ;;
16859esac
16860    PKG_CONFIG=$ac_pt_PKG_CONFIG
16861  fi
16862else
16863  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16864fi
16865
16866fi
16867if test -n "$PKG_CONFIG"; then
16868	_pkg_min_version=0.9.0
16869	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16870$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16871	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16872		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16873$as_echo "yes" >&6; }
16874	else
16875		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16876$as_echo "no" >&6; }
16877		PKG_CONFIG=""
16878	fi
16879
16880fi
16881
16882for ac_header in getopt.h
16883do :
16884  ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
16885if test "x$ac_cv_header_getopt_h" = xyes; then :
16886  cat >>confdefs.h <<_ACEOF
16887#define HAVE_GETOPT_H 1
16888_ACEOF
16889
16890fi
16891
16892done
16893
16894for ac_header in sys/times.h
16895do :
16896  ac_fn_c_check_header_mongrel "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
16897if test "x$ac_cv_header_sys_times_h" = xyes; then :
16898  cat >>confdefs.h <<_ACEOF
16899#define HAVE_SYS_TIMES_H 1
16900_ACEOF
16901
16902fi
16903
16904done
16905
16906for ac_func in sigaction
16907do :
16908  ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
16909if test "x$ac_cv_func_sigaction" = xyes; then :
16910  cat >>confdefs.h <<_ACEOF
16911#define HAVE_SIGACTION 1
16912_ACEOF
16913
16914fi
16915done
16916
16917
16918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libbarvinok" >&5
16919$as_echo_n "checking whether to build shared libbarvinok... " >&6; }
16920# Check whether --enable-shared_barvinok was given.
16921if test "${enable_shared_barvinok+set}" = set; then :
16922  enableval=$enable_shared_barvinok; bv_cv_shared_barvinok=$enableval
16923else
16924  bv_cv_shared_barvinok="no"
16925fi
16926
16927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bv_cv_shared_barvinok" >&5
16928$as_echo "$bv_cv_shared_barvinok" >&6; }
16929if test "x$bv_cv_shared_barvinok" != "xyes" ; then
16930	BV_LDFLAGS="$BV_LDFLAGS -static"
16931fi
16932
16933
16934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
16935$as_echo_n "checking for __attribute__... " >&6; }
16936if ${ax_cv___attribute__+:} false; then :
16937  $as_echo_n "(cached) " >&6
16938else
16939  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940/* end confdefs.h.  */
16941#include <stdlib.h>
16942	  static void foo(void) __attribute__ ((unused));
16943	  static void
16944	  foo(void) {
16945	      exit(1);
16946	  }
16947
16948int
16949main ()
16950{
16951
16952  ;
16953  return 0;
16954}
16955_ACEOF
16956if ac_fn_c_try_compile "$LINENO"; then :
16957  ax_cv___attribute__=yes
16958else
16959  ax_cv___attribute__=no
16960
16961fi
16962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16963
16964fi
16965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv___attribute__" >&5
16966$as_echo "$ax_cv___attribute__" >&6; }
16967  if test "$ax_cv___attribute__" = "yes"; then
16968
16969$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
16970
16971  fi
16972
16973
16974	SAVE_CXX="$CXX"
16975	SAVE_CXXCPP="$CXXCPP"
16976	      ax_cxx_compile_cxx11_required=false
16977  ac_ext=cpp
16978ac_cpp='$CXXCPP $CPPFLAGS'
16979ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16980ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16981ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16982  ac_success=no
16983  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
16984$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
16985if ${ax_cv_cxx_compile_cxx11+:} false; then :
16986  $as_echo_n "(cached) " >&6
16987else
16988  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989/* end confdefs.h.  */
16990
16991
16992// If the compiler admits that it is not ready for C++11, why torture it?
16993// Hopefully, this will speed up the test.
16994
16995#ifndef __cplusplus
16996
16997#error "This is not a C++ compiler"
16998
16999#elif __cplusplus < 201103L
17000
17001#error "This is not a C++11 compiler"
17002
17003#else
17004
17005namespace cxx11
17006{
17007
17008  namespace test_static_assert
17009  {
17010
17011    template <typename T>
17012    struct check
17013    {
17014      static_assert(sizeof(int) <= sizeof(T), "not big enough");
17015    };
17016
17017  }
17018
17019  namespace test_final_override
17020  {
17021
17022    struct Base
17023    {
17024      virtual void f() {}
17025    };
17026
17027    struct Derived : public Base
17028    {
17029      virtual void f() override {}
17030    };
17031
17032  }
17033
17034  namespace test_double_right_angle_brackets
17035  {
17036
17037    template < typename T >
17038    struct check {};
17039
17040    typedef check<void> single_type;
17041    typedef check<check<void>> double_type;
17042    typedef check<check<check<void>>> triple_type;
17043    typedef check<check<check<check<void>>>> quadruple_type;
17044
17045  }
17046
17047  namespace test_decltype
17048  {
17049
17050    int
17051    f()
17052    {
17053      int a = 1;
17054      decltype(a) b = 2;
17055      return a + b;
17056    }
17057
17058  }
17059
17060  namespace test_type_deduction
17061  {
17062
17063    template < typename T1, typename T2 >
17064    struct is_same
17065    {
17066      static const bool value = false;
17067    };
17068
17069    template < typename T >
17070    struct is_same<T, T>
17071    {
17072      static const bool value = true;
17073    };
17074
17075    template < typename T1, typename T2 >
17076    auto
17077    add(T1 a1, T2 a2) -> decltype(a1 + a2)
17078    {
17079      return a1 + a2;
17080    }
17081
17082    int
17083    test(const int c, volatile int v)
17084    {
17085      static_assert(is_same<int, decltype(0)>::value == true, "");
17086      static_assert(is_same<int, decltype(c)>::value == false, "");
17087      static_assert(is_same<int, decltype(v)>::value == false, "");
17088      auto ac = c;
17089      auto av = v;
17090      auto sumi = ac + av + 'x';
17091      auto sumf = ac + av + 1.0;
17092      static_assert(is_same<int, decltype(ac)>::value == true, "");
17093      static_assert(is_same<int, decltype(av)>::value == true, "");
17094      static_assert(is_same<int, decltype(sumi)>::value == true, "");
17095      static_assert(is_same<int, decltype(sumf)>::value == false, "");
17096      static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
17097      return (sumf > 0.0) ? sumi : add(c, v);
17098    }
17099
17100  }
17101
17102  namespace test_noexcept
17103  {
17104
17105    int f() { return 0; }
17106    int g() noexcept { return 0; }
17107
17108    static_assert(noexcept(f()) == false, "");
17109    static_assert(noexcept(g()) == true, "");
17110
17111  }
17112
17113  namespace test_constexpr
17114  {
17115
17116    template < typename CharT >
17117    unsigned long constexpr
17118    strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
17119    {
17120      return *s ? strlen_c_r(s + 1, acc + 1) : acc;
17121    }
17122
17123    template < typename CharT >
17124    unsigned long constexpr
17125    strlen_c(const CharT *const s) noexcept
17126    {
17127      return strlen_c_r(s, 0UL);
17128    }
17129
17130    static_assert(strlen_c("") == 0UL, "");
17131    static_assert(strlen_c("1") == 1UL, "");
17132    static_assert(strlen_c("example") == 7UL, "");
17133    static_assert(strlen_c("another\0example") == 7UL, "");
17134
17135  }
17136
17137  namespace test_rvalue_references
17138  {
17139
17140    template < int N >
17141    struct answer
17142    {
17143      static constexpr int value = N;
17144    };
17145
17146    answer<1> f(int&)       { return answer<1>(); }
17147    answer<2> f(const int&) { return answer<2>(); }
17148    answer<3> f(int&&)      { return answer<3>(); }
17149
17150    void
17151    test()
17152    {
17153      int i = 0;
17154      const int c = 0;
17155      static_assert(decltype(f(i))::value == 1, "");
17156      static_assert(decltype(f(c))::value == 2, "");
17157      static_assert(decltype(f(0))::value == 3, "");
17158    }
17159
17160  }
17161
17162  namespace test_uniform_initialization
17163  {
17164
17165    struct test
17166    {
17167      static const int zero {};
17168      static const int one {1};
17169    };
17170
17171    static_assert(test::zero == 0, "");
17172    static_assert(test::one == 1, "");
17173
17174  }
17175
17176  namespace test_lambdas
17177  {
17178
17179    void
17180    test1()
17181    {
17182      auto lambda1 = [](){};
17183      auto lambda2 = lambda1;
17184      lambda1();
17185      lambda2();
17186    }
17187
17188    int
17189    test2()
17190    {
17191      auto a = [](int i, int j){ return i + j; }(1, 2);
17192      auto b = []() -> int { return '0'; }();
17193      auto c = [=](){ return a + b; }();
17194      auto d = [&](){ return c; }();
17195      auto e = [a, &b](int x) mutable {
17196        const auto identity = [](int y){ return y; };
17197        for (auto i = 0; i < a; ++i)
17198          a += b--;
17199        return x + identity(a + b);
17200      }(0);
17201      return a + b + c + d + e;
17202    }
17203
17204    int
17205    test3()
17206    {
17207      const auto nullary = [](){ return 0; };
17208      const auto unary = [](int x){ return x; };
17209      using nullary_t = decltype(nullary);
17210      using unary_t = decltype(unary);
17211      const auto higher1st = [](nullary_t f){ return f(); };
17212      const auto higher2nd = [unary](nullary_t f1){
17213        return [unary, f1](unary_t f2){ return f2(unary(f1())); };
17214      };
17215      return higher1st(nullary) + higher2nd(nullary)(unary);
17216    }
17217
17218  }
17219
17220  namespace test_variadic_templates
17221  {
17222
17223    template <int...>
17224    struct sum;
17225
17226    template <int N0, int... N1toN>
17227    struct sum<N0, N1toN...>
17228    {
17229      static constexpr auto value = N0 + sum<N1toN...>::value;
17230    };
17231
17232    template <>
17233    struct sum<>
17234    {
17235      static constexpr auto value = 0;
17236    };
17237
17238    static_assert(sum<>::value == 0, "");
17239    static_assert(sum<1>::value == 1, "");
17240    static_assert(sum<23>::value == 23, "");
17241    static_assert(sum<1, 2>::value == 3, "");
17242    static_assert(sum<5, 5, 11>::value == 21, "");
17243    static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
17244
17245  }
17246
17247  // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
17248  // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
17249  // because of this.
17250  namespace test_template_alias_sfinae
17251  {
17252
17253    struct foo {};
17254
17255    template<typename T>
17256    using member = typename T::member_type;
17257
17258    template<typename T>
17259    void func(...) {}
17260
17261    template<typename T>
17262    void func(member<T>*) {}
17263
17264    void test();
17265
17266    void test() { func<foo>(0); }
17267
17268  }
17269
17270}  // namespace cxx11
17271
17272#endif  // __cplusplus >= 201103L
17273
17274
17275
17276_ACEOF
17277if ac_fn_cxx_try_compile "$LINENO"; then :
17278  ax_cv_cxx_compile_cxx11=yes
17279else
17280  ax_cv_cxx_compile_cxx11=no
17281fi
17282rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17283fi
17284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
17285$as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
17286  if test x$ax_cv_cxx_compile_cxx11 = xyes; then
17287    ac_success=yes
17288  fi
17289
17290    if test x$ac_success = xno; then
17291    for switch in -std=gnu++11 -std=gnu++0x; do
17292      cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
17293      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
17294$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
17295if eval \${$cachevar+:} false; then :
17296  $as_echo_n "(cached) " >&6
17297else
17298  ac_save_CXX="$CXX"
17299         CXX="$CXX $switch"
17300         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17301/* end confdefs.h.  */
17302
17303
17304// If the compiler admits that it is not ready for C++11, why torture it?
17305// Hopefully, this will speed up the test.
17306
17307#ifndef __cplusplus
17308
17309#error "This is not a C++ compiler"
17310
17311#elif __cplusplus < 201103L
17312
17313#error "This is not a C++11 compiler"
17314
17315#else
17316
17317namespace cxx11
17318{
17319
17320  namespace test_static_assert
17321  {
17322
17323    template <typename T>
17324    struct check
17325    {
17326      static_assert(sizeof(int) <= sizeof(T), "not big enough");
17327    };
17328
17329  }
17330
17331  namespace test_final_override
17332  {
17333
17334    struct Base
17335    {
17336      virtual void f() {}
17337    };
17338
17339    struct Derived : public Base
17340    {
17341      virtual void f() override {}
17342    };
17343
17344  }
17345
17346  namespace test_double_right_angle_brackets
17347  {
17348
17349    template < typename T >
17350    struct check {};
17351
17352    typedef check<void> single_type;
17353    typedef check<check<void>> double_type;
17354    typedef check<check<check<void>>> triple_type;
17355    typedef check<check<check<check<void>>>> quadruple_type;
17356
17357  }
17358
17359  namespace test_decltype
17360  {
17361
17362    int
17363    f()
17364    {
17365      int a = 1;
17366      decltype(a) b = 2;
17367      return a + b;
17368    }
17369
17370  }
17371
17372  namespace test_type_deduction
17373  {
17374
17375    template < typename T1, typename T2 >
17376    struct is_same
17377    {
17378      static const bool value = false;
17379    };
17380
17381    template < typename T >
17382    struct is_same<T, T>
17383    {
17384      static const bool value = true;
17385    };
17386
17387    template < typename T1, typename T2 >
17388    auto
17389    add(T1 a1, T2 a2) -> decltype(a1 + a2)
17390    {
17391      return a1 + a2;
17392    }
17393
17394    int
17395    test(const int c, volatile int v)
17396    {
17397      static_assert(is_same<int, decltype(0)>::value == true, "");
17398      static_assert(is_same<int, decltype(c)>::value == false, "");
17399      static_assert(is_same<int, decltype(v)>::value == false, "");
17400      auto ac = c;
17401      auto av = v;
17402      auto sumi = ac + av + 'x';
17403      auto sumf = ac + av + 1.0;
17404      static_assert(is_same<int, decltype(ac)>::value == true, "");
17405      static_assert(is_same<int, decltype(av)>::value == true, "");
17406      static_assert(is_same<int, decltype(sumi)>::value == true, "");
17407      static_assert(is_same<int, decltype(sumf)>::value == false, "");
17408      static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
17409      return (sumf > 0.0) ? sumi : add(c, v);
17410    }
17411
17412  }
17413
17414  namespace test_noexcept
17415  {
17416
17417    int f() { return 0; }
17418    int g() noexcept { return 0; }
17419
17420    static_assert(noexcept(f()) == false, "");
17421    static_assert(noexcept(g()) == true, "");
17422
17423  }
17424
17425  namespace test_constexpr
17426  {
17427
17428    template < typename CharT >
17429    unsigned long constexpr
17430    strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
17431    {
17432      return *s ? strlen_c_r(s + 1, acc + 1) : acc;
17433    }
17434
17435    template < typename CharT >
17436    unsigned long constexpr
17437    strlen_c(const CharT *const s) noexcept
17438    {
17439      return strlen_c_r(s, 0UL);
17440    }
17441
17442    static_assert(strlen_c("") == 0UL, "");
17443    static_assert(strlen_c("1") == 1UL, "");
17444    static_assert(strlen_c("example") == 7UL, "");
17445    static_assert(strlen_c("another\0example") == 7UL, "");
17446
17447  }
17448
17449  namespace test_rvalue_references
17450  {
17451
17452    template < int N >
17453    struct answer
17454    {
17455      static constexpr int value = N;
17456    };
17457
17458    answer<1> f(int&)       { return answer<1>(); }
17459    answer<2> f(const int&) { return answer<2>(); }
17460    answer<3> f(int&&)      { return answer<3>(); }
17461
17462    void
17463    test()
17464    {
17465      int i = 0;
17466      const int c = 0;
17467      static_assert(decltype(f(i))::value == 1, "");
17468      static_assert(decltype(f(c))::value == 2, "");
17469      static_assert(decltype(f(0))::value == 3, "");
17470    }
17471
17472  }
17473
17474  namespace test_uniform_initialization
17475  {
17476
17477    struct test
17478    {
17479      static const int zero {};
17480      static const int one {1};
17481    };
17482
17483    static_assert(test::zero == 0, "");
17484    static_assert(test::one == 1, "");
17485
17486  }
17487
17488  namespace test_lambdas
17489  {
17490
17491    void
17492    test1()
17493    {
17494      auto lambda1 = [](){};
17495      auto lambda2 = lambda1;
17496      lambda1();
17497      lambda2();
17498    }
17499
17500    int
17501    test2()
17502    {
17503      auto a = [](int i, int j){ return i + j; }(1, 2);
17504      auto b = []() -> int { return '0'; }();
17505      auto c = [=](){ return a + b; }();
17506      auto d = [&](){ return c; }();
17507      auto e = [a, &b](int x) mutable {
17508        const auto identity = [](int y){ return y; };
17509        for (auto i = 0; i < a; ++i)
17510          a += b--;
17511        return x + identity(a + b);
17512      }(0);
17513      return a + b + c + d + e;
17514    }
17515
17516    int
17517    test3()
17518    {
17519      const auto nullary = [](){ return 0; };
17520      const auto unary = [](int x){ return x; };
17521      using nullary_t = decltype(nullary);
17522      using unary_t = decltype(unary);
17523      const auto higher1st = [](nullary_t f){ return f(); };
17524      const auto higher2nd = [unary](nullary_t f1){
17525        return [unary, f1](unary_t f2){ return f2(unary(f1())); };
17526      };
17527      return higher1st(nullary) + higher2nd(nullary)(unary);
17528    }
17529
17530  }
17531
17532  namespace test_variadic_templates
17533  {
17534
17535    template <int...>
17536    struct sum;
17537
17538    template <int N0, int... N1toN>
17539    struct sum<N0, N1toN...>
17540    {
17541      static constexpr auto value = N0 + sum<N1toN...>::value;
17542    };
17543
17544    template <>
17545    struct sum<>
17546    {
17547      static constexpr auto value = 0;
17548    };
17549
17550    static_assert(sum<>::value == 0, "");
17551    static_assert(sum<1>::value == 1, "");
17552    static_assert(sum<23>::value == 23, "");
17553    static_assert(sum<1, 2>::value == 3, "");
17554    static_assert(sum<5, 5, 11>::value == 21, "");
17555    static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
17556
17557  }
17558
17559  // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
17560  // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
17561  // because of this.
17562  namespace test_template_alias_sfinae
17563  {
17564
17565    struct foo {};
17566
17567    template<typename T>
17568    using member = typename T::member_type;
17569
17570    template<typename T>
17571    void func(...) {}
17572
17573    template<typename T>
17574    void func(member<T>*) {}
17575
17576    void test();
17577
17578    void test() { func<foo>(0); }
17579
17580  }
17581
17582}  // namespace cxx11
17583
17584#endif  // __cplusplus >= 201103L
17585
17586
17587
17588_ACEOF
17589if ac_fn_cxx_try_compile "$LINENO"; then :
17590  eval $cachevar=yes
17591else
17592  eval $cachevar=no
17593fi
17594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17595         CXX="$ac_save_CXX"
17596fi
17597eval ac_res=\$$cachevar
17598	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17599$as_echo "$ac_res" >&6; }
17600      if eval test x\$$cachevar = xyes; then
17601        CXX="$CXX $switch"
17602        if test -n "$CXXCPP" ; then
17603          CXXCPP="$CXXCPP $switch"
17604        fi
17605        ac_success=yes
17606        break
17607      fi
17608    done
17609  fi
17610
17611    if test x$ac_success = xno; then
17612                for switch in -std=c++11 -std=c++0x +std=c++11 "-h std=c++11"; do
17613      cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
17614      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
17615$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
17616if eval \${$cachevar+:} false; then :
17617  $as_echo_n "(cached) " >&6
17618else
17619  ac_save_CXX="$CXX"
17620         CXX="$CXX $switch"
17621         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622/* end confdefs.h.  */
17623
17624
17625// If the compiler admits that it is not ready for C++11, why torture it?
17626// Hopefully, this will speed up the test.
17627
17628#ifndef __cplusplus
17629
17630#error "This is not a C++ compiler"
17631
17632#elif __cplusplus < 201103L
17633
17634#error "This is not a C++11 compiler"
17635
17636#else
17637
17638namespace cxx11
17639{
17640
17641  namespace test_static_assert
17642  {
17643
17644    template <typename T>
17645    struct check
17646    {
17647      static_assert(sizeof(int) <= sizeof(T), "not big enough");
17648    };
17649
17650  }
17651
17652  namespace test_final_override
17653  {
17654
17655    struct Base
17656    {
17657      virtual void f() {}
17658    };
17659
17660    struct Derived : public Base
17661    {
17662      virtual void f() override {}
17663    };
17664
17665  }
17666
17667  namespace test_double_right_angle_brackets
17668  {
17669
17670    template < typename T >
17671    struct check {};
17672
17673    typedef check<void> single_type;
17674    typedef check<check<void>> double_type;
17675    typedef check<check<check<void>>> triple_type;
17676    typedef check<check<check<check<void>>>> quadruple_type;
17677
17678  }
17679
17680  namespace test_decltype
17681  {
17682
17683    int
17684    f()
17685    {
17686      int a = 1;
17687      decltype(a) b = 2;
17688      return a + b;
17689    }
17690
17691  }
17692
17693  namespace test_type_deduction
17694  {
17695
17696    template < typename T1, typename T2 >
17697    struct is_same
17698    {
17699      static const bool value = false;
17700    };
17701
17702    template < typename T >
17703    struct is_same<T, T>
17704    {
17705      static const bool value = true;
17706    };
17707
17708    template < typename T1, typename T2 >
17709    auto
17710    add(T1 a1, T2 a2) -> decltype(a1 + a2)
17711    {
17712      return a1 + a2;
17713    }
17714
17715    int
17716    test(const int c, volatile int v)
17717    {
17718      static_assert(is_same<int, decltype(0)>::value == true, "");
17719      static_assert(is_same<int, decltype(c)>::value == false, "");
17720      static_assert(is_same<int, decltype(v)>::value == false, "");
17721      auto ac = c;
17722      auto av = v;
17723      auto sumi = ac + av + 'x';
17724      auto sumf = ac + av + 1.0;
17725      static_assert(is_same<int, decltype(ac)>::value == true, "");
17726      static_assert(is_same<int, decltype(av)>::value == true, "");
17727      static_assert(is_same<int, decltype(sumi)>::value == true, "");
17728      static_assert(is_same<int, decltype(sumf)>::value == false, "");
17729      static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
17730      return (sumf > 0.0) ? sumi : add(c, v);
17731    }
17732
17733  }
17734
17735  namespace test_noexcept
17736  {
17737
17738    int f() { return 0; }
17739    int g() noexcept { return 0; }
17740
17741    static_assert(noexcept(f()) == false, "");
17742    static_assert(noexcept(g()) == true, "");
17743
17744  }
17745
17746  namespace test_constexpr
17747  {
17748
17749    template < typename CharT >
17750    unsigned long constexpr
17751    strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
17752    {
17753      return *s ? strlen_c_r(s + 1, acc + 1) : acc;
17754    }
17755
17756    template < typename CharT >
17757    unsigned long constexpr
17758    strlen_c(const CharT *const s) noexcept
17759    {
17760      return strlen_c_r(s, 0UL);
17761    }
17762
17763    static_assert(strlen_c("") == 0UL, "");
17764    static_assert(strlen_c("1") == 1UL, "");
17765    static_assert(strlen_c("example") == 7UL, "");
17766    static_assert(strlen_c("another\0example") == 7UL, "");
17767
17768  }
17769
17770  namespace test_rvalue_references
17771  {
17772
17773    template < int N >
17774    struct answer
17775    {
17776      static constexpr int value = N;
17777    };
17778
17779    answer<1> f(int&)       { return answer<1>(); }
17780    answer<2> f(const int&) { return answer<2>(); }
17781    answer<3> f(int&&)      { return answer<3>(); }
17782
17783    void
17784    test()
17785    {
17786      int i = 0;
17787      const int c = 0;
17788      static_assert(decltype(f(i))::value == 1, "");
17789      static_assert(decltype(f(c))::value == 2, "");
17790      static_assert(decltype(f(0))::value == 3, "");
17791    }
17792
17793  }
17794
17795  namespace test_uniform_initialization
17796  {
17797
17798    struct test
17799    {
17800      static const int zero {};
17801      static const int one {1};
17802    };
17803
17804    static_assert(test::zero == 0, "");
17805    static_assert(test::one == 1, "");
17806
17807  }
17808
17809  namespace test_lambdas
17810  {
17811
17812    void
17813    test1()
17814    {
17815      auto lambda1 = [](){};
17816      auto lambda2 = lambda1;
17817      lambda1();
17818      lambda2();
17819    }
17820
17821    int
17822    test2()
17823    {
17824      auto a = [](int i, int j){ return i + j; }(1, 2);
17825      auto b = []() -> int { return '0'; }();
17826      auto c = [=](){ return a + b; }();
17827      auto d = [&](){ return c; }();
17828      auto e = [a, &b](int x) mutable {
17829        const auto identity = [](int y){ return y; };
17830        for (auto i = 0; i < a; ++i)
17831          a += b--;
17832        return x + identity(a + b);
17833      }(0);
17834      return a + b + c + d + e;
17835    }
17836
17837    int
17838    test3()
17839    {
17840      const auto nullary = [](){ return 0; };
17841      const auto unary = [](int x){ return x; };
17842      using nullary_t = decltype(nullary);
17843      using unary_t = decltype(unary);
17844      const auto higher1st = [](nullary_t f){ return f(); };
17845      const auto higher2nd = [unary](nullary_t f1){
17846        return [unary, f1](unary_t f2){ return f2(unary(f1())); };
17847      };
17848      return higher1st(nullary) + higher2nd(nullary)(unary);
17849    }
17850
17851  }
17852
17853  namespace test_variadic_templates
17854  {
17855
17856    template <int...>
17857    struct sum;
17858
17859    template <int N0, int... N1toN>
17860    struct sum<N0, N1toN...>
17861    {
17862      static constexpr auto value = N0 + sum<N1toN...>::value;
17863    };
17864
17865    template <>
17866    struct sum<>
17867    {
17868      static constexpr auto value = 0;
17869    };
17870
17871    static_assert(sum<>::value == 0, "");
17872    static_assert(sum<1>::value == 1, "");
17873    static_assert(sum<23>::value == 23, "");
17874    static_assert(sum<1, 2>::value == 3, "");
17875    static_assert(sum<5, 5, 11>::value == 21, "");
17876    static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
17877
17878  }
17879
17880  // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
17881  // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
17882  // because of this.
17883  namespace test_template_alias_sfinae
17884  {
17885
17886    struct foo {};
17887
17888    template<typename T>
17889    using member = typename T::member_type;
17890
17891    template<typename T>
17892    void func(...) {}
17893
17894    template<typename T>
17895    void func(member<T>*) {}
17896
17897    void test();
17898
17899    void test() { func<foo>(0); }
17900
17901  }
17902
17903}  // namespace cxx11
17904
17905#endif  // __cplusplus >= 201103L
17906
17907
17908
17909_ACEOF
17910if ac_fn_cxx_try_compile "$LINENO"; then :
17911  eval $cachevar=yes
17912else
17913  eval $cachevar=no
17914fi
17915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17916         CXX="$ac_save_CXX"
17917fi
17918eval ac_res=\$$cachevar
17919	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17920$as_echo "$ac_res" >&6; }
17921      if eval test x\$$cachevar = xyes; then
17922        CXX="$CXX $switch"
17923        if test -n "$CXXCPP" ; then
17924          CXXCPP="$CXXCPP $switch"
17925        fi
17926        ac_success=yes
17927        break
17928      fi
17929    done
17930  fi
17931  ac_ext=c
17932ac_cpp='$CPP $CPPFLAGS'
17933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17935ac_compiler_gnu=$ac_cv_c_compiler_gnu
17936
17937  if test x$ax_cxx_compile_cxx11_required = xtrue; then
17938    if test x$ac_success = xno; then
17939      as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
17940    fi
17941  fi
17942  if test x$ac_success = xno; then
17943    HAVE_CXX11=0
17944    { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
17945$as_echo "$as_me: No compiler with C++11 support was found" >&6;}
17946  else
17947    HAVE_CXX11=1
17948
17949$as_echo "#define HAVE_CXX11 1" >>confdefs.h
17950
17951  fi
17952
17953
17954
17955	ac_ext=cpp
17956ac_cpp='$CXXCPP $CPPFLAGS'
17957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17960
17961	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962/* end confdefs.h.  */
17963#include <unordered_map>
17964int
17965main ()
17966{
17967using std::unordered_map;
17968  ;
17969  return 0;
17970}
17971_ACEOF
17972if ac_fn_cxx_try_compile "$LINENO"; then :
17973
17974$as_echo "#define HAVE_UNORDERED_MAP /**/" >>confdefs.h
17975
17976else
17977  CXX="$SAVE_CXX"
17978		 CXXCPP="$SAVE_CXXCPP"
17979
17980fi
17981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17982	ac_ext=c
17983ac_cpp='$CPP $CPPFLAGS'
17984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17986ac_compiler_gnu=$ac_cv_c_compiler_gnu
17987
17988
17989
17990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports __gnu_cxx::hash_map" >&5
17991$as_echo_n "checking whether the compiler supports __gnu_cxx::hash_map... " >&6; }
17992if ${ac_cv_cxx_gnucxx_hashmap+:} false; then :
17993  $as_echo_n "(cached) " >&6
17994else
17995
17996 ac_ext=cpp
17997ac_cpp='$CXXCPP $CPPFLAGS'
17998ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17999ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18000ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18001
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003/* end confdefs.h.  */
18004#include <ext/hash_map>
18005using __gnu_cxx::hash_map;
18006int
18007main ()
18008{
18009
18010  ;
18011  return 0;
18012}
18013_ACEOF
18014if ac_fn_cxx_try_compile "$LINENO"; then :
18015  ac_cv_cxx_gnucxx_hashmap=yes
18016else
18017  ac_cv_cxx_gnucxx_hashmap=no
18018fi
18019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18020 ac_ext=c
18021ac_cpp='$CPP $CPPFLAGS'
18022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024ac_compiler_gnu=$ac_cv_c_compiler_gnu
18025
18026
18027fi
18028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_gnucxx_hashmap" >&5
18029$as_echo "$ac_cv_cxx_gnucxx_hashmap" >&6; }
18030if test "$ac_cv_cxx_gnucxx_hashmap" = yes; then
18031
18032$as_echo "#define HAVE_GNUCXX_HASHMAP /**/" >>confdefs.h
18033
18034fi
18035
18036
18037
18038# Check whether --with-default-prefix was given.
18039if test "${with_default_prefix+set}" = set; then :
18040  withval=$with_default_prefix;
18041fi
18042
18043if test "${with_default_prefix+set}" = set; then
18044	if test "${with_libgmp+set}" != set -a \
18045	   -f "$with_default_prefix/include/gmp.h"; then
18046		with_gmp_prefix=$with_default_prefix
18047	fi
18048	if test "${with_ntl+set}" != set -a \
18049	   "${with_ntl_prefix+set}" != set -a \
18050	   -f "$with_default_prefix/include/NTL/ZZ.h"; then
18051		with_ntl_prefix=$with_default_prefix
18052	fi
18053	if test "${with_cddlib+set}" != set -a \
18054	   -f "$with_default_prefix/include/cddmp.h"; then
18055		with_cddlib=$with_default_prefix
18056	fi
18057	if test "${with_glpk+set}" != set -a \
18058	   -f "$with_default_prefix/include/glpk.h"; then
18059		with_glpk=$with_default_prefix
18060	fi
18061	if test "${with_topcom+set}" != set -a \
18062	   -f "$with_default_prefix/bin/points2triangs"; then
18063		with_topcom=$with_default_prefix
18064	fi
18065fi
18066
18067
18068
18069
18070
18071# Check whether --with-gmp was given.
18072if test "${with_gmp+set}" = set; then :
18073  withval=$with_gmp;
18074fi
18075
18076case "system" in
18077system|build)
18078
18079# Check whether --with-gmp_prefix was given.
18080if test "${with_gmp_prefix+set}" = set; then :
18081  withval=$with_gmp_prefix;
18082fi
18083
18084
18085# Check whether --with-gmp_exec_prefix was given.
18086if test "${with_gmp_exec_prefix+set}" = set; then :
18087  withval=$with_gmp_exec_prefix;
18088fi
18089
18090esac
18091
18092# Check whether --with-gmp_builddir was given.
18093if test "${with_gmp_builddir+set}" = set; then :
18094  withval=$with_gmp_builddir;
18095fi
18096
18097if test "x$with_gmp_prefix" != "x" -a "x$with_gmp_exec_prefix" = "x"; then
18098	with_gmp_exec_prefix=$with_gmp_prefix
18099fi
18100if test "x$with_gmp_prefix" != "x" -o "x$with_gmp_exec_prefix" != "x"; then
18101	if test "x$with_gmp" != "x" -a "x$with_gmp" != "xsystem"; then
18102		as_fn_error $? "Setting $with_gmp_prefix implies use of system gmp" "$LINENO" 5
18103	fi
18104	with_gmp="system"
18105fi
18106if test "x$with_gmp_builddir" != "x"; then
18107	if test "x$with_gmp" != "x" -a "x$with_gmp" != "xbuild"; then
18108		as_fn_error $? "Setting $with_gmp_builddir implies use of build gmp" "$LINENO" 5
18109	fi
18110	with_gmp="build"
18111	gmp_srcdir=`echo @abs_srcdir@ | $with_gmp_builddir/config.status --file=-`
18112	{ $as_echo "$as_me:${as_lineno-$LINENO}: gmp sources in $gmp_srcdir" >&5
18113$as_echo "$as_me: gmp sources in $gmp_srcdir" >&6;}
18114fi
18115if test "x$with_gmp_exec_prefix" != "x"; then
18116	export PKG_CONFIG_PATH="$with_gmp_exec_prefix/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}"
18117fi
18118case "$with_gmp" in
18119system|build)
18120	;;
18121*)
18122	case "system" in
18123	bundled)
18124		if test -d $srcdir/.git -a \
18125			-d $srcdir/gmp; then if test \
18126			"`cd $srcdir; git submodule status gmp | cut -c1`" = '-'; then
18127			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule gmp not initialized" >&5
18128$as_echo "$as_me: WARNING: git repo detected, but submodule gmp not initialized" >&2;}
18129			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
18130$as_echo "$as_me: WARNING: You may want to run" >&2;}
18131			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule init" >&5
18132$as_echo "$as_me: WARNING: 	git submodule init" >&2;}
18133			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule update" >&5
18134$as_echo "$as_me: WARNING: 	git submodule update" >&2;}
18135			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	sh autogen.sh" >&5
18136$as_echo "$as_me: WARNING: 	sh autogen.sh" >&2;}
18137		fi fi
18138		if test -f $srcdir/gmp/configure; then
18139			with_gmp="bundled"
18140		else
18141			case "system" in
18142			system|build)
18143				with_gmp="system"
18144				;;
18145			*)
18146				with_gmp="no"
18147				;;
18148			esac
18149		fi
18150		;;
18151	*)
18152		with_gmp="system"
18153		;;
18154	esac
18155	;;
18156esac
18157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which gmp to use" >&5
18158$as_echo_n "checking which gmp to use... " >&6; }
18159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gmp" >&5
18160$as_echo "$with_gmp" >&6; }
18161
18162
18163
18164
18165case "$with_gmp" in
18166build)
18167	with_gmp_builddir=`echo @abs_builddir@ | \
18168			   $with_gmp_builddir/config.status --file=-`
18169	CPPFLAGS="-I$with_gmp_builddir $CPPFLAGS"
18170	LDFLAGS="-L$with_gmp_builddir/$lt_cv_objdir $LDFLAGS"
18171	bv_extra="--with-gmp --with-gmp-builddir=$with_gmp_builddir"
18172	bv_configure_args="$bv_configure_args $bv_extra"
18173	;;
18174system)
18175	if test "x$with_gmp_prefix" != "x"; then
18176		bv_extra="--with-libgmp=$with_gmp_prefix"
18177		bv_configure_args="$bv_configure_args $bv_extra"
18178		CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS"
18179		LDFLAGS="-L$with_gmp_prefix/lib $LDFLAGS"
18180	else
18181		bv_configure_args="$bv_configure_args --with-libgmp --with-gmp"
18182	fi
18183	;;
18184esac
18185
18186poly_cv_gmpfatal="no"
18187ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
18188if test "x$ac_cv_header_gmp_h" = xyes; then :
18189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
18190$as_echo_n "checking for main in -lgmp... " >&6; }
18191if ${ac_cv_lib_gmp_main+:} false; then :
18192  $as_echo_n "(cached) " >&6
18193else
18194  ac_check_lib_save_LIBS=$LIBS
18195LIBS="-lgmp  $LIBS"
18196cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197/* end confdefs.h.  */
18198
18199
18200int
18201main ()
18202{
18203return main ();
18204  ;
18205  return 0;
18206}
18207_ACEOF
18208if ac_fn_c_try_link "$LINENO"; then :
18209  ac_cv_lib_gmp_main=yes
18210else
18211  ac_cv_lib_gmp_main=no
18212fi
18213rm -f core conftest.err conftest.$ac_objext \
18214    conftest$ac_exeext conftest.$ac_ext
18215LIBS=$ac_check_lib_save_LIBS
18216fi
18217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
18218$as_echo "$ac_cv_lib_gmp_main" >&6; }
18219if test "x$ac_cv_lib_gmp_main" = xyes; then :
18220  cat >>confdefs.h <<_ACEOF
18221#define HAVE_LIBGMP 1
18222_ACEOF
18223
18224  LIBS="-lgmp $LIBS"
18225
18226else
18227  poly_cv_gmpfatal="yes"
18228fi
18229
18230else
18231  poly_cv_gmpfatal="yes"
18232fi
18233
18234
18235if test "$poly_cv_gmpfatal" = "yes"; then
18236	as_fn_error $? "GMP not found" "$LINENO" 5
18237fi
18238ac_fn_c_check_decl "$LINENO" "mpz_divisible_p" "ac_cv_have_decl_mpz_divisible_p" "#include <gmp.h>
18239"
18240if test "x$ac_cv_have_decl_mpz_divisible_p" = xyes; then :
18241
18242else
18243  case " $LIBOBJS " in
18244  *" mpz_divisible_p.$ac_objext "* ) ;;
18245  *) LIBOBJS="$LIBOBJS mpz_divisible_p.$ac_objext"
18246 ;;
18247esac
18248
18249fi
18250
18251
18252
18253
18254
18255
18256# Check whether --with-polylib was given.
18257if test "${with_polylib+set}" = set; then :
18258  withval=$with_polylib;
18259fi
18260
18261case "system" in
18262build|bundled|system)
18263
18264# Check whether --with-polylib_prefix was given.
18265if test "${with_polylib_prefix+set}" = set; then :
18266  withval=$with_polylib_prefix;
18267fi
18268
18269
18270# Check whether --with-polylib_exec_prefix was given.
18271if test "${with_polylib_exec_prefix+set}" = set; then :
18272  withval=$with_polylib_exec_prefix;
18273fi
18274
18275esac
18276
18277# Check whether --with-polylib_builddir was given.
18278if test "${with_polylib_builddir+set}" = set; then :
18279  withval=$with_polylib_builddir;
18280fi
18281
18282if test "x$with_polylib_prefix" != "x" -a "x$with_polylib_exec_prefix" = "x"; then
18283	with_polylib_exec_prefix=$with_polylib_prefix
18284fi
18285if test "x$with_polylib_prefix" != "x" -o "x$with_polylib_exec_prefix" != "x"; then
18286	if test "x$with_polylib" != "x" -a "x$with_polylib" != "xsystem"; then
18287		as_fn_error $? "Setting $with_polylib_prefix implies use of system polylib" "$LINENO" 5
18288	fi
18289	with_polylib="system"
18290fi
18291if test "x$with_polylib_builddir" != "x"; then
18292	if test "x$with_polylib" != "x" -a "x$with_polylib" != "xbuild"; then
18293		as_fn_error $? "Setting $with_polylib_builddir implies use of build polylib" "$LINENO" 5
18294	fi
18295	with_polylib="build"
18296	polylib_srcdir=`echo @abs_srcdir@ | $with_polylib_builddir/config.status --file=-`
18297	{ $as_echo "$as_me:${as_lineno-$LINENO}: polylib sources in $polylib_srcdir" >&5
18298$as_echo "$as_me: polylib sources in $polylib_srcdir" >&6;}
18299fi
18300if test "x$with_polylib_exec_prefix" != "x"; then
18301	export PKG_CONFIG_PATH="$with_polylib_exec_prefix/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}"
18302fi
18303case "$with_polylib" in
18304build|bundled|system)
18305	;;
18306*)
18307	case "bundled" in
18308	bundled)
18309		if test -d $srcdir/.git -a \
18310			-d $srcdir/polylib; then if test \
18311			"`cd $srcdir; git submodule status polylib | cut -c1`" = '-'; then
18312			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule polylib not initialized" >&5
18313$as_echo "$as_me: WARNING: git repo detected, but submodule polylib not initialized" >&2;}
18314			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
18315$as_echo "$as_me: WARNING: You may want to run" >&2;}
18316			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule init" >&5
18317$as_echo "$as_me: WARNING: 	git submodule init" >&2;}
18318			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule update" >&5
18319$as_echo "$as_me: WARNING: 	git submodule update" >&2;}
18320			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	sh autogen.sh" >&5
18321$as_echo "$as_me: WARNING: 	sh autogen.sh" >&2;}
18322		fi fi
18323		if test -f $srcdir/polylib/configure; then
18324			with_polylib="bundled"
18325		else
18326			case "system" in
18327			build|bundled|system)
18328				with_polylib="system"
18329				;;
18330			*)
18331				with_polylib="no"
18332				;;
18333			esac
18334		fi
18335		;;
18336	*)
18337		with_polylib="bundled"
18338		;;
18339	esac
18340	;;
18341esac
18342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which polylib to use" >&5
18343$as_echo_n "checking which polylib to use... " >&6; }
18344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_polylib" >&5
18345$as_echo "$with_polylib" >&6; }
18346
18347
18348
18349
18350
18351
18352
18353case "$with_polylib" in
18354bundled)
18355	bv_configure_args="$bv_configure_args --with-polylib-builddir=../polylib"
18356	POLYLIB_CPPFLAGS="-I\$(top_builddir)/polylib/include -I\$(top_srcdir)/polylib/include"
18357	;;
18358build)
18359	with_polylib_builddir=`echo @abs_builddir@ | $with_polylib_builddir/config.status --file=-`
18360	POLYLIB_CPPFLAGS="-I$polylib_srcdir/include -I$with_polylib_builddir/include"
18361	POLYLIB_LIBS="$with_polylib_builddir/libpolylibgmp.la"
18362	;;
18363system)
18364	POLYLIB_LIBS="-lpolylibgmp"
18365	if test "x$with_polylib_prefix" != "x"; then
18366		POLYLIB_CPPFLAGS="-I$with_polylib_prefix/include"
18367		POLYLIB_LDFLAGS="-L$with_polylib_prefix/lib"
18368	fi
18369	SAVE_CPPFLAGS="$CPPFLAGS"
18370	CPPFLAGS="$POLYLIB_CPPFLAGS $CPPFLAGS"
18371	for ac_header in polylib/polylibgmp.h
18372do :
18373  ac_fn_c_check_header_mongrel "$LINENO" "polylib/polylibgmp.h" "ac_cv_header_polylib_polylibgmp_h" "$ac_includes_default"
18374if test "x$ac_cv_header_polylib_polylibgmp_h" = xyes; then :
18375  cat >>confdefs.h <<_ACEOF
18376#define HAVE_POLYLIB_POLYLIBGMP_H 1
18377_ACEOF
18378
18379else
18380
18381		as_fn_error $? "Need PolyLib" "$LINENO" 5
18382
18383fi
18384
18385done
18386
18387	CPPFLAGS="$SAVE_CPPFLAGS"
18388esac
18389
18390 if test $with_polylib = bundled; then
18391  BUNDLED_POLYLIB_TRUE=
18392  BUNDLED_POLYLIB_FALSE='#'
18393else
18394  BUNDLED_POLYLIB_TRUE='#'
18395  BUNDLED_POLYLIB_FALSE=
18396fi
18397
18398
18399
18400
18401
18402
18403# Check whether --with-isl was given.
18404if test "${with_isl+set}" = set; then :
18405  withval=$with_isl;
18406fi
18407
18408case "system" in
18409build|bundled|system)
18410
18411# Check whether --with-isl_prefix was given.
18412if test "${with_isl_prefix+set}" = set; then :
18413  withval=$with_isl_prefix;
18414fi
18415
18416
18417# Check whether --with-isl_exec_prefix was given.
18418if test "${with_isl_exec_prefix+set}" = set; then :
18419  withval=$with_isl_exec_prefix;
18420fi
18421
18422esac
18423
18424# Check whether --with-isl_builddir was given.
18425if test "${with_isl_builddir+set}" = set; then :
18426  withval=$with_isl_builddir;
18427fi
18428
18429if test "x$with_isl_prefix" != "x" -a "x$with_isl_exec_prefix" = "x"; then
18430	with_isl_exec_prefix=$with_isl_prefix
18431fi
18432if test "x$with_isl_prefix" != "x" -o "x$with_isl_exec_prefix" != "x"; then
18433	if test "x$with_isl" != "x" -a "x$with_isl" != "xsystem"; then
18434		as_fn_error $? "Setting $with_isl_prefix implies use of system isl" "$LINENO" 5
18435	fi
18436	with_isl="system"
18437fi
18438if test "x$with_isl_builddir" != "x"; then
18439	if test "x$with_isl" != "x" -a "x$with_isl" != "xbuild"; then
18440		as_fn_error $? "Setting $with_isl_builddir implies use of build isl" "$LINENO" 5
18441	fi
18442	with_isl="build"
18443	isl_srcdir=`echo @abs_srcdir@ | $with_isl_builddir/config.status --file=-`
18444	{ $as_echo "$as_me:${as_lineno-$LINENO}: isl sources in $isl_srcdir" >&5
18445$as_echo "$as_me: isl sources in $isl_srcdir" >&6;}
18446fi
18447if test "x$with_isl_exec_prefix" != "x"; then
18448	export PKG_CONFIG_PATH="$with_isl_exec_prefix/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}"
18449fi
18450case "$with_isl" in
18451build|bundled|system)
18452	;;
18453*)
18454	case "bundled" in
18455	bundled)
18456		if test -d $srcdir/.git -a \
18457			-d $srcdir/isl; then if test \
18458			"`cd $srcdir; git submodule status isl | cut -c1`" = '-'; then
18459			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule isl not initialized" >&5
18460$as_echo "$as_me: WARNING: git repo detected, but submodule isl not initialized" >&2;}
18461			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
18462$as_echo "$as_me: WARNING: You may want to run" >&2;}
18463			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule init" >&5
18464$as_echo "$as_me: WARNING: 	git submodule init" >&2;}
18465			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule update" >&5
18466$as_echo "$as_me: WARNING: 	git submodule update" >&2;}
18467			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	sh autogen.sh" >&5
18468$as_echo "$as_me: WARNING: 	sh autogen.sh" >&2;}
18469		fi fi
18470		if test -f $srcdir/isl/configure; then
18471			with_isl="bundled"
18472		else
18473			case "system" in
18474			build|bundled|system)
18475				with_isl="system"
18476				;;
18477			*)
18478				with_isl="no"
18479				;;
18480			esac
18481		fi
18482		;;
18483	*)
18484		with_isl="bundled"
18485		;;
18486	esac
18487	;;
18488esac
18489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which isl to use" >&5
18490$as_echo_n "checking which isl to use... " >&6; }
18491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isl" >&5
18492$as_echo "$with_isl" >&6; }
18493
18494
18495
18496
18497
18498
18499
18500
18501case "$with_isl" in
18502bundled)
18503	ISL_SRCDIR="$srcdir/isl"
18504	ISL_BUILDDIR=isl
18505	ISL_CFLAGS="-I\$(top_srcdir)/isl/include -I\$(top_builddir)/isl/include"
18506	bv_configure_args="$bv_configure_args --with-isl=build"
18507	bv_configure_args="$bv_configure_args --with-isl-builddir=../isl"
18508	PACKAGE_CFLAGS_ISL='-I${prefix}/include'
18509	;;
18510build)
18511	ISL_SRCDIR="$isl_srcdir"
18512	ISL_BUILDDIR=`echo @abs_builddir@ | $with_isl_builddir/config.status --file=-`
18513	bv_configure_args="$bv_configure_args --with-isl-builddir=$ISL_BUILDDIR"
18514	ISL_CFLAGS="-I$isl_srcdir/include -I$ISL_BUILDDIR/include"
18515	PACKAGE_CFLAGS_ISL='-I${prefix}/include'
18516	;;
18517system)
18518
18519pkg_failed=no
18520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISL" >&5
18521$as_echo_n "checking for ISL... " >&6; }
18522
18523if test -n "$ISL_CFLAGS"; then
18524    pkg_cv_ISL_CFLAGS="$ISL_CFLAGS"
18525 elif test -n "$PKG_CONFIG"; then
18526    if test -n "$PKG_CONFIG" && \
18527    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"isl\""; } >&5
18528  ($PKG_CONFIG --exists --print-errors "isl") 2>&5
18529  ac_status=$?
18530  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18531  test $ac_status = 0; }; then
18532  pkg_cv_ISL_CFLAGS=`$PKG_CONFIG --cflags "isl" 2>/dev/null`
18533else
18534  pkg_failed=yes
18535fi
18536 else
18537    pkg_failed=untried
18538fi
18539if test -n "$ISL_LIBS"; then
18540    pkg_cv_ISL_LIBS="$ISL_LIBS"
18541 elif test -n "$PKG_CONFIG"; then
18542    if test -n "$PKG_CONFIG" && \
18543    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"isl\""; } >&5
18544  ($PKG_CONFIG --exists --print-errors "isl") 2>&5
18545  ac_status=$?
18546  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18547  test $ac_status = 0; }; then
18548  pkg_cv_ISL_LIBS=`$PKG_CONFIG --libs "isl" 2>/dev/null`
18549else
18550  pkg_failed=yes
18551fi
18552 else
18553    pkg_failed=untried
18554fi
18555
18556
18557
18558if test $pkg_failed = yes; then
18559
18560if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18561        _pkg_short_errors_supported=yes
18562else
18563        _pkg_short_errors_supported=no
18564fi
18565        if test $_pkg_short_errors_supported = yes; then
18566	        ISL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "isl" 2>&1`
18567        else
18568	        ISL_PKG_ERRORS=`$PKG_CONFIG --print-errors "isl" 2>&1`
18569        fi
18570	# Put the nasty error message in config.log where it belongs
18571	echo "$ISL_PKG_ERRORS" >&5
18572
18573	as_fn_error $? "Package requirements (isl) were not met:
18574
18575$ISL_PKG_ERRORS
18576
18577Consider adjusting the PKG_CONFIG_PATH environment variable if you
18578installed software in a non-standard prefix.
18579
18580Alternatively, you may set the environment variables ISL_CFLAGS
18581and ISL_LIBS to avoid the need to call pkg-config.
18582See the pkg-config man page for more details.
18583" "$LINENO" 5
18584elif test $pkg_failed = untried; then
18585	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18587as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18588is in your PATH or set the PKG_CONFIG environment variable to the full
18589path to pkg-config.
18590
18591Alternatively, you may set the environment variables ISL_CFLAGS
18592and ISL_LIBS to avoid the need to call pkg-config.
18593See the pkg-config man page for more details.
18594
18595To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18596See \`config.log' for more details" "$LINENO" 5; }
18597else
18598	ISL_CFLAGS=$pkg_cv_ISL_CFLAGS
18599	ISL_LIBS=$pkg_cv_ISL_LIBS
18600        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18601$as_echo "yes" >&6; }
18602	:
18603fi
18604	PACKAGE_CFLAGS_ISL="$ISL_CFLAGS"
18605esac
18606 if test $with_isl = bundled; then
18607  BUNDLED_ISL_TRUE=
18608  BUNDLED_ISL_FALSE='#'
18609else
18610  BUNDLED_ISL_TRUE='#'
18611  BUNDLED_ISL_FALSE=
18612fi
18613
18614 if test $with_isl = build; then
18615  BUILD_ISL_TRUE=
18616  BUILD_ISL_FALSE='#'
18617else
18618  BUILD_ISL_TRUE='#'
18619  BUILD_ISL_FALSE=
18620fi
18621
18622 if test "x$ISL_BUILDDIR" != "x"; then
18623  HAVE_ISL_BUILDDIR_TRUE=
18624  HAVE_ISL_BUILDDIR_FALSE='#'
18625else
18626  HAVE_ISL_BUILDDIR_TRUE='#'
18627  HAVE_ISL_BUILDDIR_FALSE=
18628fi
18629
18630
18631
18632
18633
18634
18635# Check whether --with-pet was given.
18636if test "${with_pet+set}" = set; then :
18637  withval=$with_pet;
18638fi
18639
18640case "system" in
18641bundled|build|system|no)
18642
18643# Check whether --with-pet_prefix was given.
18644if test "${with_pet_prefix+set}" = set; then :
18645  withval=$with_pet_prefix;
18646fi
18647
18648
18649# Check whether --with-pet_exec_prefix was given.
18650if test "${with_pet_exec_prefix+set}" = set; then :
18651  withval=$with_pet_exec_prefix;
18652fi
18653
18654esac
18655
18656# Check whether --with-pet_builddir was given.
18657if test "${with_pet_builddir+set}" = set; then :
18658  withval=$with_pet_builddir;
18659fi
18660
18661if test "x$with_pet_prefix" != "x" -a "x$with_pet_exec_prefix" = "x"; then
18662	with_pet_exec_prefix=$with_pet_prefix
18663fi
18664if test "x$with_pet_prefix" != "x" -o "x$with_pet_exec_prefix" != "x"; then
18665	if test "x$with_pet" != "x" -a "x$with_pet" != "xsystem"; then
18666		as_fn_error $? "Setting $with_pet_prefix implies use of system pet" "$LINENO" 5
18667	fi
18668	with_pet="system"
18669fi
18670if test "x$with_pet_builddir" != "x"; then
18671	if test "x$with_pet" != "x" -a "x$with_pet" != "xbuild"; then
18672		as_fn_error $? "Setting $with_pet_builddir implies use of build pet" "$LINENO" 5
18673	fi
18674	with_pet="build"
18675	pet_srcdir=`echo @abs_srcdir@ | $with_pet_builddir/config.status --file=-`
18676	{ $as_echo "$as_me:${as_lineno-$LINENO}: pet sources in $pet_srcdir" >&5
18677$as_echo "$as_me: pet sources in $pet_srcdir" >&6;}
18678fi
18679if test "x$with_pet_exec_prefix" != "x"; then
18680	export PKG_CONFIG_PATH="$with_pet_exec_prefix/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}"
18681fi
18682case "$with_pet" in
18683bundled|build|system|no)
18684	;;
18685*)
18686	case "no" in
18687	bundled)
18688		if test -d $srcdir/.git -a \
18689			-d $srcdir/pet; then if test \
18690			"`cd $srcdir; git submodule status pet | cut -c1`" = '-'; then
18691			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule pet not initialized" >&5
18692$as_echo "$as_me: WARNING: git repo detected, but submodule pet not initialized" >&2;}
18693			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
18694$as_echo "$as_me: WARNING: You may want to run" >&2;}
18695			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule init" >&5
18696$as_echo "$as_me: WARNING: 	git submodule init" >&2;}
18697			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule update" >&5
18698$as_echo "$as_me: WARNING: 	git submodule update" >&2;}
18699			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	sh autogen.sh" >&5
18700$as_echo "$as_me: WARNING: 	sh autogen.sh" >&2;}
18701		fi fi
18702		if test -f $srcdir/pet/configure; then
18703			with_pet="bundled"
18704		else
18705			case "system" in
18706			bundled|build|system|no)
18707				with_pet="system"
18708				;;
18709			*)
18710				with_pet="no"
18711				;;
18712			esac
18713		fi
18714		;;
18715	*)
18716		with_pet="no"
18717		;;
18718	esac
18719	;;
18720esac
18721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which pet to use" >&5
18722$as_echo_n "checking which pet to use... " >&6; }
18723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pet" >&5
18724$as_echo "$with_pet" >&6; }
18725
18726
18727
18728
18729
18730
18731pet_suffix="top.pet"
18732case "$with_pet" in
18733bundled)
18734	PET_CFLAGS="-I\$(top_srcdir)/pet/include"
18735
18736$as_echo "#define HAVE_PET /**/" >>confdefs.h
18737
18738	;;
18739build)
18740	PET_BUILDDIR=`echo @abs_builddir@ | $with_pet_builddir/config.status --file=-`
18741	PET_CFLAGS="-I$pet_srcdir/include"
18742
18743$as_echo "#define HAVE_PET /**/" >>confdefs.h
18744
18745	;;
18746system)
18747
18748pkg_failed=no
18749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PET" >&5
18750$as_echo_n "checking for PET... " >&6; }
18751
18752if test -n "$PET_CFLAGS"; then
18753    pkg_cv_PET_CFLAGS="$PET_CFLAGS"
18754 elif test -n "$PKG_CONFIG"; then
18755    if test -n "$PKG_CONFIG" && \
18756    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pet\""; } >&5
18757  ($PKG_CONFIG --exists --print-errors "pet") 2>&5
18758  ac_status=$?
18759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18760  test $ac_status = 0; }; then
18761  pkg_cv_PET_CFLAGS=`$PKG_CONFIG --cflags "pet" 2>/dev/null`
18762else
18763  pkg_failed=yes
18764fi
18765 else
18766    pkg_failed=untried
18767fi
18768if test -n "$PET_LIBS"; then
18769    pkg_cv_PET_LIBS="$PET_LIBS"
18770 elif test -n "$PKG_CONFIG"; then
18771    if test -n "$PKG_CONFIG" && \
18772    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pet\""; } >&5
18773  ($PKG_CONFIG --exists --print-errors "pet") 2>&5
18774  ac_status=$?
18775  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18776  test $ac_status = 0; }; then
18777  pkg_cv_PET_LIBS=`$PKG_CONFIG --libs "pet" 2>/dev/null`
18778else
18779  pkg_failed=yes
18780fi
18781 else
18782    pkg_failed=untried
18783fi
18784
18785
18786
18787if test $pkg_failed = yes; then
18788
18789if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18790        _pkg_short_errors_supported=yes
18791else
18792        _pkg_short_errors_supported=no
18793fi
18794        if test $_pkg_short_errors_supported = yes; then
18795	        PET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pet" 2>&1`
18796        else
18797	        PET_PKG_ERRORS=`$PKG_CONFIG --print-errors "pet" 2>&1`
18798        fi
18799	# Put the nasty error message in config.log where it belongs
18800	echo "$PET_PKG_ERRORS" >&5
18801
18802	as_fn_error $? "Package requirements (pet) were not met:
18803
18804$PET_PKG_ERRORS
18805
18806Consider adjusting the PKG_CONFIG_PATH environment variable if you
18807installed software in a non-standard prefix.
18808
18809Alternatively, you may set the environment variables PET_CFLAGS
18810and PET_LIBS to avoid the need to call pkg-config.
18811See the pkg-config man page for more details.
18812" "$LINENO" 5
18813elif test $pkg_failed = untried; then
18814	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18815$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18816as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18817is in your PATH or set the PKG_CONFIG environment variable to the full
18818path to pkg-config.
18819
18820Alternatively, you may set the environment variables PET_CFLAGS
18821and PET_LIBS to avoid the need to call pkg-config.
18822See the pkg-config man page for more details.
18823
18824To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18825See \`config.log' for more details" "$LINENO" 5; }
18826else
18827	PET_CFLAGS=$pkg_cv_PET_CFLAGS
18828	PET_LIBS=$pkg_cv_PET_LIBS
18829        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18830$as_echo "yes" >&6; }
18831	:
18832fi
18833
18834$as_echo "#define HAVE_PET /**/" >>confdefs.h
18835
18836	;;
18837no)
18838	pet_suffix="top.no_pet"
18839	;;
18840esac
18841 if test $with_pet = bundled; then
18842  BUNDLED_PET_TRUE=
18843  BUNDLED_PET_FALSE='#'
18844else
18845  BUNDLED_PET_TRUE='#'
18846  BUNDLED_PET_FALSE=
18847fi
18848
18849 if test $with_pet = build; then
18850  BUILD_PET_TRUE=
18851  BUILD_PET_FALSE='#'
18852else
18853  BUILD_PET_TRUE='#'
18854  BUILD_PET_FALSE=
18855fi
18856
18857
18858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use incremental algorithm" >&5
18859$as_echo_n "checking whether to use incremental algorithm... " >&6; }
18860# Check whether --enable-incremental was given.
18861if test "${enable_incremental+set}" = set; then :
18862  enableval=$enable_incremental; bv_cv_incremental=$enableval
18863else
18864  bv_cv_incremental="no"
18865fi
18866
18867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bv_cv_incremental" >&5
18868$as_echo "$bv_cv_incremental" >&6; }
18869case $bv_cv_incremental in
18870	yes | bf)
18871
18872$as_echo "#define USE_INCREMENTAL_BF /**/" >>confdefs.h
18873
18874	;;
18875	df)
18876
18877$as_echo "#define USE_INCREMENTAL_DF /**/" >>confdefs.h
18878
18879	;;
18880esac
18881
18882
18883# Check whether --with-ntl was given.
18884if test "${with_ntl+set}" = set; then :
18885  withval=$with_ntl;
18886fi
18887
18888
18889
18890# Check whether --with-ntl-prefix was given.
18891if test "${with_ntl_prefix+set}" = set; then :
18892  withval=$with_ntl_prefix;
18893fi
18894
18895
18896
18897# Check whether --with-ntl-builddir was given.
18898if test "${with_ntl_builddir+set}" = set; then :
18899  withval=$with_ntl_builddir;
18900fi
18901
18902
18903if test "x$with_ntl_builddir" != "x"; then
18904	if test "x$with_ntl" != "xbuild" -a "x$with_ntl" != "x"; then
18905		as_fn_error $? "Setting --with-ntl-builddir implies use of build NTL" "$LINENO" 5
18906	fi
18907	with_ntl="build"
18908fi
18909
18910if test "x$with_ntl_prefix" != "x"; then
18911	if test "x$with_ntl" != "xsystem" -a "x$with_ntl" != "x"; then
18912		as_fn_error $? "Setting --with-ntl-prefix implies use of system NTL" "$LINENO" 5
18913	fi
18914	with_ntl="system"
18915fi
18916
18917case "$with_ntl" in
18918build|system)
18919	;;
18920*)
18921	with_ntl="system"
18922	;;
18923esac
18924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which NTL to use" >&5
18925$as_echo_n "checking which NTL to use... " >&6; }
18926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ntl" >&5
18927$as_echo "$with_ntl" >&6; }
18928
18929
18930
18931case "$with_ntl" in
18932build)
18933	ntl_include="$with_ntl_builddir/include"
18934	NTL_LDFLAGS="-L$with_ntl_builddir/src/$lt_cv_objdir"
18935	ntl_builddir_found=false
18936	as_ac_File=`$as_echo "ac_cv_file_"$with_ntl_builddir/src/ZZ.c"" | $as_tr_sh`
18937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"$with_ntl_builddir/src/ZZ.c\"" >&5
18938$as_echo_n "checking for \"$with_ntl_builddir/src/ZZ.c\"... " >&6; }
18939if eval \${$as_ac_File+:} false; then :
18940  $as_echo_n "(cached) " >&6
18941else
18942  test "$cross_compiling" = yes &&
18943  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
18944if test -r ""$with_ntl_builddir/src/ZZ.c""; then
18945  eval "$as_ac_File=yes"
18946else
18947  eval "$as_ac_File=no"
18948fi
18949fi
18950eval ac_res=\$$as_ac_File
18951	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18952$as_echo "$ac_res" >&6; }
18953if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
18954  ntl_builddir_found=true
18955fi
18956
18957	if test "x$ntl_builddir_found" != "xtrue"; then
18958		if test -f "$with_ntl_builddir/ZZ.c"; then
18959			ntl_builddir=`dirname $with_ntl_builddir`
18960			as_fn_error $? "NTL source directory src/ specified as builddir. Use root directory instead as --with-ntl-builddir=$ntl_builddir" "$LINENO" 5
18961		else
18962			as_fn_error $? "Could not find NTL in the builddir" "$LINENO" 5
18963		fi
18964	fi
18965	;;
18966system)
18967	if test "x$with_ntl_prefix" != "x"; then
18968		ntl_include="$with_ntl_prefix/include"
18969		NTL_LDFLAGS="-L$with_ntl_prefix/lib"
18970	fi
18971	;;
18972esac
18973if test "x$ntl_include" != "x"; then
18974	NTL_CPPFLAGS="-I$ntl_include"
18975else
18976	for path in /usr/local /usr; do
18977		if test -f "$path/include/NTL/ZZ.h"; then
18978			ntl_include="$path/include"
18979			break;
18980		fi
18981	done
18982fi
18983# Look for compiler/linker options needed for linking against NTL
18984ntl_configlog="$ntl_include/NTL/ConfigLog.h"
18985if test -f "$ntl_configlog"; then
18986	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler options in $ntl_configlog" >&5
18987$as_echo_n "checking for compiler options in $ntl_configlog... " >&6; }
18988	eval $($GREP "^CXXAUTOFLAGS" $ntl_configlog | $SED -e 's/^/NTL_/')
18989	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NTL_CXXAUTOFLAGS" >&5
18990$as_echo "$NTL_CXXAUTOFLAGS" >&6; }
18991	NTL_CPPFLAGS="$NTL_CPPFLAGS $NTL_CXXAUTOFLAGS"
18992	NTL_LDFLAGS="$NTL_LDFLAGS $NTL_CXXAUTOFLAGS"
18993fi
18994
18995
18996
18997	bv_no_ntl=false
18998	SAVE_CPPFLAGS="$CPPFLAGS"
18999	SAVE_LDFLAGS="$LDFLAGS"
19000	CPPFLAGS="$NTL_CPPFLAGS $CPPFLAGS"
19001	LDFLAGS="$NTL_LDFLAGS $LDFLAGS"
19002	ac_ext=cpp
19003ac_cpp='$CXXCPP $CPPFLAGS'
19004ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19005ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19006ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19007
19008	ac_fn_cxx_check_header_mongrel "$LINENO" "NTL/ZZ.h" "ac_cv_header_NTL_ZZ_h" "$ac_includes_default"
19009if test "x$ac_cv_header_NTL_ZZ_h" = xyes; then :
19010
19011else
19012  bv_no_ntl=true
19013fi
19014
19015
19016	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19017/* end confdefs.h.  */
19018
19019		#include <NTL/ZZ.h>
19020		#ifdef NTL_GMP_LIP
19021		yes
19022		#endif
19023
19024_ACEOF
19025if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19026  $EGREP "yes" >/dev/null 2>&1; then :
19027  :
19028else
19029  as_fn_error $? "ntl not compiled with gmp support" "$LINENO" 5
19030fi
19031rm -f conftest*
19032
19033
19034	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035/* end confdefs.h.  */
19036
19037		#include <NTL/ZZ.h>
19038		using namespace NTL;
19039
19040int
19041main ()
19042{
19043
19044  ;
19045  return 0;
19046}
19047_ACEOF
19048if ac_fn_cxx_try_compile "$LINENO"; then :
19049
19050else
19051  as_fn_error $? "Upgrade NTL or configure with NTL_STD_CXX=on" "$LINENO" 5
19052fi
19053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19054	ac_ext=c
19055ac_cpp='$CPP $CPPFLAGS'
19056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19058ac_compiler_gnu=$ac_cv_c_compiler_gnu
19059
19060
19061	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lntl" >&5
19062$as_echo_n "checking for main in -lntl... " >&6; }
19063if ${ac_cv_lib_ntl_main+:} false; then :
19064  $as_echo_n "(cached) " >&6
19065else
19066  ac_check_lib_save_LIBS=$LIBS
19067LIBS="-lntl  $LIBS"
19068cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19069/* end confdefs.h.  */
19070
19071
19072int
19073main ()
19074{
19075return main ();
19076  ;
19077  return 0;
19078}
19079_ACEOF
19080if ac_fn_c_try_link "$LINENO"; then :
19081  ac_cv_lib_ntl_main=yes
19082else
19083  ac_cv_lib_ntl_main=no
19084fi
19085rm -f core conftest.err conftest.$ac_objext \
19086    conftest$ac_exeext conftest.$ac_ext
19087LIBS=$ac_check_lib_save_LIBS
19088fi
19089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ntl_main" >&5
19090$as_echo "$ac_cv_lib_ntl_main" >&6; }
19091if test "x$ac_cv_lib_ntl_main" = xyes; then :
19092  cat >>confdefs.h <<_ACEOF
19093#define HAVE_LIBNTL 1
19094_ACEOF
19095
19096  LIBS="-lntl $LIBS"
19097
19098else
19099  bv_no_ntl=true
19100fi
19101
19102	if test "$bv_no_ntl" = "true"; then
19103		as_fn_error $? "Need ntl" "$LINENO" 5
19104	fi
19105	CPPFLAGS="$SAVE_CPPFLAGS"
19106	LDFLAGS="$SAVE_LDFLAGS"
19107
19108
19109
19110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile zsolve" >&5
19111$as_echo_n "checking whether to compile zsolve... " >&6; }
19112
19113# Check whether --with-zsolve was given.
19114if test "${with_zsolve+set}" = set; then :
19115  withval=$with_zsolve;  with_zsolve=$withval
19116else
19117   with_zsolve=yes
19118fi
19119
19120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_zsolve" >&5
19121$as_echo "$with_zsolve" >&6; }
19122
19123use_zsolve=false
19124if test "$with_zsolve" != "no"; then
19125	if test "$GCC" = "yes"; then
19126		$CC --version |
19127		$SED -e 's/.* \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1 \2/' |
19128		(read major minor
19129			if test $major -gt 3; then
19130				exit 0
19131			fi
19132			if test $major -eq 3 -a $minor -ge 4; then
19133				exit 0
19134			fi
19135			exit 1
19136		) && use_zsolve=true
19137	fi
19138	if test "$use_zsolve" = false; then
19139		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc 3.4 required to compile zsolve" >&5
19140$as_echo "$as_me: WARNING: gcc 3.4 required to compile zsolve" >&2;}
19141	else
19142
19143$as_echo "#define USE_ZSOLVE /**/" >>confdefs.h
19144
19145		bv_cone_hilbert_basis="cone_hilbert_basis\$(EXEEXT)"
19146	fi
19147fi
19148 if test x$use_zsolve = xtrue; then
19149  USE_ZSOLVE_TRUE=
19150  USE_ZSOLVE_FALSE='#'
19151else
19152  USE_ZSOLVE_TRUE='#'
19153  USE_ZSOLVE_FALSE=
19154fi
19155
19156
19157
19158
19159
19160
19161# Check whether --with-omega was given.
19162if test "${with_omega+set}" = set; then :
19163  withval=$with_omega;
19164fi
19165
19166case "system" in
19167no|system)
19168
19169# Check whether --with-omega_prefix was given.
19170if test "${with_omega_prefix+set}" = set; then :
19171  withval=$with_omega_prefix;
19172fi
19173
19174
19175# Check whether --with-omega_exec_prefix was given.
19176if test "${with_omega_exec_prefix+set}" = set; then :
19177  withval=$with_omega_exec_prefix;
19178fi
19179
19180esac
19181
19182if test "x$with_omega_prefix" != "x" -a "x$with_omega_exec_prefix" = "x"; then
19183	with_omega_exec_prefix=$with_omega_prefix
19184fi
19185if test "x$with_omega_prefix" != "x" -o "x$with_omega_exec_prefix" != "x"; then
19186	if test "x$with_omega" != "x" -a "x$with_omega" != "xsystem"; then
19187		as_fn_error $? "Setting $with_omega_prefix implies use of system omega" "$LINENO" 5
19188	fi
19189	with_omega="system"
19190fi
19191if test "x$with_omega_builddir" != "x"; then
19192	if test "x$with_omega" != "x" -a "x$with_omega" != "xbuild"; then
19193		as_fn_error $? "Setting $with_omega_builddir implies use of build omega" "$LINENO" 5
19194	fi
19195	with_omega="build"
19196	omega_srcdir=`echo @abs_srcdir@ | $with_omega_builddir/config.status --file=-`
19197	{ $as_echo "$as_me:${as_lineno-$LINENO}: omega sources in $omega_srcdir" >&5
19198$as_echo "$as_me: omega sources in $omega_srcdir" >&6;}
19199fi
19200if test "x$with_omega_exec_prefix" != "x"; then
19201	export PKG_CONFIG_PATH="$with_omega_exec_prefix/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}"
19202fi
19203case "$with_omega" in
19204no|system)
19205	;;
19206*)
19207	case "no" in
19208	bundled)
19209		if test -d $srcdir/.git -a \
19210			-d $srcdir/omega; then if test \
19211			"`cd $srcdir; git submodule status omega | cut -c1`" = '-'; then
19212			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule omega not initialized" >&5
19213$as_echo "$as_me: WARNING: git repo detected, but submodule omega not initialized" >&2;}
19214			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
19215$as_echo "$as_me: WARNING: You may want to run" >&2;}
19216			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule init" >&5
19217$as_echo "$as_me: WARNING: 	git submodule init" >&2;}
19218			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule update" >&5
19219$as_echo "$as_me: WARNING: 	git submodule update" >&2;}
19220			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 	sh autogen.sh" >&5
19221$as_echo "$as_me: WARNING: 	sh autogen.sh" >&2;}
19222		fi fi
19223		if test -f $srcdir/omega/configure; then
19224			with_omega="bundled"
19225		else
19226			case "system" in
19227			no|system)
19228				with_omega="system"
19229				;;
19230			*)
19231				with_omega="no"
19232				;;
19233			esac
19234		fi
19235		;;
19236	*)
19237		with_omega="no"
19238		;;
19239	esac
19240	;;
19241esac
19242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which omega to use" >&5
19243$as_echo_n "checking which omega to use... " >&6; }
19244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_omega" >&5
19245$as_echo "$with_omega" >&6; }
19246
19247
19248
19249
19250
19251
19252
19253
19254have_omega=false
19255have_codegen=false
19256case "$with_omega" in
19257system)
19258    if test "x$with_omega_prefix" != "xyes"; then
19259	OMEGA_CPPFLAGS="-I$with_omega_prefix/include/omega"
19260	OMEGA_LDFLAGS="-L$with_omega_prefix/lib"
19261    else
19262	for i in /usr/include /usr/local/include; do
19263	    if test -f $i/omega/omega.h; then
19264		OMEGA_CPPFLAGS="-I$i/omega"
19265	    fi
19266	done
19267    fi
19268
19269    ac_ext=cpp
19270ac_cpp='$CXXCPP $CPPFLAGS'
19271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19274
19275    SAVE_CPPFLAGS="$CPPFLAGS"
19276    SAVE_LDFLAGS="$LDFLAGS"
19277    CPPFLAGS="$OMEGA_CPPFLAGS $CPPFLAGS"
19278    LDFLAGS="$OMEGA_LDFLAGS $LDFLAGS"
19279    for ac_header in omega.h
19280do :
19281  ac_fn_cxx_check_header_mongrel "$LINENO" "omega.h" "ac_cv_header_omega_h" "$ac_includes_default"
19282if test "x$ac_cv_header_omega_h" = xyes; then :
19283  cat >>confdefs.h <<_ACEOF
19284#define HAVE_OMEGA_H 1
19285_ACEOF
19286
19287	OMEGA_LIBS="-lomega"
19288	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcode_gen" >&5
19289$as_echo_n "checking for main in -lcode_gen... " >&6; }
19290if ${ac_cv_lib_code_gen_main+:} false; then :
19291  $as_echo_n "(cached) " >&6
19292else
19293  ac_check_lib_save_LIBS=$LIBS
19294LIBS="-lcode_gen  $LIBS"
19295cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19296/* end confdefs.h.  */
19297
19298
19299int
19300main ()
19301{
19302return main ();
19303  ;
19304  return 0;
19305}
19306_ACEOF
19307if ac_fn_cxx_try_link "$LINENO"; then :
19308  ac_cv_lib_code_gen_main=yes
19309else
19310  ac_cv_lib_code_gen_main=no
19311fi
19312rm -f core conftest.err conftest.$ac_objext \
19313    conftest$ac_exeext conftest.$ac_ext
19314LIBS=$ac_check_lib_save_LIBS
19315fi
19316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_code_gen_main" >&5
19317$as_echo "$ac_cv_lib_code_gen_main" >&6; }
19318if test "x$ac_cv_lib_code_gen_main" = xyes; then :
19319
19320		OMEGA_CODEGEN_LIBS="-lcode_gen -lomega"
19321		have_codegen=true
19322
19323fi
19324
19325	have_omega=true
19326
19327else
19328  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Omega not found" >&5
19329$as_echo "$as_me: WARNING: Omega not found" >&2;}
19330fi
19331
19332done
19333
19334    CPPFLAGS="$SAVE_CPPFLAGS"
19335    LDFLAGS="$SAVE_LDFLAGS"
19336    ac_ext=c
19337ac_cpp='$CPP $CPPFLAGS'
19338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19340ac_compiler_gnu=$ac_cv_c_compiler_gnu
19341
19342    ;;
19343esac
19344if test "$have_omega" = true; then
19345
19346$as_echo "#define HAVE_OMEGA /**/" >>confdefs.h
19347
19348fi
19349 if test x$have_omega = xtrue; then
19350  HAVE_OMEGA_TRUE=
19351  HAVE_OMEGA_FALSE='#'
19352else
19353  HAVE_OMEGA_TRUE='#'
19354  HAVE_OMEGA_FALSE=
19355fi
19356
19357
19358use_parker=false
19359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile parker" >&5
19360$as_echo_n "checking whether to compile parker... " >&6; }
19361
19362# Check whether --with-parker was given.
19363if test "${with_parker+set}" = set; then :
19364  withval=$with_parker;  with_parker=$withval
19365else
19366   with_parker=yes
19367fi
19368
19369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_parker" >&5
19370$as_echo "$with_parker" >&6; }
19371
19372if test "$with_parker" != "no"; then
19373	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mona" >&5
19374$as_echo_n "checking for mona... " >&6; }
19375
19376# Check whether --with-mona was given.
19377if test "${with_mona+set}" = set; then :
19378  withval=$with_mona;
19379else
19380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not specified" >&5
19381$as_echo "not specified" >&6; }
19382fi
19383
19384
19385	if test "x$with_mona" != "x"; then
19386
19387		MONAPATH=$with_mona
19388		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONAPATH" >&5
19389$as_echo "$MONAPATH" >&6; }
19390		use_parker=true
19391
19392$as_echo "#define USE_PARKER /**/" >>confdefs.h
19393
19394	fi
19395
19396	if test "x$with_mona" = "x"; then
19397		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mona source directory required to compile parker" >&5
19398$as_echo "$as_me: WARNING: mona source directory required to compile parker" >&2;}
19399		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: http://www.brics.dk/mona/download" >&5
19400$as_echo "$as_me: WARNING: http://www.brics.dk/mona/download" >&2;}
19401	fi
19402fi
19403 if test x$use_parker = xtrue; then
19404  USE_PARKER_TRUE=
19405  USE_PARKER_FALSE='#'
19406else
19407  USE_PARKER_TRUE='#'
19408  USE_PARKER_FALSE=
19409fi
19410
19411
19412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use cddlib" >&5
19413$as_echo_n "checking whether to use cddlib... " >&6; }
19414
19415# Check whether --with-cddlib was given.
19416if test "${with_cddlib+set}" = set; then :
19417  withval=$with_cddlib;  cddlib_package=$withval
19418else
19419   cddlib_package=yes
19420fi
19421
19422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cddlib_package" >&5
19423$as_echo "$cddlib_package" >&6; }
19424
19425have_cddlib=false
19426if test "$cddlib_package" != "no"; then
19427    if test "x$cddlib_package" != "xyes"; then
19428	CPPFLAGS="-I$cddlib_package/include $CPPFLAGS"
19429	LDFLAGS="-L$cddlib_package/lib $LDFLAGS"
19430    fi
19431    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432/* end confdefs.h.  */
19433
19434#define GMPRATIONAL
19435#include <setoper.h>
19436#include <cddmp.h>
19437
19438int
19439main ()
19440{
19441
19442    mytype a;
19443    dd_init(a);
19444  ;
19445  return 0;
19446}
19447_ACEOF
19448if ac_fn_c_try_link "$LINENO"; then :
19449
19450	have_cddlib=true
19451	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcddgmp" >&5
19452$as_echo_n "checking for main in -lcddgmp... " >&6; }
19453if ${ac_cv_lib_cddgmp_main+:} false; then :
19454  $as_echo_n "(cached) " >&6
19455else
19456  ac_check_lib_save_LIBS=$LIBS
19457LIBS="-lcddgmp  $LIBS"
19458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19459/* end confdefs.h.  */
19460
19461
19462int
19463main ()
19464{
19465return main ();
19466  ;
19467  return 0;
19468}
19469_ACEOF
19470if ac_fn_c_try_link "$LINENO"; then :
19471  ac_cv_lib_cddgmp_main=yes
19472else
19473  ac_cv_lib_cddgmp_main=no
19474fi
19475rm -f core conftest.err conftest.$ac_objext \
19476    conftest$ac_exeext conftest.$ac_ext
19477LIBS=$ac_check_lib_save_LIBS
19478fi
19479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cddgmp_main" >&5
19480$as_echo "$ac_cv_lib_cddgmp_main" >&6; }
19481if test "x$ac_cv_lib_cddgmp_main" = xyes; then :
19482
19483		SAVE_LIBS="$LIBS"
19484		LIBS="-lcddgmp $LIBS"
19485
19486cat >>confdefs.h <<_ACEOF
19487#define SRCDIR "$srcdir"
19488_ACEOF
19489
19490		ac_ext=cpp
19491ac_cpp='$CXXCPP $CPPFLAGS'
19492ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19493ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19494ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19495
19496		if test "$cross_compiling" = yes; then :
19497  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19498$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19499as_fn_error $? "cannot run test program while cross compiling
19500See \`config.log' for more details" "$LINENO" 5; }
19501else
19502  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19503/* end confdefs.h.  */
19504#define GMPRATIONAL
19505#include <setoper.h>
19506#include <cdd.h>
19507int
19508main ()
19509{
19510
19511	const char *filename = SRCDIR"/cdd94e-test";
19512	FILE *f;
19513	dd_MatrixPtr M;
19514	dd_LPType *lp;
19515	dd_ErrorType err = dd_NoError;
19516
19517	dd_set_global_constants();
19518
19519	f = fopen(filename, "r");
19520	M = dd_PolyFile2Matrix(f, &err);
19521	lp = dd_Matrix2LP(M, &err);
19522	dd_LPSolve(lp, dd_DualSimplex, &err);
19523	return lp->LPS == dd_Inconsistent;
19524
19525  ;
19526  return 0;
19527}
19528_ACEOF
19529if ac_fn_cxx_try_run "$LINENO"; then :
19530
19531
19532$as_echo "#define HAVE_LIBCDDGMP /**/" >>confdefs.h
19533
19534
19535else
19536
19537			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: please upgrade cddlib to 0.94e or later" >&5
19538$as_echo "$as_me: WARNING: please upgrade cddlib to 0.94e or later" >&2;}
19539			LIBS="$SAVE_LIBS"
19540			have_cddlib=false
19541
19542fi
19543rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19544  conftest.$ac_objext conftest.beam conftest.$ac_ext
19545fi
19546
19547		ac_ext=c
19548ac_cpp='$CPP $CPPFLAGS'
19549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551ac_compiler_gnu=$ac_cv_c_compiler_gnu
19552
19553
19554else
19555  have_cddlib=false
19556fi
19557
19558
19559fi
19560rm -f core conftest.err conftest.$ac_objext \
19561    conftest$ac_exeext conftest.$ac_ext
19562fi
19563 if test x$have_cddlib = xtrue; then
19564  HAVE_CDDLIB_TRUE=
19565  HAVE_CDDLIB_FALSE='#'
19566else
19567  HAVE_CDDLIB_TRUE='#'
19568  HAVE_CDDLIB_FALSE=
19569fi
19570
19571
19572
19573
19574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use GLPK" >&5
19575$as_echo_n "checking whether to use GLPK... " >&6; }
19576
19577# Check whether --with-glpk was given.
19578if test "${with_glpk+set}" = set; then :
19579  withval=$with_glpk;  glpk_package=$withval
19580else
19581   glpk_package=yes
19582fi
19583
19584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glpk_package" >&5
19585$as_echo "$glpk_package" >&6; }
19586
19587have_glpk=false
19588if test "$glpk_package" != "no"; then
19589    if test "x$glpk_package" != "xyes"; then
19590	CPPFLAGS="-I$glpk_package/include $CPPFLAGS"
19591	LDFLAGS="-L$glpk_package/lib $LDFLAGS"
19592    fi
19593    for ac_header in glpk.h
19594do :
19595  ac_fn_c_check_header_mongrel "$LINENO" "glpk.h" "ac_cv_header_glpk_h" "$ac_includes_default"
19596if test "x$ac_cv_header_glpk_h" = xyes; then :
19597  cat >>confdefs.h <<_ACEOF
19598#define HAVE_GLPK_H 1
19599_ACEOF
19600
19601	have_glpk=true
19602	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glp_simplex in -lglpk" >&5
19603$as_echo_n "checking for glp_simplex in -lglpk... " >&6; }
19604if ${ac_cv_lib_glpk_glp_simplex+:} false; then :
19605  $as_echo_n "(cached) " >&6
19606else
19607  ac_check_lib_save_LIBS=$LIBS
19608LIBS="-lglpk  $LIBS"
19609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610/* end confdefs.h.  */
19611
19612/* Override any GCC internal prototype to avoid an error.
19613   Use char because int might match the return type of a GCC
19614   builtin and then its argument prototype would still apply.  */
19615#ifdef __cplusplus
19616extern "C"
19617#endif
19618char glp_simplex ();
19619int
19620main ()
19621{
19622return glp_simplex ();
19623  ;
19624  return 0;
19625}
19626_ACEOF
19627if ac_fn_c_try_link "$LINENO"; then :
19628  ac_cv_lib_glpk_glp_simplex=yes
19629else
19630  ac_cv_lib_glpk_glp_simplex=no
19631fi
19632rm -f core conftest.err conftest.$ac_objext \
19633    conftest$ac_exeext conftest.$ac_ext
19634LIBS=$ac_check_lib_save_LIBS
19635fi
19636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glpk_glp_simplex" >&5
19637$as_echo "$ac_cv_lib_glpk_glp_simplex" >&6; }
19638if test "x$ac_cv_lib_glpk_glp_simplex" = xyes; then :
19639  cat >>confdefs.h <<_ACEOF
19640#define HAVE_LIBGLPK 1
19641_ACEOF
19642
19643  LIBS="-lglpk $LIBS"
19644
19645else
19646  have_glpk=false
19647fi
19648
19649
19650fi
19651
19652done
19653
19654fi
19655 if test x$have_glpk = xtrue; then
19656  HAVE_GLPK_TRUE=
19657  HAVE_GLPK_FALSE='#'
19658else
19659  HAVE_GLPK_TRUE='#'
19660  HAVE_GLPK_FALSE=
19661fi
19662
19663
19664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking location of TOPCOM" >&5
19665$as_echo_n "checking location of TOPCOM... " >&6; }
19666
19667# Check whether --with-topcom was given.
19668if test "${with_topcom+set}" = set; then :
19669  withval=$with_topcom; topcom_package=$withval
19670else
19671  topcom_package=unspecified
19672fi
19673
19674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $topcom_package" >&5
19675$as_echo "$topcom_package" >&6; }
19676have_topcom=false
19677if test "$topcom_package" != no; then
19678	topcom_path="$PATH"
19679	if test "$topcom_package" != unspecified; then
19680		topcom_path="$topcom_package/bin"
19681	fi
19682	# Extract the first word of "points2triangs", so it can be a program name with args.
19683set dummy points2triangs; ac_word=$2
19684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19685$as_echo_n "checking for $ac_word... " >&6; }
19686if ${ac_cv_path_POINTS2TRIANGS+:} false; then :
19687  $as_echo_n "(cached) " >&6
19688else
19689  case $POINTS2TRIANGS in
19690  [\\/]* | ?:[\\/]*)
19691  ac_cv_path_POINTS2TRIANGS="$POINTS2TRIANGS" # Let the user override the test with a path.
19692  ;;
19693  *)
19694  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19695for as_dir in $topcom_path
19696do
19697  IFS=$as_save_IFS
19698  test -z "$as_dir" && as_dir=.
19699    for ac_exec_ext in '' $ac_executable_extensions; do
19700  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19701    ac_cv_path_POINTS2TRIANGS="$as_dir/$ac_word$ac_exec_ext"
19702    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19703    break 2
19704  fi
19705done
19706  done
19707IFS=$as_save_IFS
19708
19709  ;;
19710esac
19711fi
19712POINTS2TRIANGS=$ac_cv_path_POINTS2TRIANGS
19713if test -n "$POINTS2TRIANGS"; then
19714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POINTS2TRIANGS" >&5
19715$as_echo "$POINTS2TRIANGS" >&6; }
19716else
19717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19718$as_echo "no" >&6; }
19719fi
19720
19721
19722	if test -n "$POINTS2TRIANGS"; then
19723		have_topcom=true
19724
19725cat >>confdefs.h <<_ACEOF
19726#define POINTS2TRIANGS_PATH "$POINTS2TRIANGS"
19727_ACEOF
19728
19729	fi
19730fi
19731 if test x$have_topcom = xtrue; then
19732  HAVE_TOPCOM_TRUE=
19733  HAVE_TOPCOM_FALSE='#'
19734else
19735  HAVE_TOPCOM_TRUE='#'
19736  HAVE_TOPCOM_FALSE=
19737fi
19738
19739
19740
19741
19742
19743
19744	if test -f $srcdir/.git; then
19745		gitdir=`GIT_DIR=$srcdir/.git git rev-parse --git-dir`
19746		GIT_HEAD="$gitdir/index"
19747		GIT_REPO="$gitdir"
19748		GIT_HEAD_ID=`GIT_DIR=$GIT_REPO git describe`
19749	elif test -f $srcdir/.git/HEAD; then
19750		GIT_HEAD="$srcdir/.git/index"
19751		GIT_REPO="$srcdir/.git"
19752		GIT_HEAD_ID=`GIT_DIR=$GIT_REPO git describe`
19753	elif test -f $srcdir/GIT_HEAD_ID; then
19754		GIT_HEAD_ID=`cat $srcdir/GIT_HEAD_ID`
19755	else
19756		mysrcdir=`(cd $srcdir; pwd)`
19757		head=`basename $mysrcdir | sed -e 's/.*-//'`
19758		head2=`echo $head | sed -e 's/^0-9a-f//'`
19759		head3=`echo $head2 | sed -e 's/........................................//'`
19760		if test "x$head3" = "x" -a "x$head" = "x$head2"; then
19761			GIT_HEAD_ID="$head"
19762		else
19763			GIT_HEAD_ID="UNKNOWN"
19764		fi
19765	fi
19766	if test -z "$GIT_REPO" ; then
19767		GIT_HEAD_VERSION="$GIT_HEAD_ID"
19768	else
19769		GIT_HEAD_VERSION="\`GIT_DIR=$GIT_REPO git describe\`"
19770	fi
19771
19772echo '#define GIT_HEAD_ID "'$GIT_HEAD_ID'"' > version.h
19773
19774ac_ext=cpp
19775ac_cpp='$CXXCPP $CPPFLAGS'
19776ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19777ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19778ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19779
19780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19781/* end confdefs.h.  */
19782
19783		#include <set>
19784		void negate();
19785
19786int
19787main ()
19788{
19789negate()
19790  ;
19791  return 0;
19792}
19793_ACEOF
19794if ac_fn_cxx_try_compile "$LINENO"; then :
19795  suffix="normal"
19796else
19797  suffix="broken"
19798fi
19799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19800ac_config_commands="$ac_config_commands barvinok/set.h"
19801
19802ac_config_commands="$ac_config_commands barvinok/NTL.h"
19803
19804use_fdstream=false
19805SAVE_CPPFLAGS="$CPPFLAGS"
19806CPPFLAGS="-I$srcdir $CPPFLAGS"
19807cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808/* end confdefs.h.  */
19809#include "fdstream.h"
19810int
19811main ()
19812{
19813
19814  ;
19815  return 0;
19816}
19817_ACEOF
19818if ac_fn_cxx_try_compile "$LINENO"; then :
19819
19820$as_echo "#define USE_FDSTREAM /**/" >>confdefs.h
19821
19822	use_fdstream=true
19823fi
19824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19825CPPFLAGS="$SAVE_CPPFLAGS"
19826ac_ext=c
19827ac_cpp='$CPP $CPPFLAGS'
19828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19830ac_compiler_gnu=$ac_cv_c_compiler_gnu
19831
19832 if test "$use_fdstream" = true; then
19833  USE_FDSTREAM_TRUE=
19834  USE_FDSTREAM_FALSE='#'
19835else
19836  USE_FDSTREAM_TRUE='#'
19837  USE_FDSTREAM_FALSE=
19838fi
19839
19840
19841ac_config_commands="$ac_config_commands interface/isl.py.top"
19842
19843
19844PACKAGE_CFLAGS="$PACKAGE_CFLAGS_ISL"
19845PACKAGE_LIBS="-lbarvinok $EXTRA_PACKAGE_LIBS -lpolylibgmp -lisl"
19846
19847# we need the expanded forms...
19848test "x$prefix" = xNONE && prefix=$ac_default_prefix
19849test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19850
19851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
19852$as_echo_n "checking our pkgconfig libname... " >&6; }
19853test ".$ax_create_pkgconfig_libname" != "." || \
19854ax_create_pkgconfig_libname="${PACKAGE_NAME}"
19855test ".$ax_create_pkgconfig_libname" != "." || \
19856ax_create_pkgconfig_libname="$PACKAGE"
19857ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
19858ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
19859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
19860$as_echo "$ax_create_pkgconfig_libname" >&6; }
19861
19862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
19863$as_echo_n "checking our pkgconfig version... " >&6; }
19864test ".$ax_create_pkgconfig_version" != "." || \
19865ax_create_pkgconfig_version="${PACKAGE_VERSION}"
19866test ".$ax_create_pkgconfig_version" != "." || \
19867ax_create_pkgconfig_version="$VERSION"
19868ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
19869ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
19870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
19871$as_echo "$ax_create_pkgconfig_version" >&6; }
19872
19873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
19874$as_echo_n "checking our pkgconfig_libdir... " >&6; }
19875test ".$pkgconfig_libdir" = "." && \
19876pkgconfig_libdir='${libdir}/pkgconfig'
19877ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
19878ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
19879ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
19880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
19881$as_echo "$pkgconfig_libdir" >&6; }
19882test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
19883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
19884$as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
19885
19886
19887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
19888$as_echo_n "checking our pkgconfig_libfile... " >&6; }
19889test ".$pkgconfig_libfile" != "." || \
19890pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
19891ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
19892ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
19893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
19894$as_echo "$pkgconfig_libfile" >&6; }
19895test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
19896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
19897$as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
19898
19899
19900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
19901$as_echo_n "checking our package / suffix... " >&6; }
19902ax_create_pkgconfig_suffix="$program_suffix"
19903test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
19904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
19905$as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
19906
19907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
19908$as_echo_n "checking our pkgconfig description... " >&6; }
19909ax_create_pkgconfig_description="$PACKAGE_SUMMARY"
19910test ".$ax_create_pkgconfig_description" != "." || \
19911ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
19912ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19913ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
19915$as_echo "$ax_create_pkgconfig_description" >&6; }
19916
19917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
19918$as_echo_n "checking our pkgconfig requires... " >&6; }
19919ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
19920ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19921ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
19923$as_echo "$ax_create_pkgconfig_requires" >&6; }
19924
19925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
19926$as_echo_n "checking our pkgconfig ext libs... " >&6; }
19927ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
19928test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
19929ax_create_pkgconfig_libs="$ax_create_pkgconfig_pkglibs $LIBS"
19930ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19931ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
19933$as_echo "$ax_create_pkgconfig_libs" >&6; }
19934
19935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
19936$as_echo_n "checking our pkgconfig cppflags... " >&6; }
19937ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
19938ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19939ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
19941$as_echo "$ax_create_pkgconfig_cppflags" >&6; }
19942
19943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
19944$as_echo_n "checking our pkgconfig ldflags... " >&6; }
19945ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
19946ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19947ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
19949$as_echo "$ax_create_pkgconfig_ldflags" >&6; }
19950
19951test ".$ax_create_pkgconfig_generate" != "." || \
19952ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
19953ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19954ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19955test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
19956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
19957$as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
19958
19959if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
19960ax_create_pkgconfig_src_libdir=`pwd`
19961ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
19962$as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19963	 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
19964	 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
19965	 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
19966$as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
19967    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19968	    s//\1/
19969	    q
19970	  }
19971	  /^X\(\/\/\)[^/].*/{
19972	    s//\1/
19973	    q
19974	  }
19975	  /^X\(\/\/\)$/{
19976	    s//\1/
19977	    q
19978	  }
19979	  /^X\(\/\).*/{
19980	    s//\1/
19981	    q
19982	  }
19983	  s/.*/./; q'`
19984test ! -d $ax_create_pkgconfig_src_libdir/src || \
19985ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19986case ".$objdir" in
19987*libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19989$as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19990fi
19991
19992if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19993ax_create_pkgconfig_src_headers=`pwd`
19994v="$ac_top_srcdir" ;
19995test ".$v" != "." || v="$ax_spec_dir"
19996test ".$v" != "." || v="$srcdir"
19997case "$v" in /*) PKG_CONFIG_src_headers="" ;; esac
19998ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19999$as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20000	 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
20001	 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
20002	 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
20003$as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
20004    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20005	    s//\1/
20006	    q
20007	  }
20008	  /^X\(\/\/\)[^/].*/{
20009	    s//\1/
20010	    q
20011	  }
20012	  /^X\(\/\/\)$/{
20013	    s//\1/
20014	    q
20015	  }
20016	  /^X\(\/\).*/{
20017	    s//\1/
20018	    q
20019	  }
20020	  s/.*/./; q'`
20021test ! -d $ax_create_pkgconfig_src_headers/include || \
20022ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
20023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
20024$as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
20025fi
20026
20027
20028ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
20029
20030
20031
20032ac_config_headers="$ac_config_headers config.h"
20033
20034ac_config_files="$ac_config_files Makefile zsolve/Makefile doc/Makefile"
20035
20036ac_config_files="$ac_config_files parker/Makefile"
20037
20038if test $with_polylib = bundled; then
20039
20040
20041subdirs="$subdirs polylib"
20042
20043fi
20044if test $with_isl = bundled; then
20045	subdirs="$subdirs isl"
20046
20047fi
20048if test $with_pet = bundled; then
20049	subdirs="$subdirs pet"
20050
20051fi
20052
20053cat >confcache <<\_ACEOF
20054# This file is a shell script that caches the results of configure
20055# tests run on this system so they can be shared between configure
20056# scripts and configure runs, see configure's option --config-cache.
20057# It is not useful on other systems.  If it contains results you don't
20058# want to keep, you may remove or edit it.
20059#
20060# config.status only pays attention to the cache file if you give it
20061# the --recheck option to rerun configure.
20062#
20063# `ac_cv_env_foo' variables (set or unset) will be overridden when
20064# loading this file, other *unset* `ac_cv_foo' will be assigned the
20065# following values.
20066
20067_ACEOF
20068
20069# The following way of writing the cache mishandles newlines in values,
20070# but we know of no workaround that is simple, portable, and efficient.
20071# So, we kill variables containing newlines.
20072# Ultrix sh set writes to stderr and can't be redirected directly,
20073# and sets the high bit in the cache file unless we assign to the vars.
20074(
20075  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20076    eval ac_val=\$$ac_var
20077    case $ac_val in #(
20078    *${as_nl}*)
20079      case $ac_var in #(
20080      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20081$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20082      esac
20083      case $ac_var in #(
20084      _ | IFS | as_nl) ;; #(
20085      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20086      *) { eval $ac_var=; unset $ac_var;} ;;
20087      esac ;;
20088    esac
20089  done
20090
20091  (set) 2>&1 |
20092    case $as_nl`(ac_space=' '; set) 2>&1` in #(
20093    *${as_nl}ac_space=\ *)
20094      # `set' does not quote correctly, so add quotes: double-quote
20095      # substitution turns \\\\ into \\, and sed turns \\ into \.
20096      sed -n \
20097	"s/'/'\\\\''/g;
20098	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20099      ;; #(
20100    *)
20101      # `set' quotes correctly as required by POSIX, so do not add quotes.
20102      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20103      ;;
20104    esac |
20105    sort
20106) |
20107  sed '
20108     /^ac_cv_env_/b end
20109     t clear
20110     :clear
20111     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20112     t end
20113     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20114     :end' >>confcache
20115if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20116  if test -w "$cache_file"; then
20117    if test "x$cache_file" != "x/dev/null"; then
20118      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20119$as_echo "$as_me: updating cache $cache_file" >&6;}
20120      if test ! -f "$cache_file" || test -h "$cache_file"; then
20121	cat confcache >"$cache_file"
20122      else
20123        case $cache_file in #(
20124        */* | ?:*)
20125	  mv -f confcache "$cache_file"$$ &&
20126	  mv -f "$cache_file"$$ "$cache_file" ;; #(
20127        *)
20128	  mv -f confcache "$cache_file" ;;
20129	esac
20130      fi
20131    fi
20132  else
20133    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20134$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20135  fi
20136fi
20137rm -f confcache
20138
20139test "x$prefix" = xNONE && prefix=$ac_default_prefix
20140# Let make expand exec_prefix.
20141test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20142
20143DEFS=-DHAVE_CONFIG_H
20144
20145ac_libobjs=
20146ac_ltlibobjs=
20147U=
20148for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20149  # 1. Remove the extension, and $U if already installed.
20150  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20151  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20152  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20153  #    will be set to the directory where LIBOBJS objects are built.
20154  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20155  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20156done
20157LIBOBJS=$ac_libobjs
20158
20159LTLIBOBJS=$ac_ltlibobjs
20160
20161
20162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20163$as_echo_n "checking that generated files are newer than configure... " >&6; }
20164   if test -n "$am_sleep_pid"; then
20165     # Hide warnings about reused PIDs.
20166     wait $am_sleep_pid 2>/dev/null
20167   fi
20168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20169$as_echo "done" >&6; }
20170 if test -n "$EXEEXT"; then
20171  am__EXEEXT_TRUE=
20172  am__EXEEXT_FALSE='#'
20173else
20174  am__EXEEXT_TRUE='#'
20175  am__EXEEXT_FALSE=
20176fi
20177
20178if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20179  as_fn_error $? "conditional \"AMDEP\" was never defined.
20180Usually this means the macro was only invoked conditionally." "$LINENO" 5
20181fi
20182if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20183  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20184Usually this means the macro was only invoked conditionally." "$LINENO" 5
20185fi
20186if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20187  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20188Usually this means the macro was only invoked conditionally." "$LINENO" 5
20189fi
20190if test -z "${BUNDLED_POLYLIB_TRUE}" && test -z "${BUNDLED_POLYLIB_FALSE}"; then
20191  as_fn_error $? "conditional \"BUNDLED_POLYLIB\" was never defined.
20192Usually this means the macro was only invoked conditionally." "$LINENO" 5
20193fi
20194if test -z "${BUNDLED_ISL_TRUE}" && test -z "${BUNDLED_ISL_FALSE}"; then
20195  as_fn_error $? "conditional \"BUNDLED_ISL\" was never defined.
20196Usually this means the macro was only invoked conditionally." "$LINENO" 5
20197fi
20198if test -z "${BUILD_ISL_TRUE}" && test -z "${BUILD_ISL_FALSE}"; then
20199  as_fn_error $? "conditional \"BUILD_ISL\" was never defined.
20200Usually this means the macro was only invoked conditionally." "$LINENO" 5
20201fi
20202if test -z "${HAVE_ISL_BUILDDIR_TRUE}" && test -z "${HAVE_ISL_BUILDDIR_FALSE}"; then
20203  as_fn_error $? "conditional \"HAVE_ISL_BUILDDIR\" was never defined.
20204Usually this means the macro was only invoked conditionally." "$LINENO" 5
20205fi
20206if test -z "${BUNDLED_PET_TRUE}" && test -z "${BUNDLED_PET_FALSE}"; then
20207  as_fn_error $? "conditional \"BUNDLED_PET\" was never defined.
20208Usually this means the macro was only invoked conditionally." "$LINENO" 5
20209fi
20210if test -z "${BUILD_PET_TRUE}" && test -z "${BUILD_PET_FALSE}"; then
20211  as_fn_error $? "conditional \"BUILD_PET\" was never defined.
20212Usually this means the macro was only invoked conditionally." "$LINENO" 5
20213fi
20214if test -z "${USE_ZSOLVE_TRUE}" && test -z "${USE_ZSOLVE_FALSE}"; then
20215  as_fn_error $? "conditional \"USE_ZSOLVE\" was never defined.
20216Usually this means the macro was only invoked conditionally." "$LINENO" 5
20217fi
20218if test -z "${HAVE_OMEGA_TRUE}" && test -z "${HAVE_OMEGA_FALSE}"; then
20219  as_fn_error $? "conditional \"HAVE_OMEGA\" was never defined.
20220Usually this means the macro was only invoked conditionally." "$LINENO" 5
20221fi
20222if test -z "${USE_PARKER_TRUE}" && test -z "${USE_PARKER_FALSE}"; then
20223  as_fn_error $? "conditional \"USE_PARKER\" was never defined.
20224Usually this means the macro was only invoked conditionally." "$LINENO" 5
20225fi
20226if test -z "${HAVE_CDDLIB_TRUE}" && test -z "${HAVE_CDDLIB_FALSE}"; then
20227  as_fn_error $? "conditional \"HAVE_CDDLIB\" was never defined.
20228Usually this means the macro was only invoked conditionally." "$LINENO" 5
20229fi
20230if test -z "${HAVE_GLPK_TRUE}" && test -z "${HAVE_GLPK_FALSE}"; then
20231  as_fn_error $? "conditional \"HAVE_GLPK\" was never defined.
20232Usually this means the macro was only invoked conditionally." "$LINENO" 5
20233fi
20234if test -z "${HAVE_TOPCOM_TRUE}" && test -z "${HAVE_TOPCOM_FALSE}"; then
20235  as_fn_error $? "conditional \"HAVE_TOPCOM\" was never defined.
20236Usually this means the macro was only invoked conditionally." "$LINENO" 5
20237fi
20238if test -z "${USE_FDSTREAM_TRUE}" && test -z "${USE_FDSTREAM_FALSE}"; then
20239  as_fn_error $? "conditional \"USE_FDSTREAM\" was never defined.
20240Usually this means the macro was only invoked conditionally." "$LINENO" 5
20241fi
20242
20243: "${CONFIG_STATUS=./config.status}"
20244ac_write_fail=0
20245ac_clean_files_save=$ac_clean_files
20246ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20247{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20248$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20249as_write_fail=0
20250cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20251#! $SHELL
20252# Generated by $as_me.
20253# Run this file to recreate the current configuration.
20254# Compiler output produced by configure, useful for debugging
20255# configure, is in config.log if it exists.
20256
20257debug=false
20258ac_cs_recheck=false
20259ac_cs_silent=false
20260
20261SHELL=\${CONFIG_SHELL-$SHELL}
20262export SHELL
20263_ASEOF
20264cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20265## -------------------- ##
20266## M4sh Initialization. ##
20267## -------------------- ##
20268
20269# Be more Bourne compatible
20270DUALCASE=1; export DUALCASE # for MKS sh
20271if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20272  emulate sh
20273  NULLCMD=:
20274  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20275  # is contrary to our usage.  Disable this feature.
20276  alias -g '${1+"$@"}'='"$@"'
20277  setopt NO_GLOB_SUBST
20278else
20279  case `(set -o) 2>/dev/null` in #(
20280  *posix*) :
20281    set -o posix ;; #(
20282  *) :
20283     ;;
20284esac
20285fi
20286
20287
20288as_nl='
20289'
20290export as_nl
20291# Printing a long string crashes Solaris 7 /usr/bin/printf.
20292as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20293as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20294as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20295# Prefer a ksh shell builtin over an external printf program on Solaris,
20296# but without wasting forks for bash or zsh.
20297if test -z "$BASH_VERSION$ZSH_VERSION" \
20298    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20299  as_echo='print -r --'
20300  as_echo_n='print -rn --'
20301elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20302  as_echo='printf %s\n'
20303  as_echo_n='printf %s'
20304else
20305  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20306    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20307    as_echo_n='/usr/ucb/echo -n'
20308  else
20309    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20310    as_echo_n_body='eval
20311      arg=$1;
20312      case $arg in #(
20313      *"$as_nl"*)
20314	expr "X$arg" : "X\\(.*\\)$as_nl";
20315	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20316      esac;
20317      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20318    '
20319    export as_echo_n_body
20320    as_echo_n='sh -c $as_echo_n_body as_echo'
20321  fi
20322  export as_echo_body
20323  as_echo='sh -c $as_echo_body as_echo'
20324fi
20325
20326# The user is always right.
20327if test "${PATH_SEPARATOR+set}" != set; then
20328  PATH_SEPARATOR=:
20329  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20330    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20331      PATH_SEPARATOR=';'
20332  }
20333fi
20334
20335
20336# IFS
20337# We need space, tab and new line, in precisely that order.  Quoting is
20338# there to prevent editors from complaining about space-tab.
20339# (If _AS_PATH_WALK were called with IFS unset, it would disable word
20340# splitting by setting IFS to empty value.)
20341IFS=" ""	$as_nl"
20342
20343# Find who we are.  Look in the path if we contain no directory separator.
20344as_myself=
20345case $0 in #((
20346  *[\\/]* ) as_myself=$0 ;;
20347  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20348for as_dir in $PATH
20349do
20350  IFS=$as_save_IFS
20351  test -z "$as_dir" && as_dir=.
20352    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20353  done
20354IFS=$as_save_IFS
20355
20356     ;;
20357esac
20358# We did not find ourselves, most probably we were run as `sh COMMAND'
20359# in which case we are not to be found in the path.
20360if test "x$as_myself" = x; then
20361  as_myself=$0
20362fi
20363if test ! -f "$as_myself"; then
20364  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20365  exit 1
20366fi
20367
20368# Unset variables that we do not need and which cause bugs (e.g. in
20369# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
20370# suppresses any "Segmentation fault" message there.  '((' could
20371# trigger a bug in pdksh 5.2.14.
20372for as_var in BASH_ENV ENV MAIL MAILPATH
20373do eval test x\${$as_var+set} = xset \
20374  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20375done
20376PS1='$ '
20377PS2='> '
20378PS4='+ '
20379
20380# NLS nuisances.
20381LC_ALL=C
20382export LC_ALL
20383LANGUAGE=C
20384export LANGUAGE
20385
20386# CDPATH.
20387(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20388
20389
20390# as_fn_error STATUS ERROR [LINENO LOG_FD]
20391# ----------------------------------------
20392# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20393# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20394# script with STATUS, using 1 if that was 0.
20395as_fn_error ()
20396{
20397  as_status=$1; test $as_status -eq 0 && as_status=1
20398  if test "$4"; then
20399    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20400    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20401  fi
20402  $as_echo "$as_me: error: $2" >&2
20403  as_fn_exit $as_status
20404} # as_fn_error
20405
20406
20407# as_fn_set_status STATUS
20408# -----------------------
20409# Set $? to STATUS, without forking.
20410as_fn_set_status ()
20411{
20412  return $1
20413} # as_fn_set_status
20414
20415# as_fn_exit STATUS
20416# -----------------
20417# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20418as_fn_exit ()
20419{
20420  set +e
20421  as_fn_set_status $1
20422  exit $1
20423} # as_fn_exit
20424
20425# as_fn_unset VAR
20426# ---------------
20427# Portably unset VAR.
20428as_fn_unset ()
20429{
20430  { eval $1=; unset $1;}
20431}
20432as_unset=as_fn_unset
20433# as_fn_append VAR VALUE
20434# ----------------------
20435# Append the text in VALUE to the end of the definition contained in VAR. Take
20436# advantage of any shell optimizations that allow amortized linear growth over
20437# repeated appends, instead of the typical quadratic growth present in naive
20438# implementations.
20439if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20440  eval 'as_fn_append ()
20441  {
20442    eval $1+=\$2
20443  }'
20444else
20445  as_fn_append ()
20446  {
20447    eval $1=\$$1\$2
20448  }
20449fi # as_fn_append
20450
20451# as_fn_arith ARG...
20452# ------------------
20453# Perform arithmetic evaluation on the ARGs, and store the result in the
20454# global $as_val. Take advantage of shells that can avoid forks. The arguments
20455# must be portable across $(()) and expr.
20456if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20457  eval 'as_fn_arith ()
20458  {
20459    as_val=$(( $* ))
20460  }'
20461else
20462  as_fn_arith ()
20463  {
20464    as_val=`expr "$@" || test $? -eq 1`
20465  }
20466fi # as_fn_arith
20467
20468
20469if expr a : '\(a\)' >/dev/null 2>&1 &&
20470   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20471  as_expr=expr
20472else
20473  as_expr=false
20474fi
20475
20476if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20477  as_basename=basename
20478else
20479  as_basename=false
20480fi
20481
20482if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20483  as_dirname=dirname
20484else
20485  as_dirname=false
20486fi
20487
20488as_me=`$as_basename -- "$0" ||
20489$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20490	 X"$0" : 'X\(//\)$' \| \
20491	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20492$as_echo X/"$0" |
20493    sed '/^.*\/\([^/][^/]*\)\/*$/{
20494	    s//\1/
20495	    q
20496	  }
20497	  /^X\/\(\/\/\)$/{
20498	    s//\1/
20499	    q
20500	  }
20501	  /^X\/\(\/\).*/{
20502	    s//\1/
20503	    q
20504	  }
20505	  s/.*/./; q'`
20506
20507# Avoid depending upon Character Ranges.
20508as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20509as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20510as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20511as_cr_digits='0123456789'
20512as_cr_alnum=$as_cr_Letters$as_cr_digits
20513
20514ECHO_C= ECHO_N= ECHO_T=
20515case `echo -n x` in #(((((
20516-n*)
20517  case `echo 'xy\c'` in
20518  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
20519  xy)  ECHO_C='\c';;
20520  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
20521       ECHO_T='	';;
20522  esac;;
20523*)
20524  ECHO_N='-n';;
20525esac
20526
20527rm -f conf$$ conf$$.exe conf$$.file
20528if test -d conf$$.dir; then
20529  rm -f conf$$.dir/conf$$.file
20530else
20531  rm -f conf$$.dir
20532  mkdir conf$$.dir 2>/dev/null
20533fi
20534if (echo >conf$$.file) 2>/dev/null; then
20535  if ln -s conf$$.file conf$$ 2>/dev/null; then
20536    as_ln_s='ln -s'
20537    # ... but there are two gotchas:
20538    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20539    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20540    # In both cases, we have to default to `cp -pR'.
20541    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20542      as_ln_s='cp -pR'
20543  elif ln conf$$.file conf$$ 2>/dev/null; then
20544    as_ln_s=ln
20545  else
20546    as_ln_s='cp -pR'
20547  fi
20548else
20549  as_ln_s='cp -pR'
20550fi
20551rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20552rmdir conf$$.dir 2>/dev/null
20553
20554
20555# as_fn_mkdir_p
20556# -------------
20557# Create "$as_dir" as a directory, including parents if necessary.
20558as_fn_mkdir_p ()
20559{
20560
20561  case $as_dir in #(
20562  -*) as_dir=./$as_dir;;
20563  esac
20564  test -d "$as_dir" || eval $as_mkdir_p || {
20565    as_dirs=
20566    while :; do
20567      case $as_dir in #(
20568      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20569      *) as_qdir=$as_dir;;
20570      esac
20571      as_dirs="'$as_qdir' $as_dirs"
20572      as_dir=`$as_dirname -- "$as_dir" ||
20573$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20574	 X"$as_dir" : 'X\(//\)[^/]' \| \
20575	 X"$as_dir" : 'X\(//\)$' \| \
20576	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20577$as_echo X"$as_dir" |
20578    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20579	    s//\1/
20580	    q
20581	  }
20582	  /^X\(\/\/\)[^/].*/{
20583	    s//\1/
20584	    q
20585	  }
20586	  /^X\(\/\/\)$/{
20587	    s//\1/
20588	    q
20589	  }
20590	  /^X\(\/\).*/{
20591	    s//\1/
20592	    q
20593	  }
20594	  s/.*/./; q'`
20595      test -d "$as_dir" && break
20596    done
20597    test -z "$as_dirs" || eval "mkdir $as_dirs"
20598  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20599
20600
20601} # as_fn_mkdir_p
20602if mkdir -p . 2>/dev/null; then
20603  as_mkdir_p='mkdir -p "$as_dir"'
20604else
20605  test -d ./-p && rmdir ./-p
20606  as_mkdir_p=false
20607fi
20608
20609
20610# as_fn_executable_p FILE
20611# -----------------------
20612# Test if FILE is an executable regular file.
20613as_fn_executable_p ()
20614{
20615  test -f "$1" && test -x "$1"
20616} # as_fn_executable_p
20617as_test_x='test -x'
20618as_executable_p=as_fn_executable_p
20619
20620# Sed expression to map a string onto a valid CPP name.
20621as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20622
20623# Sed expression to map a string onto a valid variable name.
20624as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20625
20626
20627exec 6>&1
20628## ----------------------------------- ##
20629## Main body of $CONFIG_STATUS script. ##
20630## ----------------------------------- ##
20631_ASEOF
20632test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20633
20634cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20635# Save the log message, to keep $0 and so on meaningful, and to
20636# report actual input values of CONFIG_FILES etc. instead of their
20637# values after options handling.
20638ac_log="
20639This file was extended by barvinok $as_me 0.41.5, which was
20640generated by GNU Autoconf 2.69.  Invocation command line was
20641
20642  CONFIG_FILES    = $CONFIG_FILES
20643  CONFIG_HEADERS  = $CONFIG_HEADERS
20644  CONFIG_LINKS    = $CONFIG_LINKS
20645  CONFIG_COMMANDS = $CONFIG_COMMANDS
20646  $ $0 $@
20647
20648on `(hostname || uname -n) 2>/dev/null | sed 1q`
20649"
20650
20651_ACEOF
20652
20653case $ac_config_files in *"
20654"*) set x $ac_config_files; shift; ac_config_files=$*;;
20655esac
20656
20657case $ac_config_headers in *"
20658"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20659esac
20660
20661
20662cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20663# Files that config.status was made for.
20664config_files="$ac_config_files"
20665config_headers="$ac_config_headers"
20666config_commands="$ac_config_commands"
20667
20668_ACEOF
20669
20670cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20671ac_cs_usage="\
20672\`$as_me' instantiates files and other configuration actions
20673from templates according to the current configuration.  Unless the files
20674and actions are specified as TAGs, all are instantiated by default.
20675
20676Usage: $0 [OPTION]... [TAG]...
20677
20678  -h, --help       print this help, then exit
20679  -V, --version    print version number and configuration settings, then exit
20680      --config     print configuration, then exit
20681  -q, --quiet, --silent
20682                   do not print progress messages
20683  -d, --debug      don't remove temporary files
20684      --recheck    update $as_me by reconfiguring in the same conditions
20685      --file=FILE[:TEMPLATE]
20686                   instantiate the configuration file FILE
20687      --header=FILE[:TEMPLATE]
20688                   instantiate the configuration header FILE
20689
20690Configuration files:
20691$config_files
20692
20693Configuration headers:
20694$config_headers
20695
20696Configuration commands:
20697$config_commands
20698
20699Report bugs to <isl-development@googlegroups.com>."
20700
20701_ACEOF
20702cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20703ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20704ac_cs_version="\\
20705barvinok config.status 0.41.5
20706configured by $0, generated by GNU Autoconf 2.69,
20707  with options \\"\$ac_cs_config\\"
20708
20709Copyright (C) 2012 Free Software Foundation, Inc.
20710This config.status script is free software; the Free Software Foundation
20711gives unlimited permission to copy, distribute and modify it."
20712
20713ac_pwd='$ac_pwd'
20714srcdir='$srcdir'
20715INSTALL='$INSTALL'
20716MKDIR_P='$MKDIR_P'
20717AWK='$AWK'
20718test -n "\$AWK" || AWK=awk
20719_ACEOF
20720
20721cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20722# The default lists apply if the user does not specify any file.
20723ac_need_defaults=:
20724while test $# != 0
20725do
20726  case $1 in
20727  --*=?*)
20728    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20729    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20730    ac_shift=:
20731    ;;
20732  --*=)
20733    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20734    ac_optarg=
20735    ac_shift=:
20736    ;;
20737  *)
20738    ac_option=$1
20739    ac_optarg=$2
20740    ac_shift=shift
20741    ;;
20742  esac
20743
20744  case $ac_option in
20745  # Handling of the options.
20746  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20747    ac_cs_recheck=: ;;
20748  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20749    $as_echo "$ac_cs_version"; exit ;;
20750  --config | --confi | --conf | --con | --co | --c )
20751    $as_echo "$ac_cs_config"; exit ;;
20752  --debug | --debu | --deb | --de | --d | -d )
20753    debug=: ;;
20754  --file | --fil | --fi | --f )
20755    $ac_shift
20756    case $ac_optarg in
20757    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20758    '') as_fn_error $? "missing file argument" ;;
20759    esac
20760    as_fn_append CONFIG_FILES " '$ac_optarg'"
20761    ac_need_defaults=false;;
20762  --header | --heade | --head | --hea )
20763    $ac_shift
20764    case $ac_optarg in
20765    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20766    esac
20767    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20768    ac_need_defaults=false;;
20769  --he | --h)
20770    # Conflict between --help and --header
20771    as_fn_error $? "ambiguous option: \`$1'
20772Try \`$0 --help' for more information.";;
20773  --help | --hel | -h )
20774    $as_echo "$ac_cs_usage"; exit ;;
20775  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20776  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20777    ac_cs_silent=: ;;
20778
20779  # This is an error.
20780  -*) as_fn_error $? "unrecognized option: \`$1'
20781Try \`$0 --help' for more information." ;;
20782
20783  *) as_fn_append ac_config_targets " $1"
20784     ac_need_defaults=false ;;
20785
20786  esac
20787  shift
20788done
20789
20790ac_configure_extra_args=
20791
20792if $ac_cs_silent; then
20793  exec 6>/dev/null
20794  ac_configure_extra_args="$ac_configure_extra_args --silent"
20795fi
20796
20797_ACEOF
20798cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20799if \$ac_cs_recheck; then
20800  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20801  shift
20802  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20803  CONFIG_SHELL='$SHELL'
20804  export CONFIG_SHELL
20805  exec "\$@"
20806fi
20807
20808_ACEOF
20809cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20810exec 5>>config.log
20811{
20812  echo
20813  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20814## Running $as_me. ##
20815_ASBOX
20816  $as_echo "$ac_log"
20817} >&5
20818
20819_ACEOF
20820cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20821#
20822# INIT-COMMANDS
20823#
20824AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
20825
20826
20827# The HP-UX ksh and POSIX shell print the target directory to stdout
20828# if CDPATH is set.
20829(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20830
20831sed_quote_subst='$sed_quote_subst'
20832double_quote_subst='$double_quote_subst'
20833delay_variable_subst='$delay_variable_subst'
20834AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20835DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20836OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20837macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20838macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20839enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20840enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20841pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20842enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20843shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20844SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20845ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20846PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20847host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20848host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20849host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20850build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20851build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20852build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20853SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20854Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20855GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20856EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20857FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20858LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20859NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20860LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20861max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20862ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20863exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20864lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20865lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20866lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20867lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20868lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20869reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20870reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20871deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20872file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20873file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20874want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20875sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20876AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20877AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20878archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20879STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20880RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20881old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20882old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20883old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20884lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20885CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20886CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20887compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20888GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20889lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20890lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20891lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
20892lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20893lt_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"`'
20894lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
20895nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20896lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20897lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
20898objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20899MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20900lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20901lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20902lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20903lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20904lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20905need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20906MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20907DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20908NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20909LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20910OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20911OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20912libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20913shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20914extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20915archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20916enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20917export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20918whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20919compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20920old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20921old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20922archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20923archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20924module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20925module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20926with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20927allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20928no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20929hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20930hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20931hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20932hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20933hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20934hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20935hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20936inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20937link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20938always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20939export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20940exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20941include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20942prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20943postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20944file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20945variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20946need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20947need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20948version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20949runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20950shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20951shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20952libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20953library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20954soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20955install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20956postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20957postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20958finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20959finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20960hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20961sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20962configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
20963configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
20964hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20965enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20966enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20967enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20968old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20969striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20970compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20971predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20972postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20973predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20974postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20975compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20976LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20977reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20978reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20979old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20980compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20981GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20982lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20983lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20984lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20985lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20986lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20987archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20988enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20989export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20990whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20991compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20992old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20993old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20994archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20995archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20996module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20997module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20998with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20999allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21000no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21001hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21002hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21003hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21004hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21005hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21006hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21007hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21008inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21009link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21010always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21011export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21012exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21013include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21014prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21015postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21016file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21017hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21018compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21019predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21020postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21021predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21022postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21023compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21024
21025LTCC='$LTCC'
21026LTCFLAGS='$LTCFLAGS'
21027compiler='$compiler_DEFAULT'
21028
21029# A function that is used when there is no print builtin or printf.
21030func_fallback_echo ()
21031{
21032  eval 'cat <<_LTECHO_EOF
21033\$1
21034_LTECHO_EOF'
21035}
21036
21037# Quote evaled strings.
21038for var in AS \
21039DLLTOOL \
21040OBJDUMP \
21041SHELL \
21042ECHO \
21043PATH_SEPARATOR \
21044SED \
21045GREP \
21046EGREP \
21047FGREP \
21048LD \
21049NM \
21050LN_S \
21051lt_SP2NL \
21052lt_NL2SP \
21053reload_flag \
21054deplibs_check_method \
21055file_magic_cmd \
21056file_magic_glob \
21057want_nocaseglob \
21058sharedlib_from_linklib_cmd \
21059AR \
21060AR_FLAGS \
21061archiver_list_spec \
21062STRIP \
21063RANLIB \
21064CC \
21065CFLAGS \
21066compiler \
21067lt_cv_sys_global_symbol_pipe \
21068lt_cv_sys_global_symbol_to_cdecl \
21069lt_cv_sys_global_symbol_to_import \
21070lt_cv_sys_global_symbol_to_c_name_address \
21071lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21072lt_cv_nm_interface \
21073nm_file_list_spec \
21074lt_cv_truncate_bin \
21075lt_prog_compiler_no_builtin_flag \
21076lt_prog_compiler_pic \
21077lt_prog_compiler_wl \
21078lt_prog_compiler_static \
21079lt_cv_prog_compiler_c_o \
21080need_locks \
21081MANIFEST_TOOL \
21082DSYMUTIL \
21083NMEDIT \
21084LIPO \
21085OTOOL \
21086OTOOL64 \
21087shrext_cmds \
21088export_dynamic_flag_spec \
21089whole_archive_flag_spec \
21090compiler_needs_object \
21091with_gnu_ld \
21092allow_undefined_flag \
21093no_undefined_flag \
21094hardcode_libdir_flag_spec \
21095hardcode_libdir_separator \
21096exclude_expsyms \
21097include_expsyms \
21098file_list_spec \
21099variables_saved_for_relink \
21100libname_spec \
21101library_names_spec \
21102soname_spec \
21103install_override_mode \
21104finish_eval \
21105old_striplib \
21106striplib \
21107compiler_lib_search_dirs \
21108predep_objects \
21109postdep_objects \
21110predeps \
21111postdeps \
21112compiler_lib_search_path \
21113LD_CXX \
21114reload_flag_CXX \
21115compiler_CXX \
21116lt_prog_compiler_no_builtin_flag_CXX \
21117lt_prog_compiler_pic_CXX \
21118lt_prog_compiler_wl_CXX \
21119lt_prog_compiler_static_CXX \
21120lt_cv_prog_compiler_c_o_CXX \
21121export_dynamic_flag_spec_CXX \
21122whole_archive_flag_spec_CXX \
21123compiler_needs_object_CXX \
21124with_gnu_ld_CXX \
21125allow_undefined_flag_CXX \
21126no_undefined_flag_CXX \
21127hardcode_libdir_flag_spec_CXX \
21128hardcode_libdir_separator_CXX \
21129exclude_expsyms_CXX \
21130include_expsyms_CXX \
21131file_list_spec_CXX \
21132compiler_lib_search_dirs_CXX \
21133predep_objects_CXX \
21134postdep_objects_CXX \
21135predeps_CXX \
21136postdeps_CXX \
21137compiler_lib_search_path_CXX; do
21138    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21139    *[\\\\\\\`\\"\\\$]*)
21140      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21141      ;;
21142    *)
21143      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21144      ;;
21145    esac
21146done
21147
21148# Double-quote double-evaled strings.
21149for var in reload_cmds \
21150old_postinstall_cmds \
21151old_postuninstall_cmds \
21152old_archive_cmds \
21153extract_expsyms_cmds \
21154old_archive_from_new_cmds \
21155old_archive_from_expsyms_cmds \
21156archive_cmds \
21157archive_expsym_cmds \
21158module_cmds \
21159module_expsym_cmds \
21160export_symbols_cmds \
21161prelink_cmds \
21162postlink_cmds \
21163postinstall_cmds \
21164postuninstall_cmds \
21165finish_cmds \
21166sys_lib_search_path_spec \
21167configure_time_dlsearch_path \
21168configure_time_lt_sys_library_path \
21169reload_cmds_CXX \
21170old_archive_cmds_CXX \
21171old_archive_from_new_cmds_CXX \
21172old_archive_from_expsyms_cmds_CXX \
21173archive_cmds_CXX \
21174archive_expsym_cmds_CXX \
21175module_cmds_CXX \
21176module_expsym_cmds_CXX \
21177export_symbols_cmds_CXX \
21178prelink_cmds_CXX \
21179postlink_cmds_CXX; do
21180    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21181    *[\\\\\\\`\\"\\\$]*)
21182      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21183      ;;
21184    *)
21185      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21186      ;;
21187    esac
21188done
21189
21190ac_aux_dir='$ac_aux_dir'
21191
21192# See if we are running on zsh, and set the options that allow our
21193# commands through without removal of \ escapes INIT.
21194if test -n "\${ZSH_VERSION+set}"; then
21195   setopt NO_GLOB_SUBST
21196fi
21197
21198
21199    PACKAGE='$PACKAGE'
21200    VERSION='$VERSION'
21201    RM='$RM'
21202    ofile='$ofile'
21203
21204
21205
21206
21207
21208suffix="$suffix"
21209suffix="$suffix"
21210pet_suffix="$pet_suffix"
21211
21212ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
21213pkgconfig_prefix='$prefix'
21214pkgconfig_execprefix='$exec_prefix'
21215pkgconfig_bindir='$bindir'
21216pkgconfig_libdir='$libdir'
21217pkgconfig_includedir='$includedir'
21218pkgconfig_datarootdir='$datarootdir'
21219pkgconfig_datadir='$datadir'
21220pkgconfig_sysconfdir='$sysconfdir'
21221pkgconfig_suffix='$ax_create_pkgconfig_suffix'
21222pkgconfig_package='$PACKAGE_NAME'
21223pkgconfig_libname='$ax_create_pkgconfig_libname'
21224pkgconfig_description='$ax_create_pkgconfig_description'
21225pkgconfig_version='$ax_create_pkgconfig_version'
21226pkgconfig_requires='$ax_create_pkgconfig_requires'
21227pkgconfig_libs='$ax_create_pkgconfig_libs'
21228pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
21229pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
21230pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
21231pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
21232
21233
21234_ACEOF
21235
21236cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21237
21238# Handling of arguments.
21239for ac_config_target in $ac_config_targets
21240do
21241  case $ac_config_target in
21242    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21243    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21244    "barvinok/set.h") CONFIG_COMMANDS="$CONFIG_COMMANDS barvinok/set.h" ;;
21245    "barvinok/NTL.h") CONFIG_COMMANDS="$CONFIG_COMMANDS barvinok/NTL.h" ;;
21246    "interface/isl.py.top") CONFIG_COMMANDS="$CONFIG_COMMANDS interface/isl.py.top" ;;
21247    "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
21248    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21249    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21250    "zsolve/Makefile") CONFIG_FILES="$CONFIG_FILES zsolve/Makefile" ;;
21251    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21252    "parker/Makefile") CONFIG_FILES="$CONFIG_FILES parker/Makefile" ;;
21253
21254  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21255  esac
21256done
21257
21258
21259# If the user did not use the arguments to specify the items to instantiate,
21260# then the envvar interface is used.  Set only those that are not.
21261# We use the long form for the default assignment because of an extremely
21262# bizarre bug on SunOS 4.1.3.
21263if $ac_need_defaults; then
21264  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21265  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21266  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21267fi
21268
21269# Have a temporary directory for convenience.  Make it in the build tree
21270# simply because there is no reason against having it here, and in addition,
21271# creating and moving files from /tmp can sometimes cause problems.
21272# Hook for its removal unless debugging.
21273# Note that there is a small window in which the directory will not be cleaned:
21274# after its creation but before its name has been assigned to `$tmp'.
21275$debug ||
21276{
21277  tmp= ac_tmp=
21278  trap 'exit_status=$?
21279  : "${ac_tmp:=$tmp}"
21280  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21281' 0
21282  trap 'as_fn_exit 1' 1 2 13 15
21283}
21284# Create a (secure) tmp directory for tmp files.
21285
21286{
21287  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21288  test -d "$tmp"
21289}  ||
21290{
21291  tmp=./conf$$-$RANDOM
21292  (umask 077 && mkdir "$tmp")
21293} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21294ac_tmp=$tmp
21295
21296# Set up the scripts for CONFIG_FILES section.
21297# No need to generate them if there are no CONFIG_FILES.
21298# This happens for instance with `./config.status config.h'.
21299if test -n "$CONFIG_FILES"; then
21300
21301
21302ac_cr=`echo X | tr X '\015'`
21303# On cygwin, bash can eat \r inside `` if the user requested igncr.
21304# But we know of no other shell where ac_cr would be empty at this
21305# point, so we can use a bashism as a fallback.
21306if test "x$ac_cr" = x; then
21307  eval ac_cr=\$\'\\r\'
21308fi
21309ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21310if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21311  ac_cs_awk_cr='\\r'
21312else
21313  ac_cs_awk_cr=$ac_cr
21314fi
21315
21316echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21317_ACEOF
21318
21319
21320{
21321  echo "cat >conf$$subs.awk <<_ACEOF" &&
21322  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21323  echo "_ACEOF"
21324} >conf$$subs.sh ||
21325  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21326ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21327ac_delim='%!_!# '
21328for ac_last_try in false false false false false :; do
21329  . ./conf$$subs.sh ||
21330    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21331
21332  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21333  if test $ac_delim_n = $ac_delim_num; then
21334    break
21335  elif $ac_last_try; then
21336    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21337  else
21338    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21339  fi
21340done
21341rm -f conf$$subs.sh
21342
21343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21344cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21345_ACEOF
21346sed -n '
21347h
21348s/^/S["/; s/!.*/"]=/
21349p
21350g
21351s/^[^!]*!//
21352:repl
21353t repl
21354s/'"$ac_delim"'$//
21355t delim
21356:nl
21357h
21358s/\(.\{148\}\)..*/\1/
21359t more1
21360s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21361p
21362n
21363b repl
21364:more1
21365s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21366p
21367g
21368s/.\{148\}//
21369t nl
21370:delim
21371h
21372s/\(.\{148\}\)..*/\1/
21373t more2
21374s/["\\]/\\&/g; s/^/"/; s/$/"/
21375p
21376b
21377:more2
21378s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21379p
21380g
21381s/.\{148\}//
21382t delim
21383' <conf$$subs.awk | sed '
21384/^[^""]/{
21385  N
21386  s/\n//
21387}
21388' >>$CONFIG_STATUS || ac_write_fail=1
21389rm -f conf$$subs.awk
21390cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21391_ACAWK
21392cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21393  for (key in S) S_is_set[key] = 1
21394  FS = ""
21395
21396}
21397{
21398  line = $ 0
21399  nfields = split(line, field, "@")
21400  substed = 0
21401  len = length(field[1])
21402  for (i = 2; i < nfields; i++) {
21403    key = field[i]
21404    keylen = length(key)
21405    if (S_is_set[key]) {
21406      value = S[key]
21407      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21408      len += length(value) + length(field[++i])
21409      substed = 1
21410    } else
21411      len += 1 + keylen
21412  }
21413
21414  print line
21415}
21416
21417_ACAWK
21418_ACEOF
21419cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21420if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21421  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21422else
21423  cat
21424fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21425  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21426_ACEOF
21427
21428# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21429# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21430# trailing colons and then remove the whole line if VPATH becomes empty
21431# (actually we leave an empty line to preserve line numbers).
21432if test "x$srcdir" = x.; then
21433  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
21434h
21435s///
21436s/^/:/
21437s/[	 ]*$/:/
21438s/:\$(srcdir):/:/g
21439s/:\${srcdir}:/:/g
21440s/:@srcdir@:/:/g
21441s/^:*//
21442s/:*$//
21443x
21444s/\(=[	 ]*\).*/\1/
21445G
21446s/\n//
21447s/^[^=]*=[	 ]*$//
21448}'
21449fi
21450
21451cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21452fi # test -n "$CONFIG_FILES"
21453
21454# Set up the scripts for CONFIG_HEADERS section.
21455# No need to generate them if there are no CONFIG_HEADERS.
21456# This happens for instance with `./config.status Makefile'.
21457if test -n "$CONFIG_HEADERS"; then
21458cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21459BEGIN {
21460_ACEOF
21461
21462# Transform confdefs.h into an awk script `defines.awk', embedded as
21463# here-document in config.status, that substitutes the proper values into
21464# config.h.in to produce config.h.
21465
21466# Create a delimiter string that does not exist in confdefs.h, to ease
21467# handling of long lines.
21468ac_delim='%!_!# '
21469for ac_last_try in false false :; do
21470  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21471  if test -z "$ac_tt"; then
21472    break
21473  elif $ac_last_try; then
21474    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21475  else
21476    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21477  fi
21478done
21479
21480# For the awk script, D is an array of macro values keyed by name,
21481# likewise P contains macro parameters if any.  Preserve backslash
21482# newline sequences.
21483
21484ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21485sed -n '
21486s/.\{148\}/&'"$ac_delim"'/g
21487t rset
21488:rset
21489s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
21490t def
21491d
21492:def
21493s/\\$//
21494t bsnl
21495s/["\\]/\\&/g
21496s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
21497D["\1"]=" \3"/p
21498s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
21499d
21500:bsnl
21501s/["\\]/\\&/g
21502s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
21503D["\1"]=" \3\\\\\\n"\\/p
21504t cont
21505s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21506t cont
21507d
21508:cont
21509n
21510s/.\{148\}/&'"$ac_delim"'/g
21511t clear
21512:clear
21513s/\\$//
21514t bsnlc
21515s/["\\]/\\&/g; s/^/"/; s/$/"/p
21516d
21517:bsnlc
21518s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21519b cont
21520' <confdefs.h | sed '
21521s/'"$ac_delim"'/"\\\
21522"/g' >>$CONFIG_STATUS || ac_write_fail=1
21523
21524cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21525  for (key in D) D_is_set[key] = 1
21526  FS = ""
21527}
21528/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21529  line = \$ 0
21530  split(line, arg, " ")
21531  if (arg[1] == "#") {
21532    defundef = arg[2]
21533    mac1 = arg[3]
21534  } else {
21535    defundef = substr(arg[1], 2)
21536    mac1 = arg[2]
21537  }
21538  split(mac1, mac2, "(") #)
21539  macro = mac2[1]
21540  prefix = substr(line, 1, index(line, defundef) - 1)
21541  if (D_is_set[macro]) {
21542    # Preserve the white space surrounding the "#".
21543    print prefix "define", macro P[macro] D[macro]
21544    next
21545  } else {
21546    # Replace #undef with comments.  This is necessary, for example,
21547    # in the case of _POSIX_SOURCE, which is predefined and required
21548    # on some systems where configure will not decide to define it.
21549    if (defundef == "undef") {
21550      print "/*", prefix defundef, macro, "*/"
21551      next
21552    }
21553  }
21554}
21555{ print }
21556_ACAWK
21557_ACEOF
21558cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21559  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21560fi # test -n "$CONFIG_HEADERS"
21561
21562
21563eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
21564shift
21565for ac_tag
21566do
21567  case $ac_tag in
21568  :[FHLC]) ac_mode=$ac_tag; continue;;
21569  esac
21570  case $ac_mode$ac_tag in
21571  :[FHL]*:*);;
21572  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21573  :[FH]-) ac_tag=-:-;;
21574  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21575  esac
21576  ac_save_IFS=$IFS
21577  IFS=:
21578  set x $ac_tag
21579  IFS=$ac_save_IFS
21580  shift
21581  ac_file=$1
21582  shift
21583
21584  case $ac_mode in
21585  :L) ac_source=$1;;
21586  :[FH])
21587    ac_file_inputs=
21588    for ac_f
21589    do
21590      case $ac_f in
21591      -) ac_f="$ac_tmp/stdin";;
21592      *) # Look for the file first in the build tree, then in the source tree
21593	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
21594	 # because $ac_f cannot contain `:'.
21595	 test -f "$ac_f" ||
21596	   case $ac_f in
21597	   [\\/$]*) false;;
21598	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21599	   esac ||
21600	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21601      esac
21602      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21603      as_fn_append ac_file_inputs " '$ac_f'"
21604    done
21605
21606    # Let's still pretend it is `configure' which instantiates (i.e., don't
21607    # use $as_me), people would be surprised to read:
21608    #    /* config.h.  Generated by config.status.  */
21609    configure_input='Generated from '`
21610	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21611	`' by configure.'
21612    if test x"$ac_file" != x-; then
21613      configure_input="$ac_file.  $configure_input"
21614      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21615$as_echo "$as_me: creating $ac_file" >&6;}
21616    fi
21617    # Neutralize special characters interpreted by sed in replacement strings.
21618    case $configure_input in #(
21619    *\&* | *\|* | *\\* )
21620       ac_sed_conf_input=`$as_echo "$configure_input" |
21621       sed 's/[\\\\&|]/\\\\&/g'`;; #(
21622    *) ac_sed_conf_input=$configure_input;;
21623    esac
21624
21625    case $ac_tag in
21626    *:-:* | *:-) cat >"$ac_tmp/stdin" \
21627      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21628    esac
21629    ;;
21630  esac
21631
21632  ac_dir=`$as_dirname -- "$ac_file" ||
21633$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21634	 X"$ac_file" : 'X\(//\)[^/]' \| \
21635	 X"$ac_file" : 'X\(//\)$' \| \
21636	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21637$as_echo X"$ac_file" |
21638    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21639	    s//\1/
21640	    q
21641	  }
21642	  /^X\(\/\/\)[^/].*/{
21643	    s//\1/
21644	    q
21645	  }
21646	  /^X\(\/\/\)$/{
21647	    s//\1/
21648	    q
21649	  }
21650	  /^X\(\/\).*/{
21651	    s//\1/
21652	    q
21653	  }
21654	  s/.*/./; q'`
21655  as_dir="$ac_dir"; as_fn_mkdir_p
21656  ac_builddir=.
21657
21658case "$ac_dir" in
21659.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21660*)
21661  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21662  # A ".." for each directory in $ac_dir_suffix.
21663  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21664  case $ac_top_builddir_sub in
21665  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21666  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21667  esac ;;
21668esac
21669ac_abs_top_builddir=$ac_pwd
21670ac_abs_builddir=$ac_pwd$ac_dir_suffix
21671# for backward compatibility:
21672ac_top_builddir=$ac_top_build_prefix
21673
21674case $srcdir in
21675  .)  # We are building in place.
21676    ac_srcdir=.
21677    ac_top_srcdir=$ac_top_builddir_sub
21678    ac_abs_top_srcdir=$ac_pwd ;;
21679  [\\/]* | ?:[\\/]* )  # Absolute name.
21680    ac_srcdir=$srcdir$ac_dir_suffix;
21681    ac_top_srcdir=$srcdir
21682    ac_abs_top_srcdir=$srcdir ;;
21683  *) # Relative name.
21684    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21685    ac_top_srcdir=$ac_top_build_prefix$srcdir
21686    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21687esac
21688ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21689
21690
21691  case $ac_mode in
21692  :F)
21693  #
21694  # CONFIG_FILE
21695  #
21696
21697  case $INSTALL in
21698  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21699  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21700  esac
21701  ac_MKDIR_P=$MKDIR_P
21702  case $MKDIR_P in
21703  [\\/$]* | ?:[\\/]* ) ;;
21704  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21705  esac
21706_ACEOF
21707
21708cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21709# If the template does not know about datarootdir, expand it.
21710# FIXME: This hack should be removed a few years after 2.60.
21711ac_datarootdir_hack=; ac_datarootdir_seen=
21712ac_sed_dataroot='
21713/datarootdir/ {
21714  p
21715  q
21716}
21717/@datadir@/p
21718/@docdir@/p
21719/@infodir@/p
21720/@localedir@/p
21721/@mandir@/p'
21722case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21723*datarootdir*) ac_datarootdir_seen=yes;;
21724*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21725  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21726$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21727_ACEOF
21728cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21729  ac_datarootdir_hack='
21730  s&@datadir@&$datadir&g
21731  s&@docdir@&$docdir&g
21732  s&@infodir@&$infodir&g
21733  s&@localedir@&$localedir&g
21734  s&@mandir@&$mandir&g
21735  s&\\\${datarootdir}&$datarootdir&g' ;;
21736esac
21737_ACEOF
21738
21739# Neutralize VPATH when `$srcdir' = `.'.
21740# Shell code in configure.ac might set extrasub.
21741# FIXME: do we really want to maintain this feature?
21742cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21743ac_sed_extra="$ac_vpsub
21744$extrasub
21745_ACEOF
21746cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21747:t
21748/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21749s|@configure_input@|$ac_sed_conf_input|;t t
21750s&@top_builddir@&$ac_top_builddir_sub&;t t
21751s&@top_build_prefix@&$ac_top_build_prefix&;t t
21752s&@srcdir@&$ac_srcdir&;t t
21753s&@abs_srcdir@&$ac_abs_srcdir&;t t
21754s&@top_srcdir@&$ac_top_srcdir&;t t
21755s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21756s&@builddir@&$ac_builddir&;t t
21757s&@abs_builddir@&$ac_abs_builddir&;t t
21758s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21759s&@INSTALL@&$ac_INSTALL&;t t
21760s&@MKDIR_P@&$ac_MKDIR_P&;t t
21761$ac_datarootdir_hack
21762"
21763eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21764  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21765
21766test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21767  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21768  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
21769      "$ac_tmp/out"`; test -z "$ac_out"; } &&
21770  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21771which seems to be undefined.  Please make sure it is defined" >&5
21772$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21773which seems to be undefined.  Please make sure it is defined" >&2;}
21774
21775  rm -f "$ac_tmp/stdin"
21776  case $ac_file in
21777  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21778  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21779  esac \
21780  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21781 ;;
21782  :H)
21783  #
21784  # CONFIG_HEADER
21785  #
21786  if test x"$ac_file" != x-; then
21787    {
21788      $as_echo "/* $configure_input  */" \
21789      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21790    } >"$ac_tmp/config.h" \
21791      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21792    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21793      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21794$as_echo "$as_me: $ac_file is unchanged" >&6;}
21795    else
21796      rm -f "$ac_file"
21797      mv "$ac_tmp/config.h" "$ac_file" \
21798	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
21799    fi
21800  else
21801    $as_echo "/* $configure_input  */" \
21802      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21803      || as_fn_error $? "could not create -" "$LINENO" 5
21804  fi
21805# Compute "$ac_file"'s index in $config_headers.
21806_am_arg="$ac_file"
21807_am_stamp_count=1
21808for _am_header in $config_headers :; do
21809  case $_am_header in
21810    $_am_arg | $_am_arg:* )
21811      break ;;
21812    * )
21813      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21814  esac
21815done
21816echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21817$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21818	 X"$_am_arg" : 'X\(//\)[^/]' \| \
21819	 X"$_am_arg" : 'X\(//\)$' \| \
21820	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21821$as_echo X"$_am_arg" |
21822    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21823	    s//\1/
21824	    q
21825	  }
21826	  /^X\(\/\/\)[^/].*/{
21827	    s//\1/
21828	    q
21829	  }
21830	  /^X\(\/\/\)$/{
21831	    s//\1/
21832	    q
21833	  }
21834	  /^X\(\/\).*/{
21835	    s//\1/
21836	    q
21837	  }
21838	  s/.*/./; q'`/stamp-h$_am_stamp_count
21839 ;;
21840
21841  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21842$as_echo "$as_me: executing $ac_file commands" >&6;}
21843 ;;
21844  esac
21845
21846
21847  case $ac_file$ac_mode in
21848    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21849  # Older Autoconf quotes --file arguments for eval, but not when files
21850  # are listed without --file.  Let's play safe and only enable the eval
21851  # if we detect the quoting.
21852  # TODO: see whether this extra hack can be removed once we start
21853  # requiring Autoconf 2.70 or later.
21854  case $CONFIG_FILES in #(
21855  *\'*) :
21856    eval set x "$CONFIG_FILES" ;; #(
21857  *) :
21858    set x $CONFIG_FILES ;; #(
21859  *) :
21860     ;;
21861esac
21862  shift
21863  # Used to flag and report bootstrapping failures.
21864  am_rc=0
21865  for am_mf
21866  do
21867    # Strip MF so we end up with the name of the file.
21868    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
21869    # Check whether this is an Automake generated Makefile which includes
21870    # dependency-tracking related rules and includes.
21871    # Grep'ing the whole file directly is not great: AIX grep has a line
21872    # limit of 2048, but all sed's we know have understand at least 4000.
21873    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
21874      || continue
21875    am_dirpart=`$as_dirname -- "$am_mf" ||
21876$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21877	 X"$am_mf" : 'X\(//\)[^/]' \| \
21878	 X"$am_mf" : 'X\(//\)$' \| \
21879	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21880$as_echo X"$am_mf" |
21881    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21882	    s//\1/
21883	    q
21884	  }
21885	  /^X\(\/\/\)[^/].*/{
21886	    s//\1/
21887	    q
21888	  }
21889	  /^X\(\/\/\)$/{
21890	    s//\1/
21891	    q
21892	  }
21893	  /^X\(\/\).*/{
21894	    s//\1/
21895	    q
21896	  }
21897	  s/.*/./; q'`
21898    am_filepart=`$as_basename -- "$am_mf" ||
21899$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
21900	 X"$am_mf" : 'X\(//\)$' \| \
21901	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21902$as_echo X/"$am_mf" |
21903    sed '/^.*\/\([^/][^/]*\)\/*$/{
21904	    s//\1/
21905	    q
21906	  }
21907	  /^X\/\(\/\/\)$/{
21908	    s//\1/
21909	    q
21910	  }
21911	  /^X\/\(\/\).*/{
21912	    s//\1/
21913	    q
21914	  }
21915	  s/.*/./; q'`
21916    { echo "$as_me:$LINENO: cd "$am_dirpart" \
21917      && sed -e '/# am--include-marker/d' "$am_filepart" \
21918        | $MAKE -f - am--depfiles" >&5
21919   (cd "$am_dirpart" \
21920      && sed -e '/# am--include-marker/d' "$am_filepart" \
21921        | $MAKE -f - am--depfiles) >&5 2>&5
21922   ac_status=$?
21923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924   (exit $ac_status); } || am_rc=$?
21925  done
21926  if test $am_rc -ne 0; then
21927    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21928$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21929as_fn_error $? "Something went wrong bootstrapping makefile fragments
21930    for automatic dependency tracking.  Try re-running configure with the
21931    '--disable-dependency-tracking' option to at least be able to build
21932    the package (albeit without support for automatic dependency tracking).
21933See \`config.log' for more details" "$LINENO" 5; }
21934  fi
21935  { am_dirpart=; unset am_dirpart;}
21936  { am_filepart=; unset am_filepart;}
21937  { am_mf=; unset am_mf;}
21938  { am_rc=; unset am_rc;}
21939  rm -f conftest-deps.mk
21940}
21941 ;;
21942    "libtool":C)
21943
21944    # See if we are running on zsh, and set the options that allow our
21945    # commands through without removal of \ escapes.
21946    if test -n "${ZSH_VERSION+set}"; then
21947      setopt NO_GLOB_SUBST
21948    fi
21949
21950    cfgfile=${ofile}T
21951    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21952    $RM "$cfgfile"
21953
21954    cat <<_LT_EOF >> "$cfgfile"
21955#! $SHELL
21956# Generated automatically by $as_me ($PACKAGE) $VERSION
21957# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21958# NOTE: Changes made to this file will be lost: look at ltmain.sh.
21959
21960# Provide generalized library-building support services.
21961# Written by Gordon Matzigkeit, 1996
21962
21963# Copyright (C) 2014 Free Software Foundation, Inc.
21964# This is free software; see the source for copying conditions.  There is NO
21965# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21966
21967# GNU Libtool is free software; you can redistribute it and/or modify
21968# it under the terms of the GNU General Public License as published by
21969# the Free Software Foundation; either version 2 of of the License, or
21970# (at your option) any later version.
21971#
21972# As a special exception to the GNU General Public License, if you
21973# distribute this file as part of a program or library that is built
21974# using GNU Libtool, you may include this file under the  same
21975# distribution terms that you use for the rest of that program.
21976#
21977# GNU Libtool is distributed in the hope that it will be useful, but
21978# WITHOUT ANY WARRANTY; without even the implied warranty of
21979# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21980# GNU General Public License for more details.
21981#
21982# You should have received a copy of the GNU General Public License
21983# along with this program.  If not, see <http://www.gnu.org/licenses/>.
21984
21985
21986# The names of the tagged configurations supported by this script.
21987available_tags='CXX '
21988
21989# Configured defaults for sys_lib_dlsearch_path munging.
21990: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
21991
21992# ### BEGIN LIBTOOL CONFIG
21993
21994# Assembler program.
21995AS=$lt_AS
21996
21997# DLL creation program.
21998DLLTOOL=$lt_DLLTOOL
21999
22000# Object dumper program.
22001OBJDUMP=$lt_OBJDUMP
22002
22003# Which release of libtool.m4 was used?
22004macro_version=$macro_version
22005macro_revision=$macro_revision
22006
22007# Whether or not to build shared libraries.
22008build_libtool_libs=$enable_shared
22009
22010# Whether or not to build static libraries.
22011build_old_libs=$enable_static
22012
22013# What type of objects to build.
22014pic_mode=$pic_mode
22015
22016# Whether or not to optimize for fast installation.
22017fast_install=$enable_fast_install
22018
22019# Shared archive member basename,for filename based shared library versioning on AIX.
22020shared_archive_member_spec=$shared_archive_member_spec
22021
22022# Shell to use when invoking shell scripts.
22023SHELL=$lt_SHELL
22024
22025# An echo program that protects backslashes.
22026ECHO=$lt_ECHO
22027
22028# The PATH separator for the build system.
22029PATH_SEPARATOR=$lt_PATH_SEPARATOR
22030
22031# The host system.
22032host_alias=$host_alias
22033host=$host
22034host_os=$host_os
22035
22036# The build system.
22037build_alias=$build_alias
22038build=$build
22039build_os=$build_os
22040
22041# A sed program that does not truncate output.
22042SED=$lt_SED
22043
22044# Sed that helps us avoid accidentally triggering echo(1) options like -n.
22045Xsed="\$SED -e 1s/^X//"
22046
22047# A grep program that handles long lines.
22048GREP=$lt_GREP
22049
22050# An ERE matcher.
22051EGREP=$lt_EGREP
22052
22053# A literal string matcher.
22054FGREP=$lt_FGREP
22055
22056# A BSD- or MS-compatible name lister.
22057NM=$lt_NM
22058
22059# Whether we need soft or hard links.
22060LN_S=$lt_LN_S
22061
22062# What is the maximum length of a command?
22063max_cmd_len=$max_cmd_len
22064
22065# Object file suffix (normally "o").
22066objext=$ac_objext
22067
22068# Executable file suffix (normally "").
22069exeext=$exeext
22070
22071# whether the shell understands "unset".
22072lt_unset=$lt_unset
22073
22074# turn spaces into newlines.
22075SP2NL=$lt_lt_SP2NL
22076
22077# turn newlines into spaces.
22078NL2SP=$lt_lt_NL2SP
22079
22080# convert \$build file names to \$host format.
22081to_host_file_cmd=$lt_cv_to_host_file_cmd
22082
22083# convert \$build files to toolchain format.
22084to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22085
22086# Method to check whether dependent libraries are shared objects.
22087deplibs_check_method=$lt_deplibs_check_method
22088
22089# Command to use when deplibs_check_method = "file_magic".
22090file_magic_cmd=$lt_file_magic_cmd
22091
22092# How to find potential files when deplibs_check_method = "file_magic".
22093file_magic_glob=$lt_file_magic_glob
22094
22095# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22096want_nocaseglob=$lt_want_nocaseglob
22097
22098# Command to associate shared and link libraries.
22099sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22100
22101# The archiver.
22102AR=$lt_AR
22103
22104# Flags to create an archive.
22105AR_FLAGS=$lt_AR_FLAGS
22106
22107# How to feed a file listing to the archiver.
22108archiver_list_spec=$lt_archiver_list_spec
22109
22110# A symbol stripping program.
22111STRIP=$lt_STRIP
22112
22113# Commands used to install an old-style archive.
22114RANLIB=$lt_RANLIB
22115old_postinstall_cmds=$lt_old_postinstall_cmds
22116old_postuninstall_cmds=$lt_old_postuninstall_cmds
22117
22118# Whether to use a lock for old archive extraction.
22119lock_old_archive_extraction=$lock_old_archive_extraction
22120
22121# A C compiler.
22122LTCC=$lt_CC
22123
22124# LTCC compiler flags.
22125LTCFLAGS=$lt_CFLAGS
22126
22127# Take the output of nm and produce a listing of raw symbols and C names.
22128global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22129
22130# Transform the output of nm in a proper C declaration.
22131global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22132
22133# Transform the output of nm into a list of symbols to manually relocate.
22134global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
22135
22136# Transform the output of nm in a C name address pair.
22137global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22138
22139# Transform the output of nm in a C name address pair when lib prefix is needed.
22140global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22141
22142# The name lister interface.
22143nm_interface=$lt_lt_cv_nm_interface
22144
22145# Specify filename containing input files for \$NM.
22146nm_file_list_spec=$lt_nm_file_list_spec
22147
22148# The root where to search for dependent libraries,and where our libraries should be installed.
22149lt_sysroot=$lt_sysroot
22150
22151# Command to truncate a binary pipe.
22152lt_truncate_bin=$lt_lt_cv_truncate_bin
22153
22154# The name of the directory that contains temporary libtool files.
22155objdir=$objdir
22156
22157# Used to examine libraries when file_magic_cmd begins with "file".
22158MAGIC_CMD=$MAGIC_CMD
22159
22160# Must we lock files when doing compilation?
22161need_locks=$lt_need_locks
22162
22163# Manifest tool.
22164MANIFEST_TOOL=$lt_MANIFEST_TOOL
22165
22166# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22167DSYMUTIL=$lt_DSYMUTIL
22168
22169# Tool to change global to local symbols on Mac OS X.
22170NMEDIT=$lt_NMEDIT
22171
22172# Tool to manipulate fat objects and archives on Mac OS X.
22173LIPO=$lt_LIPO
22174
22175# ldd/readelf like tool for Mach-O binaries on Mac OS X.
22176OTOOL=$lt_OTOOL
22177
22178# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22179OTOOL64=$lt_OTOOL64
22180
22181# Old archive suffix (normally "a").
22182libext=$libext
22183
22184# Shared library suffix (normally ".so").
22185shrext_cmds=$lt_shrext_cmds
22186
22187# The commands to extract the exported symbol list from a shared archive.
22188extract_expsyms_cmds=$lt_extract_expsyms_cmds
22189
22190# Variables whose values should be saved in libtool wrapper scripts and
22191# restored at link time.
22192variables_saved_for_relink=$lt_variables_saved_for_relink
22193
22194# Do we need the "lib" prefix for modules?
22195need_lib_prefix=$need_lib_prefix
22196
22197# Do we need a version for libraries?
22198need_version=$need_version
22199
22200# Library versioning type.
22201version_type=$version_type
22202
22203# Shared library runtime path variable.
22204runpath_var=$runpath_var
22205
22206# Shared library path variable.
22207shlibpath_var=$shlibpath_var
22208
22209# Is shlibpath searched before the hard-coded library search path?
22210shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22211
22212# Format of library name prefix.
22213libname_spec=$lt_libname_spec
22214
22215# List of archive names.  First name is the real one, the rest are links.
22216# The last name is the one that the linker finds with -lNAME
22217library_names_spec=$lt_library_names_spec
22218
22219# The coded name of the library, if different from the real name.
22220soname_spec=$lt_soname_spec
22221
22222# Permission mode override for installation of shared libraries.
22223install_override_mode=$lt_install_override_mode
22224
22225# Command to use after installation of a shared archive.
22226postinstall_cmds=$lt_postinstall_cmds
22227
22228# Command to use after uninstallation of a shared archive.
22229postuninstall_cmds=$lt_postuninstall_cmds
22230
22231# Commands used to finish a libtool library installation in a directory.
22232finish_cmds=$lt_finish_cmds
22233
22234# As "finish_cmds", except a single script fragment to be evaled but
22235# not shown.
22236finish_eval=$lt_finish_eval
22237
22238# Whether we should hardcode library paths into libraries.
22239hardcode_into_libs=$hardcode_into_libs
22240
22241# Compile-time system search path for libraries.
22242sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22243
22244# Detected run-time system search path for libraries.
22245sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
22246
22247# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
22248configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
22249
22250# Whether dlopen is supported.
22251dlopen_support=$enable_dlopen
22252
22253# Whether dlopen of programs is supported.
22254dlopen_self=$enable_dlopen_self
22255
22256# Whether dlopen of statically linked programs is supported.
22257dlopen_self_static=$enable_dlopen_self_static
22258
22259# Commands to strip libraries.
22260old_striplib=$lt_old_striplib
22261striplib=$lt_striplib
22262
22263
22264# The linker used to build libraries.
22265LD=$lt_LD
22266
22267# How to create reloadable object files.
22268reload_flag=$lt_reload_flag
22269reload_cmds=$lt_reload_cmds
22270
22271# Commands used to build an old-style archive.
22272old_archive_cmds=$lt_old_archive_cmds
22273
22274# A language specific compiler.
22275CC=$lt_compiler
22276
22277# Is the compiler the GNU compiler?
22278with_gcc=$GCC
22279
22280# Compiler flag to turn off builtin functions.
22281no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22282
22283# Additional compiler flags for building library objects.
22284pic_flag=$lt_lt_prog_compiler_pic
22285
22286# How to pass a linker flag through the compiler.
22287wl=$lt_lt_prog_compiler_wl
22288
22289# Compiler flag to prevent dynamic linking.
22290link_static_flag=$lt_lt_prog_compiler_static
22291
22292# Does compiler simultaneously support -c and -o options?
22293compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22294
22295# Whether or not to add -lc for building shared libraries.
22296build_libtool_need_lc=$archive_cmds_need_lc
22297
22298# Whether or not to disallow shared libs when runtime libs are static.
22299allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22300
22301# Compiler flag to allow reflexive dlopens.
22302export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22303
22304# Compiler flag to generate shared objects directly from archives.
22305whole_archive_flag_spec=$lt_whole_archive_flag_spec
22306
22307# Whether the compiler copes with passing no objects directly.
22308compiler_needs_object=$lt_compiler_needs_object
22309
22310# Create an old-style archive from a shared archive.
22311old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22312
22313# Create a temporary old-style archive to link instead of a shared archive.
22314old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22315
22316# Commands used to build a shared archive.
22317archive_cmds=$lt_archive_cmds
22318archive_expsym_cmds=$lt_archive_expsym_cmds
22319
22320# Commands used to build a loadable module if different from building
22321# a shared archive.
22322module_cmds=$lt_module_cmds
22323module_expsym_cmds=$lt_module_expsym_cmds
22324
22325# Whether we are building with GNU ld or not.
22326with_gnu_ld=$lt_with_gnu_ld
22327
22328# Flag that allows shared libraries with undefined symbols to be built.
22329allow_undefined_flag=$lt_allow_undefined_flag
22330
22331# Flag that enforces no undefined symbols.
22332no_undefined_flag=$lt_no_undefined_flag
22333
22334# Flag to hardcode \$libdir into a binary during linking.
22335# This must work even if \$libdir does not exist
22336hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22337
22338# Whether we need a single "-rpath" flag with a separated argument.
22339hardcode_libdir_separator=$lt_hardcode_libdir_separator
22340
22341# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22342# DIR into the resulting binary.
22343hardcode_direct=$hardcode_direct
22344
22345# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22346# DIR into the resulting binary and the resulting library dependency is
22347# "absolute",i.e impossible to change by setting \$shlibpath_var if the
22348# library is relocated.
22349hardcode_direct_absolute=$hardcode_direct_absolute
22350
22351# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22352# into the resulting binary.
22353hardcode_minus_L=$hardcode_minus_L
22354
22355# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22356# into the resulting binary.
22357hardcode_shlibpath_var=$hardcode_shlibpath_var
22358
22359# Set to "yes" if building a shared library automatically hardcodes DIR
22360# into the library and all subsequent libraries and executables linked
22361# against it.
22362hardcode_automatic=$hardcode_automatic
22363
22364# Set to yes if linker adds runtime paths of dependent libraries
22365# to runtime path list.
22366inherit_rpath=$inherit_rpath
22367
22368# Whether libtool must link a program against all its dependency libraries.
22369link_all_deplibs=$link_all_deplibs
22370
22371# Set to "yes" if exported symbols are required.
22372always_export_symbols=$always_export_symbols
22373
22374# The commands to list exported symbols.
22375export_symbols_cmds=$lt_export_symbols_cmds
22376
22377# Symbols that should not be listed in the preloaded symbols.
22378exclude_expsyms=$lt_exclude_expsyms
22379
22380# Symbols that must always be exported.
22381include_expsyms=$lt_include_expsyms
22382
22383# Commands necessary for linking programs (against libraries) with templates.
22384prelink_cmds=$lt_prelink_cmds
22385
22386# Commands necessary for finishing linking programs.
22387postlink_cmds=$lt_postlink_cmds
22388
22389# Specify filename containing input files.
22390file_list_spec=$lt_file_list_spec
22391
22392# How to hardcode a shared library path into an executable.
22393hardcode_action=$hardcode_action
22394
22395# The directories searched by this compiler when creating a shared library.
22396compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22397
22398# Dependencies to place before and after the objects being linked to
22399# create a shared library.
22400predep_objects=$lt_predep_objects
22401postdep_objects=$lt_postdep_objects
22402predeps=$lt_predeps
22403postdeps=$lt_postdeps
22404
22405# The library search path used internally by the compiler when linking
22406# a shared library.
22407compiler_lib_search_path=$lt_compiler_lib_search_path
22408
22409# ### END LIBTOOL CONFIG
22410
22411_LT_EOF
22412
22413    cat <<'_LT_EOF' >> "$cfgfile"
22414
22415# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
22416
22417# func_munge_path_list VARIABLE PATH
22418# -----------------------------------
22419# VARIABLE is name of variable containing _space_ separated list of
22420# directories to be munged by the contents of PATH, which is string
22421# having a format:
22422# "DIR[:DIR]:"
22423#       string "DIR[ DIR]" will be prepended to VARIABLE
22424# ":DIR[:DIR]"
22425#       string "DIR[ DIR]" will be appended to VARIABLE
22426# "DIRP[:DIRP]::[DIRA:]DIRA"
22427#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
22428#       "DIRA[ DIRA]" will be appended to VARIABLE
22429# "DIR[:DIR]"
22430#       VARIABLE will be replaced by "DIR[ DIR]"
22431func_munge_path_list ()
22432{
22433    case x$2 in
22434    x)
22435        ;;
22436    *:)
22437        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
22438        ;;
22439    x:*)
22440        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
22441        ;;
22442    *::*)
22443        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
22444        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
22445        ;;
22446    *)
22447        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
22448        ;;
22449    esac
22450}
22451
22452
22453# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
22454func_cc_basename ()
22455{
22456    for cc_temp in $*""; do
22457      case $cc_temp in
22458        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22459        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22460        \-*) ;;
22461        *) break;;
22462      esac
22463    done
22464    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22465}
22466
22467
22468# ### END FUNCTIONS SHARED WITH CONFIGURE
22469
22470_LT_EOF
22471
22472  case $host_os in
22473  aix3*)
22474    cat <<\_LT_EOF >> "$cfgfile"
22475# AIX sometimes has problems with the GCC collect2 program.  For some
22476# reason, if we set the COLLECT_NAMES environment variable, the problems
22477# vanish in a puff of smoke.
22478if test set != "${COLLECT_NAMES+set}"; then
22479  COLLECT_NAMES=
22480  export COLLECT_NAMES
22481fi
22482_LT_EOF
22483    ;;
22484  esac
22485
22486
22487ltmain=$ac_aux_dir/ltmain.sh
22488
22489
22490  # We use sed instead of cat because bash on DJGPP gets confused if
22491  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
22492  # text mode, it properly converts lines to CR/LF.  This bash problem
22493  # is reportedly fixed, but why not run on old versions too?
22494  sed '$q' "$ltmain" >> "$cfgfile" \
22495     || (rm -f "$cfgfile"; exit 1)
22496
22497   mv -f "$cfgfile" "$ofile" ||
22498    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22499  chmod +x "$ofile"
22500
22501
22502    cat <<_LT_EOF >> "$ofile"
22503
22504# ### BEGIN LIBTOOL TAG CONFIG: CXX
22505
22506# The linker used to build libraries.
22507LD=$lt_LD_CXX
22508
22509# How to create reloadable object files.
22510reload_flag=$lt_reload_flag_CXX
22511reload_cmds=$lt_reload_cmds_CXX
22512
22513# Commands used to build an old-style archive.
22514old_archive_cmds=$lt_old_archive_cmds_CXX
22515
22516# A language specific compiler.
22517CC=$lt_compiler_CXX
22518
22519# Is the compiler the GNU compiler?
22520with_gcc=$GCC_CXX
22521
22522# Compiler flag to turn off builtin functions.
22523no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22524
22525# Additional compiler flags for building library objects.
22526pic_flag=$lt_lt_prog_compiler_pic_CXX
22527
22528# How to pass a linker flag through the compiler.
22529wl=$lt_lt_prog_compiler_wl_CXX
22530
22531# Compiler flag to prevent dynamic linking.
22532link_static_flag=$lt_lt_prog_compiler_static_CXX
22533
22534# Does compiler simultaneously support -c and -o options?
22535compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22536
22537# Whether or not to add -lc for building shared libraries.
22538build_libtool_need_lc=$archive_cmds_need_lc_CXX
22539
22540# Whether or not to disallow shared libs when runtime libs are static.
22541allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22542
22543# Compiler flag to allow reflexive dlopens.
22544export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22545
22546# Compiler flag to generate shared objects directly from archives.
22547whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22548
22549# Whether the compiler copes with passing no objects directly.
22550compiler_needs_object=$lt_compiler_needs_object_CXX
22551
22552# Create an old-style archive from a shared archive.
22553old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22554
22555# Create a temporary old-style archive to link instead of a shared archive.
22556old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22557
22558# Commands used to build a shared archive.
22559archive_cmds=$lt_archive_cmds_CXX
22560archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22561
22562# Commands used to build a loadable module if different from building
22563# a shared archive.
22564module_cmds=$lt_module_cmds_CXX
22565module_expsym_cmds=$lt_module_expsym_cmds_CXX
22566
22567# Whether we are building with GNU ld or not.
22568with_gnu_ld=$lt_with_gnu_ld_CXX
22569
22570# Flag that allows shared libraries with undefined symbols to be built.
22571allow_undefined_flag=$lt_allow_undefined_flag_CXX
22572
22573# Flag that enforces no undefined symbols.
22574no_undefined_flag=$lt_no_undefined_flag_CXX
22575
22576# Flag to hardcode \$libdir into a binary during linking.
22577# This must work even if \$libdir does not exist
22578hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22579
22580# Whether we need a single "-rpath" flag with a separated argument.
22581hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22582
22583# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22584# DIR into the resulting binary.
22585hardcode_direct=$hardcode_direct_CXX
22586
22587# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22588# DIR into the resulting binary and the resulting library dependency is
22589# "absolute",i.e impossible to change by setting \$shlibpath_var if the
22590# library is relocated.
22591hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22592
22593# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22594# into the resulting binary.
22595hardcode_minus_L=$hardcode_minus_L_CXX
22596
22597# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22598# into the resulting binary.
22599hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22600
22601# Set to "yes" if building a shared library automatically hardcodes DIR
22602# into the library and all subsequent libraries and executables linked
22603# against it.
22604hardcode_automatic=$hardcode_automatic_CXX
22605
22606# Set to yes if linker adds runtime paths of dependent libraries
22607# to runtime path list.
22608inherit_rpath=$inherit_rpath_CXX
22609
22610# Whether libtool must link a program against all its dependency libraries.
22611link_all_deplibs=$link_all_deplibs_CXX
22612
22613# Set to "yes" if exported symbols are required.
22614always_export_symbols=$always_export_symbols_CXX
22615
22616# The commands to list exported symbols.
22617export_symbols_cmds=$lt_export_symbols_cmds_CXX
22618
22619# Symbols that should not be listed in the preloaded symbols.
22620exclude_expsyms=$lt_exclude_expsyms_CXX
22621
22622# Symbols that must always be exported.
22623include_expsyms=$lt_include_expsyms_CXX
22624
22625# Commands necessary for linking programs (against libraries) with templates.
22626prelink_cmds=$lt_prelink_cmds_CXX
22627
22628# Commands necessary for finishing linking programs.
22629postlink_cmds=$lt_postlink_cmds_CXX
22630
22631# Specify filename containing input files.
22632file_list_spec=$lt_file_list_spec_CXX
22633
22634# How to hardcode a shared library path into an executable.
22635hardcode_action=$hardcode_action_CXX
22636
22637# The directories searched by this compiler when creating a shared library.
22638compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22639
22640# Dependencies to place before and after the objects being linked to
22641# create a shared library.
22642predep_objects=$lt_predep_objects_CXX
22643postdep_objects=$lt_postdep_objects_CXX
22644predeps=$lt_predeps_CXX
22645postdeps=$lt_postdeps_CXX
22646
22647# The library search path used internally by the compiler when linking
22648# a shared library.
22649compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22650
22651# ### END LIBTOOL TAG CONFIG: CXX
22652_LT_EOF
22653
22654 ;;
22655    "barvinok/set.h":C) cp $srcdir/barvinok/set.h.$suffix barvinok/set.h ;;
22656    "barvinok/NTL.h":C) cp $srcdir/barvinok/NTL.h.$suffix barvinok/NTL.h ;;
22657    "interface/isl.py.top":C) cp $srcdir/interface/isl.py.$pet_suffix interface/isl.py.top ;;
22658    "$ax_create_pkgconfig_generate":C)
22659pkgconfig_generate="$ax_create_pkgconfig_generate"
22660if test ! -f "$pkgconfig_generate.in"
22661then generate="true"
22662elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
22663then generate="true"
22664else generate="false";
22665fi
22666if $generate ; then
22667{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
22668$as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
22669cat > $pkgconfig_generate.in <<AXEOF
22670# generated by configure / remove this line to disable regeneration
22671prefix=@prefix@
22672exec_prefix=@exec_prefix@
22673bindir=@bindir@
22674libdir=@libdir@
22675datarootdir=@datarootdir@
22676datadir=@datadir@
22677sysconfdir=@sysconfdir@
22678includedir=@includedir@
22679package=@PACKAGE@
22680suffix=@suffix@
22681
22682Name: @PACKAGE_NAME@
22683Description: @PACKAGE_DESCRIPTION@
22684Version: @PACKAGE_VERSION@
22685Requires: @PACKAGE_REQUIRES@
22686Libs: -L\${libdir} @LDFLAGS@ @LIBS@
22687Cflags: -I\${includedir} @CPPFLAGS@
22688AXEOF
22689fi # DONE generate $pkgconfig_generate.in
22690{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
22691$as_echo "$as_me: creating $pkgconfig_generate" >&6;}
22692cat >conftest.sed <<AXEOF
22693s|@prefix@|${pkgconfig_prefix}|
22694s|@exec_prefix@|${pkgconfig_execprefix}|
22695s|@bindir@|${pkgconfig_bindir}|
22696s|@libdir@|${pkgconfig_libdir}|
22697s|@datarootdir@|${pkgconfig_datarootdir}|
22698s|@datadir@|${pkgconfig_datadir}|
22699s|@sysconfdir@|${pkgconfig_sysconfdir}|
22700s|@includedir@|${pkgconfig_includedir}|
22701s|@suffix@|${pkgconfig_suffix}|
22702s|@PACKAGE@|${pkgconfig_package}|
22703s|@PACKAGE_NAME@|${pkgconfig_libname}|
22704s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
22705s|@PACKAGE_VERSION@|${pkgconfig_version}|
22706s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
22707s|@LIBS@|${pkgconfig_libs}|
22708s|@LDFLAGS@|${pkgconfig_ldflags}|
22709s|@CPPFLAGS@|${pkgconfig_cppflags}|
22710AXEOF
22711sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_generate
22712if test ! -s $pkgconfig_generate ; then
22713    as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
22714fi ; rm conftest.sed # DONE generate $pkgconfig_generate
22715pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
22716{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
22717$as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
22718cat >conftest.sed <<AXEOF
22719s|@prefix@|${pkgconfig_prefix}|
22720s|@exec_prefix@|${pkgconfig_execprefix}|
22721s|@bindir@|${pkgconfig_bindir}|
22722s|@libdir@|${pkgconfig_src_libdir}|
22723s|@datarootdir@|${pkgconfig_datarootdir}|
22724s|@datadir@|${pkgconfig_datadir}|
22725s|@sysconfdir@|${pkgconfig_sysconfdir}|
22726s|@includedir@|${pkgconfig_src_headers}|
22727s|@suffix@|${pkgconfig_suffix}|
22728s|@PACKAGE@|${pkgconfig_package}|
22729s|@PACKAGE_NAME@|${pkgconfig_libname}|
22730s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
22731s|@PACKAGE_VERSION@|${pkgconfig_version}|
22732s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
22733s|@LIBS@|${pkgconfig_libs}|
22734s|@LDFLAGS@|${pkgconfig_ldflags}|
22735s|@CPPFLAGS@|${pkgconfig_cppflags}|
22736AXEOF
22737sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
22738if test ! -s $pkgconfig_uninstalled ; then
22739    as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
22740fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
22741           pkgconfig_requires_add=`echo ${pkgconfig_requires}`
22742if test ".$pkgconfig_requires_add" != "." ; then
22743           pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
22744    else   pkgconfig_requires_add=":" ; fi
22745pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
22746{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
22747$as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
22748cat >conftest.sed <<AXEOF
22749s|@prefix@|\"${pkgconfig_prefix}\"|
22750s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
22751s|@bindir@|\"${pkgconfig_bindir}\"|
22752s|@libdir@|\"${pkgconfig_src_libdir}\"|
22753s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
22754s|@datadir@|\"${pkgconfig_datadir}\"|
22755s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
22756s|@includedir@|\"${pkgconfig_src_headers}\"|
22757s|@suffix@|\"${pkgconfig_suffix}\"|
22758s|@PACKAGE@|\"${pkgconfig_package}\"|
22759s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
22760s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
22761s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
22762s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
22763s|@LIBS@|\"${pkgconfig_libs}\"|
22764s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
22765s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
22766s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
22767s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
22768s>Version: *>\\;\\; --modversion|--version) echo >
22769s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
22770s>Libs: *>\\;\\; --libs) echo >
22771s>Cflags: *>\\;\\; --cflags) echo >
22772/--libs)/a\\
22773       $pkgconfig_requires_add
22774/--cflags)/a\\
22775       $pkgconfig_requires_add\\
22776;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
22777;; --uninstalled) exit 0 \\
22778;; *) ;; esac done
22779AXEOF
22780sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_uninstalled
22781if test ! -s $pkgconfig_uninstalled ; then
22782    as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
22783fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
22784 ;;
22785
22786  esac
22787done # for ac_tag
22788
22789
22790as_fn_exit 0
22791_ACEOF
22792ac_clean_files=$ac_clean_files_save
22793
22794test $ac_write_fail = 0 ||
22795  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22796
22797
22798			ac_configure_args="$ac_configure_args $bv_configure_args"
22799
22800
22801# configure is writing to config.log, and then calls config.status.
22802# config.status does its own redirection, appending to config.log.
22803# Unfortunately, on DOS this fails, as config.log is still kept open
22804# by configure, so config.status won't be able to write to it; its
22805# output is simply discarded.  So we exec the FD to /dev/null,
22806# effectively closing config.log, so it can be properly (re)opened and
22807# appended to by config.status.  When coming back to configure, we
22808# need to make the FD available again.
22809if test "$no_create" != yes; then
22810  ac_cs_success=:
22811  ac_config_status_args=
22812  test "$silent" = yes &&
22813    ac_config_status_args="$ac_config_status_args --quiet"
22814  exec 5>/dev/null
22815  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22816  exec 5>>config.log
22817  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22818  # would make configure fail if this is the last instruction.
22819  $ac_cs_success || as_fn_exit 1
22820fi
22821
22822#
22823# CONFIG_SUBDIRS section.
22824#
22825if test "$no_recursion" != yes; then
22826
22827  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22828  # so they do not pile up.
22829  ac_sub_configure_args=
22830  ac_prev=
22831  eval "set x $ac_configure_args"
22832  shift
22833  for ac_arg
22834  do
22835    if test -n "$ac_prev"; then
22836      ac_prev=
22837      continue
22838    fi
22839    case $ac_arg in
22840    -cache-file | --cache-file | --cache-fil | --cache-fi \
22841    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22842      ac_prev=cache_file ;;
22843    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22844    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22845    | --c=*)
22846      ;;
22847    --config-cache | -C)
22848      ;;
22849    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22850      ac_prev=srcdir ;;
22851    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22852      ;;
22853    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22854      ac_prev=prefix ;;
22855    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22856      ;;
22857    --disable-option-checking)
22858      ;;
22859    *)
22860      case $ac_arg in
22861      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22862      esac
22863      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
22864    esac
22865  done
22866
22867  # Always prepend --prefix to ensure using the same prefix
22868  # in subdir configurations.
22869  ac_arg="--prefix=$prefix"
22870  case $ac_arg in
22871  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22872  esac
22873  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
22874
22875  # Pass --silent
22876  if test "$silent" = yes; then
22877    ac_sub_configure_args="--silent $ac_sub_configure_args"
22878  fi
22879
22880  # Always prepend --disable-option-checking to silence warnings, since
22881  # different subdirs can have different --enable and --with options.
22882  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
22883
22884  ac_popdir=`pwd`
22885  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
22886
22887    # Do not complain, so a configure script can configure whichever
22888    # parts of a large source tree are present.
22889    test -d "$srcdir/$ac_dir" || continue
22890
22891    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22892    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22893    $as_echo "$ac_msg" >&6
22894    as_dir="$ac_dir"; as_fn_mkdir_p
22895    ac_builddir=.
22896
22897case "$ac_dir" in
22898.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22899*)
22900  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22901  # A ".." for each directory in $ac_dir_suffix.
22902  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22903  case $ac_top_builddir_sub in
22904  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22905  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22906  esac ;;
22907esac
22908ac_abs_top_builddir=$ac_pwd
22909ac_abs_builddir=$ac_pwd$ac_dir_suffix
22910# for backward compatibility:
22911ac_top_builddir=$ac_top_build_prefix
22912
22913case $srcdir in
22914  .)  # We are building in place.
22915    ac_srcdir=.
22916    ac_top_srcdir=$ac_top_builddir_sub
22917    ac_abs_top_srcdir=$ac_pwd ;;
22918  [\\/]* | ?:[\\/]* )  # Absolute name.
22919    ac_srcdir=$srcdir$ac_dir_suffix;
22920    ac_top_srcdir=$srcdir
22921    ac_abs_top_srcdir=$srcdir ;;
22922  *) # Relative name.
22923    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22924    ac_top_srcdir=$ac_top_build_prefix$srcdir
22925    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22926esac
22927ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22928
22929
22930    cd "$ac_dir"
22931
22932    # Check for guested configure; otherwise get Cygnus style configure.
22933    if test -f "$ac_srcdir/configure.gnu"; then
22934      ac_sub_configure=$ac_srcdir/configure.gnu
22935    elif test -f "$ac_srcdir/configure"; then
22936      ac_sub_configure=$ac_srcdir/configure
22937    elif test -f "$ac_srcdir/configure.in"; then
22938      # This should be Cygnus configure.
22939      ac_sub_configure=$ac_aux_dir/configure
22940    else
22941      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22942$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22943      ac_sub_configure=
22944    fi
22945
22946    # The recursion is here.
22947    if test -n "$ac_sub_configure"; then
22948      # Make the cache file name correct relative to the subdirectory.
22949      case $cache_file in
22950      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
22951      *) # Relative name.
22952	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
22953      esac
22954
22955      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22956$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22957      # The eval makes quoting arguments work.
22958      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22959	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22960	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22961    fi
22962
22963    cd "$ac_popdir"
22964  done
22965fi
22966if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22967  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22968$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22969fi
22970
22971