Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2.2.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.65 for xf86-input-elographics 1.2.4.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     10 # Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 case $0 in #((
     95   *[\\/]* ) as_myself=$0 ;;
     96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     97 for as_dir in $PATH
     98 do
     99   IFS=$as_save_IFS
    100   test -z "$as_dir" && as_dir=.
    101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    102   done
    103 IFS=$as_save_IFS
    104 
    105      ;;
    106 esac
    107 # We did not find ourselves, most probably we were run as `sh COMMAND'
    108 # in which case we are not to be found in the path.
    109 if test "x$as_myself" = x; then
    110   as_myself=$0
    111 fi
    112 if test ! -f "$as_myself"; then
    113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    114   exit 1
    115 fi
    116 
    117 # Unset variables that we do not need and which cause bugs (e.g. in
    118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    119 # suppresses any "Segmentation fault" message there.  '((' could
    120 # trigger a bug in pdksh 5.2.14.
    121 for as_var in BASH_ENV ENV MAIL MAILPATH
    122 do eval test x\${$as_var+set} = xset \
    123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    124 done
    125 PS1='$ '
    126 PS2='> '
    127 PS4='+ '
    128 
    129 # NLS nuisances.
    130 LC_ALL=C
    131 export LC_ALL
    132 LANGUAGE=C
    133 export LANGUAGE
    134 
    135 # CDPATH.
    136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    137 
    138 if test "x$CONFIG_SHELL" = x; then
    139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    140   emulate sh
    141   NULLCMD=:
    142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    143   # is contrary to our usage.  Disable this feature.
    144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    145   setopt NO_GLOB_SUBST
    146 else
    147   case \`(set -o) 2>/dev/null\` in #(
    148   *posix*) :
    149     set -o posix ;; #(
    150   *) :
    151      ;;
    152 esac
    153 fi
    154 "
    155   as_required="as_fn_return () { (exit \$1); }
    156 as_fn_success () { as_fn_return 0; }
    157 as_fn_failure () { as_fn_return 1; }
    158 as_fn_ret_success () { return 0; }
    159 as_fn_ret_failure () { return 1; }
    160 
    161 exitcode=0
    162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    167 
    168 else
    169   exitcode=1; echo positional parameters were not saved.
    170 fi
    171 test x\$exitcode = x0 || exit 1"
    172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    176 test \$(( 1 + 1 )) = 2 || exit 1"
    177   if (eval "$as_required") 2>/dev/null; then :
    178   as_have_required=yes
    179 else
    180   as_have_required=no
    181 fi
    182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    183 
    184 else
    185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    186 as_found=false
    187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    188 do
    189   IFS=$as_save_IFS
    190   test -z "$as_dir" && as_dir=.
    191   as_found=:
    192   case $as_dir in #(
    193 	 /*)
    194 	   for as_base in sh bash ksh sh5; do
    195 	     # Try only shells that exist, to save several forks.
    196 	     as_shell=$as_dir/$as_base
    197 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    198 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   CONFIG_SHELL=$as_shell as_have_required=yes
    200 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    201   break 2
    202 fi
    203 fi
    204 	   done;;
    205        esac
    206   as_found=false
    207 done
    208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    209 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    210   CONFIG_SHELL=$SHELL as_have_required=yes
    211 fi; }
    212 IFS=$as_save_IFS
    213 
    214 
    215       if test "x$CONFIG_SHELL" != x; then :
    216   # We cannot yet assume a decent shell, so we have to provide a
    217 	# neutralization value for shells without unset; and this also
    218 	# works around shells that cannot unset nonexistent variables.
    219 	BASH_ENV=/dev/null
    220 	ENV=/dev/null
    221 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    222 	export CONFIG_SHELL
    223 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    224 fi
    225 
    226     if test x$as_have_required = xno; then :
    227   $as_echo "$0: This script requires a shell more modern than all"
    228   $as_echo "$0: the shells that I found on your system."
    229   if test x${ZSH_VERSION+set} = xset ; then
    230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    232   else
    233     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    234 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    235 $0: about your system, including any error possibly output
    236 $0: before this message. Then install a modern shell, or
    237 $0: manually run the script under such a shell if you do
    238 $0: have one."
    239   fi
    240   exit 1
    241 fi
    242 fi
    243 fi
    244 SHELL=${CONFIG_SHELL-/bin/sh}
    245 export SHELL
    246 # Unset more variables known to interfere with behavior of common tools.
    247 CLICOLOR_FORCE= GREP_OPTIONS=
    248 unset CLICOLOR_FORCE GREP_OPTIONS
    249 
    250 ## --------------------- ##
    251 ## M4sh Shell Functions. ##
    252 ## --------------------- ##
    253 # as_fn_unset VAR
    254 # ---------------
    255 # Portably unset VAR.
    256 as_fn_unset ()
    257 {
    258   { eval $1=; unset $1;}
    259 }
    260 as_unset=as_fn_unset
    261 
    262 # as_fn_set_status STATUS
    263 # -----------------------
    264 # Set $? to STATUS, without forking.
    265 as_fn_set_status ()
    266 {
    267   return $1
    268 } # as_fn_set_status
    269 
    270 # as_fn_exit STATUS
    271 # -----------------
    272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    273 as_fn_exit ()
    274 {
    275   set +e
    276   as_fn_set_status $1
    277   exit $1
    278 } # as_fn_exit
    279 
    280 # as_fn_mkdir_p
    281 # -------------
    282 # Create "$as_dir" as a directory, including parents if necessary.
    283 as_fn_mkdir_p ()
    284 {
    285 
    286   case $as_dir in #(
    287   -*) as_dir=./$as_dir;;
    288   esac
    289   test -d "$as_dir" || eval $as_mkdir_p || {
    290     as_dirs=
    291     while :; do
    292       case $as_dir in #(
    293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    294       *) as_qdir=$as_dir;;
    295       esac
    296       as_dirs="'$as_qdir' $as_dirs"
    297       as_dir=`$as_dirname -- "$as_dir" ||
    298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    299 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    300 	 X"$as_dir" : 'X\(//\)$' \| \
    301 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    302 $as_echo X"$as_dir" |
    303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    304 	    s//\1/
    305 	    q
    306 	  }
    307 	  /^X\(\/\/\)[^/].*/{
    308 	    s//\1/
    309 	    q
    310 	  }
    311 	  /^X\(\/\/\)$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\).*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  s/.*/./; q'`
    320       test -d "$as_dir" && break
    321     done
    322     test -z "$as_dirs" || eval "mkdir $as_dirs"
    323   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    324 
    325 
    326 } # as_fn_mkdir_p
    327 # as_fn_append VAR VALUE
    328 # ----------------------
    329 # Append the text in VALUE to the end of the definition contained in VAR. Take
    330 # advantage of any shell optimizations that allow amortized linear growth over
    331 # repeated appends, instead of the typical quadratic growth present in naive
    332 # implementations.
    333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    334   eval 'as_fn_append ()
    335   {
    336     eval $1+=\$2
    337   }'
    338 else
    339   as_fn_append ()
    340   {
    341     eval $1=\$$1\$2
    342   }
    343 fi # as_fn_append
    344 
    345 # as_fn_arith ARG...
    346 # ------------------
    347 # Perform arithmetic evaluation on the ARGs, and store the result in the
    348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    349 # must be portable across $(()) and expr.
    350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    351   eval 'as_fn_arith ()
    352   {
    353     as_val=$(( $* ))
    354   }'
    355 else
    356   as_fn_arith ()
    357   {
    358     as_val=`expr "$@" || test $? -eq 1`
    359   }
    360 fi # as_fn_arith
    361 
    362 
    363 # as_fn_error ERROR [LINENO LOG_FD]
    364 # ---------------------------------
    365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    367 # script with status $?, using 1 if that was 0.
    368 as_fn_error ()
    369 {
    370   as_status=$?; test $as_status -eq 0 && as_status=1
    371   if test "$3"; then
    372     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    374   fi
    375   $as_echo "$as_me: error: $1" >&2
    376   as_fn_exit $as_status
    377 } # as_fn_error
    378 
    379 if expr a : '\(a\)' >/dev/null 2>&1 &&
    380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    381   as_expr=expr
    382 else
    383   as_expr=false
    384 fi
    385 
    386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    387   as_basename=basename
    388 else
    389   as_basename=false
    390 fi
    391 
    392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    393   as_dirname=dirname
    394 else
    395   as_dirname=false
    396 fi
    397 
    398 as_me=`$as_basename -- "$0" ||
    399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    400 	 X"$0" : 'X\(//\)$' \| \
    401 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    402 $as_echo X/"$0" |
    403     sed '/^.*\/\([^/][^/]*\)\/*$/{
    404 	    s//\1/
    405 	    q
    406 	  }
    407 	  /^X\/\(\/\/\)$/{
    408 	    s//\1/
    409 	    q
    410 	  }
    411 	  /^X\/\(\/\).*/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  s/.*/./; q'`
    416 
    417 # Avoid depending upon Character Ranges.
    418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    421 as_cr_digits='0123456789'
    422 as_cr_alnum=$as_cr_Letters$as_cr_digits
    423 
    424 
    425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    430   sed -n '
    431     p
    432     /[$]LINENO/=
    433   ' <$as_myself |
    434     sed '
    435       s/[$]LINENO.*/&-/
    436       t lineno
    437       b
    438       :lineno
    439       N
    440       :loop
    441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    442       t loop
    443       s/-\n.*//
    444     ' >$as_me.lineno &&
    445   chmod +x "$as_me.lineno" ||
    446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    447 
    448   # Don't try to exec as it changes $[0], causing all sort of problems
    449   # (the dirname of $[0] is not the place where we might find the
    450   # original and so on.  Autoconf is especially sensitive to this).
    451   . "./$as_me.lineno"
    452   # Exit status is that of the last command.
    453   exit
    454 }
    455 
    456 ECHO_C= ECHO_N= ECHO_T=
    457 case `echo -n x` in #(((((
    458 -n*)
    459   case `echo 'xy\c'` in
    460   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    461   xy)  ECHO_C='\c';;
    462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    463        ECHO_T='	';;
    464   esac;;
    465 *)
    466   ECHO_N='-n';;
    467 esac
    468 
    469 rm -f conf$$ conf$$.exe conf$$.file
    470 if test -d conf$$.dir; then
    471   rm -f conf$$.dir/conf$$.file
    472 else
    473   rm -f conf$$.dir
    474   mkdir conf$$.dir 2>/dev/null
    475 fi
    476 if (echo >conf$$.file) 2>/dev/null; then
    477   if ln -s conf$$.file conf$$ 2>/dev/null; then
    478     as_ln_s='ln -s'
    479     # ... but there are two gotchas:
    480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    482     # In both cases, we have to default to `cp -p'.
    483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    484       as_ln_s='cp -p'
    485   elif ln conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s=ln
    487   else
    488     as_ln_s='cp -p'
    489   fi
    490 else
    491   as_ln_s='cp -p'
    492 fi
    493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    494 rmdir conf$$.dir 2>/dev/null
    495 
    496 if mkdir -p . 2>/dev/null; then
    497   as_mkdir_p='mkdir -p "$as_dir"'
    498 else
    499   test -d ./-p && rmdir ./-p
    500   as_mkdir_p=false
    501 fi
    502 
    503 if test -x / >/dev/null 2>&1; then
    504   as_test_x='test -x'
    505 else
    506   if ls -dL / >/dev/null 2>&1; then
    507     as_ls_L_option=L
    508   else
    509     as_ls_L_option=
    510   fi
    511   as_test_x='
    512     eval sh -c '\''
    513       if test -d "$1"; then
    514 	test -d "$1/.";
    515       else
    516 	case $1 in #(
    517 	-*)set "./$1";;
    518 	esac;
    519 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    520 	???[sx]*):;;*)false;;esac;fi
    521     '\'' sh
    522   '
    523 fi
    524 as_executable_p=$as_test_x
    525 
    526 # Sed expression to map a string onto a valid CPP name.
    527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    528 
    529 # Sed expression to map a string onto a valid variable name.
    530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    531 
    532 
    533 
    534 # Check that we are running under the correct shell.
    535 SHELL=${CONFIG_SHELL-/bin/sh}
    536 
    537 case X$lt_ECHO in
    538 X*--fallback-echo)
    539   # Remove one level of quotation (which was required for Make).
    540   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    541   ;;
    542 esac
    543 
    544 ECHO=${lt_ECHO-echo}
    545 if test "X$1" = X--no-reexec; then
    546   # Discard the --no-reexec flag, and continue.
    547   shift
    548 elif test "X$1" = X--fallback-echo; then
    549   # Avoid inline document here, it may be left over
    550   :
    551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    552   # Yippee, $ECHO works!
    553   :
    554 else
    555   # Restart under the correct shell.
    556   exec $SHELL "$0" --no-reexec ${1+"$@"}
    557 fi
    558 
    559 if test "X$1" = X--fallback-echo; then
    560   # used as fallback echo
    561   shift
    562   cat <<_LT_EOF
    563 $*
    564 _LT_EOF
    565   exit 0
    566 fi
    567 
    568 # The HP-UX ksh and POSIX shell print the target directory to stdout
    569 # if CDPATH is set.
    570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    571 
    572 if test -z "$lt_ECHO"; then
    573   if test "X${echo_test_string+set}" != Xset; then
    574     # find a string as large as possible, as long as the shell can cope with it
    575     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    576       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    577       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    578 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    579       then
    580         break
    581       fi
    582     done
    583   fi
    584 
    585   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    586      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    587      test "X$echo_testing_string" = "X$echo_test_string"; then
    588     :
    589   else
    590     # The Solaris, AIX, and Digital Unix default echo programs unquote
    591     # backslashes.  This makes it impossible to quote backslashes using
    592     #   echo "$something" | sed 's/\\/\\\\/g'
    593     #
    594     # So, first we look for a working echo in the user's PATH.
    595 
    596     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    597     for dir in $PATH /usr/ucb; do
    598       IFS="$lt_save_ifs"
    599       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    600          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    601          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    602          test "X$echo_testing_string" = "X$echo_test_string"; then
    603         ECHO="$dir/echo"
    604         break
    605       fi
    606     done
    607     IFS="$lt_save_ifs"
    608 
    609     if test "X$ECHO" = Xecho; then
    610       # We didn't find a better echo, so look for alternatives.
    611       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    612          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    613          test "X$echo_testing_string" = "X$echo_test_string"; then
    614         # This shell has a builtin print -r that does the trick.
    615         ECHO='print -r'
    616       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    617 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    618         # If we have ksh, try running configure again with it.
    619         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    620         export ORIGINAL_CONFIG_SHELL
    621         CONFIG_SHELL=/bin/ksh
    622         export CONFIG_SHELL
    623         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    624       else
    625         # Try using printf.
    626         ECHO='printf %s\n'
    627         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    628 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    629 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    630 	  # Cool, printf works
    631 	  :
    632         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    633 	     test "X$echo_testing_string" = 'X\t' &&
    634 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    635 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    636 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    637 	  export CONFIG_SHELL
    638 	  SHELL="$CONFIG_SHELL"
    639 	  export SHELL
    640 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    641         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    642 	     test "X$echo_testing_string" = 'X\t' &&
    643 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    644 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    645 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    646         else
    647 	  # maybe with a smaller string...
    648 	  prev=:
    649 
    650 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    651 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    652 	    then
    653 	      break
    654 	    fi
    655 	    prev="$cmd"
    656 	  done
    657 
    658 	  if test "$prev" != 'sed 50q "$0"'; then
    659 	    echo_test_string=`eval $prev`
    660 	    export echo_test_string
    661 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    662 	  else
    663 	    # Oops.  We lost completely, so just stick with echo.
    664 	    ECHO=echo
    665 	  fi
    666         fi
    667       fi
    668     fi
    669   fi
    670 fi
    671 
    672 # Copy echo and quote the copy suitably for passing to libtool from
    673 # the Makefile, instead of quoting the original, which is used later.
    674 lt_ECHO=$ECHO
    675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    676    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    677 fi
    678 
    679 
    680 
    681 
    682 test -n "$DJDIR" || exec 7<&0 </dev/null
    683 exec 6>&1
    684 
    685 # Name of the host.
    686 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    687 # so uname gets run too.
    688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    689 
    690 #
    691 # Initializations.
    692 #
    693 ac_default_prefix=/usr/local
    694 ac_clean_files=
    695 ac_config_libobj_dir=.
    696 LIBOBJS=
    697 cross_compiling=no
    698 subdirs=
    699 MFLAGS=
    700 MAKEFLAGS=
    701 
    702 # Identity of this package.
    703 PACKAGE_NAME='xf86-input-elographics'
    704 PACKAGE_TARNAME='xf86-input-elographics'
    705 PACKAGE_VERSION='1.2.4'
    706 PACKAGE_STRING='xf86-input-elographics 1.2.4'
    707 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    708 PACKAGE_URL=''
    709 
    710 ac_unique_file="Makefile.am"
    711 # Factoring default headers for most tests.
    712 ac_includes_default="\
    713 #include <stdio.h>
    714 #ifdef HAVE_SYS_TYPES_H
    715 # include <sys/types.h>
    716 #endif
    717 #ifdef HAVE_SYS_STAT_H
    718 # include <sys/stat.h>
    719 #endif
    720 #ifdef STDC_HEADERS
    721 # include <stdlib.h>
    722 # include <stddef.h>
    723 #else
    724 # ifdef HAVE_STDLIB_H
    725 #  include <stdlib.h>
    726 # endif
    727 #endif
    728 #ifdef HAVE_STRING_H
    729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    730 #  include <memory.h>
    731 # endif
    732 # include <string.h>
    733 #endif
    734 #ifdef HAVE_STRINGS_H
    735 # include <strings.h>
    736 #endif
    737 #ifdef HAVE_INTTYPES_H
    738 # include <inttypes.h>
    739 #endif
    740 #ifdef HAVE_STDINT_H
    741 # include <stdint.h>
    742 #endif
    743 #ifdef HAVE_UNISTD_H
    744 # include <unistd.h>
    745 #endif"
    746 
    747 ac_subst_vars='am__EXEEXT_FALSE
    748 am__EXEEXT_TRUE
    749 LTLIBOBJS
    750 LIBOBJS
    751 CHANGELOG_CMD
    752 MAN_SUBSTS
    753 XORG_MAN_PAGE
    754 ADMIN_MAN_DIR
    755 DRIVER_MAN_DIR
    756 MISC_MAN_DIR
    757 FILE_MAN_DIR
    758 LIB_MAN_DIR
    759 APP_MAN_DIR
    760 ADMIN_MAN_SUFFIX
    761 DRIVER_MAN_SUFFIX
    762 MISC_MAN_SUFFIX
    763 FILE_MAN_SUFFIX
    764 LIB_MAN_SUFFIX
    765 APP_MAN_SUFFIX
    766 DRIVER_NAME
    767 XORG_LIBS
    768 XORG_CFLAGS
    769 PKG_CONFIG
    770 inputdir
    771 CWARNFLAGS
    772 CPP
    773 OTOOL64
    774 OTOOL
    775 LIPO
    776 NMEDIT
    777 DSYMUTIL
    778 lt_ECHO
    779 RANLIB
    780 AR
    781 OBJDUMP
    782 LN_S
    783 NM
    784 ac_ct_DUMPBIN
    785 DUMPBIN
    786 LD
    787 FGREP
    788 EGREP
    789 GREP
    790 SED
    791 am__fastdepCC_FALSE
    792 am__fastdepCC_TRUE
    793 CCDEPMODE
    794 AMDEPBACKSLASH
    795 AMDEP_FALSE
    796 AMDEP_TRUE
    797 am__quote
    798 am__include
    799 DEPDIR
    800 OBJEXT
    801 EXEEXT
    802 ac_ct_CC
    803 CPPFLAGS
    804 LDFLAGS
    805 CFLAGS
    806 CC
    807 host_os
    808 host_vendor
    809 host_cpu
    810 host
    811 build_os
    812 build_vendor
    813 build_cpu
    814 build
    815 LIBTOOL
    816 MAINT
    817 MAINTAINER_MODE_FALSE
    818 MAINTAINER_MODE_TRUE
    819 am__untar
    820 am__tar
    821 AMTAR
    822 am__leading_dot
    823 SET_MAKE
    824 AWK
    825 mkdir_p
    826 MKDIR_P
    827 INSTALL_STRIP_PROGRAM
    828 STRIP
    829 install_sh
    830 MAKEINFO
    831 AUTOHEADER
    832 AUTOMAKE
    833 AUTOCONF
    834 ACLOCAL
    835 VERSION
    836 PACKAGE
    837 CYGPATH_W
    838 am__isrc
    839 INSTALL_DATA
    840 INSTALL_SCRIPT
    841 INSTALL_PROGRAM
    842 target_alias
    843 host_alias
    844 build_alias
    845 LIBS
    846 ECHO_T
    847 ECHO_N
    848 ECHO_C
    849 DEFS
    850 mandir
    851 localedir
    852 libdir
    853 psdir
    854 pdfdir
    855 dvidir
    856 htmldir
    857 infodir
    858 docdir
    859 oldincludedir
    860 includedir
    861 localstatedir
    862 sharedstatedir
    863 sysconfdir
    864 datadir
    865 datarootdir
    866 libexecdir
    867 sbindir
    868 bindir
    869 program_transform_name
    870 prefix
    871 exec_prefix
    872 PACKAGE_URL
    873 PACKAGE_BUGREPORT
    874 PACKAGE_STRING
    875 PACKAGE_VERSION
    876 PACKAGE_TARNAME
    877 PACKAGE_NAME
    878 PATH_SEPARATOR
    879 SHELL'
    880 ac_subst_files=''
    881 ac_user_opts='
    882 enable_option_checking
    883 enable_maintainer_mode
    884 enable_static
    885 enable_shared
    886 with_pic
    887 enable_fast_install
    888 enable_dependency_tracking
    889 with_gnu_ld
    890 enable_libtool_lock
    891 with_xorg_module_dir
    892 '
    893       ac_precious_vars='build_alias
    894 host_alias
    895 target_alias
    896 CC
    897 CFLAGS
    898 LDFLAGS
    899 LIBS
    900 CPPFLAGS
    901 CPP
    902 PKG_CONFIG
    903 XORG_CFLAGS
    904 XORG_LIBS'
    905 
    906 
    907 # Initialize some variables set by options.
    908 ac_init_help=
    909 ac_init_version=false
    910 ac_unrecognized_opts=
    911 ac_unrecognized_sep=
    912 # The variables have the same names as the options, with
    913 # dashes changed to underlines.
    914 cache_file=/dev/null
    915 exec_prefix=NONE
    916 no_create=
    917 no_recursion=
    918 prefix=NONE
    919 program_prefix=NONE
    920 program_suffix=NONE
    921 program_transform_name=s,x,x,
    922 silent=
    923 site=
    924 srcdir=
    925 verbose=
    926 x_includes=NONE
    927 x_libraries=NONE
    928 
    929 # Installation directory options.
    930 # These are left unexpanded so users can "make install exec_prefix=/foo"
    931 # and all the variables that are supposed to be based on exec_prefix
    932 # by default will actually change.
    933 # Use braces instead of parens because sh, perl, etc. also accept them.
    934 # (The list follows the same order as the GNU Coding Standards.)
    935 bindir='${exec_prefix}/bin'
    936 sbindir='${exec_prefix}/sbin'
    937 libexecdir='${exec_prefix}/libexec'
    938 datarootdir='${prefix}/share'
    939 datadir='${datarootdir}'
    940 sysconfdir='${prefix}/etc'
    941 sharedstatedir='${prefix}/com'
    942 localstatedir='${prefix}/var'
    943 includedir='${prefix}/include'
    944 oldincludedir='/usr/include'
    945 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    946 infodir='${datarootdir}/info'
    947 htmldir='${docdir}'
    948 dvidir='${docdir}'
    949 pdfdir='${docdir}'
    950 psdir='${docdir}'
    951 libdir='${exec_prefix}/lib'
    952 localedir='${datarootdir}/locale'
    953 mandir='${datarootdir}/man'
    954 
    955 ac_prev=
    956 ac_dashdash=
    957 for ac_option
    958 do
    959   # If the previous option needs an argument, assign it.
    960   if test -n "$ac_prev"; then
    961     eval $ac_prev=\$ac_option
    962     ac_prev=
    963     continue
    964   fi
    965 
    966   case $ac_option in
    967   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    968   *)	ac_optarg=yes ;;
    969   esac
    970 
    971   # Accept the important Cygnus configure options, so we can diagnose typos.
    972 
    973   case $ac_dashdash$ac_option in
    974   --)
    975     ac_dashdash=yes ;;
    976 
    977   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    978     ac_prev=bindir ;;
    979   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    980     bindir=$ac_optarg ;;
    981 
    982   -build | --build | --buil | --bui | --bu)
    983     ac_prev=build_alias ;;
    984   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    985     build_alias=$ac_optarg ;;
    986 
    987   -cache-file | --cache-file | --cache-fil | --cache-fi \
    988   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    989     ac_prev=cache_file ;;
    990   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    991   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    992     cache_file=$ac_optarg ;;
    993 
    994   --config-cache | -C)
    995     cache_file=config.cache ;;
    996 
    997   -datadir | --datadir | --datadi | --datad)
    998     ac_prev=datadir ;;
    999   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1000     datadir=$ac_optarg ;;
   1001 
   1002   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1003   | --dataroo | --dataro | --datar)
   1004     ac_prev=datarootdir ;;
   1005   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1006   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1007     datarootdir=$ac_optarg ;;
   1008 
   1009   -disable-* | --disable-*)
   1010     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1011     # Reject names that are not valid shell variable names.
   1012     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1013       as_fn_error "invalid feature name: $ac_useropt"
   1014     ac_useropt_orig=$ac_useropt
   1015     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1016     case $ac_user_opts in
   1017       *"
   1018 "enable_$ac_useropt"
   1019 "*) ;;
   1020       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1021 	 ac_unrecognized_sep=', ';;
   1022     esac
   1023     eval enable_$ac_useropt=no ;;
   1024 
   1025   -docdir | --docdir | --docdi | --doc | --do)
   1026     ac_prev=docdir ;;
   1027   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1028     docdir=$ac_optarg ;;
   1029 
   1030   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1031     ac_prev=dvidir ;;
   1032   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1033     dvidir=$ac_optarg ;;
   1034 
   1035   -enable-* | --enable-*)
   1036     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1037     # Reject names that are not valid shell variable names.
   1038     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1039       as_fn_error "invalid feature name: $ac_useropt"
   1040     ac_useropt_orig=$ac_useropt
   1041     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1042     case $ac_user_opts in
   1043       *"
   1044 "enable_$ac_useropt"
   1045 "*) ;;
   1046       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1047 	 ac_unrecognized_sep=', ';;
   1048     esac
   1049     eval enable_$ac_useropt=\$ac_optarg ;;
   1050 
   1051   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1052   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1053   | --exec | --exe | --ex)
   1054     ac_prev=exec_prefix ;;
   1055   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1056   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1057   | --exec=* | --exe=* | --ex=*)
   1058     exec_prefix=$ac_optarg ;;
   1059 
   1060   -gas | --gas | --ga | --g)
   1061     # Obsolete; use --with-gas.
   1062     with_gas=yes ;;
   1063 
   1064   -help | --help | --hel | --he | -h)
   1065     ac_init_help=long ;;
   1066   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1067     ac_init_help=recursive ;;
   1068   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1069     ac_init_help=short ;;
   1070 
   1071   -host | --host | --hos | --ho)
   1072     ac_prev=host_alias ;;
   1073   -host=* | --host=* | --hos=* | --ho=*)
   1074     host_alias=$ac_optarg ;;
   1075 
   1076   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1077     ac_prev=htmldir ;;
   1078   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1079   | --ht=*)
   1080     htmldir=$ac_optarg ;;
   1081 
   1082   -includedir | --includedir | --includedi | --included | --include \
   1083   | --includ | --inclu | --incl | --inc)
   1084     ac_prev=includedir ;;
   1085   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1086   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1087     includedir=$ac_optarg ;;
   1088 
   1089   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1090     ac_prev=infodir ;;
   1091   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1092     infodir=$ac_optarg ;;
   1093 
   1094   -libdir | --libdir | --libdi | --libd)
   1095     ac_prev=libdir ;;
   1096   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1097     libdir=$ac_optarg ;;
   1098 
   1099   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1100   | --libexe | --libex | --libe)
   1101     ac_prev=libexecdir ;;
   1102   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1103   | --libexe=* | --libex=* | --libe=*)
   1104     libexecdir=$ac_optarg ;;
   1105 
   1106   -localedir | --localedir | --localedi | --localed | --locale)
   1107     ac_prev=localedir ;;
   1108   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1109     localedir=$ac_optarg ;;
   1110 
   1111   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1112   | --localstate | --localstat | --localsta | --localst | --locals)
   1113     ac_prev=localstatedir ;;
   1114   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1115   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1116     localstatedir=$ac_optarg ;;
   1117 
   1118   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1119     ac_prev=mandir ;;
   1120   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1121     mandir=$ac_optarg ;;
   1122 
   1123   -nfp | --nfp | --nf)
   1124     # Obsolete; use --without-fp.
   1125     with_fp=no ;;
   1126 
   1127   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1128   | --no-cr | --no-c | -n)
   1129     no_create=yes ;;
   1130 
   1131   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1132   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1133     no_recursion=yes ;;
   1134 
   1135   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1136   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1137   | --oldin | --oldi | --old | --ol | --o)
   1138     ac_prev=oldincludedir ;;
   1139   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1140   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1141   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1142     oldincludedir=$ac_optarg ;;
   1143 
   1144   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1145     ac_prev=prefix ;;
   1146   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1147     prefix=$ac_optarg ;;
   1148 
   1149   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1150   | --program-pre | --program-pr | --program-p)
   1151     ac_prev=program_prefix ;;
   1152   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1153   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1154     program_prefix=$ac_optarg ;;
   1155 
   1156   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1157   | --program-suf | --program-su | --program-s)
   1158     ac_prev=program_suffix ;;
   1159   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1160   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1161     program_suffix=$ac_optarg ;;
   1162 
   1163   -program-transform-name | --program-transform-name \
   1164   | --program-transform-nam | --program-transform-na \
   1165   | --program-transform-n | --program-transform- \
   1166   | --program-transform | --program-transfor \
   1167   | --program-transfo | --program-transf \
   1168   | --program-trans | --program-tran \
   1169   | --progr-tra | --program-tr | --program-t)
   1170     ac_prev=program_transform_name ;;
   1171   -program-transform-name=* | --program-transform-name=* \
   1172   | --program-transform-nam=* | --program-transform-na=* \
   1173   | --program-transform-n=* | --program-transform-=* \
   1174   | --program-transform=* | --program-transfor=* \
   1175   | --program-transfo=* | --program-transf=* \
   1176   | --program-trans=* | --program-tran=* \
   1177   | --progr-tra=* | --program-tr=* | --program-t=*)
   1178     program_transform_name=$ac_optarg ;;
   1179 
   1180   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1181     ac_prev=pdfdir ;;
   1182   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1183     pdfdir=$ac_optarg ;;
   1184 
   1185   -psdir | --psdir | --psdi | --psd | --ps)
   1186     ac_prev=psdir ;;
   1187   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1188     psdir=$ac_optarg ;;
   1189 
   1190   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1191   | -silent | --silent | --silen | --sile | --sil)
   1192     silent=yes ;;
   1193 
   1194   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1195     ac_prev=sbindir ;;
   1196   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1197   | --sbi=* | --sb=*)
   1198     sbindir=$ac_optarg ;;
   1199 
   1200   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1201   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1202   | --sharedst | --shareds | --shared | --share | --shar \
   1203   | --sha | --sh)
   1204     ac_prev=sharedstatedir ;;
   1205   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1206   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1207   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1208   | --sha=* | --sh=*)
   1209     sharedstatedir=$ac_optarg ;;
   1210 
   1211   -site | --site | --sit)
   1212     ac_prev=site ;;
   1213   -site=* | --site=* | --sit=*)
   1214     site=$ac_optarg ;;
   1215 
   1216   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1217     ac_prev=srcdir ;;
   1218   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1219     srcdir=$ac_optarg ;;
   1220 
   1221   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1222   | --syscon | --sysco | --sysc | --sys | --sy)
   1223     ac_prev=sysconfdir ;;
   1224   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1225   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1226     sysconfdir=$ac_optarg ;;
   1227 
   1228   -target | --target | --targe | --targ | --tar | --ta | --t)
   1229     ac_prev=target_alias ;;
   1230   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1231     target_alias=$ac_optarg ;;
   1232 
   1233   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1234     verbose=yes ;;
   1235 
   1236   -version | --version | --versio | --versi | --vers | -V)
   1237     ac_init_version=: ;;
   1238 
   1239   -with-* | --with-*)
   1240     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1241     # Reject names that are not valid shell variable names.
   1242     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1243       as_fn_error "invalid package name: $ac_useropt"
   1244     ac_useropt_orig=$ac_useropt
   1245     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1246     case $ac_user_opts in
   1247       *"
   1248 "with_$ac_useropt"
   1249 "*) ;;
   1250       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1251 	 ac_unrecognized_sep=', ';;
   1252     esac
   1253     eval with_$ac_useropt=\$ac_optarg ;;
   1254 
   1255   -without-* | --without-*)
   1256     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1257     # Reject names that are not valid shell variable names.
   1258     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1259       as_fn_error "invalid package name: $ac_useropt"
   1260     ac_useropt_orig=$ac_useropt
   1261     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1262     case $ac_user_opts in
   1263       *"
   1264 "with_$ac_useropt"
   1265 "*) ;;
   1266       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1267 	 ac_unrecognized_sep=', ';;
   1268     esac
   1269     eval with_$ac_useropt=no ;;
   1270 
   1271   --x)
   1272     # Obsolete; use --with-x.
   1273     with_x=yes ;;
   1274 
   1275   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1276   | --x-incl | --x-inc | --x-in | --x-i)
   1277     ac_prev=x_includes ;;
   1278   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1279   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1280     x_includes=$ac_optarg ;;
   1281 
   1282   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1283   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1284     ac_prev=x_libraries ;;
   1285   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1286   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1287     x_libraries=$ac_optarg ;;
   1288 
   1289   -*) as_fn_error "unrecognized option: \`$ac_option'
   1290 Try \`$0 --help' for more information."
   1291     ;;
   1292 
   1293   *=*)
   1294     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1295     # Reject names that are not valid shell variable names.
   1296     case $ac_envvar in #(
   1297       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1298       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1299     esac
   1300     eval $ac_envvar=\$ac_optarg
   1301     export $ac_envvar ;;
   1302 
   1303   *)
   1304     # FIXME: should be removed in autoconf 3.0.
   1305     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1306     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1307       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1308     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1309     ;;
   1310 
   1311   esac
   1312 done
   1313 
   1314 if test -n "$ac_prev"; then
   1315   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1316   as_fn_error "missing argument to $ac_option"
   1317 fi
   1318 
   1319 if test -n "$ac_unrecognized_opts"; then
   1320   case $enable_option_checking in
   1321     no) ;;
   1322     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1323     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1324   esac
   1325 fi
   1326 
   1327 # Check all directory arguments for consistency.
   1328 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1329 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1330 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1331 		libdir localedir mandir
   1332 do
   1333   eval ac_val=\$$ac_var
   1334   # Remove trailing slashes.
   1335   case $ac_val in
   1336     */ )
   1337       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1338       eval $ac_var=\$ac_val;;
   1339   esac
   1340   # Be sure to have absolute directory names.
   1341   case $ac_val in
   1342     [\\/$]* | ?:[\\/]* )  continue;;
   1343     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1344   esac
   1345   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1346 done
   1347 
   1348 # There might be people who depend on the old broken behavior: `$host'
   1349 # used to hold the argument of --host etc.
   1350 # FIXME: To remove some day.
   1351 build=$build_alias
   1352 host=$host_alias
   1353 target=$target_alias
   1354 
   1355 # FIXME: To remove some day.
   1356 if test "x$host_alias" != x; then
   1357   if test "x$build_alias" = x; then
   1358     cross_compiling=maybe
   1359     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1360     If a cross compiler is detected then cross compile mode will be used." >&2
   1361   elif test "x$build_alias" != "x$host_alias"; then
   1362     cross_compiling=yes
   1363   fi
   1364 fi
   1365 
   1366 ac_tool_prefix=
   1367 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1368 
   1369 test "$silent" = yes && exec 6>/dev/null
   1370 
   1371 
   1372 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1373 ac_ls_di=`ls -di .` &&
   1374 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1375   as_fn_error "working directory cannot be determined"
   1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1377   as_fn_error "pwd does not report name of working directory"
   1378 
   1379 
   1380 # Find the source files, if location was not specified.
   1381 if test -z "$srcdir"; then
   1382   ac_srcdir_defaulted=yes
   1383   # Try the directory containing this script, then the parent directory.
   1384   ac_confdir=`$as_dirname -- "$as_myself" ||
   1385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1386 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1387 	 X"$as_myself" : 'X\(//\)$' \| \
   1388 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1389 $as_echo X"$as_myself" |
   1390     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1391 	    s//\1/
   1392 	    q
   1393 	  }
   1394 	  /^X\(\/\/\)[^/].*/{
   1395 	    s//\1/
   1396 	    q
   1397 	  }
   1398 	  /^X\(\/\/\)$/{
   1399 	    s//\1/
   1400 	    q
   1401 	  }
   1402 	  /^X\(\/\).*/{
   1403 	    s//\1/
   1404 	    q
   1405 	  }
   1406 	  s/.*/./; q'`
   1407   srcdir=$ac_confdir
   1408   if test ! -r "$srcdir/$ac_unique_file"; then
   1409     srcdir=..
   1410   fi
   1411 else
   1412   ac_srcdir_defaulted=no
   1413 fi
   1414 if test ! -r "$srcdir/$ac_unique_file"; then
   1415   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1416   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1417 fi
   1418 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1419 ac_abs_confdir=`(
   1420 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1421 	pwd)`
   1422 # When building in place, set srcdir=.
   1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1424   srcdir=.
   1425 fi
   1426 # Remove unnecessary trailing slashes from srcdir.
   1427 # Double slashes in file names in object file debugging info
   1428 # mess up M-x gdb in Emacs.
   1429 case $srcdir in
   1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1431 esac
   1432 for ac_var in $ac_precious_vars; do
   1433   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1434   eval ac_env_${ac_var}_value=\$${ac_var}
   1435   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1436   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1437 done
   1438 
   1439 #
   1440 # Report the --help message.
   1441 #
   1442 if test "$ac_init_help" = "long"; then
   1443   # Omit some internal or obsolete options to make the list less imposing.
   1444   # This message is too long to be a string in the A/UX 3.1 sh.
   1445   cat <<_ACEOF
   1446 \`configure' configures xf86-input-elographics 1.2.4 to adapt to many kinds of systems.
   1447 
   1448 Usage: $0 [OPTION]... [VAR=VALUE]...
   1449 
   1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1451 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1452 
   1453 Defaults for the options are specified in brackets.
   1454 
   1455 Configuration:
   1456   -h, --help              display this help and exit
   1457       --help=short        display options specific to this package
   1458       --help=recursive    display the short help of all the included packages
   1459   -V, --version           display version information and exit
   1460   -q, --quiet, --silent   do not print \`checking...' messages
   1461       --cache-file=FILE   cache test results in FILE [disabled]
   1462   -C, --config-cache      alias for \`--cache-file=config.cache'
   1463   -n, --no-create         do not create output files
   1464       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1465 
   1466 Installation directories:
   1467   --prefix=PREFIX         install architecture-independent files in PREFIX
   1468                           [$ac_default_prefix]
   1469   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1470                           [PREFIX]
   1471 
   1472 By default, \`make install' will install all the files in
   1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1475 for instance \`--prefix=\$HOME'.
   1476 
   1477 For better control, use the options below.
   1478 
   1479 Fine tuning of the installation directories:
   1480   --bindir=DIR            user executables [EPREFIX/bin]
   1481   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1482   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1483   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1484   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1485   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1486   --libdir=DIR            object code libraries [EPREFIX/lib]
   1487   --includedir=DIR        C header files [PREFIX/include]
   1488   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1489   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1490   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1491   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1492   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1493   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1494   --docdir=DIR            documentation root
   1495                           [DATAROOTDIR/doc/xf86-input-elographics]
   1496   --htmldir=DIR           html documentation [DOCDIR]
   1497   --dvidir=DIR            dvi documentation [DOCDIR]
   1498   --pdfdir=DIR            pdf documentation [DOCDIR]
   1499   --psdir=DIR             ps documentation [DOCDIR]
   1500 _ACEOF
   1501 
   1502   cat <<\_ACEOF
   1503 
   1504 Program names:
   1505   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1506   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1507   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1508 
   1509 System types:
   1510   --build=BUILD     configure for building on BUILD [guessed]
   1511   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1512 _ACEOF
   1513 fi
   1514 
   1515 if test -n "$ac_init_help"; then
   1516   case $ac_init_help in
   1517      short | recursive ) echo "Configuration of xf86-input-elographics 1.2.4:";;
   1518    esac
   1519   cat <<\_ACEOF
   1520 
   1521 Optional Features:
   1522   --disable-option-checking  ignore unrecognized --enable/--with options
   1523   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1524   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1525   --enable-maintainer-mode  enable make rules and dependencies not useful
   1526 			  (and sometimes confusing) to the casual installer
   1527   --enable-static[=PKGS]  build static libraries [default=no]
   1528   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1529   --enable-fast-install[=PKGS]
   1530                           optimize for fast installation [default=yes]
   1531   --disable-dependency-tracking  speeds up one-time build
   1532   --enable-dependency-tracking   do not reject slow dependency extractors
   1533   --disable-libtool-lock  avoid locking (might break parallel builds)
   1534 
   1535 Optional Packages:
   1536   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1537   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1538   --with-pic              try to use only PIC/non-PIC objects [default=use
   1539                           both]
   1540   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1541   --with-xorg-module-dir=DIR
   1542                           Default xorg module directory
   1543                           [[default=$libdir/xorg/modules]]
   1544 
   1545 Some influential environment variables:
   1546   CC          C compiler command
   1547   CFLAGS      C compiler flags
   1548   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1549               nonstandard directory <lib dir>
   1550   LIBS        libraries to pass to the linker, e.g. -l<library>
   1551   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1552               you have headers in a nonstandard directory <include dir>
   1553   CPP         C preprocessor
   1554   PKG_CONFIG  path to pkg-config utility
   1555   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1556   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1557 
   1558 Use these variables to override the choices made by `configure' or to help
   1559 it to find libraries and programs with nonstandard names/locations.
   1560 
   1561 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1562 _ACEOF
   1563 ac_status=$?
   1564 fi
   1565 
   1566 if test "$ac_init_help" = "recursive"; then
   1567   # If there are subdirs, report their specific --help.
   1568   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1569     test -d "$ac_dir" ||
   1570       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1571       continue
   1572     ac_builddir=.
   1573 
   1574 case "$ac_dir" in
   1575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1576 *)
   1577   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1578   # A ".." for each directory in $ac_dir_suffix.
   1579   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1580   case $ac_top_builddir_sub in
   1581   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1582   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1583   esac ;;
   1584 esac
   1585 ac_abs_top_builddir=$ac_pwd
   1586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1587 # for backward compatibility:
   1588 ac_top_builddir=$ac_top_build_prefix
   1589 
   1590 case $srcdir in
   1591   .)  # We are building in place.
   1592     ac_srcdir=.
   1593     ac_top_srcdir=$ac_top_builddir_sub
   1594     ac_abs_top_srcdir=$ac_pwd ;;
   1595   [\\/]* | ?:[\\/]* )  # Absolute name.
   1596     ac_srcdir=$srcdir$ac_dir_suffix;
   1597     ac_top_srcdir=$srcdir
   1598     ac_abs_top_srcdir=$srcdir ;;
   1599   *) # Relative name.
   1600     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1601     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1602     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1603 esac
   1604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1605 
   1606     cd "$ac_dir" || { ac_status=$?; continue; }
   1607     # Check for guested configure.
   1608     if test -f "$ac_srcdir/configure.gnu"; then
   1609       echo &&
   1610       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1611     elif test -f "$ac_srcdir/configure"; then
   1612       echo &&
   1613       $SHELL "$ac_srcdir/configure" --help=recursive
   1614     else
   1615       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1616     fi || ac_status=$?
   1617     cd "$ac_pwd" || { ac_status=$?; break; }
   1618   done
   1619 fi
   1620 
   1621 test -n "$ac_init_help" && exit $ac_status
   1622 if $ac_init_version; then
   1623   cat <<\_ACEOF
   1624 xf86-input-elographics configure 1.2.4
   1625 generated by GNU Autoconf 2.65
   1626 
   1627 Copyright (C) 2009 Free Software Foundation, Inc.
   1628 This configure script is free software; the Free Software Foundation
   1629 gives unlimited permission to copy, distribute and modify it.
   1630 _ACEOF
   1631   exit
   1632 fi
   1633 
   1634 ## ------------------------ ##
   1635 ## Autoconf initialization. ##
   1636 ## ------------------------ ##
   1637 
   1638 # ac_fn_c_try_compile LINENO
   1639 # --------------------------
   1640 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1641 ac_fn_c_try_compile ()
   1642 {
   1643   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1644   rm -f conftest.$ac_objext
   1645   if { { ac_try="$ac_compile"
   1646 case "(($ac_try" in
   1647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1648   *) ac_try_echo=$ac_try;;
   1649 esac
   1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1651 $as_echo "$ac_try_echo"; } >&5
   1652   (eval "$ac_compile") 2>conftest.err
   1653   ac_status=$?
   1654   if test -s conftest.err; then
   1655     grep -v '^ *+' conftest.err >conftest.er1
   1656     cat conftest.er1 >&5
   1657     mv -f conftest.er1 conftest.err
   1658   fi
   1659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1660   test $ac_status = 0; } && {
   1661 	 test -z "$ac_c_werror_flag" ||
   1662 	 test ! -s conftest.err
   1663        } && test -s conftest.$ac_objext; then :
   1664   ac_retval=0
   1665 else
   1666   $as_echo "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669 	ac_retval=1
   1670 fi
   1671   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1672   as_fn_set_status $ac_retval
   1673 
   1674 } # ac_fn_c_try_compile
   1675 
   1676 # ac_fn_c_try_link LINENO
   1677 # -----------------------
   1678 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1679 ac_fn_c_try_link ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   rm -f conftest.$ac_objext conftest$ac_exeext
   1683   if { { ac_try="$ac_link"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_link") 2>conftest.err
   1691   ac_status=$?
   1692   if test -s conftest.err; then
   1693     grep -v '^ *+' conftest.err >conftest.er1
   1694     cat conftest.er1 >&5
   1695     mv -f conftest.er1 conftest.err
   1696   fi
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && {
   1699 	 test -z "$ac_c_werror_flag" ||
   1700 	 test ! -s conftest.err
   1701        } && test -s conftest$ac_exeext && {
   1702 	 test "$cross_compiling" = yes ||
   1703 	 $as_test_x conftest$ac_exeext
   1704        }; then :
   1705   ac_retval=0
   1706 else
   1707   $as_echo "$as_me: failed program was:" >&5
   1708 sed 's/^/| /' conftest.$ac_ext >&5
   1709 
   1710 	ac_retval=1
   1711 fi
   1712   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1713   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1714   # interfere with the next link command; also delete a directory that is
   1715   # left behind by Apple's compiler.  We do this before executing the actions.
   1716   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1717   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1718   as_fn_set_status $ac_retval
   1719 
   1720 } # ac_fn_c_try_link
   1721 
   1722 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1723 # -------------------------------------------------------
   1724 # Tests whether HEADER exists and can be compiled using the include files in
   1725 # INCLUDES, setting the cache variable VAR accordingly.
   1726 ac_fn_c_check_header_compile ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 $as_echo_n "checking for $2... " >&6; }
   1731 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1732   $as_echo_n "(cached) " >&6
   1733 else
   1734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1735 /* end confdefs.h.  */
   1736 $4
   1737 #include <$2>
   1738 _ACEOF
   1739 if ac_fn_c_try_compile "$LINENO"; then :
   1740   eval "$3=yes"
   1741 else
   1742   eval "$3=no"
   1743 fi
   1744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1745 fi
   1746 eval ac_res=\$$3
   1747 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1748 $as_echo "$ac_res" >&6; }
   1749   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1750 
   1751 } # ac_fn_c_check_header_compile
   1752 
   1753 # ac_fn_c_try_cpp LINENO
   1754 # ----------------------
   1755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1756 ac_fn_c_try_cpp ()
   1757 {
   1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1759   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1760 case "(($ac_try" in
   1761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1762   *) ac_try_echo=$ac_try;;
   1763 esac
   1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1765 $as_echo "$ac_try_echo"; } >&5
   1766   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1767   ac_status=$?
   1768   if test -s conftest.err; then
   1769     grep -v '^ *+' conftest.err >conftest.er1
   1770     cat conftest.er1 >&5
   1771     mv -f conftest.er1 conftest.err
   1772   fi
   1773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1774   test $ac_status = 0; } >/dev/null && {
   1775 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1776 	 test ! -s conftest.err
   1777        }; then :
   1778   ac_retval=0
   1779 else
   1780   $as_echo "$as_me: failed program was:" >&5
   1781 sed 's/^/| /' conftest.$ac_ext >&5
   1782 
   1783     ac_retval=1
   1784 fi
   1785   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1786   as_fn_set_status $ac_retval
   1787 
   1788 } # ac_fn_c_try_cpp
   1789 
   1790 # ac_fn_c_try_run LINENO
   1791 # ----------------------
   1792 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1793 # that executables *can* be run.
   1794 ac_fn_c_try_run ()
   1795 {
   1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1797   if { { ac_try="$ac_link"
   1798 case "(($ac_try" in
   1799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1800   *) ac_try_echo=$ac_try;;
   1801 esac
   1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1803 $as_echo "$ac_try_echo"; } >&5
   1804   (eval "$ac_link") 2>&5
   1805   ac_status=$?
   1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1807   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1808   { { case "(($ac_try" in
   1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1810   *) ac_try_echo=$ac_try;;
   1811 esac
   1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1813 $as_echo "$ac_try_echo"; } >&5
   1814   (eval "$ac_try") 2>&5
   1815   ac_status=$?
   1816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1817   test $ac_status = 0; }; }; then :
   1818   ac_retval=0
   1819 else
   1820   $as_echo "$as_me: program exited with status $ac_status" >&5
   1821        $as_echo "$as_me: failed program was:" >&5
   1822 sed 's/^/| /' conftest.$ac_ext >&5
   1823 
   1824        ac_retval=$ac_status
   1825 fi
   1826   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1827   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1828   as_fn_set_status $ac_retval
   1829 
   1830 } # ac_fn_c_try_run
   1831 
   1832 # ac_fn_c_check_func LINENO FUNC VAR
   1833 # ----------------------------------
   1834 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1835 ac_fn_c_check_func ()
   1836 {
   1837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1839 $as_echo_n "checking for $2... " >&6; }
   1840 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1841   $as_echo_n "(cached) " >&6
   1842 else
   1843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1844 /* end confdefs.h.  */
   1845 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1847 #define $2 innocuous_$2
   1848 
   1849 /* System header to define __stub macros and hopefully few prototypes,
   1850     which can conflict with char $2 (); below.
   1851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1852     <limits.h> exists even on freestanding compilers.  */
   1853 
   1854 #ifdef __STDC__
   1855 # include <limits.h>
   1856 #else
   1857 # include <assert.h>
   1858 #endif
   1859 
   1860 #undef $2
   1861 
   1862 /* Override any GCC internal prototype to avoid an error.
   1863    Use char because int might match the return type of a GCC
   1864    builtin and then its argument prototype would still apply.  */
   1865 #ifdef __cplusplus
   1866 extern "C"
   1867 #endif
   1868 char $2 ();
   1869 /* The GNU C library defines this for functions which it implements
   1870     to always fail with ENOSYS.  Some functions are actually named
   1871     something starting with __ and the normal name is an alias.  */
   1872 #if defined __stub_$2 || defined __stub___$2
   1873 choke me
   1874 #endif
   1875 
   1876 int
   1877 main ()
   1878 {
   1879 return $2 ();
   1880   ;
   1881   return 0;
   1882 }
   1883 _ACEOF
   1884 if ac_fn_c_try_link "$LINENO"; then :
   1885   eval "$3=yes"
   1886 else
   1887   eval "$3=no"
   1888 fi
   1889 rm -f core conftest.err conftest.$ac_objext \
   1890     conftest$ac_exeext conftest.$ac_ext
   1891 fi
   1892 eval ac_res=\$$3
   1893 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1894 $as_echo "$ac_res" >&6; }
   1895   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1896 
   1897 } # ac_fn_c_check_func
   1898 
   1899 # ac_fn_c_check_decl LINENO SYMBOL VAR
   1900 # ------------------------------------
   1901 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   1902 ac_fn_c_check_decl ()
   1903 {
   1904   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
   1906 $as_echo_n "checking whether $2 is declared... " >&6; }
   1907 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1908   $as_echo_n "(cached) " >&6
   1909 else
   1910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1911 /* end confdefs.h.  */
   1912 $4
   1913 int
   1914 main ()
   1915 {
   1916 #ifndef $2
   1917   (void) $2;
   1918 #endif
   1919 
   1920   ;
   1921   return 0;
   1922 }
   1923 _ACEOF
   1924 if ac_fn_c_try_compile "$LINENO"; then :
   1925   eval "$3=yes"
   1926 else
   1927   eval "$3=no"
   1928 fi
   1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1930 fi
   1931 eval ac_res=\$$3
   1932 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1933 $as_echo "$ac_res" >&6; }
   1934   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1935 
   1936 } # ac_fn_c_check_decl
   1937 cat >config.log <<_ACEOF
   1938 This file contains any messages produced by compilers while
   1939 running configure, to aid debugging if configure makes a mistake.
   1940 
   1941 It was created by xf86-input-elographics $as_me 1.2.4, which was
   1942 generated by GNU Autoconf 2.65.  Invocation command line was
   1943 
   1944   $ $0 $@
   1945 
   1946 _ACEOF
   1947 exec 5>>config.log
   1948 {
   1949 cat <<_ASUNAME
   1950 ## --------- ##
   1951 ## Platform. ##
   1952 ## --------- ##
   1953 
   1954 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1955 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1956 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1957 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1958 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1959 
   1960 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1961 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1962 
   1963 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1964 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1965 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1966 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1967 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1968 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1969 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1970 
   1971 _ASUNAME
   1972 
   1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1974 for as_dir in $PATH
   1975 do
   1976   IFS=$as_save_IFS
   1977   test -z "$as_dir" && as_dir=.
   1978     $as_echo "PATH: $as_dir"
   1979   done
   1980 IFS=$as_save_IFS
   1981 
   1982 } >&5
   1983 
   1984 cat >&5 <<_ACEOF
   1985 
   1986 
   1987 ## ----------- ##
   1988 ## Core tests. ##
   1989 ## ----------- ##
   1990 
   1991 _ACEOF
   1992 
   1993 
   1994 # Keep a trace of the command line.
   1995 # Strip out --no-create and --no-recursion so they do not pile up.
   1996 # Strip out --silent because we don't want to record it for future runs.
   1997 # Also quote any args containing shell meta-characters.
   1998 # Make two passes to allow for proper duplicate-argument suppression.
   1999 ac_configure_args=
   2000 ac_configure_args0=
   2001 ac_configure_args1=
   2002 ac_must_keep_next=false
   2003 for ac_pass in 1 2
   2004 do
   2005   for ac_arg
   2006   do
   2007     case $ac_arg in
   2008     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2009     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2010     | -silent | --silent | --silen | --sile | --sil)
   2011       continue ;;
   2012     *\'*)
   2013       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2014     esac
   2015     case $ac_pass in
   2016     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2017     2)
   2018       as_fn_append ac_configure_args1 " '$ac_arg'"
   2019       if test $ac_must_keep_next = true; then
   2020 	ac_must_keep_next=false # Got value, back to normal.
   2021       else
   2022 	case $ac_arg in
   2023 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2024 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2025 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2026 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2027 	    case "$ac_configure_args0 " in
   2028 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2029 	    esac
   2030 	    ;;
   2031 	  -* ) ac_must_keep_next=true ;;
   2032 	esac
   2033       fi
   2034       as_fn_append ac_configure_args " '$ac_arg'"
   2035       ;;
   2036     esac
   2037   done
   2038 done
   2039 { ac_configure_args0=; unset ac_configure_args0;}
   2040 { ac_configure_args1=; unset ac_configure_args1;}
   2041 
   2042 # When interrupted or exit'd, cleanup temporary files, and complete
   2043 # config.log.  We remove comments because anyway the quotes in there
   2044 # would cause problems or look ugly.
   2045 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2046 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2047 trap 'exit_status=$?
   2048   # Save into config.log some information that might help in debugging.
   2049   {
   2050     echo
   2051 
   2052     cat <<\_ASBOX
   2053 ## ---------------- ##
   2054 ## Cache variables. ##
   2055 ## ---------------- ##
   2056 _ASBOX
   2057     echo
   2058     # The following way of writing the cache mishandles newlines in values,
   2059 (
   2060   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2061     eval ac_val=\$$ac_var
   2062     case $ac_val in #(
   2063     *${as_nl}*)
   2064       case $ac_var in #(
   2065       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2066 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2067       esac
   2068       case $ac_var in #(
   2069       _ | IFS | as_nl) ;; #(
   2070       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2071       *) { eval $ac_var=; unset $ac_var;} ;;
   2072       esac ;;
   2073     esac
   2074   done
   2075   (set) 2>&1 |
   2076     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2077     *${as_nl}ac_space=\ *)
   2078       sed -n \
   2079 	"s/'\''/'\''\\\\'\'''\''/g;
   2080 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2081       ;; #(
   2082     *)
   2083       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2084       ;;
   2085     esac |
   2086     sort
   2087 )
   2088     echo
   2089 
   2090     cat <<\_ASBOX
   2091 ## ----------------- ##
   2092 ## Output variables. ##
   2093 ## ----------------- ##
   2094 _ASBOX
   2095     echo
   2096     for ac_var in $ac_subst_vars
   2097     do
   2098       eval ac_val=\$$ac_var
   2099       case $ac_val in
   2100       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2101       esac
   2102       $as_echo "$ac_var='\''$ac_val'\''"
   2103     done | sort
   2104     echo
   2105 
   2106     if test -n "$ac_subst_files"; then
   2107       cat <<\_ASBOX
   2108 ## ------------------- ##
   2109 ## File substitutions. ##
   2110 ## ------------------- ##
   2111 _ASBOX
   2112       echo
   2113       for ac_var in $ac_subst_files
   2114       do
   2115 	eval ac_val=\$$ac_var
   2116 	case $ac_val in
   2117 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2118 	esac
   2119 	$as_echo "$ac_var='\''$ac_val'\''"
   2120       done | sort
   2121       echo
   2122     fi
   2123 
   2124     if test -s confdefs.h; then
   2125       cat <<\_ASBOX
   2126 ## ----------- ##
   2127 ## confdefs.h. ##
   2128 ## ----------- ##
   2129 _ASBOX
   2130       echo
   2131       cat confdefs.h
   2132       echo
   2133     fi
   2134     test "$ac_signal" != 0 &&
   2135       $as_echo "$as_me: caught signal $ac_signal"
   2136     $as_echo "$as_me: exit $exit_status"
   2137   } >&5
   2138   rm -f core *.core core.conftest.* &&
   2139     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2140     exit $exit_status
   2141 ' 0
   2142 for ac_signal in 1 2 13 15; do
   2143   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2144 done
   2145 ac_signal=0
   2146 
   2147 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2148 rm -f -r conftest* confdefs.h
   2149 
   2150 $as_echo "/* confdefs.h */" > confdefs.h
   2151 
   2152 # Predefined preprocessor variables.
   2153 
   2154 cat >>confdefs.h <<_ACEOF
   2155 #define PACKAGE_NAME "$PACKAGE_NAME"
   2156 _ACEOF
   2157 
   2158 cat >>confdefs.h <<_ACEOF
   2159 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2160 _ACEOF
   2161 
   2162 cat >>confdefs.h <<_ACEOF
   2163 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2164 _ACEOF
   2165 
   2166 cat >>confdefs.h <<_ACEOF
   2167 #define PACKAGE_STRING "$PACKAGE_STRING"
   2168 _ACEOF
   2169 
   2170 cat >>confdefs.h <<_ACEOF
   2171 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2172 _ACEOF
   2173 
   2174 cat >>confdefs.h <<_ACEOF
   2175 #define PACKAGE_URL "$PACKAGE_URL"
   2176 _ACEOF
   2177 
   2178 
   2179 # Let the site file select an alternate cache file if it wants to.
   2180 # Prefer an explicitly selected file to automatically selected ones.
   2181 ac_site_file1=NONE
   2182 ac_site_file2=NONE
   2183 if test -n "$CONFIG_SITE"; then
   2184   ac_site_file1=$CONFIG_SITE
   2185 elif test "x$prefix" != xNONE; then
   2186   ac_site_file1=$prefix/share/config.site
   2187   ac_site_file2=$prefix/etc/config.site
   2188 else
   2189   ac_site_file1=$ac_default_prefix/share/config.site
   2190   ac_site_file2=$ac_default_prefix/etc/config.site
   2191 fi
   2192 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2193 do
   2194   test "x$ac_site_file" = xNONE && continue
   2195   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2196     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2197 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2198     sed 's/^/| /' "$ac_site_file" >&5
   2199     . "$ac_site_file"
   2200   fi
   2201 done
   2202 
   2203 if test -r "$cache_file"; then
   2204   # Some versions of bash will fail to source /dev/null (special files
   2205   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2206   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2207     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2208 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2209     case $cache_file in
   2210       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2211       *)                      . "./$cache_file";;
   2212     esac
   2213   fi
   2214 else
   2215   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2216 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2217   >$cache_file
   2218 fi
   2219 
   2220 # Check that the precious variables saved in the cache have kept the same
   2221 # value.
   2222 ac_cache_corrupted=false
   2223 for ac_var in $ac_precious_vars; do
   2224   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2225   eval ac_new_set=\$ac_env_${ac_var}_set
   2226   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2227   eval ac_new_val=\$ac_env_${ac_var}_value
   2228   case $ac_old_set,$ac_new_set in
   2229     set,)
   2230       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2231 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2232       ac_cache_corrupted=: ;;
   2233     ,set)
   2234       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2235 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2236       ac_cache_corrupted=: ;;
   2237     ,);;
   2238     *)
   2239       if test "x$ac_old_val" != "x$ac_new_val"; then
   2240 	# differences in whitespace do not lead to failure.
   2241 	ac_old_val_w=`echo x $ac_old_val`
   2242 	ac_new_val_w=`echo x $ac_new_val`
   2243 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2244 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2245 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2246 	  ac_cache_corrupted=:
   2247 	else
   2248 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2249 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2250 	  eval $ac_var=\$ac_old_val
   2251 	fi
   2252 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2253 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2254 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2255 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2256       fi;;
   2257   esac
   2258   # Pass precious variables to config.status.
   2259   if test "$ac_new_set" = set; then
   2260     case $ac_new_val in
   2261     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2262     *) ac_arg=$ac_var=$ac_new_val ;;
   2263     esac
   2264     case " $ac_configure_args " in
   2265       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2266       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2267     esac
   2268   fi
   2269 done
   2270 if $ac_cache_corrupted; then
   2271   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2273   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2274 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2275   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2276 fi
   2277 ## -------------------- ##
   2278 ## Main body of script. ##
   2279 ## -------------------- ##
   2280 
   2281 ac_ext=c
   2282 ac_cpp='$CPP $CPPFLAGS'
   2283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2286 
   2287 
   2288 
   2289 
   2290 ac_aux_dir=
   2291 for ac_dir in . "$srcdir"/.; do
   2292   for ac_t in install-sh install.sh shtool; do
   2293     if test -f "$ac_dir/$ac_t"; then
   2294       ac_aux_dir=$ac_dir
   2295       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2296       break 2
   2297     fi
   2298   done
   2299 done
   2300 if test -z "$ac_aux_dir"; then
   2301   as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2302 fi
   2303 
   2304 # These three variables are undocumented and unsupported,
   2305 # and are intended to be withdrawn in a future Autoconf release.
   2306 # They can cause serious problems if a builder's source tree is in a directory
   2307 # whose full name contains unusual characters.
   2308 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2309 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2310 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2311 
   2312 
   2313 am__api_version='1.11'
   2314 
   2315 # Find a good install program.  We prefer a C program (faster),
   2316 # so one script is as good as another.  But avoid the broken or
   2317 # incompatible versions:
   2318 # SysV /etc/install, /usr/sbin/install
   2319 # SunOS /usr/etc/install
   2320 # IRIX /sbin/install
   2321 # AIX /bin/install
   2322 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2323 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2324 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2325 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2326 # OS/2's system install, which has a completely different semantic
   2327 # ./install, which can be erroneously created by make from ./install.sh.
   2328 # Reject install programs that cannot install multiple files.
   2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2330 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2331 if test -z "$INSTALL"; then
   2332 if test "${ac_cv_path_install+set}" = set; then :
   2333   $as_echo_n "(cached) " >&6
   2334 else
   2335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2336 for as_dir in $PATH
   2337 do
   2338   IFS=$as_save_IFS
   2339   test -z "$as_dir" && as_dir=.
   2340     # Account for people who put trailing slashes in PATH elements.
   2341 case $as_dir/ in #((
   2342   ./ | .// | /[cC]/* | \
   2343   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2344   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2345   /usr/ucb/* ) ;;
   2346   *)
   2347     # OSF1 and SCO ODT 3.0 have their own names for install.
   2348     # Don't use installbsd from OSF since it installs stuff as root
   2349     # by default.
   2350     for ac_prog in ginstall scoinst install; do
   2351       for ac_exec_ext in '' $ac_executable_extensions; do
   2352 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2353 	  if test $ac_prog = install &&
   2354 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2355 	    # AIX install.  It has an incompatible calling convention.
   2356 	    :
   2357 	  elif test $ac_prog = install &&
   2358 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2359 	    # program-specific install script used by HP pwplus--don't use.
   2360 	    :
   2361 	  else
   2362 	    rm -rf conftest.one conftest.two conftest.dir
   2363 	    echo one > conftest.one
   2364 	    echo two > conftest.two
   2365 	    mkdir conftest.dir
   2366 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2367 	      test -s conftest.one && test -s conftest.two &&
   2368 	      test -s conftest.dir/conftest.one &&
   2369 	      test -s conftest.dir/conftest.two
   2370 	    then
   2371 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2372 	      break 3
   2373 	    fi
   2374 	  fi
   2375 	fi
   2376       done
   2377     done
   2378     ;;
   2379 esac
   2380 
   2381   done
   2382 IFS=$as_save_IFS
   2383 
   2384 rm -rf conftest.one conftest.two conftest.dir
   2385 
   2386 fi
   2387   if test "${ac_cv_path_install+set}" = set; then
   2388     INSTALL=$ac_cv_path_install
   2389   else
   2390     # As a last resort, use the slow shell script.  Don't cache a
   2391     # value for INSTALL within a source directory, because that will
   2392     # break other packages using the cache if that directory is
   2393     # removed, or if the value is a relative name.
   2394     INSTALL=$ac_install_sh
   2395   fi
   2396 fi
   2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2398 $as_echo "$INSTALL" >&6; }
   2399 
   2400 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2401 # It thinks the first close brace ends the variable substitution.
   2402 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2403 
   2404 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2405 
   2406 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2407 
   2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2409 $as_echo_n "checking whether build environment is sane... " >&6; }
   2410 # Just in case
   2411 sleep 1
   2412 echo timestamp > conftest.file
   2413 # Reject unsafe characters in $srcdir or the absolute working directory
   2414 # name.  Accept space and tab only in the latter.
   2415 am_lf='
   2416 '
   2417 case `pwd` in
   2418   *[\\\"\#\$\&\'\`$am_lf]*)
   2419     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   2420 esac
   2421 case $srcdir in
   2422   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2423     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2424 esac
   2425 
   2426 # Do `set' in a subshell so we don't clobber the current shell's
   2427 # arguments.  Must try -L first in case configure is actually a
   2428 # symlink; some systems play weird games with the mod time of symlinks
   2429 # (eg FreeBSD returns the mod time of the symlink's containing
   2430 # directory).
   2431 if (
   2432    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2433    if test "$*" = "X"; then
   2434       # -L didn't work.
   2435       set X `ls -t "$srcdir/configure" conftest.file`
   2436    fi
   2437    rm -f conftest.file
   2438    if test "$*" != "X $srcdir/configure conftest.file" \
   2439       && test "$*" != "X conftest.file $srcdir/configure"; then
   2440 
   2441       # If neither matched, then we have a broken ls.  This can happen
   2442       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2443       # broken ls alias from the environment.  This has actually
   2444       # happened.  Such a system could not be considered "sane".
   2445       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   2446 alias in your environment" "$LINENO" 5
   2447    fi
   2448 
   2449    test "$2" = conftest.file
   2450    )
   2451 then
   2452    # Ok.
   2453    :
   2454 else
   2455    as_fn_error "newly created file is older than distributed files!
   2456 Check your system clock" "$LINENO" 5
   2457 fi
   2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2459 $as_echo "yes" >&6; }
   2460 test "$program_prefix" != NONE &&
   2461   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2462 # Use a double $ so make ignores it.
   2463 test "$program_suffix" != NONE &&
   2464   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2465 # Double any \ or $.
   2466 # By default was `s,x,x', remove it if useless.
   2467 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2468 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2469 
   2470 # expand $ac_aux_dir to an absolute path
   2471 am_aux_dir=`cd $ac_aux_dir && pwd`
   2472 
   2473 if test x"${MISSING+set}" != xset; then
   2474   case $am_aux_dir in
   2475   *\ * | *\	*)
   2476     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2477   *)
   2478     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2479   esac
   2480 fi
   2481 # Use eval to expand $SHELL
   2482 if eval "$MISSING --run true"; then
   2483   am_missing_run="$MISSING --run "
   2484 else
   2485   am_missing_run=
   2486   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2487 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2488 fi
   2489 
   2490 if test x"${install_sh}" != xset; then
   2491   case $am_aux_dir in
   2492   *\ * | *\	*)
   2493     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2494   *)
   2495     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2496   esac
   2497 fi
   2498 
   2499 # Installed binaries are usually stripped using `strip' when the user
   2500 # run `make install-strip'.  However `strip' might not be the right
   2501 # tool to use in cross-compilation environments, therefore Automake
   2502 # will honor the `STRIP' environment variable to overrule this program.
   2503 if test "$cross_compiling" != no; then
   2504   if test -n "$ac_tool_prefix"; then
   2505   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2506 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2508 $as_echo_n "checking for $ac_word... " >&6; }
   2509 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2510   $as_echo_n "(cached) " >&6
   2511 else
   2512   if test -n "$STRIP"; then
   2513   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2514 else
   2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2516 for as_dir in $PATH
   2517 do
   2518   IFS=$as_save_IFS
   2519   test -z "$as_dir" && as_dir=.
   2520     for ac_exec_ext in '' $ac_executable_extensions; do
   2521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2522     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2524     break 2
   2525   fi
   2526 done
   2527   done
   2528 IFS=$as_save_IFS
   2529 
   2530 fi
   2531 fi
   2532 STRIP=$ac_cv_prog_STRIP
   2533 if test -n "$STRIP"; then
   2534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2535 $as_echo "$STRIP" >&6; }
   2536 else
   2537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2538 $as_echo "no" >&6; }
   2539 fi
   2540 
   2541 
   2542 fi
   2543 if test -z "$ac_cv_prog_STRIP"; then
   2544   ac_ct_STRIP=$STRIP
   2545   # Extract the first word of "strip", so it can be a program name with args.
   2546 set dummy strip; ac_word=$2
   2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2548 $as_echo_n "checking for $ac_word... " >&6; }
   2549 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2550   $as_echo_n "(cached) " >&6
   2551 else
   2552   if test -n "$ac_ct_STRIP"; then
   2553   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2554 else
   2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2556 for as_dir in $PATH
   2557 do
   2558   IFS=$as_save_IFS
   2559   test -z "$as_dir" && as_dir=.
   2560     for ac_exec_ext in '' $ac_executable_extensions; do
   2561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2562     ac_cv_prog_ac_ct_STRIP="strip"
   2563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2564     break 2
   2565   fi
   2566 done
   2567   done
   2568 IFS=$as_save_IFS
   2569 
   2570 fi
   2571 fi
   2572 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2573 if test -n "$ac_ct_STRIP"; then
   2574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2575 $as_echo "$ac_ct_STRIP" >&6; }
   2576 else
   2577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2578 $as_echo "no" >&6; }
   2579 fi
   2580 
   2581   if test "x$ac_ct_STRIP" = x; then
   2582     STRIP=":"
   2583   else
   2584     case $cross_compiling:$ac_tool_warned in
   2585 yes:)
   2586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2588 ac_tool_warned=yes ;;
   2589 esac
   2590     STRIP=$ac_ct_STRIP
   2591   fi
   2592 else
   2593   STRIP="$ac_cv_prog_STRIP"
   2594 fi
   2595 
   2596 fi
   2597 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2598 
   2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2600 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2601 if test -z "$MKDIR_P"; then
   2602   if test "${ac_cv_path_mkdir+set}" = set; then :
   2603   $as_echo_n "(cached) " >&6
   2604 else
   2605   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2606 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2607 do
   2608   IFS=$as_save_IFS
   2609   test -z "$as_dir" && as_dir=.
   2610     for ac_prog in mkdir gmkdir; do
   2611 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2612 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2613 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2614 	     'mkdir (GNU coreutils) '* | \
   2615 	     'mkdir (coreutils) '* | \
   2616 	     'mkdir (fileutils) '4.1*)
   2617 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2618 	       break 3;;
   2619 	   esac
   2620 	 done
   2621        done
   2622   done
   2623 IFS=$as_save_IFS
   2624 
   2625 fi
   2626 
   2627   test -d ./--version && rmdir ./--version
   2628   if test "${ac_cv_path_mkdir+set}" = set; then
   2629     MKDIR_P="$ac_cv_path_mkdir -p"
   2630   else
   2631     # As a last resort, use the slow shell script.  Don't cache a
   2632     # value for MKDIR_P within a source directory, because that will
   2633     # break other packages using the cache if that directory is
   2634     # removed, or if the value is a relative name.
   2635     MKDIR_P="$ac_install_sh -d"
   2636   fi
   2637 fi
   2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2639 $as_echo "$MKDIR_P" >&6; }
   2640 
   2641 mkdir_p="$MKDIR_P"
   2642 case $mkdir_p in
   2643   [\\/$]* | ?:[\\/]*) ;;
   2644   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2645 esac
   2646 
   2647 for ac_prog in gawk mawk nawk awk
   2648 do
   2649   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2650 set dummy $ac_prog; ac_word=$2
   2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2652 $as_echo_n "checking for $ac_word... " >&6; }
   2653 if test "${ac_cv_prog_AWK+set}" = set; then :
   2654   $as_echo_n "(cached) " >&6
   2655 else
   2656   if test -n "$AWK"; then
   2657   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2658 else
   2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2660 for as_dir in $PATH
   2661 do
   2662   IFS=$as_save_IFS
   2663   test -z "$as_dir" && as_dir=.
   2664     for ac_exec_ext in '' $ac_executable_extensions; do
   2665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2666     ac_cv_prog_AWK="$ac_prog"
   2667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2668     break 2
   2669   fi
   2670 done
   2671   done
   2672 IFS=$as_save_IFS
   2673 
   2674 fi
   2675 fi
   2676 AWK=$ac_cv_prog_AWK
   2677 if test -n "$AWK"; then
   2678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2679 $as_echo "$AWK" >&6; }
   2680 else
   2681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2682 $as_echo "no" >&6; }
   2683 fi
   2684 
   2685 
   2686   test -n "$AWK" && break
   2687 done
   2688 
   2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2690 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2691 set x ${MAKE-make}
   2692 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2693 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   2694   $as_echo_n "(cached) " >&6
   2695 else
   2696   cat >conftest.make <<\_ACEOF
   2697 SHELL = /bin/sh
   2698 all:
   2699 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2700 _ACEOF
   2701 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2702 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2703   *@@@%%%=?*=@@@%%%*)
   2704     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2705   *)
   2706     eval ac_cv_prog_make_${ac_make}_set=no;;
   2707 esac
   2708 rm -f conftest.make
   2709 fi
   2710 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2712 $as_echo "yes" >&6; }
   2713   SET_MAKE=
   2714 else
   2715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2716 $as_echo "no" >&6; }
   2717   SET_MAKE="MAKE=${MAKE-make}"
   2718 fi
   2719 
   2720 rm -rf .tst 2>/dev/null
   2721 mkdir .tst 2>/dev/null
   2722 if test -d .tst; then
   2723   am__leading_dot=.
   2724 else
   2725   am__leading_dot=_
   2726 fi
   2727 rmdir .tst 2>/dev/null
   2728 
   2729 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2730   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2731   # is not polluted with repeated "-I."
   2732   am__isrc=' -I$(srcdir)'
   2733   # test to see if srcdir already configured
   2734   if test -f $srcdir/config.status; then
   2735     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2736   fi
   2737 fi
   2738 
   2739 # test whether we have cygpath
   2740 if test -z "$CYGPATH_W"; then
   2741   if (cygpath --version) >/dev/null 2>/dev/null; then
   2742     CYGPATH_W='cygpath -w'
   2743   else
   2744     CYGPATH_W=echo
   2745   fi
   2746 fi
   2747 
   2748 
   2749 # Define the identity of the package.
   2750  PACKAGE='xf86-input-elographics'
   2751  VERSION='1.2.4'
   2752 
   2753 
   2754 cat >>confdefs.h <<_ACEOF
   2755 #define PACKAGE "$PACKAGE"
   2756 _ACEOF
   2757 
   2758 
   2759 cat >>confdefs.h <<_ACEOF
   2760 #define VERSION "$VERSION"
   2761 _ACEOF
   2762 
   2763 # Some tools Automake needs.
   2764 
   2765 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2766 
   2767 
   2768 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2769 
   2770 
   2771 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2772 
   2773 
   2774 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2775 
   2776 
   2777 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2778 
   2779 # We need awk for the "check" target.  The system "awk" is bad on
   2780 # some platforms.
   2781 # Always define AMTAR for backward compatibility.
   2782 
   2783 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2784 
   2785 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2786 
   2787 
   2788 
   2789 
   2790 
   2791 
   2792 
   2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2794 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2795     # Check whether --enable-maintainer-mode was given.
   2796 if test "${enable_maintainer_mode+set}" = set; then :
   2797   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2798 else
   2799   USE_MAINTAINER_MODE=no
   2800 fi
   2801 
   2802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2803 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2804    if test $USE_MAINTAINER_MODE = yes; then
   2805   MAINTAINER_MODE_TRUE=
   2806   MAINTAINER_MODE_FALSE='#'
   2807 else
   2808   MAINTAINER_MODE_TRUE='#'
   2809   MAINTAINER_MODE_FALSE=
   2810 fi
   2811 
   2812   MAINT=$MAINTAINER_MODE_TRUE
   2813 
   2814 
   2815 
   2816 # Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
   2817 
   2818 
   2819 
   2820 
   2821 
   2822 
   2823 
   2824 
   2825 
   2826 
   2827 
   2828 ac_config_headers="$ac_config_headers config.h"
   2829 
   2830 
   2831 # Checks for programs.
   2832 # Check whether --enable-static was given.
   2833 if test "${enable_static+set}" = set; then :
   2834   enableval=$enable_static; p=${PACKAGE-default}
   2835     case $enableval in
   2836     yes) enable_static=yes ;;
   2837     no) enable_static=no ;;
   2838     *)
   2839      enable_static=no
   2840       # Look at the argument we got.  We use all the common list separators.
   2841       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2842       for pkg in $enableval; do
   2843 	IFS="$lt_save_ifs"
   2844 	if test "X$pkg" = "X$p"; then
   2845 	  enable_static=yes
   2846 	fi
   2847       done
   2848       IFS="$lt_save_ifs"
   2849       ;;
   2850     esac
   2851 else
   2852   enable_static=no
   2853 fi
   2854 
   2855 
   2856 
   2857 
   2858 
   2859 
   2860 
   2861 
   2862 
   2863 case `pwd` in
   2864   *\ * | *\	*)
   2865     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2866 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2867 esac
   2868 
   2869 
   2870 
   2871 macro_version='2.2.6b'
   2872 macro_revision='1.3017'
   2873 
   2874 
   2875 
   2876 
   2877 
   2878 
   2879 
   2880 
   2881 
   2882 
   2883 
   2884 
   2885 
   2886 ltmain="$ac_aux_dir/ltmain.sh"
   2887 
   2888 # Make sure we can run config.sub.
   2889 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2890   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2891 
   2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2893 $as_echo_n "checking build system type... " >&6; }
   2894 if test "${ac_cv_build+set}" = set; then :
   2895   $as_echo_n "(cached) " >&6
   2896 else
   2897   ac_build_alias=$build_alias
   2898 test "x$ac_build_alias" = x &&
   2899   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2900 test "x$ac_build_alias" = x &&
   2901   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   2902 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2903   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2904 
   2905 fi
   2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2907 $as_echo "$ac_cv_build" >&6; }
   2908 case $ac_cv_build in
   2909 *-*-*) ;;
   2910 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   2911 esac
   2912 build=$ac_cv_build
   2913 ac_save_IFS=$IFS; IFS='-'
   2914 set x $ac_cv_build
   2915 shift
   2916 build_cpu=$1
   2917 build_vendor=$2
   2918 shift; shift
   2919 # Remember, the first character of IFS is used to create $*,
   2920 # except with old shells:
   2921 build_os=$*
   2922 IFS=$ac_save_IFS
   2923 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2924 
   2925 
   2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2927 $as_echo_n "checking host system type... " >&6; }
   2928 if test "${ac_cv_host+set}" = set; then :
   2929   $as_echo_n "(cached) " >&6
   2930 else
   2931   if test "x$host_alias" = x; then
   2932   ac_cv_host=$ac_cv_build
   2933 else
   2934   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2935     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2936 fi
   2937 
   2938 fi
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2940 $as_echo "$ac_cv_host" >&6; }
   2941 case $ac_cv_host in
   2942 *-*-*) ;;
   2943 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   2944 esac
   2945 host=$ac_cv_host
   2946 ac_save_IFS=$IFS; IFS='-'
   2947 set x $ac_cv_host
   2948 shift
   2949 host_cpu=$1
   2950 host_vendor=$2
   2951 shift; shift
   2952 # Remember, the first character of IFS is used to create $*,
   2953 # except with old shells:
   2954 host_os=$*
   2955 IFS=$ac_save_IFS
   2956 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2957 
   2958 
   2959 DEPDIR="${am__leading_dot}deps"
   2960 
   2961 ac_config_commands="$ac_config_commands depfiles"
   2962 
   2963 
   2964 am_make=${MAKE-make}
   2965 cat > confinc << 'END'
   2966 am__doit:
   2967 	@echo this is the am__doit target
   2968 .PHONY: am__doit
   2969 END
   2970 # If we don't find an include directive, just comment out the code.
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2972 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2973 am__include="#"
   2974 am__quote=
   2975 _am_result=none
   2976 # First try GNU make style include.
   2977 echo "include confinc" > confmf
   2978 # Ignore all kinds of additional output from `make'.
   2979 case `$am_make -s -f confmf 2> /dev/null` in #(
   2980 *the\ am__doit\ target*)
   2981   am__include=include
   2982   am__quote=
   2983   _am_result=GNU
   2984   ;;
   2985 esac
   2986 # Now try BSD make style include.
   2987 if test "$am__include" = "#"; then
   2988    echo '.include "confinc"' > confmf
   2989    case `$am_make -s -f confmf 2> /dev/null` in #(
   2990    *the\ am__doit\ target*)
   2991      am__include=.include
   2992      am__quote="\""
   2993      _am_result=BSD
   2994      ;;
   2995    esac
   2996 fi
   2997 
   2998 
   2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3000 $as_echo "$_am_result" >&6; }
   3001 rm -f confinc confmf
   3002 
   3003 # Check whether --enable-dependency-tracking was given.
   3004 if test "${enable_dependency_tracking+set}" = set; then :
   3005   enableval=$enable_dependency_tracking;
   3006 fi
   3007 
   3008 if test "x$enable_dependency_tracking" != xno; then
   3009   am_depcomp="$ac_aux_dir/depcomp"
   3010   AMDEPBACKSLASH='\'
   3011 fi
   3012  if test "x$enable_dependency_tracking" != xno; then
   3013   AMDEP_TRUE=
   3014   AMDEP_FALSE='#'
   3015 else
   3016   AMDEP_TRUE='#'
   3017   AMDEP_FALSE=
   3018 fi
   3019 
   3020 
   3021 ac_ext=c
   3022 ac_cpp='$CPP $CPPFLAGS'
   3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3026 if test -n "$ac_tool_prefix"; then
   3027   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3028 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3030 $as_echo_n "checking for $ac_word... " >&6; }
   3031 if test "${ac_cv_prog_CC+set}" = set; then :
   3032   $as_echo_n "(cached) " >&6
   3033 else
   3034   if test -n "$CC"; then
   3035   ac_cv_prog_CC="$CC" # Let the user override the test.
   3036 else
   3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3038 for as_dir in $PATH
   3039 do
   3040   IFS=$as_save_IFS
   3041   test -z "$as_dir" && as_dir=.
   3042     for ac_exec_ext in '' $ac_executable_extensions; do
   3043   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3044     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3046     break 2
   3047   fi
   3048 done
   3049   done
   3050 IFS=$as_save_IFS
   3051 
   3052 fi
   3053 fi
   3054 CC=$ac_cv_prog_CC
   3055 if test -n "$CC"; then
   3056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3057 $as_echo "$CC" >&6; }
   3058 else
   3059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3060 $as_echo "no" >&6; }
   3061 fi
   3062 
   3063 
   3064 fi
   3065 if test -z "$ac_cv_prog_CC"; then
   3066   ac_ct_CC=$CC
   3067   # Extract the first word of "gcc", so it can be a program name with args.
   3068 set dummy gcc; ac_word=$2
   3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3070 $as_echo_n "checking for $ac_word... " >&6; }
   3071 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3072   $as_echo_n "(cached) " >&6
   3073 else
   3074   if test -n "$ac_ct_CC"; then
   3075   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3076 else
   3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3078 for as_dir in $PATH
   3079 do
   3080   IFS=$as_save_IFS
   3081   test -z "$as_dir" && as_dir=.
   3082     for ac_exec_ext in '' $ac_executable_extensions; do
   3083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3084     ac_cv_prog_ac_ct_CC="gcc"
   3085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3086     break 2
   3087   fi
   3088 done
   3089   done
   3090 IFS=$as_save_IFS
   3091 
   3092 fi
   3093 fi
   3094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3095 if test -n "$ac_ct_CC"; then
   3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3097 $as_echo "$ac_ct_CC" >&6; }
   3098 else
   3099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3100 $as_echo "no" >&6; }
   3101 fi
   3102 
   3103   if test "x$ac_ct_CC" = x; then
   3104     CC=""
   3105   else
   3106     case $cross_compiling:$ac_tool_warned in
   3107 yes:)
   3108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3110 ac_tool_warned=yes ;;
   3111 esac
   3112     CC=$ac_ct_CC
   3113   fi
   3114 else
   3115   CC="$ac_cv_prog_CC"
   3116 fi
   3117 
   3118 if test -z "$CC"; then
   3119           if test -n "$ac_tool_prefix"; then
   3120     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3121 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3123 $as_echo_n "checking for $ac_word... " >&6; }
   3124 if test "${ac_cv_prog_CC+set}" = set; then :
   3125   $as_echo_n "(cached) " >&6
   3126 else
   3127   if test -n "$CC"; then
   3128   ac_cv_prog_CC="$CC" # Let the user override the test.
   3129 else
   3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3131 for as_dir in $PATH
   3132 do
   3133   IFS=$as_save_IFS
   3134   test -z "$as_dir" && as_dir=.
   3135     for ac_exec_ext in '' $ac_executable_extensions; do
   3136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3137     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3139     break 2
   3140   fi
   3141 done
   3142   done
   3143 IFS=$as_save_IFS
   3144 
   3145 fi
   3146 fi
   3147 CC=$ac_cv_prog_CC
   3148 if test -n "$CC"; then
   3149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3150 $as_echo "$CC" >&6; }
   3151 else
   3152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3153 $as_echo "no" >&6; }
   3154 fi
   3155 
   3156 
   3157   fi
   3158 fi
   3159 if test -z "$CC"; then
   3160   # Extract the first word of "cc", so it can be a program name with args.
   3161 set dummy cc; ac_word=$2
   3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3163 $as_echo_n "checking for $ac_word... " >&6; }
   3164 if test "${ac_cv_prog_CC+set}" = set; then :
   3165   $as_echo_n "(cached) " >&6
   3166 else
   3167   if test -n "$CC"; then
   3168   ac_cv_prog_CC="$CC" # Let the user override the test.
   3169 else
   3170   ac_prog_rejected=no
   3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3172 for as_dir in $PATH
   3173 do
   3174   IFS=$as_save_IFS
   3175   test -z "$as_dir" && as_dir=.
   3176     for ac_exec_ext in '' $ac_executable_extensions; do
   3177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3178     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3179        ac_prog_rejected=yes
   3180        continue
   3181      fi
   3182     ac_cv_prog_CC="cc"
   3183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3184     break 2
   3185   fi
   3186 done
   3187   done
   3188 IFS=$as_save_IFS
   3189 
   3190 if test $ac_prog_rejected = yes; then
   3191   # We found a bogon in the path, so make sure we never use it.
   3192   set dummy $ac_cv_prog_CC
   3193   shift
   3194   if test $# != 0; then
   3195     # We chose a different compiler from the bogus one.
   3196     # However, it has the same basename, so the bogon will be chosen
   3197     # first if we set CC to just the basename; use the full file name.
   3198     shift
   3199     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3200   fi
   3201 fi
   3202 fi
   3203 fi
   3204 CC=$ac_cv_prog_CC
   3205 if test -n "$CC"; then
   3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3207 $as_echo "$CC" >&6; }
   3208 else
   3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3210 $as_echo "no" >&6; }
   3211 fi
   3212 
   3213 
   3214 fi
   3215 if test -z "$CC"; then
   3216   if test -n "$ac_tool_prefix"; then
   3217   for ac_prog in cl.exe
   3218   do
   3219     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3222 $as_echo_n "checking for $ac_word... " >&6; }
   3223 if test "${ac_cv_prog_CC+set}" = set; then :
   3224   $as_echo_n "(cached) " >&6
   3225 else
   3226   if test -n "$CC"; then
   3227   ac_cv_prog_CC="$CC" # Let the user override the test.
   3228 else
   3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3230 for as_dir in $PATH
   3231 do
   3232   IFS=$as_save_IFS
   3233   test -z "$as_dir" && as_dir=.
   3234     for ac_exec_ext in '' $ac_executable_extensions; do
   3235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3236     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3238     break 2
   3239   fi
   3240 done
   3241   done
   3242 IFS=$as_save_IFS
   3243 
   3244 fi
   3245 fi
   3246 CC=$ac_cv_prog_CC
   3247 if test -n "$CC"; then
   3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3249 $as_echo "$CC" >&6; }
   3250 else
   3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3252 $as_echo "no" >&6; }
   3253 fi
   3254 
   3255 
   3256     test -n "$CC" && break
   3257   done
   3258 fi
   3259 if test -z "$CC"; then
   3260   ac_ct_CC=$CC
   3261   for ac_prog in cl.exe
   3262 do
   3263   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3264 set dummy $ac_prog; ac_word=$2
   3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3266 $as_echo_n "checking for $ac_word... " >&6; }
   3267 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3268   $as_echo_n "(cached) " >&6
   3269 else
   3270   if test -n "$ac_ct_CC"; then
   3271   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3272 else
   3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3274 for as_dir in $PATH
   3275 do
   3276   IFS=$as_save_IFS
   3277   test -z "$as_dir" && as_dir=.
   3278     for ac_exec_ext in '' $ac_executable_extensions; do
   3279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3280     ac_cv_prog_ac_ct_CC="$ac_prog"
   3281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3282     break 2
   3283   fi
   3284 done
   3285   done
   3286 IFS=$as_save_IFS
   3287 
   3288 fi
   3289 fi
   3290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3291 if test -n "$ac_ct_CC"; then
   3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3293 $as_echo "$ac_ct_CC" >&6; }
   3294 else
   3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3296 $as_echo "no" >&6; }
   3297 fi
   3298 
   3299 
   3300   test -n "$ac_ct_CC" && break
   3301 done
   3302 
   3303   if test "x$ac_ct_CC" = x; then
   3304     CC=""
   3305   else
   3306     case $cross_compiling:$ac_tool_warned in
   3307 yes:)
   3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3310 ac_tool_warned=yes ;;
   3311 esac
   3312     CC=$ac_ct_CC
   3313   fi
   3314 fi
   3315 
   3316 fi
   3317 
   3318 
   3319 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3321 as_fn_error "no acceptable C compiler found in \$PATH
   3322 See \`config.log' for more details." "$LINENO" 5; }
   3323 
   3324 # Provide some information about the compiler.
   3325 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3326 set X $ac_compile
   3327 ac_compiler=$2
   3328 for ac_option in --version -v -V -qversion; do
   3329   { { ac_try="$ac_compiler $ac_option >&5"
   3330 case "(($ac_try" in
   3331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3332   *) ac_try_echo=$ac_try;;
   3333 esac
   3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3335 $as_echo "$ac_try_echo"; } >&5
   3336   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3337   ac_status=$?
   3338   if test -s conftest.err; then
   3339     sed '10a\
   3340 ... rest of stderr output deleted ...
   3341          10q' conftest.err >conftest.er1
   3342     cat conftest.er1 >&5
   3343   fi
   3344   rm -f conftest.er1 conftest.err
   3345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3346   test $ac_status = 0; }
   3347 done
   3348 
   3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3350 /* end confdefs.h.  */
   3351 
   3352 int
   3353 main ()
   3354 {
   3355 
   3356   ;
   3357   return 0;
   3358 }
   3359 _ACEOF
   3360 ac_clean_files_save=$ac_clean_files
   3361 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3362 # Try to create an executable without -o first, disregard a.out.
   3363 # It will help us diagnose broken compilers, and finding out an intuition
   3364 # of exeext.
   3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3366 $as_echo_n "checking whether the C compiler works... " >&6; }
   3367 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3368 
   3369 # The possible output files:
   3370 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3371 
   3372 ac_rmfiles=
   3373 for ac_file in $ac_files
   3374 do
   3375   case $ac_file in
   3376     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3377     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3378   esac
   3379 done
   3380 rm -f $ac_rmfiles
   3381 
   3382 if { { ac_try="$ac_link_default"
   3383 case "(($ac_try" in
   3384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3385   *) ac_try_echo=$ac_try;;
   3386 esac
   3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3388 $as_echo "$ac_try_echo"; } >&5
   3389   (eval "$ac_link_default") 2>&5
   3390   ac_status=$?
   3391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3392   test $ac_status = 0; }; then :
   3393   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3394 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3395 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3396 # so that the user can short-circuit this test for compilers unknown to
   3397 # Autoconf.
   3398 for ac_file in $ac_files ''
   3399 do
   3400   test -f "$ac_file" || continue
   3401   case $ac_file in
   3402     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3403 	;;
   3404     [ab].out )
   3405 	# We found the default executable, but exeext='' is most
   3406 	# certainly right.
   3407 	break;;
   3408     *.* )
   3409 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3410 	then :; else
   3411 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3412 	fi
   3413 	# We set ac_cv_exeext here because the later test for it is not
   3414 	# safe: cross compilers may not add the suffix if given an `-o'
   3415 	# argument, so we may need to know it at that point already.
   3416 	# Even if this section looks crufty: it has the advantage of
   3417 	# actually working.
   3418 	break;;
   3419     * )
   3420 	break;;
   3421   esac
   3422 done
   3423 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3424 
   3425 else
   3426   ac_file=''
   3427 fi
   3428 if test -z "$ac_file"; then :
   3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3430 $as_echo "no" >&6; }
   3431 $as_echo "$as_me: failed program was:" >&5
   3432 sed 's/^/| /' conftest.$ac_ext >&5
   3433 
   3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3436 { as_fn_set_status 77
   3437 as_fn_error "C compiler cannot create executables
   3438 See \`config.log' for more details." "$LINENO" 5; }; }
   3439 else
   3440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3441 $as_echo "yes" >&6; }
   3442 fi
   3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3444 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3446 $as_echo "$ac_file" >&6; }
   3447 ac_exeext=$ac_cv_exeext
   3448 
   3449 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3450 ac_clean_files=$ac_clean_files_save
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3452 $as_echo_n "checking for suffix of executables... " >&6; }
   3453 if { { ac_try="$ac_link"
   3454 case "(($ac_try" in
   3455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3456   *) ac_try_echo=$ac_try;;
   3457 esac
   3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3459 $as_echo "$ac_try_echo"; } >&5
   3460   (eval "$ac_link") 2>&5
   3461   ac_status=$?
   3462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3463   test $ac_status = 0; }; then :
   3464   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3465 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3466 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3467 # `rm'.
   3468 for ac_file in conftest.exe conftest conftest.*; do
   3469   test -f "$ac_file" || continue
   3470   case $ac_file in
   3471     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3472     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3473 	  break;;
   3474     * ) break;;
   3475   esac
   3476 done
   3477 else
   3478   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3480 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3481 See \`config.log' for more details." "$LINENO" 5; }
   3482 fi
   3483 rm -f conftest conftest$ac_cv_exeext
   3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3485 $as_echo "$ac_cv_exeext" >&6; }
   3486 
   3487 rm -f conftest.$ac_ext
   3488 EXEEXT=$ac_cv_exeext
   3489 ac_exeext=$EXEEXT
   3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3491 /* end confdefs.h.  */
   3492 #include <stdio.h>
   3493 int
   3494 main ()
   3495 {
   3496 FILE *f = fopen ("conftest.out", "w");
   3497  return ferror (f) || fclose (f) != 0;
   3498 
   3499   ;
   3500   return 0;
   3501 }
   3502 _ACEOF
   3503 ac_clean_files="$ac_clean_files conftest.out"
   3504 # Check that the compiler produces executables we can run.  If not, either
   3505 # the compiler is broken, or we cross compile.
   3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3507 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3508 if test "$cross_compiling" != yes; then
   3509   { { ac_try="$ac_link"
   3510 case "(($ac_try" in
   3511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3512   *) ac_try_echo=$ac_try;;
   3513 esac
   3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3515 $as_echo "$ac_try_echo"; } >&5
   3516   (eval "$ac_link") 2>&5
   3517   ac_status=$?
   3518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3519   test $ac_status = 0; }
   3520   if { ac_try='./conftest$ac_cv_exeext'
   3521   { { case "(($ac_try" in
   3522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3523   *) ac_try_echo=$ac_try;;
   3524 esac
   3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3526 $as_echo "$ac_try_echo"; } >&5
   3527   (eval "$ac_try") 2>&5
   3528   ac_status=$?
   3529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3530   test $ac_status = 0; }; }; then
   3531     cross_compiling=no
   3532   else
   3533     if test "$cross_compiling" = maybe; then
   3534 	cross_compiling=yes
   3535     else
   3536 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3538 as_fn_error "cannot run C compiled programs.
   3539 If you meant to cross compile, use \`--host'.
   3540 See \`config.log' for more details." "$LINENO" 5; }
   3541     fi
   3542   fi
   3543 fi
   3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3545 $as_echo "$cross_compiling" >&6; }
   3546 
   3547 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3548 ac_clean_files=$ac_clean_files_save
   3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3550 $as_echo_n "checking for suffix of object files... " >&6; }
   3551 if test "${ac_cv_objext+set}" = set; then :
   3552   $as_echo_n "(cached) " >&6
   3553 else
   3554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3555 /* end confdefs.h.  */
   3556 
   3557 int
   3558 main ()
   3559 {
   3560 
   3561   ;
   3562   return 0;
   3563 }
   3564 _ACEOF
   3565 rm -f conftest.o conftest.obj
   3566 if { { ac_try="$ac_compile"
   3567 case "(($ac_try" in
   3568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3569   *) ac_try_echo=$ac_try;;
   3570 esac
   3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3572 $as_echo "$ac_try_echo"; } >&5
   3573   (eval "$ac_compile") 2>&5
   3574   ac_status=$?
   3575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3576   test $ac_status = 0; }; then :
   3577   for ac_file in conftest.o conftest.obj conftest.*; do
   3578   test -f "$ac_file" || continue;
   3579   case $ac_file in
   3580     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3581     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3582        break;;
   3583   esac
   3584 done
   3585 else
   3586   $as_echo "$as_me: failed program was:" >&5
   3587 sed 's/^/| /' conftest.$ac_ext >&5
   3588 
   3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3591 as_fn_error "cannot compute suffix of object files: cannot compile
   3592 See \`config.log' for more details." "$LINENO" 5; }
   3593 fi
   3594 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3595 fi
   3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3597 $as_echo "$ac_cv_objext" >&6; }
   3598 OBJEXT=$ac_cv_objext
   3599 ac_objext=$OBJEXT
   3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3601 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3602 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3603   $as_echo_n "(cached) " >&6
   3604 else
   3605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3606 /* end confdefs.h.  */
   3607 
   3608 int
   3609 main ()
   3610 {
   3611 #ifndef __GNUC__
   3612        choke me
   3613 #endif
   3614 
   3615   ;
   3616   return 0;
   3617 }
   3618 _ACEOF
   3619 if ac_fn_c_try_compile "$LINENO"; then :
   3620   ac_compiler_gnu=yes
   3621 else
   3622   ac_compiler_gnu=no
   3623 fi
   3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3626 
   3627 fi
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3629 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3630 if test $ac_compiler_gnu = yes; then
   3631   GCC=yes
   3632 else
   3633   GCC=
   3634 fi
   3635 ac_test_CFLAGS=${CFLAGS+set}
   3636 ac_save_CFLAGS=$CFLAGS
   3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3638 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3639 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3640   $as_echo_n "(cached) " >&6
   3641 else
   3642   ac_save_c_werror_flag=$ac_c_werror_flag
   3643    ac_c_werror_flag=yes
   3644    ac_cv_prog_cc_g=no
   3645    CFLAGS="-g"
   3646    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3647 /* end confdefs.h.  */
   3648 
   3649 int
   3650 main ()
   3651 {
   3652 
   3653   ;
   3654   return 0;
   3655 }
   3656 _ACEOF
   3657 if ac_fn_c_try_compile "$LINENO"; then :
   3658   ac_cv_prog_cc_g=yes
   3659 else
   3660   CFLAGS=""
   3661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3662 /* end confdefs.h.  */
   3663 
   3664 int
   3665 main ()
   3666 {
   3667 
   3668   ;
   3669   return 0;
   3670 }
   3671 _ACEOF
   3672 if ac_fn_c_try_compile "$LINENO"; then :
   3673 
   3674 else
   3675   ac_c_werror_flag=$ac_save_c_werror_flag
   3676 	 CFLAGS="-g"
   3677 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3678 /* end confdefs.h.  */
   3679 
   3680 int
   3681 main ()
   3682 {
   3683 
   3684   ;
   3685   return 0;
   3686 }
   3687 _ACEOF
   3688 if ac_fn_c_try_compile "$LINENO"; then :
   3689   ac_cv_prog_cc_g=yes
   3690 fi
   3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3692 fi
   3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3694 fi
   3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3696    ac_c_werror_flag=$ac_save_c_werror_flag
   3697 fi
   3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3699 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3700 if test "$ac_test_CFLAGS" = set; then
   3701   CFLAGS=$ac_save_CFLAGS
   3702 elif test $ac_cv_prog_cc_g = yes; then
   3703   if test "$GCC" = yes; then
   3704     CFLAGS="-g -O2"
   3705   else
   3706     CFLAGS="-g"
   3707   fi
   3708 else
   3709   if test "$GCC" = yes; then
   3710     CFLAGS="-O2"
   3711   else
   3712     CFLAGS=
   3713   fi
   3714 fi
   3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3716 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3717 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3718   $as_echo_n "(cached) " >&6
   3719 else
   3720   ac_cv_prog_cc_c89=no
   3721 ac_save_CC=$CC
   3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3723 /* end confdefs.h.  */
   3724 #include <stdarg.h>
   3725 #include <stdio.h>
   3726 #include <sys/types.h>
   3727 #include <sys/stat.h>
   3728 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3729 struct buf { int x; };
   3730 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3731 static char *e (p, i)
   3732      char **p;
   3733      int i;
   3734 {
   3735   return p[i];
   3736 }
   3737 static char *f (char * (*g) (char **, int), char **p, ...)
   3738 {
   3739   char *s;
   3740   va_list v;
   3741   va_start (v,p);
   3742   s = g (p, va_arg (v,int));
   3743   va_end (v);
   3744   return s;
   3745 }
   3746 
   3747 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3748    function prototypes and stuff, but not '\xHH' hex character constants.
   3749    These don't provoke an error unfortunately, instead are silently treated
   3750    as 'x'.  The following induces an error, until -std is added to get
   3751    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3752    array size at least.  It's necessary to write '\x00'==0 to get something
   3753    that's true only with -std.  */
   3754 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3755 
   3756 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3757    inside strings and character constants.  */
   3758 #define FOO(x) 'x'
   3759 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3760 
   3761 int test (int i, double x);
   3762 struct s1 {int (*f) (int a);};
   3763 struct s2 {int (*f) (double a);};
   3764 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3765 int argc;
   3766 char **argv;
   3767 int
   3768 main ()
   3769 {
   3770 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3771   ;
   3772   return 0;
   3773 }
   3774 _ACEOF
   3775 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3776 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3777 do
   3778   CC="$ac_save_CC $ac_arg"
   3779   if ac_fn_c_try_compile "$LINENO"; then :
   3780   ac_cv_prog_cc_c89=$ac_arg
   3781 fi
   3782 rm -f core conftest.err conftest.$ac_objext
   3783   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3784 done
   3785 rm -f conftest.$ac_ext
   3786 CC=$ac_save_CC
   3787 
   3788 fi
   3789 # AC_CACHE_VAL
   3790 case "x$ac_cv_prog_cc_c89" in
   3791   x)
   3792     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3793 $as_echo "none needed" >&6; } ;;
   3794   xno)
   3795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3796 $as_echo "unsupported" >&6; } ;;
   3797   *)
   3798     CC="$CC $ac_cv_prog_cc_c89"
   3799     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3800 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3801 esac
   3802 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3803 
   3804 fi
   3805 
   3806 ac_ext=c
   3807 ac_cpp='$CPP $CPPFLAGS'
   3808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3811 
   3812 depcc="$CC"   am_compiler_list=
   3813 
   3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3815 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3816 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   3817   $as_echo_n "(cached) " >&6
   3818 else
   3819   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3820   # We make a subdir and do the tests there.  Otherwise we can end up
   3821   # making bogus files that we don't know about and never remove.  For
   3822   # instance it was reported that on HP-UX the gcc test will end up
   3823   # making a dummy file named `D' -- because `-MD' means `put the output
   3824   # in D'.
   3825   mkdir conftest.dir
   3826   # Copy depcomp to subdir because otherwise we won't find it if we're
   3827   # using a relative directory.
   3828   cp "$am_depcomp" conftest.dir
   3829   cd conftest.dir
   3830   # We will build objects and dependencies in a subdirectory because
   3831   # it helps to detect inapplicable dependency modes.  For instance
   3832   # both Tru64's cc and ICC support -MD to output dependencies as a
   3833   # side effect of compilation, but ICC will put the dependencies in
   3834   # the current directory while Tru64 will put them in the object
   3835   # directory.
   3836   mkdir sub
   3837 
   3838   am_cv_CC_dependencies_compiler_type=none
   3839   if test "$am_compiler_list" = ""; then
   3840      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3841   fi
   3842   am__universal=false
   3843   case " $depcc " in #(
   3844      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3845      esac
   3846 
   3847   for depmode in $am_compiler_list; do
   3848     # Setup a source with many dependencies, because some compilers
   3849     # like to wrap large dependency lists on column 80 (with \), and
   3850     # we should not choose a depcomp mode which is confused by this.
   3851     #
   3852     # We need to recreate these files for each test, as the compiler may
   3853     # overwrite some of them when testing with obscure command lines.
   3854     # This happens at least with the AIX C compiler.
   3855     : > sub/conftest.c
   3856     for i in 1 2 3 4 5 6; do
   3857       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3858       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3859       # Solaris 8's {/usr,}/bin/sh.
   3860       touch sub/conftst$i.h
   3861     done
   3862     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3863 
   3864     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3865     # mode.  It turns out that the SunPro C++ compiler does not properly
   3866     # handle `-M -o', and we need to detect this.  Also, some Intel
   3867     # versions had trouble with output in subdirs
   3868     am__obj=sub/conftest.${OBJEXT-o}
   3869     am__minus_obj="-o $am__obj"
   3870     case $depmode in
   3871     gcc)
   3872       # This depmode causes a compiler race in universal mode.
   3873       test "$am__universal" = false || continue
   3874       ;;
   3875     nosideeffect)
   3876       # after this tag, mechanisms are not by side-effect, so they'll
   3877       # only be used when explicitly requested
   3878       if test "x$enable_dependency_tracking" = xyes; then
   3879 	continue
   3880       else
   3881 	break
   3882       fi
   3883       ;;
   3884     msvisualcpp | msvcmsys)
   3885       # This compiler won't grok `-c -o', but also, the minuso test has
   3886       # not run yet.  These depmodes are late enough in the game, and
   3887       # so weak that their functioning should not be impacted.
   3888       am__obj=conftest.${OBJEXT-o}
   3889       am__minus_obj=
   3890       ;;
   3891     none) break ;;
   3892     esac
   3893     if depmode=$depmode \
   3894        source=sub/conftest.c object=$am__obj \
   3895        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3896        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3897          >/dev/null 2>conftest.err &&
   3898        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3899        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3900        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3901        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3902       # icc doesn't choke on unknown options, it will just issue warnings
   3903       # or remarks (even with -Werror).  So we grep stderr for any message
   3904       # that says an option was ignored or not supported.
   3905       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3906       #   icc: Command line warning: ignoring option '-M'; no argument required
   3907       # The diagnosis changed in icc 8.0:
   3908       #   icc: Command line remark: option '-MP' not supported
   3909       if (grep 'ignoring option' conftest.err ||
   3910           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3911         am_cv_CC_dependencies_compiler_type=$depmode
   3912         break
   3913       fi
   3914     fi
   3915   done
   3916 
   3917   cd ..
   3918   rm -rf conftest.dir
   3919 else
   3920   am_cv_CC_dependencies_compiler_type=none
   3921 fi
   3922 
   3923 fi
   3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3925 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3926 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3927 
   3928  if
   3929   test "x$enable_dependency_tracking" != xno \
   3930   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3931   am__fastdepCC_TRUE=
   3932   am__fastdepCC_FALSE='#'
   3933 else
   3934   am__fastdepCC_TRUE='#'
   3935   am__fastdepCC_FALSE=
   3936 fi
   3937 
   3938 
   3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3940 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3941 if test "${ac_cv_path_SED+set}" = set; then :
   3942   $as_echo_n "(cached) " >&6
   3943 else
   3944             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3945      for ac_i in 1 2 3 4 5 6 7; do
   3946        ac_script="$ac_script$as_nl$ac_script"
   3947      done
   3948      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3949      { ac_script=; unset ac_script;}
   3950      if test -z "$SED"; then
   3951   ac_path_SED_found=false
   3952   # Loop through the user's path and test for each of PROGNAME-LIST
   3953   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3954 for as_dir in $PATH
   3955 do
   3956   IFS=$as_save_IFS
   3957   test -z "$as_dir" && as_dir=.
   3958     for ac_prog in sed gsed; do
   3959     for ac_exec_ext in '' $ac_executable_extensions; do
   3960       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3961       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3962 # Check for GNU ac_path_SED and select it if it is found.
   3963   # Check for GNU $ac_path_SED
   3964 case `"$ac_path_SED" --version 2>&1` in
   3965 *GNU*)
   3966   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3967 *)
   3968   ac_count=0
   3969   $as_echo_n 0123456789 >"conftest.in"
   3970   while :
   3971   do
   3972     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3973     mv "conftest.tmp" "conftest.in"
   3974     cp "conftest.in" "conftest.nl"
   3975     $as_echo '' >> "conftest.nl"
   3976     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3977     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3978     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3979     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3980       # Best one so far, save it but keep looking for a better one
   3981       ac_cv_path_SED="$ac_path_SED"
   3982       ac_path_SED_max=$ac_count
   3983     fi
   3984     # 10*(2^10) chars as input seems more than enough
   3985     test $ac_count -gt 10 && break
   3986   done
   3987   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3988 esac
   3989 
   3990       $ac_path_SED_found && break 3
   3991     done
   3992   done
   3993   done
   3994 IFS=$as_save_IFS
   3995   if test -z "$ac_cv_path_SED"; then
   3996     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3997   fi
   3998 else
   3999   ac_cv_path_SED=$SED
   4000 fi
   4001 
   4002 fi
   4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4004 $as_echo "$ac_cv_path_SED" >&6; }
   4005  SED="$ac_cv_path_SED"
   4006   rm -f conftest.sed
   4007 
   4008 test -z "$SED" && SED=sed
   4009 Xsed="$SED -e 1s/^X//"
   4010 
   4011 
   4012 
   4013 
   4014 
   4015 
   4016 
   4017 
   4018 
   4019 
   4020 
   4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4022 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4023 if test "${ac_cv_path_GREP+set}" = set; then :
   4024   $as_echo_n "(cached) " >&6
   4025 else
   4026   if test -z "$GREP"; then
   4027   ac_path_GREP_found=false
   4028   # Loop through the user's path and test for each of PROGNAME-LIST
   4029   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4030 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4031 do
   4032   IFS=$as_save_IFS
   4033   test -z "$as_dir" && as_dir=.
   4034     for ac_prog in grep ggrep; do
   4035     for ac_exec_ext in '' $ac_executable_extensions; do
   4036       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4037       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4038 # Check for GNU ac_path_GREP and select it if it is found.
   4039   # Check for GNU $ac_path_GREP
   4040 case `"$ac_path_GREP" --version 2>&1` in
   4041 *GNU*)
   4042   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4043 *)
   4044   ac_count=0
   4045   $as_echo_n 0123456789 >"conftest.in"
   4046   while :
   4047   do
   4048     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4049     mv "conftest.tmp" "conftest.in"
   4050     cp "conftest.in" "conftest.nl"
   4051     $as_echo 'GREP' >> "conftest.nl"
   4052     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4053     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4054     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4055     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4056       # Best one so far, save it but keep looking for a better one
   4057       ac_cv_path_GREP="$ac_path_GREP"
   4058       ac_path_GREP_max=$ac_count
   4059     fi
   4060     # 10*(2^10) chars as input seems more than enough
   4061     test $ac_count -gt 10 && break
   4062   done
   4063   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4064 esac
   4065 
   4066       $ac_path_GREP_found && break 3
   4067     done
   4068   done
   4069   done
   4070 IFS=$as_save_IFS
   4071   if test -z "$ac_cv_path_GREP"; then
   4072     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4073   fi
   4074 else
   4075   ac_cv_path_GREP=$GREP
   4076 fi
   4077 
   4078 fi
   4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4080 $as_echo "$ac_cv_path_GREP" >&6; }
   4081  GREP="$ac_cv_path_GREP"
   4082 
   4083 
   4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4085 $as_echo_n "checking for egrep... " >&6; }
   4086 if test "${ac_cv_path_EGREP+set}" = set; then :
   4087   $as_echo_n "(cached) " >&6
   4088 else
   4089   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4090    then ac_cv_path_EGREP="$GREP -E"
   4091    else
   4092      if test -z "$EGREP"; then
   4093   ac_path_EGREP_found=false
   4094   # Loop through the user's path and test for each of PROGNAME-LIST
   4095   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4096 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4097 do
   4098   IFS=$as_save_IFS
   4099   test -z "$as_dir" && as_dir=.
   4100     for ac_prog in egrep; do
   4101     for ac_exec_ext in '' $ac_executable_extensions; do
   4102       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4103       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4104 # Check for GNU ac_path_EGREP and select it if it is found.
   4105   # Check for GNU $ac_path_EGREP
   4106 case `"$ac_path_EGREP" --version 2>&1` in
   4107 *GNU*)
   4108   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4109 *)
   4110   ac_count=0
   4111   $as_echo_n 0123456789 >"conftest.in"
   4112   while :
   4113   do
   4114     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4115     mv "conftest.tmp" "conftest.in"
   4116     cp "conftest.in" "conftest.nl"
   4117     $as_echo 'EGREP' >> "conftest.nl"
   4118     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4119     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4120     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4121     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4122       # Best one so far, save it but keep looking for a better one
   4123       ac_cv_path_EGREP="$ac_path_EGREP"
   4124       ac_path_EGREP_max=$ac_count
   4125     fi
   4126     # 10*(2^10) chars as input seems more than enough
   4127     test $ac_count -gt 10 && break
   4128   done
   4129   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4130 esac
   4131 
   4132       $ac_path_EGREP_found && break 3
   4133     done
   4134   done
   4135   done
   4136 IFS=$as_save_IFS
   4137   if test -z "$ac_cv_path_EGREP"; then
   4138     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4139   fi
   4140 else
   4141   ac_cv_path_EGREP=$EGREP
   4142 fi
   4143 
   4144    fi
   4145 fi
   4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4147 $as_echo "$ac_cv_path_EGREP" >&6; }
   4148  EGREP="$ac_cv_path_EGREP"
   4149 
   4150 
   4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4152 $as_echo_n "checking for fgrep... " >&6; }
   4153 if test "${ac_cv_path_FGREP+set}" = set; then :
   4154   $as_echo_n "(cached) " >&6
   4155 else
   4156   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4157    then ac_cv_path_FGREP="$GREP -F"
   4158    else
   4159      if test -z "$FGREP"; then
   4160   ac_path_FGREP_found=false
   4161   # Loop through the user's path and test for each of PROGNAME-LIST
   4162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4163 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4164 do
   4165   IFS=$as_save_IFS
   4166   test -z "$as_dir" && as_dir=.
   4167     for ac_prog in fgrep; do
   4168     for ac_exec_ext in '' $ac_executable_extensions; do
   4169       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4170       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4171 # Check for GNU ac_path_FGREP and select it if it is found.
   4172   # Check for GNU $ac_path_FGREP
   4173 case `"$ac_path_FGREP" --version 2>&1` in
   4174 *GNU*)
   4175   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4176 *)
   4177   ac_count=0
   4178   $as_echo_n 0123456789 >"conftest.in"
   4179   while :
   4180   do
   4181     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4182     mv "conftest.tmp" "conftest.in"
   4183     cp "conftest.in" "conftest.nl"
   4184     $as_echo 'FGREP' >> "conftest.nl"
   4185     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4186     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4187     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4188     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4189       # Best one so far, save it but keep looking for a better one
   4190       ac_cv_path_FGREP="$ac_path_FGREP"
   4191       ac_path_FGREP_max=$ac_count
   4192     fi
   4193     # 10*(2^10) chars as input seems more than enough
   4194     test $ac_count -gt 10 && break
   4195   done
   4196   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4197 esac
   4198 
   4199       $ac_path_FGREP_found && break 3
   4200     done
   4201   done
   4202   done
   4203 IFS=$as_save_IFS
   4204   if test -z "$ac_cv_path_FGREP"; then
   4205     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4206   fi
   4207 else
   4208   ac_cv_path_FGREP=$FGREP
   4209 fi
   4210 
   4211    fi
   4212 fi
   4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4214 $as_echo "$ac_cv_path_FGREP" >&6; }
   4215  FGREP="$ac_cv_path_FGREP"
   4216 
   4217 
   4218 test -z "$GREP" && GREP=grep
   4219 
   4220 
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 
   4230 
   4231 
   4232 
   4233 
   4234 
   4235 
   4236 
   4237 
   4238 # Check whether --with-gnu-ld was given.
   4239 if test "${with_gnu_ld+set}" = set; then :
   4240   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4241 else
   4242   with_gnu_ld=no
   4243 fi
   4244 
   4245 ac_prog=ld
   4246 if test "$GCC" = yes; then
   4247   # Check if gcc -print-prog-name=ld gives a path.
   4248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4249 $as_echo_n "checking for ld used by $CC... " >&6; }
   4250   case $host in
   4251   *-*-mingw*)
   4252     # gcc leaves a trailing carriage return which upsets mingw
   4253     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4254   *)
   4255     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4256   esac
   4257   case $ac_prog in
   4258     # Accept absolute paths.
   4259     [\\/]* | ?:[\\/]*)
   4260       re_direlt='/[^/][^/]*/\.\./'
   4261       # Canonicalize the pathname of ld
   4262       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4263       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4264 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4265       done
   4266       test -z "$LD" && LD="$ac_prog"
   4267       ;;
   4268   "")
   4269     # If it fails, then pretend we aren't using GCC.
   4270     ac_prog=ld
   4271     ;;
   4272   *)
   4273     # If it is relative, then search for the first ld in PATH.
   4274     with_gnu_ld=unknown
   4275     ;;
   4276   esac
   4277 elif test "$with_gnu_ld" = yes; then
   4278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4279 $as_echo_n "checking for GNU ld... " >&6; }
   4280 else
   4281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4282 $as_echo_n "checking for non-GNU ld... " >&6; }
   4283 fi
   4284 if test "${lt_cv_path_LD+set}" = set; then :
   4285   $as_echo_n "(cached) " >&6
   4286 else
   4287   if test -z "$LD"; then
   4288   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4289   for ac_dir in $PATH; do
   4290     IFS="$lt_save_ifs"
   4291     test -z "$ac_dir" && ac_dir=.
   4292     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4293       lt_cv_path_LD="$ac_dir/$ac_prog"
   4294       # Check to see if the program is GNU ld.  I'd rather use --version,
   4295       # but apparently some variants of GNU ld only accept -v.
   4296       # Break only if it was the GNU/non-GNU ld that we prefer.
   4297       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4298       *GNU* | *'with BFD'*)
   4299 	test "$with_gnu_ld" != no && break
   4300 	;;
   4301       *)
   4302 	test "$with_gnu_ld" != yes && break
   4303 	;;
   4304       esac
   4305     fi
   4306   done
   4307   IFS="$lt_save_ifs"
   4308 else
   4309   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4310 fi
   4311 fi
   4312 
   4313 LD="$lt_cv_path_LD"
   4314 if test -n "$LD"; then
   4315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4316 $as_echo "$LD" >&6; }
   4317 else
   4318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4319 $as_echo "no" >&6; }
   4320 fi
   4321 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4323 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4324 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   4325   $as_echo_n "(cached) " >&6
   4326 else
   4327   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4328 case `$LD -v 2>&1 </dev/null` in
   4329 *GNU* | *'with BFD'*)
   4330   lt_cv_prog_gnu_ld=yes
   4331   ;;
   4332 *)
   4333   lt_cv_prog_gnu_ld=no
   4334   ;;
   4335 esac
   4336 fi
   4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4338 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4339 with_gnu_ld=$lt_cv_prog_gnu_ld
   4340 
   4341 
   4342 
   4343 
   4344 
   4345 
   4346 
   4347 
   4348 
   4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4350 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4351 if test "${lt_cv_path_NM+set}" = set; then :
   4352   $as_echo_n "(cached) " >&6
   4353 else
   4354   if test -n "$NM"; then
   4355   # Let the user override the test.
   4356   lt_cv_path_NM="$NM"
   4357 else
   4358   lt_nm_to_check="${ac_tool_prefix}nm"
   4359   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4360     lt_nm_to_check="$lt_nm_to_check nm"
   4361   fi
   4362   for lt_tmp_nm in $lt_nm_to_check; do
   4363     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4364     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4365       IFS="$lt_save_ifs"
   4366       test -z "$ac_dir" && ac_dir=.
   4367       tmp_nm="$ac_dir/$lt_tmp_nm"
   4368       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4369 	# Check to see if the nm accepts a BSD-compat flag.
   4370 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4371 	#   nm: unknown option "B" ignored
   4372 	# Tru64's nm complains that /dev/null is an invalid object file
   4373 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4374 	*/dev/null* | *'Invalid file or object type'*)
   4375 	  lt_cv_path_NM="$tmp_nm -B"
   4376 	  break
   4377 	  ;;
   4378 	*)
   4379 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4380 	  */dev/null*)
   4381 	    lt_cv_path_NM="$tmp_nm -p"
   4382 	    break
   4383 	    ;;
   4384 	  *)
   4385 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4386 	    continue # so that we can try to find one that supports BSD flags
   4387 	    ;;
   4388 	  esac
   4389 	  ;;
   4390 	esac
   4391       fi
   4392     done
   4393     IFS="$lt_save_ifs"
   4394   done
   4395   : ${lt_cv_path_NM=no}
   4396 fi
   4397 fi
   4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4399 $as_echo "$lt_cv_path_NM" >&6; }
   4400 if test "$lt_cv_path_NM" != "no"; then
   4401   NM="$lt_cv_path_NM"
   4402 else
   4403   # Didn't find any BSD compatible name lister, look for dumpbin.
   4404   if test -n "$ac_tool_prefix"; then
   4405   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4406   do
   4407     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4408 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4410 $as_echo_n "checking for $ac_word... " >&6; }
   4411 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   4412   $as_echo_n "(cached) " >&6
   4413 else
   4414   if test -n "$DUMPBIN"; then
   4415   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4416 else
   4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4418 for as_dir in $PATH
   4419 do
   4420   IFS=$as_save_IFS
   4421   test -z "$as_dir" && as_dir=.
   4422     for ac_exec_ext in '' $ac_executable_extensions; do
   4423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4424     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4426     break 2
   4427   fi
   4428 done
   4429   done
   4430 IFS=$as_save_IFS
   4431 
   4432 fi
   4433 fi
   4434 DUMPBIN=$ac_cv_prog_DUMPBIN
   4435 if test -n "$DUMPBIN"; then
   4436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4437 $as_echo "$DUMPBIN" >&6; }
   4438 else
   4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4440 $as_echo "no" >&6; }
   4441 fi
   4442 
   4443 
   4444     test -n "$DUMPBIN" && break
   4445   done
   4446 fi
   4447 if test -z "$DUMPBIN"; then
   4448   ac_ct_DUMPBIN=$DUMPBIN
   4449   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4450 do
   4451   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4452 set dummy $ac_prog; ac_word=$2
   4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4454 $as_echo_n "checking for $ac_word... " >&6; }
   4455 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   4456   $as_echo_n "(cached) " >&6
   4457 else
   4458   if test -n "$ac_ct_DUMPBIN"; then
   4459   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4460 else
   4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4462 for as_dir in $PATH
   4463 do
   4464   IFS=$as_save_IFS
   4465   test -z "$as_dir" && as_dir=.
   4466     for ac_exec_ext in '' $ac_executable_extensions; do
   4467   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4468     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4470     break 2
   4471   fi
   4472 done
   4473   done
   4474 IFS=$as_save_IFS
   4475 
   4476 fi
   4477 fi
   4478 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4479 if test -n "$ac_ct_DUMPBIN"; then
   4480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4481 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4482 else
   4483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4484 $as_echo "no" >&6; }
   4485 fi
   4486 
   4487 
   4488   test -n "$ac_ct_DUMPBIN" && break
   4489 done
   4490 
   4491   if test "x$ac_ct_DUMPBIN" = x; then
   4492     DUMPBIN=":"
   4493   else
   4494     case $cross_compiling:$ac_tool_warned in
   4495 yes:)
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4498 ac_tool_warned=yes ;;
   4499 esac
   4500     DUMPBIN=$ac_ct_DUMPBIN
   4501   fi
   4502 fi
   4503 
   4504 
   4505   if test "$DUMPBIN" != ":"; then
   4506     NM="$DUMPBIN"
   4507   fi
   4508 fi
   4509 test -z "$NM" && NM=nm
   4510 
   4511 
   4512 
   4513 
   4514 
   4515 
   4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4517 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4518 if test "${lt_cv_nm_interface+set}" = set; then :
   4519   $as_echo_n "(cached) " >&6
   4520 else
   4521   lt_cv_nm_interface="BSD nm"
   4522   echo "int some_variable = 0;" > conftest.$ac_ext
   4523   (eval echo "\"\$as_me:4523: $ac_compile\"" >&5)
   4524   (eval "$ac_compile" 2>conftest.err)
   4525   cat conftest.err >&5
   4526   (eval echo "\"\$as_me:4526: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4527   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4528   cat conftest.err >&5
   4529   (eval echo "\"\$as_me:4529: output\"" >&5)
   4530   cat conftest.out >&5
   4531   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4532     lt_cv_nm_interface="MS dumpbin"
   4533   fi
   4534   rm -f conftest*
   4535 fi
   4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4537 $as_echo "$lt_cv_nm_interface" >&6; }
   4538 
   4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4540 $as_echo_n "checking whether ln -s works... " >&6; }
   4541 LN_S=$as_ln_s
   4542 if test "$LN_S" = "ln -s"; then
   4543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4544 $as_echo "yes" >&6; }
   4545 else
   4546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4547 $as_echo "no, using $LN_S" >&6; }
   4548 fi
   4549 
   4550 # find the maximum length of command line arguments
   4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4552 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4553 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   4554   $as_echo_n "(cached) " >&6
   4555 else
   4556     i=0
   4557   teststring="ABCD"
   4558 
   4559   case $build_os in
   4560   msdosdjgpp*)
   4561     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4562     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4563     # during glob expansion).  Even if it were fixed, the result of this
   4564     # check would be larger than it should be.
   4565     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4566     ;;
   4567 
   4568   gnu*)
   4569     # Under GNU Hurd, this test is not required because there is
   4570     # no limit to the length of command line arguments.
   4571     # Libtool will interpret -1 as no limit whatsoever
   4572     lt_cv_sys_max_cmd_len=-1;
   4573     ;;
   4574 
   4575   cygwin* | mingw* | cegcc*)
   4576     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4577     # about 5 minutes as the teststring grows exponentially.
   4578     # Worse, since 9x/ME are not pre-emptively multitasking,
   4579     # you end up with a "frozen" computer, even though with patience
   4580     # the test eventually succeeds (with a max line length of 256k).
   4581     # Instead, let's just punt: use the minimum linelength reported by
   4582     # all of the supported platforms: 8192 (on NT/2K/XP).
   4583     lt_cv_sys_max_cmd_len=8192;
   4584     ;;
   4585 
   4586   amigaos*)
   4587     # On AmigaOS with pdksh, this test takes hours, literally.
   4588     # So we just punt and use a minimum line length of 8192.
   4589     lt_cv_sys_max_cmd_len=8192;
   4590     ;;
   4591 
   4592   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4593     # This has been around since 386BSD, at least.  Likely further.
   4594     if test -x /sbin/sysctl; then
   4595       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4596     elif test -x /usr/sbin/sysctl; then
   4597       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4598     else
   4599       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4600     fi
   4601     # And add a safety zone
   4602     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4603     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4604     ;;
   4605 
   4606   interix*)
   4607     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4608     lt_cv_sys_max_cmd_len=196608
   4609     ;;
   4610 
   4611   osf*)
   4612     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4613     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4614     # nice to cause kernel panics so lets avoid the loop below.
   4615     # First set a reasonable default.
   4616     lt_cv_sys_max_cmd_len=16384
   4617     #
   4618     if test -x /sbin/sysconfig; then
   4619       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4620         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4621       esac
   4622     fi
   4623     ;;
   4624   sco3.2v5*)
   4625     lt_cv_sys_max_cmd_len=102400
   4626     ;;
   4627   sysv5* | sco5v6* | sysv4.2uw2*)
   4628     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4629     if test -n "$kargmax"; then
   4630       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4631     else
   4632       lt_cv_sys_max_cmd_len=32768
   4633     fi
   4634     ;;
   4635   *)
   4636     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4637     if test -n "$lt_cv_sys_max_cmd_len"; then
   4638       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4639       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4640     else
   4641       # Make teststring a little bigger before we do anything with it.
   4642       # a 1K string should be a reasonable start.
   4643       for i in 1 2 3 4 5 6 7 8 ; do
   4644         teststring=$teststring$teststring
   4645       done
   4646       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4647       # If test is not a shell built-in, we'll probably end up computing a
   4648       # maximum length that is only half of the actual maximum length, but
   4649       # we can't tell.
   4650       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4651 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4652 	      test $i != 17 # 1/2 MB should be enough
   4653       do
   4654         i=`expr $i + 1`
   4655         teststring=$teststring$teststring
   4656       done
   4657       # Only check the string length outside the loop.
   4658       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4659       teststring=
   4660       # Add a significant safety factor because C++ compilers can tack on
   4661       # massive amounts of additional arguments before passing them to the
   4662       # linker.  It appears as though 1/2 is a usable value.
   4663       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4664     fi
   4665     ;;
   4666   esac
   4667 
   4668 fi
   4669 
   4670 if test -n $lt_cv_sys_max_cmd_len ; then
   4671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4672 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4673 else
   4674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4675 $as_echo "none" >&6; }
   4676 fi
   4677 max_cmd_len=$lt_cv_sys_max_cmd_len
   4678 
   4679 
   4680 
   4681 
   4682 
   4683 
   4684 : ${CP="cp -f"}
   4685 : ${MV="mv -f"}
   4686 : ${RM="rm -f"}
   4687 
   4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4689 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4690 # Try some XSI features
   4691 xsi_shell=no
   4692 ( _lt_dummy="a/b/c"
   4693   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4694       = c,a/b,, \
   4695     && eval 'test $(( 1 + 1 )) -eq 2 \
   4696     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4697   && xsi_shell=yes
   4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4699 $as_echo "$xsi_shell" >&6; }
   4700 
   4701 
   4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4703 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4704 lt_shell_append=no
   4705 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4706     >/dev/null 2>&1 \
   4707   && lt_shell_append=yes
   4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4709 $as_echo "$lt_shell_append" >&6; }
   4710 
   4711 
   4712 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4713   lt_unset=unset
   4714 else
   4715   lt_unset=false
   4716 fi
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 # test EBCDIC or ASCII
   4723 case `echo X|tr X '\101'` in
   4724  A) # ASCII based system
   4725     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4726   lt_SP2NL='tr \040 \012'
   4727   lt_NL2SP='tr \015\012 \040\040'
   4728   ;;
   4729  *) # EBCDIC based system
   4730   lt_SP2NL='tr \100 \n'
   4731   lt_NL2SP='tr \r\n \100\100'
   4732   ;;
   4733 esac
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 
   4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4744 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4745 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   4746   $as_echo_n "(cached) " >&6
   4747 else
   4748   lt_cv_ld_reload_flag='-r'
   4749 fi
   4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4751 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4752 reload_flag=$lt_cv_ld_reload_flag
   4753 case $reload_flag in
   4754 "" | " "*) ;;
   4755 *) reload_flag=" $reload_flag" ;;
   4756 esac
   4757 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4758 case $host_os in
   4759   darwin*)
   4760     if test "$GCC" = yes; then
   4761       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4762     else
   4763       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4764     fi
   4765     ;;
   4766 esac
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 if test -n "$ac_tool_prefix"; then
   4777   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4778 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4780 $as_echo_n "checking for $ac_word... " >&6; }
   4781 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   4782   $as_echo_n "(cached) " >&6
   4783 else
   4784   if test -n "$OBJDUMP"; then
   4785   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4786 else
   4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4788 for as_dir in $PATH
   4789 do
   4790   IFS=$as_save_IFS
   4791   test -z "$as_dir" && as_dir=.
   4792     for ac_exec_ext in '' $ac_executable_extensions; do
   4793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4794     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4796     break 2
   4797   fi
   4798 done
   4799   done
   4800 IFS=$as_save_IFS
   4801 
   4802 fi
   4803 fi
   4804 OBJDUMP=$ac_cv_prog_OBJDUMP
   4805 if test -n "$OBJDUMP"; then
   4806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4807 $as_echo "$OBJDUMP" >&6; }
   4808 else
   4809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4810 $as_echo "no" >&6; }
   4811 fi
   4812 
   4813 
   4814 fi
   4815 if test -z "$ac_cv_prog_OBJDUMP"; then
   4816   ac_ct_OBJDUMP=$OBJDUMP
   4817   # Extract the first word of "objdump", so it can be a program name with args.
   4818 set dummy objdump; ac_word=$2
   4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4820 $as_echo_n "checking for $ac_word... " >&6; }
   4821 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   4822   $as_echo_n "(cached) " >&6
   4823 else
   4824   if test -n "$ac_ct_OBJDUMP"; then
   4825   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4826 else
   4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4828 for as_dir in $PATH
   4829 do
   4830   IFS=$as_save_IFS
   4831   test -z "$as_dir" && as_dir=.
   4832     for ac_exec_ext in '' $ac_executable_extensions; do
   4833   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4834     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4835     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4836     break 2
   4837   fi
   4838 done
   4839   done
   4840 IFS=$as_save_IFS
   4841 
   4842 fi
   4843 fi
   4844 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4845 if test -n "$ac_ct_OBJDUMP"; then
   4846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4847 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4848 else
   4849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4850 $as_echo "no" >&6; }
   4851 fi
   4852 
   4853   if test "x$ac_ct_OBJDUMP" = x; then
   4854     OBJDUMP="false"
   4855   else
   4856     case $cross_compiling:$ac_tool_warned in
   4857 yes:)
   4858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4860 ac_tool_warned=yes ;;
   4861 esac
   4862     OBJDUMP=$ac_ct_OBJDUMP
   4863   fi
   4864 else
   4865   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4866 fi
   4867 
   4868 test -z "$OBJDUMP" && OBJDUMP=objdump
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4879 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4880 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   4881   $as_echo_n "(cached) " >&6
   4882 else
   4883   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4884 lt_cv_file_magic_test_file=
   4885 lt_cv_deplibs_check_method='unknown'
   4886 # Need to set the preceding variable on all platforms that support
   4887 # interlibrary dependencies.
   4888 # 'none' -- dependencies not supported.
   4889 # `unknown' -- same as none, but documents that we really don't know.
   4890 # 'pass_all' -- all dependencies passed with no checks.
   4891 # 'test_compile' -- check by making test program.
   4892 # 'file_magic [[regex]]' -- check by looking for files in library path
   4893 # which responds to the $file_magic_cmd with a given extended regex.
   4894 # If you have `file' or equivalent on your system and you're not sure
   4895 # whether `pass_all' will *always* work, you probably want this one.
   4896 
   4897 case $host_os in
   4898 aix[4-9]*)
   4899   lt_cv_deplibs_check_method=pass_all
   4900   ;;
   4901 
   4902 beos*)
   4903   lt_cv_deplibs_check_method=pass_all
   4904   ;;
   4905 
   4906 bsdi[45]*)
   4907   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4908   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4909   lt_cv_file_magic_test_file=/shlib/libc.so
   4910   ;;
   4911 
   4912 cygwin*)
   4913   # func_win32_libid is a shell function defined in ltmain.sh
   4914   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4915   lt_cv_file_magic_cmd='func_win32_libid'
   4916   ;;
   4917 
   4918 mingw* | pw32*)
   4919   # Base MSYS/MinGW do not provide the 'file' command needed by
   4920   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4921   # unless we find 'file', for example because we are cross-compiling.
   4922   if ( file / ) >/dev/null 2>&1; then
   4923     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4924     lt_cv_file_magic_cmd='func_win32_libid'
   4925   else
   4926     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4927     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4928   fi
   4929   ;;
   4930 
   4931 cegcc)
   4932   # use the weaker test based on 'objdump'. See mingw*.
   4933   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4934   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4935   ;;
   4936 
   4937 darwin* | rhapsody*)
   4938   lt_cv_deplibs_check_method=pass_all
   4939   ;;
   4940 
   4941 freebsd* | dragonfly*)
   4942   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4943     case $host_cpu in
   4944     i*86 )
   4945       # Not sure whether the presence of OpenBSD here was a mistake.
   4946       # Let's accept both of them until this is cleared up.
   4947       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4948       lt_cv_file_magic_cmd=/usr/bin/file
   4949       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4950       ;;
   4951     esac
   4952   else
   4953     lt_cv_deplibs_check_method=pass_all
   4954   fi
   4955   ;;
   4956 
   4957 gnu*)
   4958   lt_cv_deplibs_check_method=pass_all
   4959   ;;
   4960 
   4961 hpux10.20* | hpux11*)
   4962   lt_cv_file_magic_cmd=/usr/bin/file
   4963   case $host_cpu in
   4964   ia64*)
   4965     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4966     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4967     ;;
   4968   hppa*64*)
   4969     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]'
   4970     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4971     ;;
   4972   *)
   4973     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4974     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4975     ;;
   4976   esac
   4977   ;;
   4978 
   4979 interix[3-9]*)
   4980   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4981   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4982   ;;
   4983 
   4984 irix5* | irix6* | nonstopux*)
   4985   case $LD in
   4986   *-32|*"-32 ") libmagic=32-bit;;
   4987   *-n32|*"-n32 ") libmagic=N32;;
   4988   *-64|*"-64 ") libmagic=64-bit;;
   4989   *) libmagic=never-match;;
   4990   esac
   4991   lt_cv_deplibs_check_method=pass_all
   4992   ;;
   4993 
   4994 # This must be Linux ELF.
   4995 linux* | k*bsd*-gnu)
   4996   lt_cv_deplibs_check_method=pass_all
   4997   ;;
   4998 
   4999 netbsd*)
   5000   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5001     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5002   else
   5003     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5004   fi
   5005   ;;
   5006 
   5007 newos6*)
   5008   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5009   lt_cv_file_magic_cmd=/usr/bin/file
   5010   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5011   ;;
   5012 
   5013 *nto* | *qnx*)
   5014   lt_cv_deplibs_check_method=pass_all
   5015   ;;
   5016 
   5017 openbsd*)
   5018   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5019     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5020   else
   5021     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5022   fi
   5023   ;;
   5024 
   5025 osf3* | osf4* | osf5*)
   5026   lt_cv_deplibs_check_method=pass_all
   5027   ;;
   5028 
   5029 rdos*)
   5030   lt_cv_deplibs_check_method=pass_all
   5031   ;;
   5032 
   5033 solaris*)
   5034   lt_cv_deplibs_check_method=pass_all
   5035   ;;
   5036 
   5037 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5038   lt_cv_deplibs_check_method=pass_all
   5039   ;;
   5040 
   5041 sysv4 | sysv4.3*)
   5042   case $host_vendor in
   5043   motorola)
   5044     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]'
   5045     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5046     ;;
   5047   ncr)
   5048     lt_cv_deplibs_check_method=pass_all
   5049     ;;
   5050   sequent)
   5051     lt_cv_file_magic_cmd='/bin/file'
   5052     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5053     ;;
   5054   sni)
   5055     lt_cv_file_magic_cmd='/bin/file'
   5056     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5057     lt_cv_file_magic_test_file=/lib/libc.so
   5058     ;;
   5059   siemens)
   5060     lt_cv_deplibs_check_method=pass_all
   5061     ;;
   5062   pc)
   5063     lt_cv_deplibs_check_method=pass_all
   5064     ;;
   5065   esac
   5066   ;;
   5067 
   5068 tpf*)
   5069   lt_cv_deplibs_check_method=pass_all
   5070   ;;
   5071 esac
   5072 
   5073 fi
   5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5075 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5076 file_magic_cmd=$lt_cv_file_magic_cmd
   5077 deplibs_check_method=$lt_cv_deplibs_check_method
   5078 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 if test -n "$ac_tool_prefix"; then
   5092   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5093 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5095 $as_echo_n "checking for $ac_word... " >&6; }
   5096 if test "${ac_cv_prog_AR+set}" = set; then :
   5097   $as_echo_n "(cached) " >&6
   5098 else
   5099   if test -n "$AR"; then
   5100   ac_cv_prog_AR="$AR" # Let the user override the test.
   5101 else
   5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5103 for as_dir in $PATH
   5104 do
   5105   IFS=$as_save_IFS
   5106   test -z "$as_dir" && as_dir=.
   5107     for ac_exec_ext in '' $ac_executable_extensions; do
   5108   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5109     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5111     break 2
   5112   fi
   5113 done
   5114   done
   5115 IFS=$as_save_IFS
   5116 
   5117 fi
   5118 fi
   5119 AR=$ac_cv_prog_AR
   5120 if test -n "$AR"; then
   5121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5122 $as_echo "$AR" >&6; }
   5123 else
   5124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5125 $as_echo "no" >&6; }
   5126 fi
   5127 
   5128 
   5129 fi
   5130 if test -z "$ac_cv_prog_AR"; then
   5131   ac_ct_AR=$AR
   5132   # Extract the first word of "ar", so it can be a program name with args.
   5133 set dummy ar; ac_word=$2
   5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5135 $as_echo_n "checking for $ac_word... " >&6; }
   5136 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   5137   $as_echo_n "(cached) " >&6
   5138 else
   5139   if test -n "$ac_ct_AR"; then
   5140   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5141 else
   5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5143 for as_dir in $PATH
   5144 do
   5145   IFS=$as_save_IFS
   5146   test -z "$as_dir" && as_dir=.
   5147     for ac_exec_ext in '' $ac_executable_extensions; do
   5148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5149     ac_cv_prog_ac_ct_AR="ar"
   5150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5151     break 2
   5152   fi
   5153 done
   5154   done
   5155 IFS=$as_save_IFS
   5156 
   5157 fi
   5158 fi
   5159 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5160 if test -n "$ac_ct_AR"; then
   5161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5162 $as_echo "$ac_ct_AR" >&6; }
   5163 else
   5164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5165 $as_echo "no" >&6; }
   5166 fi
   5167 
   5168   if test "x$ac_ct_AR" = x; then
   5169     AR="false"
   5170   else
   5171     case $cross_compiling:$ac_tool_warned in
   5172 yes:)
   5173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5175 ac_tool_warned=yes ;;
   5176 esac
   5177     AR=$ac_ct_AR
   5178   fi
   5179 else
   5180   AR="$ac_cv_prog_AR"
   5181 fi
   5182 
   5183 test -z "$AR" && AR=ar
   5184 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 if test -n "$ac_tool_prefix"; then
   5197   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5198 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5200 $as_echo_n "checking for $ac_word... " >&6; }
   5201 if test "${ac_cv_prog_STRIP+set}" = set; then :
   5202   $as_echo_n "(cached) " >&6
   5203 else
   5204   if test -n "$STRIP"; then
   5205   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5206 else
   5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5208 for as_dir in $PATH
   5209 do
   5210   IFS=$as_save_IFS
   5211   test -z "$as_dir" && as_dir=.
   5212     for ac_exec_ext in '' $ac_executable_extensions; do
   5213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5214     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5216     break 2
   5217   fi
   5218 done
   5219   done
   5220 IFS=$as_save_IFS
   5221 
   5222 fi
   5223 fi
   5224 STRIP=$ac_cv_prog_STRIP
   5225 if test -n "$STRIP"; then
   5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5227 $as_echo "$STRIP" >&6; }
   5228 else
   5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5230 $as_echo "no" >&6; }
   5231 fi
   5232 
   5233 
   5234 fi
   5235 if test -z "$ac_cv_prog_STRIP"; then
   5236   ac_ct_STRIP=$STRIP
   5237   # Extract the first word of "strip", so it can be a program name with args.
   5238 set dummy strip; ac_word=$2
   5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5240 $as_echo_n "checking for $ac_word... " >&6; }
   5241 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   5242   $as_echo_n "(cached) " >&6
   5243 else
   5244   if test -n "$ac_ct_STRIP"; then
   5245   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5246 else
   5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5248 for as_dir in $PATH
   5249 do
   5250   IFS=$as_save_IFS
   5251   test -z "$as_dir" && as_dir=.
   5252     for ac_exec_ext in '' $ac_executable_extensions; do
   5253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5254     ac_cv_prog_ac_ct_STRIP="strip"
   5255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5256     break 2
   5257   fi
   5258 done
   5259   done
   5260 IFS=$as_save_IFS
   5261 
   5262 fi
   5263 fi
   5264 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5265 if test -n "$ac_ct_STRIP"; then
   5266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5267 $as_echo "$ac_ct_STRIP" >&6; }
   5268 else
   5269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5270 $as_echo "no" >&6; }
   5271 fi
   5272 
   5273   if test "x$ac_ct_STRIP" = x; then
   5274     STRIP=":"
   5275   else
   5276     case $cross_compiling:$ac_tool_warned in
   5277 yes:)
   5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5280 ac_tool_warned=yes ;;
   5281 esac
   5282     STRIP=$ac_ct_STRIP
   5283   fi
   5284 else
   5285   STRIP="$ac_cv_prog_STRIP"
   5286 fi
   5287 
   5288 test -z "$STRIP" && STRIP=:
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 if test -n "$ac_tool_prefix"; then
   5296   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5297 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5299 $as_echo_n "checking for $ac_word... " >&6; }
   5300 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   5301   $as_echo_n "(cached) " >&6
   5302 else
   5303   if test -n "$RANLIB"; then
   5304   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5305 else
   5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5307 for as_dir in $PATH
   5308 do
   5309   IFS=$as_save_IFS
   5310   test -z "$as_dir" && as_dir=.
   5311     for ac_exec_ext in '' $ac_executable_extensions; do
   5312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5313     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5315     break 2
   5316   fi
   5317 done
   5318   done
   5319 IFS=$as_save_IFS
   5320 
   5321 fi
   5322 fi
   5323 RANLIB=$ac_cv_prog_RANLIB
   5324 if test -n "$RANLIB"; then
   5325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5326 $as_echo "$RANLIB" >&6; }
   5327 else
   5328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5329 $as_echo "no" >&6; }
   5330 fi
   5331 
   5332 
   5333 fi
   5334 if test -z "$ac_cv_prog_RANLIB"; then
   5335   ac_ct_RANLIB=$RANLIB
   5336   # Extract the first word of "ranlib", so it can be a program name with args.
   5337 set dummy ranlib; ac_word=$2
   5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5339 $as_echo_n "checking for $ac_word... " >&6; }
   5340 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   5341   $as_echo_n "(cached) " >&6
   5342 else
   5343   if test -n "$ac_ct_RANLIB"; then
   5344   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5345 else
   5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5347 for as_dir in $PATH
   5348 do
   5349   IFS=$as_save_IFS
   5350   test -z "$as_dir" && as_dir=.
   5351     for ac_exec_ext in '' $ac_executable_extensions; do
   5352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5353     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5354     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5355     break 2
   5356   fi
   5357 done
   5358   done
   5359 IFS=$as_save_IFS
   5360 
   5361 fi
   5362 fi
   5363 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5364 if test -n "$ac_ct_RANLIB"; then
   5365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5366 $as_echo "$ac_ct_RANLIB" >&6; }
   5367 else
   5368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5369 $as_echo "no" >&6; }
   5370 fi
   5371 
   5372   if test "x$ac_ct_RANLIB" = x; then
   5373     RANLIB=":"
   5374   else
   5375     case $cross_compiling:$ac_tool_warned in
   5376 yes:)
   5377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5379 ac_tool_warned=yes ;;
   5380 esac
   5381     RANLIB=$ac_ct_RANLIB
   5382   fi
   5383 else
   5384   RANLIB="$ac_cv_prog_RANLIB"
   5385 fi
   5386 
   5387 test -z "$RANLIB" && RANLIB=:
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 # Determine commands to create old-style static archives.
   5395 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5396 old_postinstall_cmds='chmod 644 $oldlib'
   5397 old_postuninstall_cmds=
   5398 
   5399 if test -n "$RANLIB"; then
   5400   case $host_os in
   5401   openbsd*)
   5402     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5403     ;;
   5404   *)
   5405     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5406     ;;
   5407   esac
   5408   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5409 fi
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 # If no C compiler was specified, use CC.
   5445 LTCC=${LTCC-"$CC"}
   5446 
   5447 # If no C compiler flags were specified, use CFLAGS.
   5448 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5449 
   5450 # Allow CC to be a program name with arguments.
   5451 compiler=$CC
   5452 
   5453 
   5454 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5456 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5457 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   5458   $as_echo_n "(cached) " >&6
   5459 else
   5460 
   5461 # These are sane defaults that work on at least a few old systems.
   5462 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5463 
   5464 # Character class describing NM global symbol codes.
   5465 symcode='[BCDEGRST]'
   5466 
   5467 # Regexp to match symbols that can be accessed directly from C.
   5468 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5469 
   5470 # Define system-specific variables.
   5471 case $host_os in
   5472 aix*)
   5473   symcode='[BCDT]'
   5474   ;;
   5475 cygwin* | mingw* | pw32* | cegcc*)
   5476   symcode='[ABCDGISTW]'
   5477   ;;
   5478 hpux*)
   5479   if test "$host_cpu" = ia64; then
   5480     symcode='[ABCDEGRST]'
   5481   fi
   5482   ;;
   5483 irix* | nonstopux*)
   5484   symcode='[BCDEGRST]'
   5485   ;;
   5486 osf*)
   5487   symcode='[BCDEGQRST]'
   5488   ;;
   5489 solaris*)
   5490   symcode='[BDRT]'
   5491   ;;
   5492 sco3.2v5*)
   5493   symcode='[DT]'
   5494   ;;
   5495 sysv4.2uw2*)
   5496   symcode='[DT]'
   5497   ;;
   5498 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5499   symcode='[ABDT]'
   5500   ;;
   5501 sysv4)
   5502   symcode='[DFNSTU]'
   5503   ;;
   5504 esac
   5505 
   5506 # If we're using GNU nm, then use its standard symbol codes.
   5507 case `$NM -V 2>&1` in
   5508 *GNU* | *'with BFD'*)
   5509   symcode='[ABCDGIRSTW]' ;;
   5510 esac
   5511 
   5512 # Transform an extracted symbol line into a proper C declaration.
   5513 # Some systems (esp. on ia64) link data and code symbols differently,
   5514 # so use this general approach.
   5515 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5516 
   5517 # Transform an extracted symbol line into symbol name and symbol address
   5518 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5519 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'"
   5520 
   5521 # Handle CRLF in mingw tool chain
   5522 opt_cr=
   5523 case $build_os in
   5524 mingw*)
   5525   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5526   ;;
   5527 esac
   5528 
   5529 # Try without a prefix underscore, then with it.
   5530 for ac_symprfx in "" "_"; do
   5531 
   5532   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5533   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5534 
   5535   # Write the raw and C identifiers.
   5536   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5537     # Fake it for dumpbin and say T for any non-static function
   5538     # and D for any global variable.
   5539     # Also find C++ and __fastcall symbols from MSVC++,
   5540     # which start with @ or ?.
   5541     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5542 "     {last_section=section; section=\$ 3};"\
   5543 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5544 "     \$ 0!~/External *\|/{next};"\
   5545 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5546 "     {if(hide[section]) next};"\
   5547 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5548 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5549 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5550 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5551 "     ' prfx=^$ac_symprfx"
   5552   else
   5553     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5554   fi
   5555 
   5556   # Check to see that the pipe works correctly.
   5557   pipe_works=no
   5558 
   5559   rm -f conftest*
   5560   cat > conftest.$ac_ext <<_LT_EOF
   5561 #ifdef __cplusplus
   5562 extern "C" {
   5563 #endif
   5564 char nm_test_var;
   5565 void nm_test_func(void);
   5566 void nm_test_func(void){}
   5567 #ifdef __cplusplus
   5568 }
   5569 #endif
   5570 int main(){nm_test_var='a';nm_test_func();return(0);}
   5571 _LT_EOF
   5572 
   5573   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5574   (eval $ac_compile) 2>&5
   5575   ac_status=$?
   5576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5577   test $ac_status = 0; }; then
   5578     # Now try to grab the symbols.
   5579     nlist=conftest.nm
   5580     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   5581   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5582   ac_status=$?
   5583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5584   test $ac_status = 0; } && test -s "$nlist"; then
   5585       # Try sorting and uniquifying the output.
   5586       if sort "$nlist" | uniq > "$nlist"T; then
   5587 	mv -f "$nlist"T "$nlist"
   5588       else
   5589 	rm -f "$nlist"T
   5590       fi
   5591 
   5592       # Make sure that we snagged all the symbols we need.
   5593       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5594 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5595 	  cat <<_LT_EOF > conftest.$ac_ext
   5596 #ifdef __cplusplus
   5597 extern "C" {
   5598 #endif
   5599 
   5600 _LT_EOF
   5601 	  # Now generate the symbol file.
   5602 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5603 
   5604 	  cat <<_LT_EOF >> conftest.$ac_ext
   5605 
   5606 /* The mapping between symbol names and symbols.  */
   5607 const struct {
   5608   const char *name;
   5609   void       *address;
   5610 }
   5611 lt__PROGRAM__LTX_preloaded_symbols[] =
   5612 {
   5613   { "@PROGRAM@", (void *) 0 },
   5614 _LT_EOF
   5615 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5616 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5617   {0, (void *) 0}
   5618 };
   5619 
   5620 /* This works around a problem in FreeBSD linker */
   5621 #ifdef FREEBSD_WORKAROUND
   5622 static const void *lt_preloaded_setup() {
   5623   return lt__PROGRAM__LTX_preloaded_symbols;
   5624 }
   5625 #endif
   5626 
   5627 #ifdef __cplusplus
   5628 }
   5629 #endif
   5630 _LT_EOF
   5631 	  # Now try linking the two files.
   5632 	  mv conftest.$ac_objext conftstm.$ac_objext
   5633 	  lt_save_LIBS="$LIBS"
   5634 	  lt_save_CFLAGS="$CFLAGS"
   5635 	  LIBS="conftstm.$ac_objext"
   5636 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5637 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5638   (eval $ac_link) 2>&5
   5639   ac_status=$?
   5640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5641   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5642 	    pipe_works=yes
   5643 	  fi
   5644 	  LIBS="$lt_save_LIBS"
   5645 	  CFLAGS="$lt_save_CFLAGS"
   5646 	else
   5647 	  echo "cannot find nm_test_func in $nlist" >&5
   5648 	fi
   5649       else
   5650 	echo "cannot find nm_test_var in $nlist" >&5
   5651       fi
   5652     else
   5653       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5654     fi
   5655   else
   5656     echo "$progname: failed program was:" >&5
   5657     cat conftest.$ac_ext >&5
   5658   fi
   5659   rm -rf conftest* conftst*
   5660 
   5661   # Do not use the global_symbol_pipe unless it works.
   5662   if test "$pipe_works" = yes; then
   5663     break
   5664   else
   5665     lt_cv_sys_global_symbol_pipe=
   5666   fi
   5667 done
   5668 
   5669 fi
   5670 
   5671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5672   lt_cv_sys_global_symbol_to_cdecl=
   5673 fi
   5674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   5676 $as_echo "failed" >&6; }
   5677 else
   5678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   5679 $as_echo "ok" >&6; }
   5680 fi
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 # Check whether --enable-libtool-lock was given.
   5705 if test "${enable_libtool_lock+set}" = set; then :
   5706   enableval=$enable_libtool_lock;
   5707 fi
   5708 
   5709 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5710 
   5711 # Some flags need to be propagated to the compiler or linker for good
   5712 # libtool support.
   5713 case $host in
   5714 ia64-*-hpux*)
   5715   # Find out which ABI we are using.
   5716   echo 'int i;' > conftest.$ac_ext
   5717   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5718   (eval $ac_compile) 2>&5
   5719   ac_status=$?
   5720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5721   test $ac_status = 0; }; then
   5722     case `/usr/bin/file conftest.$ac_objext` in
   5723       *ELF-32*)
   5724 	HPUX_IA64_MODE="32"
   5725 	;;
   5726       *ELF-64*)
   5727 	HPUX_IA64_MODE="64"
   5728 	;;
   5729     esac
   5730   fi
   5731   rm -rf conftest*
   5732   ;;
   5733 *-*-irix6*)
   5734   # Find out which ABI we are using.
   5735   echo '#line 5735 "configure"' > conftest.$ac_ext
   5736   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5737   (eval $ac_compile) 2>&5
   5738   ac_status=$?
   5739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5740   test $ac_status = 0; }; then
   5741     if test "$lt_cv_prog_gnu_ld" = yes; then
   5742       case `/usr/bin/file conftest.$ac_objext` in
   5743 	*32-bit*)
   5744 	  LD="${LD-ld} -melf32bsmip"
   5745 	  ;;
   5746 	*N32*)
   5747 	  LD="${LD-ld} -melf32bmipn32"
   5748 	  ;;
   5749 	*64-bit*)
   5750 	  LD="${LD-ld} -melf64bmip"
   5751 	;;
   5752       esac
   5753     else
   5754       case `/usr/bin/file conftest.$ac_objext` in
   5755 	*32-bit*)
   5756 	  LD="${LD-ld} -32"
   5757 	  ;;
   5758 	*N32*)
   5759 	  LD="${LD-ld} -n32"
   5760 	  ;;
   5761 	*64-bit*)
   5762 	  LD="${LD-ld} -64"
   5763 	  ;;
   5764       esac
   5765     fi
   5766   fi
   5767   rm -rf conftest*
   5768   ;;
   5769 
   5770 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5771 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5772   # Find out which ABI we are using.
   5773   echo 'int i;' > conftest.$ac_ext
   5774   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5775   (eval $ac_compile) 2>&5
   5776   ac_status=$?
   5777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5778   test $ac_status = 0; }; then
   5779     case `/usr/bin/file conftest.o` in
   5780       *32-bit*)
   5781 	case $host in
   5782 	  x86_64-*kfreebsd*-gnu)
   5783 	    LD="${LD-ld} -m elf_i386_fbsd"
   5784 	    ;;
   5785 	  x86_64-*linux*)
   5786 	    LD="${LD-ld} -m elf_i386"
   5787 	    ;;
   5788 	  ppc64-*linux*|powerpc64-*linux*)
   5789 	    LD="${LD-ld} -m elf32ppclinux"
   5790 	    ;;
   5791 	  s390x-*linux*)
   5792 	    LD="${LD-ld} -m elf_s390"
   5793 	    ;;
   5794 	  sparc64-*linux*)
   5795 	    LD="${LD-ld} -m elf32_sparc"
   5796 	    ;;
   5797 	esac
   5798 	;;
   5799       *64-bit*)
   5800 	case $host in
   5801 	  x86_64-*kfreebsd*-gnu)
   5802 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5803 	    ;;
   5804 	  x86_64-*linux*)
   5805 	    LD="${LD-ld} -m elf_x86_64"
   5806 	    ;;
   5807 	  ppc*-*linux*|powerpc*-*linux*)
   5808 	    LD="${LD-ld} -m elf64ppc"
   5809 	    ;;
   5810 	  s390*-*linux*|s390*-*tpf*)
   5811 	    LD="${LD-ld} -m elf64_s390"
   5812 	    ;;
   5813 	  sparc*-*linux*)
   5814 	    LD="${LD-ld} -m elf64_sparc"
   5815 	    ;;
   5816 	esac
   5817 	;;
   5818     esac
   5819   fi
   5820   rm -rf conftest*
   5821   ;;
   5822 
   5823 *-*-sco3.2v5*)
   5824   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5825   SAVE_CFLAGS="$CFLAGS"
   5826   CFLAGS="$CFLAGS -belf"
   5827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   5828 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5829 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   5830   $as_echo_n "(cached) " >&6
   5831 else
   5832   ac_ext=c
   5833 ac_cpp='$CPP $CPPFLAGS'
   5834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5837 
   5838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5839 /* end confdefs.h.  */
   5840 
   5841 int
   5842 main ()
   5843 {
   5844 
   5845   ;
   5846   return 0;
   5847 }
   5848 _ACEOF
   5849 if ac_fn_c_try_link "$LINENO"; then :
   5850   lt_cv_cc_needs_belf=yes
   5851 else
   5852   lt_cv_cc_needs_belf=no
   5853 fi
   5854 rm -f core conftest.err conftest.$ac_objext \
   5855     conftest$ac_exeext conftest.$ac_ext
   5856      ac_ext=c
   5857 ac_cpp='$CPP $CPPFLAGS'
   5858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5861 
   5862 fi
   5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   5864 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5865   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5866     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5867     CFLAGS="$SAVE_CFLAGS"
   5868   fi
   5869   ;;
   5870 sparc*-*solaris*)
   5871   # Find out which ABI we are using.
   5872   echo 'int i;' > conftest.$ac_ext
   5873   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5874   (eval $ac_compile) 2>&5
   5875   ac_status=$?
   5876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5877   test $ac_status = 0; }; then
   5878     case `/usr/bin/file conftest.o` in
   5879     *64-bit*)
   5880       case $lt_cv_prog_gnu_ld in
   5881       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5882       *)
   5883 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5884 	  LD="${LD-ld} -64"
   5885 	fi
   5886 	;;
   5887       esac
   5888       ;;
   5889     esac
   5890   fi
   5891   rm -rf conftest*
   5892   ;;
   5893 esac
   5894 
   5895 need_locks="$enable_libtool_lock"
   5896 
   5897 
   5898   case $host_os in
   5899     rhapsody* | darwin*)
   5900     if test -n "$ac_tool_prefix"; then
   5901   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5902 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5904 $as_echo_n "checking for $ac_word... " >&6; }
   5905 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   5906   $as_echo_n "(cached) " >&6
   5907 else
   5908   if test -n "$DSYMUTIL"; then
   5909   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5910 else
   5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5912 for as_dir in $PATH
   5913 do
   5914   IFS=$as_save_IFS
   5915   test -z "$as_dir" && as_dir=.
   5916     for ac_exec_ext in '' $ac_executable_extensions; do
   5917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5918     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5920     break 2
   5921   fi
   5922 done
   5923   done
   5924 IFS=$as_save_IFS
   5925 
   5926 fi
   5927 fi
   5928 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5929 if test -n "$DSYMUTIL"; then
   5930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   5931 $as_echo "$DSYMUTIL" >&6; }
   5932 else
   5933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5934 $as_echo "no" >&6; }
   5935 fi
   5936 
   5937 
   5938 fi
   5939 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5940   ac_ct_DSYMUTIL=$DSYMUTIL
   5941   # Extract the first word of "dsymutil", so it can be a program name with args.
   5942 set dummy dsymutil; ac_word=$2
   5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5944 $as_echo_n "checking for $ac_word... " >&6; }
   5945 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   5946   $as_echo_n "(cached) " >&6
   5947 else
   5948   if test -n "$ac_ct_DSYMUTIL"; then
   5949   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5950 else
   5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5952 for as_dir in $PATH
   5953 do
   5954   IFS=$as_save_IFS
   5955   test -z "$as_dir" && as_dir=.
   5956     for ac_exec_ext in '' $ac_executable_extensions; do
   5957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5958     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5960     break 2
   5961   fi
   5962 done
   5963   done
   5964 IFS=$as_save_IFS
   5965 
   5966 fi
   5967 fi
   5968 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5969 if test -n "$ac_ct_DSYMUTIL"; then
   5970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   5971 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5972 else
   5973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5974 $as_echo "no" >&6; }
   5975 fi
   5976 
   5977   if test "x$ac_ct_DSYMUTIL" = x; then
   5978     DSYMUTIL=":"
   5979   else
   5980     case $cross_compiling:$ac_tool_warned in
   5981 yes:)
   5982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5984 ac_tool_warned=yes ;;
   5985 esac
   5986     DSYMUTIL=$ac_ct_DSYMUTIL
   5987   fi
   5988 else
   5989   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5990 fi
   5991 
   5992     if test -n "$ac_tool_prefix"; then
   5993   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5994 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5996 $as_echo_n "checking for $ac_word... " >&6; }
   5997 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   5998   $as_echo_n "(cached) " >&6
   5999 else
   6000   if test -n "$NMEDIT"; then
   6001   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6002 else
   6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6004 for as_dir in $PATH
   6005 do
   6006   IFS=$as_save_IFS
   6007   test -z "$as_dir" && as_dir=.
   6008     for ac_exec_ext in '' $ac_executable_extensions; do
   6009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6010     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6012     break 2
   6013   fi
   6014 done
   6015   done
   6016 IFS=$as_save_IFS
   6017 
   6018 fi
   6019 fi
   6020 NMEDIT=$ac_cv_prog_NMEDIT
   6021 if test -n "$NMEDIT"; then
   6022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6023 $as_echo "$NMEDIT" >&6; }
   6024 else
   6025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6026 $as_echo "no" >&6; }
   6027 fi
   6028 
   6029 
   6030 fi
   6031 if test -z "$ac_cv_prog_NMEDIT"; then
   6032   ac_ct_NMEDIT=$NMEDIT
   6033   # Extract the first word of "nmedit", so it can be a program name with args.
   6034 set dummy nmedit; ac_word=$2
   6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6036 $as_echo_n "checking for $ac_word... " >&6; }
   6037 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   6038   $as_echo_n "(cached) " >&6
   6039 else
   6040   if test -n "$ac_ct_NMEDIT"; then
   6041   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6042 else
   6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6044 for as_dir in $PATH
   6045 do
   6046   IFS=$as_save_IFS
   6047   test -z "$as_dir" && as_dir=.
   6048     for ac_exec_ext in '' $ac_executable_extensions; do
   6049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6050     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6052     break 2
   6053   fi
   6054 done
   6055   done
   6056 IFS=$as_save_IFS
   6057 
   6058 fi
   6059 fi
   6060 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6061 if test -n "$ac_ct_NMEDIT"; then
   6062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6063 $as_echo "$ac_ct_NMEDIT" >&6; }
   6064 else
   6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6066 $as_echo "no" >&6; }
   6067 fi
   6068 
   6069   if test "x$ac_ct_NMEDIT" = x; then
   6070     NMEDIT=":"
   6071   else
   6072     case $cross_compiling:$ac_tool_warned in
   6073 yes:)
   6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6076 ac_tool_warned=yes ;;
   6077 esac
   6078     NMEDIT=$ac_ct_NMEDIT
   6079   fi
   6080 else
   6081   NMEDIT="$ac_cv_prog_NMEDIT"
   6082 fi
   6083 
   6084     if test -n "$ac_tool_prefix"; then
   6085   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6086 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6088 $as_echo_n "checking for $ac_word... " >&6; }
   6089 if test "${ac_cv_prog_LIPO+set}" = set; then :
   6090   $as_echo_n "(cached) " >&6
   6091 else
   6092   if test -n "$LIPO"; then
   6093   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6094 else
   6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6096 for as_dir in $PATH
   6097 do
   6098   IFS=$as_save_IFS
   6099   test -z "$as_dir" && as_dir=.
   6100     for ac_exec_ext in '' $ac_executable_extensions; do
   6101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6102     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6104     break 2
   6105   fi
   6106 done
   6107   done
   6108 IFS=$as_save_IFS
   6109 
   6110 fi
   6111 fi
   6112 LIPO=$ac_cv_prog_LIPO
   6113 if test -n "$LIPO"; then
   6114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6115 $as_echo "$LIPO" >&6; }
   6116 else
   6117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6118 $as_echo "no" >&6; }
   6119 fi
   6120 
   6121 
   6122 fi
   6123 if test -z "$ac_cv_prog_LIPO"; then
   6124   ac_ct_LIPO=$LIPO
   6125   # Extract the first word of "lipo", so it can be a program name with args.
   6126 set dummy lipo; ac_word=$2
   6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6128 $as_echo_n "checking for $ac_word... " >&6; }
   6129 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   6130   $as_echo_n "(cached) " >&6
   6131 else
   6132   if test -n "$ac_ct_LIPO"; then
   6133   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6134 else
   6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6136 for as_dir in $PATH
   6137 do
   6138   IFS=$as_save_IFS
   6139   test -z "$as_dir" && as_dir=.
   6140     for ac_exec_ext in '' $ac_executable_extensions; do
   6141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6142     ac_cv_prog_ac_ct_LIPO="lipo"
   6143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6144     break 2
   6145   fi
   6146 done
   6147   done
   6148 IFS=$as_save_IFS
   6149 
   6150 fi
   6151 fi
   6152 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6153 if test -n "$ac_ct_LIPO"; then
   6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6155 $as_echo "$ac_ct_LIPO" >&6; }
   6156 else
   6157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6158 $as_echo "no" >&6; }
   6159 fi
   6160 
   6161   if test "x$ac_ct_LIPO" = x; then
   6162     LIPO=":"
   6163   else
   6164     case $cross_compiling:$ac_tool_warned in
   6165 yes:)
   6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6168 ac_tool_warned=yes ;;
   6169 esac
   6170     LIPO=$ac_ct_LIPO
   6171   fi
   6172 else
   6173   LIPO="$ac_cv_prog_LIPO"
   6174 fi
   6175 
   6176     if test -n "$ac_tool_prefix"; then
   6177   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6178 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6180 $as_echo_n "checking for $ac_word... " >&6; }
   6181 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   6182   $as_echo_n "(cached) " >&6
   6183 else
   6184   if test -n "$OTOOL"; then
   6185   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6186 else
   6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6188 for as_dir in $PATH
   6189 do
   6190   IFS=$as_save_IFS
   6191   test -z "$as_dir" && as_dir=.
   6192     for ac_exec_ext in '' $ac_executable_extensions; do
   6193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6194     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6196     break 2
   6197   fi
   6198 done
   6199   done
   6200 IFS=$as_save_IFS
   6201 
   6202 fi
   6203 fi
   6204 OTOOL=$ac_cv_prog_OTOOL
   6205 if test -n "$OTOOL"; then
   6206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6207 $as_echo "$OTOOL" >&6; }
   6208 else
   6209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6210 $as_echo "no" >&6; }
   6211 fi
   6212 
   6213 
   6214 fi
   6215 if test -z "$ac_cv_prog_OTOOL"; then
   6216   ac_ct_OTOOL=$OTOOL
   6217   # Extract the first word of "otool", so it can be a program name with args.
   6218 set dummy otool; ac_word=$2
   6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6220 $as_echo_n "checking for $ac_word... " >&6; }
   6221 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   6222   $as_echo_n "(cached) " >&6
   6223 else
   6224   if test -n "$ac_ct_OTOOL"; then
   6225   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6226 else
   6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6228 for as_dir in $PATH
   6229 do
   6230   IFS=$as_save_IFS
   6231   test -z "$as_dir" && as_dir=.
   6232     for ac_exec_ext in '' $ac_executable_extensions; do
   6233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6234     ac_cv_prog_ac_ct_OTOOL="otool"
   6235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6236     break 2
   6237   fi
   6238 done
   6239   done
   6240 IFS=$as_save_IFS
   6241 
   6242 fi
   6243 fi
   6244 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6245 if test -n "$ac_ct_OTOOL"; then
   6246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6247 $as_echo "$ac_ct_OTOOL" >&6; }
   6248 else
   6249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6250 $as_echo "no" >&6; }
   6251 fi
   6252 
   6253   if test "x$ac_ct_OTOOL" = x; then
   6254     OTOOL=":"
   6255   else
   6256     case $cross_compiling:$ac_tool_warned in
   6257 yes:)
   6258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6260 ac_tool_warned=yes ;;
   6261 esac
   6262     OTOOL=$ac_ct_OTOOL
   6263   fi
   6264 else
   6265   OTOOL="$ac_cv_prog_OTOOL"
   6266 fi
   6267 
   6268     if test -n "$ac_tool_prefix"; then
   6269   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6270 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6272 $as_echo_n "checking for $ac_word... " >&6; }
   6273 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   6274   $as_echo_n "(cached) " >&6
   6275 else
   6276   if test -n "$OTOOL64"; then
   6277   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6278 else
   6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6280 for as_dir in $PATH
   6281 do
   6282   IFS=$as_save_IFS
   6283   test -z "$as_dir" && as_dir=.
   6284     for ac_exec_ext in '' $ac_executable_extensions; do
   6285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6286     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6288     break 2
   6289   fi
   6290 done
   6291   done
   6292 IFS=$as_save_IFS
   6293 
   6294 fi
   6295 fi
   6296 OTOOL64=$ac_cv_prog_OTOOL64
   6297 if test -n "$OTOOL64"; then
   6298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6299 $as_echo "$OTOOL64" >&6; }
   6300 else
   6301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6302 $as_echo "no" >&6; }
   6303 fi
   6304 
   6305 
   6306 fi
   6307 if test -z "$ac_cv_prog_OTOOL64"; then
   6308   ac_ct_OTOOL64=$OTOOL64
   6309   # Extract the first word of "otool64", so it can be a program name with args.
   6310 set dummy otool64; ac_word=$2
   6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6312 $as_echo_n "checking for $ac_word... " >&6; }
   6313 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   6314   $as_echo_n "(cached) " >&6
   6315 else
   6316   if test -n "$ac_ct_OTOOL64"; then
   6317   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6318 else
   6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6320 for as_dir in $PATH
   6321 do
   6322   IFS=$as_save_IFS
   6323   test -z "$as_dir" && as_dir=.
   6324     for ac_exec_ext in '' $ac_executable_extensions; do
   6325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6326     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6328     break 2
   6329   fi
   6330 done
   6331   done
   6332 IFS=$as_save_IFS
   6333 
   6334 fi
   6335 fi
   6336 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6337 if test -n "$ac_ct_OTOOL64"; then
   6338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6339 $as_echo "$ac_ct_OTOOL64" >&6; }
   6340 else
   6341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6342 $as_echo "no" >&6; }
   6343 fi
   6344 
   6345   if test "x$ac_ct_OTOOL64" = x; then
   6346     OTOOL64=":"
   6347   else
   6348     case $cross_compiling:$ac_tool_warned in
   6349 yes:)
   6350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6352 ac_tool_warned=yes ;;
   6353 esac
   6354     OTOOL64=$ac_ct_OTOOL64
   6355   fi
   6356 else
   6357   OTOOL64="$ac_cv_prog_OTOOL64"
   6358 fi
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6387 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6388 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   6389   $as_echo_n "(cached) " >&6
   6390 else
   6391   lt_cv_apple_cc_single_mod=no
   6392       if test -z "${LT_MULTI_MODULE}"; then
   6393 	# By default we will add the -single_module flag. You can override
   6394 	# by either setting the environment variable LT_MULTI_MODULE
   6395 	# non-empty at configure time, or by adding -multi_module to the
   6396 	# link flags.
   6397 	rm -rf libconftest.dylib*
   6398 	echo "int foo(void){return 1;}" > conftest.c
   6399 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6400 -dynamiclib -Wl,-single_module conftest.c" >&5
   6401 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6402 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6403         _lt_result=$?
   6404 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6405 	  lt_cv_apple_cc_single_mod=yes
   6406 	else
   6407 	  cat conftest.err >&5
   6408 	fi
   6409 	rm -rf libconftest.dylib*
   6410 	rm -f conftest.*
   6411       fi
   6412 fi
   6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6414 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6415     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6416 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6417 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   6418   $as_echo_n "(cached) " >&6
   6419 else
   6420   lt_cv_ld_exported_symbols_list=no
   6421       save_LDFLAGS=$LDFLAGS
   6422       echo "_main" > conftest.sym
   6423       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6425 /* end confdefs.h.  */
   6426 
   6427 int
   6428 main ()
   6429 {
   6430 
   6431   ;
   6432   return 0;
   6433 }
   6434 _ACEOF
   6435 if ac_fn_c_try_link "$LINENO"; then :
   6436   lt_cv_ld_exported_symbols_list=yes
   6437 else
   6438   lt_cv_ld_exported_symbols_list=no
   6439 fi
   6440 rm -f core conftest.err conftest.$ac_objext \
   6441     conftest$ac_exeext conftest.$ac_ext
   6442 	LDFLAGS="$save_LDFLAGS"
   6443 
   6444 fi
   6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6446 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6447     case $host_os in
   6448     rhapsody* | darwin1.[012])
   6449       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6450     darwin1.*)
   6451       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6452     darwin*) # darwin 5.x on
   6453       # if running on 10.5 or later, the deployment target defaults
   6454       # to the OS version, if on x86, and 10.4, the deployment
   6455       # target defaults to 10.4. Don't you love it?
   6456       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6457 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6458 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6459 	10.[012]*)
   6460 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6461 	10.*)
   6462 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6463       esac
   6464     ;;
   6465   esac
   6466     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6467       _lt_dar_single_mod='$single_module'
   6468     fi
   6469     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6470       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6471     else
   6472       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6473     fi
   6474     if test "$DSYMUTIL" != ":"; then
   6475       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6476     else
   6477       _lt_dsymutil=
   6478     fi
   6479     ;;
   6480   esac
   6481 
   6482 ac_ext=c
   6483 ac_cpp='$CPP $CPPFLAGS'
   6484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   6488 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6489 # On Suns, sometimes $CPP names a directory.
   6490 if test -n "$CPP" && test -d "$CPP"; then
   6491   CPP=
   6492 fi
   6493 if test -z "$CPP"; then
   6494   if test "${ac_cv_prog_CPP+set}" = set; then :
   6495   $as_echo_n "(cached) " >&6
   6496 else
   6497       # Double quotes because CPP needs to be expanded
   6498     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6499     do
   6500       ac_preproc_ok=false
   6501 for ac_c_preproc_warn_flag in '' yes
   6502 do
   6503   # Use a header file that comes with gcc, so configuring glibc
   6504   # with a fresh cross-compiler works.
   6505   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6506   # <limits.h> exists even on freestanding compilers.
   6507   # On the NeXT, cc -E runs the code through the compiler's parser,
   6508   # not just through cpp. "Syntax error" is here to catch this case.
   6509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6510 /* end confdefs.h.  */
   6511 #ifdef __STDC__
   6512 # include <limits.h>
   6513 #else
   6514 # include <assert.h>
   6515 #endif
   6516 		     Syntax error
   6517 _ACEOF
   6518 if ac_fn_c_try_cpp "$LINENO"; then :
   6519 
   6520 else
   6521   # Broken: fails on valid input.
   6522 continue
   6523 fi
   6524 rm -f conftest.err conftest.$ac_ext
   6525 
   6526   # OK, works on sane cases.  Now check whether nonexistent headers
   6527   # can be detected and how.
   6528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6529 /* end confdefs.h.  */
   6530 #include <ac_nonexistent.h>
   6531 _ACEOF
   6532 if ac_fn_c_try_cpp "$LINENO"; then :
   6533   # Broken: success on invalid input.
   6534 continue
   6535 else
   6536   # Passes both tests.
   6537 ac_preproc_ok=:
   6538 break
   6539 fi
   6540 rm -f conftest.err conftest.$ac_ext
   6541 
   6542 done
   6543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6544 rm -f conftest.err conftest.$ac_ext
   6545 if $ac_preproc_ok; then :
   6546   break
   6547 fi
   6548 
   6549     done
   6550     ac_cv_prog_CPP=$CPP
   6551 
   6552 fi
   6553   CPP=$ac_cv_prog_CPP
   6554 else
   6555   ac_cv_prog_CPP=$CPP
   6556 fi
   6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   6558 $as_echo "$CPP" >&6; }
   6559 ac_preproc_ok=false
   6560 for ac_c_preproc_warn_flag in '' yes
   6561 do
   6562   # Use a header file that comes with gcc, so configuring glibc
   6563   # with a fresh cross-compiler works.
   6564   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6565   # <limits.h> exists even on freestanding compilers.
   6566   # On the NeXT, cc -E runs the code through the compiler's parser,
   6567   # not just through cpp. "Syntax error" is here to catch this case.
   6568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6569 /* end confdefs.h.  */
   6570 #ifdef __STDC__
   6571 # include <limits.h>
   6572 #else
   6573 # include <assert.h>
   6574 #endif
   6575 		     Syntax error
   6576 _ACEOF
   6577 if ac_fn_c_try_cpp "$LINENO"; then :
   6578 
   6579 else
   6580   # Broken: fails on valid input.
   6581 continue
   6582 fi
   6583 rm -f conftest.err conftest.$ac_ext
   6584 
   6585   # OK, works on sane cases.  Now check whether nonexistent headers
   6586   # can be detected and how.
   6587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6588 /* end confdefs.h.  */
   6589 #include <ac_nonexistent.h>
   6590 _ACEOF
   6591 if ac_fn_c_try_cpp "$LINENO"; then :
   6592   # Broken: success on invalid input.
   6593 continue
   6594 else
   6595   # Passes both tests.
   6596 ac_preproc_ok=:
   6597 break
   6598 fi
   6599 rm -f conftest.err conftest.$ac_ext
   6600 
   6601 done
   6602 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6603 rm -f conftest.err conftest.$ac_ext
   6604 if $ac_preproc_ok; then :
   6605 
   6606 else
   6607   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6609 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   6610 See \`config.log' for more details." "$LINENO" 5; }
   6611 fi
   6612 
   6613 ac_ext=c
   6614 ac_cpp='$CPP $CPPFLAGS'
   6615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6618 
   6619 
   6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   6621 $as_echo_n "checking for ANSI C header files... " >&6; }
   6622 if test "${ac_cv_header_stdc+set}" = set; then :
   6623   $as_echo_n "(cached) " >&6
   6624 else
   6625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6626 /* end confdefs.h.  */
   6627 #include <stdlib.h>
   6628 #include <stdarg.h>
   6629 #include <string.h>
   6630 #include <float.h>
   6631 
   6632 int
   6633 main ()
   6634 {
   6635 
   6636   ;
   6637   return 0;
   6638 }
   6639 _ACEOF
   6640 if ac_fn_c_try_compile "$LINENO"; then :
   6641   ac_cv_header_stdc=yes
   6642 else
   6643   ac_cv_header_stdc=no
   6644 fi
   6645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6646 
   6647 if test $ac_cv_header_stdc = yes; then
   6648   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6650 /* end confdefs.h.  */
   6651 #include <string.h>
   6652 
   6653 _ACEOF
   6654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6655   $EGREP "memchr" >/dev/null 2>&1; then :
   6656 
   6657 else
   6658   ac_cv_header_stdc=no
   6659 fi
   6660 rm -f conftest*
   6661 
   6662 fi
   6663 
   6664 if test $ac_cv_header_stdc = yes; then
   6665   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6667 /* end confdefs.h.  */
   6668 #include <stdlib.h>
   6669 
   6670 _ACEOF
   6671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6672   $EGREP "free" >/dev/null 2>&1; then :
   6673 
   6674 else
   6675   ac_cv_header_stdc=no
   6676 fi
   6677 rm -f conftest*
   6678 
   6679 fi
   6680 
   6681 if test $ac_cv_header_stdc = yes; then
   6682   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6683   if test "$cross_compiling" = yes; then :
   6684   :
   6685 else
   6686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6687 /* end confdefs.h.  */
   6688 #include <ctype.h>
   6689 #include <stdlib.h>
   6690 #if ((' ' & 0x0FF) == 0x020)
   6691 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6692 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6693 #else
   6694 # define ISLOWER(c) \
   6695 		   (('a' <= (c) && (c) <= 'i') \
   6696 		     || ('j' <= (c) && (c) <= 'r') \
   6697 		     || ('s' <= (c) && (c) <= 'z'))
   6698 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6699 #endif
   6700 
   6701 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6702 int
   6703 main ()
   6704 {
   6705   int i;
   6706   for (i = 0; i < 256; i++)
   6707     if (XOR (islower (i), ISLOWER (i))
   6708 	|| toupper (i) != TOUPPER (i))
   6709       return 2;
   6710   return 0;
   6711 }
   6712 _ACEOF
   6713 if ac_fn_c_try_run "$LINENO"; then :
   6714 
   6715 else
   6716   ac_cv_header_stdc=no
   6717 fi
   6718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6719   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6720 fi
   6721 
   6722 fi
   6723 fi
   6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   6725 $as_echo "$ac_cv_header_stdc" >&6; }
   6726 if test $ac_cv_header_stdc = yes; then
   6727 
   6728 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   6729 
   6730 fi
   6731 
   6732 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6733 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6734 		  inttypes.h stdint.h unistd.h
   6735 do :
   6736   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6737 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   6738 "
   6739 eval as_val=\$$as_ac_Header
   6740    if test "x$as_val" = x""yes; then :
   6741   cat >>confdefs.h <<_ACEOF
   6742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6743 _ACEOF
   6744 
   6745 fi
   6746 
   6747 done
   6748 
   6749 
   6750 for ac_header in dlfcn.h
   6751 do :
   6752   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   6753 "
   6754 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   6755   cat >>confdefs.h <<_ACEOF
   6756 #define HAVE_DLFCN_H 1
   6757 _ACEOF
   6758 
   6759 fi
   6760 
   6761 done
   6762 
   6763 
   6764 
   6765 # Set options
   6766 
   6767 
   6768 
   6769         enable_dlopen=no
   6770 
   6771 
   6772   enable_win32_dll=no
   6773 
   6774 
   6775             # Check whether --enable-shared was given.
   6776 if test "${enable_shared+set}" = set; then :
   6777   enableval=$enable_shared; p=${PACKAGE-default}
   6778     case $enableval in
   6779     yes) enable_shared=yes ;;
   6780     no) enable_shared=no ;;
   6781     *)
   6782       enable_shared=no
   6783       # Look at the argument we got.  We use all the common list separators.
   6784       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6785       for pkg in $enableval; do
   6786 	IFS="$lt_save_ifs"
   6787 	if test "X$pkg" = "X$p"; then
   6788 	  enable_shared=yes
   6789 	fi
   6790       done
   6791       IFS="$lt_save_ifs"
   6792       ;;
   6793     esac
   6794 else
   6795   enable_shared=yes
   6796 fi
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 # Check whether --with-pic was given.
   6809 if test "${with_pic+set}" = set; then :
   6810   withval=$with_pic; pic_mode="$withval"
   6811 else
   6812   pic_mode=default
   6813 fi
   6814 
   6815 
   6816 test -z "$pic_mode" && pic_mode=default
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824   # Check whether --enable-fast-install was given.
   6825 if test "${enable_fast_install+set}" = set; then :
   6826   enableval=$enable_fast_install; p=${PACKAGE-default}
   6827     case $enableval in
   6828     yes) enable_fast_install=yes ;;
   6829     no) enable_fast_install=no ;;
   6830     *)
   6831       enable_fast_install=no
   6832       # Look at the argument we got.  We use all the common list separators.
   6833       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6834       for pkg in $enableval; do
   6835 	IFS="$lt_save_ifs"
   6836 	if test "X$pkg" = "X$p"; then
   6837 	  enable_fast_install=yes
   6838 	fi
   6839       done
   6840       IFS="$lt_save_ifs"
   6841       ;;
   6842     esac
   6843 else
   6844   enable_fast_install=yes
   6845 fi
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 # This can be used to rebuild libtool when needed
   6858 LIBTOOL_DEPS="$ltmain"
   6859 
   6860 # Always use our own libtool.
   6861 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 test -z "$LN_S" && LN_S="ln -s"
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 if test -n "${ZSH_VERSION+set}" ; then
   6903    setopt NO_GLOB_SUBST
   6904 fi
   6905 
   6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   6907 $as_echo_n "checking for objdir... " >&6; }
   6908 if test "${lt_cv_objdir+set}" = set; then :
   6909   $as_echo_n "(cached) " >&6
   6910 else
   6911   rm -f .libs 2>/dev/null
   6912 mkdir .libs 2>/dev/null
   6913 if test -d .libs; then
   6914   lt_cv_objdir=.libs
   6915 else
   6916   # MS-DOS does not allow filenames that begin with a dot.
   6917   lt_cv_objdir=_libs
   6918 fi
   6919 rmdir .libs 2>/dev/null
   6920 fi
   6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   6922 $as_echo "$lt_cv_objdir" >&6; }
   6923 objdir=$lt_cv_objdir
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 cat >>confdefs.h <<_ACEOF
   6930 #define LT_OBJDIR "$lt_cv_objdir/"
   6931 _ACEOF
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 case $host_os in
   6950 aix3*)
   6951   # AIX sometimes has problems with the GCC collect2 program.  For some
   6952   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6953   # vanish in a puff of smoke.
   6954   if test "X${COLLECT_NAMES+set}" != Xset; then
   6955     COLLECT_NAMES=
   6956     export COLLECT_NAMES
   6957   fi
   6958   ;;
   6959 esac
   6960 
   6961 # Sed substitution that helps us do robust quoting.  It backslashifies
   6962 # metacharacters that are still active within double-quoted strings.
   6963 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6964 
   6965 # Same as above, but do not quote variable references.
   6966 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6967 
   6968 # Sed substitution to delay expansion of an escaped shell variable in a
   6969 # double_quote_subst'ed string.
   6970 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6971 
   6972 # Sed substitution to delay expansion of an escaped single quote.
   6973 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6974 
   6975 # Sed substitution to avoid accidental globbing in evaled expressions
   6976 no_glob_subst='s/\*/\\\*/g'
   6977 
   6978 # Global variables:
   6979 ofile=libtool
   6980 can_build_shared=yes
   6981 
   6982 # All known linkers require a `.a' archive for static linking (except MSVC,
   6983 # which needs '.lib').
   6984 libext=a
   6985 
   6986 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6987 
   6988 old_CC="$CC"
   6989 old_CFLAGS="$CFLAGS"
   6990 
   6991 # Set sane defaults for various variables
   6992 test -z "$CC" && CC=cc
   6993 test -z "$LTCC" && LTCC=$CC
   6994 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6995 test -z "$LD" && LD=ld
   6996 test -z "$ac_objext" && ac_objext=o
   6997 
   6998 for cc_temp in $compiler""; do
   6999   case $cc_temp in
   7000     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7001     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7002     \-*) ;;
   7003     *) break;;
   7004   esac
   7005 done
   7006 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7007 
   7008 
   7009 # Only perform the check for file, if the check method requires it
   7010 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7011 case $deplibs_check_method in
   7012 file_magic*)
   7013   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7015 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7016 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7017   $as_echo_n "(cached) " >&6
   7018 else
   7019   case $MAGIC_CMD in
   7020 [\\/*] |  ?:[\\/]*)
   7021   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7022   ;;
   7023 *)
   7024   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7025   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7026   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7027   for ac_dir in $ac_dummy; do
   7028     IFS="$lt_save_ifs"
   7029     test -z "$ac_dir" && ac_dir=.
   7030     if test -f $ac_dir/${ac_tool_prefix}file; then
   7031       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7032       if test -n "$file_magic_test_file"; then
   7033 	case $deplibs_check_method in
   7034 	"file_magic "*)
   7035 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7036 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7037 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7038 	    $EGREP "$file_magic_regex" > /dev/null; then
   7039 	    :
   7040 	  else
   7041 	    cat <<_LT_EOF 1>&2
   7042 
   7043 *** Warning: the command libtool uses to detect shared libraries,
   7044 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7045 *** The result is that libtool may fail to recognize shared libraries
   7046 *** as such.  This will affect the creation of libtool libraries that
   7047 *** depend on shared libraries, but programs linked with such libtool
   7048 *** libraries will work regardless of this problem.  Nevertheless, you
   7049 *** may want to report the problem to your system manager and/or to
   7050 *** bug-libtool@gnu.org
   7051 
   7052 _LT_EOF
   7053 	  fi ;;
   7054 	esac
   7055       fi
   7056       break
   7057     fi
   7058   done
   7059   IFS="$lt_save_ifs"
   7060   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7061   ;;
   7062 esac
   7063 fi
   7064 
   7065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7066 if test -n "$MAGIC_CMD"; then
   7067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7068 $as_echo "$MAGIC_CMD" >&6; }
   7069 else
   7070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7071 $as_echo "no" >&6; }
   7072 fi
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7079   if test -n "$ac_tool_prefix"; then
   7080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7081 $as_echo_n "checking for file... " >&6; }
   7082 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7083   $as_echo_n "(cached) " >&6
   7084 else
   7085   case $MAGIC_CMD in
   7086 [\\/*] |  ?:[\\/]*)
   7087   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7088   ;;
   7089 *)
   7090   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7091   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7092   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7093   for ac_dir in $ac_dummy; do
   7094     IFS="$lt_save_ifs"
   7095     test -z "$ac_dir" && ac_dir=.
   7096     if test -f $ac_dir/file; then
   7097       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7098       if test -n "$file_magic_test_file"; then
   7099 	case $deplibs_check_method in
   7100 	"file_magic "*)
   7101 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7102 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7103 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7104 	    $EGREP "$file_magic_regex" > /dev/null; then
   7105 	    :
   7106 	  else
   7107 	    cat <<_LT_EOF 1>&2
   7108 
   7109 *** Warning: the command libtool uses to detect shared libraries,
   7110 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7111 *** The result is that libtool may fail to recognize shared libraries
   7112 *** as such.  This will affect the creation of libtool libraries that
   7113 *** depend on shared libraries, but programs linked with such libtool
   7114 *** libraries will work regardless of this problem.  Nevertheless, you
   7115 *** may want to report the problem to your system manager and/or to
   7116 *** bug-libtool@gnu.org
   7117 
   7118 _LT_EOF
   7119 	  fi ;;
   7120 	esac
   7121       fi
   7122       break
   7123     fi
   7124   done
   7125   IFS="$lt_save_ifs"
   7126   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7127   ;;
   7128 esac
   7129 fi
   7130 
   7131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7132 if test -n "$MAGIC_CMD"; then
   7133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7134 $as_echo "$MAGIC_CMD" >&6; }
   7135 else
   7136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7137 $as_echo "no" >&6; }
   7138 fi
   7139 
   7140 
   7141   else
   7142     MAGIC_CMD=:
   7143   fi
   7144 fi
   7145 
   7146   fi
   7147   ;;
   7148 esac
   7149 
   7150 # Use C for the default configuration in the libtool script
   7151 
   7152 lt_save_CC="$CC"
   7153 ac_ext=c
   7154 ac_cpp='$CPP $CPPFLAGS'
   7155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7158 
   7159 
   7160 # Source file extension for C test sources.
   7161 ac_ext=c
   7162 
   7163 # Object file extension for compiled C test sources.
   7164 objext=o
   7165 objext=$objext
   7166 
   7167 # Code to be used in simple compile tests
   7168 lt_simple_compile_test_code="int some_variable = 0;"
   7169 
   7170 # Code to be used in simple link tests
   7171 lt_simple_link_test_code='int main(){return(0);}'
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 # If no C compiler was specified, use CC.
   7180 LTCC=${LTCC-"$CC"}
   7181 
   7182 # If no C compiler flags were specified, use CFLAGS.
   7183 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7184 
   7185 # Allow CC to be a program name with arguments.
   7186 compiler=$CC
   7187 
   7188 # Save the default compiler, since it gets overwritten when the other
   7189 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7190 compiler_DEFAULT=$CC
   7191 
   7192 # save warnings/boilerplate of simple test code
   7193 ac_outfile=conftest.$ac_objext
   7194 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7195 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7196 _lt_compiler_boilerplate=`cat conftest.err`
   7197 $RM conftest*
   7198 
   7199 ac_outfile=conftest.$ac_objext
   7200 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7201 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7202 _lt_linker_boilerplate=`cat conftest.err`
   7203 $RM -r conftest*
   7204 
   7205 
   7206 if test -n "$compiler"; then
   7207 
   7208 lt_prog_compiler_no_builtin_flag=
   7209 
   7210 if test "$GCC" = yes; then
   7211   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7212 
   7213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7214 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7215 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   7216   $as_echo_n "(cached) " >&6
   7217 else
   7218   lt_cv_prog_compiler_rtti_exceptions=no
   7219    ac_outfile=conftest.$ac_objext
   7220    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7221    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7222    # Insert the option either (1) after the last *FLAGS variable, or
   7223    # (2) before a word containing "conftest.", or (3) at the end.
   7224    # Note that $ac_compile itself does not contain backslashes and begins
   7225    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7226    # The option is referenced via a variable to avoid confusing sed.
   7227    lt_compile=`echo "$ac_compile" | $SED \
   7228    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7229    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7230    -e 's:$: $lt_compiler_flag:'`
   7231    (eval echo "\"\$as_me:7231: $lt_compile\"" >&5)
   7232    (eval "$lt_compile" 2>conftest.err)
   7233    ac_status=$?
   7234    cat conftest.err >&5
   7235    echo "$as_me:7235: \$? = $ac_status" >&5
   7236    if (exit $ac_status) && test -s "$ac_outfile"; then
   7237      # The compiler can only warn and ignore the option if not recognized
   7238      # So say no if there are warnings other than the usual output.
   7239      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7240      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7241      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7242        lt_cv_prog_compiler_rtti_exceptions=yes
   7243      fi
   7244    fi
   7245    $RM conftest*
   7246 
   7247 fi
   7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7249 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7250 
   7251 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7252     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7253 else
   7254     :
   7255 fi
   7256 
   7257 fi
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264   lt_prog_compiler_wl=
   7265 lt_prog_compiler_pic=
   7266 lt_prog_compiler_static=
   7267 
   7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   7269 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7270 
   7271   if test "$GCC" = yes; then
   7272     lt_prog_compiler_wl='-Wl,'
   7273     lt_prog_compiler_static='-static'
   7274 
   7275     case $host_os in
   7276       aix*)
   7277       # All AIX code is PIC.
   7278       if test "$host_cpu" = ia64; then
   7279 	# AIX 5 now supports IA64 processor
   7280 	lt_prog_compiler_static='-Bstatic'
   7281       fi
   7282       ;;
   7283 
   7284     amigaos*)
   7285       case $host_cpu in
   7286       powerpc)
   7287             # see comment about AmigaOS4 .so support
   7288             lt_prog_compiler_pic='-fPIC'
   7289         ;;
   7290       m68k)
   7291             # FIXME: we need at least 68020 code to build shared libraries, but
   7292             # adding the `-m68020' flag to GCC prevents building anything better,
   7293             # like `-m68040'.
   7294             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7295         ;;
   7296       esac
   7297       ;;
   7298 
   7299     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7300       # PIC is the default for these OSes.
   7301       ;;
   7302 
   7303     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7304       # This hack is so that the source file can tell whether it is being
   7305       # built for inclusion in a dll (and should export symbols for example).
   7306       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7307       # (--disable-auto-import) libraries
   7308       lt_prog_compiler_pic='-DDLL_EXPORT'
   7309       ;;
   7310 
   7311     darwin* | rhapsody*)
   7312       # PIC is the default on this platform
   7313       # Common symbols not allowed in MH_DYLIB files
   7314       lt_prog_compiler_pic='-fno-common'
   7315       ;;
   7316 
   7317     hpux*)
   7318       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7319       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7320       # sets the default TLS model and affects inlining.
   7321       case $host_cpu in
   7322       hppa*64*)
   7323 	# +Z the default
   7324 	;;
   7325       *)
   7326 	lt_prog_compiler_pic='-fPIC'
   7327 	;;
   7328       esac
   7329       ;;
   7330 
   7331     interix[3-9]*)
   7332       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7333       # Instead, we relocate shared libraries at runtime.
   7334       ;;
   7335 
   7336     msdosdjgpp*)
   7337       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7338       # on systems that don't support them.
   7339       lt_prog_compiler_can_build_shared=no
   7340       enable_shared=no
   7341       ;;
   7342 
   7343     *nto* | *qnx*)
   7344       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7345       # it will coredump.
   7346       lt_prog_compiler_pic='-fPIC -shared'
   7347       ;;
   7348 
   7349     sysv4*MP*)
   7350       if test -d /usr/nec; then
   7351 	lt_prog_compiler_pic=-Kconform_pic
   7352       fi
   7353       ;;
   7354 
   7355     *)
   7356       lt_prog_compiler_pic='-fPIC'
   7357       ;;
   7358     esac
   7359   else
   7360     # PORTME Check for flag to pass linker flags through the system compiler.
   7361     case $host_os in
   7362     aix*)
   7363       lt_prog_compiler_wl='-Wl,'
   7364       if test "$host_cpu" = ia64; then
   7365 	# AIX 5 now supports IA64 processor
   7366 	lt_prog_compiler_static='-Bstatic'
   7367       else
   7368 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7369       fi
   7370       ;;
   7371 
   7372     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7373       # This hack is so that the source file can tell whether it is being
   7374       # built for inclusion in a dll (and should export symbols for example).
   7375       lt_prog_compiler_pic='-DDLL_EXPORT'
   7376       ;;
   7377 
   7378     hpux9* | hpux10* | hpux11*)
   7379       lt_prog_compiler_wl='-Wl,'
   7380       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7381       # not for PA HP-UX.
   7382       case $host_cpu in
   7383       hppa*64*|ia64*)
   7384 	# +Z the default
   7385 	;;
   7386       *)
   7387 	lt_prog_compiler_pic='+Z'
   7388 	;;
   7389       esac
   7390       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7391       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7392       ;;
   7393 
   7394     irix5* | irix6* | nonstopux*)
   7395       lt_prog_compiler_wl='-Wl,'
   7396       # PIC (with -KPIC) is the default.
   7397       lt_prog_compiler_static='-non_shared'
   7398       ;;
   7399 
   7400     linux* | k*bsd*-gnu)
   7401       case $cc_basename in
   7402       # old Intel for x86_64 which still supported -KPIC.
   7403       ecc*)
   7404 	lt_prog_compiler_wl='-Wl,'
   7405 	lt_prog_compiler_pic='-KPIC'
   7406 	lt_prog_compiler_static='-static'
   7407         ;;
   7408       # icc used to be incompatible with GCC.
   7409       # ICC 10 doesn't accept -KPIC any more.
   7410       icc* | ifort*)
   7411 	lt_prog_compiler_wl='-Wl,'
   7412 	lt_prog_compiler_pic='-fPIC'
   7413 	lt_prog_compiler_static='-static'
   7414         ;;
   7415       # Lahey Fortran 8.1.
   7416       lf95*)
   7417 	lt_prog_compiler_wl='-Wl,'
   7418 	lt_prog_compiler_pic='--shared'
   7419 	lt_prog_compiler_static='--static'
   7420 	;;
   7421       pgcc* | pgf77* | pgf90* | pgf95*)
   7422         # Portland Group compilers (*not* the Pentium gcc compiler,
   7423 	# which looks to be a dead project)
   7424 	lt_prog_compiler_wl='-Wl,'
   7425 	lt_prog_compiler_pic='-fpic'
   7426 	lt_prog_compiler_static='-Bstatic'
   7427         ;;
   7428       ccc*)
   7429         lt_prog_compiler_wl='-Wl,'
   7430         # All Alpha code is PIC.
   7431         lt_prog_compiler_static='-non_shared'
   7432         ;;
   7433       xl*)
   7434 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7435 	lt_prog_compiler_wl='-Wl,'
   7436 	lt_prog_compiler_pic='-qpic'
   7437 	lt_prog_compiler_static='-qstaticlink'
   7438 	;;
   7439       *)
   7440 	case `$CC -V 2>&1 | sed 5q` in
   7441 	*Sun\ C*)
   7442 	  # Sun C 5.9
   7443 	  lt_prog_compiler_pic='-KPIC'
   7444 	  lt_prog_compiler_static='-Bstatic'
   7445 	  lt_prog_compiler_wl='-Wl,'
   7446 	  ;;
   7447 	*Sun\ F*)
   7448 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7449 	  lt_prog_compiler_pic='-KPIC'
   7450 	  lt_prog_compiler_static='-Bstatic'
   7451 	  lt_prog_compiler_wl=''
   7452 	  ;;
   7453 	esac
   7454 	;;
   7455       esac
   7456       ;;
   7457 
   7458     newsos6)
   7459       lt_prog_compiler_pic='-KPIC'
   7460       lt_prog_compiler_static='-Bstatic'
   7461       ;;
   7462 
   7463     *nto* | *qnx*)
   7464       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7465       # it will coredump.
   7466       lt_prog_compiler_pic='-fPIC -shared'
   7467       ;;
   7468 
   7469     osf3* | osf4* | osf5*)
   7470       lt_prog_compiler_wl='-Wl,'
   7471       # All OSF/1 code is PIC.
   7472       lt_prog_compiler_static='-non_shared'
   7473       ;;
   7474 
   7475     rdos*)
   7476       lt_prog_compiler_static='-non_shared'
   7477       ;;
   7478 
   7479     solaris*)
   7480       lt_prog_compiler_pic='-KPIC'
   7481       lt_prog_compiler_static='-Bstatic'
   7482       case $cc_basename in
   7483       f77* | f90* | f95*)
   7484 	lt_prog_compiler_wl='-Qoption ld ';;
   7485       *)
   7486 	lt_prog_compiler_wl='-Wl,';;
   7487       esac
   7488       ;;
   7489 
   7490     sunos4*)
   7491       lt_prog_compiler_wl='-Qoption ld '
   7492       lt_prog_compiler_pic='-PIC'
   7493       lt_prog_compiler_static='-Bstatic'
   7494       ;;
   7495 
   7496     sysv4 | sysv4.2uw2* | sysv4.3*)
   7497       lt_prog_compiler_wl='-Wl,'
   7498       lt_prog_compiler_pic='-KPIC'
   7499       lt_prog_compiler_static='-Bstatic'
   7500       ;;
   7501 
   7502     sysv4*MP*)
   7503       if test -d /usr/nec ;then
   7504 	lt_prog_compiler_pic='-Kconform_pic'
   7505 	lt_prog_compiler_static='-Bstatic'
   7506       fi
   7507       ;;
   7508 
   7509     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7510       lt_prog_compiler_wl='-Wl,'
   7511       lt_prog_compiler_pic='-KPIC'
   7512       lt_prog_compiler_static='-Bstatic'
   7513       ;;
   7514 
   7515     unicos*)
   7516       lt_prog_compiler_wl='-Wl,'
   7517       lt_prog_compiler_can_build_shared=no
   7518       ;;
   7519 
   7520     uts4*)
   7521       lt_prog_compiler_pic='-pic'
   7522       lt_prog_compiler_static='-Bstatic'
   7523       ;;
   7524 
   7525     *)
   7526       lt_prog_compiler_can_build_shared=no
   7527       ;;
   7528     esac
   7529   fi
   7530 
   7531 case $host_os in
   7532   # For platforms which do not support PIC, -DPIC is meaningless:
   7533   *djgpp*)
   7534     lt_prog_compiler_pic=
   7535     ;;
   7536   *)
   7537     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7538     ;;
   7539 esac
   7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   7541 $as_echo "$lt_prog_compiler_pic" >&6; }
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 #
   7549 # Check to make sure the PIC flag actually works.
   7550 #
   7551 if test -n "$lt_prog_compiler_pic"; then
   7552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7553 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7554 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   7555   $as_echo_n "(cached) " >&6
   7556 else
   7557   lt_cv_prog_compiler_pic_works=no
   7558    ac_outfile=conftest.$ac_objext
   7559    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7560    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7561    # Insert the option either (1) after the last *FLAGS variable, or
   7562    # (2) before a word containing "conftest.", or (3) at the end.
   7563    # Note that $ac_compile itself does not contain backslashes and begins
   7564    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7565    # The option is referenced via a variable to avoid confusing sed.
   7566    lt_compile=`echo "$ac_compile" | $SED \
   7567    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7568    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7569    -e 's:$: $lt_compiler_flag:'`
   7570    (eval echo "\"\$as_me:7570: $lt_compile\"" >&5)
   7571    (eval "$lt_compile" 2>conftest.err)
   7572    ac_status=$?
   7573    cat conftest.err >&5
   7574    echo "$as_me:7574: \$? = $ac_status" >&5
   7575    if (exit $ac_status) && test -s "$ac_outfile"; then
   7576      # The compiler can only warn and ignore the option if not recognized
   7577      # So say no if there are warnings other than the usual output.
   7578      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7579      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7580      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7581        lt_cv_prog_compiler_pic_works=yes
   7582      fi
   7583    fi
   7584    $RM conftest*
   7585 
   7586 fi
   7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   7588 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7589 
   7590 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7591     case $lt_prog_compiler_pic in
   7592      "" | " "*) ;;
   7593      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7594      esac
   7595 else
   7596     lt_prog_compiler_pic=
   7597      lt_prog_compiler_can_build_shared=no
   7598 fi
   7599 
   7600 fi
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 #
   7608 # Check to make sure the static flag actually works.
   7609 #
   7610 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7612 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7613 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   7614   $as_echo_n "(cached) " >&6
   7615 else
   7616   lt_cv_prog_compiler_static_works=no
   7617    save_LDFLAGS="$LDFLAGS"
   7618    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7619    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7620    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7621      # The linker can only warn and ignore the option if not recognized
   7622      # So say no if there are warnings
   7623      if test -s conftest.err; then
   7624        # Append any errors to the config.log.
   7625        cat conftest.err 1>&5
   7626        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7627        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7628        if diff conftest.exp conftest.er2 >/dev/null; then
   7629          lt_cv_prog_compiler_static_works=yes
   7630        fi
   7631      else
   7632        lt_cv_prog_compiler_static_works=yes
   7633      fi
   7634    fi
   7635    $RM -r conftest*
   7636    LDFLAGS="$save_LDFLAGS"
   7637 
   7638 fi
   7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   7640 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7641 
   7642 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7643     :
   7644 else
   7645     lt_prog_compiler_static=
   7646 fi
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   7655 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7656 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   7657   $as_echo_n "(cached) " >&6
   7658 else
   7659   lt_cv_prog_compiler_c_o=no
   7660    $RM -r conftest 2>/dev/null
   7661    mkdir conftest
   7662    cd conftest
   7663    mkdir out
   7664    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7665 
   7666    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7667    # Insert the option either (1) after the last *FLAGS variable, or
   7668    # (2) before a word containing "conftest.", or (3) at the end.
   7669    # Note that $ac_compile itself does not contain backslashes and begins
   7670    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7671    lt_compile=`echo "$ac_compile" | $SED \
   7672    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7673    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7674    -e 's:$: $lt_compiler_flag:'`
   7675    (eval echo "\"\$as_me:7675: $lt_compile\"" >&5)
   7676    (eval "$lt_compile" 2>out/conftest.err)
   7677    ac_status=$?
   7678    cat out/conftest.err >&5
   7679    echo "$as_me:7679: \$? = $ac_status" >&5
   7680    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7681    then
   7682      # The compiler can only warn and ignore the option if not recognized
   7683      # So say no if there are warnings
   7684      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7685      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7686      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7687        lt_cv_prog_compiler_c_o=yes
   7688      fi
   7689    fi
   7690    chmod u+w . 2>&5
   7691    $RM conftest*
   7692    # SGI C++ compiler will create directory out/ii_files/ for
   7693    # template instantiation
   7694    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7695    $RM out/* && rmdir out
   7696    cd ..
   7697    $RM -r conftest
   7698    $RM conftest*
   7699 
   7700 fi
   7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   7702 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   7710 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7711 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   7712   $as_echo_n "(cached) " >&6
   7713 else
   7714   lt_cv_prog_compiler_c_o=no
   7715    $RM -r conftest 2>/dev/null
   7716    mkdir conftest
   7717    cd conftest
   7718    mkdir out
   7719    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7720 
   7721    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7722    # Insert the option either (1) after the last *FLAGS variable, or
   7723    # (2) before a word containing "conftest.", or (3) at the end.
   7724    # Note that $ac_compile itself does not contain backslashes and begins
   7725    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7726    lt_compile=`echo "$ac_compile" | $SED \
   7727    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7728    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7729    -e 's:$: $lt_compiler_flag:'`
   7730    (eval echo "\"\$as_me:7730: $lt_compile\"" >&5)
   7731    (eval "$lt_compile" 2>out/conftest.err)
   7732    ac_status=$?
   7733    cat out/conftest.err >&5
   7734    echo "$as_me:7734: \$? = $ac_status" >&5
   7735    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7736    then
   7737      # The compiler can only warn and ignore the option if not recognized
   7738      # So say no if there are warnings
   7739      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7740      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7741      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7742        lt_cv_prog_compiler_c_o=yes
   7743      fi
   7744    fi
   7745    chmod u+w . 2>&5
   7746    $RM conftest*
   7747    # SGI C++ compiler will create directory out/ii_files/ for
   7748    # template instantiation
   7749    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7750    $RM out/* && rmdir out
   7751    cd ..
   7752    $RM -r conftest
   7753    $RM conftest*
   7754 
   7755 fi
   7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   7757 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7758 
   7759 
   7760 
   7761 
   7762 hard_links="nottested"
   7763 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7764   # do not overwrite the value of need_locks provided by the user
   7765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   7766 $as_echo_n "checking if we can lock with hard links... " >&6; }
   7767   hard_links=yes
   7768   $RM conftest*
   7769   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7770   touch conftest.a
   7771   ln conftest.a conftest.b 2>&5 || hard_links=no
   7772   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   7774 $as_echo "$hard_links" >&6; }
   7775   if test "$hard_links" = no; then
   7776     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7777 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7778     need_locks=warn
   7779   fi
   7780 else
   7781   need_locks=no
   7782 fi
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7790 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   7791 
   7792   runpath_var=
   7793   allow_undefined_flag=
   7794   always_export_symbols=no
   7795   archive_cmds=
   7796   archive_expsym_cmds=
   7797   compiler_needs_object=no
   7798   enable_shared_with_static_runtimes=no
   7799   export_dynamic_flag_spec=
   7800   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7801   hardcode_automatic=no
   7802   hardcode_direct=no
   7803   hardcode_direct_absolute=no
   7804   hardcode_libdir_flag_spec=
   7805   hardcode_libdir_flag_spec_ld=
   7806   hardcode_libdir_separator=
   7807   hardcode_minus_L=no
   7808   hardcode_shlibpath_var=unsupported
   7809   inherit_rpath=no
   7810   link_all_deplibs=unknown
   7811   module_cmds=
   7812   module_expsym_cmds=
   7813   old_archive_from_new_cmds=
   7814   old_archive_from_expsyms_cmds=
   7815   thread_safe_flag_spec=
   7816   whole_archive_flag_spec=
   7817   # include_expsyms should be a list of space-separated symbols to be *always*
   7818   # included in the symbol list
   7819   include_expsyms=
   7820   # exclude_expsyms can be an extended regexp of symbols to exclude
   7821   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7822   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7823   # as well as any symbol that contains `d'.
   7824   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   7825   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7826   # platforms (ab)use it in PIC code, but their linkers get confused if
   7827   # the symbol is explicitly referenced.  Since portable code cannot
   7828   # rely on this symbol name, it's probably fine to never include it in
   7829   # preloaded symbol tables.
   7830   # Exclude shared library initialization/finalization symbols.
   7831   extract_expsyms_cmds=
   7832 
   7833   case $host_os in
   7834   cygwin* | mingw* | pw32* | cegcc*)
   7835     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7836     # When not using gcc, we currently assume that we are using
   7837     # Microsoft Visual C++.
   7838     if test "$GCC" != yes; then
   7839       with_gnu_ld=no
   7840     fi
   7841     ;;
   7842   interix*)
   7843     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7844     with_gnu_ld=yes
   7845     ;;
   7846   openbsd*)
   7847     with_gnu_ld=no
   7848     ;;
   7849   esac
   7850 
   7851   ld_shlibs=yes
   7852   if test "$with_gnu_ld" = yes; then
   7853     # If archive_cmds runs LD, not CC, wlarc should be empty
   7854     wlarc='${wl}'
   7855 
   7856     # Set some defaults for GNU ld with shared library support. These
   7857     # are reset later if shared libraries are not supported. Putting them
   7858     # here allows them to be overridden if necessary.
   7859     runpath_var=LD_RUN_PATH
   7860     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7861     export_dynamic_flag_spec='${wl}--export-dynamic'
   7862     # ancient GNU ld didn't support --whole-archive et. al.
   7863     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   7864       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7865     else
   7866       whole_archive_flag_spec=
   7867     fi
   7868     supports_anon_versioning=no
   7869     case `$LD -v 2>&1` in
   7870       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7871       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7872       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7873       *\ 2.11.*) ;; # other 2.11 versions
   7874       *) supports_anon_versioning=yes ;;
   7875     esac
   7876 
   7877     # See if GNU ld supports shared libraries.
   7878     case $host_os in
   7879     aix[3-9]*)
   7880       # On AIX/PPC, the GNU linker is very broken
   7881       if test "$host_cpu" != ia64; then
   7882 	ld_shlibs=no
   7883 	cat <<_LT_EOF 1>&2
   7884 
   7885 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7886 *** to be unable to reliably create shared libraries on AIX.
   7887 *** Therefore, libtool is disabling shared libraries support.  If you
   7888 *** really care for shared libraries, you may want to modify your PATH
   7889 *** so that a non-GNU linker is found, and then restart.
   7890 
   7891 _LT_EOF
   7892       fi
   7893       ;;
   7894 
   7895     amigaos*)
   7896       case $host_cpu in
   7897       powerpc)
   7898             # see comment about AmigaOS4 .so support
   7899             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7900             archive_expsym_cmds=''
   7901         ;;
   7902       m68k)
   7903             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)'
   7904             hardcode_libdir_flag_spec='-L$libdir'
   7905             hardcode_minus_L=yes
   7906         ;;
   7907       esac
   7908       ;;
   7909 
   7910     beos*)
   7911       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   7912 	allow_undefined_flag=unsupported
   7913 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7914 	# support --undefined.  This deserves some investigation.  FIXME
   7915 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7916       else
   7917 	ld_shlibs=no
   7918       fi
   7919       ;;
   7920 
   7921     cygwin* | mingw* | pw32* | cegcc*)
   7922       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7923       # as there is no search path for DLLs.
   7924       hardcode_libdir_flag_spec='-L$libdir'
   7925       allow_undefined_flag=unsupported
   7926       always_export_symbols=no
   7927       enable_shared_with_static_runtimes=yes
   7928       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   7929 
   7930       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   7931         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7932 	# If the export-symbols file already is a .def file (1st line
   7933 	# is EXPORTS), use it as is; otherwise, prepend...
   7934 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7935 	  cp $export_symbols $output_objdir/$soname.def;
   7936 	else
   7937 	  echo EXPORTS > $output_objdir/$soname.def;
   7938 	  cat $export_symbols >> $output_objdir/$soname.def;
   7939 	fi~
   7940 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7941       else
   7942 	ld_shlibs=no
   7943       fi
   7944       ;;
   7945 
   7946     interix[3-9]*)
   7947       hardcode_direct=no
   7948       hardcode_shlibpath_var=no
   7949       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7950       export_dynamic_flag_spec='${wl}-E'
   7951       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7952       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7953       # default) and relocated if they conflict, which is a slow very memory
   7954       # consuming and fragmenting process.  To avoid this, we pick a random,
   7955       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7956       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7957       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7958       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'
   7959       ;;
   7960 
   7961     gnu* | linux* | tpf* | k*bsd*-gnu)
   7962       tmp_diet=no
   7963       if test "$host_os" = linux-dietlibc; then
   7964 	case $cc_basename in
   7965 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   7966 	esac
   7967       fi
   7968       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   7969 	 && test "$tmp_diet" = no
   7970       then
   7971 	tmp_addflag=
   7972 	tmp_sharedflag='-shared'
   7973 	case $cc_basename,$host_cpu in
   7974         pgcc*)				# Portland Group C compiler
   7975 	  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'
   7976 	  tmp_addflag=' $pic_flag'
   7977 	  ;;
   7978 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7979 	  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'
   7980 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7981 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   7982 	  tmp_addflag=' -i_dynamic' ;;
   7983 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7984 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7985 	ifc* | ifort*)			# Intel Fortran compiler
   7986 	  tmp_addflag=' -nofor_main' ;;
   7987 	lf95*)				# Lahey Fortran 8.1
   7988 	  whole_archive_flag_spec=
   7989 	  tmp_sharedflag='--shared' ;;
   7990 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   7991 	  tmp_sharedflag='-qmkshrobj'
   7992 	  tmp_addflag= ;;
   7993 	esac
   7994 	case `$CC -V 2>&1 | sed 5q` in
   7995 	*Sun\ C*)			# Sun C 5.9
   7996 	  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'
   7997 	  compiler_needs_object=yes
   7998 	  tmp_sharedflag='-G' ;;
   7999 	*Sun\ F*)			# Sun Fortran 8.3
   8000 	  tmp_sharedflag='-G' ;;
   8001 	esac
   8002 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8003 
   8004         if test "x$supports_anon_versioning" = xyes; then
   8005           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8006 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8007 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8008 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8009         fi
   8010 
   8011 	case $cc_basename in
   8012 	xlf*)
   8013 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8014 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8015 	  hardcode_libdir_flag_spec=
   8016 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8017 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8018 	  if test "x$supports_anon_versioning" = xyes; then
   8019 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8020 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8021 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8022 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8023 	  fi
   8024 	  ;;
   8025 	esac
   8026       else
   8027         ld_shlibs=no
   8028       fi
   8029       ;;
   8030 
   8031     netbsd*)
   8032       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8033 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8034 	wlarc=
   8035       else
   8036 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8037 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8038       fi
   8039       ;;
   8040 
   8041     solaris*)
   8042       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8043 	ld_shlibs=no
   8044 	cat <<_LT_EOF 1>&2
   8045 
   8046 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8047 *** create shared libraries on Solaris systems.  Therefore, libtool
   8048 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8049 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8050 *** your PATH or compiler configuration so that the native linker is
   8051 *** used, and then restart.
   8052 
   8053 _LT_EOF
   8054       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8055 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8056 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8057       else
   8058 	ld_shlibs=no
   8059       fi
   8060       ;;
   8061 
   8062     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8063       case `$LD -v 2>&1` in
   8064         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8065 	ld_shlibs=no
   8066 	cat <<_LT_EOF 1>&2
   8067 
   8068 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8069 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8070 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8071 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8072 *** your PATH or compiler configuration so that the native linker is
   8073 *** used, and then restart.
   8074 
   8075 _LT_EOF
   8076 	;;
   8077 	*)
   8078 	  # For security reasons, it is highly recommended that you always
   8079 	  # use absolute paths for naming shared libraries, and exclude the
   8080 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8081 	  # requires that you compile everything twice, which is a pain.
   8082 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8083 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8084 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8085 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8086 	  else
   8087 	    ld_shlibs=no
   8088 	  fi
   8089 	;;
   8090       esac
   8091       ;;
   8092 
   8093     sunos4*)
   8094       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8095       wlarc=
   8096       hardcode_direct=yes
   8097       hardcode_shlibpath_var=no
   8098       ;;
   8099 
   8100     *)
   8101       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8102 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8103 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8104       else
   8105 	ld_shlibs=no
   8106       fi
   8107       ;;
   8108     esac
   8109 
   8110     if test "$ld_shlibs" = no; then
   8111       runpath_var=
   8112       hardcode_libdir_flag_spec=
   8113       export_dynamic_flag_spec=
   8114       whole_archive_flag_spec=
   8115     fi
   8116   else
   8117     # PORTME fill in a description of your system's linker (not GNU ld)
   8118     case $host_os in
   8119     aix3*)
   8120       allow_undefined_flag=unsupported
   8121       always_export_symbols=yes
   8122       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'
   8123       # Note: this linker hardcodes the directories in LIBPATH if there
   8124       # are no directories specified by -L.
   8125       hardcode_minus_L=yes
   8126       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8127 	# Neither direct hardcoding nor static linking is supported with a
   8128 	# broken collect2.
   8129 	hardcode_direct=unsupported
   8130       fi
   8131       ;;
   8132 
   8133     aix[4-9]*)
   8134       if test "$host_cpu" = ia64; then
   8135 	# On IA64, the linker does run time linking by default, so we don't
   8136 	# have to do anything special.
   8137 	aix_use_runtimelinking=no
   8138 	exp_sym_flag='-Bexport'
   8139 	no_entry_flag=""
   8140       else
   8141 	# If we're using GNU nm, then we don't want the "-C" option.
   8142 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8143 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8144 	  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'
   8145 	else
   8146 	  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'
   8147 	fi
   8148 	aix_use_runtimelinking=no
   8149 
   8150 	# Test if we are trying to use run time linking or normal
   8151 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8152 	# need to do runtime linking.
   8153 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8154 	  for ld_flag in $LDFLAGS; do
   8155 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8156 	    aix_use_runtimelinking=yes
   8157 	    break
   8158 	  fi
   8159 	  done
   8160 	  ;;
   8161 	esac
   8162 
   8163 	exp_sym_flag='-bexport'
   8164 	no_entry_flag='-bnoentry'
   8165       fi
   8166 
   8167       # When large executables or shared objects are built, AIX ld can
   8168       # have problems creating the table of contents.  If linking a library
   8169       # or program results in "error TOC overflow" add -mminimal-toc to
   8170       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8171       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8172 
   8173       archive_cmds=''
   8174       hardcode_direct=yes
   8175       hardcode_direct_absolute=yes
   8176       hardcode_libdir_separator=':'
   8177       link_all_deplibs=yes
   8178       file_list_spec='${wl}-f,'
   8179 
   8180       if test "$GCC" = yes; then
   8181 	case $host_os in aix4.[012]|aix4.[012].*)
   8182 	# We only want to do this on AIX 4.2 and lower, the check
   8183 	# below for broken collect2 doesn't work under 4.3+
   8184 	  collect2name=`${CC} -print-prog-name=collect2`
   8185 	  if test -f "$collect2name" &&
   8186 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8187 	  then
   8188 	  # We have reworked collect2
   8189 	  :
   8190 	  else
   8191 	  # We have old collect2
   8192 	  hardcode_direct=unsupported
   8193 	  # It fails to find uninstalled libraries when the uninstalled
   8194 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8195 	  # to unsupported forces relinking
   8196 	  hardcode_minus_L=yes
   8197 	  hardcode_libdir_flag_spec='-L$libdir'
   8198 	  hardcode_libdir_separator=
   8199 	  fi
   8200 	  ;;
   8201 	esac
   8202 	shared_flag='-shared'
   8203 	if test "$aix_use_runtimelinking" = yes; then
   8204 	  shared_flag="$shared_flag "'${wl}-G'
   8205 	fi
   8206       else
   8207 	# not using gcc
   8208 	if test "$host_cpu" = ia64; then
   8209 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8210 	# chokes on -Wl,-G. The following line is correct:
   8211 	  shared_flag='-G'
   8212 	else
   8213 	  if test "$aix_use_runtimelinking" = yes; then
   8214 	    shared_flag='${wl}-G'
   8215 	  else
   8216 	    shared_flag='${wl}-bM:SRE'
   8217 	  fi
   8218 	fi
   8219       fi
   8220 
   8221       export_dynamic_flag_spec='${wl}-bexpall'
   8222       # It seems that -bexpall does not export symbols beginning with
   8223       # underscore (_), so it is better to generate a list of symbols to export.
   8224       always_export_symbols=yes
   8225       if test "$aix_use_runtimelinking" = yes; then
   8226 	# Warning - without using the other runtime loading flags (-brtl),
   8227 	# -berok will link without error, but may produce a broken library.
   8228 	allow_undefined_flag='-berok'
   8229         # Determine the default libpath from the value encoded in an
   8230         # empty executable.
   8231         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8232 /* end confdefs.h.  */
   8233 
   8234 int
   8235 main ()
   8236 {
   8237 
   8238   ;
   8239   return 0;
   8240 }
   8241 _ACEOF
   8242 if ac_fn_c_try_link "$LINENO"; then :
   8243 
   8244 lt_aix_libpath_sed='
   8245     /Import File Strings/,/^$/ {
   8246 	/^0/ {
   8247 	    s/^0  *\(.*\)$/\1/
   8248 	    p
   8249 	}
   8250     }'
   8251 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8252 # Check for a 64-bit object if we didn't find anything.
   8253 if test -z "$aix_libpath"; then
   8254   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8255 fi
   8256 fi
   8257 rm -f core conftest.err conftest.$ac_objext \
   8258     conftest$ac_exeext conftest.$ac_ext
   8259 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8260 
   8261         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8262         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"
   8263       else
   8264 	if test "$host_cpu" = ia64; then
   8265 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8266 	  allow_undefined_flag="-z nodefs"
   8267 	  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"
   8268 	else
   8269 	 # Determine the default libpath from the value encoded in an
   8270 	 # empty executable.
   8271 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 
   8274 int
   8275 main ()
   8276 {
   8277 
   8278   ;
   8279   return 0;
   8280 }
   8281 _ACEOF
   8282 if ac_fn_c_try_link "$LINENO"; then :
   8283 
   8284 lt_aix_libpath_sed='
   8285     /Import File Strings/,/^$/ {
   8286 	/^0/ {
   8287 	    s/^0  *\(.*\)$/\1/
   8288 	    p
   8289 	}
   8290     }'
   8291 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8292 # Check for a 64-bit object if we didn't find anything.
   8293 if test -z "$aix_libpath"; then
   8294   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8295 fi
   8296 fi
   8297 rm -f core conftest.err conftest.$ac_objext \
   8298     conftest$ac_exeext conftest.$ac_ext
   8299 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8300 
   8301 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8302 	  # Warning - without using the other run time loading flags,
   8303 	  # -berok will link without error, but may produce a broken library.
   8304 	  no_undefined_flag=' ${wl}-bernotok'
   8305 	  allow_undefined_flag=' ${wl}-berok'
   8306 	  # Exported symbols can be pulled into shared objects from archives
   8307 	  whole_archive_flag_spec='$convenience'
   8308 	  archive_cmds_need_lc=yes
   8309 	  # This is similar to how AIX traditionally builds its shared libraries.
   8310 	  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'
   8311 	fi
   8312       fi
   8313       ;;
   8314 
   8315     amigaos*)
   8316       case $host_cpu in
   8317       powerpc)
   8318             # see comment about AmigaOS4 .so support
   8319             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8320             archive_expsym_cmds=''
   8321         ;;
   8322       m68k)
   8323             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)'
   8324             hardcode_libdir_flag_spec='-L$libdir'
   8325             hardcode_minus_L=yes
   8326         ;;
   8327       esac
   8328       ;;
   8329 
   8330     bsdi[45]*)
   8331       export_dynamic_flag_spec=-rdynamic
   8332       ;;
   8333 
   8334     cygwin* | mingw* | pw32* | cegcc*)
   8335       # When not using gcc, we currently assume that we are using
   8336       # Microsoft Visual C++.
   8337       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8338       # no search path for DLLs.
   8339       hardcode_libdir_flag_spec=' '
   8340       allow_undefined_flag=unsupported
   8341       # Tell ltmain to make .lib files, not .a files.
   8342       libext=lib
   8343       # Tell ltmain to make .dll files, not .so files.
   8344       shrext_cmds=".dll"
   8345       # FIXME: Setting linknames here is a bad hack.
   8346       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8347       # The linker will automatically build a .lib file if we build a DLL.
   8348       old_archive_from_new_cmds='true'
   8349       # FIXME: Should let the user specify the lib program.
   8350       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8351       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8352       enable_shared_with_static_runtimes=yes
   8353       ;;
   8354 
   8355     darwin* | rhapsody*)
   8356 
   8357 
   8358   archive_cmds_need_lc=no
   8359   hardcode_direct=no
   8360   hardcode_automatic=yes
   8361   hardcode_shlibpath_var=unsupported
   8362   whole_archive_flag_spec=''
   8363   link_all_deplibs=yes
   8364   allow_undefined_flag="$_lt_dar_allow_undefined"
   8365   case $cc_basename in
   8366      ifort*) _lt_dar_can_shared=yes ;;
   8367      *) _lt_dar_can_shared=$GCC ;;
   8368   esac
   8369   if test "$_lt_dar_can_shared" = "yes"; then
   8370     output_verbose_link_cmd=echo
   8371     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8372     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8373     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}"
   8374     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}"
   8375 
   8376   else
   8377   ld_shlibs=no
   8378   fi
   8379 
   8380       ;;
   8381 
   8382     dgux*)
   8383       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8384       hardcode_libdir_flag_spec='-L$libdir'
   8385       hardcode_shlibpath_var=no
   8386       ;;
   8387 
   8388     freebsd1*)
   8389       ld_shlibs=no
   8390       ;;
   8391 
   8392     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8393     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8394     # does not break anything, and helps significantly (at the cost of a little
   8395     # extra space).
   8396     freebsd2.2*)
   8397       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8398       hardcode_libdir_flag_spec='-R$libdir'
   8399       hardcode_direct=yes
   8400       hardcode_shlibpath_var=no
   8401       ;;
   8402 
   8403     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8404     freebsd2*)
   8405       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8406       hardcode_direct=yes
   8407       hardcode_minus_L=yes
   8408       hardcode_shlibpath_var=no
   8409       ;;
   8410 
   8411     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8412     freebsd* | dragonfly*)
   8413       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8414       hardcode_libdir_flag_spec='-R$libdir'
   8415       hardcode_direct=yes
   8416       hardcode_shlibpath_var=no
   8417       ;;
   8418 
   8419     hpux9*)
   8420       if test "$GCC" = yes; then
   8421 	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'
   8422       else
   8423 	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'
   8424       fi
   8425       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8426       hardcode_libdir_separator=:
   8427       hardcode_direct=yes
   8428 
   8429       # hardcode_minus_L: Not really in the search PATH,
   8430       # but as the default location of the library.
   8431       hardcode_minus_L=yes
   8432       export_dynamic_flag_spec='${wl}-E'
   8433       ;;
   8434 
   8435     hpux10*)
   8436       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8437 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8438       else
   8439 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8440       fi
   8441       if test "$with_gnu_ld" = no; then
   8442 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8443 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8444 	hardcode_libdir_separator=:
   8445 	hardcode_direct=yes
   8446 	hardcode_direct_absolute=yes
   8447 	export_dynamic_flag_spec='${wl}-E'
   8448 	# hardcode_minus_L: Not really in the search PATH,
   8449 	# but as the default location of the library.
   8450 	hardcode_minus_L=yes
   8451       fi
   8452       ;;
   8453 
   8454     hpux11*)
   8455       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8456 	case $host_cpu in
   8457 	hppa*64*)
   8458 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8459 	  ;;
   8460 	ia64*)
   8461 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8462 	  ;;
   8463 	*)
   8464 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8465 	  ;;
   8466 	esac
   8467       else
   8468 	case $host_cpu in
   8469 	hppa*64*)
   8470 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8471 	  ;;
   8472 	ia64*)
   8473 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8474 	  ;;
   8475 	*)
   8476 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8477 	  ;;
   8478 	esac
   8479       fi
   8480       if test "$with_gnu_ld" = no; then
   8481 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8482 	hardcode_libdir_separator=:
   8483 
   8484 	case $host_cpu in
   8485 	hppa*64*|ia64*)
   8486 	  hardcode_direct=no
   8487 	  hardcode_shlibpath_var=no
   8488 	  ;;
   8489 	*)
   8490 	  hardcode_direct=yes
   8491 	  hardcode_direct_absolute=yes
   8492 	  export_dynamic_flag_spec='${wl}-E'
   8493 
   8494 	  # hardcode_minus_L: Not really in the search PATH,
   8495 	  # but as the default location of the library.
   8496 	  hardcode_minus_L=yes
   8497 	  ;;
   8498 	esac
   8499       fi
   8500       ;;
   8501 
   8502     irix5* | irix6* | nonstopux*)
   8503       if test "$GCC" = yes; then
   8504 	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'
   8505 	# Try to use the -exported_symbol ld option, if it does not
   8506 	# work, assume that -exports_file does not work either and
   8507 	# implicitly export all symbols.
   8508         save_LDFLAGS="$LDFLAGS"
   8509         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8510         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8511 /* end confdefs.h.  */
   8512 int foo(void) {}
   8513 _ACEOF
   8514 if ac_fn_c_try_link "$LINENO"; then :
   8515   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'
   8516 
   8517 fi
   8518 rm -f core conftest.err conftest.$ac_objext \
   8519     conftest$ac_exeext conftest.$ac_ext
   8520         LDFLAGS="$save_LDFLAGS"
   8521       else
   8522 	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'
   8523 	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'
   8524       fi
   8525       archive_cmds_need_lc='no'
   8526       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8527       hardcode_libdir_separator=:
   8528       inherit_rpath=yes
   8529       link_all_deplibs=yes
   8530       ;;
   8531 
   8532     netbsd*)
   8533       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8534 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8535       else
   8536 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8537       fi
   8538       hardcode_libdir_flag_spec='-R$libdir'
   8539       hardcode_direct=yes
   8540       hardcode_shlibpath_var=no
   8541       ;;
   8542 
   8543     newsos6)
   8544       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8545       hardcode_direct=yes
   8546       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8547       hardcode_libdir_separator=:
   8548       hardcode_shlibpath_var=no
   8549       ;;
   8550 
   8551     *nto* | *qnx*)
   8552       ;;
   8553 
   8554     openbsd*)
   8555       if test -f /usr/libexec/ld.so; then
   8556 	hardcode_direct=yes
   8557 	hardcode_shlibpath_var=no
   8558 	hardcode_direct_absolute=yes
   8559 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8560 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8561 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8562 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8563 	  export_dynamic_flag_spec='${wl}-E'
   8564 	else
   8565 	  case $host_os in
   8566 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8567 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8568 	     hardcode_libdir_flag_spec='-R$libdir'
   8569 	     ;;
   8570 	   *)
   8571 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8572 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8573 	     ;;
   8574 	  esac
   8575 	fi
   8576       else
   8577 	ld_shlibs=no
   8578       fi
   8579       ;;
   8580 
   8581     os2*)
   8582       hardcode_libdir_flag_spec='-L$libdir'
   8583       hardcode_minus_L=yes
   8584       allow_undefined_flag=unsupported
   8585       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'
   8586       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8587       ;;
   8588 
   8589     osf3*)
   8590       if test "$GCC" = yes; then
   8591 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8592 	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'
   8593       else
   8594 	allow_undefined_flag=' -expect_unresolved \*'
   8595 	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'
   8596       fi
   8597       archive_cmds_need_lc='no'
   8598       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8599       hardcode_libdir_separator=:
   8600       ;;
   8601 
   8602     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8603       if test "$GCC" = yes; then
   8604 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8605 	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'
   8606 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8607       else
   8608 	allow_undefined_flag=' -expect_unresolved \*'
   8609 	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'
   8610 	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~
   8611 	$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'
   8612 
   8613 	# Both c and cxx compiler support -rpath directly
   8614 	hardcode_libdir_flag_spec='-rpath $libdir'
   8615       fi
   8616       archive_cmds_need_lc='no'
   8617       hardcode_libdir_separator=:
   8618       ;;
   8619 
   8620     solaris*)
   8621       no_undefined_flag=' -z defs'
   8622       if test "$GCC" = yes; then
   8623 	wlarc='${wl}'
   8624 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8625 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8626 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8627       else
   8628 	case `$CC -V 2>&1` in
   8629 	*"Compilers 5.0"*)
   8630 	  wlarc=''
   8631 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8632 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8633 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8634 	  ;;
   8635 	*)
   8636 	  wlarc='${wl}'
   8637 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8638 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8639 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8640 	  ;;
   8641 	esac
   8642       fi
   8643       hardcode_libdir_flag_spec='-R$libdir'
   8644       hardcode_shlibpath_var=no
   8645       case $host_os in
   8646       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8647       *)
   8648 	# The compiler driver will combine and reorder linker options,
   8649 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8650 	# but is careful enough not to reorder.
   8651 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8652 	if test "$GCC" = yes; then
   8653 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8654 	else
   8655 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8656 	fi
   8657 	;;
   8658       esac
   8659       link_all_deplibs=yes
   8660       ;;
   8661 
   8662     sunos4*)
   8663       if test "x$host_vendor" = xsequent; then
   8664 	# Use $CC to link under sequent, because it throws in some extra .o
   8665 	# files that make .init and .fini sections work.
   8666 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8667       else
   8668 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8669       fi
   8670       hardcode_libdir_flag_spec='-L$libdir'
   8671       hardcode_direct=yes
   8672       hardcode_minus_L=yes
   8673       hardcode_shlibpath_var=no
   8674       ;;
   8675 
   8676     sysv4)
   8677       case $host_vendor in
   8678 	sni)
   8679 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8680 	  hardcode_direct=yes # is this really true???
   8681 	;;
   8682 	siemens)
   8683 	  ## LD is ld it makes a PLAMLIB
   8684 	  ## CC just makes a GrossModule.
   8685 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8686 	  reload_cmds='$CC -r -o $output$reload_objs'
   8687 	  hardcode_direct=no
   8688         ;;
   8689 	motorola)
   8690 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8691 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8692 	;;
   8693       esac
   8694       runpath_var='LD_RUN_PATH'
   8695       hardcode_shlibpath_var=no
   8696       ;;
   8697 
   8698     sysv4.3*)
   8699       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8700       hardcode_shlibpath_var=no
   8701       export_dynamic_flag_spec='-Bexport'
   8702       ;;
   8703 
   8704     sysv4*MP*)
   8705       if test -d /usr/nec; then
   8706 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8707 	hardcode_shlibpath_var=no
   8708 	runpath_var=LD_RUN_PATH
   8709 	hardcode_runpath_var=yes
   8710 	ld_shlibs=yes
   8711       fi
   8712       ;;
   8713 
   8714     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8715       no_undefined_flag='${wl}-z,text'
   8716       archive_cmds_need_lc=no
   8717       hardcode_shlibpath_var=no
   8718       runpath_var='LD_RUN_PATH'
   8719 
   8720       if test "$GCC" = yes; then
   8721 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8722 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8723       else
   8724 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8725 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8726       fi
   8727       ;;
   8728 
   8729     sysv5* | sco3.2v5* | sco5v6*)
   8730       # Note: We can NOT use -z defs as we might desire, because we do not
   8731       # link with -lc, and that would cause any symbols used from libc to
   8732       # always be unresolved, which means just about no library would
   8733       # ever link correctly.  If we're not using GNU ld we use -z text
   8734       # though, which does catch some bad symbols but isn't as heavy-handed
   8735       # as -z defs.
   8736       no_undefined_flag='${wl}-z,text'
   8737       allow_undefined_flag='${wl}-z,nodefs'
   8738       archive_cmds_need_lc=no
   8739       hardcode_shlibpath_var=no
   8740       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   8741       hardcode_libdir_separator=':'
   8742       link_all_deplibs=yes
   8743       export_dynamic_flag_spec='${wl}-Bexport'
   8744       runpath_var='LD_RUN_PATH'
   8745 
   8746       if test "$GCC" = yes; then
   8747 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8748 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8749       else
   8750 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8751 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8752       fi
   8753       ;;
   8754 
   8755     uts4*)
   8756       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8757       hardcode_libdir_flag_spec='-L$libdir'
   8758       hardcode_shlibpath_var=no
   8759       ;;
   8760 
   8761     *)
   8762       ld_shlibs=no
   8763       ;;
   8764     esac
   8765 
   8766     if test x$host_vendor = xsni; then
   8767       case $host in
   8768       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   8769 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   8770 	;;
   8771       esac
   8772     fi
   8773   fi
   8774 
   8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   8776 $as_echo "$ld_shlibs" >&6; }
   8777 test "$ld_shlibs" = no && can_build_shared=no
   8778 
   8779 with_gnu_ld=$with_gnu_ld
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 #
   8796 # Do we need to explicitly link libc?
   8797 #
   8798 case "x$archive_cmds_need_lc" in
   8799 x|xyes)
   8800   # Assume -lc should be added
   8801   archive_cmds_need_lc=yes
   8802 
   8803   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8804     case $archive_cmds in
   8805     *'~'*)
   8806       # FIXME: we may have to deal with multi-command sequences.
   8807       ;;
   8808     '$CC '*)
   8809       # Test whether the compiler implicitly links with -lc since on some
   8810       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8811       # to ld, don't add -lc before -lgcc.
   8812       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   8813 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   8814       $RM conftest*
   8815       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8816 
   8817       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8818   (eval $ac_compile) 2>&5
   8819   ac_status=$?
   8820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8821   test $ac_status = 0; } 2>conftest.err; then
   8822         soname=conftest
   8823         lib=conftest
   8824         libobjs=conftest.$ac_objext
   8825         deplibs=
   8826         wl=$lt_prog_compiler_wl
   8827 	pic_flag=$lt_prog_compiler_pic
   8828         compiler_flags=-v
   8829         linker_flags=-v
   8830         verstring=
   8831         output_objdir=.
   8832         libname=conftest
   8833         lt_save_allow_undefined_flag=$allow_undefined_flag
   8834         allow_undefined_flag=
   8835         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   8836   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8837   ac_status=$?
   8838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8839   test $ac_status = 0; }
   8840         then
   8841 	  archive_cmds_need_lc=no
   8842         else
   8843 	  archive_cmds_need_lc=yes
   8844         fi
   8845         allow_undefined_flag=$lt_save_allow_undefined_flag
   8846       else
   8847         cat conftest.err 1>&5
   8848       fi
   8849       $RM conftest*
   8850       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   8851 $as_echo "$archive_cmds_need_lc" >&6; }
   8852       ;;
   8853     esac
   8854   fi
   8855   ;;
   8856 esac
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9015 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9016 
   9017 if test "$GCC" = yes; then
   9018   case $host_os in
   9019     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9020     *) lt_awk_arg="/^libraries:/" ;;
   9021   esac
   9022   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9023   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9024     # if the path contains ";" then we assume it to be the separator
   9025     # otherwise default to the standard path separator (i.e. ":") - it is
   9026     # assumed that no part of a normal pathname contains ";" but that should
   9027     # okay in the real world where ";" in dirpaths is itself problematic.
   9028     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9029   else
   9030     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9031   fi
   9032   # Ok, now we have the path, separated by spaces, we can step through it
   9033   # and add multilib dir if necessary.
   9034   lt_tmp_lt_search_path_spec=
   9035   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9036   for lt_sys_path in $lt_search_path_spec; do
   9037     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9038       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9039     else
   9040       test -d "$lt_sys_path" && \
   9041 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9042     fi
   9043   done
   9044   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9045 BEGIN {RS=" "; FS="/|\n";} {
   9046   lt_foo="";
   9047   lt_count=0;
   9048   for (lt_i = NF; lt_i > 0; lt_i--) {
   9049     if ($lt_i != "" && $lt_i != ".") {
   9050       if ($lt_i == "..") {
   9051         lt_count++;
   9052       } else {
   9053         if (lt_count == 0) {
   9054           lt_foo="/" $lt_i lt_foo;
   9055         } else {
   9056           lt_count--;
   9057         }
   9058       }
   9059     }
   9060   }
   9061   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9062   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9063 }'`
   9064   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9065 else
   9066   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9067 fi
   9068 library_names_spec=
   9069 libname_spec='lib$name'
   9070 soname_spec=
   9071 shrext_cmds=".so"
   9072 postinstall_cmds=
   9073 postuninstall_cmds=
   9074 finish_cmds=
   9075 finish_eval=
   9076 shlibpath_var=
   9077 shlibpath_overrides_runpath=unknown
   9078 version_type=none
   9079 dynamic_linker="$host_os ld.so"
   9080 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9081 need_lib_prefix=unknown
   9082 hardcode_into_libs=no
   9083 
   9084 # when you set need_version to no, make sure it does not cause -set_version
   9085 # flags to be left without arguments
   9086 need_version=unknown
   9087 
   9088 case $host_os in
   9089 aix3*)
   9090   version_type=linux
   9091   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9092   shlibpath_var=LIBPATH
   9093 
   9094   # AIX 3 has no versioning support, so we append a major version to the name.
   9095   soname_spec='${libname}${release}${shared_ext}$major'
   9096   ;;
   9097 
   9098 aix[4-9]*)
   9099   version_type=linux
   9100   need_lib_prefix=no
   9101   need_version=no
   9102   hardcode_into_libs=yes
   9103   if test "$host_cpu" = ia64; then
   9104     # AIX 5 supports IA64
   9105     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9106     shlibpath_var=LD_LIBRARY_PATH
   9107   else
   9108     # With GCC up to 2.95.x, collect2 would create an import file
   9109     # for dependence libraries.  The import file would start with
   9110     # the line `#! .'.  This would cause the generated library to
   9111     # depend on `.', always an invalid library.  This was fixed in
   9112     # development snapshots of GCC prior to 3.0.
   9113     case $host_os in
   9114       aix4 | aix4.[01] | aix4.[01].*)
   9115       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9116 	   echo ' yes '
   9117 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9118 	:
   9119       else
   9120 	can_build_shared=no
   9121       fi
   9122       ;;
   9123     esac
   9124     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9125     # soname into executable. Probably we can add versioning support to
   9126     # collect2, so additional links can be useful in future.
   9127     if test "$aix_use_runtimelinking" = yes; then
   9128       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9129       # instead of lib<name>.a to let people know that these are not
   9130       # typical AIX shared libraries.
   9131       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9132     else
   9133       # We preserve .a as extension for shared libraries through AIX4.2
   9134       # and later when we are not doing run time linking.
   9135       library_names_spec='${libname}${release}.a $libname.a'
   9136       soname_spec='${libname}${release}${shared_ext}$major'
   9137     fi
   9138     shlibpath_var=LIBPATH
   9139   fi
   9140   ;;
   9141 
   9142 amigaos*)
   9143   case $host_cpu in
   9144   powerpc)
   9145     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9146     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9147     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9148     ;;
   9149   m68k)
   9150     library_names_spec='$libname.ixlibrary $libname.a'
   9151     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9152     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'
   9153     ;;
   9154   esac
   9155   ;;
   9156 
   9157 beos*)
   9158   library_names_spec='${libname}${shared_ext}'
   9159   dynamic_linker="$host_os ld.so"
   9160   shlibpath_var=LIBRARY_PATH
   9161   ;;
   9162 
   9163 bsdi[45]*)
   9164   version_type=linux
   9165   need_version=no
   9166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9167   soname_spec='${libname}${release}${shared_ext}$major'
   9168   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9169   shlibpath_var=LD_LIBRARY_PATH
   9170   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9171   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9172   # the default ld.so.conf also contains /usr/contrib/lib and
   9173   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9174   # libtool to hard-code these into programs
   9175   ;;
   9176 
   9177 cygwin* | mingw* | pw32* | cegcc*)
   9178   version_type=windows
   9179   shrext_cmds=".dll"
   9180   need_version=no
   9181   need_lib_prefix=no
   9182 
   9183   case $GCC,$host_os in
   9184   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9185     library_names_spec='$libname.dll.a'
   9186     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9187     postinstall_cmds='base_file=`basename \${file}`~
   9188       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9189       dldir=$destdir/`dirname \$dlpath`~
   9190       test -d \$dldir || mkdir -p \$dldir~
   9191       $install_prog $dir/$dlname \$dldir/$dlname~
   9192       chmod a+x \$dldir/$dlname~
   9193       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9194         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9195       fi'
   9196     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9197       dlpath=$dir/\$dldll~
   9198        $RM \$dlpath'
   9199     shlibpath_overrides_runpath=yes
   9200 
   9201     case $host_os in
   9202     cygwin*)
   9203       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9204       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9205       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9206       ;;
   9207     mingw* | cegcc*)
   9208       # MinGW DLLs use traditional 'lib' prefix
   9209       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9210       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9211       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9212         # It is most probably a Windows format PATH printed by
   9213         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9214         # path with ; separators, and with drive letters. We can handle the
   9215         # drive letters (cygwin fileutils understands them), so leave them,
   9216         # especially as we might pass files found there to a mingw objdump,
   9217         # which wouldn't understand a cygwinified path. Ahh.
   9218         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9219       else
   9220         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9221       fi
   9222       ;;
   9223     pw32*)
   9224       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9225       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9226       ;;
   9227     esac
   9228     ;;
   9229 
   9230   *)
   9231     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9232     ;;
   9233   esac
   9234   dynamic_linker='Win32 ld.exe'
   9235   # FIXME: first we should search . and the directory the executable is in
   9236   shlibpath_var=PATH
   9237   ;;
   9238 
   9239 darwin* | rhapsody*)
   9240   dynamic_linker="$host_os dyld"
   9241   version_type=darwin
   9242   need_lib_prefix=no
   9243   need_version=no
   9244   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9245   soname_spec='${libname}${release}${major}$shared_ext'
   9246   shlibpath_overrides_runpath=yes
   9247   shlibpath_var=DYLD_LIBRARY_PATH
   9248   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9249 
   9250   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9251   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9252   ;;
   9253 
   9254 dgux*)
   9255   version_type=linux
   9256   need_lib_prefix=no
   9257   need_version=no
   9258   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9259   soname_spec='${libname}${release}${shared_ext}$major'
   9260   shlibpath_var=LD_LIBRARY_PATH
   9261   ;;
   9262 
   9263 freebsd1*)
   9264   dynamic_linker=no
   9265   ;;
   9266 
   9267 freebsd* | dragonfly*)
   9268   # DragonFly does not have aout.  When/if they implement a new
   9269   # versioning mechanism, adjust this.
   9270   if test -x /usr/bin/objformat; then
   9271     objformat=`/usr/bin/objformat`
   9272   else
   9273     case $host_os in
   9274     freebsd[123]*) objformat=aout ;;
   9275     *) objformat=elf ;;
   9276     esac
   9277   fi
   9278   version_type=freebsd-$objformat
   9279   case $version_type in
   9280     freebsd-elf*)
   9281       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9282       need_version=no
   9283       need_lib_prefix=no
   9284       ;;
   9285     freebsd-*)
   9286       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9287       need_version=yes
   9288       ;;
   9289   esac
   9290   shlibpath_var=LD_LIBRARY_PATH
   9291   case $host_os in
   9292   freebsd2*)
   9293     shlibpath_overrides_runpath=yes
   9294     ;;
   9295   freebsd3.[01]* | freebsdelf3.[01]*)
   9296     shlibpath_overrides_runpath=yes
   9297     hardcode_into_libs=yes
   9298     ;;
   9299   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9300   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9301     shlibpath_overrides_runpath=no
   9302     hardcode_into_libs=yes
   9303     ;;
   9304   *) # from 4.6 on, and DragonFly
   9305     shlibpath_overrides_runpath=yes
   9306     hardcode_into_libs=yes
   9307     ;;
   9308   esac
   9309   ;;
   9310 
   9311 gnu*)
   9312   version_type=linux
   9313   need_lib_prefix=no
   9314   need_version=no
   9315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9316   soname_spec='${libname}${release}${shared_ext}$major'
   9317   shlibpath_var=LD_LIBRARY_PATH
   9318   hardcode_into_libs=yes
   9319   ;;
   9320 
   9321 hpux9* | hpux10* | hpux11*)
   9322   # Give a soname corresponding to the major version so that dld.sl refuses to
   9323   # link against other versions.
   9324   version_type=sunos
   9325   need_lib_prefix=no
   9326   need_version=no
   9327   case $host_cpu in
   9328   ia64*)
   9329     shrext_cmds='.so'
   9330     hardcode_into_libs=yes
   9331     dynamic_linker="$host_os dld.so"
   9332     shlibpath_var=LD_LIBRARY_PATH
   9333     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9334     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9335     soname_spec='${libname}${release}${shared_ext}$major'
   9336     if test "X$HPUX_IA64_MODE" = X32; then
   9337       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9338     else
   9339       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9340     fi
   9341     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9342     ;;
   9343   hppa*64*)
   9344     shrext_cmds='.sl'
   9345     hardcode_into_libs=yes
   9346     dynamic_linker="$host_os dld.sl"
   9347     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9348     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9349     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9350     soname_spec='${libname}${release}${shared_ext}$major'
   9351     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9352     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9353     ;;
   9354   *)
   9355     shrext_cmds='.sl'
   9356     dynamic_linker="$host_os dld.sl"
   9357     shlibpath_var=SHLIB_PATH
   9358     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9359     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9360     soname_spec='${libname}${release}${shared_ext}$major'
   9361     ;;
   9362   esac
   9363   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9364   postinstall_cmds='chmod 555 $lib'
   9365   ;;
   9366 
   9367 interix[3-9]*)
   9368   version_type=linux
   9369   need_lib_prefix=no
   9370   need_version=no
   9371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9372   soname_spec='${libname}${release}${shared_ext}$major'
   9373   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9374   shlibpath_var=LD_LIBRARY_PATH
   9375   shlibpath_overrides_runpath=no
   9376   hardcode_into_libs=yes
   9377   ;;
   9378 
   9379 irix5* | irix6* | nonstopux*)
   9380   case $host_os in
   9381     nonstopux*) version_type=nonstopux ;;
   9382     *)
   9383 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9384 		version_type=linux
   9385 	else
   9386 		version_type=irix
   9387 	fi ;;
   9388   esac
   9389   need_lib_prefix=no
   9390   need_version=no
   9391   soname_spec='${libname}${release}${shared_ext}$major'
   9392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9393   case $host_os in
   9394   irix5* | nonstopux*)
   9395     libsuff= shlibsuff=
   9396     ;;
   9397   *)
   9398     case $LD in # libtool.m4 will add one of these switches to LD
   9399     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9400       libsuff= shlibsuff= libmagic=32-bit;;
   9401     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9402       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9403     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9404       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9405     *) libsuff= shlibsuff= libmagic=never-match;;
   9406     esac
   9407     ;;
   9408   esac
   9409   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9410   shlibpath_overrides_runpath=no
   9411   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9412   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9413   hardcode_into_libs=yes
   9414   ;;
   9415 
   9416 # No shared lib support for Linux oldld, aout, or coff.
   9417 linux*oldld* | linux*aout* | linux*coff*)
   9418   dynamic_linker=no
   9419   ;;
   9420 
   9421 # This must be Linux ELF.
   9422 linux* | k*bsd*-gnu)
   9423   version_type=linux
   9424   need_lib_prefix=no
   9425   need_version=no
   9426   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9427   soname_spec='${libname}${release}${shared_ext}$major'
   9428   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9429   shlibpath_var=LD_LIBRARY_PATH
   9430   shlibpath_overrides_runpath=no
   9431   # Some binutils ld are patched to set DT_RUNPATH
   9432   save_LDFLAGS=$LDFLAGS
   9433   save_libdir=$libdir
   9434   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9435        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9437 /* end confdefs.h.  */
   9438 
   9439 int
   9440 main ()
   9441 {
   9442 
   9443   ;
   9444   return 0;
   9445 }
   9446 _ACEOF
   9447 if ac_fn_c_try_link "$LINENO"; then :
   9448   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   9449   shlibpath_overrides_runpath=yes
   9450 fi
   9451 fi
   9452 rm -f core conftest.err conftest.$ac_objext \
   9453     conftest$ac_exeext conftest.$ac_ext
   9454   LDFLAGS=$save_LDFLAGS
   9455   libdir=$save_libdir
   9456 
   9457   # This implies no fast_install, which is unacceptable.
   9458   # Some rework will be needed to allow for fast_install
   9459   # before this can be enabled.
   9460   hardcode_into_libs=yes
   9461 
   9462   # Add ABI-specific directories to the system library path.
   9463   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   9464 
   9465   # Append ld.so.conf contents to the search path
   9466   if test -f /etc/ld.so.conf; then
   9467     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' ' '`
   9468     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9469   fi
   9470 
   9471   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9472   # powerpc, because MkLinux only supported shared libraries with the
   9473   # GNU dynamic linker.  Since this was broken with cross compilers,
   9474   # most powerpc-linux boxes support dynamic linking these days and
   9475   # people can always --disable-shared, the test was removed, and we
   9476   # assume the GNU/Linux dynamic linker is in use.
   9477   dynamic_linker='GNU/Linux ld.so'
   9478   ;;
   9479 
   9480 netbsd*)
   9481   version_type=sunos
   9482   need_lib_prefix=no
   9483   need_version=no
   9484   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9485     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9486     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9487     dynamic_linker='NetBSD (a.out) ld.so'
   9488   else
   9489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9490     soname_spec='${libname}${release}${shared_ext}$major'
   9491     dynamic_linker='NetBSD ld.elf_so'
   9492   fi
   9493   shlibpath_var=LD_LIBRARY_PATH
   9494   shlibpath_overrides_runpath=yes
   9495   hardcode_into_libs=yes
   9496   ;;
   9497 
   9498 newsos6)
   9499   version_type=linux
   9500   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9501   shlibpath_var=LD_LIBRARY_PATH
   9502   shlibpath_overrides_runpath=yes
   9503   ;;
   9504 
   9505 *nto* | *qnx*)
   9506   version_type=qnx
   9507   need_lib_prefix=no
   9508   need_version=no
   9509   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9510   soname_spec='${libname}${release}${shared_ext}$major'
   9511   shlibpath_var=LD_LIBRARY_PATH
   9512   shlibpath_overrides_runpath=no
   9513   hardcode_into_libs=yes
   9514   dynamic_linker='ldqnx.so'
   9515   ;;
   9516 
   9517 openbsd*)
   9518   version_type=sunos
   9519   sys_lib_dlsearch_path_spec="/usr/lib"
   9520   need_lib_prefix=no
   9521   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9522   case $host_os in
   9523     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9524     *)				need_version=no  ;;
   9525   esac
   9526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9527   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9528   shlibpath_var=LD_LIBRARY_PATH
   9529   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9530     case $host_os in
   9531       openbsd2.[89] | openbsd2.[89].*)
   9532 	shlibpath_overrides_runpath=no
   9533 	;;
   9534       *)
   9535 	shlibpath_overrides_runpath=yes
   9536 	;;
   9537       esac
   9538   else
   9539     shlibpath_overrides_runpath=yes
   9540   fi
   9541   ;;
   9542 
   9543 os2*)
   9544   libname_spec='$name'
   9545   shrext_cmds=".dll"
   9546   need_lib_prefix=no
   9547   library_names_spec='$libname${shared_ext} $libname.a'
   9548   dynamic_linker='OS/2 ld.exe'
   9549   shlibpath_var=LIBPATH
   9550   ;;
   9551 
   9552 osf3* | osf4* | osf5*)
   9553   version_type=osf
   9554   need_lib_prefix=no
   9555   need_version=no
   9556   soname_spec='${libname}${release}${shared_ext}$major'
   9557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9558   shlibpath_var=LD_LIBRARY_PATH
   9559   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9560   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9561   ;;
   9562 
   9563 rdos*)
   9564   dynamic_linker=no
   9565   ;;
   9566 
   9567 solaris*)
   9568   version_type=linux
   9569   need_lib_prefix=no
   9570   need_version=no
   9571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9572   soname_spec='${libname}${release}${shared_ext}$major'
   9573   shlibpath_var=LD_LIBRARY_PATH
   9574   shlibpath_overrides_runpath=yes
   9575   hardcode_into_libs=yes
   9576   # ldd complains unless libraries are executable
   9577   postinstall_cmds='chmod +x $lib'
   9578   ;;
   9579 
   9580 sunos4*)
   9581   version_type=sunos
   9582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9583   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9584   shlibpath_var=LD_LIBRARY_PATH
   9585   shlibpath_overrides_runpath=yes
   9586   if test "$with_gnu_ld" = yes; then
   9587     need_lib_prefix=no
   9588   fi
   9589   need_version=yes
   9590   ;;
   9591 
   9592 sysv4 | sysv4.3*)
   9593   version_type=linux
   9594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9595   soname_spec='${libname}${release}${shared_ext}$major'
   9596   shlibpath_var=LD_LIBRARY_PATH
   9597   case $host_vendor in
   9598     sni)
   9599       shlibpath_overrides_runpath=no
   9600       need_lib_prefix=no
   9601       runpath_var=LD_RUN_PATH
   9602       ;;
   9603     siemens)
   9604       need_lib_prefix=no
   9605       ;;
   9606     motorola)
   9607       need_lib_prefix=no
   9608       need_version=no
   9609       shlibpath_overrides_runpath=no
   9610       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9611       ;;
   9612   esac
   9613   ;;
   9614 
   9615 sysv4*MP*)
   9616   if test -d /usr/nec ;then
   9617     version_type=linux
   9618     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9619     soname_spec='$libname${shared_ext}.$major'
   9620     shlibpath_var=LD_LIBRARY_PATH
   9621   fi
   9622   ;;
   9623 
   9624 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9625   version_type=freebsd-elf
   9626   need_lib_prefix=no
   9627   need_version=no
   9628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9629   soname_spec='${libname}${release}${shared_ext}$major'
   9630   shlibpath_var=LD_LIBRARY_PATH
   9631   shlibpath_overrides_runpath=yes
   9632   hardcode_into_libs=yes
   9633   if test "$with_gnu_ld" = yes; then
   9634     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9635   else
   9636     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9637     case $host_os in
   9638       sco3.2v5*)
   9639         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9640 	;;
   9641     esac
   9642   fi
   9643   sys_lib_dlsearch_path_spec='/usr/lib'
   9644   ;;
   9645 
   9646 tpf*)
   9647   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   9648   version_type=linux
   9649   need_lib_prefix=no
   9650   need_version=no
   9651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9652   shlibpath_var=LD_LIBRARY_PATH
   9653   shlibpath_overrides_runpath=no
   9654   hardcode_into_libs=yes
   9655   ;;
   9656 
   9657 uts4*)
   9658   version_type=linux
   9659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9660   soname_spec='${libname}${release}${shared_ext}$major'
   9661   shlibpath_var=LD_LIBRARY_PATH
   9662   ;;
   9663 
   9664 *)
   9665   dynamic_linker=no
   9666   ;;
   9667 esac
   9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   9669 $as_echo "$dynamic_linker" >&6; }
   9670 test "$dynamic_linker" = no && can_build_shared=no
   9671 
   9672 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9673 if test "$GCC" = yes; then
   9674   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9675 fi
   9676 
   9677 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9678   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9679 fi
   9680 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9681   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9682 fi
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   9771 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9772 hardcode_action=
   9773 if test -n "$hardcode_libdir_flag_spec" ||
   9774    test -n "$runpath_var" ||
   9775    test "X$hardcode_automatic" = "Xyes" ; then
   9776 
   9777   # We can hardcode non-existent directories.
   9778   if test "$hardcode_direct" != no &&
   9779      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9780      # have to relink, otherwise we might link with an installed library
   9781      # when we should be linking with a yet-to-be-installed one
   9782      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9783      test "$hardcode_minus_L" != no; then
   9784     # Linking always hardcodes the temporary library directory.
   9785     hardcode_action=relink
   9786   else
   9787     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9788     hardcode_action=immediate
   9789   fi
   9790 else
   9791   # We cannot hardcode anything, or else we can only hardcode existing
   9792   # directories.
   9793   hardcode_action=unsupported
   9794 fi
   9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   9796 $as_echo "$hardcode_action" >&6; }
   9797 
   9798 if test "$hardcode_action" = relink ||
   9799    test "$inherit_rpath" = yes; then
   9800   # Fast installation is not supported
   9801   enable_fast_install=no
   9802 elif test "$shlibpath_overrides_runpath" = yes ||
   9803      test "$enable_shared" = no; then
   9804   # Fast installation is not necessary
   9805   enable_fast_install=needless
   9806 fi
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813   if test "x$enable_dlopen" != xyes; then
   9814   enable_dlopen=unknown
   9815   enable_dlopen_self=unknown
   9816   enable_dlopen_self_static=unknown
   9817 else
   9818   lt_cv_dlopen=no
   9819   lt_cv_dlopen_libs=
   9820 
   9821   case $host_os in
   9822   beos*)
   9823     lt_cv_dlopen="load_add_on"
   9824     lt_cv_dlopen_libs=
   9825     lt_cv_dlopen_self=yes
   9826     ;;
   9827 
   9828   mingw* | pw32* | cegcc*)
   9829     lt_cv_dlopen="LoadLibrary"
   9830     lt_cv_dlopen_libs=
   9831     ;;
   9832 
   9833   cygwin*)
   9834     lt_cv_dlopen="dlopen"
   9835     lt_cv_dlopen_libs=
   9836     ;;
   9837 
   9838   darwin*)
   9839   # if libdl is installed we need to link against it
   9840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   9841 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9842 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   9843   $as_echo_n "(cached) " >&6
   9844 else
   9845   ac_check_lib_save_LIBS=$LIBS
   9846 LIBS="-ldl  $LIBS"
   9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9848 /* end confdefs.h.  */
   9849 
   9850 /* Override any GCC internal prototype to avoid an error.
   9851    Use char because int might match the return type of a GCC
   9852    builtin and then its argument prototype would still apply.  */
   9853 #ifdef __cplusplus
   9854 extern "C"
   9855 #endif
   9856 char dlopen ();
   9857 int
   9858 main ()
   9859 {
   9860 return dlopen ();
   9861   ;
   9862   return 0;
   9863 }
   9864 _ACEOF
   9865 if ac_fn_c_try_link "$LINENO"; then :
   9866   ac_cv_lib_dl_dlopen=yes
   9867 else
   9868   ac_cv_lib_dl_dlopen=no
   9869 fi
   9870 rm -f core conftest.err conftest.$ac_objext \
   9871     conftest$ac_exeext conftest.$ac_ext
   9872 LIBS=$ac_check_lib_save_LIBS
   9873 fi
   9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   9875 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9876 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   9877   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9878 else
   9879 
   9880     lt_cv_dlopen="dyld"
   9881     lt_cv_dlopen_libs=
   9882     lt_cv_dlopen_self=yes
   9883 
   9884 fi
   9885 
   9886     ;;
   9887 
   9888   *)
   9889     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   9890 if test "x$ac_cv_func_shl_load" = x""yes; then :
   9891   lt_cv_dlopen="shl_load"
   9892 else
   9893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   9894 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   9895 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   9896   $as_echo_n "(cached) " >&6
   9897 else
   9898   ac_check_lib_save_LIBS=$LIBS
   9899 LIBS="-ldld  $LIBS"
   9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9901 /* end confdefs.h.  */
   9902 
   9903 /* Override any GCC internal prototype to avoid an error.
   9904    Use char because int might match the return type of a GCC
   9905    builtin and then its argument prototype would still apply.  */
   9906 #ifdef __cplusplus
   9907 extern "C"
   9908 #endif
   9909 char shl_load ();
   9910 int
   9911 main ()
   9912 {
   9913 return shl_load ();
   9914   ;
   9915   return 0;
   9916 }
   9917 _ACEOF
   9918 if ac_fn_c_try_link "$LINENO"; then :
   9919   ac_cv_lib_dld_shl_load=yes
   9920 else
   9921   ac_cv_lib_dld_shl_load=no
   9922 fi
   9923 rm -f core conftest.err conftest.$ac_objext \
   9924     conftest$ac_exeext conftest.$ac_ext
   9925 LIBS=$ac_check_lib_save_LIBS
   9926 fi
   9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   9928 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   9929 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   9930   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   9931 else
   9932   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   9933 if test "x$ac_cv_func_dlopen" = x""yes; then :
   9934   lt_cv_dlopen="dlopen"
   9935 else
   9936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   9937 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9938 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   9939   $as_echo_n "(cached) " >&6
   9940 else
   9941   ac_check_lib_save_LIBS=$LIBS
   9942 LIBS="-ldl  $LIBS"
   9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9944 /* end confdefs.h.  */
   9945 
   9946 /* Override any GCC internal prototype to avoid an error.
   9947    Use char because int might match the return type of a GCC
   9948    builtin and then its argument prototype would still apply.  */
   9949 #ifdef __cplusplus
   9950 extern "C"
   9951 #endif
   9952 char dlopen ();
   9953 int
   9954 main ()
   9955 {
   9956 return dlopen ();
   9957   ;
   9958   return 0;
   9959 }
   9960 _ACEOF
   9961 if ac_fn_c_try_link "$LINENO"; then :
   9962   ac_cv_lib_dl_dlopen=yes
   9963 else
   9964   ac_cv_lib_dl_dlopen=no
   9965 fi
   9966 rm -f core conftest.err conftest.$ac_objext \
   9967     conftest$ac_exeext conftest.$ac_ext
   9968 LIBS=$ac_check_lib_save_LIBS
   9969 fi
   9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   9971 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9972 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   9973   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9974 else
   9975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   9976 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   9977 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   9978   $as_echo_n "(cached) " >&6
   9979 else
   9980   ac_check_lib_save_LIBS=$LIBS
   9981 LIBS="-lsvld  $LIBS"
   9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9983 /* end confdefs.h.  */
   9984 
   9985 /* Override any GCC internal prototype to avoid an error.
   9986    Use char because int might match the return type of a GCC
   9987    builtin and then its argument prototype would still apply.  */
   9988 #ifdef __cplusplus
   9989 extern "C"
   9990 #endif
   9991 char dlopen ();
   9992 int
   9993 main ()
   9994 {
   9995 return dlopen ();
   9996   ;
   9997   return 0;
   9998 }
   9999 _ACEOF
   10000 if ac_fn_c_try_link "$LINENO"; then :
   10001   ac_cv_lib_svld_dlopen=yes
   10002 else
   10003   ac_cv_lib_svld_dlopen=no
   10004 fi
   10005 rm -f core conftest.err conftest.$ac_objext \
   10006     conftest$ac_exeext conftest.$ac_ext
   10007 LIBS=$ac_check_lib_save_LIBS
   10008 fi
   10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10010 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10011 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   10012   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10013 else
   10014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10015 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10016 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   10017   $as_echo_n "(cached) " >&6
   10018 else
   10019   ac_check_lib_save_LIBS=$LIBS
   10020 LIBS="-ldld  $LIBS"
   10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10022 /* end confdefs.h.  */
   10023 
   10024 /* Override any GCC internal prototype to avoid an error.
   10025    Use char because int might match the return type of a GCC
   10026    builtin and then its argument prototype would still apply.  */
   10027 #ifdef __cplusplus
   10028 extern "C"
   10029 #endif
   10030 char dld_link ();
   10031 int
   10032 main ()
   10033 {
   10034 return dld_link ();
   10035   ;
   10036   return 0;
   10037 }
   10038 _ACEOF
   10039 if ac_fn_c_try_link "$LINENO"; then :
   10040   ac_cv_lib_dld_dld_link=yes
   10041 else
   10042   ac_cv_lib_dld_dld_link=no
   10043 fi
   10044 rm -f core conftest.err conftest.$ac_objext \
   10045     conftest$ac_exeext conftest.$ac_ext
   10046 LIBS=$ac_check_lib_save_LIBS
   10047 fi
   10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10049 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10050 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   10051   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10052 fi
   10053 
   10054 
   10055 fi
   10056 
   10057 
   10058 fi
   10059 
   10060 
   10061 fi
   10062 
   10063 
   10064 fi
   10065 
   10066 
   10067 fi
   10068 
   10069     ;;
   10070   esac
   10071 
   10072   if test "x$lt_cv_dlopen" != xno; then
   10073     enable_dlopen=yes
   10074   else
   10075     enable_dlopen=no
   10076   fi
   10077 
   10078   case $lt_cv_dlopen in
   10079   dlopen)
   10080     save_CPPFLAGS="$CPPFLAGS"
   10081     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10082 
   10083     save_LDFLAGS="$LDFLAGS"
   10084     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10085 
   10086     save_LIBS="$LIBS"
   10087     LIBS="$lt_cv_dlopen_libs $LIBS"
   10088 
   10089     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10090 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10091 if test "${lt_cv_dlopen_self+set}" = set; then :
   10092   $as_echo_n "(cached) " >&6
   10093 else
   10094   	  if test "$cross_compiling" = yes; then :
   10095   lt_cv_dlopen_self=cross
   10096 else
   10097   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10098   lt_status=$lt_dlunknown
   10099   cat > conftest.$ac_ext <<_LT_EOF
   10100 #line 10100 "configure"
   10101 #include "confdefs.h"
   10102 
   10103 #if HAVE_DLFCN_H
   10104 #include <dlfcn.h>
   10105 #endif
   10106 
   10107 #include <stdio.h>
   10108 
   10109 #ifdef RTLD_GLOBAL
   10110 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10111 #else
   10112 #  ifdef DL_GLOBAL
   10113 #    define LT_DLGLOBAL		DL_GLOBAL
   10114 #  else
   10115 #    define LT_DLGLOBAL		0
   10116 #  endif
   10117 #endif
   10118 
   10119 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10120    find out it does not work in some platform. */
   10121 #ifndef LT_DLLAZY_OR_NOW
   10122 #  ifdef RTLD_LAZY
   10123 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10124 #  else
   10125 #    ifdef DL_LAZY
   10126 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10127 #    else
   10128 #      ifdef RTLD_NOW
   10129 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10130 #      else
   10131 #        ifdef DL_NOW
   10132 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10133 #        else
   10134 #          define LT_DLLAZY_OR_NOW	0
   10135 #        endif
   10136 #      endif
   10137 #    endif
   10138 #  endif
   10139 #endif
   10140 
   10141 void fnord() { int i=42;}
   10142 int main ()
   10143 {
   10144   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10145   int status = $lt_dlunknown;
   10146 
   10147   if (self)
   10148     {
   10149       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10150       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10151       /* dlclose (self); */
   10152     }
   10153   else
   10154     puts (dlerror ());
   10155 
   10156   return status;
   10157 }
   10158 _LT_EOF
   10159   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10160   (eval $ac_link) 2>&5
   10161   ac_status=$?
   10162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10163   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10164     (./conftest; exit; ) >&5 2>/dev/null
   10165     lt_status=$?
   10166     case x$lt_status in
   10167       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10168       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10169       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10170     esac
   10171   else :
   10172     # compilation failed
   10173     lt_cv_dlopen_self=no
   10174   fi
   10175 fi
   10176 rm -fr conftest*
   10177 
   10178 
   10179 fi
   10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10181 $as_echo "$lt_cv_dlopen_self" >&6; }
   10182 
   10183     if test "x$lt_cv_dlopen_self" = xyes; then
   10184       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10185       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10186 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10187 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   10188   $as_echo_n "(cached) " >&6
   10189 else
   10190   	  if test "$cross_compiling" = yes; then :
   10191   lt_cv_dlopen_self_static=cross
   10192 else
   10193   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10194   lt_status=$lt_dlunknown
   10195   cat > conftest.$ac_ext <<_LT_EOF
   10196 #line 10196 "configure"
   10197 #include "confdefs.h"
   10198 
   10199 #if HAVE_DLFCN_H
   10200 #include <dlfcn.h>
   10201 #endif
   10202 
   10203 #include <stdio.h>
   10204 
   10205 #ifdef RTLD_GLOBAL
   10206 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10207 #else
   10208 #  ifdef DL_GLOBAL
   10209 #    define LT_DLGLOBAL		DL_GLOBAL
   10210 #  else
   10211 #    define LT_DLGLOBAL		0
   10212 #  endif
   10213 #endif
   10214 
   10215 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10216    find out it does not work in some platform. */
   10217 #ifndef LT_DLLAZY_OR_NOW
   10218 #  ifdef RTLD_LAZY
   10219 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10220 #  else
   10221 #    ifdef DL_LAZY
   10222 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10223 #    else
   10224 #      ifdef RTLD_NOW
   10225 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10226 #      else
   10227 #        ifdef DL_NOW
   10228 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10229 #        else
   10230 #          define LT_DLLAZY_OR_NOW	0
   10231 #        endif
   10232 #      endif
   10233 #    endif
   10234 #  endif
   10235 #endif
   10236 
   10237 void fnord() { int i=42;}
   10238 int main ()
   10239 {
   10240   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10241   int status = $lt_dlunknown;
   10242 
   10243   if (self)
   10244     {
   10245       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10246       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10247       /* dlclose (self); */
   10248     }
   10249   else
   10250     puts (dlerror ());
   10251 
   10252   return status;
   10253 }
   10254 _LT_EOF
   10255   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10256   (eval $ac_link) 2>&5
   10257   ac_status=$?
   10258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10259   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10260     (./conftest; exit; ) >&5 2>/dev/null
   10261     lt_status=$?
   10262     case x$lt_status in
   10263       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10264       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10265       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10266     esac
   10267   else :
   10268     # compilation failed
   10269     lt_cv_dlopen_self_static=no
   10270   fi
   10271 fi
   10272 rm -fr conftest*
   10273 
   10274 
   10275 fi
   10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   10277 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10278     fi
   10279 
   10280     CPPFLAGS="$save_CPPFLAGS"
   10281     LDFLAGS="$save_LDFLAGS"
   10282     LIBS="$save_LIBS"
   10283     ;;
   10284   esac
   10285 
   10286   case $lt_cv_dlopen_self in
   10287   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10288   *) enable_dlopen_self=unknown ;;
   10289   esac
   10290 
   10291   case $lt_cv_dlopen_self_static in
   10292   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10293   *) enable_dlopen_self_static=unknown ;;
   10294   esac
   10295 fi
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 striplib=
   10314 old_striplib=
   10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   10316 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10317 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10318   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10319   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10321 $as_echo "yes" >&6; }
   10322 else
   10323 # FIXME - insert some real tests, host_os isn't really good enough
   10324   case $host_os in
   10325   darwin*)
   10326     if test -n "$STRIP" ; then
   10327       striplib="$STRIP -x"
   10328       old_striplib="$STRIP -S"
   10329       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10330 $as_echo "yes" >&6; }
   10331     else
   10332       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10333 $as_echo "no" >&6; }
   10334     fi
   10335     ;;
   10336   *)
   10337     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10338 $as_echo "no" >&6; }
   10339     ;;
   10340   esac
   10341 fi
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354   # Report which library types will actually be built
   10355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   10356 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   10358 $as_echo "$can_build_shared" >&6; }
   10359 
   10360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   10361 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10362   test "$can_build_shared" = "no" && enable_shared=no
   10363 
   10364   # On AIX, shared libraries and static libraries use the same namespace, and
   10365   # are all built from PIC.
   10366   case $host_os in
   10367   aix3*)
   10368     test "$enable_shared" = yes && enable_static=no
   10369     if test -n "$RANLIB"; then
   10370       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10371       postinstall_cmds='$RANLIB $lib'
   10372     fi
   10373     ;;
   10374 
   10375   aix[4-9]*)
   10376     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10377       test "$enable_shared" = yes && enable_static=no
   10378     fi
   10379     ;;
   10380   esac
   10381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   10382 $as_echo "$enable_shared" >&6; }
   10383 
   10384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   10385 $as_echo_n "checking whether to build static libraries... " >&6; }
   10386   # Make sure either enable_shared or enable_static is yes.
   10387   test "$enable_shared" = yes || enable_static=yes
   10388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   10389 $as_echo "$enable_static" >&6; }
   10390 
   10391 
   10392 
   10393 
   10394 fi
   10395 ac_ext=c
   10396 ac_cpp='$CPP $CPPFLAGS'
   10397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10400 
   10401 CC="$lt_save_CC"
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415         ac_config_commands="$ac_config_commands libtool"
   10416 
   10417 
   10418 
   10419 
   10420 # Only expand once:
   10421 
   10422 
   10423 ac_ext=c
   10424 ac_cpp='$CPP $CPPFLAGS'
   10425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10428 if test -n "$ac_tool_prefix"; then
   10429   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   10430 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10432 $as_echo_n "checking for $ac_word... " >&6; }
   10433 if test "${ac_cv_prog_CC+set}" = set; then :
   10434   $as_echo_n "(cached) " >&6
   10435 else
   10436   if test -n "$CC"; then
   10437   ac_cv_prog_CC="$CC" # Let the user override the test.
   10438 else
   10439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10440 for as_dir in $PATH
   10441 do
   10442   IFS=$as_save_IFS
   10443   test -z "$as_dir" && as_dir=.
   10444     for ac_exec_ext in '' $ac_executable_extensions; do
   10445   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10446     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   10447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10448     break 2
   10449   fi
   10450 done
   10451   done
   10452 IFS=$as_save_IFS
   10453 
   10454 fi
   10455 fi
   10456 CC=$ac_cv_prog_CC
   10457 if test -n "$CC"; then
   10458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   10459 $as_echo "$CC" >&6; }
   10460 else
   10461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10462 $as_echo "no" >&6; }
   10463 fi
   10464 
   10465 
   10466 fi
   10467 if test -z "$ac_cv_prog_CC"; then
   10468   ac_ct_CC=$CC
   10469   # Extract the first word of "gcc", so it can be a program name with args.
   10470 set dummy gcc; ac_word=$2
   10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10472 $as_echo_n "checking for $ac_word... " >&6; }
   10473 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   10474   $as_echo_n "(cached) " >&6
   10475 else
   10476   if test -n "$ac_ct_CC"; then
   10477   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   10478 else
   10479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10480 for as_dir in $PATH
   10481 do
   10482   IFS=$as_save_IFS
   10483   test -z "$as_dir" && as_dir=.
   10484     for ac_exec_ext in '' $ac_executable_extensions; do
   10485   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10486     ac_cv_prog_ac_ct_CC="gcc"
   10487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10488     break 2
   10489   fi
   10490 done
   10491   done
   10492 IFS=$as_save_IFS
   10493 
   10494 fi
   10495 fi
   10496 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   10497 if test -n "$ac_ct_CC"; then
   10498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   10499 $as_echo "$ac_ct_CC" >&6; }
   10500 else
   10501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10502 $as_echo "no" >&6; }
   10503 fi
   10504 
   10505   if test "x$ac_ct_CC" = x; then
   10506     CC=""
   10507   else
   10508     case $cross_compiling:$ac_tool_warned in
   10509 yes:)
   10510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10512 ac_tool_warned=yes ;;
   10513 esac
   10514     CC=$ac_ct_CC
   10515   fi
   10516 else
   10517   CC="$ac_cv_prog_CC"
   10518 fi
   10519 
   10520 if test -z "$CC"; then
   10521           if test -n "$ac_tool_prefix"; then
   10522     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   10523 set dummy ${ac_tool_prefix}cc; ac_word=$2
   10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10525 $as_echo_n "checking for $ac_word... " >&6; }
   10526 if test "${ac_cv_prog_CC+set}" = set; then :
   10527   $as_echo_n "(cached) " >&6
   10528 else
   10529   if test -n "$CC"; then
   10530   ac_cv_prog_CC="$CC" # Let the user override the test.
   10531 else
   10532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10533 for as_dir in $PATH
   10534 do
   10535   IFS=$as_save_IFS
   10536   test -z "$as_dir" && as_dir=.
   10537     for ac_exec_ext in '' $ac_executable_extensions; do
   10538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10539     ac_cv_prog_CC="${ac_tool_prefix}cc"
   10540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10541     break 2
   10542   fi
   10543 done
   10544   done
   10545 IFS=$as_save_IFS
   10546 
   10547 fi
   10548 fi
   10549 CC=$ac_cv_prog_CC
   10550 if test -n "$CC"; then
   10551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   10552 $as_echo "$CC" >&6; }
   10553 else
   10554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10555 $as_echo "no" >&6; }
   10556 fi
   10557 
   10558 
   10559   fi
   10560 fi
   10561 if test -z "$CC"; then
   10562   # Extract the first word of "cc", so it can be a program name with args.
   10563 set dummy cc; ac_word=$2
   10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10565 $as_echo_n "checking for $ac_word... " >&6; }
   10566 if test "${ac_cv_prog_CC+set}" = set; then :
   10567   $as_echo_n "(cached) " >&6
   10568 else
   10569   if test -n "$CC"; then
   10570   ac_cv_prog_CC="$CC" # Let the user override the test.
   10571 else
   10572   ac_prog_rejected=no
   10573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10574 for as_dir in $PATH
   10575 do
   10576   IFS=$as_save_IFS
   10577   test -z "$as_dir" && as_dir=.
   10578     for ac_exec_ext in '' $ac_executable_extensions; do
   10579   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10580     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   10581        ac_prog_rejected=yes
   10582        continue
   10583      fi
   10584     ac_cv_prog_CC="cc"
   10585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10586     break 2
   10587   fi
   10588 done
   10589   done
   10590 IFS=$as_save_IFS
   10591 
   10592 if test $ac_prog_rejected = yes; then
   10593   # We found a bogon in the path, so make sure we never use it.
   10594   set dummy $ac_cv_prog_CC
   10595   shift
   10596   if test $# != 0; then
   10597     # We chose a different compiler from the bogus one.
   10598     # However, it has the same basename, so the bogon will be chosen
   10599     # first if we set CC to just the basename; use the full file name.
   10600     shift
   10601     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   10602   fi
   10603 fi
   10604 fi
   10605 fi
   10606 CC=$ac_cv_prog_CC
   10607 if test -n "$CC"; then
   10608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   10609 $as_echo "$CC" >&6; }
   10610 else
   10611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10612 $as_echo "no" >&6; }
   10613 fi
   10614 
   10615 
   10616 fi
   10617 if test -z "$CC"; then
   10618   if test -n "$ac_tool_prefix"; then
   10619   for ac_prog in cl.exe
   10620   do
   10621     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   10622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10624 $as_echo_n "checking for $ac_word... " >&6; }
   10625 if test "${ac_cv_prog_CC+set}" = set; then :
   10626   $as_echo_n "(cached) " >&6
   10627 else
   10628   if test -n "$CC"; then
   10629   ac_cv_prog_CC="$CC" # Let the user override the test.
   10630 else
   10631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10632 for as_dir in $PATH
   10633 do
   10634   IFS=$as_save_IFS
   10635   test -z "$as_dir" && as_dir=.
   10636     for ac_exec_ext in '' $ac_executable_extensions; do
   10637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10638     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   10639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10640     break 2
   10641   fi
   10642 done
   10643   done
   10644 IFS=$as_save_IFS
   10645 
   10646 fi
   10647 fi
   10648 CC=$ac_cv_prog_CC
   10649 if test -n "$CC"; then
   10650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   10651 $as_echo "$CC" >&6; }
   10652 else
   10653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10654 $as_echo "no" >&6; }
   10655 fi
   10656 
   10657 
   10658     test -n "$CC" && break
   10659   done
   10660 fi
   10661 if test -z "$CC"; then
   10662   ac_ct_CC=$CC
   10663   for ac_prog in cl.exe
   10664 do
   10665   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10666 set dummy $ac_prog; ac_word=$2
   10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10668 $as_echo_n "checking for $ac_word... " >&6; }
   10669 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   10670   $as_echo_n "(cached) " >&6
   10671 else
   10672   if test -n "$ac_ct_CC"; then
   10673   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   10674 else
   10675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10676 for as_dir in $PATH
   10677 do
   10678   IFS=$as_save_IFS
   10679   test -z "$as_dir" && as_dir=.
   10680     for ac_exec_ext in '' $ac_executable_extensions; do
   10681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10682     ac_cv_prog_ac_ct_CC="$ac_prog"
   10683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10684     break 2
   10685   fi
   10686 done
   10687   done
   10688 IFS=$as_save_IFS
   10689 
   10690 fi
   10691 fi
   10692 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   10693 if test -n "$ac_ct_CC"; then
   10694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   10695 $as_echo "$ac_ct_CC" >&6; }
   10696 else
   10697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10698 $as_echo "no" >&6; }
   10699 fi
   10700 
   10701 
   10702   test -n "$ac_ct_CC" && break
   10703 done
   10704 
   10705   if test "x$ac_ct_CC" = x; then
   10706     CC=""
   10707   else
   10708     case $cross_compiling:$ac_tool_warned in
   10709 yes:)
   10710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10712 ac_tool_warned=yes ;;
   10713 esac
   10714     CC=$ac_ct_CC
   10715   fi
   10716 fi
   10717 
   10718 fi
   10719 
   10720 
   10721 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10723 as_fn_error "no acceptable C compiler found in \$PATH
   10724 See \`config.log' for more details." "$LINENO" 5; }
   10725 
   10726 # Provide some information about the compiler.
   10727 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   10728 set X $ac_compile
   10729 ac_compiler=$2
   10730 for ac_option in --version -v -V -qversion; do
   10731   { { ac_try="$ac_compiler $ac_option >&5"
   10732 case "(($ac_try" in
   10733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10734   *) ac_try_echo=$ac_try;;
   10735 esac
   10736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10737 $as_echo "$ac_try_echo"; } >&5
   10738   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   10739   ac_status=$?
   10740   if test -s conftest.err; then
   10741     sed '10a\
   10742 ... rest of stderr output deleted ...
   10743          10q' conftest.err >conftest.er1
   10744     cat conftest.er1 >&5
   10745   fi
   10746   rm -f conftest.er1 conftest.err
   10747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10748   test $ac_status = 0; }
   10749 done
   10750 
   10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   10752 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   10753 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   10754   $as_echo_n "(cached) " >&6
   10755 else
   10756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10757 /* end confdefs.h.  */
   10758 
   10759 int
   10760 main ()
   10761 {
   10762 #ifndef __GNUC__
   10763        choke me
   10764 #endif
   10765 
   10766   ;
   10767   return 0;
   10768 }
   10769 _ACEOF
   10770 if ac_fn_c_try_compile "$LINENO"; then :
   10771   ac_compiler_gnu=yes
   10772 else
   10773   ac_compiler_gnu=no
   10774 fi
   10775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10776 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   10777 
   10778 fi
   10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   10780 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   10781 if test $ac_compiler_gnu = yes; then
   10782   GCC=yes
   10783 else
   10784   GCC=
   10785 fi
   10786 ac_test_CFLAGS=${CFLAGS+set}
   10787 ac_save_CFLAGS=$CFLAGS
   10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   10789 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   10790 if test "${ac_cv_prog_cc_g+set}" = set; then :
   10791   $as_echo_n "(cached) " >&6
   10792 else
   10793   ac_save_c_werror_flag=$ac_c_werror_flag
   10794    ac_c_werror_flag=yes
   10795    ac_cv_prog_cc_g=no
   10796    CFLAGS="-g"
   10797    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10798 /* end confdefs.h.  */
   10799 
   10800 int
   10801 main ()
   10802 {
   10803 
   10804   ;
   10805   return 0;
   10806 }
   10807 _ACEOF
   10808 if ac_fn_c_try_compile "$LINENO"; then :
   10809   ac_cv_prog_cc_g=yes
   10810 else
   10811   CFLAGS=""
   10812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10813 /* end confdefs.h.  */
   10814 
   10815 int
   10816 main ()
   10817 {
   10818 
   10819   ;
   10820   return 0;
   10821 }
   10822 _ACEOF
   10823 if ac_fn_c_try_compile "$LINENO"; then :
   10824 
   10825 else
   10826   ac_c_werror_flag=$ac_save_c_werror_flag
   10827 	 CFLAGS="-g"
   10828 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10829 /* end confdefs.h.  */
   10830 
   10831 int
   10832 main ()
   10833 {
   10834 
   10835   ;
   10836   return 0;
   10837 }
   10838 _ACEOF
   10839 if ac_fn_c_try_compile "$LINENO"; then :
   10840   ac_cv_prog_cc_g=yes
   10841 fi
   10842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10843 fi
   10844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10845 fi
   10846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10847    ac_c_werror_flag=$ac_save_c_werror_flag
   10848 fi
   10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   10850 $as_echo "$ac_cv_prog_cc_g" >&6; }
   10851 if test "$ac_test_CFLAGS" = set; then
   10852   CFLAGS=$ac_save_CFLAGS
   10853 elif test $ac_cv_prog_cc_g = yes; then
   10854   if test "$GCC" = yes; then
   10855     CFLAGS="-g -O2"
   10856   else
   10857     CFLAGS="-g"
   10858   fi
   10859 else
   10860   if test "$GCC" = yes; then
   10861     CFLAGS="-O2"
   10862   else
   10863     CFLAGS=
   10864   fi
   10865 fi
   10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   10867 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   10868 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   10869   $as_echo_n "(cached) " >&6
   10870 else
   10871   ac_cv_prog_cc_c89=no
   10872 ac_save_CC=$CC
   10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10874 /* end confdefs.h.  */
   10875 #include <stdarg.h>
   10876 #include <stdio.h>
   10877 #include <sys/types.h>
   10878 #include <sys/stat.h>
   10879 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   10880 struct buf { int x; };
   10881 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   10882 static char *e (p, i)
   10883      char **p;
   10884      int i;
   10885 {
   10886   return p[i];
   10887 }
   10888 static char *f (char * (*g) (char **, int), char **p, ...)
   10889 {
   10890   char *s;
   10891   va_list v;
   10892   va_start (v,p);
   10893   s = g (p, va_arg (v,int));
   10894   va_end (v);
   10895   return s;
   10896 }
   10897 
   10898 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   10899    function prototypes and stuff, but not '\xHH' hex character constants.
   10900    These don't provoke an error unfortunately, instead are silently treated
   10901    as 'x'.  The following induces an error, until -std is added to get
   10902    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   10903    array size at least.  It's necessary to write '\x00'==0 to get something
   10904    that's true only with -std.  */
   10905 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   10906 
   10907 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   10908    inside strings and character constants.  */
   10909 #define FOO(x) 'x'
   10910 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   10911 
   10912 int test (int i, double x);
   10913 struct s1 {int (*f) (int a);};
   10914 struct s2 {int (*f) (double a);};
   10915 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   10916 int argc;
   10917 char **argv;
   10918 int
   10919 main ()
   10920 {
   10921 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   10922   ;
   10923   return 0;
   10924 }
   10925 _ACEOF
   10926 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   10927 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   10928 do
   10929   CC="$ac_save_CC $ac_arg"
   10930   if ac_fn_c_try_compile "$LINENO"; then :
   10931   ac_cv_prog_cc_c89=$ac_arg
   10932 fi
   10933 rm -f core conftest.err conftest.$ac_objext
   10934   test "x$ac_cv_prog_cc_c89" != "xno" && break
   10935 done
   10936 rm -f conftest.$ac_ext
   10937 CC=$ac_save_CC
   10938 
   10939 fi
   10940 # AC_CACHE_VAL
   10941 case "x$ac_cv_prog_cc_c89" in
   10942   x)
   10943     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   10944 $as_echo "none needed" >&6; } ;;
   10945   xno)
   10946     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   10947 $as_echo "unsupported" >&6; } ;;
   10948   *)
   10949     CC="$CC $ac_cv_prog_cc_c89"
   10950     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   10951 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   10952 esac
   10953 if test "x$ac_cv_prog_cc_c89" != xno; then :
   10954 
   10955 fi
   10956 
   10957 ac_ext=c
   10958 ac_cpp='$CPP $CPPFLAGS'
   10959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10962 
   10963 depcc="$CC"   am_compiler_list=
   10964 
   10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   10966 $as_echo_n "checking dependency style of $depcc... " >&6; }
   10967 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   10968   $as_echo_n "(cached) " >&6
   10969 else
   10970   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   10971   # We make a subdir and do the tests there.  Otherwise we can end up
   10972   # making bogus files that we don't know about and never remove.  For
   10973   # instance it was reported that on HP-UX the gcc test will end up
   10974   # making a dummy file named `D' -- because `-MD' means `put the output
   10975   # in D'.
   10976   mkdir conftest.dir
   10977   # Copy depcomp to subdir because otherwise we won't find it if we're
   10978   # using a relative directory.
   10979   cp "$am_depcomp" conftest.dir
   10980   cd conftest.dir
   10981   # We will build objects and dependencies in a subdirectory because
   10982   # it helps to detect inapplicable dependency modes.  For instance
   10983   # both Tru64's cc and ICC support -MD to output dependencies as a
   10984   # side effect of compilation, but ICC will put the dependencies in
   10985   # the current directory while Tru64 will put them in the object
   10986   # directory.
   10987   mkdir sub
   10988 
   10989   am_cv_CC_dependencies_compiler_type=none
   10990   if test "$am_compiler_list" = ""; then
   10991      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   10992   fi
   10993   am__universal=false
   10994   case " $depcc " in #(
   10995      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   10996      esac
   10997 
   10998   for depmode in $am_compiler_list; do
   10999     # Setup a source with many dependencies, because some compilers
   11000     # like to wrap large dependency lists on column 80 (with \), and
   11001     # we should not choose a depcomp mode which is confused by this.
   11002     #
   11003     # We need to recreate these files for each test, as the compiler may
   11004     # overwrite some of them when testing with obscure command lines.
   11005     # This happens at least with the AIX C compiler.
   11006     : > sub/conftest.c
   11007     for i in 1 2 3 4 5 6; do
   11008       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   11009       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   11010       # Solaris 8's {/usr,}/bin/sh.
   11011       touch sub/conftst$i.h
   11012     done
   11013     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   11014 
   11015     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   11016     # mode.  It turns out that the SunPro C++ compiler does not properly
   11017     # handle `-M -o', and we need to detect this.  Also, some Intel
   11018     # versions had trouble with output in subdirs
   11019     am__obj=sub/conftest.${OBJEXT-o}
   11020     am__minus_obj="-o $am__obj"
   11021     case $depmode in
   11022     gcc)
   11023       # This depmode causes a compiler race in universal mode.
   11024       test "$am__universal" = false || continue
   11025       ;;
   11026     nosideeffect)
   11027       # after this tag, mechanisms are not by side-effect, so they'll
   11028       # only be used when explicitly requested
   11029       if test "x$enable_dependency_tracking" = xyes; then
   11030 	continue
   11031       else
   11032 	break
   11033       fi
   11034       ;;
   11035     msvisualcpp | msvcmsys)
   11036       # This compiler won't grok `-c -o', but also, the minuso test has
   11037       # not run yet.  These depmodes are late enough in the game, and
   11038       # so weak that their functioning should not be impacted.
   11039       am__obj=conftest.${OBJEXT-o}
   11040       am__minus_obj=
   11041       ;;
   11042     none) break ;;
   11043     esac
   11044     if depmode=$depmode \
   11045        source=sub/conftest.c object=$am__obj \
   11046        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   11047        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   11048          >/dev/null 2>conftest.err &&
   11049        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   11050        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   11051        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   11052        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   11053       # icc doesn't choke on unknown options, it will just issue warnings
   11054       # or remarks (even with -Werror).  So we grep stderr for any message
   11055       # that says an option was ignored or not supported.
   11056       # When given -MP, icc 7.0 and 7.1 complain thusly:
   11057       #   icc: Command line warning: ignoring option '-M'; no argument required
   11058       # The diagnosis changed in icc 8.0:
   11059       #   icc: Command line remark: option '-MP' not supported
   11060       if (grep 'ignoring option' conftest.err ||
   11061           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   11062         am_cv_CC_dependencies_compiler_type=$depmode
   11063         break
   11064       fi
   11065     fi
   11066   done
   11067 
   11068   cd ..
   11069   rm -rf conftest.dir
   11070 else
   11071   am_cv_CC_dependencies_compiler_type=none
   11072 fi
   11073 
   11074 fi
   11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   11076 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   11077 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   11078 
   11079  if
   11080   test "x$enable_dependency_tracking" != xno \
   11081   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   11082   am__fastdepCC_TRUE=
   11083   am__fastdepCC_FALSE='#'
   11084 else
   11085   am__fastdepCC_TRUE='#'
   11086   am__fastdepCC_FALSE=
   11087 fi
   11088 
   11089 
   11090    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11091 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11092 if test "${ac_cv_prog_cc_c99+set}" = set; then :
   11093   $as_echo_n "(cached) " >&6
   11094 else
   11095   ac_cv_prog_cc_c99=no
   11096 ac_save_CC=$CC
   11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11098 /* end confdefs.h.  */
   11099 #include <stdarg.h>
   11100 #include <stdbool.h>
   11101 #include <stdlib.h>
   11102 #include <wchar.h>
   11103 #include <stdio.h>
   11104 
   11105 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11106 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11107 #define showlist(...) puts (#__VA_ARGS__)
   11108 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11109 static void
   11110 test_varargs_macros (void)
   11111 {
   11112   int x = 1234;
   11113   int y = 5678;
   11114   debug ("Flag");
   11115   debug ("X = %d\n", x);
   11116   showlist (The first, second, and third items.);
   11117   report (x>y, "x is %d but y is %d", x, y);
   11118 }
   11119 
   11120 // Check long long types.
   11121 #define BIG64 18446744073709551615ull
   11122 #define BIG32 4294967295ul
   11123 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11124 #if !BIG_OK
   11125   your preprocessor is broken;
   11126 #endif
   11127 #if BIG_OK
   11128 #else
   11129   your preprocessor is broken;
   11130 #endif
   11131 static long long int bignum = -9223372036854775807LL;
   11132 static unsigned long long int ubignum = BIG64;
   11133 
   11134 struct incomplete_array
   11135 {
   11136   int datasize;
   11137   double data[];
   11138 };
   11139 
   11140 struct named_init {
   11141   int number;
   11142   const wchar_t *name;
   11143   double average;
   11144 };
   11145 
   11146 typedef const char *ccp;
   11147 
   11148 static inline int
   11149 test_restrict (ccp restrict text)
   11150 {
   11151   // See if C++-style comments work.
   11152   // Iterate through items via the restricted pointer.
   11153   // Also check for declarations in for loops.
   11154   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11155     continue;
   11156   return 0;
   11157 }
   11158 
   11159 // Check varargs and va_copy.
   11160 static void
   11161 test_varargs (const char *format, ...)
   11162 {
   11163   va_list args;
   11164   va_start (args, format);
   11165   va_list args_copy;
   11166   va_copy (args_copy, args);
   11167 
   11168   const char *str;
   11169   int number;
   11170   float fnumber;
   11171 
   11172   while (*format)
   11173     {
   11174       switch (*format++)
   11175 	{
   11176 	case 's': // string
   11177 	  str = va_arg (args_copy, const char *);
   11178 	  break;
   11179 	case 'd': // int
   11180 	  number = va_arg (args_copy, int);
   11181 	  break;
   11182 	case 'f': // float
   11183 	  fnumber = va_arg (args_copy, double);
   11184 	  break;
   11185 	default:
   11186 	  break;
   11187 	}
   11188     }
   11189   va_end (args_copy);
   11190   va_end (args);
   11191 }
   11192 
   11193 int
   11194 main ()
   11195 {
   11196 
   11197   // Check bool.
   11198   _Bool success = false;
   11199 
   11200   // Check restrict.
   11201   if (test_restrict ("String literal") == 0)
   11202     success = true;
   11203   char *restrict newvar = "Another string";
   11204 
   11205   // Check varargs.
   11206   test_varargs ("s, d' f .", "string", 65, 34.234);
   11207   test_varargs_macros ();
   11208 
   11209   // Check flexible array members.
   11210   struct incomplete_array *ia =
   11211     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11212   ia->datasize = 10;
   11213   for (int i = 0; i < ia->datasize; ++i)
   11214     ia->data[i] = i * 1.234;
   11215 
   11216   // Check named initializers.
   11217   struct named_init ni = {
   11218     .number = 34,
   11219     .name = L"Test wide string",
   11220     .average = 543.34343,
   11221   };
   11222 
   11223   ni.number = 58;
   11224 
   11225   int dynamic_array[ni.number];
   11226   dynamic_array[ni.number - 1] = 543;
   11227 
   11228   // work around unused variable warnings
   11229   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11230 	  || dynamic_array[ni.number - 1] != 543);
   11231 
   11232   ;
   11233   return 0;
   11234 }
   11235 _ACEOF
   11236 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11237 do
   11238   CC="$ac_save_CC $ac_arg"
   11239   if ac_fn_c_try_compile "$LINENO"; then :
   11240   ac_cv_prog_cc_c99=$ac_arg
   11241 fi
   11242 rm -f core conftest.err conftest.$ac_objext
   11243   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11244 done
   11245 rm -f conftest.$ac_ext
   11246 CC=$ac_save_CC
   11247 
   11248 fi
   11249 # AC_CACHE_VAL
   11250 case "x$ac_cv_prog_cc_c99" in
   11251   x)
   11252     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11253 $as_echo "none needed" >&6; } ;;
   11254   xno)
   11255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11256 $as_echo "unsupported" >&6; } ;;
   11257   *)
   11258     CC="$CC $ac_cv_prog_cc_c99"
   11259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11260 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11261 esac
   11262 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11263 
   11264 fi
   11265 
   11266 
   11267 
   11268 
   11269 if  test "x$GCC" = xyes ; then
   11270     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   11271 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   11272 -Wbad-function-cast -Wformat=2"
   11273     case `$CC -dumpversion` in
   11274     3.4.* | 4.*)
   11275 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   11276 	;;
   11277     esac
   11278 else
   11279     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11280 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   11281   SUNCC="yes"
   11282 else
   11283   SUNCC="no"
   11284 fi
   11285 
   11286     if test "x$SUNCC" = "xyes"; then
   11287 	CWARNFLAGS="-v"
   11288     fi
   11289 fi
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 # Check whether --with-xorg-module-dir was given.
   11297 if test "${with_xorg_module_dir+set}" = set; then :
   11298   withval=$with_xorg_module_dir; moduledir="$withval"
   11299 else
   11300   moduledir="$libdir/xorg/modules"
   11301 fi
   11302 
   11303 inputdir=${moduledir}/input
   11304 
   11305 
   11306 # Checks for extensions
   11307 
   11308 
   11309 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11310 	if test -n "$ac_tool_prefix"; then
   11311   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11312 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11314 $as_echo_n "checking for $ac_word... " >&6; }
   11315 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   11316   $as_echo_n "(cached) " >&6
   11317 else
   11318   case $PKG_CONFIG in
   11319   [\\/]* | ?:[\\/]*)
   11320   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11321   ;;
   11322   *)
   11323   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11324 for as_dir in $PATH
   11325 do
   11326   IFS=$as_save_IFS
   11327   test -z "$as_dir" && as_dir=.
   11328     for ac_exec_ext in '' $ac_executable_extensions; do
   11329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11330     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11332     break 2
   11333   fi
   11334 done
   11335   done
   11336 IFS=$as_save_IFS
   11337 
   11338   ;;
   11339 esac
   11340 fi
   11341 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11342 if test -n "$PKG_CONFIG"; then
   11343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11344 $as_echo "$PKG_CONFIG" >&6; }
   11345 else
   11346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11347 $as_echo "no" >&6; }
   11348 fi
   11349 
   11350 
   11351 fi
   11352 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11353   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11354   # Extract the first word of "pkg-config", so it can be a program name with args.
   11355 set dummy pkg-config; ac_word=$2
   11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11357 $as_echo_n "checking for $ac_word... " >&6; }
   11358 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   11359   $as_echo_n "(cached) " >&6
   11360 else
   11361   case $ac_pt_PKG_CONFIG in
   11362   [\\/]* | ?:[\\/]*)
   11363   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11364   ;;
   11365   *)
   11366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11367 for as_dir in $PATH
   11368 do
   11369   IFS=$as_save_IFS
   11370   test -z "$as_dir" && as_dir=.
   11371     for ac_exec_ext in '' $ac_executable_extensions; do
   11372   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11373     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11375     break 2
   11376   fi
   11377 done
   11378   done
   11379 IFS=$as_save_IFS
   11380 
   11381   ;;
   11382 esac
   11383 fi
   11384 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11385 if test -n "$ac_pt_PKG_CONFIG"; then
   11386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11387 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11388 else
   11389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11390 $as_echo "no" >&6; }
   11391 fi
   11392 
   11393   if test "x$ac_pt_PKG_CONFIG" = x; then
   11394     PKG_CONFIG=""
   11395   else
   11396     case $cross_compiling:$ac_tool_warned in
   11397 yes:)
   11398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11400 ac_tool_warned=yes ;;
   11401 esac
   11402     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11403   fi
   11404 else
   11405   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11406 fi
   11407 
   11408 fi
   11409 if test -n "$PKG_CONFIG"; then
   11410 	_pkg_min_version=0.9.0
   11411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11412 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11413 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11415 $as_echo "yes" >&6; }
   11416 	else
   11417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11418 $as_echo "no" >&6; }
   11419 		PKG_CONFIG=""
   11420 	fi
   11421 
   11422 fi
   11423 
   11424 
   11425 	SAVE_CFLAGS="$CFLAGS"
   11426 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11427 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11428 /* end confdefs.h.  */
   11429 
   11430 #include "xorg-server.h"
   11431 #if !defined RANDR
   11432 #error RANDR not defined
   11433 #endif
   11434 
   11435 int
   11436 main ()
   11437 {
   11438 
   11439   ;
   11440   return 0;
   11441 }
   11442 _ACEOF
   11443 if ac_fn_c_try_compile "$LINENO"; then :
   11444   _EXT_CHECK=yes
   11445 else
   11446   _EXT_CHECK=no
   11447 fi
   11448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11449 	CFLAGS="$SAVE_CFLAGS"
   11450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   11451 $as_echo_n "checking if RANDR is defined... " >&6; }
   11452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11453 $as_echo "$_EXT_CHECK" >&6; }
   11454 	if test "$_EXT_CHECK" != no; then
   11455 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   11456 	fi
   11457 
   11458 
   11459 
   11460 	SAVE_CFLAGS="$CFLAGS"
   11461 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11462 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11463 /* end confdefs.h.  */
   11464 
   11465 #include "xorg-server.h"
   11466 #if !defined XINPUT
   11467 #error XINPUT not defined
   11468 #endif
   11469 
   11470 int
   11471 main ()
   11472 {
   11473 
   11474   ;
   11475   return 0;
   11476 }
   11477 _ACEOF
   11478 if ac_fn_c_try_compile "$LINENO"; then :
   11479   _EXT_CHECK=yes
   11480 else
   11481   _EXT_CHECK=no
   11482 fi
   11483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11484 	CFLAGS="$SAVE_CFLAGS"
   11485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XINPUT is defined" >&5
   11486 $as_echo_n "checking if XINPUT is defined... " >&6; }
   11487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11488 $as_echo "$_EXT_CHECK" >&6; }
   11489 	if test "$_EXT_CHECK" != no; then
   11490 		REQUIRED_MODULES="$REQUIRED_MODULES inputproto"
   11491 	fi
   11492 
   11493 
   11494 # Checks for pkg-config packages
   11495 
   11496 pkg_failed=no
   11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   11498 $as_echo_n "checking for XORG... " >&6; }
   11499 
   11500 if test -n "$XORG_CFLAGS"; then
   11501     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   11502  elif test -n "$PKG_CONFIG"; then
   11503     if test -n "$PKG_CONFIG" && \
   11504     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto \$REQUIRED_MODULES\""; } >&5
   11505   ($PKG_CONFIG --exists --print-errors "xorg-server xproto $REQUIRED_MODULES") 2>&5
   11506   ac_status=$?
   11507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11508   test $ac_status = 0; }; then
   11509   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server xproto $REQUIRED_MODULES" 2>/dev/null`
   11510 else
   11511   pkg_failed=yes
   11512 fi
   11513  else
   11514     pkg_failed=untried
   11515 fi
   11516 if test -n "$XORG_LIBS"; then
   11517     pkg_cv_XORG_LIBS="$XORG_LIBS"
   11518  elif test -n "$PKG_CONFIG"; then
   11519     if test -n "$PKG_CONFIG" && \
   11520     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto \$REQUIRED_MODULES\""; } >&5
   11521   ($PKG_CONFIG --exists --print-errors "xorg-server xproto $REQUIRED_MODULES") 2>&5
   11522   ac_status=$?
   11523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11524   test $ac_status = 0; }; then
   11525   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server xproto $REQUIRED_MODULES" 2>/dev/null`
   11526 else
   11527   pkg_failed=yes
   11528 fi
   11529  else
   11530     pkg_failed=untried
   11531 fi
   11532 
   11533 
   11534 
   11535 if test $pkg_failed = yes; then
   11536 
   11537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11538         _pkg_short_errors_supported=yes
   11539 else
   11540         _pkg_short_errors_supported=no
   11541 fi
   11542         if test $_pkg_short_errors_supported = yes; then
   11543 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server xproto $REQUIRED_MODULES" 2>&1`
   11544         else
   11545 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server xproto $REQUIRED_MODULES" 2>&1`
   11546         fi
   11547 	# Put the nasty error message in config.log where it belongs
   11548 	echo "$XORG_PKG_ERRORS" >&5
   11549 
   11550 	as_fn_error "Package requirements (xorg-server xproto $REQUIRED_MODULES) were not met:
   11551 
   11552 $XORG_PKG_ERRORS
   11553 
   11554 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11555 installed software in a non-standard prefix.
   11556 
   11557 Alternatively, you may set the environment variables XORG_CFLAGS
   11558 and XORG_LIBS to avoid the need to call pkg-config.
   11559 See the pkg-config man page for more details.
   11560 " "$LINENO" 5
   11561 elif test $pkg_failed = untried; then
   11562 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11564 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   11565 is in your PATH or set the PKG_CONFIG environment variable to the full
   11566 path to pkg-config.
   11567 
   11568 Alternatively, you may set the environment variables XORG_CFLAGS
   11569 and XORG_LIBS to avoid the need to call pkg-config.
   11570 See the pkg-config man page for more details.
   11571 
   11572 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11573 See \`config.log' for more details." "$LINENO" 5; }
   11574 else
   11575 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   11576 	XORG_LIBS=$pkg_cv_XORG_LIBS
   11577         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11578 $as_echo "yes" >&6; }
   11579 	:
   11580 fi
   11581 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   11582 XORG_CFLAGS="$CWARNFLAGS $XORG_CFLAGS"
   11583 
   11584 # Checks for libraries.
   11585 
   11586 # Checks for header files.
   11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   11588 $as_echo_n "checking for ANSI C header files... " >&6; }
   11589 if test "${ac_cv_header_stdc+set}" = set; then :
   11590   $as_echo_n "(cached) " >&6
   11591 else
   11592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11593 /* end confdefs.h.  */
   11594 #include <stdlib.h>
   11595 #include <stdarg.h>
   11596 #include <string.h>
   11597 #include <float.h>
   11598 
   11599 int
   11600 main ()
   11601 {
   11602 
   11603   ;
   11604   return 0;
   11605 }
   11606 _ACEOF
   11607 if ac_fn_c_try_compile "$LINENO"; then :
   11608   ac_cv_header_stdc=yes
   11609 else
   11610   ac_cv_header_stdc=no
   11611 fi
   11612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11613 
   11614 if test $ac_cv_header_stdc = yes; then
   11615   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   11616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11617 /* end confdefs.h.  */
   11618 #include <string.h>
   11619 
   11620 _ACEOF
   11621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11622   $EGREP "memchr" >/dev/null 2>&1; then :
   11623 
   11624 else
   11625   ac_cv_header_stdc=no
   11626 fi
   11627 rm -f conftest*
   11628 
   11629 fi
   11630 
   11631 if test $ac_cv_header_stdc = yes; then
   11632   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   11633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11634 /* end confdefs.h.  */
   11635 #include <stdlib.h>
   11636 
   11637 _ACEOF
   11638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11639   $EGREP "free" >/dev/null 2>&1; then :
   11640 
   11641 else
   11642   ac_cv_header_stdc=no
   11643 fi
   11644 rm -f conftest*
   11645 
   11646 fi
   11647 
   11648 if test $ac_cv_header_stdc = yes; then
   11649   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   11650   if test "$cross_compiling" = yes; then :
   11651   :
   11652 else
   11653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11654 /* end confdefs.h.  */
   11655 #include <ctype.h>
   11656 #include <stdlib.h>
   11657 #if ((' ' & 0x0FF) == 0x020)
   11658 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   11659 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   11660 #else
   11661 # define ISLOWER(c) \
   11662 		   (('a' <= (c) && (c) <= 'i') \
   11663 		     || ('j' <= (c) && (c) <= 'r') \
   11664 		     || ('s' <= (c) && (c) <= 'z'))
   11665 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   11666 #endif
   11667 
   11668 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   11669 int
   11670 main ()
   11671 {
   11672   int i;
   11673   for (i = 0; i < 256; i++)
   11674     if (XOR (islower (i), ISLOWER (i))
   11675 	|| toupper (i) != TOUPPER (i))
   11676       return 2;
   11677   return 0;
   11678 }
   11679 _ACEOF
   11680 if ac_fn_c_try_run "$LINENO"; then :
   11681 
   11682 else
   11683   ac_cv_header_stdc=no
   11684 fi
   11685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   11686   conftest.$ac_objext conftest.beam conftest.$ac_ext
   11687 fi
   11688 
   11689 fi
   11690 fi
   11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   11692 $as_echo "$ac_cv_header_stdc" >&6; }
   11693 if test $ac_cv_header_stdc = yes; then
   11694 
   11695 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   11696 
   11697 fi
   11698 
   11699 
   11700 DRIVER_NAME=elographics
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 if test x$APP_MAN_SUFFIX = x    ; then
   11708     APP_MAN_SUFFIX=1
   11709 fi
   11710 if test x$APP_MAN_DIR = x    ; then
   11711     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11712 fi
   11713 
   11714 if test x$LIB_MAN_SUFFIX = x    ; then
   11715     LIB_MAN_SUFFIX=3
   11716 fi
   11717 if test x$LIB_MAN_DIR = x    ; then
   11718     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11719 fi
   11720 
   11721 if test x$FILE_MAN_SUFFIX = x    ; then
   11722     case $host_os in
   11723 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   11724 	*)		FILE_MAN_SUFFIX=5  ;;
   11725     esac
   11726 fi
   11727 if test x$FILE_MAN_DIR = x    ; then
   11728     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11729 fi
   11730 
   11731 if test x$MISC_MAN_SUFFIX = x    ; then
   11732     case $host_os in
   11733 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11734 	*)		MISC_MAN_SUFFIX=7  ;;
   11735     esac
   11736 fi
   11737 if test x$MISC_MAN_DIR = x    ; then
   11738     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11739 fi
   11740 
   11741 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11742     case $host_os in
   11743 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11744 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11745     esac
   11746 fi
   11747 if test x$DRIVER_MAN_DIR = x    ; then
   11748     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11749 fi
   11750 
   11751 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11752     case $host_os in
   11753 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11754 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11755     esac
   11756 fi
   11757 if test x$ADMIN_MAN_DIR = x    ; then
   11758     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11759 fi
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 XORG_MAN_PAGE="X Version 11"
   11776 
   11777 MAN_SUBSTS="\
   11778 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11779 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11780 	-e 's|__xservername__|Xorg|g' \
   11781 	-e 's|__xconfigfile__|xorg.conf|g' \
   11782 	-e 's|__projectroot__|\$(prefix)|g' \
   11783 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11784 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11785 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11786 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11787 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11788 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 cat >>confdefs.h <<_ACEOF
   11795 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11796 _ACEOF
   11797 
   11798 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11799 	if test "x$PVM" = "x"; then
   11800 		PVM="0"
   11801 	fi
   11802 
   11803 cat >>confdefs.h <<_ACEOF
   11804 #define PACKAGE_VERSION_MINOR $PVM
   11805 _ACEOF
   11806 
   11807 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11808 	if test "x$PVP" = "x"; then
   11809 		PVP="0"
   11810 	fi
   11811 
   11812 cat >>confdefs.h <<_ACEOF
   11813 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   11814 _ACEOF
   11815 
   11816 
   11817 
   11818 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   11819 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11820 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   11821 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   11822 
   11823 
   11824 
   11825 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   11826 
   11827 cat >confcache <<\_ACEOF
   11828 # This file is a shell script that caches the results of configure
   11829 # tests run on this system so they can be shared between configure
   11830 # scripts and configure runs, see configure's option --config-cache.
   11831 # It is not useful on other systems.  If it contains results you don't
   11832 # want to keep, you may remove or edit it.
   11833 #
   11834 # config.status only pays attention to the cache file if you give it
   11835 # the --recheck option to rerun configure.
   11836 #
   11837 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11838 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11839 # following values.
   11840 
   11841 _ACEOF
   11842 
   11843 # The following way of writing the cache mishandles newlines in values,
   11844 # but we know of no workaround that is simple, portable, and efficient.
   11845 # So, we kill variables containing newlines.
   11846 # Ultrix sh set writes to stderr and can't be redirected directly,
   11847 # and sets the high bit in the cache file unless we assign to the vars.
   11848 (
   11849   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11850     eval ac_val=\$$ac_var
   11851     case $ac_val in #(
   11852     *${as_nl}*)
   11853       case $ac_var in #(
   11854       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11855 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11856       esac
   11857       case $ac_var in #(
   11858       _ | IFS | as_nl) ;; #(
   11859       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11860       *) { eval $ac_var=; unset $ac_var;} ;;
   11861       esac ;;
   11862     esac
   11863   done
   11864 
   11865   (set) 2>&1 |
   11866     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11867     *${as_nl}ac_space=\ *)
   11868       # `set' does not quote correctly, so add quotes: double-quote
   11869       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11870       sed -n \
   11871 	"s/'/'\\\\''/g;
   11872 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11873       ;; #(
   11874     *)
   11875       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11876       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11877       ;;
   11878     esac |
   11879     sort
   11880 ) |
   11881   sed '
   11882      /^ac_cv_env_/b end
   11883      t clear
   11884      :clear
   11885      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11886      t end
   11887      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11888      :end' >>confcache
   11889 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11890   if test -w "$cache_file"; then
   11891     test "x$cache_file" != "x/dev/null" &&
   11892       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11893 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11894     cat confcache >$cache_file
   11895   else
   11896     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11897 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11898   fi
   11899 fi
   11900 rm -f confcache
   11901 
   11902 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11903 # Let make expand exec_prefix.
   11904 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11905 
   11906 DEFS=-DHAVE_CONFIG_H
   11907 
   11908 ac_libobjs=
   11909 ac_ltlibobjs=
   11910 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11911   # 1. Remove the extension, and $U if already installed.
   11912   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11913   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11914   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11915   #    will be set to the directory where LIBOBJS objects are built.
   11916   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11917   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11918 done
   11919 LIBOBJS=$ac_libobjs
   11920 
   11921 LTLIBOBJS=$ac_ltlibobjs
   11922 
   11923 
   11924  if test -n "$EXEEXT"; then
   11925   am__EXEEXT_TRUE=
   11926   am__EXEEXT_FALSE='#'
   11927 else
   11928   am__EXEEXT_TRUE='#'
   11929   am__EXEEXT_FALSE=
   11930 fi
   11931 
   11932 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11933   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
   11934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11935 fi
   11936 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11937   as_fn_error "conditional \"AMDEP\" was never defined.
   11938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11939 fi
   11940 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11941   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   11942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11943 fi
   11944 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11945   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   11946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11947 fi
   11948 
   11949 : ${CONFIG_STATUS=./config.status}
   11950 ac_write_fail=0
   11951 ac_clean_files_save=$ac_clean_files
   11952 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11953 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11954 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11955 as_write_fail=0
   11956 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11957 #! $SHELL
   11958 # Generated by $as_me.
   11959 # Run this file to recreate the current configuration.
   11960 # Compiler output produced by configure, useful for debugging
   11961 # configure, is in config.log if it exists.
   11962 
   11963 debug=false
   11964 ac_cs_recheck=false
   11965 ac_cs_silent=false
   11966 
   11967 SHELL=\${CONFIG_SHELL-$SHELL}
   11968 export SHELL
   11969 _ASEOF
   11970 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11971 ## -------------------- ##
   11972 ## M4sh Initialization. ##
   11973 ## -------------------- ##
   11974 
   11975 # Be more Bourne compatible
   11976 DUALCASE=1; export DUALCASE # for MKS sh
   11977 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11978   emulate sh
   11979   NULLCMD=:
   11980   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11981   # is contrary to our usage.  Disable this feature.
   11982   alias -g '${1+"$@"}'='"$@"'
   11983   setopt NO_GLOB_SUBST
   11984 else
   11985   case `(set -o) 2>/dev/null` in #(
   11986   *posix*) :
   11987     set -o posix ;; #(
   11988   *) :
   11989      ;;
   11990 esac
   11991 fi
   11992 
   11993 
   11994 as_nl='
   11995 '
   11996 export as_nl
   11997 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11998 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11999 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12000 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12001 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12002 # but without wasting forks for bash or zsh.
   12003 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12004     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12005   as_echo='print -r --'
   12006   as_echo_n='print -rn --'
   12007 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12008   as_echo='printf %s\n'
   12009   as_echo_n='printf %s'
   12010 else
   12011   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12012     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12013     as_echo_n='/usr/ucb/echo -n'
   12014   else
   12015     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12016     as_echo_n_body='eval
   12017       arg=$1;
   12018       case $arg in #(
   12019       *"$as_nl"*)
   12020 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12021 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12022       esac;
   12023       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12024     '
   12025     export as_echo_n_body
   12026     as_echo_n='sh -c $as_echo_n_body as_echo'
   12027   fi
   12028   export as_echo_body
   12029   as_echo='sh -c $as_echo_body as_echo'
   12030 fi
   12031 
   12032 # The user is always right.
   12033 if test "${PATH_SEPARATOR+set}" != set; then
   12034   PATH_SEPARATOR=:
   12035   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12036     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12037       PATH_SEPARATOR=';'
   12038   }
   12039 fi
   12040 
   12041 
   12042 # IFS
   12043 # We need space, tab and new line, in precisely that order.  Quoting is
   12044 # there to prevent editors from complaining about space-tab.
   12045 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12046 # splitting by setting IFS to empty value.)
   12047 IFS=" ""	$as_nl"
   12048 
   12049 # Find who we are.  Look in the path if we contain no directory separator.
   12050 case $0 in #((
   12051   *[\\/]* ) as_myself=$0 ;;
   12052   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12053 for as_dir in $PATH
   12054 do
   12055   IFS=$as_save_IFS
   12056   test -z "$as_dir" && as_dir=.
   12057     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12058   done
   12059 IFS=$as_save_IFS
   12060 
   12061      ;;
   12062 esac
   12063 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12064 # in which case we are not to be found in the path.
   12065 if test "x$as_myself" = x; then
   12066   as_myself=$0
   12067 fi
   12068 if test ! -f "$as_myself"; then
   12069   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12070   exit 1
   12071 fi
   12072 
   12073 # Unset variables that we do not need and which cause bugs (e.g. in
   12074 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12075 # suppresses any "Segmentation fault" message there.  '((' could
   12076 # trigger a bug in pdksh 5.2.14.
   12077 for as_var in BASH_ENV ENV MAIL MAILPATH
   12078 do eval test x\${$as_var+set} = xset \
   12079   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12080 done
   12081 PS1='$ '
   12082 PS2='> '
   12083 PS4='+ '
   12084 
   12085 # NLS nuisances.
   12086 LC_ALL=C
   12087 export LC_ALL
   12088 LANGUAGE=C
   12089 export LANGUAGE
   12090 
   12091 # CDPATH.
   12092 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12093 
   12094 
   12095 # as_fn_error ERROR [LINENO LOG_FD]
   12096 # ---------------------------------
   12097 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12098 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12099 # script with status $?, using 1 if that was 0.
   12100 as_fn_error ()
   12101 {
   12102   as_status=$?; test $as_status -eq 0 && as_status=1
   12103   if test "$3"; then
   12104     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12105     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   12106   fi
   12107   $as_echo "$as_me: error: $1" >&2
   12108   as_fn_exit $as_status
   12109 } # as_fn_error
   12110 
   12111 
   12112 # as_fn_set_status STATUS
   12113 # -----------------------
   12114 # Set $? to STATUS, without forking.
   12115 as_fn_set_status ()
   12116 {
   12117   return $1
   12118 } # as_fn_set_status
   12119 
   12120 # as_fn_exit STATUS
   12121 # -----------------
   12122 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12123 as_fn_exit ()
   12124 {
   12125   set +e
   12126   as_fn_set_status $1
   12127   exit $1
   12128 } # as_fn_exit
   12129 
   12130 # as_fn_unset VAR
   12131 # ---------------
   12132 # Portably unset VAR.
   12133 as_fn_unset ()
   12134 {
   12135   { eval $1=; unset $1;}
   12136 }
   12137 as_unset=as_fn_unset
   12138 # as_fn_append VAR VALUE
   12139 # ----------------------
   12140 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12141 # advantage of any shell optimizations that allow amortized linear growth over
   12142 # repeated appends, instead of the typical quadratic growth present in naive
   12143 # implementations.
   12144 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12145   eval 'as_fn_append ()
   12146   {
   12147     eval $1+=\$2
   12148   }'
   12149 else
   12150   as_fn_append ()
   12151   {
   12152     eval $1=\$$1\$2
   12153   }
   12154 fi # as_fn_append
   12155 
   12156 # as_fn_arith ARG...
   12157 # ------------------
   12158 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12159 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12160 # must be portable across $(()) and expr.
   12161 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12162   eval 'as_fn_arith ()
   12163   {
   12164     as_val=$(( $* ))
   12165   }'
   12166 else
   12167   as_fn_arith ()
   12168   {
   12169     as_val=`expr "$@" || test $? -eq 1`
   12170   }
   12171 fi # as_fn_arith
   12172 
   12173 
   12174 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12175    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12176   as_expr=expr
   12177 else
   12178   as_expr=false
   12179 fi
   12180 
   12181 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12182   as_basename=basename
   12183 else
   12184   as_basename=false
   12185 fi
   12186 
   12187 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12188   as_dirname=dirname
   12189 else
   12190   as_dirname=false
   12191 fi
   12192 
   12193 as_me=`$as_basename -- "$0" ||
   12194 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12195 	 X"$0" : 'X\(//\)$' \| \
   12196 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12197 $as_echo X/"$0" |
   12198     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12199 	    s//\1/
   12200 	    q
   12201 	  }
   12202 	  /^X\/\(\/\/\)$/{
   12203 	    s//\1/
   12204 	    q
   12205 	  }
   12206 	  /^X\/\(\/\).*/{
   12207 	    s//\1/
   12208 	    q
   12209 	  }
   12210 	  s/.*/./; q'`
   12211 
   12212 # Avoid depending upon Character Ranges.
   12213 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12214 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12215 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12216 as_cr_digits='0123456789'
   12217 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12218 
   12219 ECHO_C= ECHO_N= ECHO_T=
   12220 case `echo -n x` in #(((((
   12221 -n*)
   12222   case `echo 'xy\c'` in
   12223   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12224   xy)  ECHO_C='\c';;
   12225   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12226        ECHO_T='	';;
   12227   esac;;
   12228 *)
   12229   ECHO_N='-n';;
   12230 esac
   12231 
   12232 rm -f conf$$ conf$$.exe conf$$.file
   12233 if test -d conf$$.dir; then
   12234   rm -f conf$$.dir/conf$$.file
   12235 else
   12236   rm -f conf$$.dir
   12237   mkdir conf$$.dir 2>/dev/null
   12238 fi
   12239 if (echo >conf$$.file) 2>/dev/null; then
   12240   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12241     as_ln_s='ln -s'
   12242     # ... but there are two gotchas:
   12243     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12244     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12245     # In both cases, we have to default to `cp -p'.
   12246     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12247       as_ln_s='cp -p'
   12248   elif ln conf$$.file conf$$ 2>/dev/null; then
   12249     as_ln_s=ln
   12250   else
   12251     as_ln_s='cp -p'
   12252   fi
   12253 else
   12254   as_ln_s='cp -p'
   12255 fi
   12256 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12257 rmdir conf$$.dir 2>/dev/null
   12258 
   12259 
   12260 # as_fn_mkdir_p
   12261 # -------------
   12262 # Create "$as_dir" as a directory, including parents if necessary.
   12263 as_fn_mkdir_p ()
   12264 {
   12265 
   12266   case $as_dir in #(
   12267   -*) as_dir=./$as_dir;;
   12268   esac
   12269   test -d "$as_dir" || eval $as_mkdir_p || {
   12270     as_dirs=
   12271     while :; do
   12272       case $as_dir in #(
   12273       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12274       *) as_qdir=$as_dir;;
   12275       esac
   12276       as_dirs="'$as_qdir' $as_dirs"
   12277       as_dir=`$as_dirname -- "$as_dir" ||
   12278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12279 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12280 	 X"$as_dir" : 'X\(//\)$' \| \
   12281 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12282 $as_echo X"$as_dir" |
   12283     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12284 	    s//\1/
   12285 	    q
   12286 	  }
   12287 	  /^X\(\/\/\)[^/].*/{
   12288 	    s//\1/
   12289 	    q
   12290 	  }
   12291 	  /^X\(\/\/\)$/{
   12292 	    s//\1/
   12293 	    q
   12294 	  }
   12295 	  /^X\(\/\).*/{
   12296 	    s//\1/
   12297 	    q
   12298 	  }
   12299 	  s/.*/./; q'`
   12300       test -d "$as_dir" && break
   12301     done
   12302     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12303   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   12304 
   12305 
   12306 } # as_fn_mkdir_p
   12307 if mkdir -p . 2>/dev/null; then
   12308   as_mkdir_p='mkdir -p "$as_dir"'
   12309 else
   12310   test -d ./-p && rmdir ./-p
   12311   as_mkdir_p=false
   12312 fi
   12313 
   12314 if test -x / >/dev/null 2>&1; then
   12315   as_test_x='test -x'
   12316 else
   12317   if ls -dL / >/dev/null 2>&1; then
   12318     as_ls_L_option=L
   12319   else
   12320     as_ls_L_option=
   12321   fi
   12322   as_test_x='
   12323     eval sh -c '\''
   12324       if test -d "$1"; then
   12325 	test -d "$1/.";
   12326       else
   12327 	case $1 in #(
   12328 	-*)set "./$1";;
   12329 	esac;
   12330 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   12331 	???[sx]*):;;*)false;;esac;fi
   12332     '\'' sh
   12333   '
   12334 fi
   12335 as_executable_p=$as_test_x
   12336 
   12337 # Sed expression to map a string onto a valid CPP name.
   12338 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12339 
   12340 # Sed expression to map a string onto a valid variable name.
   12341 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12342 
   12343 
   12344 exec 6>&1
   12345 ## ----------------------------------- ##
   12346 ## Main body of $CONFIG_STATUS script. ##
   12347 ## ----------------------------------- ##
   12348 _ASEOF
   12349 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12350 
   12351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12352 # Save the log message, to keep $0 and so on meaningful, and to
   12353 # report actual input values of CONFIG_FILES etc. instead of their
   12354 # values after options handling.
   12355 ac_log="
   12356 This file was extended by xf86-input-elographics $as_me 1.2.4, which was
   12357 generated by GNU Autoconf 2.65.  Invocation command line was
   12358 
   12359   CONFIG_FILES    = $CONFIG_FILES
   12360   CONFIG_HEADERS  = $CONFIG_HEADERS
   12361   CONFIG_LINKS    = $CONFIG_LINKS
   12362   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12363   $ $0 $@
   12364 
   12365 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12366 "
   12367 
   12368 _ACEOF
   12369 
   12370 case $ac_config_files in *"
   12371 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12372 esac
   12373 
   12374 case $ac_config_headers in *"
   12375 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12376 esac
   12377 
   12378 
   12379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12380 # Files that config.status was made for.
   12381 config_files="$ac_config_files"
   12382 config_headers="$ac_config_headers"
   12383 config_commands="$ac_config_commands"
   12384 
   12385 _ACEOF
   12386 
   12387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12388 ac_cs_usage="\
   12389 \`$as_me' instantiates files and other configuration actions
   12390 from templates according to the current configuration.  Unless the files
   12391 and actions are specified as TAGs, all are instantiated by default.
   12392 
   12393 Usage: $0 [OPTION]... [TAG]...
   12394 
   12395   -h, --help       print this help, then exit
   12396   -V, --version    print version number and configuration settings, then exit
   12397       --config     print configuration, then exit
   12398   -q, --quiet, --silent
   12399                    do not print progress messages
   12400   -d, --debug      don't remove temporary files
   12401       --recheck    update $as_me by reconfiguring in the same conditions
   12402       --file=FILE[:TEMPLATE]
   12403                    instantiate the configuration file FILE
   12404       --header=FILE[:TEMPLATE]
   12405                    instantiate the configuration header FILE
   12406 
   12407 Configuration files:
   12408 $config_files
   12409 
   12410 Configuration headers:
   12411 $config_headers
   12412 
   12413 Configuration commands:
   12414 $config_commands
   12415 
   12416 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12417 
   12418 _ACEOF
   12419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12420 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12421 ac_cs_version="\\
   12422 xf86-input-elographics config.status 1.2.4
   12423 configured by $0, generated by GNU Autoconf 2.65,
   12424   with options \\"\$ac_cs_config\\"
   12425 
   12426 Copyright (C) 2009 Free Software Foundation, Inc.
   12427 This config.status script is free software; the Free Software Foundation
   12428 gives unlimited permission to copy, distribute and modify it."
   12429 
   12430 ac_pwd='$ac_pwd'
   12431 srcdir='$srcdir'
   12432 INSTALL='$INSTALL'
   12433 MKDIR_P='$MKDIR_P'
   12434 AWK='$AWK'
   12435 test -n "\$AWK" || AWK=awk
   12436 _ACEOF
   12437 
   12438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12439 # The default lists apply if the user does not specify any file.
   12440 ac_need_defaults=:
   12441 while test $# != 0
   12442 do
   12443   case $1 in
   12444   --*=*)
   12445     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12446     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12447     ac_shift=:
   12448     ;;
   12449   *)
   12450     ac_option=$1
   12451     ac_optarg=$2
   12452     ac_shift=shift
   12453     ;;
   12454   esac
   12455 
   12456   case $ac_option in
   12457   # Handling of the options.
   12458   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12459     ac_cs_recheck=: ;;
   12460   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12461     $as_echo "$ac_cs_version"; exit ;;
   12462   --config | --confi | --conf | --con | --co | --c )
   12463     $as_echo "$ac_cs_config"; exit ;;
   12464   --debug | --debu | --deb | --de | --d | -d )
   12465     debug=: ;;
   12466   --file | --fil | --fi | --f )
   12467     $ac_shift
   12468     case $ac_optarg in
   12469     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12470     esac
   12471     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12472     ac_need_defaults=false;;
   12473   --header | --heade | --head | --hea )
   12474     $ac_shift
   12475     case $ac_optarg in
   12476     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12477     esac
   12478     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12479     ac_need_defaults=false;;
   12480   --he | --h)
   12481     # Conflict between --help and --header
   12482     as_fn_error "ambiguous option: \`$1'
   12483 Try \`$0 --help' for more information.";;
   12484   --help | --hel | -h )
   12485     $as_echo "$ac_cs_usage"; exit ;;
   12486   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12487   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12488     ac_cs_silent=: ;;
   12489 
   12490   # This is an error.
   12491   -*) as_fn_error "unrecognized option: \`$1'
   12492 Try \`$0 --help' for more information." ;;
   12493 
   12494   *) as_fn_append ac_config_targets " $1"
   12495      ac_need_defaults=false ;;
   12496 
   12497   esac
   12498   shift
   12499 done
   12500 
   12501 ac_configure_extra_args=
   12502 
   12503 if $ac_cs_silent; then
   12504   exec 6>/dev/null
   12505   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12506 fi
   12507 
   12508 _ACEOF
   12509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12510 if \$ac_cs_recheck; then
   12511   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12512   shift
   12513   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12514   CONFIG_SHELL='$SHELL'
   12515   export CONFIG_SHELL
   12516   exec "\$@"
   12517 fi
   12518 
   12519 _ACEOF
   12520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12521 exec 5>>config.log
   12522 {
   12523   echo
   12524   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12525 ## Running $as_me. ##
   12526 _ASBOX
   12527   $as_echo "$ac_log"
   12528 } >&5
   12529 
   12530 _ACEOF
   12531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12532 #
   12533 # INIT-COMMANDS
   12534 #
   12535 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12536 
   12537 
   12538 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12539 # if CDPATH is set.
   12540 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12541 
   12542 sed_quote_subst='$sed_quote_subst'
   12543 double_quote_subst='$double_quote_subst'
   12544 delay_variable_subst='$delay_variable_subst'
   12545 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12546 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12547 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12548 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12549 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12550 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12551 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12552 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12553 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12554 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12555 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12556 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12557 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12558 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12559 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12560 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12561 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12562 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12563 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12564 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12565 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12566 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12567 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12568 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12569 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12570 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12571 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12572 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12573 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12574 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12575 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12576 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12577 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12578 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12579 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12580 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12581 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12582 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12583 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12584 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12585 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12586 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12587 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12588 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12589 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"`'
   12590 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"`'
   12591 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12592 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12593 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12594 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12595 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12596 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12597 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12598 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12599 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12600 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12601 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12602 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12603 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12604 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12605 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12606 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12607 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12608 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12609 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12610 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12611 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12612 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12613 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12614 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12615 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12616 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12617 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12618 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12619 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12620 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12621 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12622 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12623 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12624 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12625 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12626 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12627 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12628 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12629 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12630 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12631 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12632 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12633 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12634 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12635 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12636 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12637 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12638 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12639 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12640 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12641 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12642 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12643 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12644 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12645 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12646 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12647 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12648 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12649 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12650 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12651 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12652 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12653 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12654 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12655 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12656 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12657 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12658 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12659 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12660 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12661 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12662 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12663 
   12664 LTCC='$LTCC'
   12665 LTCFLAGS='$LTCFLAGS'
   12666 compiler='$compiler_DEFAULT'
   12667 
   12668 # Quote evaled strings.
   12669 for var in SED \
   12670 GREP \
   12671 EGREP \
   12672 FGREP \
   12673 LD \
   12674 NM \
   12675 LN_S \
   12676 lt_SP2NL \
   12677 lt_NL2SP \
   12678 reload_flag \
   12679 OBJDUMP \
   12680 deplibs_check_method \
   12681 file_magic_cmd \
   12682 AR \
   12683 AR_FLAGS \
   12684 STRIP \
   12685 RANLIB \
   12686 CC \
   12687 CFLAGS \
   12688 compiler \
   12689 lt_cv_sys_global_symbol_pipe \
   12690 lt_cv_sys_global_symbol_to_cdecl \
   12691 lt_cv_sys_global_symbol_to_c_name_address \
   12692 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12693 SHELL \
   12694 ECHO \
   12695 lt_prog_compiler_no_builtin_flag \
   12696 lt_prog_compiler_wl \
   12697 lt_prog_compiler_pic \
   12698 lt_prog_compiler_static \
   12699 lt_cv_prog_compiler_c_o \
   12700 need_locks \
   12701 DSYMUTIL \
   12702 NMEDIT \
   12703 LIPO \
   12704 OTOOL \
   12705 OTOOL64 \
   12706 shrext_cmds \
   12707 export_dynamic_flag_spec \
   12708 whole_archive_flag_spec \
   12709 compiler_needs_object \
   12710 with_gnu_ld \
   12711 allow_undefined_flag \
   12712 no_undefined_flag \
   12713 hardcode_libdir_flag_spec \
   12714 hardcode_libdir_flag_spec_ld \
   12715 hardcode_libdir_separator \
   12716 fix_srcfile_path \
   12717 exclude_expsyms \
   12718 include_expsyms \
   12719 file_list_spec \
   12720 variables_saved_for_relink \
   12721 libname_spec \
   12722 library_names_spec \
   12723 soname_spec \
   12724 finish_eval \
   12725 old_striplib \
   12726 striplib; do
   12727     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12728     *[\\\\\\\`\\"\\\$]*)
   12729       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12730       ;;
   12731     *)
   12732       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12733       ;;
   12734     esac
   12735 done
   12736 
   12737 # Double-quote double-evaled strings.
   12738 for var in reload_cmds \
   12739 old_postinstall_cmds \
   12740 old_postuninstall_cmds \
   12741 old_archive_cmds \
   12742 extract_expsyms_cmds \
   12743 old_archive_from_new_cmds \
   12744 old_archive_from_expsyms_cmds \
   12745 archive_cmds \
   12746 archive_expsym_cmds \
   12747 module_cmds \
   12748 module_expsym_cmds \
   12749 export_symbols_cmds \
   12750 prelink_cmds \
   12751 postinstall_cmds \
   12752 postuninstall_cmds \
   12753 finish_cmds \
   12754 sys_lib_search_path_spec \
   12755 sys_lib_dlsearch_path_spec; do
   12756     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12757     *[\\\\\\\`\\"\\\$]*)
   12758       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12759       ;;
   12760     *)
   12761       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12762       ;;
   12763     esac
   12764 done
   12765 
   12766 # Fix-up fallback echo if it was mangled by the above quoting rules.
   12767 case \$lt_ECHO in
   12768 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12769   ;;
   12770 esac
   12771 
   12772 ac_aux_dir='$ac_aux_dir'
   12773 xsi_shell='$xsi_shell'
   12774 lt_shell_append='$lt_shell_append'
   12775 
   12776 # See if we are running on zsh, and set the options which allow our
   12777 # commands through without removal of \ escapes INIT.
   12778 if test -n "\${ZSH_VERSION+set}" ; then
   12779    setopt NO_GLOB_SUBST
   12780 fi
   12781 
   12782 
   12783     PACKAGE='$PACKAGE'
   12784     VERSION='$VERSION'
   12785     TIMESTAMP='$TIMESTAMP'
   12786     RM='$RM'
   12787     ofile='$ofile'
   12788 
   12789 
   12790 
   12791 
   12792 _ACEOF
   12793 
   12794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12795 
   12796 # Handling of arguments.
   12797 for ac_config_target in $ac_config_targets
   12798 do
   12799   case $ac_config_target in
   12800     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12801     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12802     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12803     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12804     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   12805     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12806 
   12807   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12808   esac
   12809 done
   12810 
   12811 
   12812 # If the user did not use the arguments to specify the items to instantiate,
   12813 # then the envvar interface is used.  Set only those that are not.
   12814 # We use the long form for the default assignment because of an extremely
   12815 # bizarre bug on SunOS 4.1.3.
   12816 if $ac_need_defaults; then
   12817   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12818   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12819   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12820 fi
   12821 
   12822 # Have a temporary directory for convenience.  Make it in the build tree
   12823 # simply because there is no reason against having it here, and in addition,
   12824 # creating and moving files from /tmp can sometimes cause problems.
   12825 # Hook for its removal unless debugging.
   12826 # Note that there is a small window in which the directory will not be cleaned:
   12827 # after its creation but before its name has been assigned to `$tmp'.
   12828 $debug ||
   12829 {
   12830   tmp=
   12831   trap 'exit_status=$?
   12832   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   12833 ' 0
   12834   trap 'as_fn_exit 1' 1 2 13 15
   12835 }
   12836 # Create a (secure) tmp directory for tmp files.
   12837 
   12838 {
   12839   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12840   test -n "$tmp" && test -d "$tmp"
   12841 }  ||
   12842 {
   12843   tmp=./conf$$-$RANDOM
   12844   (umask 077 && mkdir "$tmp")
   12845 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   12846 
   12847 # Set up the scripts for CONFIG_FILES section.
   12848 # No need to generate them if there are no CONFIG_FILES.
   12849 # This happens for instance with `./config.status config.h'.
   12850 if test -n "$CONFIG_FILES"; then
   12851 
   12852 
   12853 ac_cr=`echo X | tr X '\015'`
   12854 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12855 # But we know of no other shell where ac_cr would be empty at this
   12856 # point, so we can use a bashism as a fallback.
   12857 if test "x$ac_cr" = x; then
   12858   eval ac_cr=\$\'\\r\'
   12859 fi
   12860 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12861 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12862   ac_cs_awk_cr='\r'
   12863 else
   12864   ac_cs_awk_cr=$ac_cr
   12865 fi
   12866 
   12867 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   12868 _ACEOF
   12869 
   12870 
   12871 {
   12872   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12873   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12874   echo "_ACEOF"
   12875 } >conf$$subs.sh ||
   12876   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12877 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   12878 ac_delim='%!_!# '
   12879 for ac_last_try in false false false false false :; do
   12880   . ./conf$$subs.sh ||
   12881     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12882 
   12883   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12884   if test $ac_delim_n = $ac_delim_num; then
   12885     break
   12886   elif $ac_last_try; then
   12887     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12888   else
   12889     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12890   fi
   12891 done
   12892 rm -f conf$$subs.sh
   12893 
   12894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12895 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   12896 _ACEOF
   12897 sed -n '
   12898 h
   12899 s/^/S["/; s/!.*/"]=/
   12900 p
   12901 g
   12902 s/^[^!]*!//
   12903 :repl
   12904 t repl
   12905 s/'"$ac_delim"'$//
   12906 t delim
   12907 :nl
   12908 h
   12909 s/\(.\{148\}\)..*/\1/
   12910 t more1
   12911 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12912 p
   12913 n
   12914 b repl
   12915 :more1
   12916 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12917 p
   12918 g
   12919 s/.\{148\}//
   12920 t nl
   12921 :delim
   12922 h
   12923 s/\(.\{148\}\)..*/\1/
   12924 t more2
   12925 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12926 p
   12927 b
   12928 :more2
   12929 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12930 p
   12931 g
   12932 s/.\{148\}//
   12933 t delim
   12934 ' <conf$$subs.awk | sed '
   12935 /^[^""]/{
   12936   N
   12937   s/\n//
   12938 }
   12939 ' >>$CONFIG_STATUS || ac_write_fail=1
   12940 rm -f conf$$subs.awk
   12941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12942 _ACAWK
   12943 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   12944   for (key in S) S_is_set[key] = 1
   12945   FS = ""
   12946 
   12947 }
   12948 {
   12949   line = $ 0
   12950   nfields = split(line, field, "@")
   12951   substed = 0
   12952   len = length(field[1])
   12953   for (i = 2; i < nfields; i++) {
   12954     key = field[i]
   12955     keylen = length(key)
   12956     if (S_is_set[key]) {
   12957       value = S[key]
   12958       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12959       len += length(value) + length(field[++i])
   12960       substed = 1
   12961     } else
   12962       len += 1 + keylen
   12963   }
   12964 
   12965   print line
   12966 }
   12967 
   12968 _ACAWK
   12969 _ACEOF
   12970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12971 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12972   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12973 else
   12974   cat
   12975 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   12976   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   12977 _ACEOF
   12978 
   12979 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   12980 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   12981 # trailing colons and then remove the whole line if VPATH becomes empty
   12982 # (actually we leave an empty line to preserve line numbers).
   12983 if test "x$srcdir" = x.; then
   12984   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   12985 s/:*\$(srcdir):*/:/
   12986 s/:*\${srcdir}:*/:/
   12987 s/:*@srcdir@:*/:/
   12988 s/^\([^=]*=[	 ]*\):*/\1/
   12989 s/:*$//
   12990 s/^[^=]*=[	 ]*$//
   12991 }'
   12992 fi
   12993 
   12994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12995 fi # test -n "$CONFIG_FILES"
   12996 
   12997 # Set up the scripts for CONFIG_HEADERS section.
   12998 # No need to generate them if there are no CONFIG_HEADERS.
   12999 # This happens for instance with `./config.status Makefile'.
   13000 if test -n "$CONFIG_HEADERS"; then
   13001 cat >"$tmp/defines.awk" <<\_ACAWK ||
   13002 BEGIN {
   13003 _ACEOF
   13004 
   13005 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13006 # here-document in config.status, that substitutes the proper values into
   13007 # config.h.in to produce config.h.
   13008 
   13009 # Create a delimiter string that does not exist in confdefs.h, to ease
   13010 # handling of long lines.
   13011 ac_delim='%!_!# '
   13012 for ac_last_try in false false :; do
   13013   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   13014   if test -z "$ac_t"; then
   13015     break
   13016   elif $ac_last_try; then
   13017     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   13018   else
   13019     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13020   fi
   13021 done
   13022 
   13023 # For the awk script, D is an array of macro values keyed by name,
   13024 # likewise P contains macro parameters if any.  Preserve backslash
   13025 # newline sequences.
   13026 
   13027 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13028 sed -n '
   13029 s/.\{148\}/&'"$ac_delim"'/g
   13030 t rset
   13031 :rset
   13032 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13033 t def
   13034 d
   13035 :def
   13036 s/\\$//
   13037 t bsnl
   13038 s/["\\]/\\&/g
   13039 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13040 D["\1"]=" \3"/p
   13041 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13042 d
   13043 :bsnl
   13044 s/["\\]/\\&/g
   13045 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13046 D["\1"]=" \3\\\\\\n"\\/p
   13047 t cont
   13048 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13049 t cont
   13050 d
   13051 :cont
   13052 n
   13053 s/.\{148\}/&'"$ac_delim"'/g
   13054 t clear
   13055 :clear
   13056 s/\\$//
   13057 t bsnlc
   13058 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13059 d
   13060 :bsnlc
   13061 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13062 b cont
   13063 ' <confdefs.h | sed '
   13064 s/'"$ac_delim"'/"\\\
   13065 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13066 
   13067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13068   for (key in D) D_is_set[key] = 1
   13069   FS = ""
   13070 }
   13071 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13072   line = \$ 0
   13073   split(line, arg, " ")
   13074   if (arg[1] == "#") {
   13075     defundef = arg[2]
   13076     mac1 = arg[3]
   13077   } else {
   13078     defundef = substr(arg[1], 2)
   13079     mac1 = arg[2]
   13080   }
   13081   split(mac1, mac2, "(") #)
   13082   macro = mac2[1]
   13083   prefix = substr(line, 1, index(line, defundef) - 1)
   13084   if (D_is_set[macro]) {
   13085     # Preserve the white space surrounding the "#".
   13086     print prefix "define", macro P[macro] D[macro]
   13087     next
   13088   } else {
   13089     # Replace #undef with comments.  This is necessary, for example,
   13090     # in the case of _POSIX_SOURCE, which is predefined and required
   13091     # on some systems where configure will not decide to define it.
   13092     if (defundef == "undef") {
   13093       print "/*", prefix defundef, macro, "*/"
   13094       next
   13095     }
   13096   }
   13097 }
   13098 { print }
   13099 _ACAWK
   13100 _ACEOF
   13101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13102   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   13103 fi # test -n "$CONFIG_HEADERS"
   13104 
   13105 
   13106 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13107 shift
   13108 for ac_tag
   13109 do
   13110   case $ac_tag in
   13111   :[FHLC]) ac_mode=$ac_tag; continue;;
   13112   esac
   13113   case $ac_mode$ac_tag in
   13114   :[FHL]*:*);;
   13115   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13116   :[FH]-) ac_tag=-:-;;
   13117   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13118   esac
   13119   ac_save_IFS=$IFS
   13120   IFS=:
   13121   set x $ac_tag
   13122   IFS=$ac_save_IFS
   13123   shift
   13124   ac_file=$1
   13125   shift
   13126 
   13127   case $ac_mode in
   13128   :L) ac_source=$1;;
   13129   :[FH])
   13130     ac_file_inputs=
   13131     for ac_f
   13132     do
   13133       case $ac_f in
   13134       -) ac_f="$tmp/stdin";;
   13135       *) # Look for the file first in the build tree, then in the source tree
   13136 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13137 	 # because $ac_f cannot contain `:'.
   13138 	 test -f "$ac_f" ||
   13139 	   case $ac_f in
   13140 	   [\\/$]*) false;;
   13141 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13142 	   esac ||
   13143 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13144       esac
   13145       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13146       as_fn_append ac_file_inputs " '$ac_f'"
   13147     done
   13148 
   13149     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13150     # use $as_me), people would be surprised to read:
   13151     #    /* config.h.  Generated by config.status.  */
   13152     configure_input='Generated from '`
   13153 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13154 	`' by configure.'
   13155     if test x"$ac_file" != x-; then
   13156       configure_input="$ac_file.  $configure_input"
   13157       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13158 $as_echo "$as_me: creating $ac_file" >&6;}
   13159     fi
   13160     # Neutralize special characters interpreted by sed in replacement strings.
   13161     case $configure_input in #(
   13162     *\&* | *\|* | *\\* )
   13163        ac_sed_conf_input=`$as_echo "$configure_input" |
   13164        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13165     *) ac_sed_conf_input=$configure_input;;
   13166     esac
   13167 
   13168     case $ac_tag in
   13169     *:-:* | *:-) cat >"$tmp/stdin" \
   13170       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   13171     esac
   13172     ;;
   13173   esac
   13174 
   13175   ac_dir=`$as_dirname -- "$ac_file" ||
   13176 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13177 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13178 	 X"$ac_file" : 'X\(//\)$' \| \
   13179 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13180 $as_echo X"$ac_file" |
   13181     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13182 	    s//\1/
   13183 	    q
   13184 	  }
   13185 	  /^X\(\/\/\)[^/].*/{
   13186 	    s//\1/
   13187 	    q
   13188 	  }
   13189 	  /^X\(\/\/\)$/{
   13190 	    s//\1/
   13191 	    q
   13192 	  }
   13193 	  /^X\(\/\).*/{
   13194 	    s//\1/
   13195 	    q
   13196 	  }
   13197 	  s/.*/./; q'`
   13198   as_dir="$ac_dir"; as_fn_mkdir_p
   13199   ac_builddir=.
   13200 
   13201 case "$ac_dir" in
   13202 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13203 *)
   13204   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13205   # A ".." for each directory in $ac_dir_suffix.
   13206   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13207   case $ac_top_builddir_sub in
   13208   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13209   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13210   esac ;;
   13211 esac
   13212 ac_abs_top_builddir=$ac_pwd
   13213 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13214 # for backward compatibility:
   13215 ac_top_builddir=$ac_top_build_prefix
   13216 
   13217 case $srcdir in
   13218   .)  # We are building in place.
   13219     ac_srcdir=.
   13220     ac_top_srcdir=$ac_top_builddir_sub
   13221     ac_abs_top_srcdir=$ac_pwd ;;
   13222   [\\/]* | ?:[\\/]* )  # Absolute name.
   13223     ac_srcdir=$srcdir$ac_dir_suffix;
   13224     ac_top_srcdir=$srcdir
   13225     ac_abs_top_srcdir=$srcdir ;;
   13226   *) # Relative name.
   13227     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13228     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13229     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13230 esac
   13231 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13232 
   13233 
   13234   case $ac_mode in
   13235   :F)
   13236   #
   13237   # CONFIG_FILE
   13238   #
   13239 
   13240   case $INSTALL in
   13241   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13242   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13243   esac
   13244   ac_MKDIR_P=$MKDIR_P
   13245   case $MKDIR_P in
   13246   [\\/$]* | ?:[\\/]* ) ;;
   13247   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13248   esac
   13249 _ACEOF
   13250 
   13251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13252 # If the template does not know about datarootdir, expand it.
   13253 # FIXME: This hack should be removed a few years after 2.60.
   13254 ac_datarootdir_hack=; ac_datarootdir_seen=
   13255 ac_sed_dataroot='
   13256 /datarootdir/ {
   13257   p
   13258   q
   13259 }
   13260 /@datadir@/p
   13261 /@docdir@/p
   13262 /@infodir@/p
   13263 /@localedir@/p
   13264 /@mandir@/p'
   13265 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13266 *datarootdir*) ac_datarootdir_seen=yes;;
   13267 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13268   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13269 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13270 _ACEOF
   13271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13272   ac_datarootdir_hack='
   13273   s&@datadir@&$datadir&g
   13274   s&@docdir@&$docdir&g
   13275   s&@infodir@&$infodir&g
   13276   s&@localedir@&$localedir&g
   13277   s&@mandir@&$mandir&g
   13278   s&\\\${datarootdir}&$datarootdir&g' ;;
   13279 esac
   13280 _ACEOF
   13281 
   13282 # Neutralize VPATH when `$srcdir' = `.'.
   13283 # Shell code in configure.ac might set extrasub.
   13284 # FIXME: do we really want to maintain this feature?
   13285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13286 ac_sed_extra="$ac_vpsub
   13287 $extrasub
   13288 _ACEOF
   13289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13290 :t
   13291 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13292 s|@configure_input@|$ac_sed_conf_input|;t t
   13293 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13294 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13295 s&@srcdir@&$ac_srcdir&;t t
   13296 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13297 s&@top_srcdir@&$ac_top_srcdir&;t t
   13298 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13299 s&@builddir@&$ac_builddir&;t t
   13300 s&@abs_builddir@&$ac_abs_builddir&;t t
   13301 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13302 s&@INSTALL@&$ac_INSTALL&;t t
   13303 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13304 $ac_datarootdir_hack
   13305 "
   13306 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13307   || as_fn_error "could not create $ac_file" "$LINENO" 5
   13308 
   13309 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13310   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13311   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13312   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13313 which seems to be undefined.  Please make sure it is defined." >&5
   13314 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13315 which seems to be undefined.  Please make sure it is defined." >&2;}
   13316 
   13317   rm -f "$tmp/stdin"
   13318   case $ac_file in
   13319   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13320   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13321   esac \
   13322   || as_fn_error "could not create $ac_file" "$LINENO" 5
   13323  ;;
   13324   :H)
   13325   #
   13326   # CONFIG_HEADER
   13327   #
   13328   if test x"$ac_file" != x-; then
   13329     {
   13330       $as_echo "/* $configure_input  */" \
   13331       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13332     } >"$tmp/config.h" \
   13333       || as_fn_error "could not create $ac_file" "$LINENO" 5
   13334     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13335       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13336 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13337     else
   13338       rm -f "$ac_file"
   13339       mv "$tmp/config.h" "$ac_file" \
   13340 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   13341     fi
   13342   else
   13343     $as_echo "/* $configure_input  */" \
   13344       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13345       || as_fn_error "could not create -" "$LINENO" 5
   13346   fi
   13347 # Compute "$ac_file"'s index in $config_headers.
   13348 _am_arg="$ac_file"
   13349 _am_stamp_count=1
   13350 for _am_header in $config_headers :; do
   13351   case $_am_header in
   13352     $_am_arg | $_am_arg:* )
   13353       break ;;
   13354     * )
   13355       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13356   esac
   13357 done
   13358 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13359 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13360 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13361 	 X"$_am_arg" : 'X\(//\)$' \| \
   13362 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13363 $as_echo X"$_am_arg" |
   13364     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13365 	    s//\1/
   13366 	    q
   13367 	  }
   13368 	  /^X\(\/\/\)[^/].*/{
   13369 	    s//\1/
   13370 	    q
   13371 	  }
   13372 	  /^X\(\/\/\)$/{
   13373 	    s//\1/
   13374 	    q
   13375 	  }
   13376 	  /^X\(\/\).*/{
   13377 	    s//\1/
   13378 	    q
   13379 	  }
   13380 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13381  ;;
   13382 
   13383   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13384 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13385  ;;
   13386   esac
   13387 
   13388 
   13389   case $ac_file$ac_mode in
   13390     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13391   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13392   # are listed without --file.  Let's play safe and only enable the eval
   13393   # if we detect the quoting.
   13394   case $CONFIG_FILES in
   13395   *\'*) eval set x "$CONFIG_FILES" ;;
   13396   *)   set x $CONFIG_FILES ;;
   13397   esac
   13398   shift
   13399   for mf
   13400   do
   13401     # Strip MF so we end up with the name of the file.
   13402     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13403     # Check whether this is an Automake generated Makefile or not.
   13404     # We used to match only the files named `Makefile.in', but
   13405     # some people rename them; so instead we look at the file content.
   13406     # Grep'ing the first line is not enough: some people post-process
   13407     # each Makefile.in and add a new line on top of each file to say so.
   13408     # Grep'ing the whole file is not good either: AIX grep has a line
   13409     # limit of 2048, but all sed's we know have understand at least 4000.
   13410     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13411       dirpart=`$as_dirname -- "$mf" ||
   13412 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13413 	 X"$mf" : 'X\(//\)[^/]' \| \
   13414 	 X"$mf" : 'X\(//\)$' \| \
   13415 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13416 $as_echo X"$mf" |
   13417     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13418 	    s//\1/
   13419 	    q
   13420 	  }
   13421 	  /^X\(\/\/\)[^/].*/{
   13422 	    s//\1/
   13423 	    q
   13424 	  }
   13425 	  /^X\(\/\/\)$/{
   13426 	    s//\1/
   13427 	    q
   13428 	  }
   13429 	  /^X\(\/\).*/{
   13430 	    s//\1/
   13431 	    q
   13432 	  }
   13433 	  s/.*/./; q'`
   13434     else
   13435       continue
   13436     fi
   13437     # Extract the definition of DEPDIR, am__include, and am__quote
   13438     # from the Makefile without running `make'.
   13439     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13440     test -z "$DEPDIR" && continue
   13441     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13442     test -z "am__include" && continue
   13443     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13444     # When using ansi2knr, U may be empty or an underscore; expand it
   13445     U=`sed -n 's/^U = //p' < "$mf"`
   13446     # Find all dependency output files, they are included files with
   13447     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13448     # simplest approach to changing $(DEPDIR) to its actual value in the
   13449     # expansion.
   13450     for file in `sed -n "
   13451       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13452 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13453       # Make sure the directory exists.
   13454       test -f "$dirpart/$file" && continue
   13455       fdir=`$as_dirname -- "$file" ||
   13456 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13457 	 X"$file" : 'X\(//\)[^/]' \| \
   13458 	 X"$file" : 'X\(//\)$' \| \
   13459 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13460 $as_echo X"$file" |
   13461     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13462 	    s//\1/
   13463 	    q
   13464 	  }
   13465 	  /^X\(\/\/\)[^/].*/{
   13466 	    s//\1/
   13467 	    q
   13468 	  }
   13469 	  /^X\(\/\/\)$/{
   13470 	    s//\1/
   13471 	    q
   13472 	  }
   13473 	  /^X\(\/\).*/{
   13474 	    s//\1/
   13475 	    q
   13476 	  }
   13477 	  s/.*/./; q'`
   13478       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13479       # echo "creating $dirpart/$file"
   13480       echo '# dummy' > "$dirpart/$file"
   13481     done
   13482   done
   13483 }
   13484  ;;
   13485     "libtool":C)
   13486 
   13487     # See if we are running on zsh, and set the options which allow our
   13488     # commands through without removal of \ escapes.
   13489     if test -n "${ZSH_VERSION+set}" ; then
   13490       setopt NO_GLOB_SUBST
   13491     fi
   13492 
   13493     cfgfile="${ofile}T"
   13494     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13495     $RM "$cfgfile"
   13496 
   13497     cat <<_LT_EOF >> "$cfgfile"
   13498 #! $SHELL
   13499 
   13500 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13501 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13502 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13503 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13504 #
   13505 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13506 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13507 #   Written by Gordon Matzigkeit, 1996
   13508 #
   13509 #   This file is part of GNU Libtool.
   13510 #
   13511 # GNU Libtool is free software; you can redistribute it and/or
   13512 # modify it under the terms of the GNU General Public License as
   13513 # published by the Free Software Foundation; either version 2 of
   13514 # the License, or (at your option) any later version.
   13515 #
   13516 # As a special exception to the GNU General Public License,
   13517 # if you distribute this file as part of a program or library that
   13518 # is built using GNU Libtool, you may include this file under the
   13519 # same distribution terms that you use for the rest of that program.
   13520 #
   13521 # GNU Libtool is distributed in the hope that it will be useful,
   13522 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13523 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13524 # GNU General Public License for more details.
   13525 #
   13526 # You should have received a copy of the GNU General Public License
   13527 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13528 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13529 # obtained by writing to the Free Software Foundation, Inc.,
   13530 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13531 
   13532 
   13533 # The names of the tagged configurations supported by this script.
   13534 available_tags=""
   13535 
   13536 # ### BEGIN LIBTOOL CONFIG
   13537 
   13538 # Whether or not to build static libraries.
   13539 build_old_libs=$enable_static
   13540 
   13541 # Which release of libtool.m4 was used?
   13542 macro_version=$macro_version
   13543 macro_revision=$macro_revision
   13544 
   13545 # Whether or not to build shared libraries.
   13546 build_libtool_libs=$enable_shared
   13547 
   13548 # What type of objects to build.
   13549 pic_mode=$pic_mode
   13550 
   13551 # Whether or not to optimize for fast installation.
   13552 fast_install=$enable_fast_install
   13553 
   13554 # The host system.
   13555 host_alias=$host_alias
   13556 host=$host
   13557 host_os=$host_os
   13558 
   13559 # The build system.
   13560 build_alias=$build_alias
   13561 build=$build
   13562 build_os=$build_os
   13563 
   13564 # A sed program that does not truncate output.
   13565 SED=$lt_SED
   13566 
   13567 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13568 Xsed="\$SED -e 1s/^X//"
   13569 
   13570 # A grep program that handles long lines.
   13571 GREP=$lt_GREP
   13572 
   13573 # An ERE matcher.
   13574 EGREP=$lt_EGREP
   13575 
   13576 # A literal string matcher.
   13577 FGREP=$lt_FGREP
   13578 
   13579 # A BSD- or MS-compatible name lister.
   13580 NM=$lt_NM
   13581 
   13582 # Whether we need soft or hard links.
   13583 LN_S=$lt_LN_S
   13584 
   13585 # What is the maximum length of a command?
   13586 max_cmd_len=$max_cmd_len
   13587 
   13588 # Object file suffix (normally "o").
   13589 objext=$ac_objext
   13590 
   13591 # Executable file suffix (normally "").
   13592 exeext=$exeext
   13593 
   13594 # whether the shell understands "unset".
   13595 lt_unset=$lt_unset
   13596 
   13597 # turn spaces into newlines.
   13598 SP2NL=$lt_lt_SP2NL
   13599 
   13600 # turn newlines into spaces.
   13601 NL2SP=$lt_lt_NL2SP
   13602 
   13603 # How to create reloadable object files.
   13604 reload_flag=$lt_reload_flag
   13605 reload_cmds=$lt_reload_cmds
   13606 
   13607 # An object symbol dumper.
   13608 OBJDUMP=$lt_OBJDUMP
   13609 
   13610 # Method to check whether dependent libraries are shared objects.
   13611 deplibs_check_method=$lt_deplibs_check_method
   13612 
   13613 # Command to use when deplibs_check_method == "file_magic".
   13614 file_magic_cmd=$lt_file_magic_cmd
   13615 
   13616 # The archiver.
   13617 AR=$lt_AR
   13618 AR_FLAGS=$lt_AR_FLAGS
   13619 
   13620 # A symbol stripping program.
   13621 STRIP=$lt_STRIP
   13622 
   13623 # Commands used to install an old-style archive.
   13624 RANLIB=$lt_RANLIB
   13625 old_postinstall_cmds=$lt_old_postinstall_cmds
   13626 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13627 
   13628 # A C compiler.
   13629 LTCC=$lt_CC
   13630 
   13631 # LTCC compiler flags.
   13632 LTCFLAGS=$lt_CFLAGS
   13633 
   13634 # Take the output of nm and produce a listing of raw symbols and C names.
   13635 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13636 
   13637 # Transform the output of nm in a proper C declaration.
   13638 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13639 
   13640 # Transform the output of nm in a C name address pair.
   13641 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13642 
   13643 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13644 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13645 
   13646 # The name of the directory that contains temporary libtool files.
   13647 objdir=$objdir
   13648 
   13649 # Shell to use when invoking shell scripts.
   13650 SHELL=$lt_SHELL
   13651 
   13652 # An echo program that does not interpret backslashes.
   13653 ECHO=$lt_ECHO
   13654 
   13655 # Used to examine libraries when file_magic_cmd begins with "file".
   13656 MAGIC_CMD=$MAGIC_CMD
   13657 
   13658 # Must we lock files when doing compilation?
   13659 need_locks=$lt_need_locks
   13660 
   13661 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13662 DSYMUTIL=$lt_DSYMUTIL
   13663 
   13664 # Tool to change global to local symbols on Mac OS X.
   13665 NMEDIT=$lt_NMEDIT
   13666 
   13667 # Tool to manipulate fat objects and archives on Mac OS X.
   13668 LIPO=$lt_LIPO
   13669 
   13670 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13671 OTOOL=$lt_OTOOL
   13672 
   13673 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13674 OTOOL64=$lt_OTOOL64
   13675 
   13676 # Old archive suffix (normally "a").
   13677 libext=$libext
   13678 
   13679 # Shared library suffix (normally ".so").
   13680 shrext_cmds=$lt_shrext_cmds
   13681 
   13682 # The commands to extract the exported symbol list from a shared archive.
   13683 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13684 
   13685 # Variables whose values should be saved in libtool wrapper scripts and
   13686 # restored at link time.
   13687 variables_saved_for_relink=$lt_variables_saved_for_relink
   13688 
   13689 # Do we need the "lib" prefix for modules?
   13690 need_lib_prefix=$need_lib_prefix
   13691 
   13692 # Do we need a version for libraries?
   13693 need_version=$need_version
   13694 
   13695 # Library versioning type.
   13696 version_type=$version_type
   13697 
   13698 # Shared library runtime path variable.
   13699 runpath_var=$runpath_var
   13700 
   13701 # Shared library path variable.
   13702 shlibpath_var=$shlibpath_var
   13703 
   13704 # Is shlibpath searched before the hard-coded library search path?
   13705 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13706 
   13707 # Format of library name prefix.
   13708 libname_spec=$lt_libname_spec
   13709 
   13710 # List of archive names.  First name is the real one, the rest are links.
   13711 # The last name is the one that the linker finds with -lNAME
   13712 library_names_spec=$lt_library_names_spec
   13713 
   13714 # The coded name of the library, if different from the real name.
   13715 soname_spec=$lt_soname_spec
   13716 
   13717 # Command to use after installation of a shared archive.
   13718 postinstall_cmds=$lt_postinstall_cmds
   13719 
   13720 # Command to use after uninstallation of a shared archive.
   13721 postuninstall_cmds=$lt_postuninstall_cmds
   13722 
   13723 # Commands used to finish a libtool library installation in a directory.
   13724 finish_cmds=$lt_finish_cmds
   13725 
   13726 # As "finish_cmds", except a single script fragment to be evaled but
   13727 # not shown.
   13728 finish_eval=$lt_finish_eval
   13729 
   13730 # Whether we should hardcode library paths into libraries.
   13731 hardcode_into_libs=$hardcode_into_libs
   13732 
   13733 # Compile-time system search path for libraries.
   13734 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13735 
   13736 # Run-time system search path for libraries.
   13737 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13738 
   13739 # Whether dlopen is supported.
   13740 dlopen_support=$enable_dlopen
   13741 
   13742 # Whether dlopen of programs is supported.
   13743 dlopen_self=$enable_dlopen_self
   13744 
   13745 # Whether dlopen of statically linked programs is supported.
   13746 dlopen_self_static=$enable_dlopen_self_static
   13747 
   13748 # Commands to strip libraries.
   13749 old_striplib=$lt_old_striplib
   13750 striplib=$lt_striplib
   13751 
   13752 
   13753 # The linker used to build libraries.
   13754 LD=$lt_LD
   13755 
   13756 # Commands used to build an old-style archive.
   13757 old_archive_cmds=$lt_old_archive_cmds
   13758 
   13759 # A language specific compiler.
   13760 CC=$lt_compiler
   13761 
   13762 # Is the compiler the GNU compiler?
   13763 with_gcc=$GCC
   13764 
   13765 # Compiler flag to turn off builtin functions.
   13766 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13767 
   13768 # How to pass a linker flag through the compiler.
   13769 wl=$lt_lt_prog_compiler_wl
   13770 
   13771 # Additional compiler flags for building library objects.
   13772 pic_flag=$lt_lt_prog_compiler_pic
   13773 
   13774 # Compiler flag to prevent dynamic linking.
   13775 link_static_flag=$lt_lt_prog_compiler_static
   13776 
   13777 # Does compiler simultaneously support -c and -o options?
   13778 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13779 
   13780 # Whether or not to add -lc for building shared libraries.
   13781 build_libtool_need_lc=$archive_cmds_need_lc
   13782 
   13783 # Whether or not to disallow shared libs when runtime libs are static.
   13784 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13785 
   13786 # Compiler flag to allow reflexive dlopens.
   13787 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13788 
   13789 # Compiler flag to generate shared objects directly from archives.
   13790 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13791 
   13792 # Whether the compiler copes with passing no objects directly.
   13793 compiler_needs_object=$lt_compiler_needs_object
   13794 
   13795 # Create an old-style archive from a shared archive.
   13796 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13797 
   13798 # Create a temporary old-style archive to link instead of a shared archive.
   13799 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13800 
   13801 # Commands used to build a shared archive.
   13802 archive_cmds=$lt_archive_cmds
   13803 archive_expsym_cmds=$lt_archive_expsym_cmds
   13804 
   13805 # Commands used to build a loadable module if different from building
   13806 # a shared archive.
   13807 module_cmds=$lt_module_cmds
   13808 module_expsym_cmds=$lt_module_expsym_cmds
   13809 
   13810 # Whether we are building with GNU ld or not.
   13811 with_gnu_ld=$lt_with_gnu_ld
   13812 
   13813 # Flag that allows shared libraries with undefined symbols to be built.
   13814 allow_undefined_flag=$lt_allow_undefined_flag
   13815 
   13816 # Flag that enforces no undefined symbols.
   13817 no_undefined_flag=$lt_no_undefined_flag
   13818 
   13819 # Flag to hardcode \$libdir into a binary during linking.
   13820 # This must work even if \$libdir does not exist
   13821 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13822 
   13823 # If ld is used when linking, flag to hardcode \$libdir into a binary
   13824 # during linking.  This must work even if \$libdir does not exist.
   13825 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13826 
   13827 # Whether we need a single "-rpath" flag with a separated argument.
   13828 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13829 
   13830 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13831 # DIR into the resulting binary.
   13832 hardcode_direct=$hardcode_direct
   13833 
   13834 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13835 # DIR into the resulting binary and the resulting library dependency is
   13836 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13837 # library is relocated.
   13838 hardcode_direct_absolute=$hardcode_direct_absolute
   13839 
   13840 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13841 # into the resulting binary.
   13842 hardcode_minus_L=$hardcode_minus_L
   13843 
   13844 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13845 # into the resulting binary.
   13846 hardcode_shlibpath_var=$hardcode_shlibpath_var
   13847 
   13848 # Set to "yes" if building a shared library automatically hardcodes DIR
   13849 # into the library and all subsequent libraries and executables linked
   13850 # against it.
   13851 hardcode_automatic=$hardcode_automatic
   13852 
   13853 # Set to yes if linker adds runtime paths of dependent libraries
   13854 # to runtime path list.
   13855 inherit_rpath=$inherit_rpath
   13856 
   13857 # Whether libtool must link a program against all its dependency libraries.
   13858 link_all_deplibs=$link_all_deplibs
   13859 
   13860 # Fix the shell variable \$srcfile for the compiler.
   13861 fix_srcfile_path=$lt_fix_srcfile_path
   13862 
   13863 # Set to "yes" if exported symbols are required.
   13864 always_export_symbols=$always_export_symbols
   13865 
   13866 # The commands to list exported symbols.
   13867 export_symbols_cmds=$lt_export_symbols_cmds
   13868 
   13869 # Symbols that should not be listed in the preloaded symbols.
   13870 exclude_expsyms=$lt_exclude_expsyms
   13871 
   13872 # Symbols that must always be exported.
   13873 include_expsyms=$lt_include_expsyms
   13874 
   13875 # Commands necessary for linking programs (against libraries) with templates.
   13876 prelink_cmds=$lt_prelink_cmds
   13877 
   13878 # Specify filename containing input files.
   13879 file_list_spec=$lt_file_list_spec
   13880 
   13881 # How to hardcode a shared library path into an executable.
   13882 hardcode_action=$hardcode_action
   13883 
   13884 # ### END LIBTOOL CONFIG
   13885 
   13886 _LT_EOF
   13887 
   13888   case $host_os in
   13889   aix3*)
   13890     cat <<\_LT_EOF >> "$cfgfile"
   13891 # AIX sometimes has problems with the GCC collect2 program.  For some
   13892 # reason, if we set the COLLECT_NAMES environment variable, the problems
   13893 # vanish in a puff of smoke.
   13894 if test "X${COLLECT_NAMES+set}" != Xset; then
   13895   COLLECT_NAMES=
   13896   export COLLECT_NAMES
   13897 fi
   13898 _LT_EOF
   13899     ;;
   13900   esac
   13901 
   13902 
   13903 ltmain="$ac_aux_dir/ltmain.sh"
   13904 
   13905 
   13906   # We use sed instead of cat because bash on DJGPP gets confused if
   13907   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13908   # text mode, it properly converts lines to CR/LF.  This bash problem
   13909   # is reportedly fixed, but why not run on old versions too?
   13910   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13911     || (rm -f "$cfgfile"; exit 1)
   13912 
   13913   case $xsi_shell in
   13914   yes)
   13915     cat << \_LT_EOF >> "$cfgfile"
   13916 
   13917 # func_dirname file append nondir_replacement
   13918 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13919 # otherwise set result to NONDIR_REPLACEMENT.
   13920 func_dirname ()
   13921 {
   13922   case ${1} in
   13923     */*) func_dirname_result="${1%/*}${2}" ;;
   13924     *  ) func_dirname_result="${3}" ;;
   13925   esac
   13926 }
   13927 
   13928 # func_basename file
   13929 func_basename ()
   13930 {
   13931   func_basename_result="${1##*/}"
   13932 }
   13933 
   13934 # func_dirname_and_basename file append nondir_replacement
   13935 # perform func_basename and func_dirname in a single function
   13936 # call:
   13937 #   dirname:  Compute the dirname of FILE.  If nonempty,
   13938 #             add APPEND to the result, otherwise set result
   13939 #             to NONDIR_REPLACEMENT.
   13940 #             value returned in "$func_dirname_result"
   13941 #   basename: Compute filename of FILE.
   13942 #             value retuned in "$func_basename_result"
   13943 # Implementation must be kept synchronized with func_dirname
   13944 # and func_basename. For efficiency, we do not delegate to
   13945 # those functions but instead duplicate the functionality here.
   13946 func_dirname_and_basename ()
   13947 {
   13948   case ${1} in
   13949     */*) func_dirname_result="${1%/*}${2}" ;;
   13950     *  ) func_dirname_result="${3}" ;;
   13951   esac
   13952   func_basename_result="${1##*/}"
   13953 }
   13954 
   13955 # func_stripname prefix suffix name
   13956 # strip PREFIX and SUFFIX off of NAME.
   13957 # PREFIX and SUFFIX must not contain globbing or regex special
   13958 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13959 # dot (in which case that matches only a dot).
   13960 func_stripname ()
   13961 {
   13962   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   13963   # positional parameters, so assign one to ordinary parameter first.
   13964   func_stripname_result=${3}
   13965   func_stripname_result=${func_stripname_result#"${1}"}
   13966   func_stripname_result=${func_stripname_result%"${2}"}
   13967 }
   13968 
   13969 # func_opt_split
   13970 func_opt_split ()
   13971 {
   13972   func_opt_split_opt=${1%%=*}
   13973   func_opt_split_arg=${1#*=}
   13974 }
   13975 
   13976 # func_lo2o object
   13977 func_lo2o ()
   13978 {
   13979   case ${1} in
   13980     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   13981     *)    func_lo2o_result=${1} ;;
   13982   esac
   13983 }
   13984 
   13985 # func_xform libobj-or-source
   13986 func_xform ()
   13987 {
   13988   func_xform_result=${1%.*}.lo
   13989 }
   13990 
   13991 # func_arith arithmetic-term...
   13992 func_arith ()
   13993 {
   13994   func_arith_result=$(( $* ))
   13995 }
   13996 
   13997 # func_len string
   13998 # STRING may not start with a hyphen.
   13999 func_len ()
   14000 {
   14001   func_len_result=${#1}
   14002 }
   14003 
   14004 _LT_EOF
   14005     ;;
   14006   *) # Bourne compatible functions.
   14007     cat << \_LT_EOF >> "$cfgfile"
   14008 
   14009 # func_dirname file append nondir_replacement
   14010 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14011 # otherwise set result to NONDIR_REPLACEMENT.
   14012 func_dirname ()
   14013 {
   14014   # Extract subdirectory from the argument.
   14015   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   14016   if test "X$func_dirname_result" = "X${1}"; then
   14017     func_dirname_result="${3}"
   14018   else
   14019     func_dirname_result="$func_dirname_result${2}"
   14020   fi
   14021 }
   14022 
   14023 # func_basename file
   14024 func_basename ()
   14025 {
   14026   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   14027 }
   14028 
   14029 
   14030 # func_stripname prefix suffix name
   14031 # strip PREFIX and SUFFIX off of NAME.
   14032 # PREFIX and SUFFIX must not contain globbing or regex special
   14033 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14034 # dot (in which case that matches only a dot).
   14035 # func_strip_suffix prefix name
   14036 func_stripname ()
   14037 {
   14038   case ${2} in
   14039     .*) func_stripname_result=`$ECHO "X${3}" \
   14040            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   14041     *)  func_stripname_result=`$ECHO "X${3}" \
   14042            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   14043   esac
   14044 }
   14045 
   14046 # sed scripts:
   14047 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14048 my_sed_long_arg='1s/^-[^=]*=//'
   14049 
   14050 # func_opt_split
   14051 func_opt_split ()
   14052 {
   14053   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   14054   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   14055 }
   14056 
   14057 # func_lo2o object
   14058 func_lo2o ()
   14059 {
   14060   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   14061 }
   14062 
   14063 # func_xform libobj-or-source
   14064 func_xform ()
   14065 {
   14066   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   14067 }
   14068 
   14069 # func_arith arithmetic-term...
   14070 func_arith ()
   14071 {
   14072   func_arith_result=`expr "$@"`
   14073 }
   14074 
   14075 # func_len string
   14076 # STRING may not start with a hyphen.
   14077 func_len ()
   14078 {
   14079   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   14080 }
   14081 
   14082 _LT_EOF
   14083 esac
   14084 
   14085 case $lt_shell_append in
   14086   yes)
   14087     cat << \_LT_EOF >> "$cfgfile"
   14088 
   14089 # func_append var value
   14090 # Append VALUE to the end of shell variable VAR.
   14091 func_append ()
   14092 {
   14093   eval "$1+=\$2"
   14094 }
   14095 _LT_EOF
   14096     ;;
   14097   *)
   14098     cat << \_LT_EOF >> "$cfgfile"
   14099 
   14100 # func_append var value
   14101 # Append VALUE to the end of shell variable VAR.
   14102 func_append ()
   14103 {
   14104   eval "$1=\$$1\$2"
   14105 }
   14106 
   14107 _LT_EOF
   14108     ;;
   14109   esac
   14110 
   14111 
   14112   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14113     || (rm -f "$cfgfile"; exit 1)
   14114 
   14115   mv -f "$cfgfile" "$ofile" ||
   14116     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14117   chmod +x "$ofile"
   14118 
   14119  ;;
   14120 
   14121   esac
   14122 done # for ac_tag
   14123 
   14124 
   14125 as_fn_exit 0
   14126 _ACEOF
   14127 ac_clean_files=$ac_clean_files_save
   14128 
   14129 test $ac_write_fail = 0 ||
   14130   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   14131 
   14132 
   14133 # configure is writing to config.log, and then calls config.status.
   14134 # config.status does its own redirection, appending to config.log.
   14135 # Unfortunately, on DOS this fails, as config.log is still kept open
   14136 # by configure, so config.status won't be able to write to it; its
   14137 # output is simply discarded.  So we exec the FD to /dev/null,
   14138 # effectively closing config.log, so it can be properly (re)opened and
   14139 # appended to by config.status.  When coming back to configure, we
   14140 # need to make the FD available again.
   14141 if test "$no_create" != yes; then
   14142   ac_cs_success=:
   14143   ac_config_status_args=
   14144   test "$silent" = yes &&
   14145     ac_config_status_args="$ac_config_status_args --quiet"
   14146   exec 5>/dev/null
   14147   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14148   exec 5>>config.log
   14149   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14150   # would make configure fail if this is the last instruction.
   14151   $ac_cs_success || as_fn_exit $?
   14152 fi
   14153 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14154   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14155 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14156 fi
   14157 
   14158