Advertisement
Guest User

configure

a guest
Jul 16th, 2015
661
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 471.65 KB | None | 0 0
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for motoko 0.1.0.
  4. #
  5. #
  6. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  7. #
  8. #
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14.  
  15. # Be more Bourne compatible
  16. DUALCASE=1; export DUALCASE # for MKS sh
  17. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  18.   emulate sh
  19.   NULLCMD=:
  20.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  21.   # is contrary to our usage.  Disable this feature.
  22.   alias -g '${1+"$@"}'='"$@"'
  23.   setopt NO_GLOB_SUBST
  24. else
  25.   case `(set -o) 2>/dev/null` in #(
  26.   *posix*) :
  27.     set -o posix ;; #(
  28.   *) :
  29.      ;;
  30. esac
  31. fi
  32.  
  33.  
  34. as_nl='
  35. '
  36. export as_nl
  37. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  38. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  40. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  41. # Prefer a ksh shell builtin over an external printf program on Solaris,
  42. # but without wasting forks for bash or zsh.
  43. if test -z "$BASH_VERSION$ZSH_VERSION" \
  44.    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  45.  as_echo='print -r --'
  46.  as_echo_n='print -rn --'
  47. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  48.  as_echo='printf %s\n'
  49.  as_echo_n='printf %s'
  50. else
  51.  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  52.    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  53.    as_echo_n='/usr/ucb/echo -n'
  54.  else
  55.    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  56.    as_echo_n_body='eval
  57.       arg=$1;
  58.       case $arg in #(
  59.       *"$as_nl"*)
  60.     expr "X$arg" : "X\\(.*\\)$as_nl";
  61.     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  62.       esac;
  63.       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  64.     '
  65.    export as_echo_n_body
  66.    as_echo_n='sh -c $as_echo_n_body as_echo'
  67.  fi
  68.  export as_echo_body
  69.  as_echo='sh -c $as_echo_body as_echo'
  70. fi
  71.  
  72. # The user is always right.
  73. if test "${PATH_SEPARATOR+set}" != set; then
  74.  PATH_SEPARATOR=:
  75.  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  76.    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  77.      PATH_SEPARATOR=';'
  78.  }
  79. fi
  80.  
  81.  
  82. # IFS
  83. # We need space, tab and new line, in precisely that order.  Quoting is
  84. # there to prevent editors from complaining about space-tab.
  85. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  86. # splitting by setting IFS to empty value.)
  87. IFS=" ""    $as_nl"
  88.  
  89. # Find who we are.  Look in the path if we contain no directory separator.
  90. as_myself=
  91. case $0 in #((
  92.  *[\\/]* ) as_myself=$0 ;;
  93.  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  94. for as_dir in $PATH
  95. do
  96.  IFS=$as_save_IFS
  97.  test -z "$as_dir" && as_dir=.
  98.    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  99.  done
  100. IFS=$as_save_IFS
  101.  
  102.     ;;
  103. esac
  104. # We did not find ourselves, most probably we were run as `sh COMMAND'
  105. # in which case we are not to be found in the path.
  106. if test "x$as_myself" = x; then
  107.   as_myself=$0
  108. fi
  109. if test ! -f "$as_myself"; then
  110.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  111.   exit 1
  112. fi
  113.  
  114. # Unset variables that we do not need and which cause bugs (e.g. in
  115. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  116. # suppresses any "Segmentation fault" message there.  '((' could
  117. # trigger a bug in pdksh 5.2.14.
  118. for as_var in BASH_ENV ENV MAIL MAILPATH
  119. do eval test x\${$as_var+set} = xset \
  120.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  121. done
  122. PS1='$ '
  123. PS2='> '
  124. PS4='+ '
  125.  
  126. # NLS nuisances.
  127. LC_ALL=C
  128. export LC_ALL
  129. LANGUAGE=C
  130. export LANGUAGE
  131.  
  132. # CDPATH.
  133. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  134.  
  135. # Use a proper internal environment variable to ensure we don't fall
  136.   # into an infinite loop, continuously re-executing ourselves.
  137.   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  138.     _as_can_reexec=no; export _as_can_reexec;
  139.     # We cannot yet assume a decent shell, so we have to provide a
  140. # neutralization value for shells without unset; and this also
  141. # works around shells that cannot unset nonexistent variables.
  142. # Preserve -v and -x to the replacement shell.
  143. BASH_ENV=/dev/null
  144. ENV=/dev/null
  145. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  146. case $- in # ((((
  147.   *v*x* | *x*v* ) as_opts=-vx ;;
  148.   *v* ) as_opts=-v ;;
  149.   *x* ) as_opts=-x ;;
  150.   * ) as_opts= ;;
  151. esac
  152. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  153. # Admittedly, this is quite paranoid, since all the known shells bail
  154. # out after a failed `exec'.
  155. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  156. as_fn_exit 255
  157.   fi
  158.   # We don't want this to propagate to other subprocesses.
  159.           { _as_can_reexec=; unset _as_can_reexec;}
  160. if test "x$CONFIG_SHELL" = x; then
  161.   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  162.  emulate sh
  163.  NULLCMD=:
  164.  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  165.  # is contrary to our usage.  Disable this feature.
  166.  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  167.  setopt NO_GLOB_SUBST
  168. else
  169.  case \`(set -o) 2>/dev/null\` in #(
  170.  *posix*) :
  171.    set -o posix ;; #(
  172.  *) :
  173.     ;;
  174. esac
  175. fi
  176. "
  177.   as_required="as_fn_return () { (exit \$1); }
  178. as_fn_success () { as_fn_return 0; }
  179. as_fn_failure () { as_fn_return 1; }
  180. as_fn_ret_success () { return 0; }
  181. as_fn_ret_failure () { return 1; }
  182.  
  183. exitcode=0
  184. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  185. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  186. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  187. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  188. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  189.  
  190. else
  191.  exitcode=1; echo positional parameters were not saved.
  192. fi
  193. test x\$exitcode = x0 || exit 1
  194. test -x / || exit 1"
  195.   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  196.  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  197.  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  198.  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  199. test \$(( 1 + 1 )) = 2 || exit 1
  200.  
  201.  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  202.    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  203.    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  204.    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  205.    PATH=/empty FPATH=/empty; export PATH FPATH
  206.    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  207.      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  208.   if (eval "$as_required") 2>/dev/null; then :
  209.   as_have_required=yes
  210. else
  211.   as_have_required=no
  212. fi
  213.   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  214.  
  215. else
  216.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  217. as_found=false
  218. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  219. do
  220.   IFS=$as_save_IFS
  221.   test -z "$as_dir" && as_dir=.
  222.   as_found=:
  223.   case $as_dir in #(
  224.      /*)
  225.        for as_base in sh bash ksh sh5; do
  226.          # Try only shells that exist, to save several forks.
  227.          as_shell=$as_dir/$as_base
  228.          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  229.             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  230.   CONFIG_SHELL=$as_shell as_have_required=yes
  231.            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  232.   break 2
  233. fi
  234. fi
  235.        done;;
  236.        esac
  237.   as_found=false
  238. done
  239. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  240.           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  241.   CONFIG_SHELL=$SHELL as_have_required=yes
  242. fi; }
  243. IFS=$as_save_IFS
  244.  
  245.  
  246.       if test "x$CONFIG_SHELL" != x; then :
  247.   export CONFIG_SHELL
  248.              # We cannot yet assume a decent shell, so we have to provide a
  249. # neutralization value for shells without unset; and this also
  250. # works around shells that cannot unset nonexistent variables.
  251. # Preserve -v and -x to the replacement shell.
  252. BASH_ENV=/dev/null
  253. ENV=/dev/null
  254. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  255. case $- in # ((((
  256.   *v*x* | *x*v* ) as_opts=-vx ;;
  257.   *v* ) as_opts=-v ;;
  258.   *x* ) as_opts=-x ;;
  259.   * ) as_opts= ;;
  260. esac
  261. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  262. # Admittedly, this is quite paranoid, since all the known shells bail
  263. # out after a failed `exec'.
  264. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  265. exit 255
  266. fi
  267.  
  268.     if test x$as_have_required = xno; then :
  269.   $as_echo "$0: This script requires a shell more modern than all"
  270.   $as_echo "$0: the shells that I found on your system."
  271.   if test x${ZSH_VERSION+set} = xset ; then
  272.     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  273.     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  274.   else
  275.     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  276. $0: including any error possibly output before this
  277. $0: message. Then install a modern shell, or manually run
  278. $0: the script under such a shell if you do have one."
  279.   fi
  280.   exit 1
  281. fi
  282. fi
  283. fi
  284. SHELL=${CONFIG_SHELL-/bin/sh}
  285. export SHELL
  286. # Unset more variables known to interfere with behavior of common tools.
  287. CLICOLOR_FORCE= GREP_OPTIONS=
  288. unset CLICOLOR_FORCE GREP_OPTIONS
  289.  
  290. ## --------------------- ##
  291. ## M4sh Shell Functions. ##
  292. ## --------------------- ##
  293. # as_fn_unset VAR
  294. # ---------------
  295. # Portably unset VAR.
  296. as_fn_unset ()
  297. {
  298.   { eval $1=; unset $1;}
  299. }
  300. as_unset=as_fn_unset
  301.  
  302. # as_fn_set_status STATUS
  303. # -----------------------
  304. # Set $? to STATUS, without forking.
  305. as_fn_set_status ()
  306. {
  307.   return $1
  308. } # as_fn_set_status
  309.  
  310. # as_fn_exit STATUS
  311. # -----------------
  312. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  313. as_fn_exit ()
  314. {
  315.   set +e
  316.   as_fn_set_status $1
  317.   exit $1
  318. } # as_fn_exit
  319.  
  320. # as_fn_mkdir_p
  321. # -------------
  322. # Create "$as_dir" as a directory, including parents if necessary.
  323. as_fn_mkdir_p ()
  324. {
  325.  
  326.   case $as_dir in #(
  327.   -*) as_dir=./$as_dir;;
  328.   esac
  329.   test -d "$as_dir" || eval $as_mkdir_p || {
  330.     as_dirs=
  331.     while :; do
  332.       case $as_dir in #(
  333.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  334.       *) as_qdir=$as_dir;;
  335.       esac
  336.       as_dirs="'$as_qdir' $as_dirs"
  337.       as_dir=`$as_dirname -- "$as_dir" ||
  338. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  339.      X"$as_dir" : 'X\(//\)[^/]' \| \
  340.      X"$as_dir" : 'X\(//\)$' \| \
  341.      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  342. $as_echo X"$as_dir" |
  343.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  344.         s//\1/
  345.         q
  346.       }
  347.       /^X\(\/\/\)[^/].*/{
  348.         s//\1/
  349.         q
  350.       }
  351.       /^X\(\/\/\)$/{
  352.         s//\1/
  353.         q
  354.       }
  355.       /^X\(\/\).*/{
  356.         s//\1/
  357.         q
  358.       }
  359.       s/.*/./; q'`
  360.       test -d "$as_dir" && break
  361.     done
  362.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  363.   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  364.  
  365.  
  366. } # as_fn_mkdir_p
  367.  
  368. # as_fn_executable_p FILE
  369. # -----------------------
  370. # Test if FILE is an executable regular file.
  371. as_fn_executable_p ()
  372. {
  373.   test -f "$1" && test -x "$1"
  374. } # as_fn_executable_p
  375. # as_fn_append VAR VALUE
  376. # ----------------------
  377. # Append the text in VALUE to the end of the definition contained in VAR. Take
  378. # advantage of any shell optimizations that allow amortized linear growth over
  379. # repeated appends, instead of the typical quadratic growth present in naive
  380. # implementations.
  381. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  382.   eval 'as_fn_append ()
  383.  {
  384.    eval $1+=\$2
  385.  }'
  386. else
  387.   as_fn_append ()
  388.   {
  389.     eval $1=\$$1\$2
  390.   }
  391. fi # as_fn_append
  392.  
  393. # as_fn_arith ARG...
  394. # ------------------
  395. # Perform arithmetic evaluation on the ARGs, and store the result in the
  396. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  397. # must be portable across $(()) and expr.
  398. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  399.   eval 'as_fn_arith ()
  400.  {
  401.    as_val=$(( $* ))
  402.  }'
  403. else
  404.   as_fn_arith ()
  405.   {
  406.     as_val=`expr "$@" || test $? -eq 1`
  407.   }
  408. fi # as_fn_arith
  409.  
  410.  
  411. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  412. # ----------------------------------------
  413. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  414. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  415. # script with STATUS, using 1 if that was 0.
  416. as_fn_error ()
  417. {
  418.   as_status=$1; test $as_status -eq 0 && as_status=1
  419.   if test "$4"; then
  420.     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  421.     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  422.   fi
  423.   $as_echo "$as_me: error: $2" >&2
  424.   as_fn_exit $as_status
  425. } # as_fn_error
  426.  
  427. if expr a : '\(a\)' >/dev/null 2>&1 &&
  428.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  429.   as_expr=expr
  430. else
  431.   as_expr=false
  432. fi
  433.  
  434. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  435.   as_basename=basename
  436. else
  437.   as_basename=false
  438. fi
  439.  
  440. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  441.   as_dirname=dirname
  442. else
  443.   as_dirname=false
  444. fi
  445.  
  446. as_me=`$as_basename -- "$0" ||
  447. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  448.      X"$0" : 'X\(//\)$' \| \
  449.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  450. $as_echo X/"$0" |
  451.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  452.         s//\1/
  453.         q
  454.       }
  455.       /^X\/\(\/\/\)$/{
  456.         s//\1/
  457.         q
  458.       }
  459.       /^X\/\(\/\).*/{
  460.         s//\1/
  461.         q
  462.       }
  463.       s/.*/./; q'`
  464.  
  465. # Avoid depending upon Character Ranges.
  466. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  467. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  468. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  469. as_cr_digits='0123456789'
  470. as_cr_alnum=$as_cr_Letters$as_cr_digits
  471.  
  472.  
  473.   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  474.   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  475.   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  476.  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  477.   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  478.   sed -n '
  479.    p
  480.    /[$]LINENO/=
  481.  ' <$as_myself |
  482.     sed '
  483.      s/[$]LINENO.*/&-/
  484.      t lineno
  485.      b
  486.      :lineno
  487.      N
  488.      :loop
  489.      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  490.      t loop
  491.      s/-\n.*//
  492.    ' >$as_me.lineno &&
  493.   chmod +x "$as_me.lineno" ||
  494.     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  495.  
  496.   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  497.   # already done that, so ensure we don't try to do so again and fall
  498.   # in an infinite loop.  This has already happened in practice.
  499.   _as_can_reexec=no; export _as_can_reexec
  500.   # Don't try to exec as it changes $[0], causing all sort of problems
  501.   # (the dirname of $[0] is not the place where we might find the
  502.   # original and so on.  Autoconf is especially sensitive to this).
  503.   . "./$as_me.lineno"
  504.   # Exit status is that of the last command.
  505.   exit
  506. }
  507.  
  508. ECHO_C= ECHO_N= ECHO_T=
  509. case `echo -n x` in #(((((
  510. -n*)
  511.   case `echo 'xy\c'` in
  512.   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  513.   xy)  ECHO_C='\c';;
  514.   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  515.        ECHO_T=' ';;
  516.   esac;;
  517. *)
  518.   ECHO_N='-n';;
  519. esac
  520.  
  521. rm -f conf$$ conf$$.exe conf$$.file
  522. if test -d conf$$.dir; then
  523.   rm -f conf$$.dir/conf$$.file
  524. else
  525.   rm -f conf$$.dir
  526.   mkdir conf$$.dir 2>/dev/null
  527. fi
  528. if (echo >conf$$.file) 2>/dev/null; then
  529.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  530.     as_ln_s='ln -s'
  531.     # ... but there are two gotchas:
  532.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  533.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  534.     # In both cases, we have to default to `cp -pR'.
  535.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  536.       as_ln_s='cp -pR'
  537.   elif ln conf$$.file conf$$ 2>/dev/null; then
  538.     as_ln_s=ln
  539.   else
  540.     as_ln_s='cp -pR'
  541.   fi
  542. else
  543.   as_ln_s='cp -pR'
  544. fi
  545. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  546. rmdir conf$$.dir 2>/dev/null
  547.  
  548. if mkdir -p . 2>/dev/null; then
  549.   as_mkdir_p='mkdir -p "$as_dir"'
  550. else
  551.   test -d ./-p && rmdir ./-p
  552.   as_mkdir_p=false
  553. fi
  554.  
  555. as_test_x='test -x'
  556. as_executable_p=as_fn_executable_p
  557.  
  558. # Sed expression to map a string onto a valid CPP name.
  559. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  560.  
  561. # Sed expression to map a string onto a valid variable name.
  562. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  563.  
  564. SHELL=${CONFIG_SHELL-/bin/sh}
  565.  
  566.  
  567. test -n "$DJDIR" || exec 7<&0 </dev/null
  568. exec 6>&1
  569.  
  570. # Name of the host.
  571. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  572. # so uname gets run too.
  573. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  574.  
  575. #
  576. # Initializations.
  577. #
  578. ac_default_prefix=/usr/local
  579. ac_clean_files=
  580. ac_config_libobj_dir=.
  581. LIBOBJS=
  582. cross_compiling=no
  583. subdirs=
  584. MFLAGS=
  585. MAKEFLAGS=
  586.  
  587. # Identity of this package.
  588. PACKAGE_NAME='motoko'
  589. PACKAGE_TARNAME='motoko'
  590. PACKAGE_VERSION='0.1.0'
  591. PACKAGE_STRING='motoko 0.1.0'
  592. PACKAGE_BUGREPORT=''
  593. PACKAGE_URL=''
  594.  
  595. ac_unique_file="src/main.c"
  596. # Factoring default headers for most tests.
  597. ac_includes_default="\
  598. #include <stdio.h>
  599. #ifdef HAVE_SYS_TYPES_H
  600. # include <sys/types.h>
  601. #endif
  602. #ifdef HAVE_SYS_STAT_H
  603. # include <sys/stat.h>
  604. #endif
  605. #ifdef STDC_HEADERS
  606. # include <stdlib.h>
  607. # include <stddef.h>
  608. #else
  609. # ifdef HAVE_STDLIB_H
  610. #  include <stdlib.h>
  611. # endif
  612. #endif
  613. #ifdef HAVE_STRING_H
  614. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  615. #  include <memory.h>
  616. # endif
  617. # include <string.h>
  618. #endif
  619. #ifdef HAVE_STRINGS_H
  620. # include <strings.h>
  621. #endif
  622. #ifdef HAVE_INTTYPES_H
  623. # include <inttypes.h>
  624. #endif
  625. #ifdef HAVE_STDINT_H
  626. # include <stdint.h>
  627. #endif
  628. #ifdef HAVE_UNISTD_H
  629. # include <unistd.h>
  630. #endif"
  631.  
  632. enable_option_checking=no
  633. ac_subst_vars='am__EXEEXT_FALSE
  634. am__EXEEXT_TRUE
  635. LTLIBOBJS
  636. subdirs
  637. plugindir
  638. configdir
  639. LIBOBJS
  640. LADD_LIBRT
  641. LDFLAG_RDYNAMIC
  642. CPPFLAG_DEXPORT
  643. CFLAG_FVISIBILITY_HIDDEN
  644. AM_CPPFLAGS
  645. AM_CFLAGS
  646. LADD_LIBWARDENC
  647. WITH_LIBWARDENC_FALSE
  648. WITH_LIBWARDENC_TRUE
  649. OTOOL64
  650. OTOOL
  651. LIPO
  652. NMEDIT
  653. DSYMUTIL
  654. MANIFEST_TOOL
  655. RANLIB
  656. DLLTOOL
  657. OBJDUMP
  658. LN_S
  659. NM
  660. ac_ct_DUMPBIN
  661. DUMPBIN
  662. LD
  663. FGREP
  664. SED
  665. host_os
  666. host_vendor
  667. host_cpu
  668. host
  669. build_os
  670. build_vendor
  671. build_cpu
  672. build
  673. LIBTOOL
  674. ac_ct_AR
  675. AR
  676. EGREP
  677. GREP
  678. CPP
  679. am__fastdepCC_FALSE
  680. am__fastdepCC_TRUE
  681. CCDEPMODE
  682. am__nodep
  683. AMDEPBACKSLASH
  684. AMDEP_FALSE
  685. AMDEP_TRUE
  686. am__quote
  687. am__include
  688. DEPDIR
  689. OBJEXT
  690. EXEEXT
  691. ac_ct_CC
  692. CPPFLAGS
  693. LDFLAGS
  694. CFLAGS
  695. CC
  696. AM_BACKSLASH
  697. AM_DEFAULT_VERBOSITY
  698. AM_DEFAULT_V
  699. AM_V
  700. am__untar
  701. am__tar
  702. AMTAR
  703. am__leading_dot
  704. SET_MAKE
  705. AWK
  706. mkdir_p
  707. MKDIR_P
  708. INSTALL_STRIP_PROGRAM
  709. STRIP
  710. install_sh
  711. MAKEINFO
  712. AUTOHEADER
  713. AUTOMAKE
  714. AUTOCONF
  715. ACLOCAL
  716. VERSION
  717. PACKAGE
  718. CYGPATH_W
  719. am__isrc
  720. INSTALL_DATA
  721. INSTALL_SCRIPT
  722. INSTALL_PROGRAM
  723. target_alias
  724. host_alias
  725. build_alias
  726. LIBS
  727. ECHO_T
  728. ECHO_N
  729. ECHO_C
  730. DEFS
  731. mandir
  732. localedir
  733. libdir
  734. psdir
  735. pdfdir
  736. dvidir
  737. htmldir
  738. infodir
  739. docdir
  740. oldincludedir
  741. includedir
  742. localstatedir
  743. sharedstatedir
  744. sysconfdir
  745. datadir
  746. datarootdir
  747. libexecdir
  748. sbindir
  749. bindir
  750. program_transform_name
  751. prefix
  752. exec_prefix
  753. PACKAGE_URL
  754. PACKAGE_BUGREPORT
  755. PACKAGE_STRING
  756. PACKAGE_VERSION
  757. PACKAGE_TARNAME
  758. PACKAGE_NAME
  759. PATH_SEPARATOR
  760. SHELL'
  761. ac_subst_files=''
  762. ac_user_opts='
  763. enable_option_checking
  764. enable_silent_rules
  765. enable_dependency_tracking
  766. enable_shared
  767. enable_static
  768. with_pic
  769. enable_fast_install
  770. with_gnu_ld
  771. with_sysroot
  772. enable_libtool_lock
  773. with_libwardenc
  774. '
  775.       ac_precious_vars='build_alias
  776. host_alias
  777. target_alias
  778. CC
  779. CFLAGS
  780. LDFLAGS
  781. LIBS
  782. CPPFLAGS
  783. CPP'
  784. ac_subdirs_all='lib/libwardenc'
  785.  
  786. # Initialize some variables set by options.
  787. ac_init_help=
  788. ac_init_version=false
  789. ac_unrecognized_opts=
  790. ac_unrecognized_sep=
  791. # The variables have the same names as the options, with
  792. # dashes changed to underlines.
  793. cache_file=/dev/null
  794. exec_prefix=NONE
  795. no_create=
  796. no_recursion=
  797. prefix=NONE
  798. program_prefix=NONE
  799. program_suffix=NONE
  800. program_transform_name=s,x,x,
  801. silent=
  802. site=
  803. srcdir=
  804. verbose=
  805. x_includes=NONE
  806. x_libraries=NONE
  807.  
  808. # Installation directory options.
  809. # These are left unexpanded so users can "make install exec_prefix=/foo"
  810. # and all the variables that are supposed to be based on exec_prefix
  811. # by default will actually change.
  812. # Use braces instead of parens because sh, perl, etc. also accept them.
  813. # (The list follows the same order as the GNU Coding Standards.)
  814. bindir='${exec_prefix}/bin'
  815. sbindir='${exec_prefix}/sbin'
  816. libexecdir='${exec_prefix}/libexec'
  817. datarootdir='${prefix}/share'
  818. datadir='${datarootdir}'
  819. sysconfdir='${prefix}/etc'
  820. sharedstatedir='${prefix}/com'
  821. localstatedir='${prefix}/var'
  822. includedir='${prefix}/include'
  823. oldincludedir='/usr/include'
  824. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  825. infodir='${datarootdir}/info'
  826. htmldir='${docdir}'
  827. dvidir='${docdir}'
  828. pdfdir='${docdir}'
  829. psdir='${docdir}'
  830. libdir='${exec_prefix}/lib'
  831. localedir='${datarootdir}/locale'
  832. mandir='${datarootdir}/man'
  833.  
  834. ac_prev=
  835. ac_dashdash=
  836. for ac_option
  837. do
  838.   # If the previous option needs an argument, assign it.
  839.   if test -n "$ac_prev"; then
  840.     eval $ac_prev=\$ac_option
  841.     ac_prev=
  842.     continue
  843.   fi
  844.  
  845.   case $ac_option in
  846.   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  847.   *=)   ac_optarg= ;;
  848.   *)    ac_optarg=yes ;;
  849.   esac
  850.  
  851.   # Accept the important Cygnus configure options, so we can diagnose typos.
  852.  
  853.   case $ac_dashdash$ac_option in
  854.   --)
  855.     ac_dashdash=yes ;;
  856.  
  857.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  858.     ac_prev=bindir ;;
  859.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  860.     bindir=$ac_optarg ;;
  861.  
  862.   -build | --build | --buil | --bui | --bu)
  863.     ac_prev=build_alias ;;
  864.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  865.     build_alias=$ac_optarg ;;
  866.  
  867.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  868.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  869.     ac_prev=cache_file ;;
  870.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  871.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  872.     cache_file=$ac_optarg ;;
  873.  
  874.   --config-cache | -C)
  875.     cache_file=config.cache ;;
  876.  
  877.   -datadir | --datadir | --datadi | --datad)
  878.     ac_prev=datadir ;;
  879.   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  880.     datadir=$ac_optarg ;;
  881.  
  882.   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  883.   | --dataroo | --dataro | --datar)
  884.     ac_prev=datarootdir ;;
  885.   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  886.   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  887.     datarootdir=$ac_optarg ;;
  888.  
  889.   -disable-* | --disable-*)
  890.     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  891.     # Reject names that are not valid shell variable names.
  892.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  893.       as_fn_error $? "invalid feature name: $ac_useropt"
  894.     ac_useropt_orig=$ac_useropt
  895.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  896.     case $ac_user_opts in
  897.       *"
  898. "enable_$ac_useropt"
  899. "*) ;;
  900.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  901.      ac_unrecognized_sep=', ';;
  902.     esac
  903.     eval enable_$ac_useropt=no ;;
  904.  
  905.   -docdir | --docdir | --docdi | --doc | --do)
  906.     ac_prev=docdir ;;
  907.   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  908.     docdir=$ac_optarg ;;
  909.  
  910.   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  911.     ac_prev=dvidir ;;
  912.   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  913.     dvidir=$ac_optarg ;;
  914.  
  915.   -enable-* | --enable-*)
  916.     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  917.     # Reject names that are not valid shell variable names.
  918.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  919.       as_fn_error $? "invalid feature name: $ac_useropt"
  920.     ac_useropt_orig=$ac_useropt
  921.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  922.     case $ac_user_opts in
  923.       *"
  924. "enable_$ac_useropt"
  925. "*) ;;
  926.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  927.      ac_unrecognized_sep=', ';;
  928.     esac
  929.     eval enable_$ac_useropt=\$ac_optarg ;;
  930.  
  931.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  932.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  933.   | --exec | --exe | --ex)
  934.     ac_prev=exec_prefix ;;
  935.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  936.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  937.   | --exec=* | --exe=* | --ex=*)
  938.     exec_prefix=$ac_optarg ;;
  939.  
  940.   -gas | --gas | --ga | --g)
  941.     # Obsolete; use --with-gas.
  942.     with_gas=yes ;;
  943.  
  944.   -help | --help | --hel | --he | -h)
  945.     ac_init_help=long ;;
  946.   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  947.     ac_init_help=recursive ;;
  948.   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  949.     ac_init_help=short ;;
  950.  
  951.   -host | --host | --hos | --ho)
  952.     ac_prev=host_alias ;;
  953.   -host=* | --host=* | --hos=* | --ho=*)
  954.     host_alias=$ac_optarg ;;
  955.  
  956.   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  957.     ac_prev=htmldir ;;
  958.   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  959.   | --ht=*)
  960.     htmldir=$ac_optarg ;;
  961.  
  962.   -includedir | --includedir | --includedi | --included | --include \
  963.   | --includ | --inclu | --incl | --inc)
  964.     ac_prev=includedir ;;
  965.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  966.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  967.     includedir=$ac_optarg ;;
  968.  
  969.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  970.     ac_prev=infodir ;;
  971.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  972.     infodir=$ac_optarg ;;
  973.  
  974.   -libdir | --libdir | --libdi | --libd)
  975.     ac_prev=libdir ;;
  976.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  977.     libdir=$ac_optarg ;;
  978.  
  979.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  980.   | --libexe | --libex | --libe)
  981.     ac_prev=libexecdir ;;
  982.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  983.   | --libexe=* | --libex=* | --libe=*)
  984.     libexecdir=$ac_optarg ;;
  985.  
  986.   -localedir | --localedir | --localedi | --localed | --locale)
  987.     ac_prev=localedir ;;
  988.   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  989.     localedir=$ac_optarg ;;
  990.  
  991.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  992.   | --localstate | --localstat | --localsta | --localst | --locals)
  993.     ac_prev=localstatedir ;;
  994.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  995.   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  996.     localstatedir=$ac_optarg ;;
  997.  
  998.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  999.     ac_prev=mandir ;;
  1000.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1001.     mandir=$ac_optarg ;;
  1002.  
  1003.   -nfp | --nfp | --nf)
  1004.     # Obsolete; use --without-fp.
  1005.     with_fp=no ;;
  1006.  
  1007.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1008.   | --no-cr | --no-c | -n)
  1009.     no_create=yes ;;
  1010.  
  1011.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1012.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1013.     no_recursion=yes ;;
  1014.  
  1015.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1016.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1017.   | --oldin | --oldi | --old | --ol | --o)
  1018.     ac_prev=oldincludedir ;;
  1019.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1020.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1021.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1022.     oldincludedir=$ac_optarg ;;
  1023.  
  1024.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1025.     ac_prev=prefix ;;
  1026.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1027.     prefix=$ac_optarg ;;
  1028.  
  1029.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1030.   | --program-pre | --program-pr | --program-p)
  1031.     ac_prev=program_prefix ;;
  1032.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1033.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1034.     program_prefix=$ac_optarg ;;
  1035.  
  1036.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1037.   | --program-suf | --program-su | --program-s)
  1038.     ac_prev=program_suffix ;;
  1039.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1040.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1041.     program_suffix=$ac_optarg ;;
  1042.  
  1043.   -program-transform-name | --program-transform-name \
  1044.   | --program-transform-nam | --program-transform-na \
  1045.   | --program-transform-n | --program-transform- \
  1046.   | --program-transform | --program-transfor \
  1047.   | --program-transfo | --program-transf \
  1048.   | --program-trans | --program-tran \
  1049.   | --progr-tra | --program-tr | --program-t)
  1050.     ac_prev=program_transform_name ;;
  1051.   -program-transform-name=* | --program-transform-name=* \
  1052.   | --program-transform-nam=* | --program-transform-na=* \
  1053.   | --program-transform-n=* | --program-transform-=* \
  1054.   | --program-transform=* | --program-transfor=* \
  1055.   | --program-transfo=* | --program-transf=* \
  1056.   | --program-trans=* | --program-tran=* \
  1057.   | --progr-tra=* | --program-tr=* | --program-t=*)
  1058.     program_transform_name=$ac_optarg ;;
  1059.  
  1060.   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1061.     ac_prev=pdfdir ;;
  1062.   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1063.     pdfdir=$ac_optarg ;;
  1064.  
  1065.   -psdir | --psdir | --psdi | --psd | --ps)
  1066.     ac_prev=psdir ;;
  1067.   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1068.     psdir=$ac_optarg ;;
  1069.  
  1070.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1071.   | -silent | --silent | --silen | --sile | --sil)
  1072.     silent=yes ;;
  1073.  
  1074.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1075.     ac_prev=sbindir ;;
  1076.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1077.   | --sbi=* | --sb=*)
  1078.     sbindir=$ac_optarg ;;
  1079.  
  1080.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1081.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1082.   | --sharedst | --shareds | --shared | --share | --shar \
  1083.   | --sha | --sh)
  1084.     ac_prev=sharedstatedir ;;
  1085.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1086.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1087.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1088.   | --sha=* | --sh=*)
  1089.     sharedstatedir=$ac_optarg ;;
  1090.  
  1091.   -site | --site | --sit)
  1092.     ac_prev=site ;;
  1093.   -site=* | --site=* | --sit=*)
  1094.     site=$ac_optarg ;;
  1095.  
  1096.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1097.     ac_prev=srcdir ;;
  1098.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1099.     srcdir=$ac_optarg ;;
  1100.  
  1101.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1102.   | --syscon | --sysco | --sysc | --sys | --sy)
  1103.     ac_prev=sysconfdir ;;
  1104.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1105.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1106.     sysconfdir=$ac_optarg ;;
  1107.  
  1108.   -target | --target | --targe | --targ | --tar | --ta | --t)
  1109.     ac_prev=target_alias ;;
  1110.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1111.     target_alias=$ac_optarg ;;
  1112.  
  1113.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1114.     verbose=yes ;;
  1115.  
  1116.   -version | --version | --versio | --versi | --vers | -V)
  1117.     ac_init_version=: ;;
  1118.  
  1119.   -with-* | --with-*)
  1120.     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1121.     # Reject names that are not valid shell variable names.
  1122.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1123.       as_fn_error $? "invalid package name: $ac_useropt"
  1124.     ac_useropt_orig=$ac_useropt
  1125.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1126.     case $ac_user_opts in
  1127.       *"
  1128. "with_$ac_useropt"
  1129. "*) ;;
  1130.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1131.      ac_unrecognized_sep=', ';;
  1132.     esac
  1133.     eval with_$ac_useropt=\$ac_optarg ;;
  1134.  
  1135.   -without-* | --without-*)
  1136.     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1137.     # Reject names that are not valid shell variable names.
  1138.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1139.       as_fn_error $? "invalid package name: $ac_useropt"
  1140.     ac_useropt_orig=$ac_useropt
  1141.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1142.     case $ac_user_opts in
  1143.       *"
  1144. "with_$ac_useropt"
  1145. "*) ;;
  1146.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1147.      ac_unrecognized_sep=', ';;
  1148.     esac
  1149.     eval with_$ac_useropt=no ;;
  1150.  
  1151.   --x)
  1152.     # Obsolete; use --with-x.
  1153.     with_x=yes ;;
  1154.  
  1155.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1156.   | --x-incl | --x-inc | --x-in | --x-i)
  1157.     ac_prev=x_includes ;;
  1158.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1159.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1160.     x_includes=$ac_optarg ;;
  1161.  
  1162.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1163.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1164.     ac_prev=x_libraries ;;
  1165.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1166.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1167.     x_libraries=$ac_optarg ;;
  1168.  
  1169.   -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1170. Try \`$0 --help' for more information"
  1171.     ;;
  1172.  
  1173.   *=*)
  1174.     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1175.     # Reject names that are not valid shell variable names.
  1176.     case $ac_envvar in #(
  1177.       '' | [0-9]* | *[!_$as_cr_alnum]* )
  1178.       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1179.     esac
  1180.     eval $ac_envvar=\$ac_optarg
  1181.     export $ac_envvar ;;
  1182.  
  1183.   *)
  1184.     # FIXME: should be removed in autoconf 3.0.
  1185.     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1186.     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1187.       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1188.     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1189.     ;;
  1190.  
  1191.   esac
  1192. done
  1193.  
  1194. if test -n "$ac_prev"; then
  1195.   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1196.   as_fn_error $? "missing argument to $ac_option"
  1197. fi
  1198.  
  1199. if test -n "$ac_unrecognized_opts"; then
  1200.   case $enable_option_checking in
  1201.     no) ;;
  1202.     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1203.     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1204.   esac
  1205. fi
  1206.  
  1207. # Check all directory arguments for consistency.
  1208. for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1209.         datadir sysconfdir sharedstatedir localstatedir includedir \
  1210.         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1211.         libdir localedir mandir
  1212. do
  1213.   eval ac_val=\$$ac_var
  1214.   # Remove trailing slashes.
  1215.   case $ac_val in
  1216.     */ )
  1217.       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1218.       eval $ac_var=\$ac_val;;
  1219.   esac
  1220.   # Be sure to have absolute directory names.
  1221.   case $ac_val in
  1222.     [\\/$]* | ?:[\\/]* )  continue;;
  1223.     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1224.   esac
  1225.   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1226. done
  1227.  
  1228. # There might be people who depend on the old broken behavior: `$host'
  1229. # used to hold the argument of --host etc.
  1230. # FIXME: To remove some day.
  1231. build=$build_alias
  1232. host=$host_alias
  1233. target=$target_alias
  1234.  
  1235. # FIXME: To remove some day.
  1236. if test "x$host_alias" != x; then
  1237.   if test "x$build_alias" = x; then
  1238.     cross_compiling=maybe
  1239.   elif test "x$build_alias" != "x$host_alias"; then
  1240.     cross_compiling=yes
  1241.   fi
  1242. fi
  1243.  
  1244. ac_tool_prefix=
  1245. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1246.  
  1247. test "$silent" = yes && exec 6>/dev/null
  1248.  
  1249.  
  1250. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1251. ac_ls_di=`ls -di .` &&
  1252. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1253.   as_fn_error $? "working directory cannot be determined"
  1254. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1255.   as_fn_error $? "pwd does not report name of working directory"
  1256.  
  1257.  
  1258. # Find the source files, if location was not specified.
  1259. if test -z "$srcdir"; then
  1260.   ac_srcdir_defaulted=yes
  1261.   # Try the directory containing this script, then the parent directory.
  1262.   ac_confdir=`$as_dirname -- "$as_myself" ||
  1263. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1264.      X"$as_myself" : 'X\(//\)[^/]' \| \
  1265.      X"$as_myself" : 'X\(//\)$' \| \
  1266.      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1267. $as_echo X"$as_myself" |
  1268.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1269.         s//\1/
  1270.         q
  1271.       }
  1272.       /^X\(\/\/\)[^/].*/{
  1273.         s//\1/
  1274.         q
  1275.       }
  1276.       /^X\(\/\/\)$/{
  1277.         s//\1/
  1278.         q
  1279.       }
  1280.       /^X\(\/\).*/{
  1281.         s//\1/
  1282.         q
  1283.       }
  1284.       s/.*/./; q'`
  1285.   srcdir=$ac_confdir
  1286.   if test ! -r "$srcdir/$ac_unique_file"; then
  1287.     srcdir=..
  1288.   fi
  1289. else
  1290.   ac_srcdir_defaulted=no
  1291. fi
  1292. if test ! -r "$srcdir/$ac_unique_file"; then
  1293.   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1294.   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1295. fi
  1296. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1297. ac_abs_confdir=`(
  1298.     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1299.     pwd)`
  1300. # When building in place, set srcdir=.
  1301. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1302.   srcdir=.
  1303. fi
  1304. # Remove unnecessary trailing slashes from srcdir.
  1305. # Double slashes in file names in object file debugging info
  1306. # mess up M-x gdb in Emacs.
  1307. case $srcdir in
  1308. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1309. esac
  1310. for ac_var in $ac_precious_vars; do
  1311.   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1312.   eval ac_env_${ac_var}_value=\$${ac_var}
  1313.   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1314.   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1315. done
  1316.  
  1317. #
  1318. # Report the --help message.
  1319. #
  1320. if test "$ac_init_help" = "long"; then
  1321.   # Omit some internal or obsolete options to make the list less imposing.
  1322.   # This message is too long to be a string in the A/UX 3.1 sh.
  1323.   cat <<_ACEOF
  1324. \`configure' configures motoko 0.1.0 to adapt to many kinds of systems.
  1325.  
  1326. Usage: $0 [OPTION]... [VAR=VALUE]...
  1327.  
  1328. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1329. VAR=VALUE.  See below for descriptions of some of the useful variables.
  1330.  
  1331. Defaults for the options are specified in brackets.
  1332.  
  1333. Configuration:
  1334.  -h, --help              display this help and exit
  1335.      --help=short        display options specific to this package
  1336.      --help=recursive    display the short help of all the included packages
  1337.  -V, --version           display version information and exit
  1338.  -q, --quiet, --silent   do not print \`checking ...' messages
  1339.       --cache-file=FILE   cache test results in FILE [disabled]
  1340.   -C, --config-cache      alias for \`--cache-file=config.cache'
  1341.  -n, --no-create         do not create output files
  1342.      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1343.  
  1344. Installation directories:
  1345.   --prefix=PREFIX         install architecture-independent files in PREFIX
  1346.                           [$ac_default_prefix]
  1347.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1348.                           [PREFIX]
  1349.  
  1350. By default, \`make install' will install all the files in
  1351. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1352. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1353. for instance \`--prefix=\$HOME'.
  1354.  
  1355. For better control, use the options below.
  1356.  
  1357. Fine tuning of the installation directories:
  1358.   --bindir=DIR            user executables [EPREFIX/bin]
  1359.   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1360.   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1361.   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1362.   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1363.   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1364.   --libdir=DIR            object code libraries [EPREFIX/lib]
  1365.   --includedir=DIR        C header files [PREFIX/include]
  1366.   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1367.   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1368.   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1369.   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1370.   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1371.   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1372.   --docdir=DIR            documentation root [DATAROOTDIR/doc/motoko]
  1373.   --htmldir=DIR           html documentation [DOCDIR]
  1374.   --dvidir=DIR            dvi documentation [DOCDIR]
  1375.   --pdfdir=DIR            pdf documentation [DOCDIR]
  1376.   --psdir=DIR             ps documentation [DOCDIR]
  1377. _ACEOF
  1378.  
  1379.   cat <<\_ACEOF
  1380.  
  1381. Program names:
  1382.   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1383.   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1384.   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1385.  
  1386. System types:
  1387.   --build=BUILD     configure for building on BUILD [guessed]
  1388.   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1389. _ACEOF
  1390. fi
  1391.  
  1392. if test -n "$ac_init_help"; then
  1393.   case $ac_init_help in
  1394.      short | recursive ) echo "Configuration of motoko 0.1.0:";;
  1395.    esac
  1396.   cat <<\_ACEOF
  1397.  
  1398. Optional Features:
  1399.   --disable-option-checking  ignore unrecognized --enable/--with options
  1400.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1401.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1402.   --enable-silent-rules   less verbose build output (undo: "make V=1")
  1403.   --disable-silent-rules  verbose build output (undo: "make V=0")
  1404.   --enable-dependency-tracking
  1405.                           do not reject slow dependency extractors
  1406.   --disable-dependency-tracking
  1407.                           speeds up one-time build
  1408.   --enable-shared[=PKGS]  build shared libraries [default=yes]
  1409.   --enable-static[=PKGS]  build static libraries [default=yes]
  1410.   --enable-fast-install[=PKGS]
  1411.                           optimize for fast installation [default=yes]
  1412.   --disable-libtool-lock  avoid locking (might break parallel builds)
  1413.  
  1414. Optional Packages:
  1415.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1416.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1417.   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
  1418.                           both]
  1419.   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1420.   --with-sysroot=DIR Search for dependent libraries within DIR
  1421.                         (or the compiler's sysroot if not specified).
  1422.  --without-libwardenc    do not build and link libwardenc
  1423.  
  1424. Some influential environment variables:
  1425.  CC          C compiler command
  1426.  CFLAGS      C compiler flags
  1427.  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1428.              nonstandard directory <lib dir>
  1429.  LIBS        libraries to pass to the linker, e.g. -l<library>
  1430.  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1431.              you have headers in a nonstandard directory <include dir>
  1432.  CPP         C preprocessor
  1433.  
  1434. Use these variables to override the choices made by `configure' or to help
  1435. it to find libraries and programs with nonstandard names/locations.
  1436.  
  1437. Report bugs to the package provider.
  1438. _ACEOF
  1439. ac_status=$?
  1440. fi
  1441.  
  1442. if test "$ac_init_help" = "recursive"; then
  1443.   # If there are subdirs, report their specific --help.
  1444.   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1445.     test -d "$ac_dir" ||
  1446.       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1447.       continue
  1448.     ac_builddir=.
  1449.  
  1450. case "$ac_dir" in
  1451. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1452. *)
  1453.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1454.   # A ".." for each directory in $ac_dir_suffix.
  1455.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1456.   case $ac_top_builddir_sub in
  1457.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1458.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1459.   esac ;;
  1460. esac
  1461. ac_abs_top_builddir=$ac_pwd
  1462. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1463. # for backward compatibility:
  1464. ac_top_builddir=$ac_top_build_prefix
  1465.  
  1466. case $srcdir in
  1467.   .)  # We are building in place.
  1468.     ac_srcdir=.
  1469.     ac_top_srcdir=$ac_top_builddir_sub
  1470.     ac_abs_top_srcdir=$ac_pwd ;;
  1471.   [\\/]* | ?:[\\/]* )  # Absolute name.
  1472.     ac_srcdir=$srcdir$ac_dir_suffix;
  1473.     ac_top_srcdir=$srcdir
  1474.     ac_abs_top_srcdir=$srcdir ;;
  1475.   *) # Relative name.
  1476.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1477.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1478.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1479. esac
  1480. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1481.  
  1482.     cd "$ac_dir" || { ac_status=$?; continue; }
  1483.     # Check for guested configure.
  1484.     if test -f "$ac_srcdir/configure.gnu"; then
  1485.       echo &&
  1486.       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1487.     elif test -f "$ac_srcdir/configure"; then
  1488.       echo &&
  1489.       $SHELL "$ac_srcdir/configure" --help=recursive
  1490.     else
  1491.       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1492.     fi || ac_status=$?
  1493.     cd "$ac_pwd" || { ac_status=$?; break; }
  1494.   done
  1495. fi
  1496.  
  1497. test -n "$ac_init_help" && exit $ac_status
  1498. if $ac_init_version; then
  1499.   cat <<\_ACEOF
  1500. motoko configure 0.1.0
  1501. generated by GNU Autoconf 2.69
  1502.  
  1503. Copyright (C) 2012 Free Software Foundation, Inc.
  1504. This configure script is free software; the Free Software Foundation
  1505. gives unlimited permission to copy, distribute and modify it.
  1506. _ACEOF
  1507.   exit
  1508. fi
  1509.  
  1510. ## ------------------------ ##
  1511. ## Autoconf initialization. ##
  1512. ## ------------------------ ##
  1513.  
  1514. # ac_fn_c_try_compile LINENO
  1515. # --------------------------
  1516. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1517. ac_fn_c_try_compile ()
  1518. {
  1519.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1520.   rm -f conftest.$ac_objext
  1521.   if { { ac_try="$ac_compile"
  1522. case "(($ac_try" in
  1523.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1524.  *) ac_try_echo=$ac_try;;
  1525. esac
  1526. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1527. $as_echo "$ac_try_echo"; } >&5
  1528.   (eval "$ac_compile") 2>conftest.err
  1529.   ac_status=$?
  1530.   if test -s conftest.err; then
  1531.     grep -v '^ *+' conftest.err >conftest.er1
  1532.     cat conftest.er1 >&5
  1533.     mv -f conftest.er1 conftest.err
  1534.   fi
  1535.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1536.   test $ac_status = 0; } && {
  1537.      test -z "$ac_c_werror_flag" ||
  1538.      test ! -s conftest.err
  1539.        } && test -s conftest.$ac_objext; then :
  1540.   ac_retval=0
  1541. else
  1542.   $as_echo "$as_me: failed program was:" >&5
  1543. sed 's/^/| /' conftest.$ac_ext >&5
  1544.  
  1545.     ac_retval=1
  1546. fi
  1547.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1548.   as_fn_set_status $ac_retval
  1549.  
  1550. } # ac_fn_c_try_compile
  1551.  
  1552. # ac_fn_c_try_cpp LINENO
  1553. # ----------------------
  1554. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1555. ac_fn_c_try_cpp ()
  1556. {
  1557.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1558.   if { { ac_try="$ac_cpp conftest.$ac_ext"
  1559. case "(($ac_try" in
  1560.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1561.  *) ac_try_echo=$ac_try;;
  1562. esac
  1563. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1564. $as_echo "$ac_try_echo"; } >&5
  1565.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1566.   ac_status=$?
  1567.   if test -s conftest.err; then
  1568.     grep -v '^ *+' conftest.err >conftest.er1
  1569.     cat conftest.er1 >&5
  1570.     mv -f conftest.er1 conftest.err
  1571.   fi
  1572.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1573.   test $ac_status = 0; } > conftest.i && {
  1574.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1575.      test ! -s conftest.err
  1576.        }; then :
  1577.   ac_retval=0
  1578. else
  1579.   $as_echo "$as_me: failed program was:" >&5
  1580. sed 's/^/| /' conftest.$ac_ext >&5
  1581.  
  1582.     ac_retval=1
  1583. fi
  1584.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1585.   as_fn_set_status $ac_retval
  1586.  
  1587. } # ac_fn_c_try_cpp
  1588.  
  1589. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1590. # -------------------------------------------------------
  1591. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1592. # the include files in INCLUDES and setting the cache variable VAR
  1593. # accordingly.
  1594. ac_fn_c_check_header_mongrel ()
  1595. {
  1596.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1597.   if eval \${$3+:} false; then :
  1598.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1599. $as_echo_n "checking for $2... " >&6; }
  1600. if eval \${$3+:} false; then :
  1601.   $as_echo_n "(cached) " >&6
  1602. fi
  1603. eval ac_res=\$$3
  1604.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1605. $as_echo "$ac_res" >&6; }
  1606. else
  1607.   # Is the header compilable?
  1608. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1609. $as_echo_n "checking $2 usability... " >&6; }
  1610. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1611. /* end confdefs.h.  */
  1612. $4
  1613. #include <$2>
  1614. _ACEOF
  1615. if ac_fn_c_try_compile "$LINENO"; then :
  1616.   ac_header_compiler=yes
  1617. else
  1618.   ac_header_compiler=no
  1619. fi
  1620. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1621. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1622. $as_echo "$ac_header_compiler" >&6; }
  1623.  
  1624. # Is the header present?
  1625. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1626. $as_echo_n "checking $2 presence... " >&6; }
  1627. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1628. /* end confdefs.h.  */
  1629. #include <$2>
  1630. _ACEOF
  1631. if ac_fn_c_try_cpp "$LINENO"; then :
  1632.   ac_header_preproc=yes
  1633. else
  1634.   ac_header_preproc=no
  1635. fi
  1636. rm -f conftest.err conftest.i conftest.$ac_ext
  1637. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1638. $as_echo "$ac_header_preproc" >&6; }
  1639.  
  1640. # So?  What about this header?
  1641. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1642.   yes:no: )
  1643.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1644. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1645.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1646. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1647.     ;;
  1648.   no:yes:* )
  1649.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1650. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1651.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1652. $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1653.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1654. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1655.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  1656. $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  1657.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1658. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1659.     ;;
  1660. esac
  1661.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1662. $as_echo_n "checking for $2... " >&6; }
  1663. if eval \${$3+:} false; then :
  1664.   $as_echo_n "(cached) " >&6
  1665. else
  1666.   eval "$3=\$ac_header_compiler"
  1667. fi
  1668. eval ac_res=\$$3
  1669.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1670. $as_echo "$ac_res" >&6; }
  1671. fi
  1672.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1673.  
  1674. } # ac_fn_c_check_header_mongrel
  1675.  
  1676. # ac_fn_c_try_run LINENO
  1677. # ----------------------
  1678. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1679. # that executables *can* be run.
  1680. ac_fn_c_try_run ()
  1681. {
  1682.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1683.   if { { ac_try="$ac_link"
  1684. case "(($ac_try" in
  1685.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1686.  *) ac_try_echo=$ac_try;;
  1687. esac
  1688. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1689. $as_echo "$ac_try_echo"; } >&5
  1690.   (eval "$ac_link") 2>&5
  1691.   ac_status=$?
  1692.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1693.   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1694.   { { case "(($ac_try" in
  1695.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1696.  *) ac_try_echo=$ac_try;;
  1697. esac
  1698. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1699. $as_echo "$ac_try_echo"; } >&5
  1700.   (eval "$ac_try") 2>&5
  1701.   ac_status=$?
  1702.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1703.   test $ac_status = 0; }; }; then :
  1704.   ac_retval=0
  1705. else
  1706.   $as_echo "$as_me: program exited with status $ac_status" >&5
  1707.        $as_echo "$as_me: failed program was:" >&5
  1708. sed 's/^/| /' conftest.$ac_ext >&5
  1709.  
  1710.        ac_retval=$ac_status
  1711. fi
  1712.   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1713.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1714.   as_fn_set_status $ac_retval
  1715.  
  1716. } # ac_fn_c_try_run
  1717.  
  1718. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1719. # -------------------------------------------------------
  1720. # Tests whether HEADER exists and can be compiled using the include files in
  1721. # INCLUDES, setting the cache variable VAR accordingly.
  1722. ac_fn_c_check_header_compile ()
  1723. {
  1724.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1725.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1726. $as_echo_n "checking for $2... " >&6; }
  1727. if eval \${$3+:} false; then :
  1728.   $as_echo_n "(cached) " >&6
  1729. else
  1730.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1731. /* end confdefs.h.  */
  1732. $4
  1733. #include <$2>
  1734. _ACEOF
  1735. if ac_fn_c_try_compile "$LINENO"; then :
  1736.   eval "$3=yes"
  1737. else
  1738.   eval "$3=no"
  1739. fi
  1740. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1741. fi
  1742. eval ac_res=\$$3
  1743.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1744. $as_echo "$ac_res" >&6; }
  1745.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1746.  
  1747. } # ac_fn_c_check_header_compile
  1748.  
  1749. # ac_fn_c_try_link LINENO
  1750. # -----------------------
  1751. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1752. ac_fn_c_try_link ()
  1753. {
  1754.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1755.   rm -f conftest.$ac_objext conftest$ac_exeext
  1756.   if { { ac_try="$ac_link"
  1757. case "(($ac_try" in
  1758.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1759.  *) ac_try_echo=$ac_try;;
  1760. esac
  1761. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1762. $as_echo "$ac_try_echo"; } >&5
  1763.   (eval "$ac_link") 2>conftest.err
  1764.   ac_status=$?
  1765.   if test -s conftest.err; then
  1766.     grep -v '^ *+' conftest.err >conftest.er1
  1767.     cat conftest.er1 >&5
  1768.     mv -f conftest.er1 conftest.err
  1769.   fi
  1770.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1771.   test $ac_status = 0; } && {
  1772.      test -z "$ac_c_werror_flag" ||
  1773.      test ! -s conftest.err
  1774.        } && test -s conftest$ac_exeext && {
  1775.      test "$cross_compiling" = yes ||
  1776.      test -x conftest$ac_exeext
  1777.        }; then :
  1778.   ac_retval=0
  1779. else
  1780.   $as_echo "$as_me: failed program was:" >&5
  1781. sed 's/^/| /' conftest.$ac_ext >&5
  1782.  
  1783.     ac_retval=1
  1784. fi
  1785.   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1786.   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1787.   # interfere with the next link command; also delete a directory that is
  1788.   # left behind by Apple's compiler.  We do this before executing the actions.
  1789.   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1790.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1791.   as_fn_set_status $ac_retval
  1792.  
  1793. } # ac_fn_c_try_link
  1794.  
  1795. # ac_fn_c_check_func LINENO FUNC VAR
  1796. # ----------------------------------
  1797. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1798. ac_fn_c_check_func ()
  1799. {
  1800.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1801.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1802. $as_echo_n "checking for $2... " >&6; }
  1803. if eval \${$3+:} false; then :
  1804.   $as_echo_n "(cached) " >&6
  1805. else
  1806.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1807. /* end confdefs.h.  */
  1808. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1809.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1810. #define $2 innocuous_$2
  1811.  
  1812. /* System header to define __stub macros and hopefully few prototypes,
  1813.     which can conflict with char $2 (); below.
  1814.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1815.     <limits.h> exists even on freestanding compilers.  */
  1816.  
  1817. #ifdef __STDC__
  1818. # include <limits.h>
  1819. #else
  1820. # include <assert.h>
  1821. #endif
  1822.  
  1823. #undef $2
  1824.  
  1825. /* Override any GCC internal prototype to avoid an error.
  1826.    Use char because int might match the return type of a GCC
  1827.    builtin and then its argument prototype would still apply.  */
  1828. #ifdef __cplusplus
  1829. extern "C"
  1830. #endif
  1831. char $2 ();
  1832. /* The GNU C library defines this for functions which it implements
  1833.     to always fail with ENOSYS.  Some functions are actually named
  1834.     something starting with __ and the normal name is an alias.  */
  1835. #if defined __stub_$2 || defined __stub___$2
  1836. choke me
  1837. #endif
  1838.  
  1839. int
  1840. main ()
  1841. {
  1842. return $2 ();
  1843.   ;
  1844.   return 0;
  1845. }
  1846. _ACEOF
  1847. if ac_fn_c_try_link "$LINENO"; then :
  1848.   eval "$3=yes"
  1849. else
  1850.   eval "$3=no"
  1851. fi
  1852. rm -f core conftest.err conftest.$ac_objext \
  1853.     conftest$ac_exeext conftest.$ac_ext
  1854. fi
  1855. eval ac_res=\$$3
  1856.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1857. $as_echo "$ac_res" >&6; }
  1858.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1859.  
  1860. } # ac_fn_c_check_func
  1861.  
  1862. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1863. # -------------------------------------------
  1864. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1865. # variable VAR accordingly.
  1866. ac_fn_c_check_type ()
  1867. {
  1868.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1869.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1870. $as_echo_n "checking for $2... " >&6; }
  1871. if eval \${$3+:} false; then :
  1872.   $as_echo_n "(cached) " >&6
  1873. else
  1874.   eval "$3=no"
  1875.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1876. /* end confdefs.h.  */
  1877. $4
  1878. int
  1879. main ()
  1880. {
  1881. if (sizeof ($2))
  1882.      return 0;
  1883.   ;
  1884.   return 0;
  1885. }
  1886. _ACEOF
  1887. if ac_fn_c_try_compile "$LINENO"; then :
  1888.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1889. /* end confdefs.h.  */
  1890. $4
  1891. int
  1892. main ()
  1893. {
  1894. if (sizeof (($2)))
  1895.         return 0;
  1896.   ;
  1897.   return 0;
  1898. }
  1899. _ACEOF
  1900. if ac_fn_c_try_compile "$LINENO"; then :
  1901.  
  1902. else
  1903.   eval "$3=yes"
  1904. fi
  1905. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1906. fi
  1907. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1908. fi
  1909. eval ac_res=\$$3
  1910.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1911. $as_echo "$ac_res" >&6; }
  1912.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1913.  
  1914. } # ac_fn_c_check_type
  1915. cat >config.log <<_ACEOF
  1916. This file contains any messages produced by compilers while
  1917. running configure, to aid debugging if configure makes a mistake.
  1918.  
  1919. It was created by motoko $as_me 0.1.0, which was
  1920. generated by GNU Autoconf 2.69.  Invocation command line was
  1921.  
  1922.   $ $0 $@
  1923.  
  1924. _ACEOF
  1925. exec 5>>config.log
  1926. {
  1927. cat <<_ASUNAME
  1928. ## --------- ##
  1929. ## Platform. ##
  1930. ## --------- ##
  1931.  
  1932. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1933. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1934. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1935. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1936. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1937.  
  1938. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1939. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1940.  
  1941. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1942. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1943. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1944. /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1945. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1946. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1947. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1948.  
  1949. _ASUNAME
  1950.  
  1951. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1952. for as_dir in $PATH
  1953. do
  1954.   IFS=$as_save_IFS
  1955.   test -z "$as_dir" && as_dir=.
  1956.     $as_echo "PATH: $as_dir"
  1957.   done
  1958. IFS=$as_save_IFS
  1959.  
  1960. } >&5
  1961.  
  1962. cat >&5 <<_ACEOF
  1963.  
  1964.  
  1965. ## ----------- ##
  1966. ## Core tests. ##
  1967. ## ----------- ##
  1968.  
  1969. _ACEOF
  1970.  
  1971.  
  1972. # Keep a trace of the command line.
  1973. # Strip out --no-create and --no-recursion so they do not pile up.
  1974. # Strip out --silent because we don't want to record it for future runs.
  1975. # Also quote any args containing shell meta-characters.
  1976. # Make two passes to allow for proper duplicate-argument suppression.
  1977. ac_configure_args=
  1978. ac_configure_args0=
  1979. ac_configure_args1=
  1980. ac_must_keep_next=false
  1981. for ac_pass in 1 2
  1982. do
  1983.   for ac_arg
  1984.   do
  1985.     case $ac_arg in
  1986.     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1987.     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1988.     | -silent | --silent | --silen | --sile | --sil)
  1989.       continue ;;
  1990.     *\'*)
  1991.      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1992.    esac
  1993.    case $ac_pass in
  1994.    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1995.    2)
  1996.      as_fn_append ac_configure_args1 " '$ac_arg'"
  1997.      if test $ac_must_keep_next = true; then
  1998.     ac_must_keep_next=false # Got value, back to normal.
  1999.      else
  2000.     case $ac_arg in
  2001.       *=* | --config-cache | -C | -disable-* | --disable-* \
  2002.       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2003.       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2004.       | -with-* | --with-* | -without-* | --without-* | --x)
  2005.         case "$ac_configure_args0 " in
  2006.           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2007.         esac
  2008.         ;;
  2009.       -* ) ac_must_keep_next=true ;;
  2010.     esac
  2011.      fi
  2012.      as_fn_append ac_configure_args " '$ac_arg'"
  2013.      ;;
  2014.    esac
  2015.  done
  2016. done
  2017. { ac_configure_args0=; unset ac_configure_args0;}
  2018. { ac_configure_args1=; unset ac_configure_args1;}
  2019.  
  2020. # When interrupted or exit'd, cleanup temporary files, and complete
  2021. # config.log.  We remove comments because anyway the quotes in there
  2022. # would cause problems or look ugly.
  2023. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2024. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2025. trap 'exit_status=$?
  2026.  # Save into config.log some information that might help in debugging.
  2027.  {
  2028.    echo
  2029.  
  2030.    $as_echo "## ---------------- ##
  2031. ## Cache variables. ##
  2032. ## ---------------- ##"
  2033.    echo
  2034.    # The following way of writing the cache mishandles newlines in values,
  2035. (
  2036.  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2037.     eval ac_val=\$$ac_var
  2038.     case $ac_val in #(
  2039.     *${as_nl}*)
  2040.       case $ac_var in #(
  2041.       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2042. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2043.       esac
  2044.       case $ac_var in #(
  2045.       _ | IFS | as_nl) ;; #(
  2046.       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2047.       *) { eval $ac_var=; unset $ac_var;} ;;
  2048.       esac ;;
  2049.     esac
  2050.   done
  2051.   (set) 2>&1 |
  2052.     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2053.     *${as_nl}ac_space=\ *)
  2054.       sed -n \
  2055.     "s/'\''/'\''\\\\'\'''\''/g;
  2056.       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2057.       ;; #(
  2058.     *)
  2059.       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2060.       ;;
  2061.     esac |
  2062.     sort
  2063. )
  2064.     echo
  2065.  
  2066.     $as_echo "## ----------------- ##
  2067. ## Output variables. ##
  2068. ## ----------------- ##"
  2069.     echo
  2070.     for ac_var in $ac_subst_vars
  2071.     do
  2072.       eval ac_val=\$$ac_var
  2073.       case $ac_val in
  2074.       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2075.       esac
  2076.       $as_echo "$ac_var='\''$ac_val'\''"
  2077.     done | sort
  2078.     echo
  2079.  
  2080.     if test -n "$ac_subst_files"; then
  2081.       $as_echo "## ------------------- ##
  2082. ## File substitutions. ##
  2083. ## ------------------- ##"
  2084.       echo
  2085.       for ac_var in $ac_subst_files
  2086.       do
  2087.     eval ac_val=\$$ac_var
  2088.     case $ac_val in
  2089.     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2090.     esac
  2091.     $as_echo "$ac_var='\''$ac_val'\''"
  2092.       done | sort
  2093.       echo
  2094.     fi
  2095.  
  2096.     if test -s confdefs.h; then
  2097.       $as_echo "## ----------- ##
  2098. ## confdefs.h. ##
  2099. ## ----------- ##"
  2100.       echo
  2101.       cat confdefs.h
  2102.       echo
  2103.     fi
  2104.     test "$ac_signal" != 0 &&
  2105.       $as_echo "$as_me: caught signal $ac_signal"
  2106.     $as_echo "$as_me: exit $exit_status"
  2107.   } >&5
  2108.   rm -f core *.core core.conftest.* &&
  2109.     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2110.     exit $exit_status
  2111. ' 0
  2112. for ac_signal in 1 2 13 15; do
  2113.  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2114. done
  2115. ac_signal=0
  2116.  
  2117. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2118. rm -f -r conftest* confdefs.h
  2119.  
  2120. $as_echo "/* confdefs.h */" > confdefs.h
  2121.  
  2122. # Predefined preprocessor variables.
  2123.  
  2124. cat >>confdefs.h <<_ACEOF
  2125. #define PACKAGE_NAME "$PACKAGE_NAME"
  2126. _ACEOF
  2127.  
  2128. cat >>confdefs.h <<_ACEOF
  2129. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2130. _ACEOF
  2131.  
  2132. cat >>confdefs.h <<_ACEOF
  2133. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2134. _ACEOF
  2135.  
  2136. cat >>confdefs.h <<_ACEOF
  2137. #define PACKAGE_STRING "$PACKAGE_STRING"
  2138. _ACEOF
  2139.  
  2140. cat >>confdefs.h <<_ACEOF
  2141. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2142. _ACEOF
  2143.  
  2144. cat >>confdefs.h <<_ACEOF
  2145. #define PACKAGE_URL "$PACKAGE_URL"
  2146. _ACEOF
  2147.  
  2148.  
  2149. # Let the site file select an alternate cache file if it wants to.
  2150. # Prefer an explicitly selected file to automatically selected ones.
  2151. ac_site_file1=NONE
  2152. ac_site_file2=NONE
  2153. if test -n "$CONFIG_SITE"; then
  2154.  # We do not want a PATH search for config.site.
  2155.  case $CONFIG_SITE in #((
  2156.    -*)  ac_site_file1=./$CONFIG_SITE;;
  2157.    */*) ac_site_file1=$CONFIG_SITE;;
  2158.    *)   ac_site_file1=./$CONFIG_SITE;;
  2159.  esac
  2160. elif test "x$prefix" != xNONE; then
  2161.  ac_site_file1=$prefix/share/config.site
  2162.  ac_site_file2=$prefix/etc/config.site
  2163. else
  2164.  ac_site_file1=$ac_default_prefix/share/config.site
  2165.  ac_site_file2=$ac_default_prefix/etc/config.site
  2166. fi
  2167. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2168. do
  2169.  test "x$ac_site_file" = xNONE && continue
  2170.  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2171.    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2172. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2173.    sed 's/^/| /' "$ac_site_file" >&5
  2174.    . "$ac_site_file" \
  2175.      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2176. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2177. as_fn_error $? "failed to load site script $ac_site_file
  2178. See \`config.log' for more details" "$LINENO" 5; }
  2179.  fi
  2180. done
  2181.  
  2182. if test -r "$cache_file"; then
  2183.  # Some versions of bash will fail to source /dev/null (special files
  2184.  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  2185.  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2186.    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2187. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2188.    case $cache_file in
  2189.      [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2190.      *)                      . "./$cache_file";;
  2191.    esac
  2192.  fi
  2193. else
  2194.  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2195. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2196.  >$cache_file
  2197. fi
  2198.  
  2199. # Check that the precious variables saved in the cache have kept the same
  2200. # value.
  2201. ac_cache_corrupted=false
  2202. for ac_var in $ac_precious_vars; do
  2203.  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2204.  eval ac_new_set=\$ac_env_${ac_var}_set
  2205.  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2206.  eval ac_new_val=\$ac_env_${ac_var}_value
  2207.  case $ac_old_set,$ac_new_set in
  2208.    set,)
  2209.      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2210. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2211.      ac_cache_corrupted=: ;;
  2212.    ,set)
  2213.      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2214. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2215.      ac_cache_corrupted=: ;;
  2216.    ,);;
  2217.    *)
  2218.      if test "x$ac_old_val" != "x$ac_new_val"; then
  2219.     # differences in whitespace do not lead to failure.
  2220.     ac_old_val_w=`echo x $ac_old_val`
  2221.     ac_new_val_w=`echo x $ac_new_val`
  2222.     if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2223.       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2224. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2225.       ac_cache_corrupted=:
  2226.     else
  2227.       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2228. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2229.       eval $ac_var=\$ac_old_val
  2230.     fi
  2231.     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  2232. $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2233.     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  2234. $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2235.      fi;;
  2236.  esac
  2237.  # Pass precious variables to config.status.
  2238.  if test "$ac_new_set" = set; then
  2239.    case $ac_new_val in
  2240.    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2241.    *) ac_arg=$ac_var=$ac_new_val ;;
  2242.    esac
  2243.    case " $ac_configure_args " in
  2244.      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2245.      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2246.    esac
  2247.  fi
  2248. done
  2249. if $ac_cache_corrupted; then
  2250.  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2251. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2252.  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2253. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2254.  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2255. fi
  2256. ## -------------------- ##
  2257. ## Main body of script. ##
  2258. ## -------------------- ##
  2259.  
  2260. ac_ext=c
  2261. ac_cpp='$CPP $CPPFLAGS'
  2262. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2263. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2264. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2265.  
  2266.  
  2267.  
  2268. ac_config_headers="$ac_config_headers config.h"
  2269.  
  2270. ac_aux_dir=
  2271. for ac_dir in config "$srcdir"/config; do
  2272.  if test -f "$ac_dir/install-sh"; then
  2273.    ac_aux_dir=$ac_dir
  2274.    ac_install_sh="$ac_aux_dir/install-sh -c"
  2275.    break
  2276.  elif test -f "$ac_dir/install.sh"; then
  2277.    ac_aux_dir=$ac_dir
  2278.    ac_install_sh="$ac_aux_dir/install.sh -c"
  2279.    break
  2280.  elif test -f "$ac_dir/shtool"; then
  2281.    ac_aux_dir=$ac_dir
  2282.    ac_install_sh="$ac_aux_dir/shtool install -c"
  2283.    break
  2284.  fi
  2285. done
  2286. if test -z "$ac_aux_dir"; then
  2287.  as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
  2288. fi
  2289.  
  2290. # These three variables are undocumented and unsupported,
  2291. # and are intended to be withdrawn in a future Autoconf release.
  2292. # They can cause serious problems if a builder's source tree is in a directory
  2293. # whose full name contains unusual characters.
  2294. ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2295. ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2296. ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2297.  
  2298.  
  2299.  
  2300. am__api_version='1.14'
  2301.  
  2302. # Find a good install program.  We prefer a C program (faster),
  2303. # so one script is as good as another.  But avoid the broken or
  2304. # incompatible versions:
  2305. # SysV /etc/install, /usr/sbin/install
  2306. # SunOS /usr/etc/install
  2307. # IRIX /sbin/install
  2308. # AIX /bin/install
  2309. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2310. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2311. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2312. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2313. # OS/2's system install, which has a completely different semantic
  2314. # ./install, which can be erroneously created by make from ./install.sh.
  2315. # Reject install programs that cannot install multiple files.
  2316. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2317. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2318. if test -z "$INSTALL"; then
  2319. if ${ac_cv_path_install+:} false; then :
  2320.   $as_echo_n "(cached) " >&6
  2321. else
  2322.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2323. for as_dir in $PATH
  2324. do
  2325.   IFS=$as_save_IFS
  2326.   test -z "$as_dir" && as_dir=.
  2327.     # Account for people who put trailing slashes in PATH elements.
  2328. case $as_dir/ in #((
  2329.   ./ | .// | /[cC]/* | \
  2330.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2331.   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2332.   /usr/ucb/* ) ;;
  2333.   *)
  2334.     # OSF1 and SCO ODT 3.0 have their own names for install.
  2335.     # Don't use installbsd from OSF since it installs stuff as root
  2336.     # by default.
  2337.     for ac_prog in ginstall scoinst install; do
  2338.       for ac_exec_ext in '' $ac_executable_extensions; do
  2339.     if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2340.       if test $ac_prog = install &&
  2341.         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2342.         # AIX install.  It has an incompatible calling convention.
  2343.         :
  2344.       elif test $ac_prog = install &&
  2345.         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2346.         # program-specific install script used by HP pwplus--don't use.
  2347.         :
  2348.       else
  2349.         rm -rf conftest.one conftest.two conftest.dir
  2350.         echo one > conftest.one
  2351.         echo two > conftest.two
  2352.         mkdir conftest.dir
  2353.         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2354.           test -s conftest.one && test -s conftest.two &&
  2355.           test -s conftest.dir/conftest.one &&
  2356.           test -s conftest.dir/conftest.two
  2357.         then
  2358.           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2359.           break 3
  2360.         fi
  2361.       fi
  2362.     fi
  2363.       done
  2364.     done
  2365.     ;;
  2366. esac
  2367.  
  2368.   done
  2369. IFS=$as_save_IFS
  2370.  
  2371. rm -rf conftest.one conftest.two conftest.dir
  2372.  
  2373. fi
  2374.   if test "${ac_cv_path_install+set}" = set; then
  2375.     INSTALL=$ac_cv_path_install
  2376.   else
  2377.     # As a last resort, use the slow shell script.  Don't cache a
  2378.     # value for INSTALL within a source directory, because that will
  2379.     # break other packages using the cache if that directory is
  2380.     # removed, or if the value is a relative name.
  2381.     INSTALL=$ac_install_sh
  2382.   fi
  2383. fi
  2384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2385. $as_echo "$INSTALL" >&6; }
  2386.  
  2387. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2388. # It thinks the first close brace ends the variable substitution.
  2389. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2390.  
  2391. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2392.  
  2393. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2394.  
  2395. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2396. $as_echo_n "checking whether build environment is sane... " >&6; }
  2397. # Reject unsafe characters in $srcdir or the absolute working directory
  2398. # name.  Accept space and tab only in the latter.
  2399. am_lf='
  2400. '
  2401. case `pwd` in
  2402.   *[\\\"\#\$\&\'\`$am_lf]*)
  2403.    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2404. esac
  2405. case $srcdir in
  2406.   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2407.    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2408. esac
  2409.  
  2410. # Do 'set' in a subshell so we don't clobber the current shell's
  2411. # arguments.  Must try -L first in case configure is actually a
  2412. # symlink; some systems play weird games with the mod time of symlinks
  2413. # (eg FreeBSD returns the mod time of the symlink's containing
  2414. # directory).
  2415. if (
  2416.   am_has_slept=no
  2417.   for am_try in 1 2; do
  2418.     echo "timestamp, slept: $am_has_slept" > conftest.file
  2419.     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2420.     if test "$*" = "X"; then
  2421.     # -L didn't work.
  2422.     set X `ls -t "$srcdir/configure" conftest.file`
  2423.     fi
  2424.     if test "$*" != "X $srcdir/configure conftest.file" \
  2425.     && test "$*" != "X conftest.file $srcdir/configure"; then
  2426.  
  2427.     # If neither matched, then we have a broken ls.  This can happen
  2428.     # if, for instance, CONFIG_SHELL is bash and it inherits a
  2429.     # broken ls alias from the environment.  This has actually
  2430.     # happened.  Such a system could not be considered "sane".
  2431.     as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
  2432.   alias in your environment" "$LINENO" 5
  2433.     fi
  2434.     if test "$2" = conftest.file || test $am_try -eq 2; then
  2435.       break
  2436.     fi
  2437.     # Just in case.
  2438.     sleep 1
  2439.     am_has_slept=yes
  2440.   done
  2441.   test "$2" = conftest.file
  2442.   )
  2443. then
  2444.   # Ok.
  2445.   :
  2446. else
  2447.   as_fn_error $? "newly created file is older than distributed files!
  2448. Check your system clock" "$LINENO" 5
  2449. fi
  2450. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2451. $as_echo "yes" >&6; }
  2452. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2453. # generated files are strictly newer.
  2454. am_sleep_pid=
  2455. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2456.  ( sleep 1 ) &
  2457.  am_sleep_pid=$!
  2458. fi
  2459.  
  2460. rm -f conftest.file
  2461.  
  2462. test "$program_prefix" != NONE &&
  2463.  program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2464. # Use a double $ so make ignores it.
  2465. test "$program_suffix" != NONE &&
  2466.  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2467. # Double any \ or $.
  2468. # By default was `s,x,x', remove it if useless.
  2469. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2470. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2471.  
  2472. # expand $ac_aux_dir to an absolute path
  2473. am_aux_dir=`cd $ac_aux_dir && pwd`
  2474.  
  2475. if test x"${MISSING+set}" != xset; then
  2476.  case $am_aux_dir in
  2477.   *\ * | *\ *)
  2478.    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2479.   *)
  2480.     MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2481.   esac
  2482. fi
  2483. # Use eval to expand $SHELL
  2484. if eval "$MISSING --is-lightweight"; then
  2485.   am_missing_run="$MISSING "
  2486. else
  2487.   am_missing_run=
  2488.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2489. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2490. fi
  2491.  
  2492. if test x"${install_sh}" != xset; then
  2493.   case $am_aux_dir in
  2494.   *\ * | *\ *)
  2495.     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2496.   *)
  2497.     install_sh="\${SHELL} $am_aux_dir/install-sh"
  2498.   esac
  2499. fi
  2500.  
  2501. # Installed binaries are usually stripped using 'strip' when the user
  2502. # run "make install-strip".  However 'strip' might not be the right
  2503. # tool to use in cross-compilation environments, therefore Automake
  2504. # will honor the 'STRIP' environment variable to overrule this program.
  2505. if test "$cross_compiling" != no; then
  2506.   if test -n "$ac_tool_prefix"; then
  2507.   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2508. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2509. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2510. $as_echo_n "checking for $ac_word... " >&6; }
  2511. if ${ac_cv_prog_STRIP+:} false; then :
  2512.   $as_echo_n "(cached) " >&6
  2513. else
  2514.   if test -n "$STRIP"; then
  2515.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2516. else
  2517. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2518. for as_dir in $PATH
  2519. do
  2520.   IFS=$as_save_IFS
  2521.   test -z "$as_dir" && as_dir=.
  2522.     for ac_exec_ext in '' $ac_executable_extensions; do
  2523.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2524.     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2525.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2526.     break 2
  2527.   fi
  2528. done
  2529.   done
  2530. IFS=$as_save_IFS
  2531.  
  2532. fi
  2533. fi
  2534. STRIP=$ac_cv_prog_STRIP
  2535. if test -n "$STRIP"; then
  2536.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2537. $as_echo "$STRIP" >&6; }
  2538. else
  2539.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2540. $as_echo "no" >&6; }
  2541. fi
  2542.  
  2543.  
  2544. fi
  2545. if test -z "$ac_cv_prog_STRIP"; then
  2546.   ac_ct_STRIP=$STRIP
  2547.   # Extract the first word of "strip", so it can be a program name with args.
  2548. set dummy strip; ac_word=$2
  2549. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2550. $as_echo_n "checking for $ac_word... " >&6; }
  2551. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2552.   $as_echo_n "(cached) " >&6
  2553. else
  2554.   if test -n "$ac_ct_STRIP"; then
  2555.   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2556. else
  2557. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2558. for as_dir in $PATH
  2559. do
  2560.   IFS=$as_save_IFS
  2561.   test -z "$as_dir" && as_dir=.
  2562.     for ac_exec_ext in '' $ac_executable_extensions; do
  2563.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2564.     ac_cv_prog_ac_ct_STRIP="strip"
  2565.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2566.     break 2
  2567.   fi
  2568. done
  2569.   done
  2570. IFS=$as_save_IFS
  2571.  
  2572. fi
  2573. fi
  2574. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2575. if test -n "$ac_ct_STRIP"; then
  2576.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2577. $as_echo "$ac_ct_STRIP" >&6; }
  2578. else
  2579.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2580. $as_echo "no" >&6; }
  2581. fi
  2582.  
  2583.   if test "x$ac_ct_STRIP" = x; then
  2584.     STRIP=":"
  2585.   else
  2586.     case $cross_compiling:$ac_tool_warned in
  2587. yes:)
  2588. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2589. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2590. ac_tool_warned=yes ;;
  2591. esac
  2592.     STRIP=$ac_ct_STRIP
  2593.   fi
  2594. else
  2595.   STRIP="$ac_cv_prog_STRIP"
  2596. fi
  2597.  
  2598. fi
  2599. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2600.  
  2601. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2602. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2603. if test -z "$MKDIR_P"; then
  2604.   if ${ac_cv_path_mkdir+:} false; then :
  2605.   $as_echo_n "(cached) " >&6
  2606. else
  2607.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2608. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2609. do
  2610.   IFS=$as_save_IFS
  2611.   test -z "$as_dir" && as_dir=.
  2612.     for ac_prog in mkdir gmkdir; do
  2613.      for ac_exec_ext in '' $ac_executable_extensions; do
  2614.        as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2615.        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2616.          'mkdir (GNU coreutils) '* | \
  2617.          'mkdir (coreutils) '* | \
  2618.          'mkdir (fileutils) '4.1*)
  2619.            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2620.            break 3;;
  2621.        esac
  2622.      done
  2623.        done
  2624.   done
  2625. IFS=$as_save_IFS
  2626.  
  2627. fi
  2628.  
  2629.   test -d ./--version && rmdir ./--version
  2630.   if test "${ac_cv_path_mkdir+set}" = set; then
  2631.     MKDIR_P="$ac_cv_path_mkdir -p"
  2632.   else
  2633.     # As a last resort, use the slow shell script.  Don't cache a
  2634.     # value for MKDIR_P within a source directory, because that will
  2635.     # break other packages using the cache if that directory is
  2636.     # removed, or if the value is a relative name.
  2637.     MKDIR_P="$ac_install_sh -d"
  2638.   fi
  2639. fi
  2640. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2641. $as_echo "$MKDIR_P" >&6; }
  2642.  
  2643. for ac_prog in gawk mawk nawk awk
  2644. do
  2645.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2646. set dummy $ac_prog; ac_word=$2
  2647. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2648. $as_echo_n "checking for $ac_word... " >&6; }
  2649. if ${ac_cv_prog_AWK+:} false; then :
  2650.   $as_echo_n "(cached) " >&6
  2651. else
  2652.   if test -n "$AWK"; then
  2653.   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2654. else
  2655. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2656. for as_dir in $PATH
  2657. do
  2658.   IFS=$as_save_IFS
  2659.   test -z "$as_dir" && as_dir=.
  2660.     for ac_exec_ext in '' $ac_executable_extensions; do
  2661.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2662.     ac_cv_prog_AWK="$ac_prog"
  2663.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2664.     break 2
  2665.   fi
  2666. done
  2667.   done
  2668. IFS=$as_save_IFS
  2669.  
  2670. fi
  2671. fi
  2672. AWK=$ac_cv_prog_AWK
  2673. if test -n "$AWK"; then
  2674.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2675. $as_echo "$AWK" >&6; }
  2676. else
  2677.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2678. $as_echo "no" >&6; }
  2679. fi
  2680.  
  2681.  
  2682.   test -n "$AWK" && break
  2683. done
  2684.  
  2685. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2686. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2687. set x ${MAKE-make}
  2688. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2689. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2690.   $as_echo_n "(cached) " >&6
  2691. else
  2692.   cat >conftest.make <<\_ACEOF
  2693. SHELL = /bin/sh
  2694. all:
  2695.     @echo '@@@%%%=$(MAKE)=@@@%%%'
  2696. _ACEOF
  2697. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2698. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2699.   *@@@%%%=?*=@@@%%%*)
  2700.     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2701.   *)
  2702.     eval ac_cv_prog_make_${ac_make}_set=no;;
  2703. esac
  2704. rm -f conftest.make
  2705. fi
  2706. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2707.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2708. $as_echo "yes" >&6; }
  2709.   SET_MAKE=
  2710. else
  2711.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2712. $as_echo "no" >&6; }
  2713.   SET_MAKE="MAKE=${MAKE-make}"
  2714. fi
  2715.  
  2716. rm -rf .tst 2>/dev/null
  2717. mkdir .tst 2>/dev/null
  2718. if test -d .tst; then
  2719.   am__leading_dot=.
  2720. else
  2721.   am__leading_dot=_
  2722. fi
  2723. rmdir .tst 2>/dev/null
  2724.  
  2725. # Check whether --enable-silent-rules was given.
  2726. if test "${enable_silent_rules+set}" = set; then :
  2727.   enableval=$enable_silent_rules;
  2728. fi
  2729.  
  2730. case $enable_silent_rules in # (((
  2731.   yes) AM_DEFAULT_VERBOSITY=0;;
  2732.    no) AM_DEFAULT_VERBOSITY=1;;
  2733.     *) AM_DEFAULT_VERBOSITY=1;;
  2734. esac
  2735. am_make=${MAKE-make}
  2736. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2737. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2738. if ${am_cv_make_support_nested_variables+:} false; then :
  2739.   $as_echo_n "(cached) " >&6
  2740. else
  2741.   if $as_echo 'TRUE=$(BAR$(V))
  2742. BAR0=false
  2743. BAR1=true
  2744. V=1
  2745. am__doit:
  2746.     @$(TRUE)
  2747. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2748.   am_cv_make_support_nested_variables=yes
  2749. else
  2750.   am_cv_make_support_nested_variables=no
  2751. fi
  2752. fi
  2753. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2754. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2755. if test $am_cv_make_support_nested_variables = yes; then
  2756.     AM_V='$(V)'
  2757.   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2758. else
  2759.   AM_V=$AM_DEFAULT_VERBOSITY
  2760.   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2761. fi
  2762. AM_BACKSLASH='\'
  2763.  
  2764. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2765.  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2766.   # is not polluted with repeated "-I."
  2767.   am__isrc=' -I$(srcdir)'
  2768.   # test to see if srcdir already configured
  2769.   if test -f $srcdir/config.status; then
  2770.     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2771.   fi
  2772. fi
  2773.  
  2774. # test whether we have cygpath
  2775. if test -z "$CYGPATH_W"; then
  2776.   if (cygpath --version) >/dev/null 2>/dev/null; then
  2777.     CYGPATH_W='cygpath -w'
  2778.   else
  2779.     CYGPATH_W=echo
  2780.   fi
  2781. fi
  2782.  
  2783.  
  2784. # Define the identity of the package.
  2785.  PACKAGE='motoko'
  2786.  VERSION='0.1.0'
  2787.  
  2788.  
  2789. cat >>confdefs.h <<_ACEOF
  2790. #define PACKAGE "$PACKAGE"
  2791. _ACEOF
  2792.  
  2793.  
  2794. cat >>confdefs.h <<_ACEOF
  2795. #define VERSION "$VERSION"
  2796. _ACEOF
  2797.  
  2798. # Some tools Automake needs.
  2799.  
  2800. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2801.  
  2802.  
  2803. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2804.  
  2805.  
  2806. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2807.  
  2808.  
  2809. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2810.  
  2811.  
  2812. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2813.  
  2814. # For better backward compatibility.  To be removed once Automake 1.9.x
  2815. # dies out for good.  For more background, see:
  2816. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2817. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2818. mkdir_p='$(MKDIR_P)'
  2819.  
  2820. # We need awk for the "check" target.  The system "awk" is bad on
  2821. # some platforms.
  2822. # Always define AMTAR for backward compatibility.  Yes, it's still used
  2823. # in the wild :-(  We should find a proper way to deprecate it ...
  2824. AMTAR='$${TAR-tar}'
  2825.  
  2826.  
  2827. # We'll loop over all known methods to create a tar archive until one works.
  2828. _am_tools='gnutar  pax cpio none'
  2829.  
  2830. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837. # POSIX will say in a future version that running "rm -f" with no argument
  2838. # is OK; and we want to be able to make that assumption in our Makefile
  2839. # recipes.  So use an aggressive probe to check that the usage we want is
  2840. # actually supported "in the wild" to an acceptable degree.
  2841. # See automake bug#10828.
  2842. # To make any issue more visible, cause the running configure to be aborted
  2843. # by default if the 'rm' program in use doesn't match our expectations; the
  2844. # user can still override this though.
  2845. if rm -f && rm -fr && rm -rf; then : OK; else
  2846.   cat >&2 <<'END'
  2847. Oops!
  2848.  
  2849. Your 'rm' program seems unable to run without file operands specified
  2850. on the command line, even when the '-f' option is present.  This is contrary
  2851. to the behaviour of most rm programs out there, and not conforming with
  2852. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2853.  
  2854. Please tell bug-automake@gnu.org about your system, including the value
  2855. of your $PATH and any error possibly output before this message.  This
  2856. can help us improve future automake versions.
  2857.  
  2858. END
  2859.   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2860.     echo 'Configuration will proceed anyway, since you have set the' >&2
  2861.     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2862.     echo >&2
  2863.   else
  2864.     cat >&2 <<'END'
  2865. Aborting the configuration process, to ensure you take notice of the issue.
  2866.  
  2867. You can download and install GNU coreutils to get an 'rm' implementation
  2868. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  2869.  
  2870. If you want to complete the configuration process using your problematic
  2871. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2872. to "yes", and re-run configure.
  2873.  
  2874. END
  2875.     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2876.   fi
  2877. fi
  2878.  
  2879.  
  2880. DEPDIR="${am__leading_dot}deps"
  2881.  
  2882. ac_config_commands="$ac_config_commands depfiles"
  2883.  
  2884.  
  2885. am_make=${MAKE-make}
  2886. cat > confinc << 'END'
  2887. am__doit:
  2888.     @echo this is the am__doit target
  2889. .PHONY: am__doit
  2890. END
  2891. # If we don't find an include directive, just comment out the code.
  2892. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  2893. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2894. am__include="#"
  2895. am__quote=
  2896. _am_result=none
  2897. # First try GNU make style include.
  2898. echo "include confinc" > confmf
  2899. # Ignore all kinds of additional output from 'make'.
  2900. case `$am_make -s -f confmf 2> /dev/null` in #(
  2901. *the\ am__doit\ target*)
  2902.   am__include=include
  2903.   am__quote=
  2904.   _am_result=GNU
  2905.   ;;
  2906. esac
  2907. # Now try BSD make style include.
  2908. if test "$am__include" = "#"; then
  2909.    echo '.include "confinc"' > confmf
  2910.    case `$am_make -s -f confmf 2> /dev/null` in #(
  2911.    *the\ am__doit\ target*)
  2912.      am__include=.include
  2913.      am__quote="\""
  2914.      _am_result=BSD
  2915.      ;;
  2916.    esac
  2917. fi
  2918.  
  2919.  
  2920. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  2921. $as_echo "$_am_result" >&6; }
  2922. rm -f confinc confmf
  2923.  
  2924. # Check whether --enable-dependency-tracking was given.
  2925. if test "${enable_dependency_tracking+set}" = set; then :
  2926.   enableval=$enable_dependency_tracking;
  2927. fi
  2928.  
  2929. if test "x$enable_dependency_tracking" != xno; then
  2930.   am_depcomp="$ac_aux_dir/depcomp"
  2931.   AMDEPBACKSLASH='\'
  2932.  am__nodep='_no'
  2933. fi
  2934. if test "x$enable_dependency_tracking" != xno; then
  2935.  AMDEP_TRUE=
  2936.  AMDEP_FALSE='#'
  2937. else
  2938.   AMDEP_TRUE='#'
  2939.   AMDEP_FALSE=
  2940. fi
  2941.  
  2942.  
  2943. ac_ext=c
  2944. ac_cpp='$CPP $CPPFLAGS'
  2945. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2946. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2947. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2948. if test -n "$ac_tool_prefix"; then
  2949.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2950. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2951. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2952. $as_echo_n "checking for $ac_word... " >&6; }
  2953. if ${ac_cv_prog_CC+:} false; then :
  2954.   $as_echo_n "(cached) " >&6
  2955. else
  2956.   if test -n "$CC"; then
  2957.   ac_cv_prog_CC="$CC" # Let the user override the test.
  2958. else
  2959. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2960. for as_dir in $PATH
  2961. do
  2962.   IFS=$as_save_IFS
  2963.   test -z "$as_dir" && as_dir=.
  2964.     for ac_exec_ext in '' $ac_executable_extensions; do
  2965.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2966.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2967.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2968.     break 2
  2969.   fi
  2970. done
  2971.   done
  2972. IFS=$as_save_IFS
  2973.  
  2974. fi
  2975. fi
  2976. CC=$ac_cv_prog_CC
  2977. if test -n "$CC"; then
  2978.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2979. $as_echo "$CC" >&6; }
  2980. else
  2981.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2982. $as_echo "no" >&6; }
  2983. fi
  2984.  
  2985.  
  2986. fi
  2987. if test -z "$ac_cv_prog_CC"; then
  2988.   ac_ct_CC=$CC
  2989.   # Extract the first word of "gcc", so it can be a program name with args.
  2990. set dummy gcc; ac_word=$2
  2991. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2992. $as_echo_n "checking for $ac_word... " >&6; }
  2993. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2994.   $as_echo_n "(cached) " >&6
  2995. else
  2996.   if test -n "$ac_ct_CC"; then
  2997.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2998. else
  2999. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3000. for as_dir in $PATH
  3001. do
  3002.   IFS=$as_save_IFS
  3003.   test -z "$as_dir" && as_dir=.
  3004.     for ac_exec_ext in '' $ac_executable_extensions; do
  3005.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3006.     ac_cv_prog_ac_ct_CC="gcc"
  3007.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3008.     break 2
  3009.   fi
  3010. done
  3011.   done
  3012. IFS=$as_save_IFS
  3013.  
  3014. fi
  3015. fi
  3016. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3017. if test -n "$ac_ct_CC"; then
  3018.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3019. $as_echo "$ac_ct_CC" >&6; }
  3020. else
  3021.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3022. $as_echo "no" >&6; }
  3023. fi
  3024.  
  3025.   if test "x$ac_ct_CC" = x; then
  3026.     CC=""
  3027.   else
  3028.     case $cross_compiling:$ac_tool_warned in
  3029. yes:)
  3030. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3031. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3032. ac_tool_warned=yes ;;
  3033. esac
  3034.     CC=$ac_ct_CC
  3035.   fi
  3036. else
  3037.   CC="$ac_cv_prog_CC"
  3038. fi
  3039.  
  3040. if test -z "$CC"; then
  3041.           if test -n "$ac_tool_prefix"; then
  3042.     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3043. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3044. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3045. $as_echo_n "checking for $ac_word... " >&6; }
  3046. if ${ac_cv_prog_CC+:} false; then :
  3047.   $as_echo_n "(cached) " >&6
  3048. else
  3049.   if test -n "$CC"; then
  3050.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3051. else
  3052. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3053. for as_dir in $PATH
  3054. do
  3055.   IFS=$as_save_IFS
  3056.   test -z "$as_dir" && as_dir=.
  3057.     for ac_exec_ext in '' $ac_executable_extensions; do
  3058.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3059.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3060.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3061.     break 2
  3062.   fi
  3063. done
  3064.   done
  3065. IFS=$as_save_IFS
  3066.  
  3067. fi
  3068. fi
  3069. CC=$ac_cv_prog_CC
  3070. if test -n "$CC"; then
  3071.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3072. $as_echo "$CC" >&6; }
  3073. else
  3074.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3075. $as_echo "no" >&6; }
  3076. fi
  3077.  
  3078.  
  3079.   fi
  3080. fi
  3081. if test -z "$CC"; then
  3082.   # Extract the first word of "cc", so it can be a program name with args.
  3083. set dummy cc; ac_word=$2
  3084. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3085. $as_echo_n "checking for $ac_word... " >&6; }
  3086. if ${ac_cv_prog_CC+:} false; then :
  3087.   $as_echo_n "(cached) " >&6
  3088. else
  3089.   if test -n "$CC"; then
  3090.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3091. else
  3092.   ac_prog_rejected=no
  3093. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3094. for as_dir in $PATH
  3095. do
  3096.   IFS=$as_save_IFS
  3097.   test -z "$as_dir" && as_dir=.
  3098.     for ac_exec_ext in '' $ac_executable_extensions; do
  3099.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3100.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3101.        ac_prog_rejected=yes
  3102.        continue
  3103.      fi
  3104.     ac_cv_prog_CC="cc"
  3105.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3106.     break 2
  3107.   fi
  3108. done
  3109.   done
  3110. IFS=$as_save_IFS
  3111.  
  3112. if test $ac_prog_rejected = yes; then
  3113.   # We found a bogon in the path, so make sure we never use it.
  3114.   set dummy $ac_cv_prog_CC
  3115.   shift
  3116.   if test $# != 0; then
  3117.     # We chose a different compiler from the bogus one.
  3118.     # However, it has the same basename, so the bogon will be chosen
  3119.     # first if we set CC to just the basename; use the full file name.
  3120.     shift
  3121.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3122.   fi
  3123. fi
  3124. fi
  3125. fi
  3126. CC=$ac_cv_prog_CC
  3127. if test -n "$CC"; then
  3128.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3129. $as_echo "$CC" >&6; }
  3130. else
  3131.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3132. $as_echo "no" >&6; }
  3133. fi
  3134.  
  3135.  
  3136. fi
  3137. if test -z "$CC"; then
  3138.   if test -n "$ac_tool_prefix"; then
  3139.   for ac_prog in cl.exe
  3140.   do
  3141.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3142. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3143. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3144. $as_echo_n "checking for $ac_word... " >&6; }
  3145. if ${ac_cv_prog_CC+:} false; then :
  3146.   $as_echo_n "(cached) " >&6
  3147. else
  3148.   if test -n "$CC"; then
  3149.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3150. else
  3151. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3152. for as_dir in $PATH
  3153. do
  3154.   IFS=$as_save_IFS
  3155.   test -z "$as_dir" && as_dir=.
  3156.     for ac_exec_ext in '' $ac_executable_extensions; do
  3157.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3158.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3159.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3160.     break 2
  3161.   fi
  3162. done
  3163.   done
  3164. IFS=$as_save_IFS
  3165.  
  3166. fi
  3167. fi
  3168. CC=$ac_cv_prog_CC
  3169. if test -n "$CC"; then
  3170.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3171. $as_echo "$CC" >&6; }
  3172. else
  3173.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3174. $as_echo "no" >&6; }
  3175. fi
  3176.  
  3177.  
  3178.     test -n "$CC" && break
  3179.   done
  3180. fi
  3181. if test -z "$CC"; then
  3182.   ac_ct_CC=$CC
  3183.   for ac_prog in cl.exe
  3184. do
  3185.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3186. set dummy $ac_prog; ac_word=$2
  3187. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3188. $as_echo_n "checking for $ac_word... " >&6; }
  3189. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3190.   $as_echo_n "(cached) " >&6
  3191. else
  3192.   if test -n "$ac_ct_CC"; then
  3193.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3194. else
  3195. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3196. for as_dir in $PATH
  3197. do
  3198.   IFS=$as_save_IFS
  3199.   test -z "$as_dir" && as_dir=.
  3200.     for ac_exec_ext in '' $ac_executable_extensions; do
  3201.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3202.     ac_cv_prog_ac_ct_CC="$ac_prog"
  3203.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3204.     break 2
  3205.   fi
  3206. done
  3207.   done
  3208. IFS=$as_save_IFS
  3209.  
  3210. fi
  3211. fi
  3212. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3213. if test -n "$ac_ct_CC"; then
  3214.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3215. $as_echo "$ac_ct_CC" >&6; }
  3216. else
  3217.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3218. $as_echo "no" >&6; }
  3219. fi
  3220.  
  3221.  
  3222.   test -n "$ac_ct_CC" && break
  3223. done
  3224.  
  3225.   if test "x$ac_ct_CC" = x; then
  3226.     CC=""
  3227.   else
  3228.     case $cross_compiling:$ac_tool_warned in
  3229. yes:)
  3230. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3231. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3232. ac_tool_warned=yes ;;
  3233. esac
  3234.     CC=$ac_ct_CC
  3235.   fi
  3236. fi
  3237.  
  3238. fi
  3239.  
  3240.  
  3241. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3242. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3243. as_fn_error $? "no acceptable C compiler found in \$PATH
  3244. See \`config.log' for more details" "$LINENO" 5; }
  3245.  
  3246. # Provide some information about the compiler.
  3247. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3248. set X $ac_compile
  3249. ac_compiler=$2
  3250. for ac_option in --version -v -V -qversion; do
  3251.   { { ac_try="$ac_compiler $ac_option >&5"
  3252. case "(($ac_try" in
  3253.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3254.  *) ac_try_echo=$ac_try;;
  3255. esac
  3256. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3257. $as_echo "$ac_try_echo"; } >&5
  3258.   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3259.   ac_status=$?
  3260.   if test -s conftest.err; then
  3261.     sed '10a\
  3262. ... rest of stderr output deleted ...
  3263.         10q' conftest.err >conftest.er1
  3264.     cat conftest.er1 >&5
  3265.   fi
  3266.   rm -f conftest.er1 conftest.err
  3267.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3268.   test $ac_status = 0; }
  3269. done
  3270.  
  3271. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3272. /* end confdefs.h.  */
  3273.  
  3274. int
  3275. main ()
  3276. {
  3277.  
  3278.   ;
  3279.   return 0;
  3280. }
  3281. _ACEOF
  3282. ac_clean_files_save=$ac_clean_files
  3283. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3284. # Try to create an executable without -o first, disregard a.out.
  3285. # It will help us diagnose broken compilers, and finding out an intuition
  3286. # of exeext.
  3287. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3288. $as_echo_n "checking whether the C compiler works... " >&6; }
  3289. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3290.  
  3291. # The possible output files:
  3292. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3293.  
  3294. ac_rmfiles=
  3295. for ac_file in $ac_files
  3296. do
  3297.   case $ac_file in
  3298.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3299.     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3300.   esac
  3301. done
  3302. rm -f $ac_rmfiles
  3303.  
  3304. if { { ac_try="$ac_link_default"
  3305. case "(($ac_try" in
  3306.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3307.  *) ac_try_echo=$ac_try;;
  3308. esac
  3309. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3310. $as_echo "$ac_try_echo"; } >&5
  3311.   (eval "$ac_link_default") 2>&5
  3312.   ac_status=$?
  3313.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3314.   test $ac_status = 0; }; then :
  3315.   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3316. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3317. # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3318. # so that the user can short-circuit this test for compilers unknown to
  3319. # Autoconf.
  3320. for ac_file in $ac_files ''
  3321. do
  3322.   test -f "$ac_file" || continue
  3323.   case $ac_file in
  3324.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3325.     ;;
  3326.     [ab].out )
  3327.     # We found the default executable, but exeext='' is most
  3328.     # certainly right.
  3329.     break;;
  3330.     *.* )
  3331.     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3332.     then :; else
  3333.        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3334.     fi
  3335.     # We set ac_cv_exeext here because the later test for it is not
  3336.     # safe: cross compilers may not add the suffix if given an `-o'
  3337.     # argument, so we may need to know it at that point already.
  3338.     # Even if this section looks crufty: it has the advantage of
  3339.     # actually working.
  3340.     break;;
  3341.     * )
  3342.     break;;
  3343.   esac
  3344. done
  3345. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3346.  
  3347. else
  3348.   ac_file=''
  3349. fi
  3350. if test -z "$ac_file"; then :
  3351.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3352. $as_echo "no" >&6; }
  3353. $as_echo "$as_me: failed program was:" >&5
  3354. sed 's/^/| /' conftest.$ac_ext >&5
  3355.  
  3356. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3357. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3358. as_fn_error 77 "C compiler cannot create executables
  3359. See \`config.log' for more details" "$LINENO" 5; }
  3360. else
  3361.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3362. $as_echo "yes" >&6; }
  3363. fi
  3364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3365. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3366. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3367. $as_echo "$ac_file" >&6; }
  3368. ac_exeext=$ac_cv_exeext
  3369.  
  3370. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3371. ac_clean_files=$ac_clean_files_save
  3372. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3373. $as_echo_n "checking for suffix of executables... " >&6; }
  3374. if { { ac_try="$ac_link"
  3375. case "(($ac_try" in
  3376.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3377.  *) ac_try_echo=$ac_try;;
  3378. esac
  3379. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3380. $as_echo "$ac_try_echo"; } >&5
  3381.   (eval "$ac_link") 2>&5
  3382.   ac_status=$?
  3383.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3384.   test $ac_status = 0; }; then :
  3385.   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3386. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3387. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3388. # `rm'.
  3389. for ac_file in conftest.exe conftest conftest.*; do
  3390.   test -f "$ac_file" || continue
  3391.   case $ac_file in
  3392.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3393.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3394.       break;;
  3395.     * ) break;;
  3396.   esac
  3397. done
  3398. else
  3399.   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3400. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3401. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3402. See \`config.log' for more details" "$LINENO" 5; }
  3403. fi
  3404. rm -f conftest conftest$ac_cv_exeext
  3405. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3406. $as_echo "$ac_cv_exeext" >&6; }
  3407.  
  3408. rm -f conftest.$ac_ext
  3409. EXEEXT=$ac_cv_exeext
  3410. ac_exeext=$EXEEXT
  3411. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3412. /* end confdefs.h.  */
  3413. #include <stdio.h>
  3414. int
  3415. main ()
  3416. {
  3417. FILE *f = fopen ("conftest.out", "w");
  3418.  return ferror (f) || fclose (f) != 0;
  3419.  
  3420.   ;
  3421.   return 0;
  3422. }
  3423. _ACEOF
  3424. ac_clean_files="$ac_clean_files conftest.out"
  3425. # Check that the compiler produces executables we can run.  If not, either
  3426. # the compiler is broken, or we cross compile.
  3427. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3428. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3429. if test "$cross_compiling" != yes; then
  3430.   { { ac_try="$ac_link"
  3431. case "(($ac_try" in
  3432.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3433.  *) ac_try_echo=$ac_try;;
  3434. esac
  3435. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3436. $as_echo "$ac_try_echo"; } >&5
  3437.   (eval "$ac_link") 2>&5
  3438.   ac_status=$?
  3439.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3440.   test $ac_status = 0; }
  3441.   if { ac_try='./conftest$ac_cv_exeext'
  3442.   { { case "(($ac_try" in
  3443.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3444.  *) ac_try_echo=$ac_try;;
  3445. esac
  3446. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3447. $as_echo "$ac_try_echo"; } >&5
  3448.   (eval "$ac_try") 2>&5
  3449.   ac_status=$?
  3450.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3451.   test $ac_status = 0; }; }; then
  3452.     cross_compiling=no
  3453.   else
  3454.     if test "$cross_compiling" = maybe; then
  3455.     cross_compiling=yes
  3456.     else
  3457.     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3458. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3459. as_fn_error $? "cannot run C compiled programs.
  3460. If you meant to cross compile, use \`--host'.
  3461. See \`config.log' for more details" "$LINENO" 5; }
  3462.     fi
  3463.   fi
  3464. fi
  3465. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3466. $as_echo "$cross_compiling" >&6; }
  3467.  
  3468. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3469. ac_clean_files=$ac_clean_files_save
  3470. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3471. $as_echo_n "checking for suffix of object files... " >&6; }
  3472. if ${ac_cv_objext+:} false; then :
  3473.   $as_echo_n "(cached) " >&6
  3474. else
  3475.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3476. /* end confdefs.h.  */
  3477.  
  3478. int
  3479. main ()
  3480. {
  3481.  
  3482.   ;
  3483.   return 0;
  3484. }
  3485. _ACEOF
  3486. rm -f conftest.o conftest.obj
  3487. if { { ac_try="$ac_compile"
  3488. case "(($ac_try" in
  3489.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3490.  *) ac_try_echo=$ac_try;;
  3491. esac
  3492. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3493. $as_echo "$ac_try_echo"; } >&5
  3494.   (eval "$ac_compile") 2>&5
  3495.   ac_status=$?
  3496.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3497.   test $ac_status = 0; }; then :
  3498.   for ac_file in conftest.o conftest.obj conftest.*; do
  3499.   test -f "$ac_file" || continue;
  3500.   case $ac_file in
  3501.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3502.     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3503.        break;;
  3504.   esac
  3505. done
  3506. else
  3507.   $as_echo "$as_me: failed program was:" >&5
  3508. sed 's/^/| /' conftest.$ac_ext >&5
  3509.  
  3510. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3511. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3512. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3513. See \`config.log' for more details" "$LINENO" 5; }
  3514. fi
  3515. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3516. fi
  3517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3518. $as_echo "$ac_cv_objext" >&6; }
  3519. OBJEXT=$ac_cv_objext
  3520. ac_objext=$OBJEXT
  3521. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3522. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3523. if ${ac_cv_c_compiler_gnu+:} false; then :
  3524.   $as_echo_n "(cached) " >&6
  3525. else
  3526.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3527. /* end confdefs.h.  */
  3528.  
  3529. int
  3530. main ()
  3531. {
  3532. #ifndef __GNUC__
  3533.        choke me
  3534. #endif
  3535.  
  3536.   ;
  3537.   return 0;
  3538. }
  3539. _ACEOF
  3540. if ac_fn_c_try_compile "$LINENO"; then :
  3541.   ac_compiler_gnu=yes
  3542. else
  3543.   ac_compiler_gnu=no
  3544. fi
  3545. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3546. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3547.  
  3548. fi
  3549. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3550. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3551. if test $ac_compiler_gnu = yes; then
  3552.   GCC=yes
  3553. else
  3554.   GCC=
  3555. fi
  3556. ac_test_CFLAGS=${CFLAGS+set}
  3557. ac_save_CFLAGS=$CFLAGS
  3558. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3559. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3560. if ${ac_cv_prog_cc_g+:} false; then :
  3561.   $as_echo_n "(cached) " >&6
  3562. else
  3563.   ac_save_c_werror_flag=$ac_c_werror_flag
  3564.    ac_c_werror_flag=yes
  3565.    ac_cv_prog_cc_g=no
  3566.    CFLAGS="-g"
  3567.    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3568. /* end confdefs.h.  */
  3569.  
  3570. int
  3571. main ()
  3572. {
  3573.  
  3574.   ;
  3575.   return 0;
  3576. }
  3577. _ACEOF
  3578. if ac_fn_c_try_compile "$LINENO"; then :
  3579.   ac_cv_prog_cc_g=yes
  3580. else
  3581.   CFLAGS=""
  3582.       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3583. /* end confdefs.h.  */
  3584.  
  3585. int
  3586. main ()
  3587. {
  3588.  
  3589.   ;
  3590.   return 0;
  3591. }
  3592. _ACEOF
  3593. if ac_fn_c_try_compile "$LINENO"; then :
  3594.  
  3595. else
  3596.   ac_c_werror_flag=$ac_save_c_werror_flag
  3597.      CFLAGS="-g"
  3598.      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3599. /* end confdefs.h.  */
  3600.  
  3601. int
  3602. main ()
  3603. {
  3604.  
  3605.   ;
  3606.   return 0;
  3607. }
  3608. _ACEOF
  3609. if ac_fn_c_try_compile "$LINENO"; then :
  3610.   ac_cv_prog_cc_g=yes
  3611. fi
  3612. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3613. fi
  3614. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3615. fi
  3616. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3617.    ac_c_werror_flag=$ac_save_c_werror_flag
  3618. fi
  3619. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3620. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3621. if test "$ac_test_CFLAGS" = set; then
  3622.   CFLAGS=$ac_save_CFLAGS
  3623. elif test $ac_cv_prog_cc_g = yes; then
  3624.   if test "$GCC" = yes; then
  3625.     CFLAGS="-g -O2"
  3626.   else
  3627.     CFLAGS="-g"
  3628.   fi
  3629. else
  3630.   if test "$GCC" = yes; then
  3631.     CFLAGS="-O2"
  3632.   else
  3633.     CFLAGS=
  3634.   fi
  3635. fi
  3636. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3637. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3638. if ${ac_cv_prog_cc_c89+:} false; then :
  3639.   $as_echo_n "(cached) " >&6
  3640. else
  3641.   ac_cv_prog_cc_c89=no
  3642. ac_save_CC=$CC
  3643. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3644. /* end confdefs.h.  */
  3645. #include <stdarg.h>
  3646. #include <stdio.h>
  3647. struct stat;
  3648. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3649. struct buf { int x; };
  3650. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3651. static char *e (p, i)
  3652.      char **p;
  3653.      int i;
  3654. {
  3655.   return p[i];
  3656. }
  3657. static char *f (char * (*g) (char **, int), char **p, ...)
  3658. {
  3659.   char *s;
  3660.   va_list v;
  3661.   va_start (v,p);
  3662.   s = g (p, va_arg (v,int));
  3663.   va_end (v);
  3664.   return s;
  3665. }
  3666.  
  3667. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3668.    function prototypes and stuff, but not '\xHH' hex character constants.
  3669.    These don't provoke an error unfortunately, instead are silently treated
  3670.    as 'x'.  The following induces an error, until -std is added to get
  3671.    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3672.    array size at least.  It's necessary to write '\x00'==0 to get something
  3673.    that's true only with -std.  */
  3674. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3675.  
  3676. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3677.    inside strings and character constants.  */
  3678. #define FOO(x) 'x'
  3679. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3680.  
  3681. int test (int i, double x);
  3682. struct s1 {int (*f) (int a);};
  3683. struct s2 {int (*f) (double a);};
  3684. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3685. int argc;
  3686. char **argv;
  3687. int
  3688. main ()
  3689. {
  3690. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3691.   ;
  3692.   return 0;
  3693. }
  3694. _ACEOF
  3695. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3696.     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3697. do
  3698.   CC="$ac_save_CC $ac_arg"
  3699.   if ac_fn_c_try_compile "$LINENO"; then :
  3700.   ac_cv_prog_cc_c89=$ac_arg
  3701. fi
  3702. rm -f core conftest.err conftest.$ac_objext
  3703.   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3704. done
  3705. rm -f conftest.$ac_ext
  3706. CC=$ac_save_CC
  3707.  
  3708. fi
  3709. # AC_CACHE_VAL
  3710. case "x$ac_cv_prog_cc_c89" in
  3711.   x)
  3712.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3713. $as_echo "none needed" >&6; } ;;
  3714.   xno)
  3715.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3716. $as_echo "unsupported" >&6; } ;;
  3717.   *)
  3718.     CC="$CC $ac_cv_prog_cc_c89"
  3719.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3720. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3721. esac
  3722. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3723.  
  3724. fi
  3725.  
  3726. ac_ext=c
  3727. ac_cpp='$CPP $CPPFLAGS'
  3728. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3729. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3730. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3731.  
  3732. ac_ext=c
  3733. ac_cpp='$CPP $CPPFLAGS'
  3734. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3735. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3736. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3737. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  3738. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  3739. if ${am_cv_prog_cc_c_o+:} false; then :
  3740.   $as_echo_n "(cached) " >&6
  3741. else
  3742.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3743. /* end confdefs.h.  */
  3744.  
  3745. int
  3746. main ()
  3747. {
  3748.  
  3749.   ;
  3750.   return 0;
  3751. }
  3752. _ACEOF
  3753.   # Make sure it works both with $CC and with simple cc.
  3754.   # Following AC_PROG_CC_C_O, we do the test twice because some
  3755.   # compilers refuse to overwrite an existing .o file with -o,
  3756.   # though they will create one.
  3757.   am_cv_prog_cc_c_o=yes
  3758.   for am_i in 1 2; do
  3759.     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  3760.    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  3761.    ac_status=$?
  3762.    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3763.    (exit $ac_status); } \
  3764.          && test -f conftest2.$ac_objext; then
  3765.       : OK
  3766.     else
  3767.       am_cv_prog_cc_c_o=no
  3768.       break
  3769.     fi
  3770.   done
  3771.   rm -f core conftest*
  3772.   unset am_i
  3773. fi
  3774. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  3775. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  3776. if test "$am_cv_prog_cc_c_o" != yes; then
  3777.    # Losing compiler, so override with the script.
  3778.    # FIXME: It is wrong to rewrite CC.
  3779.    # But if we don't then we get into trouble of one sort or another.
  3780.    # A longer-term fix would be to have automake use am__CC in this case,
  3781.    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  3782.    CC="$am_aux_dir/compile $CC"
  3783. fi
  3784. ac_ext=c
  3785. ac_cpp='$CPP $CPPFLAGS'
  3786. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3787. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3788. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3789.  
  3790.  
  3791. depcc="$CC"   am_compiler_list=
  3792.  
  3793. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3794. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3795. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3796.   $as_echo_n "(cached) " >&6
  3797. else
  3798.   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3799.   # We make a subdir and do the tests there.  Otherwise we can end up
  3800.   # making bogus files that we don't know about and never remove.  For
  3801.   # instance it was reported that on HP-UX the gcc test will end up
  3802.   # making a dummy file named 'D' -- because '-MD' means "put the output
  3803.   # in D".
  3804.   rm -rf conftest.dir
  3805.   mkdir conftest.dir
  3806.   # Copy depcomp to subdir because otherwise we won't find it if we're
  3807.   # using a relative directory.
  3808.   cp "$am_depcomp" conftest.dir
  3809.   cd conftest.dir
  3810.   # We will build objects and dependencies in a subdirectory because
  3811.   # it helps to detect inapplicable dependency modes.  For instance
  3812.   # both Tru64's cc and ICC support -MD to output dependencies as a
  3813.   # side effect of compilation, but ICC will put the dependencies in
  3814.   # the current directory while Tru64 will put them in the object
  3815.   # directory.
  3816.   mkdir sub
  3817.  
  3818.   am_cv_CC_dependencies_compiler_type=none
  3819.   if test "$am_compiler_list" = ""; then
  3820.      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3821.   fi
  3822.   am__universal=false
  3823.   case " $depcc " in #(
  3824.      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3825.      esac
  3826.  
  3827.   for depmode in $am_compiler_list; do
  3828.     # Setup a source with many dependencies, because some compilers
  3829.     # like to wrap large dependency lists on column 80 (with \), and
  3830.     # we should not choose a depcomp mode which is confused by this.
  3831.     #
  3832.     # We need to recreate these files for each test, as the compiler may
  3833.     # overwrite some of them when testing with obscure command lines.
  3834.     # This happens at least with the AIX C compiler.
  3835.     : > sub/conftest.c
  3836.     for i in 1 2 3 4 5 6; do
  3837.       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3838.       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3839.       # Solaris 10 /bin/sh.
  3840.       echo '/* dummy */' > sub/conftst$i.h
  3841.     done
  3842.     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3843.  
  3844.     # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3845.     # mode.  It turns out that the SunPro C++ compiler does not properly
  3846.     # handle '-M -o', and we need to detect this.  Also, some Intel
  3847.     # versions had trouble with output in subdirs.
  3848.     am__obj=sub/conftest.${OBJEXT-o}
  3849.     am__minus_obj="-o $am__obj"
  3850.     case $depmode in
  3851.     gcc)
  3852.       # This depmode causes a compiler race in universal mode.
  3853.       test "$am__universal" = false || continue
  3854.       ;;
  3855.     nosideeffect)
  3856.       # After this tag, mechanisms are not by side-effect, so they'll
  3857.       # only be used when explicitly requested.
  3858.       if test "x$enable_dependency_tracking" = xyes; then
  3859.     continue
  3860.       else
  3861.     break
  3862.       fi
  3863.       ;;
  3864.     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3865.       # This compiler won't grok '-c -o', but also, the minuso test has
  3866.       # not run yet.  These depmodes are late enough in the game, and
  3867.       # so weak that their functioning should not be impacted.
  3868.       am__obj=conftest.${OBJEXT-o}
  3869.       am__minus_obj=
  3870.       ;;
  3871.     none) break ;;
  3872.     esac
  3873.     if depmode=$depmode \
  3874.        source=sub/conftest.c object=$am__obj \
  3875.        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3876.        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3877.          >/dev/null 2>conftest.err &&
  3878.        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3879.        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3880.        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3881.        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3882.       # icc doesn't choke on unknown options, it will just issue warnings
  3883.       # or remarks (even with -Werror).  So we grep stderr for any message
  3884.       # that says an option was ignored or not supported.
  3885.       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3886.       #   icc: Command line warning: ignoring option '-M'; no argument required
  3887.       # The diagnosis changed in icc 8.0:
  3888.       #   icc: Command line remark: option '-MP' not supported
  3889.       if (grep 'ignoring option' conftest.err ||
  3890.           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3891.         am_cv_CC_dependencies_compiler_type=$depmode
  3892.         break
  3893.       fi
  3894.     fi
  3895.   done
  3896.  
  3897.   cd ..
  3898.   rm -rf conftest.dir
  3899. else
  3900.   am_cv_CC_dependencies_compiler_type=none
  3901. fi
  3902.  
  3903. fi
  3904. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3905. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3906. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3907.  
  3908.  if
  3909.   test "x$enable_dependency_tracking" != xno \
  3910.   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3911.   am__fastdepCC_TRUE=
  3912.   am__fastdepCC_FALSE='#'
  3913. else
  3914.   am__fastdepCC_TRUE='#'
  3915.   am__fastdepCC_FALSE=
  3916. fi
  3917.  
  3918.  
  3919.  
  3920. ac_ext=c
  3921. ac_cpp='$CPP $CPPFLAGS'
  3922. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3923. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3924. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3925. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3926. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3927. # On Suns, sometimes $CPP names a directory.
  3928. if test -n "$CPP" && test -d "$CPP"; then
  3929.   CPP=
  3930. fi
  3931. if test -z "$CPP"; then
  3932.   if ${ac_cv_prog_CPP+:} false; then :
  3933.   $as_echo_n "(cached) " >&6
  3934. else
  3935.       # Double quotes because CPP needs to be expanded
  3936.     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3937.     do
  3938.       ac_preproc_ok=false
  3939. for ac_c_preproc_warn_flag in '' yes
  3940. do
  3941.   # Use a header file that comes with gcc, so configuring glibc
  3942.   # with a fresh cross-compiler works.
  3943.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3944.   # <limits.h> exists even on freestanding compilers.
  3945.   # On the NeXT, cc -E runs the code through the compiler's parser,
  3946.   # not just through cpp. "Syntax error" is here to catch this case.
  3947.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3948. /* end confdefs.h.  */
  3949. #ifdef __STDC__
  3950. # include <limits.h>
  3951. #else
  3952. # include <assert.h>
  3953. #endif
  3954.              Syntax error
  3955. _ACEOF
  3956. if ac_fn_c_try_cpp "$LINENO"; then :
  3957.  
  3958. else
  3959.   # Broken: fails on valid input.
  3960. continue
  3961. fi
  3962. rm -f conftest.err conftest.i conftest.$ac_ext
  3963.  
  3964.   # OK, works on sane cases.  Now check whether nonexistent headers
  3965.   # can be detected and how.
  3966.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3967. /* end confdefs.h.  */
  3968. #include <ac_nonexistent.h>
  3969. _ACEOF
  3970. if ac_fn_c_try_cpp "$LINENO"; then :
  3971.   # Broken: success on invalid input.
  3972. continue
  3973. else
  3974.   # Passes both tests.
  3975. ac_preproc_ok=:
  3976. break
  3977. fi
  3978. rm -f conftest.err conftest.i conftest.$ac_ext
  3979.  
  3980. done
  3981. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3982. rm -f conftest.i conftest.err conftest.$ac_ext
  3983. if $ac_preproc_ok; then :
  3984.   break
  3985. fi
  3986.  
  3987.     done
  3988.     ac_cv_prog_CPP=$CPP
  3989.  
  3990. fi
  3991.   CPP=$ac_cv_prog_CPP
  3992. else
  3993.   ac_cv_prog_CPP=$CPP
  3994. fi
  3995. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3996. $as_echo "$CPP" >&6; }
  3997. ac_preproc_ok=false
  3998. for ac_c_preproc_warn_flag in '' yes
  3999. do
  4000.   # Use a header file that comes with gcc, so configuring glibc
  4001.   # with a fresh cross-compiler works.
  4002.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4003.   # <limits.h> exists even on freestanding compilers.
  4004.   # On the NeXT, cc -E runs the code through the compiler's parser,
  4005.   # not just through cpp. "Syntax error" is here to catch this case.
  4006.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4007. /* end confdefs.h.  */
  4008. #ifdef __STDC__
  4009. # include <limits.h>
  4010. #else
  4011. # include <assert.h>
  4012. #endif
  4013.              Syntax error
  4014. _ACEOF
  4015. if ac_fn_c_try_cpp "$LINENO"; then :
  4016.  
  4017. else
  4018.   # Broken: fails on valid input.
  4019. continue
  4020. fi
  4021. rm -f conftest.err conftest.i conftest.$ac_ext
  4022.  
  4023.   # OK, works on sane cases.  Now check whether nonexistent headers
  4024.   # can be detected and how.
  4025.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4026. /* end confdefs.h.  */
  4027. #include <ac_nonexistent.h>
  4028. _ACEOF
  4029. if ac_fn_c_try_cpp "$LINENO"; then :
  4030.   # Broken: success on invalid input.
  4031. continue
  4032. else
  4033.   # Passes both tests.
  4034. ac_preproc_ok=:
  4035. break
  4036. fi
  4037. rm -f conftest.err conftest.i conftest.$ac_ext
  4038.  
  4039. done
  4040. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4041. rm -f conftest.i conftest.err conftest.$ac_ext
  4042. if $ac_preproc_ok; then :
  4043.  
  4044. else
  4045.   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4046. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4047. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  4048. See \`config.log' for more details" "$LINENO" 5; }
  4049. fi
  4050.  
  4051. ac_ext=c
  4052. ac_cpp='$CPP $CPPFLAGS'
  4053. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4054. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4055. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4056.  
  4057.  
  4058. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4059. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4060. if ${ac_cv_path_GREP+:} false; then :
  4061.   $as_echo_n "(cached) " >&6
  4062. else
  4063.   if test -z "$GREP"; then
  4064.   ac_path_GREP_found=false
  4065.   # Loop through the user's path and test for each of PROGNAME-LIST
  4066.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4067. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4068. do
  4069.   IFS=$as_save_IFS
  4070.   test -z "$as_dir" && as_dir=.
  4071.     for ac_prog in grep ggrep; do
  4072.     for ac_exec_ext in '' $ac_executable_extensions; do
  4073.       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4074.       as_fn_executable_p "$ac_path_GREP" || continue
  4075. # Check for GNU ac_path_GREP and select it if it is found.
  4076.   # Check for GNU $ac_path_GREP
  4077. case `"$ac_path_GREP" --version 2>&1` in
  4078. *GNU*)
  4079.   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4080. *)
  4081.   ac_count=0
  4082.   $as_echo_n 0123456789 >"conftest.in"
  4083.   while :
  4084.   do
  4085.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4086.     mv "conftest.tmp" "conftest.in"
  4087.     cp "conftest.in" "conftest.nl"
  4088.     $as_echo 'GREP' >> "conftest.nl"
  4089.     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4090.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4091.     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4092.     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4093.       # Best one so far, save it but keep looking for a better one
  4094.       ac_cv_path_GREP="$ac_path_GREP"
  4095.       ac_path_GREP_max=$ac_count
  4096.     fi
  4097.     # 10*(2^10) chars as input seems more than enough
  4098.     test $ac_count -gt 10 && break
  4099.   done
  4100.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4101. esac
  4102.  
  4103.       $ac_path_GREP_found && break 3
  4104.     done
  4105.   done
  4106.   done
  4107. IFS=$as_save_IFS
  4108.   if test -z "$ac_cv_path_GREP"; then
  4109.     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4110.   fi
  4111. else
  4112.   ac_cv_path_GREP=$GREP
  4113. fi
  4114.  
  4115. fi
  4116. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4117. $as_echo "$ac_cv_path_GREP" >&6; }
  4118.  GREP="$ac_cv_path_GREP"
  4119.  
  4120.  
  4121. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4122. $as_echo_n "checking for egrep... " >&6; }
  4123. if ${ac_cv_path_EGREP+:} false; then :
  4124.   $as_echo_n "(cached) " >&6
  4125. else
  4126.   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4127.    then ac_cv_path_EGREP="$GREP -E"
  4128.    else
  4129.      if test -z "$EGREP"; then
  4130.   ac_path_EGREP_found=false
  4131.   # Loop through the user's path and test for each of PROGNAME-LIST
  4132.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4133. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4134. do
  4135.   IFS=$as_save_IFS
  4136.   test -z "$as_dir" && as_dir=.
  4137.     for ac_prog in egrep; do
  4138.     for ac_exec_ext in '' $ac_executable_extensions; do
  4139.       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4140.       as_fn_executable_p "$ac_path_EGREP" || continue
  4141. # Check for GNU ac_path_EGREP and select it if it is found.
  4142.   # Check for GNU $ac_path_EGREP
  4143. case `"$ac_path_EGREP" --version 2>&1` in
  4144. *GNU*)
  4145.   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4146. *)
  4147.   ac_count=0
  4148.   $as_echo_n 0123456789 >"conftest.in"
  4149.   while :
  4150.   do
  4151.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4152.     mv "conftest.tmp" "conftest.in"
  4153.     cp "conftest.in" "conftest.nl"
  4154.     $as_echo 'EGREP' >> "conftest.nl"
  4155.     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4156.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4157.     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4158.     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4159.       # Best one so far, save it but keep looking for a better one
  4160.       ac_cv_path_EGREP="$ac_path_EGREP"
  4161.       ac_path_EGREP_max=$ac_count
  4162.     fi
  4163.     # 10*(2^10) chars as input seems more than enough
  4164.     test $ac_count -gt 10 && break
  4165.   done
  4166.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4167. esac
  4168.  
  4169.       $ac_path_EGREP_found && break 3
  4170.     done
  4171.   done
  4172.   done
  4173. IFS=$as_save_IFS
  4174.   if test -z "$ac_cv_path_EGREP"; then
  4175.     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4176.   fi
  4177. else
  4178.   ac_cv_path_EGREP=$EGREP
  4179. fi
  4180.  
  4181.    fi
  4182. fi
  4183. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4184. $as_echo "$ac_cv_path_EGREP" >&6; }
  4185.  EGREP="$ac_cv_path_EGREP"
  4186.  
  4187.  
  4188. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  4189. $as_echo_n "checking for ANSI C header files... " >&6; }
  4190. if ${ac_cv_header_stdc+:} false; then :
  4191.   $as_echo_n "(cached) " >&6
  4192. else
  4193.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4194. /* end confdefs.h.  */
  4195. #include <stdlib.h>
  4196. #include <stdarg.h>
  4197. #include <string.h>
  4198. #include <float.h>
  4199.  
  4200. int
  4201. main ()
  4202. {
  4203.  
  4204.   ;
  4205.   return 0;
  4206. }
  4207. _ACEOF
  4208. if ac_fn_c_try_compile "$LINENO"; then :
  4209.   ac_cv_header_stdc=yes
  4210. else
  4211.   ac_cv_header_stdc=no
  4212. fi
  4213. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4214.  
  4215. if test $ac_cv_header_stdc = yes; then
  4216.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4217.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4218. /* end confdefs.h.  */
  4219. #include <string.h>
  4220.  
  4221. _ACEOF
  4222. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4223.   $EGREP "memchr" >/dev/null 2>&1; then :
  4224.  
  4225. else
  4226.   ac_cv_header_stdc=no
  4227. fi
  4228. rm -f conftest*
  4229.  
  4230. fi
  4231.  
  4232. if test $ac_cv_header_stdc = yes; then
  4233.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4234.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4235. /* end confdefs.h.  */
  4236. #include <stdlib.h>
  4237.  
  4238. _ACEOF
  4239. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4240.   $EGREP "free" >/dev/null 2>&1; then :
  4241.  
  4242. else
  4243.   ac_cv_header_stdc=no
  4244. fi
  4245. rm -f conftest*
  4246.  
  4247. fi
  4248.  
  4249. if test $ac_cv_header_stdc = yes; then
  4250.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4251.   if test "$cross_compiling" = yes; then :
  4252.   :
  4253. else
  4254.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4255. /* end confdefs.h.  */
  4256. #include <ctype.h>
  4257. #include <stdlib.h>
  4258. #if ((' ' & 0x0FF) == 0x020)
  4259. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4260. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4261. #else
  4262. # define ISLOWER(c) \
  4263.            (('a' <= (c) && (c) <= 'i') \
  4264.              || ('j' <= (c) && (c) <= 'r') \
  4265.              || ('s' <= (c) && (c) <= 'z'))
  4266. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4267. #endif
  4268.  
  4269. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4270. int
  4271. main ()
  4272. {
  4273.   int i;
  4274.   for (i = 0; i < 256; i++)
  4275.     if (XOR (islower (i), ISLOWER (i))
  4276.     || toupper (i) != TOUPPER (i))
  4277.       return 2;
  4278.   return 0;
  4279. }
  4280. _ACEOF
  4281. if ac_fn_c_try_run "$LINENO"; then :
  4282.  
  4283. else
  4284.   ac_cv_header_stdc=no
  4285. fi
  4286. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4287.   conftest.$ac_objext conftest.beam conftest.$ac_ext
  4288. fi
  4289.  
  4290. fi
  4291. fi
  4292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  4293. $as_echo "$ac_cv_header_stdc" >&6; }
  4294. if test $ac_cv_header_stdc = yes; then
  4295.  
  4296. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  4297.  
  4298. fi
  4299.  
  4300. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4301. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4302.           inttypes.h stdint.h unistd.h
  4303. do :
  4304.   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4305. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  4306. "
  4307. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  4308.  cat >>confdefs.h <<_ACEOF
  4309. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4310. _ACEOF
  4311.  
  4312. fi
  4313.  
  4314. done
  4315.  
  4316.  
  4317.  
  4318.  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  4319. if test "x$ac_cv_header_minix_config_h" = xyes; then :
  4320.  MINIX=yes
  4321. else
  4322.  MINIX=
  4323. fi
  4324.  
  4325.  
  4326.  if test "$MINIX" = yes; then
  4327.  
  4328. $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
  4329.  
  4330.  
  4331. $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
  4332.  
  4333.  
  4334. $as_echo "#define _MINIX 1" >>confdefs.h
  4335.  
  4336.   fi
  4337.  
  4338.  
  4339.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  4340. $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  4341. if ${ac_cv_safe_to_define___extensions__+:} false; then :
  4342.   $as_echo_n "(cached) " >&6
  4343. else
  4344.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4345. /* end confdefs.h.  */
  4346.  
  4347. #         define __EXTENSIONS__ 1
  4348.           $ac_includes_default
  4349. int
  4350. main ()
  4351. {
  4352.  
  4353.   ;
  4354.   return 0;
  4355. }
  4356. _ACEOF
  4357. if ac_fn_c_try_compile "$LINENO"; then :
  4358.   ac_cv_safe_to_define___extensions__=yes
  4359. else
  4360.   ac_cv_safe_to_define___extensions__=no
  4361. fi
  4362. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4363. fi
  4364. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  4365. $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  4366.   test $ac_cv_safe_to_define___extensions__ = yes &&
  4367.     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
  4368.  
  4369.   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
  4370.  
  4371.   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
  4372.  
  4373.   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  4374.  
  4375.   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
  4376.  
  4377.  
  4378.  
  4379. if test -n "$ac_tool_prefix"; then
  4380.   for ac_prog in ar lib "link -lib"
  4381.   do
  4382.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4383. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4384. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4385. $as_echo_n "checking for $ac_word... " >&6; }
  4386. if ${ac_cv_prog_AR+:} false; then :
  4387.   $as_echo_n "(cached) " >&6
  4388. else
  4389.   if test -n "$AR"; then
  4390.   ac_cv_prog_AR="$AR" # Let the user override the test.
  4391. else
  4392. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4393. for as_dir in $PATH
  4394. do
  4395.   IFS=$as_save_IFS
  4396.   test -z "$as_dir" && as_dir=.
  4397.     for ac_exec_ext in '' $ac_executable_extensions; do
  4398.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4399.     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  4400.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4401.     break 2
  4402.   fi
  4403. done
  4404.   done
  4405. IFS=$as_save_IFS
  4406.  
  4407. fi
  4408. fi
  4409. AR=$ac_cv_prog_AR
  4410. if test -n "$AR"; then
  4411.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  4412. $as_echo "$AR" >&6; }
  4413. else
  4414.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4415. $as_echo "no" >&6; }
  4416. fi
  4417.  
  4418.  
  4419.     test -n "$AR" && break
  4420.   done
  4421. fi
  4422. if test -z "$AR"; then
  4423.   ac_ct_AR=$AR
  4424.   for ac_prog in ar lib "link -lib"
  4425. do
  4426.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4427. set dummy $ac_prog; ac_word=$2
  4428. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4429. $as_echo_n "checking for $ac_word... " >&6; }
  4430. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  4431.   $as_echo_n "(cached) " >&6
  4432. else
  4433.   if test -n "$ac_ct_AR"; then
  4434.   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  4435. else
  4436. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4437. for as_dir in $PATH
  4438. do
  4439.   IFS=$as_save_IFS
  4440.   test -z "$as_dir" && as_dir=.
  4441.     for ac_exec_ext in '' $ac_executable_extensions; do
  4442.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4443.     ac_cv_prog_ac_ct_AR="$ac_prog"
  4444.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4445.     break 2
  4446.   fi
  4447. done
  4448.   done
  4449. IFS=$as_save_IFS
  4450.  
  4451. fi
  4452. fi
  4453. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  4454. if test -n "$ac_ct_AR"; then
  4455.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  4456. $as_echo "$ac_ct_AR" >&6; }
  4457. else
  4458.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4459. $as_echo "no" >&6; }
  4460. fi
  4461.  
  4462.  
  4463.   test -n "$ac_ct_AR" && break
  4464. done
  4465.  
  4466.   if test "x$ac_ct_AR" = x; then
  4467.     AR="false"
  4468.   else
  4469.     case $cross_compiling:$ac_tool_warned in
  4470. yes:)
  4471. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4472. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4473. ac_tool_warned=yes ;;
  4474. esac
  4475.     AR=$ac_ct_AR
  4476.   fi
  4477. fi
  4478.  
  4479. : ${AR=ar}
  4480.  
  4481. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
  4482. $as_echo_n "checking the archiver ($AR) interface... " >&6; }
  4483. if ${am_cv_ar_interface+:} false; then :
  4484.   $as_echo_n "(cached) " >&6
  4485. else
  4486.   ac_ext=c
  4487. ac_cpp='$CPP $CPPFLAGS'
  4488. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4489. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4490. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4491.  
  4492.    am_cv_ar_interface=ar
  4493.    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4494. /* end confdefs.h.  */
  4495. int some_variable = 0;
  4496. _ACEOF
  4497. if ac_fn_c_try_compile "$LINENO"; then :
  4498.   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
  4499.       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  4500.   (eval $am_ar_try) 2>&5
  4501.   ac_status=$?
  4502.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4503.   test $ac_status = 0; }
  4504.       if test "$ac_status" -eq 0; then
  4505.         am_cv_ar_interface=ar
  4506.       else
  4507.         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
  4508.         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  4509.   (eval $am_ar_try) 2>&5
  4510.   ac_status=$?
  4511.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4512.   test $ac_status = 0; }
  4513.         if test "$ac_status" -eq 0; then
  4514.           am_cv_ar_interface=lib
  4515.         else
  4516.           am_cv_ar_interface=unknown
  4517.         fi
  4518.       fi
  4519.       rm -f conftest.lib libconftest.a
  4520.  
  4521. fi
  4522. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4523.    ac_ext=c
  4524. ac_cpp='$CPP $CPPFLAGS'
  4525. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4526. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4527. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4528.  
  4529. fi
  4530. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
  4531. $as_echo "$am_cv_ar_interface" >&6; }
  4532.  
  4533. case $am_cv_ar_interface in
  4534. ar)
  4535.   ;;
  4536. lib)
  4537.   # Microsoft lib, so override with the ar-lib wrapper script.
  4538.   # FIXME: It is wrong to rewrite AR.
  4539.   # But if we don't then we get into trouble of one sort or another.
  4540.   # A longer-term fix would be to have automake use am__AR in this case,
  4541.   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
  4542.   # similar.
  4543.   AR="$am_aux_dir/ar-lib $AR"
  4544.   ;;
  4545. unknown)
  4546.   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
  4547.   ;;
  4548. esac
  4549.  
  4550.  
  4551.      rm -rf libopts libopts-*
  4552.       gunzip -c `autoopts-config libsrc` | tar -xvf -
  4553.       mv -f libopts-*.*.* libopts
  4554.       cp -fp libopts/m4/*.m4 m4/.
  4555. if NEED_LIBOPTS
  4556.          SUBDIRS += $(LIBOPTS_DIR)
  4557.       endif
  4558.  
  4559. case `pwd` in
  4560.   *\ * | *\ *)
  4561.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  4562. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  4563. esac
  4564.  
  4565.  
  4566.  
  4567. macro_version='2.4.2'
  4568. macro_revision='1.3337'
  4569.  
  4570.  
  4571.  
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  
  4580.  
  4581.  
  4582. ltmain="$ac_aux_dir/ltmain.sh"
  4583.  
  4584. # Make sure we can run config.sub.
  4585. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4586.   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  4587.  
  4588. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  4589. $as_echo_n "checking build system type... " >&6; }
  4590. if ${ac_cv_build+:} false; then :
  4591.   $as_echo_n "(cached) " >&6
  4592. else
  4593.   ac_build_alias=$build_alias
  4594. test "x$ac_build_alias" = x &&
  4595.   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4596. test "x$ac_build_alias" = x &&
  4597.   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  4598. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4599.   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  4600.  
  4601. fi
  4602. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  4603. $as_echo "$ac_cv_build" >&6; }
  4604. case $ac_cv_build in
  4605. *-*-*) ;;
  4606. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  4607. esac
  4608. build=$ac_cv_build
  4609. ac_save_IFS=$IFS; IFS='-'
  4610. set x $ac_cv_build
  4611. shift
  4612. build_cpu=$1
  4613. build_vendor=$2
  4614. shift; shift
  4615. # Remember, the first character of IFS is used to create $*,
  4616. # except with old shells:
  4617. build_os=$*
  4618. IFS=$ac_save_IFS
  4619. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4620.  
  4621.  
  4622. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  4623. $as_echo_n "checking host system type... " >&6; }
  4624. if ${ac_cv_host+:} false; then :
  4625.   $as_echo_n "(cached) " >&6
  4626. else
  4627.   if test "x$host_alias" = x; then
  4628.   ac_cv_host=$ac_cv_build
  4629. else
  4630.   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4631.     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  4632. fi
  4633.  
  4634. fi
  4635. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  4636. $as_echo "$ac_cv_host" >&6; }
  4637. case $ac_cv_host in
  4638. *-*-*) ;;
  4639. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  4640. esac
  4641. host=$ac_cv_host
  4642. ac_save_IFS=$IFS; IFS='-'
  4643. set x $ac_cv_host
  4644. shift
  4645. host_cpu=$1
  4646. host_vendor=$2
  4647. shift; shift
  4648. # Remember, the first character of IFS is used to create $*,
  4649. # except with old shells:
  4650. host_os=$*
  4651. IFS=$ac_save_IFS
  4652. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4653.  
  4654.  
  4655. # Backslashify metacharacters that are still active within
  4656. # double-quoted strings.
  4657. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  4658.  
  4659. # Same as above, but do not quote variable references.
  4660. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  4661.  
  4662. # Sed substitution to delay expansion of an escaped shell variable in a
  4663. # double_quote_subst'ed string.
  4664. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  4665.  
  4666. # Sed substitution to delay expansion of an escaped single quote.
  4667. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  4668.  
  4669. # Sed substitution to avoid accidental globbing in evaled expressions
  4670. no_glob_subst='s/\*/\\\*/g'
  4671.  
  4672. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4673. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  4674. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  4675.  
  4676. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  4677. $as_echo_n "checking how to print strings... " >&6; }
  4678. # Test print first, because it will be a builtin if present.
  4679. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  4680.   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  4681.  ECHO='print -r --'
  4682. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  4683.  ECHO='printf %s\n'
  4684. else
  4685.  # Use this function as a fallback that always works.
  4686.  func_fallback_echo ()
  4687.  {
  4688.    eval 'cat <<_LTECHO_EOF
  4689. $1
  4690. _LTECHO_EOF'
  4691.  }
  4692.  ECHO='func_fallback_echo'
  4693. fi
  4694.  
  4695. # func_echo_all arg...
  4696. # Invoke $ECHO with all args, space-separated.
  4697. func_echo_all ()
  4698. {
  4699.    $ECHO ""
  4700. }
  4701.  
  4702. case "$ECHO" in
  4703.  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  4704. $as_echo "printf" >&6; } ;;
  4705.  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  4706. $as_echo "print -r" >&6; } ;;
  4707.  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  4708. $as_echo "cat" >&6; } ;;
  4709. esac
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717.  
  4718.  
  4719.  
  4720.  
  4721.  
  4722.  
  4723.  
  4724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4725. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4726. if ${ac_cv_path_SED+:} false; then :
  4727.  $as_echo_n "(cached) " >&6
  4728. else
  4729.            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4730.     for ac_i in 1 2 3 4 5 6 7; do
  4731.       ac_script="$ac_script$as_nl$ac_script"
  4732.     done
  4733.     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4734.     { ac_script=; unset ac_script;}
  4735.     if test -z "$SED"; then
  4736.  ac_path_SED_found=false
  4737.  # Loop through the user's path and test for each of PROGNAME-LIST
  4738.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4739. for as_dir in $PATH
  4740. do
  4741.   IFS=$as_save_IFS
  4742.   test -z "$as_dir" && as_dir=.
  4743.     for ac_prog in sed gsed; do
  4744.     for ac_exec_ext in '' $ac_executable_extensions; do
  4745.       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4746.       as_fn_executable_p "$ac_path_SED" || continue
  4747. # Check for GNU ac_path_SED and select it if it is found.
  4748.   # Check for GNU $ac_path_SED
  4749. case `"$ac_path_SED" --version 2>&1` in
  4750. *GNU*)
  4751.   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4752. *)
  4753.   ac_count=0
  4754.   $as_echo_n 0123456789 >"conftest.in"
  4755.   while :
  4756.   do
  4757.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4758.     mv "conftest.tmp" "conftest.in"
  4759.     cp "conftest.in" "conftest.nl"
  4760.     $as_echo '' >> "conftest.nl"
  4761.     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4762.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4763.     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4764.     if test $ac_count -gt ${ac_path_SED_max-0}; then
  4765.       # Best one so far, save it but keep looking for a better one
  4766.       ac_cv_path_SED="$ac_path_SED"
  4767.       ac_path_SED_max=$ac_count
  4768.     fi
  4769.     # 10*(2^10) chars as input seems more than enough
  4770.     test $ac_count -gt 10 && break
  4771.   done
  4772.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4773. esac
  4774.  
  4775.       $ac_path_SED_found && break 3
  4776.     done
  4777.   done
  4778.   done
  4779. IFS=$as_save_IFS
  4780.   if test -z "$ac_cv_path_SED"; then
  4781.     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4782.   fi
  4783. else
  4784.   ac_cv_path_SED=$SED
  4785. fi
  4786.  
  4787. fi
  4788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4789. $as_echo "$ac_cv_path_SED" >&6; }
  4790.  SED="$ac_cv_path_SED"
  4791.   rm -f conftest.sed
  4792.  
  4793. test -z "$SED" && SED=sed
  4794. Xsed="$SED -e 1s/^X//"
  4795.  
  4796.  
  4797.  
  4798.  
  4799.  
  4800.  
  4801.  
  4802.  
  4803.  
  4804.  
  4805.  
  4806. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  4807. $as_echo_n "checking for fgrep... " >&6; }
  4808. if ${ac_cv_path_FGREP+:} false; then :
  4809.   $as_echo_n "(cached) " >&6
  4810. else
  4811.   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  4812.    then ac_cv_path_FGREP="$GREP -F"
  4813.    else
  4814.      if test -z "$FGREP"; then
  4815.   ac_path_FGREP_found=false
  4816.   # Loop through the user's path and test for each of PROGNAME-LIST
  4817.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4818. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4819. do
  4820.   IFS=$as_save_IFS
  4821.   test -z "$as_dir" && as_dir=.
  4822.     for ac_prog in fgrep; do
  4823.     for ac_exec_ext in '' $ac_executable_extensions; do
  4824.       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  4825.       as_fn_executable_p "$ac_path_FGREP" || continue
  4826. # Check for GNU ac_path_FGREP and select it if it is found.
  4827.   # Check for GNU $ac_path_FGREP
  4828. case `"$ac_path_FGREP" --version 2>&1` in
  4829. *GNU*)
  4830.   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  4831. *)
  4832.   ac_count=0
  4833.   $as_echo_n 0123456789 >"conftest.in"
  4834.   while :
  4835.   do
  4836.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4837.     mv "conftest.tmp" "conftest.in"
  4838.     cp "conftest.in" "conftest.nl"
  4839.     $as_echo 'FGREP' >> "conftest.nl"
  4840.     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4841.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4842.     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4843.     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  4844.       # Best one so far, save it but keep looking for a better one
  4845.       ac_cv_path_FGREP="$ac_path_FGREP"
  4846.       ac_path_FGREP_max=$ac_count
  4847.     fi
  4848.     # 10*(2^10) chars as input seems more than enough
  4849.     test $ac_count -gt 10 && break
  4850.   done
  4851.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4852. esac
  4853.  
  4854.       $ac_path_FGREP_found && break 3
  4855.     done
  4856.   done
  4857.   done
  4858. IFS=$as_save_IFS
  4859.   if test -z "$ac_cv_path_FGREP"; then
  4860.     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4861.   fi
  4862. else
  4863.   ac_cv_path_FGREP=$FGREP
  4864. fi
  4865.  
  4866.    fi
  4867. fi
  4868. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  4869. $as_echo "$ac_cv_path_FGREP" >&6; }
  4870.  FGREP="$ac_cv_path_FGREP"
  4871.  
  4872.  
  4873. test -z "$GREP" && GREP=grep
  4874.  
  4875.  
  4876.  
  4877.  
  4878.  
  4879.  
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893. # Check whether --with-gnu-ld was given.
  4894. if test "${with_gnu_ld+set}" = set; then :
  4895.   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4896. else
  4897.   with_gnu_ld=no
  4898. fi
  4899.  
  4900. ac_prog=ld
  4901. if test "$GCC" = yes; then
  4902.   # Check if gcc -print-prog-name=ld gives a path.
  4903.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4904. $as_echo_n "checking for ld used by $CC... " >&6; }
  4905.   case $host in
  4906.   *-*-mingw*)
  4907.     # gcc leaves a trailing carriage return which upsets mingw
  4908.     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4909.   *)
  4910.     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4911.   esac
  4912.   case $ac_prog in
  4913.     # Accept absolute paths.
  4914.     [\\/]* | ?:[\\/]*)
  4915.       re_direlt='/[^/][^/]*/\.\./'
  4916.       # Canonicalize the pathname of ld
  4917.       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4918.       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4919.     ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4920.       done
  4921.       test -z "$LD" && LD="$ac_prog"
  4922.       ;;
  4923.   "")
  4924.     # If it fails, then pretend we aren't using GCC.
  4925.     ac_prog=ld
  4926.     ;;
  4927.   *)
  4928.     # If it is relative, then search for the first ld in PATH.
  4929.     with_gnu_ld=unknown
  4930.     ;;
  4931.   esac
  4932. elif test "$with_gnu_ld" = yes; then
  4933.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4934. $as_echo_n "checking for GNU ld... " >&6; }
  4935. else
  4936.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4937. $as_echo_n "checking for non-GNU ld... " >&6; }
  4938. fi
  4939. if ${lt_cv_path_LD+:} false; then :
  4940.   $as_echo_n "(cached) " >&6
  4941. else
  4942.   if test -z "$LD"; then
  4943.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4944.   for ac_dir in $PATH; do
  4945.     IFS="$lt_save_ifs"
  4946.     test -z "$ac_dir" && ac_dir=.
  4947.     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4948.       lt_cv_path_LD="$ac_dir/$ac_prog"
  4949.       # Check to see if the program is GNU ld.  I'd rather use --version,
  4950.       # but apparently some variants of GNU ld only accept -v.
  4951.       # Break only if it was the GNU/non-GNU ld that we prefer.
  4952.       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4953.       *GNU* | *'with BFD'*)
  4954.     test "$with_gnu_ld" != no && break
  4955.     ;;
  4956.       *)
  4957.     test "$with_gnu_ld" != yes && break
  4958.     ;;
  4959.       esac
  4960.     fi
  4961.   done
  4962.   IFS="$lt_save_ifs"
  4963. else
  4964.   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4965. fi
  4966. fi
  4967.  
  4968. LD="$lt_cv_path_LD"
  4969. if test -n "$LD"; then
  4970.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4971. $as_echo "$LD" >&6; }
  4972. else
  4973.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4974. $as_echo "no" >&6; }
  4975. fi
  4976. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4977. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4978. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4979. if ${lt_cv_prog_gnu_ld+:} false; then :
  4980.   $as_echo_n "(cached) " >&6
  4981. else
  4982.   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4983. case `$LD -v 2>&1 </dev/null` in
  4984. *GNU* | *'with BFD'*)
  4985.   lt_cv_prog_gnu_ld=yes
  4986.   ;;
  4987. *)
  4988.   lt_cv_prog_gnu_ld=no
  4989.   ;;
  4990. esac
  4991. fi
  4992. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4993. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4994. with_gnu_ld=$lt_cv_prog_gnu_ld
  4995.  
  4996.  
  4997.  
  4998.  
  4999.  
  5000.  
  5001.  
  5002.  
  5003.  
  5004. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  5005. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5006. if ${lt_cv_path_NM+:} false; then :
  5007.   $as_echo_n "(cached) " >&6
  5008. else
  5009.   if test -n "$NM"; then
  5010.   # Let the user override the test.
  5011.   lt_cv_path_NM="$NM"
  5012. else
  5013.   lt_nm_to_check="${ac_tool_prefix}nm"
  5014.   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5015.     lt_nm_to_check="$lt_nm_to_check nm"
  5016.   fi
  5017.   for lt_tmp_nm in $lt_nm_to_check; do
  5018.     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5019.     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5020.       IFS="$lt_save_ifs"
  5021.       test -z "$ac_dir" && ac_dir=.
  5022.       tmp_nm="$ac_dir/$lt_tmp_nm"
  5023.       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  5024.     # Check to see if the nm accepts a BSD-compat flag.
  5025.     # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  5026.     #   nm: unknown option "B" ignored
  5027.     # Tru64's nm complains that /dev/null is an invalid object file
  5028.     case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  5029.     */dev/null* | *'Invalid file or object type'*)
  5030.       lt_cv_path_NM="$tmp_nm -B"
  5031.       break
  5032.       ;;
  5033.     *)
  5034.       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  5035.       */dev/null*)
  5036.         lt_cv_path_NM="$tmp_nm -p"
  5037.         break
  5038.         ;;
  5039.       *)
  5040.         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  5041.         continue # so that we can try to find one that supports BSD flags
  5042.         ;;
  5043.       esac
  5044.       ;;
  5045.     esac
  5046.       fi
  5047.     done
  5048.     IFS="$lt_save_ifs"
  5049.   done
  5050.   : ${lt_cv_path_NM=no}
  5051. fi
  5052. fi
  5053. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  5054. $as_echo "$lt_cv_path_NM" >&6; }
  5055. if test "$lt_cv_path_NM" != "no"; then
  5056.   NM="$lt_cv_path_NM"
  5057. else
  5058.   # Didn't find any BSD compatible name lister, look for dumpbin.
  5059.   if test -n "$DUMPBIN"; then :
  5060.     # Let the user override the test.
  5061.   else
  5062.     if test -n "$ac_tool_prefix"; then
  5063.   for ac_prog in dumpbin "link -dump"
  5064.   do
  5065.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5066. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5067. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5068. $as_echo_n "checking for $ac_word... " >&6; }
  5069. if ${ac_cv_prog_DUMPBIN+:} false; then :
  5070.   $as_echo_n "(cached) " >&6
  5071. else
  5072.   if test -n "$DUMPBIN"; then
  5073.   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  5074. else
  5075. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5076. for as_dir in $PATH
  5077. do
  5078.   IFS=$as_save_IFS
  5079.   test -z "$as_dir" && as_dir=.
  5080.     for ac_exec_ext in '' $ac_executable_extensions; do
  5081.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5082.     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  5083.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5084.     break 2
  5085.   fi
  5086. done
  5087.   done
  5088. IFS=$as_save_IFS
  5089.  
  5090. fi
  5091. fi
  5092. DUMPBIN=$ac_cv_prog_DUMPBIN
  5093. if test -n "$DUMPBIN"; then
  5094.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  5095. $as_echo "$DUMPBIN" >&6; }
  5096. else
  5097.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5098. $as_echo "no" >&6; }
  5099. fi
  5100.  
  5101.  
  5102.     test -n "$DUMPBIN" && break
  5103.   done
  5104. fi
  5105. if test -z "$DUMPBIN"; then
  5106.   ac_ct_DUMPBIN=$DUMPBIN
  5107.   for ac_prog in dumpbin "link -dump"
  5108. do
  5109.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5110. set dummy $ac_prog; ac_word=$2
  5111. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5112. $as_echo_n "checking for $ac_word... " >&6; }
  5113. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  5114.   $as_echo_n "(cached) " >&6
  5115. else
  5116.   if test -n "$ac_ct_DUMPBIN"; then
  5117.   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  5118. else
  5119. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5120. for as_dir in $PATH
  5121. do
  5122.   IFS=$as_save_IFS
  5123.   test -z "$as_dir" && as_dir=.
  5124.     for ac_exec_ext in '' $ac_executable_extensions; do
  5125.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5126.     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  5127.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5128.     break 2
  5129.   fi
  5130. done
  5131.   done
  5132. IFS=$as_save_IFS
  5133.  
  5134. fi
  5135. fi
  5136. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  5137. if test -n "$ac_ct_DUMPBIN"; then
  5138.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  5139. $as_echo "$ac_ct_DUMPBIN" >&6; }
  5140. else
  5141.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5142. $as_echo "no" >&6; }
  5143. fi
  5144.  
  5145.  
  5146.   test -n "$ac_ct_DUMPBIN" && break
  5147. done
  5148.  
  5149.   if test "x$ac_ct_DUMPBIN" = x; then
  5150.     DUMPBIN=":"
  5151.   else
  5152.     case $cross_compiling:$ac_tool_warned in
  5153. yes:)
  5154. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5155. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5156. ac_tool_warned=yes ;;
  5157. esac
  5158.     DUMPBIN=$ac_ct_DUMPBIN
  5159.   fi
  5160. fi
  5161.  
  5162.     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  5163.     *COFF*)
  5164.       DUMPBIN="$DUMPBIN -symbols"
  5165.       ;;
  5166.     *)
  5167.       DUMPBIN=:
  5168.       ;;
  5169.     esac
  5170.   fi
  5171.  
  5172.   if test "$DUMPBIN" != ":"; then
  5173.     NM="$DUMPBIN"
  5174.   fi
  5175. fi
  5176. test -z "$NM" && NM=nm
  5177.  
  5178.  
  5179.  
  5180.  
  5181.  
  5182.  
  5183. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  5184. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  5185. if ${lt_cv_nm_interface+:} false; then :
  5186.   $as_echo_n "(cached) " >&6
  5187. else
  5188.   lt_cv_nm_interface="BSD nm"
  5189.   echo "int some_variable = 0;" > conftest.$ac_ext
  5190.   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  5191.   (eval "$ac_compile" 2>conftest.err)
  5192.   cat conftest.err >&5
  5193.   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  5194.   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  5195.   cat conftest.err >&5
  5196.   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  5197.   cat conftest.out >&5
  5198.   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  5199.     lt_cv_nm_interface="MS dumpbin"
  5200.   fi
  5201.   rm -f conftest*
  5202. fi
  5203. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  5204. $as_echo "$lt_cv_nm_interface" >&6; }
  5205.  
  5206. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5207. $as_echo_n "checking whether ln -s works... " >&6; }
  5208. LN_S=$as_ln_s
  5209. if test "$LN_S" = "ln -s"; then
  5210.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5211. $as_echo "yes" >&6; }
  5212. else
  5213.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5214. $as_echo "no, using $LN_S" >&6; }
  5215. fi
  5216.  
  5217. # find the maximum length of command line arguments
  5218. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  5219. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  5220. if ${lt_cv_sys_max_cmd_len+:} false; then :
  5221.   $as_echo_n "(cached) " >&6
  5222. else
  5223.     i=0
  5224.   teststring="ABCD"
  5225.  
  5226.   case $build_os in
  5227.   msdosdjgpp*)
  5228.     # On DJGPP, this test can blow up pretty badly due to problems in libc
  5229.     # (any single argument exceeding 2000 bytes causes a buffer overrun
  5230.     # during glob expansion).  Even if it were fixed, the result of this
  5231.     # check would be larger than it should be.
  5232.     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  5233.     ;;
  5234.  
  5235.   gnu*)
  5236.     # Under GNU Hurd, this test is not required because there is
  5237.     # no limit to the length of command line arguments.
  5238.     # Libtool will interpret -1 as no limit whatsoever
  5239.     lt_cv_sys_max_cmd_len=-1;
  5240.     ;;
  5241.  
  5242.   cygwin* | mingw* | cegcc*)
  5243.     # On Win9x/ME, this test blows up -- it succeeds, but takes
  5244.     # about 5 minutes as the teststring grows exponentially.
  5245.     # Worse, since 9x/ME are not pre-emptively multitasking,
  5246.     # you end up with a "frozen" computer, even though with patience
  5247.     # the test eventually succeeds (with a max line length of 256k).
  5248.     # Instead, let's just punt: use the minimum linelength reported by
  5249.     # all of the supported platforms: 8192 (on NT/2K/XP).
  5250.     lt_cv_sys_max_cmd_len=8192;
  5251.     ;;
  5252.  
  5253.   mint*)
  5254.     # On MiNT this can take a long time and run out of memory.
  5255.     lt_cv_sys_max_cmd_len=8192;
  5256.     ;;
  5257.  
  5258.   amigaos*)
  5259.     # On AmigaOS with pdksh, this test takes hours, literally.
  5260.     # So we just punt and use a minimum line length of 8192.
  5261.     lt_cv_sys_max_cmd_len=8192;
  5262.     ;;
  5263.  
  5264.   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5265.     # This has been around since 386BSD, at least.  Likely further.
  5266.     if test -x /sbin/sysctl; then
  5267.       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5268.     elif test -x /usr/sbin/sysctl; then
  5269.       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5270.     else
  5271.       lt_cv_sys_max_cmd_len=65536   # usable default for all BSDs
  5272.     fi
  5273.     # And add a safety zone
  5274.     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5275.     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5276.     ;;
  5277.  
  5278.   interix*)
  5279.     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  5280.     lt_cv_sys_max_cmd_len=196608
  5281.     ;;
  5282.  
  5283.   os2*)
  5284.     # The test takes a long time on OS/2.
  5285.     lt_cv_sys_max_cmd_len=8192
  5286.     ;;
  5287.  
  5288.   osf*)
  5289.     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5290.     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5291.     # nice to cause kernel panics so lets avoid the loop below.
  5292.     # First set a reasonable default.
  5293.     lt_cv_sys_max_cmd_len=16384
  5294.     #
  5295.     if test -x /sbin/sysconfig; then
  5296.       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5297.         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5298.       esac
  5299.     fi
  5300.     ;;
  5301.   sco3.2v5*)
  5302.     lt_cv_sys_max_cmd_len=102400
  5303.     ;;
  5304.   sysv5* | sco5v6* | sysv4.2uw2*)
  5305.     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  5306.     if test -n "$kargmax"; then
  5307.       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
  5308.     else
  5309.       lt_cv_sys_max_cmd_len=32768
  5310.     fi
  5311.     ;;
  5312.   *)
  5313.     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  5314.     if test -n "$lt_cv_sys_max_cmd_len" && \
  5315.     test undefined != "$lt_cv_sys_max_cmd_len"; then
  5316.       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5317.       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5318.     else
  5319.       # Make teststring a little bigger before we do anything with it.
  5320.       # a 1K string should be a reasonable start.
  5321.       for i in 1 2 3 4 5 6 7 8 ; do
  5322.         teststring=$teststring$teststring
  5323.       done
  5324.       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5325.       # If test is not a shell built-in, we'll probably end up computing a
  5326.       # maximum length that is only half of the actual maximum length, but
  5327.       # we can't tell.
  5328.       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
  5329.              = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  5330.           test $i != 17 # 1/2 MB should be enough
  5331.       do
  5332.         i=`expr $i + 1`
  5333.         teststring=$teststring$teststring
  5334.       done
  5335.       # Only check the string length outside the loop.
  5336.       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  5337.       teststring=
  5338.       # Add a significant safety factor because C++ compilers can tack on
  5339.       # massive amounts of additional arguments before passing them to the
  5340.       # linker.  It appears as though 1/2 is a usable value.
  5341.       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5342.     fi
  5343.     ;;
  5344.   esac
  5345.  
  5346. fi
  5347.  
  5348. if test -n $lt_cv_sys_max_cmd_len ; then
  5349.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  5350. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  5351. else
  5352.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  5353. $as_echo "none" >&6; }
  5354. fi
  5355. max_cmd_len=$lt_cv_sys_max_cmd_len
  5356.  
  5357.  
  5358.  
  5359.  
  5360.  
  5361.  
  5362. : ${CP="cp -f"}
  5363. : ${MV="mv -f"}
  5364. : ${RM="rm -f"}
  5365.  
  5366. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  5367. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  5368. # Try some XSI features
  5369. xsi_shell=no
  5370. ( _lt_dummy="a/b/c"
  5371.   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  5372.       = c,a/b,b/c, \
  5373.     && eval 'test $(( 1 + 1 )) -eq 2 \
  5374.    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  5375.   && xsi_shell=yes
  5376. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  5377. $as_echo "$xsi_shell" >&6; }
  5378.  
  5379.  
  5380. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  5381. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  5382. lt_shell_append=no
  5383. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  5384.     >/dev/null 2>&1 \
  5385.   && lt_shell_append=yes
  5386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  5387. $as_echo "$lt_shell_append" >&6; }
  5388.  
  5389.  
  5390. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5391.   lt_unset=unset
  5392. else
  5393.   lt_unset=false
  5394. fi
  5395.  
  5396.  
  5397.  
  5398.  
  5399.  
  5400. # test EBCDIC or ASCII
  5401. case `echo X|tr X '\101'` in
  5402.  A) # ASCII based system
  5403.     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5404.   lt_SP2NL='tr \040 \012'
  5405.   lt_NL2SP='tr \015\012 \040\040'
  5406.   ;;
  5407.  *) # EBCDIC based system
  5408.   lt_SP2NL='tr \100 \n'
  5409.   lt_NL2SP='tr \r\n \100\100'
  5410.   ;;
  5411. esac
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419.  
  5420.  
  5421. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  5422. $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  5423. if ${lt_cv_to_host_file_cmd+:} false; then :
  5424.   $as_echo_n "(cached) " >&6
  5425. else
  5426.   case $host in
  5427.   *-*-mingw* )
  5428.     case $build in
  5429.       *-*-mingw* ) # actually msys
  5430.         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  5431.         ;;
  5432.       *-*-cygwin* )
  5433.         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  5434.         ;;
  5435.       * ) # otherwise, assume *nix
  5436.         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  5437.         ;;
  5438.     esac
  5439.     ;;
  5440.   *-*-cygwin* )
  5441.     case $build in
  5442.       *-*-mingw* ) # actually msys
  5443.         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  5444.         ;;
  5445.       *-*-cygwin* )
  5446.         lt_cv_to_host_file_cmd=func_convert_file_noop
  5447.         ;;
  5448.       * ) # otherwise, assume *nix
  5449.         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  5450.         ;;
  5451.     esac
  5452.     ;;
  5453.   * ) # unhandled hosts (and "normal" native builds)
  5454.     lt_cv_to_host_file_cmd=func_convert_file_noop
  5455.     ;;
  5456. esac
  5457.  
  5458. fi
  5459.  
  5460. to_host_file_cmd=$lt_cv_to_host_file_cmd
  5461. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  5462. $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  5463.  
  5464.  
  5465.  
  5466.  
  5467.  
  5468. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  5469. $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  5470. if ${lt_cv_to_tool_file_cmd+:} false; then :
  5471.   $as_echo_n "(cached) " >&6
  5472. else
  5473.   #assume ordinary cross tools, or native build.
  5474. lt_cv_to_tool_file_cmd=func_convert_file_noop
  5475. case $host in
  5476.   *-*-mingw* )
  5477.     case $build in
  5478.       *-*-mingw* ) # actually msys
  5479.         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  5480.         ;;
  5481.     esac
  5482.     ;;
  5483. esac
  5484.  
  5485. fi
  5486.  
  5487. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  5488. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  5489. $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  5490.  
  5491.  
  5492.  
  5493.  
  5494.  
  5495. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  5496. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  5497. if ${lt_cv_ld_reload_flag+:} false; then :
  5498.   $as_echo_n "(cached) " >&6
  5499. else
  5500.   lt_cv_ld_reload_flag='-r'
  5501. fi
  5502. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  5503. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  5504. reload_flag=$lt_cv_ld_reload_flag
  5505. case $reload_flag in
  5506. "" | " "*) ;;
  5507. *) reload_flag=" $reload_flag" ;;
  5508. esac
  5509. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5510. case $host_os in
  5511.   cygwin* | mingw* | pw32* | cegcc*)
  5512.     if test "$GCC" != yes; then
  5513.       reload_cmds=false
  5514.     fi
  5515.     ;;
  5516.   darwin*)
  5517.     if test "$GCC" = yes; then
  5518.       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  5519.     else
  5520.       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5521.     fi
  5522.     ;;
  5523. esac
  5524.  
  5525.  
  5526.  
  5527.  
  5528.  
  5529.  
  5530.  
  5531.  
  5532.  
  5533. if test -n "$ac_tool_prefix"; then
  5534.   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5535. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5536. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5537. $as_echo_n "checking for $ac_word... " >&6; }
  5538. if ${ac_cv_prog_OBJDUMP+:} false; then :
  5539.   $as_echo_n "(cached) " >&6
  5540. else
  5541.   if test -n "$OBJDUMP"; then
  5542.   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5543. else
  5544. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5545. for as_dir in $PATH
  5546. do
  5547.   IFS=$as_save_IFS
  5548.   test -z "$as_dir" && as_dir=.
  5549.     for ac_exec_ext in '' $ac_executable_extensions; do
  5550.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5551.     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5552.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5553.     break 2
  5554.   fi
  5555. done
  5556.   done
  5557. IFS=$as_save_IFS
  5558.  
  5559. fi
  5560. fi
  5561. OBJDUMP=$ac_cv_prog_OBJDUMP
  5562. if test -n "$OBJDUMP"; then
  5563.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  5564. $as_echo "$OBJDUMP" >&6; }
  5565. else
  5566.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5567. $as_echo "no" >&6; }
  5568. fi
  5569.  
  5570.  
  5571. fi
  5572. if test -z "$ac_cv_prog_OBJDUMP"; then
  5573.   ac_ct_OBJDUMP=$OBJDUMP
  5574.   # Extract the first word of "objdump", so it can be a program name with args.
  5575. set dummy objdump; ac_word=$2
  5576. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5577. $as_echo_n "checking for $ac_word... " >&6; }
  5578. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  5579.   $as_echo_n "(cached) " >&6
  5580. else
  5581.   if test -n "$ac_ct_OBJDUMP"; then
  5582.   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5583. else
  5584. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5585. for as_dir in $PATH
  5586. do
  5587.   IFS=$as_save_IFS
  5588.   test -z "$as_dir" && as_dir=.
  5589.     for ac_exec_ext in '' $ac_executable_extensions; do
  5590.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5591.     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5592.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5593.     break 2
  5594.   fi
  5595. done
  5596.   done
  5597. IFS=$as_save_IFS
  5598.  
  5599. fi
  5600. fi
  5601. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5602. if test -n "$ac_ct_OBJDUMP"; then
  5603.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  5604. $as_echo "$ac_ct_OBJDUMP" >&6; }
  5605. else
  5606.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5607. $as_echo "no" >&6; }
  5608. fi
  5609.  
  5610.   if test "x$ac_ct_OBJDUMP" = x; then
  5611.     OBJDUMP="false"
  5612.   else
  5613.     case $cross_compiling:$ac_tool_warned in
  5614. yes:)
  5615. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5616. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5617. ac_tool_warned=yes ;;
  5618. esac
  5619.     OBJDUMP=$ac_ct_OBJDUMP
  5620.   fi
  5621. else
  5622.   OBJDUMP="$ac_cv_prog_OBJDUMP"
  5623. fi
  5624.  
  5625. test -z "$OBJDUMP" && OBJDUMP=objdump
  5626.  
  5627.  
  5628.  
  5629.  
  5630.  
  5631.  
  5632.  
  5633.  
  5634.  
  5635. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  5636. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  5637. if ${lt_cv_deplibs_check_method+:} false; then :
  5638.   $as_echo_n "(cached) " >&6
  5639. else
  5640.   lt_cv_file_magic_cmd='$MAGIC_CMD'
  5641. lt_cv_file_magic_test_file=
  5642. lt_cv_deplibs_check_method='unknown'
  5643. # Need to set the preceding variable on all platforms that support
  5644. # interlibrary dependencies.
  5645. # 'none' -- dependencies not supported.
  5646. # `unknown' -- same as none, but documents that we really don't know.
  5647. # 'pass_all' -- all dependencies passed with no checks.
  5648. # 'test_compile' -- check by making test program.
  5649. # 'file_magic [[regex]]' -- check by looking for files in library path
  5650. # which responds to the $file_magic_cmd with a given extended regex.
  5651. # If you have `file' or equivalent on your system and you're not sure
  5652. # whether `pass_all' will *always* work, you probably want this one.
  5653.  
  5654. case $host_os in
  5655. aix[4-9]*)
  5656.   lt_cv_deplibs_check_method=pass_all
  5657.   ;;
  5658.  
  5659. beos*)
  5660.   lt_cv_deplibs_check_method=pass_all
  5661.   ;;
  5662.  
  5663. bsdi[45]*)
  5664.   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  5665.   lt_cv_file_magic_cmd='/usr/bin/file -L'
  5666.   lt_cv_file_magic_test_file=/shlib/libc.so
  5667.   ;;
  5668.  
  5669. cygwin*)
  5670.   # func_win32_libid is a shell function defined in ltmain.sh
  5671.   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5672.   lt_cv_file_magic_cmd='func_win32_libid'
  5673.   ;;
  5674.  
  5675. mingw* | pw32*)
  5676.   # Base MSYS/MinGW do not provide the 'file' command needed by
  5677.   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  5678.   # unless we find 'file', for example because we are cross-compiling.
  5679.   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  5680.   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  5681.     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5682.     lt_cv_file_magic_cmd='func_win32_libid'
  5683.   else
  5684.     # Keep this pattern in sync with the one in func_win32_libid.
  5685.     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  5686.     lt_cv_file_magic_cmd='$OBJDUMP -f'
  5687.   fi
  5688.   ;;
  5689.  
  5690. cegcc*)
  5691.   # use the weaker test based on 'objdump'. See mingw*.
  5692.   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  5693.   lt_cv_file_magic_cmd='$OBJDUMP -f'
  5694.   ;;
  5695.  
  5696. darwin* | rhapsody*)
  5697.   lt_cv_deplibs_check_method=pass_all
  5698.   ;;
  5699.  
  5700. freebsd* | dragonfly*)
  5701.   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5702.     case $host_cpu in
  5703.     i*86 )
  5704.       # Not sure whether the presence of OpenBSD here was a mistake.
  5705.       # Let's accept both of them until this is cleared up.
  5706.       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5707.       lt_cv_file_magic_cmd=/usr/bin/file
  5708.       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5709.       ;;
  5710.     esac
  5711.   else
  5712.     lt_cv_deplibs_check_method=pass_all
  5713.   fi
  5714.   ;;
  5715.  
  5716. haiku*)
  5717.   lt_cv_deplibs_check_method=pass_all
  5718.   ;;
  5719.  
  5720. hpux10.20* | hpux11*)
  5721.   lt_cv_file_magic_cmd=/usr/bin/file
  5722.   case $host_cpu in
  5723.   ia64*)
  5724.     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5725.     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5726.     ;;
  5727.   hppa*64*)
  5728.     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]'
  5729.     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5730.     ;;
  5731.   *)
  5732.     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  5733.     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5734.     ;;
  5735.   esac
  5736.   ;;
  5737.  
  5738. interix[3-9]*)
  5739.   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5740.   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5741.   ;;
  5742.  
  5743. irix5* | irix6* | nonstopux*)
  5744.   case $LD in
  5745.   *-32|*"-32 ") libmagic=32-bit;;
  5746.   *-n32|*"-n32 ") libmagic=N32;;
  5747.   *-64|*"-64 ") libmagic=64-bit;;
  5748.   *) libmagic=never-match;;
  5749.   esac
  5750.   lt_cv_deplibs_check_method=pass_all
  5751.   ;;
  5752.  
  5753. # This must be glibc/ELF.
  5754. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  5755.   lt_cv_deplibs_check_method=pass_all
  5756.   ;;
  5757.  
  5758. netbsd* | netbsdelf*-gnu)
  5759.   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5760.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5761.   else
  5762.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5763.   fi
  5764.   ;;
  5765.  
  5766. newos6*)
  5767.   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5768.   lt_cv_file_magic_cmd=/usr/bin/file
  5769.   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5770.   ;;
  5771.  
  5772. *nto* | *qnx*)
  5773.   lt_cv_deplibs_check_method=pass_all
  5774.   ;;
  5775.  
  5776. openbsd*)
  5777.   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5778.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5779.   else
  5780.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5781.   fi
  5782.   ;;
  5783.  
  5784. osf3* | osf4* | osf5*)
  5785.   lt_cv_deplibs_check_method=pass_all
  5786.   ;;
  5787.  
  5788. rdos*)
  5789.   lt_cv_deplibs_check_method=pass_all
  5790.   ;;
  5791.  
  5792. solaris*)
  5793.   lt_cv_deplibs_check_method=pass_all
  5794.   ;;
  5795.  
  5796. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5797.   lt_cv_deplibs_check_method=pass_all
  5798.   ;;
  5799.  
  5800. sysv4 | sysv4.3*)
  5801.   case $host_vendor in
  5802.   motorola)
  5803.     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]'
  5804.     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5805.     ;;
  5806.   ncr)
  5807.     lt_cv_deplibs_check_method=pass_all
  5808.     ;;
  5809.   sequent)
  5810.     lt_cv_file_magic_cmd='/bin/file'
  5811.     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5812.     ;;
  5813.   sni)
  5814.     lt_cv_file_magic_cmd='/bin/file'
  5815.     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5816.     lt_cv_file_magic_test_file=/lib/libc.so
  5817.     ;;
  5818.   siemens)
  5819.     lt_cv_deplibs_check_method=pass_all
  5820.     ;;
  5821.   pc)
  5822.     lt_cv_deplibs_check_method=pass_all
  5823.     ;;
  5824.   esac
  5825.   ;;
  5826.  
  5827. tpf*)
  5828.   lt_cv_deplibs_check_method=pass_all
  5829.   ;;
  5830. esac
  5831.  
  5832. fi
  5833. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  5834. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5835.  
  5836. file_magic_glob=
  5837. want_nocaseglob=no
  5838. if test "$build" = "$host"; then
  5839.   case $host_os in
  5840.   mingw* | pw32*)
  5841.     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  5842.       want_nocaseglob=yes
  5843.     else
  5844.       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  5845.     fi
  5846.     ;;
  5847.   esac
  5848. fi
  5849.  
  5850. file_magic_cmd=$lt_cv_file_magic_cmd
  5851. deplibs_check_method=$lt_cv_deplibs_check_method
  5852. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5853.  
  5854.  
  5855.  
  5856.  
  5857.  
  5858.  
  5859.  
  5860.  
  5861.  
  5862.  
  5863.  
  5864.  
  5865.  
  5866.  
  5867.  
  5868.  
  5869.  
  5870.  
  5871.  
  5872.  
  5873.  
  5874.  
  5875. if test -n "$ac_tool_prefix"; then
  5876.   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  5877. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  5878. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5879. $as_echo_n "checking for $ac_word... " >&6; }
  5880. if ${ac_cv_prog_DLLTOOL+:} false; then :
  5881.   $as_echo_n "(cached) " >&6
  5882. else
  5883.   if test -n "$DLLTOOL"; then
  5884.   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  5885. else
  5886. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5887. for as_dir in $PATH
  5888. do
  5889.   IFS=$as_save_IFS
  5890.   test -z "$as_dir" && as_dir=.
  5891.     for ac_exec_ext in '' $ac_executable_extensions; do
  5892.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5893.     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  5894.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5895.     break 2
  5896.   fi
  5897. done
  5898.   done
  5899. IFS=$as_save_IFS
  5900.  
  5901. fi
  5902. fi
  5903. DLLTOOL=$ac_cv_prog_DLLTOOL
  5904. if test -n "$DLLTOOL"; then
  5905.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  5906. $as_echo "$DLLTOOL" >&6; }
  5907. else
  5908.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5909. $as_echo "no" >&6; }
  5910. fi
  5911.  
  5912.  
  5913. fi
  5914. if test -z "$ac_cv_prog_DLLTOOL"; then
  5915.   ac_ct_DLLTOOL=$DLLTOOL
  5916.   # Extract the first word of "dlltool", so it can be a program name with args.
  5917. set dummy dlltool; ac_word=$2
  5918. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5919. $as_echo_n "checking for $ac_word... " >&6; }
  5920. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  5921.   $as_echo_n "(cached) " >&6
  5922. else
  5923.   if test -n "$ac_ct_DLLTOOL"; then
  5924.   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  5925. else
  5926. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5927. for as_dir in $PATH
  5928. do
  5929.   IFS=$as_save_IFS
  5930.   test -z "$as_dir" && as_dir=.
  5931.     for ac_exec_ext in '' $ac_executable_extensions; do
  5932.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5933.     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  5934.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5935.     break 2
  5936.   fi
  5937. done
  5938.   done
  5939. IFS=$as_save_IFS
  5940.  
  5941. fi
  5942. fi
  5943. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  5944. if test -n "$ac_ct_DLLTOOL"; then
  5945.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  5946. $as_echo "$ac_ct_DLLTOOL" >&6; }
  5947. else
  5948.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5949. $as_echo "no" >&6; }
  5950. fi
  5951.  
  5952.   if test "x$ac_ct_DLLTOOL" = x; then
  5953.     DLLTOOL="false"
  5954.   else
  5955.     case $cross_compiling:$ac_tool_warned in
  5956. yes:)
  5957. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5958. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5959. ac_tool_warned=yes ;;
  5960. esac
  5961.     DLLTOOL=$ac_ct_DLLTOOL
  5962.   fi
  5963. else
  5964.   DLLTOOL="$ac_cv_prog_DLLTOOL"
  5965. fi
  5966.  
  5967. test -z "$DLLTOOL" && DLLTOOL=dlltool
  5968.  
  5969.  
  5970.  
  5971.  
  5972.  
  5973.  
  5974.  
  5975.  
  5976.  
  5977.  
  5978. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  5979. $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  5980. if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  5981.   $as_echo_n "(cached) " >&6
  5982. else
  5983.   lt_cv_sharedlib_from_linklib_cmd='unknown'
  5984.  
  5985. case $host_os in
  5986. cygwin* | mingw* | pw32* | cegcc*)
  5987.   # two different shell functions defined in ltmain.sh
  5988.   # decide which to use based on capabilities of $DLLTOOL
  5989.   case `$DLLTOOL --help 2>&1` in
  5990.   *--identify-strict*)
  5991.     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  5992.     ;;
  5993.   *)
  5994.     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  5995.     ;;
  5996.   esac
  5997.   ;;
  5998. *)
  5999.   # fallback: assume linklib IS sharedlib
  6000.   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  6001.   ;;
  6002. esac
  6003.  
  6004. fi
  6005. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  6006. $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  6007. sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  6008. test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  6009.  
  6010.  
  6011.  
  6012.  
  6013.  
  6014.  
  6015.  
  6016. if test -n "$ac_tool_prefix"; then
  6017.   for ac_prog in ar
  6018.   do
  6019.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6020. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6021. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6022. $as_echo_n "checking for $ac_word... " >&6; }
  6023. if ${ac_cv_prog_AR+:} false; then :
  6024.   $as_echo_n "(cached) " >&6
  6025. else
  6026.   if test -n "$AR"; then
  6027.   ac_cv_prog_AR="$AR" # Let the user override the test.
  6028. else
  6029. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6030. for as_dir in $PATH
  6031. do
  6032.   IFS=$as_save_IFS
  6033.   test -z "$as_dir" && as_dir=.
  6034.     for ac_exec_ext in '' $ac_executable_extensions; do
  6035.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6036.     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  6037.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6038.     break 2
  6039.   fi
  6040. done
  6041.   done
  6042. IFS=$as_save_IFS
  6043.  
  6044. fi
  6045. fi
  6046. AR=$ac_cv_prog_AR
  6047. if test -n "$AR"; then
  6048.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6049. $as_echo "$AR" >&6; }
  6050. else
  6051.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6052. $as_echo "no" >&6; }
  6053. fi
  6054.  
  6055.  
  6056.     test -n "$AR" && break
  6057.   done
  6058. fi
  6059. if test -z "$AR"; then
  6060.   ac_ct_AR=$AR
  6061.   for ac_prog in ar
  6062. do
  6063.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  6064. set dummy $ac_prog; ac_word=$2
  6065. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6066. $as_echo_n "checking for $ac_word... " >&6; }
  6067. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  6068.   $as_echo_n "(cached) " >&6
  6069. else
  6070.   if test -n "$ac_ct_AR"; then
  6071.   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6072. else
  6073. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6074. for as_dir in $PATH
  6075. do
  6076.   IFS=$as_save_IFS
  6077.   test -z "$as_dir" && as_dir=.
  6078.     for ac_exec_ext in '' $ac_executable_extensions; do
  6079.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6080.     ac_cv_prog_ac_ct_AR="$ac_prog"
  6081.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6082.     break 2
  6083.   fi
  6084. done
  6085.   done
  6086. IFS=$as_save_IFS
  6087.  
  6088. fi
  6089. fi
  6090. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6091. if test -n "$ac_ct_AR"; then
  6092.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6093. $as_echo "$ac_ct_AR" >&6; }
  6094. else
  6095.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6096. $as_echo "no" >&6; }
  6097. fi
  6098.  
  6099.  
  6100.   test -n "$ac_ct_AR" && break
  6101. done
  6102.  
  6103.   if test "x$ac_ct_AR" = x; then
  6104.     AR="false"
  6105.   else
  6106.     case $cross_compiling:$ac_tool_warned in
  6107. yes:)
  6108. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6109. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6110. ac_tool_warned=yes ;;
  6111. esac
  6112.     AR=$ac_ct_AR
  6113.   fi
  6114. fi
  6115.  
  6116. : ${AR=ar}
  6117. : ${AR_FLAGS=cru}
  6118.  
  6119.  
  6120.  
  6121.  
  6122.  
  6123.  
  6124.  
  6125.  
  6126.  
  6127.  
  6128.  
  6129. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  6130. $as_echo_n "checking for archiver @FILE support... " >&6; }
  6131. if ${lt_cv_ar_at_file+:} false; then :
  6132.   $as_echo_n "(cached) " >&6
  6133. else
  6134.   lt_cv_ar_at_file=no
  6135.    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6136. /* end confdefs.h.  */
  6137.  
  6138. int
  6139. main ()
  6140. {
  6141.  
  6142.   ;
  6143.   return 0;
  6144. }
  6145. _ACEOF
  6146. if ac_fn_c_try_compile "$LINENO"; then :
  6147.   echo conftest.$ac_objext > conftest.lst
  6148.       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  6149.       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  6150.   (eval $lt_ar_try) 2>&5
  6151.   ac_status=$?
  6152.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6153.   test $ac_status = 0; }
  6154.       if test "$ac_status" -eq 0; then
  6155.     # Ensure the archiver fails upon bogus file names.
  6156.     rm -f conftest.$ac_objext libconftest.a
  6157.     { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  6158.   (eval $lt_ar_try) 2>&5
  6159.   ac_status=$?
  6160.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6161.   test $ac_status = 0; }
  6162.     if test "$ac_status" -ne 0; then
  6163.           lt_cv_ar_at_file=@
  6164.         fi
  6165.       fi
  6166.       rm -f conftest.* libconftest.a
  6167.  
  6168. fi
  6169. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6170.  
  6171. fi
  6172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  6173. $as_echo "$lt_cv_ar_at_file" >&6; }
  6174.  
  6175. if test "x$lt_cv_ar_at_file" = xno; then
  6176.   archiver_list_spec=
  6177. else
  6178.   archiver_list_spec=$lt_cv_ar_at_file
  6179. fi
  6180.  
  6181.  
  6182.  
  6183.  
  6184.  
  6185.  
  6186.  
  6187. if test -n "$ac_tool_prefix"; then
  6188.   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6189. set dummy ${ac_tool_prefix}strip; ac_word=$2
  6190. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6191. $as_echo_n "checking for $ac_word... " >&6; }
  6192. if ${ac_cv_prog_STRIP+:} false; then :
  6193.   $as_echo_n "(cached) " >&6
  6194. else
  6195.   if test -n "$STRIP"; then
  6196.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6197. else
  6198. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6199. for as_dir in $PATH
  6200. do
  6201.   IFS=$as_save_IFS
  6202.   test -z "$as_dir" && as_dir=.
  6203.     for ac_exec_ext in '' $ac_executable_extensions; do
  6204.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6205.     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6206.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6207.     break 2
  6208.   fi
  6209. done
  6210.   done
  6211. IFS=$as_save_IFS
  6212.  
  6213. fi
  6214. fi
  6215. STRIP=$ac_cv_prog_STRIP
  6216. if test -n "$STRIP"; then
  6217.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  6218. $as_echo "$STRIP" >&6; }
  6219. else
  6220.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6221. $as_echo "no" >&6; }
  6222. fi
  6223.  
  6224.  
  6225. fi
  6226. if test -z "$ac_cv_prog_STRIP"; then
  6227.   ac_ct_STRIP=$STRIP
  6228.   # Extract the first word of "strip", so it can be a program name with args.
  6229. set dummy strip; ac_word=$2
  6230. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6231. $as_echo_n "checking for $ac_word... " >&6; }
  6232. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  6233.   $as_echo_n "(cached) " >&6
  6234. else
  6235.   if test -n "$ac_ct_STRIP"; then
  6236.   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6237. else
  6238. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6239. for as_dir in $PATH
  6240. do
  6241.   IFS=$as_save_IFS
  6242.   test -z "$as_dir" && as_dir=.
  6243.     for ac_exec_ext in '' $ac_executable_extensions; do
  6244.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6245.     ac_cv_prog_ac_ct_STRIP="strip"
  6246.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6247.     break 2
  6248.   fi
  6249. done
  6250.   done
  6251. IFS=$as_save_IFS
  6252.  
  6253. fi
  6254. fi
  6255. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6256. if test -n "$ac_ct_STRIP"; then
  6257.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  6258. $as_echo "$ac_ct_STRIP" >&6; }
  6259. else
  6260.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6261. $as_echo "no" >&6; }
  6262. fi
  6263.  
  6264.   if test "x$ac_ct_STRIP" = x; then
  6265.     STRIP=":"
  6266.   else
  6267.     case $cross_compiling:$ac_tool_warned in
  6268. yes:)
  6269. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6270. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6271. ac_tool_warned=yes ;;
  6272. esac
  6273.     STRIP=$ac_ct_STRIP
  6274.   fi
  6275. else
  6276.   STRIP="$ac_cv_prog_STRIP"
  6277. fi
  6278.  
  6279. test -z "$STRIP" && STRIP=:
  6280.  
  6281.  
  6282.  
  6283.  
  6284.  
  6285.  
  6286. if test -n "$ac_tool_prefix"; then
  6287.   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6288. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6289. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6290. $as_echo_n "checking for $ac_word... " >&6; }
  6291. if ${ac_cv_prog_RANLIB+:} false; then :
  6292.   $as_echo_n "(cached) " >&6
  6293. else
  6294.   if test -n "$RANLIB"; then
  6295.   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6296. else
  6297. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6298. for as_dir in $PATH
  6299. do
  6300.   IFS=$as_save_IFS
  6301.   test -z "$as_dir" && as_dir=.
  6302.     for ac_exec_ext in '' $ac_executable_extensions; do
  6303.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6304.     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6305.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6306.     break 2
  6307.   fi
  6308. done
  6309.   done
  6310. IFS=$as_save_IFS
  6311.  
  6312. fi
  6313. fi
  6314. RANLIB=$ac_cv_prog_RANLIB
  6315. if test -n "$RANLIB"; then
  6316.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6317. $as_echo "$RANLIB" >&6; }
  6318. else
  6319.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6320. $as_echo "no" >&6; }
  6321. fi
  6322.  
  6323.  
  6324. fi
  6325. if test -z "$ac_cv_prog_RANLIB"; then
  6326.   ac_ct_RANLIB=$RANLIB
  6327.   # Extract the first word of "ranlib", so it can be a program name with args.
  6328. set dummy ranlib; ac_word=$2
  6329. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6330. $as_echo_n "checking for $ac_word... " >&6; }
  6331. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  6332.   $as_echo_n "(cached) " >&6
  6333. else
  6334.   if test -n "$ac_ct_RANLIB"; then
  6335.   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6336. else
  6337. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6338. for as_dir in $PATH
  6339. do
  6340.   IFS=$as_save_IFS
  6341.   test -z "$as_dir" && as_dir=.
  6342.     for ac_exec_ext in '' $ac_executable_extensions; do
  6343.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6344.     ac_cv_prog_ac_ct_RANLIB="ranlib"
  6345.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6346.     break 2
  6347.   fi
  6348. done
  6349.   done
  6350. IFS=$as_save_IFS
  6351.  
  6352. fi
  6353. fi
  6354. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6355. if test -n "$ac_ct_RANLIB"; then
  6356.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6357. $as_echo "$ac_ct_RANLIB" >&6; }
  6358. else
  6359.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6360. $as_echo "no" >&6; }
  6361. fi
  6362.  
  6363.   if test "x$ac_ct_RANLIB" = x; then
  6364.     RANLIB=":"
  6365.   else
  6366.     case $cross_compiling:$ac_tool_warned in
  6367. yes:)
  6368. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6369. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6370. ac_tool_warned=yes ;;
  6371. esac
  6372.     RANLIB=$ac_ct_RANLIB
  6373.   fi
  6374. else
  6375.   RANLIB="$ac_cv_prog_RANLIB"
  6376. fi
  6377.  
  6378. test -z "$RANLIB" && RANLIB=:
  6379.  
  6380.  
  6381.  
  6382.  
  6383.  
  6384.  
  6385. # Determine commands to create old-style static archives.
  6386. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6387. old_postinstall_cmds='chmod 644 $oldlib'
  6388. old_postuninstall_cmds=
  6389.  
  6390. if test -n "$RANLIB"; then
  6391.   case $host_os in
  6392.   openbsd*)
  6393.     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  6394.     ;;
  6395.   *)
  6396.     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  6397.     ;;
  6398.   esac
  6399.   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  6400. fi
  6401.  
  6402. case $host_os in
  6403.   darwin*)
  6404.     lock_old_archive_extraction=yes ;;
  6405.   *)
  6406.     lock_old_archive_extraction=no ;;
  6407. esac
  6408.  
  6409.  
  6410.  
  6411.  
  6412.  
  6413.  
  6414.  
  6415.  
  6416.  
  6417.  
  6418.  
  6419.  
  6420.  
  6421.  
  6422.  
  6423.  
  6424.  
  6425.  
  6426.  
  6427.  
  6428.  
  6429.  
  6430.  
  6431.  
  6432.  
  6433.  
  6434.  
  6435.  
  6436.  
  6437.  
  6438.  
  6439.  
  6440.  
  6441.  
  6442.  
  6443.  
  6444.  
  6445.  
  6446.  
  6447. # If no C compiler was specified, use CC.
  6448. LTCC=${LTCC-"$CC"}
  6449.  
  6450. # If no C compiler flags were specified, use CFLAGS.
  6451. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6452.  
  6453. # Allow CC to be a program name with arguments.
  6454. compiler=$CC
  6455.  
  6456.  
  6457. # Check for command to grab the raw symbol name followed by C symbol from nm.
  6458. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  6459. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6460. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  6461.   $as_echo_n "(cached) " >&6
  6462. else
  6463.  
  6464. # These are sane defaults that work on at least a few old systems.
  6465. # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  6466.  
  6467. # Character class describing NM global symbol codes.
  6468. symcode='[BCDEGRST]'
  6469.  
  6470. # Regexp to match symbols that can be accessed directly from C.
  6471. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6472.  
  6473. # Define system-specific variables.
  6474. case $host_os in
  6475. aix*)
  6476.   symcode='[BCDT]'
  6477.   ;;
  6478. cygwin* | mingw* | pw32* | cegcc*)
  6479.   symcode='[ABCDGISTW]'
  6480.   ;;
  6481. hpux*)
  6482.   if test "$host_cpu" = ia64; then
  6483.     symcode='[ABCDEGRST]'
  6484.   fi
  6485.   ;;
  6486. irix* | nonstopux*)
  6487.   symcode='[BCDEGRST]'
  6488.   ;;
  6489. osf*)
  6490.   symcode='[BCDEGQRST]'
  6491.   ;;
  6492. solaris*)
  6493.   symcode='[BDRT]'
  6494.   ;;
  6495. sco3.2v5*)
  6496.   symcode='[DT]'
  6497.   ;;
  6498. sysv4.2uw2*)
  6499.   symcode='[DT]'
  6500.   ;;
  6501. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6502.   symcode='[ABDT]'
  6503.   ;;
  6504. sysv4)
  6505.   symcode='[DFNSTU]'
  6506.   ;;
  6507. esac
  6508.  
  6509. # If we're using GNU nm, then use its standard symbol codes.
  6510. case `$NM -V 2>&1` in
  6511. *GNU* | *'with BFD'*)
  6512.   symcode='[ABCDGIRSTW]' ;;
  6513. esac
  6514.  
  6515. # Transform an extracted symbol line into a proper C declaration.
  6516. # Some systems (esp. on ia64) link data and code symbols differently,
  6517. # so use this general approach.
  6518. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6519.  
  6520. # Transform an extracted symbol line into symbol name and symbol address
  6521. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  6522. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
  6523.  
  6524. # Handle CRLF in mingw tool chain
  6525. opt_cr=
  6526. case $build_os in
  6527. mingw*)
  6528.   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6529.   ;;
  6530. esac
  6531.  
  6532. # Try without a prefix underscore, then with it.
  6533. for ac_symprfx in "" "_"; do
  6534.  
  6535.   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6536.   symxfrm="\\1 $ac_symprfx\\2 \\2"
  6537.  
  6538.   # Write the raw and C identifiers.
  6539.   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6540.     # Fake it for dumpbin and say T for any non-static function
  6541.     # and D for any global variable.
  6542.     # Also find C++ and __fastcall symbols from MSVC++,
  6543.     # which start with @ or ?.
  6544.     lt_cv_sys_global_symbol_pipe="$AWK '"\
  6545. "     {last_section=section; section=\$ 3};"\
  6546. "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  6547. "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  6548. "     \$ 0!~/External *\|/{next};"\
  6549. "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  6550. "     {if(hide[section]) next};"\
  6551. "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  6552. "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  6553. "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  6554. "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  6555. "     ' prfx=^$ac_symprfx"
  6556.   else
  6557.     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[  ]\($symcode$symcode*\)[     ][  ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  6558.   fi
  6559.   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  6560.  
  6561.   # Check to see that the pipe works correctly.
  6562.   pipe_works=no
  6563.  
  6564.   rm -f conftest*
  6565.   cat > conftest.$ac_ext <<_LT_EOF
  6566. #ifdef __cplusplus
  6567. extern "C" {
  6568. #endif
  6569. char nm_test_var;
  6570. void nm_test_func(void);
  6571. void nm_test_func(void){}
  6572. #ifdef __cplusplus
  6573. }
  6574. #endif
  6575. int main(){nm_test_var='a';nm_test_func();return(0);}
  6576. _LT_EOF
  6577.  
  6578.   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6579.   (eval $ac_compile) 2>&5
  6580.   ac_status=$?
  6581.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6582.   test $ac_status = 0; }; then
  6583.     # Now try to grab the symbols.
  6584.     nlist=conftest.nm
  6585.     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  6586.   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  6587.   ac_status=$?
  6588.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6589.   test $ac_status = 0; } && test -s "$nlist"; then
  6590.       # Try sorting and uniquifying the output.
  6591.       if sort "$nlist" | uniq > "$nlist"T; then
  6592.     mv -f "$nlist"T "$nlist"
  6593.       else
  6594.     rm -f "$nlist"T
  6595.       fi
  6596.  
  6597.       # Make sure that we snagged all the symbols we need.
  6598.       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  6599.     if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  6600.       cat <<_LT_EOF > conftest.$ac_ext
  6601. /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
  6602. #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  6603. /* DATA imports from DLLs on WIN32 con't be const, because runtime
  6604.    relocations are performed -- see ld's documentation on pseudo-relocs.  */
  6605. # define LT_DLSYM_CONST
  6606. #elif defined(__osf__)
  6607. /* This system does not cope well with relocations in const data.  */
  6608. # define LT_DLSYM_CONST
  6609. #else
  6610. # define LT_DLSYM_CONST const
  6611. #endif
  6612.  
  6613. #ifdef __cplusplus
  6614. extern "C" {
  6615. #endif
  6616.  
  6617. _LT_EOF
  6618.       # Now generate the symbol file.
  6619.       eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  6620.  
  6621.       cat <<_LT_EOF >> conftest.$ac_ext
  6622.  
  6623. /* The mapping between symbol names and symbols.  */
  6624. LT_DLSYM_CONST struct {
  6625.   const char *name;
  6626.   void       *address;
  6627. }
  6628. lt__PROGRAM__LTX_preloaded_symbols[] =
  6629. {
  6630.   { "@PROGRAM@", (void *) 0 },
  6631. _LT_EOF
  6632.       $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  6633.       cat <<\_LT_EOF >> conftest.$ac_ext
  6634.   {0, (void *) 0}
  6635. };
  6636.  
  6637. /* This works around a problem in FreeBSD linker */
  6638. #ifdef FREEBSD_WORKAROUND
  6639. static const void *lt_preloaded_setup() {
  6640.   return lt__PROGRAM__LTX_preloaded_symbols;
  6641. }
  6642. #endif
  6643.  
  6644. #ifdef __cplusplus
  6645. }
  6646. #endif
  6647. _LT_EOF
  6648.       # Now try linking the two files.
  6649.       mv conftest.$ac_objext conftstm.$ac_objext
  6650.       lt_globsym_save_LIBS=$LIBS
  6651.       lt_globsym_save_CFLAGS=$CFLAGS
  6652.       LIBS="conftstm.$ac_objext"
  6653.       CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  6654.       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  6655.   (eval $ac_link) 2>&5
  6656.   ac_status=$?
  6657.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6658.   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  6659.         pipe_works=yes
  6660.       fi
  6661.       LIBS=$lt_globsym_save_LIBS
  6662.       CFLAGS=$lt_globsym_save_CFLAGS
  6663.     else
  6664.       echo "cannot find nm_test_func in $nlist" >&5
  6665.     fi
  6666.       else
  6667.     echo "cannot find nm_test_var in $nlist" >&5
  6668.       fi
  6669.     else
  6670.       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  6671.     fi
  6672.   else
  6673.     echo "$progname: failed program was:" >&5
  6674.     cat conftest.$ac_ext >&5
  6675.   fi
  6676.   rm -rf conftest* conftst*
  6677.  
  6678.   # Do not use the global_symbol_pipe unless it works.
  6679.   if test "$pipe_works" = yes; then
  6680.     break
  6681.   else
  6682.     lt_cv_sys_global_symbol_pipe=
  6683.   fi
  6684. done
  6685.  
  6686. fi
  6687.  
  6688. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  6689.   lt_cv_sys_global_symbol_to_cdecl=
  6690. fi
  6691. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  6692.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  6693. $as_echo "failed" >&6; }
  6694. else
  6695.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  6696. $as_echo "ok" >&6; }
  6697. fi
  6698.  
  6699. # Response file support.
  6700. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6701.   nm_file_list_spec='@'
  6702. elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  6703.   nm_file_list_spec='@'
  6704. fi
  6705.  
  6706.  
  6707.  
  6708.  
  6709.  
  6710.  
  6711.  
  6712.  
  6713.  
  6714.  
  6715.  
  6716.  
  6717.  
  6718.  
  6719.  
  6720.  
  6721.  
  6722.  
  6723.  
  6724.  
  6725.  
  6726.  
  6727.  
  6728.  
  6729.  
  6730.  
  6731.  
  6732. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  6733. $as_echo_n "checking for sysroot... " >&6; }
  6734.  
  6735. # Check whether --with-sysroot was given.
  6736. if test "${with_sysroot+set}" = set; then :
  6737.   withval=$with_sysroot;
  6738. else
  6739.   with_sysroot=no
  6740. fi
  6741.  
  6742.  
  6743. lt_sysroot=
  6744. case ${with_sysroot} in #(
  6745.  yes)
  6746.    if test "$GCC" = yes; then
  6747.      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  6748.    fi
  6749.    ;; #(
  6750.  /*)
  6751.    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  6752.    ;; #(
  6753.  no|'')
  6754.    ;; #(
  6755.  *)
  6756.    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  6757. $as_echo "${with_sysroot}" >&6; }
  6758.    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  6759.    ;;
  6760. esac
  6761.  
  6762.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  6763. $as_echo "${lt_sysroot:-no}" >&6; }
  6764.  
  6765.  
  6766.  
  6767.  
  6768.  
  6769. # Check whether --enable-libtool-lock was given.
  6770. if test "${enable_libtool_lock+set}" = set; then :
  6771.   enableval=$enable_libtool_lock;
  6772. fi
  6773.  
  6774. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6775.  
  6776. # Some flags need to be propagated to the compiler or linker for good
  6777. # libtool support.
  6778. case $host in
  6779. ia64-*-hpux*)
  6780.   # Find out which ABI we are using.
  6781.   echo 'int i;' > conftest.$ac_ext
  6782.   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6783.   (eval $ac_compile) 2>&5
  6784.   ac_status=$?
  6785.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6786.   test $ac_status = 0; }; then
  6787.     case `/usr/bin/file conftest.$ac_objext` in
  6788.       *ELF-32*)
  6789.     HPUX_IA64_MODE="32"
  6790.     ;;
  6791.       *ELF-64*)
  6792.     HPUX_IA64_MODE="64"
  6793.     ;;
  6794.     esac
  6795.   fi
  6796.   rm -rf conftest*
  6797.   ;;
  6798. *-*-irix6*)
  6799.   # Find out which ABI we are using.
  6800.   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  6801.   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6802.   (eval $ac_compile) 2>&5
  6803.   ac_status=$?
  6804.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6805.   test $ac_status = 0; }; then
  6806.     if test "$lt_cv_prog_gnu_ld" = yes; then
  6807.       case `/usr/bin/file conftest.$ac_objext` in
  6808.     *32-bit*)
  6809.       LD="${LD-ld} -melf32bsmip"
  6810.       ;;
  6811.     *N32*)
  6812.       LD="${LD-ld} -melf32bmipn32"
  6813.       ;;
  6814.     *64-bit*)
  6815.       LD="${LD-ld} -melf64bmip"
  6816.     ;;
  6817.       esac
  6818.     else
  6819.       case `/usr/bin/file conftest.$ac_objext` in
  6820.     *32-bit*)
  6821.       LD="${LD-ld} -32"
  6822.       ;;
  6823.     *N32*)
  6824.       LD="${LD-ld} -n32"
  6825.       ;;
  6826.     *64-bit*)
  6827.       LD="${LD-ld} -64"
  6828.       ;;
  6829.       esac
  6830.     fi
  6831.   fi
  6832.   rm -rf conftest*
  6833.   ;;
  6834.  
  6835. x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  6836. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6837.   # Find out which ABI we are using.
  6838.   echo 'int i;' > conftest.$ac_ext
  6839.   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6840.   (eval $ac_compile) 2>&5
  6841.   ac_status=$?
  6842.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6843.   test $ac_status = 0; }; then
  6844.     case `/usr/bin/file conftest.o` in
  6845.       *32-bit*)
  6846.     case $host in
  6847.       x86_64-*kfreebsd*-gnu)
  6848.         LD="${LD-ld} -m elf_i386_fbsd"
  6849.         ;;
  6850.       x86_64-*linux*)
  6851.         case `/usr/bin/file conftest.o` in
  6852.           *x86-64*)
  6853.         LD="${LD-ld} -m elf32_x86_64"
  6854.         ;;
  6855.           *)
  6856.         LD="${LD-ld} -m elf_i386"
  6857.         ;;
  6858.         esac
  6859.         ;;
  6860.       powerpc64le-*)
  6861.         LD="${LD-ld} -m elf32lppclinux"
  6862.         ;;
  6863.       powerpc64-*)
  6864.         LD="${LD-ld} -m elf32ppclinux"
  6865.         ;;
  6866.       s390x-*linux*)
  6867.         LD="${LD-ld} -m elf_s390"
  6868.         ;;
  6869.       sparc64-*linux*)
  6870.         LD="${LD-ld} -m elf32_sparc"
  6871.         ;;
  6872.     esac
  6873.     ;;
  6874.       *64-bit*)
  6875.     case $host in
  6876.       x86_64-*kfreebsd*-gnu)
  6877.         LD="${LD-ld} -m elf_x86_64_fbsd"
  6878.         ;;
  6879.       x86_64-*linux*)
  6880.         LD="${LD-ld} -m elf_x86_64"
  6881.         ;;
  6882.       powerpcle-*)
  6883.         LD="${LD-ld} -m elf64lppc"
  6884.         ;;
  6885.       powerpc-*)
  6886.         LD="${LD-ld} -m elf64ppc"
  6887.         ;;
  6888.       s390*-*linux*|s390*-*tpf*)
  6889.         LD="${LD-ld} -m elf64_s390"
  6890.         ;;
  6891.       sparc*-*linux*)
  6892.         LD="${LD-ld} -m elf64_sparc"
  6893.         ;;
  6894.     esac
  6895.     ;;
  6896.     esac
  6897.   fi
  6898.   rm -rf conftest*
  6899.   ;;
  6900.  
  6901. *-*-sco3.2v5*)
  6902.   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6903.   SAVE_CFLAGS="$CFLAGS"
  6904.   CFLAGS="$CFLAGS -belf"
  6905.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  6906. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6907. if ${lt_cv_cc_needs_belf+:} false; then :
  6908.   $as_echo_n "(cached) " >&6
  6909. else
  6910.   ac_ext=c
  6911. ac_cpp='$CPP $CPPFLAGS'
  6912. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6913. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6914. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6915.  
  6916.      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6917. /* end confdefs.h.  */
  6918.  
  6919. int
  6920. main ()
  6921. {
  6922.  
  6923.   ;
  6924.   return 0;
  6925. }
  6926. _ACEOF
  6927. if ac_fn_c_try_link "$LINENO"; then :
  6928.   lt_cv_cc_needs_belf=yes
  6929. else
  6930.   lt_cv_cc_needs_belf=no
  6931. fi
  6932. rm -f core conftest.err conftest.$ac_objext \
  6933.     conftest$ac_exeext conftest.$ac_ext
  6934.      ac_ext=c
  6935. ac_cpp='$CPP $CPPFLAGS'
  6936. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6937. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6938. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6939.  
  6940. fi
  6941. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  6942. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6943.   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6944.     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6945.     CFLAGS="$SAVE_CFLAGS"
  6946.   fi
  6947.   ;;
  6948. *-*solaris*)
  6949.   # Find out which ABI we are using.
  6950.   echo 'int i;' > conftest.$ac_ext
  6951.   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6952.   (eval $ac_compile) 2>&5
  6953.   ac_status=$?
  6954.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6955.   test $ac_status = 0; }; then
  6956.     case `/usr/bin/file conftest.o` in
  6957.     *64-bit*)
  6958.       case $lt_cv_prog_gnu_ld in
  6959.       yes*)
  6960.         case $host in
  6961.         i?86-*-solaris*)
  6962.           LD="${LD-ld} -m elf_x86_64"
  6963.           ;;
  6964.         sparc*-*-solaris*)
  6965.           LD="${LD-ld} -m elf64_sparc"
  6966.           ;;
  6967.         esac
  6968.         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
  6969.         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  6970.           LD="${LD-ld}_sol2"
  6971.         fi
  6972.         ;;
  6973.       *)
  6974.     if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6975.       LD="${LD-ld} -64"
  6976.     fi
  6977.     ;;
  6978.       esac
  6979.       ;;
  6980.     esac
  6981.   fi
  6982.   rm -rf conftest*
  6983.   ;;
  6984. esac
  6985.  
  6986. need_locks="$enable_libtool_lock"
  6987.  
  6988. if test -n "$ac_tool_prefix"; then
  6989.   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  6990. set dummy ${ac_tool_prefix}mt; ac_word=$2
  6991. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6992. $as_echo_n "checking for $ac_word... " >&6; }
  6993. if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  6994.   $as_echo_n "(cached) " >&6
  6995. else
  6996.   if test -n "$MANIFEST_TOOL"; then
  6997.   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  6998. else
  6999. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7000. for as_dir in $PATH
  7001. do
  7002.   IFS=$as_save_IFS
  7003.   test -z "$as_dir" && as_dir=.
  7004.     for ac_exec_ext in '' $ac_executable_extensions; do
  7005.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7006.     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  7007.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7008.     break 2
  7009.   fi
  7010. done
  7011.   done
  7012. IFS=$as_save_IFS
  7013.  
  7014. fi
  7015. fi
  7016. MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  7017. if test -n "$MANIFEST_TOOL"; then
  7018.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  7019. $as_echo "$MANIFEST_TOOL" >&6; }
  7020. else
  7021.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7022. $as_echo "no" >&6; }
  7023. fi
  7024.  
  7025.  
  7026. fi
  7027. if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  7028.   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  7029.   # Extract the first word of "mt", so it can be a program name with args.
  7030. set dummy mt; ac_word=$2
  7031. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7032. $as_echo_n "checking for $ac_word... " >&6; }
  7033. if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  7034.   $as_echo_n "(cached) " >&6
  7035. else
  7036.   if test -n "$ac_ct_MANIFEST_TOOL"; then
  7037.   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  7038. else
  7039. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7040. for as_dir in $PATH
  7041. do
  7042.   IFS=$as_save_IFS
  7043.   test -z "$as_dir" && as_dir=.
  7044.     for ac_exec_ext in '' $ac_executable_extensions; do
  7045.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7046.     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  7047.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7048.     break 2
  7049.   fi
  7050. done
  7051.   done
  7052. IFS=$as_save_IFS
  7053.  
  7054. fi
  7055. fi
  7056. ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  7057. if test -n "$ac_ct_MANIFEST_TOOL"; then
  7058.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  7059. $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  7060. else
  7061.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7062. $as_echo "no" >&6; }
  7063. fi
  7064.  
  7065.   if test "x$ac_ct_MANIFEST_TOOL" = x; then
  7066.     MANIFEST_TOOL=":"
  7067.   else
  7068.     case $cross_compiling:$ac_tool_warned in
  7069. yes:)
  7070. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7071. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7072. ac_tool_warned=yes ;;
  7073. esac
  7074.     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  7075.   fi
  7076. else
  7077.   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  7078. fi
  7079.  
  7080. test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  7081. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  7082. $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  7083. if ${lt_cv_path_mainfest_tool+:} false; then :
  7084.   $as_echo_n "(cached) " >&6
  7085. else
  7086.   lt_cv_path_mainfest_tool=no
  7087.   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  7088.   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  7089.   cat conftest.err >&5
  7090.   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  7091.     lt_cv_path_mainfest_tool=yes
  7092.   fi
  7093.   rm -f conftest*
  7094. fi
  7095. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  7096. $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  7097. if test "x$lt_cv_path_mainfest_tool" != xyes; then
  7098.   MANIFEST_TOOL=:
  7099. fi
  7100.  
  7101.  
  7102.  
  7103.  
  7104.  
  7105.  
  7106.   case $host_os in
  7107.     rhapsody* | darwin*)
  7108.     if test -n "$ac_tool_prefix"; then
  7109.   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  7110. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  7111. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7112. $as_echo_n "checking for $ac_word... " >&6; }
  7113. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  7114.   $as_echo_n "(cached) " >&6
  7115. else
  7116.   if test -n "$DSYMUTIL"; then
  7117.   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  7118. else
  7119. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7120. for as_dir in $PATH
  7121. do
  7122.   IFS=$as_save_IFS
  7123.   test -z "$as_dir" && as_dir=.
  7124.     for ac_exec_ext in '' $ac_executable_extensions; do
  7125.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7126.     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  7127.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7128.     break 2
  7129.   fi
  7130. done
  7131.   done
  7132. IFS=$as_save_IFS
  7133.  
  7134. fi
  7135. fi
  7136. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  7137. if test -n "$DSYMUTIL"; then
  7138.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  7139. $as_echo "$DSYMUTIL" >&6; }
  7140. else
  7141.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7142. $as_echo "no" >&6; }
  7143. fi
  7144.  
  7145.  
  7146. fi
  7147. if test -z "$ac_cv_prog_DSYMUTIL"; then
  7148.   ac_ct_DSYMUTIL=$DSYMUTIL
  7149.   # Extract the first word of "dsymutil", so it can be a program name with args.
  7150. set dummy dsymutil; ac_word=$2
  7151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7152. $as_echo_n "checking for $ac_word... " >&6; }
  7153. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  7154.   $as_echo_n "(cached) " >&6
  7155. else
  7156.   if test -n "$ac_ct_DSYMUTIL"; then
  7157.   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  7158. else
  7159. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7160. for as_dir in $PATH
  7161. do
  7162.   IFS=$as_save_IFS
  7163.   test -z "$as_dir" && as_dir=.
  7164.     for ac_exec_ext in '' $ac_executable_extensions; do
  7165.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7166.     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  7167.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7168.     break 2
  7169.   fi
  7170. done
  7171.   done
  7172. IFS=$as_save_IFS
  7173.  
  7174. fi
  7175. fi
  7176. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  7177. if test -n "$ac_ct_DSYMUTIL"; then
  7178.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  7179. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  7180. else
  7181.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7182. $as_echo "no" >&6; }
  7183. fi
  7184.  
  7185.   if test "x$ac_ct_DSYMUTIL" = x; then
  7186.     DSYMUTIL=":"
  7187.   else
  7188.     case $cross_compiling:$ac_tool_warned in
  7189. yes:)
  7190. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7191. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7192. ac_tool_warned=yes ;;
  7193. esac
  7194.     DSYMUTIL=$ac_ct_DSYMUTIL
  7195.   fi
  7196. else
  7197.   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  7198. fi
  7199.  
  7200.     if test -n "$ac_tool_prefix"; then
  7201.   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  7202. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  7203. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7204. $as_echo_n "checking for $ac_word... " >&6; }
  7205. if ${ac_cv_prog_NMEDIT+:} false; then :
  7206.   $as_echo_n "(cached) " >&6
  7207. else
  7208.   if test -n "$NMEDIT"; then
  7209.   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  7210. else
  7211. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7212. for as_dir in $PATH
  7213. do
  7214.   IFS=$as_save_IFS
  7215.   test -z "$as_dir" && as_dir=.
  7216.     for ac_exec_ext in '' $ac_executable_extensions; do
  7217.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7218.     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  7219.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7220.     break 2
  7221.   fi
  7222. done
  7223.   done
  7224. IFS=$as_save_IFS
  7225.  
  7226. fi
  7227. fi
  7228. NMEDIT=$ac_cv_prog_NMEDIT
  7229. if test -n "$NMEDIT"; then
  7230.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  7231. $as_echo "$NMEDIT" >&6; }
  7232. else
  7233.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7234. $as_echo "no" >&6; }
  7235. fi
  7236.  
  7237.  
  7238. fi
  7239. if test -z "$ac_cv_prog_NMEDIT"; then
  7240.   ac_ct_NMEDIT=$NMEDIT
  7241.   # Extract the first word of "nmedit", so it can be a program name with args.
  7242. set dummy nmedit; ac_word=$2
  7243. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7244. $as_echo_n "checking for $ac_word... " >&6; }
  7245. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  7246.   $as_echo_n "(cached) " >&6
  7247. else
  7248.   if test -n "$ac_ct_NMEDIT"; then
  7249.   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  7250. else
  7251. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7252. for as_dir in $PATH
  7253. do
  7254.   IFS=$as_save_IFS
  7255.   test -z "$as_dir" && as_dir=.
  7256.     for ac_exec_ext in '' $ac_executable_extensions; do
  7257.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7258.     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  7259.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7260.     break 2
  7261.   fi
  7262. done
  7263.   done
  7264. IFS=$as_save_IFS
  7265.  
  7266. fi
  7267. fi
  7268. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  7269. if test -n "$ac_ct_NMEDIT"; then
  7270.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  7271. $as_echo "$ac_ct_NMEDIT" >&6; }
  7272. else
  7273.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7274. $as_echo "no" >&6; }
  7275. fi
  7276.  
  7277.   if test "x$ac_ct_NMEDIT" = x; then
  7278.     NMEDIT=":"
  7279.   else
  7280.     case $cross_compiling:$ac_tool_warned in
  7281. yes:)
  7282. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7283. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7284. ac_tool_warned=yes ;;
  7285. esac
  7286.     NMEDIT=$ac_ct_NMEDIT
  7287.   fi
  7288. else
  7289.   NMEDIT="$ac_cv_prog_NMEDIT"
  7290. fi
  7291.  
  7292.     if test -n "$ac_tool_prefix"; then
  7293.   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  7294. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  7295. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7296. $as_echo_n "checking for $ac_word... " >&6; }
  7297. if ${ac_cv_prog_LIPO+:} false; then :
  7298.   $as_echo_n "(cached) " >&6
  7299. else
  7300.   if test -n "$LIPO"; then
  7301.   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  7302. else
  7303. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7304. for as_dir in $PATH
  7305. do
  7306.   IFS=$as_save_IFS
  7307.   test -z "$as_dir" && as_dir=.
  7308.     for ac_exec_ext in '' $ac_executable_extensions; do
  7309.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7310.     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  7311.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7312.     break 2
  7313.   fi
  7314. done
  7315.   done
  7316. IFS=$as_save_IFS
  7317.  
  7318. fi
  7319. fi
  7320. LIPO=$ac_cv_prog_LIPO
  7321. if test -n "$LIPO"; then
  7322.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  7323. $as_echo "$LIPO" >&6; }
  7324. else
  7325.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7326. $as_echo "no" >&6; }
  7327. fi
  7328.  
  7329.  
  7330. fi
  7331. if test -z "$ac_cv_prog_LIPO"; then
  7332.   ac_ct_LIPO=$LIPO
  7333.   # Extract the first word of "lipo", so it can be a program name with args.
  7334. set dummy lipo; ac_word=$2
  7335. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7336. $as_echo_n "checking for $ac_word... " >&6; }
  7337. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  7338.   $as_echo_n "(cached) " >&6
  7339. else
  7340.   if test -n "$ac_ct_LIPO"; then
  7341.   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  7342. else
  7343. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7344. for as_dir in $PATH
  7345. do
  7346.   IFS=$as_save_IFS
  7347.   test -z "$as_dir" && as_dir=.
  7348.     for ac_exec_ext in '' $ac_executable_extensions; do
  7349.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7350.     ac_cv_prog_ac_ct_LIPO="lipo"
  7351.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7352.     break 2
  7353.   fi
  7354. done
  7355.   done
  7356. IFS=$as_save_IFS
  7357.  
  7358. fi
  7359. fi
  7360. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  7361. if test -n "$ac_ct_LIPO"; then
  7362.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  7363. $as_echo "$ac_ct_LIPO" >&6; }
  7364. else
  7365.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7366. $as_echo "no" >&6; }
  7367. fi
  7368.  
  7369.   if test "x$ac_ct_LIPO" = x; then
  7370.     LIPO=":"
  7371.   else
  7372.     case $cross_compiling:$ac_tool_warned in
  7373. yes:)
  7374. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7375. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7376. ac_tool_warned=yes ;;
  7377. esac
  7378.     LIPO=$ac_ct_LIPO
  7379.   fi
  7380. else
  7381.   LIPO="$ac_cv_prog_LIPO"
  7382. fi
  7383.  
  7384.     if test -n "$ac_tool_prefix"; then
  7385.   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7386. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7387. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7388. $as_echo_n "checking for $ac_word... " >&6; }
  7389. if ${ac_cv_prog_OTOOL+:} false; then :
  7390.   $as_echo_n "(cached) " >&6
  7391. else
  7392.   if test -n "$OTOOL"; then
  7393.   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7394. else
  7395. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7396. for as_dir in $PATH
  7397. do
  7398.   IFS=$as_save_IFS
  7399.   test -z "$as_dir" && as_dir=.
  7400.     for ac_exec_ext in '' $ac_executable_extensions; do
  7401.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7402.     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7403.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7404.     break 2
  7405.   fi
  7406. done
  7407.   done
  7408. IFS=$as_save_IFS
  7409.  
  7410. fi
  7411. fi
  7412. OTOOL=$ac_cv_prog_OTOOL
  7413. if test -n "$OTOOL"; then
  7414.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7415. $as_echo "$OTOOL" >&6; }
  7416. else
  7417.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7418. $as_echo "no" >&6; }
  7419. fi
  7420.  
  7421.  
  7422. fi
  7423. if test -z "$ac_cv_prog_OTOOL"; then
  7424.   ac_ct_OTOOL=$OTOOL
  7425.   # Extract the first word of "otool", so it can be a program name with args.
  7426. set dummy otool; ac_word=$2
  7427. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7428. $as_echo_n "checking for $ac_word... " >&6; }
  7429. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  7430.   $as_echo_n "(cached) " >&6
  7431. else
  7432.   if test -n "$ac_ct_OTOOL"; then
  7433.   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7434. else
  7435. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7436. for as_dir in $PATH
  7437. do
  7438.   IFS=$as_save_IFS
  7439.   test -z "$as_dir" && as_dir=.
  7440.     for ac_exec_ext in '' $ac_executable_extensions; do
  7441.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7442.     ac_cv_prog_ac_ct_OTOOL="otool"
  7443.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7444.     break 2
  7445.   fi
  7446. done
  7447.   done
  7448. IFS=$as_save_IFS
  7449.  
  7450. fi
  7451. fi
  7452. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7453. if test -n "$ac_ct_OTOOL"; then
  7454.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7455. $as_echo "$ac_ct_OTOOL" >&6; }
  7456. else
  7457.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7458. $as_echo "no" >&6; }
  7459. fi
  7460.  
  7461.   if test "x$ac_ct_OTOOL" = x; then
  7462.     OTOOL=":"
  7463.   else
  7464.     case $cross_compiling:$ac_tool_warned in
  7465. yes:)
  7466. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7467. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7468. ac_tool_warned=yes ;;
  7469. esac
  7470.     OTOOL=$ac_ct_OTOOL
  7471.   fi
  7472. else
  7473.   OTOOL="$ac_cv_prog_OTOOL"
  7474. fi
  7475.  
  7476.     if test -n "$ac_tool_prefix"; then
  7477.   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  7478. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  7479. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7480. $as_echo_n "checking for $ac_word... " >&6; }
  7481. if ${ac_cv_prog_OTOOL64+:} false; then :
  7482.   $as_echo_n "(cached) " >&6
  7483. else
  7484.   if test -n "$OTOOL64"; then
  7485.   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  7486. else
  7487. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7488. for as_dir in $PATH
  7489. do
  7490.   IFS=$as_save_IFS
  7491.   test -z "$as_dir" && as_dir=.
  7492.     for ac_exec_ext in '' $ac_executable_extensions; do
  7493.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7494.     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  7495.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7496.     break 2
  7497.   fi
  7498. done
  7499.   done
  7500. IFS=$as_save_IFS
  7501.  
  7502. fi
  7503. fi
  7504. OTOOL64=$ac_cv_prog_OTOOL64
  7505. if test -n "$OTOOL64"; then
  7506.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  7507. $as_echo "$OTOOL64" >&6; }
  7508. else
  7509.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7510. $as_echo "no" >&6; }
  7511. fi
  7512.  
  7513.  
  7514. fi
  7515. if test -z "$ac_cv_prog_OTOOL64"; then
  7516.   ac_ct_OTOOL64=$OTOOL64
  7517.   # Extract the first word of "otool64", so it can be a program name with args.
  7518. set dummy otool64; ac_word=$2
  7519. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7520. $as_echo_n "checking for $ac_word... " >&6; }
  7521. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  7522.   $as_echo_n "(cached) " >&6
  7523. else
  7524.   if test -n "$ac_ct_OTOOL64"; then
  7525.   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  7526. else
  7527. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7528. for as_dir in $PATH
  7529. do
  7530.   IFS=$as_save_IFS
  7531.   test -z "$as_dir" && as_dir=.
  7532.     for ac_exec_ext in '' $ac_executable_extensions; do
  7533.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7534.     ac_cv_prog_ac_ct_OTOOL64="otool64"
  7535.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7536.     break 2
  7537.   fi
  7538. done
  7539.   done
  7540. IFS=$as_save_IFS
  7541.  
  7542. fi
  7543. fi
  7544. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  7545. if test -n "$ac_ct_OTOOL64"; then
  7546.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  7547. $as_echo "$ac_ct_OTOOL64" >&6; }
  7548. else
  7549.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7550. $as_echo "no" >&6; }
  7551. fi
  7552.  
  7553.   if test "x$ac_ct_OTOOL64" = x; then
  7554.     OTOOL64=":"
  7555.   else
  7556.     case $cross_compiling:$ac_tool_warned in
  7557. yes:)
  7558. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7559. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7560. ac_tool_warned=yes ;;
  7561. esac
  7562.     OTOOL64=$ac_ct_OTOOL64
  7563.   fi
  7564. else
  7565.   OTOOL64="$ac_cv_prog_OTOOL64"
  7566. fi
  7567.  
  7568.  
  7569.  
  7570.  
  7571.  
  7572.  
  7573.  
  7574.  
  7575.  
  7576.  
  7577.  
  7578.  
  7579.  
  7580.  
  7581.  
  7582.  
  7583.  
  7584.  
  7585.  
  7586.  
  7587.  
  7588.  
  7589.  
  7590.  
  7591.  
  7592.  
  7593.  
  7594.     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  7595. $as_echo_n "checking for -single_module linker flag... " >&6; }
  7596. if ${lt_cv_apple_cc_single_mod+:} false; then :
  7597.   $as_echo_n "(cached) " >&6
  7598. else
  7599.   lt_cv_apple_cc_single_mod=no
  7600.       if test -z "${LT_MULTI_MODULE}"; then
  7601.     # By default we will add the -single_module flag. You can override
  7602.     # by either setting the environment variable LT_MULTI_MODULE
  7603.     # non-empty at configure time, or by adding -multi_module to the
  7604.     # link flags.
  7605.     rm -rf libconftest.dylib*
  7606.     echo "int foo(void){return 1;}" > conftest.c
  7607.     echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7608. -dynamiclib -Wl,-single_module conftest.c" >&5
  7609.     $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7610.       -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  7611.         _lt_result=$?
  7612.     # If there is a non-empty error log, and "single_module"
  7613.     # appears in it, assume the flag caused a linker warning
  7614.         if test -s conftest.err && $GREP single_module conftest.err; then
  7615.       cat conftest.err >&5
  7616.     # Otherwise, if the output was created with a 0 exit code from
  7617.     # the compiler, it worked.
  7618.     elif test -f libconftest.dylib && test $_lt_result -eq 0; then
  7619.       lt_cv_apple_cc_single_mod=yes
  7620.     else
  7621.       cat conftest.err >&5
  7622.     fi
  7623.     rm -rf libconftest.dylib*
  7624.     rm -f conftest.*
  7625.       fi
  7626. fi
  7627. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  7628. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  7629.  
  7630.     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  7631. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  7632. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  7633.   $as_echo_n "(cached) " >&6
  7634. else
  7635.   lt_cv_ld_exported_symbols_list=no
  7636.       save_LDFLAGS=$LDFLAGS
  7637.       echo "_main" > conftest.sym
  7638.       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  7639.       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7640. /* end confdefs.h.  */
  7641.  
  7642. int
  7643. main ()
  7644. {
  7645.  
  7646.   ;
  7647.   return 0;
  7648. }
  7649. _ACEOF
  7650. if ac_fn_c_try_link "$LINENO"; then :
  7651.   lt_cv_ld_exported_symbols_list=yes
  7652. else
  7653.   lt_cv_ld_exported_symbols_list=no
  7654. fi
  7655. rm -f core conftest.err conftest.$ac_objext \
  7656.     conftest$ac_exeext conftest.$ac_ext
  7657.     LDFLAGS="$save_LDFLAGS"
  7658.  
  7659. fi
  7660. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  7661. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  7662.  
  7663.     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  7664. $as_echo_n "checking for -force_load linker flag... " >&6; }
  7665. if ${lt_cv_ld_force_load+:} false; then :
  7666.   $as_echo_n "(cached) " >&6
  7667. else
  7668.   lt_cv_ld_force_load=no
  7669.       cat > conftest.c << _LT_EOF
  7670. int forced_loaded() { return 2;}
  7671. _LT_EOF
  7672.       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  7673.       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  7674.       echo "$AR cru libconftest.a conftest.o" >&5
  7675.       $AR cru libconftest.a conftest.o 2>&5
  7676.       echo "$RANLIB libconftest.a" >&5
  7677.       $RANLIB libconftest.a 2>&5
  7678.       cat > conftest.c << _LT_EOF
  7679. int main() { return 0;}
  7680. _LT_EOF
  7681.       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  7682.       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  7683.       _lt_result=$?
  7684.       if test -s conftest.err && $GREP force_load conftest.err; then
  7685.     cat conftest.err >&5
  7686.       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
  7687.     lt_cv_ld_force_load=yes
  7688.       else
  7689.     cat conftest.err >&5
  7690.       fi
  7691.         rm -f conftest.err libconftest.a conftest conftest.c
  7692.         rm -rf conftest.dSYM
  7693.  
  7694. fi
  7695. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  7696. $as_echo "$lt_cv_ld_force_load" >&6; }
  7697.     case $host_os in
  7698.     rhapsody* | darwin1.[012])
  7699.       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  7700.     darwin1.*)
  7701.       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7702.     darwin*) # darwin 5.x on
  7703.       # if running on 10.5 or later, the deployment target defaults
  7704.       # to the OS version, if on x86, and 10.4, the deployment
  7705.       # target defaults to 10.4. Don't you love it?
  7706.       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7707.     10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7708.       _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7709.     10.[012]*)
  7710.       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7711.     10.*)
  7712.       _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7713.       esac
  7714.     ;;
  7715.   esac
  7716.     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  7717.       _lt_dar_single_mod='$single_module'
  7718.     fi
  7719.     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  7720.       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  7721.     else
  7722.       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  7723.     fi
  7724.     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  7725.       _lt_dsymutil='~$DSYMUTIL $lib || :'
  7726.     else
  7727.       _lt_dsymutil=
  7728.     fi
  7729.     ;;
  7730.   esac
  7731.  
  7732. for ac_header in dlfcn.h
  7733. do :
  7734.   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  7735. "
  7736. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  7737.   cat >>confdefs.h <<_ACEOF
  7738. #define HAVE_DLFCN_H 1
  7739. _ACEOF
  7740.  
  7741. fi
  7742.  
  7743. done
  7744.  
  7745.  
  7746.  
  7747.  
  7748.  
  7749. # Set options
  7750.  
  7751.  
  7752.  
  7753.         enable_dlopen=no
  7754.  
  7755.  
  7756.   enable_win32_dll=no
  7757.  
  7758.  
  7759.             # Check whether --enable-shared was given.
  7760. if test "${enable_shared+set}" = set; then :
  7761.   enableval=$enable_shared; p=${PACKAGE-default}
  7762.     case $enableval in
  7763.     yes) enable_shared=yes ;;
  7764.     no) enable_shared=no ;;
  7765.     *)
  7766.       enable_shared=no
  7767.       # Look at the argument we got.  We use all the common list separators.
  7768.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7769.       for pkg in $enableval; do
  7770.     IFS="$lt_save_ifs"
  7771.     if test "X$pkg" = "X$p"; then
  7772.       enable_shared=yes
  7773.     fi
  7774.       done
  7775.       IFS="$lt_save_ifs"
  7776.       ;;
  7777.     esac
  7778. else
  7779.   enable_shared=yes
  7780. fi
  7781.  
  7782.  
  7783.  
  7784.  
  7785.  
  7786.  
  7787.  
  7788.  
  7789.  
  7790.   # Check whether --enable-static was given.
  7791. if test "${enable_static+set}" = set; then :
  7792.   enableval=$enable_static; p=${PACKAGE-default}
  7793.     case $enableval in
  7794.     yes) enable_static=yes ;;
  7795.     no) enable_static=no ;;
  7796.     *)
  7797.      enable_static=no
  7798.       # Look at the argument we got.  We use all the common list separators.
  7799.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7800.       for pkg in $enableval; do
  7801.     IFS="$lt_save_ifs"
  7802.     if test "X$pkg" = "X$p"; then
  7803.       enable_static=yes
  7804.     fi
  7805.       done
  7806.       IFS="$lt_save_ifs"
  7807.       ;;
  7808.     esac
  7809. else
  7810.   enable_static=yes
  7811. fi
  7812.  
  7813.  
  7814.  
  7815.  
  7816.  
  7817.  
  7818.  
  7819.  
  7820.  
  7821.  
  7822. # Check whether --with-pic was given.
  7823. if test "${with_pic+set}" = set; then :
  7824.   withval=$with_pic; lt_p=${PACKAGE-default}
  7825.     case $withval in
  7826.     yes|no) pic_mode=$withval ;;
  7827.     *)
  7828.       pic_mode=default
  7829.       # Look at the argument we got.  We use all the common list separators.
  7830.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7831.       for lt_pkg in $withval; do
  7832.     IFS="$lt_save_ifs"
  7833.     if test "X$lt_pkg" = "X$lt_p"; then
  7834.       pic_mode=yes
  7835.     fi
  7836.       done
  7837.       IFS="$lt_save_ifs"
  7838.       ;;
  7839.     esac
  7840. else
  7841.   pic_mode=default
  7842. fi
  7843.  
  7844.  
  7845. test -z "$pic_mode" && pic_mode=default
  7846.  
  7847.  
  7848.  
  7849.  
  7850.  
  7851.  
  7852.  
  7853.   # Check whether --enable-fast-install was given.
  7854. if test "${enable_fast_install+set}" = set; then :
  7855.   enableval=$enable_fast_install; p=${PACKAGE-default}
  7856.     case $enableval in
  7857.     yes) enable_fast_install=yes ;;
  7858.     no) enable_fast_install=no ;;
  7859.     *)
  7860.       enable_fast_install=no
  7861.       # Look at the argument we got.  We use all the common list separators.
  7862.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7863.       for pkg in $enableval; do
  7864.     IFS="$lt_save_ifs"
  7865.     if test "X$pkg" = "X$p"; then
  7866.       enable_fast_install=yes
  7867.     fi
  7868.       done
  7869.       IFS="$lt_save_ifs"
  7870.       ;;
  7871.     esac
  7872. else
  7873.   enable_fast_install=yes
  7874. fi
  7875.  
  7876.  
  7877.  
  7878.  
  7879.  
  7880.  
  7881.  
  7882.  
  7883.  
  7884.  
  7885.  
  7886. # This can be used to rebuild libtool when needed
  7887. LIBTOOL_DEPS="$ltmain"
  7888.  
  7889. # Always use our own libtool.
  7890. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  7891.  
  7892.  
  7893.  
  7894.  
  7895.  
  7896.  
  7897.  
  7898.  
  7899.  
  7900.  
  7901.  
  7902.  
  7903.  
  7904.  
  7905.  
  7906.  
  7907.  
  7908.  
  7909.  
  7910.  
  7911.  
  7912.  
  7913.  
  7914.  
  7915.  
  7916.  
  7917.  
  7918.  
  7919.  
  7920.  
  7921. test -z "$LN_S" && LN_S="ln -s"
  7922.  
  7923.  
  7924.  
  7925.  
  7926.  
  7927.  
  7928.  
  7929.  
  7930.  
  7931.  
  7932.  
  7933.  
  7934.  
  7935.  
  7936. if test -n "${ZSH_VERSION+set}" ; then
  7937.    setopt NO_GLOB_SUBST
  7938. fi
  7939.  
  7940. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7941. $as_echo_n "checking for objdir... " >&6; }
  7942. if ${lt_cv_objdir+:} false; then :
  7943.   $as_echo_n "(cached) " >&6
  7944. else
  7945.   rm -f .libs 2>/dev/null
  7946. mkdir .libs 2>/dev/null
  7947. if test -d .libs; then
  7948.   lt_cv_objdir=.libs
  7949. else
  7950.   # MS-DOS does not allow filenames that begin with a dot.
  7951.   lt_cv_objdir=_libs
  7952. fi
  7953. rmdir .libs 2>/dev/null
  7954. fi
  7955. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7956. $as_echo "$lt_cv_objdir" >&6; }
  7957. objdir=$lt_cv_objdir
  7958.  
  7959.  
  7960.  
  7961.  
  7962.  
  7963. cat >>confdefs.h <<_ACEOF
  7964. #define LT_OBJDIR "$lt_cv_objdir/"
  7965. _ACEOF
  7966.  
  7967.  
  7968.  
  7969.  
  7970. case $host_os in
  7971. aix3*)
  7972.   # AIX sometimes has problems with the GCC collect2 program.  For some
  7973.   # reason, if we set the COLLECT_NAMES environment variable, the problems
  7974.   # vanish in a puff of smoke.
  7975.   if test "X${COLLECT_NAMES+set}" != Xset; then
  7976.     COLLECT_NAMES=
  7977.     export COLLECT_NAMES
  7978.   fi
  7979.   ;;
  7980. esac
  7981.  
  7982. # Global variables:
  7983. ofile=libtool
  7984. can_build_shared=yes
  7985.  
  7986. # All known linkers require a `.a' archive for static linking (except MSVC,
  7987. # which needs '.lib').
  7988. libext=a
  7989.  
  7990. with_gnu_ld="$lt_cv_prog_gnu_ld"
  7991.  
  7992. old_CC="$CC"
  7993. old_CFLAGS="$CFLAGS"
  7994.  
  7995. # Set sane defaults for various variables
  7996. test -z "$CC" && CC=cc
  7997. test -z "$LTCC" && LTCC=$CC
  7998. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7999. test -z "$LD" && LD=ld
  8000. test -z "$ac_objext" && ac_objext=o
  8001.  
  8002. for cc_temp in $compiler""; do
  8003.   case $cc_temp in
  8004.     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  8005.     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  8006.     \-*) ;;
  8007.     *) break;;
  8008.   esac
  8009. done
  8010. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  8011.  
  8012.  
  8013. # Only perform the check for file, if the check method requires it
  8014. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  8015. case $deplibs_check_method in
  8016. file_magic*)
  8017.   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  8018.     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  8019. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  8020. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  8021.   $as_echo_n "(cached) " >&6
  8022. else
  8023.   case $MAGIC_CMD in
  8024. [\\/*] |  ?:[\\/]*)
  8025.   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8026.   ;;
  8027. *)
  8028.   lt_save_MAGIC_CMD="$MAGIC_CMD"
  8029.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8030.   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8031.   for ac_dir in $ac_dummy; do
  8032.     IFS="$lt_save_ifs"
  8033.     test -z "$ac_dir" && ac_dir=.
  8034.     if test -f $ac_dir/${ac_tool_prefix}file; then
  8035.       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  8036.       if test -n "$file_magic_test_file"; then
  8037.     case $deplibs_check_method in
  8038.     "file_magic "*)
  8039.       file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8040.       MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8041.       if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8042.         $EGREP "$file_magic_regex" > /dev/null; then
  8043.         :
  8044.       else
  8045.         cat <<_LT_EOF 1>&2
  8046.  
  8047. *** Warning: the command libtool uses to detect shared libraries,
  8048. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8049. *** The result is that libtool may fail to recognize shared libraries
  8050. *** as such.  This will affect the creation of libtool libraries that
  8051. *** depend on shared libraries, but programs linked with such libtool
  8052. *** libraries will work regardless of this problem.  Nevertheless, you
  8053. *** may want to report the problem to your system manager and/or to
  8054. *** bug-libtool@gnu.org
  8055.  
  8056. _LT_EOF
  8057.       fi ;;
  8058.     esac
  8059.       fi
  8060.       break
  8061.     fi
  8062.   done
  8063.   IFS="$lt_save_ifs"
  8064.   MAGIC_CMD="$lt_save_MAGIC_CMD"
  8065.   ;;
  8066. esac
  8067. fi
  8068.  
  8069. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8070. if test -n "$MAGIC_CMD"; then
  8071.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8072. $as_echo "$MAGIC_CMD" >&6; }
  8073. else
  8074.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8075. $as_echo "no" >&6; }
  8076. fi
  8077.  
  8078.  
  8079.  
  8080.  
  8081.  
  8082. if test -z "$lt_cv_path_MAGIC_CMD"; then
  8083.   if test -n "$ac_tool_prefix"; then
  8084.     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  8085. $as_echo_n "checking for file... " >&6; }
  8086. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  8087.   $as_echo_n "(cached) " >&6
  8088. else
  8089.   case $MAGIC_CMD in
  8090. [\\/*] |  ?:[\\/]*)
  8091.   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8092.   ;;
  8093. *)
  8094.   lt_save_MAGIC_CMD="$MAGIC_CMD"
  8095.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8096.   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8097.   for ac_dir in $ac_dummy; do
  8098.     IFS="$lt_save_ifs"
  8099.     test -z "$ac_dir" && ac_dir=.
  8100.     if test -f $ac_dir/file; then
  8101.       lt_cv_path_MAGIC_CMD="$ac_dir/file"
  8102.       if test -n "$file_magic_test_file"; then
  8103.     case $deplibs_check_method in
  8104.     "file_magic "*)
  8105.       file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8106.       MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8107.       if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8108.         $EGREP "$file_magic_regex" > /dev/null; then
  8109.         :
  8110.       else
  8111.         cat <<_LT_EOF 1>&2
  8112.  
  8113. *** Warning: the command libtool uses to detect shared libraries,
  8114. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8115. *** The result is that libtool may fail to recognize shared libraries
  8116. *** as such.  This will affect the creation of libtool libraries that
  8117. *** depend on shared libraries, but programs linked with such libtool
  8118. *** libraries will work regardless of this problem.  Nevertheless, you
  8119. *** may want to report the problem to your system manager and/or to
  8120. *** bug-libtool@gnu.org
  8121.  
  8122. _LT_EOF
  8123.       fi ;;
  8124.     esac
  8125.       fi
  8126.       break
  8127.     fi
  8128.   done
  8129.   IFS="$lt_save_ifs"
  8130.   MAGIC_CMD="$lt_save_MAGIC_CMD"
  8131.   ;;
  8132. esac
  8133. fi
  8134.  
  8135. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8136. if test -n "$MAGIC_CMD"; then
  8137.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8138. $as_echo "$MAGIC_CMD" >&6; }
  8139. else
  8140.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8141. $as_echo "no" >&6; }
  8142. fi
  8143.  
  8144.  
  8145.   else
  8146.     MAGIC_CMD=:
  8147.   fi
  8148. fi
  8149.  
  8150.   fi
  8151.   ;;
  8152. esac
  8153.  
  8154. # Use C for the default configuration in the libtool script
  8155.  
  8156. lt_save_CC="$CC"
  8157. ac_ext=c
  8158. ac_cpp='$CPP $CPPFLAGS'
  8159. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8160. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8161. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8162.  
  8163.  
  8164. # Source file extension for C test sources.
  8165. ac_ext=c
  8166.  
  8167. # Object file extension for compiled C test sources.
  8168. objext=o
  8169. objext=$objext
  8170.  
  8171. # Code to be used in simple compile tests
  8172. lt_simple_compile_test_code="int some_variable = 0;"
  8173.  
  8174. # Code to be used in simple link tests
  8175. lt_simple_link_test_code='int main(){return(0);}'
  8176.  
  8177.  
  8178.  
  8179.  
  8180.  
  8181.  
  8182.  
  8183. # If no C compiler was specified, use CC.
  8184. LTCC=${LTCC-"$CC"}
  8185.  
  8186. # If no C compiler flags were specified, use CFLAGS.
  8187. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8188.  
  8189. # Allow CC to be a program name with arguments.
  8190. compiler=$CC
  8191.  
  8192. # Save the default compiler, since it gets overwritten when the other
  8193. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  8194. compiler_DEFAULT=$CC
  8195.  
  8196. # save warnings/boilerplate of simple test code
  8197. ac_outfile=conftest.$ac_objext
  8198. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8199. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8200. _lt_compiler_boilerplate=`cat conftest.err`
  8201. $RM conftest*
  8202.  
  8203. ac_outfile=conftest.$ac_objext
  8204. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8205. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8206. _lt_linker_boilerplate=`cat conftest.err`
  8207. $RM -r conftest*
  8208.  
  8209.  
  8210. ## CAVEAT EMPTOR:
  8211. ## There is no encapsulation within the following macros, do not change
  8212. ## the running order or otherwise move them around unless you know exactly
  8213. ## what you are doing...
  8214. if test -n "$compiler"; then
  8215.  
  8216. lt_prog_compiler_no_builtin_flag=
  8217.  
  8218. if test "$GCC" = yes; then
  8219.   case $cc_basename in
  8220.   nvcc*)
  8221.     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  8222.   *)
  8223.     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  8224.   esac
  8225.  
  8226.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8227. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8228. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  8229.   $as_echo_n "(cached) " >&6
  8230. else
  8231.   lt_cv_prog_compiler_rtti_exceptions=no
  8232.    ac_outfile=conftest.$ac_objext
  8233.    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8234.    lt_compiler_flag="-fno-rtti -fno-exceptions"
  8235.    # Insert the option either (1) after the last *FLAGS variable, or
  8236.    # (2) before a word containing "conftest.", or (3) at the end.
  8237.    # Note that $ac_compile itself does not contain backslashes and begins
  8238.    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8239.    # The option is referenced via a variable to avoid confusing sed.
  8240.    lt_compile=`echo "$ac_compile" | $SED \
  8241.    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8242.    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8243.    -e 's:$: $lt_compiler_flag:'`
  8244.    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8245.    (eval "$lt_compile" 2>conftest.err)
  8246.    ac_status=$?
  8247.    cat conftest.err >&5
  8248.    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8249.    if (exit $ac_status) && test -s "$ac_outfile"; then
  8250.      # The compiler can only warn and ignore the option if not recognized
  8251.      # So say no if there are warnings other than the usual output.
  8252.      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8253.      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8254.      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8255.        lt_cv_prog_compiler_rtti_exceptions=yes
  8256.      fi
  8257.    fi
  8258.    $RM conftest*
  8259.  
  8260. fi
  8261. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8262. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8263.  
  8264. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8265.     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8266. else
  8267.     :
  8268. fi
  8269.  
  8270. fi
  8271.  
  8272.  
  8273.  
  8274.  
  8275.  
  8276.  
  8277.   lt_prog_compiler_wl=
  8278. lt_prog_compiler_pic=
  8279. lt_prog_compiler_static=
  8280.  
  8281.  
  8282.   if test "$GCC" = yes; then
  8283.     lt_prog_compiler_wl='-Wl,'
  8284.     lt_prog_compiler_static='-static'
  8285.  
  8286.     case $host_os in
  8287.       aix*)
  8288.       # All AIX code is PIC.
  8289.       if test "$host_cpu" = ia64; then
  8290.     # AIX 5 now supports IA64 processor
  8291.     lt_prog_compiler_static='-Bstatic'
  8292.       fi
  8293.       ;;
  8294.  
  8295.     amigaos*)
  8296.       case $host_cpu in
  8297.       powerpc)
  8298.             # see comment about AmigaOS4 .so support
  8299.             lt_prog_compiler_pic='-fPIC'
  8300.         ;;
  8301.       m68k)
  8302.             # FIXME: we need at least 68020 code to build shared libraries, but
  8303.             # adding the `-m68020' flag to GCC prevents building anything better,
  8304.             # like `-m68040'.
  8305.             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8306.         ;;
  8307.       esac
  8308.       ;;
  8309.  
  8310.     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8311.       # PIC is the default for these OSes.
  8312.       ;;
  8313.  
  8314.     mingw* | cygwin* | pw32* | os2* | cegcc*)
  8315.       # This hack is so that the source file can tell whether it is being
  8316.       # built for inclusion in a dll (and should export symbols for example).
  8317.       # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8318.       # (--disable-auto-import) libraries
  8319.       lt_prog_compiler_pic='-DDLL_EXPORT'
  8320.       ;;
  8321.  
  8322.     darwin* | rhapsody*)
  8323.       # PIC is the default on this platform
  8324.       # Common symbols not allowed in MH_DYLIB files
  8325.       lt_prog_compiler_pic='-fno-common'
  8326.       ;;
  8327.  
  8328.     haiku*)
  8329.       # PIC is the default for Haiku.
  8330.       # The "-static" flag exists, but is broken.
  8331.       lt_prog_compiler_static=
  8332.       ;;
  8333.  
  8334.     hpux*)
  8335.       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  8336.       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  8337.       # sets the default TLS model and affects inlining.
  8338.       case $host_cpu in
  8339.       hppa*64*)
  8340.     # +Z the default
  8341.     ;;
  8342.       *)
  8343.     lt_prog_compiler_pic='-fPIC'
  8344.     ;;
  8345.       esac
  8346.       ;;
  8347.  
  8348.     interix[3-9]*)
  8349.       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8350.       # Instead, we relocate shared libraries at runtime.
  8351.       ;;
  8352.  
  8353.     msdosdjgpp*)
  8354.       # Just because we use GCC doesn't mean we suddenly get shared libraries
  8355.       # on systems that don't support them.
  8356.       lt_prog_compiler_can_build_shared=no
  8357.       enable_shared=no
  8358.       ;;
  8359.  
  8360.     *nto* | *qnx*)
  8361.       # QNX uses GNU C++, but need to define -shared option too, otherwise
  8362.       # it will coredump.
  8363.       lt_prog_compiler_pic='-fPIC -shared'
  8364.       ;;
  8365.  
  8366.     sysv4*MP*)
  8367.       if test -d /usr/nec; then
  8368.     lt_prog_compiler_pic=-Kconform_pic
  8369.       fi
  8370.       ;;
  8371.  
  8372.     *)
  8373.       lt_prog_compiler_pic='-fPIC'
  8374.       ;;
  8375.     esac
  8376.  
  8377.     case $cc_basename in
  8378.     nvcc*) # Cuda Compiler Driver 2.2
  8379.       lt_prog_compiler_wl='-Xlinker '
  8380.       if test -n "$lt_prog_compiler_pic"; then
  8381.         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  8382.       fi
  8383.       ;;
  8384.     esac
  8385.   else
  8386.     # PORTME Check for flag to pass linker flags through the system compiler.
  8387.     case $host_os in
  8388.     aix*)
  8389.       lt_prog_compiler_wl='-Wl,'
  8390.       if test "$host_cpu" = ia64; then
  8391.     # AIX 5 now supports IA64 processor
  8392.     lt_prog_compiler_static='-Bstatic'
  8393.       else
  8394.     lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8395.       fi
  8396.       ;;
  8397.  
  8398.     mingw* | cygwin* | pw32* | os2* | cegcc*)
  8399.       # This hack is so that the source file can tell whether it is being
  8400.       # built for inclusion in a dll (and should export symbols for example).
  8401.       lt_prog_compiler_pic='-DDLL_EXPORT'
  8402.       ;;
  8403.  
  8404.     hpux9* | hpux10* | hpux11*)
  8405.       lt_prog_compiler_wl='-Wl,'
  8406.       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8407.       # not for PA HP-UX.
  8408.       case $host_cpu in
  8409.       hppa*64*|ia64*)
  8410.     # +Z the default
  8411.     ;;
  8412.       *)
  8413.     lt_prog_compiler_pic='+Z'
  8414.     ;;
  8415.       esac
  8416.       # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8417.       lt_prog_compiler_static='${wl}-a ${wl}archive'
  8418.       ;;
  8419.  
  8420.     irix5* | irix6* | nonstopux*)
  8421.       lt_prog_compiler_wl='-Wl,'
  8422.       # PIC (with -KPIC) is the default.
  8423.       lt_prog_compiler_static='-non_shared'
  8424.       ;;
  8425.  
  8426.     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  8427.       case $cc_basename in
  8428.       # old Intel for x86_64 which still supported -KPIC.
  8429.       ecc*)
  8430.     lt_prog_compiler_wl='-Wl,'
  8431.     lt_prog_compiler_pic='-KPIC'
  8432.     lt_prog_compiler_static='-static'
  8433.         ;;
  8434.       # icc used to be incompatible with GCC.
  8435.       # ICC 10 doesn't accept -KPIC any more.
  8436.       icc* | ifort*)
  8437.     lt_prog_compiler_wl='-Wl,'
  8438.     lt_prog_compiler_pic='-fPIC'
  8439.     lt_prog_compiler_static='-static'
  8440.         ;;
  8441.       # Lahey Fortran 8.1.
  8442.       lf95*)
  8443.     lt_prog_compiler_wl='-Wl,'
  8444.     lt_prog_compiler_pic='--shared'
  8445.     lt_prog_compiler_static='--static'
  8446.     ;;
  8447.       nagfor*)
  8448.     # NAG Fortran compiler
  8449.     lt_prog_compiler_wl='-Wl,-Wl,,'
  8450.     lt_prog_compiler_pic='-PIC'
  8451.     lt_prog_compiler_static='-Bstatic'
  8452.     ;;
  8453.       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  8454.         # Portland Group compilers (*not* the Pentium gcc compiler,
  8455.     # which looks to be a dead project)
  8456.     lt_prog_compiler_wl='-Wl,'
  8457.     lt_prog_compiler_pic='-fpic'
  8458.     lt_prog_compiler_static='-Bstatic'
  8459.         ;;
  8460.       ccc*)
  8461.         lt_prog_compiler_wl='-Wl,'
  8462.         # All Alpha code is PIC.
  8463.         lt_prog_compiler_static='-non_shared'
  8464.         ;;
  8465.       xl* | bgxl* | bgf* | mpixl*)
  8466.     # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  8467.     lt_prog_compiler_wl='-Wl,'
  8468.     lt_prog_compiler_pic='-qpic'
  8469.     lt_prog_compiler_static='-qstaticlink'
  8470.     ;;
  8471.       *)
  8472.     case `$CC -V 2>&1 | sed 5q` in
  8473.     *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  8474.       # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8475.       lt_prog_compiler_pic='-KPIC'
  8476.       lt_prog_compiler_static='-Bstatic'
  8477.       lt_prog_compiler_wl=''
  8478.       ;;
  8479.     *Sun\ F* | *Sun*Fortran*)
  8480.       lt_prog_compiler_pic='-KPIC'
  8481.       lt_prog_compiler_static='-Bstatic'
  8482.       lt_prog_compiler_wl='-Qoption ld '
  8483.       ;;
  8484.     *Sun\ C*)
  8485.       # Sun C 5.9
  8486.       lt_prog_compiler_pic='-KPIC'
  8487.       lt_prog_compiler_static='-Bstatic'
  8488.       lt_prog_compiler_wl='-Wl,'
  8489.       ;;
  8490.         *Intel*\ [CF]*Compiler*)
  8491.       lt_prog_compiler_wl='-Wl,'
  8492.       lt_prog_compiler_pic='-fPIC'
  8493.       lt_prog_compiler_static='-static'
  8494.       ;;
  8495.     *Portland\ Group*)
  8496.       lt_prog_compiler_wl='-Wl,'
  8497.       lt_prog_compiler_pic='-fpic'
  8498.       lt_prog_compiler_static='-Bstatic'
  8499.       ;;
  8500.     esac
  8501.     ;;
  8502.       esac
  8503.       ;;
  8504.  
  8505.     newsos6)
  8506.       lt_prog_compiler_pic='-KPIC'
  8507.       lt_prog_compiler_static='-Bstatic'
  8508.       ;;
  8509.  
  8510.     *nto* | *qnx*)
  8511.       # QNX uses GNU C++, but need to define -shared option too, otherwise
  8512.       # it will coredump.
  8513.       lt_prog_compiler_pic='-fPIC -shared'
  8514.       ;;
  8515.  
  8516.     osf3* | osf4* | osf5*)
  8517.       lt_prog_compiler_wl='-Wl,'
  8518.       # All OSF/1 code is PIC.
  8519.       lt_prog_compiler_static='-non_shared'
  8520.       ;;
  8521.  
  8522.     rdos*)
  8523.       lt_prog_compiler_static='-non_shared'
  8524.       ;;
  8525.  
  8526.     solaris*)
  8527.       lt_prog_compiler_pic='-KPIC'
  8528.       lt_prog_compiler_static='-Bstatic'
  8529.       case $cc_basename in
  8530.       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  8531.     lt_prog_compiler_wl='-Qoption ld ';;
  8532.       *)
  8533.     lt_prog_compiler_wl='-Wl,';;
  8534.       esac
  8535.       ;;
  8536.  
  8537.     sunos4*)
  8538.       lt_prog_compiler_wl='-Qoption ld '
  8539.       lt_prog_compiler_pic='-PIC'
  8540.       lt_prog_compiler_static='-Bstatic'
  8541.       ;;
  8542.  
  8543.     sysv4 | sysv4.2uw2* | sysv4.3*)
  8544.       lt_prog_compiler_wl='-Wl,'
  8545.       lt_prog_compiler_pic='-KPIC'
  8546.       lt_prog_compiler_static='-Bstatic'
  8547.       ;;
  8548.  
  8549.     sysv4*MP*)
  8550.       if test -d /usr/nec ;then
  8551.     lt_prog_compiler_pic='-Kconform_pic'
  8552.     lt_prog_compiler_static='-Bstatic'
  8553.       fi
  8554.       ;;
  8555.  
  8556.     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8557.       lt_prog_compiler_wl='-Wl,'
  8558.       lt_prog_compiler_pic='-KPIC'
  8559.       lt_prog_compiler_static='-Bstatic'
  8560.       ;;
  8561.  
  8562.     unicos*)
  8563.       lt_prog_compiler_wl='-Wl,'
  8564.       lt_prog_compiler_can_build_shared=no
  8565.       ;;
  8566.  
  8567.     uts4*)
  8568.       lt_prog_compiler_pic='-pic'
  8569.       lt_prog_compiler_static='-Bstatic'
  8570.       ;;
  8571.  
  8572.     *)
  8573.       lt_prog_compiler_can_build_shared=no
  8574.       ;;
  8575.     esac
  8576.   fi
  8577.  
  8578. case $host_os in
  8579.   # For platforms which do not support PIC, -DPIC is meaningless:
  8580.   *djgpp*)
  8581.     lt_prog_compiler_pic=
  8582.     ;;
  8583.   *)
  8584.     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  8585.     ;;
  8586. esac
  8587.  
  8588. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  8589. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8590. if ${lt_cv_prog_compiler_pic+:} false; then :
  8591.   $as_echo_n "(cached) " >&6
  8592. else
  8593.   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  8594. fi
  8595. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  8596. $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  8597. lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  8598.  
  8599. #
  8600. # Check to make sure the PIC flag actually works.
  8601. #
  8602. if test -n "$lt_prog_compiler_pic"; then
  8603.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  8604. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  8605. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  8606.   $as_echo_n "(cached) " >&6
  8607. else
  8608.   lt_cv_prog_compiler_pic_works=no
  8609.    ac_outfile=conftest.$ac_objext
  8610.    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8611.    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  8612.    # Insert the option either (1) after the last *FLAGS variable, or
  8613.    # (2) before a word containing "conftest.", or (3) at the end.
  8614.    # Note that $ac_compile itself does not contain backslashes and begins
  8615.    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8616.    # The option is referenced via a variable to avoid confusing sed.
  8617.    lt_compile=`echo "$ac_compile" | $SED \
  8618.    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8619.    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8620.    -e 's:$: $lt_compiler_flag:'`
  8621.    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8622.    (eval "$lt_compile" 2>conftest.err)
  8623.    ac_status=$?
  8624.    cat conftest.err >&5
  8625.    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8626.    if (exit $ac_status) && test -s "$ac_outfile"; then
  8627.      # The compiler can only warn and ignore the option if not recognized
  8628.      # So say no if there are warnings other than the usual output.
  8629.      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8630.      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8631.      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8632.        lt_cv_prog_compiler_pic_works=yes
  8633.      fi
  8634.    fi
  8635.    $RM conftest*
  8636.  
  8637. fi
  8638. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  8639. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  8640.  
  8641. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  8642.     case $lt_prog_compiler_pic in
  8643.      "" | " "*) ;;
  8644.      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  8645.      esac
  8646. else
  8647.     lt_prog_compiler_pic=
  8648.      lt_prog_compiler_can_build_shared=no
  8649. fi
  8650.  
  8651. fi
  8652.  
  8653.  
  8654.  
  8655.  
  8656.  
  8657.  
  8658.  
  8659.  
  8660.  
  8661.  
  8662.  
  8663. #
  8664. # Check to make sure the static flag actually works.
  8665. #
  8666. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  8667. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  8668. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  8669. if ${lt_cv_prog_compiler_static_works+:} false; then :
  8670.   $as_echo_n "(cached) " >&6
  8671. else
  8672.   lt_cv_prog_compiler_static_works=no
  8673.    save_LDFLAGS="$LDFLAGS"
  8674.    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  8675.    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8676.    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8677.      # The linker can only warn and ignore the option if not recognized
  8678.      # So say no if there are warnings
  8679.      if test -s conftest.err; then
  8680.        # Append any errors to the config.log.
  8681.        cat conftest.err 1>&5
  8682.        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8683.        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8684.        if diff conftest.exp conftest.er2 >/dev/null; then
  8685.          lt_cv_prog_compiler_static_works=yes
  8686.        fi
  8687.      else
  8688.        lt_cv_prog_compiler_static_works=yes
  8689.      fi
  8690.    fi
  8691.    $RM -r conftest*
  8692.    LDFLAGS="$save_LDFLAGS"
  8693.  
  8694. fi
  8695. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  8696. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  8697.  
  8698. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  8699.     :
  8700. else
  8701.     lt_prog_compiler_static=
  8702. fi
  8703.  
  8704.  
  8705.  
  8706.  
  8707.  
  8708.  
  8709.  
  8710.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8711. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8712. if ${lt_cv_prog_compiler_c_o+:} false; then :
  8713.   $as_echo_n "(cached) " >&6
  8714. else
  8715.   lt_cv_prog_compiler_c_o=no
  8716.    $RM -r conftest 2>/dev/null
  8717.    mkdir conftest
  8718.    cd conftest
  8719.    mkdir out
  8720.    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8721.  
  8722.    lt_compiler_flag="-o out/conftest2.$ac_objext"
  8723.    # Insert the option either (1) after the last *FLAGS variable, or
  8724.    # (2) before a word containing "conftest.", or (3) at the end.
  8725.    # Note that $ac_compile itself does not contain backslashes and begins
  8726.    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8727.    lt_compile=`echo "$ac_compile" | $SED \
  8728.    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8729.    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8730.    -e 's:$: $lt_compiler_flag:'`
  8731.    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8732.    (eval "$lt_compile" 2>out/conftest.err)
  8733.    ac_status=$?
  8734.    cat out/conftest.err >&5
  8735.    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8736.    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8737.    then
  8738.      # The compiler can only warn and ignore the option if not recognized
  8739.      # So say no if there are warnings
  8740.      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8741.      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8742.      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8743.        lt_cv_prog_compiler_c_o=yes
  8744.      fi
  8745.    fi
  8746.    chmod u+w . 2>&5
  8747.    $RM conftest*
  8748.    # SGI C++ compiler will create directory out/ii_files/ for
  8749.    # template instantiation
  8750.    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8751.    $RM out/* && rmdir out
  8752.    cd ..
  8753.    $RM -r conftest
  8754.    $RM conftest*
  8755.  
  8756. fi
  8757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8758. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8759.  
  8760.  
  8761.  
  8762.  
  8763.  
  8764.  
  8765.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8766. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8767. if ${lt_cv_prog_compiler_c_o+:} false; then :
  8768.   $as_echo_n "(cached) " >&6
  8769. else
  8770.   lt_cv_prog_compiler_c_o=no
  8771.    $RM -r conftest 2>/dev/null
  8772.    mkdir conftest
  8773.    cd conftest
  8774.    mkdir out
  8775.    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8776.  
  8777.    lt_compiler_flag="-o out/conftest2.$ac_objext"
  8778.    # Insert the option either (1) after the last *FLAGS variable, or
  8779.    # (2) before a word containing "conftest.", or (3) at the end.
  8780.    # Note that $ac_compile itself does not contain backslashes and begins
  8781.    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8782.    lt_compile=`echo "$ac_compile" | $SED \
  8783.    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8784.    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8785.    -e 's:$: $lt_compiler_flag:'`
  8786.    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8787.    (eval "$lt_compile" 2>out/conftest.err)
  8788.    ac_status=$?
  8789.    cat out/conftest.err >&5
  8790.    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8791.    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8792.    then
  8793.      # The compiler can only warn and ignore the option if not recognized
  8794.      # So say no if there are warnings
  8795.      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8796.      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8797.      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8798.        lt_cv_prog_compiler_c_o=yes
  8799.      fi
  8800.    fi
  8801.    chmod u+w . 2>&5
  8802.    $RM conftest*
  8803.    # SGI C++ compiler will create directory out/ii_files/ for
  8804.    # template instantiation
  8805.    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8806.    $RM out/* && rmdir out
  8807.    cd ..
  8808.    $RM -r conftest
  8809.    $RM conftest*
  8810.  
  8811. fi
  8812. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8813. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8814.  
  8815.  
  8816.  
  8817.  
  8818. hard_links="nottested"
  8819. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  8820.   # do not overwrite the value of need_locks provided by the user
  8821.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  8822. $as_echo_n "checking if we can lock with hard links... " >&6; }
  8823.   hard_links=yes
  8824.   $RM conftest*
  8825.   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8826.   touch conftest.a
  8827.   ln conftest.a conftest.b 2>&5 || hard_links=no
  8828.   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8829.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  8830. $as_echo "$hard_links" >&6; }
  8831.   if test "$hard_links" = no; then
  8832.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  8833. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  8834.     need_locks=warn
  8835.   fi
  8836. else
  8837.   need_locks=no
  8838. fi
  8839.  
  8840.  
  8841.  
  8842.  
  8843.  
  8844.  
  8845.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  8846. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  8847.  
  8848.   runpath_var=
  8849.   allow_undefined_flag=
  8850.   always_export_symbols=no
  8851.   archive_cmds=
  8852.   archive_expsym_cmds=
  8853.   compiler_needs_object=no
  8854.   enable_shared_with_static_runtimes=no
  8855.   export_dynamic_flag_spec=
  8856.   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8857.   hardcode_automatic=no
  8858.   hardcode_direct=no
  8859.   hardcode_direct_absolute=no
  8860.   hardcode_libdir_flag_spec=
  8861.   hardcode_libdir_separator=
  8862.   hardcode_minus_L=no
  8863.   hardcode_shlibpath_var=unsupported
  8864.   inherit_rpath=no
  8865.   link_all_deplibs=unknown
  8866.   module_cmds=
  8867.   module_expsym_cmds=
  8868.   old_archive_from_new_cmds=
  8869.   old_archive_from_expsyms_cmds=
  8870.   thread_safe_flag_spec=
  8871.   whole_archive_flag_spec=
  8872.   # include_expsyms should be a list of space-separated symbols to be *always*
  8873.   # included in the symbol list
  8874.   include_expsyms=
  8875.   # exclude_expsyms can be an extended regexp of symbols to exclude
  8876.   # it will be wrapped by ` (' and `)$', so one must not match beginning or
  8877.   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  8878.   # as well as any symbol that contains `d'.
  8879.   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  8880.   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  8881.   # platforms (ab)use it in PIC code, but their linkers get confused if
  8882.   # the symbol is explicitly referenced.  Since portable code cannot
  8883.   # rely on this symbol name, it's probably fine to never include it in
  8884.   # preloaded symbol tables.
  8885.   # Exclude shared library initialization/finalization symbols.
  8886.   extract_expsyms_cmds=
  8887.  
  8888.   case $host_os in
  8889.   cygwin* | mingw* | pw32* | cegcc*)
  8890.     # FIXME: the MSVC++ port hasn't been tested in a loooong time
  8891.     # When not using gcc, we currently assume that we are using
  8892.     # Microsoft Visual C++.
  8893.     if test "$GCC" != yes; then
  8894.       with_gnu_ld=no
  8895.     fi
  8896.     ;;
  8897.   interix*)
  8898.     # we just hope/assume this is gcc and not c89 (= MSVC++)
  8899.     with_gnu_ld=yes
  8900.     ;;
  8901.   openbsd*)
  8902.     with_gnu_ld=no
  8903.     ;;
  8904.   linux* | k*bsd*-gnu | gnu*)
  8905.     link_all_deplibs=no
  8906.     ;;
  8907.   esac
  8908.  
  8909.   ld_shlibs=yes
  8910.  
  8911.   # On some targets, GNU ld is compatible enough with the native linker
  8912.   # that we're better off using the native interface for both.
  8913.   lt_use_gnu_ld_interface=no
  8914.   if test "$with_gnu_ld" = yes; then
  8915.     case $host_os in
  8916.       aix*)
  8917.     # The AIX port of GNU ld has always aspired to compatibility
  8918.     # with the native linker.  However, as the warning in the GNU ld
  8919.     # block says, versions before 2.19.5* couldn't really create working
  8920.     # shared libraries, regardless of the interface used.
  8921.     case `$LD -v 2>&1` in
  8922.       *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  8923.       *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  8924.       *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  8925.       *)
  8926.         lt_use_gnu_ld_interface=yes
  8927.         ;;
  8928.     esac
  8929.     ;;
  8930.       *)
  8931.     lt_use_gnu_ld_interface=yes
  8932.     ;;
  8933.     esac
  8934.   fi
  8935.  
  8936.   if test "$lt_use_gnu_ld_interface" = yes; then
  8937.     # If archive_cmds runs LD, not CC, wlarc should be empty
  8938.     wlarc='${wl}'
  8939.  
  8940.     # Set some defaults for GNU ld with shared library support. These
  8941.     # are reset later if shared libraries are not supported. Putting them
  8942.     # here allows them to be overridden if necessary.
  8943.     runpath_var=LD_RUN_PATH
  8944.     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8945.     export_dynamic_flag_spec='${wl}--export-dynamic'
  8946.     # ancient GNU ld didn't support --whole-archive et. al.
  8947.     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  8948.       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  8949.     else
  8950.       whole_archive_flag_spec=
  8951.     fi
  8952.     supports_anon_versioning=no
  8953.     case `$LD -v 2>&1` in
  8954.       *GNU\ gold*) supports_anon_versioning=yes ;;
  8955.       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  8956.       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  8957.       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  8958.       *\ 2.11.*) ;; # other 2.11 versions
  8959.       *) supports_anon_versioning=yes ;;
  8960.     esac
  8961.  
  8962.     # See if GNU ld supports shared libraries.
  8963.     case $host_os in
  8964.     aix[3-9]*)
  8965.       # On AIX/PPC, the GNU linker is very broken
  8966.       if test "$host_cpu" != ia64; then
  8967.     ld_shlibs=no
  8968.     cat <<_LT_EOF 1>&2
  8969.  
  8970. *** Warning: the GNU linker, at least up to release 2.19, is reported
  8971. *** to be unable to reliably create shared libraries on AIX.
  8972. *** Therefore, libtool is disabling shared libraries support.  If you
  8973. *** really care for shared libraries, you may want to install binutils
  8974. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  8975. *** You will then need to restart the configuration process.
  8976.  
  8977. _LT_EOF
  8978.       fi
  8979.       ;;
  8980.  
  8981.     amigaos*)
  8982.       case $host_cpu in
  8983.       powerpc)
  8984.             # see comment about AmigaOS4 .so support
  8985.             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8986.             archive_expsym_cmds=''
  8987.         ;;
  8988.       m68k)
  8989.             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)'
  8990.             hardcode_libdir_flag_spec='-L$libdir'
  8991.             hardcode_minus_L=yes
  8992.         ;;
  8993.       esac
  8994.       ;;
  8995.  
  8996.     beos*)
  8997.       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8998.     allow_undefined_flag=unsupported
  8999.     # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9000.     # support --undefined.  This deserves some investigation.  FIXME
  9001.     archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9002.       else
  9003.     ld_shlibs=no
  9004.       fi
  9005.       ;;
  9006.  
  9007.     cygwin* | mingw* | pw32* | cegcc*)
  9008.       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  9009.       # as there is no search path for DLLs.
  9010.       hardcode_libdir_flag_spec='-L$libdir'
  9011.       export_dynamic_flag_spec='${wl}--export-all-symbols'
  9012.       allow_undefined_flag=unsupported
  9013.       always_export_symbols=no
  9014.       enable_shared_with_static_runtimes=yes
  9015.       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'
  9016.       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  9017.  
  9018.       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9019.         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9020.     # If the export-symbols file already is a .def file (1st line
  9021.     # is EXPORTS), use it as is; otherwise, prepend...
  9022.     archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9023.       cp $export_symbols $output_objdir/$soname.def;
  9024.     else
  9025.       echo EXPORTS > $output_objdir/$soname.def;
  9026.       cat $export_symbols >> $output_objdir/$soname.def;
  9027.     fi~
  9028.     $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9029.       else
  9030.     ld_shlibs=no
  9031.       fi
  9032.       ;;
  9033.  
  9034.     haiku*)
  9035.       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9036.       link_all_deplibs=yes
  9037.       ;;
  9038.  
  9039.     interix[3-9]*)
  9040.       hardcode_direct=no
  9041.       hardcode_shlibpath_var=no
  9042.       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9043.       export_dynamic_flag_spec='${wl}-E'
  9044.       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9045.       # Instead, shared libraries are loaded at an image base (0x10000000 by
  9046.       # default) and relocated if they conflict, which is a slow very memory
  9047.       # consuming and fragmenting process.  To avoid this, we pick a random,
  9048.       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9049.       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  9050.       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9051.       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'
  9052.       ;;
  9053.  
  9054.     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  9055.       tmp_diet=no
  9056.       if test "$host_os" = linux-dietlibc; then
  9057.     case $cc_basename in
  9058.       diet\ *) tmp_diet=yes;;   # linux-dietlibc with static linking (!diet-dyn)
  9059.     esac
  9060.       fi
  9061.       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  9062.      && test "$tmp_diet" = no
  9063.       then
  9064.     tmp_addflag=' $pic_flag'
  9065.     tmp_sharedflag='-shared'
  9066.     case $cc_basename,$host_cpu in
  9067.         pgcc*)              # Portland Group C compiler
  9068.       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'
  9069.       tmp_addflag=' $pic_flag'
  9070.       ;;
  9071.     pgf77* | pgf90* | pgf95* | pgfortran*)
  9072.                     # Portland Group f77 and f90 compilers
  9073.       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'
  9074.       tmp_addflag=' $pic_flag -Mnomain' ;;
  9075.     ecc*,ia64* | icc*,ia64*)    # Intel C compiler on ia64
  9076.       tmp_addflag=' -i_dynamic' ;;
  9077.     efc*,ia64* | ifort*,ia64*)  # Intel Fortran compiler on ia64
  9078.       tmp_addflag=' -i_dynamic -nofor_main' ;;
  9079.     ifc* | ifort*)          # Intel Fortran compiler
  9080.       tmp_addflag=' -nofor_main' ;;
  9081.     lf95*)              # Lahey Fortran 8.1
  9082.       whole_archive_flag_spec=
  9083.       tmp_sharedflag='--shared' ;;
  9084.     xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  9085.       tmp_sharedflag='-qmkshrobj'
  9086.       tmp_addflag= ;;
  9087.     nvcc*)  # Cuda Compiler Driver 2.2
  9088.       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'
  9089.       compiler_needs_object=yes
  9090.       ;;
  9091.     esac
  9092.     case `$CC -V 2>&1 | sed 5q` in
  9093.     *Sun\ C*)           # Sun C 5.9
  9094.       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'
  9095.       compiler_needs_object=yes
  9096.       tmp_sharedflag='-G' ;;
  9097.     *Sun\ F*)           # Sun Fortran 8.3
  9098.       tmp_sharedflag='-G' ;;
  9099.     esac
  9100.     archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9101.  
  9102.         if test "x$supports_anon_versioning" = xyes; then
  9103.           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9104.         cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9105.         echo "local: *; };" >> $output_objdir/$libname.ver~
  9106.         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9107.         fi
  9108.  
  9109.     case $cc_basename in
  9110.     xlf* | bgf* | bgxlf* | mpixlf*)
  9111.       # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  9112.       whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  9113.       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9114.       archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  9115.       if test "x$supports_anon_versioning" = xyes; then
  9116.         archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9117.           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9118.           echo "local: *; };" >> $output_objdir/$libname.ver~
  9119.           $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9120.       fi
  9121.       ;;
  9122.     esac
  9123.       else
  9124.         ld_shlibs=no
  9125.       fi
  9126.       ;;
  9127.  
  9128.     netbsd* | netbsdelf*-gnu)
  9129.       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9130.     archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9131.     wlarc=
  9132.       else
  9133.     archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9134.     archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9135.       fi
  9136.       ;;
  9137.  
  9138.     solaris*)
  9139.       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  9140.     ld_shlibs=no
  9141.     cat <<_LT_EOF 1>&2
  9142.  
  9143. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9144. *** create shared libraries on Solaris systems.  Therefore, libtool
  9145. *** is disabling shared libraries support.  We urge you to upgrade GNU
  9146. *** binutils to release 2.9.1 or newer.  Another option is to modify
  9147. *** your PATH or compiler configuration so that the native linker is
  9148. *** used, and then restart.
  9149.  
  9150. _LT_EOF
  9151.       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9152.     archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9153.     archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9154.       else
  9155.     ld_shlibs=no
  9156.       fi
  9157.       ;;
  9158.  
  9159.     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9160.       case `$LD -v 2>&1` in
  9161.         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  9162.     ld_shlibs=no
  9163.     cat <<_LT_EOF 1>&2
  9164.  
  9165. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9166. *** reliably create shared libraries on SCO systems.  Therefore, libtool
  9167. *** is disabling shared libraries support.  We urge you to upgrade GNU
  9168. *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  9169. *** your PATH or compiler configuration so that the native linker is
  9170. *** used, and then restart.
  9171.  
  9172. _LT_EOF
  9173.     ;;
  9174.     *)
  9175.       # For security reasons, it is highly recommended that you always
  9176.       # use absolute paths for naming shared libraries, and exclude the
  9177.       # DT_RUNPATH tag from executables and libraries.  But doing so
  9178.       # requires that you compile everything twice, which is a pain.
  9179.       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9180.         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9181.         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9182.         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9183.       else
  9184.         ld_shlibs=no
  9185.       fi
  9186.     ;;
  9187.       esac
  9188.       ;;
  9189.  
  9190.     sunos4*)
  9191.       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9192.       wlarc=
  9193.       hardcode_direct=yes
  9194.       hardcode_shlibpath_var=no
  9195.       ;;
  9196.  
  9197.     *)
  9198.       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9199.     archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9200.     archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9201.       else
  9202.     ld_shlibs=no
  9203.       fi
  9204.       ;;
  9205.     esac
  9206.  
  9207.     if test "$ld_shlibs" = no; then
  9208.       runpath_var=
  9209.       hardcode_libdir_flag_spec=
  9210.       export_dynamic_flag_spec=
  9211.       whole_archive_flag_spec=
  9212.     fi
  9213.   else
  9214.     # PORTME fill in a description of your system's linker (not GNU ld)
  9215.     case $host_os in
  9216.     aix3*)
  9217.       allow_undefined_flag=unsupported
  9218.       always_export_symbols=yes
  9219.       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'
  9220.       # Note: this linker hardcodes the directories in LIBPATH if there
  9221.       # are no directories specified by -L.
  9222.       hardcode_minus_L=yes
  9223.       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9224.     # Neither direct hardcoding nor static linking is supported with a
  9225.     # broken collect2.
  9226.     hardcode_direct=unsupported
  9227.       fi
  9228.       ;;
  9229.  
  9230.     aix[4-9]*)
  9231.       if test "$host_cpu" = ia64; then
  9232.     # On IA64, the linker does run time linking by default, so we don't
  9233.     # have to do anything special.
  9234.     aix_use_runtimelinking=no
  9235.     exp_sym_flag='-Bexport'
  9236.     no_entry_flag=""
  9237.       else
  9238.     # If we're using GNU nm, then we don't want the "-C" option.
  9239.     # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9240.     # Also, AIX nm treats weak defined symbols like other global
  9241.     # defined symbols, whereas GNU nm marks them as "W".
  9242.     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9243.       export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9244.     else
  9245.       export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9246.     fi
  9247.     aix_use_runtimelinking=no
  9248.  
  9249.     # Test if we are trying to use run time linking or normal
  9250.     # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9251.     # need to do runtime linking.
  9252.     case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9253.       for ld_flag in $LDFLAGS; do
  9254.       if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9255.         aix_use_runtimelinking=yes
  9256.         break
  9257.       fi
  9258.       done
  9259.       ;;
  9260.     esac
  9261.  
  9262.     exp_sym_flag='-bexport'
  9263.     no_entry_flag='-bnoentry'
  9264.      fi
  9265.  
  9266.      # When large executables or shared objects are built, AIX ld can
  9267.      # have problems creating the table of contents.  If linking a library
  9268.      # or program results in "error TOC overflow" add -mminimal-toc to
  9269.      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  9270.      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9271.  
  9272.      archive_cmds=''
  9273.      hardcode_direct=yes
  9274.      hardcode_direct_absolute=yes
  9275.      hardcode_libdir_separator=':'
  9276.      link_all_deplibs=yes
  9277.      file_list_spec='${wl}-f,'
  9278.  
  9279.      if test "$GCC" = yes; then
  9280.     case $host_os in aix4.[012]|aix4.[012].*)
  9281.     # We only want to do this on AIX 4.2 and lower, the check
  9282.     # below for broken collect2 doesn't work under 4.3+
  9283.       collect2name=`${CC} -print-prog-name=collect2`
  9284.       if test -f "$collect2name" &&
  9285.        strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9286.       then
  9287.       # We have reworked collect2
  9288.       :
  9289.       else
  9290.       # We have old collect2
  9291.       hardcode_direct=unsupported
  9292.       # It fails to find uninstalled libraries when the uninstalled
  9293.       # path is not listed in the libpath.  Setting hardcode_minus_L
  9294.       # to unsupported forces relinking
  9295.       hardcode_minus_L=yes
  9296.       hardcode_libdir_flag_spec='-L$libdir'
  9297.       hardcode_libdir_separator=
  9298.       fi
  9299.       ;;
  9300.     esac
  9301.     shared_flag='-shared'
  9302.     if test "$aix_use_runtimelinking" = yes; then
  9303.       shared_flag="$shared_flag "'${wl}-G'
  9304.     fi
  9305.     link_all_deplibs=no
  9306.       else
  9307.     # not using gcc
  9308.     if test "$host_cpu" = ia64; then
  9309.     # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9310.     # chokes on -Wl,-G. The following line is correct:
  9311.       shared_flag='-G'
  9312.     else
  9313.       if test "$aix_use_runtimelinking" = yes; then
  9314.         shared_flag='${wl}-G'
  9315.       else
  9316.         shared_flag='${wl}-bM:SRE'
  9317.       fi
  9318.     fi
  9319.       fi
  9320.  
  9321.       export_dynamic_flag_spec='${wl}-bexpall'
  9322.       # It seems that -bexpall does not export symbols beginning with
  9323.       # underscore (_), so it is better to generate a list of symbols to export.
  9324.       always_export_symbols=yes
  9325.       if test "$aix_use_runtimelinking" = yes; then
  9326.     # Warning - without using the other runtime loading flags (-brtl),
  9327.     # -berok will link without error, but may produce a broken library.
  9328.     allow_undefined_flag='-berok'
  9329.         # Determine the default libpath from the value encoded in an
  9330.         # empty executable.
  9331.         if test "${lt_cv_aix_libpath+set}" = set; then
  9332.   aix_libpath=$lt_cv_aix_libpath
  9333. else
  9334.   if ${lt_cv_aix_libpath_+:} false; then :
  9335.   $as_echo_n "(cached) " >&6
  9336. else
  9337.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9338. /* end confdefs.h.  */
  9339.  
  9340. int
  9341. main ()
  9342. {
  9343.  
  9344.   ;
  9345.   return 0;
  9346. }
  9347. _ACEOF
  9348. if ac_fn_c_try_link "$LINENO"; then :
  9349.  
  9350.   lt_aix_libpath_sed='
  9351.      /Import File Strings/,/^$/ {
  9352.       /^0/ {
  9353.           s/^0  *\([^ ]*\) *$/\1/
  9354.           p
  9355.       }
  9356.      }'
  9357.   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9358.   # Check for a 64-bit object if we didn't find anything.
  9359.   if test -z "$lt_cv_aix_libpath_"; then
  9360.     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9361.   fi
  9362. fi
  9363. rm -f core conftest.err conftest.$ac_objext \
  9364.     conftest$ac_exeext conftest.$ac_ext
  9365.   if test -z "$lt_cv_aix_libpath_"; then
  9366.     lt_cv_aix_libpath_="/usr/lib:/lib"
  9367.   fi
  9368.  
  9369. fi
  9370.  
  9371.   aix_libpath=$lt_cv_aix_libpath_
  9372. fi
  9373.  
  9374.         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9375.         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9376.       else
  9377.     if test "$host_cpu" = ia64; then
  9378.       hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  9379.       allow_undefined_flag="-z nodefs"
  9380.       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"
  9381.     else
  9382.      # Determine the default libpath from the value encoded in an
  9383.      # empty executable.
  9384.      if test "${lt_cv_aix_libpath+set}" = set; then
  9385.   aix_libpath=$lt_cv_aix_libpath
  9386. else
  9387.   if ${lt_cv_aix_libpath_+:} false; then :
  9388.   $as_echo_n "(cached) " >&6
  9389. else
  9390.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9391. /* end confdefs.h.  */
  9392.  
  9393. int
  9394. main ()
  9395. {
  9396.  
  9397.   ;
  9398.   return 0;
  9399. }
  9400. _ACEOF
  9401. if ac_fn_c_try_link "$LINENO"; then :
  9402.  
  9403.   lt_aix_libpath_sed='
  9404.      /Import File Strings/,/^$/ {
  9405.       /^0/ {
  9406.           s/^0  *\([^ ]*\) *$/\1/
  9407.           p
  9408.       }
  9409.      }'
  9410.   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9411.   # Check for a 64-bit object if we didn't find anything.
  9412.   if test -z "$lt_cv_aix_libpath_"; then
  9413.     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9414.   fi
  9415. fi
  9416. rm -f core conftest.err conftest.$ac_objext \
  9417.     conftest$ac_exeext conftest.$ac_ext
  9418.   if test -z "$lt_cv_aix_libpath_"; then
  9419.     lt_cv_aix_libpath_="/usr/lib:/lib"
  9420.   fi
  9421.  
  9422. fi
  9423.  
  9424.   aix_libpath=$lt_cv_aix_libpath_
  9425. fi
  9426.  
  9427.      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9428.       # Warning - without using the other run time loading flags,
  9429.       # -berok will link without error, but may produce a broken library.
  9430.       no_undefined_flag=' ${wl}-bernotok'
  9431.       allow_undefined_flag=' ${wl}-berok'
  9432.       if test "$with_gnu_ld" = yes; then
  9433.         # We only use this code for GNU lds that support --whole-archive.
  9434.         whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  9435.       else
  9436.         # Exported symbols can be pulled into shared objects from archives
  9437.         whole_archive_flag_spec='$convenience'
  9438.       fi
  9439.       archive_cmds_need_lc=yes
  9440.       # This is similar to how AIX traditionally builds its shared libraries.
  9441.       archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  9442.     fi
  9443.       fi
  9444.       ;;
  9445.  
  9446.     amigaos*)
  9447.       case $host_cpu in
  9448.       powerpc)
  9449.             # see comment about AmigaOS4 .so support
  9450.             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9451.             archive_expsym_cmds=''
  9452.         ;;
  9453.       m68k)
  9454.             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)'
  9455.             hardcode_libdir_flag_spec='-L$libdir'
  9456.             hardcode_minus_L=yes
  9457.         ;;
  9458.       esac
  9459.       ;;
  9460.  
  9461.     bsdi[45]*)
  9462.       export_dynamic_flag_spec=-rdynamic
  9463.       ;;
  9464.  
  9465.     cygwin* | mingw* | pw32* | cegcc*)
  9466.       # When not using gcc, we currently assume that we are using
  9467.       # Microsoft Visual C++.
  9468.       # hardcode_libdir_flag_spec is actually meaningless, as there is
  9469.       # no search path for DLLs.
  9470.       case $cc_basename in
  9471.       cl*)
  9472.     # Native MSVC
  9473.     hardcode_libdir_flag_spec=' '
  9474.     allow_undefined_flag=unsupported
  9475.     always_export_symbols=yes
  9476.     file_list_spec='@'
  9477.     # Tell ltmain to make .lib files, not .a files.
  9478.     libext=lib
  9479.     # Tell ltmain to make .dll files, not .so files.
  9480.     shrext_cmds=".dll"
  9481.     # FIXME: Setting linknames here is a bad hack.
  9482.     archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  9483.     archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9484.         sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  9485.       else
  9486.         sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  9487.       fi~
  9488.       $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  9489.       linknames='
  9490.     # The linker will not automatically build a static lib if we build a DLL.
  9491.     # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  9492.     enable_shared_with_static_runtimes=yes
  9493.     exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  9494.     export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  9495.     # Don't use ranlib
  9496.     old_postinstall_cmds='chmod 644 $oldlib'
  9497.     postlink_cmds='lt_outputfile="@OUTPUT@"~
  9498.       lt_tool_outputfile="@TOOL_OUTPUT@"~
  9499.       case $lt_outputfile in
  9500.         *.exe|*.EXE) ;;
  9501.         *)
  9502.           lt_outputfile="$lt_outputfile.exe"
  9503.           lt_tool_outputfile="$lt_tool_outputfile.exe"
  9504.           ;;
  9505.       esac~
  9506.       if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  9507.         $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  9508.         $RM "$lt_outputfile.manifest";
  9509.       fi'
  9510.     ;;
  9511.       *)
  9512.     # Assume MSVC wrapper
  9513.     hardcode_libdir_flag_spec=' '
  9514.     allow_undefined_flag=unsupported
  9515.     # Tell ltmain to make .lib files, not .a files.
  9516.     libext=lib
  9517.     # Tell ltmain to make .dll files, not .so files.
  9518.     shrext_cmds=".dll"
  9519.     # FIXME: Setting linknames here is a bad hack.
  9520.     archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  9521.     # The linker will automatically build a .lib file if we build a DLL.
  9522.     old_archive_from_new_cmds='true'
  9523.     # FIXME: Should let the user specify the lib program.
  9524.     old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9525.     enable_shared_with_static_runtimes=yes
  9526.     ;;
  9527.       esac
  9528.       ;;
  9529.  
  9530.     darwin* | rhapsody*)
  9531.  
  9532.  
  9533.   archive_cmds_need_lc=no
  9534.   hardcode_direct=no
  9535.   hardcode_automatic=yes
  9536.   hardcode_shlibpath_var=unsupported
  9537.   if test "$lt_cv_ld_force_load" = "yes"; then
  9538.     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\"`'
  9539.  
  9540.   else
  9541.     whole_archive_flag_spec=''
  9542.   fi
  9543.   link_all_deplibs=yes
  9544.   allow_undefined_flag="$_lt_dar_allow_undefined"
  9545.   case $cc_basename in
  9546.      ifort*) _lt_dar_can_shared=yes ;;
  9547.      *) _lt_dar_can_shared=$GCC ;;
  9548.   esac
  9549.   if test "$_lt_dar_can_shared" = "yes"; then
  9550.     output_verbose_link_cmd=func_echo_all
  9551.     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9552.     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9553.     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}"
  9554.     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}"
  9555.  
  9556.   else
  9557.   ld_shlibs=no
  9558.   fi
  9559.  
  9560.       ;;
  9561.  
  9562.     dgux*)
  9563.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9564.       hardcode_libdir_flag_spec='-L$libdir'
  9565.       hardcode_shlibpath_var=no
  9566.       ;;
  9567.  
  9568.     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9569.     # support.  Future versions do this automatically, but an explicit c++rt0.o
  9570.     # does not break anything, and helps significantly (at the cost of a little
  9571.     # extra space).
  9572.     freebsd2.2*)
  9573.       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9574.       hardcode_libdir_flag_spec='-R$libdir'
  9575.       hardcode_direct=yes
  9576.       hardcode_shlibpath_var=no
  9577.       ;;
  9578.  
  9579.     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9580.     freebsd2.*)
  9581.       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9582.       hardcode_direct=yes
  9583.       hardcode_minus_L=yes
  9584.       hardcode_shlibpath_var=no
  9585.       ;;
  9586.  
  9587.     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9588.     freebsd* | dragonfly*)
  9589.       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9590.       hardcode_libdir_flag_spec='-R$libdir'
  9591.       hardcode_direct=yes
  9592.       hardcode_shlibpath_var=no
  9593.       ;;
  9594.  
  9595.     hpux9*)
  9596.       if test "$GCC" = yes; then
  9597.     archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  9598.       else
  9599.     archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  9600.       fi
  9601.       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9602.       hardcode_libdir_separator=:
  9603.       hardcode_direct=yes
  9604.  
  9605.       # hardcode_minus_L: Not really in the search PATH,
  9606.       # but as the default location of the library.
  9607.       hardcode_minus_L=yes
  9608.       export_dynamic_flag_spec='${wl}-E'
  9609.       ;;
  9610.  
  9611.     hpux10*)
  9612.       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9613.     archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9614.       else
  9615.     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9616.       fi
  9617.       if test "$with_gnu_ld" = no; then
  9618.     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9619.     hardcode_libdir_separator=:
  9620.     hardcode_direct=yes
  9621.     hardcode_direct_absolute=yes
  9622.     export_dynamic_flag_spec='${wl}-E'
  9623.     # hardcode_minus_L: Not really in the search PATH,
  9624.     # but as the default location of the library.
  9625.     hardcode_minus_L=yes
  9626.       fi
  9627.       ;;
  9628.  
  9629.     hpux11*)
  9630.       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9631.     case $host_cpu in
  9632.     hppa*64*)
  9633.       archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9634.       ;;
  9635.     ia64*)
  9636.       archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9637.       ;;
  9638.     *)
  9639.       archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9640.       ;;
  9641.     esac
  9642.       else
  9643.     case $host_cpu in
  9644.     hppa*64*)
  9645.       archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9646.       ;;
  9647.     ia64*)
  9648.       archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9649.       ;;
  9650.     *)
  9651.  
  9652.       # Older versions of the 11.00 compiler do not understand -b yet
  9653.       # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  9654.       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  9655. $as_echo_n "checking if $CC understands -b... " >&6; }
  9656. if ${lt_cv_prog_compiler__b+:} false; then :
  9657.   $as_echo_n "(cached) " >&6
  9658. else
  9659.   lt_cv_prog_compiler__b=no
  9660.    save_LDFLAGS="$LDFLAGS"
  9661.    LDFLAGS="$LDFLAGS -b"
  9662.    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9663.    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9664.      # The linker can only warn and ignore the option if not recognized
  9665.      # So say no if there are warnings
  9666.      if test -s conftest.err; then
  9667.        # Append any errors to the config.log.
  9668.        cat conftest.err 1>&5
  9669.        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  9670.        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9671.        if diff conftest.exp conftest.er2 >/dev/null; then
  9672.          lt_cv_prog_compiler__b=yes
  9673.        fi
  9674.      else
  9675.        lt_cv_prog_compiler__b=yes
  9676.      fi
  9677.    fi
  9678.    $RM -r conftest*
  9679.    LDFLAGS="$save_LDFLAGS"
  9680.  
  9681. fi
  9682. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  9683. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  9684.  
  9685. if test x"$lt_cv_prog_compiler__b" = xyes; then
  9686.     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9687. else
  9688.     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9689. fi
  9690.  
  9691.       ;;
  9692.     esac
  9693.       fi
  9694.       if test "$with_gnu_ld" = no; then
  9695.     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9696.     hardcode_libdir_separator=:
  9697.  
  9698.     case $host_cpu in
  9699.     hppa*64*|ia64*)
  9700.       hardcode_direct=no
  9701.       hardcode_shlibpath_var=no
  9702.       ;;
  9703.     *)
  9704.       hardcode_direct=yes
  9705.       hardcode_direct_absolute=yes
  9706.       export_dynamic_flag_spec='${wl}-E'
  9707.  
  9708.       # hardcode_minus_L: Not really in the search PATH,
  9709.       # but as the default location of the library.
  9710.       hardcode_minus_L=yes
  9711.       ;;
  9712.     esac
  9713.       fi
  9714.       ;;
  9715.  
  9716.     irix5* | irix6* | nonstopux*)
  9717.       if test "$GCC" = yes; then
  9718.     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'
  9719.     # Try to use the -exported_symbol ld option, if it does not
  9720.     # work, assume that -exports_file does not work either and
  9721.     # implicitly export all symbols.
  9722.     # This should be the same for all languages, so no per-tag cache variable.
  9723.     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  9724. $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  9725. if ${lt_cv_irix_exported_symbol+:} false; then :
  9726.   $as_echo_n "(cached) " >&6
  9727. else
  9728.   save_LDFLAGS="$LDFLAGS"
  9729.        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  9730.        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9731. /* end confdefs.h.  */
  9732. int foo (void) { return 0; }
  9733. _ACEOF
  9734. if ac_fn_c_try_link "$LINENO"; then :
  9735.   lt_cv_irix_exported_symbol=yes
  9736. else
  9737.   lt_cv_irix_exported_symbol=no
  9738. fi
  9739. rm -f core conftest.err conftest.$ac_objext \
  9740.     conftest$ac_exeext conftest.$ac_ext
  9741.            LDFLAGS="$save_LDFLAGS"
  9742. fi
  9743. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  9744. $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  9745.     if test "$lt_cv_irix_exported_symbol" = yes; then
  9746.           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'
  9747.     fi
  9748.       else
  9749.     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'
  9750.     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'
  9751.       fi
  9752.       archive_cmds_need_lc='no'
  9753.       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9754.       hardcode_libdir_separator=:
  9755.       inherit_rpath=yes
  9756.       link_all_deplibs=yes
  9757.       ;;
  9758.  
  9759.     netbsd* | netbsdelf*-gnu)
  9760.       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9761.     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  9762.       else
  9763.     archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  9764.       fi
  9765.       hardcode_libdir_flag_spec='-R$libdir'
  9766.       hardcode_direct=yes
  9767.       hardcode_shlibpath_var=no
  9768.       ;;
  9769.  
  9770.     newsos6)
  9771.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9772.       hardcode_direct=yes
  9773.       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9774.       hardcode_libdir_separator=:
  9775.       hardcode_shlibpath_var=no
  9776.       ;;
  9777.  
  9778.     *nto* | *qnx*)
  9779.       ;;
  9780.  
  9781.     openbsd*)
  9782.       if test -f /usr/libexec/ld.so; then
  9783.     hardcode_direct=yes
  9784.     hardcode_shlibpath_var=no
  9785.     hardcode_direct_absolute=yes
  9786.     if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9787.       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9788.       archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9789.       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9790.       export_dynamic_flag_spec='${wl}-E'
  9791.     else
  9792.       case $host_os in
  9793.        openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  9794.          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9795.          hardcode_libdir_flag_spec='-R$libdir'
  9796.          ;;
  9797.        *)
  9798.          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9799.          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9800.          ;;
  9801.       esac
  9802.     fi
  9803.       else
  9804.     ld_shlibs=no
  9805.       fi
  9806.       ;;
  9807.  
  9808.     os2*)
  9809.       hardcode_libdir_flag_spec='-L$libdir'
  9810.       hardcode_minus_L=yes
  9811.       allow_undefined_flag=unsupported
  9812.       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  9813.       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9814.       ;;
  9815.  
  9816.     osf3*)
  9817.       if test "$GCC" = yes; then
  9818.     allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9819.     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'
  9820.       else
  9821.     allow_undefined_flag=' -expect_unresolved \*'
  9822.     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'
  9823.       fi
  9824.       archive_cmds_need_lc='no'
  9825.       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9826.       hardcode_libdir_separator=:
  9827.       ;;
  9828.  
  9829.     osf4* | osf5*)  # as osf3* with the addition of -msym flag
  9830.       if test "$GCC" = yes; then
  9831.     allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9832.     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'
  9833.     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9834.       else
  9835.     allow_undefined_flag=' -expect_unresolved \*'
  9836.     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'
  9837.     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~
  9838.     $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'
  9839.  
  9840.     # Both c and cxx compiler support -rpath directly
  9841.     hardcode_libdir_flag_spec='-rpath $libdir'
  9842.       fi
  9843.       archive_cmds_need_lc='no'
  9844.       hardcode_libdir_separator=:
  9845.       ;;
  9846.  
  9847.     solaris*)
  9848.       no_undefined_flag=' -z defs'
  9849.       if test "$GCC" = yes; then
  9850.     wlarc='${wl}'
  9851.     archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9852.     archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9853.       $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'
  9854.       else
  9855.     case `$CC -V 2>&1` in
  9856.     *"Compilers 5.0"*)
  9857.       wlarc=''
  9858.       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9859.       archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9860.       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  9861.       ;;
  9862.     *)
  9863.       wlarc='${wl}'
  9864.       archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9865.       archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9866.       $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9867.       ;;
  9868.     esac
  9869.       fi
  9870.       hardcode_libdir_flag_spec='-R$libdir'
  9871.       hardcode_shlibpath_var=no
  9872.       case $host_os in
  9873.       solaris2.[0-5] | solaris2.[0-5].*) ;;
  9874.       *)
  9875.     # The compiler driver will combine and reorder linker options,
  9876.     # but understands `-z linker_flag'.  GCC discards it without `$wl',
  9877.     # but is careful enough not to reorder.
  9878.     # Supported since Solaris 2.6 (maybe 2.5.1?)
  9879.     if test "$GCC" = yes; then
  9880.       whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9881.     else
  9882.       whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  9883.     fi
  9884.     ;;
  9885.       esac
  9886.       link_all_deplibs=yes
  9887.       ;;
  9888.  
  9889.     sunos4*)
  9890.       if test "x$host_vendor" = xsequent; then
  9891.     # Use $CC to link under sequent, because it throws in some extra .o
  9892.     # files that make .init and .fini sections work.
  9893.     archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9894.       else
  9895.     archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9896.       fi
  9897.       hardcode_libdir_flag_spec='-L$libdir'
  9898.       hardcode_direct=yes
  9899.       hardcode_minus_L=yes
  9900.       hardcode_shlibpath_var=no
  9901.       ;;
  9902.  
  9903.     sysv4)
  9904.       case $host_vendor in
  9905.     sni)
  9906.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9907.       hardcode_direct=yes # is this really true???
  9908.     ;;
  9909.     siemens)
  9910.       ## LD is ld it makes a PLAMLIB
  9911.       ## CC just makes a GrossModule.
  9912.       archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9913.       reload_cmds='$CC -r -o $output$reload_objs'
  9914.       hardcode_direct=no
  9915.         ;;
  9916.     motorola)
  9917.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9918.       hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  9919.     ;;
  9920.       esac
  9921.       runpath_var='LD_RUN_PATH'
  9922.       hardcode_shlibpath_var=no
  9923.       ;;
  9924.  
  9925.     sysv4.3*)
  9926.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9927.       hardcode_shlibpath_var=no
  9928.       export_dynamic_flag_spec='-Bexport'
  9929.       ;;
  9930.  
  9931.     sysv4*MP*)
  9932.       if test -d /usr/nec; then
  9933.     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9934.     hardcode_shlibpath_var=no
  9935.     runpath_var=LD_RUN_PATH
  9936.     hardcode_runpath_var=yes
  9937.     ld_shlibs=yes
  9938.       fi
  9939.       ;;
  9940.  
  9941.     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9942.       no_undefined_flag='${wl}-z,text'
  9943.       archive_cmds_need_lc=no
  9944.       hardcode_shlibpath_var=no
  9945.       runpath_var='LD_RUN_PATH'
  9946.  
  9947.       if test "$GCC" = yes; then
  9948.     archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9949.     archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9950.       else
  9951.     archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9952.     archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9953.       fi
  9954.       ;;
  9955.  
  9956.     sysv5* | sco3.2v5* | sco5v6*)
  9957.       # Note: We can NOT use -z defs as we might desire, because we do not
  9958.       # link with -lc, and that would cause any symbols used from libc to
  9959.       # always be unresolved, which means just about no library would
  9960.       # ever link correctly.  If we're not using GNU ld we use -z text
  9961.       # though, which does catch some bad symbols but isn't as heavy-handed
  9962.       # as -z defs.
  9963.       no_undefined_flag='${wl}-z,text'
  9964.       allow_undefined_flag='${wl}-z,nodefs'
  9965.       archive_cmds_need_lc=no
  9966.       hardcode_shlibpath_var=no
  9967.       hardcode_libdir_flag_spec='${wl}-R,$libdir'
  9968.       hardcode_libdir_separator=':'
  9969.       link_all_deplibs=yes
  9970.       export_dynamic_flag_spec='${wl}-Bexport'
  9971.       runpath_var='LD_RUN_PATH'
  9972.  
  9973.       if test "$GCC" = yes; then
  9974.     archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9975.     archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9976.       else
  9977.     archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9978.     archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9979.       fi
  9980.       ;;
  9981.  
  9982.     uts4*)
  9983.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9984.       hardcode_libdir_flag_spec='-L$libdir'
  9985.       hardcode_shlibpath_var=no
  9986.       ;;
  9987.  
  9988.     *)
  9989.       ld_shlibs=no
  9990.       ;;
  9991.     esac
  9992.  
  9993.     if test x$host_vendor = xsni; then
  9994.       case $host in
  9995.       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  9996.     export_dynamic_flag_spec='${wl}-Blargedynsym'
  9997.     ;;
  9998.       esac
  9999.     fi
  10000.   fi
  10001.  
  10002. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  10003. $as_echo "$ld_shlibs" >&6; }
  10004. test "$ld_shlibs" = no && can_build_shared=no
  10005.  
  10006. with_gnu_ld=$with_gnu_ld
  10007.  
  10008.  
  10009.  
  10010.  
  10011.  
  10012.  
  10013.  
  10014.  
  10015.  
  10016.  
  10017.  
  10018.  
  10019.  
  10020.  
  10021.  
  10022. #
  10023. # Do we need to explicitly link libc?
  10024. #
  10025. case "x$archive_cmds_need_lc" in
  10026. x|xyes)
  10027.   # Assume -lc should be added
  10028.   archive_cmds_need_lc=yes
  10029.  
  10030.   if test "$enable_shared" = yes && test "$GCC" = yes; then
  10031.     case $archive_cmds in
  10032.     *'~'*)
  10033.       # FIXME: we may have to deal with multi-command sequences.
  10034.       ;;
  10035.     '$CC '*)
  10036.       # Test whether the compiler implicitly links with -lc since on some
  10037.       # systems, -lgcc has to come before -lc. If gcc already passes -lc
  10038.       # to ld, don't add -lc before -lgcc.
  10039.       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  10040. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  10041. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  10042.   $as_echo_n "(cached) " >&6
  10043. else
  10044.   $RM conftest*
  10045.     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10046.  
  10047.     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10048.   (eval $ac_compile) 2>&5
  10049.   ac_status=$?
  10050.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10051.   test $ac_status = 0; } 2>conftest.err; then
  10052.       soname=conftest
  10053.       lib=conftest
  10054.       libobjs=conftest.$ac_objext
  10055.       deplibs=
  10056.       wl=$lt_prog_compiler_wl
  10057.       pic_flag=$lt_prog_compiler_pic
  10058.       compiler_flags=-v
  10059.       linker_flags=-v
  10060.       verstring=
  10061.       output_objdir=.
  10062.       libname=conftest
  10063.       lt_save_allow_undefined_flag=$allow_undefined_flag
  10064.       allow_undefined_flag=
  10065.       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  10066.   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  10067.  ac_status=$?
  10068.  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10069.  test $ac_status = 0; }
  10070.       then
  10071.         lt_cv_archive_cmds_need_lc=no
  10072.       else
  10073.         lt_cv_archive_cmds_need_lc=yes
  10074.       fi
  10075.       allow_undefined_flag=$lt_save_allow_undefined_flag
  10076.     else
  10077.       cat conftest.err 1>&5
  10078.     fi
  10079.     $RM conftest*
  10080.  
  10081. fi
  10082. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  10083. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  10084.      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  10085.      ;;
  10086.    esac
  10087.  fi
  10088.  ;;
  10089. esac
  10090.  
  10091.  
  10092.  
  10093.  
  10094.  
  10095.  
  10096.  
  10097.  
  10098.  
  10099.  
  10100.  
  10101.  
  10102.  
  10103.  
  10104.  
  10105.  
  10106.  
  10107.  
  10108.  
  10109.  
  10110.  
  10111.  
  10112.  
  10113.  
  10114.  
  10115.  
  10116.  
  10117.  
  10118.  
  10119.  
  10120.  
  10121.  
  10122.  
  10123.  
  10124.  
  10125.  
  10126.  
  10127.  
  10128.  
  10129.  
  10130.  
  10131.  
  10132.  
  10133.  
  10134.  
  10135.  
  10136.  
  10137.  
  10138.  
  10139.  
  10140.  
  10141.  
  10142.  
  10143.  
  10144.  
  10145.  
  10146.  
  10147.  
  10148.  
  10149.  
  10150.  
  10151.  
  10152.  
  10153.  
  10154.  
  10155.  
  10156.  
  10157.  
  10158.  
  10159.  
  10160.  
  10161.  
  10162.  
  10163.  
  10164.  
  10165.  
  10166.  
  10167.  
  10168.  
  10169.  
  10170.  
  10171.  
  10172.  
  10173.  
  10174.  
  10175.  
  10176.  
  10177.  
  10178.  
  10179.  
  10180.  
  10181.  
  10182.  
  10183.  
  10184.  
  10185.  
  10186.  
  10187.  
  10188.  
  10189.  
  10190.  
  10191.  
  10192.  
  10193.  
  10194.  
  10195.  
  10196.  
  10197.  
  10198.  
  10199.  
  10200.  
  10201.  
  10202.  
  10203.  
  10204.  
  10205.  
  10206.  
  10207.  
  10208.  
  10209.  
  10210.  
  10211.  
  10212.  
  10213.  
  10214.  
  10215.  
  10216.  
  10217.  
  10218.  
  10219.  
  10220.  
  10221.  
  10222.  
  10223.  
  10224.  
  10225.  
  10226.  
  10227.  
  10228.  
  10229.  
  10230.  
  10231.  
  10232.  
  10233.  
  10234.  
  10235.  
  10236.  
  10237.  
  10238.  
  10239.  
  10240.  
  10241.  
  10242.  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  10243. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  10244.  
  10245. if test "$GCC" = yes; then
  10246.  case $host_os in
  10247.    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  10248.    *) lt_awk_arg="/^libraries:/" ;;
  10249.  esac
  10250.  case $host_os in
  10251.    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  10252.    *) lt_sed_strip_eq="s,=/,/,g" ;;
  10253.  esac
  10254.  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  10255.   case $lt_search_path_spec in
  10256.   *\;*)
  10257.     # if the path contains ";" then we assume it to be the separator
  10258.     # otherwise default to the standard path separator (i.e. ":") - it is
  10259.     # assumed that no part of a normal pathname contains ";" but that should
  10260.     # okay in the real world where ";" in dirpaths is itself problematic.
  10261.     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  10262.     ;;
  10263.   *)
  10264.     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  10265.     ;;
  10266.   esac
  10267.   # Ok, now we have the path, separated by spaces, we can step through it
  10268.   # and add multilib dir if necessary.
  10269.   lt_tmp_lt_search_path_spec=
  10270.   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  10271.   for lt_sys_path in $lt_search_path_spec; do
  10272.     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  10273.       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  10274.     else
  10275.       test -d "$lt_sys_path" && \
  10276.     lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  10277.     fi
  10278.   done
  10279.   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  10280. BEGIN {RS=" "; FS="/|\n";} {
  10281.  lt_foo="";
  10282.  lt_count=0;
  10283.  for (lt_i = NF; lt_i > 0; lt_i--) {
  10284.    if ($lt_i != "" && $lt_i != ".") {
  10285.      if ($lt_i == "..") {
  10286.        lt_count++;
  10287.      } else {
  10288.        if (lt_count == 0) {
  10289.          lt_foo="/" $lt_i lt_foo;
  10290.        } else {
  10291.          lt_count--;
  10292.        }
  10293.      }
  10294.    }
  10295.  }
  10296.  if (lt_foo != "") { lt_freq[lt_foo]++; }
  10297.  if (lt_freq[lt_foo] == 1) { print lt_foo; }
  10298. }'`
  10299.   # AWK program above erroneously prepends '/' to C:/dos/paths
  10300.   # for these hosts.
  10301.   case $host_os in
  10302.     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  10303.       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  10304.   esac
  10305.   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  10306. else
  10307.   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  10308. fi
  10309. library_names_spec=
  10310. libname_spec='lib$name'
  10311. soname_spec=
  10312. shrext_cmds=".so"
  10313. postinstall_cmds=
  10314. postuninstall_cmds=
  10315. finish_cmds=
  10316. finish_eval=
  10317. shlibpath_var=
  10318. shlibpath_overrides_runpath=unknown
  10319. version_type=none
  10320. dynamic_linker="$host_os ld.so"
  10321. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  10322. need_lib_prefix=unknown
  10323. hardcode_into_libs=no
  10324.  
  10325. # when you set need_version to no, make sure it does not cause -set_version
  10326. # flags to be left without arguments
  10327. need_version=unknown
  10328.  
  10329. case $host_os in
  10330. aix3*)
  10331.   version_type=linux # correct to gnu/linux during the next big refactor
  10332.   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  10333.   shlibpath_var=LIBPATH
  10334.  
  10335.   # AIX 3 has no versioning support, so we append a major version to the name.
  10336.   soname_spec='${libname}${release}${shared_ext}$major'
  10337.   ;;
  10338.  
  10339. aix[4-9]*)
  10340.   version_type=linux # correct to gnu/linux during the next big refactor
  10341.   need_lib_prefix=no
  10342.   need_version=no
  10343.   hardcode_into_libs=yes
  10344.   if test "$host_cpu" = ia64; then
  10345.     # AIX 5 supports IA64
  10346.     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  10347.     shlibpath_var=LD_LIBRARY_PATH
  10348.   else
  10349.     # With GCC up to 2.95.x, collect2 would create an import file
  10350.     # for dependence libraries.  The import file would start with
  10351.     # the line `#! .'.  This would cause the generated library to
  10352.     # depend on `.', always an invalid library.  This was fixed in
  10353.     # development snapshots of GCC prior to 3.0.
  10354.     case $host_os in
  10355.       aix4 | aix4.[01] | aix4.[01].*)
  10356.       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  10357.        echo ' yes '
  10358.        echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  10359.     :
  10360.       else
  10361.     can_build_shared=no
  10362.       fi
  10363.       ;;
  10364.     esac
  10365.     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  10366.     # soname into executable. Probably we can add versioning support to
  10367.     # collect2, so additional links can be useful in future.
  10368.     if test "$aix_use_runtimelinking" = yes; then
  10369.       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  10370.       # instead of lib<name>.a to let people know that these are not
  10371.       # typical AIX shared libraries.
  10372.       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10373.     else
  10374.       # We preserve .a as extension for shared libraries through AIX4.2
  10375.       # and later when we are not doing run time linking.
  10376.       library_names_spec='${libname}${release}.a $libname.a'
  10377.       soname_spec='${libname}${release}${shared_ext}$major'
  10378.     fi
  10379.     shlibpath_var=LIBPATH
  10380.   fi
  10381.   ;;
  10382.  
  10383. amigaos*)
  10384.   case $host_cpu in
  10385.   powerpc)
  10386.     # Since July 2007 AmigaOS4 officially supports .so libraries.
  10387.     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  10388.     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10389.     ;;
  10390.   m68k)
  10391.     library_names_spec='$libname.ixlibrary $libname.a'
  10392.     # Create ${libname}_ixlibrary.a entries in /sys/libs.
  10393.     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  10394.    ;;
  10395.  esac
  10396.  ;;
  10397.  
  10398. beos*)
  10399.  library_names_spec='${libname}${shared_ext}'
  10400.  dynamic_linker="$host_os ld.so"
  10401.  shlibpath_var=LIBRARY_PATH
  10402.  ;;
  10403.  
  10404. bsdi[45]*)
  10405.  version_type=linux # correct to gnu/linux during the next big refactor
  10406.  need_version=no
  10407.  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10408.  soname_spec='${libname}${release}${shared_ext}$major'
  10409.  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  10410.  shlibpath_var=LD_LIBRARY_PATH
  10411.  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  10412.  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  10413.  # the default ld.so.conf also contains /usr/contrib/lib and
  10414.  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  10415.  # libtool to hard-code these into programs
  10416.  ;;
  10417.  
  10418. cygwin* | mingw* | pw32* | cegcc*)
  10419.  version_type=windows
  10420.  shrext_cmds=".dll"
  10421.  need_version=no
  10422.  need_lib_prefix=no
  10423.  
  10424.  case $GCC,$cc_basename in
  10425.  yes,*)
  10426.    # gcc
  10427.    library_names_spec='$libname.dll.a'
  10428.    # DLL is installed to $(libdir)/../bin by postinstall_cmds
  10429.    postinstall_cmds='base_file=`basename \${file}`~
  10430.       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  10431.       dldir=$destdir/`dirname \$dlpath`~
  10432.       test -d \$dldir || mkdir -p \$dldir~
  10433.       $install_prog $dir/$dlname \$dldir/$dlname~
  10434.       chmod a+x \$dldir/$dlname~
  10435.       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  10436.         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  10437.       fi'
  10438.    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  10439.       dlpath=$dir/\$dldll~
  10440.        $RM \$dlpath'
  10441.    shlibpath_overrides_runpath=yes
  10442.  
  10443.    case $host_os in
  10444.    cygwin*)
  10445.      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  10446.      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10447.  
  10448.      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  10449.      ;;
  10450.    mingw* | cegcc*)
  10451.      # MinGW DLLs use traditional 'lib' prefix
  10452.      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10453.      ;;
  10454.    pw32*)
  10455.      # pw32 DLLs use 'pw' prefix rather than 'lib'
  10456.      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10457.      ;;
  10458.    esac
  10459.    dynamic_linker='Win32 ld.exe'
  10460.    ;;
  10461.  
  10462.  *,cl*)
  10463.    # Native MSVC
  10464.    libname_spec='$name'
  10465.    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10466.    library_names_spec='${libname}.dll.lib'
  10467.  
  10468.    case $build_os in
  10469.    mingw*)
  10470.      sys_lib_search_path_spec=
  10471.      lt_save_ifs=$IFS
  10472.      IFS=';'
  10473.      for lt_path in $LIB
  10474.      do
  10475.        IFS=$lt_save_ifs
  10476.        # Let DOS variable expansion print the short 8.3 style file name.
  10477.        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  10478.        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  10479.      done
  10480.      IFS=$lt_save_ifs
  10481.      # Convert to MSYS style.
  10482.      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  10483.      ;;
  10484.    cygwin*)
  10485.      # Convert to unix form, then to dos form, then back to unix form
  10486.      # but this time dos style (no spaces!) so that the unix form looks
  10487.      # like /cygdrive/c/PROGRA~1:/cygdr...
  10488.      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  10489.      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  10490.      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  10491.      ;;
  10492.    *)
  10493.      sys_lib_search_path_spec="$LIB"
  10494.      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  10495.        # It is most probably a Windows format PATH.
  10496.        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  10497.      else
  10498.        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  10499.      fi
  10500.      # FIXME: find the short name or the path components, as spaces are
  10501.      # common. (e.g. "Program Files" -> "PROGRA~1")
  10502.      ;;
  10503.    esac
  10504.  
  10505.    # DLL is installed to $(libdir)/../bin by postinstall_cmds
  10506.    postinstall_cmds='base_file=`basename \${file}`~
  10507.       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  10508.       dldir=$destdir/`dirname \$dlpath`~
  10509.       test -d \$dldir || mkdir -p \$dldir~
  10510.       $install_prog $dir/$dlname \$dldir/$dlname'
  10511.    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  10512.       dlpath=$dir/\$dldll~
  10513.        $RM \$dlpath'
  10514.    shlibpath_overrides_runpath=yes
  10515.    dynamic_linker='Win32 link.exe'
  10516.    ;;
  10517.  
  10518.  *)
  10519.    # Assume MSVC wrapper
  10520.    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  10521.    dynamic_linker='Win32 ld.exe'
  10522.    ;;
  10523.  esac
  10524.  # FIXME: first we should search . and the directory the executable is in
  10525.  shlibpath_var=PATH
  10526.  ;;
  10527.  
  10528. darwin* | rhapsody*)
  10529.  dynamic_linker="$host_os dyld"
  10530.  version_type=darwin
  10531.  need_lib_prefix=no
  10532.  need_version=no
  10533.  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  10534.  soname_spec='${libname}${release}${major}$shared_ext'
  10535.  shlibpath_overrides_runpath=yes
  10536.  shlibpath_var=DYLD_LIBRARY_PATH
  10537.  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  10538.  
  10539.  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  10540.  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  10541.  ;;
  10542.  
  10543. dgux*)
  10544.  version_type=linux # correct to gnu/linux during the next big refactor
  10545.  need_lib_prefix=no
  10546.  need_version=no
  10547.  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  10548.  soname_spec='${libname}${release}${shared_ext}$major'
  10549.  shlibpath_var=LD_LIBRARY_PATH
  10550.  ;;
  10551.  
  10552. freebsd* | dragonfly*)
  10553.  # DragonFly does not have aout.  When/if they implement a new
  10554.  # versioning mechanism, adjust this.
  10555.  if test -x /usr/bin/objformat; then
  10556.    objformat=`/usr/bin/objformat`
  10557.  else
  10558.    case $host_os in
  10559.    freebsd[23].*) objformat=aout ;;
  10560.    *) objformat=elf ;;
  10561.    esac
  10562.  fi
  10563.  version_type=freebsd-$objformat
  10564.  case $version_type in
  10565.    freebsd-elf*)
  10566.      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  10567.      need_version=no
  10568.      need_lib_prefix=no
  10569.      ;;
  10570.    freebsd-*)
  10571.      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  10572.      need_version=yes
  10573.      ;;
  10574.  esac
  10575.  shlibpath_var=LD_LIBRARY_PATH
  10576.  case $host_os in
  10577.  freebsd2.*)
  10578.    shlibpath_overrides_runpath=yes
  10579.    ;;
  10580.  freebsd3.[01]* | freebsdelf3.[01]*)
  10581.    shlibpath_overrides_runpath=yes
  10582.    hardcode_into_libs=yes
  10583.    ;;
  10584.  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  10585.  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  10586.    shlibpath_overrides_runpath=no
  10587.    hardcode_into_libs=yes
  10588.    ;;
  10589.  *) # from 4.6 on, and DragonFly
  10590.    shlibpath_overrides_runpath=yes
  10591.    hardcode_into_libs=yes
  10592.    ;;
  10593.  esac
  10594.  ;;
  10595.  
  10596. haiku*)
  10597.  version_type=linux # correct to gnu/linux during the next big refactor
  10598.  need_lib_prefix=no
  10599.  need_version=no
  10600.  dynamic_linker="$host_os runtime_loader"
  10601.  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  10602.  soname_spec='${libname}${release}${shared_ext}$major'
  10603.  shlibpath_var=LIBRARY_PATH
  10604.  shlibpath_overrides_runpath=yes
  10605.  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  10606.  hardcode_into_libs=yes
  10607.  ;;
  10608.  
  10609. hpux9* | hpux10* | hpux11*)
  10610.  # Give a soname corresponding to the major version so that dld.sl refuses to
  10611.  # link against other versions.
  10612.  version_type=sunos
  10613.  need_lib_prefix=no
  10614.  need_version=no
  10615.  case $host_cpu in
  10616.  ia64*)
  10617.    shrext_cmds='.so'
  10618.    hardcode_into_libs=yes
  10619.    dynamic_linker="$host_os dld.so"
  10620.    shlibpath_var=LD_LIBRARY_PATH
  10621.    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10622.    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10623.    soname_spec='${libname}${release}${shared_ext}$major'
  10624.    if test "X$HPUX_IA64_MODE" = X32; then
  10625.      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  10626.    else
  10627.      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  10628.    fi
  10629.    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10630.    ;;
  10631.  hppa*64*)
  10632.    shrext_cmds='.sl'
  10633.    hardcode_into_libs=yes
  10634.    dynamic_linker="$host_os dld.sl"
  10635.    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  10636.    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10637.    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10638.    soname_spec='${libname}${release}${shared_ext}$major'
  10639.    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  10640.    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10641.    ;;
  10642.  *)
  10643.    shrext_cmds='.sl'
  10644.    dynamic_linker="$host_os dld.sl"
  10645.    shlibpath_var=SHLIB_PATH
  10646.    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  10647.    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10648.    soname_spec='${libname}${release}${shared_ext}$major'
  10649.    ;;
  10650.  esac
  10651.  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  10652.  postinstall_cmds='chmod 555 $lib'
  10653.  # or fails outright, so override atomically:
  10654.  install_override_mode=555
  10655.  ;;
  10656.  
  10657. interix[3-9]*)
  10658.  version_type=linux # correct to gnu/linux during the next big refactor
  10659.  need_lib_prefix=no
  10660.  need_version=no
  10661.  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  10662.  soname_spec='${libname}${release}${shared_ext}$major'
  10663.  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  10664.  shlibpath_var=LD_LIBRARY_PATH
  10665.  shlibpath_overrides_runpath=no
  10666.  hardcode_into_libs=yes
  10667.  ;;
  10668.  
  10669. irix5* | irix6* | nonstopux*)
  10670.  case $host_os in
  10671.    nonstopux*) version_type=nonstopux ;;
  10672.    *)
  10673.     if test "$lt_cv_prog_gnu_ld" = yes; then
  10674.         version_type=linux # correct to gnu/linux during the next big refactor
  10675.     else
  10676.         version_type=irix
  10677.     fi ;;
  10678.  esac
  10679.  need_lib_prefix=no
  10680.  need_version=no
  10681.  soname_spec='${libname}${release}${shared_ext}$major'
  10682.  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  10683.  case $host_os in
  10684.  irix5* | nonstopux*)
  10685.    libsuff= shlibsuff=
  10686.    ;;
  10687.  *)
  10688.    case $LD in # libtool.m4 will add one of these switches to LD
  10689.    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  10690.      libsuff= shlibsuff= libmagic=32-bit;;
  10691.    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  10692.      libsuff=32 shlibsuff=N32 libmagic=N32;;
  10693.    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  10694.      libsuff=64 shlibsuff=64 libmagic=64-bit;;
  10695.    *) libsuff= shlibsuff= libmagic=never-match;;
  10696.    esac
  10697.    ;;
  10698.  esac
  10699.  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  10700.  shlibpath_overrides_runpath=no
  10701.  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  10702.  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  10703.  hardcode_into_libs=yes
  10704.  ;;
  10705.  
  10706. # No shared lib support for Linux oldld, aout, or coff.
  10707. linux*oldld* | linux*aout* | linux*coff*)
  10708.  dynamic_linker=no
  10709.  ;;
  10710.  
  10711. # This must be glibc/ELF.
  10712. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  10713.  version_type=linux # correct to gnu/linux during the next big refactor
  10714.  need_lib_prefix=no
  10715.  need_version=no
  10716.  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10717.  soname_spec='${libname}${release}${shared_ext}$major'
  10718.  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  10719.  shlibpath_var=LD_LIBRARY_PATH
  10720.  shlibpath_overrides_runpath=no
  10721.  
  10722.  # Some binutils ld are patched to set DT_RUNPATH
  10723.  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  10724.  $as_echo_n "(cached) " >&6
  10725. else
  10726.  lt_cv_shlibpath_overrides_runpath=no
  10727.    save_LDFLAGS=$LDFLAGS
  10728.    save_libdir=$libdir
  10729.    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  10730.      LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  10731.    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10732. /* end confdefs.h.  */
  10733.  
  10734. int
  10735. main ()
  10736. {
  10737.  
  10738.  ;
  10739.  return 0;
  10740. }
  10741. _ACEOF
  10742. if ac_fn_c_try_link "$LINENO"; then :
  10743.  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  10744.  lt_cv_shlibpath_overrides_runpath=yes
  10745. fi
  10746. fi
  10747. rm -f core conftest.err conftest.$ac_objext \
  10748.    conftest$ac_exeext conftest.$ac_ext
  10749.    LDFLAGS=$save_LDFLAGS
  10750.    libdir=$save_libdir
  10751.  
  10752. fi
  10753.  
  10754.  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  10755.  
  10756.  # This implies no fast_install, which is unacceptable.
  10757.  # Some rework will be needed to allow for fast_install
  10758.  # before this can be enabled.
  10759.  hardcode_into_libs=yes
  10760.  
  10761.  # Append ld.so.conf contents to the search path
  10762.  if test -f /etc/ld.so.conf; then
  10763.     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' ' '`
  10764.     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  10765.   fi
  10766.  
  10767.   # We used to test for /lib/ld.so.1 and disable shared libraries on
  10768.   # powerpc, because MkLinux only supported shared libraries with the
  10769.   # GNU dynamic linker.  Since this was broken with cross compilers,
  10770.   # most powerpc-linux boxes support dynamic linking these days and
  10771.   # people can always --disable-shared, the test was removed, and we
  10772.   # assume the GNU/Linux dynamic linker is in use.
  10773.   dynamic_linker='GNU/Linux ld.so'
  10774.   ;;
  10775.  
  10776. netbsdelf*-gnu)
  10777.   version_type=linux
  10778.   need_lib_prefix=no
  10779.   need_version=no
  10780.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  10781.   soname_spec='${libname}${release}${shared_ext}$major'
  10782.   shlibpath_var=LD_LIBRARY_PATH
  10783.   shlibpath_overrides_runpath=no
  10784.   hardcode_into_libs=yes
  10785.   dynamic_linker='NetBSD ld.elf_so'
  10786.   ;;
  10787.  
  10788. netbsd*)
  10789.   version_type=sunos
  10790.   need_lib_prefix=no
  10791.   need_version=no
  10792.   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10793.     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10794.     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10795.     dynamic_linker='NetBSD (a.out) ld.so'
  10796.   else
  10797.     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  10798.     soname_spec='${libname}${release}${shared_ext}$major'
  10799.     dynamic_linker='NetBSD ld.elf_so'
  10800.   fi
  10801.   shlibpath_var=LD_LIBRARY_PATH
  10802.   shlibpath_overrides_runpath=yes
  10803.   hardcode_into_libs=yes
  10804.   ;;
  10805.  
  10806. newsos6)
  10807.   version_type=linux # correct to gnu/linux during the next big refactor
  10808.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10809.   shlibpath_var=LD_LIBRARY_PATH
  10810.   shlibpath_overrides_runpath=yes
  10811.   ;;
  10812.  
  10813. *nto* | *qnx*)
  10814.   version_type=qnx
  10815.   need_lib_prefix=no
  10816.   need_version=no
  10817.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10818.   soname_spec='${libname}${release}${shared_ext}$major'
  10819.   shlibpath_var=LD_LIBRARY_PATH
  10820.   shlibpath_overrides_runpath=no
  10821.   hardcode_into_libs=yes
  10822.   dynamic_linker='ldqnx.so'
  10823.   ;;
  10824.  
  10825. openbsd*)
  10826.   version_type=sunos
  10827.   sys_lib_dlsearch_path_spec="/usr/lib"
  10828.   need_lib_prefix=no
  10829.   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  10830.   case $host_os in
  10831.     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
  10832.     *)              need_version=no  ;;
  10833.   esac
  10834.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10835.   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10836.   shlibpath_var=LD_LIBRARY_PATH
  10837.   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  10838.     case $host_os in
  10839.       openbsd2.[89] | openbsd2.[89].*)
  10840.     shlibpath_overrides_runpath=no
  10841.     ;;
  10842.       *)
  10843.     shlibpath_overrides_runpath=yes
  10844.     ;;
  10845.       esac
  10846.   else
  10847.     shlibpath_overrides_runpath=yes
  10848.   fi
  10849.   ;;
  10850.  
  10851. os2*)
  10852.   libname_spec='$name'
  10853.   shrext_cmds=".dll"
  10854.   need_lib_prefix=no
  10855.   library_names_spec='$libname${shared_ext} $libname.a'
  10856.   dynamic_linker='OS/2 ld.exe'
  10857.   shlibpath_var=LIBPATH
  10858.   ;;
  10859.  
  10860. osf3* | osf4* | osf5*)
  10861.   version_type=osf
  10862.   need_lib_prefix=no
  10863.   need_version=no
  10864.   soname_spec='${libname}${release}${shared_ext}$major'
  10865.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10866.   shlibpath_var=LD_LIBRARY_PATH
  10867.   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  10868.   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  10869.   ;;
  10870.  
  10871. rdos*)
  10872.   dynamic_linker=no
  10873.   ;;
  10874.  
  10875. solaris*)
  10876.   version_type=linux # correct to gnu/linux during the next big refactor
  10877.   need_lib_prefix=no
  10878.   need_version=no
  10879.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10880.   soname_spec='${libname}${release}${shared_ext}$major'
  10881.   shlibpath_var=LD_LIBRARY_PATH
  10882.   shlibpath_overrides_runpath=yes
  10883.   hardcode_into_libs=yes
  10884.   # ldd complains unless libraries are executable
  10885.   postinstall_cmds='chmod +x $lib'
  10886.   ;;
  10887.  
  10888. sunos4*)
  10889.   version_type=sunos
  10890.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10891.   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  10892.   shlibpath_var=LD_LIBRARY_PATH
  10893.   shlibpath_overrides_runpath=yes
  10894.   if test "$with_gnu_ld" = yes; then
  10895.     need_lib_prefix=no
  10896.   fi
  10897.   need_version=yes
  10898.   ;;
  10899.  
  10900. sysv4 | sysv4.3*)
  10901.   version_type=linux # correct to gnu/linux during the next big refactor
  10902.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10903.   soname_spec='${libname}${release}${shared_ext}$major'
  10904.   shlibpath_var=LD_LIBRARY_PATH
  10905.   case $host_vendor in
  10906.     sni)
  10907.       shlibpath_overrides_runpath=no
  10908.       need_lib_prefix=no
  10909.       runpath_var=LD_RUN_PATH
  10910.       ;;
  10911.     siemens)
  10912.       need_lib_prefix=no
  10913.       ;;
  10914.     motorola)
  10915.       need_lib_prefix=no
  10916.       need_version=no
  10917.       shlibpath_overrides_runpath=no
  10918.       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  10919.       ;;
  10920.   esac
  10921.   ;;
  10922.  
  10923. sysv4*MP*)
  10924.   if test -d /usr/nec ;then
  10925.     version_type=linux # correct to gnu/linux during the next big refactor
  10926.     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  10927.     soname_spec='$libname${shared_ext}.$major'
  10928.     shlibpath_var=LD_LIBRARY_PATH
  10929.   fi
  10930.   ;;
  10931.  
  10932. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  10933.   version_type=freebsd-elf
  10934.   need_lib_prefix=no
  10935.   need_version=no
  10936.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  10937.   soname_spec='${libname}${release}${shared_ext}$major'
  10938.   shlibpath_var=LD_LIBRARY_PATH
  10939.   shlibpath_overrides_runpath=yes
  10940.   hardcode_into_libs=yes
  10941.   if test "$with_gnu_ld" = yes; then
  10942.     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  10943.   else
  10944.     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  10945.     case $host_os in
  10946.       sco3.2v5*)
  10947.         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  10948.     ;;
  10949.     esac
  10950.   fi
  10951.   sys_lib_dlsearch_path_spec='/usr/lib'
  10952.   ;;
  10953.  
  10954. tpf*)
  10955.   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
  10956.   version_type=linux # correct to gnu/linux during the next big refactor
  10957.   need_lib_prefix=no
  10958.   need_version=no
  10959.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10960.   shlibpath_var=LD_LIBRARY_PATH
  10961.   shlibpath_overrides_runpath=no
  10962.   hardcode_into_libs=yes
  10963.   ;;
  10964.  
  10965. uts4*)
  10966.   version_type=linux # correct to gnu/linux during the next big refactor
  10967.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10968.   soname_spec='${libname}${release}${shared_ext}$major'
  10969.   shlibpath_var=LD_LIBRARY_PATH
  10970.   ;;
  10971.  
  10972. *)
  10973.   dynamic_linker=no
  10974.   ;;
  10975. esac
  10976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  10977. $as_echo "$dynamic_linker" >&6; }
  10978. test "$dynamic_linker" = no && can_build_shared=no
  10979.  
  10980. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  10981. if test "$GCC" = yes; then
  10982.   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  10983. fi
  10984.  
  10985. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  10986.   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  10987. fi
  10988. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  10989.   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  10990. fi
  10991.  
  10992.  
  10993.  
  10994.  
  10995.  
  10996.  
  10997.  
  10998.  
  10999.  
  11000.  
  11001.  
  11002.  
  11003.  
  11004.  
  11005.  
  11006.  
  11007.  
  11008.  
  11009.  
  11010.  
  11011.  
  11012.  
  11013.  
  11014.  
  11015.  
  11016.  
  11017.  
  11018.  
  11019.  
  11020.  
  11021.  
  11022.  
  11023.  
  11024.  
  11025.  
  11026.  
  11027.  
  11028.  
  11029.  
  11030.  
  11031.  
  11032.  
  11033.  
  11034.  
  11035.  
  11036.  
  11037.  
  11038.  
  11039.  
  11040.  
  11041.  
  11042.  
  11043.  
  11044.  
  11045.  
  11046.  
  11047.  
  11048.  
  11049.  
  11050.  
  11051.  
  11052.  
  11053.  
  11054.  
  11055.  
  11056.  
  11057.  
  11058.  
  11059.  
  11060.  
  11061.  
  11062.  
  11063.  
  11064.  
  11065.  
  11066.  
  11067.  
  11068.  
  11069.  
  11070.  
  11071.  
  11072.  
  11073.  
  11074.  
  11075.  
  11076.  
  11077.  
  11078.  
  11079.  
  11080.  
  11081.  
  11082.  
  11083.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  11084. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  11085. hardcode_action=
  11086. if test -n "$hardcode_libdir_flag_spec" ||
  11087.    test -n "$runpath_var" ||
  11088.    test "X$hardcode_automatic" = "Xyes" ; then
  11089.  
  11090.   # We can hardcode non-existent directories.
  11091.   if test "$hardcode_direct" != no &&
  11092.      # If the only mechanism to avoid hardcoding is shlibpath_var, we
  11093.      # have to relink, otherwise we might link with an installed library
  11094.      # when we should be linking with a yet-to-be-installed one
  11095.      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  11096.      test "$hardcode_minus_L" != no; then
  11097.     # Linking always hardcodes the temporary library directory.
  11098.     hardcode_action=relink
  11099.   else
  11100.     # We can link without hardcoding, and we can hardcode nonexisting dirs.
  11101.     hardcode_action=immediate
  11102.   fi
  11103. else
  11104.   # We cannot hardcode anything, or else we can only hardcode existing
  11105.   # directories.
  11106.   hardcode_action=unsupported
  11107. fi
  11108. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  11109. $as_echo "$hardcode_action" >&6; }
  11110.  
  11111. if test "$hardcode_action" = relink ||
  11112.    test "$inherit_rpath" = yes; then
  11113.   # Fast installation is not supported
  11114.   enable_fast_install=no
  11115. elif test "$shlibpath_overrides_runpath" = yes ||
  11116.      test "$enable_shared" = no; then
  11117.   # Fast installation is not necessary
  11118.   enable_fast_install=needless
  11119. fi
  11120.  
  11121.  
  11122.  
  11123.  
  11124.  
  11125.  
  11126.   if test "x$enable_dlopen" != xyes; then
  11127.   enable_dlopen=unknown
  11128.   enable_dlopen_self=unknown
  11129.   enable_dlopen_self_static=unknown
  11130. else
  11131.   lt_cv_dlopen=no
  11132.   lt_cv_dlopen_libs=
  11133.  
  11134.   case $host_os in
  11135.   beos*)
  11136.     lt_cv_dlopen="load_add_on"
  11137.     lt_cv_dlopen_libs=
  11138.     lt_cv_dlopen_self=yes
  11139.     ;;
  11140.  
  11141.   mingw* | pw32* | cegcc*)
  11142.     lt_cv_dlopen="LoadLibrary"
  11143.     lt_cv_dlopen_libs=
  11144.     ;;
  11145.  
  11146.   cygwin*)
  11147.     lt_cv_dlopen="dlopen"
  11148.     lt_cv_dlopen_libs=
  11149.     ;;
  11150.  
  11151.   darwin*)
  11152.   # if libdl is installed we need to link against it
  11153.     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  11154. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  11155. if ${ac_cv_lib_dl_dlopen+:} false; then :
  11156.   $as_echo_n "(cached) " >&6
  11157. else
  11158.   ac_check_lib_save_LIBS=$LIBS
  11159. LIBS="-ldl  $LIBS"
  11160. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11161. /* end confdefs.h.  */
  11162.  
  11163. /* Override any GCC internal prototype to avoid an error.
  11164.    Use char because int might match the return type of a GCC
  11165.    builtin and then its argument prototype would still apply.  */
  11166. #ifdef __cplusplus
  11167. extern "C"
  11168. #endif
  11169. char dlopen ();
  11170. int
  11171. main ()
  11172. {
  11173. return dlopen ();
  11174.   ;
  11175.   return 0;
  11176. }
  11177. _ACEOF
  11178. if ac_fn_c_try_link "$LINENO"; then :
  11179.   ac_cv_lib_dl_dlopen=yes
  11180. else
  11181.   ac_cv_lib_dl_dlopen=no
  11182. fi
  11183. rm -f core conftest.err conftest.$ac_objext \
  11184.     conftest$ac_exeext conftest.$ac_ext
  11185. LIBS=$ac_check_lib_save_LIBS
  11186. fi
  11187. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  11188. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  11189. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  11190.   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  11191. else
  11192.  
  11193.     lt_cv_dlopen="dyld"
  11194.     lt_cv_dlopen_libs=
  11195.     lt_cv_dlopen_self=yes
  11196.  
  11197. fi
  11198.  
  11199.     ;;
  11200.  
  11201.   *)
  11202.     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  11203. if test "x$ac_cv_func_shl_load" = xyes; then :
  11204.   lt_cv_dlopen="shl_load"
  11205. else
  11206.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  11207. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  11208. if ${ac_cv_lib_dld_shl_load+:} false; then :
  11209.   $as_echo_n "(cached) " >&6
  11210. else
  11211.   ac_check_lib_save_LIBS=$LIBS
  11212. LIBS="-ldld  $LIBS"
  11213. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11214. /* end confdefs.h.  */
  11215.  
  11216. /* Override any GCC internal prototype to avoid an error.
  11217.    Use char because int might match the return type of a GCC
  11218.    builtin and then its argument prototype would still apply.  */
  11219. #ifdef __cplusplus
  11220. extern "C"
  11221. #endif
  11222. char shl_load ();
  11223. int
  11224. main ()
  11225. {
  11226. return shl_load ();
  11227.   ;
  11228.   return 0;
  11229. }
  11230. _ACEOF
  11231. if ac_fn_c_try_link "$LINENO"; then :
  11232.   ac_cv_lib_dld_shl_load=yes
  11233. else
  11234.   ac_cv_lib_dld_shl_load=no
  11235. fi
  11236. rm -f core conftest.err conftest.$ac_objext \
  11237.     conftest$ac_exeext conftest.$ac_ext
  11238. LIBS=$ac_check_lib_save_LIBS
  11239. fi
  11240. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  11241. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  11242. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  11243.   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  11244. else
  11245.   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  11246. if test "x$ac_cv_func_dlopen" = xyes; then :
  11247.   lt_cv_dlopen="dlopen"
  11248. else
  11249.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  11250. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  11251. if ${ac_cv_lib_dl_dlopen+:} false; then :
  11252.   $as_echo_n "(cached) " >&6
  11253. else
  11254.   ac_check_lib_save_LIBS=$LIBS
  11255. LIBS="-ldl  $LIBS"
  11256. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11257. /* end confdefs.h.  */
  11258.  
  11259. /* Override any GCC internal prototype to avoid an error.
  11260.    Use char because int might match the return type of a GCC
  11261.    builtin and then its argument prototype would still apply.  */
  11262. #ifdef __cplusplus
  11263. extern "C"
  11264. #endif
  11265. char dlopen ();
  11266. int
  11267. main ()
  11268. {
  11269. return dlopen ();
  11270.   ;
  11271.   return 0;
  11272. }
  11273. _ACEOF
  11274. if ac_fn_c_try_link "$LINENO"; then :
  11275.   ac_cv_lib_dl_dlopen=yes
  11276. else
  11277.   ac_cv_lib_dl_dlopen=no
  11278. fi
  11279. rm -f core conftest.err conftest.$ac_objext \
  11280.     conftest$ac_exeext conftest.$ac_ext
  11281. LIBS=$ac_check_lib_save_LIBS
  11282. fi
  11283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  11284. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  11285. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  11286.   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  11287. else
  11288.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  11289. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  11290. if ${ac_cv_lib_svld_dlopen+:} false; then :
  11291.   $as_echo_n "(cached) " >&6
  11292. else
  11293.   ac_check_lib_save_LIBS=$LIBS
  11294. LIBS="-lsvld  $LIBS"
  11295. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11296. /* end confdefs.h.  */
  11297.  
  11298. /* Override any GCC internal prototype to avoid an error.
  11299.    Use char because int might match the return type of a GCC
  11300.    builtin and then its argument prototype would still apply.  */
  11301. #ifdef __cplusplus
  11302. extern "C"
  11303. #endif
  11304. char dlopen ();
  11305. int
  11306. main ()
  11307. {
  11308. return dlopen ();
  11309.   ;
  11310.   return 0;
  11311. }
  11312. _ACEOF
  11313. if ac_fn_c_try_link "$LINENO"; then :
  11314.   ac_cv_lib_svld_dlopen=yes
  11315. else
  11316.   ac_cv_lib_svld_dlopen=no
  11317. fi
  11318. rm -f core conftest.err conftest.$ac_objext \
  11319.     conftest$ac_exeext conftest.$ac_ext
  11320. LIBS=$ac_check_lib_save_LIBS
  11321. fi
  11322. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  11323. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  11324. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  11325.   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  11326. else
  11327.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  11328. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  11329. if ${ac_cv_lib_dld_dld_link+:} false; then :
  11330.   $as_echo_n "(cached) " >&6
  11331. else
  11332.   ac_check_lib_save_LIBS=$LIBS
  11333. LIBS="-ldld  $LIBS"
  11334. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11335. /* end confdefs.h.  */
  11336.  
  11337. /* Override any GCC internal prototype to avoid an error.
  11338.    Use char because int might match the return type of a GCC
  11339.    builtin and then its argument prototype would still apply.  */
  11340. #ifdef __cplusplus
  11341. extern "C"
  11342. #endif
  11343. char dld_link ();
  11344. int
  11345. main ()
  11346. {
  11347. return dld_link ();
  11348.   ;
  11349.   return 0;
  11350. }
  11351. _ACEOF
  11352. if ac_fn_c_try_link "$LINENO"; then :
  11353.   ac_cv_lib_dld_dld_link=yes
  11354. else
  11355.   ac_cv_lib_dld_dld_link=no
  11356. fi
  11357. rm -f core conftest.err conftest.$ac_objext \
  11358.     conftest$ac_exeext conftest.$ac_ext
  11359. LIBS=$ac_check_lib_save_LIBS
  11360. fi
  11361. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  11362. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  11363. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  11364.   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  11365. fi
  11366.  
  11367.  
  11368. fi
  11369.  
  11370.  
  11371. fi
  11372.  
  11373.  
  11374. fi
  11375.  
  11376.  
  11377. fi
  11378.  
  11379.  
  11380. fi
  11381.  
  11382.     ;;
  11383.   esac
  11384.  
  11385.   if test "x$lt_cv_dlopen" != xno; then
  11386.     enable_dlopen=yes
  11387.   else
  11388.     enable_dlopen=no
  11389.   fi
  11390.  
  11391.   case $lt_cv_dlopen in
  11392.   dlopen)
  11393.     save_CPPFLAGS="$CPPFLAGS"
  11394.     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  11395.  
  11396.     save_LDFLAGS="$LDFLAGS"
  11397.     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  11398.  
  11399.    save_LIBS="$LIBS"
  11400.    LIBS="$lt_cv_dlopen_libs $LIBS"
  11401.  
  11402.    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  11403. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  11404. if ${lt_cv_dlopen_self+:} false; then :
  11405.  $as_echo_n "(cached) " >&6
  11406. else
  11407.       if test "$cross_compiling" = yes; then :
  11408.  lt_cv_dlopen_self=cross
  11409. else
  11410.  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  11411.  lt_status=$lt_dlunknown
  11412.  cat > conftest.$ac_ext <<_LT_EOF
  11413. #line $LINENO "configure"
  11414. #include "confdefs.h"
  11415.  
  11416. #if HAVE_DLFCN_H
  11417. #include <dlfcn.h>
  11418. #endif
  11419.  
  11420. #include <stdio.h>
  11421.  
  11422. #ifdef RTLD_GLOBAL
  11423. #  define LT_DLGLOBAL       RTLD_GLOBAL
  11424. #else
  11425. #  ifdef DL_GLOBAL
  11426. #    define LT_DLGLOBAL     DL_GLOBAL
  11427. #  else
  11428. #    define LT_DLGLOBAL     0
  11429. #  endif
  11430. #endif
  11431.  
  11432. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  11433.   find out it does not work in some platform. */
  11434. #ifndef LT_DLLAZY_OR_NOW
  11435. #  ifdef RTLD_LAZY
  11436. #    define LT_DLLAZY_OR_NOW        RTLD_LAZY
  11437. #  else
  11438. #    ifdef DL_LAZY
  11439. #      define LT_DLLAZY_OR_NOW      DL_LAZY
  11440. #    else
  11441. #      ifdef RTLD_NOW
  11442. #        define LT_DLLAZY_OR_NOW    RTLD_NOW
  11443. #      else
  11444. #        ifdef DL_NOW
  11445. #          define LT_DLLAZY_OR_NOW  DL_NOW
  11446. #        else
  11447. #          define LT_DLLAZY_OR_NOW  0
  11448. #        endif
  11449. #      endif
  11450. #    endif
  11451. #  endif
  11452. #endif
  11453.  
  11454. /* When -fvisbility=hidden is used, assume the code has been annotated
  11455.   correspondingly for the symbols needed.  */
  11456. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  11457. int fnord () __attribute__((visibility("default")));
  11458. #endif
  11459.  
  11460. int fnord () { return 42; }
  11461. int main ()
  11462. {
  11463.  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  11464.  int status = $lt_dlunknown;
  11465.  
  11466.  if (self)
  11467.    {
  11468.      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  11469.      else
  11470.        {
  11471.       if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
  11472.          else puts (dlerror ());
  11473.     }
  11474.      /* dlclose (self); */
  11475.    }
  11476.  else
  11477.    puts (dlerror ());
  11478.  
  11479.  return status;
  11480. }
  11481. _LT_EOF
  11482.  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  11483.   (eval $ac_link) 2>&5
  11484.   ac_status=$?
  11485.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11486.   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  11487.     (./conftest; exit; ) >&5 2>/dev/null
  11488.     lt_status=$?
  11489.     case x$lt_status in
  11490.       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  11491.       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  11492.       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  11493.     esac
  11494.   else :
  11495.     # compilation failed
  11496.     lt_cv_dlopen_self=no
  11497.   fi
  11498. fi
  11499. rm -fr conftest*
  11500.  
  11501.  
  11502. fi
  11503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  11504. $as_echo "$lt_cv_dlopen_self" >&6; }
  11505.  
  11506.     if test "x$lt_cv_dlopen_self" = xyes; then
  11507.       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  11508.      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  11509. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  11510. if ${lt_cv_dlopen_self_static+:} false; then :
  11511.  $as_echo_n "(cached) " >&6
  11512. else
  11513.       if test "$cross_compiling" = yes; then :
  11514.  lt_cv_dlopen_self_static=cross
  11515. else
  11516.  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  11517.  lt_status=$lt_dlunknown
  11518.  cat > conftest.$ac_ext <<_LT_EOF
  11519. #line $LINENO "configure"
  11520. #include "confdefs.h"
  11521.  
  11522. #if HAVE_DLFCN_H
  11523. #include <dlfcn.h>
  11524. #endif
  11525.  
  11526. #include <stdio.h>
  11527.  
  11528. #ifdef RTLD_GLOBAL
  11529. #  define LT_DLGLOBAL       RTLD_GLOBAL
  11530. #else
  11531. #  ifdef DL_GLOBAL
  11532. #    define LT_DLGLOBAL     DL_GLOBAL
  11533. #  else
  11534. #    define LT_DLGLOBAL     0
  11535. #  endif
  11536. #endif
  11537.  
  11538. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  11539.   find out it does not work in some platform. */
  11540. #ifndef LT_DLLAZY_OR_NOW
  11541. #  ifdef RTLD_LAZY
  11542. #    define LT_DLLAZY_OR_NOW        RTLD_LAZY
  11543. #  else
  11544. #    ifdef DL_LAZY
  11545. #      define LT_DLLAZY_OR_NOW      DL_LAZY
  11546. #    else
  11547. #      ifdef RTLD_NOW
  11548. #        define LT_DLLAZY_OR_NOW    RTLD_NOW
  11549. #      else
  11550. #        ifdef DL_NOW
  11551. #          define LT_DLLAZY_OR_NOW  DL_NOW
  11552. #        else
  11553. #          define LT_DLLAZY_OR_NOW  0
  11554. #        endif
  11555. #      endif
  11556. #    endif
  11557. #  endif
  11558. #endif
  11559.  
  11560. /* When -fvisbility=hidden is used, assume the code has been annotated
  11561.   correspondingly for the symbols needed.  */
  11562. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  11563. int fnord () __attribute__((visibility("default")));
  11564. #endif
  11565.  
  11566. int fnord () { return 42; }
  11567. int main ()
  11568. {
  11569.  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  11570.  int status = $lt_dlunknown;
  11571.  
  11572.  if (self)
  11573.    {
  11574.      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  11575.      else
  11576.        {
  11577.       if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
  11578.          else puts (dlerror ());
  11579.     }
  11580.      /* dlclose (self); */
  11581.    }
  11582.  else
  11583.    puts (dlerror ());
  11584.  
  11585.  return status;
  11586. }
  11587. _LT_EOF
  11588.  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  11589.   (eval $ac_link) 2>&5
  11590.   ac_status=$?
  11591.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11592.   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  11593.     (./conftest; exit; ) >&5 2>/dev/null
  11594.     lt_status=$?
  11595.     case x$lt_status in
  11596.       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  11597.       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  11598.       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  11599.     esac
  11600.   else :
  11601.     # compilation failed
  11602.     lt_cv_dlopen_self_static=no
  11603.   fi
  11604. fi
  11605. rm -fr conftest*
  11606.  
  11607.  
  11608. fi
  11609. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  11610. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  11611.     fi
  11612.  
  11613.     CPPFLAGS="$save_CPPFLAGS"
  11614.     LDFLAGS="$save_LDFLAGS"
  11615.     LIBS="$save_LIBS"
  11616.     ;;
  11617.   esac
  11618.  
  11619.   case $lt_cv_dlopen_self in
  11620.   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  11621.   *) enable_dlopen_self=unknown ;;
  11622.   esac
  11623.  
  11624.   case $lt_cv_dlopen_self_static in
  11625.   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  11626.   *) enable_dlopen_self_static=unknown ;;
  11627.   esac
  11628. fi
  11629.  
  11630.  
  11631.  
  11632.  
  11633.  
  11634.  
  11635.  
  11636.  
  11637.  
  11638.  
  11639.  
  11640.  
  11641.  
  11642.  
  11643.  
  11644.  
  11645.  
  11646. striplib=
  11647. old_striplib=
  11648. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  11649. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  11650. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  11651.   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  11652.   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  11653.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11654. $as_echo "yes" >&6; }
  11655. else
  11656. # FIXME - insert some real tests, host_os isn't really good enough
  11657.   case $host_os in
  11658.   darwin*)
  11659.     if test -n "$STRIP" ; then
  11660.       striplib="$STRIP -x"
  11661.       old_striplib="$STRIP -S"
  11662.       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11663. $as_echo "yes" >&6; }
  11664.     else
  11665.       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11666. $as_echo "no" >&6; }
  11667.     fi
  11668.     ;;
  11669.   *)
  11670.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11671. $as_echo "no" >&6; }
  11672.     ;;
  11673.   esac
  11674. fi
  11675.  
  11676.  
  11677.  
  11678.  
  11679.  
  11680.  
  11681.  
  11682.  
  11683.  
  11684.  
  11685.  
  11686.  
  11687.   # Report which library types will actually be built
  11688.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  11689. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  11690.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  11691. $as_echo "$can_build_shared" >&6; }
  11692.  
  11693.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  11694. $as_echo_n "checking whether to build shared libraries... " >&6; }
  11695.   test "$can_build_shared" = "no" && enable_shared=no
  11696.  
  11697.   # On AIX, shared libraries and static libraries use the same namespace, and
  11698.   # are all built from PIC.
  11699.   case $host_os in
  11700.   aix3*)
  11701.     test "$enable_shared" = yes && enable_static=no
  11702.     if test -n "$RANLIB"; then
  11703.       archive_cmds="$archive_cmds~\$RANLIB \$lib"
  11704.       postinstall_cmds='$RANLIB $lib'
  11705.     fi
  11706.     ;;
  11707.  
  11708.   aix[4-9]*)
  11709.     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  11710.       test "$enable_shared" = yes && enable_static=no
  11711.     fi
  11712.     ;;
  11713.   esac
  11714.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  11715. $as_echo "$enable_shared" >&6; }
  11716.  
  11717.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  11718. $as_echo_n "checking whether to build static libraries... " >&6; }
  11719.   # Make sure either enable_shared or enable_static is yes.
  11720.   test "$enable_shared" = yes || enable_static=yes
  11721.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  11722. $as_echo "$enable_static" >&6; }
  11723.  
  11724.  
  11725.  
  11726.  
  11727. fi
  11728. ac_ext=c
  11729. ac_cpp='$CPP $CPPFLAGS'
  11730. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11731. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11732. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11733.  
  11734. CC="$lt_save_CC"
  11735.  
  11736.  
  11737.  
  11738.  
  11739.  
  11740.  
  11741.  
  11742.  
  11743.  
  11744.  
  11745.  
  11746.  
  11747.  
  11748.  
  11749.  
  11750.         ac_config_commands="$ac_config_commands libtool"
  11751.  
  11752.  
  11753.  
  11754.  
  11755. # Only expand once:
  11756.  
  11757.  
  11758.  
  11759.  
  11760. # Check whether --with-libwardenc was given.
  11761. if test "${with_libwardenc+set}" = set; then :
  11762.   withval=$with_libwardenc;
  11763. fi
  11764.  
  11765.  if test "x$with_libwardenc" != "xno"; then
  11766.   WITH_LIBWARDENC_TRUE=
  11767.   WITH_LIBWARDENC_FALSE='#'
  11768. else
  11769.   WITH_LIBWARDENC_TRUE='#'
  11770.   WITH_LIBWARDENC_FALSE=
  11771. fi
  11772.  
  11773. if test "x$with_libwardenc" != "xno"; then
  11774.     LADD_LIBWARDENC="\$(top_srcdir)/lib/libwardenc/src/libwardenc.la"
  11775.     LINK_WARDENC="yes"
  11776.  
  11777. $as_echo "#define USE_LIBWARDENC 1" >>confdefs.h
  11778.  
  11779. else
  11780.     LINK_WARDENC="no"
  11781. fi
  11782.  
  11783.  
  11784.  
  11785. { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
  11786. $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
  11787. if ${libltdl_cv_shlibext+:} false; then :
  11788.   $as_echo_n "(cached) " >&6
  11789. else
  11790.  
  11791. module=yes
  11792. eval libltdl_cv_shlibext=$shrext_cmds
  11793. module=no
  11794. eval libltdl_cv_shrext=$shrext_cmds
  11795.  
  11796. fi
  11797. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
  11798. $as_echo "$libltdl_cv_shlibext" >&6; }
  11799. if test -n "$libltdl_cv_shlibext"; then
  11800.  
  11801. cat >>confdefs.h <<_ACEOF
  11802. #define LT_MODULE_EXT "$libltdl_cv_shlibext"
  11803. _ACEOF
  11804.  
  11805. fi
  11806. if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
  11807.  
  11808. cat >>confdefs.h <<_ACEOF
  11809. #define LT_SHARED_EXT "$libltdl_cv_shrext"
  11810. _ACEOF
  11811.  
  11812. fi
  11813.  
  11814.  
  11815. # Checks for programs.
  11816. ac_ext=c
  11817. ac_cpp='$CPP $CPPFLAGS'
  11818. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11819. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11820. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11821. if test -n "$ac_tool_prefix"; then
  11822.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  11823. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  11824. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11825. $as_echo_n "checking for $ac_word... " >&6; }
  11826. if ${ac_cv_prog_CC+:} false; then :
  11827.   $as_echo_n "(cached) " >&6
  11828. else
  11829.   if test -n "$CC"; then
  11830.   ac_cv_prog_CC="$CC" # Let the user override the test.
  11831. else
  11832. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11833. for as_dir in $PATH
  11834. do
  11835.   IFS=$as_save_IFS
  11836.   test -z "$as_dir" && as_dir=.
  11837.     for ac_exec_ext in '' $ac_executable_extensions; do
  11838.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11839.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  11840.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11841.     break 2
  11842.   fi
  11843. done
  11844.   done
  11845. IFS=$as_save_IFS
  11846.  
  11847. fi
  11848. fi
  11849. CC=$ac_cv_prog_CC
  11850. if test -n "$CC"; then
  11851.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  11852. $as_echo "$CC" >&6; }
  11853. else
  11854.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11855. $as_echo "no" >&6; }
  11856. fi
  11857.  
  11858.  
  11859. fi
  11860. if test -z "$ac_cv_prog_CC"; then
  11861.   ac_ct_CC=$CC
  11862.   # Extract the first word of "gcc", so it can be a program name with args.
  11863. set dummy gcc; ac_word=$2
  11864. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11865. $as_echo_n "checking for $ac_word... " >&6; }
  11866. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  11867.   $as_echo_n "(cached) " >&6
  11868. else
  11869.   if test -n "$ac_ct_CC"; then
  11870.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  11871. else
  11872. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11873. for as_dir in $PATH
  11874. do
  11875.   IFS=$as_save_IFS
  11876.   test -z "$as_dir" && as_dir=.
  11877.     for ac_exec_ext in '' $ac_executable_extensions; do
  11878.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11879.     ac_cv_prog_ac_ct_CC="gcc"
  11880.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11881.     break 2
  11882.   fi
  11883. done
  11884.   done
  11885. IFS=$as_save_IFS
  11886.  
  11887. fi
  11888. fi
  11889. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  11890. if test -n "$ac_ct_CC"; then
  11891.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  11892. $as_echo "$ac_ct_CC" >&6; }
  11893. else
  11894.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11895. $as_echo "no" >&6; }
  11896. fi
  11897.  
  11898.   if test "x$ac_ct_CC" = x; then
  11899.     CC=""
  11900.   else
  11901.     case $cross_compiling:$ac_tool_warned in
  11902. yes:)
  11903. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11904. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11905. ac_tool_warned=yes ;;
  11906. esac
  11907.     CC=$ac_ct_CC
  11908.   fi
  11909. else
  11910.   CC="$ac_cv_prog_CC"
  11911. fi
  11912.  
  11913. if test -z "$CC"; then
  11914.           if test -n "$ac_tool_prefix"; then
  11915.     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  11916. set dummy ${ac_tool_prefix}cc; ac_word=$2
  11917. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11918. $as_echo_n "checking for $ac_word... " >&6; }
  11919. if ${ac_cv_prog_CC+:} false; then :
  11920.   $as_echo_n "(cached) " >&6
  11921. else
  11922.   if test -n "$CC"; then
  11923.   ac_cv_prog_CC="$CC" # Let the user override the test.
  11924. else
  11925. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11926. for as_dir in $PATH
  11927. do
  11928.   IFS=$as_save_IFS
  11929.   test -z "$as_dir" && as_dir=.
  11930.     for ac_exec_ext in '' $ac_executable_extensions; do
  11931.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11932.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  11933.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11934.     break 2
  11935.   fi
  11936. done
  11937.   done
  11938. IFS=$as_save_IFS
  11939.  
  11940. fi
  11941. fi
  11942. CC=$ac_cv_prog_CC
  11943. if test -n "$CC"; then
  11944.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  11945. $as_echo "$CC" >&6; }
  11946. else
  11947.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11948. $as_echo "no" >&6; }
  11949. fi
  11950.  
  11951.  
  11952.   fi
  11953. fi
  11954. if test -z "$CC"; then
  11955.   # Extract the first word of "cc", so it can be a program name with args.
  11956. set dummy cc; ac_word=$2
  11957. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11958. $as_echo_n "checking for $ac_word... " >&6; }
  11959. if ${ac_cv_prog_CC+:} false; then :
  11960.   $as_echo_n "(cached) " >&6
  11961. else
  11962.   if test -n "$CC"; then
  11963.   ac_cv_prog_CC="$CC" # Let the user override the test.
  11964. else
  11965.   ac_prog_rejected=no
  11966. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11967. for as_dir in $PATH
  11968. do
  11969.   IFS=$as_save_IFS
  11970.   test -z "$as_dir" && as_dir=.
  11971.     for ac_exec_ext in '' $ac_executable_extensions; do
  11972.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11973.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  11974.        ac_prog_rejected=yes
  11975.        continue
  11976.      fi
  11977.     ac_cv_prog_CC="cc"
  11978.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11979.     break 2
  11980.   fi
  11981. done
  11982.   done
  11983. IFS=$as_save_IFS
  11984.  
  11985. if test $ac_prog_rejected = yes; then
  11986.   # We found a bogon in the path, so make sure we never use it.
  11987.   set dummy $ac_cv_prog_CC
  11988.   shift
  11989.   if test $# != 0; then
  11990.     # We chose a different compiler from the bogus one.
  11991.     # However, it has the same basename, so the bogon will be chosen
  11992.     # first if we set CC to just the basename; use the full file name.
  11993.     shift
  11994.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  11995.   fi
  11996. fi
  11997. fi
  11998. fi
  11999. CC=$ac_cv_prog_CC
  12000. if test -n "$CC"; then
  12001.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12002. $as_echo "$CC" >&6; }
  12003. else
  12004.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12005. $as_echo "no" >&6; }
  12006. fi
  12007.  
  12008.  
  12009. fi
  12010. if test -z "$CC"; then
  12011.   if test -n "$ac_tool_prefix"; then
  12012.   for ac_prog in cl.exe
  12013.   do
  12014.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  12015. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  12016. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12017. $as_echo_n "checking for $ac_word... " >&6; }
  12018. if ${ac_cv_prog_CC+:} false; then :
  12019.   $as_echo_n "(cached) " >&6
  12020. else
  12021.   if test -n "$CC"; then
  12022.   ac_cv_prog_CC="$CC" # Let the user override the test.
  12023. else
  12024. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12025. for as_dir in $PATH
  12026. do
  12027.   IFS=$as_save_IFS
  12028.   test -z "$as_dir" && as_dir=.
  12029.     for ac_exec_ext in '' $ac_executable_extensions; do
  12030.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12031.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  12032.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12033.     break 2
  12034.   fi
  12035. done
  12036.   done
  12037. IFS=$as_save_IFS
  12038.  
  12039. fi
  12040. fi
  12041. CC=$ac_cv_prog_CC
  12042. if test -n "$CC"; then
  12043.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12044. $as_echo "$CC" >&6; }
  12045. else
  12046.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12047. $as_echo "no" >&6; }
  12048. fi
  12049.  
  12050.  
  12051.     test -n "$CC" && break
  12052.   done
  12053. fi
  12054. if test -z "$CC"; then
  12055.   ac_ct_CC=$CC
  12056.   for ac_prog in cl.exe
  12057. do
  12058.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  12059. set dummy $ac_prog; ac_word=$2
  12060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12061. $as_echo_n "checking for $ac_word... " >&6; }
  12062. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  12063.   $as_echo_n "(cached) " >&6
  12064. else
  12065.   if test -n "$ac_ct_CC"; then
  12066.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  12067. else
  12068. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12069. for as_dir in $PATH
  12070. do
  12071.   IFS=$as_save_IFS
  12072.   test -z "$as_dir" && as_dir=.
  12073.     for ac_exec_ext in '' $ac_executable_extensions; do
  12074.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12075.     ac_cv_prog_ac_ct_CC="$ac_prog"
  12076.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12077.     break 2
  12078.   fi
  12079. done
  12080.   done
  12081. IFS=$as_save_IFS
  12082.  
  12083. fi
  12084. fi
  12085. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  12086. if test -n "$ac_ct_CC"; then
  12087.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  12088. $as_echo "$ac_ct_CC" >&6; }
  12089. else
  12090.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12091. $as_echo "no" >&6; }
  12092. fi
  12093.  
  12094.  
  12095.   test -n "$ac_ct_CC" && break
  12096. done
  12097.  
  12098.   if test "x$ac_ct_CC" = x; then
  12099.     CC=""
  12100.   else
  12101.     case $cross_compiling:$ac_tool_warned in
  12102. yes:)
  12103. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12104. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12105. ac_tool_warned=yes ;;
  12106. esac
  12107.     CC=$ac_ct_CC
  12108.   fi
  12109. fi
  12110.  
  12111. fi
  12112.  
  12113.  
  12114. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12115. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12116. as_fn_error $? "no acceptable C compiler found in \$PATH
  12117. See \`config.log' for more details" "$LINENO" 5; }
  12118.  
  12119. # Provide some information about the compiler.
  12120. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  12121. set X $ac_compile
  12122. ac_compiler=$2
  12123. for ac_option in --version -v -V -qversion; do
  12124.   { { ac_try="$ac_compiler $ac_option >&5"
  12125. case "(($ac_try" in
  12126.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12127.  *) ac_try_echo=$ac_try;;
  12128. esac
  12129. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12130. $as_echo "$ac_try_echo"; } >&5
  12131.   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  12132.   ac_status=$?
  12133.   if test -s conftest.err; then
  12134.     sed '10a\
  12135. ... rest of stderr output deleted ...
  12136.         10q' conftest.err >conftest.er1
  12137.     cat conftest.er1 >&5
  12138.   fi
  12139.   rm -f conftest.er1 conftest.err
  12140.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12141.   test $ac_status = 0; }
  12142. done
  12143.  
  12144. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  12145. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  12146. if ${ac_cv_c_compiler_gnu+:} false; then :
  12147.   $as_echo_n "(cached) " >&6
  12148. else
  12149.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12150. /* end confdefs.h.  */
  12151.  
  12152. int
  12153. main ()
  12154. {
  12155. #ifndef __GNUC__
  12156.        choke me
  12157. #endif
  12158.  
  12159.   ;
  12160.   return 0;
  12161. }
  12162. _ACEOF
  12163. if ac_fn_c_try_compile "$LINENO"; then :
  12164.   ac_compiler_gnu=yes
  12165. else
  12166.   ac_compiler_gnu=no
  12167. fi
  12168. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12169. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  12170.  
  12171. fi
  12172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  12173. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  12174. if test $ac_compiler_gnu = yes; then
  12175.   GCC=yes
  12176. else
  12177.   GCC=
  12178. fi
  12179. ac_test_CFLAGS=${CFLAGS+set}
  12180. ac_save_CFLAGS=$CFLAGS
  12181. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  12182. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  12183. if ${ac_cv_prog_cc_g+:} false; then :
  12184.   $as_echo_n "(cached) " >&6
  12185. else
  12186.   ac_save_c_werror_flag=$ac_c_werror_flag
  12187.    ac_c_werror_flag=yes
  12188.    ac_cv_prog_cc_g=no
  12189.    CFLAGS="-g"
  12190.    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12191. /* end confdefs.h.  */
  12192.  
  12193. int
  12194. main ()
  12195. {
  12196.  
  12197.   ;
  12198.   return 0;
  12199. }
  12200. _ACEOF
  12201. if ac_fn_c_try_compile "$LINENO"; then :
  12202.   ac_cv_prog_cc_g=yes
  12203. else
  12204.   CFLAGS=""
  12205.       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12206. /* end confdefs.h.  */
  12207.  
  12208. int
  12209. main ()
  12210. {
  12211.  
  12212.   ;
  12213.   return 0;
  12214. }
  12215. _ACEOF
  12216. if ac_fn_c_try_compile "$LINENO"; then :
  12217.  
  12218. else
  12219.   ac_c_werror_flag=$ac_save_c_werror_flag
  12220.      CFLAGS="-g"
  12221.      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12222. /* end confdefs.h.  */
  12223.  
  12224. int
  12225. main ()
  12226. {
  12227.  
  12228.   ;
  12229.   return 0;
  12230. }
  12231. _ACEOF
  12232. if ac_fn_c_try_compile "$LINENO"; then :
  12233.   ac_cv_prog_cc_g=yes
  12234. fi
  12235. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12236. fi
  12237. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12238. fi
  12239. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12240.    ac_c_werror_flag=$ac_save_c_werror_flag
  12241. fi
  12242. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  12243. $as_echo "$ac_cv_prog_cc_g" >&6; }
  12244. if test "$ac_test_CFLAGS" = set; then
  12245.   CFLAGS=$ac_save_CFLAGS
  12246. elif test $ac_cv_prog_cc_g = yes; then
  12247.   if test "$GCC" = yes; then
  12248.     CFLAGS="-g -O2"
  12249.   else
  12250.     CFLAGS="-g"
  12251.   fi
  12252. else
  12253.   if test "$GCC" = yes; then
  12254.     CFLAGS="-O2"
  12255.   else
  12256.     CFLAGS=
  12257.   fi
  12258. fi
  12259. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  12260. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  12261. if ${ac_cv_prog_cc_c89+:} false; then :
  12262.   $as_echo_n "(cached) " >&6
  12263. else
  12264.   ac_cv_prog_cc_c89=no
  12265. ac_save_CC=$CC
  12266. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12267. /* end confdefs.h.  */
  12268. #include <stdarg.h>
  12269. #include <stdio.h>
  12270. struct stat;
  12271. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  12272. struct buf { int x; };
  12273. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  12274. static char *e (p, i)
  12275.      char **p;
  12276.      int i;
  12277. {
  12278.   return p[i];
  12279. }
  12280. static char *f (char * (*g) (char **, int), char **p, ...)
  12281. {
  12282.   char *s;
  12283.   va_list v;
  12284.   va_start (v,p);
  12285.   s = g (p, va_arg (v,int));
  12286.   va_end (v);
  12287.   return s;
  12288. }
  12289.  
  12290. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  12291.    function prototypes and stuff, but not '\xHH' hex character constants.
  12292.    These don't provoke an error unfortunately, instead are silently treated
  12293.    as 'x'.  The following induces an error, until -std is added to get
  12294.    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  12295.    array size at least.  It's necessary to write '\x00'==0 to get something
  12296.    that's true only with -std.  */
  12297. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  12298.  
  12299. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  12300.    inside strings and character constants.  */
  12301. #define FOO(x) 'x'
  12302. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  12303.  
  12304. int test (int i, double x);
  12305. struct s1 {int (*f) (int a);};
  12306. struct s2 {int (*f) (double a);};
  12307. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  12308. int argc;
  12309. char **argv;
  12310. int
  12311. main ()
  12312. {
  12313. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  12314.   ;
  12315.   return 0;
  12316. }
  12317. _ACEOF
  12318. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  12319.     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  12320. do
  12321.   CC="$ac_save_CC $ac_arg"
  12322.   if ac_fn_c_try_compile "$LINENO"; then :
  12323.   ac_cv_prog_cc_c89=$ac_arg
  12324. fi
  12325. rm -f core conftest.err conftest.$ac_objext
  12326.   test "x$ac_cv_prog_cc_c89" != "xno" && break
  12327. done
  12328. rm -f conftest.$ac_ext
  12329. CC=$ac_save_CC
  12330.  
  12331. fi
  12332. # AC_CACHE_VAL
  12333. case "x$ac_cv_prog_cc_c89" in
  12334.   x)
  12335.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  12336. $as_echo "none needed" >&6; } ;;
  12337.   xno)
  12338.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  12339. $as_echo "unsupported" >&6; } ;;
  12340.   *)
  12341.     CC="$CC $ac_cv_prog_cc_c89"
  12342.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  12343. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  12344. esac
  12345. if test "x$ac_cv_prog_cc_c89" != xno; then :
  12346.  
  12347. fi
  12348.  
  12349. ac_ext=c
  12350. ac_cpp='$CPP $CPPFLAGS'
  12351. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12352. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12353. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12354.  
  12355. ac_ext=c
  12356. ac_cpp='$CPP $CPPFLAGS'
  12357. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12358. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12359. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12360. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  12361. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  12362. if ${am_cv_prog_cc_c_o+:} false; then :
  12363.   $as_echo_n "(cached) " >&6
  12364. else
  12365.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12366. /* end confdefs.h.  */
  12367.  
  12368. int
  12369. main ()
  12370. {
  12371.  
  12372.   ;
  12373.   return 0;
  12374. }
  12375. _ACEOF
  12376.   # Make sure it works both with $CC and with simple cc.
  12377.   # Following AC_PROG_CC_C_O, we do the test twice because some
  12378.   # compilers refuse to overwrite an existing .o file with -o,
  12379.   # though they will create one.
  12380.   am_cv_prog_cc_c_o=yes
  12381.   for am_i in 1 2; do
  12382.     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  12383.    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  12384.    ac_status=$?
  12385.    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12386.    (exit $ac_status); } \
  12387.          && test -f conftest2.$ac_objext; then
  12388.       : OK
  12389.     else
  12390.       am_cv_prog_cc_c_o=no
  12391.       break
  12392.     fi
  12393.   done
  12394.   rm -f core conftest*
  12395.   unset am_i
  12396. fi
  12397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  12398. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  12399. if test "$am_cv_prog_cc_c_o" != yes; then
  12400.    # Losing compiler, so override with the script.
  12401.    # FIXME: It is wrong to rewrite CC.
  12402.    # But if we don't then we get into trouble of one sort or another.
  12403.    # A longer-term fix would be to have automake use am__CC in this case,
  12404.    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  12405.    CC="$am_aux_dir/compile $CC"
  12406. fi
  12407. ac_ext=c
  12408. ac_cpp='$CPP $CPPFLAGS'
  12409. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12410. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12411. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12412.  
  12413.  
  12414. depcc="$CC"   am_compiler_list=
  12415.  
  12416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  12417. $as_echo_n "checking dependency style of $depcc... " >&6; }
  12418. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  12419.   $as_echo_n "(cached) " >&6
  12420. else
  12421.   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  12422.   # We make a subdir and do the tests there.  Otherwise we can end up
  12423.   # making bogus files that we don't know about and never remove.  For
  12424.   # instance it was reported that on HP-UX the gcc test will end up
  12425.   # making a dummy file named 'D' -- because '-MD' means "put the output
  12426.   # in D".
  12427.   rm -rf conftest.dir
  12428.   mkdir conftest.dir
  12429.   # Copy depcomp to subdir because otherwise we won't find it if we're
  12430.   # using a relative directory.
  12431.   cp "$am_depcomp" conftest.dir
  12432.   cd conftest.dir
  12433.   # We will build objects and dependencies in a subdirectory because
  12434.   # it helps to detect inapplicable dependency modes.  For instance
  12435.   # both Tru64's cc and ICC support -MD to output dependencies as a
  12436.   # side effect of compilation, but ICC will put the dependencies in
  12437.   # the current directory while Tru64 will put them in the object
  12438.   # directory.
  12439.   mkdir sub
  12440.  
  12441.   am_cv_CC_dependencies_compiler_type=none
  12442.   if test "$am_compiler_list" = ""; then
  12443.      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  12444.   fi
  12445.   am__universal=false
  12446.   case " $depcc " in #(
  12447.      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  12448.      esac
  12449.  
  12450.   for depmode in $am_compiler_list; do
  12451.     # Setup a source with many dependencies, because some compilers
  12452.     # like to wrap large dependency lists on column 80 (with \), and
  12453.     # we should not choose a depcomp mode which is confused by this.
  12454.     #
  12455.     # We need to recreate these files for each test, as the compiler may
  12456.     # overwrite some of them when testing with obscure command lines.
  12457.     # This happens at least with the AIX C compiler.
  12458.     : > sub/conftest.c
  12459.     for i in 1 2 3 4 5 6; do
  12460.       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  12461.       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  12462.       # Solaris 10 /bin/sh.
  12463.       echo '/* dummy */' > sub/conftst$i.h
  12464.     done
  12465.     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  12466.  
  12467.     # We check with '-c' and '-o' for the sake of the "dashmstdout"
  12468.     # mode.  It turns out that the SunPro C++ compiler does not properly
  12469.     # handle '-M -o', and we need to detect this.  Also, some Intel
  12470.     # versions had trouble with output in subdirs.
  12471.     am__obj=sub/conftest.${OBJEXT-o}
  12472.     am__minus_obj="-o $am__obj"
  12473.     case $depmode in
  12474.     gcc)
  12475.       # This depmode causes a compiler race in universal mode.
  12476.       test "$am__universal" = false || continue
  12477.       ;;
  12478.     nosideeffect)
  12479.       # After this tag, mechanisms are not by side-effect, so they'll
  12480.       # only be used when explicitly requested.
  12481.       if test "x$enable_dependency_tracking" = xyes; then
  12482.     continue
  12483.       else
  12484.     break
  12485.       fi
  12486.       ;;
  12487.     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  12488.       # This compiler won't grok '-c -o', but also, the minuso test has
  12489.       # not run yet.  These depmodes are late enough in the game, and
  12490.       # so weak that their functioning should not be impacted.
  12491.       am__obj=conftest.${OBJEXT-o}
  12492.       am__minus_obj=
  12493.       ;;
  12494.     none) break ;;
  12495.     esac
  12496.     if depmode=$depmode \
  12497.        source=sub/conftest.c object=$am__obj \
  12498.        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  12499.        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  12500.          >/dev/null 2>conftest.err &&
  12501.        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  12502.        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  12503.        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  12504.        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  12505.       # icc doesn't choke on unknown options, it will just issue warnings
  12506.       # or remarks (even with -Werror).  So we grep stderr for any message
  12507.       # that says an option was ignored or not supported.
  12508.       # When given -MP, icc 7.0 and 7.1 complain thusly:
  12509.       #   icc: Command line warning: ignoring option '-M'; no argument required
  12510.       # The diagnosis changed in icc 8.0:
  12511.       #   icc: Command line remark: option '-MP' not supported
  12512.       if (grep 'ignoring option' conftest.err ||
  12513.           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  12514.         am_cv_CC_dependencies_compiler_type=$depmode
  12515.         break
  12516.       fi
  12517.     fi
  12518.   done
  12519.  
  12520.   cd ..
  12521.   rm -rf conftest.dir
  12522. else
  12523.   am_cv_CC_dependencies_compiler_type=none
  12524. fi
  12525.  
  12526. fi
  12527. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  12528. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  12529. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  12530.  
  12531.  if
  12532.   test "x$enable_dependency_tracking" != xno \
  12533.   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  12534.   am__fastdepCC_TRUE=
  12535.   am__fastdepCC_FALSE='#'
  12536. else
  12537.   am__fastdepCC_TRUE='#'
  12538.   am__fastdepCC_FALSE=
  12539. fi
  12540.  
  12541.  
  12542.  
  12543.  
  12544.  
  12545. if test "x$GCC" = "xyes"; then
  12546.     CFLAG_M32="-m32"
  12547.     CFLAG_FVISIBILITY_HIDDEN="-fvisibility=hidden"
  12548.     CPPFLAG_DEXPORT="-D_export=\"__attribute__((visibility(\\\"default\\\")))\""
  12549.     LDFLAG_RDYNAMIC="-rdynamic"
  12550. fi
  12551.  
  12552. if test "x$with_libwardenc" != "xno"; then
  12553.     AM_CFLAGS="$CFLAG_M32"
  12554.     STRING_AM_CFLAGS="[$AM_CFLAGS] "
  12555. fi
  12556. AM_CPPFLAGS="-I\$(top_srcdir)/lib/util/include"
  12557.  
  12558.  
  12559.  
  12560.  
  12561.  
  12562.  
  12563. _CFLAGS="$CFLAGS"
  12564. CFLAGS="$AM_CFLAGS $CFLAGS"
  12565.  
  12566. # Checks for libraries.
  12567. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  12568. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  12569. if ${ac_cv_lib_dl_dlopen+:} false; then :
  12570.   $as_echo_n "(cached) " >&6
  12571. else
  12572.   ac_check_lib_save_LIBS=$LIBS
  12573. LIBS="-ldl  $LIBS"
  12574. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12575. /* end confdefs.h.  */
  12576.  
  12577. /* Override any GCC internal prototype to avoid an error.
  12578.    Use char because int might match the return type of a GCC
  12579.    builtin and then its argument prototype would still apply.  */
  12580. #ifdef __cplusplus
  12581. extern "C"
  12582. #endif
  12583. char dlopen ();
  12584. int
  12585. main ()
  12586. {
  12587. return dlopen ();
  12588.   ;
  12589.   return 0;
  12590. }
  12591. _ACEOF
  12592. if ac_fn_c_try_link "$LINENO"; then :
  12593.   ac_cv_lib_dl_dlopen=yes
  12594. else
  12595.   ac_cv_lib_dl_dlopen=no
  12596. fi
  12597. rm -f core conftest.err conftest.$ac_objext \
  12598.     conftest$ac_exeext conftest.$ac_ext
  12599. LIBS=$ac_check_lib_save_LIBS
  12600. fi
  12601. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  12602. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  12603. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  12604.  
  12605. $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  12606.  
  12607. else
  12608.   echo "error: libdl missing."; exit 1
  12609. fi
  12610.  
  12611. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  12612. $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
  12613. if ${ac_cv_lib_pthread_pthread_create+:} false; then :
  12614.   $as_echo_n "(cached) " >&6
  12615. else
  12616.   ac_check_lib_save_LIBS=$LIBS
  12617. LIBS="-lpthread  $LIBS"
  12618. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12619. /* end confdefs.h.  */
  12620.  
  12621. /* Override any GCC internal prototype to avoid an error.
  12622.    Use char because int might match the return type of a GCC
  12623.    builtin and then its argument prototype would still apply.  */
  12624. #ifdef __cplusplus
  12625. extern "C"
  12626. #endif
  12627. char pthread_create ();
  12628. int
  12629. main ()
  12630. {
  12631. return pthread_create ();
  12632.   ;
  12633.   return 0;
  12634. }
  12635. _ACEOF
  12636. if ac_fn_c_try_link "$LINENO"; then :
  12637.   ac_cv_lib_pthread_pthread_create=yes
  12638. else
  12639.   ac_cv_lib_pthread_pthread_create=no
  12640. fi
  12641. rm -f core conftest.err conftest.$ac_objext \
  12642.     conftest$ac_exeext conftest.$ac_ext
  12643. LIBS=$ac_check_lib_save_LIBS
  12644. fi
  12645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  12646. $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
  12647. if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
  12648.  
  12649. $as_echo "#define HAVE_LIBPTHREAD 1" >>confdefs.h
  12650.  
  12651. else
  12652.   echo "error: libpthread missing."; exit 1
  12653. fi
  12654.  
  12655. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
  12656. $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
  12657. if ${ac_cv_lib_rt_clock_gettime+:} false; then :
  12658.   $as_echo_n "(cached) " >&6
  12659. else
  12660.   ac_check_lib_save_LIBS=$LIBS
  12661. LIBS="-lrt  $LIBS"
  12662. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12663. /* end confdefs.h.  */
  12664.  
  12665. /* Override any GCC internal prototype to avoid an error.
  12666.    Use char because int might match the return type of a GCC
  12667.    builtin and then its argument prototype would still apply.  */
  12668. #ifdef __cplusplus
  12669. extern "C"
  12670. #endif
  12671. char clock_gettime ();
  12672. int
  12673. main ()
  12674. {
  12675. return clock_gettime ();
  12676.   ;
  12677.   return 0;
  12678. }
  12679. _ACEOF
  12680. if ac_fn_c_try_link "$LINENO"; then :
  12681.   ac_cv_lib_rt_clock_gettime=yes
  12682. else
  12683.   ac_cv_lib_rt_clock_gettime=no
  12684. fi
  12685. rm -f core conftest.err conftest.$ac_objext \
  12686.     conftest$ac_exeext conftest.$ac_ext
  12687. LIBS=$ac_check_lib_save_LIBS
  12688. fi
  12689. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
  12690. $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
  12691. if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
  12692.  
  12693. $as_echo "#define HAVE_LIBRT 1" >>confdefs.h
  12694.  LINK_RT="yes" LADD_LIBRT="-lrt"
  12695. else
  12696.   LINK_RT="no"
  12697.     echo "warning: librt missing. using compatibility header."
  12698. fi
  12699.  
  12700. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optionGetValue in -lopts" >&5
  12701. $as_echo_n "checking for optionGetValue in -lopts... " >&6; }
  12702. if ${ac_cv_lib_opts_optionGetValue+:} false; then :
  12703.   $as_echo_n "(cached) " >&6
  12704. else
  12705.   ac_check_lib_save_LIBS=$LIBS
  12706. LIBS="-lopts  $LIBS"
  12707. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12708. /* end confdefs.h.  */
  12709.  
  12710. /* Override any GCC internal prototype to avoid an error.
  12711.    Use char because int might match the return type of a GCC
  12712.    builtin and then its argument prototype would still apply.  */
  12713. #ifdef __cplusplus
  12714. extern "C"
  12715. #endif
  12716. char optionGetValue ();
  12717. int
  12718. main ()
  12719. {
  12720. return optionGetValue ();
  12721.   ;
  12722.   return 0;
  12723. }
  12724. _ACEOF
  12725. if ac_fn_c_try_link "$LINENO"; then :
  12726.   ac_cv_lib_opts_optionGetValue=yes
  12727. else
  12728.   ac_cv_lib_opts_optionGetValue=no
  12729. fi
  12730. rm -f core conftest.err conftest.$ac_objext \
  12731.     conftest$ac_exeext conftest.$ac_ext
  12732. LIBS=$ac_check_lib_save_LIBS
  12733. fi
  12734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opts_optionGetValue" >&5
  12735. $as_echo "$ac_cv_lib_opts_optionGetValue" >&6; }
  12736. if test "x$ac_cv_lib_opts_optionGetValue" = xyes; then :
  12737.  
  12738. $as_echo "#define HAVE_LIBOPTS 1" >>confdefs.h
  12739.  
  12740. else
  12741.   echo "error: libopts missing."; exit 1
  12742. fi
  12743.  
  12744. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
  12745. $as_echo_n "checking for initscr in -lncurses... " >&6; }
  12746. if ${ac_cv_lib_ncurses_initscr+:} false; then :
  12747.   $as_echo_n "(cached) " >&6
  12748. else
  12749.   ac_check_lib_save_LIBS=$LIBS
  12750. LIBS="-lncurses  $LIBS"
  12751. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12752. /* end confdefs.h.  */
  12753.  
  12754. /* Override any GCC internal prototype to avoid an error.
  12755.    Use char because int might match the return type of a GCC
  12756.    builtin and then its argument prototype would still apply.  */
  12757. #ifdef __cplusplus
  12758. extern "C"
  12759. #endif
  12760. char initscr ();
  12761. int
  12762. main ()
  12763. {
  12764. return initscr ();
  12765.   ;
  12766.   return 0;
  12767. }
  12768. _ACEOF
  12769. if ac_fn_c_try_link "$LINENO"; then :
  12770.   ac_cv_lib_ncurses_initscr=yes
  12771. else
  12772.   ac_cv_lib_ncurses_initscr=no
  12773. fi
  12774. rm -f core conftest.err conftest.$ac_objext \
  12775.     conftest$ac_exeext conftest.$ac_ext
  12776. LIBS=$ac_check_lib_save_LIBS
  12777. fi
  12778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
  12779. $as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
  12780. if test "x$ac_cv_lib_ncurses_initscr" = xyes; then :
  12781.  
  12782. $as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h
  12783.  
  12784. else
  12785.   echo "error: libncurses missing."; exit 1
  12786. fi
  12787.  
  12788. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
  12789. $as_echo_n "checking for sqrt in -lm... " >&6; }
  12790. if ${ac_cv_lib_m_sqrt+:} false; then :
  12791.   $as_echo_n "(cached) " >&6
  12792. else
  12793.   ac_check_lib_save_LIBS=$LIBS
  12794. LIBS="-lm  $LIBS"
  12795. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12796. /* end confdefs.h.  */
  12797.  
  12798. /* Override any GCC internal prototype to avoid an error.
  12799.    Use char because int might match the return type of a GCC
  12800.    builtin and then its argument prototype would still apply.  */
  12801. #ifdef __cplusplus
  12802. extern "C"
  12803. #endif
  12804. char sqrt ();
  12805. int
  12806. main ()
  12807. {
  12808. return sqrt ();
  12809.   ;
  12810.   return 0;
  12811. }
  12812. _ACEOF
  12813. if ac_fn_c_try_link "$LINENO"; then :
  12814.   ac_cv_lib_m_sqrt=yes
  12815. else
  12816.   ac_cv_lib_m_sqrt=no
  12817. fi
  12818. rm -f core conftest.err conftest.$ac_objext \
  12819.     conftest$ac_exeext conftest.$ac_ext
  12820. LIBS=$ac_check_lib_save_LIBS
  12821. fi
  12822. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
  12823. $as_echo "$ac_cv_lib_m_sqrt" >&6; }
  12824. if test "x$ac_cv_lib_m_sqrt" = xyes; then :
  12825.  
  12826. $as_echo "#define HAVE_LIBM 1" >>confdefs.h
  12827.  
  12828. else
  12829.   echo "warning: libm missing. some plugins will not build."
  12830. fi
  12831.  
  12832.  
  12833. CFLAGS="$_CFLAGS"
  12834.  
  12835.  
  12836.  
  12837. # Checks for header files.
  12838. for ac_header in arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h termios.h unistd.h
  12839. do :
  12840.   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12841. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  12842. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  12843.  cat >>confdefs.h <<_ACEOF
  12844. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12845. _ACEOF
  12846.  
  12847. fi
  12848.  
  12849. done
  12850.  
  12851.  
  12852. # Checks for typedefs, structures, and compiler characteristics.
  12853. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  12854. $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  12855. if ${ac_cv_header_stdbool_h+:} false; then :
  12856.  $as_echo_n "(cached) " >&6
  12857. else
  12858.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12859. /* end confdefs.h.  */
  12860.  
  12861.             #include <stdbool.h>
  12862.             #ifndef bool
  12863.              "error: bool is not defined"
  12864.             #endif
  12865.             #ifndef false
  12866.              "error: false is not defined"
  12867.             #endif
  12868.             #if false
  12869.              "error: false is not 0"
  12870.             #endif
  12871.             #ifndef true
  12872.              "error: true is not defined"
  12873.             #endif
  12874.             #if true != 1
  12875.              "error: true is not 1"
  12876.             #endif
  12877.             #ifndef __bool_true_false_are_defined
  12878.              "error: __bool_true_false_are_defined is not defined"
  12879.             #endif
  12880.  
  12881.             struct s { _Bool s: 1; _Bool t; } s;
  12882.  
  12883.             char a[true == 1 ? 1 : -1];
  12884.             char b[false == 0 ? 1 : -1];
  12885.             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  12886.             char d[(bool) 0.5 == true ? 1 : -1];
  12887.             /* See body of main program for 'e'.  */
  12888.             char f[(_Bool) 0.0 == false ? 1 : -1];
  12889.             char g[true];
  12890.             char h[sizeof (_Bool)];
  12891.             char i[sizeof s.t];
  12892.             enum { j = false, k = true, l = false * true, m = true * 256 };
  12893.             /* The following fails for
  12894.                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
  12895.             _Bool n[m];
  12896.             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
  12897.             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
  12898.             /* Catch a bug in an HP-UX C compiler.  See
  12899.                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
  12900.                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
  12901.              */
  12902.             _Bool q = true;
  12903.             _Bool *pq = &q;
  12904.  
  12905. int
  12906. main ()
  12907. {
  12908.  
  12909.             bool e = &s;
  12910.             *pq |= q;
  12911.             *pq |= ! q;
  12912.             /* Refer to every declared value, to avoid compiler optimizations.  */
  12913.             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
  12914.                     + !m + !n + !o + !p + !q + !pq);
  12915.  
  12916.  ;
  12917.  return 0;
  12918. }
  12919. _ACEOF
  12920. if ac_fn_c_try_compile "$LINENO"; then :
  12921.  ac_cv_header_stdbool_h=yes
  12922. else
  12923.  ac_cv_header_stdbool_h=no
  12924. fi
  12925. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12926. fi
  12927. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  12928. $as_echo "$ac_cv_header_stdbool_h" >&6; }
  12929.   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  12930. if test "x$ac_cv_type__Bool" = xyes; then :
  12931.  
  12932. cat >>confdefs.h <<_ACEOF
  12933. #define HAVE__BOOL 1
  12934. _ACEOF
  12935.  
  12936.  
  12937. fi
  12938.  
  12939.  
  12940. if test $ac_cv_header_stdbool_h = yes; then
  12941.  
  12942. $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
  12943.  
  12944. fi
  12945.  
  12946. ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  12947. if test "x$ac_cv_type_size_t" = xyes; then :
  12948.  
  12949. else
  12950.  
  12951. cat >>confdefs.h <<_ACEOF
  12952. #define size_t unsigned int
  12953. _ACEOF
  12954.  
  12955. fi
  12956.  
  12957.  
  12958. for ac_header in time.h
  12959. do :
  12960.   ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
  12961. if test "x$ac_cv_header_time_h" = xyes; then :
  12962.   cat >>confdefs.h <<_ACEOF
  12963. #define HAVE_TIME_H 1
  12964. _ACEOF
  12965.  ac_fn_c_check_type "$LINENO" "clockid_t" "ac_cv_type_clockid_t" "#include <time.h>
  12966. "
  12967. if test "x$ac_cv_type_clockid_t" = xyes; then :
  12968.  
  12969. cat >>confdefs.h <<_ACEOF
  12970. #define HAVE_CLOCKID_T 1
  12971. _ACEOF
  12972.  
  12973.  
  12974. fi
  12975.  
  12976. fi
  12977.  
  12978. done
  12979.  
  12980.  
  12981. # Checks for library functions.
  12982. for ac_header in stdlib.h
  12983. do :
  12984.   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  12985. if test "x$ac_cv_header_stdlib_h" = xyes; then :
  12986.   cat >>confdefs.h <<_ACEOF
  12987. #define HAVE_STDLIB_H 1
  12988. _ACEOF
  12989.  
  12990. fi
  12991.  
  12992. done
  12993.  
  12994. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  12995. $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  12996. if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  12997.   $as_echo_n "(cached) " >&6
  12998. else
  12999.   if test "$cross_compiling" = yes; then :
  13000.   ac_cv_func_malloc_0_nonnull=no
  13001. else
  13002.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13003. /* end confdefs.h.  */
  13004. #if defined STDC_HEADERS || defined HAVE_STDLIB_H
  13005. # include <stdlib.h>
  13006. #else
  13007. char *malloc ();
  13008. #endif
  13009.  
  13010. int
  13011. main ()
  13012. {
  13013. return ! malloc (0);
  13014.   ;
  13015.   return 0;
  13016. }
  13017. _ACEOF
  13018. if ac_fn_c_try_run "$LINENO"; then :
  13019.   ac_cv_func_malloc_0_nonnull=yes
  13020. else
  13021.   ac_cv_func_malloc_0_nonnull=no
  13022. fi
  13023. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  13024.   conftest.$ac_objext conftest.beam conftest.$ac_ext
  13025. fi
  13026.  
  13027. fi
  13028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  13029. $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  13030. if test $ac_cv_func_malloc_0_nonnull = yes; then :
  13031.  
  13032. $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
  13033.  
  13034. else
  13035.   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
  13036.  
  13037.    case " $LIBOBJS " in
  13038.   *" malloc.$ac_objext "* ) ;;
  13039.   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
  13040.  ;;
  13041. esac
  13042.  
  13043.  
  13044. $as_echo "#define malloc rpl_malloc" >>confdefs.h
  13045.  
  13046. fi
  13047.  
  13048.  
  13049. for ac_header in stdlib.h
  13050. do :
  13051.   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  13052. if test "x$ac_cv_header_stdlib_h" = xyes; then :
  13053.   cat >>confdefs.h <<_ACEOF
  13054. #define HAVE_STDLIB_H 1
  13055. _ACEOF
  13056.  
  13057. fi
  13058.  
  13059. done
  13060.  
  13061. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
  13062. $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
  13063. if ${ac_cv_func_realloc_0_nonnull+:} false; then :
  13064.   $as_echo_n "(cached) " >&6
  13065. else
  13066.   if test "$cross_compiling" = yes; then :
  13067.   ac_cv_func_realloc_0_nonnull=no
  13068. else
  13069.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13070. /* end confdefs.h.  */
  13071. #if defined STDC_HEADERS || defined HAVE_STDLIB_H
  13072. # include <stdlib.h>
  13073. #else
  13074. char *realloc ();
  13075. #endif
  13076.  
  13077. int
  13078. main ()
  13079. {
  13080. return ! realloc (0, 0);
  13081.   ;
  13082.   return 0;
  13083. }
  13084. _ACEOF
  13085. if ac_fn_c_try_run "$LINENO"; then :
  13086.   ac_cv_func_realloc_0_nonnull=yes
  13087. else
  13088.   ac_cv_func_realloc_0_nonnull=no
  13089. fi
  13090. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  13091.   conftest.$ac_objext conftest.beam conftest.$ac_ext
  13092. fi
  13093.  
  13094. fi
  13095. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
  13096. $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
  13097. if test $ac_cv_func_realloc_0_nonnull = yes; then :
  13098.  
  13099. $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
  13100.  
  13101. else
  13102.   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
  13103.  
  13104.    case " $LIBOBJS " in
  13105.   *" realloc.$ac_objext "* ) ;;
  13106.   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
  13107.  ;;
  13108. esac
  13109.  
  13110.  
  13111. $as_echo "#define realloc rpl_realloc" >>confdefs.h
  13112.  
  13113. fi
  13114.  
  13115.  
  13116.  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
  13117. $as_echo_n "checking for working strnlen... " >&6; }
  13118. if ${ac_cv_func_strnlen_working+:} false; then :
  13119.   $as_echo_n "(cached) " >&6
  13120. else
  13121.   if test "$cross_compiling" = yes; then :
  13122.   # Guess no on AIX systems, yes otherwise.
  13123.         case "$host_os" in
  13124.           aix*) ac_cv_func_strnlen_working=no;;
  13125.           *)    ac_cv_func_strnlen_working=yes;;
  13126.         esac
  13127. else
  13128.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13129. /* end confdefs.h.  */
  13130. $ac_includes_default
  13131. int
  13132. main ()
  13133. {
  13134.  
  13135. #define S "foobar"
  13136. #define S_LEN (sizeof S - 1)
  13137.  
  13138.   /* At least one implementation is buggy: that of AIX 4.3 would
  13139.      give strnlen (S, 1) == 3.  */
  13140.  
  13141.   int i;
  13142.   for (i = 0; i < S_LEN + 1; ++i)
  13143.     {
  13144.       int expected = i <= S_LEN ? i : S_LEN;
  13145.       if (strnlen (S, i) != expected)
  13146.     return 1;
  13147.     }
  13148.   return 0;
  13149.  
  13150.   ;
  13151.   return 0;
  13152. }
  13153. _ACEOF
  13154. if ac_fn_c_try_run "$LINENO"; then :
  13155.   ac_cv_func_strnlen_working=yes
  13156. else
  13157.   ac_cv_func_strnlen_working=no
  13158. fi
  13159. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  13160.   conftest.$ac_objext conftest.beam conftest.$ac_ext
  13161. fi
  13162.  
  13163. fi
  13164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
  13165. $as_echo "$ac_cv_func_strnlen_working" >&6; }
  13166. test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
  13167.   *" strnlen.$ac_objext "* ) ;;
  13168.   *) LIBOBJS="$LIBOBJS strnlen.$ac_objext"
  13169.  ;;
  13170. esac
  13171.  
  13172.  
  13173. for ac_func in clock_gettime getcwd gethostbyname gettimeofday memset mkdir select socket sqrt strchr strdup strerror strrchr strstr setsockopt
  13174. do :
  13175.   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13176. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  13177. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  13178.  cat >>confdefs.h <<_ACEOF
  13179. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13180. _ACEOF
  13181.  
  13182. fi
  13183. done
  13184.  
  13185.  
  13186. configdir="\$(pkgdatadir)"
  13187. plugindir="\$(pkglibdir)/plugins"
  13188.  
  13189.  
  13190.  
  13191. ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile lib/Makefile lib/util/Makefile lib/plugins/Makefile lib/plugins/bncs_login/Makefile lib/plugins/mcp_login/Makefile lib/plugins/mcp_game/Makefile lib/plugins/d2gs_chicken/Makefile lib/plugins/d2gs_pickit/Makefile lib/plugins/d2gs_pes/Makefile lib/plugins/d2gs_dclone/Makefile lib/plugins/d2gs_meph/Makefile lib/plugins/d2gs_pathing/Makefile lib/plugins/d2gs_record/Makefile"
  13192.  
  13193.  
  13194.  
  13195.  
  13196. subdirs="$subdirs lib/libwardenc"
  13197.  
  13198.  
  13199. cat >confcache <<\_ACEOF
  13200. # This file is a shell script that caches the results of configure
  13201. # tests run on this system so they can be shared between configure
  13202. # scripts and configure runs, see configure's option --config-cache.
  13203. # It is not useful on other systems.  If it contains results you don't
  13204. # want to keep, you may remove or edit it.
  13205. #
  13206. # config.status only pays attention to the cache file if you give it
  13207. # the --recheck option to rerun configure.
  13208. #
  13209. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  13210. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  13211. # following values.
  13212.  
  13213. _ACEOF
  13214.  
  13215. # The following way of writing the cache mishandles newlines in values,
  13216. # but we know of no workaround that is simple, portable, and efficient.
  13217. # So, we kill variables containing newlines.
  13218. # Ultrix sh set writes to stderr and can't be redirected directly,
  13219. # and sets the high bit in the cache file unless we assign to the vars.
  13220. (
  13221.  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  13222.    eval ac_val=\$$ac_var
  13223.    case $ac_val in #(
  13224.    *${as_nl}*)
  13225.      case $ac_var in #(
  13226.      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  13227. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  13228.      esac
  13229.      case $ac_var in #(
  13230.      _ | IFS | as_nl) ;; #(
  13231.      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  13232.      *) { eval $ac_var=; unset $ac_var;} ;;
  13233.      esac ;;
  13234.    esac
  13235.  done
  13236.  
  13237.  (set) 2>&1 |
  13238.    case $as_nl`(ac_space=' '; set) 2>&1` in #(
  13239.    *${as_nl}ac_space=\ *)
  13240.      # `set' does not quote correctly, so add quotes: double-quote
  13241.      # substitution turns \\\\ into \\, and sed turns \\ into \.
  13242.      sed -n \
  13243.     "s/'/'\\\\''/g;
  13244.       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  13245.      ;; #(
  13246.    *)
  13247.      # `set' quotes correctly as required by POSIX, so do not add quotes.
  13248.      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  13249.      ;;
  13250.    esac |
  13251.    sort
  13252. ) |
  13253.  sed '
  13254.     /^ac_cv_env_/b end
  13255.     t clear
  13256.     :clear
  13257.     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  13258.     t end
  13259.     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  13260.     :end' >>confcache
  13261. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  13262.  if test -w "$cache_file"; then
  13263.    if test "x$cache_file" != "x/dev/null"; then
  13264.      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  13265. $as_echo "$as_me: updating cache $cache_file" >&6;}
  13266.      if test ! -f "$cache_file" || test -h "$cache_file"; then
  13267.     cat confcache >"$cache_file"
  13268.      else
  13269.        case $cache_file in #(
  13270.        */* | ?:*)
  13271.       mv -f confcache "$cache_file"$$ &&
  13272.       mv -f "$cache_file"$$ "$cache_file" ;; #(
  13273.        *)
  13274.       mv -f confcache "$cache_file" ;;
  13275.     esac
  13276.      fi
  13277.    fi
  13278.  else
  13279.    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  13280. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  13281.  fi
  13282. fi
  13283. rm -f confcache
  13284.  
  13285. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  13286. # Let make expand exec_prefix.
  13287. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  13288.  
  13289. DEFS=-DHAVE_CONFIG_H
  13290.  
  13291. ac_libobjs=
  13292. ac_ltlibobjs=
  13293. U=
  13294. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  13295.  # 1. Remove the extension, and $U if already installed.
  13296.  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  13297.  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  13298.  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  13299.  #    will be set to the directory where LIBOBJS objects are built.
  13300.  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  13301.  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  13302. done
  13303. LIBOBJS=$ac_libobjs
  13304.  
  13305. LTLIBOBJS=$ac_ltlibobjs
  13306.  
  13307.  
  13308. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  13309. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  13310.   if test -n "$am_sleep_pid"; then
  13311.     # Hide warnings about reused PIDs.
  13312.     wait $am_sleep_pid 2>/dev/null
  13313.   fi
  13314.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  13315. $as_echo "done" >&6; }
  13316. if test -n "$EXEEXT"; then
  13317.  am__EXEEXT_TRUE=
  13318.  am__EXEEXT_FALSE='#'
  13319. else
  13320.  am__EXEEXT_TRUE='#'
  13321.  am__EXEEXT_FALSE=
  13322. fi
  13323.  
  13324. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  13325.  as_fn_error $? "conditional \"AMDEP\" was never defined.
  13326. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13327. fi
  13328. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  13329.   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  13330. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13331. fi
  13332. if test -z "${WITH_LIBWARDENC_TRUE}" && test -z "${WITH_LIBWARDENC_FALSE}"; then
  13333.   as_fn_error $? "conditional \"WITH_LIBWARDENC\" was never defined.
  13334. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13335. fi
  13336. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  13337.   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  13338. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13339. fi
  13340.  
  13341. : "${CONFIG_STATUS=./config.status}"
  13342. ac_write_fail=0
  13343. ac_clean_files_save=$ac_clean_files
  13344. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  13345. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  13346. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  13347. as_write_fail=0
  13348. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  13349. #! $SHELL
  13350. # Generated by $as_me.
  13351. # Run this file to recreate the current configuration.
  13352. # Compiler output produced by configure, useful for debugging
  13353. # configure, is in config.log if it exists.
  13354.  
  13355. debug=false
  13356. ac_cs_recheck=false
  13357. ac_cs_silent=false
  13358.  
  13359. SHELL=\${CONFIG_SHELL-$SHELL}
  13360. export SHELL
  13361. _ASEOF
  13362. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  13363. ## -------------------- ##
  13364. ## M4sh Initialization. ##
  13365. ## -------------------- ##
  13366.  
  13367. # Be more Bourne compatible
  13368. DUALCASE=1; export DUALCASE # for MKS sh
  13369. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  13370.   emulate sh
  13371.   NULLCMD=:
  13372.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  13373.   # is contrary to our usage.  Disable this feature.
  13374.   alias -g '${1+"$@"}'='"$@"'
  13375.   setopt NO_GLOB_SUBST
  13376. else
  13377.   case `(set -o) 2>/dev/null` in #(
  13378.   *posix*) :
  13379.     set -o posix ;; #(
  13380.   *) :
  13381.      ;;
  13382. esac
  13383. fi
  13384.  
  13385.  
  13386. as_nl='
  13387. '
  13388. export as_nl
  13389. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  13390. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  13391. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  13392. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  13393. # Prefer a ksh shell builtin over an external printf program on Solaris,
  13394. # but without wasting forks for bash or zsh.
  13395. if test -z "$BASH_VERSION$ZSH_VERSION" \
  13396.    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  13397.  as_echo='print -r --'
  13398.  as_echo_n='print -rn --'
  13399. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  13400.  as_echo='printf %s\n'
  13401.  as_echo_n='printf %s'
  13402. else
  13403.  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  13404.    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  13405.    as_echo_n='/usr/ucb/echo -n'
  13406.  else
  13407.    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  13408.    as_echo_n_body='eval
  13409.       arg=$1;
  13410.       case $arg in #(
  13411.       *"$as_nl"*)
  13412.     expr "X$arg" : "X\\(.*\\)$as_nl";
  13413.     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  13414.       esac;
  13415.       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  13416.     '
  13417.    export as_echo_n_body
  13418.    as_echo_n='sh -c $as_echo_n_body as_echo'
  13419.  fi
  13420.  export as_echo_body
  13421.  as_echo='sh -c $as_echo_body as_echo'
  13422. fi
  13423.  
  13424. # The user is always right.
  13425. if test "${PATH_SEPARATOR+set}" != set; then
  13426.  PATH_SEPARATOR=:
  13427.  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  13428.    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  13429.      PATH_SEPARATOR=';'
  13430.  }
  13431. fi
  13432.  
  13433.  
  13434. # IFS
  13435. # We need space, tab and new line, in precisely that order.  Quoting is
  13436. # there to prevent editors from complaining about space-tab.
  13437. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  13438. # splitting by setting IFS to empty value.)
  13439. IFS=" ""    $as_nl"
  13440.  
  13441. # Find who we are.  Look in the path if we contain no directory separator.
  13442. as_myself=
  13443. case $0 in #((
  13444.  *[\\/]* ) as_myself=$0 ;;
  13445.  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13446. for as_dir in $PATH
  13447. do
  13448.  IFS=$as_save_IFS
  13449.  test -z "$as_dir" && as_dir=.
  13450.    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  13451.  done
  13452. IFS=$as_save_IFS
  13453.  
  13454.     ;;
  13455. esac
  13456. # We did not find ourselves, most probably we were run as `sh COMMAND'
  13457. # in which case we are not to be found in the path.
  13458. if test "x$as_myself" = x; then
  13459.   as_myself=$0
  13460. fi
  13461. if test ! -f "$as_myself"; then
  13462.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  13463.   exit 1
  13464. fi
  13465.  
  13466. # Unset variables that we do not need and which cause bugs (e.g. in
  13467. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  13468. # suppresses any "Segmentation fault" message there.  '((' could
  13469. # trigger a bug in pdksh 5.2.14.
  13470. for as_var in BASH_ENV ENV MAIL MAILPATH
  13471. do eval test x\${$as_var+set} = xset \
  13472.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  13473. done
  13474. PS1='$ '
  13475. PS2='> '
  13476. PS4='+ '
  13477.  
  13478. # NLS nuisances.
  13479. LC_ALL=C
  13480. export LC_ALL
  13481. LANGUAGE=C
  13482. export LANGUAGE
  13483.  
  13484. # CDPATH.
  13485. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  13486.  
  13487.  
  13488. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  13489. # ----------------------------------------
  13490. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  13491. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  13492. # script with STATUS, using 1 if that was 0.
  13493. as_fn_error ()
  13494. {
  13495.   as_status=$1; test $as_status -eq 0 && as_status=1
  13496.   if test "$4"; then
  13497.     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  13498.     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  13499.   fi
  13500.   $as_echo "$as_me: error: $2" >&2
  13501.   as_fn_exit $as_status
  13502. } # as_fn_error
  13503.  
  13504.  
  13505. # as_fn_set_status STATUS
  13506. # -----------------------
  13507. # Set $? to STATUS, without forking.
  13508. as_fn_set_status ()
  13509. {
  13510.   return $1
  13511. } # as_fn_set_status
  13512.  
  13513. # as_fn_exit STATUS
  13514. # -----------------
  13515. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  13516. as_fn_exit ()
  13517. {
  13518.   set +e
  13519.   as_fn_set_status $1
  13520.   exit $1
  13521. } # as_fn_exit
  13522.  
  13523. # as_fn_unset VAR
  13524. # ---------------
  13525. # Portably unset VAR.
  13526. as_fn_unset ()
  13527. {
  13528.   { eval $1=; unset $1;}
  13529. }
  13530. as_unset=as_fn_unset
  13531. # as_fn_append VAR VALUE
  13532. # ----------------------
  13533. # Append the text in VALUE to the end of the definition contained in VAR. Take
  13534. # advantage of any shell optimizations that allow amortized linear growth over
  13535. # repeated appends, instead of the typical quadratic growth present in naive
  13536. # implementations.
  13537. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  13538.   eval 'as_fn_append ()
  13539.  {
  13540.    eval $1+=\$2
  13541.  }'
  13542. else
  13543.   as_fn_append ()
  13544.   {
  13545.     eval $1=\$$1\$2
  13546.   }
  13547. fi # as_fn_append
  13548.  
  13549. # as_fn_arith ARG...
  13550. # ------------------
  13551. # Perform arithmetic evaluation on the ARGs, and store the result in the
  13552. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  13553. # must be portable across $(()) and expr.
  13554. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  13555.   eval 'as_fn_arith ()
  13556.  {
  13557.    as_val=$(( $* ))
  13558.  }'
  13559. else
  13560.   as_fn_arith ()
  13561.   {
  13562.     as_val=`expr "$@" || test $? -eq 1`
  13563.   }
  13564. fi # as_fn_arith
  13565.  
  13566.  
  13567. if expr a : '\(a\)' >/dev/null 2>&1 &&
  13568.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  13569.   as_expr=expr
  13570. else
  13571.   as_expr=false
  13572. fi
  13573.  
  13574. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  13575.   as_basename=basename
  13576. else
  13577.   as_basename=false
  13578. fi
  13579.  
  13580. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  13581.   as_dirname=dirname
  13582. else
  13583.   as_dirname=false
  13584. fi
  13585.  
  13586. as_me=`$as_basename -- "$0" ||
  13587. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  13588.      X"$0" : 'X\(//\)$' \| \
  13589.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  13590. $as_echo X/"$0" |
  13591.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  13592.         s//\1/
  13593.         q
  13594.       }
  13595.       /^X\/\(\/\/\)$/{
  13596.         s//\1/
  13597.         q
  13598.       }
  13599.       /^X\/\(\/\).*/{
  13600.         s//\1/
  13601.         q
  13602.       }
  13603.       s/.*/./; q'`
  13604.  
  13605. # Avoid depending upon Character Ranges.
  13606. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  13607. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  13608. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  13609. as_cr_digits='0123456789'
  13610. as_cr_alnum=$as_cr_Letters$as_cr_digits
  13611.  
  13612. ECHO_C= ECHO_N= ECHO_T=
  13613. case `echo -n x` in #(((((
  13614. -n*)
  13615.   case `echo 'xy\c'` in
  13616.   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  13617.   xy)  ECHO_C='\c';;
  13618.   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  13619.        ECHO_T=' ';;
  13620.   esac;;
  13621. *)
  13622.   ECHO_N='-n';;
  13623. esac
  13624.  
  13625. rm -f conf$$ conf$$.exe conf$$.file
  13626. if test -d conf$$.dir; then
  13627.   rm -f conf$$.dir/conf$$.file
  13628. else
  13629.   rm -f conf$$.dir
  13630.   mkdir conf$$.dir 2>/dev/null
  13631. fi
  13632. if (echo >conf$$.file) 2>/dev/null; then
  13633.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  13634.     as_ln_s='ln -s'
  13635.     # ... but there are two gotchas:
  13636.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  13637.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  13638.     # In both cases, we have to default to `cp -pR'.
  13639.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  13640.       as_ln_s='cp -pR'
  13641.   elif ln conf$$.file conf$$ 2>/dev/null; then
  13642.     as_ln_s=ln
  13643.   else
  13644.     as_ln_s='cp -pR'
  13645.   fi
  13646. else
  13647.   as_ln_s='cp -pR'
  13648. fi
  13649. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  13650. rmdir conf$$.dir 2>/dev/null
  13651.  
  13652.  
  13653. # as_fn_mkdir_p
  13654. # -------------
  13655. # Create "$as_dir" as a directory, including parents if necessary.
  13656. as_fn_mkdir_p ()
  13657. {
  13658.  
  13659.   case $as_dir in #(
  13660.   -*) as_dir=./$as_dir;;
  13661.   esac
  13662.   test -d "$as_dir" || eval $as_mkdir_p || {
  13663.     as_dirs=
  13664.     while :; do
  13665.       case $as_dir in #(
  13666.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  13667.       *) as_qdir=$as_dir;;
  13668.       esac
  13669.       as_dirs="'$as_qdir' $as_dirs"
  13670.       as_dir=`$as_dirname -- "$as_dir" ||
  13671. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13672.      X"$as_dir" : 'X\(//\)[^/]' \| \
  13673.      X"$as_dir" : 'X\(//\)$' \| \
  13674.      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  13675. $as_echo X"$as_dir" |
  13676.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13677.         s//\1/
  13678.         q
  13679.       }
  13680.       /^X\(\/\/\)[^/].*/{
  13681.         s//\1/
  13682.         q
  13683.       }
  13684.       /^X\(\/\/\)$/{
  13685.         s//\1/
  13686.         q
  13687.       }
  13688.       /^X\(\/\).*/{
  13689.         s//\1/
  13690.         q
  13691.       }
  13692.       s/.*/./; q'`
  13693.       test -d "$as_dir" && break
  13694.     done
  13695.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  13696.   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  13697.  
  13698.  
  13699. } # as_fn_mkdir_p
  13700. if mkdir -p . 2>/dev/null; then
  13701.   as_mkdir_p='mkdir -p "$as_dir"'
  13702. else
  13703.   test -d ./-p && rmdir ./-p
  13704.   as_mkdir_p=false
  13705. fi
  13706.  
  13707.  
  13708. # as_fn_executable_p FILE
  13709. # -----------------------
  13710. # Test if FILE is an executable regular file.
  13711. as_fn_executable_p ()
  13712. {
  13713.   test -f "$1" && test -x "$1"
  13714. } # as_fn_executable_p
  13715. as_test_x='test -x'
  13716. as_executable_p=as_fn_executable_p
  13717.  
  13718. # Sed expression to map a string onto a valid CPP name.
  13719. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  13720.  
  13721. # Sed expression to map a string onto a valid variable name.
  13722. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  13723.  
  13724.  
  13725. exec 6>&1
  13726. ## ----------------------------------- ##
  13727. ## Main body of $CONFIG_STATUS script. ##
  13728. ## ----------------------------------- ##
  13729. _ASEOF
  13730. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  13731.  
  13732. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13733. # Save the log message, to keep $0 and so on meaningful, and to
  13734. # report actual input values of CONFIG_FILES etc. instead of their
  13735. # values after options handling.
  13736. ac_log="
  13737. This file was extended by motoko $as_me 0.1.0, which was
  13738. generated by GNU Autoconf 2.69.  Invocation command line was
  13739.  
  13740.  CONFIG_FILES    = $CONFIG_FILES
  13741.  CONFIG_HEADERS  = $CONFIG_HEADERS
  13742.  CONFIG_LINKS    = $CONFIG_LINKS
  13743.  CONFIG_COMMANDS = $CONFIG_COMMANDS
  13744.  $ $0 $@
  13745.  
  13746. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  13747. "
  13748.  
  13749. _ACEOF
  13750.  
  13751. case $ac_config_files in *"
  13752. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  13753. esac
  13754.  
  13755. case $ac_config_headers in *"
  13756. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  13757. esac
  13758.  
  13759.  
  13760. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13761. # Files that config.status was made for.
  13762. config_files="$ac_config_files"
  13763. config_headers="$ac_config_headers"
  13764. config_commands="$ac_config_commands"
  13765.  
  13766. _ACEOF
  13767.  
  13768. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13769. ac_cs_usage="\
  13770. \`$as_me' instantiates files and other configuration actions
  13771. from templates according to the current configuration.  Unless the files
  13772. and actions are specified as TAGs, all are instantiated by default.
  13773.  
  13774. Usage: $0 [OPTION]... [TAG]...
  13775.  
  13776.  -h, --help       print this help, then exit
  13777.  -V, --version    print version number and configuration settings, then exit
  13778.      --config     print configuration, then exit
  13779.  -q, --quiet, --silent
  13780.                   do not print progress messages
  13781.  -d, --debug      don't remove temporary files
  13782.      --recheck    update $as_me by reconfiguring in the same conditions
  13783.      --file=FILE[:TEMPLATE]
  13784.                   instantiate the configuration file FILE
  13785.      --header=FILE[:TEMPLATE]
  13786.                   instantiate the configuration header FILE
  13787.  
  13788. Configuration files:
  13789. $config_files
  13790.  
  13791. Configuration headers:
  13792. $config_headers
  13793.  
  13794. Configuration commands:
  13795. $config_commands
  13796.  
  13797. Report bugs to the package provider."
  13798.  
  13799. _ACEOF
  13800. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13801. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  13802. ac_cs_version="\\
  13803. motoko config.status 0.1.0
  13804. configured by $0, generated by GNU Autoconf 2.69,
  13805.  with options \\"\$ac_cs_config\\"
  13806.  
  13807. Copyright (C) 2012 Free Software Foundation, Inc.
  13808. This config.status script is free software; the Free Software Foundation
  13809. gives unlimited permission to copy, distribute and modify it."
  13810.  
  13811. ac_pwd='$ac_pwd'
  13812. srcdir='$srcdir'
  13813. INSTALL='$INSTALL'
  13814. MKDIR_P='$MKDIR_P'
  13815. AWK='$AWK'
  13816. test -n "\$AWK" || AWK=awk
  13817. _ACEOF
  13818.  
  13819. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13820. # The default lists apply if the user does not specify any file.
  13821. ac_need_defaults=:
  13822. while test $# != 0
  13823. do
  13824.   case $1 in
  13825.   --*=?*)
  13826.     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  13827.     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  13828.     ac_shift=:
  13829.     ;;
  13830.   --*=)
  13831.     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  13832.     ac_optarg=
  13833.     ac_shift=:
  13834.     ;;
  13835.   *)
  13836.     ac_option=$1
  13837.     ac_optarg=$2
  13838.     ac_shift=shift
  13839.     ;;
  13840.   esac
  13841.  
  13842.   case $ac_option in
  13843.   # Handling of the options.
  13844.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  13845.     ac_cs_recheck=: ;;
  13846.   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  13847.     $as_echo "$ac_cs_version"; exit ;;
  13848.   --config | --confi | --conf | --con | --co | --c )
  13849.     $as_echo "$ac_cs_config"; exit ;;
  13850.   --debug | --debu | --deb | --de | --d | -d )
  13851.     debug=: ;;
  13852.   --file | --fil | --fi | --f )
  13853.     $ac_shift
  13854.     case $ac_optarg in
  13855.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  13856.    '') as_fn_error $? "missing file argument" ;;
  13857.    esac
  13858.    as_fn_append CONFIG_FILES " '$ac_optarg'"
  13859.    ac_need_defaults=false;;
  13860.  --header | --heade | --head | --hea )
  13861.    $ac_shift
  13862.    case $ac_optarg in
  13863.    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  13864.    esac
  13865.    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  13866.    ac_need_defaults=false;;
  13867.  --he | --h)
  13868.    # Conflict between --help and --header
  13869.    as_fn_error $? "ambiguous option: \`$1'
  13870. Try \`$0 --help' for more information.";;
  13871.  --help | --hel | -h )
  13872.    $as_echo "$ac_cs_usage"; exit ;;
  13873.  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  13874.  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  13875.    ac_cs_silent=: ;;
  13876.  
  13877.  # This is an error.
  13878.  -*) as_fn_error $? "unrecognized option: \`$1'
  13879. Try \`$0 --help' for more information." ;;
  13880.  
  13881.  *) as_fn_append ac_config_targets " $1"
  13882.     ac_need_defaults=false ;;
  13883.  
  13884.  esac
  13885.  shift
  13886. done
  13887.  
  13888. ac_configure_extra_args=
  13889.  
  13890. if $ac_cs_silent; then
  13891.  exec 6>/dev/null
  13892.  ac_configure_extra_args="$ac_configure_extra_args --silent"
  13893. fi
  13894.  
  13895. _ACEOF
  13896. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13897. if \$ac_cs_recheck; then
  13898.  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  13899.  shift
  13900.  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  13901.  CONFIG_SHELL='$SHELL'
  13902.  export CONFIG_SHELL
  13903.  exec "\$@"
  13904. fi
  13905.  
  13906. _ACEOF
  13907. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13908. exec 5>>config.log
  13909. {
  13910.  echo
  13911.  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  13912. ## Running $as_me. ##
  13913. _ASBOX
  13914.   $as_echo "$ac_log"
  13915. } >&5
  13916.  
  13917. _ACEOF
  13918. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13919. #
  13920. # INIT-COMMANDS
  13921. #
  13922. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  13923.  
  13924.  
  13925. # The HP-UX ksh and POSIX shell print the target directory to stdout
  13926. # if CDPATH is set.
  13927. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  13928.  
  13929. sed_quote_subst='$sed_quote_subst'
  13930. double_quote_subst='$double_quote_subst'
  13931. delay_variable_subst='$delay_variable_subst'
  13932. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  13933. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  13934. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  13935. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  13936. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  13937. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  13938. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  13939. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  13940. PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  13941. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  13942. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  13943. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  13944. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  13945. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  13946. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  13947. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  13948. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  13949. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  13950. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  13951. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  13952. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  13953. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  13954. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  13955. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  13956. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  13957. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  13958. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  13959. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  13960. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  13961. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  13962. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  13963. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  13964. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  13965. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  13966. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  13967. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  13968. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  13969. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  13970. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  13971. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  13972. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  13973. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  13974. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  13975. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  13976. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  13977. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  13978. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  13979. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  13980. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  13981. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  13982. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  13983. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  13984. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  13985. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  13986. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  13987. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  13988. lt_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"`'
  13989. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  13990. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  13991. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  13992. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  13993. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  13994. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  13995. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  13996. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  13997. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  13998. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  13999. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  14000. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  14001. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  14002. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  14003. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  14004. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  14005. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  14006. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  14007. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  14008. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  14009. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  14010. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  14011. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  14012. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  14013. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  14014. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  14015. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  14016. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  14017. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  14018. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  14019. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  14020. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  14021. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  14022. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  14023. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  14024. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  14025. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  14026. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  14027. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  14028. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  14029. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  14030. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  14031. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  14032. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  14033. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  14034. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  14035. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  14036. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  14037. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  14038. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  14039. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  14040. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  14041. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  14042. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  14043. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  14044. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  14045. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  14046. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  14047. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  14048. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  14049. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  14050. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  14051. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  14052. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  14053. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  14054. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  14055. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  14056. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  14057. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  14058. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  14059. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  14060. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  14061. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  14062.  
  14063. LTCC='$LTCC'
  14064. LTCFLAGS='$LTCFLAGS'
  14065. compiler='$compiler_DEFAULT'
  14066.  
  14067. # A function that is used when there is no print builtin or printf.
  14068. func_fallback_echo ()
  14069. {
  14070.   eval 'cat <<_LTECHO_EOF
  14071. \$1
  14072. _LTECHO_EOF'
  14073. }
  14074.  
  14075. # Quote evaled strings.
  14076. for var in SHELL \
  14077. ECHO \
  14078. PATH_SEPARATOR \
  14079. SED \
  14080. GREP \
  14081. EGREP \
  14082. FGREP \
  14083. LD \
  14084. NM \
  14085. LN_S \
  14086. lt_SP2NL \
  14087. lt_NL2SP \
  14088. reload_flag \
  14089. OBJDUMP \
  14090. deplibs_check_method \
  14091. file_magic_cmd \
  14092. file_magic_glob \
  14093. want_nocaseglob \
  14094. DLLTOOL \
  14095. sharedlib_from_linklib_cmd \
  14096. AR \
  14097. AR_FLAGS \
  14098. archiver_list_spec \
  14099. STRIP \
  14100. RANLIB \
  14101. CC \
  14102. CFLAGS \
  14103. compiler \
  14104. lt_cv_sys_global_symbol_pipe \
  14105. lt_cv_sys_global_symbol_to_cdecl \
  14106. lt_cv_sys_global_symbol_to_c_name_address \
  14107. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  14108. nm_file_list_spec \
  14109. lt_prog_compiler_no_builtin_flag \
  14110. lt_prog_compiler_pic \
  14111. lt_prog_compiler_wl \
  14112. lt_prog_compiler_static \
  14113. lt_cv_prog_compiler_c_o \
  14114. need_locks \
  14115. MANIFEST_TOOL \
  14116. DSYMUTIL \
  14117. NMEDIT \
  14118. LIPO \
  14119. OTOOL \
  14120. OTOOL64 \
  14121. shrext_cmds \
  14122. export_dynamic_flag_spec \
  14123. whole_archive_flag_spec \
  14124. compiler_needs_object \
  14125. with_gnu_ld \
  14126. allow_undefined_flag \
  14127. no_undefined_flag \
  14128. hardcode_libdir_flag_spec \
  14129. hardcode_libdir_separator \
  14130. exclude_expsyms \
  14131. include_expsyms \
  14132. file_list_spec \
  14133. variables_saved_for_relink \
  14134. libname_spec \
  14135. library_names_spec \
  14136. soname_spec \
  14137. install_override_mode \
  14138. finish_eval \
  14139. old_striplib \
  14140. striplib; do
  14141.     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  14142.     *[\\\\\\\`\\"\\\$]*)
  14143.      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  14144.      ;;
  14145.    *)
  14146.      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  14147.      ;;
  14148.    esac
  14149. done
  14150.  
  14151. # Double-quote double-evaled strings.
  14152. for var in reload_cmds \
  14153. old_postinstall_cmds \
  14154. old_postuninstall_cmds \
  14155. old_archive_cmds \
  14156. extract_expsyms_cmds \
  14157. old_archive_from_new_cmds \
  14158. old_archive_from_expsyms_cmds \
  14159. archive_cmds \
  14160. archive_expsym_cmds \
  14161. module_cmds \
  14162. module_expsym_cmds \
  14163. export_symbols_cmds \
  14164. prelink_cmds \
  14165. postlink_cmds \
  14166. postinstall_cmds \
  14167. postuninstall_cmds \
  14168. finish_cmds \
  14169. sys_lib_search_path_spec \
  14170. sys_lib_dlsearch_path_spec; do
  14171.    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  14172.    *[\\\\\\\`\\"\\\$]*)
  14173.       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  14174.       ;;
  14175.     *)
  14176.       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  14177.       ;;
  14178.     esac
  14179. done
  14180.  
  14181. ac_aux_dir='$ac_aux_dir'
  14182. xsi_shell='$xsi_shell'
  14183. lt_shell_append='$lt_shell_append'
  14184.  
  14185. # See if we are running on zsh, and set the options which allow our
  14186. # commands through without removal of \ escapes INIT.
  14187. if test -n "\${ZSH_VERSION+set}" ; then
  14188.    setopt NO_GLOB_SUBST
  14189. fi
  14190.  
  14191.  
  14192.     PACKAGE='$PACKAGE'
  14193.     VERSION='$VERSION'
  14194.     TIMESTAMP='$TIMESTAMP'
  14195.     RM='$RM'
  14196.     ofile='$ofile'
  14197.  
  14198.  
  14199.  
  14200.  
  14201. _ACEOF
  14202.  
  14203. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14204.  
  14205. # Handling of arguments.
  14206. for ac_config_target in $ac_config_targets
  14207. do
  14208.   case $ac_config_target in
  14209.     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  14210.     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  14211.     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  14212.     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  14213.     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  14214.     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
  14215.     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  14216.     "lib/util/Makefile") CONFIG_FILES="$CONFIG_FILES lib/util/Makefile" ;;
  14217.     "lib/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/Makefile" ;;
  14218.     "lib/plugins/bncs_login/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/bncs_login/Makefile" ;;
  14219.     "lib/plugins/mcp_login/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/mcp_login/Makefile" ;;
  14220.     "lib/plugins/mcp_game/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/mcp_game/Makefile" ;;
  14221.     "lib/plugins/d2gs_chicken/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/d2gs_chicken/Makefile" ;;
  14222.     "lib/plugins/d2gs_pickit/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/d2gs_pickit/Makefile" ;;
  14223.     "lib/plugins/d2gs_pes/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/d2gs_pes/Makefile" ;;
  14224.     "lib/plugins/d2gs_dclone/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/d2gs_dclone/Makefile" ;;
  14225.     "lib/plugins/d2gs_meph/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/d2gs_meph/Makefile" ;;
  14226.     "lib/plugins/d2gs_pathing/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/d2gs_pathing/Makefile" ;;
  14227.     "lib/plugins/d2gs_record/Makefile") CONFIG_FILES="$CONFIG_FILES lib/plugins/d2gs_record/Makefile" ;;
  14228.  
  14229.   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  14230.   esac
  14231. done
  14232.  
  14233.  
  14234. # If the user did not use the arguments to specify the items to instantiate,
  14235. # then the envvar interface is used.  Set only those that are not.
  14236. # We use the long form for the default assignment because of an extremely
  14237. # bizarre bug on SunOS 4.1.3.
  14238. if $ac_need_defaults; then
  14239.   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  14240.   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  14241.   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  14242. fi
  14243.  
  14244. # Have a temporary directory for convenience.  Make it in the build tree
  14245. # simply because there is no reason against having it here, and in addition,
  14246. # creating and moving files from /tmp can sometimes cause problems.
  14247. # Hook for its removal unless debugging.
  14248. # Note that there is a small window in which the directory will not be cleaned:
  14249. # after its creation but before its name has been assigned to `$tmp'.
  14250. $debug ||
  14251. {
  14252.   tmp= ac_tmp=
  14253.   trap 'exit_status=$?
  14254.  : "${ac_tmp:=$tmp}"
  14255.  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  14256. ' 0
  14257.   trap 'as_fn_exit 1' 1 2 13 15
  14258. }
  14259. # Create a (secure) tmp directory for tmp files.
  14260.  
  14261. {
  14262.   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  14263.   test -d "$tmp"
  14264. }  ||
  14265. {
  14266.   tmp=./conf$$-$RANDOM
  14267.   (umask 077 && mkdir "$tmp")
  14268. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  14269. ac_tmp=$tmp
  14270.  
  14271. # Set up the scripts for CONFIG_FILES section.
  14272. # No need to generate them if there are no CONFIG_FILES.
  14273. # This happens for instance with `./config.status config.h'.
  14274. if test -n "$CONFIG_FILES"; then
  14275.  
  14276.  
  14277. ac_cr=`echo X | tr X '\015'`
  14278. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  14279. # But we know of no other shell where ac_cr would be empty at this
  14280. # point, so we can use a bashism as a fallback.
  14281. if test "x$ac_cr" = x; then
  14282.   eval ac_cr=\$\'\\r\'
  14283. fi
  14284. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  14285. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  14286.  ac_cs_awk_cr='\\r'
  14287. else
  14288.  ac_cs_awk_cr=$ac_cr
  14289. fi
  14290.  
  14291. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  14292. _ACEOF
  14293.  
  14294.  
  14295. {
  14296.  echo "cat >conf$$subs.awk <<_ACEOF" &&
  14297.  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  14298.  echo "_ACEOF"
  14299. } >conf$$subs.sh ||
  14300.  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  14301. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  14302. ac_delim='%!_!# '
  14303. for ac_last_try in false false false false false :; do
  14304.   . ./conf$$subs.sh ||
  14305.     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  14306.  
  14307.   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  14308.   if test $ac_delim_n = $ac_delim_num; then
  14309.     break
  14310.   elif $ac_last_try; then
  14311.     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  14312.   else
  14313.     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  14314.   fi
  14315. done
  14316. rm -f conf$$subs.sh
  14317.  
  14318. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14319. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  14320. _ACEOF
  14321. sed -n '
  14322. h
  14323. s/^/S["/; s/!.*/"]=/
  14324. p
  14325. g
  14326. s/^[^!]*!//
  14327. :repl
  14328. t repl
  14329. s/'"$ac_delim"'$//
  14330. t delim
  14331. :nl
  14332. h
  14333. s/\(.\{148\}\)..*/\1/
  14334. t more1
  14335. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  14336. p
  14337. n
  14338. b repl
  14339. :more1
  14340. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  14341. p
  14342. g
  14343. s/.\{148\}//
  14344. t nl
  14345. :delim
  14346. h
  14347. s/\(.\{148\}\)..*/\1/
  14348. t more2
  14349. s/["\\]/\\&/g; s/^/"/; s/$/"/
  14350. p
  14351. b
  14352. :more2
  14353. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  14354. p
  14355. g
  14356. s/.\{148\}//
  14357. t delim
  14358. ' <conf$$subs.awk | sed '
  14359. /^[^""]/{
  14360.  N
  14361.  s/\n//
  14362. }
  14363. ' >>$CONFIG_STATUS || ac_write_fail=1
  14364. rm -f conf$$subs.awk
  14365. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14366. _ACAWK
  14367. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  14368.   for (key in S) S_is_set[key] = 1
  14369.   FS = ""
  14370.  
  14371. }
  14372. {
  14373.   line = $ 0
  14374.   nfields = split(line, field, "@")
  14375.   substed = 0
  14376.   len = length(field[1])
  14377.   for (i = 2; i < nfields; i++) {
  14378.     key = field[i]
  14379.     keylen = length(key)
  14380.     if (S_is_set[key]) {
  14381.       value = S[key]
  14382.       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  14383.       len += length(value) + length(field[++i])
  14384.       substed = 1
  14385.     } else
  14386.       len += 1 + keylen
  14387.   }
  14388.  
  14389.   print line
  14390. }
  14391.  
  14392. _ACAWK
  14393. _ACEOF
  14394. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14395. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  14396.   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  14397. else
  14398.   cat
  14399. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  14400.   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  14401. _ACEOF
  14402.  
  14403. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  14404. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  14405. # trailing colons and then remove the whole line if VPATH becomes empty
  14406. # (actually we leave an empty line to preserve line numbers).
  14407. if test "x$srcdir" = x.; then
  14408.   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
  14409. h
  14410. s///
  14411. s/^/:/
  14412. s/[  ]*$/:/
  14413. s/:\$(srcdir):/:/g
  14414. s/:\${srcdir}:/:/g
  14415. s/:@srcdir@:/:/g
  14416. s/^:*//
  14417. s/:*$//
  14418. x
  14419. s/\(=[   ]*\).*/\1/
  14420. G
  14421. s/\n//
  14422. s/^[^=]*=[   ]*$//
  14423. }'
  14424. fi
  14425.  
  14426. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14427. fi # test -n "$CONFIG_FILES"
  14428.  
  14429. # Set up the scripts for CONFIG_HEADERS section.
  14430. # No need to generate them if there are no CONFIG_HEADERS.
  14431. # This happens for instance with `./config.status Makefile'.
  14432. if test -n "$CONFIG_HEADERS"; then
  14433. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  14434. BEGIN {
  14435. _ACEOF
  14436.  
  14437. # Transform confdefs.h into an awk script `defines.awk', embedded as
  14438. # here-document in config.status, that substitutes the proper values into
  14439. # config.h.in to produce config.h.
  14440.  
  14441. # Create a delimiter string that does not exist in confdefs.h, to ease
  14442. # handling of long lines.
  14443. ac_delim='%!_!# '
  14444. for ac_last_try in false false :; do
  14445.   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  14446.   if test -z "$ac_tt"; then
  14447.     break
  14448.   elif $ac_last_try; then
  14449.     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  14450.   else
  14451.     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  14452.   fi
  14453. done
  14454.  
  14455. # For the awk script, D is an array of macro values keyed by name,
  14456. # likewise P contains macro parameters if any.  Preserve backslash
  14457. # newline sequences.
  14458.  
  14459. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  14460. sed -n '
  14461. s/.\{148\}/&'"$ac_delim"'/g
  14462. t rset
  14463. :rset
  14464. s/^[     ]*#[    ]*define[   ][  ]*/ /
  14465. t def
  14466. d
  14467. :def
  14468. s/\\$//
  14469. t bsnl
  14470. s/["\\]/\\&/g
  14471. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
  14472. D["\1"]=" \3"/p
  14473. s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
  14474. d
  14475. :bsnl
  14476. s/["\\]/\\&/g
  14477. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
  14478. D["\1"]=" \3\\\\\\n"\\/p
  14479. t cont
  14480. s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  14481. t cont
  14482. d
  14483. :cont
  14484. n
  14485. s/.\{148\}/&'"$ac_delim"'/g
  14486. t clear
  14487. :clear
  14488. s/\\$//
  14489. t bsnlc
  14490. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  14491. d
  14492. :bsnlc
  14493. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  14494. b cont
  14495. ' <confdefs.h | sed '
  14496. s/'"$ac_delim"'/"\\\
  14497. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  14498.  
  14499. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14500.   for (key in D) D_is_set[key] = 1
  14501.   FS = ""
  14502. }
  14503. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  14504.   line = \$ 0
  14505.   split(line, arg, " ")
  14506.   if (arg[1] == "#") {
  14507.     defundef = arg[2]
  14508.     mac1 = arg[3]
  14509.   } else {
  14510.     defundef = substr(arg[1], 2)
  14511.     mac1 = arg[2]
  14512.   }
  14513.   split(mac1, mac2, "(") #)
  14514.   macro = mac2[1]
  14515.   prefix = substr(line, 1, index(line, defundef) - 1)
  14516.   if (D_is_set[macro]) {
  14517.     # Preserve the white space surrounding the "#".
  14518.     print prefix "define", macro P[macro] D[macro]
  14519.     next
  14520.   } else {
  14521.     # Replace #undef with comments.  This is necessary, for example,
  14522.     # in the case of _POSIX_SOURCE, which is predefined and required
  14523.     # on some systems where configure will not decide to define it.
  14524.     if (defundef == "undef") {
  14525.       print "/*", prefix defundef, macro, "*/"
  14526.       next
  14527.     }
  14528.   }
  14529. }
  14530. { print }
  14531. _ACAWK
  14532. _ACEOF
  14533. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14534.   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  14535. fi # test -n "$CONFIG_HEADERS"
  14536.  
  14537.  
  14538. eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
  14539. shift
  14540. for ac_tag
  14541. do
  14542.   case $ac_tag in
  14543.   :[FHLC]) ac_mode=$ac_tag; continue;;
  14544.   esac
  14545.   case $ac_mode$ac_tag in
  14546.   :[FHL]*:*);;
  14547.   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  14548.   :[FH]-) ac_tag=-:-;;
  14549.   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  14550.   esac
  14551.   ac_save_IFS=$IFS
  14552.   IFS=:
  14553.   set x $ac_tag
  14554.   IFS=$ac_save_IFS
  14555.   shift
  14556.   ac_file=$1
  14557.   shift
  14558.  
  14559.   case $ac_mode in
  14560.   :L) ac_source=$1;;
  14561.   :[FH])
  14562.     ac_file_inputs=
  14563.     for ac_f
  14564.     do
  14565.       case $ac_f in
  14566.       -) ac_f="$ac_tmp/stdin";;
  14567.       *) # Look for the file first in the build tree, then in the source tree
  14568.      # (if the path is not absolute).  The absolute path cannot be DOS-style,
  14569.      # because $ac_f cannot contain `:'.
  14570.      test -f "$ac_f" ||
  14571.        case $ac_f in
  14572.        [\\/$]*) false;;
  14573.        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  14574.        esac ||
  14575.        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  14576.       esac
  14577.       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  14578.      as_fn_append ac_file_inputs " '$ac_f'"
  14579.    done
  14580.  
  14581.    # Let's still pretend it is `configure' which instantiates (i.e., don't
  14582.     # use $as_me), people would be surprised to read:
  14583.     #    /* config.h.  Generated by config.status.  */
  14584.     configure_input='Generated from '`
  14585.       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  14586.     `' by configure.'
  14587.     if test x"$ac_file" != x-; then
  14588.       configure_input="$ac_file.  $configure_input"
  14589.       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  14590. $as_echo "$as_me: creating $ac_file" >&6;}
  14591.     fi
  14592.     # Neutralize special characters interpreted by sed in replacement strings.
  14593.     case $configure_input in #(
  14594.     *\&* | *\|* | *\\* )
  14595.        ac_sed_conf_input=`$as_echo "$configure_input" |
  14596.        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  14597.     *) ac_sed_conf_input=$configure_input;;
  14598.     esac
  14599.  
  14600.     case $ac_tag in
  14601.     *:-:* | *:-) cat >"$ac_tmp/stdin" \
  14602.       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  14603.     esac
  14604.     ;;
  14605.   esac
  14606.  
  14607.   ac_dir=`$as_dirname -- "$ac_file" ||
  14608. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14609.      X"$ac_file" : 'X\(//\)[^/]' \| \
  14610.      X"$ac_file" : 'X\(//\)$' \| \
  14611.      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  14612. $as_echo X"$ac_file" |
  14613.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14614.         s//\1/
  14615.         q
  14616.       }
  14617.       /^X\(\/\/\)[^/].*/{
  14618.         s//\1/
  14619.         q
  14620.       }
  14621.       /^X\(\/\/\)$/{
  14622.         s//\1/
  14623.         q
  14624.       }
  14625.       /^X\(\/\).*/{
  14626.         s//\1/
  14627.         q
  14628.       }
  14629.       s/.*/./; q'`
  14630.   as_dir="$ac_dir"; as_fn_mkdir_p
  14631.   ac_builddir=.
  14632.  
  14633. case "$ac_dir" in
  14634. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  14635. *)
  14636.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  14637.   # A ".." for each directory in $ac_dir_suffix.
  14638.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  14639.   case $ac_top_builddir_sub in
  14640.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  14641.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  14642.   esac ;;
  14643. esac
  14644. ac_abs_top_builddir=$ac_pwd
  14645. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  14646. # for backward compatibility:
  14647. ac_top_builddir=$ac_top_build_prefix
  14648.  
  14649. case $srcdir in
  14650.   .)  # We are building in place.
  14651.     ac_srcdir=.
  14652.     ac_top_srcdir=$ac_top_builddir_sub
  14653.     ac_abs_top_srcdir=$ac_pwd ;;
  14654.   [\\/]* | ?:[\\/]* )  # Absolute name.
  14655.     ac_srcdir=$srcdir$ac_dir_suffix;
  14656.     ac_top_srcdir=$srcdir
  14657.     ac_abs_top_srcdir=$srcdir ;;
  14658.   *) # Relative name.
  14659.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  14660.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  14661.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  14662. esac
  14663. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  14664.  
  14665.  
  14666.   case $ac_mode in
  14667.   :F)
  14668.   #
  14669.   # CONFIG_FILE
  14670.   #
  14671.  
  14672.   case $INSTALL in
  14673.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  14674.   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  14675.   esac
  14676.   ac_MKDIR_P=$MKDIR_P
  14677.   case $MKDIR_P in
  14678.   [\\/$]* | ?:[\\/]* ) ;;
  14679.   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  14680.   esac
  14681. _ACEOF
  14682.  
  14683. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14684. # If the template does not know about datarootdir, expand it.
  14685. # FIXME: This hack should be removed a few years after 2.60.
  14686. ac_datarootdir_hack=; ac_datarootdir_seen=
  14687. ac_sed_dataroot='
  14688. /datarootdir/ {
  14689.   p
  14690.   q
  14691. }
  14692. /@datadir@/p
  14693. /@docdir@/p
  14694. /@infodir@/p
  14695. /@localedir@/p
  14696. /@mandir@/p'
  14697. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  14698. *datarootdir*) ac_datarootdir_seen=yes;;
  14699. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  14700.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  14701. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  14702. _ACEOF
  14703. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14704.   ac_datarootdir_hack='
  14705.   s&@datadir@&$datadir&g
  14706.   s&@docdir@&$docdir&g
  14707.   s&@infodir@&$infodir&g
  14708.   s&@localedir@&$localedir&g
  14709.   s&@mandir@&$mandir&g
  14710.   s&\\\${datarootdir}&$datarootdir&g' ;;
  14711. esac
  14712. _ACEOF
  14713.  
  14714. # Neutralize VPATH when `$srcdir' = `.'.
  14715. # Shell code in configure.ac might set extrasub.
  14716. # FIXME: do we really want to maintain this feature?
  14717. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14718. ac_sed_extra="$ac_vpsub
  14719. $extrasub
  14720. _ACEOF
  14721. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14722. :t
  14723. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  14724. s|@configure_input@|$ac_sed_conf_input|;t t
  14725. s&@top_builddir@&$ac_top_builddir_sub&;t t
  14726. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  14727. s&@srcdir@&$ac_srcdir&;t t
  14728. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  14729. s&@top_srcdir@&$ac_top_srcdir&;t t
  14730. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  14731. s&@builddir@&$ac_builddir&;t t
  14732. s&@abs_builddir@&$ac_abs_builddir&;t t
  14733. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  14734. s&@INSTALL@&$ac_INSTALL&;t t
  14735. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  14736. $ac_datarootdir_hack
  14737. "
  14738. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  14739.   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  14740.  
  14741. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  14742.   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  14743.   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
  14744.       "$ac_tmp/out"`; test -z "$ac_out"; } &&
  14745.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  14746. which seems to be undefined.  Please make sure it is defined" >&5
  14747. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  14748. which seems to be undefined.  Please make sure it is defined" >&2;}
  14749.  
  14750.   rm -f "$ac_tmp/stdin"
  14751.   case $ac_file in
  14752.   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  14753.   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  14754.   esac \
  14755.   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  14756.  ;;
  14757.   :H)
  14758.   #
  14759.   # CONFIG_HEADER
  14760.   #
  14761.   if test x"$ac_file" != x-; then
  14762.     {
  14763.       $as_echo "/* $configure_input  */" \
  14764.      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  14765.    } >"$ac_tmp/config.h" \
  14766.      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  14767.    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  14768.      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  14769. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  14770.    else
  14771.      rm -f "$ac_file"
  14772.      mv "$ac_tmp/config.h" "$ac_file" \
  14773.     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  14774.    fi
  14775.  else
  14776.    $as_echo "/* $configure_input  */" \
  14777.      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  14778.      || as_fn_error $? "could not create -" "$LINENO" 5
  14779.  fi
  14780. # Compute "$ac_file"'s index in $config_headers.
  14781. _am_arg="$ac_file"
  14782. _am_stamp_count=1
  14783. for _am_header in $config_headers :; do
  14784.  case $_am_header in
  14785.    $_am_arg | $_am_arg:* )
  14786.      break ;;
  14787.    * )
  14788.      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  14789.  esac
  14790. done
  14791. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  14792. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14793.      X"$_am_arg" : 'X\(//\)[^/]' \| \
  14794.      X"$_am_arg" : 'X\(//\)$' \| \
  14795.      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  14796. $as_echo X"$_am_arg" |
  14797.    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14798.         s//\1/
  14799.         q
  14800.       }
  14801.       /^X\(\/\/\)[^/].*/{
  14802.         s//\1/
  14803.         q
  14804.       }
  14805.       /^X\(\/\/\)$/{
  14806.         s//\1/
  14807.         q
  14808.       }
  14809.       /^X\(\/\).*/{
  14810.         s//\1/
  14811.         q
  14812.       }
  14813.       s/.*/./; q'`/stamp-h$_am_stamp_count
  14814. ;;
  14815.  
  14816.  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  14817. $as_echo "$as_me: executing $ac_file commands" >&6;}
  14818. ;;
  14819.  esac
  14820.  
  14821.  
  14822.  case $ac_file$ac_mode in
  14823.    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  14824.  # Older Autoconf quotes --file arguments for eval, but not when files
  14825.  # are listed without --file.  Let's play safe and only enable the eval
  14826.  # if we detect the quoting.
  14827.  case $CONFIG_FILES in
  14828.  *\'*) eval set x "$CONFIG_FILES" ;;
  14829.  *)   set x $CONFIG_FILES ;;
  14830.  esac
  14831.  shift
  14832.  for mf
  14833.  do
  14834.    # Strip MF so we end up with the name of the file.
  14835.    mf=`echo "$mf" | sed -e 's/:.*$//'`
  14836.    # Check whether this is an Automake generated Makefile or not.
  14837.    # We used to match only the files named 'Makefile.in', but
  14838.    # some people rename them; so instead we look at the file content.
  14839.    # Grep'ing the first line is not enough: some people post-process
  14840.    # each Makefile.in and add a new line on top of each file to say so.
  14841.    # Grep'ing the whole file is not good either: AIX grep has a line
  14842.    # limit of 2048, but all sed's we know have understand at least 4000.
  14843.    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  14844.      dirpart=`$as_dirname -- "$mf" ||
  14845. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14846.      X"$mf" : 'X\(//\)[^/]' \| \
  14847.      X"$mf" : 'X\(//\)$' \| \
  14848.      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  14849. $as_echo X"$mf" |
  14850.    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14851.         s//\1/
  14852.         q
  14853.       }
  14854.       /^X\(\/\/\)[^/].*/{
  14855.         s//\1/
  14856.         q
  14857.       }
  14858.       /^X\(\/\/\)$/{
  14859.         s//\1/
  14860.         q
  14861.       }
  14862.       /^X\(\/\).*/{
  14863.         s//\1/
  14864.         q
  14865.       }
  14866.       s/.*/./; q'`
  14867.    else
  14868.      continue
  14869.    fi
  14870.    # Extract the definition of DEPDIR, am__include, and am__quote
  14871.    # from the Makefile without running 'make'.
  14872.    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  14873.    test -z "$DEPDIR" && continue
  14874.    am__include=`sed -n 's/^am__include = //p' < "$mf"`
  14875.    test -z "$am__include" && continue
  14876.    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  14877.    # Find all dependency output files, they are included files with
  14878.    # $(DEPDIR) in their names.  We invoke sed twice because it is the
  14879.    # simplest approach to changing $(DEPDIR) to its actual value in the
  14880.    # expansion.
  14881.    for file in `sed -n "
  14882.       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  14883.      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  14884.      # Make sure the directory exists.
  14885.      test -f "$dirpart/$file" && continue
  14886.      fdir=`$as_dirname -- "$file" ||
  14887. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14888.      X"$file" : 'X\(//\)[^/]' \| \
  14889.      X"$file" : 'X\(//\)$' \| \
  14890.      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  14891. $as_echo X"$file" |
  14892.    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14893.         s//\1/
  14894.         q
  14895.       }
  14896.       /^X\(\/\/\)[^/].*/{
  14897.         s//\1/
  14898.         q
  14899.       }
  14900.       /^X\(\/\/\)$/{
  14901.         s//\1/
  14902.         q
  14903.       }
  14904.       /^X\(\/\).*/{
  14905.         s//\1/
  14906.         q
  14907.       }
  14908.       s/.*/./; q'`
  14909.      as_dir=$dirpart/$fdir; as_fn_mkdir_p
  14910.      # echo "creating $dirpart/$file"
  14911.      echo '# dummy' > "$dirpart/$file"
  14912.    done
  14913.  done
  14914. }
  14915. ;;
  14916.    "libtool":C)
  14917.  
  14918.    # See if we are running on zsh, and set the options which allow our
  14919.    # commands through without removal of \ escapes.
  14920.    if test -n "${ZSH_VERSION+set}" ; then
  14921.      setopt NO_GLOB_SUBST
  14922.    fi
  14923.  
  14924.    cfgfile="${ofile}T"
  14925.    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  14926.     $RM "$cfgfile"
  14927.  
  14928.     cat <<_LT_EOF >> "$cfgfile"
  14929. #! $SHELL
  14930.  
  14931. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  14932. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  14933. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  14934. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  14935. #
  14936. #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  14937. #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  14938. #                 Foundation, Inc.
  14939. #   Written by Gordon Matzigkeit, 1996
  14940. #
  14941. #   This file is part of GNU Libtool.
  14942. #
  14943. # GNU Libtool is free software; you can redistribute it and/or
  14944. # modify it under the terms of the GNU General Public License as
  14945. # published by the Free Software Foundation; either version 2 of
  14946. # the License, or (at your option) any later version.
  14947. #
  14948. # As a special exception to the GNU General Public License,
  14949. # if you distribute this file as part of a program or library that
  14950. # is built using GNU Libtool, you may include this file under the
  14951. # same distribution terms that you use for the rest of that program.
  14952. #
  14953. # GNU Libtool is distributed in the hope that it will be useful,
  14954. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14955. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14956. # GNU General Public License for more details.
  14957. #
  14958. # You should have received a copy of the GNU General Public License
  14959. # along with GNU Libtool; see the file COPYING.  If not, a copy
  14960. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  14961. # obtained by writing to the Free Software Foundation, Inc.,
  14962. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  14963.  
  14964.  
  14965. # The names of the tagged configurations supported by this script.
  14966. available_tags=""
  14967.  
  14968. # ### BEGIN LIBTOOL CONFIG
  14969.  
  14970. # Which release of libtool.m4 was used?
  14971. macro_version=$macro_version
  14972. macro_revision=$macro_revision
  14973.  
  14974. # Whether or not to build shared libraries.
  14975. build_libtool_libs=$enable_shared
  14976.  
  14977. # Whether or not to build static libraries.
  14978. build_old_libs=$enable_static
  14979.  
  14980. # What type of objects to build.
  14981. pic_mode=$pic_mode
  14982.  
  14983. # Whether or not to optimize for fast installation.
  14984. fast_install=$enable_fast_install
  14985.  
  14986. # Shell to use when invoking shell scripts.
  14987. SHELL=$lt_SHELL
  14988.  
  14989. # An echo program that protects backslashes.
  14990. ECHO=$lt_ECHO
  14991.  
  14992. # The PATH separator for the build system.
  14993. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  14994.  
  14995. # The host system.
  14996. host_alias=$host_alias
  14997. host=$host
  14998. host_os=$host_os
  14999.  
  15000. # The build system.
  15001. build_alias=$build_alias
  15002. build=$build
  15003. build_os=$build_os
  15004.  
  15005. # A sed program that does not truncate output.
  15006. SED=$lt_SED
  15007.  
  15008. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  15009. Xsed="\$SED -e 1s/^X//"
  15010.  
  15011. # A grep program that handles long lines.
  15012. GREP=$lt_GREP
  15013.  
  15014. # An ERE matcher.
  15015. EGREP=$lt_EGREP
  15016.  
  15017. # A literal string matcher.
  15018. FGREP=$lt_FGREP
  15019.  
  15020. # A BSD- or MS-compatible name lister.
  15021. NM=$lt_NM
  15022.  
  15023. # Whether we need soft or hard links.
  15024. LN_S=$lt_LN_S
  15025.  
  15026. # What is the maximum length of a command?
  15027. max_cmd_len=$max_cmd_len
  15028.  
  15029. # Object file suffix (normally "o").
  15030. objext=$ac_objext
  15031.  
  15032. # Executable file suffix (normally "").
  15033. exeext=$exeext
  15034.  
  15035. # whether the shell understands "unset".
  15036. lt_unset=$lt_unset
  15037.  
  15038. # turn spaces into newlines.
  15039. SP2NL=$lt_lt_SP2NL
  15040.  
  15041. # turn newlines into spaces.
  15042. NL2SP=$lt_lt_NL2SP
  15043.  
  15044. # convert \$build file names to \$host format.
  15045. to_host_file_cmd=$lt_cv_to_host_file_cmd
  15046.  
  15047. # convert \$build files to toolchain format.
  15048. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  15049.  
  15050. # An object symbol dumper.
  15051. OBJDUMP=$lt_OBJDUMP
  15052.  
  15053. # Method to check whether dependent libraries are shared objects.
  15054. deplibs_check_method=$lt_deplibs_check_method
  15055.  
  15056. # Command to use when deplibs_check_method = "file_magic".
  15057. file_magic_cmd=$lt_file_magic_cmd
  15058.  
  15059. # How to find potential files when deplibs_check_method = "file_magic".
  15060. file_magic_glob=$lt_file_magic_glob
  15061.  
  15062. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  15063. want_nocaseglob=$lt_want_nocaseglob
  15064.  
  15065. # DLL creation program.
  15066. DLLTOOL=$lt_DLLTOOL
  15067.  
  15068. # Command to associate shared and link libraries.
  15069. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  15070.  
  15071. # The archiver.
  15072. AR=$lt_AR
  15073.  
  15074. # Flags to create an archive.
  15075. AR_FLAGS=$lt_AR_FLAGS
  15076.  
  15077. # How to feed a file listing to the archiver.
  15078. archiver_list_spec=$lt_archiver_list_spec
  15079.  
  15080. # A symbol stripping program.
  15081. STRIP=$lt_STRIP
  15082.  
  15083. # Commands used to install an old-style archive.
  15084. RANLIB=$lt_RANLIB
  15085. old_postinstall_cmds=$lt_old_postinstall_cmds
  15086. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  15087.  
  15088. # Whether to use a lock for old archive extraction.
  15089. lock_old_archive_extraction=$lock_old_archive_extraction
  15090.  
  15091. # A C compiler.
  15092. LTCC=$lt_CC
  15093.  
  15094. # LTCC compiler flags.
  15095. LTCFLAGS=$lt_CFLAGS
  15096.  
  15097. # Take the output of nm and produce a listing of raw symbols and C names.
  15098. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  15099.  
  15100. # Transform the output of nm in a proper C declaration.
  15101. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  15102.  
  15103. # Transform the output of nm in a C name address pair.
  15104. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  15105.  
  15106. # Transform the output of nm in a C name address pair when lib prefix is needed.
  15107. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  15108.  
  15109. # Specify filename containing input files for \$NM.
  15110. nm_file_list_spec=$lt_nm_file_list_spec
  15111.  
  15112. # The root where to search for dependent libraries,and in which our libraries should be installed.
  15113. lt_sysroot=$lt_sysroot
  15114.  
  15115. # The name of the directory that contains temporary libtool files.
  15116. objdir=$objdir
  15117.  
  15118. # Used to examine libraries when file_magic_cmd begins with "file".
  15119. MAGIC_CMD=$MAGIC_CMD
  15120.  
  15121. # Must we lock files when doing compilation?
  15122. need_locks=$lt_need_locks
  15123.  
  15124. # Manifest tool.
  15125. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  15126.  
  15127. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  15128. DSYMUTIL=$lt_DSYMUTIL
  15129.  
  15130. # Tool to change global to local symbols on Mac OS X.
  15131. NMEDIT=$lt_NMEDIT
  15132.  
  15133. # Tool to manipulate fat objects and archives on Mac OS X.
  15134. LIPO=$lt_LIPO
  15135.  
  15136. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  15137. OTOOL=$lt_OTOOL
  15138.  
  15139. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  15140. OTOOL64=$lt_OTOOL64
  15141.  
  15142. # Old archive suffix (normally "a").
  15143. libext=$libext
  15144.  
  15145. # Shared library suffix (normally ".so").
  15146. shrext_cmds=$lt_shrext_cmds
  15147.  
  15148. # The commands to extract the exported symbol list from a shared archive.
  15149. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  15150.  
  15151. # Variables whose values should be saved in libtool wrapper scripts and
  15152. # restored at link time.
  15153. variables_saved_for_relink=$lt_variables_saved_for_relink
  15154.  
  15155. # Do we need the "lib" prefix for modules?
  15156. need_lib_prefix=$need_lib_prefix
  15157.  
  15158. # Do we need a version for libraries?
  15159. need_version=$need_version
  15160.  
  15161. # Library versioning type.
  15162. version_type=$version_type
  15163.  
  15164. # Shared library runtime path variable.
  15165. runpath_var=$runpath_var
  15166.  
  15167. # Shared library path variable.
  15168. shlibpath_var=$shlibpath_var
  15169.  
  15170. # Is shlibpath searched before the hard-coded library search path?
  15171. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  15172.  
  15173. # Format of library name prefix.
  15174. libname_spec=$lt_libname_spec
  15175.  
  15176. # List of archive names.  First name is the real one, the rest are links.
  15177. # The last name is the one that the linker finds with -lNAME
  15178. library_names_spec=$lt_library_names_spec
  15179.  
  15180. # The coded name of the library, if different from the real name.
  15181. soname_spec=$lt_soname_spec
  15182.  
  15183. # Permission mode override for installation of shared libraries.
  15184. install_override_mode=$lt_install_override_mode
  15185.  
  15186. # Command to use after installation of a shared archive.
  15187. postinstall_cmds=$lt_postinstall_cmds
  15188.  
  15189. # Command to use after uninstallation of a shared archive.
  15190. postuninstall_cmds=$lt_postuninstall_cmds
  15191.  
  15192. # Commands used to finish a libtool library installation in a directory.
  15193. finish_cmds=$lt_finish_cmds
  15194.  
  15195. # As "finish_cmds", except a single script fragment to be evaled but
  15196. # not shown.
  15197. finish_eval=$lt_finish_eval
  15198.  
  15199. # Whether we should hardcode library paths into libraries.
  15200. hardcode_into_libs=$hardcode_into_libs
  15201.  
  15202. # Compile-time system search path for libraries.
  15203. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  15204.  
  15205. # Run-time system search path for libraries.
  15206. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  15207.  
  15208. # Whether dlopen is supported.
  15209. dlopen_support=$enable_dlopen
  15210.  
  15211. # Whether dlopen of programs is supported.
  15212. dlopen_self=$enable_dlopen_self
  15213.  
  15214. # Whether dlopen of statically linked programs is supported.
  15215. dlopen_self_static=$enable_dlopen_self_static
  15216.  
  15217. # Commands to strip libraries.
  15218. old_striplib=$lt_old_striplib
  15219. striplib=$lt_striplib
  15220.  
  15221.  
  15222. # The linker used to build libraries.
  15223. LD=$lt_LD
  15224.  
  15225. # How to create reloadable object files.
  15226. reload_flag=$lt_reload_flag
  15227. reload_cmds=$lt_reload_cmds
  15228.  
  15229. # Commands used to build an old-style archive.
  15230. old_archive_cmds=$lt_old_archive_cmds
  15231.  
  15232. # A language specific compiler.
  15233. CC=$lt_compiler
  15234.  
  15235. # Is the compiler the GNU compiler?
  15236. with_gcc=$GCC
  15237.  
  15238. # Compiler flag to turn off builtin functions.
  15239. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  15240.  
  15241. # Additional compiler flags for building library objects.
  15242. pic_flag=$lt_lt_prog_compiler_pic
  15243.  
  15244. # How to pass a linker flag through the compiler.
  15245. wl=$lt_lt_prog_compiler_wl
  15246.  
  15247. # Compiler flag to prevent dynamic linking.
  15248. link_static_flag=$lt_lt_prog_compiler_static
  15249.  
  15250. # Does compiler simultaneously support -c and -o options?
  15251. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  15252.  
  15253. # Whether or not to add -lc for building shared libraries.
  15254. build_libtool_need_lc=$archive_cmds_need_lc
  15255.  
  15256. # Whether or not to disallow shared libs when runtime libs are static.
  15257. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  15258.  
  15259. # Compiler flag to allow reflexive dlopens.
  15260. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  15261.  
  15262. # Compiler flag to generate shared objects directly from archives.
  15263. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  15264.  
  15265. # Whether the compiler copes with passing no objects directly.
  15266. compiler_needs_object=$lt_compiler_needs_object
  15267.  
  15268. # Create an old-style archive from a shared archive.
  15269. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  15270.  
  15271. # Create a temporary old-style archive to link instead of a shared archive.
  15272. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  15273.  
  15274. # Commands used to build a shared archive.
  15275. archive_cmds=$lt_archive_cmds
  15276. archive_expsym_cmds=$lt_archive_expsym_cmds
  15277.  
  15278. # Commands used to build a loadable module if different from building
  15279. # a shared archive.
  15280. module_cmds=$lt_module_cmds
  15281. module_expsym_cmds=$lt_module_expsym_cmds
  15282.  
  15283. # Whether we are building with GNU ld or not.
  15284. with_gnu_ld=$lt_with_gnu_ld
  15285.  
  15286. # Flag that allows shared libraries with undefined symbols to be built.
  15287. allow_undefined_flag=$lt_allow_undefined_flag
  15288.  
  15289. # Flag that enforces no undefined symbols.
  15290. no_undefined_flag=$lt_no_undefined_flag
  15291.  
  15292. # Flag to hardcode \$libdir into a binary during linking.
  15293. # This must work even if \$libdir does not exist
  15294. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  15295.  
  15296. # Whether we need a single "-rpath" flag with a separated argument.
  15297. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  15298.  
  15299. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  15300. # DIR into the resulting binary.
  15301. hardcode_direct=$hardcode_direct
  15302.  
  15303. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  15304. # DIR into the resulting binary and the resulting library dependency is
  15305. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  15306. # library is relocated.
  15307. hardcode_direct_absolute=$hardcode_direct_absolute
  15308.  
  15309. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  15310. # into the resulting binary.
  15311. hardcode_minus_L=$hardcode_minus_L
  15312.  
  15313. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  15314. # into the resulting binary.
  15315. hardcode_shlibpath_var=$hardcode_shlibpath_var
  15316.  
  15317. # Set to "yes" if building a shared library automatically hardcodes DIR
  15318. # into the library and all subsequent libraries and executables linked
  15319. # against it.
  15320. hardcode_automatic=$hardcode_automatic
  15321.  
  15322. # Set to yes if linker adds runtime paths of dependent libraries
  15323. # to runtime path list.
  15324. inherit_rpath=$inherit_rpath
  15325.  
  15326. # Whether libtool must link a program against all its dependency libraries.
  15327. link_all_deplibs=$link_all_deplibs
  15328.  
  15329. # Set to "yes" if exported symbols are required.
  15330. always_export_symbols=$always_export_symbols
  15331.  
  15332. # The commands to list exported symbols.
  15333. export_symbols_cmds=$lt_export_symbols_cmds
  15334.  
  15335. # Symbols that should not be listed in the preloaded symbols.
  15336. exclude_expsyms=$lt_exclude_expsyms
  15337.  
  15338. # Symbols that must always be exported.
  15339. include_expsyms=$lt_include_expsyms
  15340.  
  15341. # Commands necessary for linking programs (against libraries) with templates.
  15342. prelink_cmds=$lt_prelink_cmds
  15343.  
  15344. # Commands necessary for finishing linking programs.
  15345. postlink_cmds=$lt_postlink_cmds
  15346.  
  15347. # Specify filename containing input files.
  15348. file_list_spec=$lt_file_list_spec
  15349.  
  15350. # How to hardcode a shared library path into an executable.
  15351. hardcode_action=$hardcode_action
  15352.  
  15353. # ### END LIBTOOL CONFIG
  15354.  
  15355. _LT_EOF
  15356.  
  15357.   case $host_os in
  15358.   aix3*)
  15359.     cat <<\_LT_EOF >> "$cfgfile"
  15360. # AIX sometimes has problems with the GCC collect2 program.  For some
  15361. # reason, if we set the COLLECT_NAMES environment variable, the problems
  15362. # vanish in a puff of smoke.
  15363. if test "X${COLLECT_NAMES+set}" != Xset; then
  15364.   COLLECT_NAMES=
  15365.   export COLLECT_NAMES
  15366. fi
  15367. _LT_EOF
  15368.     ;;
  15369.   esac
  15370.  
  15371.  
  15372. ltmain="$ac_aux_dir/ltmain.sh"
  15373.  
  15374.  
  15375.   # We use sed instead of cat because bash on DJGPP gets confused if
  15376.   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  15377.   # text mode, it properly converts lines to CR/LF.  This bash problem
  15378.   # is reportedly fixed, but why not run on old versions too?
  15379.   sed '$q' "$ltmain" >> "$cfgfile" \
  15380.      || (rm -f "$cfgfile"; exit 1)
  15381.  
  15382.   if test x"$xsi_shell" = xyes; then
  15383.   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  15384. func_dirname ()\
  15385. {\
  15386. \    case ${1} in\
  15387. \      */*) func_dirname_result="${1%/*}${2}" ;;\
  15388. \      *  ) func_dirname_result="${3}" ;;\
  15389. \    esac\
  15390. } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  15391.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15392.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15393. test 0 -eq $? || _lt_function_replace_fail=:
  15394.  
  15395.  
  15396.   sed -e '/^func_basename ()$/,/^} # func_basename /c\
  15397. func_basename ()\
  15398. {\
  15399. \    func_basename_result="${1##*/}"\
  15400. } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  15401.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15402.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15403. test 0 -eq $? || _lt_function_replace_fail=:
  15404.  
  15405.  
  15406.   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  15407. func_dirname_and_basename ()\
  15408. {\
  15409. \    case ${1} in\
  15410. \      */*) func_dirname_result="${1%/*}${2}" ;;\
  15411. \      *  ) func_dirname_result="${3}" ;;\
  15412. \    esac\
  15413. \    func_basename_result="${1##*/}"\
  15414. } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  15415.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15416.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15417. test 0 -eq $? || _lt_function_replace_fail=:
  15418.  
  15419.  
  15420.   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  15421. func_stripname ()\
  15422. {\
  15423. \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  15424. \    # positional parameters, so assign one to ordinary parameter first.\
  15425. \    func_stripname_result=${3}\
  15426. \    func_stripname_result=${func_stripname_result#"${1}"}\
  15427. \    func_stripname_result=${func_stripname_result%"${2}"}\
  15428. } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  15429.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15430.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15431. test 0 -eq $? || _lt_function_replace_fail=:
  15432.  
  15433.  
  15434.   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  15435. func_split_long_opt ()\
  15436. {\
  15437. \    func_split_long_opt_name=${1%%=*}\
  15438. \    func_split_long_opt_arg=${1#*=}\
  15439. } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  15440.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15441.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15442. test 0 -eq $? || _lt_function_replace_fail=:
  15443.  
  15444.  
  15445.   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  15446. func_split_short_opt ()\
  15447. {\
  15448. \    func_split_short_opt_arg=${1#??}\
  15449. \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  15450. } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  15451.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15452.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15453. test 0 -eq $? || _lt_function_replace_fail=:
  15454.  
  15455.  
  15456.   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  15457. func_lo2o ()\
  15458. {\
  15459. \    case ${1} in\
  15460. \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  15461. \      *)    func_lo2o_result=${1} ;;\
  15462. \    esac\
  15463. } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  15464.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15465.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15466. test 0 -eq $? || _lt_function_replace_fail=:
  15467.  
  15468.  
  15469.   sed -e '/^func_xform ()$/,/^} # func_xform /c\
  15470. func_xform ()\
  15471. {\
  15472.    func_xform_result=${1%.*}.lo\
  15473. } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  15474.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15475.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15476. test 0 -eq $? || _lt_function_replace_fail=:
  15477.  
  15478.  
  15479.   sed -e '/^func_arith ()$/,/^} # func_arith /c\
  15480. func_arith ()\
  15481. {\
  15482.    func_arith_result=$(( $* ))\
  15483. } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  15484.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15485.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15486. test 0 -eq $? || _lt_function_replace_fail=:
  15487.  
  15488.  
  15489.   sed -e '/^func_len ()$/,/^} # func_len /c\
  15490. func_len ()\
  15491. {\
  15492.    func_len_result=${#1}\
  15493. } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  15494.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15495.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15496. test 0 -eq $? || _lt_function_replace_fail=:
  15497.  
  15498. fi
  15499.  
  15500. if test x"$lt_shell_append" = xyes; then
  15501.   sed -e '/^func_append ()$/,/^} # func_append /c\
  15502. func_append ()\
  15503. {\
  15504.    eval "${1}+=\\${2}"\
  15505. } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  15506.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15507.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15508. test 0 -eq $? || _lt_function_replace_fail=:
  15509.  
  15510.  
  15511.   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  15512. func_append_quoted ()\
  15513. {\
  15514. \    func_quote_for_eval "${2}"\
  15515. \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  15516. } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  15517.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  15518.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15519. test 0 -eq $? || _lt_function_replace_fail=:
  15520.  
  15521.  
  15522.   # Save a `func_append' function call where possible by direct use of '+='
  15523.   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  15524.     && mv -f "$cfgfile.tmp" "$cfgfile" \
  15525.       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15526.   test 0 -eq $? || _lt_function_replace_fail=:
  15527. else
  15528.   # Save a `func_append' function call even when '+=' is not available
  15529.   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  15530.     && mv -f "$cfgfile.tmp" "$cfgfile" \
  15531.       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  15532.   test 0 -eq $? || _lt_function_replace_fail=:
  15533. fi
  15534.  
  15535. if test x"$_lt_function_replace_fail" = x":"; then
  15536.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  15537. $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  15538. fi
  15539.  
  15540.  
  15541.    mv -f "$cfgfile" "$ofile" ||
  15542.     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  15543.   chmod +x "$ofile"
  15544.  
  15545.  ;;
  15546.  
  15547.   esac
  15548. done # for ac_tag
  15549.  
  15550.  
  15551. as_fn_exit 0
  15552. _ACEOF
  15553. ac_clean_files=$ac_clean_files_save
  15554.  
  15555. test $ac_write_fail = 0 ||
  15556.   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  15557.  
  15558.  
  15559. # configure is writing to config.log, and then calls config.status.
  15560. # config.status does its own redirection, appending to config.log.
  15561. # Unfortunately, on DOS this fails, as config.log is still kept open
  15562. # by configure, so config.status won't be able to write to it; its
  15563. # output is simply discarded.  So we exec the FD to /dev/null,
  15564. # effectively closing config.log, so it can be properly (re)opened and
  15565. # appended to by config.status.  When coming back to configure, we
  15566. # need to make the FD available again.
  15567. if test "$no_create" != yes; then
  15568.   ac_cs_success=:
  15569.   ac_config_status_args=
  15570.   test "$silent" = yes &&
  15571.     ac_config_status_args="$ac_config_status_args --quiet"
  15572.   exec 5>/dev/null
  15573.   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  15574.   exec 5>>config.log
  15575.   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  15576.   # would make configure fail if this is the last instruction.
  15577.   $ac_cs_success || as_fn_exit 1
  15578. fi
  15579.  
  15580. #
  15581. # CONFIG_SUBDIRS section.
  15582. #
  15583. if test "$no_recursion" != yes; then
  15584.  
  15585.   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
  15586.   # so they do not pile up.
  15587.   ac_sub_configure_args=
  15588.   ac_prev=
  15589.   eval "set x $ac_configure_args"
  15590.   shift
  15591.   for ac_arg
  15592.   do
  15593.     if test -n "$ac_prev"; then
  15594.       ac_prev=
  15595.       continue
  15596.     fi
  15597.     case $ac_arg in
  15598.     -cache-file | --cache-file | --cache-fil | --cache-fi \
  15599.     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  15600.       ac_prev=cache_file ;;
  15601.     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  15602.     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
  15603.     | --c=*)
  15604.       ;;
  15605.     --config-cache | -C)
  15606.       ;;
  15607.     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  15608.       ac_prev=srcdir ;;
  15609.     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  15610.       ;;
  15611.     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  15612.       ac_prev=prefix ;;
  15613.     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  15614.       ;;
  15615.     --disable-option-checking)
  15616.       ;;
  15617.     *)
  15618.       case $ac_arg in
  15619.       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15620.      esac
  15621.      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
  15622.    esac
  15623.  done
  15624.  
  15625.  # Always prepend --prefix to ensure using the same prefix
  15626.  # in subdir configurations.
  15627.  ac_arg="--prefix=$prefix"
  15628.  case $ac_arg in
  15629.  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15630.  esac
  15631.  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
  15632.  
  15633.  # Pass --silent
  15634.  if test "$silent" = yes; then
  15635.    ac_sub_configure_args="--silent $ac_sub_configure_args"
  15636.  fi
  15637.  
  15638.  # Always prepend --disable-option-checking to silence warnings, since
  15639.  # different subdirs can have different --enable and --with options.
  15640.  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
  15641.  
  15642.  ac_popdir=`pwd`
  15643.  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
  15644.  
  15645.    # Do not complain, so a configure script can configure whichever
  15646.    # parts of a large source tree are present.
  15647.    test -d "$srcdir/$ac_dir" || continue
  15648.  
  15649.    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
  15650.    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
  15651.    $as_echo "$ac_msg" >&6
  15652.    as_dir="$ac_dir"; as_fn_mkdir_p
  15653.    ac_builddir=.
  15654.  
  15655. case "$ac_dir" in
  15656. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  15657. *)
  15658.  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  15659.  # A ".." for each directory in $ac_dir_suffix.
  15660.  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  15661.  case $ac_top_builddir_sub in
  15662.  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  15663.  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  15664.  esac ;;
  15665. esac
  15666. ac_abs_top_builddir=$ac_pwd
  15667. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  15668. # for backward compatibility:
  15669. ac_top_builddir=$ac_top_build_prefix
  15670.  
  15671. case $srcdir in
  15672.  .)  # We are building in place.
  15673.    ac_srcdir=.
  15674.    ac_top_srcdir=$ac_top_builddir_sub
  15675.    ac_abs_top_srcdir=$ac_pwd ;;
  15676.  [\\/]* | ?:[\\/]* )  # Absolute name.
  15677.    ac_srcdir=$srcdir$ac_dir_suffix;
  15678.    ac_top_srcdir=$srcdir
  15679.    ac_abs_top_srcdir=$srcdir ;;
  15680.  *) # Relative name.
  15681.    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  15682.    ac_top_srcdir=$ac_top_build_prefix$srcdir
  15683.    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  15684. esac
  15685. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  15686.  
  15687.  
  15688.    cd "$ac_dir"
  15689.  
  15690.    # Check for guested configure; otherwise get Cygnus style configure.
  15691.    if test -f "$ac_srcdir/configure.gnu"; then
  15692.      ac_sub_configure=$ac_srcdir/configure.gnu
  15693.    elif test -f "$ac_srcdir/configure"; then
  15694.      ac_sub_configure=$ac_srcdir/configure
  15695.    elif test -f "$ac_srcdir/configure.in"; then
  15696.      # This should be Cygnus configure.
  15697.      ac_sub_configure=$ac_aux_dir/configure
  15698.    else
  15699.      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
  15700. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
  15701.      ac_sub_configure=
  15702.    fi
  15703.  
  15704.    # The recursion is here.
  15705.    if test -n "$ac_sub_configure"; then
  15706.      # Make the cache file name correct relative to the subdirectory.
  15707.      case $cache_file in
  15708.      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
  15709.      *) # Relative name.
  15710.     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
  15711.      esac
  15712.  
  15713.      { $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
  15714. $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
  15715.      # The eval makes quoting arguments work.
  15716.      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
  15717.        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
  15718.     as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
  15719.    fi
  15720.  
  15721.    cd "$ac_popdir"
  15722.  done
  15723. fi
  15724. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  15725.  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  15726. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  15727. fi
  15728.  
  15729.  
  15730.  
  15731. echo
  15732. "------------------------------------------------------------------------------
  15733. configuration (motoko):
  15734.  
  15735. compiler:       ${CC}
  15736. compiler flags:     ${STRING_AM_CFLAGS}${CFLAGS}
  15737. preprocessor flags: ${CPPFLAGS}
  15738. linker flags:       ${LDFLAGS}
  15739. link libwardenc:    ${LINK_WARDENC}
  15740. link librt:     ${LINK_RT}
  15741. host system:        ${host}
  15742. module extension:   `grep define\ LT_MODULE_EXT config.h | sed -e 's/^.*\("\..*"\)$/\1/'`
  15743. install path:       ${prefix}
  15744.  
  15745. consult config.h for further configuration information."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement