Advertisement
Guest User

Untitled

a guest
Sep 20th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 484.02 KB | None | 0 0
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.63 for bluez 4.93.
  4. #
  5. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  6. # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9. ## --------------------- ##
  10. ## M4sh Initialization.  ##
  11. ## --------------------- ##
  12.  
  13. # Be more Bourne compatible
  14. DUALCASE=1; export DUALCASE # for MKS sh
  15. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  16.   emulate sh
  17.   NULLCMD=:
  18.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  19.   # is contrary to our usage.  Disable this feature.
  20.   alias -g '${1+"$@"}'='"$@"'
  21.   setopt NO_GLOB_SUBST
  22. else
  23.   case `(set -o) 2>/dev/null` in
  24.   *posix*) set -o posix ;;
  25. esac
  26.  
  27. fi
  28.  
  29.  
  30.  
  31.  
  32. # PATH needs CR
  33. # Avoid depending upon Character Ranges.
  34. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  35. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  36. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  37. as_cr_digits='0123456789'
  38. as_cr_alnum=$as_cr_Letters$as_cr_digits
  39.  
  40. as_nl='
  41. '
  42. export as_nl
  43. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  44. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  45. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  46. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  47. if (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. # Support unset when possible.
  82. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  83.   as_unset=unset
  84. else
  85.   as_unset=false
  86. fi
  87.  
  88.  
  89. # IFS
  90. # We need space, tab and new line, in precisely that order.  Quoting is
  91. # there to prevent editors from complaining about space-tab.
  92. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  93. # splitting by setting IFS to empty value.)
  94. IFS=" ""    $as_nl"
  95.  
  96. # Find who we are.  Look in the path if we contain no directory separator.
  97. case $0 in
  98.   *[\\/]* ) as_myself=$0 ;;
  99.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  100. for as_dir in $PATH
  101. do
  102.   IFS=$as_save_IFS
  103.   test -z "$as_dir" && as_dir=.
  104.   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  105. done
  106. IFS=$as_save_IFS
  107.  
  108.      ;;
  109. esac
  110. # We did not find ourselves, most probably we were run as `sh COMMAND'
  111. # in which case we are not to be found in the path.
  112. if test "x$as_myself" = x; then
  113.   as_myself=$0
  114. fi
  115. if test ! -f "$as_myself"; then
  116.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  117.   { (exit 1); exit 1; }
  118. fi
  119.  
  120. # Work around bugs in pre-3.0 UWIN ksh.
  121. for as_var in ENV MAIL MAILPATH
  122. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  123. done
  124. PS1='$ '
  125. PS2='> '
  126. PS4='+ '
  127.  
  128. # NLS nuisances.
  129. LC_ALL=C
  130. export LC_ALL
  131. LANGUAGE=C
  132. export LANGUAGE
  133.  
  134. # Required to use basename.
  135. if expr a : '\(a\)' >/dev/null 2>&1 &&
  136.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  137.   as_expr=expr
  138. else
  139.   as_expr=false
  140. fi
  141.  
  142. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  143.   as_basename=basename
  144. else
  145.   as_basename=false
  146. fi
  147.  
  148.  
  149. # Name of the executable.
  150. as_me=`$as_basename -- "$0" ||
  151. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  152.      X"$0" : 'X\(//\)$' \| \
  153.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  154. $as_echo X/"$0" |
  155.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  156.         s//\1/
  157.         q
  158.       }
  159.       /^X\/\(\/\/\)$/{
  160.         s//\1/
  161.         q
  162.       }
  163.       /^X\/\(\/\).*/{
  164.         s//\1/
  165.         q
  166.       }
  167.       s/.*/./; q'`
  168.  
  169. # CDPATH.
  170. $as_unset CDPATH
  171.  
  172.  
  173. if test "x$CONFIG_SHELL" = x; then
  174.   if (eval ":") 2>/dev/null; then
  175.   as_have_required=yes
  176. else
  177.   as_have_required=no
  178. fi
  179.  
  180.   if test $as_have_required = yes &&     (eval ":
  181. (as_func_return () {
  182.  (exit \$1)
  183. }
  184. as_func_success () {
  185.  as_func_return 0
  186. }
  187. as_func_failure () {
  188.  as_func_return 1
  189. }
  190. as_func_ret_success () {
  191.  return 0
  192. }
  193. as_func_ret_failure () {
  194.  return 1
  195. }
  196.  
  197. exitcode=0
  198. if as_func_success; then
  199.  :
  200. else
  201.  exitcode=1
  202.  echo as_func_success failed.
  203. fi
  204.  
  205. if as_func_failure; then
  206.  exitcode=1
  207.  echo as_func_failure succeeded.
  208. fi
  209.  
  210. if as_func_ret_success; then
  211.  :
  212. else
  213.  exitcode=1
  214.  echo as_func_ret_success failed.
  215. fi
  216.  
  217. if as_func_ret_failure; then
  218.  exitcode=1
  219.  echo as_func_ret_failure succeeded.
  220. fi
  221.  
  222. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  223.  :
  224. else
  225.  exitcode=1
  226.  echo positional parameters were not saved.
  227. fi
  228.  
  229. test \$exitcode = 0) || { (exit 1); exit 1; }
  230.  
  231. (
  232.  as_lineno_1=\$LINENO
  233.  as_lineno_2=\$LINENO
  234.  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  235.  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  236. ") 2> /dev/null; then
  237.   :
  238. else
  239.   as_candidate_shells=
  240.     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  241. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  242. do
  243.   IFS=$as_save_IFS
  244.   test -z "$as_dir" && as_dir=.
  245.   case $as_dir in
  246.      /*)
  247.        for as_base in sh bash ksh sh5; do
  248.          as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  249.        done;;
  250.        esac
  251. done
  252. IFS=$as_save_IFS
  253.  
  254.  
  255.       for as_shell in $as_candidate_shells $SHELL; do
  256.      # Try only shells that exist, to save several forks.
  257.      if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  258.         { ("$as_shell") 2> /dev/null <<\_ASEOF
  259. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  260.   emulate sh
  261.   NULLCMD=:
  262.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  263.   # is contrary to our usage.  Disable this feature.
  264.   alias -g '${1+"$@"}'='"$@"'
  265.   setopt NO_GLOB_SUBST
  266. else
  267.   case `(set -o) 2>/dev/null` in
  268.   *posix*) set -o posix ;;
  269. esac
  270.  
  271. fi
  272.  
  273.  
  274. :
  275. _ASEOF
  276. }; then
  277.   CONFIG_SHELL=$as_shell
  278.            as_have_required=yes
  279.            if { "$as_shell" 2> /dev/null <<\_ASEOF
  280. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  281.   emulate sh
  282.   NULLCMD=:
  283.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  284.   # is contrary to our usage.  Disable this feature.
  285.   alias -g '${1+"$@"}'='"$@"'
  286.   setopt NO_GLOB_SUBST
  287. else
  288.   case `(set -o) 2>/dev/null` in
  289.   *posix*) set -o posix ;;
  290. esac
  291.  
  292. fi
  293.  
  294.  
  295. :
  296. (as_func_return () {
  297.   (exit $1)
  298. }
  299. as_func_success () {
  300.   as_func_return 0
  301. }
  302. as_func_failure () {
  303.   as_func_return 1
  304. }
  305. as_func_ret_success () {
  306.   return 0
  307. }
  308. as_func_ret_failure () {
  309.   return 1
  310. }
  311.  
  312. exitcode=0
  313. if as_func_success; then
  314.   :
  315. else
  316.   exitcode=1
  317.   echo as_func_success failed.
  318. fi
  319.  
  320. if as_func_failure; then
  321.   exitcode=1
  322.   echo as_func_failure succeeded.
  323. fi
  324.  
  325. if as_func_ret_success; then
  326.   :
  327. else
  328.   exitcode=1
  329.   echo as_func_ret_success failed.
  330. fi
  331.  
  332. if as_func_ret_failure; then
  333.   exitcode=1
  334.   echo as_func_ret_failure succeeded.
  335. fi
  336.  
  337. if ( set x; as_func_ret_success y && test x = "$1" ); then
  338.   :
  339. else
  340.   exitcode=1
  341.   echo positional parameters were not saved.
  342. fi
  343.  
  344. test $exitcode = 0) || { (exit 1); exit 1; }
  345.  
  346. (
  347.   as_lineno_1=$LINENO
  348.   as_lineno_2=$LINENO
  349.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  350.   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  351.  
  352. _ASEOF
  353. }; then
  354.   break
  355. fi
  356.  
  357. fi
  358.  
  359.       done
  360.  
  361.       if test "x$CONFIG_SHELL" != x; then
  362.   for as_var in BASH_ENV ENV
  363.     do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  364.     done
  365.     export CONFIG_SHELL
  366.     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  367. fi
  368.  
  369.  
  370.     if test $as_have_required = no; then
  371.   echo This script requires a shell more modern than all the
  372.       echo shells that I found on your system.  Please install a
  373.       echo modern shell, or manually run the script under such a
  374.       echo shell if you do have one.
  375.       { (exit 1); exit 1; }
  376. fi
  377.  
  378.  
  379. fi
  380.  
  381. fi
  382.  
  383.  
  384.  
  385. (eval "as_func_return () {
  386.  (exit \$1)
  387. }
  388. as_func_success () {
  389.  as_func_return 0
  390. }
  391. as_func_failure () {
  392.  as_func_return 1
  393. }
  394. as_func_ret_success () {
  395.  return 0
  396. }
  397. as_func_ret_failure () {
  398.  return 1
  399. }
  400.  
  401. exitcode=0
  402. if as_func_success; then
  403.  :
  404. else
  405.  exitcode=1
  406.  echo as_func_success failed.
  407. fi
  408.  
  409. if as_func_failure; then
  410.  exitcode=1
  411.  echo as_func_failure succeeded.
  412. fi
  413.  
  414. if as_func_ret_success; then
  415.  :
  416. else
  417.  exitcode=1
  418.  echo as_func_ret_success failed.
  419. fi
  420.  
  421. if as_func_ret_failure; then
  422.  exitcode=1
  423.  echo as_func_ret_failure succeeded.
  424. fi
  425.  
  426. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  427.  :
  428. else
  429.  exitcode=1
  430.  echo positional parameters were not saved.
  431. fi
  432.  
  433. test \$exitcode = 0") || {
  434.   echo No shell found that supports shell functions.
  435.   echo Please tell bug-autoconf@gnu.org about your system,
  436.   echo including any error possibly output before this message.
  437.   echo This can help us improve future autoconf versions.
  438.   echo Configuration will now proceed without shell functions.
  439. }
  440.  
  441.  
  442.  
  443.   as_lineno_1=$LINENO
  444.   as_lineno_2=$LINENO
  445.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  446.   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  447.  
  448.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  449.   # uniformly replaced by the line number.  The first 'sed' inserts a
  450.   # line-number line after each line using $LINENO; the second 'sed'
  451.   # does the real work.  The second script uses 'N' to pair each
  452.   # line-number line with the line containing $LINENO, and appends
  453.   # trailing '-' during substitution so that $LINENO is not a special
  454.   # case at line end.
  455.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  456.   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  457.   # E. McMahon (1931-1989) for sed's syntax.  :-)
  458.   sed -n '
  459.    p
  460.    /[$]LINENO/=
  461.  ' <$as_myself |
  462.     sed '
  463.      s/[$]LINENO.*/&-/
  464.      t lineno
  465.      b
  466.      :lineno
  467.      N
  468.      :loop
  469.      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  470.      t loop
  471.      s/-\n.*//
  472.    ' >$as_me.lineno &&
  473.   chmod +x "$as_me.lineno" ||
  474.     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  475.    { (exit 1); exit 1; }; }
  476.  
  477.   # Don't try to exec as it changes $[0], causing all sort of problems
  478.   # (the dirname of $[0] is not the place where we might find the
  479.   # original and so on.  Autoconf is especially sensitive to this).
  480.   . "./$as_me.lineno"
  481.   # Exit status is that of the last command.
  482.   exit
  483. }
  484.  
  485.  
  486. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  487.   as_dirname=dirname
  488. else
  489.   as_dirname=false
  490. fi
  491.  
  492. ECHO_C= ECHO_N= ECHO_T=
  493. case `echo -n x` in
  494. -n*)
  495.   case `echo 'x\c'` in
  496.   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  497.   *)   ECHO_C='\c';;
  498.   esac;;
  499. *)
  500.   ECHO_N='-n';;
  501. esac
  502. if expr a : '\(a\)' >/dev/null 2>&1 &&
  503.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  504.   as_expr=expr
  505. else
  506.   as_expr=false
  507. fi
  508.  
  509. rm -f conf$$ conf$$.exe conf$$.file
  510. if test -d conf$$.dir; then
  511.   rm -f conf$$.dir/conf$$.file
  512. else
  513.   rm -f conf$$.dir
  514.   mkdir conf$$.dir 2>/dev/null
  515. fi
  516. if (echo >conf$$.file) 2>/dev/null; then
  517.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  518.     as_ln_s='ln -s'
  519.     # ... but there are two gotchas:
  520.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  521.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  522.     # In both cases, we have to default to `cp -p'.
  523.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  524.       as_ln_s='cp -p'
  525.   elif ln conf$$.file conf$$ 2>/dev/null; then
  526.     as_ln_s=ln
  527.   else
  528.     as_ln_s='cp -p'
  529.   fi
  530. else
  531.   as_ln_s='cp -p'
  532. fi
  533. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  534. rmdir conf$$.dir 2>/dev/null
  535.  
  536. if mkdir -p . 2>/dev/null; then
  537.   as_mkdir_p=:
  538. else
  539.   test -d ./-p && rmdir ./-p
  540.   as_mkdir_p=false
  541. fi
  542.  
  543. if test -x / >/dev/null 2>&1; then
  544.   as_test_x='test -x'
  545. else
  546.   if ls -dL / >/dev/null 2>&1; then
  547.     as_ls_L_option=L
  548.   else
  549.     as_ls_L_option=
  550.   fi
  551.   as_test_x='
  552.    eval sh -c '\''
  553.      if test -d "$1"; then
  554.     test -d "$1/.";
  555.      else
  556.     case $1 in
  557.     -*)set "./$1";;
  558.     esac;
  559.     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  560.     ???[sx]*):;;*)false;;esac;fi
  561.    '\'' sh
  562.  '
  563. fi
  564. as_executable_p=$as_test_x
  565.  
  566. # Sed expression to map a string onto a valid CPP name.
  567. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  568.  
  569. # Sed expression to map a string onto a valid variable name.
  570. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  571.  
  572.  
  573.  
  574.  
  575. # Check that we are running under the correct shell.
  576. SHELL=${CONFIG_SHELL-/bin/sh}
  577.  
  578. case X$lt_ECHO in
  579. X*--fallback-echo)
  580.   # Remove one level of quotation (which was required for Make).
  581.   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  582.   ;;
  583. esac
  584.  
  585. ECHO=${lt_ECHO-echo}
  586. if test "X$1" = X--no-reexec; then
  587.   # Discard the --no-reexec flag, and continue.
  588.   shift
  589. elif test "X$1" = X--fallback-echo; then
  590.   # Avoid inline document here, it may be left over
  591.   :
  592. elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  593.   # Yippee, $ECHO works!
  594.   :
  595. else
  596.   # Restart under the correct shell.
  597.   exec $SHELL "$0" --no-reexec ${1+"$@"}
  598. fi
  599.  
  600. if test "X$1" = X--fallback-echo; then
  601.   # used as fallback echo
  602.   shift
  603.   cat <<_LT_EOF
  604. $*
  605. _LT_EOF
  606.   exit 0
  607. fi
  608.  
  609. # The HP-UX ksh and POSIX shell print the target directory to stdout
  610. # if CDPATH is set.
  611. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  612.  
  613. if test -z "$lt_ECHO"; then
  614.   if test "X${echo_test_string+set}" != Xset; then
  615.     # find a string as large as possible, as long as the shell can cope with it
  616.     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  617.       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  618.       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  619.      { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  620.       then
  621.         break
  622.       fi
  623.     done
  624.   fi
  625.  
  626.   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  627.      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  628.      test "X$echo_testing_string" = "X$echo_test_string"; then
  629.     :
  630.   else
  631.     # The Solaris, AIX, and Digital Unix default echo programs unquote
  632.     # backslashes.  This makes it impossible to quote backslashes using
  633.     #   echo "$something" | sed 's/\\/\\\\/g'
  634.     #
  635.     # So, first we look for a working echo in the user's PATH.
  636.  
  637.     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  638.     for dir in $PATH /usr/ucb; do
  639.       IFS="$lt_save_ifs"
  640.       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  641.          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  642.          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  643.          test "X$echo_testing_string" = "X$echo_test_string"; then
  644.         ECHO="$dir/echo"
  645.         break
  646.       fi
  647.     done
  648.     IFS="$lt_save_ifs"
  649.  
  650.     if test "X$ECHO" = Xecho; then
  651.       # We didn't find a better echo, so look for alternatives.
  652.       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  653.          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  654.          test "X$echo_testing_string" = "X$echo_test_string"; then
  655.         # This shell has a builtin print -r that does the trick.
  656.         ECHO='print -r'
  657.       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  658.        test "X$CONFIG_SHELL" != X/bin/ksh; then
  659.         # If we have ksh, try running configure again with it.
  660.         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  661.         export ORIGINAL_CONFIG_SHELL
  662.         CONFIG_SHELL=/bin/ksh
  663.         export CONFIG_SHELL
  664.         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  665.       else
  666.         # Try using printf.
  667.         ECHO='printf %s\n'
  668.         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  669.        echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  670.        test "X$echo_testing_string" = "X$echo_test_string"; then
  671.       # Cool, printf works
  672.       :
  673.         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  674.          test "X$echo_testing_string" = 'X\t' &&
  675.          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  676.          test "X$echo_testing_string" = "X$echo_test_string"; then
  677.       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  678.       export CONFIG_SHELL
  679.       SHELL="$CONFIG_SHELL"
  680.       export SHELL
  681.       ECHO="$CONFIG_SHELL $0 --fallback-echo"
  682.         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  683.          test "X$echo_testing_string" = 'X\t' &&
  684.          echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  685.          test "X$echo_testing_string" = "X$echo_test_string"; then
  686.       ECHO="$CONFIG_SHELL $0 --fallback-echo"
  687.         else
  688.       # maybe with a smaller string...
  689.       prev=:
  690.  
  691.       for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  692.         if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  693.         then
  694.           break
  695.         fi
  696.         prev="$cmd"
  697.       done
  698.  
  699.       if test "$prev" != 'sed 50q "$0"'; then
  700.         echo_test_string=`eval $prev`
  701.         export echo_test_string
  702.         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  703.       else
  704.         # Oops.  We lost completely, so just stick with echo.
  705.         ECHO=echo
  706.       fi
  707.         fi
  708.       fi
  709.     fi
  710.   fi
  711. fi
  712.  
  713. # Copy echo and quote the copy suitably for passing to libtool from
  714. # the Makefile, instead of quoting the original, which is used later.
  715. lt_ECHO=$ECHO
  716. if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  717.    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  718. fi
  719.  
  720.  
  721.  
  722.  
  723. exec 7<&0 </dev/null 6>&1
  724.  
  725. # Name of the host.
  726. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  727. # so uname gets run too.
  728. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  729.  
  730. #
  731. # Initializations.
  732. #
  733. ac_default_prefix=/usr/local
  734. ac_clean_files=
  735. ac_config_libobj_dir=.
  736. LIBOBJS=
  737. cross_compiling=no
  738. subdirs=
  739. MFLAGS=
  740. MAKEFLAGS=
  741. SHELL=${CONFIG_SHELL-/bin/sh}
  742.  
  743. # Identity of this package.
  744. PACKAGE_NAME='bluez'
  745. PACKAGE_TARNAME='bluez'
  746. PACKAGE_VERSION='4.93'
  747. PACKAGE_STRING='bluez 4.93'
  748. PACKAGE_BUGREPORT=''
  749.  
  750. ac_default_prefix=/usr/local
  751. # Factoring default headers for most tests.
  752. ac_includes_default="\
  753. #include <stdio.h>
  754. #ifdef HAVE_SYS_TYPES_H
  755. # include <sys/types.h>
  756. #endif
  757. #ifdef HAVE_SYS_STAT_H
  758. # include <sys/stat.h>
  759. #endif
  760. #ifdef STDC_HEADERS
  761. # include <stdlib.h>
  762. # include <stddef.h>
  763. #else
  764. # ifdef HAVE_STDLIB_H
  765. #  include <stdlib.h>
  766. # endif
  767. #endif
  768. #ifdef HAVE_STRING_H
  769. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  770. #  include <memory.h>
  771. # endif
  772. # include <string.h>
  773. #endif
  774. #ifdef HAVE_STRINGS_H
  775. # include <strings.h>
  776. #endif
  777. #ifdef HAVE_INTTYPES_H
  778. # include <inttypes.h>
  779. #endif
  780. #ifdef HAVE_STDINT_H
  781. # include <stdint.h>
  782. #endif
  783. #ifdef HAVE_UNISTD_H
  784. # include <unistd.h>
  785. #endif"
  786.  
  787. ac_subst_vars='am__EXEEXT_FALSE
  788. am__EXEEXT_TRUE
  789. LTLIBOBJS
  790. LIBOBJS
  791. CAPNG_LIBS
  792. CAPNG_CFLAGS
  793. DBUSOOBPLUGIN_FALSE
  794. DBUSOOBPLUGIN_TRUE
  795. MAEMO6PLUGIN_FALSE
  796. MAEMO6PLUGIN_TRUE
  797. CONFIGFILES_FALSE
  798. CONFIGFILES_TRUE
  799. UDEVRULES_FALSE
  800. UDEVRULES_TRUE
  801. DFUTOOL_FALSE
  802. DFUTOOL_TRUE
  803. HID2HCI_FALSE
  804. HID2HCI_TRUE
  805. PCMCIA_FALSE
  806. PCMCIA_TRUE
  807. BCCMD_FALSE
  808. BCCMD_TRUE
  809. TOOLS_FALSE
  810. TOOLS_TRUE
  811. TEST_FALSE
  812. TEST_TRUE
  813. CUPS_FALSE
  814. CUPS_TRUE
  815. DUND_FALSE
  816. DUND_TRUE
  817. PAND_FALSE
  818. PAND_TRUE
  819. HIDD_FALSE
  820. HIDD_TRUE
  821. TRACER_FALSE
  822. TRACER_TRUE
  823. PNATPLUGIN_FALSE
  824. PNATPLUGIN_TRUE
  825. ECHOPLUGIN_FALSE
  826. ECHOPLUGIN_TRUE
  827. GATT_EXAMPLE_PLUGIN_FALSE
  828. GATT_EXAMPLE_PLUGIN_TRUE
  829. READLINE_FALSE
  830. READLINE_TRUE
  831. HAL_FALSE
  832. HAL_TRUE
  833. MCAP_FALSE
  834. MCAP_TRUE
  835. HEALTHPLUGIN_FALSE
  836. HEALTHPLUGIN_TRUE
  837. SERVICEPLUGIN_FALSE
  838. SERVICEPLUGIN_TRUE
  839. SAPPLUGIN_FALSE
  840. SAPPLUGIN_TRUE
  841. NETWORKPLUGIN_FALSE
  842. NETWORKPLUGIN_TRUE
  843. SERIALPLUGIN_FALSE
  844. SERIALPLUGIN_TRUE
  845. INPUTPLUGIN_FALSE
  846. INPUTPLUGIN_TRUE
  847. AUDIOPLUGIN_FALSE
  848. AUDIOPLUGIN_TRUE
  849. GSTREAMER_FALSE
  850. GSTREAMER_TRUE
  851. ALSA_FALSE
  852. ALSA_TRUE
  853. SBC_FALSE
  854. SBC_TRUE
  855. USB_FALSE
  856. USB_TRUE
  857. SNDFILE_FALSE
  858. SNDFILE_TRUE
  859. TELEPHONY_DRIVER
  860. SAP_DRIVER
  861. READLINE_LIBS
  862. SNDFILE_LIBS
  863. SNDFILE_CFLAGS
  864. UDEV_LIBS
  865. UDEV_CFLAGS
  866. USB_LIBS
  867. USB_CFLAGS
  868. GSTREAMER_PLUGINSDIR
  869. GSTREAMER_LIBS
  870. GSTREAMER_CFLAGS
  871. ALSA_LIBS
  872. ALSA_CFLAGS
  873. GLIB_LIBS
  874. GLIB_CFLAGS
  875. DBUS_LIBS
  876. DBUS_CFLAGS
  877. CPP
  878. OTOOL64
  879. OTOOL
  880. LIPO
  881. NMEDIT
  882. DSYMUTIL
  883. lt_ECHO
  884. RANLIB
  885. AR
  886. OBJDUMP
  887. LN_S
  888. NM
  889. ac_ct_DUMPBIN
  890. DUMPBIN
  891. LD
  892. FGREP
  893. EGREP
  894. GREP
  895. SED
  896. host_os
  897. host_vendor
  898. host_cpu
  899. host
  900. build_os
  901. build_vendor
  902. build_cpu
  903. build
  904. LIBTOOL
  905. LEXLIB
  906. LEX_OUTPUT_ROOT
  907. LEX
  908. YFLAGS
  909. YACC
  910. am__fastdepCC_FALSE
  911. am__fastdepCC_TRUE
  912. CCDEPMODE
  913. AMDEPBACKSLASH
  914. AMDEP_FALSE
  915. AMDEP_TRUE
  916. am__quote
  917. am__include
  918. DEPDIR
  919. OBJEXT
  920. EXEEXT
  921. ac_ct_CC
  922. CPPFLAGS
  923. LDFLAGS
  924. CFLAGS
  925. CC
  926. UDEV_DIR
  927. STORAGEDIR
  928. CONFIGDIR
  929. PKG_CONFIG
  930. MAINT
  931. MAINTAINER_MODE_FALSE
  932. MAINTAINER_MODE_TRUE
  933. AM_BACKSLASH
  934. AM_DEFAULT_VERBOSITY
  935. am__untar
  936. am__tar
  937. AMTAR
  938. am__leading_dot
  939. SET_MAKE
  940. AWK
  941. mkdir_p
  942. MKDIR_P
  943. INSTALL_STRIP_PROGRAM
  944. STRIP
  945. install_sh
  946. MAKEINFO
  947. AUTOHEADER
  948. AUTOMAKE
  949. AUTOCONF
  950. ACLOCAL
  951. VERSION
  952. PACKAGE
  953. CYGPATH_W
  954. am__isrc
  955. INSTALL_DATA
  956. INSTALL_SCRIPT
  957. INSTALL_PROGRAM
  958. target_alias
  959. host_alias
  960. build_alias
  961. LIBS
  962. ECHO_T
  963. ECHO_N
  964. ECHO_C
  965. DEFS
  966. mandir
  967. localedir
  968. libdir
  969. psdir
  970. pdfdir
  971. dvidir
  972. htmldir
  973. infodir
  974. docdir
  975. oldincludedir
  976. includedir
  977. localstatedir
  978. sharedstatedir
  979. sysconfdir
  980. datadir
  981. datarootdir
  982. libexecdir
  983. sbindir
  984. bindir
  985. program_transform_name
  986. prefix
  987. exec_prefix
  988. PACKAGE_BUGREPORT
  989. PACKAGE_STRING
  990. PACKAGE_VERSION
  991. PACKAGE_TARNAME
  992. PACKAGE_NAME
  993. PATH_SEPARATOR
  994. SHELL'
  995. ac_subst_files=''
  996. ac_user_opts='
  997. enable_option_checking
  998. enable_silent_rules
  999. enable_maintainer_mode
  1000. enable_dependency_tracking
  1001. enable_static
  1002. enable_shared
  1003. with_pic
  1004. enable_fast_install
  1005. with_gnu_ld
  1006. enable_libtool_lock
  1007. with_ouifile
  1008. enable_optimization
  1009. enable_fortify
  1010. enable_pie
  1011. enable_network
  1012. enable_sap
  1013. with_sap
  1014. enable_serial
  1015. enable_input
  1016. enable_audio
  1017. enable_service
  1018. enable_health
  1019. enable_pnat
  1020. enable_gatt_example
  1021. enable_gstreamer
  1022. enable_alsa
  1023. enable_usb
  1024. enable_tracer
  1025. enable_tools
  1026. enable_bccmd
  1027. enable_pcmcia
  1028. enable_hid2hci
  1029. enable_dfutool
  1030. enable_hidd
  1031. enable_pand
  1032. enable_dund
  1033. enable_cups
  1034. enable_test
  1035. enable_udevrules
  1036. enable_configfiles
  1037. enable_debug
  1038. with_telephony
  1039. enable_maemo6
  1040. enable_dbusoob
  1041. enable_hal
  1042. enable_capng
  1043. '
  1044.       ac_precious_vars='build_alias
  1045. host_alias
  1046. target_alias
  1047. PKG_CONFIG
  1048. CC
  1049. CFLAGS
  1050. LDFLAGS
  1051. LIBS
  1052. CPPFLAGS
  1053. YACC
  1054. YFLAGS
  1055. CPP
  1056. DBUS_CFLAGS
  1057. DBUS_LIBS
  1058. GLIB_CFLAGS
  1059. GLIB_LIBS
  1060. ALSA_CFLAGS
  1061. ALSA_LIBS
  1062. GSTREAMER_CFLAGS
  1063. GSTREAMER_LIBS
  1064. USB_CFLAGS
  1065. USB_LIBS
  1066. UDEV_CFLAGS
  1067. UDEV_LIBS
  1068. SNDFILE_CFLAGS
  1069. SNDFILE_LIBS
  1070. CAPNG_CFLAGS
  1071. CAPNG_LIBS'
  1072.  
  1073.  
  1074. # Initialize some variables set by options.
  1075. ac_init_help=
  1076. ac_init_version=false
  1077. ac_unrecognized_opts=
  1078. ac_unrecognized_sep=
  1079. # The variables have the same names as the options, with
  1080. # dashes changed to underlines.
  1081. cache_file=/dev/null
  1082. exec_prefix=NONE
  1083. no_create=
  1084. no_recursion=
  1085. prefix=NONE
  1086. program_prefix=NONE
  1087. program_suffix=NONE
  1088. program_transform_name=s,x,x,
  1089. silent=
  1090. site=
  1091. srcdir=
  1092. verbose=
  1093. x_includes=NONE
  1094. x_libraries=NONE
  1095.  
  1096. # Installation directory options.
  1097. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1098. # and all the variables that are supposed to be based on exec_prefix
  1099. # by default will actually change.
  1100. # Use braces instead of parens because sh, perl, etc. also accept them.
  1101. # (The list follows the same order as the GNU Coding Standards.)
  1102. bindir='${exec_prefix}/bin'
  1103. sbindir='${exec_prefix}/sbin'
  1104. libexecdir='${exec_prefix}/libexec'
  1105. datarootdir='${prefix}/share'
  1106. datadir='${datarootdir}'
  1107. sysconfdir='${prefix}/etc'
  1108. sharedstatedir='${prefix}/com'
  1109. localstatedir='${prefix}/var'
  1110. includedir='${prefix}/include'
  1111. oldincludedir='/usr/include'
  1112. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1113. infodir='${datarootdir}/info'
  1114. htmldir='${docdir}'
  1115. dvidir='${docdir}'
  1116. pdfdir='${docdir}'
  1117. psdir='${docdir}'
  1118. libdir='${exec_prefix}/lib'
  1119. localedir='${datarootdir}/locale'
  1120. mandir='${datarootdir}/man'
  1121.  
  1122. ac_prev=
  1123. ac_dashdash=
  1124. for ac_option
  1125. do
  1126.   # If the previous option needs an argument, assign it.
  1127.   if test -n "$ac_prev"; then
  1128.     eval $ac_prev=\$ac_option
  1129.     ac_prev=
  1130.     continue
  1131.   fi
  1132.  
  1133.   case $ac_option in
  1134.   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1135.   *)    ac_optarg=yes ;;
  1136.   esac
  1137.  
  1138.   # Accept the important Cygnus configure options, so we can diagnose typos.
  1139.  
  1140.   case $ac_dashdash$ac_option in
  1141.   --)
  1142.     ac_dashdash=yes ;;
  1143.  
  1144.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1145.     ac_prev=bindir ;;
  1146.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1147.     bindir=$ac_optarg ;;
  1148.  
  1149.   -build | --build | --buil | --bui | --bu)
  1150.     ac_prev=build_alias ;;
  1151.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1152.     build_alias=$ac_optarg ;;
  1153.  
  1154.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  1155.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1156.     ac_prev=cache_file ;;
  1157.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1158.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1159.     cache_file=$ac_optarg ;;
  1160.  
  1161.   --config-cache | -C)
  1162.     cache_file=config.cache ;;
  1163.  
  1164.   -datadir | --datadir | --datadi | --datad)
  1165.     ac_prev=datadir ;;
  1166.   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1167.     datadir=$ac_optarg ;;
  1168.  
  1169.   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1170.   | --dataroo | --dataro | --datar)
  1171.     ac_prev=datarootdir ;;
  1172.   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1173.   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1174.     datarootdir=$ac_optarg ;;
  1175.  
  1176.   -disable-* | --disable-*)
  1177.     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1178.     # Reject names that are not valid shell variable names.
  1179.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1180.       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1181.    { (exit 1); exit 1; }; }
  1182.     ac_useropt_orig=$ac_useropt
  1183.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1184.     case $ac_user_opts in
  1185.       *"
  1186. "enable_$ac_useropt"
  1187. "*) ;;
  1188.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1189.      ac_unrecognized_sep=', ';;
  1190.     esac
  1191.     eval enable_$ac_useropt=no ;;
  1192.  
  1193.   -docdir | --docdir | --docdi | --doc | --do)
  1194.     ac_prev=docdir ;;
  1195.   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1196.     docdir=$ac_optarg ;;
  1197.  
  1198.   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1199.     ac_prev=dvidir ;;
  1200.   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1201.     dvidir=$ac_optarg ;;
  1202.  
  1203.   -enable-* | --enable-*)
  1204.     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1205.     # Reject names that are not valid shell variable names.
  1206.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1207.       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1208.    { (exit 1); exit 1; }; }
  1209.     ac_useropt_orig=$ac_useropt
  1210.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1211.     case $ac_user_opts in
  1212.       *"
  1213. "enable_$ac_useropt"
  1214. "*) ;;
  1215.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1216.      ac_unrecognized_sep=', ';;
  1217.     esac
  1218.     eval enable_$ac_useropt=\$ac_optarg ;;
  1219.  
  1220.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1221.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1222.   | --exec | --exe | --ex)
  1223.     ac_prev=exec_prefix ;;
  1224.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1225.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1226.   | --exec=* | --exe=* | --ex=*)
  1227.     exec_prefix=$ac_optarg ;;
  1228.  
  1229.   -gas | --gas | --ga | --g)
  1230.     # Obsolete; use --with-gas.
  1231.     with_gas=yes ;;
  1232.  
  1233.   -help | --help | --hel | --he | -h)
  1234.     ac_init_help=long ;;
  1235.   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1236.     ac_init_help=recursive ;;
  1237.   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1238.     ac_init_help=short ;;
  1239.  
  1240.   -host | --host | --hos | --ho)
  1241.     ac_prev=host_alias ;;
  1242.   -host=* | --host=* | --hos=* | --ho=*)
  1243.     host_alias=$ac_optarg ;;
  1244.  
  1245.   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1246.     ac_prev=htmldir ;;
  1247.   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1248.   | --ht=*)
  1249.     htmldir=$ac_optarg ;;
  1250.  
  1251.   -includedir | --includedir | --includedi | --included | --include \
  1252.   | --includ | --inclu | --incl | --inc)
  1253.     ac_prev=includedir ;;
  1254.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1255.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1256.     includedir=$ac_optarg ;;
  1257.  
  1258.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1259.     ac_prev=infodir ;;
  1260.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1261.     infodir=$ac_optarg ;;
  1262.  
  1263.   -libdir | --libdir | --libdi | --libd)
  1264.     ac_prev=libdir ;;
  1265.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1266.     libdir=$ac_optarg ;;
  1267.  
  1268.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1269.   | --libexe | --libex | --libe)
  1270.     ac_prev=libexecdir ;;
  1271.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1272.   | --libexe=* | --libex=* | --libe=*)
  1273.     libexecdir=$ac_optarg ;;
  1274.  
  1275.   -localedir | --localedir | --localedi | --localed | --locale)
  1276.     ac_prev=localedir ;;
  1277.   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1278.     localedir=$ac_optarg ;;
  1279.  
  1280.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1281.   | --localstate | --localstat | --localsta | --localst | --locals)
  1282.     ac_prev=localstatedir ;;
  1283.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1284.   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1285.     localstatedir=$ac_optarg ;;
  1286.  
  1287.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1288.     ac_prev=mandir ;;
  1289.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1290.     mandir=$ac_optarg ;;
  1291.  
  1292.   -nfp | --nfp | --nf)
  1293.     # Obsolete; use --without-fp.
  1294.     with_fp=no ;;
  1295.  
  1296.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1297.   | --no-cr | --no-c | -n)
  1298.     no_create=yes ;;
  1299.  
  1300.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1301.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1302.     no_recursion=yes ;;
  1303.  
  1304.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1305.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1306.   | --oldin | --oldi | --old | --ol | --o)
  1307.     ac_prev=oldincludedir ;;
  1308.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1309.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1310.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1311.     oldincludedir=$ac_optarg ;;
  1312.  
  1313.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1314.     ac_prev=prefix ;;
  1315.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1316.     prefix=$ac_optarg ;;
  1317.  
  1318.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1319.   | --program-pre | --program-pr | --program-p)
  1320.     ac_prev=program_prefix ;;
  1321.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1322.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1323.     program_prefix=$ac_optarg ;;
  1324.  
  1325.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1326.   | --program-suf | --program-su | --program-s)
  1327.     ac_prev=program_suffix ;;
  1328.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1329.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1330.     program_suffix=$ac_optarg ;;
  1331.  
  1332.   -program-transform-name | --program-transform-name \
  1333.   | --program-transform-nam | --program-transform-na \
  1334.   | --program-transform-n | --program-transform- \
  1335.   | --program-transform | --program-transfor \
  1336.   | --program-transfo | --program-transf \
  1337.   | --program-trans | --program-tran \
  1338.   | --progr-tra | --program-tr | --program-t)
  1339.     ac_prev=program_transform_name ;;
  1340.   -program-transform-name=* | --program-transform-name=* \
  1341.   | --program-transform-nam=* | --program-transform-na=* \
  1342.   | --program-transform-n=* | --program-transform-=* \
  1343.   | --program-transform=* | --program-transfor=* \
  1344.   | --program-transfo=* | --program-transf=* \
  1345.   | --program-trans=* | --program-tran=* \
  1346.   | --progr-tra=* | --program-tr=* | --program-t=*)
  1347.     program_transform_name=$ac_optarg ;;
  1348.  
  1349.   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1350.     ac_prev=pdfdir ;;
  1351.   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1352.     pdfdir=$ac_optarg ;;
  1353.  
  1354.   -psdir | --psdir | --psdi | --psd | --ps)
  1355.     ac_prev=psdir ;;
  1356.   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1357.     psdir=$ac_optarg ;;
  1358.  
  1359.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1360.   | -silent | --silent | --silen | --sile | --sil)
  1361.     silent=yes ;;
  1362.  
  1363.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1364.     ac_prev=sbindir ;;
  1365.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1366.   | --sbi=* | --sb=*)
  1367.     sbindir=$ac_optarg ;;
  1368.  
  1369.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1370.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1371.   | --sharedst | --shareds | --shared | --share | --shar \
  1372.   | --sha | --sh)
  1373.     ac_prev=sharedstatedir ;;
  1374.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1375.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1376.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1377.   | --sha=* | --sh=*)
  1378.     sharedstatedir=$ac_optarg ;;
  1379.  
  1380.   -site | --site | --sit)
  1381.     ac_prev=site ;;
  1382.   -site=* | --site=* | --sit=*)
  1383.     site=$ac_optarg ;;
  1384.  
  1385.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1386.     ac_prev=srcdir ;;
  1387.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1388.     srcdir=$ac_optarg ;;
  1389.  
  1390.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1391.   | --syscon | --sysco | --sysc | --sys | --sy)
  1392.     ac_prev=sysconfdir ;;
  1393.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1394.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1395.     sysconfdir=$ac_optarg ;;
  1396.  
  1397.   -target | --target | --targe | --targ | --tar | --ta | --t)
  1398.     ac_prev=target_alias ;;
  1399.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1400.     target_alias=$ac_optarg ;;
  1401.  
  1402.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1403.     verbose=yes ;;
  1404.  
  1405.   -version | --version | --versio | --versi | --vers | -V)
  1406.     ac_init_version=: ;;
  1407.  
  1408.   -with-* | --with-*)
  1409.     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1410.     # Reject names that are not valid shell variable names.
  1411.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1412.       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1413.    { (exit 1); exit 1; }; }
  1414.     ac_useropt_orig=$ac_useropt
  1415.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1416.     case $ac_user_opts in
  1417.       *"
  1418. "with_$ac_useropt"
  1419. "*) ;;
  1420.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1421.      ac_unrecognized_sep=', ';;
  1422.     esac
  1423.     eval with_$ac_useropt=\$ac_optarg ;;
  1424.  
  1425.   -without-* | --without-*)
  1426.     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1427.     # Reject names that are not valid shell variable names.
  1428.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1429.       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1430.    { (exit 1); exit 1; }; }
  1431.     ac_useropt_orig=$ac_useropt
  1432.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1433.     case $ac_user_opts in
  1434.       *"
  1435. "with_$ac_useropt"
  1436. "*) ;;
  1437.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1438.      ac_unrecognized_sep=', ';;
  1439.     esac
  1440.     eval with_$ac_useropt=no ;;
  1441.  
  1442.   --x)
  1443.     # Obsolete; use --with-x.
  1444.     with_x=yes ;;
  1445.  
  1446.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1447.   | --x-incl | --x-inc | --x-in | --x-i)
  1448.     ac_prev=x_includes ;;
  1449.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1450.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1451.     x_includes=$ac_optarg ;;
  1452.  
  1453.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1454.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1455.     ac_prev=x_libraries ;;
  1456.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1457.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1458.     x_libraries=$ac_optarg ;;
  1459.  
  1460.   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1461. Try \`$0 --help' for more information." >&2
  1462.   { (exit 1); exit 1; }; }
  1463.    ;;
  1464.  
  1465.  *=*)
  1466.    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1467.    # Reject names that are not valid shell variable names.
  1468.    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1469.      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1470.   { (exit 1); exit 1; }; }
  1471.    eval $ac_envvar=\$ac_optarg
  1472.    export $ac_envvar ;;
  1473.  
  1474.  *)
  1475.    # FIXME: should be removed in autoconf 3.0.
  1476.    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1477.    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1478.      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1479.    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1480.    ;;
  1481.  
  1482.  esac
  1483. done
  1484.  
  1485. if test -n "$ac_prev"; then
  1486.  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1487.  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1488.   { (exit 1); exit 1; }; }
  1489. fi
  1490.  
  1491. if test -n "$ac_unrecognized_opts"; then
  1492.  case $enable_option_checking in
  1493.    no) ;;
  1494.    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
  1495.   { (exit 1); exit 1; }; } ;;
  1496.    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1497.  esac
  1498. fi
  1499.  
  1500. # Check all directory arguments for consistency.
  1501. for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1502.         datadir sysconfdir sharedstatedir localstatedir includedir \
  1503.         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1504.         libdir localedir mandir
  1505. do
  1506.  eval ac_val=\$$ac_var
  1507.  # Remove trailing slashes.
  1508.  case $ac_val in
  1509.    */ )
  1510.      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1511.      eval $ac_var=\$ac_val;;
  1512.  esac
  1513.  # Be sure to have absolute directory names.
  1514.  case $ac_val in
  1515.    [\\/$]* | ?:[\\/]* )  continue;;
  1516.    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1517.  esac
  1518.  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1519.   { (exit 1); exit 1; }; }
  1520. done
  1521.  
  1522. # There might be people who depend on the old broken behavior: `$host'
  1523. # used to hold the argument of --host etc.
  1524. # FIXME: To remove some day.
  1525. build=$build_alias
  1526. host=$host_alias
  1527. target=$target_alias
  1528.  
  1529. # FIXME: To remove some day.
  1530. if test "x$host_alias" != x; then
  1531.  if test "x$build_alias" = x; then
  1532.    cross_compiling=maybe
  1533.    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1534.    If a cross compiler is detected then cross compile mode will be used." >&2
  1535.  elif test "x$build_alias" != "x$host_alias"; then
  1536.    cross_compiling=yes
  1537.  fi
  1538. fi
  1539.  
  1540. ac_tool_prefix=
  1541. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1542.  
  1543. test "$silent" = yes && exec 6>/dev/null
  1544.  
  1545.  
  1546. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1547. ac_ls_di=`ls -di .` &&
  1548. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1549.  { $as_echo "$as_me: error: working directory cannot be determined" >&2
  1550.   { (exit 1); exit 1; }; }
  1551. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1552.  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1553.   { (exit 1); exit 1; }; }
  1554.  
  1555.  
  1556. # Find the source files, if location was not specified.
  1557. if test -z "$srcdir"; then
  1558.  ac_srcdir_defaulted=yes
  1559.  # Try the directory containing this script, then the parent directory.
  1560.  ac_confdir=`$as_dirname -- "$as_myself" ||
  1561. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1562.      X"$as_myself" : 'X\(//\)[^/]' \| \
  1563.      X"$as_myself" : 'X\(//\)$' \| \
  1564.      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1565. $as_echo X"$as_myself" |
  1566.    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1567.         s//\1/
  1568.         q
  1569.       }
  1570.       /^X\(\/\/\)[^/].*/{
  1571.         s//\1/
  1572.         q
  1573.       }
  1574.       /^X\(\/\/\)$/{
  1575.         s//\1/
  1576.         q
  1577.       }
  1578.       /^X\(\/\).*/{
  1579.         s//\1/
  1580.         q
  1581.       }
  1582.       s/.*/./; q'`
  1583.  srcdir=$ac_confdir
  1584.  if test ! -r "$srcdir/$ac_unique_file"; then
  1585.    srcdir=..
  1586.  fi
  1587. else
  1588.  ac_srcdir_defaulted=no
  1589. fi
  1590. if test ! -r "$srcdir/$ac_unique_file"; then
  1591.  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1592.  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1593.   { (exit 1); exit 1; }; }
  1594. fi
  1595. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1596. ac_abs_confdir=`(
  1597.     cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1598.   { (exit 1); exit 1; }; }
  1599.     pwd)`
  1600. # When building in place, set srcdir=.
  1601. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1602.  srcdir=.
  1603. fi
  1604. # Remove unnecessary trailing slashes from srcdir.
  1605. # Double slashes in file names in object file debugging info
  1606. # mess up M-x gdb in Emacs.
  1607. case $srcdir in
  1608. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1609. esac
  1610. for ac_var in $ac_precious_vars; do
  1611.  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1612.  eval ac_env_${ac_var}_value=\$${ac_var}
  1613.  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1614.  eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1615. done
  1616.  
  1617. #
  1618. # Report the --help message.
  1619. #
  1620. if test "$ac_init_help" = "long"; then
  1621.  # Omit some internal or obsolete options to make the list less imposing.
  1622.  # This message is too long to be a string in the A/UX 3.1 sh.
  1623.  cat <<_ACEOF
  1624. \`configure' configures bluez 4.93 to adapt to many kinds of systems.
  1625.  
  1626. Usage: $0 [OPTION]... [VAR=VALUE]...
  1627.  
  1628. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1629. VAR=VALUE.  See below for descriptions of some of the useful variables.
  1630.  
  1631. Defaults for the options are specified in brackets.
  1632.  
  1633. Configuration:
  1634.  -h, --help              display this help and exit
  1635.      --help=short        display options specific to this package
  1636.      --help=recursive    display the short help of all the included packages
  1637.  -V, --version           display version information and exit
  1638.  -q, --quiet, --silent   do not print \`checking...' messages
  1639.      --cache-file=FILE   cache test results in FILE [disabled]
  1640.  -C, --config-cache      alias for \`--cache-file=config.cache'
  1641.  -n, --no-create         do not create output files
  1642.      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1643.  
  1644. Installation directories:
  1645.  --prefix=PREFIX         install architecture-independent files in PREFIX
  1646.                          [$ac_default_prefix]
  1647.  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1648.                          [PREFIX]
  1649.  
  1650. By default, \`make install' will install all the files in
  1651. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1652. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1653. for instance \`--prefix=\$HOME'.
  1654.  
  1655. For better control, use the options below.
  1656.  
  1657. Fine tuning of the installation directories:
  1658.  --bindir=DIR            user executables [EPREFIX/bin]
  1659.  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1660.  --libexecdir=DIR        program executables [EPREFIX/libexec]
  1661.  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1662.  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1663.  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1664.  --libdir=DIR            object code libraries [EPREFIX/lib]
  1665.  --includedir=DIR        C header files [PREFIX/include]
  1666.  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1667.  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1668.  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1669.  --infodir=DIR           info documentation [DATAROOTDIR/info]
  1670.  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1671.  --mandir=DIR            man documentation [DATAROOTDIR/man]
  1672.  --docdir=DIR            documentation root [DATAROOTDIR/doc/bluez]
  1673.  --htmldir=DIR           html documentation [DOCDIR]
  1674.  --dvidir=DIR            dvi documentation [DOCDIR]
  1675.  --pdfdir=DIR            pdf documentation [DOCDIR]
  1676.  --psdir=DIR             ps documentation [DOCDIR]
  1677. _ACEOF
  1678.  
  1679.  cat <<\_ACEOF
  1680.  
  1681. Program names:
  1682.  --program-prefix=PREFIX            prepend PREFIX to installed program names
  1683.  --program-suffix=SUFFIX            append SUFFIX to installed program names
  1684.  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1685.  
  1686. System types:
  1687.  --build=BUILD     configure for building on BUILD [guessed]
  1688.  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1689. _ACEOF
  1690. fi
  1691.  
  1692. if test -n "$ac_init_help"; then
  1693.  case $ac_init_help in
  1694.     short | recursive ) echo "Configuration of bluez 4.93:";;
  1695.   esac
  1696.  cat <<\_ACEOF
  1697.  
  1698. Optional Features:
  1699.  --disable-option-checking  ignore unrecognized --enable/--with options
  1700.  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1701.  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1702.  --enable-silent-rules          less verbose build output (undo: `make V=1')
  1703.  --disable-silent-rules         verbose build output (undo: `make V=0')
  1704.  --enable-maintainer-mode  enable make rules and dependencies not useful
  1705.               (and sometimes confusing) to the casual installer
  1706.  --disable-dependency-tracking  speeds up one-time build
  1707.  --enable-dependency-tracking   do not reject slow dependency extractors
  1708.  --enable-static[=PKGS]  build static libraries [default=no]
  1709.  --enable-shared[=PKGS]  build shared libraries [default=yes]
  1710.  --enable-fast-install[=PKGS]
  1711.                          optimize for fast installation [default=yes]
  1712.  --disable-libtool-lock  avoid locking (might break parallel builds)
  1713.  --disable-optimization  disable code optimization
  1714.  --disable-fortify       disable compile time buffer checks
  1715.  --disable-pie           disable position independent executables flag
  1716.  --disable-network       disable network plugin
  1717.  --enable-sap            enable sap plugin
  1718.  --disable-serial        disable serial plugin
  1719.  --disable-input         disable input plugin
  1720.  --disable-audio         disable audio plugin
  1721.  --disable-service       disable service plugin
  1722.  --enable-health         enable health plugin
  1723.  --enable-pnat           enable pnat plugin
  1724.  --enable-gatt-example   enable GATT example plugin
  1725.  --enable-gstreamer      enable GStreamer support
  1726.  --enable-alsa           enable ALSA support
  1727.  --enable-usb            enable USB support
  1728.  --enable-tracer         install Tracing daemon
  1729.  --enable-tools          install Bluetooth utilities
  1730.  --enable-bccmd          install BCCMD interface utility
  1731.  --enable-pcmcia         install PCMCIA serial script
  1732.  --enable-hid2hci        install HID mode switching utility
  1733.  --enable-dfutool        install DFU firmware upgrade utility
  1734.  --enable-hidd           install HID daemon
  1735.  --enable-pand           install PAN daemon
  1736.  --enable-dund           install DUN daemon
  1737.  --enable-cups           install CUPS backend support
  1738.  --enable-test           install test programs
  1739.  --enable-udevrules      install Bluetooth udev rules
  1740.  --enable-configfiles    install Bluetooth configuration files
  1741.  --enable-debug          enable compiling with debugging information
  1742.  --enable-maemo6         compile with maemo6 plugin
  1743.  --enable-dbusoob        compile with D-Bus OOB plugin
  1744.  --enable-hal            Use HAL to determine adapter class
  1745.  --enable-capng          enable capabilities support
  1746.  
  1747. Optional Packages:
  1748.  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1749.  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1750.  --with-pic              try to use only PIC/non-PIC objects [default=use
  1751.                          both]
  1752.  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1753.  --with-ouifile=PATH     Path to the oui.txt file [auto]
  1754.  --with-sap=DRIVER       select SAP driver
  1755.  --with-telephony=DRIVER select telephony driver
  1756.  
  1757. Some influential environment variables:
  1758.  PKG_CONFIG  path to pkg-config utility
  1759.  CC          C compiler command
  1760.  CFLAGS      C compiler flags
  1761.  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1762.              nonstandard directory <lib dir>
  1763.  LIBS        libraries to pass to the linker, e.g. -l<library>
  1764.  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1765.              you have headers in a nonstandard directory <include dir>
  1766.  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
  1767.              the first program found out of: `bison -y', `byacc', `yacc'.
  1768.  YFLAGS      The list of arguments that will be passed by default to $YACC.
  1769.              This script will default YFLAGS to the empty string to avoid a
  1770.              default value of `-d' given by some make applications.
  1771.  CPP         C preprocessor
  1772.  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
  1773.  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
  1774.  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1775.  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1776.  ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1777.  ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1778.  GSTREAMER_CFLAGS
  1779.              C compiler flags for GSTREAMER, overriding pkg-config
  1780.  GSTREAMER_LIBS
  1781.              linker flags for GSTREAMER, overriding pkg-config
  1782.  USB_CFLAGS  C compiler flags for USB, overriding pkg-config
  1783.  USB_LIBS    linker flags for USB, overriding pkg-config
  1784.  UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
  1785.  UDEV_LIBS   linker flags for UDEV, overriding pkg-config
  1786.  SNDFILE_CFLAGS
  1787.              C compiler flags for SNDFILE, overriding pkg-config
  1788.  SNDFILE_LIBS
  1789.              linker flags for SNDFILE, overriding pkg-config
  1790.  CAPNG_CFLAGS
  1791.              C compiler flags for CAPNG, overriding pkg-config
  1792.  CAPNG_LIBS  linker flags for CAPNG, overriding pkg-config
  1793.  
  1794. Use these variables to override the choices made by `configure' or to help
  1795. it to find libraries and programs with nonstandard names/locations.
  1796.  
  1797. _ACEOF
  1798. ac_status=$?
  1799. fi
  1800.  
  1801. if test "$ac_init_help" = "recursive"; then
  1802.  # If there are subdirs, report their specific --help.
  1803.  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1804.    test -d "$ac_dir" ||
  1805.      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1806.      continue
  1807.    ac_builddir=.
  1808.  
  1809. case "$ac_dir" in
  1810. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1811. *)
  1812.  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1813.  # A ".." for each directory in $ac_dir_suffix.
  1814.  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1815.  case $ac_top_builddir_sub in
  1816.  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1817.  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1818.  esac ;;
  1819. esac
  1820. ac_abs_top_builddir=$ac_pwd
  1821. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1822. # for backward compatibility:
  1823. ac_top_builddir=$ac_top_build_prefix
  1824.  
  1825. case $srcdir in
  1826.  .)  # We are building in place.
  1827.    ac_srcdir=.
  1828.    ac_top_srcdir=$ac_top_builddir_sub
  1829.    ac_abs_top_srcdir=$ac_pwd ;;
  1830.  [\\/]* | ?:[\\/]* )  # Absolute name.
  1831.    ac_srcdir=$srcdir$ac_dir_suffix;
  1832.    ac_top_srcdir=$srcdir
  1833.    ac_abs_top_srcdir=$srcdir ;;
  1834.  *) # Relative name.
  1835.    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1836.    ac_top_srcdir=$ac_top_build_prefix$srcdir
  1837.    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1838. esac
  1839. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1840.  
  1841.    cd "$ac_dir" || { ac_status=$?; continue; }
  1842.    # Check for guested configure.
  1843.    if test -f "$ac_srcdir/configure.gnu"; then
  1844.      echo &&
  1845.      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1846.    elif test -f "$ac_srcdir/configure"; then
  1847.      echo &&
  1848.      $SHELL "$ac_srcdir/configure" --help=recursive
  1849.    else
  1850.      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1851.    fi || ac_status=$?
  1852.    cd "$ac_pwd" || { ac_status=$?; break; }
  1853.  done
  1854. fi
  1855.  
  1856. test -n "$ac_init_help" && exit $ac_status
  1857. if $ac_init_version; then
  1858.  cat <<\_ACEOF
  1859. bluez configure 4.93
  1860. generated by GNU Autoconf 2.63
  1861.  
  1862. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1863. 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1864. This configure script is free software; the Free Software Foundation
  1865. gives unlimited permission to copy, distribute and modify it.
  1866. _ACEOF
  1867.  exit
  1868. fi
  1869. cat >config.log <<_ACEOF
  1870. This file contains any messages produced by compilers while
  1871. running configure, to aid debugging if configure makes a mistake.
  1872.  
  1873. It was created by bluez $as_me 4.93, which was
  1874. generated by GNU Autoconf 2.63.  Invocation command line was
  1875.  
  1876.  $ $0 $@
  1877.  
  1878. _ACEOF
  1879. exec 5>>config.log
  1880. {
  1881. cat <<_ASUNAME
  1882. ## --------- ##
  1883. ## Platform. ##
  1884. ## --------- ##
  1885.  
  1886. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1887. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1888. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1889. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1890. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1891.  
  1892. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1893. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1894.  
  1895. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1896. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1897. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1898. /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1899. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1900. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1901. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1902.  
  1903. _ASUNAME
  1904.  
  1905. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1906. for as_dir in $PATH
  1907. do
  1908.  IFS=$as_save_IFS
  1909.  test -z "$as_dir" && as_dir=.
  1910.  $as_echo "PATH: $as_dir"
  1911. done
  1912. IFS=$as_save_IFS
  1913.  
  1914. } >&5
  1915.  
  1916. cat >&5 <<_ACEOF
  1917.  
  1918.  
  1919. ## ----------- ##
  1920. ## Core tests. ##
  1921. ## ----------- ##
  1922.  
  1923. _ACEOF
  1924.  
  1925.  
  1926. # Keep a trace of the command line.
  1927. # Strip out --no-create and --no-recursion so they do not pile up.
  1928. # Strip out --silent because we don't want to record it for future runs.
  1929. # Also quote any args containing shell meta-characters.
  1930. # Make two passes to allow for proper duplicate-argument suppression.
  1931. ac_configure_args=
  1932. ac_configure_args0=
  1933. ac_configure_args1=
  1934. ac_must_keep_next=false
  1935. for ac_pass in 1 2
  1936. do
  1937.  for ac_arg
  1938.  do
  1939.    case $ac_arg in
  1940.    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1941.    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1942.    | -silent | --silent | --silen | --sile | --sil)
  1943.      continue ;;
  1944.    *\'*)
  1945.      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1946.    esac
  1947.    case $ac_pass in
  1948.    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1949.    2)
  1950.      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1951.      if test $ac_must_keep_next = true; then
  1952.     ac_must_keep_next=false # Got value, back to normal.
  1953.      else
  1954.     case $ac_arg in
  1955.       *=* | --config-cache | -C | -disable-* | --disable-* \
  1956.       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1957.       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1958.       | -with-* | --with-* | -without-* | --without-* | --x)
  1959.         case "$ac_configure_args0 " in
  1960.           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1961.         esac
  1962.         ;;
  1963.       -* ) ac_must_keep_next=true ;;
  1964.     esac
  1965.      fi
  1966.      ac_configure_args="$ac_configure_args '$ac_arg'"
  1967.      ;;
  1968.    esac
  1969.  done
  1970. done
  1971. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1972. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1973.  
  1974. # When interrupted or exit'd, cleanup temporary files, and complete
  1975. # config.log.  We remove comments because anyway the quotes in there
  1976. # would cause problems or look ugly.
  1977. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1978. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1979. trap 'exit_status=$?
  1980.  # Save into config.log some information that might help in debugging.
  1981.  {
  1982.    echo
  1983.  
  1984.    cat <<\_ASBOX
  1985. ## ---------------- ##
  1986. ## Cache variables. ##
  1987. ## ---------------- ##
  1988. _ASBOX
  1989.    echo
  1990.    # The following way of writing the cache mishandles newlines in values,
  1991. (
  1992.  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1993.    eval ac_val=\$$ac_var
  1994.    case $ac_val in #(
  1995.    *${as_nl}*)
  1996.      case $ac_var in #(
  1997.      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  1998. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1999.      esac
  2000.      case $ac_var in #(
  2001.      _ | IFS | as_nl) ;; #(
  2002.      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2003.      *) $as_unset $ac_var ;;
  2004.      esac ;;
  2005.    esac
  2006.  done
  2007.  (set) 2>&1 |
  2008.    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2009.    *${as_nl}ac_space=\ *)
  2010.      sed -n \
  2011.     "s/'\''/'\''\\\\'\'''\''/g;
  2012.       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2013.      ;; #(
  2014.    *)
  2015.      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2016.      ;;
  2017.    esac |
  2018.    sort
  2019. )
  2020.    echo
  2021.  
  2022.    cat <<\_ASBOX
  2023. ## ----------------- ##
  2024. ## Output variables. ##
  2025. ## ----------------- ##
  2026. _ASBOX
  2027.    echo
  2028.    for ac_var in $ac_subst_vars
  2029.    do
  2030.      eval ac_val=\$$ac_var
  2031.      case $ac_val in
  2032.      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2033.      esac
  2034.      $as_echo "$ac_var='\''$ac_val'\''"
  2035.    done | sort
  2036.    echo
  2037.  
  2038.    if test -n "$ac_subst_files"; then
  2039.      cat <<\_ASBOX
  2040. ## ------------------- ##
  2041. ## File substitutions. ##
  2042. ## ------------------- ##
  2043. _ASBOX
  2044.      echo
  2045.      for ac_var in $ac_subst_files
  2046.      do
  2047.     eval ac_val=\$$ac_var
  2048.     case $ac_val in
  2049.     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2050.     esac
  2051.     $as_echo "$ac_var='\''$ac_val'\''"
  2052.      done | sort
  2053.      echo
  2054.    fi
  2055.  
  2056.    if test -s confdefs.h; then
  2057.      cat <<\_ASBOX
  2058. ## ----------- ##
  2059. ## confdefs.h. ##
  2060. ## ----------- ##
  2061. _ASBOX
  2062.      echo
  2063.      cat confdefs.h
  2064.      echo
  2065.    fi
  2066.    test "$ac_signal" != 0 &&
  2067.      $as_echo "$as_me: caught signal $ac_signal"
  2068.    $as_echo "$as_me: exit $exit_status"
  2069.  } >&5
  2070.  rm -f core *.core core.conftest.* &&
  2071.    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2072.    exit $exit_status
  2073. ' 0
  2074. for ac_signal in 1 2 13 15; do
  2075.   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  2076. done
  2077. ac_signal=0
  2078.  
  2079. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2080. rm -f -r conftest* confdefs.h
  2081.  
  2082. # Predefined preprocessor variables.
  2083.  
  2084. cat >>confdefs.h <<_ACEOF
  2085. #define PACKAGE_NAME "$PACKAGE_NAME"
  2086. _ACEOF
  2087.  
  2088.  
  2089. cat >>confdefs.h <<_ACEOF
  2090. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2091. _ACEOF
  2092.  
  2093.  
  2094. cat >>confdefs.h <<_ACEOF
  2095. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2096. _ACEOF
  2097.  
  2098.  
  2099. cat >>confdefs.h <<_ACEOF
  2100. #define PACKAGE_STRING "$PACKAGE_STRING"
  2101. _ACEOF
  2102.  
  2103.  
  2104. cat >>confdefs.h <<_ACEOF
  2105. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2106. _ACEOF
  2107.  
  2108.  
  2109. # Let the site file select an alternate cache file if it wants to.
  2110. # Prefer an explicitly selected file to automatically selected ones.
  2111. ac_site_file1=NONE
  2112. ac_site_file2=NONE
  2113. if test -n "$CONFIG_SITE"; then
  2114.   ac_site_file1=$CONFIG_SITE
  2115. elif test "x$prefix" != xNONE; then
  2116.   ac_site_file1=$prefix/share/config.site
  2117.   ac_site_file2=$prefix/etc/config.site
  2118. else
  2119.   ac_site_file1=$ac_default_prefix/share/config.site
  2120.   ac_site_file2=$ac_default_prefix/etc/config.site
  2121. fi
  2122. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2123. do
  2124.   test "x$ac_site_file" = xNONE && continue
  2125.   if test -r "$ac_site_file"; then
  2126.     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  2127. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2128.     sed 's/^/| /' "$ac_site_file" >&5
  2129.     . "$ac_site_file"
  2130.   fi
  2131. done
  2132.  
  2133. if test -r "$cache_file"; then
  2134.   # Some versions of bash will fail to source /dev/null (special
  2135.   # files actually), so we avoid doing that.
  2136.   if test -f "$cache_file"; then
  2137.     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  2138. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2139.     case $cache_file in
  2140.       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2141.       *)                      . "./$cache_file";;
  2142.     esac
  2143.   fi
  2144. else
  2145.   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  2146. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2147.   >$cache_file
  2148. fi
  2149.  
  2150. # Check that the precious variables saved in the cache have kept the same
  2151. # value.
  2152. ac_cache_corrupted=false
  2153. for ac_var in $ac_precious_vars; do
  2154.   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2155.   eval ac_new_set=\$ac_env_${ac_var}_set
  2156.   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2157.   eval ac_new_val=\$ac_env_${ac_var}_value
  2158.   case $ac_old_set,$ac_new_set in
  2159.     set,)
  2160.       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2161. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2162.       ac_cache_corrupted=: ;;
  2163.     ,set)
  2164.       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  2165. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2166.       ac_cache_corrupted=: ;;
  2167.     ,);;
  2168.     *)
  2169.       if test "x$ac_old_val" != "x$ac_new_val"; then
  2170.     # differences in whitespace do not lead to failure.
  2171.     ac_old_val_w=`echo x $ac_old_val`
  2172.     ac_new_val_w=`echo x $ac_new_val`
  2173.     if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2174.       { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  2175. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2176.       ac_cache_corrupted=:
  2177.     else
  2178.       { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2179. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2180.       eval $ac_var=\$ac_old_val
  2181.     fi
  2182.     { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  2183. $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2184.     { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  2185. $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2186.       fi;;
  2187.   esac
  2188.   # Pass precious variables to config.status.
  2189.   if test "$ac_new_set" = set; then
  2190.     case $ac_new_val in
  2191.     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2192.     *) ac_arg=$ac_var=$ac_new_val ;;
  2193.     esac
  2194.     case " $ac_configure_args " in
  2195.       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2196.       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  2197.     esac
  2198.   fi
  2199. done
  2200. if $ac_cache_corrupted; then
  2201.   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2202. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2203.   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  2204. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2205.   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  2206. $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  2207.    { (exit 1); exit 1; }; }
  2208. fi
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234. ac_ext=c
  2235. ac_cpp='$CPP $CPPFLAGS'
  2236. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2237. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2238. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2239.  
  2240.  
  2241.  
  2242. am__api_version='1.11'
  2243.  
  2244. ac_aux_dir=
  2245. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2246.   if test -f "$ac_dir/install-sh"; then
  2247.     ac_aux_dir=$ac_dir
  2248.     ac_install_sh="$ac_aux_dir/install-sh -c"
  2249.     break
  2250.   elif test -f "$ac_dir/install.sh"; then
  2251.     ac_aux_dir=$ac_dir
  2252.     ac_install_sh="$ac_aux_dir/install.sh -c"
  2253.     break
  2254.   elif test -f "$ac_dir/shtool"; then
  2255.     ac_aux_dir=$ac_dir
  2256.     ac_install_sh="$ac_aux_dir/shtool install -c"
  2257.     break
  2258.   fi
  2259. done
  2260. if test -z "$ac_aux_dir"; then
  2261.   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  2262. $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  2263.    { (exit 1); exit 1; }; }
  2264. fi
  2265.  
  2266. # These three variables are undocumented and unsupported,
  2267. # and are intended to be withdrawn in a future Autoconf release.
  2268. # They can cause serious problems if a builder's source tree is in a directory
  2269. # whose full name contains unusual characters.
  2270. ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2271. ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2272. ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2273.  
  2274.  
  2275. # Find a good install program.  We prefer a C program (faster),
  2276. # so one script is as good as another.  But avoid the broken or
  2277. # incompatible versions:
  2278. # SysV /etc/install, /usr/sbin/install
  2279. # SunOS /usr/etc/install
  2280. # IRIX /sbin/install
  2281. # AIX /bin/install
  2282. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2283. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2284. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2285. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2286. # OS/2's system install, which has a completely different semantic
  2287. # ./install, which can be erroneously created by make from ./install.sh.
  2288. # Reject install programs that cannot install multiple files.
  2289. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2290. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2291. if test -z "$INSTALL"; then
  2292. if test "${ac_cv_path_install+set}" = set; then
  2293.   $as_echo_n "(cached) " >&6
  2294. else
  2295.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2296. for as_dir in $PATH
  2297. do
  2298.   IFS=$as_save_IFS
  2299.   test -z "$as_dir" && as_dir=.
  2300.   # Account for people who put trailing slashes in PATH elements.
  2301. case $as_dir/ in
  2302.   ./ | .// | /cC/* | \
  2303.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2304.   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2305.   /usr/ucb/* ) ;;
  2306.   *)
  2307.     # OSF1 and SCO ODT 3.0 have their own names for install.
  2308.     # Don't use installbsd from OSF since it installs stuff as root
  2309.     # by default.
  2310.     for ac_prog in ginstall scoinst install; do
  2311.       for ac_exec_ext in '' $ac_executable_extensions; do
  2312.     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2313.       if test $ac_prog = install &&
  2314.         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2315.         # AIX install.  It has an incompatible calling convention.
  2316.         :
  2317.       elif test $ac_prog = install &&
  2318.         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2319.         # program-specific install script used by HP pwplus--don't use.
  2320.         :
  2321.       else
  2322.         rm -rf conftest.one conftest.two conftest.dir
  2323.         echo one > conftest.one
  2324.         echo two > conftest.two
  2325.         mkdir conftest.dir
  2326.         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2327.           test -s conftest.one && test -s conftest.two &&
  2328.           test -s conftest.dir/conftest.one &&
  2329.           test -s conftest.dir/conftest.two
  2330.         then
  2331.           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2332.           break 3
  2333.         fi
  2334.       fi
  2335.     fi
  2336.       done
  2337.     done
  2338.     ;;
  2339. esac
  2340.  
  2341. done
  2342. IFS=$as_save_IFS
  2343.  
  2344. rm -rf conftest.one conftest.two conftest.dir
  2345.  
  2346. fi
  2347.   if test "${ac_cv_path_install+set}" = set; then
  2348.     INSTALL=$ac_cv_path_install
  2349.   else
  2350.     # As a last resort, use the slow shell script.  Don't cache a
  2351.     # value for INSTALL within a source directory, because that will
  2352.     # break other packages using the cache if that directory is
  2353.     # removed, or if the value is a relative name.
  2354.     INSTALL=$ac_install_sh
  2355.   fi
  2356. fi
  2357. { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2358. $as_echo "$INSTALL" >&6; }
  2359.  
  2360. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2361. # It thinks the first close brace ends the variable substitution.
  2362. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2363.  
  2364. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2365.  
  2366. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2367.  
  2368. { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2369. $as_echo_n "checking whether build environment is sane... " >&6; }
  2370. # Just in case
  2371. sleep 1
  2372. echo timestamp > conftest.file
  2373. # Reject unsafe characters in $srcdir or the absolute working directory
  2374. # name.  Accept space and tab only in the latter.
  2375. am_lf='
  2376. '
  2377. case `pwd` in
  2378.   *[\\\"\#\$\&\'\`$am_lf]*)
  2379.     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
  2380. $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
  2381.    { (exit 1); exit 1; }; };;
  2382. esac
  2383. case $srcdir in
  2384.   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2385.     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
  2386. $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
  2387.    { (exit 1); exit 1; }; };;
  2388. esac
  2389.  
  2390. # Do `set' in a subshell so we don't clobber the current shell's
  2391. # arguments.  Must try -L first in case configure is actually a
  2392. # symlink; some systems play weird games with the mod time of symlinks
  2393. # (eg FreeBSD returns the mod time of the symlink's containing
  2394. # directory).
  2395. if (
  2396.    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2397.    if test "$*" = "X"; then
  2398.       # -L didn't work.
  2399.       set X `ls -t "$srcdir/configure" conftest.file`
  2400.    fi
  2401.    rm -f conftest.file
  2402.    if test "$*" != "X $srcdir/configure conftest.file" \
  2403.       && test "$*" != "X conftest.file $srcdir/configure"; then
  2404.  
  2405.       # If neither matched, then we have a broken ls.  This can happen
  2406.       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2407.       # broken ls alias from the environment.  This has actually
  2408.       # happened.  Such a system could not be considered "sane".
  2409.       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2410. alias in your environment" >&5
  2411. $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2412. alias in your environment" >&2;}
  2413.    { (exit 1); exit 1; }; }
  2414.    fi
  2415.  
  2416.    test "$2" = conftest.file
  2417.    )
  2418. then
  2419.    # Ok.
  2420.    :
  2421. else
  2422.    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2423. Check your system clock" >&5
  2424. $as_echo "$as_me: error: newly created file is older than distributed files!
  2425. Check your system clock" >&2;}
  2426.    { (exit 1); exit 1; }; }
  2427. fi
  2428. { $as_echo "$as_me:$LINENO: result: yes" >&5
  2429. $as_echo "yes" >&6; }
  2430. test "$program_prefix" != NONE &&
  2431.   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2432. # Use a double $ so make ignores it.
  2433. test "$program_suffix" != NONE &&
  2434.   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2435. # Double any \ or $.
  2436. # By default was `s,x,x', remove it if useless.
  2437. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2438. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2439.  
  2440. # expand $ac_aux_dir to an absolute path
  2441. am_aux_dir=`cd $ac_aux_dir && pwd`
  2442.  
  2443. if test x"${MISSING+set}" != xset; then
  2444.   case $am_aux_dir in
  2445.   *\ * | *\ *)
  2446.     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2447.   *)
  2448.     MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2449.   esac
  2450. fi
  2451. # Use eval to expand $SHELL
  2452. if eval "$MISSING --run true"; then
  2453.   am_missing_run="$MISSING --run "
  2454. else
  2455.   am_missing_run=
  2456.   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2457. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2458. fi
  2459.  
  2460. if test x"${install_sh}" != xset; then
  2461.   case $am_aux_dir in
  2462.   *\ * | *\ *)
  2463.     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2464.   *)
  2465.     install_sh="\${SHELL} $am_aux_dir/install-sh"
  2466.   esac
  2467. fi
  2468.  
  2469. # Installed binaries are usually stripped using `strip' when the user
  2470. # run `make install-strip'.  However `strip' might not be the right
  2471. # tool to use in cross-compilation environments, therefore Automake
  2472. # will honor the `STRIP' environment variable to overrule this program.
  2473. if test "$cross_compiling" != no; then
  2474.   if test -n "$ac_tool_prefix"; then
  2475.   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2476. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2477. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2478. $as_echo_n "checking for $ac_word... " >&6; }
  2479. if test "${ac_cv_prog_STRIP+set}" = set; then
  2480.   $as_echo_n "(cached) " >&6
  2481. else
  2482.   if test -n "$STRIP"; then
  2483.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2484. else
  2485. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2486. for as_dir in $PATH
  2487. do
  2488.   IFS=$as_save_IFS
  2489.   test -z "$as_dir" && as_dir=.
  2490.   for ac_exec_ext in '' $ac_executable_extensions; do
  2491.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2492.     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2493.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2494.     break 2
  2495.   fi
  2496. done
  2497. done
  2498. IFS=$as_save_IFS
  2499.  
  2500. fi
  2501. fi
  2502. STRIP=$ac_cv_prog_STRIP
  2503. if test -n "$STRIP"; then
  2504.   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2505. $as_echo "$STRIP" >&6; }
  2506. else
  2507.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2508. $as_echo "no" >&6; }
  2509. fi
  2510.  
  2511.  
  2512. fi
  2513. if test -z "$ac_cv_prog_STRIP"; then
  2514.   ac_ct_STRIP=$STRIP
  2515.   # Extract the first word of "strip", so it can be a program name with args.
  2516. set dummy strip; ac_word=$2
  2517. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2518. $as_echo_n "checking for $ac_word... " >&6; }
  2519. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2520.   $as_echo_n "(cached) " >&6
  2521. else
  2522.   if test -n "$ac_ct_STRIP"; then
  2523.   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2524. else
  2525. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2526. for as_dir in $PATH
  2527. do
  2528.   IFS=$as_save_IFS
  2529.   test -z "$as_dir" && as_dir=.
  2530.   for ac_exec_ext in '' $ac_executable_extensions; do
  2531.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2532.     ac_cv_prog_ac_ct_STRIP="strip"
  2533.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2534.     break 2
  2535.   fi
  2536. done
  2537. done
  2538. IFS=$as_save_IFS
  2539.  
  2540. fi
  2541. fi
  2542. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2543. if test -n "$ac_ct_STRIP"; then
  2544.   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2545. $as_echo "$ac_ct_STRIP" >&6; }
  2546. else
  2547.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2548. $as_echo "no" >&6; }
  2549. fi
  2550.  
  2551.   if test "x$ac_ct_STRIP" = x; then
  2552.     STRIP=":"
  2553.   else
  2554.     case $cross_compiling:$ac_tool_warned in
  2555. yes:)
  2556. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2557. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2558. ac_tool_warned=yes ;;
  2559. esac
  2560.     STRIP=$ac_ct_STRIP
  2561.   fi
  2562. else
  2563.   STRIP="$ac_cv_prog_STRIP"
  2564. fi
  2565.  
  2566. fi
  2567. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2568.  
  2569. { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
  2570. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2571. if test -z "$MKDIR_P"; then
  2572.   if test "${ac_cv_path_mkdir+set}" = set; then
  2573.   $as_echo_n "(cached) " >&6
  2574. else
  2575.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2576. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2577. do
  2578.   IFS=$as_save_IFS
  2579.   test -z "$as_dir" && as_dir=.
  2580.   for ac_prog in mkdir gmkdir; do
  2581.      for ac_exec_ext in '' $ac_executable_extensions; do
  2582.        { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2583.        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2584.          'mkdir (GNU coreutils) '* | \
  2585.          'mkdir (coreutils) '* | \
  2586.          'mkdir (fileutils) '4.1*)
  2587.            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2588.            break 3;;
  2589.        esac
  2590.      done
  2591.        done
  2592. done
  2593. IFS=$as_save_IFS
  2594.  
  2595. fi
  2596.  
  2597.   if test "${ac_cv_path_mkdir+set}" = set; then
  2598.     MKDIR_P="$ac_cv_path_mkdir -p"
  2599.   else
  2600.     # As a last resort, use the slow shell script.  Don't cache a
  2601.     # value for MKDIR_P within a source directory, because that will
  2602.     # break other packages using the cache if that directory is
  2603.     # removed, or if the value is a relative name.
  2604.     test -d ./--version && rmdir ./--version
  2605.     MKDIR_P="$ac_install_sh -d"
  2606.   fi
  2607. fi
  2608. { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
  2609. $as_echo "$MKDIR_P" >&6; }
  2610.  
  2611. mkdir_p="$MKDIR_P"
  2612. case $mkdir_p in
  2613.   [\\/$]* | ?:[\\/]*) ;;
  2614.   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2615. esac
  2616.  
  2617. for ac_prog in gawk mawk nawk awk
  2618. do
  2619.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2620. set dummy $ac_prog; ac_word=$2
  2621. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2622. $as_echo_n "checking for $ac_word... " >&6; }
  2623. if test "${ac_cv_prog_AWK+set}" = set; then
  2624.   $as_echo_n "(cached) " >&6
  2625. else
  2626.   if test -n "$AWK"; then
  2627.   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2628. else
  2629. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2630. for as_dir in $PATH
  2631. do
  2632.   IFS=$as_save_IFS
  2633.   test -z "$as_dir" && as_dir=.
  2634.   for ac_exec_ext in '' $ac_executable_extensions; do
  2635.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2636.     ac_cv_prog_AWK="$ac_prog"
  2637.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2638.     break 2
  2639.   fi
  2640. done
  2641. done
  2642. IFS=$as_save_IFS
  2643.  
  2644. fi
  2645. fi
  2646. AWK=$ac_cv_prog_AWK
  2647. if test -n "$AWK"; then
  2648.   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2649. $as_echo "$AWK" >&6; }
  2650. else
  2651.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2652. $as_echo "no" >&6; }
  2653. fi
  2654.  
  2655.  
  2656.   test -n "$AWK" && break
  2657. done
  2658.  
  2659. { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2660. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2661. set x ${MAKE-make}
  2662. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2663. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2664.   $as_echo_n "(cached) " >&6
  2665. else
  2666.   cat >conftest.make <<\_ACEOF
  2667. SHELL = /bin/sh
  2668. all:
  2669.     @echo '@@@%%%=$(MAKE)=@@@%%%'
  2670. _ACEOF
  2671. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2672. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2673.   *@@@%%%=?*=@@@%%%*)
  2674.     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2675.   *)
  2676.     eval ac_cv_prog_make_${ac_make}_set=no;;
  2677. esac
  2678. rm -f conftest.make
  2679. fi
  2680. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2681.   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2682. $as_echo "yes" >&6; }
  2683.   SET_MAKE=
  2684. else
  2685.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2686. $as_echo "no" >&6; }
  2687.   SET_MAKE="MAKE=${MAKE-make}"
  2688. fi
  2689.  
  2690. rm -rf .tst 2>/dev/null
  2691. mkdir .tst 2>/dev/null
  2692. if test -d .tst; then
  2693.   am__leading_dot=.
  2694. else
  2695.   am__leading_dot=_
  2696. fi
  2697. rmdir .tst 2>/dev/null
  2698.  
  2699. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2700.   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2701.   # is not polluted with repeated "-I."
  2702.   am__isrc=' -I$(srcdir)'
  2703.   # test to see if srcdir already configured
  2704.   if test -f $srcdir/config.status; then
  2705.     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2706. $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2707.    { (exit 1); exit 1; }; }
  2708.   fi
  2709. fi
  2710.  
  2711. # test whether we have cygpath
  2712. if test -z "$CYGPATH_W"; then
  2713.   if (cygpath --version) >/dev/null 2>/dev/null; then
  2714.     CYGPATH_W='cygpath -w'
  2715.   else
  2716.     CYGPATH_W=echo
  2717.   fi
  2718. fi
  2719.  
  2720.  
  2721. # Define the identity of the package.
  2722.  PACKAGE='bluez'
  2723.  VERSION='4.93'
  2724.  
  2725.  
  2726. cat >>confdefs.h <<_ACEOF
  2727. #define PACKAGE "$PACKAGE"
  2728. _ACEOF
  2729.  
  2730.  
  2731. cat >>confdefs.h <<_ACEOF
  2732. #define VERSION "$VERSION"
  2733. _ACEOF
  2734.  
  2735. # Some tools Automake needs.
  2736.  
  2737. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2738.  
  2739.  
  2740. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2741.  
  2742.  
  2743. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2744.  
  2745.  
  2746. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2747.  
  2748.  
  2749. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2750.  
  2751. # We need awk for the "check" target.  The system "awk" is bad on
  2752. # some platforms.
  2753. # Always define AMTAR for backward compatibility.
  2754.  
  2755. AMTAR=${AMTAR-"${am_missing_run}tar"}
  2756.  
  2757. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763. ac_config_headers="$ac_config_headers config.h"
  2764.  
  2765.  
  2766. # Check whether --enable-silent-rules was given.
  2767. if test "${enable_silent_rules+set}" = set; then
  2768.   enableval=$enable_silent_rules;
  2769. fi
  2770.  
  2771. case $enable_silent_rules in
  2772. yes) AM_DEFAULT_VERBOSITY=0;;
  2773. no)  AM_DEFAULT_VERBOSITY=1;;
  2774. *)   AM_DEFAULT_VERBOSITY=0;;
  2775. esac
  2776. AM_BACKSLASH='\'
  2777.  
  2778.  
  2779.  
  2780. { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2781. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2782.     # Check whether --enable-maintainer-mode was given.
  2783. if test "${enable_maintainer_mode+set}" = set; then
  2784.   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2785. else
  2786.   USE_MAINTAINER_MODE=no
  2787. fi
  2788.  
  2789.   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2790. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2791.    if test $USE_MAINTAINER_MODE = yes; then
  2792.   MAINTAINER_MODE_TRUE=
  2793.   MAINTAINER_MODE_FALSE='#'
  2794. else
  2795.   MAINTAINER_MODE_TRUE='#'
  2796.   MAINTAINER_MODE_FALSE=
  2797. fi
  2798.  
  2799.   MAINT=$MAINTAINER_MODE_TRUE
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  2806.     if test -n "$ac_tool_prefix"; then
  2807.   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  2808. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  2809. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2810. $as_echo_n "checking for $ac_word... " >&6; }
  2811. if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  2812.   $as_echo_n "(cached) " >&6
  2813. else
  2814.   case $PKG_CONFIG in
  2815.   [\\/]* | ?:[\\/]*)
  2816.   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  2817.   ;;
  2818.   *)
  2819.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2820. for as_dir in $PATH
  2821. do
  2822.   IFS=$as_save_IFS
  2823.   test -z "$as_dir" && as_dir=.
  2824.   for ac_exec_ext in '' $ac_executable_extensions; do
  2825.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2826.     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  2827.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2828.     break 2
  2829.   fi
  2830. done
  2831. done
  2832. IFS=$as_save_IFS
  2833.  
  2834.   ;;
  2835. esac
  2836. fi
  2837. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  2838. if test -n "$PKG_CONFIG"; then
  2839.   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  2840. $as_echo "$PKG_CONFIG" >&6; }
  2841. else
  2842.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2843. $as_echo "no" >&6; }
  2844. fi
  2845.  
  2846.  
  2847. fi
  2848. if test -z "$ac_cv_path_PKG_CONFIG"; then
  2849.   ac_pt_PKG_CONFIG=$PKG_CONFIG
  2850.   # Extract the first word of "pkg-config", so it can be a program name with args.
  2851. set dummy pkg-config; ac_word=$2
  2852. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2853. $as_echo_n "checking for $ac_word... " >&6; }
  2854. if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  2855.   $as_echo_n "(cached) " >&6
  2856. else
  2857.   case $ac_pt_PKG_CONFIG in
  2858.   [\\/]* | ?:[\\/]*)
  2859.   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  2860.   ;;
  2861.   *)
  2862.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2863. for as_dir in $PATH
  2864. do
  2865.   IFS=$as_save_IFS
  2866.   test -z "$as_dir" && as_dir=.
  2867.   for ac_exec_ext in '' $ac_executable_extensions; do
  2868.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2869.     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  2870.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2871.     break 2
  2872.   fi
  2873. done
  2874. done
  2875. IFS=$as_save_IFS
  2876.  
  2877.   ;;
  2878. esac
  2879. fi
  2880. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  2881. if test -n "$ac_pt_PKG_CONFIG"; then
  2882.   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  2883. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  2884. else
  2885.   { $as_echo "$as_me:$LINENO: result: no" >&5
  2886. $as_echo "no" >&6; }
  2887. fi
  2888.  
  2889.   if test "x$ac_pt_PKG_CONFIG" = x; then
  2890.     PKG_CONFIG=""
  2891.   else
  2892.     case $cross_compiling:$ac_tool_warned in
  2893. yes:)
  2894. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2895. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2896. ac_tool_warned=yes ;;
  2897. esac
  2898.     PKG_CONFIG=$ac_pt_PKG_CONFIG
  2899.   fi
  2900. else
  2901.   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  2902. fi
  2903.  
  2904. fi
  2905. if test -n "$PKG_CONFIG"; then
  2906.     _pkg_min_version=0.9.0
  2907.     { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  2908. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  2909.     if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  2910.         { $as_echo "$as_me:$LINENO: result: yes" >&5
  2911. $as_echo "yes" >&6; }
  2912.     else
  2913.         { $as_echo "$as_me:$LINENO: result: no" >&5
  2914. $as_echo "no" >&6; }
  2915.         PKG_CONFIG=""
  2916.     fi
  2917.  
  2918. fi
  2919.  
  2920.  
  2921.  
  2922.  
  2923.     if (test "${prefix}" = "NONE"); then
  2924.                 if (test "$sysconfdir" = '${prefix}/etc'); then
  2925.             sysconfdir='/etc'
  2926.  
  2927.         fi
  2928.  
  2929.                 if (test "$localstatedir" = '${prefix}/var'); then
  2930.             localstatedir='/var'
  2931.  
  2932.         fi
  2933.  
  2934.                 if (test "$libexecdir" = '${exec_prefix}/libexec'); then
  2935.             libexecdir='/lib'
  2936.  
  2937.         fi
  2938.  
  2939.                 if (test "$mandir" = '${prefix}/man'); then
  2940.             mandir='${prefix}/share/man'
  2941.  
  2942.         fi
  2943.  
  2944.         prefix="${ac_default_prefix}"
  2945.     fi
  2946.  
  2947.     if (test "${libdir}" = '${exec_prefix}/lib'); then
  2948.         libdir="${prefix}/lib"
  2949.     fi
  2950.  
  2951.     plugindir="${libdir}/bluetooth/plugins"
  2952.  
  2953.     if (test "$sysconfdir" = '${prefix}/etc'); then
  2954.         configdir="${prefix}/etc/bluetooth"
  2955.     else
  2956.         configdir="${sysconfdir}/bluetooth"
  2957.     fi
  2958.  
  2959.     if (test "$localstatedir" = '${prefix}/var'); then
  2960.         storagedir="${prefix}/var/lib/bluetooth"
  2961.     else
  2962.         storagedir="${localstatedir}/lib/bluetooth"
  2963.     fi
  2964.  
  2965.  
  2966. cat >>confdefs.h <<_ACEOF
  2967. #define CONFIGDIR "${configdir}"
  2968. _ACEOF
  2969.  
  2970.  
  2971. cat >>confdefs.h <<_ACEOF
  2972. #define STORAGEDIR "${storagedir}"
  2973. _ACEOF
  2974.  
  2975.  
  2976.     CONFIGDIR="${configdir}"
  2977.  
  2978.     STORAGEDIR="${storagedir}"
  2979.  
  2980.  
  2981.     UDEV_DIR="`$PKG_CONFIG --variable=udevdir udev`"
  2982.     if (test -z "${UDEV_DIR}"); then
  2983.         UDEV_DIR="/lib/udev"
  2984.     fi
  2985.  
  2986.  
  2987.  
  2988.  
  2989.     if (test "${CFLAGS}" = ""); then
  2990.         CFLAGS="-Wall -O2"
  2991.     fi
  2992.     if (test "$USE_MAINTAINER_MODE" = "yes"); then
  2993.         CFLAGS="$CFLAGS -Werror -Wextra"
  2994.         CFLAGS="$CFLAGS -Wno-unused-parameter"
  2995.         CFLAGS="$CFLAGS -Wno-missing-field-initializers"
  2996.         CFLAGS="$CFLAGS -Wdeclaration-after-statement"
  2997.         CFLAGS="$CFLAGS -Wmissing-declarations"
  2998.         CFLAGS="$CFLAGS -Wredundant-decls"
  2999.         CFLAGS="$CFLAGS -Wcast-align"
  3000.         CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED"
  3001.     fi
  3002.  
  3003.  
  3004. ac_ext=c
  3005. ac_cpp='$CPP $CPPFLAGS'
  3006. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3007. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3008. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3009.  
  3010.  
  3011. ac_ext=c
  3012. ac_cpp='$CPP $CPPFLAGS'
  3013. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3014. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3015. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3016. if test -n "$ac_tool_prefix"; then
  3017.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3018. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3019. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3020. $as_echo_n "checking for $ac_word... " >&6; }
  3021. if test "${ac_cv_prog_CC+set}" = set; then
  3022.   $as_echo_n "(cached) " >&6
  3023. else
  3024.   if test -n "$CC"; then
  3025.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3026. else
  3027. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3028. for as_dir in $PATH
  3029. do
  3030.   IFS=$as_save_IFS
  3031.   test -z "$as_dir" && as_dir=.
  3032.   for ac_exec_ext in '' $ac_executable_extensions; do
  3033.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3034.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3035.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3036.     break 2
  3037.   fi
  3038. done
  3039. done
  3040. IFS=$as_save_IFS
  3041.  
  3042. fi
  3043. fi
  3044. CC=$ac_cv_prog_CC
  3045. if test -n "$CC"; then
  3046.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3047. $as_echo "$CC" >&6; }
  3048. else
  3049.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3050. $as_echo "no" >&6; }
  3051. fi
  3052.  
  3053.  
  3054. fi
  3055. if test -z "$ac_cv_prog_CC"; then
  3056.   ac_ct_CC=$CC
  3057.   # Extract the first word of "gcc", so it can be a program name with args.
  3058. set dummy gcc; ac_word=$2
  3059. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3060. $as_echo_n "checking for $ac_word... " >&6; }
  3061. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3062.   $as_echo_n "(cached) " >&6
  3063. else
  3064.   if test -n "$ac_ct_CC"; then
  3065.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3066. else
  3067. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3068. for as_dir in $PATH
  3069. do
  3070.   IFS=$as_save_IFS
  3071.   test -z "$as_dir" && as_dir=.
  3072.   for ac_exec_ext in '' $ac_executable_extensions; do
  3073.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3074.     ac_cv_prog_ac_ct_CC="gcc"
  3075.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3076.     break 2
  3077.   fi
  3078. done
  3079. done
  3080. IFS=$as_save_IFS
  3081.  
  3082. fi
  3083. fi
  3084. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3085. if test -n "$ac_ct_CC"; then
  3086.   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3087. $as_echo "$ac_ct_CC" >&6; }
  3088. else
  3089.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3090. $as_echo "no" >&6; }
  3091. fi
  3092.  
  3093.   if test "x$ac_ct_CC" = x; then
  3094.     CC=""
  3095.   else
  3096.     case $cross_compiling:$ac_tool_warned in
  3097. yes:)
  3098. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  3099. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3100. ac_tool_warned=yes ;;
  3101. esac
  3102.     CC=$ac_ct_CC
  3103.   fi
  3104. else
  3105.   CC="$ac_cv_prog_CC"
  3106. fi
  3107.  
  3108. if test -z "$CC"; then
  3109.           if test -n "$ac_tool_prefix"; then
  3110.     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3111. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3112. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3113. $as_echo_n "checking for $ac_word... " >&6; }
  3114. if test "${ac_cv_prog_CC+set}" = set; then
  3115.   $as_echo_n "(cached) " >&6
  3116. else
  3117.   if test -n "$CC"; then
  3118.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3119. else
  3120. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3121. for as_dir in $PATH
  3122. do
  3123.   IFS=$as_save_IFS
  3124.   test -z "$as_dir" && as_dir=.
  3125.   for ac_exec_ext in '' $ac_executable_extensions; do
  3126.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3127.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3128.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3129.     break 2
  3130.   fi
  3131. done
  3132. done
  3133. IFS=$as_save_IFS
  3134.  
  3135. fi
  3136. fi
  3137. CC=$ac_cv_prog_CC
  3138. if test -n "$CC"; then
  3139.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3140. $as_echo "$CC" >&6; }
  3141. else
  3142.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3143. $as_echo "no" >&6; }
  3144. fi
  3145.  
  3146.  
  3147.   fi
  3148. fi
  3149. if test -z "$CC"; then
  3150.   # Extract the first word of "cc", so it can be a program name with args.
  3151. set dummy cc; ac_word=$2
  3152. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3153. $as_echo_n "checking for $ac_word... " >&6; }
  3154. if test "${ac_cv_prog_CC+set}" = set; then
  3155.   $as_echo_n "(cached) " >&6
  3156. else
  3157.   if test -n "$CC"; then
  3158.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3159. else
  3160.   ac_prog_rejected=no
  3161. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3162. for as_dir in $PATH
  3163. do
  3164.   IFS=$as_save_IFS
  3165.   test -z "$as_dir" && as_dir=.
  3166.   for ac_exec_ext in '' $ac_executable_extensions; do
  3167.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3168.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3169.        ac_prog_rejected=yes
  3170.        continue
  3171.      fi
  3172.     ac_cv_prog_CC="cc"
  3173.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3174.     break 2
  3175.   fi
  3176. done
  3177. done
  3178. IFS=$as_save_IFS
  3179.  
  3180. if test $ac_prog_rejected = yes; then
  3181.   # We found a bogon in the path, so make sure we never use it.
  3182.   set dummy $ac_cv_prog_CC
  3183.   shift
  3184.   if test $# != 0; then
  3185.     # We chose a different compiler from the bogus one.
  3186.     # However, it has the same basename, so the bogon will be chosen
  3187.     # first if we set CC to just the basename; use the full file name.
  3188.     shift
  3189.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3190.   fi
  3191. fi
  3192. fi
  3193. fi
  3194. CC=$ac_cv_prog_CC
  3195. if test -n "$CC"; then
  3196.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3197. $as_echo "$CC" >&6; }
  3198. else
  3199.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3200. $as_echo "no" >&6; }
  3201. fi
  3202.  
  3203.  
  3204. fi
  3205. if test -z "$CC"; then
  3206.   if test -n "$ac_tool_prefix"; then
  3207.   for ac_prog in cl.exe
  3208.   do
  3209.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3210. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3211. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3212. $as_echo_n "checking for $ac_word... " >&6; }
  3213. if test "${ac_cv_prog_CC+set}" = set; then
  3214.   $as_echo_n "(cached) " >&6
  3215. else
  3216.   if test -n "$CC"; then
  3217.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3218. else
  3219. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3220. for as_dir in $PATH
  3221. do
  3222.   IFS=$as_save_IFS
  3223.   test -z "$as_dir" && as_dir=.
  3224.   for ac_exec_ext in '' $ac_executable_extensions; do
  3225.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3226.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3227.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3228.     break 2
  3229.   fi
  3230. done
  3231. done
  3232. IFS=$as_save_IFS
  3233.  
  3234. fi
  3235. fi
  3236. CC=$ac_cv_prog_CC
  3237. if test -n "$CC"; then
  3238.   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3239. $as_echo "$CC" >&6; }
  3240. else
  3241.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3242. $as_echo "no" >&6; }
  3243. fi
  3244.  
  3245.  
  3246.     test -n "$CC" && break
  3247.   done
  3248. fi
  3249. if test -z "$CC"; then
  3250.   ac_ct_CC=$CC
  3251.   for ac_prog in cl.exe
  3252. do
  3253.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3254. set dummy $ac_prog; ac_word=$2
  3255. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3256. $as_echo_n "checking for $ac_word... " >&6; }
  3257. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3258.   $as_echo_n "(cached) " >&6
  3259. else
  3260.   if test -n "$ac_ct_CC"; then
  3261.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3262. else
  3263. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3264. for as_dir in $PATH
  3265. do
  3266.   IFS=$as_save_IFS
  3267.   test -z "$as_dir" && as_dir=.
  3268.   for ac_exec_ext in '' $ac_executable_extensions; do
  3269.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3270.     ac_cv_prog_ac_ct_CC="$ac_prog"
  3271.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3272.     break 2
  3273.   fi
  3274. done
  3275. done
  3276. IFS=$as_save_IFS
  3277.  
  3278. fi
  3279. fi
  3280. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3281. if test -n "$ac_ct_CC"; then
  3282.   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3283. $as_echo "$ac_ct_CC" >&6; }
  3284. else
  3285.   { $as_echo "$as_me:$LINENO: result: no" >&5
  3286. $as_echo "no" >&6; }
  3287. fi
  3288.  
  3289.  
  3290.   test -n "$ac_ct_CC" && break
  3291. done
  3292.  
  3293.   if test "x$ac_ct_CC" = x; then
  3294.     CC=""
  3295.   else
  3296.     case $cross_compiling:$ac_tool_warned in
  3297. yes:)
  3298. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  3299. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3300. ac_tool_warned=yes ;;
  3301. esac
  3302.     CC=$ac_ct_CC
  3303.   fi
  3304. fi
  3305.  
  3306. fi
  3307.  
  3308.  
  3309. test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3310. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3311. { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3312. See \`config.log' for more details." >&5
  3313. $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3314. See \`config.log' for more details." >&2;}
  3315.    { (exit 1); exit 1; }; }; }
  3316.  
  3317. # Provide some information about the compiler.
  3318. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3319. set X $ac_compile
  3320. ac_compiler=$2
  3321. { (ac_try="$ac_compiler --version >&5"
  3322. case "(($ac_try" in
  3323.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3324.   *) ac_try_echo=$ac_try;;
  3325. esac
  3326. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3327. $as_echo "$ac_try_echo") >&5
  3328.   (eval "$ac_compiler --version >&5") 2>&5
  3329.   ac_status=$?
  3330.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3331.   (exit $ac_status); }
  3332. { (ac_try="$ac_compiler -v >&5"
  3333. case "(($ac_try" in
  3334.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3335.   *) ac_try_echo=$ac_try;;
  3336. esac
  3337. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3338. $as_echo "$ac_try_echo") >&5
  3339.   (eval "$ac_compiler -v >&5") 2>&5
  3340.   ac_status=$?
  3341.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3342.   (exit $ac_status); }
  3343. { (ac_try="$ac_compiler -V >&5"
  3344. case "(($ac_try" in
  3345.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3346.   *) ac_try_echo=$ac_try;;
  3347. esac
  3348. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3349. $as_echo "$ac_try_echo") >&5
  3350.   (eval "$ac_compiler -V >&5") 2>&5
  3351.   ac_status=$?
  3352.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3353.   (exit $ac_status); }
  3354.  
  3355. cat >conftest.$ac_ext <<_ACEOF
  3356. /* confdefs.h.  */
  3357. _ACEOF
  3358. cat confdefs.h >>conftest.$ac_ext
  3359. cat >>conftest.$ac_ext <<_ACEOF
  3360. /* end confdefs.h.  */
  3361.  
  3362. int
  3363. main ()
  3364. {
  3365.  
  3366.   ;
  3367.   return 0;
  3368. }
  3369. _ACEOF
  3370. ac_clean_files_save=$ac_clean_files
  3371. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3372. # Try to create an executable without -o first, disregard a.out.
  3373. # It will help us diagnose broken compilers, and finding out an intuition
  3374. # of exeext.
  3375. { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  3376. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3377. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3378.  
  3379. # The possible output files:
  3380. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3381.  
  3382. ac_rmfiles=
  3383. for ac_file in $ac_files
  3384. do
  3385.   case $ac_file in
  3386.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3387.     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3388.   esac
  3389. done
  3390. rm -f $ac_rmfiles
  3391.  
  3392. if { (ac_try="$ac_link_default"
  3393. case "(($ac_try" in
  3394.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3395.   *) ac_try_echo=$ac_try;;
  3396. esac
  3397. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3398. $as_echo "$ac_try_echo") >&5
  3399.   (eval "$ac_link_default") 2>&5
  3400.   ac_status=$?
  3401.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3402.   (exit $ac_status); }; then
  3403.   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3404. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3405. # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3406. # so that the user can short-circuit this test for compilers unknown to
  3407. # Autoconf.
  3408. for ac_file in $ac_files ''
  3409. do
  3410.   test -f "$ac_file" || continue
  3411.   case $ac_file in
  3412.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3413.     ;;
  3414.     [ab].out )
  3415.     # We found the default executable, but exeext='' is most
  3416.     # certainly right.
  3417.     break;;
  3418.     *.* )
  3419.         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3420.     then :; else
  3421.        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3422.     fi
  3423.     # We set ac_cv_exeext here because the later test for it is not
  3424.     # safe: cross compilers may not add the suffix if given an `-o'
  3425.     # argument, so we may need to know it at that point already.
  3426.     # Even if this section looks crufty: it has the advantage of
  3427.     # actually working.
  3428.     break;;
  3429.     * )
  3430.     break;;
  3431.   esac
  3432. done
  3433. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3434.  
  3435. else
  3436.   ac_file=''
  3437. fi
  3438.  
  3439. { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  3440. $as_echo "$ac_file" >&6; }
  3441. if test -z "$ac_file"; then
  3442.   $as_echo "$as_me: failed program was:" >&5
  3443. sed 's/^/| /' conftest.$ac_ext >&5
  3444.  
  3445. { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3446. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3447. { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  3448. See \`config.log' for more details." >&5
  3449. $as_echo "$as_me: error: C compiler cannot create executables
  3450. See \`config.log' for more details." >&2;}
  3451.    { (exit 77); exit 77; }; }; }
  3452. fi
  3453.  
  3454. ac_exeext=$ac_cv_exeext
  3455.  
  3456. # Check that the compiler produces executables we can run.  If not, either
  3457. # the compiler is broken, or we cross compile.
  3458. { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  3459. $as_echo_n "checking whether the C compiler works... " >&6; }
  3460. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  3461. # If not cross compiling, check that we can run a simple program.
  3462. if test "$cross_compiling" != yes; then
  3463.   if { ac_try='./$ac_file'
  3464.   { (case "(($ac_try" in
  3465.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3466.   *) ac_try_echo=$ac_try;;
  3467. esac
  3468. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3469. $as_echo "$ac_try_echo") >&5
  3470.   (eval "$ac_try") 2>&5
  3471.   ac_status=$?
  3472.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3473.   (exit $ac_status); }; }; then
  3474.     cross_compiling=no
  3475.   else
  3476.     if test "$cross_compiling" = maybe; then
  3477.     cross_compiling=yes
  3478.     else
  3479.     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3480. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3481. { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3482. If you meant to cross compile, use \`--host'.
  3483. See \`config.log' for more details." >&5
  3484. $as_echo "$as_me: error: cannot run C compiled programs.
  3485. If you meant to cross compile, use \`--host'.
  3486. See \`config.log' for more details." >&2;}
  3487.    { (exit 1); exit 1; }; }; }
  3488.     fi
  3489.   fi
  3490. fi
  3491. { $as_echo "$as_me:$LINENO: result: yes" >&5
  3492. $as_echo "yes" >&6; }
  3493.  
  3494. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3495. ac_clean_files=$ac_clean_files_save
  3496. # Check that the compiler produces executables we can run.  If not, either
  3497. # the compiler is broken, or we cross compile.
  3498. { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3499. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3500. { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3501. $as_echo "$cross_compiling" >&6; }
  3502.  
  3503. { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3504. $as_echo_n "checking for suffix of executables... " >&6; }
  3505. if { (ac_try="$ac_link"
  3506. case "(($ac_try" in
  3507.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3508.   *) ac_try_echo=$ac_try;;
  3509. esac
  3510. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3511. $as_echo "$ac_try_echo") >&5
  3512.   (eval "$ac_link") 2>&5
  3513.   ac_status=$?
  3514.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3515.   (exit $ac_status); }; then
  3516.   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3517. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3518. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3519. # `rm'.
  3520. for ac_file in conftest.exe conftest conftest.*; do
  3521.   test -f "$ac_file" || continue
  3522.   case $ac_file in
  3523.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3524.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3525.       break;;
  3526.     * ) break;;
  3527.   esac
  3528. done
  3529. else
  3530.   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3531. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3532. { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3533. See \`config.log' for more details." >&5
  3534. $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3535. See \`config.log' for more details." >&2;}
  3536.    { (exit 1); exit 1; }; }; }
  3537. fi
  3538.  
  3539. rm -f conftest$ac_cv_exeext
  3540. { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3541. $as_echo "$ac_cv_exeext" >&6; }
  3542.  
  3543. rm -f conftest.$ac_ext
  3544. EXEEXT=$ac_cv_exeext
  3545. ac_exeext=$EXEEXT
  3546. { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3547. $as_echo_n "checking for suffix of object files... " >&6; }
  3548. if test "${ac_cv_objext+set}" = set; then
  3549.   $as_echo_n "(cached) " >&6
  3550. else
  3551.   cat >conftest.$ac_ext <<_ACEOF
  3552. /* confdefs.h.  */
  3553. _ACEOF
  3554. cat confdefs.h >>conftest.$ac_ext
  3555. cat >>conftest.$ac_ext <<_ACEOF
  3556. /* end confdefs.h.  */
  3557.  
  3558. int
  3559. main ()
  3560. {
  3561.  
  3562.   ;
  3563.   return 0;
  3564. }
  3565. _ACEOF
  3566. rm -f conftest.o conftest.obj
  3567. if { (ac_try="$ac_compile"
  3568. case "(($ac_try" in
  3569.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3570.   *) ac_try_echo=$ac_try;;
  3571. esac
  3572. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3573. $as_echo "$ac_try_echo") >&5
  3574.   (eval "$ac_compile") 2>&5
  3575.   ac_status=$?
  3576.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3577.   (exit $ac_status); }; then
  3578.   for ac_file in conftest.o conftest.obj conftest.*; do
  3579.   test -f "$ac_file" || continue;
  3580.   case $ac_file in
  3581.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3582.     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3583.        break;;
  3584.   esac
  3585. done
  3586. else
  3587.   $as_echo "$as_me: failed program was:" >&5
  3588. sed 's/^/| /' conftest.$ac_ext >&5
  3589.  
  3590. { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3591. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3592. { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3593. See \`config.log' for more details." >&5
  3594. $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3595. See \`config.log' for more details." >&2;}
  3596.    { (exit 1); exit 1; }; }; }
  3597. fi
  3598.  
  3599. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3600. fi
  3601. { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3602. $as_echo "$ac_cv_objext" >&6; }
  3603. OBJEXT=$ac_cv_objext
  3604. ac_objext=$OBJEXT
  3605. { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3606. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3607. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3608.   $as_echo_n "(cached) " >&6
  3609. else
  3610.   cat >conftest.$ac_ext <<_ACEOF
  3611. /* confdefs.h.  */
  3612. _ACEOF
  3613. cat confdefs.h >>conftest.$ac_ext
  3614. cat >>conftest.$ac_ext <<_ACEOF
  3615. /* end confdefs.h.  */
  3616.  
  3617. int
  3618. main ()
  3619. {
  3620. #ifndef __GNUC__
  3621.        choke me
  3622. #endif
  3623.  
  3624.   ;
  3625.   return 0;
  3626. }
  3627. _ACEOF
  3628. rm -f conftest.$ac_objext
  3629. if { (ac_try="$ac_compile"
  3630. case "(($ac_try" in
  3631.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3632.   *) ac_try_echo=$ac_try;;
  3633. esac
  3634. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3635. $as_echo "$ac_try_echo") >&5
  3636.   (eval "$ac_compile") 2>conftest.er1
  3637.   ac_status=$?
  3638.   grep -v '^ *+' conftest.er1 >conftest.err
  3639.   rm -f conftest.er1
  3640.   cat conftest.err >&5
  3641.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3642.   (exit $ac_status); } && {
  3643.      test -z "$ac_c_werror_flag" ||
  3644.      test ! -s conftest.err
  3645.        } && test -s conftest.$ac_objext; then
  3646.   ac_compiler_gnu=yes
  3647. else
  3648.   $as_echo "$as_me: failed program was:" >&5
  3649. sed 's/^/| /' conftest.$ac_ext >&5
  3650.  
  3651.     ac_compiler_gnu=no
  3652. fi
  3653.  
  3654. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3655. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3656.  
  3657. fi
  3658. { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3659. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3660. if test $ac_compiler_gnu = yes; then
  3661.   GCC=yes
  3662. else
  3663.   GCC=
  3664. fi
  3665. ac_test_CFLAGS=${CFLAGS+set}
  3666. ac_save_CFLAGS=$CFLAGS
  3667. { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3668. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3669. if test "${ac_cv_prog_cc_g+set}" = set; then
  3670.   $as_echo_n "(cached) " >&6
  3671. else
  3672.   ac_save_c_werror_flag=$ac_c_werror_flag
  3673.    ac_c_werror_flag=yes
  3674.    ac_cv_prog_cc_g=no
  3675.    CFLAGS="-g"
  3676.    cat >conftest.$ac_ext <<_ACEOF
  3677. /* confdefs.h.  */
  3678. _ACEOF
  3679. cat confdefs.h >>conftest.$ac_ext
  3680. cat >>conftest.$ac_ext <<_ACEOF
  3681. /* end confdefs.h.  */
  3682.  
  3683. int
  3684. main ()
  3685. {
  3686.  
  3687.   ;
  3688.   return 0;
  3689. }
  3690. _ACEOF
  3691. rm -f conftest.$ac_objext
  3692. if { (ac_try="$ac_compile"
  3693. case "(($ac_try" in
  3694.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3695.   *) ac_try_echo=$ac_try;;
  3696. esac
  3697. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3698. $as_echo "$ac_try_echo") >&5
  3699.   (eval "$ac_compile") 2>conftest.er1
  3700.   ac_status=$?
  3701.   grep -v '^ *+' conftest.er1 >conftest.err
  3702.   rm -f conftest.er1
  3703.   cat conftest.err >&5
  3704.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3705.   (exit $ac_status); } && {
  3706.      test -z "$ac_c_werror_flag" ||
  3707.      test ! -s conftest.err
  3708.        } && test -s conftest.$ac_objext; then
  3709.   ac_cv_prog_cc_g=yes
  3710. else
  3711.   $as_echo "$as_me: failed program was:" >&5
  3712. sed 's/^/| /' conftest.$ac_ext >&5
  3713.  
  3714.     CFLAGS=""
  3715.       cat >conftest.$ac_ext <<_ACEOF
  3716. /* confdefs.h.  */
  3717. _ACEOF
  3718. cat confdefs.h >>conftest.$ac_ext
  3719. cat >>conftest.$ac_ext <<_ACEOF
  3720. /* end confdefs.h.  */
  3721.  
  3722. int
  3723. main ()
  3724. {
  3725.  
  3726.   ;
  3727.   return 0;
  3728. }
  3729. _ACEOF
  3730. rm -f conftest.$ac_objext
  3731. if { (ac_try="$ac_compile"
  3732. case "(($ac_try" in
  3733.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3734.   *) ac_try_echo=$ac_try;;
  3735. esac
  3736. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3737. $as_echo "$ac_try_echo") >&5
  3738.   (eval "$ac_compile") 2>conftest.er1
  3739.   ac_status=$?
  3740.   grep -v '^ *+' conftest.er1 >conftest.err
  3741.   rm -f conftest.er1
  3742.   cat conftest.err >&5
  3743.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3744.   (exit $ac_status); } && {
  3745.      test -z "$ac_c_werror_flag" ||
  3746.      test ! -s conftest.err
  3747.        } && test -s conftest.$ac_objext; then
  3748.   :
  3749. else
  3750.   $as_echo "$as_me: failed program was:" >&5
  3751. sed 's/^/| /' conftest.$ac_ext >&5
  3752.  
  3753.     ac_c_werror_flag=$ac_save_c_werror_flag
  3754.      CFLAGS="-g"
  3755.      cat >conftest.$ac_ext <<_ACEOF
  3756. /* confdefs.h.  */
  3757. _ACEOF
  3758. cat confdefs.h >>conftest.$ac_ext
  3759. cat >>conftest.$ac_ext <<_ACEOF
  3760. /* end confdefs.h.  */
  3761.  
  3762. int
  3763. main ()
  3764. {
  3765.  
  3766.   ;
  3767.   return 0;
  3768. }
  3769. _ACEOF
  3770. rm -f conftest.$ac_objext
  3771. if { (ac_try="$ac_compile"
  3772. case "(($ac_try" in
  3773.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3774.   *) ac_try_echo=$ac_try;;
  3775. esac
  3776. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3777. $as_echo "$ac_try_echo") >&5
  3778.   (eval "$ac_compile") 2>conftest.er1
  3779.   ac_status=$?
  3780.   grep -v '^ *+' conftest.er1 >conftest.err
  3781.   rm -f conftest.er1
  3782.   cat conftest.err >&5
  3783.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3784.   (exit $ac_status); } && {
  3785.      test -z "$ac_c_werror_flag" ||
  3786.      test ! -s conftest.err
  3787.        } && test -s conftest.$ac_objext; then
  3788.   ac_cv_prog_cc_g=yes
  3789. else
  3790.   $as_echo "$as_me: failed program was:" >&5
  3791. sed 's/^/| /' conftest.$ac_ext >&5
  3792.  
  3793.  
  3794. fi
  3795.  
  3796. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3797. fi
  3798.  
  3799. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3800. fi
  3801.  
  3802. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3803.    ac_c_werror_flag=$ac_save_c_werror_flag
  3804. fi
  3805. { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3806. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3807. if test "$ac_test_CFLAGS" = set; then
  3808.   CFLAGS=$ac_save_CFLAGS
  3809. elif test $ac_cv_prog_cc_g = yes; then
  3810.   if test "$GCC" = yes; then
  3811.     CFLAGS="-g -O2"
  3812.   else
  3813.     CFLAGS="-g"
  3814.   fi
  3815. else
  3816.   if test "$GCC" = yes; then
  3817.     CFLAGS="-O2"
  3818.   else
  3819.     CFLAGS=
  3820.   fi
  3821. fi
  3822. { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3823. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3824. if test "${ac_cv_prog_cc_c89+set}" = set; then
  3825.   $as_echo_n "(cached) " >&6
  3826. else
  3827.   ac_cv_prog_cc_c89=no
  3828. ac_save_CC=$CC
  3829. cat >conftest.$ac_ext <<_ACEOF
  3830. /* confdefs.h.  */
  3831. _ACEOF
  3832. cat confdefs.h >>conftest.$ac_ext
  3833. cat >>conftest.$ac_ext <<_ACEOF
  3834. /* end confdefs.h.  */
  3835. #include <stdarg.h>
  3836. #include <stdio.h>
  3837. #include <sys/types.h>
  3838. #include <sys/stat.h>
  3839. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3840. struct buf { int x; };
  3841. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3842. static char *e (p, i)
  3843.     char **p;
  3844.     int i;
  3845. {
  3846.  return p[i];
  3847. }
  3848. static char *f (char * (*g) (char **, int), char **p, ...)
  3849. {
  3850.  char *s;
  3851.  va_list v;
  3852.  va_start (v,p);
  3853.  s = g (p, va_arg (v,int));
  3854.  va_end (v);
  3855.  return s;
  3856. }
  3857.  
  3858. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3859.   function prototypes and stuff, but not '\xHH' hex character constants.
  3860.   These don't provoke an error unfortunately, instead are silently treated
  3861.    as 'x'.  The following induces an error, until -std is added to get
  3862.    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3863.    array size at least.  It's necessary to write '\x00'==0 to get something
  3864.   that's true only with -std.  */
  3865. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3866.  
  3867. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3868.    inside strings and character constants.  */
  3869. #define FOO(x) 'x'
  3870. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3871.  
  3872. int test (int i, double x);
  3873. struct s1 {int (*f) (int a);};
  3874. struct s2 {int (*f) (double a);};
  3875. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3876. int argc;
  3877. char **argv;
  3878. int
  3879. main ()
  3880. {
  3881. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3882.   ;
  3883.   return 0;
  3884. }
  3885. _ACEOF
  3886. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3887.     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3888. do
  3889.   CC="$ac_save_CC $ac_arg"
  3890.   rm -f conftest.$ac_objext
  3891. if { (ac_try="$ac_compile"
  3892. case "(($ac_try" in
  3893.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3894.   *) ac_try_echo=$ac_try;;
  3895. esac
  3896. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3897. $as_echo "$ac_try_echo") >&5
  3898.   (eval "$ac_compile") 2>conftest.er1
  3899.   ac_status=$?
  3900.   grep -v '^ *+' conftest.er1 >conftest.err
  3901.   rm -f conftest.er1
  3902.   cat conftest.err >&5
  3903.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3904.   (exit $ac_status); } && {
  3905.      test -z "$ac_c_werror_flag" ||
  3906.      test ! -s conftest.err
  3907.        } && test -s conftest.$ac_objext; then
  3908.   ac_cv_prog_cc_c89=$ac_arg
  3909. else
  3910.   $as_echo "$as_me: failed program was:" >&5
  3911. sed 's/^/| /' conftest.$ac_ext >&5
  3912.  
  3913.  
  3914. fi
  3915.  
  3916. rm -f core conftest.err conftest.$ac_objext
  3917.   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3918. done
  3919. rm -f conftest.$ac_ext
  3920. CC=$ac_save_CC
  3921.  
  3922. fi
  3923. # AC_CACHE_VAL
  3924. case "x$ac_cv_prog_cc_c89" in
  3925.   x)
  3926.     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3927. $as_echo "none needed" >&6; } ;;
  3928.   xno)
  3929.     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3930. $as_echo "unsupported" >&6; } ;;
  3931.   *)
  3932.     CC="$CC $ac_cv_prog_cc_c89"
  3933.     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3934. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3935. esac
  3936.  
  3937.  
  3938. ac_ext=c
  3939. ac_cpp='$CPP $CPPFLAGS'
  3940. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3941. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3942. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3943. DEPDIR="${am__leading_dot}deps"
  3944.  
  3945. ac_config_commands="$ac_config_commands depfiles"
  3946.  
  3947.  
  3948. am_make=${MAKE-make}
  3949. cat > confinc << 'END'
  3950. am__doit:
  3951.     @echo this is the am__doit target
  3952. .PHONY: am__doit
  3953. END
  3954. # If we don't find an include directive, just comment out the code.
  3955. { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3956. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3957. am__include="#"
  3958. am__quote=
  3959. _am_result=none
  3960. # First try GNU make style include.
  3961. echo "include confinc" > confmf
  3962. # Ignore all kinds of additional output from `make'.
  3963. case `$am_make -s -f confmf 2> /dev/null` in #(
  3964. *the\ am__doit\ target*)
  3965.   am__include=include
  3966.   am__quote=
  3967.   _am_result=GNU
  3968.   ;;
  3969. esac
  3970. # Now try BSD make style include.
  3971. if test "$am__include" = "#"; then
  3972.    echo '.include "confinc"' > confmf
  3973.    case `$am_make -s -f confmf 2> /dev/null` in #(
  3974.    *the\ am__doit\ target*)
  3975.      am__include=.include
  3976.      am__quote="\""
  3977.      _am_result=BSD
  3978.      ;;
  3979.    esac
  3980. fi
  3981.  
  3982.  
  3983. { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  3984. $as_echo "$_am_result" >&6; }
  3985. rm -f confinc confmf
  3986.  
  3987. # Check whether --enable-dependency-tracking was given.
  3988. if test "${enable_dependency_tracking+set}" = set; then
  3989.   enableval=$enable_dependency_tracking;
  3990. fi
  3991.  
  3992. if test "x$enable_dependency_tracking" != xno; then
  3993.   am_depcomp="$ac_aux_dir/depcomp"
  3994.   AMDEPBACKSLASH='\'
  3995. fi
  3996.  if test "x$enable_dependency_tracking" != xno; then
  3997.   AMDEP_TRUE=
  3998.   AMDEP_FALSE='#'
  3999. else
  4000.   AMDEP_TRUE='#'
  4001.   AMDEP_FALSE=
  4002. fi
  4003.  
  4004.  
  4005.  
  4006. depcc="$CC"   am_compiler_list=
  4007.  
  4008. { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4009. $as_echo_n "checking dependency style of $depcc... " >&6; }
  4010. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4011.   $as_echo_n "(cached) " >&6
  4012. else
  4013.   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4014.   # We make a subdir and do the tests there.  Otherwise we can end up
  4015.   # making bogus files that we don't know about and never remove.  For
  4016.   # instance it was reported that on HP-UX the gcc test will end up
  4017.   # making a dummy file named `D' -- because `-MD' means `put the output
  4018.   # in D'.
  4019.   mkdir conftest.dir
  4020.   # Copy depcomp to subdir because otherwise we won't find it if we're
  4021.   # using a relative directory.
  4022.   cp "$am_depcomp" conftest.dir
  4023.   cd conftest.dir
  4024.   # We will build objects and dependencies in a subdirectory because
  4025.   # it helps to detect inapplicable dependency modes.  For instance
  4026.   # both Tru64's cc and ICC support -MD to output dependencies as a
  4027.   # side effect of compilation, but ICC will put the dependencies in
  4028.   # the current directory while Tru64 will put them in the object
  4029.   # directory.
  4030.   mkdir sub
  4031.  
  4032.   am_cv_CC_dependencies_compiler_type=none
  4033.   if test "$am_compiler_list" = ""; then
  4034.      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4035.   fi
  4036.   am__universal=false
  4037.   case " $depcc " in #(
  4038.      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4039.      esac
  4040.  
  4041.   for depmode in $am_compiler_list; do
  4042.     # Setup a source with many dependencies, because some compilers
  4043.     # like to wrap large dependency lists on column 80 (with \), and
  4044.     # we should not choose a depcomp mode which is confused by this.
  4045.     #
  4046.     # We need to recreate these files for each test, as the compiler may
  4047.     # overwrite some of them when testing with obscure command lines.
  4048.     # This happens at least with the AIX C compiler.
  4049.     : > sub/conftest.c
  4050.     for i in 1 2 3 4 5 6; do
  4051.       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4052.       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4053.       # Solaris 8's {/usr,}/bin/sh.
  4054.       touch sub/conftst$i.h
  4055.     done
  4056.     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4057.  
  4058.     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4059.     # mode.  It turns out that the SunPro C++ compiler does not properly
  4060.     # handle `-M -o', and we need to detect this.  Also, some Intel
  4061.     # versions had trouble with output in subdirs
  4062.     am__obj=sub/conftest.${OBJEXT-o}
  4063.     am__minus_obj="-o $am__obj"
  4064.     case $depmode in
  4065.     gcc)
  4066.       # This depmode causes a compiler race in universal mode.
  4067.       test "$am__universal" = false || continue
  4068.       ;;
  4069.     nosideeffect)
  4070.       # after this tag, mechanisms are not by side-effect, so they'll
  4071.       # only be used when explicitly requested
  4072.       if test "x$enable_dependency_tracking" = xyes; then
  4073.     continue
  4074.       else
  4075.     break
  4076.       fi
  4077.       ;;
  4078.     msvisualcpp | msvcmsys)
  4079.       # This compiler won't grok `-c -o', but also, the minuso test has
  4080.       # not run yet.  These depmodes are late enough in the game, and
  4081.       # so weak that their functioning should not be impacted.
  4082.       am__obj=conftest.${OBJEXT-o}
  4083.       am__minus_obj=
  4084.       ;;
  4085.     none) break ;;
  4086.     esac
  4087.     if depmode=$depmode \
  4088.        source=sub/conftest.c object=$am__obj \
  4089.        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4090.        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4091.          >/dev/null 2>conftest.err &&
  4092.        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4093.        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4094.        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4095.        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4096.       # icc doesn't choke on unknown options, it will just issue warnings
  4097.       # or remarks (even with -Werror).  So we grep stderr for any message
  4098.       # that says an option was ignored or not supported.
  4099.       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4100.       #   icc: Command line warning: ignoring option '-M'; no argument required
  4101.       # The diagnosis changed in icc 8.0:
  4102.       #   icc: Command line remark: option '-MP' not supported
  4103.       if (grep 'ignoring option' conftest.err ||
  4104.           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4105.         am_cv_CC_dependencies_compiler_type=$depmode
  4106.         break
  4107.       fi
  4108.     fi
  4109.   done
  4110.  
  4111.   cd ..
  4112.   rm -rf conftest.dir
  4113. else
  4114.   am_cv_CC_dependencies_compiler_type=none
  4115. fi
  4116.  
  4117. fi
  4118. { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4119. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4120. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4121.  
  4122.  if
  4123.   test "x$enable_dependency_tracking" != xno \
  4124.   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4125.   am__fastdepCC_TRUE=
  4126.   am__fastdepCC_FALSE='#'
  4127. else
  4128.   am__fastdepCC_TRUE='#'
  4129.   am__fastdepCC_FALSE=
  4130. fi
  4131.  
  4132.  
  4133. if test "x$CC" != xcc; then
  4134.   { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
  4135. $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  4136. else
  4137.   { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
  4138. $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  4139. fi
  4140. set dummy $CC; ac_cc=`$as_echo "$2" |
  4141.               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  4142. if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
  4143.   $as_echo_n "(cached) " >&6
  4144. else
  4145.   cat >conftest.$ac_ext <<_ACEOF
  4146. /* confdefs.h.  */
  4147. _ACEOF
  4148. cat confdefs.h >>conftest.$ac_ext
  4149. cat >>conftest.$ac_ext <<_ACEOF
  4150. /* end confdefs.h.  */
  4151.  
  4152. int
  4153. main ()
  4154. {
  4155.  
  4156.   ;
  4157.   return 0;
  4158. }
  4159. _ACEOF
  4160. # Make sure it works both with $CC and with simple cc.
  4161. # We do the test twice because some compilers refuse to overwrite an
  4162. # existing .o file with -o, though they will create one.
  4163. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  4164. rm -f conftest2.*
  4165. if { (case "(($ac_try" in
  4166.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4167.   *) ac_try_echo=$ac_try;;
  4168. esac
  4169. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4170. $as_echo "$ac_try_echo") >&5
  4171.   (eval "$ac_try") 2>&5
  4172.   ac_status=$?
  4173.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4174.   (exit $ac_status); } &&
  4175.    test -f conftest2.$ac_objext && { (case "(($ac_try" in
  4176.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4177.   *) ac_try_echo=$ac_try;;
  4178. esac
  4179. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4180. $as_echo "$ac_try_echo") >&5
  4181.   (eval "$ac_try") 2>&5
  4182.   ac_status=$?
  4183.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4184.   (exit $ac_status); };
  4185. then
  4186.   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  4187.   if test "x$CC" != xcc; then
  4188.     # Test first that cc exists at all.
  4189.     if { ac_try='cc -c conftest.$ac_ext >&5'
  4190.   { (case "(($ac_try" in
  4191.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4192.   *) ac_try_echo=$ac_try;;
  4193. esac
  4194. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4195. $as_echo "$ac_try_echo") >&5
  4196.   (eval "$ac_try") 2>&5
  4197.   ac_status=$?
  4198.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4199.   (exit $ac_status); }; }; then
  4200.       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  4201.       rm -f conftest2.*
  4202.       if { (case "(($ac_try" in
  4203.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4204.   *) ac_try_echo=$ac_try;;
  4205. esac
  4206. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4207. $as_echo "$ac_try_echo") >&5
  4208.   (eval "$ac_try") 2>&5
  4209.   ac_status=$?
  4210.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4211.   (exit $ac_status); } &&
  4212.      test -f conftest2.$ac_objext && { (case "(($ac_try" in
  4213.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4214.   *) ac_try_echo=$ac_try;;
  4215. esac
  4216. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4217. $as_echo "$ac_try_echo") >&5
  4218.   (eval "$ac_try") 2>&5
  4219.   ac_status=$?
  4220.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4221.   (exit $ac_status); };
  4222.       then
  4223.     # cc works too.
  4224.     :
  4225.       else
  4226.     # cc exists but doesn't like -o.
  4227.     eval ac_cv_prog_cc_${ac_cc}_c_o=no
  4228.       fi
  4229.     fi
  4230.   fi
  4231. else
  4232.   eval ac_cv_prog_cc_${ac_cc}_c_o=no
  4233. fi
  4234. rm -f core conftest*
  4235.  
  4236. fi
  4237. if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  4238.   { $as_echo "$as_me:$LINENO: result: yes" >&5
  4239. $as_echo "yes" >&6; }
  4240. else
  4241.   { $as_echo "$as_me:$LINENO: result: no" >&5
  4242. $as_echo "no" >&6; }
  4243.  
  4244. cat >>confdefs.h <<\_ACEOF
  4245. #define NO_MINUS_C_MINUS_O 1
  4246. _ACEOF
  4247.  
  4248. fi
  4249.  
  4250. # FIXME: we rely on the cache variable name because
  4251. # there is no other way.
  4252. set dummy $CC
  4253. am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  4254. eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  4255. if test "$am_t" != yes; then
  4256.    # Losing compiler, so override with the script.
  4257.    # FIXME: It is wrong to rewrite CC.
  4258.    # But if we don't then we get into trouble of one sort or another.
  4259.    # A longer-term fix would be to have automake use am__CC in this case,
  4260.    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  4261.    CC="$am_aux_dir/compile $CC"
  4262. fi
  4263.  
  4264.  
  4265.  
  4266.     { $as_echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fPIE" >&5
  4267. $as_echo_n "checking whether ${CC-cc} accepts -fPIE... " >&6; }
  4268. if test "${ac_cv_prog_cc_pie+set}" = set; then
  4269.   $as_echo_n "(cached) " >&6
  4270. else
  4271.  
  4272.         echo 'void f(){}' > conftest.c
  4273.         if test -z "`${CC-cc} -fPIE -pie -c conftest.c 2>&1`"; then
  4274.             ac_cv_prog_cc_pie=yes
  4275.         else
  4276.             ac_cv_prog_cc_pie=no
  4277.         fi
  4278.         rm -rf conftest*
  4279.  
  4280. fi
  4281. { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_pie" >&5
  4282. $as_echo "$ac_cv_prog_cc_pie" >&6; }
  4283.  
  4284. # Find a good install program.  We prefer a C program (faster),
  4285. # so one script is as good as another.  But avoid the broken or
  4286. # incompatible versions:
  4287. # SysV /etc/install, /usr/sbin/install
  4288. # SunOS /usr/etc/install
  4289. # IRIX /sbin/install
  4290. # AIX /bin/install
  4291. # AmigaOS /C/install, which installs bootblocks on floppy discs
  4292. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  4293. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  4294. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  4295. # OS/2's system install, which has a completely different semantic
  4296. # ./install, which can be erroneously created by make from ./install.sh.
  4297. # Reject install programs that cannot install multiple files.
  4298. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  4299. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  4300. if test -z "$INSTALL"; then
  4301. if test "${ac_cv_path_install+set}" = set; then
  4302.   $as_echo_n "(cached) " >&6
  4303. else
  4304.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4305. for as_dir in $PATH
  4306. do
  4307.   IFS=$as_save_IFS
  4308.   test -z "$as_dir" && as_dir=.
  4309.   # Account for people who put trailing slashes in PATH elements.
  4310. case $as_dir/ in
  4311.   ./ | .// | /cC/* | \
  4312.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  4313.   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  4314.   /usr/ucb/* ) ;;
  4315.   *)
  4316.     # OSF1 and SCO ODT 3.0 have their own names for install.
  4317.     # Don't use installbsd from OSF since it installs stuff as root
  4318.     # by default.
  4319.     for ac_prog in ginstall scoinst install; do
  4320.       for ac_exec_ext in '' $ac_executable_extensions; do
  4321.     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  4322.       if test $ac_prog = install &&
  4323.         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  4324.         # AIX install.  It has an incompatible calling convention.
  4325.         :
  4326.       elif test $ac_prog = install &&
  4327.         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  4328.         # program-specific install script used by HP pwplus--don't use.
  4329.         :
  4330.       else
  4331.         rm -rf conftest.one conftest.two conftest.dir
  4332.         echo one > conftest.one
  4333.         echo two > conftest.two
  4334.         mkdir conftest.dir
  4335.         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  4336.           test -s conftest.one && test -s conftest.two &&
  4337.           test -s conftest.dir/conftest.one &&
  4338.           test -s conftest.dir/conftest.two
  4339.         then
  4340.           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  4341.           break 3
  4342.         fi
  4343.       fi
  4344.     fi
  4345.       done
  4346.     done
  4347.     ;;
  4348. esac
  4349.  
  4350. done
  4351. IFS=$as_save_IFS
  4352.  
  4353. rm -rf conftest.one conftest.two conftest.dir
  4354.  
  4355. fi
  4356.   if test "${ac_cv_path_install+set}" = set; then
  4357.     INSTALL=$ac_cv_path_install
  4358.   else
  4359.     # As a last resort, use the slow shell script.  Don't cache a
  4360.     # value for INSTALL within a source directory, because that will
  4361.     # break other packages using the cache if that directory is
  4362.     # removed, or if the value is a relative name.
  4363.     INSTALL=$ac_install_sh
  4364.   fi
  4365. fi
  4366. { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  4367. $as_echo "$INSTALL" >&6; }
  4368.  
  4369. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  4370. # It thinks the first close brace ends the variable substitution.
  4371. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  4372.  
  4373. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  4374.  
  4375. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  4376.  
  4377. for ac_prog in 'bison -y' byacc
  4378. do
  4379.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4380. set dummy $ac_prog; ac_word=$2
  4381. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4382. $as_echo_n "checking for $ac_word... " >&6; }
  4383. if test "${ac_cv_prog_YACC+set}" = set; then
  4384.   $as_echo_n "(cached) " >&6
  4385. else
  4386.   if test -n "$YACC"; then
  4387.   ac_cv_prog_YACC="$YACC" # Let the user override the test.
  4388. else
  4389. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4390. for as_dir in $PATH
  4391. do
  4392.   IFS=$as_save_IFS
  4393.   test -z "$as_dir" && as_dir=.
  4394.   for ac_exec_ext in '' $ac_executable_extensions; do
  4395.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4396.     ac_cv_prog_YACC="$ac_prog"
  4397.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4398.     break 2
  4399.   fi
  4400. done
  4401. done
  4402. IFS=$as_save_IFS
  4403.  
  4404. fi
  4405. fi
  4406. YACC=$ac_cv_prog_YACC
  4407. if test -n "$YACC"; then
  4408.   { $as_echo "$as_me:$LINENO: result: $YACC" >&5
  4409. $as_echo "$YACC" >&6; }
  4410. else
  4411.   { $as_echo "$as_me:$LINENO: result: no" >&5
  4412. $as_echo "no" >&6; }
  4413. fi
  4414.  
  4415.  
  4416.   test -n "$YACC" && break
  4417. done
  4418. test -n "$YACC" || YACC="yacc"
  4419.  
  4420.  
  4421. for ac_prog in flex lex
  4422. do
  4423.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4424. set dummy $ac_prog; ac_word=$2
  4425. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4426. $as_echo_n "checking for $ac_word... " >&6; }
  4427. if test "${ac_cv_prog_LEX+set}" = set; then
  4428.   $as_echo_n "(cached) " >&6
  4429. else
  4430.   if test -n "$LEX"; then
  4431.   ac_cv_prog_LEX="$LEX" # Let the user override the test.
  4432. else
  4433. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4434. for as_dir in $PATH
  4435. do
  4436.   IFS=$as_save_IFS
  4437.   test -z "$as_dir" && as_dir=.
  4438.   for ac_exec_ext in '' $ac_executable_extensions; do
  4439.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4440.     ac_cv_prog_LEX="$ac_prog"
  4441.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4442.     break 2
  4443.   fi
  4444. done
  4445. done
  4446. IFS=$as_save_IFS
  4447.  
  4448. fi
  4449. fi
  4450. LEX=$ac_cv_prog_LEX
  4451. if test -n "$LEX"; then
  4452.   { $as_echo "$as_me:$LINENO: result: $LEX" >&5
  4453. $as_echo "$LEX" >&6; }
  4454. else
  4455.   { $as_echo "$as_me:$LINENO: result: no" >&5
  4456. $as_echo "no" >&6; }
  4457. fi
  4458.  
  4459.  
  4460.   test -n "$LEX" && break
  4461. done
  4462. test -n "$LEX" || LEX=":"
  4463.  
  4464. if test "x$LEX" != "x:"; then
  4465.   cat >conftest.l <<_ACEOF
  4466. %%
  4467. a { ECHO; }
  4468. b { REJECT; }
  4469. c { yymore (); }
  4470. d { yyless (1); }
  4471. e { yyless (input () != 0); }
  4472. f { unput (yytext[0]); }
  4473. . { BEGIN INITIAL; }
  4474. %%
  4475. #ifdef YYTEXT_POINTER
  4476. extern char *yytext;
  4477. #endif
  4478. int
  4479. main (void)
  4480. {
  4481.   return ! yylex () + ! yywrap ();
  4482. }
  4483. _ACEOF
  4484. { (ac_try="$LEX conftest.l"
  4485. case "(($ac_try" in
  4486.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4487.   *) ac_try_echo=$ac_try;;
  4488. esac
  4489. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4490. $as_echo "$ac_try_echo") >&5
  4491.   (eval "$LEX conftest.l") 2>&5
  4492.   ac_status=$?
  4493.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4494.   (exit $ac_status); }
  4495. { $as_echo "$as_me:$LINENO: checking lex output file root" >&5
  4496. $as_echo_n "checking lex output file root... " >&6; }
  4497. if test "${ac_cv_prog_lex_root+set}" = set; then
  4498.   $as_echo_n "(cached) " >&6
  4499. else
  4500.  
  4501. if test -f lex.yy.c; then
  4502.   ac_cv_prog_lex_root=lex.yy
  4503. elif test -f lexyy.c; then
  4504.   ac_cv_prog_lex_root=lexyy
  4505. else
  4506.   { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
  4507. $as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
  4508.    { (exit 1); exit 1; }; }
  4509. fi
  4510. fi
  4511. { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
  4512. $as_echo "$ac_cv_prog_lex_root" >&6; }
  4513. LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  4514.  
  4515. if test -z "${LEXLIB+set}"; then
  4516.   { $as_echo "$as_me:$LINENO: checking lex library" >&5
  4517. $as_echo_n "checking lex library... " >&6; }
  4518. if test "${ac_cv_lib_lex+set}" = set; then
  4519.   $as_echo_n "(cached) " >&6
  4520. else
  4521.  
  4522.     ac_save_LIBS=$LIBS
  4523.     ac_cv_lib_lex='none needed'
  4524.     for ac_lib in '' -lfl -ll; do
  4525.       LIBS="$ac_lib $ac_save_LIBS"
  4526.       cat >conftest.$ac_ext <<_ACEOF
  4527. `cat $LEX_OUTPUT_ROOT.c`
  4528. _ACEOF
  4529. rm -f conftest.$ac_objext conftest$ac_exeext
  4530. if { (ac_try="$ac_link"
  4531. case "(($ac_try" in
  4532.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4533.   *) ac_try_echo=$ac_try;;
  4534. esac
  4535. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4536. $as_echo "$ac_try_echo") >&5
  4537.   (eval "$ac_link") 2>conftest.er1
  4538.   ac_status=$?
  4539.   grep -v '^ *+' conftest.er1 >conftest.err
  4540.   rm -f conftest.er1
  4541.   cat conftest.err >&5
  4542.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4543.   (exit $ac_status); } && {
  4544.      test -z "$ac_c_werror_flag" ||
  4545.      test ! -s conftest.err
  4546.        } && test -s conftest$ac_exeext && {
  4547.      test "$cross_compiling" = yes ||
  4548.      $as_test_x conftest$ac_exeext
  4549.        }; then
  4550.   ac_cv_lib_lex=$ac_lib
  4551. else
  4552.   $as_echo "$as_me: failed program was:" >&5
  4553. sed 's/^/| /' conftest.$ac_ext >&5
  4554.  
  4555.  
  4556. fi
  4557.  
  4558. rm -rf conftest.dSYM
  4559. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4560.       conftest$ac_exeext conftest.$ac_ext
  4561.       test "$ac_cv_lib_lex" != 'none needed' && break
  4562.     done
  4563.     LIBS=$ac_save_LIBS
  4564.  
  4565. fi
  4566. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
  4567. $as_echo "$ac_cv_lib_lex" >&6; }
  4568.   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
  4569. fi
  4570.  
  4571.  
  4572. { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
  4573. $as_echo_n "checking whether yytext is a pointer... " >&6; }
  4574. if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
  4575.   $as_echo_n "(cached) " >&6
  4576. else
  4577.   # POSIX says lex can declare yytext either as a pointer or an array; the
  4578. # default is implementation-dependent.  Figure out which it is, since
  4579. # not all implementations provide the %pointer and %array declarations.
  4580. ac_cv_prog_lex_yytext_pointer=no
  4581. ac_save_LIBS=$LIBS
  4582. LIBS="$LEXLIB $ac_save_LIBS"
  4583. cat >conftest.$ac_ext <<_ACEOF
  4584. #define YYTEXT_POINTER 1
  4585. `cat $LEX_OUTPUT_ROOT.c`
  4586. _ACEOF
  4587. rm -f conftest.$ac_objext conftest$ac_exeext
  4588. if { (ac_try="$ac_link"
  4589. case "(($ac_try" in
  4590.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4591.   *) ac_try_echo=$ac_try;;
  4592. esac
  4593. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4594. $as_echo "$ac_try_echo") >&5
  4595.   (eval "$ac_link") 2>conftest.er1
  4596.   ac_status=$?
  4597.   grep -v '^ *+' conftest.er1 >conftest.err
  4598.   rm -f conftest.er1
  4599.   cat conftest.err >&5
  4600.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4601.   (exit $ac_status); } && {
  4602.      test -z "$ac_c_werror_flag" ||
  4603.      test ! -s conftest.err
  4604.        } && test -s conftest$ac_exeext && {
  4605.      test "$cross_compiling" = yes ||
  4606.      $as_test_x conftest$ac_exeext
  4607.        }; then
  4608.   ac_cv_prog_lex_yytext_pointer=yes
  4609. else
  4610.   $as_echo "$as_me: failed program was:" >&5
  4611. sed 's/^/| /' conftest.$ac_ext >&5
  4612.  
  4613.  
  4614. fi
  4615.  
  4616. rm -rf conftest.dSYM
  4617. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4618.       conftest$ac_exeext conftest.$ac_ext
  4619. LIBS=$ac_save_LIBS
  4620.  
  4621. fi
  4622. { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
  4623. $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
  4624. if test $ac_cv_prog_lex_yytext_pointer = yes; then
  4625.  
  4626. cat >>confdefs.h <<\_ACEOF
  4627. #define YYTEXT_POINTER 1
  4628. _ACEOF
  4629.  
  4630. fi
  4631. rm -f conftest.l $LEX_OUTPUT_ROOT.c
  4632.  
  4633. fi
  4634. if test "$LEX" = :; then
  4635.   LEX=${am_missing_run}flex
  4636. fi
  4637. mkdir_p="$MKDIR_P"
  4638. case $mkdir_p in
  4639.   [\\/$]* | ?:[\\/]*) ;;
  4640.   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  4641. esac
  4642.  
  4643.  
  4644.  
  4645.  
  4646.  
  4647. # Check whether --enable-static was given.
  4648. if test "${enable_static+set}" = set; then
  4649.   enableval=$enable_static; p=${PACKAGE-default}
  4650.     case $enableval in
  4651.     yes) enable_static=yes ;;
  4652.     no) enable_static=no ;;
  4653.     *)
  4654.      enable_static=no
  4655.       # Look at the argument we got.  We use all the common list separators.
  4656.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  4657.       for pkg in $enableval; do
  4658.     IFS="$lt_save_ifs"
  4659.     if test "X$pkg" = "X$p"; then
  4660.       enable_static=yes
  4661.     fi
  4662.       done
  4663.       IFS="$lt_save_ifs"
  4664.       ;;
  4665.     esac
  4666. else
  4667.   enable_static=no
  4668. fi
  4669.  
  4670.  
  4671.  
  4672.  
  4673.  
  4674.  
  4675.  
  4676.  
  4677.  
  4678. case `pwd` in
  4679.   *\ * | *\ *)
  4680.     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  4681. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  4682. esac
  4683.  
  4684.  
  4685.  
  4686. macro_version='2.2.6b'
  4687. macro_revision='1.3017'
  4688.  
  4689.  
  4690.  
  4691.  
  4692.  
  4693.  
  4694.  
  4695.  
  4696.  
  4697.  
  4698.  
  4699.  
  4700.  
  4701. ltmain="$ac_aux_dir/ltmain.sh"
  4702.  
  4703. # Make sure we can run config.sub.
  4704. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4705.   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  4706. $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  4707.    { (exit 1); exit 1; }; }
  4708.  
  4709. { $as_echo "$as_me:$LINENO: checking build system type" >&5
  4710. $as_echo_n "checking build system type... " >&6; }
  4711. if test "${ac_cv_build+set}" = set; then
  4712.   $as_echo_n "(cached) " >&6
  4713. else
  4714.   ac_build_alias=$build_alias
  4715. test "x$ac_build_alias" = x &&
  4716.   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4717. test "x$ac_build_alias" = x &&
  4718.   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  4719. $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  4720.    { (exit 1); exit 1; }; }
  4721. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4722.   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  4723. $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  4724.    { (exit 1); exit 1; }; }
  4725.  
  4726. fi
  4727. { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  4728. $as_echo "$ac_cv_build" >&6; }
  4729. case $ac_cv_build in
  4730. *-*-*) ;;
  4731. *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  4732. $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  4733.    { (exit 1); exit 1; }; };;
  4734. esac
  4735. build=$ac_cv_build
  4736. ac_save_IFS=$IFS; IFS='-'
  4737. set x $ac_cv_build
  4738. shift
  4739. build_cpu=$1
  4740. build_vendor=$2
  4741. shift; shift
  4742. # Remember, the first character of IFS is used to create $*,
  4743. # except with old shells:
  4744. build_os=$*
  4745. IFS=$ac_save_IFS
  4746. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4747.  
  4748.  
  4749. { $as_echo "$as_me:$LINENO: checking host system type" >&5
  4750. $as_echo_n "checking host system type... " >&6; }
  4751. if test "${ac_cv_host+set}" = set; then
  4752.   $as_echo_n "(cached) " >&6
  4753. else
  4754.   if test "x$host_alias" = x; then
  4755.   ac_cv_host=$ac_cv_build
  4756. else
  4757.   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4758.     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4759. $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4760.    { (exit 1); exit 1; }; }
  4761. fi
  4762.  
  4763. fi
  4764. { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4765. $as_echo "$ac_cv_host" >&6; }
  4766. case $ac_cv_host in
  4767. *-*-*) ;;
  4768. *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4769. $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  4770.    { (exit 1); exit 1; }; };;
  4771. esac
  4772. host=$ac_cv_host
  4773. ac_save_IFS=$IFS; IFS='-'
  4774. set x $ac_cv_host
  4775. shift
  4776. host_cpu=$1
  4777. host_vendor=$2
  4778. shift; shift
  4779. # Remember, the first character of IFS is used to create $*,
  4780. # except with old shells:
  4781. host_os=$*
  4782. IFS=$ac_save_IFS
  4783. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4784.  
  4785.  
  4786. { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  4787. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4788. if test "${ac_cv_path_SED+set}" = set; then
  4789.   $as_echo_n "(cached) " >&6
  4790. else
  4791.             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4792.      for ac_i in 1 2 3 4 5 6 7; do
  4793.        ac_script="$ac_script$as_nl$ac_script"
  4794.      done
  4795.      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4796.      $as_unset ac_script || ac_script=
  4797.      if test -z "$SED"; then
  4798.   ac_path_SED_found=false
  4799.   # Loop through the user's path and test for each of PROGNAME-LIST
  4800.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4801. for as_dir in $PATH
  4802. do
  4803.   IFS=$as_save_IFS
  4804.   test -z "$as_dir" && as_dir=.
  4805.   for ac_prog in sed gsed; do
  4806.     for ac_exec_ext in '' $ac_executable_extensions; do
  4807.       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4808.       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  4809. # Check for GNU ac_path_SED and select it if it is found.
  4810.   # Check for GNU $ac_path_SED
  4811. case `"$ac_path_SED" --version 2>&1` in
  4812. *GNU*)
  4813.   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4814. *)
  4815.   ac_count=0
  4816.   $as_echo_n 0123456789 >"conftest.in"
  4817.   while :
  4818.   do
  4819.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4820.     mv "conftest.tmp" "conftest.in"
  4821.     cp "conftest.in" "conftest.nl"
  4822.     $as_echo '' >> "conftest.nl"
  4823.     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4824.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4825.     ac_count=`expr $ac_count + 1`
  4826.     if test $ac_count -gt ${ac_path_SED_max-0}; then
  4827.       # Best one so far, save it but keep looking for a better one
  4828.       ac_cv_path_SED="$ac_path_SED"
  4829.       ac_path_SED_max=$ac_count
  4830.     fi
  4831.     # 10*(2^10) chars as input seems more than enough
  4832.     test $ac_count -gt 10 && break
  4833.   done
  4834.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4835. esac
  4836.  
  4837.       $ac_path_SED_found && break 3
  4838.     done
  4839.   done
  4840. done
  4841. IFS=$as_save_IFS
  4842.   if test -z "$ac_cv_path_SED"; then
  4843.     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  4844. $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  4845.    { (exit 1); exit 1; }; }
  4846.   fi
  4847. else
  4848.   ac_cv_path_SED=$SED
  4849. fi
  4850.  
  4851. fi
  4852. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  4853. $as_echo "$ac_cv_path_SED" >&6; }
  4854.  SED="$ac_cv_path_SED"
  4855.   rm -f conftest.sed
  4856.  
  4857. test -z "$SED" && SED=sed
  4858. Xsed="$SED -e 1s/^X//"
  4859.  
  4860.  
  4861.  
  4862.  
  4863.  
  4864.  
  4865.  
  4866.  
  4867.  
  4868.  
  4869.  
  4870. { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  4871. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4872. if test "${ac_cv_path_GREP+set}" = set; then
  4873.   $as_echo_n "(cached) " >&6
  4874. else
  4875.   if test -z "$GREP"; then
  4876.   ac_path_GREP_found=false
  4877.   # Loop through the user's path and test for each of PROGNAME-LIST
  4878.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4879. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4880. do
  4881.   IFS=$as_save_IFS
  4882.   test -z "$as_dir" && as_dir=.
  4883.   for ac_prog in grep ggrep; do
  4884.     for ac_exec_ext in '' $ac_executable_extensions; do
  4885.       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4886.       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4887. # Check for GNU ac_path_GREP and select it if it is found.
  4888.   # Check for GNU $ac_path_GREP
  4889. case `"$ac_path_GREP" --version 2>&1` in
  4890. *GNU*)
  4891.   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4892. *)
  4893.   ac_count=0
  4894.   $as_echo_n 0123456789 >"conftest.in"
  4895.   while :
  4896.   do
  4897.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4898.     mv "conftest.tmp" "conftest.in"
  4899.     cp "conftest.in" "conftest.nl"
  4900.     $as_echo 'GREP' >> "conftest.nl"
  4901.     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4902.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4903.     ac_count=`expr $ac_count + 1`
  4904.     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4905.       # Best one so far, save it but keep looking for a better one
  4906.       ac_cv_path_GREP="$ac_path_GREP"
  4907.       ac_path_GREP_max=$ac_count
  4908.     fi
  4909.     # 10*(2^10) chars as input seems more than enough
  4910.     test $ac_count -gt 10 && break
  4911.   done
  4912.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4913. esac
  4914.  
  4915.       $ac_path_GREP_found && break 3
  4916.     done
  4917.   done
  4918. done
  4919. IFS=$as_save_IFS
  4920.   if test -z "$ac_cv_path_GREP"; then
  4921.     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4922. $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4923.    { (exit 1); exit 1; }; }
  4924.   fi
  4925. else
  4926.   ac_cv_path_GREP=$GREP
  4927. fi
  4928.  
  4929. fi
  4930. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  4931. $as_echo "$ac_cv_path_GREP" >&6; }
  4932.  GREP="$ac_cv_path_GREP"
  4933.  
  4934.  
  4935. { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  4936. $as_echo_n "checking for egrep... " >&6; }
  4937. if test "${ac_cv_path_EGREP+set}" = set; then
  4938.   $as_echo_n "(cached) " >&6
  4939. else
  4940.   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4941.    then ac_cv_path_EGREP="$GREP -E"
  4942.    else
  4943.      if test -z "$EGREP"; then
  4944.   ac_path_EGREP_found=false
  4945.   # Loop through the user's path and test for each of PROGNAME-LIST
  4946.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4947. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4948. do
  4949.   IFS=$as_save_IFS
  4950.   test -z "$as_dir" && as_dir=.
  4951.   for ac_prog in egrep; do
  4952.     for ac_exec_ext in '' $ac_executable_extensions; do
  4953.       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4954.       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4955. # Check for GNU ac_path_EGREP and select it if it is found.
  4956.   # Check for GNU $ac_path_EGREP
  4957. case `"$ac_path_EGREP" --version 2>&1` in
  4958. *GNU*)
  4959.   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4960. *)
  4961.   ac_count=0
  4962.   $as_echo_n 0123456789 >"conftest.in"
  4963.   while :
  4964.   do
  4965.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4966.     mv "conftest.tmp" "conftest.in"
  4967.     cp "conftest.in" "conftest.nl"
  4968.     $as_echo 'EGREP' >> "conftest.nl"
  4969.     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4970.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4971.     ac_count=`expr $ac_count + 1`
  4972.     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4973.       # Best one so far, save it but keep looking for a better one
  4974.       ac_cv_path_EGREP="$ac_path_EGREP"
  4975.       ac_path_EGREP_max=$ac_count
  4976.     fi
  4977.     # 10*(2^10) chars as input seems more than enough
  4978.     test $ac_count -gt 10 && break
  4979.   done
  4980.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4981. esac
  4982.  
  4983.       $ac_path_EGREP_found && break 3
  4984.     done
  4985.   done
  4986. done
  4987. IFS=$as_save_IFS
  4988.   if test -z "$ac_cv_path_EGREP"; then
  4989.     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4990. $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4991.    { (exit 1); exit 1; }; }
  4992.   fi
  4993. else
  4994.   ac_cv_path_EGREP=$EGREP
  4995. fi
  4996.  
  4997.    fi
  4998. fi
  4999. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  5000. $as_echo "$ac_cv_path_EGREP" >&6; }
  5001.  EGREP="$ac_cv_path_EGREP"
  5002.  
  5003.  
  5004. { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
  5005. $as_echo_n "checking for fgrep... " >&6; }
  5006. if test "${ac_cv_path_FGREP+set}" = set; then
  5007.   $as_echo_n "(cached) " >&6
  5008. else
  5009.   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  5010.    then ac_cv_path_FGREP="$GREP -F"
  5011.    else
  5012.      if test -z "$FGREP"; then
  5013.   ac_path_FGREP_found=false
  5014.   # Loop through the user's path and test for each of PROGNAME-LIST
  5015.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5016. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5017. do
  5018.   IFS=$as_save_IFS
  5019.   test -z "$as_dir" && as_dir=.
  5020.   for ac_prog in fgrep; do
  5021.     for ac_exec_ext in '' $ac_executable_extensions; do
  5022.       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  5023.       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  5024. # Check for GNU ac_path_FGREP and select it if it is found.
  5025.   # Check for GNU $ac_path_FGREP
  5026. case `"$ac_path_FGREP" --version 2>&1` in
  5027. *GNU*)
  5028.   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  5029. *)
  5030.   ac_count=0
  5031.   $as_echo_n 0123456789 >"conftest.in"
  5032.   while :
  5033.   do
  5034.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5035.     mv "conftest.tmp" "conftest.in"
  5036.     cp "conftest.in" "conftest.nl"
  5037.     $as_echo 'FGREP' >> "conftest.nl"
  5038.     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5039.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5040.     ac_count=`expr $ac_count + 1`
  5041.     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  5042.       # Best one so far, save it but keep looking for a better one
  5043.       ac_cv_path_FGREP="$ac_path_FGREP"
  5044.       ac_path_FGREP_max=$ac_count
  5045.     fi
  5046.     # 10*(2^10) chars as input seems more than enough
  5047.     test $ac_count -gt 10 && break
  5048.   done
  5049.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5050. esac
  5051.  
  5052.       $ac_path_FGREP_found && break 3
  5053.     done
  5054.   done
  5055. done
  5056. IFS=$as_save_IFS
  5057.   if test -z "$ac_cv_path_FGREP"; then
  5058.     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5059. $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5060.    { (exit 1); exit 1; }; }
  5061.   fi
  5062. else
  5063.   ac_cv_path_FGREP=$FGREP
  5064. fi
  5065.  
  5066.    fi
  5067. fi
  5068. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
  5069. $as_echo "$ac_cv_path_FGREP" >&6; }
  5070.  FGREP="$ac_cv_path_FGREP"
  5071.  
  5072.  
  5073. test -z "$GREP" && GREP=grep
  5074.  
  5075.  
  5076.  
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090.  
  5091.  
  5092.  
  5093. # Check whether --with-gnu-ld was given.
  5094. if test "${with_gnu_ld+set}" = set; then
  5095.   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  5096. else
  5097.   with_gnu_ld=no
  5098. fi
  5099.  
  5100. ac_prog=ld
  5101. if test "$GCC" = yes; then
  5102.   # Check if gcc -print-prog-name=ld gives a path.
  5103.   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  5104. $as_echo_n "checking for ld used by $CC... " >&6; }
  5105.   case $host in
  5106.   *-*-mingw*)
  5107.     # gcc leaves a trailing carriage return which upsets mingw
  5108.     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  5109.   *)
  5110.     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  5111.   esac
  5112.   case $ac_prog in
  5113.     # Accept absolute paths.
  5114.     [\\/]* | ?:[\\/]*)
  5115.       re_direlt='/[^/][^/]*/\.\./'
  5116.       # Canonicalize the pathname of ld
  5117.       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  5118.       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  5119.     ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  5120.       done
  5121.       test -z "$LD" && LD="$ac_prog"
  5122.       ;;
  5123.   "")
  5124.     # If it fails, then pretend we aren't using GCC.
  5125.     ac_prog=ld
  5126.     ;;
  5127.   *)
  5128.     # If it is relative, then search for the first ld in PATH.
  5129.     with_gnu_ld=unknown
  5130.     ;;
  5131.   esac
  5132. elif test "$with_gnu_ld" = yes; then
  5133.   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
  5134. $as_echo_n "checking for GNU ld... " >&6; }
  5135. else
  5136.   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  5137. $as_echo_n "checking for non-GNU ld... " >&6; }
  5138. fi
  5139. if test "${lt_cv_path_LD+set}" = set; then
  5140.   $as_echo_n "(cached) " >&6
  5141. else
  5142.   if test -z "$LD"; then
  5143.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5144.   for ac_dir in $PATH; do
  5145.     IFS="$lt_save_ifs"
  5146.     test -z "$ac_dir" && ac_dir=.
  5147.     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  5148.       lt_cv_path_LD="$ac_dir/$ac_prog"
  5149.       # Check to see if the program is GNU ld.  I'd rather use --version,
  5150.       # but apparently some variants of GNU ld only accept -v.
  5151.       # Break only if it was the GNU/non-GNU ld that we prefer.
  5152.       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  5153.       *GNU* | *'with BFD'*)
  5154.     test "$with_gnu_ld" != no && break
  5155.     ;;
  5156.       *)
  5157.     test "$with_gnu_ld" != yes && break
  5158.     ;;
  5159.       esac
  5160.     fi
  5161.   done
  5162.   IFS="$lt_save_ifs"
  5163. else
  5164.   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  5165. fi
  5166. fi
  5167.  
  5168. LD="$lt_cv_path_LD"
  5169. if test -n "$LD"; then
  5170.   { $as_echo "$as_me:$LINENO: result: $LD" >&5
  5171. $as_echo "$LD" >&6; }
  5172. else
  5173.   { $as_echo "$as_me:$LINENO: result: no" >&5
  5174. $as_echo "no" >&6; }
  5175. fi
  5176. test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  5177. $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  5178.    { (exit 1); exit 1; }; }
  5179. { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  5180. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5181. if test "${lt_cv_prog_gnu_ld+set}" = set; then
  5182.   $as_echo_n "(cached) " >&6
  5183. else
  5184.   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5185. case `$LD -v 2>&1 </dev/null` in
  5186. *GNU* | *'with BFD'*)
  5187.   lt_cv_prog_gnu_ld=yes
  5188.   ;;
  5189. *)
  5190.   lt_cv_prog_gnu_ld=no
  5191.   ;;
  5192. esac
  5193. fi
  5194. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  5195. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  5196. with_gnu_ld=$lt_cv_prog_gnu_ld
  5197.  
  5198.  
  5199.  
  5200.  
  5201.  
  5202.  
  5203.  
  5204.  
  5205.  
  5206. { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
  5207. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5208. if test "${lt_cv_path_NM+set}" = set; then
  5209.   $as_echo_n "(cached) " >&6
  5210. else
  5211.   if test -n "$NM"; then
  5212.   # Let the user override the test.
  5213.   lt_cv_path_NM="$NM"
  5214. else
  5215.   lt_nm_to_check="${ac_tool_prefix}nm"
  5216.   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5217.     lt_nm_to_check="$lt_nm_to_check nm"
  5218.   fi
  5219.   for lt_tmp_nm in $lt_nm_to_check; do
  5220.     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5221.     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5222.       IFS="$lt_save_ifs"
  5223.       test -z "$ac_dir" && ac_dir=.
  5224.       tmp_nm="$ac_dir/$lt_tmp_nm"
  5225.       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  5226.     # Check to see if the nm accepts a BSD-compat flag.
  5227.     # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  5228.     #   nm: unknown option "B" ignored
  5229.     # Tru64's nm complains that /dev/null is an invalid object file
  5230.     case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  5231.     */dev/null* | *'Invalid file or object type'*)
  5232.       lt_cv_path_NM="$tmp_nm -B"
  5233.       break
  5234.       ;;
  5235.     *)
  5236.       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  5237.       */dev/null*)
  5238.         lt_cv_path_NM="$tmp_nm -p"
  5239.         break
  5240.         ;;
  5241.       *)
  5242.         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  5243.         continue # so that we can try to find one that supports BSD flags
  5244.         ;;
  5245.       esac
  5246.       ;;
  5247.     esac
  5248.       fi
  5249.     done
  5250.     IFS="$lt_save_ifs"
  5251.   done
  5252.   : ${lt_cv_path_NM=no}
  5253. fi
  5254. fi
  5255. { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  5256. $as_echo "$lt_cv_path_NM" >&6; }
  5257. if test "$lt_cv_path_NM" != "no"; then
  5258.   NM="$lt_cv_path_NM"
  5259. else
  5260.   # Didn't find any BSD compatible name lister, look for dumpbin.
  5261.   if test -n "$ac_tool_prefix"; then
  5262.   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  5263.   do
  5264.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5265. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5266. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5267. $as_echo_n "checking for $ac_word... " >&6; }
  5268. if test "${ac_cv_prog_DUMPBIN+set}" = set; then
  5269.   $as_echo_n "(cached) " >&6
  5270. else
  5271.   if test -n "$DUMPBIN"; then
  5272.   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  5273. else
  5274. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5275. for as_dir in $PATH
  5276. do
  5277.   IFS=$as_save_IFS
  5278.   test -z "$as_dir" && as_dir=.
  5279.   for ac_exec_ext in '' $ac_executable_extensions; do
  5280.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5281.     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  5282.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5283.     break 2
  5284.   fi
  5285. done
  5286. done
  5287. IFS=$as_save_IFS
  5288.  
  5289. fi
  5290. fi
  5291. DUMPBIN=$ac_cv_prog_DUMPBIN
  5292. if test -n "$DUMPBIN"; then
  5293.   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
  5294. $as_echo "$DUMPBIN" >&6; }
  5295. else
  5296.   { $as_echo "$as_me:$LINENO: result: no" >&5
  5297. $as_echo "no" >&6; }
  5298. fi
  5299.  
  5300.  
  5301.     test -n "$DUMPBIN" && break
  5302.   done
  5303. fi
  5304. if test -z "$DUMPBIN"; then
  5305.   ac_ct_DUMPBIN=$DUMPBIN
  5306.   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  5307. do
  5308.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5309. set dummy $ac_prog; ac_word=$2
  5310. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5311. $as_echo_n "checking for $ac_word... " >&6; }
  5312. if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
  5313.   $as_echo_n "(cached) " >&6
  5314. else
  5315.   if test -n "$ac_ct_DUMPBIN"; then
  5316.   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  5317. else
  5318. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5319. for as_dir in $PATH
  5320. do
  5321.   IFS=$as_save_IFS
  5322.   test -z "$as_dir" && as_dir=.
  5323.   for ac_exec_ext in '' $ac_executable_extensions; do
  5324.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5325.     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  5326.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5327.     break 2
  5328.   fi
  5329. done
  5330. done
  5331. IFS=$as_save_IFS
  5332.  
  5333. fi
  5334. fi
  5335. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  5336. if test -n "$ac_ct_DUMPBIN"; then
  5337.   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
  5338. $as_echo "$ac_ct_DUMPBIN" >&6; }
  5339. else
  5340.   { $as_echo "$as_me:$LINENO: result: no" >&5
  5341. $as_echo "no" >&6; }
  5342. fi
  5343.  
  5344.  
  5345.   test -n "$ac_ct_DUMPBIN" && break
  5346. done
  5347.  
  5348.   if test "x$ac_ct_DUMPBIN" = x; then
  5349.     DUMPBIN=":"
  5350.   else
  5351.     case $cross_compiling:$ac_tool_warned in
  5352. yes:)
  5353. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5354. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5355. ac_tool_warned=yes ;;
  5356. esac
  5357.     DUMPBIN=$ac_ct_DUMPBIN
  5358.   fi
  5359. fi
  5360.  
  5361.  
  5362.   if test "$DUMPBIN" != ":"; then
  5363.     NM="$DUMPBIN"
  5364.   fi
  5365. fi
  5366. test -z "$NM" && NM=nm
  5367.  
  5368.  
  5369.  
  5370.  
  5371.  
  5372.  
  5373. { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
  5374. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  5375. if test "${lt_cv_nm_interface+set}" = set; then
  5376.   $as_echo_n "(cached) " >&6
  5377. else
  5378.   lt_cv_nm_interface="BSD nm"
  5379.   echo "int some_variable = 0;" > conftest.$ac_ext
  5380.   (eval echo "\"\$as_me:5380: $ac_compile\"" >&5)
  5381.   (eval "$ac_compile" 2>conftest.err)
  5382.   cat conftest.err >&5
  5383.   (eval echo "\"\$as_me:5383: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  5384.   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  5385.   cat conftest.err >&5
  5386.   (eval echo "\"\$as_me:5386: output\"" >&5)
  5387.   cat conftest.out >&5
  5388.   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  5389.     lt_cv_nm_interface="MS dumpbin"
  5390.   fi
  5391.   rm -f conftest*
  5392. fi
  5393. { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
  5394. $as_echo "$lt_cv_nm_interface" >&6; }
  5395.  
  5396. { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
  5397. $as_echo_n "checking whether ln -s works... " >&6; }
  5398. LN_S=$as_ln_s
  5399. if test "$LN_S" = "ln -s"; then
  5400.   { $as_echo "$as_me:$LINENO: result: yes" >&5
  5401. $as_echo "yes" >&6; }
  5402. else
  5403.   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  5404. $as_echo "no, using $LN_S" >&6; }
  5405. fi
  5406.  
  5407. # find the maximum length of command line arguments
  5408. { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  5409. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  5410. if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  5411.   $as_echo_n "(cached) " >&6
  5412. else
  5413.     i=0
  5414.   teststring="ABCD"
  5415.  
  5416.   case $build_os in
  5417.   msdosdjgpp*)
  5418.     # On DJGPP, this test can blow up pretty badly due to problems in libc
  5419.     # (any single argument exceeding 2000 bytes causes a buffer overrun
  5420.     # during glob expansion).  Even if it were fixed, the result of this
  5421.     # check would be larger than it should be.
  5422.     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  5423.     ;;
  5424.  
  5425.   gnu*)
  5426.     # Under GNU Hurd, this test is not required because there is
  5427.     # no limit to the length of command line arguments.
  5428.     # Libtool will interpret -1 as no limit whatsoever
  5429.     lt_cv_sys_max_cmd_len=-1;
  5430.     ;;
  5431.  
  5432.   cygwin* | mingw* | cegcc*)
  5433.     # On Win9x/ME, this test blows up -- it succeeds, but takes
  5434.     # about 5 minutes as the teststring grows exponentially.
  5435.     # Worse, since 9x/ME are not pre-emptively multitasking,
  5436.     # you end up with a "frozen" computer, even though with patience
  5437.     # the test eventually succeeds (with a max line length of 256k).
  5438.     # Instead, let's just punt: use the minimum linelength reported by
  5439.     # all of the supported platforms: 8192 (on NT/2K/XP).
  5440.     lt_cv_sys_max_cmd_len=8192;
  5441.     ;;
  5442.  
  5443.   amigaos*)
  5444.     # On AmigaOS with pdksh, this test takes hours, literally.
  5445.     # So we just punt and use a minimum line length of 8192.
  5446.     lt_cv_sys_max_cmd_len=8192;
  5447.     ;;
  5448.  
  5449.   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5450.     # This has been around since 386BSD, at least.  Likely further.
  5451.     if test -x /sbin/sysctl; then
  5452.       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5453.     elif test -x /usr/sbin/sysctl; then
  5454.       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5455.     else
  5456.       lt_cv_sys_max_cmd_len=65536   # usable default for all BSDs
  5457.     fi
  5458.     # And add a safety zone
  5459.     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5460.     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5461.     ;;
  5462.  
  5463.   interix*)
  5464.     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  5465.     lt_cv_sys_max_cmd_len=196608
  5466.     ;;
  5467.  
  5468.   osf*)
  5469.     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5470.     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5471.     # nice to cause kernel panics so lets avoid the loop below.
  5472.     # First set a reasonable default.
  5473.     lt_cv_sys_max_cmd_len=16384
  5474.     #
  5475.     if test -x /sbin/sysconfig; then
  5476.       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5477.         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5478.       esac
  5479.     fi
  5480.     ;;
  5481.   sco3.2v5*)
  5482.     lt_cv_sys_max_cmd_len=102400
  5483.     ;;
  5484.   sysv5* | sco5v6* | sysv4.2uw2*)
  5485.     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  5486.     if test -n "$kargmax"; then
  5487.       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
  5488.     else
  5489.       lt_cv_sys_max_cmd_len=32768
  5490.     fi
  5491.     ;;
  5492.   *)
  5493.     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  5494.     if test -n "$lt_cv_sys_max_cmd_len"; then
  5495.       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5496.       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5497.     else
  5498.       # Make teststring a little bigger before we do anything with it.
  5499.       # a 1K string should be a reasonable start.
  5500.       for i in 1 2 3 4 5 6 7 8 ; do
  5501.         teststring=$teststring$teststring
  5502.       done
  5503.       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5504.       # If test is not a shell built-in, we'll probably end up computing a
  5505.       # maximum length that is only half of the actual maximum length, but
  5506.       # we can't tell.
  5507.       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  5508.              = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  5509.           test $i != 17 # 1/2 MB should be enough
  5510.       do
  5511.         i=`expr $i + 1`
  5512.         teststring=$teststring$teststring
  5513.       done
  5514.       # Only check the string length outside the loop.
  5515.       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  5516.       teststring=
  5517.       # Add a significant safety factor because C++ compilers can tack on
  5518.       # massive amounts of additional arguments before passing them to the
  5519.       # linker.  It appears as though 1/2 is a usable value.
  5520.       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5521.     fi
  5522.     ;;
  5523.   esac
  5524.  
  5525. fi
  5526.  
  5527. if test -n $lt_cv_sys_max_cmd_len ; then
  5528.   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  5529. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  5530. else
  5531.   { $as_echo "$as_me:$LINENO: result: none" >&5
  5532. $as_echo "none" >&6; }
  5533. fi
  5534. max_cmd_len=$lt_cv_sys_max_cmd_len
  5535.  
  5536.  
  5537.  
  5538.  
  5539.  
  5540.  
  5541. : ${CP="cp -f"}
  5542. : ${MV="mv -f"}
  5543. : ${RM="rm -f"}
  5544.  
  5545. { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
  5546. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  5547. # Try some XSI features
  5548. xsi_shell=no
  5549. ( _lt_dummy="a/b/c"
  5550.   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  5551.       = c,a/b,, \
  5552.     && eval 'test $(( 1 + 1 )) -eq 2 \
  5553.    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  5554.   && xsi_shell=yes
  5555. { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
  5556. $as_echo "$xsi_shell" >&6; }
  5557.  
  5558.  
  5559. { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
  5560. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  5561. lt_shell_append=no
  5562. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  5563.     >/dev/null 2>&1 \
  5564.   && lt_shell_append=yes
  5565. { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
  5566. $as_echo "$lt_shell_append" >&6; }
  5567.  
  5568.  
  5569. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5570.   lt_unset=unset
  5571. else
  5572.   lt_unset=false
  5573. fi
  5574.  
  5575.  
  5576.  
  5577.  
  5578.  
  5579. # test EBCDIC or ASCII
  5580. case `echo X|tr X '\101'` in
  5581.  A) # ASCII based system
  5582.     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5583.   lt_SP2NL='tr \040 \012'
  5584.   lt_NL2SP='tr \015\012 \040\040'
  5585.   ;;
  5586.  *) # EBCDIC based system
  5587.   lt_SP2NL='tr \100 \n'
  5588.   lt_NL2SP='tr \r\n \100\100'
  5589.   ;;
  5590. esac
  5591.  
  5592.  
  5593.  
  5594.  
  5595.  
  5596.  
  5597.  
  5598.  
  5599.  
  5600. { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  5601. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  5602. if test "${lt_cv_ld_reload_flag+set}" = set; then
  5603.   $as_echo_n "(cached) " >&6
  5604. else
  5605.   lt_cv_ld_reload_flag='-r'
  5606. fi
  5607. { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  5608. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  5609. reload_flag=$lt_cv_ld_reload_flag
  5610. case $reload_flag in
  5611. "" | " "*) ;;
  5612. *) reload_flag=" $reload_flag" ;;
  5613. esac
  5614. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5615. case $host_os in
  5616.   darwin*)
  5617.     if test "$GCC" = yes; then
  5618.       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  5619.     else
  5620.       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5621.     fi
  5622.     ;;
  5623. esac
  5624.  
  5625.  
  5626.  
  5627.  
  5628.  
  5629.  
  5630.  
  5631.  
  5632.  
  5633. if test -n "$ac_tool_prefix"; then
  5634.   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5635. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5636. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5637. $as_echo_n "checking for $ac_word... " >&6; }
  5638. if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  5639.   $as_echo_n "(cached) " >&6
  5640. else
  5641.   if test -n "$OBJDUMP"; then
  5642.   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5643. else
  5644. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5645. for as_dir in $PATH
  5646. do
  5647.   IFS=$as_save_IFS
  5648.   test -z "$as_dir" && as_dir=.
  5649.   for ac_exec_ext in '' $ac_executable_extensions; do
  5650.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5651.     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5652.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5653.     break 2
  5654.   fi
  5655. done
  5656. done
  5657. IFS=$as_save_IFS
  5658.  
  5659. fi
  5660. fi
  5661. OBJDUMP=$ac_cv_prog_OBJDUMP
  5662. if test -n "$OBJDUMP"; then
  5663.   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  5664. $as_echo "$OBJDUMP" >&6; }
  5665. else
  5666.   { $as_echo "$as_me:$LINENO: result: no" >&5
  5667. $as_echo "no" >&6; }
  5668. fi
  5669.  
  5670.  
  5671. fi
  5672. if test -z "$ac_cv_prog_OBJDUMP"; then
  5673.   ac_ct_OBJDUMP=$OBJDUMP
  5674.   # Extract the first word of "objdump", so it can be a program name with args.
  5675. set dummy objdump; ac_word=$2
  5676. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5677. $as_echo_n "checking for $ac_word... " >&6; }
  5678. if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  5679.   $as_echo_n "(cached) " >&6
  5680. else
  5681.   if test -n "$ac_ct_OBJDUMP"; then
  5682.   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5683. else
  5684. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5685. for as_dir in $PATH
  5686. do
  5687.   IFS=$as_save_IFS
  5688.   test -z "$as_dir" && as_dir=.
  5689.   for ac_exec_ext in '' $ac_executable_extensions; do
  5690.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5691.     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5692.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5693.     break 2
  5694.   fi
  5695. done
  5696. done
  5697. IFS=$as_save_IFS
  5698.  
  5699. fi
  5700. fi
  5701. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5702. if test -n "$ac_ct_OBJDUMP"; then
  5703.   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  5704. $as_echo "$ac_ct_OBJDUMP" >&6; }
  5705. else
  5706.   { $as_echo "$as_me:$LINENO: result: no" >&5
  5707. $as_echo "no" >&6; }
  5708. fi
  5709.  
  5710.   if test "x$ac_ct_OBJDUMP" = x; then
  5711.     OBJDUMP="false"
  5712.   else
  5713.     case $cross_compiling:$ac_tool_warned in
  5714. yes:)
  5715. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5716. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5717. ac_tool_warned=yes ;;
  5718. esac
  5719.     OBJDUMP=$ac_ct_OBJDUMP
  5720.   fi
  5721. else
  5722.   OBJDUMP="$ac_cv_prog_OBJDUMP"
  5723. fi
  5724.  
  5725. test -z "$OBJDUMP" && OBJDUMP=objdump
  5726.  
  5727.  
  5728.  
  5729.  
  5730.  
  5731.  
  5732.  
  5733.  
  5734.  
  5735. { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  5736. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  5737. if test "${lt_cv_deplibs_check_method+set}" = set; then
  5738.   $as_echo_n "(cached) " >&6
  5739. else
  5740.   lt_cv_file_magic_cmd='$MAGIC_CMD'
  5741. lt_cv_file_magic_test_file=
  5742. lt_cv_deplibs_check_method='unknown'
  5743. # Need to set the preceding variable on all platforms that support
  5744. # interlibrary dependencies.
  5745. # 'none' -- dependencies not supported.
  5746. # `unknown' -- same as none, but documents that we really don't know.
  5747. # 'pass_all' -- all dependencies passed with no checks.
  5748. # 'test_compile' -- check by making test program.
  5749. # 'file_magic [[regex]]' -- check by looking for files in library path
  5750. # which responds to the $file_magic_cmd with a given extended regex.
  5751. # If you have `file' or equivalent on your system and you're not sure
  5752. # whether `pass_all' will *always* work, you probably want this one.
  5753.  
  5754. case $host_os in
  5755. aix[4-9]*)
  5756.   lt_cv_deplibs_check_method=pass_all
  5757.   ;;
  5758.  
  5759. beos*)
  5760.   lt_cv_deplibs_check_method=pass_all
  5761.   ;;
  5762.  
  5763. bsdi[45]*)
  5764.   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  5765.   lt_cv_file_magic_cmd='/usr/bin/file -L'
  5766.   lt_cv_file_magic_test_file=/shlib/libc.so
  5767.   ;;
  5768.  
  5769. cygwin*)
  5770.   # func_win32_libid is a shell function defined in ltmain.sh
  5771.   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5772.   lt_cv_file_magic_cmd='func_win32_libid'
  5773.   ;;
  5774.  
  5775. mingw* | pw32*)
  5776.   # Base MSYS/MinGW do not provide the 'file' command needed by
  5777.   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  5778.   # unless we find 'file', for example because we are cross-compiling.
  5779.   if ( file / ) >/dev/null 2>&1; then
  5780.     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5781.     lt_cv_file_magic_cmd='func_win32_libid'
  5782.   else
  5783.     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  5784.     lt_cv_file_magic_cmd='$OBJDUMP -f'
  5785.   fi
  5786.   ;;
  5787.  
  5788. cegcc)
  5789.   # use the weaker test based on 'objdump'. See mingw*.
  5790.   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  5791.   lt_cv_file_magic_cmd='$OBJDUMP -f'
  5792.   ;;
  5793.  
  5794. darwin* | rhapsody*)
  5795.   lt_cv_deplibs_check_method=pass_all
  5796.   ;;
  5797.  
  5798. freebsd* | dragonfly*)
  5799.   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5800.     case $host_cpu in
  5801.     i*86 )
  5802.       # Not sure whether the presence of OpenBSD here was a mistake.
  5803.       # Let's accept both of them until this is cleared up.
  5804.       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5805.       lt_cv_file_magic_cmd=/usr/bin/file
  5806.       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5807.       ;;
  5808.     esac
  5809.   else
  5810.     lt_cv_deplibs_check_method=pass_all
  5811.   fi
  5812.   ;;
  5813.  
  5814. gnu*)
  5815.   lt_cv_deplibs_check_method=pass_all
  5816.   ;;
  5817.  
  5818. hpux10.20* | hpux11*)
  5819.   lt_cv_file_magic_cmd=/usr/bin/file
  5820.   case $host_cpu in
  5821.   ia64*)
  5822.     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5823.     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5824.     ;;
  5825.   hppa*64*)
  5826.     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
  5827.     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5828.     ;;
  5829.   *)
  5830.     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  5831.     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5832.     ;;
  5833.   esac
  5834.   ;;
  5835.  
  5836. interix[3-9]*)
  5837.   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5838.   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5839.   ;;
  5840.  
  5841. irix5* | irix6* | nonstopux*)
  5842.   case $LD in
  5843.   *-32|*"-32 ") libmagic=32-bit;;
  5844.   *-n32|*"-n32 ") libmagic=N32;;
  5845.   *-64|*"-64 ") libmagic=64-bit;;
  5846.   *) libmagic=never-match;;
  5847.   esac
  5848.   lt_cv_deplibs_check_method=pass_all
  5849.   ;;
  5850.  
  5851. # This must be Linux ELF.
  5852. linux* | k*bsd*-gnu)
  5853.   lt_cv_deplibs_check_method=pass_all
  5854.   ;;
  5855.  
  5856. netbsd*)
  5857.   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5858.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5859.   else
  5860.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5861.   fi
  5862.   ;;
  5863.  
  5864. newos6*)
  5865.   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5866.   lt_cv_file_magic_cmd=/usr/bin/file
  5867.   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5868.   ;;
  5869.  
  5870. *nto* | *qnx*)
  5871.   lt_cv_deplibs_check_method=pass_all
  5872.   ;;
  5873.  
  5874. openbsd*)
  5875.   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5876.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5877.   else
  5878.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5879.   fi
  5880.   ;;
  5881.  
  5882. osf3* | osf4* | osf5*)
  5883.   lt_cv_deplibs_check_method=pass_all
  5884.   ;;
  5885.  
  5886. rdos*)
  5887.   lt_cv_deplibs_check_method=pass_all
  5888.   ;;
  5889.  
  5890. solaris*)
  5891.   lt_cv_deplibs_check_method=pass_all
  5892.   ;;
  5893.  
  5894. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5895.   lt_cv_deplibs_check_method=pass_all
  5896.   ;;
  5897.  
  5898. sysv4 | sysv4.3*)
  5899.   case $host_vendor in
  5900.   motorola)
  5901.     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]'
  5902.     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5903.     ;;
  5904.   ncr)
  5905.     lt_cv_deplibs_check_method=pass_all
  5906.     ;;
  5907.   sequent)
  5908.     lt_cv_file_magic_cmd='/bin/file'
  5909.     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5910.     ;;
  5911.   sni)
  5912.     lt_cv_file_magic_cmd='/bin/file'
  5913.     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5914.     lt_cv_file_magic_test_file=/lib/libc.so
  5915.     ;;
  5916.   siemens)
  5917.     lt_cv_deplibs_check_method=pass_all
  5918.     ;;
  5919.   pc)
  5920.     lt_cv_deplibs_check_method=pass_all
  5921.     ;;
  5922.   esac
  5923.   ;;
  5924.  
  5925. tpf*)
  5926.   lt_cv_deplibs_check_method=pass_all
  5927.   ;;
  5928. esac
  5929.  
  5930. fi
  5931. { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  5932. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5933. file_magic_cmd=$lt_cv_file_magic_cmd
  5934. deplibs_check_method=$lt_cv_deplibs_check_method
  5935. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5936.  
  5937.  
  5938.  
  5939.  
  5940.  
  5941.  
  5942.  
  5943.  
  5944.  
  5945.  
  5946.  
  5947.  
  5948. if test -n "$ac_tool_prefix"; then
  5949.   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5950. set dummy ${ac_tool_prefix}ar; ac_word=$2
  5951. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5952. $as_echo_n "checking for $ac_word... " >&6; }
  5953. if test "${ac_cv_prog_AR+set}" = set; then
  5954.   $as_echo_n "(cached) " >&6
  5955. else
  5956.   if test -n "$AR"; then
  5957.   ac_cv_prog_AR="$AR" # Let the user override the test.
  5958. else
  5959. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5960. for as_dir in $PATH
  5961. do
  5962.   IFS=$as_save_IFS
  5963.   test -z "$as_dir" && as_dir=.
  5964.   for ac_exec_ext in '' $ac_executable_extensions; do
  5965.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5966.     ac_cv_prog_AR="${ac_tool_prefix}ar"
  5967.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5968.     break 2
  5969.   fi
  5970. done
  5971. done
  5972. IFS=$as_save_IFS
  5973.  
  5974. fi
  5975. fi
  5976. AR=$ac_cv_prog_AR
  5977. if test -n "$AR"; then
  5978.   { $as_echo "$as_me:$LINENO: result: $AR" >&5
  5979. $as_echo "$AR" >&6; }
  5980. else
  5981.   { $as_echo "$as_me:$LINENO: result: no" >&5
  5982. $as_echo "no" >&6; }
  5983. fi
  5984.  
  5985.  
  5986. fi
  5987. if test -z "$ac_cv_prog_AR"; then
  5988.   ac_ct_AR=$AR
  5989.   # Extract the first word of "ar", so it can be a program name with args.
  5990. set dummy ar; ac_word=$2
  5991. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5992. $as_echo_n "checking for $ac_word... " >&6; }
  5993. if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  5994.   $as_echo_n "(cached) " >&6
  5995. else
  5996.   if test -n "$ac_ct_AR"; then
  5997.   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5998. else
  5999. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6000. for as_dir in $PATH
  6001. do
  6002.   IFS=$as_save_IFS
  6003.   test -z "$as_dir" && as_dir=.
  6004.   for ac_exec_ext in '' $ac_executable_extensions; do
  6005.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6006.     ac_cv_prog_ac_ct_AR="ar"
  6007.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6008.     break 2
  6009.   fi
  6010. done
  6011. done
  6012. IFS=$as_save_IFS
  6013.  
  6014. fi
  6015. fi
  6016. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6017. if test -n "$ac_ct_AR"; then
  6018.   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  6019. $as_echo "$ac_ct_AR" >&6; }
  6020. else
  6021.   { $as_echo "$as_me:$LINENO: result: no" >&5
  6022. $as_echo "no" >&6; }
  6023. fi
  6024.  
  6025.   if test "x$ac_ct_AR" = x; then
  6026.     AR="false"
  6027.   else
  6028.     case $cross_compiling:$ac_tool_warned in
  6029. yes:)
  6030. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6031. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6032. ac_tool_warned=yes ;;
  6033. esac
  6034.     AR=$ac_ct_AR
  6035.   fi
  6036. else
  6037.   AR="$ac_cv_prog_AR"
  6038. fi
  6039.  
  6040. test -z "$AR" && AR=ar
  6041. test -z "$AR_FLAGS" && AR_FLAGS=cru
  6042.  
  6043.  
  6044.  
  6045.  
  6046.  
  6047.  
  6048.  
  6049.  
  6050.  
  6051.  
  6052.  
  6053. if test -n "$ac_tool_prefix"; then
  6054.   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6055. set dummy ${ac_tool_prefix}strip; ac_word=$2
  6056. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6057. $as_echo_n "checking for $ac_word... " >&6; }
  6058. if test "${ac_cv_prog_STRIP+set}" = set; then
  6059.   $as_echo_n "(cached) " >&6
  6060. else
  6061.   if test -n "$STRIP"; then
  6062.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6063. else
  6064. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6065. for as_dir in $PATH
  6066. do
  6067.   IFS=$as_save_IFS
  6068.   test -z "$as_dir" && as_dir=.
  6069.   for ac_exec_ext in '' $ac_executable_extensions; do
  6070.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6071.     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6072.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6073.     break 2
  6074.   fi
  6075. done
  6076. done
  6077. IFS=$as_save_IFS
  6078.  
  6079. fi
  6080. fi
  6081. STRIP=$ac_cv_prog_STRIP
  6082. if test -n "$STRIP"; then
  6083.   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  6084. $as_echo "$STRIP" >&6; }
  6085. else
  6086.   { $as_echo "$as_me:$LINENO: result: no" >&5
  6087. $as_echo "no" >&6; }
  6088. fi
  6089.  
  6090.  
  6091. fi
  6092. if test -z "$ac_cv_prog_STRIP"; then
  6093.   ac_ct_STRIP=$STRIP
  6094.   # Extract the first word of "strip", so it can be a program name with args.
  6095. set dummy strip; ac_word=$2
  6096. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6097. $as_echo_n "checking for $ac_word... " >&6; }
  6098. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  6099.   $as_echo_n "(cached) " >&6
  6100. else
  6101.   if test -n "$ac_ct_STRIP"; then
  6102.   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6103. else
  6104. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6105. for as_dir in $PATH
  6106. do
  6107.   IFS=$as_save_IFS
  6108.   test -z "$as_dir" && as_dir=.
  6109.   for ac_exec_ext in '' $ac_executable_extensions; do
  6110.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6111.     ac_cv_prog_ac_ct_STRIP="strip"
  6112.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6113.     break 2
  6114.   fi
  6115. done
  6116. done
  6117. IFS=$as_save_IFS
  6118.  
  6119. fi
  6120. fi
  6121. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6122. if test -n "$ac_ct_STRIP"; then
  6123.   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  6124. $as_echo "$ac_ct_STRIP" >&6; }
  6125. else
  6126.   { $as_echo "$as_me:$LINENO: result: no" >&5
  6127. $as_echo "no" >&6; }
  6128. fi
  6129.  
  6130.   if test "x$ac_ct_STRIP" = x; then
  6131.     STRIP=":"
  6132.   else
  6133.     case $cross_compiling:$ac_tool_warned in
  6134. yes:)
  6135. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6136. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6137. ac_tool_warned=yes ;;
  6138. esac
  6139.     STRIP=$ac_ct_STRIP
  6140.   fi
  6141. else
  6142.   STRIP="$ac_cv_prog_STRIP"
  6143. fi
  6144.  
  6145. test -z "$STRIP" && STRIP=:
  6146.  
  6147.  
  6148.  
  6149.  
  6150.  
  6151.  
  6152. if test -n "$ac_tool_prefix"; then
  6153.   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6154. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6155. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6156. $as_echo_n "checking for $ac_word... " >&6; }
  6157. if test "${ac_cv_prog_RANLIB+set}" = set; then
  6158.   $as_echo_n "(cached) " >&6
  6159. else
  6160.   if test -n "$RANLIB"; then
  6161.   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6162. else
  6163. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6164. for as_dir in $PATH
  6165. do
  6166.   IFS=$as_save_IFS
  6167.   test -z "$as_dir" && as_dir=.
  6168.   for ac_exec_ext in '' $ac_executable_extensions; do
  6169.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6170.     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6171.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6172.     break 2
  6173.   fi
  6174. done
  6175. done
  6176. IFS=$as_save_IFS
  6177.  
  6178. fi
  6179. fi
  6180. RANLIB=$ac_cv_prog_RANLIB
  6181. if test -n "$RANLIB"; then
  6182.   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  6183. $as_echo "$RANLIB" >&6; }
  6184. else
  6185.   { $as_echo "$as_me:$LINENO: result: no" >&5
  6186. $as_echo "no" >&6; }
  6187. fi
  6188.  
  6189.  
  6190. fi
  6191. if test -z "$ac_cv_prog_RANLIB"; then
  6192.   ac_ct_RANLIB=$RANLIB
  6193.   # Extract the first word of "ranlib", so it can be a program name with args.
  6194. set dummy ranlib; ac_word=$2
  6195. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6196. $as_echo_n "checking for $ac_word... " >&6; }
  6197. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  6198.   $as_echo_n "(cached) " >&6
  6199. else
  6200.   if test -n "$ac_ct_RANLIB"; then
  6201.   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6202. else
  6203. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6204. for as_dir in $PATH
  6205. do
  6206.   IFS=$as_save_IFS
  6207.   test -z "$as_dir" && as_dir=.
  6208.   for ac_exec_ext in '' $ac_executable_extensions; do
  6209.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6210.     ac_cv_prog_ac_ct_RANLIB="ranlib"
  6211.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6212.     break 2
  6213.   fi
  6214. done
  6215. done
  6216. IFS=$as_save_IFS
  6217.  
  6218. fi
  6219. fi
  6220. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6221. if test -n "$ac_ct_RANLIB"; then
  6222.   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  6223. $as_echo "$ac_ct_RANLIB" >&6; }
  6224. else
  6225.   { $as_echo "$as_me:$LINENO: result: no" >&5
  6226. $as_echo "no" >&6; }
  6227. fi
  6228.  
  6229.   if test "x$ac_ct_RANLIB" = x; then
  6230.     RANLIB=":"
  6231.   else
  6232.     case $cross_compiling:$ac_tool_warned in
  6233. yes:)
  6234. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6235. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6236. ac_tool_warned=yes ;;
  6237. esac
  6238.     RANLIB=$ac_ct_RANLIB
  6239.   fi
  6240. else
  6241.   RANLIB="$ac_cv_prog_RANLIB"
  6242. fi
  6243.  
  6244. test -z "$RANLIB" && RANLIB=:
  6245.  
  6246.  
  6247.  
  6248.  
  6249.  
  6250.  
  6251. # Determine commands to create old-style static archives.
  6252. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6253. old_postinstall_cmds='chmod 644 $oldlib'
  6254. old_postuninstall_cmds=
  6255.  
  6256. if test -n "$RANLIB"; then
  6257.   case $host_os in
  6258.   openbsd*)
  6259.     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  6260.     ;;
  6261.   *)
  6262.     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  6263.     ;;
  6264.   esac
  6265.   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  6266. fi
  6267.  
  6268.  
  6269.  
  6270.  
  6271.  
  6272.  
  6273.  
  6274.  
  6275.  
  6276.  
  6277.  
  6278.  
  6279.  
  6280.  
  6281.  
  6282.  
  6283.  
  6284.  
  6285.  
  6286.  
  6287.  
  6288.  
  6289.  
  6290.  
  6291.  
  6292.  
  6293.  
  6294.  
  6295.  
  6296.  
  6297.  
  6298.  
  6299.  
  6300.  
  6301. # If no C compiler was specified, use CC.
  6302. LTCC=${LTCC-"$CC"}
  6303.  
  6304. # If no C compiler flags were specified, use CFLAGS.
  6305. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6306.  
  6307. # Allow CC to be a program name with arguments.
  6308. compiler=$CC
  6309.  
  6310.  
  6311. # Check for command to grab the raw symbol name followed by C symbol from nm.
  6312. { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  6313. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6314. if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  6315.   $as_echo_n "(cached) " >&6
  6316. else
  6317.  
  6318. # These are sane defaults that work on at least a few old systems.
  6319. # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  6320.  
  6321. # Character class describing NM global symbol codes.
  6322. symcode='[BCDEGRST]'
  6323.  
  6324. # Regexp to match symbols that can be accessed directly from C.
  6325. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6326.  
  6327. # Define system-specific variables.
  6328. case $host_os in
  6329. aix*)
  6330.   symcode='[BCDT]'
  6331.   ;;
  6332. cygwin* | mingw* | pw32* | cegcc*)
  6333.   symcode='[ABCDGISTW]'
  6334.   ;;
  6335. hpux*)
  6336.   if test "$host_cpu" = ia64; then
  6337.     symcode='[ABCDEGRST]'
  6338.   fi
  6339.   ;;
  6340. irix* | nonstopux*)
  6341.   symcode='[BCDEGRST]'
  6342.   ;;
  6343. osf*)
  6344.   symcode='[BCDEGQRST]'
  6345.   ;;
  6346. solaris*)
  6347.   symcode='[BDRT]'
  6348.   ;;
  6349. sco3.2v5*)
  6350.   symcode='[DT]'
  6351.   ;;
  6352. sysv4.2uw2*)
  6353.   symcode='[DT]'
  6354.   ;;
  6355. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6356.   symcode='[ABDT]'
  6357.   ;;
  6358. sysv4)
  6359.   symcode='[DFNSTU]'
  6360.   ;;
  6361. esac
  6362.  
  6363. # If we're using GNU nm, then use its standard symbol codes.
  6364. case `$NM -V 2>&1` in
  6365. *GNU* | *'with BFD'*)
  6366.   symcode='[ABCDGIRSTW]' ;;
  6367. esac
  6368.  
  6369. # Transform an extracted symbol line into a proper C declaration.
  6370. # Some systems (esp. on ia64) link data and code symbols differently,
  6371. # so use this general approach.
  6372. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6373.  
  6374. # Transform an extracted symbol line into symbol name and symbol address
  6375. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  6376. 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'"
  6377.  
  6378. # Handle CRLF in mingw tool chain
  6379. opt_cr=
  6380. case $build_os in
  6381. mingw*)
  6382.   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6383.   ;;
  6384. esac
  6385.  
  6386. # Try without a prefix underscore, then with it.
  6387. for ac_symprfx in "" "_"; do
  6388.  
  6389.   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6390.   symxfrm="\\1 $ac_symprfx\\2 \\2"
  6391.  
  6392.   # Write the raw and C identifiers.
  6393.   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6394.     # Fake it for dumpbin and say T for any non-static function
  6395.     # and D for any global variable.
  6396.     # Also find C++ and __fastcall symbols from MSVC++,
  6397.     # which start with @ or ?.
  6398.     lt_cv_sys_global_symbol_pipe="$AWK '"\
  6399. "     {last_section=section; section=\$ 3};"\
  6400. "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  6401. "     \$ 0!~/External *\|/{next};"\
  6402. "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  6403. "     {if(hide[section]) next};"\
  6404. "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  6405. "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  6406. "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  6407. "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  6408. "     ' prfx=^$ac_symprfx"
  6409.   else
  6410.     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[  ]\($symcode$symcode*\)[     ][  ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  6411.   fi
  6412.  
  6413.   # Check to see that the pipe works correctly.
  6414.   pipe_works=no
  6415.  
  6416.   rm -f conftest*
  6417.   cat > conftest.$ac_ext <<_LT_EOF
  6418. #ifdef __cplusplus
  6419. extern "C" {
  6420. #endif
  6421. char nm_test_var;
  6422. void nm_test_func(void);
  6423. void nm_test_func(void){}
  6424. #ifdef __cplusplus
  6425. }
  6426. #endif
  6427. int main(){nm_test_var='a';nm_test_func();return(0);}
  6428. _LT_EOF
  6429.  
  6430.   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6431.   (eval $ac_compile) 2>&5
  6432.   ac_status=$?
  6433.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6434.   (exit $ac_status); }; then
  6435.     # Now try to grab the symbols.
  6436.     nlist=conftest.nm
  6437.     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  6438.   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  6439.   ac_status=$?
  6440.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6441.   (exit $ac_status); } && test -s "$nlist"; then
  6442.       # Try sorting and uniquifying the output.
  6443.       if sort "$nlist" | uniq > "$nlist"T; then
  6444.     mv -f "$nlist"T "$nlist"
  6445.       else
  6446.     rm -f "$nlist"T
  6447.       fi
  6448.  
  6449.       # Make sure that we snagged all the symbols we need.
  6450.       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  6451.     if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  6452.       cat <<_LT_EOF > conftest.$ac_ext
  6453. #ifdef __cplusplus
  6454. extern "C" {
  6455. #endif
  6456.  
  6457. _LT_EOF
  6458.       # Now generate the symbol file.
  6459.       eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  6460.  
  6461.       cat <<_LT_EOF >> conftest.$ac_ext
  6462.  
  6463. /* The mapping between symbol names and symbols.  */
  6464. const struct {
  6465.   const char *name;
  6466.   void       *address;
  6467. }
  6468. lt__PROGRAM__LTX_preloaded_symbols[] =
  6469. {
  6470.   { "@PROGRAM@", (void *) 0 },
  6471. _LT_EOF
  6472.       $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  6473.       cat <<\_LT_EOF >> conftest.$ac_ext
  6474.   {0, (void *) 0}
  6475. };
  6476.  
  6477. /* This works around a problem in FreeBSD linker */
  6478. #ifdef FREEBSD_WORKAROUND
  6479. static const void *lt_preloaded_setup() {
  6480.   return lt__PROGRAM__LTX_preloaded_symbols;
  6481. }
  6482. #endif
  6483.  
  6484. #ifdef __cplusplus
  6485. }
  6486. #endif
  6487. _LT_EOF
  6488.       # Now try linking the two files.
  6489.       mv conftest.$ac_objext conftstm.$ac_objext
  6490.       lt_save_LIBS="$LIBS"
  6491.       lt_save_CFLAGS="$CFLAGS"
  6492.       LIBS="conftstm.$ac_objext"
  6493.       CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  6494.       if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6495.   (eval $ac_link) 2>&5
  6496.   ac_status=$?
  6497.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6498.   (exit $ac_status); } && test -s conftest${ac_exeext}; then
  6499.         pipe_works=yes
  6500.       fi
  6501.       LIBS="$lt_save_LIBS"
  6502.       CFLAGS="$lt_save_CFLAGS"
  6503.     else
  6504.       echo "cannot find nm_test_func in $nlist" >&5
  6505.     fi
  6506.       else
  6507.     echo "cannot find nm_test_var in $nlist" >&5
  6508.       fi
  6509.     else
  6510.       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  6511.     fi
  6512.   else
  6513.     echo "$progname: failed program was:" >&5
  6514.     cat conftest.$ac_ext >&5
  6515.   fi
  6516.   rm -rf conftest* conftst*
  6517.  
  6518.   # Do not use the global_symbol_pipe unless it works.
  6519.   if test "$pipe_works" = yes; then
  6520.     break
  6521.   else
  6522.     lt_cv_sys_global_symbol_pipe=
  6523.   fi
  6524. done
  6525.  
  6526. fi
  6527.  
  6528. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  6529.   lt_cv_sys_global_symbol_to_cdecl=
  6530. fi
  6531. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  6532.   { $as_echo "$as_me:$LINENO: result: failed" >&5
  6533. $as_echo "failed" >&6; }
  6534. else
  6535.   { $as_echo "$as_me:$LINENO: result: ok" >&5
  6536. $as_echo "ok" >&6; }
  6537. fi
  6538.  
  6539.  
  6540.  
  6541.  
  6542.  
  6543.  
  6544.  
  6545.  
  6546.  
  6547.  
  6548.  
  6549.  
  6550.  
  6551.  
  6552.  
  6553.  
  6554.  
  6555.  
  6556.  
  6557.  
  6558.  
  6559.  
  6560. # Check whether --enable-libtool-lock was given.
  6561. if test "${enable_libtool_lock+set}" = set; then
  6562.   enableval=$enable_libtool_lock;
  6563. fi
  6564.  
  6565. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6566.  
  6567. # Some flags need to be propagated to the compiler or linker for good
  6568. # libtool support.
  6569. case $host in
  6570. ia64-*-hpux*)
  6571.   # Find out which ABI we are using.
  6572.   echo 'int i;' > conftest.$ac_ext
  6573.   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6574.   (eval $ac_compile) 2>&5
  6575.   ac_status=$?
  6576.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6577.   (exit $ac_status); }; then
  6578.     case `/usr/bin/file conftest.$ac_objext` in
  6579.       *ELF-32*)
  6580.     HPUX_IA64_MODE="32"
  6581.     ;;
  6582.       *ELF-64*)
  6583.     HPUX_IA64_MODE="64"
  6584.     ;;
  6585.     esac
  6586.   fi
  6587.   rm -rf conftest*
  6588.   ;;
  6589. *-*-irix6*)
  6590.   # Find out which ABI we are using.
  6591.   echo '#line 6591 "configure"' > conftest.$ac_ext
  6592.   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6593.   (eval $ac_compile) 2>&5
  6594.   ac_status=$?
  6595.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6596.   (exit $ac_status); }; then
  6597.     if test "$lt_cv_prog_gnu_ld" = yes; then
  6598.       case `/usr/bin/file conftest.$ac_objext` in
  6599.     *32-bit*)
  6600.       LD="${LD-ld} -melf32bsmip"
  6601.       ;;
  6602.     *N32*)
  6603.       LD="${LD-ld} -melf32bmipn32"
  6604.       ;;
  6605.     *64-bit*)
  6606.       LD="${LD-ld} -melf64bmip"
  6607.     ;;
  6608.       esac
  6609.     else
  6610.       case `/usr/bin/file conftest.$ac_objext` in
  6611.     *32-bit*)
  6612.       LD="${LD-ld} -32"
  6613.       ;;
  6614.     *N32*)
  6615.       LD="${LD-ld} -n32"
  6616.       ;;
  6617.     *64-bit*)
  6618.       LD="${LD-ld} -64"
  6619.       ;;
  6620.       esac
  6621.     fi
  6622.   fi
  6623.   rm -rf conftest*
  6624.   ;;
  6625.  
  6626. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  6627. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6628.   # Find out which ABI we are using.
  6629.   echo 'int i;' > conftest.$ac_ext
  6630.   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6631.   (eval $ac_compile) 2>&5
  6632.   ac_status=$?
  6633.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6634.   (exit $ac_status); }; then
  6635.     case `/usr/bin/file conftest.o` in
  6636.       *32-bit*)
  6637.     case $host in
  6638.       x86_64-*kfreebsd*-gnu)
  6639.         LD="${LD-ld} -m elf_i386_fbsd"
  6640.         ;;
  6641.       x86_64-*linux*)
  6642.         LD="${LD-ld} -m elf_i386"
  6643.         ;;
  6644.       ppc64-*linux*|powerpc64-*linux*)
  6645.         LD="${LD-ld} -m elf32ppclinux"
  6646.         ;;
  6647.       s390x-*linux*)
  6648.         LD="${LD-ld} -m elf_s390"
  6649.         ;;
  6650.       sparc64-*linux*)
  6651.         LD="${LD-ld} -m elf32_sparc"
  6652.         ;;
  6653.     esac
  6654.     ;;
  6655.       *64-bit*)
  6656.     case $host in
  6657.       x86_64-*kfreebsd*-gnu)
  6658.         LD="${LD-ld} -m elf_x86_64_fbsd"
  6659.         ;;
  6660.       x86_64-*linux*)
  6661.         LD="${LD-ld} -m elf_x86_64"
  6662.         ;;
  6663.       ppc*-*linux*|powerpc*-*linux*)
  6664.         LD="${LD-ld} -m elf64ppc"
  6665.         ;;
  6666.       s390*-*linux*|s390*-*tpf*)
  6667.         LD="${LD-ld} -m elf64_s390"
  6668.         ;;
  6669.       sparc*-*linux*)
  6670.         LD="${LD-ld} -m elf64_sparc"
  6671.         ;;
  6672.     esac
  6673.     ;;
  6674.     esac
  6675.   fi
  6676.   rm -rf conftest*
  6677.   ;;
  6678.  
  6679. *-*-sco3.2v5*)
  6680.   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6681.   SAVE_CFLAGS="$CFLAGS"
  6682.   CFLAGS="$CFLAGS -belf"
  6683.   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  6684. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6685. if test "${lt_cv_cc_needs_belf+set}" = set; then
  6686.   $as_echo_n "(cached) " >&6
  6687. else
  6688.   ac_ext=c
  6689. ac_cpp='$CPP $CPPFLAGS'
  6690. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6691. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6692. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6693.  
  6694.      cat >conftest.$ac_ext <<_ACEOF
  6695. /* confdefs.h.  */
  6696. _ACEOF
  6697. cat confdefs.h >>conftest.$ac_ext
  6698. cat >>conftest.$ac_ext <<_ACEOF
  6699. /* end confdefs.h.  */
  6700.  
  6701. int
  6702. main ()
  6703. {
  6704.  
  6705.   ;
  6706.   return 0;
  6707. }
  6708. _ACEOF
  6709. rm -f conftest.$ac_objext conftest$ac_exeext
  6710. if { (ac_try="$ac_link"
  6711. case "(($ac_try" in
  6712.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6713.   *) ac_try_echo=$ac_try;;
  6714. esac
  6715. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6716. $as_echo "$ac_try_echo") >&5
  6717.   (eval "$ac_link") 2>conftest.er1
  6718.   ac_status=$?
  6719.   grep -v '^ *+' conftest.er1 >conftest.err
  6720.   rm -f conftest.er1
  6721.   cat conftest.err >&5
  6722.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6723.   (exit $ac_status); } && {
  6724.      test -z "$ac_c_werror_flag" ||
  6725.      test ! -s conftest.err
  6726.        } && test -s conftest$ac_exeext && {
  6727.      test "$cross_compiling" = yes ||
  6728.      $as_test_x conftest$ac_exeext
  6729.        }; then
  6730.   lt_cv_cc_needs_belf=yes
  6731. else
  6732.   $as_echo "$as_me: failed program was:" >&5
  6733. sed 's/^/| /' conftest.$ac_ext >&5
  6734.  
  6735.     lt_cv_cc_needs_belf=no
  6736. fi
  6737.  
  6738. rm -rf conftest.dSYM
  6739. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6740.       conftest$ac_exeext conftest.$ac_ext
  6741.      ac_ext=c
  6742. ac_cpp='$CPP $CPPFLAGS'
  6743. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6744. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6745. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6746.  
  6747. fi
  6748. { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  6749. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6750.   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6751.     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6752.     CFLAGS="$SAVE_CFLAGS"
  6753.   fi
  6754.   ;;
  6755. sparc*-*solaris*)
  6756.   # Find out which ABI we are using.
  6757.   echo 'int i;' > conftest.$ac_ext
  6758.   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6759.   (eval $ac_compile) 2>&5
  6760.   ac_status=$?
  6761.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6762.   (exit $ac_status); }; then
  6763.     case `/usr/bin/file conftest.o` in
  6764.     *64-bit*)
  6765.       case $lt_cv_prog_gnu_ld in
  6766.       yes*) LD="${LD-ld} -m elf64_sparc" ;;
  6767.       *)
  6768.     if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6769.       LD="${LD-ld} -64"
  6770.     fi
  6771.     ;;
  6772.       esac
  6773.       ;;
  6774.     esac
  6775.   fi
  6776.   rm -rf conftest*
  6777.   ;;
  6778. esac
  6779.  
  6780. need_locks="$enable_libtool_lock"
  6781.  
  6782.  
  6783.   case $host_os in
  6784.     rhapsody* | darwin*)
  6785.     if test -n "$ac_tool_prefix"; then
  6786.   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6787. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6788. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6789. $as_echo_n "checking for $ac_word... " >&6; }
  6790. if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  6791.   $as_echo_n "(cached) " >&6
  6792. else
  6793.   if test -n "$DSYMUTIL"; then
  6794.   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6795. else
  6796. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6797. for as_dir in $PATH
  6798. do
  6799.   IFS=$as_save_IFS
  6800.   test -z "$as_dir" && as_dir=.
  6801.   for ac_exec_ext in '' $ac_executable_extensions; do
  6802.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6803.     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6804.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6805.     break 2
  6806.   fi
  6807. done
  6808. done
  6809. IFS=$as_save_IFS
  6810.  
  6811. fi
  6812. fi
  6813. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6814. if test -n "$DSYMUTIL"; then
  6815.   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  6816. $as_echo "$DSYMUTIL" >&6; }
  6817. else
  6818.   { $as_echo "$as_me:$LINENO: result: no" >&5
  6819. $as_echo "no" >&6; }
  6820. fi
  6821.  
  6822.  
  6823. fi
  6824. if test -z "$ac_cv_prog_DSYMUTIL"; then
  6825.   ac_ct_DSYMUTIL=$DSYMUTIL
  6826.   # Extract the first word of "dsymutil", so it can be a program name with args.
  6827. set dummy dsymutil; ac_word=$2
  6828. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6829. $as_echo_n "checking for $ac_word... " >&6; }
  6830. if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  6831.   $as_echo_n "(cached) " >&6
  6832. else
  6833.   if test -n "$ac_ct_DSYMUTIL"; then
  6834.   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6835. else
  6836. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6837. for as_dir in $PATH
  6838. do
  6839.   IFS=$as_save_IFS
  6840.   test -z "$as_dir" && as_dir=.
  6841.   for ac_exec_ext in '' $ac_executable_extensions; do
  6842.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6843.     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6844.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6845.     break 2
  6846.   fi
  6847. done
  6848. done
  6849. IFS=$as_save_IFS
  6850.  
  6851. fi
  6852. fi
  6853. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6854. if test -n "$ac_ct_DSYMUTIL"; then
  6855.   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  6856. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6857. else
  6858.   { $as_echo "$as_me:$LINENO: result: no" >&5
  6859. $as_echo "no" >&6; }
  6860. fi
  6861.  
  6862.   if test "x$ac_ct_DSYMUTIL" = x; then
  6863.     DSYMUTIL=":"
  6864.   else
  6865.     case $cross_compiling:$ac_tool_warned in
  6866. yes:)
  6867. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6868. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6869. ac_tool_warned=yes ;;
  6870. esac
  6871.     DSYMUTIL=$ac_ct_DSYMUTIL
  6872.   fi
  6873. else
  6874.   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6875. fi
  6876.  
  6877.     if test -n "$ac_tool_prefix"; then
  6878.   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6879. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6880. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6881. $as_echo_n "checking for $ac_word... " >&6; }
  6882. if test "${ac_cv_prog_NMEDIT+set}" = set; then
  6883.   $as_echo_n "(cached) " >&6
  6884. else
  6885.   if test -n "$NMEDIT"; then
  6886.   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6887. else
  6888. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6889. for as_dir in $PATH
  6890. do
  6891.   IFS=$as_save_IFS
  6892.   test -z "$as_dir" && as_dir=.
  6893.   for ac_exec_ext in '' $ac_executable_extensions; do
  6894.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6895.     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6896.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6897.     break 2
  6898.   fi
  6899. done
  6900. done
  6901. IFS=$as_save_IFS
  6902.  
  6903. fi
  6904. fi
  6905. NMEDIT=$ac_cv_prog_NMEDIT
  6906. if test -n "$NMEDIT"; then
  6907.   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
  6908. $as_echo "$NMEDIT" >&6; }
  6909. else
  6910.   { $as_echo "$as_me:$LINENO: result: no" >&5
  6911. $as_echo "no" >&6; }
  6912. fi
  6913.  
  6914.  
  6915. fi
  6916. if test -z "$ac_cv_prog_NMEDIT"; then
  6917.   ac_ct_NMEDIT=$NMEDIT
  6918.   # Extract the first word of "nmedit", so it can be a program name with args.
  6919. set dummy nmedit; ac_word=$2
  6920. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6921. $as_echo_n "checking for $ac_word... " >&6; }
  6922. if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  6923.   $as_echo_n "(cached) " >&6
  6924. else
  6925.   if test -n "$ac_ct_NMEDIT"; then
  6926.   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6927. else
  6928. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6929. for as_dir in $PATH
  6930. do
  6931.   IFS=$as_save_IFS
  6932.   test -z "$as_dir" && as_dir=.
  6933.   for ac_exec_ext in '' $ac_executable_extensions; do
  6934.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6935.     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6936.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6937.     break 2
  6938.   fi
  6939. done
  6940. done
  6941. IFS=$as_save_IFS
  6942.  
  6943. fi
  6944. fi
  6945. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6946. if test -n "$ac_ct_NMEDIT"; then
  6947.   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  6948. $as_echo "$ac_ct_NMEDIT" >&6; }
  6949. else
  6950.   { $as_echo "$as_me:$LINENO: result: no" >&5
  6951. $as_echo "no" >&6; }
  6952. fi
  6953.  
  6954.   if test "x$ac_ct_NMEDIT" = x; then
  6955.     NMEDIT=":"
  6956.   else
  6957.     case $cross_compiling:$ac_tool_warned in
  6958. yes:)
  6959. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6960. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6961. ac_tool_warned=yes ;;
  6962. esac
  6963.     NMEDIT=$ac_ct_NMEDIT
  6964.   fi
  6965. else
  6966.   NMEDIT="$ac_cv_prog_NMEDIT"
  6967. fi
  6968.  
  6969.     if test -n "$ac_tool_prefix"; then
  6970.   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6971. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6972. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6973. $as_echo_n "checking for $ac_word... " >&6; }
  6974. if test "${ac_cv_prog_LIPO+set}" = set; then
  6975.   $as_echo_n "(cached) " >&6
  6976. else
  6977.   if test -n "$LIPO"; then
  6978.   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6979. else
  6980. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6981. for as_dir in $PATH
  6982. do
  6983.   IFS=$as_save_IFS
  6984.   test -z "$as_dir" && as_dir=.
  6985.   for ac_exec_ext in '' $ac_executable_extensions; do
  6986.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6987.     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6988.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6989.     break 2
  6990.   fi
  6991. done
  6992. done
  6993. IFS=$as_save_IFS
  6994.  
  6995. fi
  6996. fi
  6997. LIPO=$ac_cv_prog_LIPO
  6998. if test -n "$LIPO"; then
  6999.   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
  7000. $as_echo "$LIPO" >&6; }
  7001. else
  7002.   { $as_echo "$as_me:$LINENO: result: no" >&5
  7003. $as_echo "no" >&6; }
  7004. fi
  7005.  
  7006.  
  7007. fi
  7008. if test -z "$ac_cv_prog_LIPO"; then
  7009.   ac_ct_LIPO=$LIPO
  7010.   # Extract the first word of "lipo", so it can be a program name with args.
  7011. set dummy lipo; ac_word=$2
  7012. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7013. $as_echo_n "checking for $ac_word... " >&6; }
  7014. if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
  7015.   $as_echo_n "(cached) " >&6
  7016. else
  7017.   if test -n "$ac_ct_LIPO"; then
  7018.   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  7019. else
  7020. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7021. for as_dir in $PATH
  7022. do
  7023.   IFS=$as_save_IFS
  7024.   test -z "$as_dir" && as_dir=.
  7025.   for ac_exec_ext in '' $ac_executable_extensions; do
  7026.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7027.     ac_cv_prog_ac_ct_LIPO="lipo"
  7028.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7029.     break 2
  7030.   fi
  7031. done
  7032. done
  7033. IFS=$as_save_IFS
  7034.  
  7035. fi
  7036. fi
  7037. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  7038. if test -n "$ac_ct_LIPO"; then
  7039.   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
  7040. $as_echo "$ac_ct_LIPO" >&6; }
  7041. else
  7042.   { $as_echo "$as_me:$LINENO: result: no" >&5
  7043. $as_echo "no" >&6; }
  7044. fi
  7045.  
  7046.   if test "x$ac_ct_LIPO" = x; then
  7047.     LIPO=":"
  7048.   else
  7049.     case $cross_compiling:$ac_tool_warned in
  7050. yes:)
  7051. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  7052. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7053. ac_tool_warned=yes ;;
  7054. esac
  7055.     LIPO=$ac_ct_LIPO
  7056.   fi
  7057. else
  7058.   LIPO="$ac_cv_prog_LIPO"
  7059. fi
  7060.  
  7061.     if test -n "$ac_tool_prefix"; then
  7062.   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7063. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7064. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7065. $as_echo_n "checking for $ac_word... " >&6; }
  7066. if test "${ac_cv_prog_OTOOL+set}" = set; then
  7067.   $as_echo_n "(cached) " >&6
  7068. else
  7069.   if test -n "$OTOOL"; then
  7070.   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7071. else
  7072. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7073. for as_dir in $PATH
  7074. do
  7075.   IFS=$as_save_IFS
  7076.   test -z "$as_dir" && as_dir=.
  7077.   for ac_exec_ext in '' $ac_executable_extensions; do
  7078.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7079.     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7080.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7081.     break 2
  7082.   fi
  7083. done
  7084. done
  7085. IFS=$as_save_IFS
  7086.  
  7087. fi
  7088. fi
  7089. OTOOL=$ac_cv_prog_OTOOL
  7090. if test -n "$OTOOL"; then
  7091.   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
  7092. $as_echo "$OTOOL" >&6; }
  7093. else
  7094.   { $as_echo "$as_me:$LINENO: result: no" >&5
  7095. $as_echo "no" >&6; }
  7096. fi
  7097.  
  7098.  
  7099. fi
  7100. if test -z "$ac_cv_prog_OTOOL"; then
  7101.   ac_ct_OTOOL=$OTOOL
  7102.   # Extract the first word of "otool", so it can be a program name with args.
  7103. set dummy otool; ac_word=$2
  7104. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7105. $as_echo_n "checking for $ac_word... " >&6; }
  7106. if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
  7107.   $as_echo_n "(cached) " >&6
  7108. else
  7109.   if test -n "$ac_ct_OTOOL"; then
  7110.   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7111. else
  7112. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7113. for as_dir in $PATH
  7114. do
  7115.   IFS=$as_save_IFS
  7116.   test -z "$as_dir" && as_dir=.
  7117.   for ac_exec_ext in '' $ac_executable_extensions; do
  7118.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7119.     ac_cv_prog_ac_ct_OTOOL="otool"
  7120.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7121.     break 2
  7122.   fi
  7123. done
  7124. done
  7125. IFS=$as_save_IFS
  7126.  
  7127. fi
  7128. fi
  7129. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7130. if test -n "$ac_ct_OTOOL"; then
  7131.   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
  7132. $as_echo "$ac_ct_OTOOL" >&6; }
  7133. else
  7134.   { $as_echo "$as_me:$LINENO: result: no" >&5
  7135. $as_echo "no" >&6; }
  7136. fi
  7137.  
  7138.   if test "x$ac_ct_OTOOL" = x; then
  7139.     OTOOL=":"
  7140.   else
  7141.     case $cross_compiling:$ac_tool_warned in
  7142. yes:)
  7143. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  7144. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7145. ac_tool_warned=yes ;;
  7146. esac
  7147.     OTOOL=$ac_ct_OTOOL
  7148.   fi
  7149. else
  7150.   OTOOL="$ac_cv_prog_OTOOL"
  7151. fi
  7152.  
  7153.     if test -n "$ac_tool_prefix"; then
  7154.   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  7155. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  7156. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7157. $as_echo_n "checking for $ac_word... " >&6; }
  7158. if test "${ac_cv_prog_OTOOL64+set}" = set; then
  7159.   $as_echo_n "(cached) " >&6
  7160. else
  7161.   if test -n "$OTOOL64"; then
  7162.   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  7163. else
  7164. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7165. for as_dir in $PATH
  7166. do
  7167.   IFS=$as_save_IFS
  7168.   test -z "$as_dir" && as_dir=.
  7169.   for ac_exec_ext in '' $ac_executable_extensions; do
  7170.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7171.     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  7172.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7173.     break 2
  7174.   fi
  7175. done
  7176. done
  7177. IFS=$as_save_IFS
  7178.  
  7179. fi
  7180. fi
  7181. OTOOL64=$ac_cv_prog_OTOOL64
  7182. if test -n "$OTOOL64"; then
  7183.   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
  7184. $as_echo "$OTOOL64" >&6; }
  7185. else
  7186.   { $as_echo "$as_me:$LINENO: result: no" >&5
  7187. $as_echo "no" >&6; }
  7188. fi
  7189.  
  7190.  
  7191. fi
  7192. if test -z "$ac_cv_prog_OTOOL64"; then
  7193.   ac_ct_OTOOL64=$OTOOL64
  7194.   # Extract the first word of "otool64", so it can be a program name with args.
  7195. set dummy otool64; ac_word=$2
  7196. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7197. $as_echo_n "checking for $ac_word... " >&6; }
  7198. if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
  7199.   $as_echo_n "(cached) " >&6
  7200. else
  7201.   if test -n "$ac_ct_OTOOL64"; then
  7202.   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  7203. else
  7204. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7205. for as_dir in $PATH
  7206. do
  7207.   IFS=$as_save_IFS
  7208.   test -z "$as_dir" && as_dir=.
  7209.   for ac_exec_ext in '' $ac_executable_extensions; do
  7210.   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7211.     ac_cv_prog_ac_ct_OTOOL64="otool64"
  7212.     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7213.     break 2
  7214.   fi
  7215. done
  7216. done
  7217. IFS=$as_save_IFS
  7218.  
  7219. fi
  7220. fi
  7221. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  7222. if test -n "$ac_ct_OTOOL64"; then
  7223.   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
  7224. $as_echo "$ac_ct_OTOOL64" >&6; }
  7225. else
  7226.   { $as_echo "$as_me:$LINENO: result: no" >&5
  7227. $as_echo "no" >&6; }
  7228. fi
  7229.  
  7230.   if test "x$ac_ct_OTOOL64" = x; then
  7231.     OTOOL64=":"
  7232.   else
  7233.     case $cross_compiling:$ac_tool_warned in
  7234. yes:)
  7235. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  7236. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7237. ac_tool_warned=yes ;;
  7238. esac
  7239.     OTOOL64=$ac_ct_OTOOL64
  7240.   fi
  7241. else
  7242.   OTOOL64="$ac_cv_prog_OTOOL64"
  7243. fi
  7244.  
  7245.  
  7246.  
  7247.  
  7248.  
  7249.  
  7250.  
  7251.  
  7252.  
  7253.  
  7254.  
  7255.  
  7256.  
  7257.  
  7258.  
  7259.  
  7260.  
  7261.  
  7262.  
  7263.  
  7264.  
  7265.  
  7266.  
  7267.  
  7268.  
  7269.  
  7270.  
  7271.     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  7272. $as_echo_n "checking for -single_module linker flag... " >&6; }
  7273. if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  7274.   $as_echo_n "(cached) " >&6
  7275. else
  7276.   lt_cv_apple_cc_single_mod=no
  7277.       if test -z "${LT_MULTI_MODULE}"; then
  7278.     # By default we will add the -single_module flag. You can override
  7279.     # by either setting the environment variable LT_MULTI_MODULE
  7280.     # non-empty at configure time, or by adding -multi_module to the
  7281.     # link flags.
  7282.     rm -rf libconftest.dylib*
  7283.     echo "int foo(void){return 1;}" > conftest.c
  7284.     echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7285. -dynamiclib -Wl,-single_module conftest.c" >&5
  7286.     $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7287.       -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  7288.         _lt_result=$?
  7289.     if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  7290.       lt_cv_apple_cc_single_mod=yes
  7291.     else
  7292.       cat conftest.err >&5
  7293.     fi
  7294.     rm -rf libconftest.dylib*
  7295.     rm -f conftest.*
  7296.       fi
  7297. fi
  7298. { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  7299. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  7300.     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  7301. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  7302. if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  7303.   $as_echo_n "(cached) " >&6
  7304. else
  7305.   lt_cv_ld_exported_symbols_list=no
  7306.       save_LDFLAGS=$LDFLAGS
  7307.       echo "_main" > conftest.sym
  7308.       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  7309.       cat >conftest.$ac_ext <<_ACEOF
  7310. /* confdefs.h.  */
  7311. _ACEOF
  7312. cat confdefs.h >>conftest.$ac_ext
  7313. cat >>conftest.$ac_ext <<_ACEOF
  7314. /* end confdefs.h.  */
  7315.  
  7316. int
  7317. main ()
  7318. {
  7319.  
  7320.   ;
  7321.   return 0;
  7322. }
  7323. _ACEOF
  7324. rm -f conftest.$ac_objext conftest$ac_exeext
  7325. if { (ac_try="$ac_link"
  7326. case "(($ac_try" in
  7327.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7328.   *) ac_try_echo=$ac_try;;
  7329. esac
  7330. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7331. $as_echo "$ac_try_echo") >&5
  7332.   (eval "$ac_link") 2>conftest.er1
  7333.   ac_status=$?
  7334.   grep -v '^ *+' conftest.er1 >conftest.err
  7335.   rm -f conftest.er1
  7336.   cat conftest.err >&5
  7337.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7338.   (exit $ac_status); } && {
  7339.      test -z "$ac_c_werror_flag" ||
  7340.      test ! -s conftest.err
  7341.        } && test -s conftest$ac_exeext && {
  7342.      test "$cross_compiling" = yes ||
  7343.      $as_test_x conftest$ac_exeext
  7344.        }; then
  7345.   lt_cv_ld_exported_symbols_list=yes
  7346. else
  7347.   $as_echo "$as_me: failed program was:" >&5
  7348. sed 's/^/| /' conftest.$ac_ext >&5
  7349.  
  7350.     lt_cv_ld_exported_symbols_list=no
  7351. fi
  7352.  
  7353. rm -rf conftest.dSYM
  7354. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7355.       conftest$ac_exeext conftest.$ac_ext
  7356.     LDFLAGS="$save_LDFLAGS"
  7357.  
  7358. fi
  7359. { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  7360. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  7361.     case $host_os in
  7362.     rhapsody* | darwin1.[012])
  7363.       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  7364.     darwin1.*)
  7365.       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7366.     darwin*) # darwin 5.x on
  7367.       # if running on 10.5 or later, the deployment target defaults
  7368.       # to the OS version, if on x86, and 10.4, the deployment
  7369.       # target defaults to 10.4. Don't you love it?
  7370.       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7371.     10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7372.       _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7373.     10.[012]*)
  7374.       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7375.     10.*)
  7376.       _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7377.       esac
  7378.     ;;
  7379.   esac
  7380.     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  7381.       _lt_dar_single_mod='$single_module'
  7382.     fi
  7383.     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  7384.       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  7385.     else
  7386.       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  7387.     fi
  7388.     if test "$DSYMUTIL" != ":"; then
  7389.       _lt_dsymutil='~$DSYMUTIL $lib || :'
  7390.     else
  7391.       _lt_dsymutil=
  7392.     fi
  7393.     ;;
  7394.   esac
  7395.  
  7396. ac_ext=c
  7397. ac_cpp='$CPP $CPPFLAGS'
  7398. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7399. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7400. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7401. { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  7402. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  7403. # On Suns, sometimes $CPP names a directory.
  7404. if test -n "$CPP" && test -d "$CPP"; then
  7405.   CPP=
  7406. fi
  7407. if test -z "$CPP"; then
  7408.   if test "${ac_cv_prog_CPP+set}" = set; then
  7409.   $as_echo_n "(cached) " >&6
  7410. else
  7411.       # Double quotes because CPP needs to be expanded
  7412.     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  7413.     do
  7414.       ac_preproc_ok=false
  7415. for ac_c_preproc_warn_flag in '' yes
  7416. do
  7417.   # Use a header file that comes with gcc, so configuring glibc
  7418.   # with a fresh cross-compiler works.
  7419.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7420.   # <limits.h> exists even on freestanding compilers.
  7421.   # On the NeXT, cc -E runs the code through the compiler's parser,
  7422.   # not just through cpp. "Syntax error" is here to catch this case.
  7423.   cat >conftest.$ac_ext <<_ACEOF
  7424. /* confdefs.h.  */
  7425. _ACEOF
  7426. cat confdefs.h >>conftest.$ac_ext
  7427. cat >>conftest.$ac_ext <<_ACEOF
  7428. /* end confdefs.h.  */
  7429. #ifdef __STDC__
  7430. # include <limits.h>
  7431. #else
  7432. # include <assert.h>
  7433. #endif
  7434.              Syntax error
  7435. _ACEOF
  7436. if { (ac_try="$ac_cpp conftest.$ac_ext"
  7437. case "(($ac_try" in
  7438.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7439.   *) ac_try_echo=$ac_try;;
  7440. esac
  7441. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7442. $as_echo "$ac_try_echo") >&5
  7443.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7444.   ac_status=$?
  7445.   grep -v '^ *+' conftest.er1 >conftest.err
  7446.   rm -f conftest.er1
  7447.   cat conftest.err >&5
  7448.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7449.   (exit $ac_status); } >/dev/null && {
  7450.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7451.      test ! -s conftest.err
  7452.        }; then
  7453.   :
  7454. else
  7455.   $as_echo "$as_me: failed program was:" >&5
  7456. sed 's/^/| /' conftest.$ac_ext >&5
  7457.  
  7458.   # Broken: fails on valid input.
  7459. continue
  7460. fi
  7461.  
  7462. rm -f conftest.err conftest.$ac_ext
  7463.  
  7464.   # OK, works on sane cases.  Now check whether nonexistent headers
  7465.   # can be detected and how.
  7466.   cat >conftest.$ac_ext <<_ACEOF
  7467. /* confdefs.h.  */
  7468. _ACEOF
  7469. cat confdefs.h >>conftest.$ac_ext
  7470. cat >>conftest.$ac_ext <<_ACEOF
  7471. /* end confdefs.h.  */
  7472. #include <ac_nonexistent.h>
  7473. _ACEOF
  7474. if { (ac_try="$ac_cpp conftest.$ac_ext"
  7475. case "(($ac_try" in
  7476.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7477.   *) ac_try_echo=$ac_try;;
  7478. esac
  7479. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7480. $as_echo "$ac_try_echo") >&5
  7481.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7482.   ac_status=$?
  7483.   grep -v '^ *+' conftest.er1 >conftest.err
  7484.   rm -f conftest.er1
  7485.   cat conftest.err >&5
  7486.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7487.   (exit $ac_status); } >/dev/null && {
  7488.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7489.      test ! -s conftest.err
  7490.        }; then
  7491.   # Broken: success on invalid input.
  7492. continue
  7493. else
  7494.   $as_echo "$as_me: failed program was:" >&5
  7495. sed 's/^/| /' conftest.$ac_ext >&5
  7496.  
  7497.   # Passes both tests.
  7498. ac_preproc_ok=:
  7499. break
  7500. fi
  7501.  
  7502. rm -f conftest.err conftest.$ac_ext
  7503.  
  7504. done
  7505. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7506. rm -f conftest.err conftest.$ac_ext
  7507. if $ac_preproc_ok; then
  7508.   break
  7509. fi
  7510.  
  7511.     done
  7512.     ac_cv_prog_CPP=$CPP
  7513.  
  7514. fi
  7515.   CPP=$ac_cv_prog_CPP
  7516. else
  7517.   ac_cv_prog_CPP=$CPP
  7518. fi
  7519. { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  7520. $as_echo "$CPP" >&6; }
  7521. ac_preproc_ok=false
  7522. for ac_c_preproc_warn_flag in '' yes
  7523. do
  7524.   # Use a header file that comes with gcc, so configuring glibc
  7525.   # with a fresh cross-compiler works.
  7526.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7527.   # <limits.h> exists even on freestanding compilers.
  7528.   # On the NeXT, cc -E runs the code through the compiler's parser,
  7529.   # not just through cpp. "Syntax error" is here to catch this case.
  7530.   cat >conftest.$ac_ext <<_ACEOF
  7531. /* confdefs.h.  */
  7532. _ACEOF
  7533. cat confdefs.h >>conftest.$ac_ext
  7534. cat >>conftest.$ac_ext <<_ACEOF
  7535. /* end confdefs.h.  */
  7536. #ifdef __STDC__
  7537. # include <limits.h>
  7538. #else
  7539. # include <assert.h>
  7540. #endif
  7541.              Syntax error
  7542. _ACEOF
  7543. if { (ac_try="$ac_cpp conftest.$ac_ext"
  7544. case "(($ac_try" in
  7545.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7546.   *) ac_try_echo=$ac_try;;
  7547. esac
  7548. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7549. $as_echo "$ac_try_echo") >&5
  7550.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7551.   ac_status=$?
  7552.   grep -v '^ *+' conftest.er1 >conftest.err
  7553.   rm -f conftest.er1
  7554.   cat conftest.err >&5
  7555.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7556.   (exit $ac_status); } >/dev/null && {
  7557.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7558.      test ! -s conftest.err
  7559.        }; then
  7560.   :
  7561. else
  7562.   $as_echo "$as_me: failed program was:" >&5
  7563. sed 's/^/| /' conftest.$ac_ext >&5
  7564.  
  7565.   # Broken: fails on valid input.
  7566. continue
  7567. fi
  7568.  
  7569. rm -f conftest.err conftest.$ac_ext
  7570.  
  7571.   # OK, works on sane cases.  Now check whether nonexistent headers
  7572.   # can be detected and how.
  7573.   cat >conftest.$ac_ext <<_ACEOF
  7574. /* confdefs.h.  */
  7575. _ACEOF
  7576. cat confdefs.h >>conftest.$ac_ext
  7577. cat >>conftest.$ac_ext <<_ACEOF
  7578. /* end confdefs.h.  */
  7579. #include <ac_nonexistent.h>
  7580. _ACEOF
  7581. if { (ac_try="$ac_cpp conftest.$ac_ext"
  7582. case "(($ac_try" in
  7583.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7584.   *) ac_try_echo=$ac_try;;
  7585. esac
  7586. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7587. $as_echo "$ac_try_echo") >&5
  7588.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7589.   ac_status=$?
  7590.   grep -v '^ *+' conftest.er1 >conftest.err
  7591.   rm -f conftest.er1
  7592.   cat conftest.err >&5
  7593.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7594.   (exit $ac_status); } >/dev/null && {
  7595.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7596.      test ! -s conftest.err
  7597.        }; then
  7598.   # Broken: success on invalid input.
  7599. continue
  7600. else
  7601.   $as_echo "$as_me: failed program was:" >&5
  7602. sed 's/^/| /' conftest.$ac_ext >&5
  7603.  
  7604.   # Passes both tests.
  7605. ac_preproc_ok=:
  7606. break
  7607. fi
  7608.  
  7609. rm -f conftest.err conftest.$ac_ext
  7610.  
  7611. done
  7612. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7613. rm -f conftest.err conftest.$ac_ext
  7614. if $ac_preproc_ok; then
  7615.   :
  7616. else
  7617.   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  7618. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7619. { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  7620. See \`config.log' for more details." >&5
  7621. $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  7622. See \`config.log' for more details." >&2;}
  7623.    { (exit 1); exit 1; }; }; }
  7624. fi
  7625.  
  7626. ac_ext=c
  7627. ac_cpp='$CPP $CPPFLAGS'
  7628. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7629. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7630. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7631.  
  7632.  
  7633. { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  7634. $as_echo_n "checking for ANSI C header files... " >&6; }
  7635. if test "${ac_cv_header_stdc+set}" = set; then
  7636.   $as_echo_n "(cached) " >&6
  7637. else
  7638.   cat >conftest.$ac_ext <<_ACEOF
  7639. /* confdefs.h.  */
  7640. _ACEOF
  7641. cat confdefs.h >>conftest.$ac_ext
  7642. cat >>conftest.$ac_ext <<_ACEOF
  7643. /* end confdefs.h.  */
  7644. #include <stdlib.h>
  7645. #include <stdarg.h>
  7646. #include <string.h>
  7647. #include <float.h>
  7648.  
  7649. int
  7650. main ()
  7651. {
  7652.  
  7653.   ;
  7654.   return 0;
  7655. }
  7656. _ACEOF
  7657. rm -f conftest.$ac_objext
  7658. if { (ac_try="$ac_compile"
  7659. case "(($ac_try" in
  7660.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7661.   *) ac_try_echo=$ac_try;;
  7662. esac
  7663. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7664. $as_echo "$ac_try_echo") >&5
  7665.   (eval "$ac_compile") 2>conftest.er1
  7666.   ac_status=$?
  7667.   grep -v '^ *+' conftest.er1 >conftest.err
  7668.   rm -f conftest.er1
  7669.   cat conftest.err >&5
  7670.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7671.   (exit $ac_status); } && {
  7672.      test -z "$ac_c_werror_flag" ||
  7673.      test ! -s conftest.err
  7674.        } && test -s conftest.$ac_objext; then
  7675.   ac_cv_header_stdc=yes
  7676. else
  7677.   $as_echo "$as_me: failed program was:" >&5
  7678. sed 's/^/| /' conftest.$ac_ext >&5
  7679.  
  7680.     ac_cv_header_stdc=no
  7681. fi
  7682.  
  7683. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7684.  
  7685. if test $ac_cv_header_stdc = yes; then
  7686.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  7687.   cat >conftest.$ac_ext <<_ACEOF
  7688. /* confdefs.h.  */
  7689. _ACEOF
  7690. cat confdefs.h >>conftest.$ac_ext
  7691. cat >>conftest.$ac_ext <<_ACEOF
  7692. /* end confdefs.h.  */
  7693. #include <string.h>
  7694.  
  7695. _ACEOF
  7696. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7697.   $EGREP "memchr" >/dev/null 2>&1; then
  7698.   :
  7699. else
  7700.   ac_cv_header_stdc=no
  7701. fi
  7702. rm -f conftest*
  7703.  
  7704. fi
  7705.  
  7706. if test $ac_cv_header_stdc = yes; then
  7707.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  7708.   cat >conftest.$ac_ext <<_ACEOF
  7709. /* confdefs.h.  */
  7710. _ACEOF
  7711. cat confdefs.h >>conftest.$ac_ext
  7712. cat >>conftest.$ac_ext <<_ACEOF
  7713. /* end confdefs.h.  */
  7714. #include <stdlib.h>
  7715.  
  7716. _ACEOF
  7717. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7718.   $EGREP "free" >/dev/null 2>&1; then
  7719.   :
  7720. else
  7721.   ac_cv_header_stdc=no
  7722. fi
  7723. rm -f conftest*
  7724.  
  7725. fi
  7726.  
  7727. if test $ac_cv_header_stdc = yes; then
  7728.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  7729.   if test "$cross_compiling" = yes; then
  7730.   :
  7731. else
  7732.   cat >conftest.$ac_ext <<_ACEOF
  7733. /* confdefs.h.  */
  7734. _ACEOF
  7735. cat confdefs.h >>conftest.$ac_ext
  7736. cat >>conftest.$ac_ext <<_ACEOF
  7737. /* end confdefs.h.  */
  7738. #include <ctype.h>
  7739. #include <stdlib.h>
  7740. #if ((' ' & 0x0FF) == 0x020)
  7741. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  7742. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  7743. #else
  7744. # define ISLOWER(c) \
  7745.            (('a' <= (c) && (c) <= 'i') \
  7746.              || ('j' <= (c) && (c) <= 'r') \
  7747.              || ('s' <= (c) && (c) <= 'z'))
  7748. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  7749. #endif
  7750.  
  7751. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  7752. int
  7753. main ()
  7754. {
  7755.   int i;
  7756.   for (i = 0; i < 256; i++)
  7757.     if (XOR (islower (i), ISLOWER (i))
  7758.     || toupper (i) != TOUPPER (i))
  7759.       return 2;
  7760.   return 0;
  7761. }
  7762. _ACEOF
  7763. rm -f conftest$ac_exeext
  7764. if { (ac_try="$ac_link"
  7765. case "(($ac_try" in
  7766.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7767.   *) ac_try_echo=$ac_try;;
  7768. esac
  7769. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7770. $as_echo "$ac_try_echo") >&5
  7771.   (eval "$ac_link") 2>&5
  7772.   ac_status=$?
  7773.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7774.   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7775.   { (case "(($ac_try" in
  7776.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7777.   *) ac_try_echo=$ac_try;;
  7778. esac
  7779. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7780. $as_echo "$ac_try_echo") >&5
  7781.   (eval "$ac_try") 2>&5
  7782.   ac_status=$?
  7783.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7784.   (exit $ac_status); }; }; then
  7785.   :
  7786. else
  7787.   $as_echo "$as_me: program exited with status $ac_status" >&5
  7788. $as_echo "$as_me: failed program was:" >&5
  7789. sed 's/^/| /' conftest.$ac_ext >&5
  7790.  
  7791. ( exit $ac_status )
  7792. ac_cv_header_stdc=no
  7793. fi
  7794. rm -rf conftest.dSYM
  7795. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7796. fi
  7797.  
  7798.  
  7799. fi
  7800. fi
  7801. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  7802. $as_echo "$ac_cv_header_stdc" >&6; }
  7803. if test $ac_cv_header_stdc = yes; then
  7804.  
  7805. cat >>confdefs.h <<\_ACEOF
  7806. #define STDC_HEADERS 1
  7807. _ACEOF
  7808.  
  7809. fi
  7810.  
  7811. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  7812.  
  7813.  
  7814.  
  7815.  
  7816.  
  7817.  
  7818.  
  7819.  
  7820.  
  7821. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7822.           inttypes.h stdint.h unistd.h
  7823. do
  7824. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7825. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  7826. $as_echo_n "checking for $ac_header... " >&6; }
  7827. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7828.   $as_echo_n "(cached) " >&6
  7829. else
  7830.   cat >conftest.$ac_ext <<_ACEOF
  7831. /* confdefs.h.  */
  7832. _ACEOF
  7833. cat confdefs.h >>conftest.$ac_ext
  7834. cat >>conftest.$ac_ext <<_ACEOF
  7835. /* end confdefs.h.  */
  7836. $ac_includes_default
  7837.  
  7838. #include <$ac_header>
  7839. _ACEOF
  7840. rm -f conftest.$ac_objext
  7841. if { (ac_try="$ac_compile"
  7842. case "(($ac_try" in
  7843.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7844.   *) ac_try_echo=$ac_try;;
  7845. esac
  7846. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7847. $as_echo "$ac_try_echo") >&5
  7848.   (eval "$ac_compile") 2>conftest.er1
  7849.   ac_status=$?
  7850.   grep -v '^ *+' conftest.er1 >conftest.err
  7851.   rm -f conftest.er1
  7852.   cat conftest.err >&5
  7853.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7854.   (exit $ac_status); } && {
  7855.      test -z "$ac_c_werror_flag" ||
  7856.      test ! -s conftest.err
  7857.        } && test -s conftest.$ac_objext; then
  7858.   eval "$as_ac_Header=yes"
  7859. else
  7860.   $as_echo "$as_me: failed program was:" >&5
  7861. sed 's/^/| /' conftest.$ac_ext >&5
  7862.  
  7863.     eval "$as_ac_Header=no"
  7864. fi
  7865.  
  7866. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7867. fi
  7868. ac_res=`eval 'as_val=${'$as_ac_Header'}
  7869.          $as_echo "$as_val"'`
  7870.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  7871. $as_echo "$ac_res" >&6; }
  7872. as_val=`eval 'as_val=${'$as_ac_Header'}
  7873.          $as_echo "$as_val"'`
  7874.    if test "x$as_val" = x""yes; then
  7875.   cat >>confdefs.h <<_ACEOF
  7876. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7877. _ACEOF
  7878.  
  7879. fi
  7880.  
  7881. done
  7882.  
  7883.  
  7884.  
  7885. for ac_header in dlfcn.h
  7886. do
  7887. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7888. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  7889. $as_echo_n "checking for $ac_header... " >&6; }
  7890. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7891.   $as_echo_n "(cached) " >&6
  7892. else
  7893.   cat >conftest.$ac_ext <<_ACEOF
  7894. /* confdefs.h.  */
  7895. _ACEOF
  7896. cat confdefs.h >>conftest.$ac_ext
  7897. cat >>conftest.$ac_ext <<_ACEOF
  7898. /* end confdefs.h.  */
  7899. $ac_includes_default
  7900.  
  7901. #include <$ac_header>
  7902. _ACEOF
  7903. rm -f conftest.$ac_objext
  7904. if { (ac_try="$ac_compile"
  7905. case "(($ac_try" in
  7906.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7907.   *) ac_try_echo=$ac_try;;
  7908. esac
  7909. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7910. $as_echo "$ac_try_echo") >&5
  7911.   (eval "$ac_compile") 2>conftest.er1
  7912.   ac_status=$?
  7913.   grep -v '^ *+' conftest.er1 >conftest.err
  7914.   rm -f conftest.er1
  7915.   cat conftest.err >&5
  7916.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7917.   (exit $ac_status); } && {
  7918.      test -z "$ac_c_werror_flag" ||
  7919.      test ! -s conftest.err
  7920.        } && test -s conftest.$ac_objext; then
  7921.   eval "$as_ac_Header=yes"
  7922. else
  7923.   $as_echo "$as_me: failed program was:" >&5
  7924. sed 's/^/| /' conftest.$ac_ext >&5
  7925.  
  7926.     eval "$as_ac_Header=no"
  7927. fi
  7928.  
  7929. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7930. fi
  7931. ac_res=`eval 'as_val=${'$as_ac_Header'}
  7932.          $as_echo "$as_val"'`
  7933.            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  7934. $as_echo "$ac_res" >&6; }
  7935. as_val=`eval 'as_val=${'$as_ac_Header'}
  7936.          $as_echo "$as_val"'`
  7937.    if test "x$as_val" = x""yes; then
  7938.   cat >>confdefs.h <<_ACEOF
  7939. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7940. _ACEOF
  7941.  
  7942. fi
  7943.  
  7944. done
  7945.  
  7946.  
  7947.  
  7948. # Set options
  7949.  
  7950.  
  7951.  
  7952.         enable_dlopen=no
  7953.  
  7954.  
  7955.   enable_win32_dll=no
  7956.  
  7957.  
  7958.             # Check whether --enable-shared was given.
  7959. if test "${enable_shared+set}" = set; then
  7960.   enableval=$enable_shared; p=${PACKAGE-default}
  7961.     case $enableval in
  7962.     yes) enable_shared=yes ;;
  7963.     no) enable_shared=no ;;
  7964.     *)
  7965.       enable_shared=no
  7966.       # Look at the argument we got.  We use all the common list separators.
  7967.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7968.       for pkg in $enableval; do
  7969.     IFS="$lt_save_ifs"
  7970.     if test "X$pkg" = "X$p"; then
  7971.       enable_shared=yes
  7972.     fi
  7973.       done
  7974.       IFS="$lt_save_ifs"
  7975.       ;;
  7976.     esac
  7977. else
  7978.   enable_shared=yes
  7979. fi
  7980.  
  7981.  
  7982.  
  7983.  
  7984.  
  7985.  
  7986.  
  7987.  
  7988.  
  7989.  
  7990.  
  7991. # Check whether --with-pic was given.
  7992. if test "${with_pic+set}" = set; then
  7993.   withval=$with_pic; pic_mode="$withval"
  7994. else
  7995.   pic_mode=default
  7996. fi
  7997.  
  7998.  
  7999. test -z "$pic_mode" && pic_mode=default
  8000.  
  8001.  
  8002.  
  8003.  
  8004.  
  8005.  
  8006.  
  8007.   # Check whether --enable-fast-install was given.
  8008. if test "${enable_fast_install+set}" = set; then
  8009.   enableval=$enable_fast_install; p=${PACKAGE-default}
  8010.     case $enableval in
  8011.     yes) enable_fast_install=yes ;;
  8012.     no) enable_fast_install=no ;;
  8013.     *)
  8014.       enable_fast_install=no
  8015.       # Look at the argument we got.  We use all the common list separators.
  8016.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8017.       for pkg in $enableval; do
  8018.     IFS="$lt_save_ifs"
  8019.     if test "X$pkg" = "X$p"; then
  8020.       enable_fast_install=yes
  8021.     fi
  8022.       done
  8023.       IFS="$lt_save_ifs"
  8024.       ;;
  8025.     esac
  8026. else
  8027.   enable_fast_install=yes
  8028. fi
  8029.  
  8030.  
  8031.  
  8032.  
  8033.  
  8034.  
  8035.  
  8036.  
  8037.  
  8038.  
  8039.  
  8040. # This can be used to rebuild libtool when needed
  8041. LIBTOOL_DEPS="$ltmain"
  8042.  
  8043. # Always use our own libtool.
  8044. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  8045.  
  8046.  
  8047.  
  8048.  
  8049.  
  8050.  
  8051.  
  8052.  
  8053.  
  8054.  
  8055.  
  8056.  
  8057.  
  8058.  
  8059.  
  8060.  
  8061.  
  8062.  
  8063.  
  8064.  
  8065.  
  8066.  
  8067.  
  8068.  
  8069.  
  8070. test -z "$LN_S" && LN_S="ln -s"
  8071.  
  8072.  
  8073.  
  8074.  
  8075.  
  8076.  
  8077.  
  8078.  
  8079.  
  8080.  
  8081.  
  8082.  
  8083.  
  8084.  
  8085. if test -n "${ZSH_VERSION+set}" ; then
  8086.    setopt NO_GLOB_SUBST
  8087. fi
  8088.  
  8089. { $as_echo "$as_me:$LINENO: checking for objdir" >&5
  8090. $as_echo_n "checking for objdir... " >&6; }
  8091. if test "${lt_cv_objdir+set}" = set; then
  8092.   $as_echo_n "(cached) " >&6
  8093. else
  8094.   rm -f .libs 2>/dev/null
  8095. mkdir .libs 2>/dev/null
  8096. if test -d .libs; then
  8097.   lt_cv_objdir=.libs
  8098. else
  8099.   # MS-DOS does not allow filenames that begin with a dot.
  8100.   lt_cv_objdir=_libs
  8101. fi
  8102. rmdir .libs 2>/dev/null
  8103. fi
  8104. { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  8105. $as_echo "$lt_cv_objdir" >&6; }
  8106. objdir=$lt_cv_objdir
  8107.  
  8108.  
  8109.  
  8110.  
  8111.  
  8112. cat >>confdefs.h <<_ACEOF
  8113. #define LT_OBJDIR "$lt_cv_objdir/"
  8114. _ACEOF
  8115.  
  8116.  
  8117.  
  8118.  
  8119.  
  8120.  
  8121.  
  8122.  
  8123.  
  8124.  
  8125.  
  8126.  
  8127.  
  8128.  
  8129.  
  8130.  
  8131.  
  8132. case $host_os in
  8133. aix3*)
  8134.   # AIX sometimes has problems with the GCC collect2 program.  For some
  8135.   # reason, if we set the COLLECT_NAMES environment variable, the problems
  8136.   # vanish in a puff of smoke.
  8137.   if test "X${COLLECT_NAMES+set}" != Xset; then
  8138.     COLLECT_NAMES=
  8139.     export COLLECT_NAMES
  8140.   fi
  8141.   ;;
  8142. esac
  8143.  
  8144. # Sed substitution that helps us do robust quoting.  It backslashifies
  8145. # metacharacters that are still active within double-quoted strings.
  8146. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  8147.  
  8148. # Same as above, but do not quote variable references.
  8149. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  8150.  
  8151. # Sed substitution to delay expansion of an escaped shell variable in a
  8152. # double_quote_subst'ed string.
  8153. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  8154.  
  8155. # Sed substitution to delay expansion of an escaped single quote.
  8156. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  8157.  
  8158. # Sed substitution to avoid accidental globbing in evaled expressions
  8159. no_glob_subst='s/\*/\\\*/g'
  8160.  
  8161. # Global variables:
  8162. ofile=libtool
  8163. can_build_shared=yes
  8164.  
  8165. # All known linkers require a `.a' archive for static linking (except MSVC,
  8166. # which needs '.lib').
  8167. libext=a
  8168.  
  8169. with_gnu_ld="$lt_cv_prog_gnu_ld"
  8170.  
  8171. old_CC="$CC"
  8172. old_CFLAGS="$CFLAGS"
  8173.  
  8174. # Set sane defaults for various variables
  8175. test -z "$CC" && CC=cc
  8176. test -z "$LTCC" && LTCC=$CC
  8177. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  8178. test -z "$LD" && LD=ld
  8179. test -z "$ac_objext" && ac_objext=o
  8180.  
  8181. for cc_temp in $compiler""; do
  8182.   case $cc_temp in
  8183.     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  8184.     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  8185.     \-*) ;;
  8186.     *) break;;
  8187.   esac
  8188. done
  8189. cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  8190.  
  8191.  
  8192. # Only perform the check for file, if the check method requires it
  8193. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  8194. case $deplibs_check_method in
  8195. file_magic*)
  8196.   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  8197.     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  8198. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  8199. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  8200.   $as_echo_n "(cached) " >&6
  8201. else
  8202.   case $MAGIC_CMD in
  8203. [\\/*] |  ?:[\\/]*)
  8204.   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8205.   ;;
  8206. *)
  8207.   lt_save_MAGIC_CMD="$MAGIC_CMD"
  8208.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8209.   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8210.   for ac_dir in $ac_dummy; do
  8211.     IFS="$lt_save_ifs"
  8212.     test -z "$ac_dir" && ac_dir=.
  8213.     if test -f $ac_dir/${ac_tool_prefix}file; then
  8214.       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  8215.       if test -n "$file_magic_test_file"; then
  8216.     case $deplibs_check_method in
  8217.     "file_magic "*)
  8218.       file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8219.       MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8220.       if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8221.         $EGREP "$file_magic_regex" > /dev/null; then
  8222.         :
  8223.       else
  8224.         cat <<_LT_EOF 1>&2
  8225.  
  8226. *** Warning: the command libtool uses to detect shared libraries,
  8227. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8228. *** The result is that libtool may fail to recognize shared libraries
  8229. *** as such.  This will affect the creation of libtool libraries that
  8230. *** depend on shared libraries, but programs linked with such libtool
  8231. *** libraries will work regardless of this problem.  Nevertheless, you
  8232. *** may want to report the problem to your system manager and/or to
  8233. *** bug-libtool@gnu.org
  8234.  
  8235. _LT_EOF
  8236.       fi ;;
  8237.     esac
  8238.       fi
  8239.       break
  8240.     fi
  8241.   done
  8242.   IFS="$lt_save_ifs"
  8243.   MAGIC_CMD="$lt_save_MAGIC_CMD"
  8244.   ;;
  8245. esac
  8246. fi
  8247.  
  8248. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8249. if test -n "$MAGIC_CMD"; then
  8250.   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  8251. $as_echo "$MAGIC_CMD" >&6; }
  8252. else
  8253.   { $as_echo "$as_me:$LINENO: result: no" >&5
  8254. $as_echo "no" >&6; }
  8255. fi
  8256.  
  8257.  
  8258.  
  8259.  
  8260.  
  8261. if test -z "$lt_cv_path_MAGIC_CMD"; then
  8262.   if test -n "$ac_tool_prefix"; then
  8263.     { $as_echo "$as_me:$LINENO: checking for file" >&5
  8264. $as_echo_n "checking for file... " >&6; }
  8265. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  8266.   $as_echo_n "(cached) " >&6
  8267. else
  8268.   case $MAGIC_CMD in
  8269. [\\/*] |  ?:[\\/]*)
  8270.   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8271.   ;;
  8272. *)
  8273.   lt_save_MAGIC_CMD="$MAGIC_CMD"
  8274.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8275.   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8276.   for ac_dir in $ac_dummy; do
  8277.     IFS="$lt_save_ifs"
  8278.     test -z "$ac_dir" && ac_dir=.
  8279.     if test -f $ac_dir/file; then
  8280.       lt_cv_path_MAGIC_CMD="$ac_dir/file"
  8281.       if test -n "$file_magic_test_file"; then
  8282.     case $deplibs_check_method in
  8283.     "file_magic "*)
  8284.       file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8285.       MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8286.       if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8287.         $EGREP "$file_magic_regex" > /dev/null; then
  8288.         :
  8289.       else
  8290.         cat <<_LT_EOF 1>&2
  8291.  
  8292. *** Warning: the command libtool uses to detect shared libraries,
  8293. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8294. *** The result is that libtool may fail to recognize shared libraries
  8295. *** as such.  This will affect the creation of libtool libraries that
  8296. *** depend on shared libraries, but programs linked with such libtool
  8297. *** libraries will work regardless of this problem.  Nevertheless, you
  8298. *** may want to report the problem to your system manager and/or to
  8299. *** bug-libtool@gnu.org
  8300.  
  8301. _LT_EOF
  8302.       fi ;;
  8303.     esac
  8304.       fi
  8305.       break
  8306.     fi
  8307.   done
  8308.   IFS="$lt_save_ifs"
  8309.   MAGIC_CMD="$lt_save_MAGIC_CMD"
  8310.   ;;
  8311. esac
  8312. fi
  8313.  
  8314. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8315. if test -n "$MAGIC_CMD"; then
  8316.   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  8317. $as_echo "$MAGIC_CMD" >&6; }
  8318. else
  8319.   { $as_echo "$as_me:$LINENO: result: no" >&5
  8320. $as_echo "no" >&6; }
  8321. fi
  8322.  
  8323.  
  8324.   else
  8325.     MAGIC_CMD=:
  8326.   fi
  8327. fi
  8328.  
  8329.   fi
  8330.   ;;
  8331. esac
  8332.  
  8333. # Use C for the default configuration in the libtool script
  8334.  
  8335. lt_save_CC="$CC"
  8336. ac_ext=c
  8337. ac_cpp='$CPP $CPPFLAGS'
  8338. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8339. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8340. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8341.  
  8342.  
  8343. # Source file extension for C test sources.
  8344. ac_ext=c
  8345.  
  8346. # Object file extension for compiled C test sources.
  8347. objext=o
  8348. objext=$objext
  8349.  
  8350. # Code to be used in simple compile tests
  8351. lt_simple_compile_test_code="int some_variable = 0;"
  8352.  
  8353. # Code to be used in simple link tests
  8354. lt_simple_link_test_code='int main(){return(0);}'
  8355.  
  8356.  
  8357.  
  8358.  
  8359.  
  8360.  
  8361.  
  8362. # If no C compiler was specified, use CC.
  8363. LTCC=${LTCC-"$CC"}
  8364.  
  8365. # If no C compiler flags were specified, use CFLAGS.
  8366. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8367.  
  8368. # Allow CC to be a program name with arguments.
  8369. compiler=$CC
  8370.  
  8371. # Save the default compiler, since it gets overwritten when the other
  8372. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  8373. compiler_DEFAULT=$CC
  8374.  
  8375. # save warnings/boilerplate of simple test code
  8376. ac_outfile=conftest.$ac_objext
  8377. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8378. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8379. _lt_compiler_boilerplate=`cat conftest.err`
  8380. $RM conftest*
  8381.  
  8382. ac_outfile=conftest.$ac_objext
  8383. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8384. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8385. _lt_linker_boilerplate=`cat conftest.err`
  8386. $RM -r conftest*
  8387.  
  8388.  
  8389. if test -n "$compiler"; then
  8390.  
  8391. lt_prog_compiler_no_builtin_flag=
  8392.  
  8393. if test "$GCC" = yes; then
  8394.   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  8395.  
  8396.   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8397. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8398. if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  8399.   $as_echo_n "(cached) " >&6
  8400. else
  8401.   lt_cv_prog_compiler_rtti_exceptions=no
  8402.    ac_outfile=conftest.$ac_objext
  8403.    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8404.    lt_compiler_flag="-fno-rtti -fno-exceptions"
  8405.    # Insert the option either (1) after the last *FLAGS variable, or
  8406.    # (2) before a word containing "conftest.", or (3) at the end.
  8407.    # Note that $ac_compile itself does not contain backslashes and begins
  8408.    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8409.    # The option is referenced via a variable to avoid confusing sed.
  8410.    lt_compile=`echo "$ac_compile" | $SED \
  8411.    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8412.    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8413.    -e 's:$: $lt_compiler_flag:'`
  8414.    (eval echo "\"\$as_me:8414: $lt_compile\"" >&5)
  8415.    (eval "$lt_compile" 2>conftest.err)
  8416.    ac_status=$?
  8417.    cat conftest.err >&5
  8418.    echo "$as_me:8418: \$? = $ac_status" >&5
  8419.    if (exit $ac_status) && test -s "$ac_outfile"; then
  8420.      # The compiler can only warn and ignore the option if not recognized
  8421.      # So say no if there are warnings other than the usual output.
  8422.      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  8423.      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8424.      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8425.        lt_cv_prog_compiler_rtti_exceptions=yes
  8426.      fi
  8427.    fi
  8428.    $RM conftest*
  8429.  
  8430. fi
  8431. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8432. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8433.  
  8434. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8435.     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8436. else
  8437.     :
  8438. fi
  8439.  
  8440. fi
  8441.  
  8442.  
  8443.  
  8444.  
  8445.  
  8446.  
  8447.   lt_prog_compiler_wl=
  8448. lt_prog_compiler_pic=
  8449. lt_prog_compiler_static=
  8450.  
  8451. { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  8452. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8453.  
  8454.   if test "$GCC" = yes; then
  8455.     lt_prog_compiler_wl='-Wl,'
  8456.     lt_prog_compiler_static='-static'
  8457.  
  8458.     case $host_os in
  8459.       aix*)
  8460.       # All AIX code is PIC.
  8461.       if test "$host_cpu" = ia64; then
  8462.     # AIX 5 now supports IA64 processor
  8463.     lt_prog_compiler_static='-Bstatic'
  8464.       fi
  8465.       ;;
  8466.  
  8467.     amigaos*)
  8468.       case $host_cpu in
  8469.       powerpc)
  8470.             # see comment about AmigaOS4 .so support
  8471.             lt_prog_compiler_pic='-fPIC'
  8472.         ;;
  8473.       m68k)
  8474.             # FIXME: we need at least 68020 code to build shared libraries, but
  8475.             # adding the `-m68020' flag to GCC prevents building anything better,
  8476.             # like `-m68040'.
  8477.             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8478.         ;;
  8479.       esac
  8480.       ;;
  8481.  
  8482.     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8483.       # PIC is the default for these OSes.
  8484.       ;;
  8485.  
  8486.     mingw* | cygwin* | pw32* | os2* | cegcc*)
  8487.       # This hack is so that the source file can tell whether it is being
  8488.       # built for inclusion in a dll (and should export symbols for example).
  8489.       # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8490.       # (--disable-auto-import) libraries
  8491.       lt_prog_compiler_pic='-DDLL_EXPORT'
  8492.       ;;
  8493.  
  8494.     darwin* | rhapsody*)
  8495.       # PIC is the default on this platform
  8496.       # Common symbols not allowed in MH_DYLIB files
  8497.       lt_prog_compiler_pic='-fno-common'
  8498.       ;;
  8499.  
  8500.     hpux*)
  8501.       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  8502.       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  8503.       # sets the default TLS model and affects inlining.
  8504.       case $host_cpu in
  8505.       hppa*64*)
  8506.     # +Z the default
  8507.     ;;
  8508.       *)
  8509.     lt_prog_compiler_pic='-fPIC'
  8510.     ;;
  8511.       esac
  8512.       ;;
  8513.  
  8514.     interix[3-9]*)
  8515.       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8516.       # Instead, we relocate shared libraries at runtime.
  8517.       ;;
  8518.  
  8519.     msdosdjgpp*)
  8520.       # Just because we use GCC doesn't mean we suddenly get shared libraries
  8521.       # on systems that don't support them.
  8522.       lt_prog_compiler_can_build_shared=no
  8523.       enable_shared=no
  8524.       ;;
  8525.  
  8526.     *nto* | *qnx*)
  8527.       # QNX uses GNU C++, but need to define -shared option too, otherwise
  8528.       # it will coredump.
  8529.       lt_prog_compiler_pic='-fPIC -shared'
  8530.       ;;
  8531.  
  8532.     sysv4*MP*)
  8533.       if test -d /usr/nec; then
  8534.     lt_prog_compiler_pic=-Kconform_pic
  8535.       fi
  8536.       ;;
  8537.  
  8538.     *)
  8539.       lt_prog_compiler_pic='-fPIC'
  8540.       ;;
  8541.     esac
  8542.   else
  8543.     # PORTME Check for flag to pass linker flags through the system compiler.
  8544.     case $host_os in
  8545.     aix*)
  8546.       lt_prog_compiler_wl='-Wl,'
  8547.       if test "$host_cpu" = ia64; then
  8548.     # AIX 5 now supports IA64 processor
  8549.     lt_prog_compiler_static='-Bstatic'
  8550.       else
  8551.     lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8552.       fi
  8553.       ;;
  8554.  
  8555.     mingw* | cygwin* | pw32* | os2* | cegcc*)
  8556.       # This hack is so that the source file can tell whether it is being
  8557.       # built for inclusion in a dll (and should export symbols for example).
  8558.       lt_prog_compiler_pic='-DDLL_EXPORT'
  8559.       ;;
  8560.  
  8561.     hpux9* | hpux10* | hpux11*)
  8562.       lt_prog_compiler_wl='-Wl,'
  8563.       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8564.       # not for PA HP-UX.
  8565.       case $host_cpu in
  8566.       hppa*64*|ia64*)
  8567.     # +Z the default
  8568.     ;;
  8569.       *)
  8570.     lt_prog_compiler_pic='+Z'
  8571.     ;;
  8572.       esac
  8573.       # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8574.       lt_prog_compiler_static='${wl}-a ${wl}archive'
  8575.       ;;
  8576.  
  8577.     irix5* | irix6* | nonstopux*)
  8578.       lt_prog_compiler_wl='-Wl,'
  8579.       # PIC (with -KPIC) is the default.
  8580.       lt_prog_compiler_static='-non_shared'
  8581.       ;;
  8582.  
  8583.     linux* | k*bsd*-gnu)
  8584.       case $cc_basename in
  8585.       # old Intel for x86_64 which still supported -KPIC.
  8586.       ecc*)
  8587.     lt_prog_compiler_wl='-Wl,'
  8588.     lt_prog_compiler_pic='-KPIC'
  8589.     lt_prog_compiler_static='-static'
  8590.         ;;
  8591.       # icc used to be incompatible with GCC.
  8592.       # ICC 10 doesn't accept -KPIC any more.
  8593.       icc* | ifort*)
  8594.     lt_prog_compiler_wl='-Wl,'
  8595.     lt_prog_compiler_pic='-fPIC'
  8596.     lt_prog_compiler_static='-static'
  8597.         ;;
  8598.       # Lahey Fortran 8.1.
  8599.       lf95*)
  8600.     lt_prog_compiler_wl='-Wl,'
  8601.     lt_prog_compiler_pic='--shared'
  8602.     lt_prog_compiler_static='--static'
  8603.     ;;
  8604.       pgcc* | pgf77* | pgf90* | pgf95*)
  8605.         # Portland Group compilers (*not* the Pentium gcc compiler,
  8606.     # which looks to be a dead project)
  8607.     lt_prog_compiler_wl='-Wl,'
  8608.     lt_prog_compiler_pic='-fpic'
  8609.     lt_prog_compiler_static='-Bstatic'
  8610.         ;;
  8611.       ccc*)
  8612.         lt_prog_compiler_wl='-Wl,'
  8613.         # All Alpha code is PIC.
  8614.         lt_prog_compiler_static='-non_shared'
  8615.         ;;
  8616.       xl*)
  8617.     # IBM XL C 8.0/Fortran 10.1 on PPC
  8618.     lt_prog_compiler_wl='-Wl,'
  8619.     lt_prog_compiler_pic='-qpic'
  8620.     lt_prog_compiler_static='-qstaticlink'
  8621.     ;;
  8622.       *)
  8623.     case `$CC -V 2>&1 | sed 5q` in
  8624.     *Sun\ C*)
  8625.       # Sun C 5.9
  8626.       lt_prog_compiler_pic='-KPIC'
  8627.       lt_prog_compiler_static='-Bstatic'
  8628.       lt_prog_compiler_wl='-Wl,'
  8629.       ;;
  8630.     *Sun\ F*)
  8631.       # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8632.       lt_prog_compiler_pic='-KPIC'
  8633.       lt_prog_compiler_static='-Bstatic'
  8634.       lt_prog_compiler_wl=''
  8635.       ;;
  8636.     esac
  8637.     ;;
  8638.       esac
  8639.       ;;
  8640.  
  8641.     newsos6)
  8642.       lt_prog_compiler_pic='-KPIC'
  8643.       lt_prog_compiler_static='-Bstatic'
  8644.       ;;
  8645.  
  8646.     *nto* | *qnx*)
  8647.       # QNX uses GNU C++, but need to define -shared option too, otherwise
  8648.       # it will coredump.
  8649.       lt_prog_compiler_pic='-fPIC -shared'
  8650.       ;;
  8651.  
  8652.     osf3* | osf4* | osf5*)
  8653.       lt_prog_compiler_wl='-Wl,'
  8654.       # All OSF/1 code is PIC.
  8655.       lt_prog_compiler_static='-non_shared'
  8656.       ;;
  8657.  
  8658.     rdos*)
  8659.       lt_prog_compiler_static='-non_shared'
  8660.       ;;
  8661.  
  8662.     solaris*)
  8663.       lt_prog_compiler_pic='-KPIC'
  8664.       lt_prog_compiler_static='-Bstatic'
  8665.       case $cc_basename in
  8666.       f77* | f90* | f95*)
  8667.     lt_prog_compiler_wl='-Qoption ld ';;
  8668.       *)
  8669.     lt_prog_compiler_wl='-Wl,';;
  8670.       esac
  8671.       ;;
  8672.  
  8673.     sunos4*)
  8674.       lt_prog_compiler_wl='-Qoption ld '
  8675.       lt_prog_compiler_pic='-PIC'
  8676.       lt_prog_compiler_static='-Bstatic'
  8677.       ;;
  8678.  
  8679.     sysv4 | sysv4.2uw2* | sysv4.3*)
  8680.       lt_prog_compiler_wl='-Wl,'
  8681.       lt_prog_compiler_pic='-KPIC'
  8682.       lt_prog_compiler_static='-Bstatic'
  8683.       ;;
  8684.  
  8685.     sysv4*MP*)
  8686.       if test -d /usr/nec ;then
  8687.     lt_prog_compiler_pic='-Kconform_pic'
  8688.     lt_prog_compiler_static='-Bstatic'
  8689.       fi
  8690.       ;;
  8691.  
  8692.     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8693.       lt_prog_compiler_wl='-Wl,'
  8694.       lt_prog_compiler_pic='-KPIC'
  8695.       lt_prog_compiler_static='-Bstatic'
  8696.       ;;
  8697.  
  8698.     unicos*)
  8699.       lt_prog_compiler_wl='-Wl,'
  8700.       lt_prog_compiler_can_build_shared=no
  8701.       ;;
  8702.  
  8703.     uts4*)
  8704.       lt_prog_compiler_pic='-pic'
  8705.       lt_prog_compiler_static='-Bstatic'
  8706.       ;;
  8707.  
  8708.     *)
  8709.       lt_prog_compiler_can_build_shared=no
  8710.       ;;
  8711.     esac
  8712.   fi
  8713.  
  8714. case $host_os in
  8715.   # For platforms which do not support PIC, -DPIC is meaningless:
  8716.   *djgpp*)
  8717.     lt_prog_compiler_pic=
  8718.     ;;
  8719.   *)
  8720.     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  8721.     ;;
  8722. esac
  8723. { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  8724. $as_echo "$lt_prog_compiler_pic" >&6; }
  8725.  
  8726.  
  8727.  
  8728.  
  8729.  
  8730.  
  8731. #
  8732. # Check to make sure the PIC flag actually works.
  8733. #
  8734. if test -n "$lt_prog_compiler_pic"; then
  8735.   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  8736. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  8737. if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  8738.   $as_echo_n "(cached) " >&6
  8739. else
  8740.   lt_cv_prog_compiler_pic_works=no
  8741.    ac_outfile=conftest.$ac_objext
  8742.    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8743.    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  8744.    # Insert the option either (1) after the last *FLAGS variable, or
  8745.    # (2) before a word containing "conftest.", or (3) at the end.
  8746.    # Note that $ac_compile itself does not contain backslashes and begins
  8747.    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8748.    # The option is referenced via a variable to avoid confusing sed.
  8749.    lt_compile=`echo "$ac_compile" | $SED \
  8750.    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8751.    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8752.    -e 's:$: $lt_compiler_flag:'`
  8753.    (eval echo "\"\$as_me:8753: $lt_compile\"" >&5)
  8754.    (eval "$lt_compile" 2>conftest.err)
  8755.    ac_status=$?
  8756.    cat conftest.err >&5
  8757.    echo "$as_me:8757: \$? = $ac_status" >&5
  8758.    if (exit $ac_status) && test -s "$ac_outfile"; then
  8759.      # The compiler can only warn and ignore the option if not recognized
  8760.      # So say no if there are warnings other than the usual output.
  8761.      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  8762.      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8763.      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8764.        lt_cv_prog_compiler_pic_works=yes
  8765.      fi
  8766.    fi
  8767.    $RM conftest*
  8768.  
  8769. fi
  8770. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  8771. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  8772.  
  8773. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  8774.     case $lt_prog_compiler_pic in
  8775.      "" | " "*) ;;
  8776.      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  8777.      esac
  8778. else
  8779.     lt_prog_compiler_pic=
  8780.      lt_prog_compiler_can_build_shared=no
  8781. fi
  8782.  
  8783. fi
  8784.  
  8785.  
  8786.  
  8787.  
  8788.  
  8789.  
  8790. #
  8791. # Check to make sure the static flag actually works.
  8792. #
  8793. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  8794. { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  8795. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  8796. if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  8797.   $as_echo_n "(cached) " >&6
  8798. else
  8799.   lt_cv_prog_compiler_static_works=no
  8800.    save_LDFLAGS="$LDFLAGS"
  8801.    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  8802.    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8803.    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8804.      # The linker can only warn and ignore the option if not recognized
  8805.      # So say no if there are warnings
  8806.      if test -s conftest.err; then
  8807.        # Append any errors to the config.log.
  8808.        cat conftest.err 1>&5
  8809.        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  8810.        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8811.        if diff conftest.exp conftest.er2 >/dev/null; then
  8812.          lt_cv_prog_compiler_static_works=yes
  8813.        fi
  8814.      else
  8815.        lt_cv_prog_compiler_static_works=yes
  8816.      fi
  8817.    fi
  8818.    $RM -r conftest*
  8819.    LDFLAGS="$save_LDFLAGS"
  8820.  
  8821. fi
  8822. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  8823. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  8824.  
  8825. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  8826.     :
  8827. else
  8828.     lt_prog_compiler_static=
  8829. fi
  8830.  
  8831.  
  8832.  
  8833.  
  8834.  
  8835.  
  8836.  
  8837.   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  8838. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8839. if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  8840.   $as_echo_n "(cached) " >&6
  8841. else
  8842.   lt_cv_prog_compiler_c_o=no
  8843.    $RM -r conftest 2>/dev/null
  8844.    mkdir conftest
  8845.    cd conftest
  8846.    mkdir out
  8847.    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8848.  
  8849.    lt_compiler_flag="-o out/conftest2.$ac_objext"
  8850.    # Insert the option either (1) after the last *FLAGS variable, or
  8851.    # (2) before a word containing "conftest.", or (3) at the end.
  8852.    # Note that $ac_compile itself does not contain backslashes and begins
  8853.    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8854.    lt_compile=`echo "$ac_compile" | $SED \
  8855.    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8856.    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8857.    -e 's:$: $lt_compiler_flag:'`
  8858.    (eval echo "\"\$as_me:8858: $lt_compile\"" >&5)
  8859.    (eval "$lt_compile" 2>out/conftest.err)
  8860.    ac_status=$?
  8861.    cat out/conftest.err >&5
  8862.    echo "$as_me:8862: \$? = $ac_status" >&5
  8863.    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8864.    then
  8865.      # The compiler can only warn and ignore the option if not recognized
  8866.      # So say no if there are warnings
  8867.      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  8868.      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8869.      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8870.        lt_cv_prog_compiler_c_o=yes
  8871.      fi
  8872.    fi
  8873.    chmod u+w . 2>&5
  8874.    $RM conftest*
  8875.    # SGI C++ compiler will create directory out/ii_files/ for
  8876.    # template instantiation
  8877.    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8878.    $RM out/* && rmdir out
  8879.    cd ..
  8880.    $RM -r conftest
  8881.    $RM conftest*
  8882.  
  8883. fi
  8884. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  8885. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8886.  
  8887.  
  8888.  
  8889.  
  8890.  
  8891.  
  8892.   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  8893. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8894. if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  8895.   $as_echo_n "(cached) " >&6
  8896. else
  8897.   lt_cv_prog_compiler_c_o=no
  8898.    $RM -r conftest 2>/dev/null
  8899.    mkdir conftest
  8900.    cd conftest
  8901.    mkdir out
  8902.    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8903.  
  8904.    lt_compiler_flag="-o out/conftest2.$ac_objext"
  8905.    # Insert the option either (1) after the last *FLAGS variable, or
  8906.    # (2) before a word containing "conftest.", or (3) at the end.
  8907.    # Note that $ac_compile itself does not contain backslashes and begins
  8908.    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8909.    lt_compile=`echo "$ac_compile" | $SED \
  8910.    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8911.    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8912.    -e 's:$: $lt_compiler_flag:'`
  8913.    (eval echo "\"\$as_me:8913: $lt_compile\"" >&5)
  8914.    (eval "$lt_compile" 2>out/conftest.err)
  8915.    ac_status=$?
  8916.    cat out/conftest.err >&5
  8917.    echo "$as_me:8917: \$? = $ac_status" >&5
  8918.    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8919.    then
  8920.      # The compiler can only warn and ignore the option if not recognized
  8921.      # So say no if there are warnings
  8922.      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  8923.      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8924.      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8925.        lt_cv_prog_compiler_c_o=yes
  8926.      fi
  8927.    fi
  8928.    chmod u+w . 2>&5
  8929.    $RM conftest*
  8930.    # SGI C++ compiler will create directory out/ii_files/ for
  8931.    # template instantiation
  8932.    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8933.    $RM out/* && rmdir out
  8934.    cd ..
  8935.    $RM -r conftest
  8936.    $RM conftest*
  8937.  
  8938. fi
  8939. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  8940. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8941.  
  8942.  
  8943.  
  8944.  
  8945. hard_links="nottested"
  8946. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  8947.   # do not overwrite the value of need_locks provided by the user
  8948.   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  8949. $as_echo_n "checking if we can lock with hard links... " >&6; }
  8950.   hard_links=yes
  8951.   $RM conftest*
  8952.   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8953.   touch conftest.a
  8954.   ln conftest.a conftest.b 2>&5 || hard_links=no
  8955.   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8956.   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  8957. $as_echo "$hard_links" >&6; }
  8958.   if test "$hard_links" = no; then
  8959.     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  8960. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  8961.     need_locks=warn
  8962.   fi
  8963. else
  8964.   need_locks=no
  8965. fi
  8966.  
  8967.  
  8968.  
  8969.  
  8970.  
  8971.  
  8972.   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  8973. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  8974.  
  8975.   runpath_var=
  8976.   allow_undefined_flag=
  8977.   always_export_symbols=no
  8978.   archive_cmds=
  8979.   archive_expsym_cmds=
  8980.   compiler_needs_object=no
  8981.   enable_shared_with_static_runtimes=no
  8982.   export_dynamic_flag_spec=
  8983.   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8984.   hardcode_automatic=no
  8985.   hardcode_direct=no
  8986.   hardcode_direct_absolute=no
  8987.   hardcode_libdir_flag_spec=
  8988.   hardcode_libdir_flag_spec_ld=
  8989.   hardcode_libdir_separator=
  8990.   hardcode_minus_L=no
  8991.   hardcode_shlibpath_var=unsupported
  8992.   inherit_rpath=no
  8993.   link_all_deplibs=unknown
  8994.   module_cmds=
  8995.   module_expsym_cmds=
  8996.   old_archive_from_new_cmds=
  8997.   old_archive_from_expsyms_cmds=
  8998.   thread_safe_flag_spec=
  8999.   whole_archive_flag_spec=
  9000.   # include_expsyms should be a list of space-separated symbols to be *always*
  9001.   # included in the symbol list
  9002.   include_expsyms=
  9003.   # exclude_expsyms can be an extended regexp of symbols to exclude
  9004.   # it will be wrapped by ` (' and `)$', so one must not match beginning or
  9005.   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  9006.   # as well as any symbol that contains `d'.
  9007.   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  9008.   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  9009.   # platforms (ab)use it in PIC code, but their linkers get confused if
  9010.   # the symbol is explicitly referenced.  Since portable code cannot
  9011.   # rely on this symbol name, it's probably fine to never include it in
  9012.   # preloaded symbol tables.
  9013.   # Exclude shared library initialization/finalization symbols.
  9014.   extract_expsyms_cmds=
  9015.  
  9016.   case $host_os in
  9017.   cygwin* | mingw* | pw32* | cegcc*)
  9018.     # FIXME: the MSVC++ port hasn't been tested in a loooong time
  9019.     # When not using gcc, we currently assume that we are using
  9020.     # Microsoft Visual C++.
  9021.     if test "$GCC" != yes; then
  9022.       with_gnu_ld=no
  9023.     fi
  9024.     ;;
  9025.   interix*)
  9026.     # we just hope/assume this is gcc and not c89 (= MSVC++)
  9027.     with_gnu_ld=yes
  9028.     ;;
  9029.   openbsd*)
  9030.     with_gnu_ld=no
  9031.     ;;
  9032.   esac
  9033.  
  9034.   ld_shlibs=yes
  9035.   if test "$with_gnu_ld" = yes; then
  9036.     # If archive_cmds runs LD, not CC, wlarc should be empty
  9037.     wlarc='${wl}'
  9038.  
  9039.     # Set some defaults for GNU ld with shared library support. These
  9040.     # are reset later if shared libraries are not supported. Putting them
  9041.     # here allows them to be overridden if necessary.
  9042.     runpath_var=LD_RUN_PATH
  9043.     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9044.     export_dynamic_flag_spec='${wl}--export-dynamic'
  9045.     # ancient GNU ld didn't support --whole-archive et. al.
  9046.     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  9047.       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9048.     else
  9049.       whole_archive_flag_spec=
  9050.     fi
  9051.     supports_anon_versioning=no
  9052.     case `$LD -v 2>&1` in
  9053.       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  9054.       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  9055.       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  9056.       *\ 2.11.*) ;; # other 2.11 versions
  9057.       *) supports_anon_versioning=yes ;;
  9058.     esac
  9059.  
  9060.     # See if GNU ld supports shared libraries.
  9061.     case $host_os in
  9062.     aix[3-9]*)
  9063.       # On AIX/PPC, the GNU linker is very broken
  9064.       if test "$host_cpu" != ia64; then
  9065.     ld_shlibs=no
  9066.     cat <<_LT_EOF 1>&2
  9067.  
  9068. *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  9069. *** to be unable to reliably create shared libraries on AIX.
  9070. *** Therefore, libtool is disabling shared libraries support.  If you
  9071. *** really care for shared libraries, you may want to modify your PATH
  9072. *** so that a non-GNU linker is found, and then restart.
  9073.  
  9074. _LT_EOF
  9075.       fi
  9076.       ;;
  9077.  
  9078.     amigaos*)
  9079.       case $host_cpu in
  9080.       powerpc)
  9081.             # see comment about AmigaOS4 .so support
  9082.             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9083.             archive_expsym_cmds=''
  9084.         ;;
  9085.       m68k)
  9086.             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)'
  9087.             hardcode_libdir_flag_spec='-L$libdir'
  9088.             hardcode_minus_L=yes
  9089.         ;;
  9090.       esac
  9091.       ;;
  9092.  
  9093.     beos*)
  9094.       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9095.     allow_undefined_flag=unsupported
  9096.     # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9097.     # support --undefined.  This deserves some investigation.  FIXME
  9098.     archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9099.       else
  9100.     ld_shlibs=no
  9101.       fi
  9102.       ;;
  9103.  
  9104.     cygwin* | mingw* | pw32* | cegcc*)
  9105.       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  9106.       # as there is no search path for DLLs.
  9107.       hardcode_libdir_flag_spec='-L$libdir'
  9108.       allow_undefined_flag=unsupported
  9109.       always_export_symbols=no
  9110.       enable_shared_with_static_runtimes=yes
  9111.       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  9112.  
  9113.       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9114.         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9115.     # If the export-symbols file already is a .def file (1st line
  9116.     # is EXPORTS), use it as is; otherwise, prepend...
  9117.     archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9118.       cp $export_symbols $output_objdir/$soname.def;
  9119.     else
  9120.       echo EXPORTS > $output_objdir/$soname.def;
  9121.       cat $export_symbols >> $output_objdir/$soname.def;
  9122.     fi~
  9123.     $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9124.       else
  9125.     ld_shlibs=no
  9126.       fi
  9127.       ;;
  9128.  
  9129.     interix[3-9]*)
  9130.       hardcode_direct=no
  9131.       hardcode_shlibpath_var=no
  9132.       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9133.       export_dynamic_flag_spec='${wl}-E'
  9134.       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9135.       # Instead, shared libraries are loaded at an image base (0x10000000 by
  9136.       # default) and relocated if they conflict, which is a slow very memory
  9137.       # consuming and fragmenting process.  To avoid this, we pick a random,
  9138.       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9139.       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  9140.       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9141.       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'
  9142.       ;;
  9143.  
  9144.     gnu* | linux* | tpf* | k*bsd*-gnu)
  9145.       tmp_diet=no
  9146.       if test "$host_os" = linux-dietlibc; then
  9147.     case $cc_basename in
  9148.       diet\ *) tmp_diet=yes;;   # linux-dietlibc with static linking (!diet-dyn)
  9149.     esac
  9150.       fi
  9151.       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  9152.      && test "$tmp_diet" = no
  9153.       then
  9154.     tmp_addflag=
  9155.     tmp_sharedflag='-shared'
  9156.     case $cc_basename,$host_cpu in
  9157.         pgcc*)              # Portland Group C compiler
  9158.       whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  9159.       tmp_addflag=' $pic_flag'
  9160.       ;;
  9161.     pgf77* | pgf90* | pgf95*)   # Portland Group f77 and f90 compilers
  9162.       whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  9163.       tmp_addflag=' $pic_flag -Mnomain' ;;
  9164.     ecc*,ia64* | icc*,ia64*)    # Intel C compiler on ia64
  9165.       tmp_addflag=' -i_dynamic' ;;
  9166.     efc*,ia64* | ifort*,ia64*)  # Intel Fortran compiler on ia64
  9167.       tmp_addflag=' -i_dynamic -nofor_main' ;;
  9168.     ifc* | ifort*)          # Intel Fortran compiler
  9169.       tmp_addflag=' -nofor_main' ;;
  9170.     lf95*)              # Lahey Fortran 8.1
  9171.       whole_archive_flag_spec=
  9172.       tmp_sharedflag='--shared' ;;
  9173.     xl[cC]*)            # IBM XL C 8.0 on PPC (deal with xlf below)
  9174.       tmp_sharedflag='-qmkshrobj'
  9175.       tmp_addflag= ;;
  9176.     esac
  9177.     case `$CC -V 2>&1 | sed 5q` in
  9178.     *Sun\ C*)           # Sun C 5.9
  9179.       whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  9180.       compiler_needs_object=yes
  9181.       tmp_sharedflag='-G' ;;
  9182.     *Sun\ F*)           # Sun Fortran 8.3
  9183.       tmp_sharedflag='-G' ;;
  9184.     esac
  9185.     archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9186.  
  9187.         if test "x$supports_anon_versioning" = xyes; then
  9188.           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9189.         cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9190.         echo "local: *; };" >> $output_objdir/$libname.ver~
  9191.         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9192.         fi
  9193.  
  9194.     case $cc_basename in
  9195.     xlf*)
  9196.       # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  9197.       whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  9198.       hardcode_libdir_flag_spec=
  9199.       hardcode_libdir_flag_spec_ld='-rpath $libdir'
  9200.       archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  9201.       if test "x$supports_anon_versioning" = xyes; then
  9202.         archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9203.           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9204.           echo "local: *; };" >> $output_objdir/$libname.ver~
  9205.           $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9206.       fi
  9207.       ;;
  9208.     esac
  9209.       else
  9210.         ld_shlibs=no
  9211.       fi
  9212.       ;;
  9213.  
  9214.     netbsd*)
  9215.       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9216.     archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9217.     wlarc=
  9218.       else
  9219.     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9220.     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9221.       fi
  9222.       ;;
  9223.  
  9224.     solaris*)
  9225.       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  9226.     ld_shlibs=no
  9227.     cat <<_LT_EOF 1>&2
  9228.  
  9229. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9230. *** create shared libraries on Solaris systems.  Therefore, libtool
  9231. *** is disabling shared libraries support.  We urge you to upgrade GNU
  9232. *** binutils to release 2.9.1 or newer.  Another option is to modify
  9233. *** your PATH or compiler configuration so that the native linker is
  9234. *** used, and then restart.
  9235.  
  9236. _LT_EOF
  9237.       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9238.     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9239.     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9240.       else
  9241.     ld_shlibs=no
  9242.       fi
  9243.       ;;
  9244.  
  9245.     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9246.       case `$LD -v 2>&1` in
  9247.         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  9248.     ld_shlibs=no
  9249.     cat <<_LT_EOF 1>&2
  9250.  
  9251. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9252. *** reliably create shared libraries on SCO systems.  Therefore, libtool
  9253. *** is disabling shared libraries support.  We urge you to upgrade GNU
  9254. *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  9255. *** your PATH or compiler configuration so that the native linker is
  9256. *** used, and then restart.
  9257.  
  9258. _LT_EOF
  9259.     ;;
  9260.     *)
  9261.       # For security reasons, it is highly recommended that you always
  9262.       # use absolute paths for naming shared libraries, and exclude the
  9263.       # DT_RUNPATH tag from executables and libraries.  But doing so
  9264.       # requires that you compile everything twice, which is a pain.
  9265.       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9266.         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9267.         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9268.         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9269.       else
  9270.         ld_shlibs=no
  9271.       fi
  9272.     ;;
  9273.       esac
  9274.       ;;
  9275.  
  9276.     sunos4*)
  9277.       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9278.       wlarc=
  9279.       hardcode_direct=yes
  9280.       hardcode_shlibpath_var=no
  9281.       ;;
  9282.  
  9283.     *)
  9284.       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9285.     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9286.     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9287.       else
  9288.     ld_shlibs=no
  9289.       fi
  9290.       ;;
  9291.     esac
  9292.  
  9293.     if test "$ld_shlibs" = no; then
  9294.       runpath_var=
  9295.       hardcode_libdir_flag_spec=
  9296.       export_dynamic_flag_spec=
  9297.       whole_archive_flag_spec=
  9298.     fi
  9299.   else
  9300.     # PORTME fill in a description of your system's linker (not GNU ld)
  9301.     case $host_os in
  9302.     aix3*)
  9303.       allow_undefined_flag=unsupported
  9304.       always_export_symbols=yes
  9305.       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'
  9306.       # Note: this linker hardcodes the directories in LIBPATH if there
  9307.       # are no directories specified by -L.
  9308.       hardcode_minus_L=yes
  9309.       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9310.     # Neither direct hardcoding nor static linking is supported with a
  9311.     # broken collect2.
  9312.     hardcode_direct=unsupported
  9313.       fi
  9314.       ;;
  9315.  
  9316.     aix[4-9]*)
  9317.       if test "$host_cpu" = ia64; then
  9318.     # On IA64, the linker does run time linking by default, so we don't
  9319.     # have to do anything special.
  9320.     aix_use_runtimelinking=no
  9321.     exp_sym_flag='-Bexport'
  9322.     no_entry_flag=""
  9323.       else
  9324.     # If we're using GNU nm, then we don't want the "-C" option.
  9325.     # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9326.     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9327.       export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9328.     else
  9329.       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'
  9330.     fi
  9331.     aix_use_runtimelinking=no
  9332.  
  9333.     # Test if we are trying to use run time linking or normal
  9334.     # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9335.     # need to do runtime linking.
  9336.     case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9337.       for ld_flag in $LDFLAGS; do
  9338.       if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9339.         aix_use_runtimelinking=yes
  9340.         break
  9341.       fi
  9342.       done
  9343.       ;;
  9344.     esac
  9345.  
  9346.     exp_sym_flag='-bexport'
  9347.     no_entry_flag='-bnoentry'
  9348.       fi
  9349.  
  9350.       # When large executables or shared objects are built, AIX ld can
  9351.       # have problems creating the table of contents.  If linking a library
  9352.       # or program results in "error TOC overflow" add -mminimal-toc to
  9353.       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  9354.       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9355.  
  9356.       archive_cmds=''
  9357.       hardcode_direct=yes
  9358.       hardcode_direct_absolute=yes
  9359.       hardcode_libdir_separator=':'
  9360.       link_all_deplibs=yes
  9361.       file_list_spec='${wl}-f,'
  9362.  
  9363.       if test "$GCC" = yes; then
  9364.     case $host_os in aix4.[012]|aix4.[012].*)
  9365.     # We only want to do this on AIX 4.2 and lower, the check
  9366.     # below for broken collect2 doesn't work under 4.3+
  9367.       collect2name=`${CC} -print-prog-name=collect2`
  9368.       if test -f "$collect2name" &&
  9369.        strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9370.       then
  9371.       # We have reworked collect2
  9372.       :
  9373.       else
  9374.       # We have old collect2
  9375.       hardcode_direct=unsupported
  9376.       # It fails to find uninstalled libraries when the uninstalled
  9377.       # path is not listed in the libpath.  Setting hardcode_minus_L
  9378.       # to unsupported forces relinking
  9379.       hardcode_minus_L=yes
  9380.       hardcode_libdir_flag_spec='-L$libdir'
  9381.       hardcode_libdir_separator=
  9382.       fi
  9383.       ;;
  9384.     esac
  9385.     shared_flag='-shared'
  9386.     if test "$aix_use_runtimelinking" = yes; then
  9387.       shared_flag="$shared_flag "'${wl}-G'
  9388.     fi
  9389.       else
  9390.     # not using gcc
  9391.     if test "$host_cpu" = ia64; then
  9392.     # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9393.     # chokes on -Wl,-G. The following line is correct:
  9394.       shared_flag='-G'
  9395.     else
  9396.       if test "$aix_use_runtimelinking" = yes; then
  9397.         shared_flag='${wl}-G'
  9398.       else
  9399.         shared_flag='${wl}-bM:SRE'
  9400.       fi
  9401.     fi
  9402.       fi
  9403.  
  9404.       export_dynamic_flag_spec='${wl}-bexpall'
  9405.       # It seems that -bexpall does not export symbols beginning with
  9406.       # underscore (_), so it is better to generate a list of symbols to export.
  9407.       always_export_symbols=yes
  9408.       if test "$aix_use_runtimelinking" = yes; then
  9409.     # Warning - without using the other runtime loading flags (-brtl),
  9410.     # -berok will link without error, but may produce a broken library.
  9411.     allow_undefined_flag='-berok'
  9412.         # Determine the default libpath from the value encoded in an
  9413.         # empty executable.
  9414.         cat >conftest.$ac_ext <<_ACEOF
  9415. /* confdefs.h.  */
  9416. _ACEOF
  9417. cat confdefs.h >>conftest.$ac_ext
  9418. cat >>conftest.$ac_ext <<_ACEOF
  9419. /* end confdefs.h.  */
  9420.  
  9421. int
  9422. main ()
  9423. {
  9424.  
  9425.   ;
  9426.   return 0;
  9427. }
  9428. _ACEOF
  9429. rm -f conftest.$ac_objext conftest$ac_exeext
  9430. if { (ac_try="$ac_link"
  9431. case "(($ac_try" in
  9432.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9433.   *) ac_try_echo=$ac_try;;
  9434. esac
  9435. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9436. $as_echo "$ac_try_echo") >&5
  9437.   (eval "$ac_link") 2>conftest.er1
  9438.   ac_status=$?
  9439.   grep -v '^ *+' conftest.er1 >conftest.err
  9440.   rm -f conftest.er1
  9441.   cat conftest.err >&5
  9442.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9443.   (exit $ac_status); } && {
  9444.      test -z "$ac_c_werror_flag" ||
  9445.      test ! -s conftest.err
  9446.        } && test -s conftest$ac_exeext && {
  9447.      test "$cross_compiling" = yes ||
  9448.      $as_test_x conftest$ac_exeext
  9449.        }; then
  9450.  
  9451. lt_aix_libpath_sed='
  9452.    /Import File Strings/,/^$/ {
  9453.     /^0/ {
  9454.         s/^0  *\(.*\)$/\1/
  9455.         p
  9456.     }
  9457.    }'
  9458. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9459. # Check for a 64-bit object if we didn't find anything.
  9460. if test -z "$aix_libpath"; then
  9461.   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9462. fi
  9463. else
  9464.   $as_echo "$as_me: failed program was:" >&5
  9465. sed 's/^/| /' conftest.$ac_ext >&5
  9466.  
  9467.  
  9468. fi
  9469.  
  9470. rm -rf conftest.dSYM
  9471. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9472.       conftest$ac_exeext conftest.$ac_ext
  9473. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9474.  
  9475.         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9476.         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9477.       else
  9478.     if test "$host_cpu" = ia64; then
  9479.       hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  9480.       allow_undefined_flag="-z nodefs"
  9481.       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"
  9482.     else
  9483.      # Determine the default libpath from the value encoded in an
  9484.      # empty executable.
  9485.      cat >conftest.$ac_ext <<_ACEOF
  9486. /* confdefs.h.  */
  9487. _ACEOF
  9488. cat confdefs.h >>conftest.$ac_ext
  9489. cat >>conftest.$ac_ext <<_ACEOF
  9490. /* end confdefs.h.  */
  9491.  
  9492. int
  9493. main ()
  9494. {
  9495.  
  9496.   ;
  9497.   return 0;
  9498. }
  9499. _ACEOF
  9500. rm -f conftest.$ac_objext conftest$ac_exeext
  9501. if { (ac_try="$ac_link"
  9502. case "(($ac_try" in
  9503.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9504.   *) ac_try_echo=$ac_try;;
  9505. esac
  9506. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9507. $as_echo "$ac_try_echo") >&5
  9508.   (eval "$ac_link") 2>conftest.er1
  9509.   ac_status=$?
  9510.   grep -v '^ *+' conftest.er1 >conftest.err
  9511.   rm -f conftest.er1
  9512.   cat conftest.err >&5
  9513.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9514.   (exit $ac_status); } && {
  9515.      test -z "$ac_c_werror_flag" ||
  9516.      test ! -s conftest.err
  9517.        } && test -s conftest$ac_exeext && {
  9518.      test "$cross_compiling" = yes ||
  9519.      $as_test_x conftest$ac_exeext
  9520.        }; then
  9521.  
  9522. lt_aix_libpath_sed='
  9523.    /Import File Strings/,/^$/ {
  9524.     /^0/ {
  9525.         s/^0  *\(.*\)$/\1/
  9526.         p
  9527.     }
  9528.    }'
  9529. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9530. # Check for a 64-bit object if we didn't find anything.
  9531. if test -z "$aix_libpath"; then
  9532.   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9533. fi
  9534. else
  9535.   $as_echo "$as_me: failed program was:" >&5
  9536. sed 's/^/| /' conftest.$ac_ext >&5
  9537.  
  9538.  
  9539. fi
  9540.  
  9541. rm -rf conftest.dSYM
  9542. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9543.       conftest$ac_exeext conftest.$ac_ext
  9544. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9545.  
  9546.      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9547.       # Warning - without using the other run time loading flags,
  9548.       # -berok will link without error, but may produce a broken library.
  9549.       no_undefined_flag=' ${wl}-bernotok'
  9550.       allow_undefined_flag=' ${wl}-berok'
  9551.       # Exported symbols can be pulled into shared objects from archives
  9552.       whole_archive_flag_spec='$convenience'
  9553.       archive_cmds_need_lc=yes
  9554.       # This is similar to how AIX traditionally builds its shared libraries.
  9555.       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'
  9556.     fi
  9557.       fi
  9558.       ;;
  9559.  
  9560.     amigaos*)
  9561.       case $host_cpu in
  9562.       powerpc)
  9563.             # see comment about AmigaOS4 .so support
  9564.             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9565.             archive_expsym_cmds=''
  9566.         ;;
  9567.       m68k)
  9568.             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)'
  9569.             hardcode_libdir_flag_spec='-L$libdir'
  9570.             hardcode_minus_L=yes
  9571.         ;;
  9572.       esac
  9573.       ;;
  9574.  
  9575.     bsdi[45]*)
  9576.       export_dynamic_flag_spec=-rdynamic
  9577.       ;;
  9578.  
  9579.     cygwin* | mingw* | pw32* | cegcc*)
  9580.       # When not using gcc, we currently assume that we are using
  9581.       # Microsoft Visual C++.
  9582.       # hardcode_libdir_flag_spec is actually meaningless, as there is
  9583.       # no search path for DLLs.
  9584.       hardcode_libdir_flag_spec=' '
  9585.       allow_undefined_flag=unsupported
  9586.       # Tell ltmain to make .lib files, not .a files.
  9587.       libext=lib
  9588.       # Tell ltmain to make .dll files, not .so files.
  9589.       shrext_cmds=".dll"
  9590.       # FIXME: Setting linknames here is a bad hack.
  9591.       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  9592.       # The linker will automatically build a .lib file if we build a DLL.
  9593.       old_archive_from_new_cmds='true'
  9594.       # FIXME: Should let the user specify the lib program.
  9595.       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9596.       fix_srcfile_path='`cygpath -w "$srcfile"`'
  9597.       enable_shared_with_static_runtimes=yes
  9598.       ;;
  9599.  
  9600.     darwin* | rhapsody*)
  9601.  
  9602.  
  9603.   archive_cmds_need_lc=no
  9604.   hardcode_direct=no
  9605.   hardcode_automatic=yes
  9606.   hardcode_shlibpath_var=unsupported
  9607.   whole_archive_flag_spec=''
  9608.   link_all_deplibs=yes
  9609.   allow_undefined_flag="$_lt_dar_allow_undefined"
  9610.   case $cc_basename in
  9611.      ifort*) _lt_dar_can_shared=yes ;;
  9612.      *) _lt_dar_can_shared=$GCC ;;
  9613.   esac
  9614.   if test "$_lt_dar_can_shared" = "yes"; then
  9615.     output_verbose_link_cmd=echo
  9616.     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9617.     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9618.     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}"
  9619.     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}"
  9620.  
  9621.   else
  9622.   ld_shlibs=no
  9623.   fi
  9624.  
  9625.       ;;
  9626.  
  9627.     dgux*)
  9628.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9629.       hardcode_libdir_flag_spec='-L$libdir'
  9630.       hardcode_shlibpath_var=no
  9631.       ;;
  9632.  
  9633.     freebsd1*)
  9634.       ld_shlibs=no
  9635.       ;;
  9636.  
  9637.     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9638.     # support.  Future versions do this automatically, but an explicit c++rt0.o
  9639.     # does not break anything, and helps significantly (at the cost of a little
  9640.     # extra space).
  9641.     freebsd2.2*)
  9642.       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9643.       hardcode_libdir_flag_spec='-R$libdir'
  9644.       hardcode_direct=yes
  9645.       hardcode_shlibpath_var=no
  9646.       ;;
  9647.  
  9648.     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9649.     freebsd2*)
  9650.       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9651.       hardcode_direct=yes
  9652.       hardcode_minus_L=yes
  9653.       hardcode_shlibpath_var=no
  9654.       ;;
  9655.  
  9656.     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9657.     freebsd* | dragonfly*)
  9658.       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  9659.       hardcode_libdir_flag_spec='-R$libdir'
  9660.       hardcode_direct=yes
  9661.       hardcode_shlibpath_var=no
  9662.       ;;
  9663.  
  9664.     hpux9*)
  9665.       if test "$GCC" = yes; then
  9666.     archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  9667.       else
  9668.     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'
  9669.       fi
  9670.       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9671.       hardcode_libdir_separator=:
  9672.       hardcode_direct=yes
  9673.  
  9674.       # hardcode_minus_L: Not really in the search PATH,
  9675.       # but as the default location of the library.
  9676.       hardcode_minus_L=yes
  9677.       export_dynamic_flag_spec='${wl}-E'
  9678.       ;;
  9679.  
  9680.     hpux10*)
  9681.       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9682.     archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9683.       else
  9684.     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9685.       fi
  9686.       if test "$with_gnu_ld" = no; then
  9687.     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9688.     hardcode_libdir_flag_spec_ld='+b $libdir'
  9689.     hardcode_libdir_separator=:
  9690.     hardcode_direct=yes
  9691.     hardcode_direct_absolute=yes
  9692.     export_dynamic_flag_spec='${wl}-E'
  9693.     # hardcode_minus_L: Not really in the search PATH,
  9694.     # but as the default location of the library.
  9695.     hardcode_minus_L=yes
  9696.       fi
  9697.       ;;
  9698.  
  9699.     hpux11*)
  9700.       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9701.     case $host_cpu in
  9702.     hppa*64*)
  9703.       archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9704.       ;;
  9705.     ia64*)
  9706.       archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9707.       ;;
  9708.     *)
  9709.       archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9710.       ;;
  9711.     esac
  9712.       else
  9713.     case $host_cpu in
  9714.     hppa*64*)
  9715.       archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9716.       ;;
  9717.     ia64*)
  9718.       archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9719.       ;;
  9720.     *)
  9721.       archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9722.       ;;
  9723.     esac
  9724.       fi
  9725.       if test "$with_gnu_ld" = no; then
  9726.     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9727.     hardcode_libdir_separator=:
  9728.  
  9729.     case $host_cpu in
  9730.     hppa*64*|ia64*)
  9731.       hardcode_direct=no
  9732.       hardcode_shlibpath_var=no
  9733.       ;;
  9734.     *)
  9735.       hardcode_direct=yes
  9736.       hardcode_direct_absolute=yes
  9737.       export_dynamic_flag_spec='${wl}-E'
  9738.  
  9739.       # hardcode_minus_L: Not really in the search PATH,
  9740.       # but as the default location of the library.
  9741.       hardcode_minus_L=yes
  9742.       ;;
  9743.     esac
  9744.       fi
  9745.       ;;
  9746.  
  9747.     irix5* | irix6* | nonstopux*)
  9748.       if test "$GCC" = yes; then
  9749.     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9750.     # Try to use the -exported_symbol ld option, if it does not
  9751.     # work, assume that -exports_file does not work either and
  9752.     # implicitly export all symbols.
  9753.         save_LDFLAGS="$LDFLAGS"
  9754.         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  9755.         cat >conftest.$ac_ext <<_ACEOF
  9756. int foo(void) {}
  9757. _ACEOF
  9758. rm -f conftest.$ac_objext conftest$ac_exeext
  9759. if { (ac_try="$ac_link"
  9760. case "(($ac_try" in
  9761.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9762.   *) ac_try_echo=$ac_try;;
  9763. esac
  9764. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9765. $as_echo "$ac_try_echo") >&5
  9766.   (eval "$ac_link") 2>conftest.er1
  9767.   ac_status=$?
  9768.   grep -v '^ *+' conftest.er1 >conftest.err
  9769.   rm -f conftest.er1
  9770.   cat conftest.err >&5
  9771.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9772.   (exit $ac_status); } && {
  9773.      test -z "$ac_c_werror_flag" ||
  9774.      test ! -s conftest.err
  9775.        } && test -s conftest$ac_exeext && {
  9776.      test "$cross_compiling" = yes ||
  9777.      $as_test_x conftest$ac_exeext
  9778.        }; then
  9779.   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  9780.  
  9781. else
  9782.   $as_echo "$as_me: failed program was:" >&5
  9783. sed 's/^/| /' conftest.$ac_ext >&5
  9784.  
  9785.  
  9786. fi
  9787.  
  9788. rm -rf conftest.dSYM
  9789. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9790.       conftest$ac_exeext conftest.$ac_ext
  9791.         LDFLAGS="$save_LDFLAGS"
  9792.       else
  9793.     archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  9794.     archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  9795.       fi
  9796.       archive_cmds_need_lc='no'
  9797.       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9798.       hardcode_libdir_separator=:
  9799.       inherit_rpath=yes
  9800.       link_all_deplibs=yes
  9801.       ;;
  9802.  
  9803.     netbsd*)
  9804.       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9805.     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  9806.       else
  9807.     archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  9808.       fi
  9809.       hardcode_libdir_flag_spec='-R$libdir'
  9810.       hardcode_direct=yes
  9811.       hardcode_shlibpath_var=no
  9812.       ;;
  9813.  
  9814.     newsos6)
  9815.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9816.       hardcode_direct=yes
  9817.       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9818.       hardcode_libdir_separator=:
  9819.       hardcode_shlibpath_var=no
  9820.       ;;
  9821.  
  9822.     *nto* | *qnx*)
  9823.       ;;
  9824.  
  9825.     openbsd*)
  9826.       if test -f /usr/libexec/ld.so; then
  9827.     hardcode_direct=yes
  9828.     hardcode_shlibpath_var=no
  9829.     hardcode_direct_absolute=yes
  9830.     if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9831.       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9832.       archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9833.       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9834.       export_dynamic_flag_spec='${wl}-E'
  9835.     else
  9836.       case $host_os in
  9837.        openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  9838.          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9839.          hardcode_libdir_flag_spec='-R$libdir'
  9840.          ;;
  9841.        *)
  9842.          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9843.          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9844.          ;;
  9845.       esac
  9846.     fi
  9847.       else
  9848.     ld_shlibs=no
  9849.       fi
  9850.       ;;
  9851.  
  9852.     os2*)
  9853.       hardcode_libdir_flag_spec='-L$libdir'
  9854.       hardcode_minus_L=yes
  9855.       allow_undefined_flag=unsupported
  9856.       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'
  9857.       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9858.       ;;
  9859.  
  9860.     osf3*)
  9861.       if test "$GCC" = yes; then
  9862.     allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9863.     archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9864.       else
  9865.     allow_undefined_flag=' -expect_unresolved \*'
  9866.     archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  9867.       fi
  9868.       archive_cmds_need_lc='no'
  9869.       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9870.       hardcode_libdir_separator=:
  9871.       ;;
  9872.  
  9873.     osf4* | osf5*)  # as osf3* with the addition of -msym flag
  9874.       if test "$GCC" = yes; then
  9875.     allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9876.     archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9877.     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9878.       else
  9879.     allow_undefined_flag=' -expect_unresolved \*'
  9880.     archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  9881.     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~
  9882.     $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  9883.  
  9884.     # Both c and cxx compiler support -rpath directly
  9885.     hardcode_libdir_flag_spec='-rpath $libdir'
  9886.       fi
  9887.       archive_cmds_need_lc='no'
  9888.       hardcode_libdir_separator=:
  9889.       ;;
  9890.  
  9891.     solaris*)
  9892.       no_undefined_flag=' -z defs'
  9893.       if test "$GCC" = yes; then
  9894.     wlarc='${wl}'
  9895.     archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9896.     archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9897.       $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9898.       else
  9899.     case `$CC -V 2>&1` in
  9900.     *"Compilers 5.0"*)
  9901.       wlarc=''
  9902.       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9903.       archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9904.       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  9905.       ;;
  9906.     *)
  9907.       wlarc='${wl}'
  9908.       archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9909.       archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9910.       $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9911.       ;;
  9912.     esac
  9913.       fi
  9914.       hardcode_libdir_flag_spec='-R$libdir'
  9915.       hardcode_shlibpath_var=no
  9916.       case $host_os in
  9917.       solaris2.[0-5] | solaris2.[0-5].*) ;;
  9918.       *)
  9919.     # The compiler driver will combine and reorder linker options,
  9920.     # but understands `-z linker_flag'.  GCC discards it without `$wl',
  9921.     # but is careful enough not to reorder.
  9922.     # Supported since Solaris 2.6 (maybe 2.5.1?)
  9923.     if test "$GCC" = yes; then
  9924.       whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9925.     else
  9926.       whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  9927.     fi
  9928.     ;;
  9929.       esac
  9930.       link_all_deplibs=yes
  9931.       ;;
  9932.  
  9933.     sunos4*)
  9934.       if test "x$host_vendor" = xsequent; then
  9935.     # Use $CC to link under sequent, because it throws in some extra .o
  9936.     # files that make .init and .fini sections work.
  9937.     archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9938.       else
  9939.     archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9940.       fi
  9941.       hardcode_libdir_flag_spec='-L$libdir'
  9942.       hardcode_direct=yes
  9943.       hardcode_minus_L=yes
  9944.       hardcode_shlibpath_var=no
  9945.       ;;
  9946.  
  9947.     sysv4)
  9948.       case $host_vendor in
  9949.     sni)
  9950.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9951.       hardcode_direct=yes # is this really true???
  9952.     ;;
  9953.     siemens)
  9954.       ## LD is ld it makes a PLAMLIB
  9955.       ## CC just makes a GrossModule.
  9956.       archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9957.       reload_cmds='$CC -r -o $output$reload_objs'
  9958.       hardcode_direct=no
  9959.         ;;
  9960.     motorola)
  9961.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9962.       hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  9963.     ;;
  9964.       esac
  9965.       runpath_var='LD_RUN_PATH'
  9966.       hardcode_shlibpath_var=no
  9967.       ;;
  9968.  
  9969.     sysv4.3*)
  9970.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9971.       hardcode_shlibpath_var=no
  9972.       export_dynamic_flag_spec='-Bexport'
  9973.       ;;
  9974.  
  9975.     sysv4*MP*)
  9976.       if test -d /usr/nec; then
  9977.     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9978.     hardcode_shlibpath_var=no
  9979.     runpath_var=LD_RUN_PATH
  9980.     hardcode_runpath_var=yes
  9981.     ld_shlibs=yes
  9982.       fi
  9983.       ;;
  9984.  
  9985.     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9986.       no_undefined_flag='${wl}-z,text'
  9987.       archive_cmds_need_lc=no
  9988.       hardcode_shlibpath_var=no
  9989.       runpath_var='LD_RUN_PATH'
  9990.  
  9991.       if test "$GCC" = yes; then
  9992.     archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9993.     archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9994.       else
  9995.     archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9996.     archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9997.       fi
  9998.       ;;
  9999.  
  10000.     sysv5* | sco3.2v5* | sco5v6*)
  10001.       # Note: We can NOT use -z defs as we might desire, because we do not
  10002.       # link with -lc, and that would cause any symbols used from libc to
  10003.       # always be unresolved, which means just about no library would
  10004.       # ever link correctly.  If we're not using GNU ld we use -z text
  10005.       # though, which does catch some bad symbols but isn't as heavy-handed
  10006.       # as -z defs.
  10007.       no_undefined_flag='${wl}-z,text'
  10008.       allow_undefined_flag='${wl}-z,nodefs'
  10009.       archive_cmds_need_lc=no
  10010.       hardcode_shlibpath_var=no
  10011.       hardcode_libdir_flag_spec='${wl}-R,$libdir'
  10012.       hardcode_libdir_separator=':'
  10013.       link_all_deplibs=yes
  10014.       export_dynamic_flag_spec='${wl}-Bexport'
  10015.       runpath_var='LD_RUN_PATH'
  10016.  
  10017.       if test "$GCC" = yes; then
  10018.     archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10019.     archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10020.       else
  10021.     archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10022.     archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10023.       fi
  10024.       ;;
  10025.  
  10026.     uts4*)
  10027.       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10028.       hardcode_libdir_flag_spec='-L$libdir'
  10029.       hardcode_shlibpath_var=no
  10030.       ;;
  10031.  
  10032.     *)
  10033.       ld_shlibs=no
  10034.       ;;
  10035.     esac
  10036.  
  10037.     if test x$host_vendor = xsni; then
  10038.       case $host in
  10039.       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  10040.     export_dynamic_flag_spec='${wl}-Blargedynsym'
  10041.     ;;
  10042.       esac
  10043.     fi
  10044.   fi
  10045.  
  10046. { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  10047. $as_echo "$ld_shlibs" >&6; }
  10048. test "$ld_shlibs" = no && can_build_shared=no
  10049.  
  10050. with_gnu_ld=$with_gnu_ld
  10051.  
  10052.  
  10053.  
  10054.  
  10055.  
  10056.  
  10057.  
  10058.  
  10059.  
  10060.  
  10061.  
  10062.  
  10063.  
  10064.  
  10065.  
  10066. #
  10067. # Do we need to explicitly link libc?
  10068. #
  10069. case "x$archive_cmds_need_lc" in
  10070. x|xyes)
  10071.   # Assume -lc should be added
  10072.   archive_cmds_need_lc=yes
  10073.  
  10074.   if test "$enable_shared" = yes && test "$GCC" = yes; then
  10075.     case $archive_cmds in
  10076.     *'~'*)
  10077.       # FIXME: we may have to deal with multi-command sequences.
  10078.       ;;
  10079.     '$CC '*)
  10080.       # Test whether the compiler implicitly links with -lc since on some
  10081.       # systems, -lgcc has to come before -lc. If gcc already passes -lc
  10082.       # to ld, don't add -lc before -lgcc.
  10083.       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  10084. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  10085.       $RM conftest*
  10086.       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10087.  
  10088.       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  10089.   (eval $ac_compile) 2>&5
  10090.   ac_status=$?
  10091.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10092.   (exit $ac_status); } 2>conftest.err; then
  10093.         soname=conftest
  10094.         lib=conftest
  10095.         libobjs=conftest.$ac_objext
  10096.         deplibs=
  10097.         wl=$lt_prog_compiler_wl
  10098.     pic_flag=$lt_prog_compiler_pic
  10099.         compiler_flags=-v
  10100.         linker_flags=-v
  10101.         verstring=
  10102.         output_objdir=.
  10103.         libname=conftest
  10104.         lt_save_allow_undefined_flag=$allow_undefined_flag
  10105.         allow_undefined_flag=
  10106.         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
  10107.   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  10108.   ac_status=$?
  10109.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10110.   (exit $ac_status); }
  10111.         then
  10112.       archive_cmds_need_lc=no
  10113.         else
  10114.       archive_cmds_need_lc=yes
  10115.         fi
  10116.         allow_undefined_flag=$lt_save_allow_undefined_flag
  10117.       else
  10118.         cat conftest.err 1>&5
  10119.       fi
  10120.       $RM conftest*
  10121.       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  10122. $as_echo "$archive_cmds_need_lc" >&6; }
  10123.       ;;
  10124.     esac
  10125.   fi
  10126.   ;;
  10127. esac
  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.  
  10243.  
  10244.  
  10245.  
  10246.  
  10247.  
  10248.  
  10249.  
  10250.  
  10251.  
  10252.  
  10253.  
  10254.  
  10255.  
  10256.  
  10257.  
  10258.  
  10259.  
  10260.  
  10261.  
  10262.  
  10263.  
  10264.  
  10265.  
  10266.  
  10267.  
  10268.  
  10269.  
  10270.  
  10271.  
  10272.  
  10273.  
  10274.  
  10275.  
  10276.  
  10277.  
  10278.  
  10279.  
  10280.  
  10281.  
  10282.  
  10283.  
  10284.  
  10285.   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  10286. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  10287.  
  10288. if test "$GCC" = yes; then
  10289.   case $host_os in
  10290.     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  10291.     *) lt_awk_arg="/^libraries:/" ;;
  10292.   esac
  10293.   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  10294.   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  10295.     # if the path contains ";" then we assume it to be the separator
  10296.     # otherwise default to the standard path separator (i.e. ":") - it is
  10297.     # assumed that no part of a normal pathname contains ";" but that should
  10298.     # okay in the real world where ";" in dirpaths is itself problematic.
  10299.     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  10300.   else
  10301.     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  10302.   fi
  10303.   # Ok, now we have the path, separated by spaces, we can step through it
  10304.   # and add multilib dir if necessary.
  10305.   lt_tmp_lt_search_path_spec=
  10306.   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  10307.   for lt_sys_path in $lt_search_path_spec; do
  10308.     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  10309.       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  10310.     else
  10311.       test -d "$lt_sys_path" && \
  10312.     lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  10313.     fi
  10314.   done
  10315.   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  10316. BEGIN {RS=" "; FS="/|\n";} {
  10317.  lt_foo="";
  10318.  lt_count=0;
  10319.  for (lt_i = NF; lt_i > 0; lt_i--) {
  10320.    if ($lt_i != "" && $lt_i != ".") {
  10321.      if ($lt_i == "..") {
  10322.        lt_count++;
  10323.      } else {
  10324.        if (lt_count == 0) {
  10325.          lt_foo="/" $lt_i lt_foo;
  10326.        } else {
  10327.          lt_count--;
  10328.        }
  10329.      }
  10330.    }
  10331.  }
  10332.  if (lt_foo != "") { lt_freq[lt_foo]++; }
  10333.  if (lt_freq[lt_foo] == 1) { print lt_foo; }
  10334. }'`
  10335.   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  10336. else
  10337.   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  10338. fi
  10339. library_names_spec=
  10340. libname_spec='lib$name'
  10341. soname_spec=
  10342. shrext_cmds=".so"
  10343. postinstall_cmds=
  10344. postuninstall_cmds=
  10345. finish_cmds=
  10346. finish_eval=
  10347. shlibpath_var=
  10348. shlibpath_overrides_runpath=unknown
  10349. version_type=none
  10350. dynamic_linker="$host_os ld.so"
  10351. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  10352. need_lib_prefix=unknown
  10353. hardcode_into_libs=no
  10354.  
  10355. # when you set need_version to no, make sure it does not cause -set_version
  10356. # flags to be left without arguments
  10357. need_version=unknown
  10358.  
  10359. case $host_os in
  10360. aix3*)
  10361.   version_type=linux
  10362.   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  10363.   shlibpath_var=LIBPATH
  10364.  
  10365.   # AIX 3 has no versioning support, so we append a major version to the name.
  10366.   soname_spec='${libname}${release}${shared_ext}$major'
  10367.   ;;
  10368.  
  10369. aix[4-9]*)
  10370.   version_type=linux
  10371.   need_lib_prefix=no
  10372.   need_version=no
  10373.   hardcode_into_libs=yes
  10374.   if test "$host_cpu" = ia64; then
  10375.     # AIX 5 supports IA64
  10376.     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  10377.     shlibpath_var=LD_LIBRARY_PATH
  10378.   else
  10379.     # With GCC up to 2.95.x, collect2 would create an import file
  10380.     # for dependence libraries.  The import file would start with
  10381.     # the line `#! .'.  This would cause the generated library to
  10382.     # depend on `.', always an invalid library.  This was fixed in
  10383.     # development snapshots of GCC prior to 3.0.
  10384.     case $host_os in
  10385.       aix4 | aix4.[01] | aix4.[01].*)
  10386.       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  10387.        echo ' yes '
  10388.        echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  10389.     :
  10390.       else
  10391.     can_build_shared=no
  10392.       fi
  10393.       ;;
  10394.     esac
  10395.     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  10396.     # soname into executable. Probably we can add versioning support to
  10397.     # collect2, so additional links can be useful in future.
  10398.     if test "$aix_use_runtimelinking" = yes; then
  10399.       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  10400.       # instead of lib<name>.a to let people know that these are not
  10401.       # typical AIX shared libraries.
  10402.       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10403.     else
  10404.       # We preserve .a as extension for shared libraries through AIX4.2
  10405.       # and later when we are not doing run time linking.
  10406.       library_names_spec='${libname}${release}.a $libname.a'
  10407.       soname_spec='${libname}${release}${shared_ext}$major'
  10408.     fi
  10409.     shlibpath_var=LIBPATH
  10410.   fi
  10411.   ;;
  10412.  
  10413. amigaos*)
  10414.   case $host_cpu in
  10415.   powerpc)
  10416.     # Since July 2007 AmigaOS4 officially supports .so libraries.
  10417.     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  10418.     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10419.     ;;
  10420.   m68k)
  10421.     library_names_spec='$libname.ixlibrary $libname.a'
  10422.     # Create ${libname}_ixlibrary.a entries in /sys/libs.
  10423.     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  10424.     ;;
  10425.   esac
  10426.   ;;
  10427.  
  10428. beos*)
  10429.   library_names_spec='${libname}${shared_ext}'
  10430.   dynamic_linker="$host_os ld.so"
  10431.   shlibpath_var=LIBRARY_PATH
  10432.   ;;
  10433.  
  10434. bsdi[45]*)
  10435.   version_type=linux
  10436.   need_version=no
  10437.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10438.   soname_spec='${libname}${release}${shared_ext}$major'
  10439.   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  10440.   shlibpath_var=LD_LIBRARY_PATH
  10441.   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  10442.   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  10443.   # the default ld.so.conf also contains /usr/contrib/lib and
  10444.   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  10445.   # libtool to hard-code these into programs
  10446.   ;;
  10447.  
  10448. cygwin* | mingw* | pw32* | cegcc*)
  10449.   version_type=windows
  10450.   shrext_cmds=".dll"
  10451.   need_version=no
  10452.   need_lib_prefix=no
  10453.  
  10454.   case $GCC,$host_os in
  10455.   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  10456.     library_names_spec='$libname.dll.a'
  10457.     # DLL is installed to $(libdir)/../bin by postinstall_cmds
  10458.     postinstall_cmds='base_file=`basename \${file}`~
  10459.      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  10460.      dldir=$destdir/`dirname \$dlpath`~
  10461.      test -d \$dldir || mkdir -p \$dldir~
  10462.      $install_prog $dir/$dlname \$dldir/$dlname~
  10463.      chmod a+x \$dldir/$dlname~
  10464.      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  10465.        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  10466.      fi'
  10467.     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  10468.      dlpath=$dir/\$dldll~
  10469.       $RM \$dlpath'
  10470.     shlibpath_overrides_runpath=yes
  10471.  
  10472.     case $host_os in
  10473.     cygwin*)
  10474.       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  10475.       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10476.       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  10477.       ;;
  10478.     mingw* | cegcc*)
  10479.       # MinGW DLLs use traditional 'lib' prefix
  10480.       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10481.       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  10482.       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  10483.         # It is most probably a Windows format PATH printed by
  10484.         # mingw gcc, but we are running on Cygwin. Gcc prints its search
  10485.         # path with ; separators, and with drive letters. We can handle the
  10486.         # drive letters (cygwin fileutils understands them), so leave them,
  10487.         # especially as we might pass files found there to a mingw objdump,
  10488.         # which wouldn't understand a cygwinified path. Ahh.
  10489.         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  10490.       else
  10491.         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  10492.       fi
  10493.       ;;
  10494.     pw32*)
  10495.       # pw32 DLLs use 'pw' prefix rather than 'lib'
  10496.       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10497.       ;;
  10498.     esac
  10499.     ;;
  10500.  
  10501.   *)
  10502.     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  10503.     ;;
  10504.   esac
  10505.   dynamic_linker='Win32 ld.exe'
  10506.   # FIXME: first we should search . and the directory the executable is in
  10507.   shlibpath_var=PATH
  10508.   ;;
  10509.  
  10510. darwin* | rhapsody*)
  10511.   dynamic_linker="$host_os dyld"
  10512.   version_type=darwin
  10513.   need_lib_prefix=no
  10514.   need_version=no
  10515.   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  10516.   soname_spec='${libname}${release}${major}$shared_ext'
  10517.   shlibpath_overrides_runpath=yes
  10518.   shlibpath_var=DYLD_LIBRARY_PATH
  10519.   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  10520.  
  10521.   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  10522.   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  10523.   ;;
  10524.  
  10525. dgux*)
  10526.   version_type=linux
  10527.   need_lib_prefix=no
  10528.   need_version=no
  10529.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  10530.   soname_spec='${libname}${release}${shared_ext}$major'
  10531.   shlibpath_var=LD_LIBRARY_PATH
  10532.   ;;
  10533.  
  10534. freebsd1*)
  10535.   dynamic_linker=no
  10536.   ;;
  10537.  
  10538. freebsd* | dragonfly*)
  10539.   # DragonFly does not have aout.  When/if they implement a new
  10540.   # versioning mechanism, adjust this.
  10541.   if test -x /usr/bin/objformat; then
  10542.     objformat=`/usr/bin/objformat`
  10543.   else
  10544.     case $host_os in
  10545.     freebsd[123]*) objformat=aout ;;
  10546.     *) objformat=elf ;;
  10547.     esac
  10548.   fi
  10549.   version_type=freebsd-$objformat
  10550.   case $version_type in
  10551.     freebsd-elf*)
  10552.       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  10553.       need_version=no
  10554.       need_lib_prefix=no
  10555.       ;;
  10556.     freebsd-*)
  10557.       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  10558.       need_version=yes
  10559.       ;;
  10560.   esac
  10561.   shlibpath_var=LD_LIBRARY_PATH
  10562.   case $host_os in
  10563.   freebsd2*)
  10564.     shlibpath_overrides_runpath=yes
  10565.     ;;
  10566.   freebsd3.[01]* | freebsdelf3.[01]*)
  10567.     shlibpath_overrides_runpath=yes
  10568.     hardcode_into_libs=yes
  10569.     ;;
  10570.   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  10571.   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  10572.     shlibpath_overrides_runpath=no
  10573.     hardcode_into_libs=yes
  10574.     ;;
  10575.   *) # from 4.6 on, and DragonFly
  10576.     shlibpath_overrides_runpath=yes
  10577.     hardcode_into_libs=yes
  10578.     ;;
  10579.   esac
  10580.   ;;
  10581.  
  10582. gnu*)
  10583.   version_type=linux
  10584.   need_lib_prefix=no
  10585.   need_version=no
  10586.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  10587.   soname_spec='${libname}${release}${shared_ext}$major'
  10588.   shlibpath_var=LD_LIBRARY_PATH
  10589.   hardcode_into_libs=yes
  10590.   ;;
  10591.  
  10592. hpux9* | hpux10* | hpux11*)
  10593.   # Give a soname corresponding to the major version so that dld.sl refuses to
  10594.   # link against other versions.
  10595.   version_type=sunos
  10596.   need_lib_prefix=no
  10597.   need_version=no
  10598.   case $host_cpu in
  10599.   ia64*)
  10600.     shrext_cmds='.so'
  10601.     hardcode_into_libs=yes
  10602.     dynamic_linker="$host_os dld.so"
  10603.     shlibpath_var=LD_LIBRARY_PATH
  10604.     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10605.     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10606.     soname_spec='${libname}${release}${shared_ext}$major'
  10607.     if test "X$HPUX_IA64_MODE" = X32; then
  10608.       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  10609.     else
  10610.       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  10611.     fi
  10612.     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10613.     ;;
  10614.   hppa*64*)
  10615.     shrext_cmds='.sl'
  10616.     hardcode_into_libs=yes
  10617.     dynamic_linker="$host_os dld.sl"
  10618.     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  10619.     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10620.     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10621.     soname_spec='${libname}${release}${shared_ext}$major'
  10622.     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  10623.     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10624.     ;;
  10625.   *)
  10626.     shrext_cmds='.sl'
  10627.     dynamic_linker="$host_os dld.sl"
  10628.     shlibpath_var=SHLIB_PATH
  10629.     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  10630.     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10631.     soname_spec='${libname}${release}${shared_ext}$major'
  10632.     ;;
  10633.   esac
  10634.   # HP-UX runs *really* slowly unless shared libraries are mode 555.
  10635.   postinstall_cmds='chmod 555 $lib'
  10636.   ;;
  10637.  
  10638. interix[3-9]*)
  10639.   version_type=linux
  10640.   need_lib_prefix=no
  10641.   need_version=no
  10642.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  10643.   soname_spec='${libname}${release}${shared_ext}$major'
  10644.   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  10645.   shlibpath_var=LD_LIBRARY_PATH
  10646.   shlibpath_overrides_runpath=no
  10647.   hardcode_into_libs=yes
  10648.   ;;
  10649.  
  10650. irix5* | irix6* | nonstopux*)
  10651.   case $host_os in
  10652.     nonstopux*) version_type=nonstopux ;;
  10653.     *)
  10654.     if test "$lt_cv_prog_gnu_ld" = yes; then
  10655.         version_type=linux
  10656.     else
  10657.         version_type=irix
  10658.     fi ;;
  10659.   esac
  10660.   need_lib_prefix=no
  10661.   need_version=no
  10662.   soname_spec='${libname}${release}${shared_ext}$major'
  10663.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  10664.   case $host_os in
  10665.   irix5* | nonstopux*)
  10666.     libsuff= shlibsuff=
  10667.     ;;
  10668.   *)
  10669.     case $LD in # libtool.m4 will add one of these switches to LD
  10670.     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  10671.       libsuff= shlibsuff= libmagic=32-bit;;
  10672.     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  10673.       libsuff=32 shlibsuff=N32 libmagic=N32;;
  10674.     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  10675.       libsuff=64 shlibsuff=64 libmagic=64-bit;;
  10676.     *) libsuff= shlibsuff= libmagic=never-match;;
  10677.     esac
  10678.     ;;
  10679.   esac
  10680.   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  10681.   shlibpath_overrides_runpath=no
  10682.   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  10683.   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  10684.   hardcode_into_libs=yes
  10685.   ;;
  10686.  
  10687. # No shared lib support for Linux oldld, aout, or coff.
  10688. linux*oldld* | linux*aout* | linux*coff*)
  10689.   dynamic_linker=no
  10690.   ;;
  10691.  
  10692. # This must be Linux ELF.
  10693. linux* | k*bsd*-gnu)
  10694.   version_type=linux
  10695.   need_lib_prefix=no
  10696.   need_version=no
  10697.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10698.   soname_spec='${libname}${release}${shared_ext}$major'
  10699.   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  10700.   shlibpath_var=LD_LIBRARY_PATH
  10701.   shlibpath_overrides_runpath=no
  10702.   # Some binutils ld are patched to set DT_RUNPATH
  10703.   save_LDFLAGS=$LDFLAGS
  10704.   save_libdir=$libdir
  10705.   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  10706.       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  10707.   cat >conftest.$ac_ext <<_ACEOF
  10708. /* confdefs.h.  */
  10709. _ACEOF
  10710. cat confdefs.h >>conftest.$ac_ext
  10711. cat >>conftest.$ac_ext <<_ACEOF
  10712. /* end confdefs.h.  */
  10713.  
  10714. int
  10715. main ()
  10716. {
  10717.  
  10718.   ;
  10719.   return 0;
  10720. }
  10721. _ACEOF
  10722. rm -f conftest.$ac_objext conftest$ac_exeext
  10723. if { (ac_try="$ac_link"
  10724. case "(($ac_try" in
  10725.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10726.   *) ac_try_echo=$ac_try;;
  10727. esac
  10728. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10729. $as_echo "$ac_try_echo") >&5
  10730.   (eval "$ac_link") 2>conftest.er1
  10731.   ac_status=$?
  10732.   grep -v '^ *+' conftest.er1 >conftest.err
  10733.   rm -f conftest.er1
  10734.   cat conftest.err >&5
  10735.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10736.   (exit $ac_status); } && {
  10737.      test -z "$ac_c_werror_flag" ||
  10738.      test ! -s conftest.err
  10739.        } && test -s conftest$ac_exeext && {
  10740.      test "$cross_compiling" = yes ||
  10741.      $as_test_x conftest$ac_exeext
  10742.        }; then
  10743.   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
  10744.   shlibpath_overrides_runpath=yes
  10745. fi
  10746.  
  10747. else
  10748.   $as_echo "$as_me: failed program was:" >&5
  10749. sed 's/^/| /' conftest.$ac_ext >&5
  10750.  
  10751.  
  10752. fi
  10753.  
  10754. rm -rf conftest.dSYM
  10755. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10756.       conftest$ac_exeext conftest.$ac_ext
  10757.   LDFLAGS=$save_LDFLAGS
  10758.   libdir=$save_libdir
  10759.  
  10760.   # This implies no fast_install, which is unacceptable.
  10761.   # Some rework will be needed to allow for fast_install
  10762.   # before this can be enabled.
  10763.   hardcode_into_libs=yes
  10764.  
  10765.   # Add ABI-specific directories to the system library path.
  10766.   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  10767.  
  10768.   # Append ld.so.conf contents to the search path
  10769.   if test -f /etc/ld.so.conf; then
  10770.     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[   ]*hwcap[    ]/d;s/[:,  ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  10771.     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  10772.   fi
  10773.  
  10774.   # We used to test for /lib/ld.so.1 and disable shared libraries on
  10775.   # powerpc, because MkLinux only supported shared libraries with the
  10776.   # GNU dynamic linker.  Since this was broken with cross compilers,
  10777.   # most powerpc-linux boxes support dynamic linking these days and
  10778.   # people can always --disable-shared, the test was removed, and we
  10779.   # assume the GNU/Linux dynamic linker is in use.
  10780.   dynamic_linker='GNU/Linux ld.so'
  10781.   ;;
  10782.  
  10783. netbsd*)
  10784.   version_type=sunos
  10785.   need_lib_prefix=no
  10786.   need_version=no
  10787.   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10788.     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10789.     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10790.     dynamic_linker='NetBSD (a.out) ld.so'
  10791.   else
  10792.     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  10793.     soname_spec='${libname}${release}${shared_ext}$major'
  10794.     dynamic_linker='NetBSD ld.elf_so'
  10795.   fi
  10796.   shlibpath_var=LD_LIBRARY_PATH
  10797.   shlibpath_overrides_runpath=yes
  10798.   hardcode_into_libs=yes
  10799.   ;;
  10800.  
  10801. newsos6)
  10802.   version_type=linux
  10803.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10804.   shlibpath_var=LD_LIBRARY_PATH
  10805.   shlibpath_overrides_runpath=yes
  10806.   ;;
  10807.  
  10808. *nto* | *qnx*)
  10809.   version_type=qnx
  10810.   need_lib_prefix=no
  10811.   need_version=no
  10812.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10813.   soname_spec='${libname}${release}${shared_ext}$major'
  10814.   shlibpath_var=LD_LIBRARY_PATH
  10815.   shlibpath_overrides_runpath=no
  10816.   hardcode_into_libs=yes
  10817.   dynamic_linker='ldqnx.so'
  10818.   ;;
  10819.  
  10820. openbsd*)
  10821.   version_type=sunos
  10822.   sys_lib_dlsearch_path_spec="/usr/lib"
  10823.   need_lib_prefix=no
  10824.   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  10825.   case $host_os in
  10826.     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
  10827.     *)              need_version=no  ;;
  10828.   esac
  10829.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10830.   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10831.   shlibpath_var=LD_LIBRARY_PATH
  10832.   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  10833.     case $host_os in
  10834.       openbsd2.[89] | openbsd2.[89].*)
  10835.     shlibpath_overrides_runpath=no
  10836.     ;;
  10837.       *)
  10838.     shlibpath_overrides_runpath=yes
  10839.     ;;
  10840.       esac
  10841.   else
  10842.     shlibpath_overrides_runpath=yes
  10843.   fi
  10844.   ;;
  10845.  
  10846. os2*)
  10847.   libname_spec='$name'
  10848.   shrext_cmds=".dll"
  10849.   need_lib_prefix=no
  10850.   library_names_spec='$libname${shared_ext} $libname.a'
  10851.   dynamic_linker='OS/2 ld.exe'
  10852.   shlibpath_var=LIBPATH
  10853.   ;;
  10854.  
  10855. osf3* | osf4* | osf5*)
  10856.   version_type=osf
  10857.   need_lib_prefix=no
  10858.   need_version=no
  10859.   soname_spec='${libname}${release}${shared_ext}$major'
  10860.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10861.   shlibpath_var=LD_LIBRARY_PATH
  10862.   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  10863.   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  10864.   ;;
  10865.  
  10866. rdos*)
  10867.   dynamic_linker=no
  10868.   ;;
  10869.  
  10870. solaris*)
  10871.   version_type=linux
  10872.   need_lib_prefix=no
  10873.   need_version=no
  10874.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10875.   soname_spec='${libname}${release}${shared_ext}$major'
  10876.   shlibpath_var=LD_LIBRARY_PATH
  10877.   shlibpath_overrides_runpath=yes
  10878.   hardcode_into_libs=yes
  10879.   # ldd complains unless libraries are executable
  10880.   postinstall_cmds='chmod +x $lib'
  10881.   ;;
  10882.  
  10883. sunos4*)
  10884.   version_type=sunos
  10885.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10886.   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  10887.   shlibpath_var=LD_LIBRARY_PATH
  10888.   shlibpath_overrides_runpath=yes
  10889.   if test "$with_gnu_ld" = yes; then
  10890.     need_lib_prefix=no
  10891.   fi
  10892.   need_version=yes
  10893.   ;;
  10894.  
  10895. sysv4 | sysv4.3*)
  10896.   version_type=linux
  10897.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10898.   soname_spec='${libname}${release}${shared_ext}$major'
  10899.   shlibpath_var=LD_LIBRARY_PATH
  10900.   case $host_vendor in
  10901.     sni)
  10902.       shlibpath_overrides_runpath=no
  10903.       need_lib_prefix=no
  10904.       runpath_var=LD_RUN_PATH
  10905.       ;;
  10906.     siemens)
  10907.       need_lib_prefix=no
  10908.       ;;
  10909.     motorola)
  10910.       need_lib_prefix=no
  10911.       need_version=no
  10912.       shlibpath_overrides_runpath=no
  10913.       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  10914.       ;;
  10915.   esac
  10916.   ;;
  10917.  
  10918. sysv4*MP*)
  10919.   if test -d /usr/nec ;then
  10920.     version_type=linux
  10921.     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  10922.     soname_spec='$libname${shared_ext}.$major'
  10923.     shlibpath_var=LD_LIBRARY_PATH
  10924.   fi
  10925.   ;;
  10926.  
  10927. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  10928.   version_type=freebsd-elf
  10929.   need_lib_prefix=no
  10930.   need_version=no
  10931.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  10932.   soname_spec='${libname}${release}${shared_ext}$major'
  10933.   shlibpath_var=LD_LIBRARY_PATH
  10934.   shlibpath_overrides_runpath=yes
  10935.   hardcode_into_libs=yes
  10936.   if test "$with_gnu_ld" = yes; then
  10937.     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  10938.   else
  10939.     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  10940.     case $host_os in
  10941.       sco3.2v5*)
  10942.         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  10943.     ;;
  10944.     esac
  10945.   fi
  10946.   sys_lib_dlsearch_path_spec='/usr/lib'
  10947.   ;;
  10948.  
  10949. tpf*)
  10950.   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
  10951.   version_type=linux
  10952.   need_lib_prefix=no
  10953.   need_version=no
  10954.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10955.   shlibpath_var=LD_LIBRARY_PATH
  10956.   shlibpath_overrides_runpath=no
  10957.   hardcode_into_libs=yes
  10958.   ;;
  10959.  
  10960. uts4*)
  10961.   version_type=linux
  10962.   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10963.   soname_spec='${libname}${release}${shared_ext}$major'
  10964.   shlibpath_var=LD_LIBRARY_PATH
  10965.   ;;
  10966.  
  10967. *)
  10968.   dynamic_linker=no
  10969.   ;;
  10970. esac
  10971. { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  10972. $as_echo "$dynamic_linker" >&6; }
  10973. test "$dynamic_linker" = no && can_build_shared=no
  10974.  
  10975. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  10976. if test "$GCC" = yes; then
  10977.   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  10978. fi
  10979.  
  10980. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  10981.   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  10982. fi
  10983. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  10984.   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  10985. fi
  10986.  
  10987.  
  10988.  
  10989.  
  10990.  
  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.   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  11074. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  11075. hardcode_action=
  11076. if test -n "$hardcode_libdir_flag_spec" ||
  11077.    test -n "$runpath_var" ||
  11078.    test "X$hardcode_automatic" = "Xyes" ; then
  11079.  
  11080.   # We can hardcode non-existent directories.
  11081.   if test "$hardcode_direct" != no &&
  11082.      # If the only mechanism to avoid hardcoding is shlibpath_var, we
  11083.      # have to relink, otherwise we might link with an installed library
  11084.      # when we should be linking with a yet-to-be-installed one
  11085.      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  11086.      test "$hardcode_minus_L" != no; then
  11087.     # Linking always hardcodes the temporary library directory.
  11088.     hardcode_action=relink
  11089.   else
  11090.     # We can link without hardcoding, and we can hardcode nonexisting dirs.
  11091.     hardcode_action=immediate
  11092.   fi
  11093. else
  11094.   # We cannot hardcode anything, or else we can only hardcode existing
  11095.   # directories.
  11096.   hardcode_action=unsupported
  11097. fi
  11098. { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
  11099. $as_echo "$hardcode_action" >&6; }
  11100.  
  11101. if test "$hardcode_action" = relink ||
  11102.    test "$inherit_rpath" = yes; then
  11103.   # Fast installation is not supported
  11104.   enable_fast_install=no
  11105. elif test "$shlibpath_overrides_runpath" = yes ||
  11106.      test "$enable_shared" = no; then
  11107.   # Fast installation is not necessary
  11108.   enable_fast_install=needless
  11109. fi
  11110.  
  11111.  
  11112.  
  11113.  
  11114.  
  11115.  
  11116.   if test "x$enable_dlopen" != xyes; then
  11117.   enable_dlopen=unknown
  11118.   enable_dlopen_self=unknown
  11119.   enable_dlopen_self_static=unknown
  11120. else
  11121.   lt_cv_dlopen=no
  11122.   lt_cv_dlopen_libs=
  11123.  
  11124.   case $host_os in
  11125.   beos*)
  11126.     lt_cv_dlopen="load_add_on"
  11127.     lt_cv_dlopen_libs=
  11128.     lt_cv_dlopen_self=yes
  11129.     ;;
  11130.  
  11131.   mingw* | pw32* | cegcc*)
  11132.     lt_cv_dlopen="LoadLibrary"
  11133.     lt_cv_dlopen_libs=
  11134.     ;;
  11135.  
  11136.   cygwin*)
  11137.     lt_cv_dlopen="dlopen"
  11138.     lt_cv_dlopen_libs=
  11139.     ;;
  11140.  
  11141.   darwin*)
  11142.   # if libdl is installed we need to link against it
  11143.     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  11144. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  11145. if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  11146.   $as_echo_n "(cached) " >&6
  11147. else
  11148.   ac_check_lib_save_LIBS=$LIBS
  11149. LIBS="-ldl  $LIBS"
  11150. cat >conftest.$ac_ext <<_ACEOF
  11151. /* confdefs.h.  */
  11152. _ACEOF
  11153. cat confdefs.h >>conftest.$ac_ext
  11154. cat >>conftest.$ac_ext <<_ACEOF
  11155. /* end confdefs.h.  */
  11156.  
  11157. /* Override any GCC internal prototype to avoid an error.
  11158.    Use char because int might match the return type of a GCC
  11159.    builtin and then its argument prototype would still apply.  */
  11160. #ifdef __cplusplus
  11161. extern "C"
  11162. #endif
  11163. char dlopen ();
  11164. int
  11165. main ()
  11166. {
  11167. return dlopen ();
  11168.   ;
  11169.   return 0;
  11170. }
  11171. _ACEOF
  11172. rm -f conftest.$ac_objext conftest$ac_exeext
  11173. if { (ac_try="$ac_link"
  11174. case "(($ac_try" in
  11175.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11176.   *) ac_try_echo=$ac_try;;
  11177. esac
  11178. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11179. $as_echo "$ac_try_echo") >&5
  11180.   (eval "$ac_link") 2>conftest.er1
  11181.   ac_status=$?
  11182.   grep -v '^ *+' conftest.er1 >conftest.err
  11183.   rm -f conftest.er1
  11184.   cat conftest.err >&5
  11185.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11186.   (exit $ac_status); } && {
  11187.      test -z "$ac_c_werror_flag" ||
  11188.      test ! -s conftest.err
  11189.        } && test -s conftest$ac_exeext && {
  11190.      test "$cross_compiling" = yes ||
  11191.      $as_test_x conftest$ac_exeext
  11192.        }; then
  11193.   ac_cv_lib_dl_dlopen=yes
  11194. else
  11195.   $as_echo "$as_me: failed program was:" >&5
  11196. sed 's/^/| /' conftest.$ac_ext >&5
  11197.  
  11198.     ac_cv_lib_dl_dlopen=no
  11199. fi
  11200.  
  11201. rm -rf conftest.dSYM
  11202. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11203.       conftest$ac_exeext conftest.$ac_ext
  11204. LIBS=$ac_check_lib_save_LIBS
  11205. fi
  11206. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  11207. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  11208. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  11209.   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  11210. else
  11211.  
  11212.     lt_cv_dlopen="dyld"
  11213.     lt_cv_dlopen_libs=
  11214.     lt_cv_dlopen_self=yes
  11215.  
  11216. fi
  11217.  
  11218.     ;;
  11219.  
  11220.   *)
  11221.     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
  11222. $as_echo_n "checking for shl_load... " >&6; }
  11223. if test "${ac_cv_func_shl_load+set}" = set; then
  11224.   $as_echo_n "(cached) " >&6
  11225. else
  11226.   cat >conftest.$ac_ext <<_ACEOF
  11227. /* confdefs.h.  */
  11228. _ACEOF
  11229. cat confdefs.h >>conftest.$ac_ext
  11230. cat >>conftest.$ac_ext <<_ACEOF
  11231. /* end confdefs.h.  */
  11232. /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  11233.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  11234. #define shl_load innocuous_shl_load
  11235.  
  11236. /* System header to define __stub macros and hopefully few prototypes,
  11237.     which can conflict with char shl_load (); below.
  11238.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11239.     <limits.h> exists even on freestanding compilers.  */
  11240.  
  11241. #ifdef __STDC__
  11242. # include <limits.h>
  11243. #else
  11244. # include <assert.h>
  11245. #endif
  11246.  
  11247. #undef shl_load
  11248.  
  11249. /* Override any GCC internal prototype to avoid an error.
  11250.    Use char because int might match the return type of a GCC
  11251.    builtin and then its argument prototype would still apply.  */
  11252. #ifdef __cplusplus
  11253. extern "C"
  11254. #endif
  11255. char shl_load ();
  11256. /* The GNU C library defines this for functions which it implements
  11257.     to always fail with ENOSYS.  Some functions are actually named
  11258.     something starting with __ and the normal name is an alias.  */
  11259. #if defined __stub_shl_load || defined __stub___shl_load
  11260. choke me
  11261. #endif
  11262.  
  11263. int
  11264. main ()
  11265. {
  11266. return shl_load ();
  11267.   ;
  11268.   return 0;
  11269. }
  11270. _ACEOF
  11271. rm -f conftest.$ac_objext conftest$ac_exeext
  11272. if { (ac_try="$ac_link"
  11273. case "(($ac_try" in
  11274.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11275.   *) ac_try_echo=$ac_try;;
  11276. esac
  11277. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11278. $as_echo "$ac_try_echo") >&5
  11279.   (eval "$ac_link") 2>conftest.er1
  11280.   ac_status=$?
  11281.   grep -v '^ *+' conftest.er1 >conftest.err
  11282.   rm -f conftest.er1
  11283.   cat conftest.err >&5
  11284.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11285.   (exit $ac_status); } && {
  11286.      test -z "$ac_c_werror_flag" ||
  11287.      test ! -s conftest.err
  11288.        } && test -s conftest$ac_exeext && {
  11289.      test "$cross_compiling" = yes ||
  11290.      $as_test_x conftest$ac_exeext
  11291.        }; then
  11292.   ac_cv_func_shl_load=yes
  11293. else
  11294.   $as_echo "$as_me: failed program was:" >&5
  11295. sed 's/^/| /' conftest.$ac_ext >&5
  11296.  
  11297.     ac_cv_func_shl_load=no
  11298. fi
  11299.  
  11300. rm -rf conftest.dSYM
  11301. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11302.       conftest$ac_exeext conftest.$ac_ext
  11303. fi
  11304. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  11305. $as_echo "$ac_cv_func_shl_load" >&6; }
  11306. if test "x$ac_cv_func_shl_load" = x""yes; then
  11307.   lt_cv_dlopen="shl_load"
  11308. else
  11309.   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  11310. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  11311. if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  11312.   $as_echo_n "(cached) " >&6
  11313. else
  11314.   ac_check_lib_save_LIBS=$LIBS
  11315. LIBS="-ldld  $LIBS"
  11316. cat >conftest.$ac_ext <<_ACEOF
  11317. /* confdefs.h.  */
  11318. _ACEOF
  11319. cat confdefs.h >>conftest.$ac_ext
  11320. cat >>conftest.$ac_ext <<_ACEOF
  11321. /* end confdefs.h.  */
  11322.  
  11323. /* Override any GCC internal prototype to avoid an error.
  11324.    Use char because int might match the return type of a GCC
  11325.    builtin and then its argument prototype would still apply.  */
  11326. #ifdef __cplusplus
  11327. extern "C"
  11328. #endif
  11329. char shl_load ();
  11330. int
  11331. main ()
  11332. {
  11333. return shl_load ();
  11334.   ;
  11335.   return 0;
  11336. }
  11337. _ACEOF
  11338. rm -f conftest.$ac_objext conftest$ac_exeext
  11339. if { (ac_try="$ac_link"
  11340. case "(($ac_try" in
  11341.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11342.   *) ac_try_echo=$ac_try;;
  11343. esac
  11344. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11345. $as_echo "$ac_try_echo") >&5
  11346.   (eval "$ac_link") 2>conftest.er1
  11347.   ac_status=$?
  11348.   grep -v '^ *+' conftest.er1 >conftest.err
  11349.   rm -f conftest.er1
  11350.   cat conftest.err >&5
  11351.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11352.   (exit $ac_status); } && {
  11353.      test -z "$ac_c_werror_flag" ||
  11354.      test ! -s conftest.err
  11355.        } && test -s conftest$ac_exeext && {
  11356.      test "$cross_compiling" = yes ||
  11357.      $as_test_x conftest$ac_exeext
  11358.        }; then
  11359.   ac_cv_lib_dld_shl_load=yes
  11360. else
  11361.   $as_echo "$as_me: failed program was:" >&5
  11362. sed 's/^/| /' conftest.$ac_ext >&5
  11363.  
  11364.     ac_cv_lib_dld_shl_load=no
  11365. fi
  11366.  
  11367. rm -rf conftest.dSYM
  11368. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11369.       conftest$ac_exeext conftest.$ac_ext
  11370. LIBS=$ac_check_lib_save_LIBS
  11371. fi
  11372. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  11373. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  11374. if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
  11375.   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  11376. else
  11377.   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
  11378. $as_echo_n "checking for dlopen... " >&6; }
  11379. if test "${ac_cv_func_dlopen+set}" = set; then
  11380.   $as_echo_n "(cached) " >&6
  11381. else
  11382.   cat >conftest.$ac_ext <<_ACEOF
  11383. /* confdefs.h.  */
  11384. _ACEOF
  11385. cat confdefs.h >>conftest.$ac_ext
  11386. cat >>conftest.$ac_ext <<_ACEOF
  11387. /* end confdefs.h.  */
  11388. /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  11389.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  11390. #define dlopen innocuous_dlopen
  11391.  
  11392. /* System header to define __stub macros and hopefully few prototypes,
  11393.     which can conflict with char dlopen (); below.
  11394.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11395.     <limits.h> exists even on freestanding compilers.  */
  11396.  
  11397. #ifdef __STDC__
  11398. # include <limits.h>
  11399. #else
  11400. # include <assert.h>
  11401. #endif
  11402.  
  11403. #undef dlopen
  11404.  
  11405. /* Override any GCC internal prototype to avoid an error.
  11406.    Use char because int might match the return type of a GCC
  11407.    builtin and then its argument prototype would still apply.  */
  11408. #ifdef __cplusplus
  11409. extern "C"
  11410. #endif
  11411. char dlopen ();
  11412. /* The GNU C library defines this for functions which it implements
  11413.     to always fail with ENOSYS.  Some functions are actually named
  11414.     something starting with __ and the normal name is an alias.  */
  11415. #if defined __stub_dlopen || defined __stub___dlopen
  11416. choke me
  11417. #endif
  11418.  
  11419. int
  11420. main ()
  11421. {
  11422. return dlopen ();
  11423.   ;
  11424.   return 0;
  11425. }
  11426. _ACEOF
  11427. rm -f conftest.$ac_objext conftest$ac_exeext
  11428. if { (ac_try="$ac_link"
  11429. case "(($ac_try" in
  11430.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11431.   *) ac_try_echo=$ac_try;;
  11432. esac
  11433. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11434. $as_echo "$ac_try_echo") >&5
  11435.   (eval "$ac_link") 2>conftest.er1
  11436.   ac_status=$?
  11437.   grep -v '^ *+' conftest.er1 >conftest.err
  11438.   rm -f conftest.er1
  11439.   cat conftest.err >&5
  11440.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11441.   (exit $ac_status); } && {
  11442.      test -z "$ac_c_werror_flag" ||
  11443.      test ! -s conftest.err
  11444.        } && test -s conftest$ac_exeext && {
  11445.      test "$cross_compiling" = yes ||
  11446.      $as_test_x conftest$ac_exeext
  11447.        }; then
  11448.   ac_cv_func_dlopen=yes
  11449. else
  11450.   $as_echo "$as_me: failed program was:" >&5
  11451. sed 's/^/| /' conftest.$ac_ext >&5
  11452.  
  11453.     ac_cv_func_dlopen=no
  11454. fi
  11455.  
  11456. rm -rf conftest.dSYM
  11457. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11458.       conftest$ac_exeext conftest.$ac_ext
  11459. fi
  11460. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  11461. $as_echo "$ac_cv_func_dlopen" >&6; }
  11462. if test "x$ac_cv_func_dlopen" = x""yes; then
  11463.   lt_cv_dlopen="dlopen"
  11464. else
  11465.   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  11466. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  11467. if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  11468.   $as_echo_n "(cached) " >&6
  11469. else
  11470.   ac_check_lib_save_LIBS=$LIBS
  11471. LIBS="-ldl  $LIBS"
  11472. cat >conftest.$ac_ext <<_ACEOF
  11473. /* confdefs.h.  */
  11474. _ACEOF
  11475. cat confdefs.h >>conftest.$ac_ext
  11476. cat >>conftest.$ac_ext <<_ACEOF
  11477. /* end confdefs.h.  */
  11478.  
  11479. /* Override any GCC internal prototype to avoid an error.
  11480.    Use char because int might match the return type of a GCC
  11481.    builtin and then its argument prototype would still apply.  */
  11482. #ifdef __cplusplus
  11483. extern "C"
  11484. #endif
  11485. char dlopen ();
  11486. int
  11487. main ()
  11488. {
  11489. return dlopen ();
  11490.   ;
  11491.   return 0;
  11492. }
  11493. _ACEOF
  11494. rm -f conftest.$ac_objext conftest$ac_exeext
  11495. if { (ac_try="$ac_link"
  11496. case "(($ac_try" in
  11497.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11498.   *) ac_try_echo=$ac_try;;
  11499. esac
  11500. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11501. $as_echo "$ac_try_echo") >&5
  11502.   (eval "$ac_link") 2>conftest.er1
  11503.   ac_status=$?
  11504.   grep -v '^ *+' conftest.er1 >conftest.err
  11505.   rm -f conftest.er1
  11506.   cat conftest.err >&5
  11507.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11508.   (exit $ac_status); } && {
  11509.      test -z "$ac_c_werror_flag" ||
  11510.      test ! -s conftest.err
  11511.        } && test -s conftest$ac_exeext && {
  11512.      test "$cross_compiling" = yes ||
  11513.      $as_test_x conftest$ac_exeext
  11514.        }; then
  11515.   ac_cv_lib_dl_dlopen=yes
  11516. else
  11517.   $as_echo "$as_me: failed program was:" >&5
  11518. sed 's/^/| /' conftest.$ac_ext >&5
  11519.  
  11520.     ac_cv_lib_dl_dlopen=no
  11521. fi
  11522.  
  11523. rm -rf conftest.dSYM
  11524. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11525.       conftest$ac_exeext conftest.$ac_ext
  11526. LIBS=$ac_check_lib_save_LIBS
  11527. fi
  11528. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  11529. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  11530. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  11531.   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  11532. else
  11533.   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  11534. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  11535. if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  11536.   $as_echo_n "(cached) " >&6
  11537. else
  11538.   ac_check_lib_save_LIBS=$LIBS
  11539. LIBS="-lsvld  $LIBS"
  11540. cat >conftest.$ac_ext <<_ACEOF
  11541. /* confdefs.h.  */
  11542. _ACEOF
  11543. cat confdefs.h >>conftest.$ac_ext
  11544. cat >>conftest.$ac_ext <<_ACEOF
  11545. /* end confdefs.h.  */
  11546.  
  11547. /* Override any GCC internal prototype to avoid an error.
  11548.    Use char because int might match the return type of a GCC
  11549.    builtin and then its argument prototype would still apply.  */
  11550. #ifdef __cplusplus
  11551. extern "C"
  11552. #endif
  11553. char dlopen ();
  11554. int
  11555. main ()
  11556. {
  11557. return dlopen ();
  11558.   ;
  11559.   return 0;
  11560. }
  11561. _ACEOF
  11562. rm -f conftest.$ac_objext conftest$ac_exeext
  11563. if { (ac_try="$ac_link"
  11564. case "(($ac_try" in
  11565.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11566.   *) ac_try_echo=$ac_try;;
  11567. esac
  11568. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11569. $as_echo "$ac_try_echo") >&5
  11570.   (eval "$ac_link") 2>conftest.er1
  11571.   ac_status=$?
  11572.   grep -v '^ *+' conftest.er1 >conftest.err
  11573.   rm -f conftest.er1
  11574.   cat conftest.err >&5
  11575.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11576.   (exit $ac_status); } && {
  11577.      test -z "$ac_c_werror_flag" ||
  11578.      test ! -s conftest.err
  11579.        } && test -s conftest$ac_exeext && {
  11580.      test "$cross_compiling" = yes ||
  11581.      $as_test_x conftest$ac_exeext
  11582.        }; then
  11583.   ac_cv_lib_svld_dlopen=yes
  11584. else
  11585.   $as_echo "$as_me: failed program was:" >&5
  11586. sed 's/^/| /' conftest.$ac_ext >&5
  11587.  
  11588.     ac_cv_lib_svld_dlopen=no
  11589. fi
  11590.  
  11591. rm -rf conftest.dSYM
  11592. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11593.       conftest$ac_exeext conftest.$ac_ext
  11594. LIBS=$ac_check_lib_save_LIBS
  11595. fi
  11596. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  11597. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  11598. if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
  11599.   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  11600. else
  11601.   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  11602. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  11603. if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  11604.   $as_echo_n "(cached) " >&6
  11605. else
  11606.   ac_check_lib_save_LIBS=$LIBS
  11607. LIBS="-ldld  $LIBS"
  11608. cat >conftest.$ac_ext <<_ACEOF
  11609. /* confdefs.h.  */
  11610. _ACEOF
  11611. cat confdefs.h >>conftest.$ac_ext
  11612. cat >>conftest.$ac_ext <<_ACEOF
  11613. /* end confdefs.h.  */
  11614.  
  11615. /* Override any GCC internal prototype to avoid an error.
  11616.    Use char because int might match the return type of a GCC
  11617.    builtin and then its argument prototype would still apply.  */
  11618. #ifdef __cplusplus
  11619. extern "C"
  11620. #endif
  11621. char dld_link ();
  11622. int
  11623. main ()
  11624. {
  11625. return dld_link ();
  11626.   ;
  11627.   return 0;
  11628. }
  11629. _ACEOF
  11630. rm -f conftest.$ac_objext conftest$ac_exeext
  11631. if { (ac_try="$ac_link"
  11632. case "(($ac_try" in
  11633.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11634.   *) ac_try_echo=$ac_try;;
  11635. esac
  11636. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11637. $as_echo "$ac_try_echo") >&5
  11638.   (eval "$ac_link") 2>conftest.er1
  11639.   ac_status=$?
  11640.   grep -v '^ *+' conftest.er1 >conftest.err
  11641.   rm -f conftest.er1
  11642.   cat conftest.err >&5
  11643.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11644.   (exit $ac_status); } && {
  11645.      test -z "$ac_c_werror_flag" ||
  11646.      test ! -s conftest.err
  11647.        } && test -s conftest$ac_exeext && {
  11648.      test "$cross_compiling" = yes ||
  11649.      $as_test_x conftest$ac_exeext
  11650.        }; then
  11651.   ac_cv_lib_dld_dld_link=yes
  11652. else
  11653.   $as_echo "$as_me: failed program was:" >&5
  11654. sed 's/^/| /' conftest.$ac_ext >&5
  11655.  
  11656.     ac_cv_lib_dld_dld_link=no
  11657. fi
  11658.  
  11659. rm -rf conftest.dSYM
  11660. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11661.       conftest$ac_exeext conftest.$ac_ext
  11662. LIBS=$ac_check_lib_save_LIBS
  11663. fi
  11664. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  11665. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  11666. if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
  11667.   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  11668. fi
  11669.  
  11670.  
  11671. fi
  11672.  
  11673.  
  11674. fi
  11675.  
  11676.  
  11677. fi
  11678.  
  11679.  
  11680. fi
  11681.  
  11682.  
  11683. fi
  11684.  
  11685.     ;;
  11686.   esac
  11687.  
  11688.   if test "x$lt_cv_dlopen" != xno; then
  11689.     enable_dlopen=yes
  11690.   else
  11691.     enable_dlopen=no
  11692.   fi
  11693.  
  11694.   case $lt_cv_dlopen in
  11695.   dlopen)
  11696.     save_CPPFLAGS="$CPPFLAGS"
  11697.     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  11698.  
  11699.     save_LDFLAGS="$LDFLAGS"
  11700.     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  11701.  
  11702.     save_LIBS="$LIBS"
  11703.     LIBS="$lt_cv_dlopen_libs $LIBS"
  11704.  
  11705.     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  11706. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  11707. if test "${lt_cv_dlopen_self+set}" = set; then
  11708.   $as_echo_n "(cached) " >&6
  11709. else
  11710.       if test "$cross_compiling" = yes; then :
  11711.   lt_cv_dlopen_self=cross
  11712. else
  11713.   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  11714.   lt_status=$lt_dlunknown
  11715.   cat > conftest.$ac_ext <<_LT_EOF
  11716. #line 11716 "configure"
  11717. #include "confdefs.h"
  11718.  
  11719. #if HAVE_DLFCN_H
  11720. #include <dlfcn.h>
  11721. #endif
  11722.  
  11723. #include <stdio.h>
  11724.  
  11725. #ifdef RTLD_GLOBAL
  11726. #  define LT_DLGLOBAL       RTLD_GLOBAL
  11727. #else
  11728. #  ifdef DL_GLOBAL
  11729. #    define LT_DLGLOBAL     DL_GLOBAL
  11730. #  else
  11731. #    define LT_DLGLOBAL     0
  11732. #  endif
  11733. #endif
  11734.  
  11735. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  11736.    find out it does not work in some platform. */
  11737. #ifndef LT_DLLAZY_OR_NOW
  11738. #  ifdef RTLD_LAZY
  11739. #    define LT_DLLAZY_OR_NOW        RTLD_LAZY
  11740. #  else
  11741. #    ifdef DL_LAZY
  11742. #      define LT_DLLAZY_OR_NOW      DL_LAZY
  11743. #    else
  11744. #      ifdef RTLD_NOW
  11745. #        define LT_DLLAZY_OR_NOW    RTLD_NOW
  11746. #      else
  11747. #        ifdef DL_NOW
  11748. #          define LT_DLLAZY_OR_NOW  DL_NOW
  11749. #        else
  11750. #          define LT_DLLAZY_OR_NOW  0
  11751. #        endif
  11752. #      endif
  11753. #    endif
  11754. #  endif
  11755. #endif
  11756.  
  11757. void fnord() { int i=42;}
  11758. int main ()
  11759. {
  11760.   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  11761.   int status = $lt_dlunknown;
  11762.  
  11763.   if (self)
  11764.     {
  11765.       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  11766.       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  11767.       /* dlclose (self); */
  11768.     }
  11769.   else
  11770.     puts (dlerror ());
  11771.  
  11772.   return status;
  11773. }
  11774. _LT_EOF
  11775.   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  11776.   (eval $ac_link) 2>&5
  11777.   ac_status=$?
  11778.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11779.   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  11780.     (./conftest; exit; ) >&5 2>/dev/null
  11781.     lt_status=$?
  11782.     case x$lt_status in
  11783.       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  11784.       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  11785.       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  11786.     esac
  11787.   else :
  11788.     # compilation failed
  11789.     lt_cv_dlopen_self=no
  11790.   fi
  11791. fi
  11792. rm -fr conftest*
  11793.  
  11794.  
  11795. fi
  11796. { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  11797. $as_echo "$lt_cv_dlopen_self" >&6; }
  11798.  
  11799.     if test "x$lt_cv_dlopen_self" = xyes; then
  11800.       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  11801.       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  11802. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  11803. if test "${lt_cv_dlopen_self_static+set}" = set; then
  11804.   $as_echo_n "(cached) " >&6
  11805. else
  11806.       if test "$cross_compiling" = yes; then :
  11807.   lt_cv_dlopen_self_static=cross
  11808. else
  11809.   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  11810.   lt_status=$lt_dlunknown
  11811.   cat > conftest.$ac_ext <<_LT_EOF
  11812. #line 11812 "configure"
  11813. #include "confdefs.h"
  11814.  
  11815. #if HAVE_DLFCN_H
  11816. #include <dlfcn.h>
  11817. #endif
  11818.  
  11819. #include <stdio.h>
  11820.  
  11821. #ifdef RTLD_GLOBAL
  11822. #  define LT_DLGLOBAL       RTLD_GLOBAL
  11823. #else
  11824. #  ifdef DL_GLOBAL
  11825. #    define LT_DLGLOBAL     DL_GLOBAL
  11826. #  else
  11827. #    define LT_DLGLOBAL     0
  11828. #  endif
  11829. #endif
  11830.  
  11831. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  11832.    find out it does not work in some platform. */
  11833. #ifndef LT_DLLAZY_OR_NOW
  11834. #  ifdef RTLD_LAZY
  11835. #    define LT_DLLAZY_OR_NOW        RTLD_LAZY
  11836. #  else
  11837. #    ifdef DL_LAZY
  11838. #      define LT_DLLAZY_OR_NOW      DL_LAZY
  11839. #    else
  11840. #      ifdef RTLD_NOW
  11841. #        define LT_DLLAZY_OR_NOW    RTLD_NOW
  11842. #      else
  11843. #        ifdef DL_NOW
  11844. #          define LT_DLLAZY_OR_NOW  DL_NOW
  11845. #        else
  11846. #          define LT_DLLAZY_OR_NOW  0
  11847. #        endif
  11848. #      endif
  11849. #    endif
  11850. #  endif
  11851. #endif
  11852.  
  11853. void fnord() { int i=42;}
  11854. int main ()
  11855. {
  11856.   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  11857.   int status = $lt_dlunknown;
  11858.  
  11859.   if (self)
  11860.     {
  11861.       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  11862.       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  11863.       /* dlclose (self); */
  11864.     }
  11865.   else
  11866.     puts (dlerror ());
  11867.  
  11868.   return status;
  11869. }
  11870. _LT_EOF
  11871.   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  11872.   (eval $ac_link) 2>&5
  11873.   ac_status=$?
  11874.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11875.   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  11876.     (./conftest; exit; ) >&5 2>/dev/null
  11877.     lt_status=$?
  11878.     case x$lt_status in
  11879.       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  11880.       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  11881.       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  11882.     esac
  11883.   else :
  11884.     # compilation failed
  11885.     lt_cv_dlopen_self_static=no
  11886.   fi
  11887. fi
  11888. rm -fr conftest*
  11889.  
  11890.  
  11891. fi
  11892. { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  11893. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  11894.     fi
  11895.  
  11896.     CPPFLAGS="$save_CPPFLAGS"
  11897.     LDFLAGS="$save_LDFLAGS"
  11898.     LIBS="$save_LIBS"
  11899.     ;;
  11900.   esac
  11901.  
  11902.   case $lt_cv_dlopen_self in
  11903.   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  11904.   *) enable_dlopen_self=unknown ;;
  11905.   esac
  11906.  
  11907.   case $lt_cv_dlopen_self_static in
  11908.   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  11909.   *) enable_dlopen_self_static=unknown ;;
  11910.   esac
  11911. fi
  11912.  
  11913.  
  11914.  
  11915.  
  11916.  
  11917.  
  11918.  
  11919.  
  11920.  
  11921.  
  11922.  
  11923.  
  11924.  
  11925.  
  11926.  
  11927.  
  11928.  
  11929. striplib=
  11930. old_striplib=
  11931. { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  11932. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  11933. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  11934.   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  11935.   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  11936.   { $as_echo "$as_me:$LINENO: result: yes" >&5
  11937. $as_echo "yes" >&6; }
  11938. else
  11939. # FIXME - insert some real tests, host_os isn't really good enough
  11940.   case $host_os in
  11941.   darwin*)
  11942.     if test -n "$STRIP" ; then
  11943.       striplib="$STRIP -x"
  11944.       old_striplib="$STRIP -S"
  11945.       { $as_echo "$as_me:$LINENO: result: yes" >&5
  11946. $as_echo "yes" >&6; }
  11947.     else
  11948.       { $as_echo "$as_me:$LINENO: result: no" >&5
  11949. $as_echo "no" >&6; }
  11950.     fi
  11951.     ;;
  11952.   *)
  11953.     { $as_echo "$as_me:$LINENO: result: no" >&5
  11954. $as_echo "no" >&6; }
  11955.     ;;
  11956.   esac
  11957. fi
  11958.  
  11959.  
  11960.  
  11961.  
  11962.  
  11963.  
  11964.  
  11965.  
  11966.  
  11967.  
  11968.  
  11969.  
  11970.   # Report which library types will actually be built
  11971.   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  11972. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  11973.   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
  11974. $as_echo "$can_build_shared" >&6; }
  11975.  
  11976.   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  11977. $as_echo_n "checking whether to build shared libraries... " >&6; }
  11978.   test "$can_build_shared" = "no" && enable_shared=no
  11979.  
  11980.   # On AIX, shared libraries and static libraries use the same namespace, and
  11981.   # are all built from PIC.
  11982.   case $host_os in
  11983.   aix3*)
  11984.     test "$enable_shared" = yes && enable_static=no
  11985.     if test -n "$RANLIB"; then
  11986.       archive_cmds="$archive_cmds~\$RANLIB \$lib"
  11987.       postinstall_cmds='$RANLIB $lib'
  11988.     fi
  11989.     ;;
  11990.  
  11991.   aix[4-9]*)
  11992.     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  11993.       test "$enable_shared" = yes && enable_static=no
  11994.     fi
  11995.     ;;
  11996.   esac
  11997.   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
  11998. $as_echo "$enable_shared" >&6; }
  11999.  
  12000.   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  12001. $as_echo_n "checking whether to build static libraries... " >&6; }
  12002.   # Make sure either enable_shared or enable_static is yes.
  12003.   test "$enable_shared" = yes || enable_static=yes
  12004.   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
  12005. $as_echo "$enable_static" >&6; }
  12006.  
  12007.  
  12008.  
  12009.  
  12010. fi
  12011. ac_ext=c
  12012. ac_cpp='$CPP $CPPFLAGS'
  12013. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12014. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12015. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12016.  
  12017. CC="$lt_save_CC"
  12018.  
  12019.  
  12020.  
  12021.  
  12022.  
  12023.  
  12024.  
  12025.  
  12026.  
  12027.  
  12028.  
  12029.  
  12030.  
  12031.         ac_config_commands="$ac_config_commands libtool"
  12032.  
  12033.  
  12034.  
  12035.  
  12036. # Only expand once:
  12037.  
  12038.  
  12039.  
  12040.  
  12041.     { $as_echo "$as_me:$LINENO: checking for ppoll" >&5
  12042. $as_echo_n "checking for ppoll... " >&6; }
  12043. if test "${ac_cv_func_ppoll+set}" = set; then
  12044.   $as_echo_n "(cached) " >&6
  12045. else
  12046.   cat >conftest.$ac_ext <<_ACEOF
  12047. /* confdefs.h.  */
  12048. _ACEOF
  12049. cat confdefs.h >>conftest.$ac_ext
  12050. cat >>conftest.$ac_ext <<_ACEOF
  12051. /* end confdefs.h.  */
  12052. /* Define ppoll to an innocuous variant, in case <limits.h> declares ppoll.
  12053.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  12054. #define ppoll innocuous_ppoll
  12055.  
  12056. /* System header to define __stub macros and hopefully few prototypes,
  12057.     which can conflict with char ppoll (); below.
  12058.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  12059.     <limits.h> exists even on freestanding compilers.  */
  12060.  
  12061. #ifdef __STDC__
  12062. # include <limits.h>
  12063. #else
  12064. # include <assert.h>
  12065. #endif
  12066.  
  12067. #undef ppoll
  12068.  
  12069. /* Override any GCC internal prototype to avoid an error.
  12070.    Use char because int might match the return type of a GCC
  12071.    builtin and then its argument prototype would still apply.  */
  12072. #ifdef __cplusplus
  12073. extern "C"
  12074. #endif
  12075. char ppoll ();
  12076. /* The GNU C library defines this for functions which it implements
  12077.     to always fail with ENOSYS.  Some functions are actually named
  12078.     something starting with __ and the normal name is an alias.  */
  12079. #if defined __stub_ppoll || defined __stub___ppoll
  12080. choke me
  12081. #endif
  12082.  
  12083. int
  12084. main ()
  12085. {
  12086. return ppoll ();
  12087.   ;
  12088.   return 0;
  12089. }
  12090. _ACEOF
  12091. rm -f conftest.$ac_objext conftest$ac_exeext
  12092. if { (ac_try="$ac_link"
  12093. case "(($ac_try" in
  12094.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12095.   *) ac_try_echo=$ac_try;;
  12096. esac
  12097. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12098. $as_echo "$ac_try_echo") >&5
  12099.   (eval "$ac_link") 2>conftest.er1
  12100.   ac_status=$?
  12101.   grep -v '^ *+' conftest.er1 >conftest.err
  12102.   rm -f conftest.er1
  12103.   cat conftest.err >&5
  12104.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12105.   (exit $ac_status); } && {
  12106.      test -z "$ac_c_werror_flag" ||
  12107.      test ! -s conftest.err
  12108.        } && test -s conftest$ac_exeext && {
  12109.      test "$cross_compiling" = yes ||
  12110.      $as_test_x conftest$ac_exeext
  12111.        }; then
  12112.   ac_cv_func_ppoll=yes
  12113. else
  12114.   $as_echo "$as_me: failed program was:" >&5
  12115. sed 's/^/| /' conftest.$ac_ext >&5
  12116.  
  12117.     ac_cv_func_ppoll=no
  12118. fi
  12119.  
  12120. rm -rf conftest.dSYM
  12121. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12122.       conftest$ac_exeext conftest.$ac_ext
  12123. fi
  12124. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_ppoll" >&5
  12125. $as_echo "$ac_cv_func_ppoll" >&6; }
  12126. if test "x$ac_cv_func_ppoll" = x""yes; then
  12127.   dummy=yes
  12128. else
  12129.  
  12130. cat >>confdefs.h <<\_ACEOF
  12131. #define NEED_PPOLL 1
  12132. _ACEOF
  12133.  
  12134. fi
  12135.  
  12136.  
  12137.  
  12138. { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  12139. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  12140. if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  12141.   $as_echo_n "(cached) " >&6
  12142. else
  12143.   ac_check_lib_save_LIBS=$LIBS
  12144. LIBS="-ldl  $LIBS"
  12145. cat >conftest.$ac_ext <<_ACEOF
  12146. /* confdefs.h.  */
  12147. _ACEOF
  12148. cat confdefs.h >>conftest.$ac_ext
  12149. cat >>conftest.$ac_ext <<_ACEOF
  12150. /* end confdefs.h.  */
  12151.  
  12152. /* Override any GCC internal prototype to avoid an error.
  12153.    Use char because int might match the return type of a GCC
  12154.    builtin and then its argument prototype would still apply.  */
  12155. #ifdef __cplusplus
  12156. extern "C"
  12157. #endif
  12158. char dlopen ();
  12159. int
  12160. main ()
  12161. {
  12162. return dlopen ();
  12163.   ;
  12164.   return 0;
  12165. }
  12166. _ACEOF
  12167. rm -f conftest.$ac_objext conftest$ac_exeext
  12168. if { (ac_try="$ac_link"
  12169. case "(($ac_try" in
  12170.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12171.   *) ac_try_echo=$ac_try;;
  12172. esac
  12173. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12174. $as_echo "$ac_try_echo") >&5
  12175.   (eval "$ac_link") 2>conftest.er1
  12176.   ac_status=$?
  12177.   grep -v '^ *+' conftest.er1 >conftest.err
  12178.   rm -f conftest.er1
  12179.   cat conftest.err >&5
  12180.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12181.   (exit $ac_status); } && {
  12182.      test -z "$ac_c_werror_flag" ||
  12183.      test ! -s conftest.err
  12184.        } && test -s conftest$ac_exeext && {
  12185.      test "$cross_compiling" = yes ||
  12186.      $as_test_x conftest$ac_exeext
  12187.        }; then
  12188.   ac_cv_lib_dl_dlopen=yes
  12189. else
  12190.   $as_echo "$as_me: failed program was:" >&5
  12191. sed 's/^/| /' conftest.$ac_ext >&5
  12192.  
  12193.     ac_cv_lib_dl_dlopen=no
  12194. fi
  12195.  
  12196. rm -rf conftest.dSYM
  12197. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12198.       conftest$ac_exeext conftest.$ac_ext
  12199. LIBS=$ac_check_lib_save_LIBS
  12200. fi
  12201. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  12202. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  12203. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  12204.   dummy=yes
  12205. else
  12206.   { { $as_echo "$as_me:$LINENO: error: dynamic linking loader is required" >&5
  12207. $as_echo "$as_me: error: dynamic linking loader is required" >&2;}
  12208.    { (exit 1); exit 1; }; }
  12209. fi
  12210.  
  12211.  
  12212.  
  12213.  
  12214. pkg_failed=no
  12215. { $as_echo "$as_me:$LINENO: checking for DBUS" >&5
  12216. $as_echo_n "checking for DBUS... " >&6; }
  12217.  
  12218. if test -n "$DBUS_CFLAGS"; then
  12219.     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
  12220.  elif test -n "$PKG_CONFIG"; then
  12221.     if test -n "$PKG_CONFIG" && \
  12222.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\"") >&5
  12223.   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
  12224.   ac_status=$?
  12225.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12226.   (exit $ac_status); }; then
  12227.   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
  12228. else
  12229.   pkg_failed=yes
  12230. fi
  12231.  else
  12232.     pkg_failed=untried
  12233. fi
  12234. if test -n "$DBUS_LIBS"; then
  12235.     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
  12236.  elif test -n "$PKG_CONFIG"; then
  12237.     if test -n "$PKG_CONFIG" && \
  12238.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\"") >&5
  12239.   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
  12240.   ac_status=$?
  12241.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12242.   (exit $ac_status); }; then
  12243.   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
  12244. else
  12245.   pkg_failed=yes
  12246. fi
  12247.  else
  12248.     pkg_failed=untried
  12249. fi
  12250.  
  12251.  
  12252.  
  12253. if test $pkg_failed = yes; then
  12254.  
  12255. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  12256.         _pkg_short_errors_supported=yes
  12257. else
  12258.         _pkg_short_errors_supported=no
  12259. fi
  12260.         if test $_pkg_short_errors_supported = yes; then
  12261.             DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0" 2>&1`
  12262.         else
  12263.             DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.0" 2>&1`
  12264.         fi
  12265.     # Put the nasty error message in config.log where it belongs
  12266.     echo "$DBUS_PKG_ERRORS" >&5
  12267.  
  12268.     { $as_echo "$as_me:$LINENO: result: no" >&5
  12269. $as_echo "no" >&6; }
  12270.                 { { $as_echo "$as_me:$LINENO: error: D-Bus library is required" >&5
  12271. $as_echo "$as_me: error: D-Bus library is required" >&2;}
  12272.    { (exit 1); exit 1; }; }
  12273. elif test $pkg_failed = untried; then
  12274.     { { $as_echo "$as_me:$LINENO: error: D-Bus library is required" >&5
  12275. $as_echo "$as_me: error: D-Bus library is required" >&2;}
  12276.    { (exit 1); exit 1; }; }
  12277. else
  12278.     DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
  12279.     DBUS_LIBS=$pkg_cv_DBUS_LIBS
  12280.         { $as_echo "$as_me:$LINENO: result: yes" >&5
  12281. $as_echo "yes" >&6; }
  12282.     dummy=yes
  12283. fi
  12284.     { $as_echo "$as_me:$LINENO: checking for dbus_watch_get_unix_fd in -ldbus-1" >&5
  12285. $as_echo_n "checking for dbus_watch_get_unix_fd in -ldbus-1... " >&6; }
  12286. if test "${ac_cv_lib_dbus_1_dbus_watch_get_unix_fd+set}" = set; then
  12287.   $as_echo_n "(cached) " >&6
  12288. else
  12289.   ac_check_lib_save_LIBS=$LIBS
  12290. LIBS="-ldbus-1  $LIBS"
  12291. cat >conftest.$ac_ext <<_ACEOF
  12292. /* confdefs.h.  */
  12293. _ACEOF
  12294. cat confdefs.h >>conftest.$ac_ext
  12295. cat >>conftest.$ac_ext <<_ACEOF
  12296. /* end confdefs.h.  */
  12297.  
  12298. /* Override any GCC internal prototype to avoid an error.
  12299.    Use char because int might match the return type of a GCC
  12300.    builtin and then its argument prototype would still apply.  */
  12301. #ifdef __cplusplus
  12302. extern "C"
  12303. #endif
  12304. char dbus_watch_get_unix_fd ();
  12305. int
  12306. main ()
  12307. {
  12308. return dbus_watch_get_unix_fd ();
  12309.   ;
  12310.   return 0;
  12311. }
  12312. _ACEOF
  12313. rm -f conftest.$ac_objext conftest$ac_exeext
  12314. if { (ac_try="$ac_link"
  12315. case "(($ac_try" in
  12316.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12317.   *) ac_try_echo=$ac_try;;
  12318. esac
  12319. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12320. $as_echo "$ac_try_echo") >&5
  12321.   (eval "$ac_link") 2>conftest.er1
  12322.   ac_status=$?
  12323.   grep -v '^ *+' conftest.er1 >conftest.err
  12324.   rm -f conftest.er1
  12325.   cat conftest.err >&5
  12326.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12327.   (exit $ac_status); } && {
  12328.      test -z "$ac_c_werror_flag" ||
  12329.      test ! -s conftest.err
  12330.        } && test -s conftest$ac_exeext && {
  12331.      test "$cross_compiling" = yes ||
  12332.      $as_test_x conftest$ac_exeext
  12333.        }; then
  12334.   ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=yes
  12335. else
  12336.   $as_echo "$as_me: failed program was:" >&5
  12337. sed 's/^/| /' conftest.$ac_ext >&5
  12338.  
  12339.     ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=no
  12340. fi
  12341.  
  12342. rm -rf conftest.dSYM
  12343. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12344.       conftest$ac_exeext conftest.$ac_ext
  12345. LIBS=$ac_check_lib_save_LIBS
  12346. fi
  12347. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&5
  12348. $as_echo "$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&6; }
  12349. if test "x$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" = x""yes; then
  12350.   dummy=yes
  12351. else
  12352.  
  12353. cat >>confdefs.h <<\_ACEOF
  12354. #define NEED_DBUS_WATCH_GET_UNIX_FD 1
  12355. _ACEOF
  12356.  
  12357. fi
  12358.  
  12359.     { $as_echo "$as_me:$LINENO: checking for dbus_connection_can_send_type in -ldbus-1" >&5
  12360. $as_echo_n "checking for dbus_connection_can_send_type in -ldbus-1... " >&6; }
  12361. if test "${ac_cv_lib_dbus_1_dbus_connection_can_send_type+set}" = set; then
  12362.   $as_echo_n "(cached) " >&6
  12363. else
  12364.   ac_check_lib_save_LIBS=$LIBS
  12365. LIBS="-ldbus-1  $LIBS"
  12366. cat >conftest.$ac_ext <<_ACEOF
  12367. /* confdefs.h.  */
  12368. _ACEOF
  12369. cat confdefs.h >>conftest.$ac_ext
  12370. cat >>conftest.$ac_ext <<_ACEOF
  12371. /* end confdefs.h.  */
  12372.  
  12373. /* Override any GCC internal prototype to avoid an error.
  12374.    Use char because int might match the return type of a GCC
  12375.    builtin and then its argument prototype would still apply.  */
  12376. #ifdef __cplusplus
  12377. extern "C"
  12378. #endif
  12379. char dbus_connection_can_send_type ();
  12380. int
  12381. main ()
  12382. {
  12383. return dbus_connection_can_send_type ();
  12384.   ;
  12385.   return 0;
  12386. }
  12387. _ACEOF
  12388. rm -f conftest.$ac_objext conftest$ac_exeext
  12389. if { (ac_try="$ac_link"
  12390. case "(($ac_try" in
  12391.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12392.   *) ac_try_echo=$ac_try;;
  12393. esac
  12394. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12395. $as_echo "$ac_try_echo") >&5
  12396.   (eval "$ac_link") 2>conftest.er1
  12397.   ac_status=$?
  12398.   grep -v '^ *+' conftest.er1 >conftest.err
  12399.   rm -f conftest.er1
  12400.   cat conftest.err >&5
  12401.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12402.   (exit $ac_status); } && {
  12403.      test -z "$ac_c_werror_flag" ||
  12404.      test ! -s conftest.err
  12405.        } && test -s conftest$ac_exeext && {
  12406.      test "$cross_compiling" = yes ||
  12407.      $as_test_x conftest$ac_exeext
  12408.        }; then
  12409.   ac_cv_lib_dbus_1_dbus_connection_can_send_type=yes
  12410. else
  12411.   $as_echo "$as_me: failed program was:" >&5
  12412. sed 's/^/| /' conftest.$ac_ext >&5
  12413.  
  12414.     ac_cv_lib_dbus_1_dbus_connection_can_send_type=no
  12415. fi
  12416.  
  12417. rm -rf conftest.dSYM
  12418. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12419.       conftest$ac_exeext conftest.$ac_ext
  12420. LIBS=$ac_check_lib_save_LIBS
  12421. fi
  12422. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_can_send_type" >&5
  12423. $as_echo "$ac_cv_lib_dbus_1_dbus_connection_can_send_type" >&6; }
  12424. if test "x$ac_cv_lib_dbus_1_dbus_connection_can_send_type" = x""yes; then
  12425.   dummy=yes
  12426. else
  12427.  
  12428. cat >>confdefs.h <<\_ACEOF
  12429. #define NEED_DBUS_CONNECTION_CAN_SEND_TYPE 1
  12430. _ACEOF
  12431.  
  12432. fi
  12433.  
  12434.  
  12435.  
  12436.  
  12437.  
  12438.  
  12439. pkg_failed=no
  12440. { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
  12441. $as_echo_n "checking for GLIB... " >&6; }
  12442.  
  12443. if test -n "$GLIB_CFLAGS"; then
  12444.     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
  12445.  elif test -n "$PKG_CONFIG"; then
  12446.     if test -n "$PKG_CONFIG" && \
  12447.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\"") >&5
  12448.   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
  12449.   ac_status=$?
  12450.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12451.   (exit $ac_status); }; then
  12452.   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
  12453. else
  12454.   pkg_failed=yes
  12455. fi
  12456.  else
  12457.     pkg_failed=untried
  12458. fi
  12459. if test -n "$GLIB_LIBS"; then
  12460.     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
  12461.  elif test -n "$PKG_CONFIG"; then
  12462.     if test -n "$PKG_CONFIG" && \
  12463.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\"") >&5
  12464.   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
  12465.   ac_status=$?
  12466.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12467.   (exit $ac_status); }; then
  12468.   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
  12469. else
  12470.   pkg_failed=yes
  12471. fi
  12472.  else
  12473.     pkg_failed=untried
  12474. fi
  12475.  
  12476.  
  12477.  
  12478. if test $pkg_failed = yes; then
  12479.  
  12480. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  12481.         _pkg_short_errors_supported=yes
  12482. else
  12483.         _pkg_short_errors_supported=no
  12484. fi
  12485.         if test $_pkg_short_errors_supported = yes; then
  12486.             GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.16" 2>&1`
  12487.         else
  12488.             GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.16" 2>&1`
  12489.         fi
  12490.     # Put the nasty error message in config.log where it belongs
  12491.     echo "$GLIB_PKG_ERRORS" >&5
  12492.  
  12493.     { $as_echo "$as_me:$LINENO: result: no" >&5
  12494. $as_echo "no" >&6; }
  12495.                 { { $as_echo "$as_me:$LINENO: error: GLib library version 2.16 or later is required" >&5
  12496. $as_echo "$as_me: error: GLib library version 2.16 or later is required" >&2;}
  12497.    { (exit 1); exit 1; }; }
  12498. elif test $pkg_failed = untried; then
  12499.     { { $as_echo "$as_me:$LINENO: error: GLib library version 2.16 or later is required" >&5
  12500. $as_echo "$as_me: error: GLib library version 2.16 or later is required" >&2;}
  12501.    { (exit 1); exit 1; }; }
  12502. else
  12503.     GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
  12504.     GLIB_LIBS=$pkg_cv_GLIB_LIBS
  12505.         { $as_echo "$as_me:$LINENO: result: yes" >&5
  12506. $as_echo "yes" >&6; }
  12507.     dummy=yes
  12508. fi
  12509.  
  12510.  
  12511.  
  12512.  
  12513.  
  12514. pkg_failed=no
  12515. { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
  12516. $as_echo_n "checking for ALSA... " >&6; }
  12517.  
  12518. if test -n "$ALSA_CFLAGS"; then
  12519.     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
  12520.  elif test -n "$PKG_CONFIG"; then
  12521.     if test -n "$PKG_CONFIG" && \
  12522.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
  12523.   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  12524.   ac_status=$?
  12525.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12526.   (exit $ac_status); }; then
  12527.   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
  12528. else
  12529.   pkg_failed=yes
  12530. fi
  12531.  else
  12532.     pkg_failed=untried
  12533. fi
  12534. if test -n "$ALSA_LIBS"; then
  12535.     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
  12536.  elif test -n "$PKG_CONFIG"; then
  12537.     if test -n "$PKG_CONFIG" && \
  12538.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
  12539.   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  12540.   ac_status=$?
  12541.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12542.   (exit $ac_status); }; then
  12543.   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
  12544. else
  12545.   pkg_failed=yes
  12546. fi
  12547.  else
  12548.     pkg_failed=untried
  12549. fi
  12550.  
  12551.  
  12552.  
  12553. if test $pkg_failed = yes; then
  12554.  
  12555. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  12556.         _pkg_short_errors_supported=yes
  12557. else
  12558.         _pkg_short_errors_supported=no
  12559. fi
  12560.         if test $_pkg_short_errors_supported = yes; then
  12561.             ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
  12562.         else
  12563.             ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
  12564.         fi
  12565.     # Put the nasty error message in config.log where it belongs
  12566.     echo "$ALSA_PKG_ERRORS" >&5
  12567.  
  12568.     { $as_echo "$as_me:$LINENO: result: no" >&5
  12569. $as_echo "no" >&6; }
  12570.                 alsa_found=no
  12571. elif test $pkg_failed = untried; then
  12572.     alsa_found=no
  12573. else
  12574.     ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
  12575.     ALSA_LIBS=$pkg_cv_ALSA_LIBS
  12576.         { $as_echo "$as_me:$LINENO: result: yes" >&5
  12577. $as_echo "yes" >&6; }
  12578.     alsa_found=yes
  12579. fi
  12580.     { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
  12581. $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
  12582. if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
  12583.   $as_echo_n "(cached) " >&6
  12584. else
  12585.   ac_check_lib_save_LIBS=$LIBS
  12586. LIBS="-lrt  $LIBS"
  12587. cat >conftest.$ac_ext <<_ACEOF
  12588. /* confdefs.h.  */
  12589. _ACEOF
  12590. cat confdefs.h >>conftest.$ac_ext
  12591. cat >>conftest.$ac_ext <<_ACEOF
  12592. /* end confdefs.h.  */
  12593.  
  12594. /* Override any GCC internal prototype to avoid an error.
  12595.    Use char because int might match the return type of a GCC
  12596.    builtin and then its argument prototype would still apply.  */
  12597. #ifdef __cplusplus
  12598. extern "C"
  12599. #endif
  12600. char clock_gettime ();
  12601. int
  12602. main ()
  12603. {
  12604. return clock_gettime ();
  12605.   ;
  12606.   return 0;
  12607. }
  12608. _ACEOF
  12609. rm -f conftest.$ac_objext conftest$ac_exeext
  12610. if { (ac_try="$ac_link"
  12611. case "(($ac_try" in
  12612.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12613.   *) ac_try_echo=$ac_try;;
  12614. esac
  12615. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12616. $as_echo "$ac_try_echo") >&5
  12617.   (eval "$ac_link") 2>conftest.er1
  12618.   ac_status=$?
  12619.   grep -v '^ *+' conftest.er1 >conftest.err
  12620.   rm -f conftest.er1
  12621.   cat conftest.err >&5
  12622.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12623.   (exit $ac_status); } && {
  12624.      test -z "$ac_c_werror_flag" ||
  12625.      test ! -s conftest.err
  12626.        } && test -s conftest$ac_exeext && {
  12627.      test "$cross_compiling" = yes ||
  12628.      $as_test_x conftest$ac_exeext
  12629.        }; then
  12630.   ac_cv_lib_rt_clock_gettime=yes
  12631. else
  12632.   $as_echo "$as_me: failed program was:" >&5
  12633. sed 's/^/| /' conftest.$ac_ext >&5
  12634.  
  12635.     ac_cv_lib_rt_clock_gettime=no
  12636. fi
  12637.  
  12638. rm -rf conftest.dSYM
  12639. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12640.       conftest$ac_exeext conftest.$ac_ext
  12641. LIBS=$ac_check_lib_save_LIBS
  12642. fi
  12643. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
  12644. $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
  12645. if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
  12646.   ALSA_LIBS="$ALSA_LIBS -lrt"
  12647. else
  12648.   alsa_found=no
  12649. fi
  12650.  
  12651.  
  12652.  
  12653.  
  12654.  
  12655.  
  12656. pkg_failed=no
  12657. { $as_echo "$as_me:$LINENO: checking for GSTREAMER" >&5
  12658. $as_echo_n "checking for GSTREAMER... " >&6; }
  12659.  
  12660. if test -n "$GSTREAMER_CFLAGS"; then
  12661.     pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
  12662.  elif test -n "$PKG_CONFIG"; then
  12663.     if test -n "$PKG_CONFIG" && \
  12664.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10.30 gstreamer-plugins-base-0.10\"") >&5
  12665.   ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10.30 gstreamer-plugins-base-0.10") 2>&5
  12666.   ac_status=$?
  12667.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12668.   (exit $ac_status); }; then
  12669.   pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 >= 0.10.30 gstreamer-plugins-base-0.10" 2>/dev/null`
  12670. else
  12671.   pkg_failed=yes
  12672. fi
  12673.  else
  12674.     pkg_failed=untried
  12675. fi
  12676. if test -n "$GSTREAMER_LIBS"; then
  12677.     pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
  12678.  elif test -n "$PKG_CONFIG"; then
  12679.     if test -n "$PKG_CONFIG" && \
  12680.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10.30 gstreamer-plugins-base-0.10\"") >&5
  12681.   ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10.30 gstreamer-plugins-base-0.10") 2>&5
  12682.   ac_status=$?
  12683.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12684.   (exit $ac_status); }; then
  12685.   pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 >= 0.10.30 gstreamer-plugins-base-0.10" 2>/dev/null`
  12686. else
  12687.   pkg_failed=yes
  12688. fi
  12689.  else
  12690.     pkg_failed=untried
  12691. fi
  12692.  
  12693.  
  12694.  
  12695. if test $pkg_failed = yes; then
  12696.  
  12697. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  12698.         _pkg_short_errors_supported=yes
  12699. else
  12700.         _pkg_short_errors_supported=no
  12701. fi
  12702.         if test $_pkg_short_errors_supported = yes; then
  12703.             GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gstreamer-0.10 >= 0.10.30 gstreamer-plugins-base-0.10" 2>&1`
  12704.         else
  12705.             GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors "gstreamer-0.10 >= 0.10.30 gstreamer-plugins-base-0.10" 2>&1`
  12706.         fi
  12707.     # Put the nasty error message in config.log where it belongs
  12708.     echo "$GSTREAMER_PKG_ERRORS" >&5
  12709.  
  12710.     { $as_echo "$as_me:$LINENO: result: no" >&5
  12711. $as_echo "no" >&6; }
  12712.                 { $as_echo "$as_me:$LINENO: WARNING: GStreamer library version 0.10.30 or later is required" >&5
  12713. $as_echo "$as_me: WARNING: GStreamer library version 0.10.30 or later is required" >&2;};gstreamer_found=no
  12714. elif test $pkg_failed = untried; then
  12715.     { $as_echo "$as_me:$LINENO: WARNING: GStreamer library version 0.10.30 or later is required" >&5
  12716. $as_echo "$as_me: WARNING: GStreamer library version 0.10.30 or later is required" >&2;};gstreamer_found=no
  12717. else
  12718.     GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
  12719.     GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
  12720.         { $as_echo "$as_me:$LINENO: result: yes" >&5
  12721. $as_echo "yes" >&6; }
  12722.     gstreamer_found=yes
  12723. fi
  12724.  
  12725.  
  12726.     GSTREAMER_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-0.10`
  12727.  
  12728.  
  12729.  
  12730.  
  12731. pkg_failed=no
  12732. { $as_echo "$as_me:$LINENO: checking for USB" >&5
  12733. $as_echo_n "checking for USB... " >&6; }
  12734.  
  12735. if test -n "$USB_CFLAGS"; then
  12736.     pkg_cv_USB_CFLAGS="$USB_CFLAGS"
  12737.  elif test -n "$PKG_CONFIG"; then
  12738.     if test -n "$PKG_CONFIG" && \
  12739.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
  12740.   ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
  12741.   ac_status=$?
  12742.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12743.   (exit $ac_status); }; then
  12744.   pkg_cv_USB_CFLAGS=`$PKG_CONFIG --cflags "libusb" 2>/dev/null`
  12745. else
  12746.   pkg_failed=yes
  12747. fi
  12748.  else
  12749.     pkg_failed=untried
  12750. fi
  12751. if test -n "$USB_LIBS"; then
  12752.     pkg_cv_USB_LIBS="$USB_LIBS"
  12753.  elif test -n "$PKG_CONFIG"; then
  12754.     if test -n "$PKG_CONFIG" && \
  12755.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
  12756.   ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
  12757.   ac_status=$?
  12758.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12759.   (exit $ac_status); }; then
  12760.   pkg_cv_USB_LIBS=`$PKG_CONFIG --libs "libusb" 2>/dev/null`
  12761. else
  12762.   pkg_failed=yes
  12763. fi
  12764.  else
  12765.     pkg_failed=untried
  12766. fi
  12767.  
  12768.  
  12769.  
  12770. if test $pkg_failed = yes; then
  12771.  
  12772. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  12773.         _pkg_short_errors_supported=yes
  12774. else
  12775.         _pkg_short_errors_supported=no
  12776. fi
  12777.         if test $_pkg_short_errors_supported = yes; then
  12778.             USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libusb" 2>&1`
  12779.         else
  12780.             USB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libusb" 2>&1`
  12781.         fi
  12782.     # Put the nasty error message in config.log where it belongs
  12783.     echo "$USB_PKG_ERRORS" >&5
  12784.  
  12785.     { $as_echo "$as_me:$LINENO: result: no" >&5
  12786. $as_echo "no" >&6; }
  12787.                 usb_found=no
  12788. elif test $pkg_failed = untried; then
  12789.     usb_found=no
  12790. else
  12791.     USB_CFLAGS=$pkg_cv_USB_CFLAGS
  12792.     USB_LIBS=$pkg_cv_USB_LIBS
  12793.         { $as_echo "$as_me:$LINENO: result: yes" >&5
  12794. $as_echo "yes" >&6; }
  12795.     usb_found=yes
  12796. fi
  12797.  
  12798.  
  12799.     { $as_echo "$as_me:$LINENO: checking for usb_get_busses in -lusb" >&5
  12800. $as_echo_n "checking for usb_get_busses in -lusb... " >&6; }
  12801. if test "${ac_cv_lib_usb_usb_get_busses+set}" = set; then
  12802.   $as_echo_n "(cached) " >&6
  12803. else
  12804.   ac_check_lib_save_LIBS=$LIBS
  12805. LIBS="-lusb  $LIBS"
  12806. cat >conftest.$ac_ext <<_ACEOF
  12807. /* confdefs.h.  */
  12808. _ACEOF
  12809. cat confdefs.h >>conftest.$ac_ext
  12810. cat >>conftest.$ac_ext <<_ACEOF
  12811. /* end confdefs.h.  */
  12812.  
  12813. /* Override any GCC internal prototype to avoid an error.
  12814.    Use char because int might match the return type of a GCC
  12815.    builtin and then its argument prototype would still apply.  */
  12816. #ifdef __cplusplus
  12817. extern "C"
  12818. #endif
  12819. char usb_get_busses ();
  12820. int
  12821. main ()
  12822. {
  12823. return usb_get_busses ();
  12824.   ;
  12825.   return 0;
  12826. }
  12827. _ACEOF
  12828. rm -f conftest.$ac_objext conftest$ac_exeext
  12829. if { (ac_try="$ac_link"
  12830. case "(($ac_try" in
  12831.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12832.   *) ac_try_echo=$ac_try;;
  12833. esac
  12834. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12835. $as_echo "$ac_try_echo") >&5
  12836.   (eval "$ac_link") 2>conftest.er1
  12837.   ac_status=$?
  12838.   grep -v '^ *+' conftest.er1 >conftest.err
  12839.   rm -f conftest.er1
  12840.   cat conftest.err >&5
  12841.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12842.   (exit $ac_status); } && {
  12843.      test -z "$ac_c_werror_flag" ||
  12844.      test ! -s conftest.err
  12845.        } && test -s conftest$ac_exeext && {
  12846.      test "$cross_compiling" = yes ||
  12847.      $as_test_x conftest$ac_exeext
  12848.        }; then
  12849.   ac_cv_lib_usb_usb_get_busses=yes
  12850. else
  12851.   $as_echo "$as_me: failed program was:" >&5
  12852. sed 's/^/| /' conftest.$ac_ext >&5
  12853.  
  12854.     ac_cv_lib_usb_usb_get_busses=no
  12855. fi
  12856.  
  12857. rm -rf conftest.dSYM
  12858. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12859.       conftest$ac_exeext conftest.$ac_ext
  12860. LIBS=$ac_check_lib_save_LIBS
  12861. fi
  12862. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_usb_usb_get_busses" >&5
  12863. $as_echo "$ac_cv_lib_usb_usb_get_busses" >&6; }
  12864. if test "x$ac_cv_lib_usb_usb_get_busses" = x""yes; then
  12865.   dummy=yes
  12866. else
  12867.  
  12868. cat >>confdefs.h <<\_ACEOF
  12869. #define NEED_USB_GET_BUSSES 1
  12870. _ACEOF
  12871.  
  12872. fi
  12873.  
  12874.     { $as_echo "$as_me:$LINENO: checking for usb_interrupt_read in -lusb" >&5
  12875. $as_echo_n "checking for usb_interrupt_read in -lusb... " >&6; }
  12876. if test "${ac_cv_lib_usb_usb_interrupt_read+set}" = set; then
  12877.   $as_echo_n "(cached) " >&6
  12878. else
  12879.   ac_check_lib_save_LIBS=$LIBS
  12880. LIBS="-lusb  $LIBS"
  12881. cat >conftest.$ac_ext <<_ACEOF
  12882. /* confdefs.h.  */
  12883. _ACEOF
  12884. cat confdefs.h >>conftest.$ac_ext
  12885. cat >>conftest.$ac_ext <<_ACEOF
  12886. /* end confdefs.h.  */
  12887.  
  12888. /* Override any GCC internal prototype to avoid an error.
  12889.    Use char because int might match the return type of a GCC
  12890.    builtin and then its argument prototype would still apply.  */
  12891. #ifdef __cplusplus
  12892. extern "C"
  12893. #endif
  12894. char usb_interrupt_read ();
  12895. int
  12896. main ()
  12897. {
  12898. return usb_interrupt_read ();
  12899.   ;
  12900.   return 0;
  12901. }
  12902. _ACEOF
  12903. rm -f conftest.$ac_objext conftest$ac_exeext
  12904. if { (ac_try="$ac_link"
  12905. case "(($ac_try" in
  12906.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12907.   *) ac_try_echo=$ac_try;;
  12908. esac
  12909. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12910. $as_echo "$ac_try_echo") >&5
  12911.   (eval "$ac_link") 2>conftest.er1
  12912.   ac_status=$?
  12913.   grep -v '^ *+' conftest.er1 >conftest.err
  12914.   rm -f conftest.er1
  12915.   cat conftest.err >&5
  12916.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12917.   (exit $ac_status); } && {
  12918.      test -z "$ac_c_werror_flag" ||
  12919.      test ! -s conftest.err
  12920.        } && test -s conftest$ac_exeext && {
  12921.      test "$cross_compiling" = yes ||
  12922.      $as_test_x conftest$ac_exeext
  12923.        }; then
  12924.   ac_cv_lib_usb_usb_interrupt_read=yes
  12925. else
  12926.   $as_echo "$as_me: failed program was:" >&5
  12927. sed 's/^/| /' conftest.$ac_ext >&5
  12928.  
  12929.     ac_cv_lib_usb_usb_interrupt_read=no
  12930. fi
  12931.  
  12932. rm -rf conftest.dSYM
  12933. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12934.       conftest$ac_exeext conftest.$ac_ext
  12935. LIBS=$ac_check_lib_save_LIBS
  12936. fi
  12937. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_usb_usb_interrupt_read" >&5
  12938. $as_echo "$ac_cv_lib_usb_usb_interrupt_read" >&6; }
  12939. if test "x$ac_cv_lib_usb_usb_interrupt_read" = x""yes; then
  12940.   dummy=yes
  12941. else
  12942.  
  12943. cat >>confdefs.h <<\_ACEOF
  12944. #define NEED_USB_INTERRUPT_READ 1
  12945. _ACEOF
  12946.  
  12947. fi
  12948.  
  12949.  
  12950.  
  12951.  
  12952. pkg_failed=no
  12953. { $as_echo "$as_me:$LINENO: checking for UDEV" >&5
  12954. $as_echo_n "checking for UDEV... " >&6; }
  12955.  
  12956. if test -n "$UDEV_CFLAGS"; then
  12957.     pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
  12958.  elif test -n "$PKG_CONFIG"; then
  12959.     if test -n "$PKG_CONFIG" && \
  12960.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
  12961.   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
  12962.   ac_status=$?
  12963.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12964.   (exit $ac_status); }; then
  12965.   pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
  12966. else
  12967.   pkg_failed=yes
  12968. fi
  12969.  else
  12970.     pkg_failed=untried
  12971. fi
  12972. if test -n "$UDEV_LIBS"; then
  12973.     pkg_cv_UDEV_LIBS="$UDEV_LIBS"
  12974.  elif test -n "$PKG_CONFIG"; then
  12975.     if test -n "$PKG_CONFIG" && \
  12976.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
  12977.   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
  12978.   ac_status=$?
  12979.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12980.   (exit $ac_status); }; then
  12981.   pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
  12982. else
  12983.   pkg_failed=yes
  12984. fi
  12985.  else
  12986.     pkg_failed=untried
  12987. fi
  12988.  
  12989.  
  12990.  
  12991. if test $pkg_failed = yes; then
  12992.  
  12993. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  12994.         _pkg_short_errors_supported=yes
  12995. else
  12996.         _pkg_short_errors_supported=no
  12997. fi
  12998.         if test $_pkg_short_errors_supported = yes; then
  12999.             UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libudev" 2>&1`
  13000.         else
  13001.             UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "libudev" 2>&1`
  13002.         fi
  13003.     # Put the nasty error message in config.log where it belongs
  13004.     echo "$UDEV_PKG_ERRORS" >&5
  13005.  
  13006.     { $as_echo "$as_me:$LINENO: result: no" >&5
  13007. $as_echo "no" >&6; }
  13008.                 udev_found=no
  13009. elif test $pkg_failed = untried; then
  13010.     udev_found=no
  13011. else
  13012.     UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
  13013.     UDEV_LIBS=$pkg_cv_UDEV_LIBS
  13014.         { $as_echo "$as_me:$LINENO: result: yes" >&5
  13015. $as_echo "yes" >&6; }
  13016.     udev_found=yes
  13017. fi
  13018.  
  13019.  
  13020.  
  13021.  
  13022.  
  13023. pkg_failed=no
  13024. { $as_echo "$as_me:$LINENO: checking for SNDFILE" >&5
  13025. $as_echo_n "checking for SNDFILE... " >&6; }
  13026.  
  13027. if test -n "$SNDFILE_CFLAGS"; then
  13028.     pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
  13029.  elif test -n "$PKG_CONFIG"; then
  13030.     if test -n "$PKG_CONFIG" && \
  13031.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sndfile\"") >&5
  13032.   ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
  13033.   ac_status=$?
  13034.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13035.   (exit $ac_status); }; then
  13036.   pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null`
  13037. else
  13038.   pkg_failed=yes
  13039. fi
  13040.  else
  13041.     pkg_failed=untried
  13042. fi
  13043. if test -n "$SNDFILE_LIBS"; then
  13044.     pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
  13045.  elif test -n "$PKG_CONFIG"; then
  13046.     if test -n "$PKG_CONFIG" && \
  13047.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sndfile\"") >&5
  13048.   ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
  13049.   ac_status=$?
  13050.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13051.   (exit $ac_status); }; then
  13052.   pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null`
  13053. else
  13054.   pkg_failed=yes
  13055. fi
  13056.  else
  13057.     pkg_failed=untried
  13058. fi
  13059.  
  13060.  
  13061.  
  13062. if test $pkg_failed = yes; then
  13063.  
  13064. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  13065.         _pkg_short_errors_supported=yes
  13066. else
  13067.         _pkg_short_errors_supported=no
  13068. fi
  13069.         if test $_pkg_short_errors_supported = yes; then
  13070.             SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sndfile" 2>&1`
  13071.         else
  13072.             SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sndfile" 2>&1`
  13073.         fi
  13074.     # Put the nasty error message in config.log where it belongs
  13075.     echo "$SNDFILE_PKG_ERRORS" >&5
  13076.  
  13077.     { $as_echo "$as_me:$LINENO: result: no" >&5
  13078. $as_echo "no" >&6; }
  13079.                 sndfile_found=no
  13080. elif test $pkg_failed = untried; then
  13081.     sndfile_found=no
  13082. else
  13083.     SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
  13084.     SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
  13085.         { $as_echo "$as_me:$LINENO: result: yes" >&5
  13086. $as_echo "yes" >&6; }
  13087.     sndfile_found=yes
  13088. fi
  13089.  
  13090.  
  13091.  
  13092.  
  13093.  
  13094. # Check whether --with-ouifile was given.
  13095. if test "${with_ouifile+set}" = set; then
  13096.   withval=$with_ouifile; ac_with_ouifile=$withval
  13097. else
  13098.   ac_with_ouifile="/var/lib/misc/oui.txt"
  13099. fi
  13100.  
  13101.  
  13102. cat >>confdefs.h <<_ACEOF
  13103. #define OUIFILE "$ac_with_ouifile"
  13104. _ACEOF
  13105.  
  13106.  
  13107.  
  13108.     if test "${ac_cv_header_readline_readline_h+set}" = set; then
  13109.   { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
  13110. $as_echo_n "checking for readline/readline.h... " >&6; }
  13111. if test "${ac_cv_header_readline_readline_h+set}" = set; then
  13112.   $as_echo_n "(cached) " >&6
  13113. fi
  13114. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
  13115. $as_echo "$ac_cv_header_readline_readline_h" >&6; }
  13116. else
  13117.   # Is the header compilable?
  13118. { $as_echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
  13119. $as_echo_n "checking readline/readline.h usability... " >&6; }
  13120. cat >conftest.$ac_ext <<_ACEOF
  13121. /* confdefs.h.  */
  13122. _ACEOF
  13123. cat confdefs.h >>conftest.$ac_ext
  13124. cat >>conftest.$ac_ext <<_ACEOF
  13125. /* end confdefs.h.  */
  13126. $ac_includes_default
  13127. #include <readline/readline.h>
  13128. _ACEOF
  13129. rm -f conftest.$ac_objext
  13130. if { (ac_try="$ac_compile"
  13131. case "(($ac_try" in
  13132.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13133.   *) ac_try_echo=$ac_try;;
  13134. esac
  13135. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13136. $as_echo "$ac_try_echo") >&5
  13137.   (eval "$ac_compile") 2>conftest.er1
  13138.   ac_status=$?
  13139.   grep -v '^ *+' conftest.er1 >conftest.err
  13140.   rm -f conftest.er1
  13141.   cat conftest.err >&5
  13142.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13143.   (exit $ac_status); } && {
  13144.      test -z "$ac_c_werror_flag" ||
  13145.      test ! -s conftest.err
  13146.        } && test -s conftest.$ac_objext; then
  13147.   ac_header_compiler=yes
  13148. else
  13149.   $as_echo "$as_me: failed program was:" >&5
  13150. sed 's/^/| /' conftest.$ac_ext >&5
  13151.  
  13152.     ac_header_compiler=no
  13153. fi
  13154.  
  13155. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13156. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13157. $as_echo "$ac_header_compiler" >&6; }
  13158.  
  13159. # Is the header present?
  13160. { $as_echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
  13161. $as_echo_n "checking readline/readline.h presence... " >&6; }
  13162. cat >conftest.$ac_ext <<_ACEOF
  13163. /* confdefs.h.  */
  13164. _ACEOF
  13165. cat confdefs.h >>conftest.$ac_ext
  13166. cat >>conftest.$ac_ext <<_ACEOF
  13167. /* end confdefs.h.  */
  13168. #include <readline/readline.h>
  13169. _ACEOF
  13170. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13171. case "(($ac_try" in
  13172.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13173.   *) ac_try_echo=$ac_try;;
  13174. esac
  13175. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13176. $as_echo "$ac_try_echo") >&5
  13177.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13178.   ac_status=$?
  13179.   grep -v '^ *+' conftest.er1 >conftest.err
  13180.   rm -f conftest.er1
  13181.   cat conftest.err >&5
  13182.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13183.   (exit $ac_status); } >/dev/null && {
  13184.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13185.      test ! -s conftest.err
  13186.        }; then
  13187.   ac_header_preproc=yes
  13188. else
  13189.   $as_echo "$as_me: failed program was:" >&5
  13190. sed 's/^/| /' conftest.$ac_ext >&5
  13191.  
  13192.   ac_header_preproc=no
  13193. fi
  13194.  
  13195. rm -f conftest.err conftest.$ac_ext
  13196. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13197. $as_echo "$ac_header_preproc" >&6; }
  13198.  
  13199. # So?  What about this header?
  13200. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13201.   yes:no: )
  13202.     { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
  13203. $as_echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13204.     { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
  13205. $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
  13206.     ac_header_preproc=yes
  13207.     ;;
  13208.   no:yes:* )
  13209.     { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
  13210. $as_echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
  13211.     { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&5
  13212. $as_echo "$as_me: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&2;}
  13213.     { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
  13214. $as_echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
  13215.     { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&5
  13216. $as_echo "$as_me: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  13217.     { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
  13218. $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
  13219.     { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
  13220. $as_echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
  13221.  
  13222.     ;;
  13223. esac
  13224. { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
  13225. $as_echo_n "checking for readline/readline.h... " >&6; }
  13226. if test "${ac_cv_header_readline_readline_h+set}" = set; then
  13227.   $as_echo_n "(cached) " >&6
  13228. else
  13229.   ac_cv_header_readline_readline_h=$ac_header_preproc
  13230. fi
  13231. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
  13232. $as_echo "$ac_cv_header_readline_readline_h" >&6; }
  13233.  
  13234. fi
  13235. if test "x$ac_cv_header_readline_readline_h" = x""yes; then
  13236.   { $as_echo "$as_me:$LINENO: checking for main in -lreadline" >&5
  13237. $as_echo_n "checking for main in -lreadline... " >&6; }
  13238. if test "${ac_cv_lib_readline_main+set}" = set; then
  13239.   $as_echo_n "(cached) " >&6
  13240. else
  13241.   ac_check_lib_save_LIBS=$LIBS
  13242. LIBS="-lreadline  $LIBS"
  13243. cat >conftest.$ac_ext <<_ACEOF
  13244. /* confdefs.h.  */
  13245. _ACEOF
  13246. cat confdefs.h >>conftest.$ac_ext
  13247. cat >>conftest.$ac_ext <<_ACEOF
  13248. /* end confdefs.h.  */
  13249.  
  13250.  
  13251. int
  13252. main ()
  13253. {
  13254. return main ();
  13255.   ;
  13256.   return 0;
  13257. }
  13258. _ACEOF
  13259. rm -f conftest.$ac_objext conftest$ac_exeext
  13260. if { (ac_try="$ac_link"
  13261. case "(($ac_try" in
  13262.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13263.   *) ac_try_echo=$ac_try;;
  13264. esac
  13265. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13266. $as_echo "$ac_try_echo") >&5
  13267.   (eval "$ac_link") 2>conftest.er1
  13268.   ac_status=$?
  13269.   grep -v '^ *+' conftest.er1 >conftest.err
  13270.   rm -f conftest.er1
  13271.   cat conftest.err >&5
  13272.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13273.   (exit $ac_status); } && {
  13274.      test -z "$ac_c_werror_flag" ||
  13275.      test ! -s conftest.err
  13276.        } && test -s conftest$ac_exeext && {
  13277.      test "$cross_compiling" = yes ||
  13278.      $as_test_x conftest$ac_exeext
  13279.        }; then
  13280.   ac_cv_lib_readline_main=yes
  13281. else
  13282.   $as_echo "$as_me: failed program was:" >&5
  13283. sed 's/^/| /' conftest.$ac_ext >&5
  13284.  
  13285.     ac_cv_lib_readline_main=no
  13286. fi
  13287.  
  13288. rm -rf conftest.dSYM
  13289. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  13290.       conftest$ac_exeext conftest.$ac_ext
  13291. LIBS=$ac_check_lib_save_LIBS
  13292. fi
  13293. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
  13294. $as_echo "$ac_cv_lib_readline_main" >&6; }
  13295. if test "x$ac_cv_lib_readline_main" = x""yes; then
  13296.    readline_found=yes
  13297.             READLINE_LIBS="-lreadline"
  13298.  
  13299.  
  13300. else
  13301.   readline_found=no
  13302. fi
  13303.  
  13304. fi
  13305.  
  13306.  
  13307.  
  13308.  
  13309.  
  13310.     debug_enable=no
  13311.     optimization_enable=yes
  13312.     fortify_enable=yes
  13313.     pie_enable=yes
  13314.     sndfile_enable=${sndfile_found}
  13315.     hal_enable=no
  13316.     usb_enable=${usb_found}
  13317.     alsa_enable=${alsa_found}
  13318.     gstreamer_enable=${gstreamer_found}
  13319.     audio_enable=yes
  13320.     input_enable=yes
  13321.     serial_enable=yes
  13322.     network_enable=yes
  13323.     sap_enable=no
  13324.     service_enable=yes
  13325.     health_enable=no
  13326.     pnat_enable=no
  13327.     gatt_example_enable=no
  13328.     tracer_enable=no
  13329.     tools_enable=yes
  13330.     hidd_enable=no
  13331.     pand_enable=no
  13332.     dund_enable=no
  13333.     cups_enable=no
  13334.     test_enable=no
  13335.     bccmd_enable=no
  13336.     pcmcia_enable=no
  13337.     hid2hci_enable=no
  13338.     dfutool_enable=no
  13339.     udevrules_enable=yes
  13340.     configfiles_enable=yes
  13341.     telephony_driver=dummy
  13342.     maemo6_enable=no
  13343.     sap_driver=dummy
  13344.     dbusoob_enable=no
  13345.  
  13346.     # Check whether --enable-optimization was given.
  13347. if test "${enable_optimization+set}" = set; then
  13348.   enableval=$enable_optimization;
  13349.         optimization_enable=${enableval}
  13350.  
  13351. fi
  13352.  
  13353.  
  13354.     # Check whether --enable-fortify was given.
  13355. if test "${enable_fortify+set}" = set; then
  13356.   enableval=$enable_fortify;
  13357.         fortify_enable=${enableval}
  13358.  
  13359. fi
  13360.  
  13361.  
  13362.     # Check whether --enable-pie was given.
  13363. if test "${enable_pie+set}" = set; then
  13364.   enableval=$enable_pie;
  13365.         pie_enable=${enableval}
  13366.  
  13367. fi
  13368.  
  13369.  
  13370.     # Check whether --enable-network was given.
  13371. if test "${enable_network+set}" = set; then
  13372.   enableval=$enable_network;
  13373.         network_enable=${enableval}
  13374.  
  13375. fi
  13376.  
  13377.  
  13378.     # Check whether --enable-sap was given.
  13379. if test "${enable_sap+set}" = set; then
  13380.   enableval=$enable_sap;
  13381.         sap_enable=${enableval}
  13382.  
  13383. fi
  13384.  
  13385.  
  13386.  
  13387. # Check whether --with-sap was given.
  13388. if test "${with_sap+set}" = set; then
  13389.   withval=$with_sap;
  13390.         sap_driver=${withval}
  13391.  
  13392. fi
  13393.  
  13394.     SAP_DRIVER=sap-${sap_driver}.c
  13395.  
  13396.  
  13397.     # Check whether --enable-serial was given.
  13398. if test "${enable_serial+set}" = set; then
  13399.   enableval=$enable_serial;
  13400.         serial_enable=${enableval}
  13401.  
  13402. fi
  13403.  
  13404.  
  13405.     # Check whether --enable-input was given.
  13406. if test "${enable_input+set}" = set; then
  13407.   enableval=$enable_input;
  13408.         input_enable=${enableval}
  13409.  
  13410. fi
  13411.  
  13412.  
  13413.     # Check whether --enable-audio was given.
  13414. if test "${enable_audio+set}" = set; then
  13415.   enableval=$enable_audio;
  13416.         audio_enable=${enableval}
  13417.  
  13418. fi
  13419.  
  13420.  
  13421.     # Check whether --enable-service was given.
  13422. if test "${enable_service+set}" = set; then
  13423.   enableval=$enable_service;
  13424.         service_enable=${enableval}
  13425.  
  13426. fi
  13427.  
  13428.  
  13429.     # Check whether --enable-health was given.
  13430. if test "${enable_health+set}" = set; then
  13431.   enableval=$enable_health;
  13432.         health_enable=${enableval}
  13433.  
  13434. fi
  13435.  
  13436.  
  13437.     # Check whether --enable-pnat was given.
  13438. if test "${enable_pnat+set}" = set; then
  13439.   enableval=$enable_pnat;
  13440.         pnat_enable=${enableval}
  13441.  
  13442. fi
  13443.  
  13444.  
  13445.     # Check whether --enable-gatt-example was given.
  13446. if test "${enable_gatt_example+set}" = set; then
  13447.   enableval=$enable_gatt_example;
  13448.         gatt_example_enable=${enableval}
  13449.  
  13450. fi
  13451.  
  13452.  
  13453.     # Check whether --enable-gstreamer was given.
  13454. if test "${enable_gstreamer+set}" = set; then
  13455.   enableval=$enable_gstreamer;
  13456.         gstreamer_enable=${enableval}
  13457.  
  13458. fi
  13459.  
  13460.  
  13461.     # Check whether --enable-alsa was given.
  13462. if test "${enable_alsa+set}" = set; then
  13463.   enableval=$enable_alsa;
  13464.         alsa_enable=${enableval}
  13465.  
  13466. fi
  13467.  
  13468.  
  13469.     # Check whether --enable-usb was given.
  13470. if test "${enable_usb+set}" = set; then
  13471.   enableval=$enable_usb;
  13472.         usb_enable=${enableval}
  13473.  
  13474. fi
  13475.  
  13476.  
  13477.     # Check whether --enable-tracer was given.
  13478. if test "${enable_tracer+set}" = set; then
  13479.   enableval=$enable_tracer;
  13480.         tracer_enable=${enableval}
  13481.  
  13482. fi
  13483.  
  13484.  
  13485.     # Check whether --enable-tools was given.
  13486. if test "${enable_tools+set}" = set; then
  13487.   enableval=$enable_tools;
  13488.         tools_enable=${enableval}
  13489.  
  13490. fi
  13491.  
  13492.  
  13493.     # Check whether --enable-bccmd was given.
  13494. if test "${enable_bccmd+set}" = set; then
  13495.   enableval=$enable_bccmd;
  13496.         bccmd_enable=${enableval}
  13497.  
  13498. fi
  13499.  
  13500.  
  13501.     # Check whether --enable-pcmcia was given.
  13502. if test "${enable_pcmcia+set}" = set; then
  13503.   enableval=$enable_pcmcia;
  13504.         pcmcia_enable=${enableval}
  13505.  
  13506. fi
  13507.  
  13508.  
  13509.     # Check whether --enable-hid2hci was given.
  13510. if test "${enable_hid2hci+set}" = set; then
  13511.   enableval=$enable_hid2hci;
  13512.         hid2hci_enable=${enableval}
  13513.  
  13514. fi
  13515.  
  13516.  
  13517.     # Check whether --enable-dfutool was given.
  13518. if test "${enable_dfutool+set}" = set; then
  13519.   enableval=$enable_dfutool;
  13520.         dfutool_enable=${enableval}
  13521.  
  13522. fi
  13523.  
  13524.  
  13525.     # Check whether --enable-hidd was given.
  13526. if test "${enable_hidd+set}" = set; then
  13527.   enableval=$enable_hidd;
  13528.         hidd_enable=${enableval}
  13529.  
  13530. fi
  13531.  
  13532.  
  13533.     # Check whether --enable-pand was given.
  13534. if test "${enable_pand+set}" = set; then
  13535.   enableval=$enable_pand;
  13536.         pand_enable=${enableval}
  13537.  
  13538. fi
  13539.  
  13540.  
  13541.     # Check whether --enable-dund was given.
  13542. if test "${enable_dund+set}" = set; then
  13543.   enableval=$enable_dund;
  13544.         dund_enable=${enableval}
  13545.  
  13546. fi
  13547.  
  13548.  
  13549.     # Check whether --enable-cups was given.
  13550. if test "${enable_cups+set}" = set; then
  13551.   enableval=$enable_cups;
  13552.         cups_enable=${enableval}
  13553.  
  13554. fi
  13555.  
  13556.  
  13557.     # Check whether --enable-test was given.
  13558. if test "${enable_test+set}" = set; then
  13559.   enableval=$enable_test;
  13560.         test_enable=${enableval}
  13561.  
  13562. fi
  13563.  
  13564.  
  13565.     # Check whether --enable-udevrules was given.
  13566. if test "${enable_udevrules+set}" = set; then
  13567.   enableval=$enable_udevrules;
  13568.         udevrules_enable=${enableval}
  13569.  
  13570. fi
  13571.  
  13572.  
  13573.     # Check whether --enable-configfiles was given.
  13574. if test "${enable_configfiles+set}" = set; then
  13575.   enableval=$enable_configfiles;
  13576.         configfiles_enable=${enableval}
  13577.  
  13578. fi
  13579.  
  13580.  
  13581.     # Check whether --enable-debug was given.
  13582. if test "${enable_debug+set}" = set; then
  13583.   enableval=$enable_debug;
  13584.         debug_enable=${enableval}
  13585.  
  13586. fi
  13587.  
  13588.  
  13589.  
  13590. # Check whether --with-telephony was given.
  13591. if test "${with_telephony+set}" = set; then
  13592.   withval=$with_telephony;
  13593.         telephony_driver=${withval}
  13594.  
  13595. fi
  13596.  
  13597.  
  13598.     TELEPHONY_DRIVER=telephony-${telephony_driver}.c
  13599.  
  13600.  
  13601.     # Check whether --enable-maemo6 was given.
  13602. if test "${enable_maemo6+set}" = set; then
  13603.   enableval=$enable_maemo6;
  13604.         maemo6_enable=${enableval}
  13605.  
  13606. fi
  13607.  
  13608.  
  13609.     # Check whether --enable-dbusoob was given.
  13610. if test "${enable_dbusoob+set}" = set; then
  13611.   enableval=$enable_dbusoob;
  13612.         dbusoob_enable=${enableval}
  13613.  
  13614. fi
  13615.  
  13616.  
  13617.     # Check whether --enable-hal was given.
  13618. if test "${enable_hal+set}" = set; then
  13619.   enableval=$enable_hal;
  13620.         hal_enable=${enableval}
  13621.  
  13622. fi
  13623.  
  13624.  
  13625.     if (test "${fortify_enable}" = "yes"); then
  13626.         CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
  13627.     fi
  13628.  
  13629.     if (test "${pie_enable}" = "yes" && test "${ac_cv_prog_cc_pie}" = "yes"); then
  13630.         CFLAGS="$CFLAGS -fPIC"
  13631.         LDFLAGS="$LDFLAGS -pie"
  13632.     fi
  13633.  
  13634.     if (test "${debug_enable}" = "yes" && test "${ac_cv_prog_cc_g}" = "yes"); then
  13635.         CFLAGS="$CFLAGS -g"
  13636.     fi
  13637.  
  13638.     if (test "${optimization_enable}" = "no"); then
  13639.         CFLAGS="$CFLAGS -O0"
  13640.     fi
  13641.  
  13642.     if (test "${usb_enable}" = "yes" && test "${usb_found}" = "yes"); then
  13643.  
  13644. cat >>confdefs.h <<\_ACEOF
  13645. #define HAVE_LIBUSB 1
  13646. _ACEOF
  13647.  
  13648.     fi
  13649.  
  13650.      if test "${sndfile_enable}" = "yes" && test "${sndfile_found}" = "yes"; then
  13651.   SNDFILE_TRUE=
  13652.   SNDFILE_FALSE='#'
  13653. else
  13654.   SNDFILE_TRUE='#'
  13655.   SNDFILE_FALSE=
  13656. fi
  13657.  
  13658.      if test "${usb_enable}" = "yes" && test "${usb_found}" = "yes"; then
  13659.   USB_TRUE=
  13660.   USB_FALSE='#'
  13661. else
  13662.   USB_TRUE='#'
  13663.   USB_FALSE=
  13664. fi
  13665.  
  13666.      if test "${alsa_enable}" = "yes" || test "${gstreamer_enable}" = "yes" ||
  13667.                                     test "${test_enable}" = "yes"; then
  13668.   SBC_TRUE=
  13669.   SBC_FALSE='#'
  13670. else
  13671.   SBC_TRUE='#'
  13672.   SBC_FALSE=
  13673. fi
  13674.  
  13675.      if test "${alsa_enable}" = "yes" && test "${alsa_found}" = "yes"; then
  13676.   ALSA_TRUE=
  13677.   ALSA_FALSE='#'
  13678. else
  13679.   ALSA_TRUE='#'
  13680.   ALSA_FALSE=
  13681. fi
  13682.  
  13683.      if test "${gstreamer_enable}" = "yes" && test "${gstreamer_found}" = "yes"; then
  13684.   GSTREAMER_TRUE=
  13685.   GSTREAMER_FALSE='#'
  13686. else
  13687.   GSTREAMER_TRUE='#'
  13688.   GSTREAMER_FALSE=
  13689. fi
  13690.  
  13691.      if test "${audio_enable}" = "yes"; then
  13692.   AUDIOPLUGIN_TRUE=
  13693.   AUDIOPLUGIN_FALSE='#'
  13694. else
  13695.   AUDIOPLUGIN_TRUE='#'
  13696.   AUDIOPLUGIN_FALSE=
  13697. fi
  13698.  
  13699.      if test "${input_enable}" = "yes"; then
  13700.   INPUTPLUGIN_TRUE=
  13701.   INPUTPLUGIN_FALSE='#'
  13702. else
  13703.   INPUTPLUGIN_TRUE='#'
  13704.   INPUTPLUGIN_FALSE=
  13705. fi
  13706.  
  13707.      if test "${serial_enable}" = "yes"; then
  13708.   SERIALPLUGIN_TRUE=
  13709.   SERIALPLUGIN_FALSE='#'
  13710. else
  13711.   SERIALPLUGIN_TRUE='#'
  13712.   SERIALPLUGIN_FALSE=
  13713. fi
  13714.  
  13715.      if test "${network_enable}" = "yes"; then
  13716.   NETWORKPLUGIN_TRUE=
  13717.   NETWORKPLUGIN_FALSE='#'
  13718. else
  13719.   NETWORKPLUGIN_TRUE='#'
  13720.   NETWORKPLUGIN_FALSE=
  13721. fi
  13722.  
  13723.      if test "${sap_enable}" = "yes"; then
  13724.   SAPPLUGIN_TRUE=
  13725.   SAPPLUGIN_FALSE='#'
  13726. else
  13727.   SAPPLUGIN_TRUE='#'
  13728.   SAPPLUGIN_FALSE=
  13729. fi
  13730.  
  13731.      if test "${service_enable}" = "yes"; then
  13732.   SERVICEPLUGIN_TRUE=
  13733.   SERVICEPLUGIN_FALSE='#'
  13734. else
  13735.   SERVICEPLUGIN_TRUE='#'
  13736.   SERVICEPLUGIN_FALSE=
  13737. fi
  13738.  
  13739.      if test "${health_enable}" = "yes"; then
  13740.   HEALTHPLUGIN_TRUE=
  13741.   HEALTHPLUGIN_FALSE='#'
  13742. else
  13743.   HEALTHPLUGIN_TRUE='#'
  13744.   HEALTHPLUGIN_FALSE=
  13745. fi
  13746.  
  13747.      if test "${health_enable}" = "yes"; then
  13748.   MCAP_TRUE=
  13749.   MCAP_FALSE='#'
  13750. else
  13751.   MCAP_TRUE='#'
  13752.   MCAP_FALSE=
  13753. fi
  13754.  
  13755.      if test "${hal_enable}" = "yes"; then
  13756.   HAL_TRUE=
  13757.   HAL_FALSE='#'
  13758. else
  13759.   HAL_TRUE='#'
  13760.   HAL_FALSE=
  13761. fi
  13762.  
  13763.      if test "${readline_found}" = "yes"; then
  13764.   READLINE_TRUE=
  13765.   READLINE_FALSE='#'
  13766. else
  13767.   READLINE_TRUE='#'
  13768.   READLINE_FALSE=
  13769. fi
  13770.  
  13771.      if test "${gatt_example_enable}" = "yes"; then
  13772.   GATT_EXAMPLE_PLUGIN_TRUE=
  13773.   GATT_EXAMPLE_PLUGIN_FALSE='#'
  13774. else
  13775.   GATT_EXAMPLE_PLUGIN_TRUE='#'
  13776.   GATT_EXAMPLE_PLUGIN_FALSE=
  13777. fi
  13778.  
  13779.      if test "no" = "yes"; then
  13780.   ECHOPLUGIN_TRUE=
  13781.   ECHOPLUGIN_FALSE='#'
  13782. else
  13783.   ECHOPLUGIN_TRUE='#'
  13784.   ECHOPLUGIN_FALSE=
  13785. fi
  13786.  
  13787.      if test "${pnat_enable}" = "yes"; then
  13788.   PNATPLUGIN_TRUE=
  13789.   PNATPLUGIN_FALSE='#'
  13790. else
  13791.   PNATPLUGIN_TRUE='#'
  13792.   PNATPLUGIN_FALSE=
  13793. fi
  13794.  
  13795.      if test "${tracer_enable}" = "yes"; then
  13796.   TRACER_TRUE=
  13797.   TRACER_FALSE='#'
  13798. else
  13799.   TRACER_TRUE='#'
  13800.   TRACER_FALSE=
  13801. fi
  13802.  
  13803.      if test "${hidd_enable}" = "yes"; then
  13804.   HIDD_TRUE=
  13805.   HIDD_FALSE='#'
  13806. else
  13807.   HIDD_TRUE='#'
  13808.   HIDD_FALSE=
  13809. fi
  13810.  
  13811.      if test "${pand_enable}" = "yes"; then
  13812.   PAND_TRUE=
  13813.   PAND_FALSE='#'
  13814. else
  13815.   PAND_TRUE='#'
  13816.   PAND_FALSE=
  13817. fi
  13818.  
  13819.      if test "${dund_enable}" = "yes"; then
  13820.   DUND_TRUE=
  13821.   DUND_FALSE='#'
  13822. else
  13823.   DUND_TRUE='#'
  13824.   DUND_FALSE=
  13825. fi
  13826.  
  13827.      if test "${cups_enable}" = "yes"; then
  13828.   CUPS_TRUE=
  13829.   CUPS_FALSE='#'
  13830. else
  13831.   CUPS_TRUE='#'
  13832.   CUPS_FALSE=
  13833. fi
  13834.  
  13835.      if test "${test_enable}" = "yes"; then
  13836.   TEST_TRUE=
  13837.   TEST_FALSE='#'
  13838. else
  13839.   TEST_TRUE='#'
  13840.   TEST_FALSE=
  13841. fi
  13842.  
  13843.      if test "${tools_enable}" = "yes"; then
  13844.   TOOLS_TRUE=
  13845.   TOOLS_FALSE='#'
  13846. else
  13847.   TOOLS_TRUE='#'
  13848.   TOOLS_FALSE=
  13849. fi
  13850.  
  13851.      if test "${bccmd_enable}" = "yes"; then
  13852.   BCCMD_TRUE=
  13853.   BCCMD_FALSE='#'
  13854. else
  13855.   BCCMD_TRUE='#'
  13856.   BCCMD_FALSE=
  13857. fi
  13858.  
  13859.      if test "${pcmcia_enable}" = "yes"; then
  13860.   PCMCIA_TRUE=
  13861.   PCMCIA_FALSE='#'
  13862. else
  13863.   PCMCIA_TRUE='#'
  13864.   PCMCIA_FALSE=
  13865. fi
  13866.  
  13867.      if test "${hid2hci_enable}" = "yes" && test "${usb_found}" = "yes"; then
  13868.   HID2HCI_TRUE=
  13869.   HID2HCI_FALSE='#'
  13870. else
  13871.   HID2HCI_TRUE='#'
  13872.   HID2HCI_FALSE=
  13873. fi
  13874.  
  13875.      if test "${dfutool_enable}" = "yes" && test "${usb_found}" = "yes"; then
  13876.   DFUTOOL_TRUE=
  13877.   DFUTOOL_FALSE='#'
  13878. else
  13879.   DFUTOOL_TRUE='#'
  13880.   DFUTOOL_FALSE=
  13881. fi
  13882.  
  13883.      if test "${udevrules_enable}" = "yes"; then
  13884.   UDEVRULES_TRUE=
  13885.   UDEVRULES_FALSE='#'
  13886. else
  13887.   UDEVRULES_TRUE='#'
  13888.   UDEVRULES_FALSE=
  13889. fi
  13890.  
  13891.      if test "${configfiles_enable}" = "yes"; then
  13892.   CONFIGFILES_TRUE=
  13893.   CONFIGFILES_FALSE='#'
  13894. else
  13895.   CONFIGFILES_TRUE='#'
  13896.   CONFIGFILES_FALSE=
  13897. fi
  13898.  
  13899.      if test "${maemo6_enable}" = "yes"; then
  13900.   MAEMO6PLUGIN_TRUE=
  13901.   MAEMO6PLUGIN_FALSE='#'
  13902. else
  13903.   MAEMO6PLUGIN_TRUE='#'
  13904.   MAEMO6PLUGIN_FALSE=
  13905. fi
  13906.  
  13907.      if test "${dbusoob_enable}" = "yes"; then
  13908.   DBUSOOBPLUGIN_TRUE=
  13909.   DBUSOOBPLUGIN_FALSE='#'
  13910. else
  13911.   DBUSOOBPLUGIN_TRUE='#'
  13912.   DBUSOOBPLUGIN_FALSE=
  13913. fi
  13914.  
  13915.  
  13916.  
  13917. # Check whether --enable-capng was given.
  13918. if test "${enable_capng+set}" = set; then
  13919.   enableval=$enable_capng; enable_capng=${enableval}
  13920. fi
  13921.  
  13922. if (test "${enable_capng}" = "yes"); then
  13923.  
  13924. pkg_failed=no
  13925. { $as_echo "$as_me:$LINENO: checking for CAPNG" >&5
  13926. $as_echo_n "checking for CAPNG... " >&6; }
  13927.  
  13928. if test -n "$CAPNG_CFLAGS"; then
  13929.     pkg_cv_CAPNG_CFLAGS="$CAPNG_CFLAGS"
  13930.  elif test -n "$PKG_CONFIG"; then
  13931.     if test -n "$PKG_CONFIG" && \
  13932.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcap-ng\"") >&5
  13933.   ($PKG_CONFIG --exists --print-errors "libcap-ng") 2>&5
  13934.   ac_status=$?
  13935.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13936.   (exit $ac_status); }; then
  13937.   pkg_cv_CAPNG_CFLAGS=`$PKG_CONFIG --cflags "libcap-ng" 2>/dev/null`
  13938. else
  13939.   pkg_failed=yes
  13940. fi
  13941.  else
  13942.     pkg_failed=untried
  13943. fi
  13944. if test -n "$CAPNG_LIBS"; then
  13945.     pkg_cv_CAPNG_LIBS="$CAPNG_LIBS"
  13946.  elif test -n "$PKG_CONFIG"; then
  13947.     if test -n "$PKG_CONFIG" && \
  13948.     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcap-ng\"") >&5
  13949.   ($PKG_CONFIG --exists --print-errors "libcap-ng") 2>&5
  13950.   ac_status=$?
  13951.   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13952.   (exit $ac_status); }; then
  13953.   pkg_cv_CAPNG_LIBS=`$PKG_CONFIG --libs "libcap-ng" 2>/dev/null`
  13954. else
  13955.   pkg_failed=yes
  13956. fi
  13957.  else
  13958.     pkg_failed=untried
  13959. fi
  13960.  
  13961.  
  13962.  
  13963. if test $pkg_failed = yes; then
  13964.  
  13965. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  13966.         _pkg_short_errors_supported=yes
  13967. else
  13968.         _pkg_short_errors_supported=no
  13969. fi
  13970.         if test $_pkg_short_errors_supported = yes; then
  13971.             CAPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcap-ng" 2>&1`
  13972.         else
  13973.             CAPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcap-ng" 2>&1`
  13974.         fi
  13975.     # Put the nasty error message in config.log where it belongs
  13976.     echo "$CAPNG_PKG_ERRORS" >&5
  13977.  
  13978.     { $as_echo "$as_me:$LINENO: result: no" >&5
  13979. $as_echo "no" >&6; }
  13980.                 { { $as_echo "$as_me:$LINENO: error: Capabilities library is required" >&5
  13981. $as_echo "$as_me: error: Capabilities library is required" >&2;}
  13982.    { (exit 1); exit 1; }; }
  13983. elif test $pkg_failed = untried; then
  13984.     { { $as_echo "$as_me:$LINENO: error: Capabilities library is required" >&5
  13985. $as_echo "$as_me: error: Capabilities library is required" >&2;}
  13986.    { (exit 1); exit 1; }; }
  13987. else
  13988.     CAPNG_CFLAGS=$pkg_cv_CAPNG_CFLAGS
  13989.     CAPNG_LIBS=$pkg_cv_CAPNG_LIBS
  13990.         { $as_echo "$as_me:$LINENO: result: yes" >&5
  13991. $as_echo "yes" >&6; }
  13992.     dummy=yes
  13993. fi
  13994.  
  13995.  
  13996.  
  13997. cat >>confdefs.h <<\_ACEOF
  13998. #define HAVE_CAPNG 1
  13999. _ACEOF
  14000.  
  14001. fi
  14002.  
  14003. ac_config_files="$ac_config_files Makefile scripts/bluetooth.rules doc/version.xml src/bluetoothd.8 bluez.pc"
  14004.  
  14005. cat >confcache <<\_ACEOF
  14006. # This file is a shell script that caches the results of configure
  14007. # tests run on this system so they can be shared between configure
  14008. # scripts and configure runs, see configure's option --config-cache.
  14009. # It is not useful on other systems.  If it contains results you don't
  14010. # want to keep, you may remove or edit it.
  14011. #
  14012. # config.status only pays attention to the cache file if you give it
  14013. # the --recheck option to rerun configure.
  14014. #
  14015. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  14016. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  14017. # following values.
  14018.  
  14019. _ACEOF
  14020.  
  14021. # The following way of writing the cache mishandles newlines in values,
  14022. # but we know of no workaround that is simple, portable, and efficient.
  14023. # So, we kill variables containing newlines.
  14024. # Ultrix sh set writes to stderr and can't be redirected directly,
  14025. # and sets the high bit in the cache file unless we assign to the vars.
  14026. (
  14027.   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  14028.     eval ac_val=\$$ac_var
  14029.     case $ac_val in #(
  14030.     *${as_nl}*)
  14031.       case $ac_var in #(
  14032.       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  14033. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  14034.       esac
  14035.       case $ac_var in #(
  14036.       _ | IFS | as_nl) ;; #(
  14037.       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  14038.       *) $as_unset $ac_var ;;
  14039.       esac ;;
  14040.     esac
  14041.   done
  14042.  
  14043.   (set) 2>&1 |
  14044.     case $as_nl`(ac_space=' '; set) 2>&1` in #(
  14045.     *${as_nl}ac_space=\ *)
  14046.       # `set' does not quote correctly, so add quotes (double-quote
  14047.       # substitution turns \\\\ into \\, and sed turns \\ into \).
  14048.       sed -n \
  14049.     "s/'/'\\\\''/g;
  14050.       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  14051.       ;; #(
  14052.     *)
  14053.       # `set' quotes correctly as required by POSIX, so do not add quotes.
  14054.       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  14055.       ;;
  14056.     esac |
  14057.     sort
  14058. ) |
  14059.   sed '
  14060.     /^ac_cv_env_/b end
  14061.     t clear
  14062.     :clear
  14063.     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  14064.     t end
  14065.     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  14066.     :end' >>confcache
  14067. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  14068.   if test -w "$cache_file"; then
  14069.     test "x$cache_file" != "x/dev/null" &&
  14070.       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  14071. $as_echo "$as_me: updating cache $cache_file" >&6;}
  14072.     cat confcache >$cache_file
  14073.   else
  14074.     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  14075. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  14076.   fi
  14077. fi
  14078. rm -f confcache
  14079.  
  14080. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  14081. # Let make expand exec_prefix.
  14082. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  14083.  
  14084. DEFS=-DHAVE_CONFIG_H
  14085.  
  14086. ac_libobjs=
  14087. ac_ltlibobjs=
  14088. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  14089.   # 1. Remove the extension, and $U if already installed.
  14090.   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  14091.   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  14092.   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  14093.   #    will be set to the directory where LIBOBJS objects are built.
  14094.   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  14095.   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  14096. done
  14097. LIBOBJS=$ac_libobjs
  14098.  
  14099. LTLIBOBJS=$ac_ltlibobjs
  14100.  
  14101.  
  14102.  if test -n "$EXEEXT"; then
  14103.   am__EXEEXT_TRUE=
  14104.   am__EXEEXT_FALSE='#'
  14105. else
  14106.   am__EXEEXT_TRUE='#'
  14107.   am__EXEEXT_FALSE=
  14108. fi
  14109.  
  14110. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  14111.   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  14112. Usually this means the macro was only invoked conditionally." >&5
  14113. $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  14114. Usually this means the macro was only invoked conditionally." >&2;}
  14115.    { (exit 1); exit 1; }; }
  14116. fi
  14117. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  14118.   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  14119. Usually this means the macro was only invoked conditionally." >&5
  14120. $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
  14121. Usually this means the macro was only invoked conditionally." >&2;}
  14122.    { (exit 1); exit 1; }; }
  14123. fi
  14124. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  14125.   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  14126. Usually this means the macro was only invoked conditionally." >&5
  14127. $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  14128. Usually this means the macro was only invoked conditionally." >&2;}
  14129.    { (exit 1); exit 1; }; }
  14130. fi
  14131. if test -z "${SNDFILE_TRUE}" && test -z "${SNDFILE_FALSE}"; then
  14132.   { { $as_echo "$as_me:$LINENO: error: conditional \"SNDFILE\" was never defined.
  14133. Usually this means the macro was only invoked conditionally." >&5
  14134. $as_echo "$as_me: error: conditional \"SNDFILE\" was never defined.
  14135. Usually this means the macro was only invoked conditionally." >&2;}
  14136.    { (exit 1); exit 1; }; }
  14137. fi
  14138. if test -z "${USB_TRUE}" && test -z "${USB_FALSE}"; then
  14139.   { { $as_echo "$as_me:$LINENO: error: conditional \"USB\" was never defined.
  14140. Usually this means the macro was only invoked conditionally." >&5
  14141. $as_echo "$as_me: error: conditional \"USB\" was never defined.
  14142. Usually this means the macro was only invoked conditionally." >&2;}
  14143.    { (exit 1); exit 1; }; }
  14144. fi
  14145. if test -z "${SBC_TRUE}" && test -z "${SBC_FALSE}"; then
  14146.   { { $as_echo "$as_me:$LINENO: error: conditional \"SBC\" was never defined.
  14147. Usually this means the macro was only invoked conditionally." >&5
  14148. $as_echo "$as_me: error: conditional \"SBC\" was never defined.
  14149. Usually this means the macro was only invoked conditionally." >&2;}
  14150.    { (exit 1); exit 1; }; }
  14151. fi
  14152. if test -z "${ALSA_TRUE}" && test -z "${ALSA_FALSE}"; then
  14153.   { { $as_echo "$as_me:$LINENO: error: conditional \"ALSA\" was never defined.
  14154. Usually this means the macro was only invoked conditionally." >&5
  14155. $as_echo "$as_me: error: conditional \"ALSA\" was never defined.
  14156. Usually this means the macro was only invoked conditionally." >&2;}
  14157.    { (exit 1); exit 1; }; }
  14158. fi
  14159. if test -z "${GSTREAMER_TRUE}" && test -z "${GSTREAMER_FALSE}"; then
  14160.   { { $as_echo "$as_me:$LINENO: error: conditional \"GSTREAMER\" was never defined.
  14161. Usually this means the macro was only invoked conditionally." >&5
  14162. $as_echo "$as_me: error: conditional \"GSTREAMER\" was never defined.
  14163. Usually this means the macro was only invoked conditionally." >&2;}
  14164.    { (exit 1); exit 1; }; }
  14165. fi
  14166. if test -z "${AUDIOPLUGIN_TRUE}" && test -z "${AUDIOPLUGIN_FALSE}"; then
  14167.   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIOPLUGIN\" was never defined.
  14168. Usually this means the macro was only invoked conditionally." >&5
  14169. $as_echo "$as_me: error: conditional \"AUDIOPLUGIN\" was never defined.
  14170. Usually this means the macro was only invoked conditionally." >&2;}
  14171.    { (exit 1); exit 1; }; }
  14172. fi
  14173. if test -z "${INPUTPLUGIN_TRUE}" && test -z "${INPUTPLUGIN_FALSE}"; then
  14174.   { { $as_echo "$as_me:$LINENO: error: conditional \"INPUTPLUGIN\" was never defined.
  14175. Usually this means the macro was only invoked conditionally." >&5
  14176. $as_echo "$as_me: error: conditional \"INPUTPLUGIN\" was never defined.
  14177. Usually this means the macro was only invoked conditionally." >&2;}
  14178.    { (exit 1); exit 1; }; }
  14179. fi
  14180. if test -z "${SERIALPLUGIN_TRUE}" && test -z "${SERIALPLUGIN_FALSE}"; then
  14181.   { { $as_echo "$as_me:$LINENO: error: conditional \"SERIALPLUGIN\" was never defined.
  14182. Usually this means the macro was only invoked conditionally." >&5
  14183. $as_echo "$as_me: error: conditional \"SERIALPLUGIN\" was never defined.
  14184. Usually this means the macro was only invoked conditionally." >&2;}
  14185.    { (exit 1); exit 1; }; }
  14186. fi
  14187. if test -z "${NETWORKPLUGIN_TRUE}" && test -z "${NETWORKPLUGIN_FALSE}"; then
  14188.   { { $as_echo "$as_me:$LINENO: error: conditional \"NETWORKPLUGIN\" was never defined.
  14189. Usually this means the macro was only invoked conditionally." >&5
  14190. $as_echo "$as_me: error: conditional \"NETWORKPLUGIN\" was never defined.
  14191. Usually this means the macro was only invoked conditionally." >&2;}
  14192.    { (exit 1); exit 1; }; }
  14193. fi
  14194. if test -z "${SAPPLUGIN_TRUE}" && test -z "${SAPPLUGIN_FALSE}"; then
  14195.   { { $as_echo "$as_me:$LINENO: error: conditional \"SAPPLUGIN\" was never defined.
  14196. Usually this means the macro was only invoked conditionally." >&5
  14197. $as_echo "$as_me: error: conditional \"SAPPLUGIN\" was never defined.
  14198. Usually this means the macro was only invoked conditionally." >&2;}
  14199.    { (exit 1); exit 1; }; }
  14200. fi
  14201. if test -z "${SERVICEPLUGIN_TRUE}" && test -z "${SERVICEPLUGIN_FALSE}"; then
  14202.   { { $as_echo "$as_me:$LINENO: error: conditional \"SERVICEPLUGIN\" was never defined.
  14203. Usually this means the macro was only invoked conditionally." >&5
  14204. $as_echo "$as_me: error: conditional \"SERVICEPLUGIN\" was never defined.
  14205. Usually this means the macro was only invoked conditionally." >&2;}
  14206.    { (exit 1); exit 1; }; }
  14207. fi
  14208. if test -z "${HEALTHPLUGIN_TRUE}" && test -z "${HEALTHPLUGIN_FALSE}"; then
  14209.   { { $as_echo "$as_me:$LINENO: error: conditional \"HEALTHPLUGIN\" was never defined.
  14210. Usually this means the macro was only invoked conditionally." >&5
  14211. $as_echo "$as_me: error: conditional \"HEALTHPLUGIN\" was never defined.
  14212. Usually this means the macro was only invoked conditionally." >&2;}
  14213.    { (exit 1); exit 1; }; }
  14214. fi
  14215. if test -z "${MCAP_TRUE}" && test -z "${MCAP_FALSE}"; then
  14216.   { { $as_echo "$as_me:$LINENO: error: conditional \"MCAP\" was never defined.
  14217. Usually this means the macro was only invoked conditionally." >&5
  14218. $as_echo "$as_me: error: conditional \"MCAP\" was never defined.
  14219. Usually this means the macro was only invoked conditionally." >&2;}
  14220.    { (exit 1); exit 1; }; }
  14221. fi
  14222. if test -z "${HAL_TRUE}" && test -z "${HAL_FALSE}"; then
  14223.   { { $as_echo "$as_me:$LINENO: error: conditional \"HAL\" was never defined.
  14224. Usually this means the macro was only invoked conditionally." >&5
  14225. $as_echo "$as_me: error: conditional \"HAL\" was never defined.
  14226. Usually this means the macro was only invoked conditionally." >&2;}
  14227.    { (exit 1); exit 1; }; }
  14228. fi
  14229. if test -z "${READLINE_TRUE}" && test -z "${READLINE_FALSE}"; then
  14230.   { { $as_echo "$as_me:$LINENO: error: conditional \"READLINE\" was never defined.
  14231. Usually this means the macro was only invoked conditionally." >&5
  14232. $as_echo "$as_me: error: conditional \"READLINE\" was never defined.
  14233. Usually this means the macro was only invoked conditionally." >&2;}
  14234.    { (exit 1); exit 1; }; }
  14235. fi
  14236. if test -z "${GATT_EXAMPLE_PLUGIN_TRUE}" && test -z "${GATT_EXAMPLE_PLUGIN_FALSE}"; then
  14237.   { { $as_echo "$as_me:$LINENO: error: conditional \"GATT_EXAMPLE_PLUGIN\" was never defined.
  14238. Usually this means the macro was only invoked conditionally." >&5
  14239. $as_echo "$as_me: error: conditional \"GATT_EXAMPLE_PLUGIN\" was never defined.
  14240. Usually this means the macro was only invoked conditionally." >&2;}
  14241.    { (exit 1); exit 1; }; }
  14242. fi
  14243. if test -z "${ECHOPLUGIN_TRUE}" && test -z "${ECHOPLUGIN_FALSE}"; then
  14244.   { { $as_echo "$as_me:$LINENO: error: conditional \"ECHOPLUGIN\" was never defined.
  14245. Usually this means the macro was only invoked conditionally." >&5
  14246. $as_echo "$as_me: error: conditional \"ECHOPLUGIN\" was never defined.
  14247. Usually this means the macro was only invoked conditionally." >&2;}
  14248.    { (exit 1); exit 1; }; }
  14249. fi
  14250. if test -z "${PNATPLUGIN_TRUE}" && test -z "${PNATPLUGIN_FALSE}"; then
  14251.   { { $as_echo "$as_me:$LINENO: error: conditional \"PNATPLUGIN\" was never defined.
  14252. Usually this means the macro was only invoked conditionally." >&5
  14253. $as_echo "$as_me: error: conditional \"PNATPLUGIN\" was never defined.
  14254. Usually this means the macro was only invoked conditionally." >&2;}
  14255.    { (exit 1); exit 1; }; }
  14256. fi
  14257. if test -z "${TRACER_TRUE}" && test -z "${TRACER_FALSE}"; then
  14258.   { { $as_echo "$as_me:$LINENO: error: conditional \"TRACER\" was never defined.
  14259. Usually this means the macro was only invoked conditionally." >&5
  14260. $as_echo "$as_me: error: conditional \"TRACER\" was never defined.
  14261. Usually this means the macro was only invoked conditionally." >&2;}
  14262.    { (exit 1); exit 1; }; }
  14263. fi
  14264. if test -z "${HIDD_TRUE}" && test -z "${HIDD_FALSE}"; then
  14265.   { { $as_echo "$as_me:$LINENO: error: conditional \"HIDD\" was never defined.
  14266. Usually this means the macro was only invoked conditionally." >&5
  14267. $as_echo "$as_me: error: conditional \"HIDD\" was never defined.
  14268. Usually this means the macro was only invoked conditionally." >&2;}
  14269.    { (exit 1); exit 1; }; }
  14270. fi
  14271. if test -z "${PAND_TRUE}" && test -z "${PAND_FALSE}"; then
  14272.   { { $as_echo "$as_me:$LINENO: error: conditional \"PAND\" was never defined.
  14273. Usually this means the macro was only invoked conditionally." >&5
  14274. $as_echo "$as_me: error: conditional \"PAND\" was never defined.
  14275. Usually this means the macro was only invoked conditionally." >&2;}
  14276.    { (exit 1); exit 1; }; }
  14277. fi
  14278. if test -z "${DUND_TRUE}" && test -z "${DUND_FALSE}"; then
  14279.   { { $as_echo "$as_me:$LINENO: error: conditional \"DUND\" was never defined.
  14280. Usually this means the macro was only invoked conditionally." >&5
  14281. $as_echo "$as_me: error: conditional \"DUND\" was never defined.
  14282. Usually this means the macro was only invoked conditionally." >&2;}
  14283.    { (exit 1); exit 1; }; }
  14284. fi
  14285. if test -z "${CUPS_TRUE}" && test -z "${CUPS_FALSE}"; then
  14286.   { { $as_echo "$as_me:$LINENO: error: conditional \"CUPS\" was never defined.
  14287. Usually this means the macro was only invoked conditionally." >&5
  14288. $as_echo "$as_me: error: conditional \"CUPS\" was never defined.
  14289. Usually this means the macro was only invoked conditionally." >&2;}
  14290.    { (exit 1); exit 1; }; }
  14291. fi
  14292. if test -z "${TEST_TRUE}" && test -z "${TEST_FALSE}"; then
  14293.   { { $as_echo "$as_me:$LINENO: error: conditional \"TEST\" was never defined.
  14294. Usually this means the macro was only invoked conditionally." >&5
  14295. $as_echo "$as_me: error: conditional \"TEST\" was never defined.
  14296. Usually this means the macro was only invoked conditionally." >&2;}
  14297.    { (exit 1); exit 1; }; }
  14298. fi
  14299. if test -z "${TOOLS_TRUE}" && test -z "${TOOLS_FALSE}"; then
  14300.   { { $as_echo "$as_me:$LINENO: error: conditional \"TOOLS\" was never defined.
  14301. Usually this means the macro was only invoked conditionally." >&5
  14302. $as_echo "$as_me: error: conditional \"TOOLS\" was never defined.
  14303. Usually this means the macro was only invoked conditionally." >&2;}
  14304.    { (exit 1); exit 1; }; }
  14305. fi
  14306. if test -z "${BCCMD_TRUE}" && test -z "${BCCMD_FALSE}"; then
  14307.   { { $as_echo "$as_me:$LINENO: error: conditional \"BCCMD\" was never defined.
  14308. Usually this means the macro was only invoked conditionally." >&5
  14309. $as_echo "$as_me: error: conditional \"BCCMD\" was never defined.
  14310. Usually this means the macro was only invoked conditionally." >&2;}
  14311.    { (exit 1); exit 1; }; }
  14312. fi
  14313. if test -z "${PCMCIA_TRUE}" && test -z "${PCMCIA_FALSE}"; then
  14314.   { { $as_echo "$as_me:$LINENO: error: conditional \"PCMCIA\" was never defined.
  14315. Usually this means the macro was only invoked conditionally." >&5
  14316. $as_echo "$as_me: error: conditional \"PCMCIA\" was never defined.
  14317. Usually this means the macro was only invoked conditionally." >&2;}
  14318.    { (exit 1); exit 1; }; }
  14319. fi
  14320. if test -z "${HID2HCI_TRUE}" && test -z "${HID2HCI_FALSE}"; then
  14321.   { { $as_echo "$as_me:$LINENO: error: conditional \"HID2HCI\" was never defined.
  14322. Usually this means the macro was only invoked conditionally." >&5
  14323. $as_echo "$as_me: error: conditional \"HID2HCI\" was never defined.
  14324. Usually this means the macro was only invoked conditionally." >&2;}
  14325.    { (exit 1); exit 1; }; }
  14326. fi
  14327. if test -z "${DFUTOOL_TRUE}" && test -z "${DFUTOOL_FALSE}"; then
  14328.   { { $as_echo "$as_me:$LINENO: error: conditional \"DFUTOOL\" was never defined.
  14329. Usually this means the macro was only invoked conditionally." >&5
  14330. $as_echo "$as_me: error: conditional \"DFUTOOL\" was never defined.
  14331. Usually this means the macro was only invoked conditionally." >&2;}
  14332.    { (exit 1); exit 1; }; }
  14333. fi
  14334. if test -z "${UDEVRULES_TRUE}" && test -z "${UDEVRULES_FALSE}"; then
  14335.   { { $as_echo "$as_me:$LINENO: error: conditional \"UDEVRULES\" was never defined.
  14336. Usually this means the macro was only invoked conditionally." >&5
  14337. $as_echo "$as_me: error: conditional \"UDEVRULES\" was never defined.
  14338. Usually this means the macro was only invoked conditionally." >&2;}
  14339.    { (exit 1); exit 1; }; }
  14340. fi
  14341. if test -z "${CONFIGFILES_TRUE}" && test -z "${CONFIGFILES_FALSE}"; then
  14342.   { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIGFILES\" was never defined.
  14343. Usually this means the macro was only invoked conditionally." >&5
  14344. $as_echo "$as_me: error: conditional \"CONFIGFILES\" was never defined.
  14345. Usually this means the macro was only invoked conditionally." >&2;}
  14346.    { (exit 1); exit 1; }; }
  14347. fi
  14348. if test -z "${MAEMO6PLUGIN_TRUE}" && test -z "${MAEMO6PLUGIN_FALSE}"; then
  14349.   { { $as_echo "$as_me:$LINENO: error: conditional \"MAEMO6PLUGIN\" was never defined.
  14350. Usually this means the macro was only invoked conditionally." >&5
  14351. $as_echo "$as_me: error: conditional \"MAEMO6PLUGIN\" was never defined.
  14352. Usually this means the macro was only invoked conditionally." >&2;}
  14353.    { (exit 1); exit 1; }; }
  14354. fi
  14355. if test -z "${DBUSOOBPLUGIN_TRUE}" && test -z "${DBUSOOBPLUGIN_FALSE}"; then
  14356.   { { $as_echo "$as_me:$LINENO: error: conditional \"DBUSOOBPLUGIN\" was never defined.
  14357. Usually this means the macro was only invoked conditionally." >&5
  14358. $as_echo "$as_me: error: conditional \"DBUSOOBPLUGIN\" was never defined.
  14359. Usually this means the macro was only invoked conditionally." >&2;}
  14360.    { (exit 1); exit 1; }; }
  14361. fi
  14362.  
  14363. : ${CONFIG_STATUS=./config.status}
  14364. ac_write_fail=0
  14365. ac_clean_files_save=$ac_clean_files
  14366. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  14367. { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  14368. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  14369. cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14370. #! $SHELL
  14371. # Generated by $as_me.
  14372. # Run this file to recreate the current configuration.
  14373. # Compiler output produced by configure, useful for debugging
  14374. # configure, is in config.log if it exists.
  14375.  
  14376. debug=false
  14377. ac_cs_recheck=false
  14378. ac_cs_silent=false
  14379. SHELL=\${CONFIG_SHELL-$SHELL}
  14380. _ACEOF
  14381.  
  14382. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14383. ## --------------------- ##
  14384. ## M4sh Initialization.  ##
  14385. ## --------------------- ##
  14386.  
  14387. # Be more Bourne compatible
  14388. DUALCASE=1; export DUALCASE # for MKS sh
  14389. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  14390.   emulate sh
  14391.   NULLCMD=:
  14392.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  14393.   # is contrary to our usage.  Disable this feature.
  14394.   alias -g '${1+"$@"}'='"$@"'
  14395.   setopt NO_GLOB_SUBST
  14396. else
  14397.   case `(set -o) 2>/dev/null` in
  14398.   *posix*) set -o posix ;;
  14399. esac
  14400.  
  14401. fi
  14402.  
  14403.  
  14404.  
  14405.  
  14406. # PATH needs CR
  14407. # Avoid depending upon Character Ranges.
  14408. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  14409. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  14410. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  14411. as_cr_digits='0123456789'
  14412. as_cr_alnum=$as_cr_Letters$as_cr_digits
  14413.  
  14414. as_nl='
  14415. '
  14416. export as_nl
  14417. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  14418. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  14419. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  14420. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  14421. if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  14422.   as_echo='printf %s\n'
  14423.   as_echo_n='printf %s'
  14424. else
  14425.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  14426.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  14427.     as_echo_n='/usr/ucb/echo -n'
  14428.   else
  14429.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  14430.     as_echo_n_body='eval
  14431.      arg=$1;
  14432.      case $arg in
  14433.      *"$as_nl"*)
  14434.     expr "X$arg" : "X\\(.*\\)$as_nl";
  14435.     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  14436.      esac;
  14437.      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  14438.    '
  14439.     export as_echo_n_body
  14440.     as_echo_n='sh -c $as_echo_n_body as_echo'
  14441.   fi
  14442.   export as_echo_body
  14443.   as_echo='sh -c $as_echo_body as_echo'
  14444. fi
  14445.  
  14446. # The user is always right.
  14447. if test "${PATH_SEPARATOR+set}" != set; then
  14448.   PATH_SEPARATOR=:
  14449.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  14450.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  14451.       PATH_SEPARATOR=';'
  14452.   }
  14453. fi
  14454.  
  14455. # Support unset when possible.
  14456. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  14457.   as_unset=unset
  14458. else
  14459.   as_unset=false
  14460. fi
  14461.  
  14462.  
  14463. # IFS
  14464. # We need space, tab and new line, in precisely that order.  Quoting is
  14465. # there to prevent editors from complaining about space-tab.
  14466. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  14467. # splitting by setting IFS to empty value.)
  14468. IFS=" ""    $as_nl"
  14469.  
  14470. # Find who we are.  Look in the path if we contain no directory separator.
  14471. case $0 in
  14472.   *[\\/]* ) as_myself=$0 ;;
  14473.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14474. for as_dir in $PATH
  14475. do
  14476.   IFS=$as_save_IFS
  14477.   test -z "$as_dir" && as_dir=.
  14478.   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  14479. done
  14480. IFS=$as_save_IFS
  14481.  
  14482.      ;;
  14483. esac
  14484. # We did not find ourselves, most probably we were run as `sh COMMAND'
  14485. # in which case we are not to be found in the path.
  14486. if test "x$as_myself" = x; then
  14487.   as_myself=$0
  14488. fi
  14489. if test ! -f "$as_myself"; then
  14490.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  14491.   { (exit 1); exit 1; }
  14492. fi
  14493.  
  14494. # Work around bugs in pre-3.0 UWIN ksh.
  14495. for as_var in ENV MAIL MAILPATH
  14496. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  14497. done
  14498. PS1='$ '
  14499. PS2='> '
  14500. PS4='+ '
  14501.  
  14502. # NLS nuisances.
  14503. LC_ALL=C
  14504. export LC_ALL
  14505. LANGUAGE=C
  14506. export LANGUAGE
  14507.  
  14508. # Required to use basename.
  14509. if expr a : '\(a\)' >/dev/null 2>&1 &&
  14510.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  14511.   as_expr=expr
  14512. else
  14513.   as_expr=false
  14514. fi
  14515.  
  14516. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  14517.   as_basename=basename
  14518. else
  14519.   as_basename=false
  14520. fi
  14521.  
  14522.  
  14523. # Name of the executable.
  14524. as_me=`$as_basename -- "$0" ||
  14525. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  14526.      X"$0" : 'X\(//\)$' \| \
  14527.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  14528. $as_echo X/"$0" |
  14529.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  14530.         s//\1/
  14531.         q
  14532.       }
  14533.       /^X\/\(\/\/\)$/{
  14534.         s//\1/
  14535.         q
  14536.       }
  14537.       /^X\/\(\/\).*/{
  14538.         s//\1/
  14539.         q
  14540.       }
  14541.       s/.*/./; q'`
  14542.  
  14543. # CDPATH.
  14544. $as_unset CDPATH
  14545.  
  14546.  
  14547.  
  14548.   as_lineno_1=$LINENO
  14549.   as_lineno_2=$LINENO
  14550.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  14551.   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  14552.  
  14553.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  14554.   # uniformly replaced by the line number.  The first 'sed' inserts a
  14555.   # line-number line after each line using $LINENO; the second 'sed'
  14556.   # does the real work.  The second script uses 'N' to pair each
  14557.   # line-number line with the line containing $LINENO, and appends
  14558.   # trailing '-' during substitution so that $LINENO is not a special
  14559.   # case at line end.
  14560.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  14561.   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  14562.   # E. McMahon (1931-1989) for sed's syntax.  :-)
  14563.   sed -n '
  14564.    p
  14565.    /[$]LINENO/=
  14566.  ' <$as_myself |
  14567.     sed '
  14568.      s/[$]LINENO.*/&-/
  14569.      t lineno
  14570.      b
  14571.      :lineno
  14572.      N
  14573.      :loop
  14574.      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  14575.      t loop
  14576.      s/-\n.*//
  14577.    ' >$as_me.lineno &&
  14578.   chmod +x "$as_me.lineno" ||
  14579.     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  14580.    { (exit 1); exit 1; }; }
  14581.  
  14582.   # Don't try to exec as it changes $[0], causing all sort of problems
  14583.   # (the dirname of $[0] is not the place where we might find the
  14584.   # original and so on.  Autoconf is especially sensitive to this).
  14585.   . "./$as_me.lineno"
  14586.   # Exit status is that of the last command.
  14587.   exit
  14588. }
  14589.  
  14590.  
  14591. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  14592.   as_dirname=dirname
  14593. else
  14594.   as_dirname=false
  14595. fi
  14596.  
  14597. ECHO_C= ECHO_N= ECHO_T=
  14598. case `echo -n x` in
  14599. -n*)
  14600.   case `echo 'x\c'` in
  14601.   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  14602.   *)   ECHO_C='\c';;
  14603.   esac;;
  14604. *)
  14605.   ECHO_N='-n';;
  14606. esac
  14607. if expr a : '\(a\)' >/dev/null 2>&1 &&
  14608.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  14609.   as_expr=expr
  14610. else
  14611.   as_expr=false
  14612. fi
  14613.  
  14614. rm -f conf$$ conf$$.exe conf$$.file
  14615. if test -d conf$$.dir; then
  14616.   rm -f conf$$.dir/conf$$.file
  14617. else
  14618.   rm -f conf$$.dir
  14619.   mkdir conf$$.dir 2>/dev/null
  14620. fi
  14621. if (echo >conf$$.file) 2>/dev/null; then
  14622.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  14623.     as_ln_s='ln -s'
  14624.     # ... but there are two gotchas:
  14625.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  14626.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  14627.     # In both cases, we have to default to `cp -p'.
  14628.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  14629.       as_ln_s='cp -p'
  14630.   elif ln conf$$.file conf$$ 2>/dev/null; then
  14631.     as_ln_s=ln
  14632.   else
  14633.     as_ln_s='cp -p'
  14634.   fi
  14635. else
  14636.   as_ln_s='cp -p'
  14637. fi
  14638. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  14639. rmdir conf$$.dir 2>/dev/null
  14640.  
  14641. if mkdir -p . 2>/dev/null; then
  14642.   as_mkdir_p=:
  14643. else
  14644.   test -d ./-p && rmdir ./-p
  14645.   as_mkdir_p=false
  14646. fi
  14647.  
  14648. if test -x / >/dev/null 2>&1; then
  14649.   as_test_x='test -x'
  14650. else
  14651.   if ls -dL / >/dev/null 2>&1; then
  14652.     as_ls_L_option=L
  14653.   else
  14654.     as_ls_L_option=
  14655.   fi
  14656.   as_test_x='
  14657.    eval sh -c '\''
  14658.      if test -d "$1"; then
  14659.     test -d "$1/.";
  14660.      else
  14661.     case $1 in
  14662.     -*)set "./$1";;
  14663.     esac;
  14664.     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  14665.     ???[sx]*):;;*)false;;esac;fi
  14666.    '\'' sh
  14667.  '
  14668. fi
  14669. as_executable_p=$as_test_x
  14670.  
  14671. # Sed expression to map a string onto a valid CPP name.
  14672. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  14673.  
  14674. # Sed expression to map a string onto a valid variable name.
  14675. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  14676.  
  14677.  
  14678. exec 6>&1
  14679.  
  14680. # Save the log message, to keep $[0] and so on meaningful, and to
  14681. # report actual input values of CONFIG_FILES etc. instead of their
  14682. # values after options handling.
  14683. ac_log="
  14684. This file was extended by bluez $as_me 4.93, which was
  14685. generated by GNU Autoconf 2.63.  Invocation command line was
  14686.  
  14687.  CONFIG_FILES    = $CONFIG_FILES
  14688.  CONFIG_HEADERS  = $CONFIG_HEADERS
  14689.  CONFIG_LINKS    = $CONFIG_LINKS
  14690.  CONFIG_COMMANDS = $CONFIG_COMMANDS
  14691.  $ $0 $@
  14692.  
  14693. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  14694. "
  14695.  
  14696. _ACEOF
  14697.  
  14698. case $ac_config_files in *"
  14699. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  14700. esac
  14701.  
  14702. case $ac_config_headers in *"
  14703. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  14704. esac
  14705.  
  14706.  
  14707. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14708. # Files that config.status was made for.
  14709. config_files="$ac_config_files"
  14710. config_headers="$ac_config_headers"
  14711. config_commands="$ac_config_commands"
  14712.  
  14713. _ACEOF
  14714.  
  14715. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14716. ac_cs_usage="\
  14717. \`$as_me' instantiates files from templates according to the
  14718. current configuration.
  14719.  
  14720. Usage: $0 [OPTION]... [FILE]...
  14721.  
  14722.  -h, --help       print this help, then exit
  14723.  -V, --version    print version number and configuration settings, then exit
  14724.  -q, --quiet, --silent
  14725.                   do not print progress messages
  14726.  -d, --debug      don't remove temporary files
  14727.      --recheck    update $as_me by reconfiguring in the same conditions
  14728.      --file=FILE[:TEMPLATE]
  14729.                   instantiate the configuration file FILE
  14730.      --header=FILE[:TEMPLATE]
  14731.                   instantiate the configuration header FILE
  14732.  
  14733. Configuration files:
  14734. $config_files
  14735.  
  14736. Configuration headers:
  14737. $config_headers
  14738.  
  14739. Configuration commands:
  14740. $config_commands
  14741.  
  14742. Report bugs to <bug-autoconf@gnu.org>."
  14743.  
  14744. _ACEOF
  14745. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14746. ac_cs_version="\\
  14747. bluez config.status 4.93
  14748. configured by $0, generated by GNU Autoconf 2.63,
  14749.  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  14750.  
  14751. Copyright (C) 2008 Free Software Foundation, Inc.
  14752. This config.status script is free software; the Free Software Foundation
  14753. gives unlimited permission to copy, distribute and modify it."
  14754.  
  14755. ac_pwd='$ac_pwd'
  14756. srcdir='$srcdir'
  14757. INSTALL='$INSTALL'
  14758. MKDIR_P='$MKDIR_P'
  14759. AWK='$AWK'
  14760. test -n "\$AWK" || AWK=awk
  14761. _ACEOF
  14762.  
  14763. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14764. # The default lists apply if the user does not specify any file.
  14765. ac_need_defaults=:
  14766. while test $# != 0
  14767. do
  14768.  case $1 in
  14769.  --*=*)
  14770.    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  14771.    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  14772.    ac_shift=:
  14773.    ;;
  14774.  *)
  14775.    ac_option=$1
  14776.    ac_optarg=$2
  14777.    ac_shift=shift
  14778.    ;;
  14779.  esac
  14780.  
  14781.  case $ac_option in
  14782.  # Handling of the options.
  14783.  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  14784.    ac_cs_recheck=: ;;
  14785.  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  14786.    $as_echo "$ac_cs_version"; exit ;;
  14787.  --debug | --debu | --deb | --de | --d | -d )
  14788.    debug=: ;;
  14789.  --file | --fil | --fi | --f )
  14790.    $ac_shift
  14791.    case $ac_optarg in
  14792.    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  14793.     esac
  14794.     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
  14795.     ac_need_defaults=false;;
  14796.   --header | --heade | --head | --hea )
  14797.     $ac_shift
  14798.     case $ac_optarg in
  14799.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  14800.     esac
  14801.     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
  14802.     ac_need_defaults=false;;
  14803.   --he | --h)
  14804.     # Conflict between --help and --header
  14805.     { $as_echo "$as_me: error: ambiguous option: $1
  14806. Try \`$0 --help' for more information." >&2
  14807.   { (exit 1); exit 1; }; };;
  14808.  --help | --hel | -h )
  14809.    $as_echo "$ac_cs_usage"; exit ;;
  14810.  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  14811.  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  14812.    ac_cs_silent=: ;;
  14813.  
  14814.  # This is an error.
  14815.  -*) { $as_echo "$as_me: error: unrecognized option: $1
  14816. Try \`$0 --help' for more information." >&2
  14817.    { (exit 1); exit 1; }; } ;;
  14818.  
  14819.   *) ac_config_targets="$ac_config_targets $1"
  14820.      ac_need_defaults=false ;;
  14821.  
  14822.   esac
  14823.   shift
  14824. done
  14825.  
  14826. ac_configure_extra_args=
  14827.  
  14828. if $ac_cs_silent; then
  14829.   exec 6>/dev/null
  14830.   ac_configure_extra_args="$ac_configure_extra_args --silent"
  14831. fi
  14832.  
  14833. _ACEOF
  14834. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14835. if \$ac_cs_recheck; then
  14836.   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  14837.   shift
  14838.   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  14839.   CONFIG_SHELL='$SHELL'
  14840.   export CONFIG_SHELL
  14841.   exec "\$@"
  14842. fi
  14843.  
  14844. _ACEOF
  14845. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14846. exec 5>>config.log
  14847. {
  14848.   echo
  14849.   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  14850. ## Running $as_me. ##
  14851. _ASBOX
  14852.   $as_echo "$ac_log"
  14853. } >&5
  14854.  
  14855. _ACEOF
  14856. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14857. #
  14858. # INIT-COMMANDS
  14859. #
  14860. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  14861.  
  14862.  
  14863. # The HP-UX ksh and POSIX shell print the target directory to stdout
  14864. # if CDPATH is set.
  14865. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  14866.  
  14867. sed_quote_subst='$sed_quote_subst'
  14868. double_quote_subst='$double_quote_subst'
  14869. delay_variable_subst='$delay_variable_subst'
  14870. enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  14871. macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  14872. macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  14873. enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  14874. pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  14875. enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  14876. host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  14877. host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  14878. host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  14879. build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  14880. build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  14881. build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  14882. SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  14883. Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  14884. GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  14885. EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  14886. FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  14887. LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  14888. NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  14889. LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  14890. max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  14891. ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  14892. exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  14893. lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  14894. lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  14895. lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  14896. reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  14897. reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14898. OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  14899. deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  14900. file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  14901. AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  14902. AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  14903. STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  14904. RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  14905. old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14906. old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14907. old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14908. CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  14909. CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  14910. compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  14911. GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  14912. lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  14913. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  14914. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
  14915. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  14916. objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  14917. SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  14918. ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  14919. MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  14920. lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  14921. lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  14922. lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  14923. lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  14924. lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  14925. need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  14926. DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  14927. NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  14928. LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  14929. OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  14930. OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  14931. libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  14932. shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14933. extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14934. archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  14935. enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  14936. export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  14937. whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  14938. compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  14939. old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14940. old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14941. archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14942. archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14943. module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14944. module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14945. with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  14946. allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  14947. no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  14948. hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  14949. hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  14950. hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  14951. hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  14952. hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  14953. hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  14954. hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  14955. hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  14956. inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  14957. link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  14958. fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  14959. always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  14960. export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14961. exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  14962. include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  14963. prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14964. file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  14965. variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  14966. need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  14967. need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  14968. version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  14969. runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  14970. shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  14971. shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  14972. libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  14973. library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  14974. soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  14975. postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14976. postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14977. finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  14978. finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  14979. hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  14980. sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  14981. sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  14982. hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  14983. enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  14984. enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  14985. enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  14986. old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  14987. striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  14988.  
  14989. LTCC='$LTCC'
  14990. LTCFLAGS='$LTCFLAGS'
  14991. compiler='$compiler_DEFAULT'
  14992.  
  14993. # Quote evaled strings.
  14994. for var in SED \
  14995. GREP \
  14996. EGREP \
  14997. FGREP \
  14998. LD \
  14999. NM \
  15000. LN_S \
  15001. lt_SP2NL \
  15002. lt_NL2SP \
  15003. reload_flag \
  15004. OBJDUMP \
  15005. deplibs_check_method \
  15006. file_magic_cmd \
  15007. AR \
  15008. AR_FLAGS \
  15009. STRIP \
  15010. RANLIB \
  15011. CC \
  15012. CFLAGS \
  15013. compiler \
  15014. lt_cv_sys_global_symbol_pipe \
  15015. lt_cv_sys_global_symbol_to_cdecl \
  15016. lt_cv_sys_global_symbol_to_c_name_address \
  15017. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  15018. SHELL \
  15019. ECHO \
  15020. lt_prog_compiler_no_builtin_flag \
  15021. lt_prog_compiler_wl \
  15022. lt_prog_compiler_pic \
  15023. lt_prog_compiler_static \
  15024. lt_cv_prog_compiler_c_o \
  15025. need_locks \
  15026. DSYMUTIL \
  15027. NMEDIT \
  15028. LIPO \
  15029. OTOOL \
  15030. OTOOL64 \
  15031. shrext_cmds \
  15032. export_dynamic_flag_spec \
  15033. whole_archive_flag_spec \
  15034. compiler_needs_object \
  15035. with_gnu_ld \
  15036. allow_undefined_flag \
  15037. no_undefined_flag \
  15038. hardcode_libdir_flag_spec \
  15039. hardcode_libdir_flag_spec_ld \
  15040. hardcode_libdir_separator \
  15041. fix_srcfile_path \
  15042. exclude_expsyms \
  15043. include_expsyms \
  15044. file_list_spec \
  15045. variables_saved_for_relink \
  15046. libname_spec \
  15047. library_names_spec \
  15048. soname_spec \
  15049. finish_eval \
  15050. old_striplib \
  15051. striplib; do
  15052.     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  15053.     *[\\\\\\\`\\"\\\$]*)
  15054.       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  15055.       ;;
  15056.     *)
  15057.       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  15058.       ;;
  15059.     esac
  15060. done
  15061.  
  15062. # Double-quote double-evaled strings.
  15063. for var in reload_cmds \
  15064. old_postinstall_cmds \
  15065. old_postuninstall_cmds \
  15066. old_archive_cmds \
  15067. extract_expsyms_cmds \
  15068. old_archive_from_new_cmds \
  15069. old_archive_from_expsyms_cmds \
  15070. archive_cmds \
  15071. archive_expsym_cmds \
  15072. module_cmds \
  15073. module_expsym_cmds \
  15074. export_symbols_cmds \
  15075. prelink_cmds \
  15076. postinstall_cmds \
  15077. postuninstall_cmds \
  15078. finish_cmds \
  15079. sys_lib_search_path_spec \
  15080. sys_lib_dlsearch_path_spec; do
  15081.     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  15082.     *[\\\\\\\`\\"\\\$]*)
  15083.       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  15084.       ;;
  15085.     *)
  15086.       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  15087.       ;;
  15088.     esac
  15089. done
  15090.  
  15091. # Fix-up fallback echo if it was mangled by the above quoting rules.
  15092. case \$lt_ECHO in
  15093. *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  15094.   ;;
  15095. esac
  15096.  
  15097. ac_aux_dir='$ac_aux_dir'
  15098. xsi_shell='$xsi_shell'
  15099. lt_shell_append='$lt_shell_append'
  15100.  
  15101. # See if we are running on zsh, and set the options which allow our
  15102. # commands through without removal of \ escapes INIT.
  15103. if test -n "\${ZSH_VERSION+set}" ; then
  15104.    setopt NO_GLOB_SUBST
  15105. fi
  15106.  
  15107.  
  15108.     PACKAGE='$PACKAGE'
  15109.     VERSION='$VERSION'
  15110.     TIMESTAMP='$TIMESTAMP'
  15111.     RM='$RM'
  15112.     ofile='$ofile'
  15113.  
  15114.  
  15115.  
  15116.  
  15117. _ACEOF
  15118.  
  15119. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15120.  
  15121. # Handling of arguments.
  15122. for ac_config_target in $ac_config_targets
  15123. do
  15124.   case $ac_config_target in
  15125.     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  15126.     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  15127.     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  15128.     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  15129.     "scripts/bluetooth.rules") CONFIG_FILES="$CONFIG_FILES scripts/bluetooth.rules" ;;
  15130.     "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
  15131.     "src/bluetoothd.8") CONFIG_FILES="$CONFIG_FILES src/bluetoothd.8" ;;
  15132.     "bluez.pc") CONFIG_FILES="$CONFIG_FILES bluez.pc" ;;
  15133.  
  15134.   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  15135. $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  15136.    { (exit 1); exit 1; }; };;
  15137.   esac
  15138. done
  15139.  
  15140.  
  15141. # If the user did not use the arguments to specify the items to instantiate,
  15142. # then the envvar interface is used.  Set only those that are not.
  15143. # We use the long form for the default assignment because of an extremely
  15144. # bizarre bug on SunOS 4.1.3.
  15145. if $ac_need_defaults; then
  15146.   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  15147.   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  15148.   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  15149. fi
  15150.  
  15151. # Have a temporary directory for convenience.  Make it in the build tree
  15152. # simply because there is no reason against having it here, and in addition,
  15153. # creating and moving files from /tmp can sometimes cause problems.
  15154. # Hook for its removal unless debugging.
  15155. # Note that there is a small window in which the directory will not be cleaned:
  15156. # after its creation but before its name has been assigned to `$tmp'.
  15157. $debug ||
  15158. {
  15159.   tmp=
  15160.   trap 'exit_status=$?
  15161.  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  15162. ' 0
  15163.   trap '{ (exit 1); exit 1; }' 1 2 13 15
  15164. }
  15165. # Create a (secure) tmp directory for tmp files.
  15166.  
  15167. {
  15168.   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  15169.   test -n "$tmp" && test -d "$tmp"
  15170. }  ||
  15171. {
  15172.   tmp=./conf$$-$RANDOM
  15173.   (umask 077 && mkdir "$tmp")
  15174. } ||
  15175. {
  15176.    $as_echo "$as_me: cannot create a temporary directory in ." >&2
  15177.    { (exit 1); exit 1; }
  15178. }
  15179.  
  15180. # Set up the scripts for CONFIG_FILES section.
  15181. # No need to generate them if there are no CONFIG_FILES.
  15182. # This happens for instance with `./config.status config.h'.
  15183. if test -n "$CONFIG_FILES"; then
  15184.  
  15185.  
  15186. ac_cr='
  15187. '
  15188. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  15189. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  15190.   ac_cs_awk_cr='\\r'
  15191. else
  15192.   ac_cs_awk_cr=$ac_cr
  15193. fi
  15194.  
  15195. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  15196. _ACEOF
  15197.  
  15198.  
  15199. {
  15200.   echo "cat >conf$$subs.awk <<_ACEOF" &&
  15201.   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  15202.   echo "_ACEOF"
  15203. } >conf$$subs.sh ||
  15204.   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  15205. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  15206.    { (exit 1); exit 1; }; }
  15207. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  15208. ac_delim='%!_!# '
  15209. for ac_last_try in false false false false false :; do
  15210.   . ./conf$$subs.sh ||
  15211.     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  15212. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  15213.    { (exit 1); exit 1; }; }
  15214.  
  15215.   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  15216.   if test $ac_delim_n = $ac_delim_num; then
  15217.     break
  15218.   elif $ac_last_try; then
  15219.     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  15220. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  15221.    { (exit 1); exit 1; }; }
  15222.   else
  15223.     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  15224.   fi
  15225. done
  15226. rm -f conf$$subs.sh
  15227.  
  15228. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15229. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  15230. _ACEOF
  15231. sed -n '
  15232. h
  15233. s/^/S["/; s/!.*/"]=/
  15234. p
  15235. g
  15236. s/^[^!]*!//
  15237. :repl
  15238. t repl
  15239. s/'"$ac_delim"'$//
  15240. t delim
  15241. :nl
  15242. h
  15243. s/\(.\{148\}\).*/\1/
  15244. t more1
  15245. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  15246. p
  15247. n
  15248. b repl
  15249. :more1
  15250. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  15251. p
  15252. g
  15253. s/.\{148\}//
  15254. t nl
  15255. :delim
  15256. h
  15257. s/\(.\{148\}\).*/\1/
  15258. t more2
  15259. s/["\\]/\\&/g; s/^/"/; s/$/"/
  15260. p
  15261. b
  15262. :more2
  15263. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  15264. p
  15265. g
  15266. s/.\{148\}//
  15267. t delim
  15268. ' <conf$$subs.awk | sed '
  15269. /^[^""]/{
  15270.  N
  15271.  s/\n//
  15272. }
  15273. ' >>$CONFIG_STATUS || ac_write_fail=1
  15274. rm -f conf$$subs.awk
  15275. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15276. _ACAWK
  15277. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  15278.   for (key in S) S_is_set[key] = 1
  15279.   FS = ""
  15280.  
  15281. }
  15282. {
  15283.   line = $ 0
  15284.   nfields = split(line, field, "@")
  15285.   substed = 0
  15286.   len = length(field[1])
  15287.   for (i = 2; i < nfields; i++) {
  15288.     key = field[i]
  15289.     keylen = length(key)
  15290.     if (S_is_set[key]) {
  15291.       value = S[key]
  15292.       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  15293.       len += length(value) + length(field[++i])
  15294.       substed = 1
  15295.     } else
  15296.       len += 1 + keylen
  15297.   }
  15298.  
  15299.   print line
  15300. }
  15301.  
  15302. _ACAWK
  15303. _ACEOF
  15304. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15305. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  15306.   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  15307. else
  15308.   cat
  15309. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  15310.   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
  15311. $as_echo "$as_me: error: could not setup config files machinery" >&2;}
  15312.    { (exit 1); exit 1; }; }
  15313. _ACEOF
  15314.  
  15315. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  15316. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  15317. # trailing colons and then remove the whole line if VPATH becomes empty
  15318. # (actually we leave an empty line to preserve line numbers).
  15319. if test "x$srcdir" = x.; then
  15320.   ac_vpsub='/^[  ]*VPATH[    ]*=/{
  15321. s/:*\$(srcdir):*/:/
  15322. s/:*\${srcdir}:*/:/
  15323. s/:*@srcdir@:*/:/
  15324. s/^\([^=]*=[     ]*\):*/\1/
  15325. s/:*$//
  15326. s/^[^=]*=[   ]*$//
  15327. }'
  15328. fi
  15329.  
  15330. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15331. fi # test -n "$CONFIG_FILES"
  15332.  
  15333. # Set up the scripts for CONFIG_HEADERS section.
  15334. # No need to generate them if there are no CONFIG_HEADERS.
  15335. # This happens for instance with `./config.status Makefile'.
  15336. if test -n "$CONFIG_HEADERS"; then
  15337. cat >"$tmp/defines.awk" <<\_ACAWK ||
  15338. BEGIN {
  15339. _ACEOF
  15340.  
  15341. # Transform confdefs.h into an awk script `defines.awk', embedded as
  15342. # here-document in config.status, that substitutes the proper values into
  15343. # config.h.in to produce config.h.
  15344.  
  15345. # Create a delimiter string that does not exist in confdefs.h, to ease
  15346. # handling of long lines.
  15347. ac_delim='%!_!# '
  15348. for ac_last_try in false false :; do
  15349.   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  15350.   if test -z "$ac_t"; then
  15351.     break
  15352.   elif $ac_last_try; then
  15353.     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
  15354. $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
  15355.    { (exit 1); exit 1; }; }
  15356.   else
  15357.     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  15358.   fi
  15359. done
  15360.  
  15361. # For the awk script, D is an array of macro values keyed by name,
  15362. # likewise P contains macro parameters if any.  Preserve backslash
  15363. # newline sequences.
  15364.  
  15365. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  15366. sed -n '
  15367. s/.\{148\}/&'"$ac_delim"'/g
  15368. t rset
  15369. :rset
  15370. s/^[     ]*#[    ]*define[   ][  ]*/ /
  15371. t def
  15372. d
  15373. :def
  15374. s/\\$//
  15375. t bsnl
  15376. s/["\\]/\\&/g
  15377. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
  15378. D["\1"]=" \3"/p
  15379. s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
  15380. d
  15381. :bsnl
  15382. s/["\\]/\\&/g
  15383. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
  15384. D["\1"]=" \3\\\\\\n"\\/p
  15385. t cont
  15386. s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  15387. t cont
  15388. d
  15389. :cont
  15390. n
  15391. s/.\{148\}/&'"$ac_delim"'/g
  15392. t clear
  15393. :clear
  15394. s/\\$//
  15395. t bsnlc
  15396. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  15397. d
  15398. :bsnlc
  15399. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  15400. b cont
  15401. ' <confdefs.h | sed '
  15402. s/'"$ac_delim"'/"\\\
  15403. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  15404.  
  15405. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15406.   for (key in D) D_is_set[key] = 1
  15407.   FS = ""
  15408. }
  15409. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  15410.   line = \$ 0
  15411.   split(line, arg, " ")
  15412.   if (arg[1] == "#") {
  15413.     defundef = arg[2]
  15414.     mac1 = arg[3]
  15415.   } else {
  15416.     defundef = substr(arg[1], 2)
  15417.     mac1 = arg[2]
  15418.   }
  15419.   split(mac1, mac2, "(") #)
  15420.   macro = mac2[1]
  15421.   prefix = substr(line, 1, index(line, defundef) - 1)
  15422.   if (D_is_set[macro]) {
  15423.     # Preserve the white space surrounding the "#".
  15424.     print prefix "define", macro P[macro] D[macro]
  15425.     next
  15426.   } else {
  15427.     # Replace #undef with comments.  This is necessary, for example,
  15428.     # in the case of _POSIX_SOURCE, which is predefined and required
  15429.     # on some systems where configure will not decide to define it.
  15430.     if (defundef == "undef") {
  15431.       print "/*", prefix defundef, macro, "*/"
  15432.       next
  15433.     }
  15434.   }
  15435. }
  15436. { print }
  15437. _ACAWK
  15438. _ACEOF
  15439. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15440.   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
  15441. $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
  15442.    { (exit 1); exit 1; }; }
  15443. fi # test -n "$CONFIG_HEADERS"
  15444.  
  15445.  
  15446. eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
  15447. shift
  15448. for ac_tag
  15449. do
  15450.   case $ac_tag in
  15451.   :[FHLC]) ac_mode=$ac_tag; continue;;
  15452.   esac
  15453.   case $ac_mode$ac_tag in
  15454.   :[FHL]*:*);;
  15455.   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
  15456. $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
  15457.    { (exit 1); exit 1; }; };;
  15458.   :[FH]-) ac_tag=-:-;;
  15459.   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  15460.   esac
  15461.   ac_save_IFS=$IFS
  15462.   IFS=:
  15463.   set x $ac_tag
  15464.   IFS=$ac_save_IFS
  15465.   shift
  15466.   ac_file=$1
  15467.   shift
  15468.  
  15469.   case $ac_mode in
  15470.   :L) ac_source=$1;;
  15471.   :[FH])
  15472.     ac_file_inputs=
  15473.     for ac_f
  15474.     do
  15475.       case $ac_f in
  15476.       -) ac_f="$tmp/stdin";;
  15477.       *) # Look for the file first in the build tree, then in the source tree
  15478.      # (if the path is not absolute).  The absolute path cannot be DOS-style,
  15479.      # because $ac_f cannot contain `:'.
  15480.      test -f "$ac_f" ||
  15481.        case $ac_f in
  15482.        [\\/$]*) false;;
  15483.        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  15484.        esac ||
  15485.        { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  15486. $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  15487.    { (exit 1); exit 1; }; };;
  15488.       esac
  15489.       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  15490.       ac_file_inputs="$ac_file_inputs '$ac_f'"
  15491.     done
  15492.  
  15493.     # Let's still pretend it is `configure' which instantiates (i.e., don't
  15494.     # use $as_me), people would be surprised to read:
  15495.     #    /* config.h.  Generated by config.status.  */
  15496.     configure_input='Generated from '`
  15497.       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  15498.     `' by configure.'
  15499.     if test x"$ac_file" != x-; then
  15500.       configure_input="$ac_file.  $configure_input"
  15501.       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
  15502. $as_echo "$as_me: creating $ac_file" >&6;}
  15503.     fi
  15504.     # Neutralize special characters interpreted by sed in replacement strings.
  15505.     case $configure_input in #(
  15506.     *\&* | *\|* | *\\* )
  15507.        ac_sed_conf_input=`$as_echo "$configure_input" |
  15508.        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  15509.     *) ac_sed_conf_input=$configure_input;;
  15510.     esac
  15511.  
  15512.     case $ac_tag in
  15513.     *:-:* | *:-) cat >"$tmp/stdin" \
  15514.       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  15515. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  15516.    { (exit 1); exit 1; }; } ;;
  15517.     esac
  15518.     ;;
  15519.   esac
  15520.  
  15521.   ac_dir=`$as_dirname -- "$ac_file" ||
  15522. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15523.      X"$ac_file" : 'X\(//\)[^/]' \| \
  15524.      X"$ac_file" : 'X\(//\)$' \| \
  15525.      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  15526. $as_echo X"$ac_file" |
  15527.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15528.         s//\1/
  15529.         q
  15530.       }
  15531.       /^X\(\/\/\)[^/].*/{
  15532.         s//\1/
  15533.         q
  15534.       }
  15535.       /^X\(\/\/\)$/{
  15536.         s//\1/
  15537.         q
  15538.       }
  15539.       /^X\(\/\).*/{
  15540.         s//\1/
  15541.         q
  15542.       }
  15543.       s/.*/./; q'`
  15544.   { as_dir="$ac_dir"
  15545.   case $as_dir in #(
  15546.   -*) as_dir=./$as_dir;;
  15547.   esac
  15548.   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  15549.     as_dirs=
  15550.     while :; do
  15551.       case $as_dir in #(
  15552.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  15553.       *) as_qdir=$as_dir;;
  15554.       esac
  15555.       as_dirs="'$as_qdir' $as_dirs"
  15556.       as_dir=`$as_dirname -- "$as_dir" ||
  15557. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15558.      X"$as_dir" : 'X\(//\)[^/]' \| \
  15559.      X"$as_dir" : 'X\(//\)$' \| \
  15560.      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  15561. $as_echo X"$as_dir" |
  15562.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15563.         s//\1/
  15564.         q
  15565.       }
  15566.       /^X\(\/\/\)[^/].*/{
  15567.         s//\1/
  15568.         q
  15569.       }
  15570.       /^X\(\/\/\)$/{
  15571.         s//\1/
  15572.         q
  15573.       }
  15574.       /^X\(\/\).*/{
  15575.         s//\1/
  15576.         q
  15577.       }
  15578.       s/.*/./; q'`
  15579.       test -d "$as_dir" && break
  15580.     done
  15581.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  15582.   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  15583. $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  15584.    { (exit 1); exit 1; }; }; }
  15585.   ac_builddir=.
  15586.  
  15587. case "$ac_dir" in
  15588. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  15589. *)
  15590.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  15591.   # A ".." for each directory in $ac_dir_suffix.
  15592.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  15593.   case $ac_top_builddir_sub in
  15594.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  15595.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  15596.   esac ;;
  15597. esac
  15598. ac_abs_top_builddir=$ac_pwd
  15599. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  15600. # for backward compatibility:
  15601. ac_top_builddir=$ac_top_build_prefix
  15602.  
  15603. case $srcdir in
  15604.   .)  # We are building in place.
  15605.     ac_srcdir=.
  15606.     ac_top_srcdir=$ac_top_builddir_sub
  15607.     ac_abs_top_srcdir=$ac_pwd ;;
  15608.   [\\/]* | ?:[\\/]* )  # Absolute name.
  15609.     ac_srcdir=$srcdir$ac_dir_suffix;
  15610.     ac_top_srcdir=$srcdir
  15611.     ac_abs_top_srcdir=$srcdir ;;
  15612.   *) # Relative name.
  15613.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  15614.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  15615.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  15616. esac
  15617. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  15618.  
  15619.  
  15620.   case $ac_mode in
  15621.   :F)
  15622.   #
  15623.   # CONFIG_FILE
  15624.   #
  15625.  
  15626.   case $INSTALL in
  15627.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  15628.   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  15629.   esac
  15630.   ac_MKDIR_P=$MKDIR_P
  15631.   case $MKDIR_P in
  15632.   [\\/$]* | ?:[\\/]* ) ;;
  15633.   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  15634.   esac
  15635. _ACEOF
  15636.  
  15637. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15638. # If the template does not know about datarootdir, expand it.
  15639. # FIXME: This hack should be removed a few years after 2.60.
  15640. ac_datarootdir_hack=; ac_datarootdir_seen=
  15641.  
  15642. ac_sed_dataroot='
  15643. /datarootdir/ {
  15644.  p
  15645.  q
  15646. }
  15647. /@datadir@/p
  15648. /@docdir@/p
  15649. /@infodir@/p
  15650. /@localedir@/p
  15651. /@mandir@/p
  15652. '
  15653. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  15654. *datarootdir*) ac_datarootdir_seen=yes;;
  15655. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  15656.   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  15657. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  15658. _ACEOF
  15659. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15660.   ac_datarootdir_hack='
  15661.  s&@datadir@&$datadir&g
  15662.  s&@docdir@&$docdir&g
  15663.  s&@infodir@&$infodir&g
  15664.  s&@localedir@&$localedir&g
  15665.  s&@mandir@&$mandir&g
  15666.    s&\\\${datarootdir}&$datarootdir&g' ;;
  15667. esac
  15668. _ACEOF
  15669.  
  15670. # Neutralize VPATH when `$srcdir' = `.'.
  15671. # Shell code in configure.ac might set extrasub.
  15672. # FIXME: do we really want to maintain this feature?
  15673. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15674. ac_sed_extra="$ac_vpsub
  15675. $extrasub
  15676. _ACEOF
  15677. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15678. :t
  15679. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  15680. s|@configure_input@|$ac_sed_conf_input|;t t
  15681. s&@top_builddir@&$ac_top_builddir_sub&;t t
  15682. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  15683. s&@srcdir@&$ac_srcdir&;t t
  15684. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  15685. s&@top_srcdir@&$ac_top_srcdir&;t t
  15686. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  15687. s&@builddir@&$ac_builddir&;t t
  15688. s&@abs_builddir@&$ac_abs_builddir&;t t
  15689. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  15690. s&@INSTALL@&$ac_INSTALL&;t t
  15691. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  15692. $ac_datarootdir_hack
  15693. "
  15694. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  15695.   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  15696. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  15697.    { (exit 1); exit 1; }; }
  15698.  
  15699. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  15700.   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  15701.   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  15702.   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  15703. which seems to be undefined.  Please make sure it is defined." >&5
  15704. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  15705. which seems to be undefined.  Please make sure it is defined." >&2;}
  15706.  
  15707.   rm -f "$tmp/stdin"
  15708.   case $ac_file in
  15709.   -) cat "$tmp/out" && rm -f "$tmp/out";;
  15710.   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  15711.   esac \
  15712.   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  15713. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  15714.    { (exit 1); exit 1; }; }
  15715.  ;;
  15716.   :H)
  15717.   #
  15718.   # CONFIG_HEADER
  15719.   #
  15720.   if test x"$ac_file" != x-; then
  15721.     {
  15722.       $as_echo "/* $configure_input  */" \
  15723.       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  15724.     } >"$tmp/config.h" \
  15725.       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  15726. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  15727.    { (exit 1); exit 1; }; }
  15728.     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  15729.       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  15730. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  15731.     else
  15732.       rm -f "$ac_file"
  15733.       mv "$tmp/config.h" "$ac_file" \
  15734.     || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  15735. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  15736.    { (exit 1); exit 1; }; }
  15737.     fi
  15738.   else
  15739.     $as_echo "/* $configure_input  */" \
  15740.       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  15741.       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
  15742. $as_echo "$as_me: error: could not create -" >&2;}
  15743.    { (exit 1); exit 1; }; }
  15744.   fi
  15745. # Compute "$ac_file"'s index in $config_headers.
  15746. _am_arg="$ac_file"
  15747. _am_stamp_count=1
  15748. for _am_header in $config_headers :; do
  15749.   case $_am_header in
  15750.     $_am_arg | $_am_arg:* )
  15751.       break ;;
  15752.     * )
  15753.       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  15754.   esac
  15755. done
  15756. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  15757. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15758.      X"$_am_arg" : 'X\(//\)[^/]' \| \
  15759.      X"$_am_arg" : 'X\(//\)$' \| \
  15760.      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  15761. $as_echo X"$_am_arg" |
  15762.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15763.         s//\1/
  15764.         q
  15765.       }
  15766.       /^X\(\/\/\)[^/].*/{
  15767.         s//\1/
  15768.         q
  15769.       }
  15770.       /^X\(\/\/\)$/{
  15771.         s//\1/
  15772.         q
  15773.       }
  15774.       /^X\(\/\).*/{
  15775.         s//\1/
  15776.         q
  15777.       }
  15778.       s/.*/./; q'`/stamp-h$_am_stamp_count
  15779.  ;;
  15780.  
  15781.   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
  15782. $as_echo "$as_me: executing $ac_file commands" >&6;}
  15783.  ;;
  15784.   esac
  15785.  
  15786.  
  15787.   case $ac_file$ac_mode in
  15788.     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  15789.   # Autoconf 2.62 quotes --file arguments for eval, but not when files
  15790.   # are listed without --file.  Let's play safe and only enable the eval
  15791.   # if we detect the quoting.
  15792.   case $CONFIG_FILES in
  15793.   *\'*) eval set x "$CONFIG_FILES" ;;
  15794.   *)   set x $CONFIG_FILES ;;
  15795.   esac
  15796.   shift
  15797.   for mf
  15798.   do
  15799.     # Strip MF so we end up with the name of the file.
  15800.     mf=`echo "$mf" | sed -e 's/:.*$//'`
  15801.     # Check whether this is an Automake generated Makefile or not.
  15802.     # We used to match only the files named `Makefile.in', but
  15803.     # some people rename them; so instead we look at the file content.
  15804.     # Grep'ing the first line is not enough: some people post-process
  15805.     # each Makefile.in and add a new line on top of each file to say so.
  15806.     # Grep'ing the whole file is not good either: AIX grep has a line
  15807.     # limit of 2048, but all sed's we know have understand at least 4000.
  15808.     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  15809.       dirpart=`$as_dirname -- "$mf" ||
  15810. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15811.      X"$mf" : 'X\(//\)[^/]' \| \
  15812.      X"$mf" : 'X\(//\)$' \| \
  15813.      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  15814. $as_echo X"$mf" |
  15815.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15816.         s//\1/
  15817.         q
  15818.       }
  15819.       /^X\(\/\/\)[^/].*/{
  15820.         s//\1/
  15821.         q
  15822.       }
  15823.       /^X\(\/\/\)$/{
  15824.         s//\1/
  15825.         q
  15826.       }
  15827.       /^X\(\/\).*/{
  15828.         s//\1/
  15829.         q
  15830.       }
  15831.       s/.*/./; q'`
  15832.     else
  15833.       continue
  15834.     fi
  15835.     # Extract the definition of DEPDIR, am__include, and am__quote
  15836.     # from the Makefile without running `make'.
  15837.     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  15838.     test -z "$DEPDIR" && continue
  15839.     am__include=`sed -n 's/^am__include = //p' < "$mf"`
  15840.     test -z "am__include" && continue
  15841.     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  15842.     # When using ansi2knr, U may be empty or an underscore; expand it
  15843.     U=`sed -n 's/^U = //p' < "$mf"`
  15844.     # Find all dependency output files, they are included files with
  15845.     # $(DEPDIR) in their names.  We invoke sed twice because it is the
  15846.     # simplest approach to changing $(DEPDIR) to its actual value in the
  15847.     # expansion.
  15848.     for file in `sed -n "
  15849.      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  15850.      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  15851.       # Make sure the directory exists.
  15852.       test -f "$dirpart/$file" && continue
  15853.       fdir=`$as_dirname -- "$file" ||
  15854. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15855.      X"$file" : 'X\(//\)[^/]' \| \
  15856.      X"$file" : 'X\(//\)$' \| \
  15857.      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  15858. $as_echo X"$file" |
  15859.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15860.         s//\1/
  15861.         q
  15862.       }
  15863.       /^X\(\/\/\)[^/].*/{
  15864.         s//\1/
  15865.         q
  15866.       }
  15867.       /^X\(\/\/\)$/{
  15868.         s//\1/
  15869.         q
  15870.       }
  15871.       /^X\(\/\).*/{
  15872.         s//\1/
  15873.         q
  15874.       }
  15875.       s/.*/./; q'`
  15876.       { as_dir=$dirpart/$fdir
  15877.   case $as_dir in #(
  15878.   -*) as_dir=./$as_dir;;
  15879.   esac
  15880.   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  15881.     as_dirs=
  15882.     while :; do
  15883.       case $as_dir in #(
  15884.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  15885.       *) as_qdir=$as_dir;;
  15886.       esac
  15887.       as_dirs="'$as_qdir' $as_dirs"
  15888.       as_dir=`$as_dirname -- "$as_dir" ||
  15889. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15890.      X"$as_dir" : 'X\(//\)[^/]' \| \
  15891.      X"$as_dir" : 'X\(//\)$' \| \
  15892.      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  15893. $as_echo X"$as_dir" |
  15894.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15895.         s//\1/
  15896.         q
  15897.       }
  15898.       /^X\(\/\/\)[^/].*/{
  15899.         s//\1/
  15900.         q
  15901.       }
  15902.       /^X\(\/\/\)$/{
  15903.         s//\1/
  15904.         q
  15905.       }
  15906.       /^X\(\/\).*/{
  15907.         s//\1/
  15908.         q
  15909.       }
  15910.       s/.*/./; q'`
  15911.       test -d "$as_dir" && break
  15912.     done
  15913.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  15914.   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  15915. $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  15916.    { (exit 1); exit 1; }; }; }
  15917.       # echo "creating $dirpart/$file"
  15918.       echo '# dummy' > "$dirpart/$file"
  15919.     done
  15920.   done
  15921. }
  15922.  ;;
  15923.     "libtool":C)
  15924.  
  15925.     # See if we are running on zsh, and set the options which allow our
  15926.     # commands through without removal of \ escapes.
  15927.     if test -n "${ZSH_VERSION+set}" ; then
  15928.       setopt NO_GLOB_SUBST
  15929.     fi
  15930.  
  15931.     cfgfile="${ofile}T"
  15932.     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  15933.     $RM "$cfgfile"
  15934.  
  15935.     cat <<_LT_EOF >> "$cfgfile"
  15936. #! $SHELL
  15937.  
  15938. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  15939. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  15940. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  15941. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  15942. #
  15943. #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  15944. #                 2006, 2007, 2008 Free Software Foundation, Inc.
  15945. #   Written by Gordon Matzigkeit, 1996
  15946. #
  15947. #   This file is part of GNU Libtool.
  15948. #
  15949. # GNU Libtool is free software; you can redistribute it and/or
  15950. # modify it under the terms of the GNU General Public License as
  15951. # published by the Free Software Foundation; either version 2 of
  15952. # the License, or (at your option) any later version.
  15953. #
  15954. # As a special exception to the GNU General Public License,
  15955. # if you distribute this file as part of a program or library that
  15956. # is built using GNU Libtool, you may include this file under the
  15957. # same distribution terms that you use for the rest of that program.
  15958. #
  15959. # GNU Libtool is distributed in the hope that it will be useful,
  15960. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15961. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15962. # GNU General Public License for more details.
  15963. #
  15964. # You should have received a copy of the GNU General Public License
  15965. # along with GNU Libtool; see the file COPYING.  If not, a copy
  15966. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  15967. # obtained by writing to the Free Software Foundation, Inc.,
  15968. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  15969.  
  15970.  
  15971. # The names of the tagged configurations supported by this script.
  15972. available_tags=""
  15973.  
  15974. # ### BEGIN LIBTOOL CONFIG
  15975.  
  15976. # Whether or not to build static libraries.
  15977. build_old_libs=$enable_static
  15978.  
  15979. # Which release of libtool.m4 was used?
  15980. macro_version=$macro_version
  15981. macro_revision=$macro_revision
  15982.  
  15983. # Whether or not to build shared libraries.
  15984. build_libtool_libs=$enable_shared
  15985.  
  15986. # What type of objects to build.
  15987. pic_mode=$pic_mode
  15988.  
  15989. # Whether or not to optimize for fast installation.
  15990. fast_install=$enable_fast_install
  15991.  
  15992. # The host system.
  15993. host_alias=$host_alias
  15994. host=$host
  15995. host_os=$host_os
  15996.  
  15997. # The build system.
  15998. build_alias=$build_alias
  15999. build=$build
  16000. build_os=$build_os
  16001.  
  16002. # A sed program that does not truncate output.
  16003. SED=$lt_SED
  16004.  
  16005. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  16006. Xsed="\$SED -e 1s/^X//"
  16007.  
  16008. # A grep program that handles long lines.
  16009. GREP=$lt_GREP
  16010.  
  16011. # An ERE matcher.
  16012. EGREP=$lt_EGREP
  16013.  
  16014. # A literal string matcher.
  16015. FGREP=$lt_FGREP
  16016.  
  16017. # A BSD- or MS-compatible name lister.
  16018. NM=$lt_NM
  16019.  
  16020. # Whether we need soft or hard links.
  16021. LN_S=$lt_LN_S
  16022.  
  16023. # What is the maximum length of a command?
  16024. max_cmd_len=$max_cmd_len
  16025.  
  16026. # Object file suffix (normally "o").
  16027. objext=$ac_objext
  16028.  
  16029. # Executable file suffix (normally "").
  16030. exeext=$exeext
  16031.  
  16032. # whether the shell understands "unset".
  16033. lt_unset=$lt_unset
  16034.  
  16035. # turn spaces into newlines.
  16036. SP2NL=$lt_lt_SP2NL
  16037.  
  16038. # turn newlines into spaces.
  16039. NL2SP=$lt_lt_NL2SP
  16040.  
  16041. # How to create reloadable object files.
  16042. reload_flag=$lt_reload_flag
  16043. reload_cmds=$lt_reload_cmds
  16044.  
  16045. # An object symbol dumper.
  16046. OBJDUMP=$lt_OBJDUMP
  16047.  
  16048. # Method to check whether dependent libraries are shared objects.
  16049. deplibs_check_method=$lt_deplibs_check_method
  16050.  
  16051. # Command to use when deplibs_check_method == "file_magic".
  16052. file_magic_cmd=$lt_file_magic_cmd
  16053.  
  16054. # The archiver.
  16055. AR=$lt_AR
  16056. AR_FLAGS=$lt_AR_FLAGS
  16057.  
  16058. # A symbol stripping program.
  16059. STRIP=$lt_STRIP
  16060.  
  16061. # Commands used to install an old-style archive.
  16062. RANLIB=$lt_RANLIB
  16063. old_postinstall_cmds=$lt_old_postinstall_cmds
  16064. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  16065.  
  16066. # A C compiler.
  16067. LTCC=$lt_CC
  16068.  
  16069. # LTCC compiler flags.
  16070. LTCFLAGS=$lt_CFLAGS
  16071.  
  16072. # Take the output of nm and produce a listing of raw symbols and C names.
  16073. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  16074.  
  16075. # Transform the output of nm in a proper C declaration.
  16076. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  16077.  
  16078. # Transform the output of nm in a C name address pair.
  16079. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  16080.  
  16081. # Transform the output of nm in a C name address pair when lib prefix is needed.
  16082. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  16083.  
  16084. # The name of the directory that contains temporary libtool files.
  16085. objdir=$objdir
  16086.  
  16087. # Shell to use when invoking shell scripts.
  16088. SHELL=$lt_SHELL
  16089.  
  16090. # An echo program that does not interpret backslashes.
  16091. ECHO=$lt_ECHO
  16092.  
  16093. # Used to examine libraries when file_magic_cmd begins with "file".
  16094. MAGIC_CMD=$MAGIC_CMD
  16095.  
  16096. # Must we lock files when doing compilation?
  16097. need_locks=$lt_need_locks
  16098.  
  16099. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  16100. DSYMUTIL=$lt_DSYMUTIL
  16101.  
  16102. # Tool to change global to local symbols on Mac OS X.
  16103. NMEDIT=$lt_NMEDIT
  16104.  
  16105. # Tool to manipulate fat objects and archives on Mac OS X.
  16106. LIPO=$lt_LIPO
  16107.  
  16108. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  16109. OTOOL=$lt_OTOOL
  16110.  
  16111. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  16112. OTOOL64=$lt_OTOOL64
  16113.  
  16114. # Old archive suffix (normally "a").
  16115. libext=$libext
  16116.  
  16117. # Shared library suffix (normally ".so").
  16118. shrext_cmds=$lt_shrext_cmds
  16119.  
  16120. # The commands to extract the exported symbol list from a shared archive.
  16121. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  16122.  
  16123. # Variables whose values should be saved in libtool wrapper scripts and
  16124. # restored at link time.
  16125. variables_saved_for_relink=$lt_variables_saved_for_relink
  16126.  
  16127. # Do we need the "lib" prefix for modules?
  16128. need_lib_prefix=$need_lib_prefix
  16129.  
  16130. # Do we need a version for libraries?
  16131. need_version=$need_version
  16132.  
  16133. # Library versioning type.
  16134. version_type=$version_type
  16135.  
  16136. # Shared library runtime path variable.
  16137. runpath_var=$runpath_var
  16138.  
  16139. # Shared library path variable.
  16140. shlibpath_var=$shlibpath_var
  16141.  
  16142. # Is shlibpath searched before the hard-coded library search path?
  16143. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  16144.  
  16145. # Format of library name prefix.
  16146. libname_spec=$lt_libname_spec
  16147.  
  16148. # List of archive names.  First name is the real one, the rest are links.
  16149. # The last name is the one that the linker finds with -lNAME
  16150. library_names_spec=$lt_library_names_spec
  16151.  
  16152. # The coded name of the library, if different from the real name.
  16153. soname_spec=$lt_soname_spec
  16154.  
  16155. # Command to use after installation of a shared archive.
  16156. postinstall_cmds=$lt_postinstall_cmds
  16157.  
  16158. # Command to use after uninstallation of a shared archive.
  16159. postuninstall_cmds=$lt_postuninstall_cmds
  16160.  
  16161. # Commands used to finish a libtool library installation in a directory.
  16162. finish_cmds=$lt_finish_cmds
  16163.  
  16164. # As "finish_cmds", except a single script fragment to be evaled but
  16165. # not shown.
  16166. finish_eval=$lt_finish_eval
  16167.  
  16168. # Whether we should hardcode library paths into libraries.
  16169. hardcode_into_libs=$hardcode_into_libs
  16170.  
  16171. # Compile-time system search path for libraries.
  16172. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  16173.  
  16174. # Run-time system search path for libraries.
  16175. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  16176.  
  16177. # Whether dlopen is supported.
  16178. dlopen_support=$enable_dlopen
  16179.  
  16180. # Whether dlopen of programs is supported.
  16181. dlopen_self=$enable_dlopen_self
  16182.  
  16183. # Whether dlopen of statically linked programs is supported.
  16184. dlopen_self_static=$enable_dlopen_self_static
  16185.  
  16186. # Commands to strip libraries.
  16187. old_striplib=$lt_old_striplib
  16188. striplib=$lt_striplib
  16189.  
  16190.  
  16191. # The linker used to build libraries.
  16192. LD=$lt_LD
  16193.  
  16194. # Commands used to build an old-style archive.
  16195. old_archive_cmds=$lt_old_archive_cmds
  16196.  
  16197. # A language specific compiler.
  16198. CC=$lt_compiler
  16199.  
  16200. # Is the compiler the GNU compiler?
  16201. with_gcc=$GCC
  16202.  
  16203. # Compiler flag to turn off builtin functions.
  16204. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  16205.  
  16206. # How to pass a linker flag through the compiler.
  16207. wl=$lt_lt_prog_compiler_wl
  16208.  
  16209. # Additional compiler flags for building library objects.
  16210. pic_flag=$lt_lt_prog_compiler_pic
  16211.  
  16212. # Compiler flag to prevent dynamic linking.
  16213. link_static_flag=$lt_lt_prog_compiler_static
  16214.  
  16215. # Does compiler simultaneously support -c and -o options?
  16216. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  16217.  
  16218. # Whether or not to add -lc for building shared libraries.
  16219. build_libtool_need_lc=$archive_cmds_need_lc
  16220.  
  16221. # Whether or not to disallow shared libs when runtime libs are static.
  16222. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  16223.  
  16224. # Compiler flag to allow reflexive dlopens.
  16225. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  16226.  
  16227. # Compiler flag to generate shared objects directly from archives.
  16228. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  16229.  
  16230. # Whether the compiler copes with passing no objects directly.
  16231. compiler_needs_object=$lt_compiler_needs_object
  16232.  
  16233. # Create an old-style archive from a shared archive.
  16234. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  16235.  
  16236. # Create a temporary old-style archive to link instead of a shared archive.
  16237. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  16238.  
  16239. # Commands used to build a shared archive.
  16240. archive_cmds=$lt_archive_cmds
  16241. archive_expsym_cmds=$lt_archive_expsym_cmds
  16242.  
  16243. # Commands used to build a loadable module if different from building
  16244. # a shared archive.
  16245. module_cmds=$lt_module_cmds
  16246. module_expsym_cmds=$lt_module_expsym_cmds
  16247.  
  16248. # Whether we are building with GNU ld or not.
  16249. with_gnu_ld=$lt_with_gnu_ld
  16250.  
  16251. # Flag that allows shared libraries with undefined symbols to be built.
  16252. allow_undefined_flag=$lt_allow_undefined_flag
  16253.  
  16254. # Flag that enforces no undefined symbols.
  16255. no_undefined_flag=$lt_no_undefined_flag
  16256.  
  16257. # Flag to hardcode \$libdir into a binary during linking.
  16258. # This must work even if \$libdir does not exist
  16259. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  16260.  
  16261. # If ld is used when linking, flag to hardcode \$libdir into a binary
  16262. # during linking.  This must work even if \$libdir does not exist.
  16263. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  16264.  
  16265. # Whether we need a single "-rpath" flag with a separated argument.
  16266. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  16267.  
  16268. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  16269. # DIR into the resulting binary.
  16270. hardcode_direct=$hardcode_direct
  16271.  
  16272. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  16273. # DIR into the resulting binary and the resulting library dependency is
  16274. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  16275. # library is relocated.
  16276. hardcode_direct_absolute=$hardcode_direct_absolute
  16277.  
  16278. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  16279. # into the resulting binary.
  16280. hardcode_minus_L=$hardcode_minus_L
  16281.  
  16282. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  16283. # into the resulting binary.
  16284. hardcode_shlibpath_var=$hardcode_shlibpath_var
  16285.  
  16286. # Set to "yes" if building a shared library automatically hardcodes DIR
  16287. # into the library and all subsequent libraries and executables linked
  16288. # against it.
  16289. hardcode_automatic=$hardcode_automatic
  16290.  
  16291. # Set to yes if linker adds runtime paths of dependent libraries
  16292. # to runtime path list.
  16293. inherit_rpath=$inherit_rpath
  16294.  
  16295. # Whether libtool must link a program against all its dependency libraries.
  16296. link_all_deplibs=$link_all_deplibs
  16297.  
  16298. # Fix the shell variable \$srcfile for the compiler.
  16299. fix_srcfile_path=$lt_fix_srcfile_path
  16300.  
  16301. # Set to "yes" if exported symbols are required.
  16302. always_export_symbols=$always_export_symbols
  16303.  
  16304. # The commands to list exported symbols.
  16305. export_symbols_cmds=$lt_export_symbols_cmds
  16306.  
  16307. # Symbols that should not be listed in the preloaded symbols.
  16308. exclude_expsyms=$lt_exclude_expsyms
  16309.  
  16310. # Symbols that must always be exported.
  16311. include_expsyms=$lt_include_expsyms
  16312.  
  16313. # Commands necessary for linking programs (against libraries) with templates.
  16314. prelink_cmds=$lt_prelink_cmds
  16315.  
  16316. # Specify filename containing input files.
  16317. file_list_spec=$lt_file_list_spec
  16318.  
  16319. # How to hardcode a shared library path into an executable.
  16320. hardcode_action=$hardcode_action
  16321.  
  16322. # ### END LIBTOOL CONFIG
  16323.  
  16324. _LT_EOF
  16325.  
  16326.   case $host_os in
  16327.   aix3*)
  16328.     cat <<\_LT_EOF >> "$cfgfile"
  16329. # AIX sometimes has problems with the GCC collect2 program.  For some
  16330. # reason, if we set the COLLECT_NAMES environment variable, the problems
  16331. # vanish in a puff of smoke.
  16332. if test "X${COLLECT_NAMES+set}" != Xset; then
  16333.   COLLECT_NAMES=
  16334.   export COLLECT_NAMES
  16335. fi
  16336. _LT_EOF
  16337.     ;;
  16338.   esac
  16339.  
  16340.  
  16341. ltmain="$ac_aux_dir/ltmain.sh"
  16342.  
  16343.  
  16344.   # We use sed instead of cat because bash on DJGPP gets confused if
  16345.   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  16346.   # text mode, it properly converts lines to CR/LF.  This bash problem
  16347.   # is reportedly fixed, but why not run on old versions too?
  16348.   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  16349.     || (rm -f "$cfgfile"; exit 1)
  16350.  
  16351.   case $xsi_shell in
  16352.   yes)
  16353.     cat << \_LT_EOF >> "$cfgfile"
  16354.  
  16355. # func_dirname file append nondir_replacement
  16356. # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
  16357. # otherwise set result to NONDIR_REPLACEMENT.
  16358. func_dirname ()
  16359. {
  16360.   case ${1} in
  16361.     */*) func_dirname_result="${1%/*}${2}" ;;
  16362.     *  ) func_dirname_result="${3}" ;;
  16363.   esac
  16364. }
  16365.  
  16366. # func_basename file
  16367. func_basename ()
  16368. {
  16369.   func_basename_result="${1##*/}"
  16370. }
  16371.  
  16372. # func_dirname_and_basename file append nondir_replacement
  16373. # perform func_basename and func_dirname in a single function
  16374. # call:
  16375. #   dirname:  Compute the dirname of FILE.  If nonempty,
  16376. #             add APPEND to the result, otherwise set result
  16377. #             to NONDIR_REPLACEMENT.
  16378. #             value returned in "$func_dirname_result"
  16379. #   basename: Compute filename of FILE.
  16380. #             value retuned in "$func_basename_result"
  16381. # Implementation must be kept synchronized with func_dirname
  16382. # and func_basename. For efficiency, we do not delegate to
  16383. # those functions but instead duplicate the functionality here.
  16384. func_dirname_and_basename ()
  16385. {
  16386.   case ${1} in
  16387.     */*) func_dirname_result="${1%/*}${2}" ;;
  16388.     *  ) func_dirname_result="${3}" ;;
  16389.   esac
  16390.   func_basename_result="${1##*/}"
  16391. }
  16392.  
  16393. # func_stripname prefix suffix name
  16394. # strip PREFIX and SUFFIX off of NAME.
  16395. # PREFIX and SUFFIX must not contain globbing or regex special
  16396. # characters, hashes, percent signs, but SUFFIX may contain a leading
  16397. # dot (in which case that matches only a dot).
  16398. func_stripname ()
  16399. {
  16400.   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  16401.   # positional parameters, so assign one to ordinary parameter first.
  16402.   func_stripname_result=${3}
  16403.   func_stripname_result=${func_stripname_result#"${1}"}
  16404.  func_stripname_result=${func_stripname_result%"${2}"}
  16405. }
  16406.  
  16407. # func_opt_split
  16408. func_opt_split ()
  16409. {
  16410.   func_opt_split_opt=${1%%=*}
  16411.   func_opt_split_arg=${1#*=}
  16412. }
  16413.  
  16414. # func_lo2o object
  16415. func_lo2o ()
  16416. {
  16417.   case ${1} in
  16418.     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  16419.     *)    func_lo2o_result=${1} ;;
  16420.   esac
  16421. }
  16422.  
  16423. # func_xform libobj-or-source
  16424. func_xform ()
  16425. {
  16426.   func_xform_result=${1%.*}.lo
  16427. }
  16428.  
  16429. # func_arith arithmetic-term...
  16430. func_arith ()
  16431. {
  16432.   func_arith_result=$(( $* ))
  16433. }
  16434.  
  16435. # func_len string
  16436. # STRING may not start with a hyphen.
  16437. func_len ()
  16438. {
  16439.   func_len_result=${#1}
  16440. }
  16441.  
  16442. _LT_EOF
  16443.     ;;
  16444.   *) # Bourne compatible functions.
  16445.     cat << \_LT_EOF >> "$cfgfile"
  16446.  
  16447. # func_dirname file append nondir_replacement
  16448. # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
  16449. # otherwise set result to NONDIR_REPLACEMENT.
  16450. func_dirname ()
  16451. {
  16452.   # Extract subdirectory from the argument.
  16453.   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  16454.   if test "X$func_dirname_result" = "X${1}"; then
  16455.     func_dirname_result="${3}"
  16456.   else
  16457.     func_dirname_result="$func_dirname_result${2}"
  16458.   fi
  16459. }
  16460.  
  16461. # func_basename file
  16462. func_basename ()
  16463. {
  16464.   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  16465. }
  16466.  
  16467.  
  16468. # func_stripname prefix suffix name
  16469. # strip PREFIX and SUFFIX off of NAME.
  16470. # PREFIX and SUFFIX must not contain globbing or regex special
  16471. # characters, hashes, percent signs, but SUFFIX may contain a leading
  16472. # dot (in which case that matches only a dot).
  16473. # func_strip_suffix prefix name
  16474. func_stripname ()
  16475. {
  16476.   case ${2} in
  16477.     .*) func_stripname_result=`$ECHO "X${3}" \
  16478.            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  16479.     *)  func_stripname_result=`$ECHO "X${3}" \
  16480.            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  16481.   esac
  16482. }
  16483.  
  16484. # sed scripts:
  16485. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  16486. my_sed_long_arg='1s/^-[^=]*=//'
  16487.  
  16488. # func_opt_split
  16489. func_opt_split ()
  16490. {
  16491.   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  16492.   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  16493. }
  16494.  
  16495. # func_lo2o object
  16496. func_lo2o ()
  16497. {
  16498.   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  16499. }
  16500.  
  16501. # func_xform libobj-or-source
  16502. func_xform ()
  16503. {
  16504.   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  16505. }
  16506.  
  16507. # func_arith arithmetic-term...
  16508. func_arith ()
  16509. {
  16510.   func_arith_result=`expr "$@"`
  16511. }
  16512.  
  16513. # func_len string
  16514. # STRING may not start with a hyphen.
  16515. func_len ()
  16516. {
  16517.   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  16518. }
  16519.  
  16520. _LT_EOF
  16521. esac
  16522.  
  16523. case $lt_shell_append in
  16524.   yes)
  16525.     cat << \_LT_EOF >> "$cfgfile"
  16526.  
  16527. # func_append var value
  16528. # Append VALUE to the end of shell variable VAR.
  16529. func_append ()
  16530. {
  16531.   eval "$1+=\$2"
  16532. }
  16533. _LT_EOF
  16534.     ;;
  16535.   *)
  16536.     cat << \_LT_EOF >> "$cfgfile"
  16537.  
  16538. # func_append var value
  16539. # Append VALUE to the end of shell variable VAR.
  16540. func_append ()
  16541. {
  16542.   eval "$1=\$$1\$2"
  16543. }
  16544.  
  16545. _LT_EOF
  16546.     ;;
  16547.   esac
  16548.  
  16549.  
  16550.   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  16551.     || (rm -f "$cfgfile"; exit 1)
  16552.  
  16553.   mv -f "$cfgfile" "$ofile" ||
  16554.     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  16555.   chmod +x "$ofile"
  16556.  
  16557.  ;;
  16558.  
  16559.   esac
  16560. done # for ac_tag
  16561.  
  16562.  
  16563. { (exit 0); exit 0; }
  16564. _ACEOF
  16565. chmod +x $CONFIG_STATUS
  16566. ac_clean_files=$ac_clean_files_save
  16567.  
  16568. test $ac_write_fail = 0 ||
  16569.   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
  16570. $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
  16571.    { (exit 1); exit 1; }; }
  16572.  
  16573.  
  16574. # configure is writing to config.log, and then calls config.status.
  16575. # config.status does its own redirection, appending to config.log.
  16576. # Unfortunately, on DOS this fails, as config.log is still kept open
  16577. # by configure, so config.status won't be able to write to it; its
  16578. # output is simply discarded.  So we exec the FD to /dev/null,
  16579. # effectively closing config.log, so it can be properly (re)opened and
  16580. # appended to by config.status.  When coming back to configure, we
  16581. # need to make the FD available again.
  16582. if test "$no_create" != yes; then
  16583.   ac_cs_success=:
  16584.   ac_config_status_args=
  16585.   test "$silent" = yes &&
  16586.     ac_config_status_args="$ac_config_status_args --quiet"
  16587.   exec 5>/dev/null
  16588.   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  16589.   exec 5>>config.log
  16590.   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  16591.   # would make configure fail if this is the last instruction.
  16592.   $ac_cs_success || { (exit 1); exit 1; }
  16593. fi
  16594. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  16595.   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  16596. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  16597. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement