Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXpm 3.5.9.
      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, 2010 Free Software
     10 # Foundation, 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 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='libXpm'
    573 PACKAGE_TARNAME='libXpm'
    574 PACKAGE_VERSION='3.5.9'
    575 PACKAGE_STRING='libXpm 3.5.9'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 USE_GETTEXT_FALSE
    621 USE_GETTEXT_TRUE
    622 LOCALEDIR
    623 BUILD_SXPM_FALSE
    624 BUILD_SXPM_TRUE
    625 SXPM_LIBS
    626 SXPM_CFLAGS
    627 XPM_LIBS
    628 XPM_CFLAGS
    629 AM_BACKSLASH
    630 AM_DEFAULT_VERBOSITY
    631 MAN_SUBSTS
    632 XORG_MAN_PAGE
    633 ADMIN_MAN_DIR
    634 DRIVER_MAN_DIR
    635 MISC_MAN_DIR
    636 FILE_MAN_DIR
    637 LIB_MAN_DIR
    638 APP_MAN_DIR
    639 ADMIN_MAN_SUFFIX
    640 DRIVER_MAN_SUFFIX
    641 MISC_MAN_SUFFIX
    642 FILE_MAN_SUFFIX
    643 LIB_MAN_SUFFIX
    644 APP_MAN_SUFFIX
    645 INSTALL_CMD
    646 PKG_CONFIG
    647 CHANGELOG_CMD
    648 CWARNFLAGS
    649 CPP
    650 OTOOL64
    651 OTOOL
    652 LIPO
    653 NMEDIT
    654 DSYMUTIL
    655 RANLIB
    656 AR
    657 OBJDUMP
    658 LN_S
    659 NM
    660 ac_ct_DUMPBIN
    661 DUMPBIN
    662 LD
    663 FGREP
    664 EGREP
    665 GREP
    666 SED
    667 am__fastdepCC_FALSE
    668 am__fastdepCC_TRUE
    669 CCDEPMODE
    670 AMDEPBACKSLASH
    671 AMDEP_FALSE
    672 AMDEP_TRUE
    673 am__quote
    674 am__include
    675 DEPDIR
    676 OBJEXT
    677 EXEEXT
    678 ac_ct_CC
    679 CPPFLAGS
    680 LDFLAGS
    681 CFLAGS
    682 CC
    683 host_os
    684 host_vendor
    685 host_cpu
    686 host
    687 build_os
    688 build_vendor
    689 build_cpu
    690 build
    691 LIBTOOL
    692 MAINT
    693 MAINTAINER_MODE_FALSE
    694 MAINTAINER_MODE_TRUE
    695 am__untar
    696 am__tar
    697 AMTAR
    698 am__leading_dot
    699 SET_MAKE
    700 AWK
    701 mkdir_p
    702 MKDIR_P
    703 INSTALL_STRIP_PROGRAM
    704 STRIP
    705 install_sh
    706 MAKEINFO
    707 AUTOHEADER
    708 AUTOMAKE
    709 AUTOCONF
    710 ACLOCAL
    711 VERSION
    712 PACKAGE
    713 CYGPATH_W
    714 am__isrc
    715 INSTALL_DATA
    716 INSTALL_SCRIPT
    717 INSTALL_PROGRAM
    718 target_alias
    719 host_alias
    720 build_alias
    721 LIBS
    722 ECHO_T
    723 ECHO_N
    724 ECHO_C
    725 DEFS
    726 mandir
    727 localedir
    728 libdir
    729 psdir
    730 pdfdir
    731 dvidir
    732 htmldir
    733 infodir
    734 docdir
    735 oldincludedir
    736 includedir
    737 localstatedir
    738 sharedstatedir
    739 sysconfdir
    740 datadir
    741 datarootdir
    742 libexecdir
    743 sbindir
    744 bindir
    745 program_transform_name
    746 prefix
    747 exec_prefix
    748 PACKAGE_URL
    749 PACKAGE_BUGREPORT
    750 PACKAGE_STRING
    751 PACKAGE_VERSION
    752 PACKAGE_TARNAME
    753 PACKAGE_NAME
    754 PATH_SEPARATOR
    755 SHELL'
    756 ac_subst_files=''
    757 ac_user_opts='
    758 enable_option_checking
    759 enable_maintainer_mode
    760 enable_shared
    761 enable_static
    762 with_pic
    763 enable_fast_install
    764 enable_dependency_tracking
    765 with_gnu_ld
    766 enable_libtool_lock
    767 enable_strict_compilation
    768 enable_silent_rules
    769 with_localedir
    770 enable_stat_zfile
    771 '
    772       ac_precious_vars='build_alias
    773 host_alias
    774 target_alias
    775 CC
    776 CFLAGS
    777 LDFLAGS
    778 LIBS
    779 CPPFLAGS
    780 CPP
    781 PKG_CONFIG
    782 XPM_CFLAGS
    783 XPM_LIBS
    784 SXPM_CFLAGS
    785 SXPM_LIBS'
    786 
    787 
    788 # Initialize some variables set by options.
    789 ac_init_help=
    790 ac_init_version=false
    791 ac_unrecognized_opts=
    792 ac_unrecognized_sep=
    793 # The variables have the same names as the options, with
    794 # dashes changed to underlines.
    795 cache_file=/dev/null
    796 exec_prefix=NONE
    797 no_create=
    798 no_recursion=
    799 prefix=NONE
    800 program_prefix=NONE
    801 program_suffix=NONE
    802 program_transform_name=s,x,x,
    803 silent=
    804 site=
    805 srcdir=
    806 verbose=
    807 x_includes=NONE
    808 x_libraries=NONE
    809 
    810 # Installation directory options.
    811 # These are left unexpanded so users can "make install exec_prefix=/foo"
    812 # and all the variables that are supposed to be based on exec_prefix
    813 # by default will actually change.
    814 # Use braces instead of parens because sh, perl, etc. also accept them.
    815 # (The list follows the same order as the GNU Coding Standards.)
    816 bindir='${exec_prefix}/bin'
    817 sbindir='${exec_prefix}/sbin'
    818 libexecdir='${exec_prefix}/libexec'
    819 datarootdir='${prefix}/share'
    820 datadir='${datarootdir}'
    821 sysconfdir='${prefix}/etc'
    822 sharedstatedir='${prefix}/com'
    823 localstatedir='${prefix}/var'
    824 includedir='${prefix}/include'
    825 oldincludedir='/usr/include'
    826 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    827 infodir='${datarootdir}/info'
    828 htmldir='${docdir}'
    829 dvidir='${docdir}'
    830 pdfdir='${docdir}'
    831 psdir='${docdir}'
    832 libdir='${exec_prefix}/lib'
    833 localedir='${datarootdir}/locale'
    834 mandir='${datarootdir}/man'
    835 
    836 ac_prev=
    837 ac_dashdash=
    838 for ac_option
    839 do
    840   # If the previous option needs an argument, assign it.
    841   if test -n "$ac_prev"; then
    842     eval $ac_prev=\$ac_option
    843     ac_prev=
    844     continue
    845   fi
    846 
    847   case $ac_option in
    848   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    849   *=)   ac_optarg= ;;
    850   *)    ac_optarg=yes ;;
    851   esac
    852 
    853   # Accept the important Cygnus configure options, so we can diagnose typos.
    854 
    855   case $ac_dashdash$ac_option in
    856   --)
    857     ac_dashdash=yes ;;
    858 
    859   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    860     ac_prev=bindir ;;
    861   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    862     bindir=$ac_optarg ;;
    863 
    864   -build | --build | --buil | --bui | --bu)
    865     ac_prev=build_alias ;;
    866   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    867     build_alias=$ac_optarg ;;
    868 
    869   -cache-file | --cache-file | --cache-fil | --cache-fi \
    870   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    871     ac_prev=cache_file ;;
    872   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    873   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    874     cache_file=$ac_optarg ;;
    875 
    876   --config-cache | -C)
    877     cache_file=config.cache ;;
    878 
    879   -datadir | --datadir | --datadi | --datad)
    880     ac_prev=datadir ;;
    881   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    882     datadir=$ac_optarg ;;
    883 
    884   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    885   | --dataroo | --dataro | --datar)
    886     ac_prev=datarootdir ;;
    887   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    888   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    889     datarootdir=$ac_optarg ;;
    890 
    891   -disable-* | --disable-*)
    892     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    893     # Reject names that are not valid shell variable names.
    894     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    895       as_fn_error $? "invalid feature name: $ac_useropt"
    896     ac_useropt_orig=$ac_useropt
    897     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    898     case $ac_user_opts in
    899       *"
    900 "enable_$ac_useropt"
    901 "*) ;;
    902       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    903 	 ac_unrecognized_sep=', ';;
    904     esac
    905     eval enable_$ac_useropt=no ;;
    906 
    907   -docdir | --docdir | --docdi | --doc | --do)
    908     ac_prev=docdir ;;
    909   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    910     docdir=$ac_optarg ;;
    911 
    912   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    913     ac_prev=dvidir ;;
    914   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    915     dvidir=$ac_optarg ;;
    916 
    917   -enable-* | --enable-*)
    918     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    919     # Reject names that are not valid shell variable names.
    920     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    921       as_fn_error $? "invalid feature name: $ac_useropt"
    922     ac_useropt_orig=$ac_useropt
    923     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    924     case $ac_user_opts in
    925       *"
    926 "enable_$ac_useropt"
    927 "*) ;;
    928       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    929 	 ac_unrecognized_sep=', ';;
    930     esac
    931     eval enable_$ac_useropt=\$ac_optarg ;;
    932 
    933   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    934   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    935   | --exec | --exe | --ex)
    936     ac_prev=exec_prefix ;;
    937   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    938   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    939   | --exec=* | --exe=* | --ex=*)
    940     exec_prefix=$ac_optarg ;;
    941 
    942   -gas | --gas | --ga | --g)
    943     # Obsolete; use --with-gas.
    944     with_gas=yes ;;
    945 
    946   -help | --help | --hel | --he | -h)
    947     ac_init_help=long ;;
    948   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    949     ac_init_help=recursive ;;
    950   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    951     ac_init_help=short ;;
    952 
    953   -host | --host | --hos | --ho)
    954     ac_prev=host_alias ;;
    955   -host=* | --host=* | --hos=* | --ho=*)
    956     host_alias=$ac_optarg ;;
    957 
    958   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    959     ac_prev=htmldir ;;
    960   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    961   | --ht=*)
    962     htmldir=$ac_optarg ;;
    963 
    964   -includedir | --includedir | --includedi | --included | --include \
    965   | --includ | --inclu | --incl | --inc)
    966     ac_prev=includedir ;;
    967   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    968   | --includ=* | --inclu=* | --incl=* | --inc=*)
    969     includedir=$ac_optarg ;;
    970 
    971   -infodir | --infodir | --infodi | --infod | --info | --inf)
    972     ac_prev=infodir ;;
    973   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    974     infodir=$ac_optarg ;;
    975 
    976   -libdir | --libdir | --libdi | --libd)
    977     ac_prev=libdir ;;
    978   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    979     libdir=$ac_optarg ;;
    980 
    981   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    982   | --libexe | --libex | --libe)
    983     ac_prev=libexecdir ;;
    984   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    985   | --libexe=* | --libex=* | --libe=*)
    986     libexecdir=$ac_optarg ;;
    987 
    988   -localedir | --localedir | --localedi | --localed | --locale)
    989     ac_prev=localedir ;;
    990   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    991     localedir=$ac_optarg ;;
    992 
    993   -localstatedir | --localstatedir | --localstatedi | --localstated \
    994   | --localstate | --localstat | --localsta | --localst | --locals)
    995     ac_prev=localstatedir ;;
    996   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    997   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    998     localstatedir=$ac_optarg ;;
    999 
   1000   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1001     ac_prev=mandir ;;
   1002   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1003     mandir=$ac_optarg ;;
   1004 
   1005   -nfp | --nfp | --nf)
   1006     # Obsolete; use --without-fp.
   1007     with_fp=no ;;
   1008 
   1009   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1010   | --no-cr | --no-c | -n)
   1011     no_create=yes ;;
   1012 
   1013   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1014   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1015     no_recursion=yes ;;
   1016 
   1017   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1018   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1019   | --oldin | --oldi | --old | --ol | --o)
   1020     ac_prev=oldincludedir ;;
   1021   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1022   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1023   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1024     oldincludedir=$ac_optarg ;;
   1025 
   1026   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1027     ac_prev=prefix ;;
   1028   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1029     prefix=$ac_optarg ;;
   1030 
   1031   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1032   | --program-pre | --program-pr | --program-p)
   1033     ac_prev=program_prefix ;;
   1034   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1035   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1036     program_prefix=$ac_optarg ;;
   1037 
   1038   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1039   | --program-suf | --program-su | --program-s)
   1040     ac_prev=program_suffix ;;
   1041   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1042   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1043     program_suffix=$ac_optarg ;;
   1044 
   1045   -program-transform-name | --program-transform-name \
   1046   | --program-transform-nam | --program-transform-na \
   1047   | --program-transform-n | --program-transform- \
   1048   | --program-transform | --program-transfor \
   1049   | --program-transfo | --program-transf \
   1050   | --program-trans | --program-tran \
   1051   | --progr-tra | --program-tr | --program-t)
   1052     ac_prev=program_transform_name ;;
   1053   -program-transform-name=* | --program-transform-name=* \
   1054   | --program-transform-nam=* | --program-transform-na=* \
   1055   | --program-transform-n=* | --program-transform-=* \
   1056   | --program-transform=* | --program-transfor=* \
   1057   | --program-transfo=* | --program-transf=* \
   1058   | --program-trans=* | --program-tran=* \
   1059   | --progr-tra=* | --program-tr=* | --program-t=*)
   1060     program_transform_name=$ac_optarg ;;
   1061 
   1062   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1063     ac_prev=pdfdir ;;
   1064   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1065     pdfdir=$ac_optarg ;;
   1066 
   1067   -psdir | --psdir | --psdi | --psd | --ps)
   1068     ac_prev=psdir ;;
   1069   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1070     psdir=$ac_optarg ;;
   1071 
   1072   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1073   | -silent | --silent | --silen | --sile | --sil)
   1074     silent=yes ;;
   1075 
   1076   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1077     ac_prev=sbindir ;;
   1078   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1079   | --sbi=* | --sb=*)
   1080     sbindir=$ac_optarg ;;
   1081 
   1082   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1083   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1084   | --sharedst | --shareds | --shared | --share | --shar \
   1085   | --sha | --sh)
   1086     ac_prev=sharedstatedir ;;
   1087   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1088   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1089   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1090   | --sha=* | --sh=*)
   1091     sharedstatedir=$ac_optarg ;;
   1092 
   1093   -site | --site | --sit)
   1094     ac_prev=site ;;
   1095   -site=* | --site=* | --sit=*)
   1096     site=$ac_optarg ;;
   1097 
   1098   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1099     ac_prev=srcdir ;;
   1100   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1101     srcdir=$ac_optarg ;;
   1102 
   1103   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1104   | --syscon | --sysco | --sysc | --sys | --sy)
   1105     ac_prev=sysconfdir ;;
   1106   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1107   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1108     sysconfdir=$ac_optarg ;;
   1109 
   1110   -target | --target | --targe | --targ | --tar | --ta | --t)
   1111     ac_prev=target_alias ;;
   1112   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1113     target_alias=$ac_optarg ;;
   1114 
   1115   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1116     verbose=yes ;;
   1117 
   1118   -version | --version | --versio | --versi | --vers | -V)
   1119     ac_init_version=: ;;
   1120 
   1121   -with-* | --with-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: $ac_useropt"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=\$ac_optarg ;;
   1136 
   1137   -without-* | --without-*)
   1138     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1139     # Reject names that are not valid shell variable names.
   1140     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1141       as_fn_error $? "invalid package name: $ac_useropt"
   1142     ac_useropt_orig=$ac_useropt
   1143     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1144     case $ac_user_opts in
   1145       *"
   1146 "with_$ac_useropt"
   1147 "*) ;;
   1148       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1149 	 ac_unrecognized_sep=', ';;
   1150     esac
   1151     eval with_$ac_useropt=no ;;
   1152 
   1153   --x)
   1154     # Obsolete; use --with-x.
   1155     with_x=yes ;;
   1156 
   1157   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1158   | --x-incl | --x-inc | --x-in | --x-i)
   1159     ac_prev=x_includes ;;
   1160   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1161   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1162     x_includes=$ac_optarg ;;
   1163 
   1164   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1165   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1166     ac_prev=x_libraries ;;
   1167   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1168   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1169     x_libraries=$ac_optarg ;;
   1170 
   1171   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1172 Try \`$0 --help' for more information"
   1173     ;;
   1174 
   1175   *=*)
   1176     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1177     # Reject names that are not valid shell variable names.
   1178     case $ac_envvar in #(
   1179       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1180       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1181     esac
   1182     eval $ac_envvar=\$ac_optarg
   1183     export $ac_envvar ;;
   1184 
   1185   *)
   1186     # FIXME: should be removed in autoconf 3.0.
   1187     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1188     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1189       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1190     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1191     ;;
   1192 
   1193   esac
   1194 done
   1195 
   1196 if test -n "$ac_prev"; then
   1197   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1198   as_fn_error $? "missing argument to $ac_option"
   1199 fi
   1200 
   1201 if test -n "$ac_unrecognized_opts"; then
   1202   case $enable_option_checking in
   1203     no) ;;
   1204     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1205     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1206   esac
   1207 fi
   1208 
   1209 # Check all directory arguments for consistency.
   1210 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1211 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1212 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1213 		libdir localedir mandir
   1214 do
   1215   eval ac_val=\$$ac_var
   1216   # Remove trailing slashes.
   1217   case $ac_val in
   1218     */ )
   1219       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1220       eval $ac_var=\$ac_val;;
   1221   esac
   1222   # Be sure to have absolute directory names.
   1223   case $ac_val in
   1224     [\\/$]* | ?:[\\/]* )  continue;;
   1225     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1226   esac
   1227   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1228 done
   1229 
   1230 # There might be people who depend on the old broken behavior: `$host'
   1231 # used to hold the argument of --host etc.
   1232 # FIXME: To remove some day.
   1233 build=$build_alias
   1234 host=$host_alias
   1235 target=$target_alias
   1236 
   1237 # FIXME: To remove some day.
   1238 if test "x$host_alias" != x; then
   1239   if test "x$build_alias" = x; then
   1240     cross_compiling=maybe
   1241     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1242     If a cross compiler is detected then cross compile mode will be used" >&2
   1243   elif test "x$build_alias" != "x$host_alias"; then
   1244     cross_compiling=yes
   1245   fi
   1246 fi
   1247 
   1248 ac_tool_prefix=
   1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1250 
   1251 test "$silent" = yes && exec 6>/dev/null
   1252 
   1253 
   1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1255 ac_ls_di=`ls -di .` &&
   1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1257   as_fn_error $? "working directory cannot be determined"
   1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1259   as_fn_error $? "pwd does not report name of working directory"
   1260 
   1261 
   1262 # Find the source files, if location was not specified.
   1263 if test -z "$srcdir"; then
   1264   ac_srcdir_defaulted=yes
   1265   # Try the directory containing this script, then the parent directory.
   1266   ac_confdir=`$as_dirname -- "$as_myself" ||
   1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1268 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1269 	 X"$as_myself" : 'X\(//\)$' \| \
   1270 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1271 $as_echo X"$as_myself" |
   1272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\/\)[^/].*/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\/\)$/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  /^X\(\/\).*/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  s/.*/./; q'`
   1289   srcdir=$ac_confdir
   1290   if test ! -r "$srcdir/$ac_unique_file"; then
   1291     srcdir=..
   1292   fi
   1293 else
   1294   ac_srcdir_defaulted=no
   1295 fi
   1296 if test ! -r "$srcdir/$ac_unique_file"; then
   1297   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1298   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1299 fi
   1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1301 ac_abs_confdir=`(
   1302 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1303 	pwd)`
   1304 # When building in place, set srcdir=.
   1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1306   srcdir=.
   1307 fi
   1308 # Remove unnecessary trailing slashes from srcdir.
   1309 # Double slashes in file names in object file debugging info
   1310 # mess up M-x gdb in Emacs.
   1311 case $srcdir in
   1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1313 esac
   1314 for ac_var in $ac_precious_vars; do
   1315   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1316   eval ac_env_${ac_var}_value=\$${ac_var}
   1317   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1318   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1319 done
   1320 
   1321 #
   1322 # Report the --help message.
   1323 #
   1324 if test "$ac_init_help" = "long"; then
   1325   # Omit some internal or obsolete options to make the list less imposing.
   1326   # This message is too long to be a string in the A/UX 3.1 sh.
   1327   cat <<_ACEOF
   1328 \`configure' configures libXpm 3.5.9 to adapt to many kinds of systems.
   1329 
   1330 Usage: $0 [OPTION]... [VAR=VALUE]...
   1331 
   1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1333 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1334 
   1335 Defaults for the options are specified in brackets.
   1336 
   1337 Configuration:
   1338   -h, --help              display this help and exit
   1339       --help=short        display options specific to this package
   1340       --help=recursive    display the short help of all the included packages
   1341   -V, --version           display version information and exit
   1342   -q, --quiet, --silent   do not print \`checking ...' messages
   1343       --cache-file=FILE   cache test results in FILE [disabled]
   1344   -C, --config-cache      alias for \`--cache-file=config.cache'
   1345   -n, --no-create         do not create output files
   1346       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1347 
   1348 Installation directories:
   1349   --prefix=PREFIX         install architecture-independent files in PREFIX
   1350                           [$ac_default_prefix]
   1351   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1352                           [PREFIX]
   1353 
   1354 By default, \`make install' will install all the files in
   1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1357 for instance \`--prefix=\$HOME'.
   1358 
   1359 For better control, use the options below.
   1360 
   1361 Fine tuning of the installation directories:
   1362   --bindir=DIR            user executables [EPREFIX/bin]
   1363   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1364   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1365   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1366   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1367   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1368   --libdir=DIR            object code libraries [EPREFIX/lib]
   1369   --includedir=DIR        C header files [PREFIX/include]
   1370   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1371   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1372   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1373   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1374   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1375   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1376   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpm]
   1377   --htmldir=DIR           html documentation [DOCDIR]
   1378   --dvidir=DIR            dvi documentation [DOCDIR]
   1379   --pdfdir=DIR            pdf documentation [DOCDIR]
   1380   --psdir=DIR             ps documentation [DOCDIR]
   1381 _ACEOF
   1382 
   1383   cat <<\_ACEOF
   1384 
   1385 Program names:
   1386   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1387   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1388   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1389 
   1390 System types:
   1391   --build=BUILD     configure for building on BUILD [guessed]
   1392   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1393 _ACEOF
   1394 fi
   1395 
   1396 if test -n "$ac_init_help"; then
   1397   case $ac_init_help in
   1398      short | recursive ) echo "Configuration of libXpm 3.5.9:";;
   1399    esac
   1400   cat <<\_ACEOF
   1401 
   1402 Optional Features:
   1403   --disable-option-checking  ignore unrecognized --enable/--with options
   1404   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1405   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1406   --enable-maintainer-mode  enable make rules and dependencies not useful
   1407 			  (and sometimes confusing) to the casual installer
   1408   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1409   --enable-static[=PKGS]  build static libraries [default=yes]
   1410   --enable-fast-install[=PKGS]
   1411                           optimize for fast installation [default=yes]
   1412   --disable-dependency-tracking  speeds up one-time build
   1413   --enable-dependency-tracking   do not reject slow dependency extractors
   1414   --disable-libtool-lock  avoid locking (might break parallel builds)
   1415   --enable-strict-compilation
   1416                           Enable all warnings from compiler and make them
   1417                           errors (default: disabled)
   1418   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1419   --disable-silent-rules         verbose build output (undo: `make V=0')
   1420   --enable-stat-zfile     Search for files with .Z & .gz extensions
   1421                           automatically [default=yes]
   1422 
   1423 Optional Packages:
   1424   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1425   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1426   --with-pic              try to use only PIC/non-PIC objects [default=use
   1427                           both]
   1428   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1429   --with-localedir=<path> Path to install message files in (default:
   1430                           datadir/locale)
   1431 
   1432 Some influential environment variables:
   1433   CC          C compiler command
   1434   CFLAGS      C compiler flags
   1435   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1436               nonstandard directory <lib dir>
   1437   LIBS        libraries to pass to the linker, e.g. -l<library>
   1438   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1439               you have headers in a nonstandard directory <include dir>
   1440   CPP         C preprocessor
   1441   PKG_CONFIG  path to pkg-config utility
   1442   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1443   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1444   SXPM_CFLAGS C compiler flags for SXPM, overriding pkg-config
   1445   SXPM_LIBS   linker flags for SXPM, overriding pkg-config
   1446 
   1447 Use these variables to override the choices made by `configure' or to help
   1448 it to find libraries and programs with nonstandard names/locations.
   1449 
   1450 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1451 _ACEOF
   1452 ac_status=$?
   1453 fi
   1454 
   1455 if test "$ac_init_help" = "recursive"; then
   1456   # If there are subdirs, report their specific --help.
   1457   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1458     test -d "$ac_dir" ||
   1459       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1460       continue
   1461     ac_builddir=.
   1462 
   1463 case "$ac_dir" in
   1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1465 *)
   1466   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1467   # A ".." for each directory in $ac_dir_suffix.
   1468   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1469   case $ac_top_builddir_sub in
   1470   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1471   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1472   esac ;;
   1473 esac
   1474 ac_abs_top_builddir=$ac_pwd
   1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1476 # for backward compatibility:
   1477 ac_top_builddir=$ac_top_build_prefix
   1478 
   1479 case $srcdir in
   1480   .)  # We are building in place.
   1481     ac_srcdir=.
   1482     ac_top_srcdir=$ac_top_builddir_sub
   1483     ac_abs_top_srcdir=$ac_pwd ;;
   1484   [\\/]* | ?:[\\/]* )  # Absolute name.
   1485     ac_srcdir=$srcdir$ac_dir_suffix;
   1486     ac_top_srcdir=$srcdir
   1487     ac_abs_top_srcdir=$srcdir ;;
   1488   *) # Relative name.
   1489     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1490     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1491     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1492 esac
   1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1494 
   1495     cd "$ac_dir" || { ac_status=$?; continue; }
   1496     # Check for guested configure.
   1497     if test -f "$ac_srcdir/configure.gnu"; then
   1498       echo &&
   1499       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1500     elif test -f "$ac_srcdir/configure"; then
   1501       echo &&
   1502       $SHELL "$ac_srcdir/configure" --help=recursive
   1503     else
   1504       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1505     fi || ac_status=$?
   1506     cd "$ac_pwd" || { ac_status=$?; break; }
   1507   done
   1508 fi
   1509 
   1510 test -n "$ac_init_help" && exit $ac_status
   1511 if $ac_init_version; then
   1512   cat <<\_ACEOF
   1513 libXpm configure 3.5.9
   1514 generated by GNU Autoconf 2.68
   1515 
   1516 Copyright (C) 2010 Free Software Foundation, Inc.
   1517 This configure script is free software; the Free Software Foundation
   1518 gives unlimited permission to copy, distribute and modify it.
   1519 _ACEOF
   1520   exit
   1521 fi
   1522 
   1523 ## ------------------------ ##
   1524 ## Autoconf initialization. ##
   1525 ## ------------------------ ##
   1526 
   1527 # ac_fn_c_try_compile LINENO
   1528 # --------------------------
   1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1530 ac_fn_c_try_compile ()
   1531 {
   1532   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1533   rm -f conftest.$ac_objext
   1534   if { { ac_try="$ac_compile"
   1535 case "(($ac_try" in
   1536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1537   *) ac_try_echo=$ac_try;;
   1538 esac
   1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1540 $as_echo "$ac_try_echo"; } >&5
   1541   (eval "$ac_compile") 2>conftest.err
   1542   ac_status=$?
   1543   if test -s conftest.err; then
   1544     grep -v '^ *+' conftest.err >conftest.er1
   1545     cat conftest.er1 >&5
   1546     mv -f conftest.er1 conftest.err
   1547   fi
   1548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1549   test $ac_status = 0; } && {
   1550 	 test -z "$ac_c_werror_flag" ||
   1551 	 test ! -s conftest.err
   1552        } && test -s conftest.$ac_objext; then :
   1553   ac_retval=0
   1554 else
   1555   $as_echo "$as_me: failed program was:" >&5
   1556 sed 's/^/| /' conftest.$ac_ext >&5
   1557 
   1558 	ac_retval=1
   1559 fi
   1560   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1561   as_fn_set_status $ac_retval
   1562 
   1563 } # ac_fn_c_try_compile
   1564 
   1565 # ac_fn_c_try_link LINENO
   1566 # -----------------------
   1567 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1568 ac_fn_c_try_link ()
   1569 {
   1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1571   rm -f conftest.$ac_objext conftest$ac_exeext
   1572   if { { ac_try="$ac_link"
   1573 case "(($ac_try" in
   1574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1575   *) ac_try_echo=$ac_try;;
   1576 esac
   1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1578 $as_echo "$ac_try_echo"; } >&5
   1579   (eval "$ac_link") 2>conftest.err
   1580   ac_status=$?
   1581   if test -s conftest.err; then
   1582     grep -v '^ *+' conftest.err >conftest.er1
   1583     cat conftest.er1 >&5
   1584     mv -f conftest.er1 conftest.err
   1585   fi
   1586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1587   test $ac_status = 0; } && {
   1588 	 test -z "$ac_c_werror_flag" ||
   1589 	 test ! -s conftest.err
   1590        } && test -s conftest$ac_exeext && {
   1591 	 test "$cross_compiling" = yes ||
   1592 	 $as_test_x conftest$ac_exeext
   1593        }; then :
   1594   ac_retval=0
   1595 else
   1596   $as_echo "$as_me: failed program was:" >&5
   1597 sed 's/^/| /' conftest.$ac_ext >&5
   1598 
   1599 	ac_retval=1
   1600 fi
   1601   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1602   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1603   # interfere with the next link command; also delete a directory that is
   1604   # left behind by Apple's compiler.  We do this before executing the actions.
   1605   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1606   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1607   as_fn_set_status $ac_retval
   1608 
   1609 } # ac_fn_c_try_link
   1610 
   1611 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1612 # -------------------------------------------------------
   1613 # Tests whether HEADER exists and can be compiled using the include files in
   1614 # INCLUDES, setting the cache variable VAR accordingly.
   1615 ac_fn_c_check_header_compile ()
   1616 {
   1617   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1619 $as_echo_n "checking for $2... " >&6; }
   1620 if eval \${$3+:} false; then :
   1621   $as_echo_n "(cached) " >&6
   1622 else
   1623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1624 /* end confdefs.h.  */
   1625 $4
   1626 #include <$2>
   1627 _ACEOF
   1628 if ac_fn_c_try_compile "$LINENO"; then :
   1629   eval "$3=yes"
   1630 else
   1631   eval "$3=no"
   1632 fi
   1633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1634 fi
   1635 eval ac_res=\$$3
   1636 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1637 $as_echo "$ac_res" >&6; }
   1638   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1639 
   1640 } # ac_fn_c_check_header_compile
   1641 
   1642 # ac_fn_c_try_cpp LINENO
   1643 # ----------------------
   1644 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1645 ac_fn_c_try_cpp ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1649 case "(($ac_try" in
   1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1651   *) ac_try_echo=$ac_try;;
   1652 esac
   1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1654 $as_echo "$ac_try_echo"; } >&5
   1655   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1656   ac_status=$?
   1657   if test -s conftest.err; then
   1658     grep -v '^ *+' conftest.err >conftest.er1
   1659     cat conftest.er1 >&5
   1660     mv -f conftest.er1 conftest.err
   1661   fi
   1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1663   test $ac_status = 0; } > conftest.i && {
   1664 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1665 	 test ! -s conftest.err
   1666        }; then :
   1667   ac_retval=0
   1668 else
   1669   $as_echo "$as_me: failed program was:" >&5
   1670 sed 's/^/| /' conftest.$ac_ext >&5
   1671 
   1672     ac_retval=1
   1673 fi
   1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1675   as_fn_set_status $ac_retval
   1676 
   1677 } # ac_fn_c_try_cpp
   1678 
   1679 # ac_fn_c_try_run LINENO
   1680 # ----------------------
   1681 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1682 # that executables *can* be run.
   1683 ac_fn_c_try_run ()
   1684 {
   1685   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1686   if { { ac_try="$ac_link"
   1687 case "(($ac_try" in
   1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1689   *) ac_try_echo=$ac_try;;
   1690 esac
   1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1692 $as_echo "$ac_try_echo"; } >&5
   1693   (eval "$ac_link") 2>&5
   1694   ac_status=$?
   1695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1696   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1697   { { case "(($ac_try" in
   1698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1699   *) ac_try_echo=$ac_try;;
   1700 esac
   1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1702 $as_echo "$ac_try_echo"; } >&5
   1703   (eval "$ac_try") 2>&5
   1704   ac_status=$?
   1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1706   test $ac_status = 0; }; }; then :
   1707   ac_retval=0
   1708 else
   1709   $as_echo "$as_me: program exited with status $ac_status" >&5
   1710        $as_echo "$as_me: failed program was:" >&5
   1711 sed 's/^/| /' conftest.$ac_ext >&5
   1712 
   1713        ac_retval=$ac_status
   1714 fi
   1715   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1716   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1717   as_fn_set_status $ac_retval
   1718 
   1719 } # ac_fn_c_try_run
   1720 
   1721 # ac_fn_c_check_func LINENO FUNC VAR
   1722 # ----------------------------------
   1723 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1724 ac_fn_c_check_func ()
   1725 {
   1726   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1728 $as_echo_n "checking for $2... " >&6; }
   1729 if eval \${$3+:} false; then :
   1730   $as_echo_n "(cached) " >&6
   1731 else
   1732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1733 /* end confdefs.h.  */
   1734 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1735    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1736 #define $2 innocuous_$2
   1737 
   1738 /* System header to define __stub macros and hopefully few prototypes,
   1739     which can conflict with char $2 (); below.
   1740     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1741     <limits.h> exists even on freestanding compilers.  */
   1742 
   1743 #ifdef __STDC__
   1744 # include <limits.h>
   1745 #else
   1746 # include <assert.h>
   1747 #endif
   1748 
   1749 #undef $2
   1750 
   1751 /* Override any GCC internal prototype to avoid an error.
   1752    Use char because int might match the return type of a GCC
   1753    builtin and then its argument prototype would still apply.  */
   1754 #ifdef __cplusplus
   1755 extern "C"
   1756 #endif
   1757 char $2 ();
   1758 /* The GNU C library defines this for functions which it implements
   1759     to always fail with ENOSYS.  Some functions are actually named
   1760     something starting with __ and the normal name is an alias.  */
   1761 #if defined __stub_$2 || defined __stub___$2
   1762 choke me
   1763 #endif
   1764 
   1765 int
   1766 main ()
   1767 {
   1768 return $2 ();
   1769   ;
   1770   return 0;
   1771 }
   1772 _ACEOF
   1773 if ac_fn_c_try_link "$LINENO"; then :
   1774   eval "$3=yes"
   1775 else
   1776   eval "$3=no"
   1777 fi
   1778 rm -f core conftest.err conftest.$ac_objext \
   1779     conftest$ac_exeext conftest.$ac_ext
   1780 fi
   1781 eval ac_res=\$$3
   1782 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1783 $as_echo "$ac_res" >&6; }
   1784   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1785 
   1786 } # ac_fn_c_check_func
   1787 
   1788 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1789 # ---------------------------------------------
   1790 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1791 # accordingly.
   1792 ac_fn_c_check_decl ()
   1793 {
   1794   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1795   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1796   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1798 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1799 if eval \${$3+:} false; then :
   1800   $as_echo_n "(cached) " >&6
   1801 else
   1802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1803 /* end confdefs.h.  */
   1804 $4
   1805 int
   1806 main ()
   1807 {
   1808 #ifndef $as_decl_name
   1809 #ifdef __cplusplus
   1810   (void) $as_decl_use;
   1811 #else
   1812   (void) $as_decl_name;
   1813 #endif
   1814 #endif
   1815 
   1816   ;
   1817   return 0;
   1818 }
   1819 _ACEOF
   1820 if ac_fn_c_try_compile "$LINENO"; then :
   1821   eval "$3=yes"
   1822 else
   1823   eval "$3=no"
   1824 fi
   1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1826 fi
   1827 eval ac_res=\$$3
   1828 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1829 $as_echo "$ac_res" >&6; }
   1830   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1831 
   1832 } # ac_fn_c_check_decl
   1833 cat >config.log <<_ACEOF
   1834 This file contains any messages produced by compilers while
   1835 running configure, to aid debugging if configure makes a mistake.
   1836 
   1837 It was created by libXpm $as_me 3.5.9, which was
   1838 generated by GNU Autoconf 2.68.  Invocation command line was
   1839 
   1840   $ $0 $@
   1841 
   1842 _ACEOF
   1843 exec 5>>config.log
   1844 {
   1845 cat <<_ASUNAME
   1846 ## --------- ##
   1847 ## Platform. ##
   1848 ## --------- ##
   1849 
   1850 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1851 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1852 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1853 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1854 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1855 
   1856 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1857 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1858 
   1859 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1860 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1861 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1862 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1863 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1864 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1865 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1866 
   1867 _ASUNAME
   1868 
   1869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1870 for as_dir in $PATH
   1871 do
   1872   IFS=$as_save_IFS
   1873   test -z "$as_dir" && as_dir=.
   1874     $as_echo "PATH: $as_dir"
   1875   done
   1876 IFS=$as_save_IFS
   1877 
   1878 } >&5
   1879 
   1880 cat >&5 <<_ACEOF
   1881 
   1882 
   1883 ## ----------- ##
   1884 ## Core tests. ##
   1885 ## ----------- ##
   1886 
   1887 _ACEOF
   1888 
   1889 
   1890 # Keep a trace of the command line.
   1891 # Strip out --no-create and --no-recursion so they do not pile up.
   1892 # Strip out --silent because we don't want to record it for future runs.
   1893 # Also quote any args containing shell meta-characters.
   1894 # Make two passes to allow for proper duplicate-argument suppression.
   1895 ac_configure_args=
   1896 ac_configure_args0=
   1897 ac_configure_args1=
   1898 ac_must_keep_next=false
   1899 for ac_pass in 1 2
   1900 do
   1901   for ac_arg
   1902   do
   1903     case $ac_arg in
   1904     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1905     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1906     | -silent | --silent | --silen | --sile | --sil)
   1907       continue ;;
   1908     *\'*)
   1909       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1910     esac
   1911     case $ac_pass in
   1912     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1913     2)
   1914       as_fn_append ac_configure_args1 " '$ac_arg'"
   1915       if test $ac_must_keep_next = true; then
   1916 	ac_must_keep_next=false # Got value, back to normal.
   1917       else
   1918 	case $ac_arg in
   1919 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1920 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1921 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1922 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1923 	    case "$ac_configure_args0 " in
   1924 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1925 	    esac
   1926 	    ;;
   1927 	  -* ) ac_must_keep_next=true ;;
   1928 	esac
   1929       fi
   1930       as_fn_append ac_configure_args " '$ac_arg'"
   1931       ;;
   1932     esac
   1933   done
   1934 done
   1935 { ac_configure_args0=; unset ac_configure_args0;}
   1936 { ac_configure_args1=; unset ac_configure_args1;}
   1937 
   1938 # When interrupted or exit'd, cleanup temporary files, and complete
   1939 # config.log.  We remove comments because anyway the quotes in there
   1940 # would cause problems or look ugly.
   1941 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1942 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1943 trap 'exit_status=$?
   1944   # Save into config.log some information that might help in debugging.
   1945   {
   1946     echo
   1947 
   1948     $as_echo "## ---------------- ##
   1949 ## Cache variables. ##
   1950 ## ---------------- ##"
   1951     echo
   1952     # The following way of writing the cache mishandles newlines in values,
   1953 (
   1954   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1955     eval ac_val=\$$ac_var
   1956     case $ac_val in #(
   1957     *${as_nl}*)
   1958       case $ac_var in #(
   1959       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1961       esac
   1962       case $ac_var in #(
   1963       _ | IFS | as_nl) ;; #(
   1964       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1965       *) { eval $ac_var=; unset $ac_var;} ;;
   1966       esac ;;
   1967     esac
   1968   done
   1969   (set) 2>&1 |
   1970     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1971     *${as_nl}ac_space=\ *)
   1972       sed -n \
   1973 	"s/'\''/'\''\\\\'\'''\''/g;
   1974 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1975       ;; #(
   1976     *)
   1977       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1978       ;;
   1979     esac |
   1980     sort
   1981 )
   1982     echo
   1983 
   1984     $as_echo "## ----------------- ##
   1985 ## Output variables. ##
   1986 ## ----------------- ##"
   1987     echo
   1988     for ac_var in $ac_subst_vars
   1989     do
   1990       eval ac_val=\$$ac_var
   1991       case $ac_val in
   1992       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1993       esac
   1994       $as_echo "$ac_var='\''$ac_val'\''"
   1995     done | sort
   1996     echo
   1997 
   1998     if test -n "$ac_subst_files"; then
   1999       $as_echo "## ------------------- ##
   2000 ## File substitutions. ##
   2001 ## ------------------- ##"
   2002       echo
   2003       for ac_var in $ac_subst_files
   2004       do
   2005 	eval ac_val=\$$ac_var
   2006 	case $ac_val in
   2007 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2008 	esac
   2009 	$as_echo "$ac_var='\''$ac_val'\''"
   2010       done | sort
   2011       echo
   2012     fi
   2013 
   2014     if test -s confdefs.h; then
   2015       $as_echo "## ----------- ##
   2016 ## confdefs.h. ##
   2017 ## ----------- ##"
   2018       echo
   2019       cat confdefs.h
   2020       echo
   2021     fi
   2022     test "$ac_signal" != 0 &&
   2023       $as_echo "$as_me: caught signal $ac_signal"
   2024     $as_echo "$as_me: exit $exit_status"
   2025   } >&5
   2026   rm -f core *.core core.conftest.* &&
   2027     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2028     exit $exit_status
   2029 ' 0
   2030 for ac_signal in 1 2 13 15; do
   2031   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2032 done
   2033 ac_signal=0
   2034 
   2035 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2036 rm -f -r conftest* confdefs.h
   2037 
   2038 $as_echo "/* confdefs.h */" > confdefs.h
   2039 
   2040 # Predefined preprocessor variables.
   2041 
   2042 cat >>confdefs.h <<_ACEOF
   2043 #define PACKAGE_NAME "$PACKAGE_NAME"
   2044 _ACEOF
   2045 
   2046 cat >>confdefs.h <<_ACEOF
   2047 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2048 _ACEOF
   2049 
   2050 cat >>confdefs.h <<_ACEOF
   2051 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2052 _ACEOF
   2053 
   2054 cat >>confdefs.h <<_ACEOF
   2055 #define PACKAGE_STRING "$PACKAGE_STRING"
   2056 _ACEOF
   2057 
   2058 cat >>confdefs.h <<_ACEOF
   2059 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2060 _ACEOF
   2061 
   2062 cat >>confdefs.h <<_ACEOF
   2063 #define PACKAGE_URL "$PACKAGE_URL"
   2064 _ACEOF
   2065 
   2066 
   2067 # Let the site file select an alternate cache file if it wants to.
   2068 # Prefer an explicitly selected file to automatically selected ones.
   2069 ac_site_file1=NONE
   2070 ac_site_file2=NONE
   2071 if test -n "$CONFIG_SITE"; then
   2072   # We do not want a PATH search for config.site.
   2073   case $CONFIG_SITE in #((
   2074     -*)  ac_site_file1=./$CONFIG_SITE;;
   2075     */*) ac_site_file1=$CONFIG_SITE;;
   2076     *)   ac_site_file1=./$CONFIG_SITE;;
   2077   esac
   2078 elif test "x$prefix" != xNONE; then
   2079   ac_site_file1=$prefix/share/config.site
   2080   ac_site_file2=$prefix/etc/config.site
   2081 else
   2082   ac_site_file1=$ac_default_prefix/share/config.site
   2083   ac_site_file2=$ac_default_prefix/etc/config.site
   2084 fi
   2085 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2086 do
   2087   test "x$ac_site_file" = xNONE && continue
   2088   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2089     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2090 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2091     sed 's/^/| /' "$ac_site_file" >&5
   2092     . "$ac_site_file" \
   2093       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2095 as_fn_error $? "failed to load site script $ac_site_file
   2096 See \`config.log' for more details" "$LINENO" 5; }
   2097   fi
   2098 done
   2099 
   2100 if test -r "$cache_file"; then
   2101   # Some versions of bash will fail to source /dev/null (special files
   2102   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2103   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2104     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2105 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2106     case $cache_file in
   2107       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2108       *)                      . "./$cache_file";;
   2109     esac
   2110   fi
   2111 else
   2112   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2113 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2114   >$cache_file
   2115 fi
   2116 
   2117 # Check that the precious variables saved in the cache have kept the same
   2118 # value.
   2119 ac_cache_corrupted=false
   2120 for ac_var in $ac_precious_vars; do
   2121   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2122   eval ac_new_set=\$ac_env_${ac_var}_set
   2123   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2124   eval ac_new_val=\$ac_env_${ac_var}_value
   2125   case $ac_old_set,$ac_new_set in
   2126     set,)
   2127       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2128 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2129       ac_cache_corrupted=: ;;
   2130     ,set)
   2131       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2132 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2133       ac_cache_corrupted=: ;;
   2134     ,);;
   2135     *)
   2136       if test "x$ac_old_val" != "x$ac_new_val"; then
   2137 	# differences in whitespace do not lead to failure.
   2138 	ac_old_val_w=`echo x $ac_old_val`
   2139 	ac_new_val_w=`echo x $ac_new_val`
   2140 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2141 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2142 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2143 	  ac_cache_corrupted=:
   2144 	else
   2145 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2146 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2147 	  eval $ac_var=\$ac_old_val
   2148 	fi
   2149 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2150 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2151 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2152 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2153       fi;;
   2154   esac
   2155   # Pass precious variables to config.status.
   2156   if test "$ac_new_set" = set; then
   2157     case $ac_new_val in
   2158     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2159     *) ac_arg=$ac_var=$ac_new_val ;;
   2160     esac
   2161     case " $ac_configure_args " in
   2162       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2163       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2164     esac
   2165   fi
   2166 done
   2167 if $ac_cache_corrupted; then
   2168   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2170   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2171 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2172   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2173 fi
   2174 ## -------------------- ##
   2175 ## Main body of script. ##
   2176 ## -------------------- ##
   2177 
   2178 ac_ext=c
   2179 ac_cpp='$CPP $CPPFLAGS'
   2180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2183 
   2184 
   2185 
   2186 
   2187 ac_config_headers="$ac_config_headers config.h"
   2188 
   2189 
   2190 # Initialize Automake
   2191 am__api_version='1.11'
   2192 
   2193 ac_aux_dir=
   2194 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2195   if test -f "$ac_dir/install-sh"; then
   2196     ac_aux_dir=$ac_dir
   2197     ac_install_sh="$ac_aux_dir/install-sh -c"
   2198     break
   2199   elif test -f "$ac_dir/install.sh"; then
   2200     ac_aux_dir=$ac_dir
   2201     ac_install_sh="$ac_aux_dir/install.sh -c"
   2202     break
   2203   elif test -f "$ac_dir/shtool"; then
   2204     ac_aux_dir=$ac_dir
   2205     ac_install_sh="$ac_aux_dir/shtool install -c"
   2206     break
   2207   fi
   2208 done
   2209 if test -z "$ac_aux_dir"; then
   2210   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2211 fi
   2212 
   2213 # These three variables are undocumented and unsupported,
   2214 # and are intended to be withdrawn in a future Autoconf release.
   2215 # They can cause serious problems if a builder's source tree is in a directory
   2216 # whose full name contains unusual characters.
   2217 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2218 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2219 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2220 
   2221 
   2222 # Find a good install program.  We prefer a C program (faster),
   2223 # so one script is as good as another.  But avoid the broken or
   2224 # incompatible versions:
   2225 # SysV /etc/install, /usr/sbin/install
   2226 # SunOS /usr/etc/install
   2227 # IRIX /sbin/install
   2228 # AIX /bin/install
   2229 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2230 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2231 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2232 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2233 # OS/2's system install, which has a completely different semantic
   2234 # ./install, which can be erroneously created by make from ./install.sh.
   2235 # Reject install programs that cannot install multiple files.
   2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2237 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2238 if test -z "$INSTALL"; then
   2239 if ${ac_cv_path_install+:} false; then :
   2240   $as_echo_n "(cached) " >&6
   2241 else
   2242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2243 for as_dir in $PATH
   2244 do
   2245   IFS=$as_save_IFS
   2246   test -z "$as_dir" && as_dir=.
   2247     # Account for people who put trailing slashes in PATH elements.
   2248 case $as_dir/ in #((
   2249   ./ | .// | /[cC]/* | \
   2250   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2251   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2252   /usr/ucb/* ) ;;
   2253   *)
   2254     # OSF1 and SCO ODT 3.0 have their own names for install.
   2255     # Don't use installbsd from OSF since it installs stuff as root
   2256     # by default.
   2257     for ac_prog in ginstall scoinst install; do
   2258       for ac_exec_ext in '' $ac_executable_extensions; do
   2259 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2260 	  if test $ac_prog = install &&
   2261 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2262 	    # AIX install.  It has an incompatible calling convention.
   2263 	    :
   2264 	  elif test $ac_prog = install &&
   2265 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2266 	    # program-specific install script used by HP pwplus--don't use.
   2267 	    :
   2268 	  else
   2269 	    rm -rf conftest.one conftest.two conftest.dir
   2270 	    echo one > conftest.one
   2271 	    echo two > conftest.two
   2272 	    mkdir conftest.dir
   2273 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2274 	      test -s conftest.one && test -s conftest.two &&
   2275 	      test -s conftest.dir/conftest.one &&
   2276 	      test -s conftest.dir/conftest.two
   2277 	    then
   2278 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2279 	      break 3
   2280 	    fi
   2281 	  fi
   2282 	fi
   2283       done
   2284     done
   2285     ;;
   2286 esac
   2287 
   2288   done
   2289 IFS=$as_save_IFS
   2290 
   2291 rm -rf conftest.one conftest.two conftest.dir
   2292 
   2293 fi
   2294   if test "${ac_cv_path_install+set}" = set; then
   2295     INSTALL=$ac_cv_path_install
   2296   else
   2297     # As a last resort, use the slow shell script.  Don't cache a
   2298     # value for INSTALL within a source directory, because that will
   2299     # break other packages using the cache if that directory is
   2300     # removed, or if the value is a relative name.
   2301     INSTALL=$ac_install_sh
   2302   fi
   2303 fi
   2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2305 $as_echo "$INSTALL" >&6; }
   2306 
   2307 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2308 # It thinks the first close brace ends the variable substitution.
   2309 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2310 
   2311 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2312 
   2313 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2314 
   2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2316 $as_echo_n "checking whether build environment is sane... " >&6; }
   2317 # Just in case
   2318 sleep 1
   2319 echo timestamp > conftest.file
   2320 # Reject unsafe characters in $srcdir or the absolute working directory
   2321 # name.  Accept space and tab only in the latter.
   2322 am_lf='
   2323 '
   2324 case `pwd` in
   2325   *[\\\"\#\$\&\'\`$am_lf]*)
   2326     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2327 esac
   2328 case $srcdir in
   2329   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2330     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2331 esac
   2332 
   2333 # Do `set' in a subshell so we don't clobber the current shell's
   2334 # arguments.  Must try -L first in case configure is actually a
   2335 # symlink; some systems play weird games with the mod time of symlinks
   2336 # (eg FreeBSD returns the mod time of the symlink's containing
   2337 # directory).
   2338 if (
   2339    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2340    if test "$*" = "X"; then
   2341       # -L didn't work.
   2342       set X `ls -t "$srcdir/configure" conftest.file`
   2343    fi
   2344    rm -f conftest.file
   2345    if test "$*" != "X $srcdir/configure conftest.file" \
   2346       && test "$*" != "X conftest.file $srcdir/configure"; then
   2347 
   2348       # If neither matched, then we have a broken ls.  This can happen
   2349       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2350       # broken ls alias from the environment.  This has actually
   2351       # happened.  Such a system could not be considered "sane".
   2352       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2353 alias in your environment" "$LINENO" 5
   2354    fi
   2355 
   2356    test "$2" = conftest.file
   2357    )
   2358 then
   2359    # Ok.
   2360    :
   2361 else
   2362    as_fn_error $? "newly created file is older than distributed files!
   2363 Check your system clock" "$LINENO" 5
   2364 fi
   2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2366 $as_echo "yes" >&6; }
   2367 test "$program_prefix" != NONE &&
   2368   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2369 # Use a double $ so make ignores it.
   2370 test "$program_suffix" != NONE &&
   2371   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2372 # Double any \ or $.
   2373 # By default was `s,x,x', remove it if useless.
   2374 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2375 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2376 
   2377 # expand $ac_aux_dir to an absolute path
   2378 am_aux_dir=`cd $ac_aux_dir && pwd`
   2379 
   2380 if test x"${MISSING+set}" != xset; then
   2381   case $am_aux_dir in
   2382   *\ * | *\	*)
   2383     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2384   *)
   2385     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2386   esac
   2387 fi
   2388 # Use eval to expand $SHELL
   2389 if eval "$MISSING --run true"; then
   2390   am_missing_run="$MISSING --run "
   2391 else
   2392   am_missing_run=
   2393   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2394 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2395 fi
   2396 
   2397 if test x"${install_sh}" != xset; then
   2398   case $am_aux_dir in
   2399   *\ * | *\	*)
   2400     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2401   *)
   2402     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2403   esac
   2404 fi
   2405 
   2406 # Installed binaries are usually stripped using `strip' when the user
   2407 # run `make install-strip'.  However `strip' might not be the right
   2408 # tool to use in cross-compilation environments, therefore Automake
   2409 # will honor the `STRIP' environment variable to overrule this program.
   2410 if test "$cross_compiling" != no; then
   2411   if test -n "$ac_tool_prefix"; then
   2412   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2413 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2415 $as_echo_n "checking for $ac_word... " >&6; }
   2416 if ${ac_cv_prog_STRIP+:} false; then :
   2417   $as_echo_n "(cached) " >&6
   2418 else
   2419   if test -n "$STRIP"; then
   2420   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2421 else
   2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2423 for as_dir in $PATH
   2424 do
   2425   IFS=$as_save_IFS
   2426   test -z "$as_dir" && as_dir=.
   2427     for ac_exec_ext in '' $ac_executable_extensions; do
   2428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2429     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2431     break 2
   2432   fi
   2433 done
   2434   done
   2435 IFS=$as_save_IFS
   2436 
   2437 fi
   2438 fi
   2439 STRIP=$ac_cv_prog_STRIP
   2440 if test -n "$STRIP"; then
   2441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2442 $as_echo "$STRIP" >&6; }
   2443 else
   2444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2445 $as_echo "no" >&6; }
   2446 fi
   2447 
   2448 
   2449 fi
   2450 if test -z "$ac_cv_prog_STRIP"; then
   2451   ac_ct_STRIP=$STRIP
   2452   # Extract the first word of "strip", so it can be a program name with args.
   2453 set dummy strip; ac_word=$2
   2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2455 $as_echo_n "checking for $ac_word... " >&6; }
   2456 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2457   $as_echo_n "(cached) " >&6
   2458 else
   2459   if test -n "$ac_ct_STRIP"; then
   2460   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2461 else
   2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2463 for as_dir in $PATH
   2464 do
   2465   IFS=$as_save_IFS
   2466   test -z "$as_dir" && as_dir=.
   2467     for ac_exec_ext in '' $ac_executable_extensions; do
   2468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2469     ac_cv_prog_ac_ct_STRIP="strip"
   2470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2471     break 2
   2472   fi
   2473 done
   2474   done
   2475 IFS=$as_save_IFS
   2476 
   2477 fi
   2478 fi
   2479 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2480 if test -n "$ac_ct_STRIP"; then
   2481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2482 $as_echo "$ac_ct_STRIP" >&6; }
   2483 else
   2484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2485 $as_echo "no" >&6; }
   2486 fi
   2487 
   2488   if test "x$ac_ct_STRIP" = x; then
   2489     STRIP=":"
   2490   else
   2491     case $cross_compiling:$ac_tool_warned in
   2492 yes:)
   2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2495 ac_tool_warned=yes ;;
   2496 esac
   2497     STRIP=$ac_ct_STRIP
   2498   fi
   2499 else
   2500   STRIP="$ac_cv_prog_STRIP"
   2501 fi
   2502 
   2503 fi
   2504 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2505 
   2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2507 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2508 if test -z "$MKDIR_P"; then
   2509   if ${ac_cv_path_mkdir+:} false; then :
   2510   $as_echo_n "(cached) " >&6
   2511 else
   2512   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2513 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2514 do
   2515   IFS=$as_save_IFS
   2516   test -z "$as_dir" && as_dir=.
   2517     for ac_prog in mkdir gmkdir; do
   2518 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2519 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2520 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2521 	     'mkdir (GNU coreutils) '* | \
   2522 	     'mkdir (coreutils) '* | \
   2523 	     'mkdir (fileutils) '4.1*)
   2524 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2525 	       break 3;;
   2526 	   esac
   2527 	 done
   2528        done
   2529   done
   2530 IFS=$as_save_IFS
   2531 
   2532 fi
   2533 
   2534   test -d ./--version && rmdir ./--version
   2535   if test "${ac_cv_path_mkdir+set}" = set; then
   2536     MKDIR_P="$ac_cv_path_mkdir -p"
   2537   else
   2538     # As a last resort, use the slow shell script.  Don't cache a
   2539     # value for MKDIR_P within a source directory, because that will
   2540     # break other packages using the cache if that directory is
   2541     # removed, or if the value is a relative name.
   2542     MKDIR_P="$ac_install_sh -d"
   2543   fi
   2544 fi
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2546 $as_echo "$MKDIR_P" >&6; }
   2547 
   2548 mkdir_p="$MKDIR_P"
   2549 case $mkdir_p in
   2550   [\\/$]* | ?:[\\/]*) ;;
   2551   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2552 esac
   2553 
   2554 for ac_prog in gawk mawk nawk awk
   2555 do
   2556   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2557 set dummy $ac_prog; ac_word=$2
   2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2559 $as_echo_n "checking for $ac_word... " >&6; }
   2560 if ${ac_cv_prog_AWK+:} false; then :
   2561   $as_echo_n "(cached) " >&6
   2562 else
   2563   if test -n "$AWK"; then
   2564   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2565 else
   2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2567 for as_dir in $PATH
   2568 do
   2569   IFS=$as_save_IFS
   2570   test -z "$as_dir" && as_dir=.
   2571     for ac_exec_ext in '' $ac_executable_extensions; do
   2572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2573     ac_cv_prog_AWK="$ac_prog"
   2574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2575     break 2
   2576   fi
   2577 done
   2578   done
   2579 IFS=$as_save_IFS
   2580 
   2581 fi
   2582 fi
   2583 AWK=$ac_cv_prog_AWK
   2584 if test -n "$AWK"; then
   2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2586 $as_echo "$AWK" >&6; }
   2587 else
   2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2589 $as_echo "no" >&6; }
   2590 fi
   2591 
   2592 
   2593   test -n "$AWK" && break
   2594 done
   2595 
   2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2597 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2598 set x ${MAKE-make}
   2599 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2600 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2601   $as_echo_n "(cached) " >&6
   2602 else
   2603   cat >conftest.make <<\_ACEOF
   2604 SHELL = /bin/sh
   2605 all:
   2606 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2607 _ACEOF
   2608 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2609 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2610   *@@@%%%=?*=@@@%%%*)
   2611     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2612   *)
   2613     eval ac_cv_prog_make_${ac_make}_set=no;;
   2614 esac
   2615 rm -f conftest.make
   2616 fi
   2617 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2619 $as_echo "yes" >&6; }
   2620   SET_MAKE=
   2621 else
   2622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2623 $as_echo "no" >&6; }
   2624   SET_MAKE="MAKE=${MAKE-make}"
   2625 fi
   2626 
   2627 rm -rf .tst 2>/dev/null
   2628 mkdir .tst 2>/dev/null
   2629 if test -d .tst; then
   2630   am__leading_dot=.
   2631 else
   2632   am__leading_dot=_
   2633 fi
   2634 rmdir .tst 2>/dev/null
   2635 
   2636 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2637   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2638   # is not polluted with repeated "-I."
   2639   am__isrc=' -I$(srcdir)'
   2640   # test to see if srcdir already configured
   2641   if test -f $srcdir/config.status; then
   2642     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2643   fi
   2644 fi
   2645 
   2646 # test whether we have cygpath
   2647 if test -z "$CYGPATH_W"; then
   2648   if (cygpath --version) >/dev/null 2>/dev/null; then
   2649     CYGPATH_W='cygpath -w'
   2650   else
   2651     CYGPATH_W=echo
   2652   fi
   2653 fi
   2654 
   2655 
   2656 # Define the identity of the package.
   2657  PACKAGE='libXpm'
   2658  VERSION='3.5.9'
   2659 
   2660 
   2661 cat >>confdefs.h <<_ACEOF
   2662 #define PACKAGE "$PACKAGE"
   2663 _ACEOF
   2664 
   2665 
   2666 cat >>confdefs.h <<_ACEOF
   2667 #define VERSION "$VERSION"
   2668 _ACEOF
   2669 
   2670 # Some tools Automake needs.
   2671 
   2672 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2673 
   2674 
   2675 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2676 
   2677 
   2678 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2679 
   2680 
   2681 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2682 
   2683 
   2684 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2685 
   2686 # We need awk for the "check" target.  The system "awk" is bad on
   2687 # some platforms.
   2688 # Always define AMTAR for backward compatibility.
   2689 
   2690 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2691 
   2692 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2693 
   2694 
   2695 
   2696 
   2697 
   2698 
   2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2700 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2701     # Check whether --enable-maintainer-mode was given.
   2702 if test "${enable_maintainer_mode+set}" = set; then :
   2703   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2704 else
   2705   USE_MAINTAINER_MODE=no
   2706 fi
   2707 
   2708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2709 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2710    if test $USE_MAINTAINER_MODE = yes; then
   2711   MAINTAINER_MODE_TRUE=
   2712   MAINTAINER_MODE_FALSE='#'
   2713 else
   2714   MAINTAINER_MODE_TRUE='#'
   2715   MAINTAINER_MODE_FALSE=
   2716 fi
   2717 
   2718   MAINT=$MAINTAINER_MODE_TRUE
   2719 
   2720 
   2721 
   2722 # Initialize libtool
   2723 case `pwd` in
   2724   *\ * | *\	*)
   2725     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2726 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2727 esac
   2728 
   2729 
   2730 
   2731 macro_version='2.2.10'
   2732 macro_revision='1.3175'
   2733 
   2734 
   2735 
   2736 
   2737 
   2738 
   2739 
   2740 
   2741 
   2742 
   2743 
   2744 
   2745 
   2746 ltmain="$ac_aux_dir/ltmain.sh"
   2747 
   2748 # Make sure we can run config.sub.
   2749 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2750   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2751 
   2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2753 $as_echo_n "checking build system type... " >&6; }
   2754 if ${ac_cv_build+:} false; then :
   2755   $as_echo_n "(cached) " >&6
   2756 else
   2757   ac_build_alias=$build_alias
   2758 test "x$ac_build_alias" = x &&
   2759   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2760 test "x$ac_build_alias" = x &&
   2761   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2762 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2763   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2764 
   2765 fi
   2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2767 $as_echo "$ac_cv_build" >&6; }
   2768 case $ac_cv_build in
   2769 *-*-*) ;;
   2770 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2771 esac
   2772 build=$ac_cv_build
   2773 ac_save_IFS=$IFS; IFS='-'
   2774 set x $ac_cv_build
   2775 shift
   2776 build_cpu=$1
   2777 build_vendor=$2
   2778 shift; shift
   2779 # Remember, the first character of IFS is used to create $*,
   2780 # except with old shells:
   2781 build_os=$*
   2782 IFS=$ac_save_IFS
   2783 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2784 
   2785 
   2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2787 $as_echo_n "checking host system type... " >&6; }
   2788 if ${ac_cv_host+:} false; then :
   2789   $as_echo_n "(cached) " >&6
   2790 else
   2791   if test "x$host_alias" = x; then
   2792   ac_cv_host=$ac_cv_build
   2793 else
   2794   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2795     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2796 fi
   2797 
   2798 fi
   2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2800 $as_echo "$ac_cv_host" >&6; }
   2801 case $ac_cv_host in
   2802 *-*-*) ;;
   2803 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2804 esac
   2805 host=$ac_cv_host
   2806 ac_save_IFS=$IFS; IFS='-'
   2807 set x $ac_cv_host
   2808 shift
   2809 host_cpu=$1
   2810 host_vendor=$2
   2811 shift; shift
   2812 # Remember, the first character of IFS is used to create $*,
   2813 # except with old shells:
   2814 host_os=$*
   2815 IFS=$ac_save_IFS
   2816 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2817 
   2818 
   2819 # Backslashify metacharacters that are still active within
   2820 # double-quoted strings.
   2821 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2822 
   2823 # Same as above, but do not quote variable references.
   2824 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2825 
   2826 # Sed substitution to delay expansion of an escaped shell variable in a
   2827 # double_quote_subst'ed string.
   2828 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2829 
   2830 # Sed substitution to delay expansion of an escaped single quote.
   2831 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2832 
   2833 # Sed substitution to avoid accidental globbing in evaled expressions
   2834 no_glob_subst='s/\*/\\\*/g'
   2835 
   2836 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2837 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2838 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2839 
   2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2841 $as_echo_n "checking how to print strings... " >&6; }
   2842 # Test print first, because it will be a builtin if present.
   2843 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   2844    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2845   ECHO='print -r --'
   2846 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2847   ECHO='printf %s\n'
   2848 else
   2849   # Use this function as a fallback that always works.
   2850   func_fallback_echo ()
   2851   {
   2852     eval 'cat <<_LTECHO_EOF
   2853 $1
   2854 _LTECHO_EOF'
   2855   }
   2856   ECHO='func_fallback_echo'
   2857 fi
   2858 
   2859 # func_echo_all arg...
   2860 # Invoke $ECHO with all args, space-separated.
   2861 func_echo_all ()
   2862 {
   2863     $ECHO ""
   2864 }
   2865 
   2866 case "$ECHO" in
   2867   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2868 $as_echo "printf" >&6; } ;;
   2869   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2870 $as_echo "print -r" >&6; } ;;
   2871   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2872 $as_echo "cat" >&6; } ;;
   2873 esac
   2874 
   2875 
   2876 
   2877 
   2878 
   2879 
   2880 
   2881 
   2882 
   2883 
   2884 
   2885 
   2886 
   2887 
   2888 DEPDIR="${am__leading_dot}deps"
   2889 
   2890 ac_config_commands="$ac_config_commands depfiles"
   2891 
   2892 
   2893 am_make=${MAKE-make}
   2894 cat > confinc << 'END'
   2895 am__doit:
   2896 	@echo this is the am__doit target
   2897 .PHONY: am__doit
   2898 END
   2899 # If we don't find an include directive, just comment out the code.
   2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2901 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2902 am__include="#"
   2903 am__quote=
   2904 _am_result=none
   2905 # First try GNU make style include.
   2906 echo "include confinc" > confmf
   2907 # Ignore all kinds of additional output from `make'.
   2908 case `$am_make -s -f confmf 2> /dev/null` in #(
   2909 *the\ am__doit\ target*)
   2910   am__include=include
   2911   am__quote=
   2912   _am_result=GNU
   2913   ;;
   2914 esac
   2915 # Now try BSD make style include.
   2916 if test "$am__include" = "#"; then
   2917    echo '.include "confinc"' > confmf
   2918    case `$am_make -s -f confmf 2> /dev/null` in #(
   2919    *the\ am__doit\ target*)
   2920      am__include=.include
   2921      am__quote="\""
   2922      _am_result=BSD
   2923      ;;
   2924    esac
   2925 fi
   2926 
   2927 
   2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2929 $as_echo "$_am_result" >&6; }
   2930 rm -f confinc confmf
   2931 
   2932 # Check whether --enable-dependency-tracking was given.
   2933 if test "${enable_dependency_tracking+set}" = set; then :
   2934   enableval=$enable_dependency_tracking;
   2935 fi
   2936 
   2937 if test "x$enable_dependency_tracking" != xno; then
   2938   am_depcomp="$ac_aux_dir/depcomp"
   2939   AMDEPBACKSLASH='\'
   2940 fi
   2941  if test "x$enable_dependency_tracking" != xno; then
   2942   AMDEP_TRUE=
   2943   AMDEP_FALSE='#'
   2944 else
   2945   AMDEP_TRUE='#'
   2946   AMDEP_FALSE=
   2947 fi
   2948 
   2949 
   2950 ac_ext=c
   2951 ac_cpp='$CPP $CPPFLAGS'
   2952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2955 if test -n "$ac_tool_prefix"; then
   2956   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2957 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2959 $as_echo_n "checking for $ac_word... " >&6; }
   2960 if ${ac_cv_prog_CC+:} false; then :
   2961   $as_echo_n "(cached) " >&6
   2962 else
   2963   if test -n "$CC"; then
   2964   ac_cv_prog_CC="$CC" # Let the user override the test.
   2965 else
   2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2967 for as_dir in $PATH
   2968 do
   2969   IFS=$as_save_IFS
   2970   test -z "$as_dir" && as_dir=.
   2971     for ac_exec_ext in '' $ac_executable_extensions; do
   2972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2973     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2975     break 2
   2976   fi
   2977 done
   2978   done
   2979 IFS=$as_save_IFS
   2980 
   2981 fi
   2982 fi
   2983 CC=$ac_cv_prog_CC
   2984 if test -n "$CC"; then
   2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2986 $as_echo "$CC" >&6; }
   2987 else
   2988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2989 $as_echo "no" >&6; }
   2990 fi
   2991 
   2992 
   2993 fi
   2994 if test -z "$ac_cv_prog_CC"; then
   2995   ac_ct_CC=$CC
   2996   # Extract the first word of "gcc", so it can be a program name with args.
   2997 set dummy gcc; ac_word=$2
   2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2999 $as_echo_n "checking for $ac_word... " >&6; }
   3000 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3001   $as_echo_n "(cached) " >&6
   3002 else
   3003   if test -n "$ac_ct_CC"; then
   3004   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3005 else
   3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3007 for as_dir in $PATH
   3008 do
   3009   IFS=$as_save_IFS
   3010   test -z "$as_dir" && as_dir=.
   3011     for ac_exec_ext in '' $ac_executable_extensions; do
   3012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3013     ac_cv_prog_ac_ct_CC="gcc"
   3014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3015     break 2
   3016   fi
   3017 done
   3018   done
   3019 IFS=$as_save_IFS
   3020 
   3021 fi
   3022 fi
   3023 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3024 if test -n "$ac_ct_CC"; then
   3025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3026 $as_echo "$ac_ct_CC" >&6; }
   3027 else
   3028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3029 $as_echo "no" >&6; }
   3030 fi
   3031 
   3032   if test "x$ac_ct_CC" = x; then
   3033     CC=""
   3034   else
   3035     case $cross_compiling:$ac_tool_warned in
   3036 yes:)
   3037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3039 ac_tool_warned=yes ;;
   3040 esac
   3041     CC=$ac_ct_CC
   3042   fi
   3043 else
   3044   CC="$ac_cv_prog_CC"
   3045 fi
   3046 
   3047 if test -z "$CC"; then
   3048           if test -n "$ac_tool_prefix"; then
   3049     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3050 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3052 $as_echo_n "checking for $ac_word... " >&6; }
   3053 if ${ac_cv_prog_CC+:} false; then :
   3054   $as_echo_n "(cached) " >&6
   3055 else
   3056   if test -n "$CC"; then
   3057   ac_cv_prog_CC="$CC" # Let the user override the test.
   3058 else
   3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3060 for as_dir in $PATH
   3061 do
   3062   IFS=$as_save_IFS
   3063   test -z "$as_dir" && as_dir=.
   3064     for ac_exec_ext in '' $ac_executable_extensions; do
   3065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3066     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3068     break 2
   3069   fi
   3070 done
   3071   done
   3072 IFS=$as_save_IFS
   3073 
   3074 fi
   3075 fi
   3076 CC=$ac_cv_prog_CC
   3077 if test -n "$CC"; then
   3078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3079 $as_echo "$CC" >&6; }
   3080 else
   3081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3082 $as_echo "no" >&6; }
   3083 fi
   3084 
   3085 
   3086   fi
   3087 fi
   3088 if test -z "$CC"; then
   3089   # Extract the first word of "cc", so it can be a program name with args.
   3090 set dummy cc; ac_word=$2
   3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3092 $as_echo_n "checking for $ac_word... " >&6; }
   3093 if ${ac_cv_prog_CC+:} false; then :
   3094   $as_echo_n "(cached) " >&6
   3095 else
   3096   if test -n "$CC"; then
   3097   ac_cv_prog_CC="$CC" # Let the user override the test.
   3098 else
   3099   ac_prog_rejected=no
   3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3101 for as_dir in $PATH
   3102 do
   3103   IFS=$as_save_IFS
   3104   test -z "$as_dir" && as_dir=.
   3105     for ac_exec_ext in '' $ac_executable_extensions; do
   3106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3107     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3108        ac_prog_rejected=yes
   3109        continue
   3110      fi
   3111     ac_cv_prog_CC="cc"
   3112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3113     break 2
   3114   fi
   3115 done
   3116   done
   3117 IFS=$as_save_IFS
   3118 
   3119 if test $ac_prog_rejected = yes; then
   3120   # We found a bogon in the path, so make sure we never use it.
   3121   set dummy $ac_cv_prog_CC
   3122   shift
   3123   if test $# != 0; then
   3124     # We chose a different compiler from the bogus one.
   3125     # However, it has the same basename, so the bogon will be chosen
   3126     # first if we set CC to just the basename; use the full file name.
   3127     shift
   3128     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3129   fi
   3130 fi
   3131 fi
   3132 fi
   3133 CC=$ac_cv_prog_CC
   3134 if test -n "$CC"; then
   3135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3136 $as_echo "$CC" >&6; }
   3137 else
   3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3139 $as_echo "no" >&6; }
   3140 fi
   3141 
   3142 
   3143 fi
   3144 if test -z "$CC"; then
   3145   if test -n "$ac_tool_prefix"; then
   3146   for ac_prog in cl.exe
   3147   do
   3148     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3149 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3151 $as_echo_n "checking for $ac_word... " >&6; }
   3152 if ${ac_cv_prog_CC+:} false; then :
   3153   $as_echo_n "(cached) " >&6
   3154 else
   3155   if test -n "$CC"; then
   3156   ac_cv_prog_CC="$CC" # Let the user override the test.
   3157 else
   3158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3159 for as_dir in $PATH
   3160 do
   3161   IFS=$as_save_IFS
   3162   test -z "$as_dir" && as_dir=.
   3163     for ac_exec_ext in '' $ac_executable_extensions; do
   3164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3165     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3167     break 2
   3168   fi
   3169 done
   3170   done
   3171 IFS=$as_save_IFS
   3172 
   3173 fi
   3174 fi
   3175 CC=$ac_cv_prog_CC
   3176 if test -n "$CC"; then
   3177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3178 $as_echo "$CC" >&6; }
   3179 else
   3180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3181 $as_echo "no" >&6; }
   3182 fi
   3183 
   3184 
   3185     test -n "$CC" && break
   3186   done
   3187 fi
   3188 if test -z "$CC"; then
   3189   ac_ct_CC=$CC
   3190   for ac_prog in cl.exe
   3191 do
   3192   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3193 set dummy $ac_prog; ac_word=$2
   3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3195 $as_echo_n "checking for $ac_word... " >&6; }
   3196 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3197   $as_echo_n "(cached) " >&6
   3198 else
   3199   if test -n "$ac_ct_CC"; then
   3200   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3201 else
   3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3203 for as_dir in $PATH
   3204 do
   3205   IFS=$as_save_IFS
   3206   test -z "$as_dir" && as_dir=.
   3207     for ac_exec_ext in '' $ac_executable_extensions; do
   3208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3209     ac_cv_prog_ac_ct_CC="$ac_prog"
   3210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3211     break 2
   3212   fi
   3213 done
   3214   done
   3215 IFS=$as_save_IFS
   3216 
   3217 fi
   3218 fi
   3219 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3220 if test -n "$ac_ct_CC"; then
   3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3222 $as_echo "$ac_ct_CC" >&6; }
   3223 else
   3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3225 $as_echo "no" >&6; }
   3226 fi
   3227 
   3228 
   3229   test -n "$ac_ct_CC" && break
   3230 done
   3231 
   3232   if test "x$ac_ct_CC" = x; then
   3233     CC=""
   3234   else
   3235     case $cross_compiling:$ac_tool_warned in
   3236 yes:)
   3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3239 ac_tool_warned=yes ;;
   3240 esac
   3241     CC=$ac_ct_CC
   3242   fi
   3243 fi
   3244 
   3245 fi
   3246 
   3247 
   3248 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3250 as_fn_error $? "no acceptable C compiler found in \$PATH
   3251 See \`config.log' for more details" "$LINENO" 5; }
   3252 
   3253 # Provide some information about the compiler.
   3254 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3255 set X $ac_compile
   3256 ac_compiler=$2
   3257 for ac_option in --version -v -V -qversion; do
   3258   { { ac_try="$ac_compiler $ac_option >&5"
   3259 case "(($ac_try" in
   3260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3261   *) ac_try_echo=$ac_try;;
   3262 esac
   3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3264 $as_echo "$ac_try_echo"; } >&5
   3265   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3266   ac_status=$?
   3267   if test -s conftest.err; then
   3268     sed '10a\
   3269 ... rest of stderr output deleted ...
   3270          10q' conftest.err >conftest.er1
   3271     cat conftest.er1 >&5
   3272   fi
   3273   rm -f conftest.er1 conftest.err
   3274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3275   test $ac_status = 0; }
   3276 done
   3277 
   3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3279 /* end confdefs.h.  */
   3280 
   3281 int
   3282 main ()
   3283 {
   3284 
   3285   ;
   3286   return 0;
   3287 }
   3288 _ACEOF
   3289 ac_clean_files_save=$ac_clean_files
   3290 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3291 # Try to create an executable without -o first, disregard a.out.
   3292 # It will help us diagnose broken compilers, and finding out an intuition
   3293 # of exeext.
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3295 $as_echo_n "checking whether the C compiler works... " >&6; }
   3296 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3297 
   3298 # The possible output files:
   3299 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3300 
   3301 ac_rmfiles=
   3302 for ac_file in $ac_files
   3303 do
   3304   case $ac_file in
   3305     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3306     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3307   esac
   3308 done
   3309 rm -f $ac_rmfiles
   3310 
   3311 if { { ac_try="$ac_link_default"
   3312 case "(($ac_try" in
   3313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3314   *) ac_try_echo=$ac_try;;
   3315 esac
   3316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3317 $as_echo "$ac_try_echo"; } >&5
   3318   (eval "$ac_link_default") 2>&5
   3319   ac_status=$?
   3320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3321   test $ac_status = 0; }; then :
   3322   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3323 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3324 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3325 # so that the user can short-circuit this test for compilers unknown to
   3326 # Autoconf.
   3327 for ac_file in $ac_files ''
   3328 do
   3329   test -f "$ac_file" || continue
   3330   case $ac_file in
   3331     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3332 	;;
   3333     [ab].out )
   3334 	# We found the default executable, but exeext='' is most
   3335 	# certainly right.
   3336 	break;;
   3337     *.* )
   3338 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3339 	then :; else
   3340 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3341 	fi
   3342 	# We set ac_cv_exeext here because the later test for it is not
   3343 	# safe: cross compilers may not add the suffix if given an `-o'
   3344 	# argument, so we may need to know it at that point already.
   3345 	# Even if this section looks crufty: it has the advantage of
   3346 	# actually working.
   3347 	break;;
   3348     * )
   3349 	break;;
   3350   esac
   3351 done
   3352 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3353 
   3354 else
   3355   ac_file=''
   3356 fi
   3357 if test -z "$ac_file"; then :
   3358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3359 $as_echo "no" >&6; }
   3360 $as_echo "$as_me: failed program was:" >&5
   3361 sed 's/^/| /' conftest.$ac_ext >&5
   3362 
   3363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3365 as_fn_error 77 "C compiler cannot create executables
   3366 See \`config.log' for more details" "$LINENO" 5; }
   3367 else
   3368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3369 $as_echo "yes" >&6; }
   3370 fi
   3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3372 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3374 $as_echo "$ac_file" >&6; }
   3375 ac_exeext=$ac_cv_exeext
   3376 
   3377 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3378 ac_clean_files=$ac_clean_files_save
   3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3380 $as_echo_n "checking for suffix of executables... " >&6; }
   3381 if { { ac_try="$ac_link"
   3382 case "(($ac_try" in
   3383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3384   *) ac_try_echo=$ac_try;;
   3385 esac
   3386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3387 $as_echo "$ac_try_echo"; } >&5
   3388   (eval "$ac_link") 2>&5
   3389   ac_status=$?
   3390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3391   test $ac_status = 0; }; then :
   3392   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3393 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3394 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3395 # `rm'.
   3396 for ac_file in conftest.exe conftest conftest.*; do
   3397   test -f "$ac_file" || continue
   3398   case $ac_file in
   3399     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3400     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3401 	  break;;
   3402     * ) break;;
   3403   esac
   3404 done
   3405 else
   3406   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3408 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3409 See \`config.log' for more details" "$LINENO" 5; }
   3410 fi
   3411 rm -f conftest conftest$ac_cv_exeext
   3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3413 $as_echo "$ac_cv_exeext" >&6; }
   3414 
   3415 rm -f conftest.$ac_ext
   3416 EXEEXT=$ac_cv_exeext
   3417 ac_exeext=$EXEEXT
   3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3419 /* end confdefs.h.  */
   3420 #include <stdio.h>
   3421 int
   3422 main ()
   3423 {
   3424 FILE *f = fopen ("conftest.out", "w");
   3425  return ferror (f) || fclose (f) != 0;
   3426 
   3427   ;
   3428   return 0;
   3429 }
   3430 _ACEOF
   3431 ac_clean_files="$ac_clean_files conftest.out"
   3432 # Check that the compiler produces executables we can run.  If not, either
   3433 # the compiler is broken, or we cross compile.
   3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3435 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3436 if test "$cross_compiling" != yes; then
   3437   { { ac_try="$ac_link"
   3438 case "(($ac_try" in
   3439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3440   *) ac_try_echo=$ac_try;;
   3441 esac
   3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3443 $as_echo "$ac_try_echo"; } >&5
   3444   (eval "$ac_link") 2>&5
   3445   ac_status=$?
   3446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3447   test $ac_status = 0; }
   3448   if { ac_try='./conftest$ac_cv_exeext'
   3449   { { case "(($ac_try" in
   3450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3451   *) ac_try_echo=$ac_try;;
   3452 esac
   3453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3454 $as_echo "$ac_try_echo"; } >&5
   3455   (eval "$ac_try") 2>&5
   3456   ac_status=$?
   3457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3458   test $ac_status = 0; }; }; then
   3459     cross_compiling=no
   3460   else
   3461     if test "$cross_compiling" = maybe; then
   3462 	cross_compiling=yes
   3463     else
   3464 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3466 as_fn_error $? "cannot run C compiled programs.
   3467 If you meant to cross compile, use \`--host'.
   3468 See \`config.log' for more details" "$LINENO" 5; }
   3469     fi
   3470   fi
   3471 fi
   3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3473 $as_echo "$cross_compiling" >&6; }
   3474 
   3475 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3476 ac_clean_files=$ac_clean_files_save
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3478 $as_echo_n "checking for suffix of object files... " >&6; }
   3479 if ${ac_cv_objext+:} false; then :
   3480   $as_echo_n "(cached) " >&6
   3481 else
   3482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3483 /* end confdefs.h.  */
   3484 
   3485 int
   3486 main ()
   3487 {
   3488 
   3489   ;
   3490   return 0;
   3491 }
   3492 _ACEOF
   3493 rm -f conftest.o conftest.obj
   3494 if { { ac_try="$ac_compile"
   3495 case "(($ac_try" in
   3496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3497   *) ac_try_echo=$ac_try;;
   3498 esac
   3499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3500 $as_echo "$ac_try_echo"; } >&5
   3501   (eval "$ac_compile") 2>&5
   3502   ac_status=$?
   3503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3504   test $ac_status = 0; }; then :
   3505   for ac_file in conftest.o conftest.obj conftest.*; do
   3506   test -f "$ac_file" || continue;
   3507   case $ac_file in
   3508     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3509     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3510        break;;
   3511   esac
   3512 done
   3513 else
   3514   $as_echo "$as_me: failed program was:" >&5
   3515 sed 's/^/| /' conftest.$ac_ext >&5
   3516 
   3517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3519 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3520 See \`config.log' for more details" "$LINENO" 5; }
   3521 fi
   3522 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3523 fi
   3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3525 $as_echo "$ac_cv_objext" >&6; }
   3526 OBJEXT=$ac_cv_objext
   3527 ac_objext=$OBJEXT
   3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3529 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3530 if ${ac_cv_c_compiler_gnu+:} false; then :
   3531   $as_echo_n "(cached) " >&6
   3532 else
   3533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3534 /* end confdefs.h.  */
   3535 
   3536 int
   3537 main ()
   3538 {
   3539 #ifndef __GNUC__
   3540        choke me
   3541 #endif
   3542 
   3543   ;
   3544   return 0;
   3545 }
   3546 _ACEOF
   3547 if ac_fn_c_try_compile "$LINENO"; then :
   3548   ac_compiler_gnu=yes
   3549 else
   3550   ac_compiler_gnu=no
   3551 fi
   3552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3553 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3554 
   3555 fi
   3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3557 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3558 if test $ac_compiler_gnu = yes; then
   3559   GCC=yes
   3560 else
   3561   GCC=
   3562 fi
   3563 ac_test_CFLAGS=${CFLAGS+set}
   3564 ac_save_CFLAGS=$CFLAGS
   3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3566 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3567 if ${ac_cv_prog_cc_g+:} false; then :
   3568   $as_echo_n "(cached) " >&6
   3569 else
   3570   ac_save_c_werror_flag=$ac_c_werror_flag
   3571    ac_c_werror_flag=yes
   3572    ac_cv_prog_cc_g=no
   3573    CFLAGS="-g"
   3574    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3575 /* end confdefs.h.  */
   3576 
   3577 int
   3578 main ()
   3579 {
   3580 
   3581   ;
   3582   return 0;
   3583 }
   3584 _ACEOF
   3585 if ac_fn_c_try_compile "$LINENO"; then :
   3586   ac_cv_prog_cc_g=yes
   3587 else
   3588   CFLAGS=""
   3589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3590 /* end confdefs.h.  */
   3591 
   3592 int
   3593 main ()
   3594 {
   3595 
   3596   ;
   3597   return 0;
   3598 }
   3599 _ACEOF
   3600 if ac_fn_c_try_compile "$LINENO"; then :
   3601 
   3602 else
   3603   ac_c_werror_flag=$ac_save_c_werror_flag
   3604 	 CFLAGS="-g"
   3605 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3606 /* end confdefs.h.  */
   3607 
   3608 int
   3609 main ()
   3610 {
   3611 
   3612   ;
   3613   return 0;
   3614 }
   3615 _ACEOF
   3616 if ac_fn_c_try_compile "$LINENO"; then :
   3617   ac_cv_prog_cc_g=yes
   3618 fi
   3619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3620 fi
   3621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3622 fi
   3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3624    ac_c_werror_flag=$ac_save_c_werror_flag
   3625 fi
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3627 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3628 if test "$ac_test_CFLAGS" = set; then
   3629   CFLAGS=$ac_save_CFLAGS
   3630 elif test $ac_cv_prog_cc_g = yes; then
   3631   if test "$GCC" = yes; then
   3632     CFLAGS="-g -O2"
   3633   else
   3634     CFLAGS="-g"
   3635   fi
   3636 else
   3637   if test "$GCC" = yes; then
   3638     CFLAGS="-O2"
   3639   else
   3640     CFLAGS=
   3641   fi
   3642 fi
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3644 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3645 if ${ac_cv_prog_cc_c89+:} false; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   ac_cv_prog_cc_c89=no
   3649 ac_save_CC=$CC
   3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3651 /* end confdefs.h.  */
   3652 #include <stdarg.h>
   3653 #include <stdio.h>
   3654 #include <sys/types.h>
   3655 #include <sys/stat.h>
   3656 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3657 struct buf { int x; };
   3658 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3659 static char *e (p, i)
   3660      char **p;
   3661      int i;
   3662 {
   3663   return p[i];
   3664 }
   3665 static char *f (char * (*g) (char **, int), char **p, ...)
   3666 {
   3667   char *s;
   3668   va_list v;
   3669   va_start (v,p);
   3670   s = g (p, va_arg (v,int));
   3671   va_end (v);
   3672   return s;
   3673 }
   3674 
   3675 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3676    function prototypes and stuff, but not '\xHH' hex character constants.
   3677    These don't provoke an error unfortunately, instead are silently treated
   3678    as 'x'.  The following induces an error, until -std is added to get
   3679    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3680    array size at least.  It's necessary to write '\x00'==0 to get something
   3681    that's true only with -std.  */
   3682 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3683 
   3684 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3685    inside strings and character constants.  */
   3686 #define FOO(x) 'x'
   3687 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3688 
   3689 int test (int i, double x);
   3690 struct s1 {int (*f) (int a);};
   3691 struct s2 {int (*f) (double a);};
   3692 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3693 int argc;
   3694 char **argv;
   3695 int
   3696 main ()
   3697 {
   3698 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3699   ;
   3700   return 0;
   3701 }
   3702 _ACEOF
   3703 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3704 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3705 do
   3706   CC="$ac_save_CC $ac_arg"
   3707   if ac_fn_c_try_compile "$LINENO"; then :
   3708   ac_cv_prog_cc_c89=$ac_arg
   3709 fi
   3710 rm -f core conftest.err conftest.$ac_objext
   3711   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3712 done
   3713 rm -f conftest.$ac_ext
   3714 CC=$ac_save_CC
   3715 
   3716 fi
   3717 # AC_CACHE_VAL
   3718 case "x$ac_cv_prog_cc_c89" in
   3719   x)
   3720     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3721 $as_echo "none needed" >&6; } ;;
   3722   xno)
   3723     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3724 $as_echo "unsupported" >&6; } ;;
   3725   *)
   3726     CC="$CC $ac_cv_prog_cc_c89"
   3727     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3728 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3729 esac
   3730 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3731 
   3732 fi
   3733 
   3734 ac_ext=c
   3735 ac_cpp='$CPP $CPPFLAGS'
   3736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3739 
   3740 depcc="$CC"   am_compiler_list=
   3741 
   3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3743 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3744 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3745   $as_echo_n "(cached) " >&6
   3746 else
   3747   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3748   # We make a subdir and do the tests there.  Otherwise we can end up
   3749   # making bogus files that we don't know about and never remove.  For
   3750   # instance it was reported that on HP-UX the gcc test will end up
   3751   # making a dummy file named `D' -- because `-MD' means `put the output
   3752   # in D'.
   3753   mkdir conftest.dir
   3754   # Copy depcomp to subdir because otherwise we won't find it if we're
   3755   # using a relative directory.
   3756   cp "$am_depcomp" conftest.dir
   3757   cd conftest.dir
   3758   # We will build objects and dependencies in a subdirectory because
   3759   # it helps to detect inapplicable dependency modes.  For instance
   3760   # both Tru64's cc and ICC support -MD to output dependencies as a
   3761   # side effect of compilation, but ICC will put the dependencies in
   3762   # the current directory while Tru64 will put them in the object
   3763   # directory.
   3764   mkdir sub
   3765 
   3766   am_cv_CC_dependencies_compiler_type=none
   3767   if test "$am_compiler_list" = ""; then
   3768      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3769   fi
   3770   am__universal=false
   3771   case " $depcc " in #(
   3772      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3773      esac
   3774 
   3775   for depmode in $am_compiler_list; do
   3776     # Setup a source with many dependencies, because some compilers
   3777     # like to wrap large dependency lists on column 80 (with \), and
   3778     # we should not choose a depcomp mode which is confused by this.
   3779     #
   3780     # We need to recreate these files for each test, as the compiler may
   3781     # overwrite some of them when testing with obscure command lines.
   3782     # This happens at least with the AIX C compiler.
   3783     : > sub/conftest.c
   3784     for i in 1 2 3 4 5 6; do
   3785       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3786       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3787       # Solaris 8's {/usr,}/bin/sh.
   3788       touch sub/conftst$i.h
   3789     done
   3790     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3791 
   3792     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3793     # mode.  It turns out that the SunPro C++ compiler does not properly
   3794     # handle `-M -o', and we need to detect this.  Also, some Intel
   3795     # versions had trouble with output in subdirs
   3796     am__obj=sub/conftest.${OBJEXT-o}
   3797     am__minus_obj="-o $am__obj"
   3798     case $depmode in
   3799     gcc)
   3800       # This depmode causes a compiler race in universal mode.
   3801       test "$am__universal" = false || continue
   3802       ;;
   3803     nosideeffect)
   3804       # after this tag, mechanisms are not by side-effect, so they'll
   3805       # only be used when explicitly requested
   3806       if test "x$enable_dependency_tracking" = xyes; then
   3807 	continue
   3808       else
   3809 	break
   3810       fi
   3811       ;;
   3812     msvisualcpp | msvcmsys)
   3813       # This compiler won't grok `-c -o', but also, the minuso test has
   3814       # not run yet.  These depmodes are late enough in the game, and
   3815       # so weak that their functioning should not be impacted.
   3816       am__obj=conftest.${OBJEXT-o}
   3817       am__minus_obj=
   3818       ;;
   3819     none) break ;;
   3820     esac
   3821     if depmode=$depmode \
   3822        source=sub/conftest.c object=$am__obj \
   3823        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3824        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3825          >/dev/null 2>conftest.err &&
   3826        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3827        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3828        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3829        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3830       # icc doesn't choke on unknown options, it will just issue warnings
   3831       # or remarks (even with -Werror).  So we grep stderr for any message
   3832       # that says an option was ignored or not supported.
   3833       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3834       #   icc: Command line warning: ignoring option '-M'; no argument required
   3835       # The diagnosis changed in icc 8.0:
   3836       #   icc: Command line remark: option '-MP' not supported
   3837       if (grep 'ignoring option' conftest.err ||
   3838           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3839         am_cv_CC_dependencies_compiler_type=$depmode
   3840         break
   3841       fi
   3842     fi
   3843   done
   3844 
   3845   cd ..
   3846   rm -rf conftest.dir
   3847 else
   3848   am_cv_CC_dependencies_compiler_type=none
   3849 fi
   3850 
   3851 fi
   3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3853 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3854 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3855 
   3856  if
   3857   test "x$enable_dependency_tracking" != xno \
   3858   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3859   am__fastdepCC_TRUE=
   3860   am__fastdepCC_FALSE='#'
   3861 else
   3862   am__fastdepCC_TRUE='#'
   3863   am__fastdepCC_FALSE=
   3864 fi
   3865 
   3866 
   3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3868 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3869 if ${ac_cv_path_SED+:} false; then :
   3870   $as_echo_n "(cached) " >&6
   3871 else
   3872             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3873      for ac_i in 1 2 3 4 5 6 7; do
   3874        ac_script="$ac_script$as_nl$ac_script"
   3875      done
   3876      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3877      { ac_script=; unset ac_script;}
   3878      if test -z "$SED"; then
   3879   ac_path_SED_found=false
   3880   # Loop through the user's path and test for each of PROGNAME-LIST
   3881   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3882 for as_dir in $PATH
   3883 do
   3884   IFS=$as_save_IFS
   3885   test -z "$as_dir" && as_dir=.
   3886     for ac_prog in sed gsed; do
   3887     for ac_exec_ext in '' $ac_executable_extensions; do
   3888       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3889       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3890 # Check for GNU ac_path_SED and select it if it is found.
   3891   # Check for GNU $ac_path_SED
   3892 case `"$ac_path_SED" --version 2>&1` in
   3893 *GNU*)
   3894   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3895 *)
   3896   ac_count=0
   3897   $as_echo_n 0123456789 >"conftest.in"
   3898   while :
   3899   do
   3900     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3901     mv "conftest.tmp" "conftest.in"
   3902     cp "conftest.in" "conftest.nl"
   3903     $as_echo '' >> "conftest.nl"
   3904     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3905     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3906     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3907     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3908       # Best one so far, save it but keep looking for a better one
   3909       ac_cv_path_SED="$ac_path_SED"
   3910       ac_path_SED_max=$ac_count
   3911     fi
   3912     # 10*(2^10) chars as input seems more than enough
   3913     test $ac_count -gt 10 && break
   3914   done
   3915   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3916 esac
   3917 
   3918       $ac_path_SED_found && break 3
   3919     done
   3920   done
   3921   done
   3922 IFS=$as_save_IFS
   3923   if test -z "$ac_cv_path_SED"; then
   3924     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3925   fi
   3926 else
   3927   ac_cv_path_SED=$SED
   3928 fi
   3929 
   3930 fi
   3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3932 $as_echo "$ac_cv_path_SED" >&6; }
   3933  SED="$ac_cv_path_SED"
   3934   rm -f conftest.sed
   3935 
   3936 test -z "$SED" && SED=sed
   3937 Xsed="$SED -e 1s/^X//"
   3938 
   3939 
   3940 
   3941 
   3942 
   3943 
   3944 
   3945 
   3946 
   3947 
   3948 
   3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3950 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3951 if ${ac_cv_path_GREP+:} false; then :
   3952   $as_echo_n "(cached) " >&6
   3953 else
   3954   if test -z "$GREP"; then
   3955   ac_path_GREP_found=false
   3956   # Loop through the user's path and test for each of PROGNAME-LIST
   3957   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3958 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3959 do
   3960   IFS=$as_save_IFS
   3961   test -z "$as_dir" && as_dir=.
   3962     for ac_prog in grep ggrep; do
   3963     for ac_exec_ext in '' $ac_executable_extensions; do
   3964       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3965       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3966 # Check for GNU ac_path_GREP and select it if it is found.
   3967   # Check for GNU $ac_path_GREP
   3968 case `"$ac_path_GREP" --version 2>&1` in
   3969 *GNU*)
   3970   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3971 *)
   3972   ac_count=0
   3973   $as_echo_n 0123456789 >"conftest.in"
   3974   while :
   3975   do
   3976     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3977     mv "conftest.tmp" "conftest.in"
   3978     cp "conftest.in" "conftest.nl"
   3979     $as_echo 'GREP' >> "conftest.nl"
   3980     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3981     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3982     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3983     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3984       # Best one so far, save it but keep looking for a better one
   3985       ac_cv_path_GREP="$ac_path_GREP"
   3986       ac_path_GREP_max=$ac_count
   3987     fi
   3988     # 10*(2^10) chars as input seems more than enough
   3989     test $ac_count -gt 10 && break
   3990   done
   3991   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3992 esac
   3993 
   3994       $ac_path_GREP_found && break 3
   3995     done
   3996   done
   3997   done
   3998 IFS=$as_save_IFS
   3999   if test -z "$ac_cv_path_GREP"; then
   4000     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4001   fi
   4002 else
   4003   ac_cv_path_GREP=$GREP
   4004 fi
   4005 
   4006 fi
   4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4008 $as_echo "$ac_cv_path_GREP" >&6; }
   4009  GREP="$ac_cv_path_GREP"
   4010 
   4011 
   4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4013 $as_echo_n "checking for egrep... " >&6; }
   4014 if ${ac_cv_path_EGREP+:} false; then :
   4015   $as_echo_n "(cached) " >&6
   4016 else
   4017   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4018    then ac_cv_path_EGREP="$GREP -E"
   4019    else
   4020      if test -z "$EGREP"; then
   4021   ac_path_EGREP_found=false
   4022   # Loop through the user's path and test for each of PROGNAME-LIST
   4023   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4024 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4025 do
   4026   IFS=$as_save_IFS
   4027   test -z "$as_dir" && as_dir=.
   4028     for ac_prog in egrep; do
   4029     for ac_exec_ext in '' $ac_executable_extensions; do
   4030       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4031       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4032 # Check for GNU ac_path_EGREP and select it if it is found.
   4033   # Check for GNU $ac_path_EGREP
   4034 case `"$ac_path_EGREP" --version 2>&1` in
   4035 *GNU*)
   4036   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4037 *)
   4038   ac_count=0
   4039   $as_echo_n 0123456789 >"conftest.in"
   4040   while :
   4041   do
   4042     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4043     mv "conftest.tmp" "conftest.in"
   4044     cp "conftest.in" "conftest.nl"
   4045     $as_echo 'EGREP' >> "conftest.nl"
   4046     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4047     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4048     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4049     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4050       # Best one so far, save it but keep looking for a better one
   4051       ac_cv_path_EGREP="$ac_path_EGREP"
   4052       ac_path_EGREP_max=$ac_count
   4053     fi
   4054     # 10*(2^10) chars as input seems more than enough
   4055     test $ac_count -gt 10 && break
   4056   done
   4057   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4058 esac
   4059 
   4060       $ac_path_EGREP_found && break 3
   4061     done
   4062   done
   4063   done
   4064 IFS=$as_save_IFS
   4065   if test -z "$ac_cv_path_EGREP"; then
   4066     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4067   fi
   4068 else
   4069   ac_cv_path_EGREP=$EGREP
   4070 fi
   4071 
   4072    fi
   4073 fi
   4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4075 $as_echo "$ac_cv_path_EGREP" >&6; }
   4076  EGREP="$ac_cv_path_EGREP"
   4077 
   4078 
   4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4080 $as_echo_n "checking for fgrep... " >&6; }
   4081 if ${ac_cv_path_FGREP+:} false; then :
   4082   $as_echo_n "(cached) " >&6
   4083 else
   4084   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4085    then ac_cv_path_FGREP="$GREP -F"
   4086    else
   4087      if test -z "$FGREP"; then
   4088   ac_path_FGREP_found=false
   4089   # Loop through the user's path and test for each of PROGNAME-LIST
   4090   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4091 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4092 do
   4093   IFS=$as_save_IFS
   4094   test -z "$as_dir" && as_dir=.
   4095     for ac_prog in fgrep; do
   4096     for ac_exec_ext in '' $ac_executable_extensions; do
   4097       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4098       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4099 # Check for GNU ac_path_FGREP and select it if it is found.
   4100   # Check for GNU $ac_path_FGREP
   4101 case `"$ac_path_FGREP" --version 2>&1` in
   4102 *GNU*)
   4103   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4104 *)
   4105   ac_count=0
   4106   $as_echo_n 0123456789 >"conftest.in"
   4107   while :
   4108   do
   4109     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4110     mv "conftest.tmp" "conftest.in"
   4111     cp "conftest.in" "conftest.nl"
   4112     $as_echo 'FGREP' >> "conftest.nl"
   4113     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4114     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4115     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4116     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4117       # Best one so far, save it but keep looking for a better one
   4118       ac_cv_path_FGREP="$ac_path_FGREP"
   4119       ac_path_FGREP_max=$ac_count
   4120     fi
   4121     # 10*(2^10) chars as input seems more than enough
   4122     test $ac_count -gt 10 && break
   4123   done
   4124   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4125 esac
   4126 
   4127       $ac_path_FGREP_found && break 3
   4128     done
   4129   done
   4130   done
   4131 IFS=$as_save_IFS
   4132   if test -z "$ac_cv_path_FGREP"; then
   4133     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4134   fi
   4135 else
   4136   ac_cv_path_FGREP=$FGREP
   4137 fi
   4138 
   4139    fi
   4140 fi
   4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4142 $as_echo "$ac_cv_path_FGREP" >&6; }
   4143  FGREP="$ac_cv_path_FGREP"
   4144 
   4145 
   4146 test -z "$GREP" && GREP=grep
   4147 
   4148 
   4149 
   4150 
   4151 
   4152 
   4153 
   4154 
   4155 
   4156 
   4157 
   4158 
   4159 
   4160 
   4161 
   4162 
   4163 
   4164 
   4165 
   4166 # Check whether --with-gnu-ld was given.
   4167 if test "${with_gnu_ld+set}" = set; then :
   4168   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4169 else
   4170   with_gnu_ld=no
   4171 fi
   4172 
   4173 ac_prog=ld
   4174 if test "$GCC" = yes; then
   4175   # Check if gcc -print-prog-name=ld gives a path.
   4176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4177 $as_echo_n "checking for ld used by $CC... " >&6; }
   4178   case $host in
   4179   *-*-mingw*)
   4180     # gcc leaves a trailing carriage return which upsets mingw
   4181     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4182   *)
   4183     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4184   esac
   4185   case $ac_prog in
   4186     # Accept absolute paths.
   4187     [\\/]* | ?:[\\/]*)
   4188       re_direlt='/[^/][^/]*/\.\./'
   4189       # Canonicalize the pathname of ld
   4190       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4191       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4192 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4193       done
   4194       test -z "$LD" && LD="$ac_prog"
   4195       ;;
   4196   "")
   4197     # If it fails, then pretend we aren't using GCC.
   4198     ac_prog=ld
   4199     ;;
   4200   *)
   4201     # If it is relative, then search for the first ld in PATH.
   4202     with_gnu_ld=unknown
   4203     ;;
   4204   esac
   4205 elif test "$with_gnu_ld" = yes; then
   4206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4207 $as_echo_n "checking for GNU ld... " >&6; }
   4208 else
   4209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4210 $as_echo_n "checking for non-GNU ld... " >&6; }
   4211 fi
   4212 if ${lt_cv_path_LD+:} false; then :
   4213   $as_echo_n "(cached) " >&6
   4214 else
   4215   if test -z "$LD"; then
   4216   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4217   for ac_dir in $PATH; do
   4218     IFS="$lt_save_ifs"
   4219     test -z "$ac_dir" && ac_dir=.
   4220     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4221       lt_cv_path_LD="$ac_dir/$ac_prog"
   4222       # Check to see if the program is GNU ld.  I'd rather use --version,
   4223       # but apparently some variants of GNU ld only accept -v.
   4224       # Break only if it was the GNU/non-GNU ld that we prefer.
   4225       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4226       *GNU* | *'with BFD'*)
   4227 	test "$with_gnu_ld" != no && break
   4228 	;;
   4229       *)
   4230 	test "$with_gnu_ld" != yes && break
   4231 	;;
   4232       esac
   4233     fi
   4234   done
   4235   IFS="$lt_save_ifs"
   4236 else
   4237   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4238 fi
   4239 fi
   4240 
   4241 LD="$lt_cv_path_LD"
   4242 if test -n "$LD"; then
   4243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4244 $as_echo "$LD" >&6; }
   4245 else
   4246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4247 $as_echo "no" >&6; }
   4248 fi
   4249 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4251 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4252 if ${lt_cv_prog_gnu_ld+:} false; then :
   4253   $as_echo_n "(cached) " >&6
   4254 else
   4255   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4256 case `$LD -v 2>&1 </dev/null` in
   4257 *GNU* | *'with BFD'*)
   4258   lt_cv_prog_gnu_ld=yes
   4259   ;;
   4260 *)
   4261   lt_cv_prog_gnu_ld=no
   4262   ;;
   4263 esac
   4264 fi
   4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4266 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4267 with_gnu_ld=$lt_cv_prog_gnu_ld
   4268 
   4269 
   4270 
   4271 
   4272 
   4273 
   4274 
   4275 
   4276 
   4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4278 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4279 if ${lt_cv_path_NM+:} false; then :
   4280   $as_echo_n "(cached) " >&6
   4281 else
   4282   if test -n "$NM"; then
   4283   # Let the user override the test.
   4284   lt_cv_path_NM="$NM"
   4285 else
   4286   lt_nm_to_check="${ac_tool_prefix}nm"
   4287   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4288     lt_nm_to_check="$lt_nm_to_check nm"
   4289   fi
   4290   for lt_tmp_nm in $lt_nm_to_check; do
   4291     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4292     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4293       IFS="$lt_save_ifs"
   4294       test -z "$ac_dir" && ac_dir=.
   4295       tmp_nm="$ac_dir/$lt_tmp_nm"
   4296       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4297 	# Check to see if the nm accepts a BSD-compat flag.
   4298 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4299 	#   nm: unknown option "B" ignored
   4300 	# Tru64's nm complains that /dev/null is an invalid object file
   4301 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4302 	*/dev/null* | *'Invalid file or object type'*)
   4303 	  lt_cv_path_NM="$tmp_nm -B"
   4304 	  break
   4305 	  ;;
   4306 	*)
   4307 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4308 	  */dev/null*)
   4309 	    lt_cv_path_NM="$tmp_nm -p"
   4310 	    break
   4311 	    ;;
   4312 	  *)
   4313 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4314 	    continue # so that we can try to find one that supports BSD flags
   4315 	    ;;
   4316 	  esac
   4317 	  ;;
   4318 	esac
   4319       fi
   4320     done
   4321     IFS="$lt_save_ifs"
   4322   done
   4323   : ${lt_cv_path_NM=no}
   4324 fi
   4325 fi
   4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4327 $as_echo "$lt_cv_path_NM" >&6; }
   4328 if test "$lt_cv_path_NM" != "no"; then
   4329   NM="$lt_cv_path_NM"
   4330 else
   4331   # Didn't find any BSD compatible name lister, look for dumpbin.
   4332   if test -n "$DUMPBIN"; then :
   4333     # Let the user override the test.
   4334   else
   4335     if test -n "$ac_tool_prefix"; then
   4336   for ac_prog in dumpbin "link -dump"
   4337   do
   4338     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4341 $as_echo_n "checking for $ac_word... " >&6; }
   4342 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4343   $as_echo_n "(cached) " >&6
   4344 else
   4345   if test -n "$DUMPBIN"; then
   4346   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4347 else
   4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4349 for as_dir in $PATH
   4350 do
   4351   IFS=$as_save_IFS
   4352   test -z "$as_dir" && as_dir=.
   4353     for ac_exec_ext in '' $ac_executable_extensions; do
   4354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4355     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4357     break 2
   4358   fi
   4359 done
   4360   done
   4361 IFS=$as_save_IFS
   4362 
   4363 fi
   4364 fi
   4365 DUMPBIN=$ac_cv_prog_DUMPBIN
   4366 if test -n "$DUMPBIN"; then
   4367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4368 $as_echo "$DUMPBIN" >&6; }
   4369 else
   4370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4371 $as_echo "no" >&6; }
   4372 fi
   4373 
   4374 
   4375     test -n "$DUMPBIN" && break
   4376   done
   4377 fi
   4378 if test -z "$DUMPBIN"; then
   4379   ac_ct_DUMPBIN=$DUMPBIN
   4380   for ac_prog in dumpbin "link -dump"
   4381 do
   4382   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4383 set dummy $ac_prog; ac_word=$2
   4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4385 $as_echo_n "checking for $ac_word... " >&6; }
   4386 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4387   $as_echo_n "(cached) " >&6
   4388 else
   4389   if test -n "$ac_ct_DUMPBIN"; then
   4390   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4391 else
   4392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4393 for as_dir in $PATH
   4394 do
   4395   IFS=$as_save_IFS
   4396   test -z "$as_dir" && as_dir=.
   4397     for ac_exec_ext in '' $ac_executable_extensions; do
   4398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4399     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4401     break 2
   4402   fi
   4403 done
   4404   done
   4405 IFS=$as_save_IFS
   4406 
   4407 fi
   4408 fi
   4409 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4410 if test -n "$ac_ct_DUMPBIN"; then
   4411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4412 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4413 else
   4414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4415 $as_echo "no" >&6; }
   4416 fi
   4417 
   4418 
   4419   test -n "$ac_ct_DUMPBIN" && break
   4420 done
   4421 
   4422   if test "x$ac_ct_DUMPBIN" = x; then
   4423     DUMPBIN=":"
   4424   else
   4425     case $cross_compiling:$ac_tool_warned in
   4426 yes:)
   4427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4429 ac_tool_warned=yes ;;
   4430 esac
   4431     DUMPBIN=$ac_ct_DUMPBIN
   4432   fi
   4433 fi
   4434 
   4435     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4436     *COFF*)
   4437       DUMPBIN="$DUMPBIN -symbols"
   4438       ;;
   4439     *)
   4440       DUMPBIN=:
   4441       ;;
   4442     esac
   4443   fi
   4444 
   4445   if test "$DUMPBIN" != ":"; then
   4446     NM="$DUMPBIN"
   4447   fi
   4448 fi
   4449 test -z "$NM" && NM=nm
   4450 
   4451 
   4452 
   4453 
   4454 
   4455 
   4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4457 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4458 if ${lt_cv_nm_interface+:} false; then :
   4459   $as_echo_n "(cached) " >&6
   4460 else
   4461   lt_cv_nm_interface="BSD nm"
   4462   echo "int some_variable = 0;" > conftest.$ac_ext
   4463   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4464   (eval "$ac_compile" 2>conftest.err)
   4465   cat conftest.err >&5
   4466   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4467   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4468   cat conftest.err >&5
   4469   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4470   cat conftest.out >&5
   4471   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4472     lt_cv_nm_interface="MS dumpbin"
   4473   fi
   4474   rm -f conftest*
   4475 fi
   4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4477 $as_echo "$lt_cv_nm_interface" >&6; }
   4478 
   4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4480 $as_echo_n "checking whether ln -s works... " >&6; }
   4481 LN_S=$as_ln_s
   4482 if test "$LN_S" = "ln -s"; then
   4483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4484 $as_echo "yes" >&6; }
   4485 else
   4486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4487 $as_echo "no, using $LN_S" >&6; }
   4488 fi
   4489 
   4490 # find the maximum length of command line arguments
   4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4492 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4493 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4494   $as_echo_n "(cached) " >&6
   4495 else
   4496     i=0
   4497   teststring="ABCD"
   4498 
   4499   case $build_os in
   4500   msdosdjgpp*)
   4501     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4502     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4503     # during glob expansion).  Even if it were fixed, the result of this
   4504     # check would be larger than it should be.
   4505     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4506     ;;
   4507 
   4508   gnu*)
   4509     # Under GNU Hurd, this test is not required because there is
   4510     # no limit to the length of command line arguments.
   4511     # Libtool will interpret -1 as no limit whatsoever
   4512     lt_cv_sys_max_cmd_len=-1;
   4513     ;;
   4514 
   4515   cygwin* | mingw* | cegcc*)
   4516     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4517     # about 5 minutes as the teststring grows exponentially.
   4518     # Worse, since 9x/ME are not pre-emptively multitasking,
   4519     # you end up with a "frozen" computer, even though with patience
   4520     # the test eventually succeeds (with a max line length of 256k).
   4521     # Instead, let's just punt: use the minimum linelength reported by
   4522     # all of the supported platforms: 8192 (on NT/2K/XP).
   4523     lt_cv_sys_max_cmd_len=8192;
   4524     ;;
   4525 
   4526   mint*)
   4527     # On MiNT this can take a long time and run out of memory.
   4528     lt_cv_sys_max_cmd_len=8192;
   4529     ;;
   4530 
   4531   amigaos*)
   4532     # On AmigaOS with pdksh, this test takes hours, literally.
   4533     # So we just punt and use a minimum line length of 8192.
   4534     lt_cv_sys_max_cmd_len=8192;
   4535     ;;
   4536 
   4537   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4538     # This has been around since 386BSD, at least.  Likely further.
   4539     if test -x /sbin/sysctl; then
   4540       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4541     elif test -x /usr/sbin/sysctl; then
   4542       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4543     else
   4544       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4545     fi
   4546     # And add a safety zone
   4547     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4548     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4549     ;;
   4550 
   4551   interix*)
   4552     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4553     lt_cv_sys_max_cmd_len=196608
   4554     ;;
   4555 
   4556   osf*)
   4557     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4558     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4559     # nice to cause kernel panics so lets avoid the loop below.
   4560     # First set a reasonable default.
   4561     lt_cv_sys_max_cmd_len=16384
   4562     #
   4563     if test -x /sbin/sysconfig; then
   4564       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4565         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4566       esac
   4567     fi
   4568     ;;
   4569   sco3.2v5*)
   4570     lt_cv_sys_max_cmd_len=102400
   4571     ;;
   4572   sysv5* | sco5v6* | sysv4.2uw2*)
   4573     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4574     if test -n "$kargmax"; then
   4575       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4576     else
   4577       lt_cv_sys_max_cmd_len=32768
   4578     fi
   4579     ;;
   4580   *)
   4581     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4582     if test -n "$lt_cv_sys_max_cmd_len"; then
   4583       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4584       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4585     else
   4586       # Make teststring a little bigger before we do anything with it.
   4587       # a 1K string should be a reasonable start.
   4588       for i in 1 2 3 4 5 6 7 8 ; do
   4589         teststring=$teststring$teststring
   4590       done
   4591       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4592       # If test is not a shell built-in, we'll probably end up computing a
   4593       # maximum length that is only half of the actual maximum length, but
   4594       # we can't tell.
   4595       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4596 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4597 	      test $i != 17 # 1/2 MB should be enough
   4598       do
   4599         i=`expr $i + 1`
   4600         teststring=$teststring$teststring
   4601       done
   4602       # Only check the string length outside the loop.
   4603       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4604       teststring=
   4605       # Add a significant safety factor because C++ compilers can tack on
   4606       # massive amounts of additional arguments before passing them to the
   4607       # linker.  It appears as though 1/2 is a usable value.
   4608       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4609     fi
   4610     ;;
   4611   esac
   4612 
   4613 fi
   4614 
   4615 if test -n $lt_cv_sys_max_cmd_len ; then
   4616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4617 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4618 else
   4619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4620 $as_echo "none" >&6; }
   4621 fi
   4622 max_cmd_len=$lt_cv_sys_max_cmd_len
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 : ${CP="cp -f"}
   4630 : ${MV="mv -f"}
   4631 : ${RM="rm -f"}
   4632 
   4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4634 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4635 # Try some XSI features
   4636 xsi_shell=no
   4637 ( _lt_dummy="a/b/c"
   4638   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4639       = c,a/b,, \
   4640     && eval 'test $(( 1 + 1 )) -eq 2 \
   4641     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4642   && xsi_shell=yes
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4644 $as_echo "$xsi_shell" >&6; }
   4645 
   4646 
   4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4648 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4649 lt_shell_append=no
   4650 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4651     >/dev/null 2>&1 \
   4652   && lt_shell_append=yes
   4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4654 $as_echo "$lt_shell_append" >&6; }
   4655 
   4656 
   4657 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4658   lt_unset=unset
   4659 else
   4660   lt_unset=false
   4661 fi
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 # test EBCDIC or ASCII
   4668 case `echo X|tr X '\101'` in
   4669  A) # ASCII based system
   4670     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4671   lt_SP2NL='tr \040 \012'
   4672   lt_NL2SP='tr \015\012 \040\040'
   4673   ;;
   4674  *) # EBCDIC based system
   4675   lt_SP2NL='tr \100 \n'
   4676   lt_NL2SP='tr \r\n \100\100'
   4677   ;;
   4678 esac
   4679 
   4680 
   4681 
   4682 
   4683 
   4684 
   4685 
   4686 
   4687 
   4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4689 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4690 if ${lt_cv_ld_reload_flag+:} false; then :
   4691   $as_echo_n "(cached) " >&6
   4692 else
   4693   lt_cv_ld_reload_flag='-r'
   4694 fi
   4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4696 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4697 reload_flag=$lt_cv_ld_reload_flag
   4698 case $reload_flag in
   4699 "" | " "*) ;;
   4700 *) reload_flag=" $reload_flag" ;;
   4701 esac
   4702 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4703 case $host_os in
   4704   darwin*)
   4705     if test "$GCC" = yes; then
   4706       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4707     else
   4708       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4709     fi
   4710     ;;
   4711 esac
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 if test -n "$ac_tool_prefix"; then
   4722   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4723 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4725 $as_echo_n "checking for $ac_word... " >&6; }
   4726 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4727   $as_echo_n "(cached) " >&6
   4728 else
   4729   if test -n "$OBJDUMP"; then
   4730   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4731 else
   4732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4733 for as_dir in $PATH
   4734 do
   4735   IFS=$as_save_IFS
   4736   test -z "$as_dir" && as_dir=.
   4737     for ac_exec_ext in '' $ac_executable_extensions; do
   4738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4739     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4741     break 2
   4742   fi
   4743 done
   4744   done
   4745 IFS=$as_save_IFS
   4746 
   4747 fi
   4748 fi
   4749 OBJDUMP=$ac_cv_prog_OBJDUMP
   4750 if test -n "$OBJDUMP"; then
   4751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4752 $as_echo "$OBJDUMP" >&6; }
   4753 else
   4754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4755 $as_echo "no" >&6; }
   4756 fi
   4757 
   4758 
   4759 fi
   4760 if test -z "$ac_cv_prog_OBJDUMP"; then
   4761   ac_ct_OBJDUMP=$OBJDUMP
   4762   # Extract the first word of "objdump", so it can be a program name with args.
   4763 set dummy objdump; ac_word=$2
   4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4765 $as_echo_n "checking for $ac_word... " >&6; }
   4766 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4767   $as_echo_n "(cached) " >&6
   4768 else
   4769   if test -n "$ac_ct_OBJDUMP"; then
   4770   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4771 else
   4772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4773 for as_dir in $PATH
   4774 do
   4775   IFS=$as_save_IFS
   4776   test -z "$as_dir" && as_dir=.
   4777     for ac_exec_ext in '' $ac_executable_extensions; do
   4778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4779     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4780     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4781     break 2
   4782   fi
   4783 done
   4784   done
   4785 IFS=$as_save_IFS
   4786 
   4787 fi
   4788 fi
   4789 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4790 if test -n "$ac_ct_OBJDUMP"; then
   4791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4792 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4793 else
   4794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4795 $as_echo "no" >&6; }
   4796 fi
   4797 
   4798   if test "x$ac_ct_OBJDUMP" = x; then
   4799     OBJDUMP="false"
   4800   else
   4801     case $cross_compiling:$ac_tool_warned in
   4802 yes:)
   4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4805 ac_tool_warned=yes ;;
   4806 esac
   4807     OBJDUMP=$ac_ct_OBJDUMP
   4808   fi
   4809 else
   4810   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4811 fi
   4812 
   4813 test -z "$OBJDUMP" && OBJDUMP=objdump
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4824 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4825 if ${lt_cv_deplibs_check_method+:} false; then :
   4826   $as_echo_n "(cached) " >&6
   4827 else
   4828   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4829 lt_cv_file_magic_test_file=
   4830 lt_cv_deplibs_check_method='unknown'
   4831 # Need to set the preceding variable on all platforms that support
   4832 # interlibrary dependencies.
   4833 # 'none' -- dependencies not supported.
   4834 # `unknown' -- same as none, but documents that we really don't know.
   4835 # 'pass_all' -- all dependencies passed with no checks.
   4836 # 'test_compile' -- check by making test program.
   4837 # 'file_magic [[regex]]' -- check by looking for files in library path
   4838 # which responds to the $file_magic_cmd with a given extended regex.
   4839 # If you have `file' or equivalent on your system and you're not sure
   4840 # whether `pass_all' will *always* work, you probably want this one.
   4841 
   4842 case $host_os in
   4843 aix[4-9]*)
   4844   lt_cv_deplibs_check_method=pass_all
   4845   ;;
   4846 
   4847 beos*)
   4848   lt_cv_deplibs_check_method=pass_all
   4849   ;;
   4850 
   4851 bsdi[45]*)
   4852   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4853   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4854   lt_cv_file_magic_test_file=/shlib/libc.so
   4855   ;;
   4856 
   4857 cygwin*)
   4858   # func_win32_libid is a shell function defined in ltmain.sh
   4859   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4860   lt_cv_file_magic_cmd='func_win32_libid'
   4861   ;;
   4862 
   4863 mingw* | pw32*)
   4864   # Base MSYS/MinGW do not provide the 'file' command needed by
   4865   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4866   # unless we find 'file', for example because we are cross-compiling.
   4867   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   4868   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   4869     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4870     lt_cv_file_magic_cmd='func_win32_libid'
   4871   else
   4872     # Keep this pattern in sync with the one in func_win32_libid.
   4873     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   4874     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4875   fi
   4876   ;;
   4877 
   4878 cegcc*)
   4879   # use the weaker test based on 'objdump'. See mingw*.
   4880   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4881   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4882   ;;
   4883 
   4884 darwin* | rhapsody*)
   4885   lt_cv_deplibs_check_method=pass_all
   4886   ;;
   4887 
   4888 freebsd* | dragonfly*)
   4889   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4890     case $host_cpu in
   4891     i*86 )
   4892       # Not sure whether the presence of OpenBSD here was a mistake.
   4893       # Let's accept both of them until this is cleared up.
   4894       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4895       lt_cv_file_magic_cmd=/usr/bin/file
   4896       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4897       ;;
   4898     esac
   4899   else
   4900     lt_cv_deplibs_check_method=pass_all
   4901   fi
   4902   ;;
   4903 
   4904 gnu*)
   4905   lt_cv_deplibs_check_method=pass_all
   4906   ;;
   4907 
   4908 haiku*)
   4909   lt_cv_deplibs_check_method=pass_all
   4910   ;;
   4911 
   4912 hpux10.20* | hpux11*)
   4913   lt_cv_file_magic_cmd=/usr/bin/file
   4914   case $host_cpu in
   4915   ia64*)
   4916     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4917     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4918     ;;
   4919   hppa*64*)
   4920     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   4921     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4922     ;;
   4923   *)
   4924     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   4925     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4926     ;;
   4927   esac
   4928   ;;
   4929 
   4930 interix[3-9]*)
   4931   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4932   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4933   ;;
   4934 
   4935 irix5* | irix6* | nonstopux*)
   4936   case $LD in
   4937   *-32|*"-32 ") libmagic=32-bit;;
   4938   *-n32|*"-n32 ") libmagic=N32;;
   4939   *-64|*"-64 ") libmagic=64-bit;;
   4940   *) libmagic=never-match;;
   4941   esac
   4942   lt_cv_deplibs_check_method=pass_all
   4943   ;;
   4944 
   4945 # This must be Linux ELF.
   4946 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   4947   lt_cv_deplibs_check_method=pass_all
   4948   ;;
   4949 
   4950 netbsd*)
   4951   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4952     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4953   else
   4954     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4955   fi
   4956   ;;
   4957 
   4958 newos6*)
   4959   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4960   lt_cv_file_magic_cmd=/usr/bin/file
   4961   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4962   ;;
   4963 
   4964 *nto* | *qnx*)
   4965   lt_cv_deplibs_check_method=pass_all
   4966   ;;
   4967 
   4968 openbsd*)
   4969   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4970     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4971   else
   4972     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4973   fi
   4974   ;;
   4975 
   4976 osf3* | osf4* | osf5*)
   4977   lt_cv_deplibs_check_method=pass_all
   4978   ;;
   4979 
   4980 rdos*)
   4981   lt_cv_deplibs_check_method=pass_all
   4982   ;;
   4983 
   4984 solaris*)
   4985   lt_cv_deplibs_check_method=pass_all
   4986   ;;
   4987 
   4988 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4989   lt_cv_deplibs_check_method=pass_all
   4990   ;;
   4991 
   4992 sysv4 | sysv4.3*)
   4993   case $host_vendor in
   4994   motorola)
   4995     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]'
   4996     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4997     ;;
   4998   ncr)
   4999     lt_cv_deplibs_check_method=pass_all
   5000     ;;
   5001   sequent)
   5002     lt_cv_file_magic_cmd='/bin/file'
   5003     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5004     ;;
   5005   sni)
   5006     lt_cv_file_magic_cmd='/bin/file'
   5007     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5008     lt_cv_file_magic_test_file=/lib/libc.so
   5009     ;;
   5010   siemens)
   5011     lt_cv_deplibs_check_method=pass_all
   5012     ;;
   5013   pc)
   5014     lt_cv_deplibs_check_method=pass_all
   5015     ;;
   5016   esac
   5017   ;;
   5018 
   5019 tpf*)
   5020   lt_cv_deplibs_check_method=pass_all
   5021   ;;
   5022 esac
   5023 
   5024 fi
   5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5026 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5027 file_magic_cmd=$lt_cv_file_magic_cmd
   5028 deplibs_check_method=$lt_cv_deplibs_check_method
   5029 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 if test -n "$ac_tool_prefix"; then
   5043   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5044 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5046 $as_echo_n "checking for $ac_word... " >&6; }
   5047 if ${ac_cv_prog_AR+:} false; then :
   5048   $as_echo_n "(cached) " >&6
   5049 else
   5050   if test -n "$AR"; then
   5051   ac_cv_prog_AR="$AR" # Let the user override the test.
   5052 else
   5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5054 for as_dir in $PATH
   5055 do
   5056   IFS=$as_save_IFS
   5057   test -z "$as_dir" && as_dir=.
   5058     for ac_exec_ext in '' $ac_executable_extensions; do
   5059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5060     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5062     break 2
   5063   fi
   5064 done
   5065   done
   5066 IFS=$as_save_IFS
   5067 
   5068 fi
   5069 fi
   5070 AR=$ac_cv_prog_AR
   5071 if test -n "$AR"; then
   5072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5073 $as_echo "$AR" >&6; }
   5074 else
   5075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5076 $as_echo "no" >&6; }
   5077 fi
   5078 
   5079 
   5080 fi
   5081 if test -z "$ac_cv_prog_AR"; then
   5082   ac_ct_AR=$AR
   5083   # Extract the first word of "ar", so it can be a program name with args.
   5084 set dummy ar; ac_word=$2
   5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5086 $as_echo_n "checking for $ac_word... " >&6; }
   5087 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5088   $as_echo_n "(cached) " >&6
   5089 else
   5090   if test -n "$ac_ct_AR"; then
   5091   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5092 else
   5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5094 for as_dir in $PATH
   5095 do
   5096   IFS=$as_save_IFS
   5097   test -z "$as_dir" && as_dir=.
   5098     for ac_exec_ext in '' $ac_executable_extensions; do
   5099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5100     ac_cv_prog_ac_ct_AR="ar"
   5101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5102     break 2
   5103   fi
   5104 done
   5105   done
   5106 IFS=$as_save_IFS
   5107 
   5108 fi
   5109 fi
   5110 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5111 if test -n "$ac_ct_AR"; then
   5112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5113 $as_echo "$ac_ct_AR" >&6; }
   5114 else
   5115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5116 $as_echo "no" >&6; }
   5117 fi
   5118 
   5119   if test "x$ac_ct_AR" = x; then
   5120     AR="false"
   5121   else
   5122     case $cross_compiling:$ac_tool_warned in
   5123 yes:)
   5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5126 ac_tool_warned=yes ;;
   5127 esac
   5128     AR=$ac_ct_AR
   5129   fi
   5130 else
   5131   AR="$ac_cv_prog_AR"
   5132 fi
   5133 
   5134 test -z "$AR" && AR=ar
   5135 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 if test -n "$ac_tool_prefix"; then
   5148   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5149 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5151 $as_echo_n "checking for $ac_word... " >&6; }
   5152 if ${ac_cv_prog_STRIP+:} false; then :
   5153   $as_echo_n "(cached) " >&6
   5154 else
   5155   if test -n "$STRIP"; then
   5156   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5157 else
   5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5159 for as_dir in $PATH
   5160 do
   5161   IFS=$as_save_IFS
   5162   test -z "$as_dir" && as_dir=.
   5163     for ac_exec_ext in '' $ac_executable_extensions; do
   5164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5165     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5167     break 2
   5168   fi
   5169 done
   5170   done
   5171 IFS=$as_save_IFS
   5172 
   5173 fi
   5174 fi
   5175 STRIP=$ac_cv_prog_STRIP
   5176 if test -n "$STRIP"; then
   5177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5178 $as_echo "$STRIP" >&6; }
   5179 else
   5180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5181 $as_echo "no" >&6; }
   5182 fi
   5183 
   5184 
   5185 fi
   5186 if test -z "$ac_cv_prog_STRIP"; then
   5187   ac_ct_STRIP=$STRIP
   5188   # Extract the first word of "strip", so it can be a program name with args.
   5189 set dummy strip; ac_word=$2
   5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5191 $as_echo_n "checking for $ac_word... " >&6; }
   5192 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5193   $as_echo_n "(cached) " >&6
   5194 else
   5195   if test -n "$ac_ct_STRIP"; then
   5196   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5197 else
   5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5199 for as_dir in $PATH
   5200 do
   5201   IFS=$as_save_IFS
   5202   test -z "$as_dir" && as_dir=.
   5203     for ac_exec_ext in '' $ac_executable_extensions; do
   5204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5205     ac_cv_prog_ac_ct_STRIP="strip"
   5206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5207     break 2
   5208   fi
   5209 done
   5210   done
   5211 IFS=$as_save_IFS
   5212 
   5213 fi
   5214 fi
   5215 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5216 if test -n "$ac_ct_STRIP"; then
   5217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5218 $as_echo "$ac_ct_STRIP" >&6; }
   5219 else
   5220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5221 $as_echo "no" >&6; }
   5222 fi
   5223 
   5224   if test "x$ac_ct_STRIP" = x; then
   5225     STRIP=":"
   5226   else
   5227     case $cross_compiling:$ac_tool_warned in
   5228 yes:)
   5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5231 ac_tool_warned=yes ;;
   5232 esac
   5233     STRIP=$ac_ct_STRIP
   5234   fi
   5235 else
   5236   STRIP="$ac_cv_prog_STRIP"
   5237 fi
   5238 
   5239 test -z "$STRIP" && STRIP=:
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 if test -n "$ac_tool_prefix"; then
   5247   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5248 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5250 $as_echo_n "checking for $ac_word... " >&6; }
   5251 if ${ac_cv_prog_RANLIB+:} false; then :
   5252   $as_echo_n "(cached) " >&6
   5253 else
   5254   if test -n "$RANLIB"; then
   5255   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5256 else
   5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5258 for as_dir in $PATH
   5259 do
   5260   IFS=$as_save_IFS
   5261   test -z "$as_dir" && as_dir=.
   5262     for ac_exec_ext in '' $ac_executable_extensions; do
   5263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5264     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5266     break 2
   5267   fi
   5268 done
   5269   done
   5270 IFS=$as_save_IFS
   5271 
   5272 fi
   5273 fi
   5274 RANLIB=$ac_cv_prog_RANLIB
   5275 if test -n "$RANLIB"; then
   5276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5277 $as_echo "$RANLIB" >&6; }
   5278 else
   5279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5280 $as_echo "no" >&6; }
   5281 fi
   5282 
   5283 
   5284 fi
   5285 if test -z "$ac_cv_prog_RANLIB"; then
   5286   ac_ct_RANLIB=$RANLIB
   5287   # Extract the first word of "ranlib", so it can be a program name with args.
   5288 set dummy ranlib; ac_word=$2
   5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5290 $as_echo_n "checking for $ac_word... " >&6; }
   5291 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5292   $as_echo_n "(cached) " >&6
   5293 else
   5294   if test -n "$ac_ct_RANLIB"; then
   5295   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5296 else
   5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5298 for as_dir in $PATH
   5299 do
   5300   IFS=$as_save_IFS
   5301   test -z "$as_dir" && as_dir=.
   5302     for ac_exec_ext in '' $ac_executable_extensions; do
   5303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5304     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5306     break 2
   5307   fi
   5308 done
   5309   done
   5310 IFS=$as_save_IFS
   5311 
   5312 fi
   5313 fi
   5314 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5315 if test -n "$ac_ct_RANLIB"; then
   5316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5317 $as_echo "$ac_ct_RANLIB" >&6; }
   5318 else
   5319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5320 $as_echo "no" >&6; }
   5321 fi
   5322 
   5323   if test "x$ac_ct_RANLIB" = x; then
   5324     RANLIB=":"
   5325   else
   5326     case $cross_compiling:$ac_tool_warned in
   5327 yes:)
   5328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5330 ac_tool_warned=yes ;;
   5331 esac
   5332     RANLIB=$ac_ct_RANLIB
   5333   fi
   5334 else
   5335   RANLIB="$ac_cv_prog_RANLIB"
   5336 fi
   5337 
   5338 test -z "$RANLIB" && RANLIB=:
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 # Determine commands to create old-style static archives.
   5346 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5347 old_postinstall_cmds='chmod 644 $oldlib'
   5348 old_postuninstall_cmds=
   5349 
   5350 if test -n "$RANLIB"; then
   5351   case $host_os in
   5352   openbsd*)
   5353     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5354     ;;
   5355   *)
   5356     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5357     ;;
   5358   esac
   5359   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5360 fi
   5361 
   5362 case $host_os in
   5363   darwin*)
   5364     lock_old_archive_extraction=yes ;;
   5365   *)
   5366     lock_old_archive_extraction=no ;;
   5367 esac
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 # If no C compiler was specified, use CC.
   5408 LTCC=${LTCC-"$CC"}
   5409 
   5410 # If no C compiler flags were specified, use CFLAGS.
   5411 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5412 
   5413 # Allow CC to be a program name with arguments.
   5414 compiler=$CC
   5415 
   5416 
   5417 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5419 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5420 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5421   $as_echo_n "(cached) " >&6
   5422 else
   5423 
   5424 # These are sane defaults that work on at least a few old systems.
   5425 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5426 
   5427 # Character class describing NM global symbol codes.
   5428 symcode='[BCDEGRST]'
   5429 
   5430 # Regexp to match symbols that can be accessed directly from C.
   5431 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5432 
   5433 # Define system-specific variables.
   5434 case $host_os in
   5435 aix*)
   5436   symcode='[BCDT]'
   5437   ;;
   5438 cygwin* | mingw* | pw32* | cegcc*)
   5439   symcode='[ABCDGISTW]'
   5440   ;;
   5441 hpux*)
   5442   if test "$host_cpu" = ia64; then
   5443     symcode='[ABCDEGRST]'
   5444   fi
   5445   ;;
   5446 irix* | nonstopux*)
   5447   symcode='[BCDEGRST]'
   5448   ;;
   5449 osf*)
   5450   symcode='[BCDEGQRST]'
   5451   ;;
   5452 solaris*)
   5453   symcode='[BDRT]'
   5454   ;;
   5455 sco3.2v5*)
   5456   symcode='[DT]'
   5457   ;;
   5458 sysv4.2uw2*)
   5459   symcode='[DT]'
   5460   ;;
   5461 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5462   symcode='[ABDT]'
   5463   ;;
   5464 sysv4)
   5465   symcode='[DFNSTU]'
   5466   ;;
   5467 esac
   5468 
   5469 # If we're using GNU nm, then use its standard symbol codes.
   5470 case `$NM -V 2>&1` in
   5471 *GNU* | *'with BFD'*)
   5472   symcode='[ABCDGIRSTW]' ;;
   5473 esac
   5474 
   5475 # Transform an extracted symbol line into a proper C declaration.
   5476 # Some systems (esp. on ia64) link data and code symbols differently,
   5477 # so use this general approach.
   5478 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5479 
   5480 # Transform an extracted symbol line into symbol name and symbol address
   5481 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5482 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'"
   5483 
   5484 # Handle CRLF in mingw tool chain
   5485 opt_cr=
   5486 case $build_os in
   5487 mingw*)
   5488   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5489   ;;
   5490 esac
   5491 
   5492 # Try without a prefix underscore, then with it.
   5493 for ac_symprfx in "" "_"; do
   5494 
   5495   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5496   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5497 
   5498   # Write the raw and C identifiers.
   5499   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5500     # Fake it for dumpbin and say T for any non-static function
   5501     # and D for any global variable.
   5502     # Also find C++ and __fastcall symbols from MSVC++,
   5503     # which start with @ or ?.
   5504     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5505 "     {last_section=section; section=\$ 3};"\
   5506 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5507 "     \$ 0!~/External *\|/{next};"\
   5508 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5509 "     {if(hide[section]) next};"\
   5510 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5511 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5512 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5513 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5514 "     ' prfx=^$ac_symprfx"
   5515   else
   5516     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5517   fi
   5518 
   5519   # Check to see that the pipe works correctly.
   5520   pipe_works=no
   5521 
   5522   rm -f conftest*
   5523   cat > conftest.$ac_ext <<_LT_EOF
   5524 #ifdef __cplusplus
   5525 extern "C" {
   5526 #endif
   5527 char nm_test_var;
   5528 void nm_test_func(void);
   5529 void nm_test_func(void){}
   5530 #ifdef __cplusplus
   5531 }
   5532 #endif
   5533 int main(){nm_test_var='a';nm_test_func();return(0);}
   5534 _LT_EOF
   5535 
   5536   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5537   (eval $ac_compile) 2>&5
   5538   ac_status=$?
   5539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5540   test $ac_status = 0; }; then
   5541     # Now try to grab the symbols.
   5542     nlist=conftest.nm
   5543     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5544   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5545   ac_status=$?
   5546   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5547   test $ac_status = 0; } && test -s "$nlist"; then
   5548       # Try sorting and uniquifying the output.
   5549       if sort "$nlist" | uniq > "$nlist"T; then
   5550 	mv -f "$nlist"T "$nlist"
   5551       else
   5552 	rm -f "$nlist"T
   5553       fi
   5554 
   5555       # Make sure that we snagged all the symbols we need.
   5556       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5557 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5558 	  cat <<_LT_EOF > conftest.$ac_ext
   5559 #ifdef __cplusplus
   5560 extern "C" {
   5561 #endif
   5562 
   5563 _LT_EOF
   5564 	  # Now generate the symbol file.
   5565 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5566 
   5567 	  cat <<_LT_EOF >> conftest.$ac_ext
   5568 
   5569 /* The mapping between symbol names and symbols.  */
   5570 const struct {
   5571   const char *name;
   5572   void       *address;
   5573 }
   5574 lt__PROGRAM__LTX_preloaded_symbols[] =
   5575 {
   5576   { "@PROGRAM@", (void *) 0 },
   5577 _LT_EOF
   5578 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5579 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5580   {0, (void *) 0}
   5581 };
   5582 
   5583 /* This works around a problem in FreeBSD linker */
   5584 #ifdef FREEBSD_WORKAROUND
   5585 static const void *lt_preloaded_setup() {
   5586   return lt__PROGRAM__LTX_preloaded_symbols;
   5587 }
   5588 #endif
   5589 
   5590 #ifdef __cplusplus
   5591 }
   5592 #endif
   5593 _LT_EOF
   5594 	  # Now try linking the two files.
   5595 	  mv conftest.$ac_objext conftstm.$ac_objext
   5596 	  lt_save_LIBS="$LIBS"
   5597 	  lt_save_CFLAGS="$CFLAGS"
   5598 	  LIBS="conftstm.$ac_objext"
   5599 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5600 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5601   (eval $ac_link) 2>&5
   5602   ac_status=$?
   5603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5604   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5605 	    pipe_works=yes
   5606 	  fi
   5607 	  LIBS="$lt_save_LIBS"
   5608 	  CFLAGS="$lt_save_CFLAGS"
   5609 	else
   5610 	  echo "cannot find nm_test_func in $nlist" >&5
   5611 	fi
   5612       else
   5613 	echo "cannot find nm_test_var in $nlist" >&5
   5614       fi
   5615     else
   5616       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5617     fi
   5618   else
   5619     echo "$progname: failed program was:" >&5
   5620     cat conftest.$ac_ext >&5
   5621   fi
   5622   rm -rf conftest* conftst*
   5623 
   5624   # Do not use the global_symbol_pipe unless it works.
   5625   if test "$pipe_works" = yes; then
   5626     break
   5627   else
   5628     lt_cv_sys_global_symbol_pipe=
   5629   fi
   5630 done
   5631 
   5632 fi
   5633 
   5634 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5635   lt_cv_sys_global_symbol_to_cdecl=
   5636 fi
   5637 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   5639 $as_echo "failed" >&6; }
   5640 else
   5641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   5642 $as_echo "ok" >&6; }
   5643 fi
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 # Check whether --enable-libtool-lock was given.
   5668 if test "${enable_libtool_lock+set}" = set; then :
   5669   enableval=$enable_libtool_lock;
   5670 fi
   5671 
   5672 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5673 
   5674 # Some flags need to be propagated to the compiler or linker for good
   5675 # libtool support.
   5676 case $host in
   5677 ia64-*-hpux*)
   5678   # Find out which ABI we are using.
   5679   echo 'int i;' > conftest.$ac_ext
   5680   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5681   (eval $ac_compile) 2>&5
   5682   ac_status=$?
   5683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5684   test $ac_status = 0; }; then
   5685     case `/usr/bin/file conftest.$ac_objext` in
   5686       *ELF-32*)
   5687 	HPUX_IA64_MODE="32"
   5688 	;;
   5689       *ELF-64*)
   5690 	HPUX_IA64_MODE="64"
   5691 	;;
   5692     esac
   5693   fi
   5694   rm -rf conftest*
   5695   ;;
   5696 *-*-irix6*)
   5697   # Find out which ABI we are using.
   5698   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   5699   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5700   (eval $ac_compile) 2>&5
   5701   ac_status=$?
   5702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5703   test $ac_status = 0; }; then
   5704     if test "$lt_cv_prog_gnu_ld" = yes; then
   5705       case `/usr/bin/file conftest.$ac_objext` in
   5706 	*32-bit*)
   5707 	  LD="${LD-ld} -melf32bsmip"
   5708 	  ;;
   5709 	*N32*)
   5710 	  LD="${LD-ld} -melf32bmipn32"
   5711 	  ;;
   5712 	*64-bit*)
   5713 	  LD="${LD-ld} -melf64bmip"
   5714 	;;
   5715       esac
   5716     else
   5717       case `/usr/bin/file conftest.$ac_objext` in
   5718 	*32-bit*)
   5719 	  LD="${LD-ld} -32"
   5720 	  ;;
   5721 	*N32*)
   5722 	  LD="${LD-ld} -n32"
   5723 	  ;;
   5724 	*64-bit*)
   5725 	  LD="${LD-ld} -64"
   5726 	  ;;
   5727       esac
   5728     fi
   5729   fi
   5730   rm -rf conftest*
   5731   ;;
   5732 
   5733 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5734 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5735   # Find out which ABI we are using.
   5736   echo 'int i;' > conftest.$ac_ext
   5737   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5738   (eval $ac_compile) 2>&5
   5739   ac_status=$?
   5740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5741   test $ac_status = 0; }; then
   5742     case `/usr/bin/file conftest.o` in
   5743       *32-bit*)
   5744 	case $host in
   5745 	  x86_64-*kfreebsd*-gnu)
   5746 	    LD="${LD-ld} -m elf_i386_fbsd"
   5747 	    ;;
   5748 	  x86_64-*linux*)
   5749 	    LD="${LD-ld} -m elf_i386"
   5750 	    ;;
   5751 	  ppc64-*linux*|powerpc64-*linux*)
   5752 	    LD="${LD-ld} -m elf32ppclinux"
   5753 	    ;;
   5754 	  s390x-*linux*)
   5755 	    LD="${LD-ld} -m elf_s390"
   5756 	    ;;
   5757 	  sparc64-*linux*)
   5758 	    LD="${LD-ld} -m elf32_sparc"
   5759 	    ;;
   5760 	esac
   5761 	;;
   5762       *64-bit*)
   5763 	case $host in
   5764 	  x86_64-*kfreebsd*-gnu)
   5765 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5766 	    ;;
   5767 	  x86_64-*linux*)
   5768 	    LD="${LD-ld} -m elf_x86_64"
   5769 	    ;;
   5770 	  ppc*-*linux*|powerpc*-*linux*)
   5771 	    LD="${LD-ld} -m elf64ppc"
   5772 	    ;;
   5773 	  s390*-*linux*|s390*-*tpf*)
   5774 	    LD="${LD-ld} -m elf64_s390"
   5775 	    ;;
   5776 	  sparc*-*linux*)
   5777 	    LD="${LD-ld} -m elf64_sparc"
   5778 	    ;;
   5779 	esac
   5780 	;;
   5781     esac
   5782   fi
   5783   rm -rf conftest*
   5784   ;;
   5785 
   5786 *-*-sco3.2v5*)
   5787   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5788   SAVE_CFLAGS="$CFLAGS"
   5789   CFLAGS="$CFLAGS -belf"
   5790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   5791 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5792 if ${lt_cv_cc_needs_belf+:} false; then :
   5793   $as_echo_n "(cached) " >&6
   5794 else
   5795   ac_ext=c
   5796 ac_cpp='$CPP $CPPFLAGS'
   5797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5800 
   5801      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5802 /* end confdefs.h.  */
   5803 
   5804 int
   5805 main ()
   5806 {
   5807 
   5808   ;
   5809   return 0;
   5810 }
   5811 _ACEOF
   5812 if ac_fn_c_try_link "$LINENO"; then :
   5813   lt_cv_cc_needs_belf=yes
   5814 else
   5815   lt_cv_cc_needs_belf=no
   5816 fi
   5817 rm -f core conftest.err conftest.$ac_objext \
   5818     conftest$ac_exeext conftest.$ac_ext
   5819      ac_ext=c
   5820 ac_cpp='$CPP $CPPFLAGS'
   5821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5824 
   5825 fi
   5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   5827 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5828   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5829     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5830     CFLAGS="$SAVE_CFLAGS"
   5831   fi
   5832   ;;
   5833 sparc*-*solaris*)
   5834   # Find out which ABI we are using.
   5835   echo 'int i;' > conftest.$ac_ext
   5836   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5837   (eval $ac_compile) 2>&5
   5838   ac_status=$?
   5839   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5840   test $ac_status = 0; }; then
   5841     case `/usr/bin/file conftest.o` in
   5842     *64-bit*)
   5843       case $lt_cv_prog_gnu_ld in
   5844       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5845       *)
   5846 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5847 	  LD="${LD-ld} -64"
   5848 	fi
   5849 	;;
   5850       esac
   5851       ;;
   5852     esac
   5853   fi
   5854   rm -rf conftest*
   5855   ;;
   5856 esac
   5857 
   5858 need_locks="$enable_libtool_lock"
   5859 
   5860 
   5861   case $host_os in
   5862     rhapsody* | darwin*)
   5863     if test -n "$ac_tool_prefix"; then
   5864   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5865 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5867 $as_echo_n "checking for $ac_word... " >&6; }
   5868 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   5869   $as_echo_n "(cached) " >&6
   5870 else
   5871   if test -n "$DSYMUTIL"; then
   5872   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5873 else
   5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5875 for as_dir in $PATH
   5876 do
   5877   IFS=$as_save_IFS
   5878   test -z "$as_dir" && as_dir=.
   5879     for ac_exec_ext in '' $ac_executable_extensions; do
   5880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5881     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5883     break 2
   5884   fi
   5885 done
   5886   done
   5887 IFS=$as_save_IFS
   5888 
   5889 fi
   5890 fi
   5891 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5892 if test -n "$DSYMUTIL"; then
   5893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   5894 $as_echo "$DSYMUTIL" >&6; }
   5895 else
   5896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5897 $as_echo "no" >&6; }
   5898 fi
   5899 
   5900 
   5901 fi
   5902 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5903   ac_ct_DSYMUTIL=$DSYMUTIL
   5904   # Extract the first word of "dsymutil", so it can be a program name with args.
   5905 set dummy dsymutil; ac_word=$2
   5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5907 $as_echo_n "checking for $ac_word... " >&6; }
   5908 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   5909   $as_echo_n "(cached) " >&6
   5910 else
   5911   if test -n "$ac_ct_DSYMUTIL"; then
   5912   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5913 else
   5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5915 for as_dir in $PATH
   5916 do
   5917   IFS=$as_save_IFS
   5918   test -z "$as_dir" && as_dir=.
   5919     for ac_exec_ext in '' $ac_executable_extensions; do
   5920   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5921     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5923     break 2
   5924   fi
   5925 done
   5926   done
   5927 IFS=$as_save_IFS
   5928 
   5929 fi
   5930 fi
   5931 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5932 if test -n "$ac_ct_DSYMUTIL"; then
   5933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   5934 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5935 else
   5936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5937 $as_echo "no" >&6; }
   5938 fi
   5939 
   5940   if test "x$ac_ct_DSYMUTIL" = x; then
   5941     DSYMUTIL=":"
   5942   else
   5943     case $cross_compiling:$ac_tool_warned in
   5944 yes:)
   5945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5947 ac_tool_warned=yes ;;
   5948 esac
   5949     DSYMUTIL=$ac_ct_DSYMUTIL
   5950   fi
   5951 else
   5952   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5953 fi
   5954 
   5955     if test -n "$ac_tool_prefix"; then
   5956   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5957 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5959 $as_echo_n "checking for $ac_word... " >&6; }
   5960 if ${ac_cv_prog_NMEDIT+:} false; then :
   5961   $as_echo_n "(cached) " >&6
   5962 else
   5963   if test -n "$NMEDIT"; then
   5964   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   5965 else
   5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5967 for as_dir in $PATH
   5968 do
   5969   IFS=$as_save_IFS
   5970   test -z "$as_dir" && as_dir=.
   5971     for ac_exec_ext in '' $ac_executable_extensions; do
   5972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5973     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   5974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5975     break 2
   5976   fi
   5977 done
   5978   done
   5979 IFS=$as_save_IFS
   5980 
   5981 fi
   5982 fi
   5983 NMEDIT=$ac_cv_prog_NMEDIT
   5984 if test -n "$NMEDIT"; then
   5985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   5986 $as_echo "$NMEDIT" >&6; }
   5987 else
   5988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5989 $as_echo "no" >&6; }
   5990 fi
   5991 
   5992 
   5993 fi
   5994 if test -z "$ac_cv_prog_NMEDIT"; then
   5995   ac_ct_NMEDIT=$NMEDIT
   5996   # Extract the first word of "nmedit", so it can be a program name with args.
   5997 set dummy nmedit; ac_word=$2
   5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5999 $as_echo_n "checking for $ac_word... " >&6; }
   6000 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6001   $as_echo_n "(cached) " >&6
   6002 else
   6003   if test -n "$ac_ct_NMEDIT"; then
   6004   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6005 else
   6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6007 for as_dir in $PATH
   6008 do
   6009   IFS=$as_save_IFS
   6010   test -z "$as_dir" && as_dir=.
   6011     for ac_exec_ext in '' $ac_executable_extensions; do
   6012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6013     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6015     break 2
   6016   fi
   6017 done
   6018   done
   6019 IFS=$as_save_IFS
   6020 
   6021 fi
   6022 fi
   6023 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6024 if test -n "$ac_ct_NMEDIT"; then
   6025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6026 $as_echo "$ac_ct_NMEDIT" >&6; }
   6027 else
   6028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6029 $as_echo "no" >&6; }
   6030 fi
   6031 
   6032   if test "x$ac_ct_NMEDIT" = x; then
   6033     NMEDIT=":"
   6034   else
   6035     case $cross_compiling:$ac_tool_warned in
   6036 yes:)
   6037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6039 ac_tool_warned=yes ;;
   6040 esac
   6041     NMEDIT=$ac_ct_NMEDIT
   6042   fi
   6043 else
   6044   NMEDIT="$ac_cv_prog_NMEDIT"
   6045 fi
   6046 
   6047     if test -n "$ac_tool_prefix"; then
   6048   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6049 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6051 $as_echo_n "checking for $ac_word... " >&6; }
   6052 if ${ac_cv_prog_LIPO+:} false; then :
   6053   $as_echo_n "(cached) " >&6
   6054 else
   6055   if test -n "$LIPO"; then
   6056   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6057 else
   6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6059 for as_dir in $PATH
   6060 do
   6061   IFS=$as_save_IFS
   6062   test -z "$as_dir" && as_dir=.
   6063     for ac_exec_ext in '' $ac_executable_extensions; do
   6064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6065     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6067     break 2
   6068   fi
   6069 done
   6070   done
   6071 IFS=$as_save_IFS
   6072 
   6073 fi
   6074 fi
   6075 LIPO=$ac_cv_prog_LIPO
   6076 if test -n "$LIPO"; then
   6077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6078 $as_echo "$LIPO" >&6; }
   6079 else
   6080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6081 $as_echo "no" >&6; }
   6082 fi
   6083 
   6084 
   6085 fi
   6086 if test -z "$ac_cv_prog_LIPO"; then
   6087   ac_ct_LIPO=$LIPO
   6088   # Extract the first word of "lipo", so it can be a program name with args.
   6089 set dummy lipo; ac_word=$2
   6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6091 $as_echo_n "checking for $ac_word... " >&6; }
   6092 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6093   $as_echo_n "(cached) " >&6
   6094 else
   6095   if test -n "$ac_ct_LIPO"; then
   6096   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6097 else
   6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6099 for as_dir in $PATH
   6100 do
   6101   IFS=$as_save_IFS
   6102   test -z "$as_dir" && as_dir=.
   6103     for ac_exec_ext in '' $ac_executable_extensions; do
   6104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6105     ac_cv_prog_ac_ct_LIPO="lipo"
   6106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6107     break 2
   6108   fi
   6109 done
   6110   done
   6111 IFS=$as_save_IFS
   6112 
   6113 fi
   6114 fi
   6115 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6116 if test -n "$ac_ct_LIPO"; then
   6117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6118 $as_echo "$ac_ct_LIPO" >&6; }
   6119 else
   6120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6121 $as_echo "no" >&6; }
   6122 fi
   6123 
   6124   if test "x$ac_ct_LIPO" = x; then
   6125     LIPO=":"
   6126   else
   6127     case $cross_compiling:$ac_tool_warned in
   6128 yes:)
   6129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6131 ac_tool_warned=yes ;;
   6132 esac
   6133     LIPO=$ac_ct_LIPO
   6134   fi
   6135 else
   6136   LIPO="$ac_cv_prog_LIPO"
   6137 fi
   6138 
   6139     if test -n "$ac_tool_prefix"; then
   6140   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6141 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6143 $as_echo_n "checking for $ac_word... " >&6; }
   6144 if ${ac_cv_prog_OTOOL+:} false; then :
   6145   $as_echo_n "(cached) " >&6
   6146 else
   6147   if test -n "$OTOOL"; then
   6148   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6149 else
   6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6151 for as_dir in $PATH
   6152 do
   6153   IFS=$as_save_IFS
   6154   test -z "$as_dir" && as_dir=.
   6155     for ac_exec_ext in '' $ac_executable_extensions; do
   6156   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6157     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6159     break 2
   6160   fi
   6161 done
   6162   done
   6163 IFS=$as_save_IFS
   6164 
   6165 fi
   6166 fi
   6167 OTOOL=$ac_cv_prog_OTOOL
   6168 if test -n "$OTOOL"; then
   6169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6170 $as_echo "$OTOOL" >&6; }
   6171 else
   6172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6173 $as_echo "no" >&6; }
   6174 fi
   6175 
   6176 
   6177 fi
   6178 if test -z "$ac_cv_prog_OTOOL"; then
   6179   ac_ct_OTOOL=$OTOOL
   6180   # Extract the first word of "otool", so it can be a program name with args.
   6181 set dummy otool; ac_word=$2
   6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6183 $as_echo_n "checking for $ac_word... " >&6; }
   6184 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6185   $as_echo_n "(cached) " >&6
   6186 else
   6187   if test -n "$ac_ct_OTOOL"; then
   6188   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6189 else
   6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6191 for as_dir in $PATH
   6192 do
   6193   IFS=$as_save_IFS
   6194   test -z "$as_dir" && as_dir=.
   6195     for ac_exec_ext in '' $ac_executable_extensions; do
   6196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6197     ac_cv_prog_ac_ct_OTOOL="otool"
   6198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6199     break 2
   6200   fi
   6201 done
   6202   done
   6203 IFS=$as_save_IFS
   6204 
   6205 fi
   6206 fi
   6207 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6208 if test -n "$ac_ct_OTOOL"; then
   6209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6210 $as_echo "$ac_ct_OTOOL" >&6; }
   6211 else
   6212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6213 $as_echo "no" >&6; }
   6214 fi
   6215 
   6216   if test "x$ac_ct_OTOOL" = x; then
   6217     OTOOL=":"
   6218   else
   6219     case $cross_compiling:$ac_tool_warned in
   6220 yes:)
   6221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6223 ac_tool_warned=yes ;;
   6224 esac
   6225     OTOOL=$ac_ct_OTOOL
   6226   fi
   6227 else
   6228   OTOOL="$ac_cv_prog_OTOOL"
   6229 fi
   6230 
   6231     if test -n "$ac_tool_prefix"; then
   6232   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6233 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6235 $as_echo_n "checking for $ac_word... " >&6; }
   6236 if ${ac_cv_prog_OTOOL64+:} false; then :
   6237   $as_echo_n "(cached) " >&6
   6238 else
   6239   if test -n "$OTOOL64"; then
   6240   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6241 else
   6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6243 for as_dir in $PATH
   6244 do
   6245   IFS=$as_save_IFS
   6246   test -z "$as_dir" && as_dir=.
   6247     for ac_exec_ext in '' $ac_executable_extensions; do
   6248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6249     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6251     break 2
   6252   fi
   6253 done
   6254   done
   6255 IFS=$as_save_IFS
   6256 
   6257 fi
   6258 fi
   6259 OTOOL64=$ac_cv_prog_OTOOL64
   6260 if test -n "$OTOOL64"; then
   6261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6262 $as_echo "$OTOOL64" >&6; }
   6263 else
   6264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6265 $as_echo "no" >&6; }
   6266 fi
   6267 
   6268 
   6269 fi
   6270 if test -z "$ac_cv_prog_OTOOL64"; then
   6271   ac_ct_OTOOL64=$OTOOL64
   6272   # Extract the first word of "otool64", so it can be a program name with args.
   6273 set dummy otool64; ac_word=$2
   6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6275 $as_echo_n "checking for $ac_word... " >&6; }
   6276 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6277   $as_echo_n "(cached) " >&6
   6278 else
   6279   if test -n "$ac_ct_OTOOL64"; then
   6280   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6281 else
   6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6283 for as_dir in $PATH
   6284 do
   6285   IFS=$as_save_IFS
   6286   test -z "$as_dir" && as_dir=.
   6287     for ac_exec_ext in '' $ac_executable_extensions; do
   6288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6289     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6291     break 2
   6292   fi
   6293 done
   6294   done
   6295 IFS=$as_save_IFS
   6296 
   6297 fi
   6298 fi
   6299 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6300 if test -n "$ac_ct_OTOOL64"; then
   6301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6302 $as_echo "$ac_ct_OTOOL64" >&6; }
   6303 else
   6304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6305 $as_echo "no" >&6; }
   6306 fi
   6307 
   6308   if test "x$ac_ct_OTOOL64" = x; then
   6309     OTOOL64=":"
   6310   else
   6311     case $cross_compiling:$ac_tool_warned in
   6312 yes:)
   6313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6315 ac_tool_warned=yes ;;
   6316 esac
   6317     OTOOL64=$ac_ct_OTOOL64
   6318   fi
   6319 else
   6320   OTOOL64="$ac_cv_prog_OTOOL64"
   6321 fi
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6350 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6351 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6352   $as_echo_n "(cached) " >&6
   6353 else
   6354   lt_cv_apple_cc_single_mod=no
   6355       if test -z "${LT_MULTI_MODULE}"; then
   6356 	# By default we will add the -single_module flag. You can override
   6357 	# by either setting the environment variable LT_MULTI_MODULE
   6358 	# non-empty at configure time, or by adding -multi_module to the
   6359 	# link flags.
   6360 	rm -rf libconftest.dylib*
   6361 	echo "int foo(void){return 1;}" > conftest.c
   6362 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6363 -dynamiclib -Wl,-single_module conftest.c" >&5
   6364 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6365 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6366         _lt_result=$?
   6367 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6368 	  lt_cv_apple_cc_single_mod=yes
   6369 	else
   6370 	  cat conftest.err >&5
   6371 	fi
   6372 	rm -rf libconftest.dylib*
   6373 	rm -f conftest.*
   6374       fi
   6375 fi
   6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6377 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6378     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6379 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6380 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6381   $as_echo_n "(cached) " >&6
   6382 else
   6383   lt_cv_ld_exported_symbols_list=no
   6384       save_LDFLAGS=$LDFLAGS
   6385       echo "_main" > conftest.sym
   6386       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6388 /* end confdefs.h.  */
   6389 
   6390 int
   6391 main ()
   6392 {
   6393 
   6394   ;
   6395   return 0;
   6396 }
   6397 _ACEOF
   6398 if ac_fn_c_try_link "$LINENO"; then :
   6399   lt_cv_ld_exported_symbols_list=yes
   6400 else
   6401   lt_cv_ld_exported_symbols_list=no
   6402 fi
   6403 rm -f core conftest.err conftest.$ac_objext \
   6404     conftest$ac_exeext conftest.$ac_ext
   6405 	LDFLAGS="$save_LDFLAGS"
   6406 
   6407 fi
   6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6409 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6410     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6411 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6412 if ${lt_cv_ld_force_load+:} false; then :
   6413   $as_echo_n "(cached) " >&6
   6414 else
   6415   lt_cv_ld_force_load=no
   6416       cat > conftest.c << _LT_EOF
   6417 int forced_loaded() { return 2;}
   6418 _LT_EOF
   6419       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   6420       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   6421       echo "$AR cru libconftest.a conftest.o" >&5
   6422       $AR cru libconftest.a conftest.o 2>&5
   6423       echo "$RANLIB libconftest.a" >&5
   6424       $RANLIB libconftest.a 2>&5
   6425       cat > conftest.c << _LT_EOF
   6426 int main() { return 0;}
   6427 _LT_EOF
   6428       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   6429       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   6430       _lt_result=$?
   6431       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   6432 	lt_cv_ld_force_load=yes
   6433       else
   6434 	cat conftest.err >&5
   6435       fi
   6436         rm -f conftest.err libconftest.a conftest conftest.c
   6437         rm -rf conftest.dSYM
   6438 
   6439 fi
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   6441 $as_echo "$lt_cv_ld_force_load" >&6; }
   6442     case $host_os in
   6443     rhapsody* | darwin1.[012])
   6444       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6445     darwin1.*)
   6446       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6447     darwin*) # darwin 5.x on
   6448       # if running on 10.5 or later, the deployment target defaults
   6449       # to the OS version, if on x86, and 10.4, the deployment
   6450       # target defaults to 10.4. Don't you love it?
   6451       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6452 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6453 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6454 	10.[012]*)
   6455 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6456 	10.*)
   6457 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6458       esac
   6459     ;;
   6460   esac
   6461     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6462       _lt_dar_single_mod='$single_module'
   6463     fi
   6464     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6465       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6466     else
   6467       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6468     fi
   6469     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   6470       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6471     else
   6472       _lt_dsymutil=
   6473     fi
   6474     ;;
   6475   esac
   6476 
   6477 ac_ext=c
   6478 ac_cpp='$CPP $CPPFLAGS'
   6479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   6483 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6484 # On Suns, sometimes $CPP names a directory.
   6485 if test -n "$CPP" && test -d "$CPP"; then
   6486   CPP=
   6487 fi
   6488 if test -z "$CPP"; then
   6489   if ${ac_cv_prog_CPP+:} false; then :
   6490   $as_echo_n "(cached) " >&6
   6491 else
   6492       # Double quotes because CPP needs to be expanded
   6493     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6494     do
   6495       ac_preproc_ok=false
   6496 for ac_c_preproc_warn_flag in '' yes
   6497 do
   6498   # Use a header file that comes with gcc, so configuring glibc
   6499   # with a fresh cross-compiler works.
   6500   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6501   # <limits.h> exists even on freestanding compilers.
   6502   # On the NeXT, cc -E runs the code through the compiler's parser,
   6503   # not just through cpp. "Syntax error" is here to catch this case.
   6504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6505 /* end confdefs.h.  */
   6506 #ifdef __STDC__
   6507 # include <limits.h>
   6508 #else
   6509 # include <assert.h>
   6510 #endif
   6511 		     Syntax error
   6512 _ACEOF
   6513 if ac_fn_c_try_cpp "$LINENO"; then :
   6514 
   6515 else
   6516   # Broken: fails on valid input.
   6517 continue
   6518 fi
   6519 rm -f conftest.err conftest.i conftest.$ac_ext
   6520 
   6521   # OK, works on sane cases.  Now check whether nonexistent headers
   6522   # can be detected and how.
   6523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6524 /* end confdefs.h.  */
   6525 #include <ac_nonexistent.h>
   6526 _ACEOF
   6527 if ac_fn_c_try_cpp "$LINENO"; then :
   6528   # Broken: success on invalid input.
   6529 continue
   6530 else
   6531   # Passes both tests.
   6532 ac_preproc_ok=:
   6533 break
   6534 fi
   6535 rm -f conftest.err conftest.i conftest.$ac_ext
   6536 
   6537 done
   6538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6539 rm -f conftest.i conftest.err conftest.$ac_ext
   6540 if $ac_preproc_ok; then :
   6541   break
   6542 fi
   6543 
   6544     done
   6545     ac_cv_prog_CPP=$CPP
   6546 
   6547 fi
   6548   CPP=$ac_cv_prog_CPP
   6549 else
   6550   ac_cv_prog_CPP=$CPP
   6551 fi
   6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   6553 $as_echo "$CPP" >&6; }
   6554 ac_preproc_ok=false
   6555 for ac_c_preproc_warn_flag in '' yes
   6556 do
   6557   # Use a header file that comes with gcc, so configuring glibc
   6558   # with a fresh cross-compiler works.
   6559   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6560   # <limits.h> exists even on freestanding compilers.
   6561   # On the NeXT, cc -E runs the code through the compiler's parser,
   6562   # not just through cpp. "Syntax error" is here to catch this case.
   6563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6564 /* end confdefs.h.  */
   6565 #ifdef __STDC__
   6566 # include <limits.h>
   6567 #else
   6568 # include <assert.h>
   6569 #endif
   6570 		     Syntax error
   6571 _ACEOF
   6572 if ac_fn_c_try_cpp "$LINENO"; then :
   6573 
   6574 else
   6575   # Broken: fails on valid input.
   6576 continue
   6577 fi
   6578 rm -f conftest.err conftest.i conftest.$ac_ext
   6579 
   6580   # OK, works on sane cases.  Now check whether nonexistent headers
   6581   # can be detected and how.
   6582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6583 /* end confdefs.h.  */
   6584 #include <ac_nonexistent.h>
   6585 _ACEOF
   6586 if ac_fn_c_try_cpp "$LINENO"; then :
   6587   # Broken: success on invalid input.
   6588 continue
   6589 else
   6590   # Passes both tests.
   6591 ac_preproc_ok=:
   6592 break
   6593 fi
   6594 rm -f conftest.err conftest.i conftest.$ac_ext
   6595 
   6596 done
   6597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6598 rm -f conftest.i conftest.err conftest.$ac_ext
   6599 if $ac_preproc_ok; then :
   6600 
   6601 else
   6602   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6604 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   6605 See \`config.log' for more details" "$LINENO" 5; }
   6606 fi
   6607 
   6608 ac_ext=c
   6609 ac_cpp='$CPP $CPPFLAGS'
   6610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6613 
   6614 
   6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   6616 $as_echo_n "checking for ANSI C header files... " >&6; }
   6617 if ${ac_cv_header_stdc+:} false; then :
   6618   $as_echo_n "(cached) " >&6
   6619 else
   6620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6621 /* end confdefs.h.  */
   6622 #include <stdlib.h>
   6623 #include <stdarg.h>
   6624 #include <string.h>
   6625 #include <float.h>
   6626 
   6627 int
   6628 main ()
   6629 {
   6630 
   6631   ;
   6632   return 0;
   6633 }
   6634 _ACEOF
   6635 if ac_fn_c_try_compile "$LINENO"; then :
   6636   ac_cv_header_stdc=yes
   6637 else
   6638   ac_cv_header_stdc=no
   6639 fi
   6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6641 
   6642 if test $ac_cv_header_stdc = yes; then
   6643   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6645 /* end confdefs.h.  */
   6646 #include <string.h>
   6647 
   6648 _ACEOF
   6649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6650   $EGREP "memchr" >/dev/null 2>&1; then :
   6651 
   6652 else
   6653   ac_cv_header_stdc=no
   6654 fi
   6655 rm -f conftest*
   6656 
   6657 fi
   6658 
   6659 if test $ac_cv_header_stdc = yes; then
   6660   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6662 /* end confdefs.h.  */
   6663 #include <stdlib.h>
   6664 
   6665 _ACEOF
   6666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6667   $EGREP "free" >/dev/null 2>&1; then :
   6668 
   6669 else
   6670   ac_cv_header_stdc=no
   6671 fi
   6672 rm -f conftest*
   6673 
   6674 fi
   6675 
   6676 if test $ac_cv_header_stdc = yes; then
   6677   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6678   if test "$cross_compiling" = yes; then :
   6679   :
   6680 else
   6681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6682 /* end confdefs.h.  */
   6683 #include <ctype.h>
   6684 #include <stdlib.h>
   6685 #if ((' ' & 0x0FF) == 0x020)
   6686 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6687 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6688 #else
   6689 # define ISLOWER(c) \
   6690 		   (('a' <= (c) && (c) <= 'i') \
   6691 		     || ('j' <= (c) && (c) <= 'r') \
   6692 		     || ('s' <= (c) && (c) <= 'z'))
   6693 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6694 #endif
   6695 
   6696 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6697 int
   6698 main ()
   6699 {
   6700   int i;
   6701   for (i = 0; i < 256; i++)
   6702     if (XOR (islower (i), ISLOWER (i))
   6703 	|| toupper (i) != TOUPPER (i))
   6704       return 2;
   6705   return 0;
   6706 }
   6707 _ACEOF
   6708 if ac_fn_c_try_run "$LINENO"; then :
   6709 
   6710 else
   6711   ac_cv_header_stdc=no
   6712 fi
   6713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6714   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6715 fi
   6716 
   6717 fi
   6718 fi
   6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   6720 $as_echo "$ac_cv_header_stdc" >&6; }
   6721 if test $ac_cv_header_stdc = yes; then
   6722 
   6723 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   6724 
   6725 fi
   6726 
   6727 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6728 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6729 		  inttypes.h stdint.h unistd.h
   6730 do :
   6731   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6732 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   6733 "
   6734 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   6735   cat >>confdefs.h <<_ACEOF
   6736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6737 _ACEOF
   6738 
   6739 fi
   6740 
   6741 done
   6742 
   6743 
   6744 for ac_header in dlfcn.h
   6745 do :
   6746   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   6747 "
   6748 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   6749   cat >>confdefs.h <<_ACEOF
   6750 #define HAVE_DLFCN_H 1
   6751 _ACEOF
   6752 
   6753 fi
   6754 
   6755 done
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 # Set options
   6762 
   6763 
   6764 
   6765         enable_dlopen=no
   6766 
   6767 
   6768   enable_win32_dll=no
   6769 
   6770 
   6771             # Check whether --enable-shared was given.
   6772 if test "${enable_shared+set}" = set; then :
   6773   enableval=$enable_shared; p=${PACKAGE-default}
   6774     case $enableval in
   6775     yes) enable_shared=yes ;;
   6776     no) enable_shared=no ;;
   6777     *)
   6778       enable_shared=no
   6779       # Look at the argument we got.  We use all the common list separators.
   6780       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6781       for pkg in $enableval; do
   6782 	IFS="$lt_save_ifs"
   6783 	if test "X$pkg" = "X$p"; then
   6784 	  enable_shared=yes
   6785 	fi
   6786       done
   6787       IFS="$lt_save_ifs"
   6788       ;;
   6789     esac
   6790 else
   6791   enable_shared=yes
   6792 fi
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802   # Check whether --enable-static was given.
   6803 if test "${enable_static+set}" = set; then :
   6804   enableval=$enable_static; p=${PACKAGE-default}
   6805     case $enableval in
   6806     yes) enable_static=yes ;;
   6807     no) enable_static=no ;;
   6808     *)
   6809      enable_static=no
   6810       # Look at the argument we got.  We use all the common list separators.
   6811       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6812       for pkg in $enableval; do
   6813 	IFS="$lt_save_ifs"
   6814 	if test "X$pkg" = "X$p"; then
   6815 	  enable_static=yes
   6816 	fi
   6817       done
   6818       IFS="$lt_save_ifs"
   6819       ;;
   6820     esac
   6821 else
   6822   enable_static=yes
   6823 fi
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 # Check whether --with-pic was given.
   6835 if test "${with_pic+set}" = set; then :
   6836   withval=$with_pic; pic_mode="$withval"
   6837 else
   6838   pic_mode=default
   6839 fi
   6840 
   6841 
   6842 test -z "$pic_mode" && pic_mode=default
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850   # Check whether --enable-fast-install was given.
   6851 if test "${enable_fast_install+set}" = set; then :
   6852   enableval=$enable_fast_install; p=${PACKAGE-default}
   6853     case $enableval in
   6854     yes) enable_fast_install=yes ;;
   6855     no) enable_fast_install=no ;;
   6856     *)
   6857       enable_fast_install=no
   6858       # Look at the argument we got.  We use all the common list separators.
   6859       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6860       for pkg in $enableval; do
   6861 	IFS="$lt_save_ifs"
   6862 	if test "X$pkg" = "X$p"; then
   6863 	  enable_fast_install=yes
   6864 	fi
   6865       done
   6866       IFS="$lt_save_ifs"
   6867       ;;
   6868     esac
   6869 else
   6870   enable_fast_install=yes
   6871 fi
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 # This can be used to rebuild libtool when needed
   6884 LIBTOOL_DEPS="$ltmain"
   6885 
   6886 # Always use our own libtool.
   6887 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 test -z "$LN_S" && LN_S="ln -s"
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 if test -n "${ZSH_VERSION+set}" ; then
   6930    setopt NO_GLOB_SUBST
   6931 fi
   6932 
   6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   6934 $as_echo_n "checking for objdir... " >&6; }
   6935 if ${lt_cv_objdir+:} false; then :
   6936   $as_echo_n "(cached) " >&6
   6937 else
   6938   rm -f .libs 2>/dev/null
   6939 mkdir .libs 2>/dev/null
   6940 if test -d .libs; then
   6941   lt_cv_objdir=.libs
   6942 else
   6943   # MS-DOS does not allow filenames that begin with a dot.
   6944   lt_cv_objdir=_libs
   6945 fi
   6946 rmdir .libs 2>/dev/null
   6947 fi
   6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   6949 $as_echo "$lt_cv_objdir" >&6; }
   6950 objdir=$lt_cv_objdir
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 cat >>confdefs.h <<_ACEOF
   6957 #define LT_OBJDIR "$lt_cv_objdir/"
   6958 _ACEOF
   6959 
   6960 
   6961 
   6962 
   6963 case $host_os in
   6964 aix3*)
   6965   # AIX sometimes has problems with the GCC collect2 program.  For some
   6966   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6967   # vanish in a puff of smoke.
   6968   if test "X${COLLECT_NAMES+set}" != Xset; then
   6969     COLLECT_NAMES=
   6970     export COLLECT_NAMES
   6971   fi
   6972   ;;
   6973 esac
   6974 
   6975 # Global variables:
   6976 ofile=libtool
   6977 can_build_shared=yes
   6978 
   6979 # All known linkers require a `.a' archive for static linking (except MSVC,
   6980 # which needs '.lib').
   6981 libext=a
   6982 
   6983 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6984 
   6985 old_CC="$CC"
   6986 old_CFLAGS="$CFLAGS"
   6987 
   6988 # Set sane defaults for various variables
   6989 test -z "$CC" && CC=cc
   6990 test -z "$LTCC" && LTCC=$CC
   6991 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6992 test -z "$LD" && LD=ld
   6993 test -z "$ac_objext" && ac_objext=o
   6994 
   6995 for cc_temp in $compiler""; do
   6996   case $cc_temp in
   6997     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6998     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6999     \-*) ;;
   7000     *) break;;
   7001   esac
   7002 done
   7003 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7004 
   7005 
   7006 # Only perform the check for file, if the check method requires it
   7007 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7008 case $deplibs_check_method in
   7009 file_magic*)
   7010   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7011     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7012 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7013 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7014   $as_echo_n "(cached) " >&6
   7015 else
   7016   case $MAGIC_CMD in
   7017 [\\/*] |  ?:[\\/]*)
   7018   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7019   ;;
   7020 *)
   7021   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7022   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7023   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7024   for ac_dir in $ac_dummy; do
   7025     IFS="$lt_save_ifs"
   7026     test -z "$ac_dir" && ac_dir=.
   7027     if test -f $ac_dir/${ac_tool_prefix}file; then
   7028       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7029       if test -n "$file_magic_test_file"; then
   7030 	case $deplibs_check_method in
   7031 	"file_magic "*)
   7032 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7033 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7034 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7035 	    $EGREP "$file_magic_regex" > /dev/null; then
   7036 	    :
   7037 	  else
   7038 	    cat <<_LT_EOF 1>&2
   7039 
   7040 *** Warning: the command libtool uses to detect shared libraries,
   7041 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7042 *** The result is that libtool may fail to recognize shared libraries
   7043 *** as such.  This will affect the creation of libtool libraries that
   7044 *** depend on shared libraries, but programs linked with such libtool
   7045 *** libraries will work regardless of this problem.  Nevertheless, you
   7046 *** may want to report the problem to your system manager and/or to
   7047 *** bug-libtool@gnu.org
   7048 
   7049 _LT_EOF
   7050 	  fi ;;
   7051 	esac
   7052       fi
   7053       break
   7054     fi
   7055   done
   7056   IFS="$lt_save_ifs"
   7057   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7058   ;;
   7059 esac
   7060 fi
   7061 
   7062 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7063 if test -n "$MAGIC_CMD"; then
   7064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7065 $as_echo "$MAGIC_CMD" >&6; }
   7066 else
   7067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7068 $as_echo "no" >&6; }
   7069 fi
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7076   if test -n "$ac_tool_prefix"; then
   7077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7078 $as_echo_n "checking for file... " >&6; }
   7079 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7080   $as_echo_n "(cached) " >&6
   7081 else
   7082   case $MAGIC_CMD in
   7083 [\\/*] |  ?:[\\/]*)
   7084   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7085   ;;
   7086 *)
   7087   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7088   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7089   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7090   for ac_dir in $ac_dummy; do
   7091     IFS="$lt_save_ifs"
   7092     test -z "$ac_dir" && ac_dir=.
   7093     if test -f $ac_dir/file; then
   7094       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7095       if test -n "$file_magic_test_file"; then
   7096 	case $deplibs_check_method in
   7097 	"file_magic "*)
   7098 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7099 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7100 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7101 	    $EGREP "$file_magic_regex" > /dev/null; then
   7102 	    :
   7103 	  else
   7104 	    cat <<_LT_EOF 1>&2
   7105 
   7106 *** Warning: the command libtool uses to detect shared libraries,
   7107 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7108 *** The result is that libtool may fail to recognize shared libraries
   7109 *** as such.  This will affect the creation of libtool libraries that
   7110 *** depend on shared libraries, but programs linked with such libtool
   7111 *** libraries will work regardless of this problem.  Nevertheless, you
   7112 *** may want to report the problem to your system manager and/or to
   7113 *** bug-libtool@gnu.org
   7114 
   7115 _LT_EOF
   7116 	  fi ;;
   7117 	esac
   7118       fi
   7119       break
   7120     fi
   7121   done
   7122   IFS="$lt_save_ifs"
   7123   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7124   ;;
   7125 esac
   7126 fi
   7127 
   7128 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7129 if test -n "$MAGIC_CMD"; then
   7130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7131 $as_echo "$MAGIC_CMD" >&6; }
   7132 else
   7133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7134 $as_echo "no" >&6; }
   7135 fi
   7136 
   7137 
   7138   else
   7139     MAGIC_CMD=:
   7140   fi
   7141 fi
   7142 
   7143   fi
   7144   ;;
   7145 esac
   7146 
   7147 # Use C for the default configuration in the libtool script
   7148 
   7149 lt_save_CC="$CC"
   7150 ac_ext=c
   7151 ac_cpp='$CPP $CPPFLAGS'
   7152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7155 
   7156 
   7157 # Source file extension for C test sources.
   7158 ac_ext=c
   7159 
   7160 # Object file extension for compiled C test sources.
   7161 objext=o
   7162 objext=$objext
   7163 
   7164 # Code to be used in simple compile tests
   7165 lt_simple_compile_test_code="int some_variable = 0;"
   7166 
   7167 # Code to be used in simple link tests
   7168 lt_simple_link_test_code='int main(){return(0);}'
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 # If no C compiler was specified, use CC.
   7177 LTCC=${LTCC-"$CC"}
   7178 
   7179 # If no C compiler flags were specified, use CFLAGS.
   7180 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7181 
   7182 # Allow CC to be a program name with arguments.
   7183 compiler=$CC
   7184 
   7185 # Save the default compiler, since it gets overwritten when the other
   7186 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7187 compiler_DEFAULT=$CC
   7188 
   7189 # save warnings/boilerplate of simple test code
   7190 ac_outfile=conftest.$ac_objext
   7191 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7192 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7193 _lt_compiler_boilerplate=`cat conftest.err`
   7194 $RM conftest*
   7195 
   7196 ac_outfile=conftest.$ac_objext
   7197 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7198 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7199 _lt_linker_boilerplate=`cat conftest.err`
   7200 $RM -r conftest*
   7201 
   7202 
   7203 if test -n "$compiler"; then
   7204 
   7205 lt_prog_compiler_no_builtin_flag=
   7206 
   7207 if test "$GCC" = yes; then
   7208   case $cc_basename in
   7209   nvcc*)
   7210     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7211   *)
   7212     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7213   esac
   7214 
   7215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7216 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7217 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7218   $as_echo_n "(cached) " >&6
   7219 else
   7220   lt_cv_prog_compiler_rtti_exceptions=no
   7221    ac_outfile=conftest.$ac_objext
   7222    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7223    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7224    # Insert the option either (1) after the last *FLAGS variable, or
   7225    # (2) before a word containing "conftest.", or (3) at the end.
   7226    # Note that $ac_compile itself does not contain backslashes and begins
   7227    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7228    # The option is referenced via a variable to avoid confusing sed.
   7229    lt_compile=`echo "$ac_compile" | $SED \
   7230    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7231    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7232    -e 's:$: $lt_compiler_flag:'`
   7233    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7234    (eval "$lt_compile" 2>conftest.err)
   7235    ac_status=$?
   7236    cat conftest.err >&5
   7237    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7238    if (exit $ac_status) && test -s "$ac_outfile"; then
   7239      # The compiler can only warn and ignore the option if not recognized
   7240      # So say no if there are warnings other than the usual output.
   7241      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7242      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7243      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7244        lt_cv_prog_compiler_rtti_exceptions=yes
   7245      fi
   7246    fi
   7247    $RM conftest*
   7248 
   7249 fi
   7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7251 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7252 
   7253 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7254     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7255 else
   7256     :
   7257 fi
   7258 
   7259 fi
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266   lt_prog_compiler_wl=
   7267 lt_prog_compiler_pic=
   7268 lt_prog_compiler_static=
   7269 
   7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   7271 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7272 
   7273   if test "$GCC" = yes; then
   7274     lt_prog_compiler_wl='-Wl,'
   7275     lt_prog_compiler_static='-static'
   7276 
   7277     case $host_os in
   7278       aix*)
   7279       # All AIX code is PIC.
   7280       if test "$host_cpu" = ia64; then
   7281 	# AIX 5 now supports IA64 processor
   7282 	lt_prog_compiler_static='-Bstatic'
   7283       fi
   7284       ;;
   7285 
   7286     amigaos*)
   7287       case $host_cpu in
   7288       powerpc)
   7289             # see comment about AmigaOS4 .so support
   7290             lt_prog_compiler_pic='-fPIC'
   7291         ;;
   7292       m68k)
   7293             # FIXME: we need at least 68020 code to build shared libraries, but
   7294             # adding the `-m68020' flag to GCC prevents building anything better,
   7295             # like `-m68040'.
   7296             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7297         ;;
   7298       esac
   7299       ;;
   7300 
   7301     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7302       # PIC is the default for these OSes.
   7303       ;;
   7304 
   7305     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7306       # This hack is so that the source file can tell whether it is being
   7307       # built for inclusion in a dll (and should export symbols for example).
   7308       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7309       # (--disable-auto-import) libraries
   7310       lt_prog_compiler_pic='-DDLL_EXPORT'
   7311       ;;
   7312 
   7313     darwin* | rhapsody*)
   7314       # PIC is the default on this platform
   7315       # Common symbols not allowed in MH_DYLIB files
   7316       lt_prog_compiler_pic='-fno-common'
   7317       ;;
   7318 
   7319     haiku*)
   7320       # PIC is the default for Haiku.
   7321       # The "-static" flag exists, but is broken.
   7322       lt_prog_compiler_static=
   7323       ;;
   7324 
   7325     hpux*)
   7326       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7327       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7328       # sets the default TLS model and affects inlining.
   7329       case $host_cpu in
   7330       hppa*64*)
   7331 	# +Z the default
   7332 	;;
   7333       *)
   7334 	lt_prog_compiler_pic='-fPIC'
   7335 	;;
   7336       esac
   7337       ;;
   7338 
   7339     interix[3-9]*)
   7340       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7341       # Instead, we relocate shared libraries at runtime.
   7342       ;;
   7343 
   7344     msdosdjgpp*)
   7345       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7346       # on systems that don't support them.
   7347       lt_prog_compiler_can_build_shared=no
   7348       enable_shared=no
   7349       ;;
   7350 
   7351     *nto* | *qnx*)
   7352       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7353       # it will coredump.
   7354       lt_prog_compiler_pic='-fPIC -shared'
   7355       ;;
   7356 
   7357     sysv4*MP*)
   7358       if test -d /usr/nec; then
   7359 	lt_prog_compiler_pic=-Kconform_pic
   7360       fi
   7361       ;;
   7362 
   7363     *)
   7364       lt_prog_compiler_pic='-fPIC'
   7365       ;;
   7366     esac
   7367 
   7368     case $cc_basename in
   7369     nvcc*) # Cuda Compiler Driver 2.2
   7370       lt_prog_compiler_wl='-Xlinker '
   7371       lt_prog_compiler_pic='-Xcompiler -fPIC'
   7372       ;;
   7373     esac
   7374   else
   7375     # PORTME Check for flag to pass linker flags through the system compiler.
   7376     case $host_os in
   7377     aix*)
   7378       lt_prog_compiler_wl='-Wl,'
   7379       if test "$host_cpu" = ia64; then
   7380 	# AIX 5 now supports IA64 processor
   7381 	lt_prog_compiler_static='-Bstatic'
   7382       else
   7383 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7384       fi
   7385       ;;
   7386 
   7387     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7388       # This hack is so that the source file can tell whether it is being
   7389       # built for inclusion in a dll (and should export symbols for example).
   7390       lt_prog_compiler_pic='-DDLL_EXPORT'
   7391       ;;
   7392 
   7393     hpux9* | hpux10* | hpux11*)
   7394       lt_prog_compiler_wl='-Wl,'
   7395       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7396       # not for PA HP-UX.
   7397       case $host_cpu in
   7398       hppa*64*|ia64*)
   7399 	# +Z the default
   7400 	;;
   7401       *)
   7402 	lt_prog_compiler_pic='+Z'
   7403 	;;
   7404       esac
   7405       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7406       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7407       ;;
   7408 
   7409     irix5* | irix6* | nonstopux*)
   7410       lt_prog_compiler_wl='-Wl,'
   7411       # PIC (with -KPIC) is the default.
   7412       lt_prog_compiler_static='-non_shared'
   7413       ;;
   7414 
   7415     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   7416       case $cc_basename in
   7417       # old Intel for x86_64 which still supported -KPIC.
   7418       ecc*)
   7419 	lt_prog_compiler_wl='-Wl,'
   7420 	lt_prog_compiler_pic='-KPIC'
   7421 	lt_prog_compiler_static='-static'
   7422         ;;
   7423       # icc used to be incompatible with GCC.
   7424       # ICC 10 doesn't accept -KPIC any more.
   7425       icc* | ifort*)
   7426 	lt_prog_compiler_wl='-Wl,'
   7427 	lt_prog_compiler_pic='-fPIC'
   7428 	lt_prog_compiler_static='-static'
   7429         ;;
   7430       # Lahey Fortran 8.1.
   7431       lf95*)
   7432 	lt_prog_compiler_wl='-Wl,'
   7433 	lt_prog_compiler_pic='--shared'
   7434 	lt_prog_compiler_static='--static'
   7435 	;;
   7436       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   7437         # Portland Group compilers (*not* the Pentium gcc compiler,
   7438 	# which looks to be a dead project)
   7439 	lt_prog_compiler_wl='-Wl,'
   7440 	lt_prog_compiler_pic='-fpic'
   7441 	lt_prog_compiler_static='-Bstatic'
   7442         ;;
   7443       ccc*)
   7444         lt_prog_compiler_wl='-Wl,'
   7445         # All Alpha code is PIC.
   7446         lt_prog_compiler_static='-non_shared'
   7447         ;;
   7448       xl* | bgxl* | bgf* | mpixl*)
   7449 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   7450 	lt_prog_compiler_wl='-Wl,'
   7451 	lt_prog_compiler_pic='-qpic'
   7452 	lt_prog_compiler_static='-qstaticlink'
   7453 	;;
   7454       *)
   7455 	case `$CC -V 2>&1 | sed 5q` in
   7456 	*Sun\ F* | *Sun*Fortran*)
   7457 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7458 	  lt_prog_compiler_pic='-KPIC'
   7459 	  lt_prog_compiler_static='-Bstatic'
   7460 	  lt_prog_compiler_wl=''
   7461 	  ;;
   7462 	*Sun\ C*)
   7463 	  # Sun C 5.9
   7464 	  lt_prog_compiler_pic='-KPIC'
   7465 	  lt_prog_compiler_static='-Bstatic'
   7466 	  lt_prog_compiler_wl='-Wl,'
   7467 	  ;;
   7468 	esac
   7469 	;;
   7470       esac
   7471       ;;
   7472 
   7473     newsos6)
   7474       lt_prog_compiler_pic='-KPIC'
   7475       lt_prog_compiler_static='-Bstatic'
   7476       ;;
   7477 
   7478     *nto* | *qnx*)
   7479       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7480       # it will coredump.
   7481       lt_prog_compiler_pic='-fPIC -shared'
   7482       ;;
   7483 
   7484     osf3* | osf4* | osf5*)
   7485       lt_prog_compiler_wl='-Wl,'
   7486       # All OSF/1 code is PIC.
   7487       lt_prog_compiler_static='-non_shared'
   7488       ;;
   7489 
   7490     rdos*)
   7491       lt_prog_compiler_static='-non_shared'
   7492       ;;
   7493 
   7494     solaris*)
   7495       lt_prog_compiler_pic='-KPIC'
   7496       lt_prog_compiler_static='-Bstatic'
   7497       case $cc_basename in
   7498       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   7499 	lt_prog_compiler_wl='-Qoption ld ';;
   7500       *)
   7501 	lt_prog_compiler_wl='-Wl,';;
   7502       esac
   7503       ;;
   7504 
   7505     sunos4*)
   7506       lt_prog_compiler_wl='-Qoption ld '
   7507       lt_prog_compiler_pic='-PIC'
   7508       lt_prog_compiler_static='-Bstatic'
   7509       ;;
   7510 
   7511     sysv4 | sysv4.2uw2* | sysv4.3*)
   7512       lt_prog_compiler_wl='-Wl,'
   7513       lt_prog_compiler_pic='-KPIC'
   7514       lt_prog_compiler_static='-Bstatic'
   7515       ;;
   7516 
   7517     sysv4*MP*)
   7518       if test -d /usr/nec ;then
   7519 	lt_prog_compiler_pic='-Kconform_pic'
   7520 	lt_prog_compiler_static='-Bstatic'
   7521       fi
   7522       ;;
   7523 
   7524     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7525       lt_prog_compiler_wl='-Wl,'
   7526       lt_prog_compiler_pic='-KPIC'
   7527       lt_prog_compiler_static='-Bstatic'
   7528       ;;
   7529 
   7530     unicos*)
   7531       lt_prog_compiler_wl='-Wl,'
   7532       lt_prog_compiler_can_build_shared=no
   7533       ;;
   7534 
   7535     uts4*)
   7536       lt_prog_compiler_pic='-pic'
   7537       lt_prog_compiler_static='-Bstatic'
   7538       ;;
   7539 
   7540     *)
   7541       lt_prog_compiler_can_build_shared=no
   7542       ;;
   7543     esac
   7544   fi
   7545 
   7546 case $host_os in
   7547   # For platforms which do not support PIC, -DPIC is meaningless:
   7548   *djgpp*)
   7549     lt_prog_compiler_pic=
   7550     ;;
   7551   *)
   7552     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7553     ;;
   7554 esac
   7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   7556 $as_echo "$lt_prog_compiler_pic" >&6; }
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 #
   7564 # Check to make sure the PIC flag actually works.
   7565 #
   7566 if test -n "$lt_prog_compiler_pic"; then
   7567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7568 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7569 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   7570   $as_echo_n "(cached) " >&6
   7571 else
   7572   lt_cv_prog_compiler_pic_works=no
   7573    ac_outfile=conftest.$ac_objext
   7574    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7575    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7576    # Insert the option either (1) after the last *FLAGS variable, or
   7577    # (2) before a word containing "conftest.", or (3) at the end.
   7578    # Note that $ac_compile itself does not contain backslashes and begins
   7579    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7580    # The option is referenced via a variable to avoid confusing sed.
   7581    lt_compile=`echo "$ac_compile" | $SED \
   7582    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7583    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7584    -e 's:$: $lt_compiler_flag:'`
   7585    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7586    (eval "$lt_compile" 2>conftest.err)
   7587    ac_status=$?
   7588    cat conftest.err >&5
   7589    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7590    if (exit $ac_status) && test -s "$ac_outfile"; then
   7591      # The compiler can only warn and ignore the option if not recognized
   7592      # So say no if there are warnings other than the usual output.
   7593      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7594      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7595      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7596        lt_cv_prog_compiler_pic_works=yes
   7597      fi
   7598    fi
   7599    $RM conftest*
   7600 
   7601 fi
   7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   7603 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7604 
   7605 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7606     case $lt_prog_compiler_pic in
   7607      "" | " "*) ;;
   7608      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7609      esac
   7610 else
   7611     lt_prog_compiler_pic=
   7612      lt_prog_compiler_can_build_shared=no
   7613 fi
   7614 
   7615 fi
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 #
   7623 # Check to make sure the static flag actually works.
   7624 #
   7625 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7627 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7628 if ${lt_cv_prog_compiler_static_works+:} false; then :
   7629   $as_echo_n "(cached) " >&6
   7630 else
   7631   lt_cv_prog_compiler_static_works=no
   7632    save_LDFLAGS="$LDFLAGS"
   7633    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7634    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7635    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7636      # The linker can only warn and ignore the option if not recognized
   7637      # So say no if there are warnings
   7638      if test -s conftest.err; then
   7639        # Append any errors to the config.log.
   7640        cat conftest.err 1>&5
   7641        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   7642        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7643        if diff conftest.exp conftest.er2 >/dev/null; then
   7644          lt_cv_prog_compiler_static_works=yes
   7645        fi
   7646      else
   7647        lt_cv_prog_compiler_static_works=yes
   7648      fi
   7649    fi
   7650    $RM -r conftest*
   7651    LDFLAGS="$save_LDFLAGS"
   7652 
   7653 fi
   7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   7655 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7656 
   7657 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7658     :
   7659 else
   7660     lt_prog_compiler_static=
   7661 fi
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   7670 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7671 if ${lt_cv_prog_compiler_c_o+:} false; then :
   7672   $as_echo_n "(cached) " >&6
   7673 else
   7674   lt_cv_prog_compiler_c_o=no
   7675    $RM -r conftest 2>/dev/null
   7676    mkdir conftest
   7677    cd conftest
   7678    mkdir out
   7679    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7680 
   7681    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7682    # Insert the option either (1) after the last *FLAGS variable, or
   7683    # (2) before a word containing "conftest.", or (3) at the end.
   7684    # Note that $ac_compile itself does not contain backslashes and begins
   7685    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7686    lt_compile=`echo "$ac_compile" | $SED \
   7687    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7688    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7689    -e 's:$: $lt_compiler_flag:'`
   7690    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7691    (eval "$lt_compile" 2>out/conftest.err)
   7692    ac_status=$?
   7693    cat out/conftest.err >&5
   7694    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7695    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7696    then
   7697      # The compiler can only warn and ignore the option if not recognized
   7698      # So say no if there are warnings
   7699      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   7700      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7701      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7702        lt_cv_prog_compiler_c_o=yes
   7703      fi
   7704    fi
   7705    chmod u+w . 2>&5
   7706    $RM conftest*
   7707    # SGI C++ compiler will create directory out/ii_files/ for
   7708    # template instantiation
   7709    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7710    $RM out/* && rmdir out
   7711    cd ..
   7712    $RM -r conftest
   7713    $RM conftest*
   7714 
   7715 fi
   7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   7717 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   7725 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7726 if ${lt_cv_prog_compiler_c_o+:} false; then :
   7727   $as_echo_n "(cached) " >&6
   7728 else
   7729   lt_cv_prog_compiler_c_o=no
   7730    $RM -r conftest 2>/dev/null
   7731    mkdir conftest
   7732    cd conftest
   7733    mkdir out
   7734    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7735 
   7736    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7737    # Insert the option either (1) after the last *FLAGS variable, or
   7738    # (2) before a word containing "conftest.", or (3) at the end.
   7739    # Note that $ac_compile itself does not contain backslashes and begins
   7740    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7741    lt_compile=`echo "$ac_compile" | $SED \
   7742    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7743    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7744    -e 's:$: $lt_compiler_flag:'`
   7745    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7746    (eval "$lt_compile" 2>out/conftest.err)
   7747    ac_status=$?
   7748    cat out/conftest.err >&5
   7749    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7750    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7751    then
   7752      # The compiler can only warn and ignore the option if not recognized
   7753      # So say no if there are warnings
   7754      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   7755      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7756      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7757        lt_cv_prog_compiler_c_o=yes
   7758      fi
   7759    fi
   7760    chmod u+w . 2>&5
   7761    $RM conftest*
   7762    # SGI C++ compiler will create directory out/ii_files/ for
   7763    # template instantiation
   7764    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7765    $RM out/* && rmdir out
   7766    cd ..
   7767    $RM -r conftest
   7768    $RM conftest*
   7769 
   7770 fi
   7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   7772 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7773 
   7774 
   7775 
   7776 
   7777 hard_links="nottested"
   7778 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7779   # do not overwrite the value of need_locks provided by the user
   7780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   7781 $as_echo_n "checking if we can lock with hard links... " >&6; }
   7782   hard_links=yes
   7783   $RM conftest*
   7784   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7785   touch conftest.a
   7786   ln conftest.a conftest.b 2>&5 || hard_links=no
   7787   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   7789 $as_echo "$hard_links" >&6; }
   7790   if test "$hard_links" = no; then
   7791     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7792 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7793     need_locks=warn
   7794   fi
   7795 else
   7796   need_locks=no
   7797 fi
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7805 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   7806 
   7807   runpath_var=
   7808   allow_undefined_flag=
   7809   always_export_symbols=no
   7810   archive_cmds=
   7811   archive_expsym_cmds=
   7812   compiler_needs_object=no
   7813   enable_shared_with_static_runtimes=no
   7814   export_dynamic_flag_spec=
   7815   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7816   hardcode_automatic=no
   7817   hardcode_direct=no
   7818   hardcode_direct_absolute=no
   7819   hardcode_libdir_flag_spec=
   7820   hardcode_libdir_flag_spec_ld=
   7821   hardcode_libdir_separator=
   7822   hardcode_minus_L=no
   7823   hardcode_shlibpath_var=unsupported
   7824   inherit_rpath=no
   7825   link_all_deplibs=unknown
   7826   module_cmds=
   7827   module_expsym_cmds=
   7828   old_archive_from_new_cmds=
   7829   old_archive_from_expsyms_cmds=
   7830   thread_safe_flag_spec=
   7831   whole_archive_flag_spec=
   7832   # include_expsyms should be a list of space-separated symbols to be *always*
   7833   # included in the symbol list
   7834   include_expsyms=
   7835   # exclude_expsyms can be an extended regexp of symbols to exclude
   7836   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7837   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7838   # as well as any symbol that contains `d'.
   7839   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   7840   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7841   # platforms (ab)use it in PIC code, but their linkers get confused if
   7842   # the symbol is explicitly referenced.  Since portable code cannot
   7843   # rely on this symbol name, it's probably fine to never include it in
   7844   # preloaded symbol tables.
   7845   # Exclude shared library initialization/finalization symbols.
   7846   extract_expsyms_cmds=
   7847 
   7848   case $host_os in
   7849   cygwin* | mingw* | pw32* | cegcc*)
   7850     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7851     # When not using gcc, we currently assume that we are using
   7852     # Microsoft Visual C++.
   7853     if test "$GCC" != yes; then
   7854       with_gnu_ld=no
   7855     fi
   7856     ;;
   7857   interix*)
   7858     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7859     with_gnu_ld=yes
   7860     ;;
   7861   openbsd*)
   7862     with_gnu_ld=no
   7863     ;;
   7864   esac
   7865 
   7866   ld_shlibs=yes
   7867 
   7868   # On some targets, GNU ld is compatible enough with the native linker
   7869   # that we're better off using the native interface for both.
   7870   lt_use_gnu_ld_interface=no
   7871   if test "$with_gnu_ld" = yes; then
   7872     case $host_os in
   7873       aix*)
   7874 	# The AIX port of GNU ld has always aspired to compatibility
   7875 	# with the native linker.  However, as the warning in the GNU ld
   7876 	# block says, versions before 2.19.5* couldn't really create working
   7877 	# shared libraries, regardless of the interface used.
   7878 	case `$LD -v 2>&1` in
   7879 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   7880 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   7881 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   7882 	  *)
   7883 	    lt_use_gnu_ld_interface=yes
   7884 	    ;;
   7885 	esac
   7886 	;;
   7887       *)
   7888 	lt_use_gnu_ld_interface=yes
   7889 	;;
   7890     esac
   7891   fi
   7892 
   7893   if test "$lt_use_gnu_ld_interface" = yes; then
   7894     # If archive_cmds runs LD, not CC, wlarc should be empty
   7895     wlarc='${wl}'
   7896 
   7897     # Set some defaults for GNU ld with shared library support. These
   7898     # are reset later if shared libraries are not supported. Putting them
   7899     # here allows them to be overridden if necessary.
   7900     runpath_var=LD_RUN_PATH
   7901     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7902     export_dynamic_flag_spec='${wl}--export-dynamic'
   7903     # ancient GNU ld didn't support --whole-archive et. al.
   7904     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   7905       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7906     else
   7907       whole_archive_flag_spec=
   7908     fi
   7909     supports_anon_versioning=no
   7910     case `$LD -v 2>&1` in
   7911       *GNU\ gold*) supports_anon_versioning=yes ;;
   7912       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7913       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7914       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7915       *\ 2.11.*) ;; # other 2.11 versions
   7916       *) supports_anon_versioning=yes ;;
   7917     esac
   7918 
   7919     # See if GNU ld supports shared libraries.
   7920     case $host_os in
   7921     aix[3-9]*)
   7922       # On AIX/PPC, the GNU linker is very broken
   7923       if test "$host_cpu" != ia64; then
   7924 	ld_shlibs=no
   7925 	cat <<_LT_EOF 1>&2
   7926 
   7927 *** Warning: the GNU linker, at least up to release 2.19, is reported
   7928 *** to be unable to reliably create shared libraries on AIX.
   7929 *** Therefore, libtool is disabling shared libraries support.  If you
   7930 *** really care for shared libraries, you may want to install binutils
   7931 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   7932 *** You will then need to restart the configuration process.
   7933 
   7934 _LT_EOF
   7935       fi
   7936       ;;
   7937 
   7938     amigaos*)
   7939       case $host_cpu in
   7940       powerpc)
   7941             # see comment about AmigaOS4 .so support
   7942             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7943             archive_expsym_cmds=''
   7944         ;;
   7945       m68k)
   7946             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)'
   7947             hardcode_libdir_flag_spec='-L$libdir'
   7948             hardcode_minus_L=yes
   7949         ;;
   7950       esac
   7951       ;;
   7952 
   7953     beos*)
   7954       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   7955 	allow_undefined_flag=unsupported
   7956 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7957 	# support --undefined.  This deserves some investigation.  FIXME
   7958 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7959       else
   7960 	ld_shlibs=no
   7961       fi
   7962       ;;
   7963 
   7964     cygwin* | mingw* | pw32* | cegcc*)
   7965       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7966       # as there is no search path for DLLs.
   7967       hardcode_libdir_flag_spec='-L$libdir'
   7968       export_dynamic_flag_spec='${wl}--export-all-symbols'
   7969       allow_undefined_flag=unsupported
   7970       always_export_symbols=no
   7971       enable_shared_with_static_runtimes=yes
   7972       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   7973 
   7974       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   7975         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7976 	# If the export-symbols file already is a .def file (1st line
   7977 	# is EXPORTS), use it as is; otherwise, prepend...
   7978 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7979 	  cp $export_symbols $output_objdir/$soname.def;
   7980 	else
   7981 	  echo EXPORTS > $output_objdir/$soname.def;
   7982 	  cat $export_symbols >> $output_objdir/$soname.def;
   7983 	fi~
   7984 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7985       else
   7986 	ld_shlibs=no
   7987       fi
   7988       ;;
   7989 
   7990     haiku*)
   7991       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7992       link_all_deplibs=yes
   7993       ;;
   7994 
   7995     interix[3-9]*)
   7996       hardcode_direct=no
   7997       hardcode_shlibpath_var=no
   7998       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7999       export_dynamic_flag_spec='${wl}-E'
   8000       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8001       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8002       # default) and relocated if they conflict, which is a slow very memory
   8003       # consuming and fragmenting process.  To avoid this, we pick a random,
   8004       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8005       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8006       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8007       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'
   8008       ;;
   8009 
   8010     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8011       tmp_diet=no
   8012       if test "$host_os" = linux-dietlibc; then
   8013 	case $cc_basename in
   8014 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8015 	esac
   8016       fi
   8017       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8018 	 && test "$tmp_diet" = no
   8019       then
   8020 	tmp_addflag=
   8021 	tmp_sharedflag='-shared'
   8022 	case $cc_basename,$host_cpu in
   8023         pgcc*)				# Portland Group C compiler
   8024 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8025 	  tmp_addflag=' $pic_flag'
   8026 	  ;;
   8027 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8028 					# Portland Group f77 and f90 compilers
   8029 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8030 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8031 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8032 	  tmp_addflag=' -i_dynamic' ;;
   8033 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8034 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8035 	ifc* | ifort*)			# Intel Fortran compiler
   8036 	  tmp_addflag=' -nofor_main' ;;
   8037 	lf95*)				# Lahey Fortran 8.1
   8038 	  whole_archive_flag_spec=
   8039 	  tmp_sharedflag='--shared' ;;
   8040 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8041 	  tmp_sharedflag='-qmkshrobj'
   8042 	  tmp_addflag= ;;
   8043 	nvcc*)	# Cuda Compiler Driver 2.2
   8044 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8045 	  compiler_needs_object=yes
   8046 	  ;;
   8047 	esac
   8048 	case `$CC -V 2>&1 | sed 5q` in
   8049 	*Sun\ C*)			# Sun C 5.9
   8050 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8051 	  compiler_needs_object=yes
   8052 	  tmp_sharedflag='-G' ;;
   8053 	*Sun\ F*)			# Sun Fortran 8.3
   8054 	  tmp_sharedflag='-G' ;;
   8055 	esac
   8056 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8057 
   8058         if test "x$supports_anon_versioning" = xyes; then
   8059           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8060 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8061 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8062 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8063         fi
   8064 
   8065 	case $cc_basename in
   8066 	xlf* | bgf* | bgxlf* | mpixlf*)
   8067 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8068 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8069 	  hardcode_libdir_flag_spec=
   8070 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8071 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8072 	  if test "x$supports_anon_versioning" = xyes; then
   8073 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8074 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8075 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8076 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8077 	  fi
   8078 	  ;;
   8079 	esac
   8080       else
   8081         ld_shlibs=no
   8082       fi
   8083       ;;
   8084 
   8085     netbsd*)
   8086       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8087 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8088 	wlarc=
   8089       else
   8090 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8091 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8092       fi
   8093       ;;
   8094 
   8095     solaris*)
   8096       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8097 	ld_shlibs=no
   8098 	cat <<_LT_EOF 1>&2
   8099 
   8100 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8101 *** create shared libraries on Solaris systems.  Therefore, libtool
   8102 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8103 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8104 *** your PATH or compiler configuration so that the native linker is
   8105 *** used, and then restart.
   8106 
   8107 _LT_EOF
   8108       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8109 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8110 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8111       else
   8112 	ld_shlibs=no
   8113       fi
   8114       ;;
   8115 
   8116     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8117       case `$LD -v 2>&1` in
   8118         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8119 	ld_shlibs=no
   8120 	cat <<_LT_EOF 1>&2
   8121 
   8122 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8123 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8124 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8125 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8126 *** your PATH or compiler configuration so that the native linker is
   8127 *** used, and then restart.
   8128 
   8129 _LT_EOF
   8130 	;;
   8131 	*)
   8132 	  # For security reasons, it is highly recommended that you always
   8133 	  # use absolute paths for naming shared libraries, and exclude the
   8134 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8135 	  # requires that you compile everything twice, which is a pain.
   8136 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8137 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8138 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8139 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8140 	  else
   8141 	    ld_shlibs=no
   8142 	  fi
   8143 	;;
   8144       esac
   8145       ;;
   8146 
   8147     sunos4*)
   8148       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8149       wlarc=
   8150       hardcode_direct=yes
   8151       hardcode_shlibpath_var=no
   8152       ;;
   8153 
   8154     *)
   8155       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8156 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8157 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8158       else
   8159 	ld_shlibs=no
   8160       fi
   8161       ;;
   8162     esac
   8163 
   8164     if test "$ld_shlibs" = no; then
   8165       runpath_var=
   8166       hardcode_libdir_flag_spec=
   8167       export_dynamic_flag_spec=
   8168       whole_archive_flag_spec=
   8169     fi
   8170   else
   8171     # PORTME fill in a description of your system's linker (not GNU ld)
   8172     case $host_os in
   8173     aix3*)
   8174       allow_undefined_flag=unsupported
   8175       always_export_symbols=yes
   8176       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'
   8177       # Note: this linker hardcodes the directories in LIBPATH if there
   8178       # are no directories specified by -L.
   8179       hardcode_minus_L=yes
   8180       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8181 	# Neither direct hardcoding nor static linking is supported with a
   8182 	# broken collect2.
   8183 	hardcode_direct=unsupported
   8184       fi
   8185       ;;
   8186 
   8187     aix[4-9]*)
   8188       if test "$host_cpu" = ia64; then
   8189 	# On IA64, the linker does run time linking by default, so we don't
   8190 	# have to do anything special.
   8191 	aix_use_runtimelinking=no
   8192 	exp_sym_flag='-Bexport'
   8193 	no_entry_flag=""
   8194       else
   8195 	# If we're using GNU nm, then we don't want the "-C" option.
   8196 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8197 	# Also, AIX nm treats weak defined symbols like other global
   8198 	# defined symbols, whereas GNU nm marks them as "W".
   8199 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8200 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8201 	else
   8202 	  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'
   8203 	fi
   8204 	aix_use_runtimelinking=no
   8205 
   8206 	# Test if we are trying to use run time linking or normal
   8207 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8208 	# need to do runtime linking.
   8209 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8210 	  for ld_flag in $LDFLAGS; do
   8211 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8212 	    aix_use_runtimelinking=yes
   8213 	    break
   8214 	  fi
   8215 	  done
   8216 	  ;;
   8217 	esac
   8218 
   8219 	exp_sym_flag='-bexport'
   8220 	no_entry_flag='-bnoentry'
   8221       fi
   8222 
   8223       # When large executables or shared objects are built, AIX ld can
   8224       # have problems creating the table of contents.  If linking a library
   8225       # or program results in "error TOC overflow" add -mminimal-toc to
   8226       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8227       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8228 
   8229       archive_cmds=''
   8230       hardcode_direct=yes
   8231       hardcode_direct_absolute=yes
   8232       hardcode_libdir_separator=':'
   8233       link_all_deplibs=yes
   8234       file_list_spec='${wl}-f,'
   8235 
   8236       if test "$GCC" = yes; then
   8237 	case $host_os in aix4.[012]|aix4.[012].*)
   8238 	# We only want to do this on AIX 4.2 and lower, the check
   8239 	# below for broken collect2 doesn't work under 4.3+
   8240 	  collect2name=`${CC} -print-prog-name=collect2`
   8241 	  if test -f "$collect2name" &&
   8242 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8243 	  then
   8244 	  # We have reworked collect2
   8245 	  :
   8246 	  else
   8247 	  # We have old collect2
   8248 	  hardcode_direct=unsupported
   8249 	  # It fails to find uninstalled libraries when the uninstalled
   8250 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8251 	  # to unsupported forces relinking
   8252 	  hardcode_minus_L=yes
   8253 	  hardcode_libdir_flag_spec='-L$libdir'
   8254 	  hardcode_libdir_separator=
   8255 	  fi
   8256 	  ;;
   8257 	esac
   8258 	shared_flag='-shared'
   8259 	if test "$aix_use_runtimelinking" = yes; then
   8260 	  shared_flag="$shared_flag "'${wl}-G'
   8261 	fi
   8262       else
   8263 	# not using gcc
   8264 	if test "$host_cpu" = ia64; then
   8265 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8266 	# chokes on -Wl,-G. The following line is correct:
   8267 	  shared_flag='-G'
   8268 	else
   8269 	  if test "$aix_use_runtimelinking" = yes; then
   8270 	    shared_flag='${wl}-G'
   8271 	  else
   8272 	    shared_flag='${wl}-bM:SRE'
   8273 	  fi
   8274 	fi
   8275       fi
   8276 
   8277       export_dynamic_flag_spec='${wl}-bexpall'
   8278       # It seems that -bexpall does not export symbols beginning with
   8279       # underscore (_), so it is better to generate a list of symbols to export.
   8280       always_export_symbols=yes
   8281       if test "$aix_use_runtimelinking" = yes; then
   8282 	# Warning - without using the other runtime loading flags (-brtl),
   8283 	# -berok will link without error, but may produce a broken library.
   8284 	allow_undefined_flag='-berok'
   8285         # Determine the default libpath from the value encoded in an
   8286         # empty executable.
   8287         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8288 /* end confdefs.h.  */
   8289 
   8290 int
   8291 main ()
   8292 {
   8293 
   8294   ;
   8295   return 0;
   8296 }
   8297 _ACEOF
   8298 if ac_fn_c_try_link "$LINENO"; then :
   8299 
   8300 lt_aix_libpath_sed='
   8301     /Import File Strings/,/^$/ {
   8302 	/^0/ {
   8303 	    s/^0  *\(.*\)$/\1/
   8304 	    p
   8305 	}
   8306     }'
   8307 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8308 # Check for a 64-bit object if we didn't find anything.
   8309 if test -z "$aix_libpath"; then
   8310   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8311 fi
   8312 fi
   8313 rm -f core conftest.err conftest.$ac_objext \
   8314     conftest$ac_exeext conftest.$ac_ext
   8315 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8316 
   8317         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8318         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8319       else
   8320 	if test "$host_cpu" = ia64; then
   8321 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8322 	  allow_undefined_flag="-z nodefs"
   8323 	  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"
   8324 	else
   8325 	 # Determine the default libpath from the value encoded in an
   8326 	 # empty executable.
   8327 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8328 /* end confdefs.h.  */
   8329 
   8330 int
   8331 main ()
   8332 {
   8333 
   8334   ;
   8335   return 0;
   8336 }
   8337 _ACEOF
   8338 if ac_fn_c_try_link "$LINENO"; then :
   8339 
   8340 lt_aix_libpath_sed='
   8341     /Import File Strings/,/^$/ {
   8342 	/^0/ {
   8343 	    s/^0  *\(.*\)$/\1/
   8344 	    p
   8345 	}
   8346     }'
   8347 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8348 # Check for a 64-bit object if we didn't find anything.
   8349 if test -z "$aix_libpath"; then
   8350   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8351 fi
   8352 fi
   8353 rm -f core conftest.err conftest.$ac_objext \
   8354     conftest$ac_exeext conftest.$ac_ext
   8355 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8356 
   8357 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8358 	  # Warning - without using the other run time loading flags,
   8359 	  # -berok will link without error, but may produce a broken library.
   8360 	  no_undefined_flag=' ${wl}-bernotok'
   8361 	  allow_undefined_flag=' ${wl}-berok'
   8362 	  if test "$with_gnu_ld" = yes; then
   8363 	    # We only use this code for GNU lds that support --whole-archive.
   8364 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   8365 	  else
   8366 	    # Exported symbols can be pulled into shared objects from archives
   8367 	    whole_archive_flag_spec='$convenience'
   8368 	  fi
   8369 	  archive_cmds_need_lc=yes
   8370 	  # This is similar to how AIX traditionally builds its shared libraries.
   8371 	  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'
   8372 	fi
   8373       fi
   8374       ;;
   8375 
   8376     amigaos*)
   8377       case $host_cpu in
   8378       powerpc)
   8379             # see comment about AmigaOS4 .so support
   8380             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8381             archive_expsym_cmds=''
   8382         ;;
   8383       m68k)
   8384             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)'
   8385             hardcode_libdir_flag_spec='-L$libdir'
   8386             hardcode_minus_L=yes
   8387         ;;
   8388       esac
   8389       ;;
   8390 
   8391     bsdi[45]*)
   8392       export_dynamic_flag_spec=-rdynamic
   8393       ;;
   8394 
   8395     cygwin* | mingw* | pw32* | cegcc*)
   8396       # When not using gcc, we currently assume that we are using
   8397       # Microsoft Visual C++.
   8398       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8399       # no search path for DLLs.
   8400       hardcode_libdir_flag_spec=' '
   8401       allow_undefined_flag=unsupported
   8402       # Tell ltmain to make .lib files, not .a files.
   8403       libext=lib
   8404       # Tell ltmain to make .dll files, not .so files.
   8405       shrext_cmds=".dll"
   8406       # FIXME: Setting linknames here is a bad hack.
   8407       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   8408       # The linker will automatically build a .lib file if we build a DLL.
   8409       old_archive_from_new_cmds='true'
   8410       # FIXME: Should let the user specify the lib program.
   8411       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8412       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8413       enable_shared_with_static_runtimes=yes
   8414       ;;
   8415 
   8416     darwin* | rhapsody*)
   8417 
   8418 
   8419   archive_cmds_need_lc=no
   8420   hardcode_direct=no
   8421   hardcode_automatic=yes
   8422   hardcode_shlibpath_var=unsupported
   8423   if test "$lt_cv_ld_force_load" = "yes"; then
   8424     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   8425   else
   8426     whole_archive_flag_spec=''
   8427   fi
   8428   link_all_deplibs=yes
   8429   allow_undefined_flag="$_lt_dar_allow_undefined"
   8430   case $cc_basename in
   8431      ifort*) _lt_dar_can_shared=yes ;;
   8432      *) _lt_dar_can_shared=$GCC ;;
   8433   esac
   8434   if test "$_lt_dar_can_shared" = "yes"; then
   8435     output_verbose_link_cmd=func_echo_all
   8436     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8437     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8438     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}"
   8439     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}"
   8440 
   8441   else
   8442   ld_shlibs=no
   8443   fi
   8444 
   8445       ;;
   8446 
   8447     dgux*)
   8448       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8449       hardcode_libdir_flag_spec='-L$libdir'
   8450       hardcode_shlibpath_var=no
   8451       ;;
   8452 
   8453     freebsd1*)
   8454       ld_shlibs=no
   8455       ;;
   8456 
   8457     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8458     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8459     # does not break anything, and helps significantly (at the cost of a little
   8460     # extra space).
   8461     freebsd2.2*)
   8462       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8463       hardcode_libdir_flag_spec='-R$libdir'
   8464       hardcode_direct=yes
   8465       hardcode_shlibpath_var=no
   8466       ;;
   8467 
   8468     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8469     freebsd2*)
   8470       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8471       hardcode_direct=yes
   8472       hardcode_minus_L=yes
   8473       hardcode_shlibpath_var=no
   8474       ;;
   8475 
   8476     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8477     freebsd* | dragonfly*)
   8478       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8479       hardcode_libdir_flag_spec='-R$libdir'
   8480       hardcode_direct=yes
   8481       hardcode_shlibpath_var=no
   8482       ;;
   8483 
   8484     hpux9*)
   8485       if test "$GCC" = yes; then
   8486 	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'
   8487       else
   8488 	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'
   8489       fi
   8490       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8491       hardcode_libdir_separator=:
   8492       hardcode_direct=yes
   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       export_dynamic_flag_spec='${wl}-E'
   8498       ;;
   8499 
   8500     hpux10*)
   8501       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   8502 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8503       else
   8504 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8505       fi
   8506       if test "$with_gnu_ld" = no; then
   8507 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8508 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8509 	hardcode_libdir_separator=:
   8510 	hardcode_direct=yes
   8511 	hardcode_direct_absolute=yes
   8512 	export_dynamic_flag_spec='${wl}-E'
   8513 	# hardcode_minus_L: Not really in the search PATH,
   8514 	# but as the default location of the library.
   8515 	hardcode_minus_L=yes
   8516       fi
   8517       ;;
   8518 
   8519     hpux11*)
   8520       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   8521 	case $host_cpu in
   8522 	hppa*64*)
   8523 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8524 	  ;;
   8525 	ia64*)
   8526 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8527 	  ;;
   8528 	*)
   8529 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8530 	  ;;
   8531 	esac
   8532       else
   8533 	case $host_cpu in
   8534 	hppa*64*)
   8535 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8536 	  ;;
   8537 	ia64*)
   8538 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8539 	  ;;
   8540 	*)
   8541 
   8542 	  # Older versions of the 11.00 compiler do not understand -b yet
   8543 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   8544 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   8545 $as_echo_n "checking if $CC understands -b... " >&6; }
   8546 if ${lt_cv_prog_compiler__b+:} false; then :
   8547   $as_echo_n "(cached) " >&6
   8548 else
   8549   lt_cv_prog_compiler__b=no
   8550    save_LDFLAGS="$LDFLAGS"
   8551    LDFLAGS="$LDFLAGS -b"
   8552    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8553    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8554      # The linker can only warn and ignore the option if not recognized
   8555      # So say no if there are warnings
   8556      if test -s conftest.err; then
   8557        # Append any errors to the config.log.
   8558        cat conftest.err 1>&5
   8559        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8560        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8561        if diff conftest.exp conftest.er2 >/dev/null; then
   8562          lt_cv_prog_compiler__b=yes
   8563        fi
   8564      else
   8565        lt_cv_prog_compiler__b=yes
   8566      fi
   8567    fi
   8568    $RM -r conftest*
   8569    LDFLAGS="$save_LDFLAGS"
   8570 
   8571 fi
   8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   8573 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   8574 
   8575 if test x"$lt_cv_prog_compiler__b" = xyes; then
   8576     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8577 else
   8578     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8579 fi
   8580 
   8581 	  ;;
   8582 	esac
   8583       fi
   8584       if test "$with_gnu_ld" = no; then
   8585 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8586 	hardcode_libdir_separator=:
   8587 
   8588 	case $host_cpu in
   8589 	hppa*64*|ia64*)
   8590 	  hardcode_direct=no
   8591 	  hardcode_shlibpath_var=no
   8592 	  ;;
   8593 	*)
   8594 	  hardcode_direct=yes
   8595 	  hardcode_direct_absolute=yes
   8596 	  export_dynamic_flag_spec='${wl}-E'
   8597 
   8598 	  # hardcode_minus_L: Not really in the search PATH,
   8599 	  # but as the default location of the library.
   8600 	  hardcode_minus_L=yes
   8601 	  ;;
   8602 	esac
   8603       fi
   8604       ;;
   8605 
   8606     irix5* | irix6* | nonstopux*)
   8607       if test "$GCC" = yes; then
   8608 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8609 	# Try to use the -exported_symbol ld option, if it does not
   8610 	# work, assume that -exports_file does not work either and
   8611 	# implicitly export all symbols.
   8612         save_LDFLAGS="$LDFLAGS"
   8613         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8614         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8615 /* end confdefs.h.  */
   8616 int foo(void) {}
   8617 _ACEOF
   8618 if ac_fn_c_try_link "$LINENO"; then :
   8619   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   8620 
   8621 fi
   8622 rm -f core conftest.err conftest.$ac_objext \
   8623     conftest$ac_exeext conftest.$ac_ext
   8624         LDFLAGS="$save_LDFLAGS"
   8625       else
   8626 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   8627 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   8628       fi
   8629       archive_cmds_need_lc='no'
   8630       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8631       hardcode_libdir_separator=:
   8632       inherit_rpath=yes
   8633       link_all_deplibs=yes
   8634       ;;
   8635 
   8636     netbsd*)
   8637       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8638 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8639       else
   8640 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8641       fi
   8642       hardcode_libdir_flag_spec='-R$libdir'
   8643       hardcode_direct=yes
   8644       hardcode_shlibpath_var=no
   8645       ;;
   8646 
   8647     newsos6)
   8648       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8649       hardcode_direct=yes
   8650       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8651       hardcode_libdir_separator=:
   8652       hardcode_shlibpath_var=no
   8653       ;;
   8654 
   8655     *nto* | *qnx*)
   8656       ;;
   8657 
   8658     openbsd*)
   8659       if test -f /usr/libexec/ld.so; then
   8660 	hardcode_direct=yes
   8661 	hardcode_shlibpath_var=no
   8662 	hardcode_direct_absolute=yes
   8663 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8664 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8665 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8666 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8667 	  export_dynamic_flag_spec='${wl}-E'
   8668 	else
   8669 	  case $host_os in
   8670 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8671 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8672 	     hardcode_libdir_flag_spec='-R$libdir'
   8673 	     ;;
   8674 	   *)
   8675 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8676 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8677 	     ;;
   8678 	  esac
   8679 	fi
   8680       else
   8681 	ld_shlibs=no
   8682       fi
   8683       ;;
   8684 
   8685     os2*)
   8686       hardcode_libdir_flag_spec='-L$libdir'
   8687       hardcode_minus_L=yes
   8688       allow_undefined_flag=unsupported
   8689       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'
   8690       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8691       ;;
   8692 
   8693     osf3*)
   8694       if test "$GCC" = yes; then
   8695 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8696 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8697       else
   8698 	allow_undefined_flag=' -expect_unresolved \*'
   8699 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   8700       fi
   8701       archive_cmds_need_lc='no'
   8702       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8703       hardcode_libdir_separator=:
   8704       ;;
   8705 
   8706     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8707       if test "$GCC" = yes; then
   8708 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8709 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8710 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8711       else
   8712 	allow_undefined_flag=' -expect_unresolved \*'
   8713 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   8714 	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~
   8715 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   8716 
   8717 	# Both c and cxx compiler support -rpath directly
   8718 	hardcode_libdir_flag_spec='-rpath $libdir'
   8719       fi
   8720       archive_cmds_need_lc='no'
   8721       hardcode_libdir_separator=:
   8722       ;;
   8723 
   8724     solaris*)
   8725       no_undefined_flag=' -z defs'
   8726       if test "$GCC" = yes; then
   8727 	wlarc='${wl}'
   8728 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8729 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8730 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8731       else
   8732 	case `$CC -V 2>&1` in
   8733 	*"Compilers 5.0"*)
   8734 	  wlarc=''
   8735 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8736 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8737 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8738 	  ;;
   8739 	*)
   8740 	  wlarc='${wl}'
   8741 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8742 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8743 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8744 	  ;;
   8745 	esac
   8746       fi
   8747       hardcode_libdir_flag_spec='-R$libdir'
   8748       hardcode_shlibpath_var=no
   8749       case $host_os in
   8750       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8751       *)
   8752 	# The compiler driver will combine and reorder linker options,
   8753 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8754 	# but is careful enough not to reorder.
   8755 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8756 	if test "$GCC" = yes; then
   8757 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8758 	else
   8759 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8760 	fi
   8761 	;;
   8762       esac
   8763       link_all_deplibs=yes
   8764       ;;
   8765 
   8766     sunos4*)
   8767       if test "x$host_vendor" = xsequent; then
   8768 	# Use $CC to link under sequent, because it throws in some extra .o
   8769 	# files that make .init and .fini sections work.
   8770 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8771       else
   8772 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8773       fi
   8774       hardcode_libdir_flag_spec='-L$libdir'
   8775       hardcode_direct=yes
   8776       hardcode_minus_L=yes
   8777       hardcode_shlibpath_var=no
   8778       ;;
   8779 
   8780     sysv4)
   8781       case $host_vendor in
   8782 	sni)
   8783 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8784 	  hardcode_direct=yes # is this really true???
   8785 	;;
   8786 	siemens)
   8787 	  ## LD is ld it makes a PLAMLIB
   8788 	  ## CC just makes a GrossModule.
   8789 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8790 	  reload_cmds='$CC -r -o $output$reload_objs'
   8791 	  hardcode_direct=no
   8792         ;;
   8793 	motorola)
   8794 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8795 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8796 	;;
   8797       esac
   8798       runpath_var='LD_RUN_PATH'
   8799       hardcode_shlibpath_var=no
   8800       ;;
   8801 
   8802     sysv4.3*)
   8803       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8804       hardcode_shlibpath_var=no
   8805       export_dynamic_flag_spec='-Bexport'
   8806       ;;
   8807 
   8808     sysv4*MP*)
   8809       if test -d /usr/nec; then
   8810 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8811 	hardcode_shlibpath_var=no
   8812 	runpath_var=LD_RUN_PATH
   8813 	hardcode_runpath_var=yes
   8814 	ld_shlibs=yes
   8815       fi
   8816       ;;
   8817 
   8818     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8819       no_undefined_flag='${wl}-z,text'
   8820       archive_cmds_need_lc=no
   8821       hardcode_shlibpath_var=no
   8822       runpath_var='LD_RUN_PATH'
   8823 
   8824       if test "$GCC" = yes; then
   8825 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8826 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8827       else
   8828 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8829 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8830       fi
   8831       ;;
   8832 
   8833     sysv5* | sco3.2v5* | sco5v6*)
   8834       # Note: We can NOT use -z defs as we might desire, because we do not
   8835       # link with -lc, and that would cause any symbols used from libc to
   8836       # always be unresolved, which means just about no library would
   8837       # ever link correctly.  If we're not using GNU ld we use -z text
   8838       # though, which does catch some bad symbols but isn't as heavy-handed
   8839       # as -z defs.
   8840       no_undefined_flag='${wl}-z,text'
   8841       allow_undefined_flag='${wl}-z,nodefs'
   8842       archive_cmds_need_lc=no
   8843       hardcode_shlibpath_var=no
   8844       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   8845       hardcode_libdir_separator=':'
   8846       link_all_deplibs=yes
   8847       export_dynamic_flag_spec='${wl}-Bexport'
   8848       runpath_var='LD_RUN_PATH'
   8849 
   8850       if test "$GCC" = yes; then
   8851 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8852 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8853       else
   8854 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8855 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8856       fi
   8857       ;;
   8858 
   8859     uts4*)
   8860       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8861       hardcode_libdir_flag_spec='-L$libdir'
   8862       hardcode_shlibpath_var=no
   8863       ;;
   8864 
   8865     *)
   8866       ld_shlibs=no
   8867       ;;
   8868     esac
   8869 
   8870     if test x$host_vendor = xsni; then
   8871       case $host in
   8872       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   8873 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   8874 	;;
   8875       esac
   8876     fi
   8877   fi
   8878 
   8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   8880 $as_echo "$ld_shlibs" >&6; }
   8881 test "$ld_shlibs" = no && can_build_shared=no
   8882 
   8883 with_gnu_ld=$with_gnu_ld
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 #
   8900 # Do we need to explicitly link libc?
   8901 #
   8902 case "x$archive_cmds_need_lc" in
   8903 x|xyes)
   8904   # Assume -lc should be added
   8905   archive_cmds_need_lc=yes
   8906 
   8907   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8908     case $archive_cmds in
   8909     *'~'*)
   8910       # FIXME: we may have to deal with multi-command sequences.
   8911       ;;
   8912     '$CC '*)
   8913       # Test whether the compiler implicitly links with -lc since on some
   8914       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8915       # to ld, don't add -lc before -lgcc.
   8916       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   8917 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   8918 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   8919   $as_echo_n "(cached) " >&6
   8920 else
   8921   $RM conftest*
   8922 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8923 
   8924 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8925   (eval $ac_compile) 2>&5
   8926   ac_status=$?
   8927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8928   test $ac_status = 0; } 2>conftest.err; then
   8929 	  soname=conftest
   8930 	  lib=conftest
   8931 	  libobjs=conftest.$ac_objext
   8932 	  deplibs=
   8933 	  wl=$lt_prog_compiler_wl
   8934 	  pic_flag=$lt_prog_compiler_pic
   8935 	  compiler_flags=-v
   8936 	  linker_flags=-v
   8937 	  verstring=
   8938 	  output_objdir=.
   8939 	  libname=conftest
   8940 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   8941 	  allow_undefined_flag=
   8942 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   8943   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8944   ac_status=$?
   8945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8946   test $ac_status = 0; }
   8947 	  then
   8948 	    lt_cv_archive_cmds_need_lc=no
   8949 	  else
   8950 	    lt_cv_archive_cmds_need_lc=yes
   8951 	  fi
   8952 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   8953 	else
   8954 	  cat conftest.err 1>&5
   8955 	fi
   8956 	$RM conftest*
   8957 
   8958 fi
   8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   8960 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   8961       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   8962       ;;
   8963     esac
   8964   fi
   8965   ;;
   8966 esac
   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 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9125 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9126 
   9127 if test "$GCC" = yes; then
   9128   case $host_os in
   9129     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9130     *) lt_awk_arg="/^libraries:/" ;;
   9131   esac
   9132   case $host_os in
   9133     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9134     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9135   esac
   9136   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9137   case $lt_search_path_spec in
   9138   *\;*)
   9139     # if the path contains ";" then we assume it to be the separator
   9140     # otherwise default to the standard path separator (i.e. ":") - it is
   9141     # assumed that no part of a normal pathname contains ";" but that should
   9142     # okay in the real world where ";" in dirpaths is itself problematic.
   9143     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9144     ;;
   9145   *)
   9146     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9147     ;;
   9148   esac
   9149   # Ok, now we have the path, separated by spaces, we can step through it
   9150   # and add multilib dir if necessary.
   9151   lt_tmp_lt_search_path_spec=
   9152   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9153   for lt_sys_path in $lt_search_path_spec; do
   9154     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9155       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9156     else
   9157       test -d "$lt_sys_path" && \
   9158 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9159     fi
   9160   done
   9161   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9162 BEGIN {RS=" "; FS="/|\n";} {
   9163   lt_foo="";
   9164   lt_count=0;
   9165   for (lt_i = NF; lt_i > 0; lt_i--) {
   9166     if ($lt_i != "" && $lt_i != ".") {
   9167       if ($lt_i == "..") {
   9168         lt_count++;
   9169       } else {
   9170         if (lt_count == 0) {
   9171           lt_foo="/" $lt_i lt_foo;
   9172         } else {
   9173           lt_count--;
   9174         }
   9175       }
   9176     }
   9177   }
   9178   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9179   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9180 }'`
   9181   # AWK program above erroneously prepends '/' to C:/dos/paths
   9182   # for these hosts.
   9183   case $host_os in
   9184     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9185       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9186   esac
   9187   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9188 else
   9189   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9190 fi
   9191 library_names_spec=
   9192 libname_spec='lib$name'
   9193 soname_spec=
   9194 shrext_cmds=".so"
   9195 postinstall_cmds=
   9196 postuninstall_cmds=
   9197 finish_cmds=
   9198 finish_eval=
   9199 shlibpath_var=
   9200 shlibpath_overrides_runpath=unknown
   9201 version_type=none
   9202 dynamic_linker="$host_os ld.so"
   9203 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9204 need_lib_prefix=unknown
   9205 hardcode_into_libs=no
   9206 
   9207 # when you set need_version to no, make sure it does not cause -set_version
   9208 # flags to be left without arguments
   9209 need_version=unknown
   9210 
   9211 case $host_os in
   9212 aix3*)
   9213   version_type=linux
   9214   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9215   shlibpath_var=LIBPATH
   9216 
   9217   # AIX 3 has no versioning support, so we append a major version to the name.
   9218   soname_spec='${libname}${release}${shared_ext}$major'
   9219   ;;
   9220 
   9221 aix[4-9]*)
   9222   version_type=linux
   9223   need_lib_prefix=no
   9224   need_version=no
   9225   hardcode_into_libs=yes
   9226   if test "$host_cpu" = ia64; then
   9227     # AIX 5 supports IA64
   9228     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9229     shlibpath_var=LD_LIBRARY_PATH
   9230   else
   9231     # With GCC up to 2.95.x, collect2 would create an import file
   9232     # for dependence libraries.  The import file would start with
   9233     # the line `#! .'.  This would cause the generated library to
   9234     # depend on `.', always an invalid library.  This was fixed in
   9235     # development snapshots of GCC prior to 3.0.
   9236     case $host_os in
   9237       aix4 | aix4.[01] | aix4.[01].*)
   9238       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9239 	   echo ' yes '
   9240 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9241 	:
   9242       else
   9243 	can_build_shared=no
   9244       fi
   9245       ;;
   9246     esac
   9247     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9248     # soname into executable. Probably we can add versioning support to
   9249     # collect2, so additional links can be useful in future.
   9250     if test "$aix_use_runtimelinking" = yes; then
   9251       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9252       # instead of lib<name>.a to let people know that these are not
   9253       # typical AIX shared libraries.
   9254       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9255     else
   9256       # We preserve .a as extension for shared libraries through AIX4.2
   9257       # and later when we are not doing run time linking.
   9258       library_names_spec='${libname}${release}.a $libname.a'
   9259       soname_spec='${libname}${release}${shared_ext}$major'
   9260     fi
   9261     shlibpath_var=LIBPATH
   9262   fi
   9263   ;;
   9264 
   9265 amigaos*)
   9266   case $host_cpu in
   9267   powerpc)
   9268     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9269     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9270     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9271     ;;
   9272   m68k)
   9273     library_names_spec='$libname.ixlibrary $libname.a'
   9274     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9275     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   9276     ;;
   9277   esac
   9278   ;;
   9279 
   9280 beos*)
   9281   library_names_spec='${libname}${shared_ext}'
   9282   dynamic_linker="$host_os ld.so"
   9283   shlibpath_var=LIBRARY_PATH
   9284   ;;
   9285 
   9286 bsdi[45]*)
   9287   version_type=linux
   9288   need_version=no
   9289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9290   soname_spec='${libname}${release}${shared_ext}$major'
   9291   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9292   shlibpath_var=LD_LIBRARY_PATH
   9293   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9294   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9295   # the default ld.so.conf also contains /usr/contrib/lib and
   9296   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9297   # libtool to hard-code these into programs
   9298   ;;
   9299 
   9300 cygwin* | mingw* | pw32* | cegcc*)
   9301   version_type=windows
   9302   shrext_cmds=".dll"
   9303   need_version=no
   9304   need_lib_prefix=no
   9305 
   9306   case $GCC,$host_os in
   9307   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9308     library_names_spec='$libname.dll.a'
   9309     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9310     postinstall_cmds='base_file=`basename \${file}`~
   9311       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9312       dldir=$destdir/`dirname \$dlpath`~
   9313       test -d \$dldir || mkdir -p \$dldir~
   9314       $install_prog $dir/$dlname \$dldir/$dlname~
   9315       chmod a+x \$dldir/$dlname~
   9316       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9317         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9318       fi'
   9319     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9320       dlpath=$dir/\$dldll~
   9321        $RM \$dlpath'
   9322     shlibpath_overrides_runpath=yes
   9323 
   9324     case $host_os in
   9325     cygwin*)
   9326       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9327       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9328 
   9329       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   9330       ;;
   9331     mingw* | cegcc*)
   9332       # MinGW DLLs use traditional 'lib' prefix
   9333       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9334       ;;
   9335     pw32*)
   9336       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9337       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9338       ;;
   9339     esac
   9340     ;;
   9341 
   9342   *)
   9343     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9344     ;;
   9345   esac
   9346   dynamic_linker='Win32 ld.exe'
   9347   # FIXME: first we should search . and the directory the executable is in
   9348   shlibpath_var=PATH
   9349   ;;
   9350 
   9351 darwin* | rhapsody*)
   9352   dynamic_linker="$host_os dyld"
   9353   version_type=darwin
   9354   need_lib_prefix=no
   9355   need_version=no
   9356   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9357   soname_spec='${libname}${release}${major}$shared_ext'
   9358   shlibpath_overrides_runpath=yes
   9359   shlibpath_var=DYLD_LIBRARY_PATH
   9360   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9361 
   9362   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9363   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9364   ;;
   9365 
   9366 dgux*)
   9367   version_type=linux
   9368   need_lib_prefix=no
   9369   need_version=no
   9370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9371   soname_spec='${libname}${release}${shared_ext}$major'
   9372   shlibpath_var=LD_LIBRARY_PATH
   9373   ;;
   9374 
   9375 freebsd1*)
   9376   dynamic_linker=no
   9377   ;;
   9378 
   9379 freebsd* | dragonfly*)
   9380   # DragonFly does not have aout.  When/if they implement a new
   9381   # versioning mechanism, adjust this.
   9382   if test -x /usr/bin/objformat; then
   9383     objformat=`/usr/bin/objformat`
   9384   else
   9385     case $host_os in
   9386     freebsd[123]*) objformat=aout ;;
   9387     *) objformat=elf ;;
   9388     esac
   9389   fi
   9390   version_type=freebsd-$objformat
   9391   case $version_type in
   9392     freebsd-elf*)
   9393       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9394       need_version=no
   9395       need_lib_prefix=no
   9396       ;;
   9397     freebsd-*)
   9398       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9399       need_version=yes
   9400       ;;
   9401   esac
   9402   shlibpath_var=LD_LIBRARY_PATH
   9403   case $host_os in
   9404   freebsd2*)
   9405     shlibpath_overrides_runpath=yes
   9406     ;;
   9407   freebsd3.[01]* | freebsdelf3.[01]*)
   9408     shlibpath_overrides_runpath=yes
   9409     hardcode_into_libs=yes
   9410     ;;
   9411   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9412   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9413     shlibpath_overrides_runpath=no
   9414     hardcode_into_libs=yes
   9415     ;;
   9416   *) # from 4.6 on, and DragonFly
   9417     shlibpath_overrides_runpath=yes
   9418     hardcode_into_libs=yes
   9419     ;;
   9420   esac
   9421   ;;
   9422 
   9423 gnu*)
   9424   version_type=linux
   9425   need_lib_prefix=no
   9426   need_version=no
   9427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9428   soname_spec='${libname}${release}${shared_ext}$major'
   9429   shlibpath_var=LD_LIBRARY_PATH
   9430   hardcode_into_libs=yes
   9431   ;;
   9432 
   9433 haiku*)
   9434   version_type=linux
   9435   need_lib_prefix=no
   9436   need_version=no
   9437   dynamic_linker="$host_os runtime_loader"
   9438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9439   soname_spec='${libname}${release}${shared_ext}$major'
   9440   shlibpath_var=LIBRARY_PATH
   9441   shlibpath_overrides_runpath=yes
   9442   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   9443   hardcode_into_libs=yes
   9444   ;;
   9445 
   9446 hpux9* | hpux10* | hpux11*)
   9447   # Give a soname corresponding to the major version so that dld.sl refuses to
   9448   # link against other versions.
   9449   version_type=sunos
   9450   need_lib_prefix=no
   9451   need_version=no
   9452   case $host_cpu in
   9453   ia64*)
   9454     shrext_cmds='.so'
   9455     hardcode_into_libs=yes
   9456     dynamic_linker="$host_os dld.so"
   9457     shlibpath_var=LD_LIBRARY_PATH
   9458     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9459     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9460     soname_spec='${libname}${release}${shared_ext}$major'
   9461     if test "X$HPUX_IA64_MODE" = X32; then
   9462       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9463     else
   9464       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9465     fi
   9466     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9467     ;;
   9468   hppa*64*)
   9469     shrext_cmds='.sl'
   9470     hardcode_into_libs=yes
   9471     dynamic_linker="$host_os dld.sl"
   9472     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9473     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9474     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9475     soname_spec='${libname}${release}${shared_ext}$major'
   9476     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9477     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9478     ;;
   9479   *)
   9480     shrext_cmds='.sl'
   9481     dynamic_linker="$host_os dld.sl"
   9482     shlibpath_var=SHLIB_PATH
   9483     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9484     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9485     soname_spec='${libname}${release}${shared_ext}$major'
   9486     ;;
   9487   esac
   9488   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   9489   postinstall_cmds='chmod 555 $lib'
   9490   # or fails outright, so override atomically:
   9491   install_override_mode=555
   9492   ;;
   9493 
   9494 interix[3-9]*)
   9495   version_type=linux
   9496   need_lib_prefix=no
   9497   need_version=no
   9498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9499   soname_spec='${libname}${release}${shared_ext}$major'
   9500   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9501   shlibpath_var=LD_LIBRARY_PATH
   9502   shlibpath_overrides_runpath=no
   9503   hardcode_into_libs=yes
   9504   ;;
   9505 
   9506 irix5* | irix6* | nonstopux*)
   9507   case $host_os in
   9508     nonstopux*) version_type=nonstopux ;;
   9509     *)
   9510 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9511 		version_type=linux
   9512 	else
   9513 		version_type=irix
   9514 	fi ;;
   9515   esac
   9516   need_lib_prefix=no
   9517   need_version=no
   9518   soname_spec='${libname}${release}${shared_ext}$major'
   9519   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9520   case $host_os in
   9521   irix5* | nonstopux*)
   9522     libsuff= shlibsuff=
   9523     ;;
   9524   *)
   9525     case $LD in # libtool.m4 will add one of these switches to LD
   9526     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9527       libsuff= shlibsuff= libmagic=32-bit;;
   9528     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9529       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9530     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9531       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9532     *) libsuff= shlibsuff= libmagic=never-match;;
   9533     esac
   9534     ;;
   9535   esac
   9536   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9537   shlibpath_overrides_runpath=no
   9538   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9539   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9540   hardcode_into_libs=yes
   9541   ;;
   9542 
   9543 # No shared lib support for Linux oldld, aout, or coff.
   9544 linux*oldld* | linux*aout* | linux*coff*)
   9545   dynamic_linker=no
   9546   ;;
   9547 
   9548 # This must be Linux ELF.
   9549 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9550   version_type=linux
   9551   need_lib_prefix=no
   9552   need_version=no
   9553   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9554   soname_spec='${libname}${release}${shared_ext}$major'
   9555   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9556   shlibpath_var=LD_LIBRARY_PATH
   9557   shlibpath_overrides_runpath=no
   9558 
   9559   # Some binutils ld are patched to set DT_RUNPATH
   9560   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   9561   $as_echo_n "(cached) " >&6
   9562 else
   9563   lt_cv_shlibpath_overrides_runpath=no
   9564     save_LDFLAGS=$LDFLAGS
   9565     save_libdir=$libdir
   9566     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9567 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9568     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9569 /* end confdefs.h.  */
   9570 
   9571 int
   9572 main ()
   9573 {
   9574 
   9575   ;
   9576   return 0;
   9577 }
   9578 _ACEOF
   9579 if ac_fn_c_try_link "$LINENO"; then :
   9580   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   9581   lt_cv_shlibpath_overrides_runpath=yes
   9582 fi
   9583 fi
   9584 rm -f core conftest.err conftest.$ac_objext \
   9585     conftest$ac_exeext conftest.$ac_ext
   9586     LDFLAGS=$save_LDFLAGS
   9587     libdir=$save_libdir
   9588 
   9589 fi
   9590 
   9591   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   9592 
   9593   # This implies no fast_install, which is unacceptable.
   9594   # Some rework will be needed to allow for fast_install
   9595   # before this can be enabled.
   9596   hardcode_into_libs=yes
   9597 
   9598   # Append ld.so.conf contents to the search path
   9599   if test -f /etc/ld.so.conf; then
   9600     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   9601     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9602   fi
   9603 
   9604   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9605   # powerpc, because MkLinux only supported shared libraries with the
   9606   # GNU dynamic linker.  Since this was broken with cross compilers,
   9607   # most powerpc-linux boxes support dynamic linking these days and
   9608   # people can always --disable-shared, the test was removed, and we
   9609   # assume the GNU/Linux dynamic linker is in use.
   9610   dynamic_linker='GNU/Linux ld.so'
   9611   ;;
   9612 
   9613 netbsd*)
   9614   version_type=sunos
   9615   need_lib_prefix=no
   9616   need_version=no
   9617   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9618     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9619     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9620     dynamic_linker='NetBSD (a.out) ld.so'
   9621   else
   9622     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9623     soname_spec='${libname}${release}${shared_ext}$major'
   9624     dynamic_linker='NetBSD ld.elf_so'
   9625   fi
   9626   shlibpath_var=LD_LIBRARY_PATH
   9627   shlibpath_overrides_runpath=yes
   9628   hardcode_into_libs=yes
   9629   ;;
   9630 
   9631 newsos6)
   9632   version_type=linux
   9633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9634   shlibpath_var=LD_LIBRARY_PATH
   9635   shlibpath_overrides_runpath=yes
   9636   ;;
   9637 
   9638 *nto* | *qnx*)
   9639   version_type=qnx
   9640   need_lib_prefix=no
   9641   need_version=no
   9642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9643   soname_spec='${libname}${release}${shared_ext}$major'
   9644   shlibpath_var=LD_LIBRARY_PATH
   9645   shlibpath_overrides_runpath=no
   9646   hardcode_into_libs=yes
   9647   dynamic_linker='ldqnx.so'
   9648   ;;
   9649 
   9650 openbsd*)
   9651   version_type=sunos
   9652   sys_lib_dlsearch_path_spec="/usr/lib"
   9653   need_lib_prefix=no
   9654   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9655   case $host_os in
   9656     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9657     *)				need_version=no  ;;
   9658   esac
   9659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9660   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9661   shlibpath_var=LD_LIBRARY_PATH
   9662   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9663     case $host_os in
   9664       openbsd2.[89] | openbsd2.[89].*)
   9665 	shlibpath_overrides_runpath=no
   9666 	;;
   9667       *)
   9668 	shlibpath_overrides_runpath=yes
   9669 	;;
   9670       esac
   9671   else
   9672     shlibpath_overrides_runpath=yes
   9673   fi
   9674   ;;
   9675 
   9676 os2*)
   9677   libname_spec='$name'
   9678   shrext_cmds=".dll"
   9679   need_lib_prefix=no
   9680   library_names_spec='$libname${shared_ext} $libname.a'
   9681   dynamic_linker='OS/2 ld.exe'
   9682   shlibpath_var=LIBPATH
   9683   ;;
   9684 
   9685 osf3* | osf4* | osf5*)
   9686   version_type=osf
   9687   need_lib_prefix=no
   9688   need_version=no
   9689   soname_spec='${libname}${release}${shared_ext}$major'
   9690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9691   shlibpath_var=LD_LIBRARY_PATH
   9692   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9693   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9694   ;;
   9695 
   9696 rdos*)
   9697   dynamic_linker=no
   9698   ;;
   9699 
   9700 solaris*)
   9701   version_type=linux
   9702   need_lib_prefix=no
   9703   need_version=no
   9704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9705   soname_spec='${libname}${release}${shared_ext}$major'
   9706   shlibpath_var=LD_LIBRARY_PATH
   9707   shlibpath_overrides_runpath=yes
   9708   hardcode_into_libs=yes
   9709   # ldd complains unless libraries are executable
   9710   postinstall_cmds='chmod +x $lib'
   9711   ;;
   9712 
   9713 sunos4*)
   9714   version_type=sunos
   9715   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9716   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9717   shlibpath_var=LD_LIBRARY_PATH
   9718   shlibpath_overrides_runpath=yes
   9719   if test "$with_gnu_ld" = yes; then
   9720     need_lib_prefix=no
   9721   fi
   9722   need_version=yes
   9723   ;;
   9724 
   9725 sysv4 | sysv4.3*)
   9726   version_type=linux
   9727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9728   soname_spec='${libname}${release}${shared_ext}$major'
   9729   shlibpath_var=LD_LIBRARY_PATH
   9730   case $host_vendor in
   9731     sni)
   9732       shlibpath_overrides_runpath=no
   9733       need_lib_prefix=no
   9734       runpath_var=LD_RUN_PATH
   9735       ;;
   9736     siemens)
   9737       need_lib_prefix=no
   9738       ;;
   9739     motorola)
   9740       need_lib_prefix=no
   9741       need_version=no
   9742       shlibpath_overrides_runpath=no
   9743       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9744       ;;
   9745   esac
   9746   ;;
   9747 
   9748 sysv4*MP*)
   9749   if test -d /usr/nec ;then
   9750     version_type=linux
   9751     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9752     soname_spec='$libname${shared_ext}.$major'
   9753     shlibpath_var=LD_LIBRARY_PATH
   9754   fi
   9755   ;;
   9756 
   9757 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9758   version_type=freebsd-elf
   9759   need_lib_prefix=no
   9760   need_version=no
   9761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9762   soname_spec='${libname}${release}${shared_ext}$major'
   9763   shlibpath_var=LD_LIBRARY_PATH
   9764   shlibpath_overrides_runpath=yes
   9765   hardcode_into_libs=yes
   9766   if test "$with_gnu_ld" = yes; then
   9767     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9768   else
   9769     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9770     case $host_os in
   9771       sco3.2v5*)
   9772         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9773 	;;
   9774     esac
   9775   fi
   9776   sys_lib_dlsearch_path_spec='/usr/lib'
   9777   ;;
   9778 
   9779 tpf*)
   9780   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   9781   version_type=linux
   9782   need_lib_prefix=no
   9783   need_version=no
   9784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9785   shlibpath_var=LD_LIBRARY_PATH
   9786   shlibpath_overrides_runpath=no
   9787   hardcode_into_libs=yes
   9788   ;;
   9789 
   9790 uts4*)
   9791   version_type=linux
   9792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9793   soname_spec='${libname}${release}${shared_ext}$major'
   9794   shlibpath_var=LD_LIBRARY_PATH
   9795   ;;
   9796 
   9797 *)
   9798   dynamic_linker=no
   9799   ;;
   9800 esac
   9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   9802 $as_echo "$dynamic_linker" >&6; }
   9803 test "$dynamic_linker" = no && can_build_shared=no
   9804 
   9805 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9806 if test "$GCC" = yes; then
   9807   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9808 fi
   9809 
   9810 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9811   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9812 fi
   9813 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9814   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9815 fi
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   9909 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9910 hardcode_action=
   9911 if test -n "$hardcode_libdir_flag_spec" ||
   9912    test -n "$runpath_var" ||
   9913    test "X$hardcode_automatic" = "Xyes" ; then
   9914 
   9915   # We can hardcode non-existent directories.
   9916   if test "$hardcode_direct" != no &&
   9917      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9918      # have to relink, otherwise we might link with an installed library
   9919      # when we should be linking with a yet-to-be-installed one
   9920      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9921      test "$hardcode_minus_L" != no; then
   9922     # Linking always hardcodes the temporary library directory.
   9923     hardcode_action=relink
   9924   else
   9925     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9926     hardcode_action=immediate
   9927   fi
   9928 else
   9929   # We cannot hardcode anything, or else we can only hardcode existing
   9930   # directories.
   9931   hardcode_action=unsupported
   9932 fi
   9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   9934 $as_echo "$hardcode_action" >&6; }
   9935 
   9936 if test "$hardcode_action" = relink ||
   9937    test "$inherit_rpath" = yes; then
   9938   # Fast installation is not supported
   9939   enable_fast_install=no
   9940 elif test "$shlibpath_overrides_runpath" = yes ||
   9941      test "$enable_shared" = no; then
   9942   # Fast installation is not necessary
   9943   enable_fast_install=needless
   9944 fi
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951   if test "x$enable_dlopen" != xyes; then
   9952   enable_dlopen=unknown
   9953   enable_dlopen_self=unknown
   9954   enable_dlopen_self_static=unknown
   9955 else
   9956   lt_cv_dlopen=no
   9957   lt_cv_dlopen_libs=
   9958 
   9959   case $host_os in
   9960   beos*)
   9961     lt_cv_dlopen="load_add_on"
   9962     lt_cv_dlopen_libs=
   9963     lt_cv_dlopen_self=yes
   9964     ;;
   9965 
   9966   mingw* | pw32* | cegcc*)
   9967     lt_cv_dlopen="LoadLibrary"
   9968     lt_cv_dlopen_libs=
   9969     ;;
   9970 
   9971   cygwin*)
   9972     lt_cv_dlopen="dlopen"
   9973     lt_cv_dlopen_libs=
   9974     ;;
   9975 
   9976   darwin*)
   9977   # if libdl is installed we need to link against it
   9978     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   9979 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9980 if ${ac_cv_lib_dl_dlopen+:} false; then :
   9981   $as_echo_n "(cached) " >&6
   9982 else
   9983   ac_check_lib_save_LIBS=$LIBS
   9984 LIBS="-ldl  $LIBS"
   9985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9986 /* end confdefs.h.  */
   9987 
   9988 /* Override any GCC internal prototype to avoid an error.
   9989    Use char because int might match the return type of a GCC
   9990    builtin and then its argument prototype would still apply.  */
   9991 #ifdef __cplusplus
   9992 extern "C"
   9993 #endif
   9994 char dlopen ();
   9995 int
   9996 main ()
   9997 {
   9998 return dlopen ();
   9999   ;
   10000   return 0;
   10001 }
   10002 _ACEOF
   10003 if ac_fn_c_try_link "$LINENO"; then :
   10004   ac_cv_lib_dl_dlopen=yes
   10005 else
   10006   ac_cv_lib_dl_dlopen=no
   10007 fi
   10008 rm -f core conftest.err conftest.$ac_objext \
   10009     conftest$ac_exeext conftest.$ac_ext
   10010 LIBS=$ac_check_lib_save_LIBS
   10011 fi
   10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10013 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10014 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10015   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10016 else
   10017 
   10018     lt_cv_dlopen="dyld"
   10019     lt_cv_dlopen_libs=
   10020     lt_cv_dlopen_self=yes
   10021 
   10022 fi
   10023 
   10024     ;;
   10025 
   10026   *)
   10027     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10028 if test "x$ac_cv_func_shl_load" = xyes; then :
   10029   lt_cv_dlopen="shl_load"
   10030 else
   10031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10032 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10033 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10034   $as_echo_n "(cached) " >&6
   10035 else
   10036   ac_check_lib_save_LIBS=$LIBS
   10037 LIBS="-ldld  $LIBS"
   10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10039 /* end confdefs.h.  */
   10040 
   10041 /* Override any GCC internal prototype to avoid an error.
   10042    Use char because int might match the return type of a GCC
   10043    builtin and then its argument prototype would still apply.  */
   10044 #ifdef __cplusplus
   10045 extern "C"
   10046 #endif
   10047 char shl_load ();
   10048 int
   10049 main ()
   10050 {
   10051 return shl_load ();
   10052   ;
   10053   return 0;
   10054 }
   10055 _ACEOF
   10056 if ac_fn_c_try_link "$LINENO"; then :
   10057   ac_cv_lib_dld_shl_load=yes
   10058 else
   10059   ac_cv_lib_dld_shl_load=no
   10060 fi
   10061 rm -f core conftest.err conftest.$ac_objext \
   10062     conftest$ac_exeext conftest.$ac_ext
   10063 LIBS=$ac_check_lib_save_LIBS
   10064 fi
   10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10066 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10067 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10068   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10069 else
   10070   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10071 if test "x$ac_cv_func_dlopen" = xyes; then :
   10072   lt_cv_dlopen="dlopen"
   10073 else
   10074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10075 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10076 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10077   $as_echo_n "(cached) " >&6
   10078 else
   10079   ac_check_lib_save_LIBS=$LIBS
   10080 LIBS="-ldl  $LIBS"
   10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10082 /* end confdefs.h.  */
   10083 
   10084 /* Override any GCC internal prototype to avoid an error.
   10085    Use char because int might match the return type of a GCC
   10086    builtin and then its argument prototype would still apply.  */
   10087 #ifdef __cplusplus
   10088 extern "C"
   10089 #endif
   10090 char dlopen ();
   10091 int
   10092 main ()
   10093 {
   10094 return dlopen ();
   10095   ;
   10096   return 0;
   10097 }
   10098 _ACEOF
   10099 if ac_fn_c_try_link "$LINENO"; then :
   10100   ac_cv_lib_dl_dlopen=yes
   10101 else
   10102   ac_cv_lib_dl_dlopen=no
   10103 fi
   10104 rm -f core conftest.err conftest.$ac_objext \
   10105     conftest$ac_exeext conftest.$ac_ext
   10106 LIBS=$ac_check_lib_save_LIBS
   10107 fi
   10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10109 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10110 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10111   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10112 else
   10113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10114 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10115 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10116   $as_echo_n "(cached) " >&6
   10117 else
   10118   ac_check_lib_save_LIBS=$LIBS
   10119 LIBS="-lsvld  $LIBS"
   10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10121 /* end confdefs.h.  */
   10122 
   10123 /* Override any GCC internal prototype to avoid an error.
   10124    Use char because int might match the return type of a GCC
   10125    builtin and then its argument prototype would still apply.  */
   10126 #ifdef __cplusplus
   10127 extern "C"
   10128 #endif
   10129 char dlopen ();
   10130 int
   10131 main ()
   10132 {
   10133 return dlopen ();
   10134   ;
   10135   return 0;
   10136 }
   10137 _ACEOF
   10138 if ac_fn_c_try_link "$LINENO"; then :
   10139   ac_cv_lib_svld_dlopen=yes
   10140 else
   10141   ac_cv_lib_svld_dlopen=no
   10142 fi
   10143 rm -f core conftest.err conftest.$ac_objext \
   10144     conftest$ac_exeext conftest.$ac_ext
   10145 LIBS=$ac_check_lib_save_LIBS
   10146 fi
   10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10148 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10149 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10150   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10151 else
   10152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10153 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10154 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10155   $as_echo_n "(cached) " >&6
   10156 else
   10157   ac_check_lib_save_LIBS=$LIBS
   10158 LIBS="-ldld  $LIBS"
   10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10160 /* end confdefs.h.  */
   10161 
   10162 /* Override any GCC internal prototype to avoid an error.
   10163    Use char because int might match the return type of a GCC
   10164    builtin and then its argument prototype would still apply.  */
   10165 #ifdef __cplusplus
   10166 extern "C"
   10167 #endif
   10168 char dld_link ();
   10169 int
   10170 main ()
   10171 {
   10172 return dld_link ();
   10173   ;
   10174   return 0;
   10175 }
   10176 _ACEOF
   10177 if ac_fn_c_try_link "$LINENO"; then :
   10178   ac_cv_lib_dld_dld_link=yes
   10179 else
   10180   ac_cv_lib_dld_dld_link=no
   10181 fi
   10182 rm -f core conftest.err conftest.$ac_objext \
   10183     conftest$ac_exeext conftest.$ac_ext
   10184 LIBS=$ac_check_lib_save_LIBS
   10185 fi
   10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10187 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10188 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10189   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10190 fi
   10191 
   10192 
   10193 fi
   10194 
   10195 
   10196 fi
   10197 
   10198 
   10199 fi
   10200 
   10201 
   10202 fi
   10203 
   10204 
   10205 fi
   10206 
   10207     ;;
   10208   esac
   10209 
   10210   if test "x$lt_cv_dlopen" != xno; then
   10211     enable_dlopen=yes
   10212   else
   10213     enable_dlopen=no
   10214   fi
   10215 
   10216   case $lt_cv_dlopen in
   10217   dlopen)
   10218     save_CPPFLAGS="$CPPFLAGS"
   10219     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10220 
   10221     save_LDFLAGS="$LDFLAGS"
   10222     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10223 
   10224     save_LIBS="$LIBS"
   10225     LIBS="$lt_cv_dlopen_libs $LIBS"
   10226 
   10227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10228 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10229 if ${lt_cv_dlopen_self+:} false; then :
   10230   $as_echo_n "(cached) " >&6
   10231 else
   10232   	  if test "$cross_compiling" = yes; then :
   10233   lt_cv_dlopen_self=cross
   10234 else
   10235   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10236   lt_status=$lt_dlunknown
   10237   cat > conftest.$ac_ext <<_LT_EOF
   10238 #line $LINENO "configure"
   10239 #include "confdefs.h"
   10240 
   10241 #if HAVE_DLFCN_H
   10242 #include <dlfcn.h>
   10243 #endif
   10244 
   10245 #include <stdio.h>
   10246 
   10247 #ifdef RTLD_GLOBAL
   10248 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10249 #else
   10250 #  ifdef DL_GLOBAL
   10251 #    define LT_DLGLOBAL		DL_GLOBAL
   10252 #  else
   10253 #    define LT_DLGLOBAL		0
   10254 #  endif
   10255 #endif
   10256 
   10257 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10258    find out it does not work in some platform. */
   10259 #ifndef LT_DLLAZY_OR_NOW
   10260 #  ifdef RTLD_LAZY
   10261 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10262 #  else
   10263 #    ifdef DL_LAZY
   10264 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10265 #    else
   10266 #      ifdef RTLD_NOW
   10267 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10268 #      else
   10269 #        ifdef DL_NOW
   10270 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10271 #        else
   10272 #          define LT_DLLAZY_OR_NOW	0
   10273 #        endif
   10274 #      endif
   10275 #    endif
   10276 #  endif
   10277 #endif
   10278 
   10279 /* When -fvisbility=hidden is used, assume the code has been annotated
   10280    correspondingly for the symbols needed.  */
   10281 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   10282 void fnord () __attribute__((visibility("default")));
   10283 #endif
   10284 
   10285 void fnord () { int i=42; }
   10286 int main ()
   10287 {
   10288   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10289   int status = $lt_dlunknown;
   10290 
   10291   if (self)
   10292     {
   10293       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10294       else
   10295         {
   10296 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   10297           else puts (dlerror ());
   10298 	}
   10299       /* dlclose (self); */
   10300     }
   10301   else
   10302     puts (dlerror ());
   10303 
   10304   return status;
   10305 }
   10306 _LT_EOF
   10307   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10308   (eval $ac_link) 2>&5
   10309   ac_status=$?
   10310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10311   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10312     (./conftest; exit; ) >&5 2>/dev/null
   10313     lt_status=$?
   10314     case x$lt_status in
   10315       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10316       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10317       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10318     esac
   10319   else :
   10320     # compilation failed
   10321     lt_cv_dlopen_self=no
   10322   fi
   10323 fi
   10324 rm -fr conftest*
   10325 
   10326 
   10327 fi
   10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10329 $as_echo "$lt_cv_dlopen_self" >&6; }
   10330 
   10331     if test "x$lt_cv_dlopen_self" = xyes; then
   10332       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10333       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10334 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10335 if ${lt_cv_dlopen_self_static+:} false; then :
   10336   $as_echo_n "(cached) " >&6
   10337 else
   10338   	  if test "$cross_compiling" = yes; then :
   10339   lt_cv_dlopen_self_static=cross
   10340 else
   10341   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10342   lt_status=$lt_dlunknown
   10343   cat > conftest.$ac_ext <<_LT_EOF
   10344 #line $LINENO "configure"
   10345 #include "confdefs.h"
   10346 
   10347 #if HAVE_DLFCN_H
   10348 #include <dlfcn.h>
   10349 #endif
   10350 
   10351 #include <stdio.h>
   10352 
   10353 #ifdef RTLD_GLOBAL
   10354 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10355 #else
   10356 #  ifdef DL_GLOBAL
   10357 #    define LT_DLGLOBAL		DL_GLOBAL
   10358 #  else
   10359 #    define LT_DLGLOBAL		0
   10360 #  endif
   10361 #endif
   10362 
   10363 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10364    find out it does not work in some platform. */
   10365 #ifndef LT_DLLAZY_OR_NOW
   10366 #  ifdef RTLD_LAZY
   10367 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10368 #  else
   10369 #    ifdef DL_LAZY
   10370 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10371 #    else
   10372 #      ifdef RTLD_NOW
   10373 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10374 #      else
   10375 #        ifdef DL_NOW
   10376 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10377 #        else
   10378 #          define LT_DLLAZY_OR_NOW	0
   10379 #        endif
   10380 #      endif
   10381 #    endif
   10382 #  endif
   10383 #endif
   10384 
   10385 /* When -fvisbility=hidden is used, assume the code has been annotated
   10386    correspondingly for the symbols needed.  */
   10387 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   10388 void fnord () __attribute__((visibility("default")));
   10389 #endif
   10390 
   10391 void fnord () { int i=42; }
   10392 int main ()
   10393 {
   10394   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10395   int status = $lt_dlunknown;
   10396 
   10397   if (self)
   10398     {
   10399       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10400       else
   10401         {
   10402 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   10403           else puts (dlerror ());
   10404 	}
   10405       /* dlclose (self); */
   10406     }
   10407   else
   10408     puts (dlerror ());
   10409 
   10410   return status;
   10411 }
   10412 _LT_EOF
   10413   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10414   (eval $ac_link) 2>&5
   10415   ac_status=$?
   10416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10417   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10418     (./conftest; exit; ) >&5 2>/dev/null
   10419     lt_status=$?
   10420     case x$lt_status in
   10421       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10422       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10423       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10424     esac
   10425   else :
   10426     # compilation failed
   10427     lt_cv_dlopen_self_static=no
   10428   fi
   10429 fi
   10430 rm -fr conftest*
   10431 
   10432 
   10433 fi
   10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   10435 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10436     fi
   10437 
   10438     CPPFLAGS="$save_CPPFLAGS"
   10439     LDFLAGS="$save_LDFLAGS"
   10440     LIBS="$save_LIBS"
   10441     ;;
   10442   esac
   10443 
   10444   case $lt_cv_dlopen_self in
   10445   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10446   *) enable_dlopen_self=unknown ;;
   10447   esac
   10448 
   10449   case $lt_cv_dlopen_self_static in
   10450   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10451   *) enable_dlopen_self_static=unknown ;;
   10452   esac
   10453 fi
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 striplib=
   10472 old_striplib=
   10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   10474 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10475 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10476   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10477   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10479 $as_echo "yes" >&6; }
   10480 else
   10481 # FIXME - insert some real tests, host_os isn't really good enough
   10482   case $host_os in
   10483   darwin*)
   10484     if test -n "$STRIP" ; then
   10485       striplib="$STRIP -x"
   10486       old_striplib="$STRIP -S"
   10487       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10488 $as_echo "yes" >&6; }
   10489     else
   10490       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10491 $as_echo "no" >&6; }
   10492     fi
   10493     ;;
   10494   *)
   10495     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10496 $as_echo "no" >&6; }
   10497     ;;
   10498   esac
   10499 fi
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512   # Report which library types will actually be built
   10513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   10514 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   10516 $as_echo "$can_build_shared" >&6; }
   10517 
   10518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   10519 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10520   test "$can_build_shared" = "no" && enable_shared=no
   10521 
   10522   # On AIX, shared libraries and static libraries use the same namespace, and
   10523   # are all built from PIC.
   10524   case $host_os in
   10525   aix3*)
   10526     test "$enable_shared" = yes && enable_static=no
   10527     if test -n "$RANLIB"; then
   10528       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10529       postinstall_cmds='$RANLIB $lib'
   10530     fi
   10531     ;;
   10532 
   10533   aix[4-9]*)
   10534     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10535       test "$enable_shared" = yes && enable_static=no
   10536     fi
   10537     ;;
   10538   esac
   10539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   10540 $as_echo "$enable_shared" >&6; }
   10541 
   10542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   10543 $as_echo_n "checking whether to build static libraries... " >&6; }
   10544   # Make sure either enable_shared or enable_static is yes.
   10545   test "$enable_shared" = yes || enable_static=yes
   10546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   10547 $as_echo "$enable_static" >&6; }
   10548 
   10549 
   10550 
   10551 
   10552 fi
   10553 ac_ext=c
   10554 ac_cpp='$CPP $CPPFLAGS'
   10555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10558 
   10559 CC="$lt_save_CC"
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573         ac_config_commands="$ac_config_commands libtool"
   10574 
   10575 
   10576 
   10577 
   10578 # Only expand once:
   10579 
   10580 
   10581 
   10582 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   10595 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   10596 if ${ac_cv_prog_cc_c99+:} false; then :
   10597   $as_echo_n "(cached) " >&6
   10598 else
   10599   ac_cv_prog_cc_c99=no
   10600 ac_save_CC=$CC
   10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10602 /* end confdefs.h.  */
   10603 #include <stdarg.h>
   10604 #include <stdbool.h>
   10605 #include <stdlib.h>
   10606 #include <wchar.h>
   10607 #include <stdio.h>
   10608 
   10609 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   10610 #define debug(...) fprintf (stderr, __VA_ARGS__)
   10611 #define showlist(...) puts (#__VA_ARGS__)
   10612 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   10613 static void
   10614 test_varargs_macros (void)
   10615 {
   10616   int x = 1234;
   10617   int y = 5678;
   10618   debug ("Flag");
   10619   debug ("X = %d\n", x);
   10620   showlist (The first, second, and third items.);
   10621   report (x>y, "x is %d but y is %d", x, y);
   10622 }
   10623 
   10624 // Check long long types.
   10625 #define BIG64 18446744073709551615ull
   10626 #define BIG32 4294967295ul
   10627 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   10628 #if !BIG_OK
   10629   your preprocessor is broken;
   10630 #endif
   10631 #if BIG_OK
   10632 #else
   10633   your preprocessor is broken;
   10634 #endif
   10635 static long long int bignum = -9223372036854775807LL;
   10636 static unsigned long long int ubignum = BIG64;
   10637 
   10638 struct incomplete_array
   10639 {
   10640   int datasize;
   10641   double data[];
   10642 };
   10643 
   10644 struct named_init {
   10645   int number;
   10646   const wchar_t *name;
   10647   double average;
   10648 };
   10649 
   10650 typedef const char *ccp;
   10651 
   10652 static inline int
   10653 test_restrict (ccp restrict text)
   10654 {
   10655   // See if C++-style comments work.
   10656   // Iterate through items via the restricted pointer.
   10657   // Also check for declarations in for loops.
   10658   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   10659     continue;
   10660   return 0;
   10661 }
   10662 
   10663 // Check varargs and va_copy.
   10664 static void
   10665 test_varargs (const char *format, ...)
   10666 {
   10667   va_list args;
   10668   va_start (args, format);
   10669   va_list args_copy;
   10670   va_copy (args_copy, args);
   10671 
   10672   const char *str;
   10673   int number;
   10674   float fnumber;
   10675 
   10676   while (*format)
   10677     {
   10678       switch (*format++)
   10679 	{
   10680 	case 's': // string
   10681 	  str = va_arg (args_copy, const char *);
   10682 	  break;
   10683 	case 'd': // int
   10684 	  number = va_arg (args_copy, int);
   10685 	  break;
   10686 	case 'f': // float
   10687 	  fnumber = va_arg (args_copy, double);
   10688 	  break;
   10689 	default:
   10690 	  break;
   10691 	}
   10692     }
   10693   va_end (args_copy);
   10694   va_end (args);
   10695 }
   10696 
   10697 int
   10698 main ()
   10699 {
   10700 
   10701   // Check bool.
   10702   _Bool success = false;
   10703 
   10704   // Check restrict.
   10705   if (test_restrict ("String literal") == 0)
   10706     success = true;
   10707   char *restrict newvar = "Another string";
   10708 
   10709   // Check varargs.
   10710   test_varargs ("s, d' f .", "string", 65, 34.234);
   10711   test_varargs_macros ();
   10712 
   10713   // Check flexible array members.
   10714   struct incomplete_array *ia =
   10715     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   10716   ia->datasize = 10;
   10717   for (int i = 0; i < ia->datasize; ++i)
   10718     ia->data[i] = i * 1.234;
   10719 
   10720   // Check named initializers.
   10721   struct named_init ni = {
   10722     .number = 34,
   10723     .name = L"Test wide string",
   10724     .average = 543.34343,
   10725   };
   10726 
   10727   ni.number = 58;
   10728 
   10729   int dynamic_array[ni.number];
   10730   dynamic_array[ni.number - 1] = 543;
   10731 
   10732   // work around unused variable warnings
   10733   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   10734 	  || dynamic_array[ni.number - 1] != 543);
   10735 
   10736   ;
   10737   return 0;
   10738 }
   10739 _ACEOF
   10740 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   10741 do
   10742   CC="$ac_save_CC $ac_arg"
   10743   if ac_fn_c_try_compile "$LINENO"; then :
   10744   ac_cv_prog_cc_c99=$ac_arg
   10745 fi
   10746 rm -f core conftest.err conftest.$ac_objext
   10747   test "x$ac_cv_prog_cc_c99" != "xno" && break
   10748 done
   10749 rm -f conftest.$ac_ext
   10750 CC=$ac_save_CC
   10751 
   10752 fi
   10753 # AC_CACHE_VAL
   10754 case "x$ac_cv_prog_cc_c99" in
   10755   x)
   10756     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   10757 $as_echo "none needed" >&6; } ;;
   10758   xno)
   10759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   10760 $as_echo "unsupported" >&6; } ;;
   10761   *)
   10762     CC="$CC $ac_cv_prog_cc_c99"
   10763     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   10764 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   10765 esac
   10766 if test "x$ac_cv_prog_cc_c99" != xno; then :
   10767 
   10768 fi
   10769 
   10770 
   10771 
   10772 
   10773 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   10774 	if test -n "$ac_tool_prefix"; then
   10775   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   10776 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10778 $as_echo_n "checking for $ac_word... " >&6; }
   10779 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   10780   $as_echo_n "(cached) " >&6
   10781 else
   10782   case $PKG_CONFIG in
   10783   [\\/]* | ?:[\\/]*)
   10784   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   10785   ;;
   10786   *)
   10787   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10788 for as_dir in $PATH
   10789 do
   10790   IFS=$as_save_IFS
   10791   test -z "$as_dir" && as_dir=.
   10792     for ac_exec_ext in '' $ac_executable_extensions; do
   10793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10794     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   10795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10796     break 2
   10797   fi
   10798 done
   10799   done
   10800 IFS=$as_save_IFS
   10801 
   10802   ;;
   10803 esac
   10804 fi
   10805 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   10806 if test -n "$PKG_CONFIG"; then
   10807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   10808 $as_echo "$PKG_CONFIG" >&6; }
   10809 else
   10810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10811 $as_echo "no" >&6; }
   10812 fi
   10813 
   10814 
   10815 fi
   10816 if test -z "$ac_cv_path_PKG_CONFIG"; then
   10817   ac_pt_PKG_CONFIG=$PKG_CONFIG
   10818   # Extract the first word of "pkg-config", so it can be a program name with args.
   10819 set dummy pkg-config; ac_word=$2
   10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10821 $as_echo_n "checking for $ac_word... " >&6; }
   10822 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   10823   $as_echo_n "(cached) " >&6
   10824 else
   10825   case $ac_pt_PKG_CONFIG in
   10826   [\\/]* | ?:[\\/]*)
   10827   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   10828   ;;
   10829   *)
   10830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10831 for as_dir in $PATH
   10832 do
   10833   IFS=$as_save_IFS
   10834   test -z "$as_dir" && as_dir=.
   10835     for ac_exec_ext in '' $ac_executable_extensions; do
   10836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10837     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   10838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10839     break 2
   10840   fi
   10841 done
   10842   done
   10843 IFS=$as_save_IFS
   10844 
   10845   ;;
   10846 esac
   10847 fi
   10848 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   10849 if test -n "$ac_pt_PKG_CONFIG"; then
   10850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   10851 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   10852 else
   10853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10854 $as_echo "no" >&6; }
   10855 fi
   10856 
   10857   if test "x$ac_pt_PKG_CONFIG" = x; then
   10858     PKG_CONFIG=""
   10859   else
   10860     case $cross_compiling:$ac_tool_warned in
   10861 yes:)
   10862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10864 ac_tool_warned=yes ;;
   10865 esac
   10866     PKG_CONFIG=$ac_pt_PKG_CONFIG
   10867   fi
   10868 else
   10869   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   10870 fi
   10871 
   10872 fi
   10873 if test -n "$PKG_CONFIG"; then
   10874 	_pkg_min_version=0.9.0
   10875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   10876 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   10877 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   10878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10879 $as_echo "yes" >&6; }
   10880 	else
   10881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10882 $as_echo "no" >&6; }
   10883 		PKG_CONFIG=""
   10884 	fi
   10885 
   10886 fi
   10887 
   10888 
   10889 
   10890 
   10891 if  test "x$GCC" = xyes ; then
   10892     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   10893 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   10894 -Wbad-function-cast -Wformat=2"
   10895     case `$CC -dumpversion` in
   10896     3.4.* | 4.*)
   10897 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   10898 	;;
   10899     esac
   10900 else
   10901     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   10902 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   10903   SUNCC="yes"
   10904 else
   10905   SUNCC="no"
   10906 fi
   10907 
   10908     if test "x$SUNCC" = "xyes"; then
   10909 	CWARNFLAGS="-v"
   10910     fi
   10911 fi
   10912 
   10913 
   10914 
   10915 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   10916 
   10917 
   10918 
   10919 # Check whether --enable-strict-compilation was given.
   10920 if test "${enable_strict_compilation+set}" = set; then :
   10921   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10922 else
   10923   STRICT_COMPILE=no
   10924 fi
   10925 
   10926 if test "x$STRICT_COMPILE" = "xyes"; then
   10927 	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   10928 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   10929   SUNCC="yes"
   10930 else
   10931   SUNCC="no"
   10932 fi
   10933 
   10934 	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   10935 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   10936   INTELCC="yes"
   10937 else
   10938   INTELCC="no"
   10939 fi
   10940 
   10941 	if test "x$GCC" = xyes ; then
   10942 		STRICT_CFLAGS="-pedantic -Werror"
   10943 	elif test "x$SUNCC" = "xyes"; then
   10944 		STRICT_CFLAGS="-errwarn"
   10945     elif test "x$INTELCC" = "xyes"; then
   10946 		STRICT_CFLAGS="-Werror"
   10947 	fi
   10948 fi
   10949 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10950 
   10951 
   10952 
   10953 
   10954 cat >>confdefs.h <<_ACEOF
   10955 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10956 _ACEOF
   10957 
   10958 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10959 	if test "x$PVM" = "x"; then
   10960 		PVM="0"
   10961 	fi
   10962 
   10963 cat >>confdefs.h <<_ACEOF
   10964 #define PACKAGE_VERSION_MINOR $PVM
   10965 _ACEOF
   10966 
   10967 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10968 	if test "x$PVP" = "x"; then
   10969 		PVP="0"
   10970 	fi
   10971 
   10972 cat >>confdefs.h <<_ACEOF
   10973 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10974 _ACEOF
   10975 
   10976 
   10977 
   10978 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10979 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10980 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10981 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10982 
   10983 
   10984 
   10985 
   10986 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10987 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10988 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10989 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10990 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 if test x$APP_MAN_SUFFIX = x    ; then
   10998     APP_MAN_SUFFIX=1
   10999 fi
   11000 if test x$APP_MAN_DIR = x    ; then
   11001     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11002 fi
   11003 
   11004 if test x$LIB_MAN_SUFFIX = x    ; then
   11005     LIB_MAN_SUFFIX=3
   11006 fi
   11007 if test x$LIB_MAN_DIR = x    ; then
   11008     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11009 fi
   11010 
   11011 if test x$FILE_MAN_SUFFIX = x    ; then
   11012     case $host_os in
   11013 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   11014 	*)		FILE_MAN_SUFFIX=5  ;;
   11015     esac
   11016 fi
   11017 if test x$FILE_MAN_DIR = x    ; then
   11018     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11019 fi
   11020 
   11021 if test x$MISC_MAN_SUFFIX = x    ; then
   11022     case $host_os in
   11023 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11024 	*)		MISC_MAN_SUFFIX=7  ;;
   11025     esac
   11026 fi
   11027 if test x$MISC_MAN_DIR = x    ; then
   11028     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11029 fi
   11030 
   11031 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11032     case $host_os in
   11033 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11034 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11035     esac
   11036 fi
   11037 if test x$DRIVER_MAN_DIR = x    ; then
   11038     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11039 fi
   11040 
   11041 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11042     case $host_os in
   11043 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11044 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11045     esac
   11046 fi
   11047 if test x$ADMIN_MAN_DIR = x    ; then
   11048     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11049 fi
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 XORG_MAN_PAGE="X Version 11"
   11066 
   11067 MAN_SUBSTS="\
   11068 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11069 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11070 	-e 's|__xservername__|Xorg|g' \
   11071 	-e 's|__xconfigfile__|xorg.conf|g' \
   11072 	-e 's|__projectroot__|\$(prefix)|g' \
   11073 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11074 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11075 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11076 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11077 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11078 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11079 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11080 
   11081 
   11082 
   11083 # Check whether --enable-silent-rules was given.
   11084 if test "${enable_silent_rules+set}" = set; then :
   11085   enableval=$enable_silent_rules;
   11086 fi
   11087 
   11088 case $enable_silent_rules in
   11089 yes) AM_DEFAULT_VERBOSITY=0;;
   11090 no)  AM_DEFAULT_VERBOSITY=1;;
   11091 *)   AM_DEFAULT_VERBOSITY=0;;
   11092 esac
   11093 AM_BACKSLASH='\'
   11094 
   11095 
   11096 
   11097 # Checks for library functions
   11098 for ac_func in strlcat
   11099 do :
   11100   ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   11101 if test "x$ac_cv_func_strlcat" = xyes; then :
   11102   cat >>confdefs.h <<_ACEOF
   11103 #define HAVE_STRLCAT 1
   11104 _ACEOF
   11105 
   11106 fi
   11107 done
   11108 
   11109 
   11110 # Obtain compiler/linker options for dependencies
   11111 
   11112 pkg_failed=no
   11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5
   11114 $as_echo_n "checking for XPM... " >&6; }
   11115 
   11116 if test -n "$XPM_CFLAGS"; then
   11117     pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
   11118  elif test -n "$PKG_CONFIG"; then
   11119     if test -n "$PKG_CONFIG" && \
   11120     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   11121   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   11122   ac_status=$?
   11123   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11124   test $ac_status = 0; }; then
   11125   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
   11126 else
   11127   pkg_failed=yes
   11128 fi
   11129  else
   11130     pkg_failed=untried
   11131 fi
   11132 if test -n "$XPM_LIBS"; then
   11133     pkg_cv_XPM_LIBS="$XPM_LIBS"
   11134  elif test -n "$PKG_CONFIG"; then
   11135     if test -n "$PKG_CONFIG" && \
   11136     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   11137   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   11138   ac_status=$?
   11139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11140   test $ac_status = 0; }; then
   11141   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
   11142 else
   11143   pkg_failed=yes
   11144 fi
   11145  else
   11146     pkg_failed=untried
   11147 fi
   11148 
   11149 
   11150 
   11151 if test $pkg_failed = yes; then
   11152 
   11153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11154         _pkg_short_errors_supported=yes
   11155 else
   11156         _pkg_short_errors_supported=no
   11157 fi
   11158         if test $_pkg_short_errors_supported = yes; then
   11159 	        XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11" 2>&1`
   11160         else
   11161 	        XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11" 2>&1`
   11162         fi
   11163 	# Put the nasty error message in config.log where it belongs
   11164 	echo "$XPM_PKG_ERRORS" >&5
   11165 
   11166 	as_fn_error $? "Package requirements (xproto x11) were not met:
   11167 
   11168 $XPM_PKG_ERRORS
   11169 
   11170 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11171 installed software in a non-standard prefix.
   11172 
   11173 Alternatively, you may set the environment variables XPM_CFLAGS
   11174 and XPM_LIBS to avoid the need to call pkg-config.
   11175 See the pkg-config man page for more details.
   11176 " "$LINENO" 5
   11177 elif test $pkg_failed = untried; then
   11178 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11180 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11181 is in your PATH or set the PKG_CONFIG environment variable to the full
   11182 path to pkg-config.
   11183 
   11184 Alternatively, you may set the environment variables XPM_CFLAGS
   11185 and XPM_LIBS to avoid the need to call pkg-config.
   11186 See the pkg-config man page for more details.
   11187 
   11188 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11189 See \`config.log' for more details" "$LINENO" 5; }
   11190 else
   11191 	XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   11192 	XPM_LIBS=$pkg_cv_XPM_LIBS
   11193         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11194 $as_echo "yes" >&6; }
   11195 	:
   11196 fi
   11197 
   11198 pkg_failed=no
   11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SXPM" >&5
   11200 $as_echo_n "checking for SXPM... " >&6; }
   11201 
   11202 if test -n "$SXPM_CFLAGS"; then
   11203     pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
   11204  elif test -n "$PKG_CONFIG"; then
   11205     if test -n "$PKG_CONFIG" && \
   11206     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\""; } >&5
   11207   ($PKG_CONFIG --exists --print-errors "xt xext xextproto") 2>&5
   11208   ac_status=$?
   11209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11210   test $ac_status = 0; }; then
   11211   pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "xt xext xextproto" 2>/dev/null`
   11212 else
   11213   pkg_failed=yes
   11214 fi
   11215  else
   11216     pkg_failed=untried
   11217 fi
   11218 if test -n "$SXPM_LIBS"; then
   11219     pkg_cv_SXPM_LIBS="$SXPM_LIBS"
   11220  elif test -n "$PKG_CONFIG"; then
   11221     if test -n "$PKG_CONFIG" && \
   11222     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\""; } >&5
   11223   ($PKG_CONFIG --exists --print-errors "xt xext xextproto") 2>&5
   11224   ac_status=$?
   11225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11226   test $ac_status = 0; }; then
   11227   pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "xt xext xextproto" 2>/dev/null`
   11228 else
   11229   pkg_failed=yes
   11230 fi
   11231  else
   11232     pkg_failed=untried
   11233 fi
   11234 
   11235 
   11236 
   11237 if test $pkg_failed = yes; then
   11238 
   11239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11240         _pkg_short_errors_supported=yes
   11241 else
   11242         _pkg_short_errors_supported=no
   11243 fi
   11244         if test $_pkg_short_errors_supported = yes; then
   11245 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt xext xextproto" 2>&1`
   11246         else
   11247 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt xext xextproto" 2>&1`
   11248         fi
   11249 	# Put the nasty error message in config.log where it belongs
   11250 	echo "$SXPM_PKG_ERRORS" >&5
   11251 
   11252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11253 $as_echo "no" >&6; }
   11254                 build_sxpm=false
   11255 elif test $pkg_failed = untried; then
   11256 	build_sxpm=false
   11257 else
   11258 	SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
   11259 	SXPM_LIBS=$pkg_cv_SXPM_LIBS
   11260         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11261 $as_echo "yes" >&6; }
   11262 	build_sxpm=true
   11263 fi
   11264  if test x$build_sxpm = xtrue; then
   11265   BUILD_SXPM_TRUE=
   11266   BUILD_SXPM_FALSE='#'
   11267 else
   11268   BUILD_SXPM_TRUE='#'
   11269   BUILD_SXPM_FALSE=
   11270 fi
   11271 
   11272 
   11273 # Internationalization & localization support
   11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   11275 $as_echo_n "checking for library containing gettext... " >&6; }
   11276 if ${ac_cv_search_gettext+:} false; then :
   11277   $as_echo_n "(cached) " >&6
   11278 else
   11279   ac_func_search_save_LIBS=$LIBS
   11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11281 /* end confdefs.h.  */
   11282 
   11283 /* Override any GCC internal prototype to avoid an error.
   11284    Use char because int might match the return type of a GCC
   11285    builtin and then its argument prototype would still apply.  */
   11286 #ifdef __cplusplus
   11287 extern "C"
   11288 #endif
   11289 char gettext ();
   11290 int
   11291 main ()
   11292 {
   11293 return gettext ();
   11294   ;
   11295   return 0;
   11296 }
   11297 _ACEOF
   11298 for ac_lib in '' intl; do
   11299   if test -z "$ac_lib"; then
   11300     ac_res="none required"
   11301   else
   11302     ac_res=-l$ac_lib
   11303     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11304   fi
   11305   if ac_fn_c_try_link "$LINENO"; then :
   11306   ac_cv_search_gettext=$ac_res
   11307 fi
   11308 rm -f core conftest.err conftest.$ac_objext \
   11309     conftest$ac_exeext
   11310   if ${ac_cv_search_gettext+:} false; then :
   11311   break
   11312 fi
   11313 done
   11314 if ${ac_cv_search_gettext+:} false; then :
   11315 
   11316 else
   11317   ac_cv_search_gettext=no
   11318 fi
   11319 rm conftest.$ac_ext
   11320 LIBS=$ac_func_search_save_LIBS
   11321 fi
   11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   11323 $as_echo "$ac_cv_search_gettext" >&6; }
   11324 ac_res=$ac_cv_search_gettext
   11325 if test "$ac_res" != no; then :
   11326   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11327   USE_GETTEXT="yes"
   11328 else
   11329   USE_GETTEXT="no"
   11330 fi
   11331 
   11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   11333 $as_echo_n "checking where to install localized messages... " >&6; }
   11334 
   11335 # Check whether --with-localedir was given.
   11336 if test "${with_localedir+set}" = set; then :
   11337   withval=$with_localedir; LOCALEDIR=${withval}
   11338 else
   11339   LOCALEDIR=${datadir}/locale
   11340 fi
   11341 
   11342 
   11343   prefix_NONE=
   11344   exec_prefix_NONE=
   11345   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   11346   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   11347   eval ax_define_dir="\"$LOCALEDIR\""
   11348   eval ax_define_dir="\"$ax_define_dir\""
   11349   LOCALEDIR="$ax_define_dir"
   11350 
   11351 
   11352 cat >>confdefs.h <<_ACEOF
   11353 #define LOCALEDIR "$ax_define_dir"
   11354 _ACEOF
   11355 
   11356   test "$prefix_NONE" && prefix=NONE
   11357   test "$exec_prefix_NONE" && exec_prefix=NONE
   11358 
   11359 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   11360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   11361 $as_echo "nowhere" >&6; }
   11362 	USE_GETTEXT="no"
   11363 else
   11364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   11365 $as_echo "$LOCALEDIR" >&6; }
   11366 fi
   11367 
   11368 if test "x$USE_GETTEXT" = "xyes" ; then
   11369 
   11370 $as_echo "#define USE_GETTEXT 1" >>confdefs.h
   11371 
   11372 fi
   11373  if test "x$USE_GETTEXT" = "xyes"; then
   11374   USE_GETTEXT_TRUE=
   11375   USE_GETTEXT_FALSE='#'
   11376 else
   11377   USE_GETTEXT_TRUE='#'
   11378   USE_GETTEXT_FALSE=
   11379 fi
   11380 
   11381 
   11382 # Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz
   11383 # Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile
   11384 # Check whether --enable-stat-zfile was given.
   11385 if test "${enable_stat_zfile+set}" = set; then :
   11386   enableval=$enable_stat_zfile; STAT_ZFILE=$enableval
   11387 else
   11388   STAT_ZFILE=yes
   11389 fi
   11390 
   11391 if test x$STAT_ZFILE = xyes ; then
   11392 
   11393 $as_echo "#define STAT_ZFILE 1" >>confdefs.h
   11394 
   11395 fi
   11396 
   11397 ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile src/Makefile sxpm/Makefile cxpm/Makefile xpm.pc"
   11398 
   11399 cat >confcache <<\_ACEOF
   11400 # This file is a shell script that caches the results of configure
   11401 # tests run on this system so they can be shared between configure
   11402 # scripts and configure runs, see configure's option --config-cache.
   11403 # It is not useful on other systems.  If it contains results you don't
   11404 # want to keep, you may remove or edit it.
   11405 #
   11406 # config.status only pays attention to the cache file if you give it
   11407 # the --recheck option to rerun configure.
   11408 #
   11409 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11410 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11411 # following values.
   11412 
   11413 _ACEOF
   11414 
   11415 # The following way of writing the cache mishandles newlines in values,
   11416 # but we know of no workaround that is simple, portable, and efficient.
   11417 # So, we kill variables containing newlines.
   11418 # Ultrix sh set writes to stderr and can't be redirected directly,
   11419 # and sets the high bit in the cache file unless we assign to the vars.
   11420 (
   11421   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11422     eval ac_val=\$$ac_var
   11423     case $ac_val in #(
   11424     *${as_nl}*)
   11425       case $ac_var in #(
   11426       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11427 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11428       esac
   11429       case $ac_var in #(
   11430       _ | IFS | as_nl) ;; #(
   11431       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11432       *) { eval $ac_var=; unset $ac_var;} ;;
   11433       esac ;;
   11434     esac
   11435   done
   11436 
   11437   (set) 2>&1 |
   11438     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11439     *${as_nl}ac_space=\ *)
   11440       # `set' does not quote correctly, so add quotes: double-quote
   11441       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11442       sed -n \
   11443 	"s/'/'\\\\''/g;
   11444 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11445       ;; #(
   11446     *)
   11447       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11448       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11449       ;;
   11450     esac |
   11451     sort
   11452 ) |
   11453   sed '
   11454      /^ac_cv_env_/b end
   11455      t clear
   11456      :clear
   11457      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11458      t end
   11459      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11460      :end' >>confcache
   11461 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11462   if test -w "$cache_file"; then
   11463     if test "x$cache_file" != "x/dev/null"; then
   11464       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11465 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11466       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11467 	cat confcache >"$cache_file"
   11468       else
   11469         case $cache_file in #(
   11470         */* | ?:*)
   11471 	  mv -f confcache "$cache_file"$$ &&
   11472 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11473         *)
   11474 	  mv -f confcache "$cache_file" ;;
   11475 	esac
   11476       fi
   11477     fi
   11478   else
   11479     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11480 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11481   fi
   11482 fi
   11483 rm -f confcache
   11484 
   11485 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11486 # Let make expand exec_prefix.
   11487 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11488 
   11489 DEFS=-DHAVE_CONFIG_H
   11490 
   11491 ac_libobjs=
   11492 ac_ltlibobjs=
   11493 U=
   11494 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11495   # 1. Remove the extension, and $U if already installed.
   11496   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11497   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11498   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11499   #    will be set to the directory where LIBOBJS objects are built.
   11500   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11501   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11502 done
   11503 LIBOBJS=$ac_libobjs
   11504 
   11505 LTLIBOBJS=$ac_ltlibobjs
   11506 
   11507 
   11508  if test -n "$EXEEXT"; then
   11509   am__EXEEXT_TRUE=
   11510   am__EXEEXT_FALSE='#'
   11511 else
   11512   am__EXEEXT_TRUE='#'
   11513   am__EXEEXT_FALSE=
   11514 fi
   11515 
   11516 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11517   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11519 fi
   11520 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11521   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11523 fi
   11524 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11525   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11527 fi
   11528 if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
   11529   as_fn_error $? "conditional \"BUILD_SXPM\" was never defined.
   11530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11531 fi
   11532 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   11533   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   11534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11535 fi
   11536 
   11537 : "${CONFIG_STATUS=./config.status}"
   11538 ac_write_fail=0
   11539 ac_clean_files_save=$ac_clean_files
   11540 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11541 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11542 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11543 as_write_fail=0
   11544 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11545 #! $SHELL
   11546 # Generated by $as_me.
   11547 # Run this file to recreate the current configuration.
   11548 # Compiler output produced by configure, useful for debugging
   11549 # configure, is in config.log if it exists.
   11550 
   11551 debug=false
   11552 ac_cs_recheck=false
   11553 ac_cs_silent=false
   11554 
   11555 SHELL=\${CONFIG_SHELL-$SHELL}
   11556 export SHELL
   11557 _ASEOF
   11558 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11559 ## -------------------- ##
   11560 ## M4sh Initialization. ##
   11561 ## -------------------- ##
   11562 
   11563 # Be more Bourne compatible
   11564 DUALCASE=1; export DUALCASE # for MKS sh
   11565 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11566   emulate sh
   11567   NULLCMD=:
   11568   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11569   # is contrary to our usage.  Disable this feature.
   11570   alias -g '${1+"$@"}'='"$@"'
   11571   setopt NO_GLOB_SUBST
   11572 else
   11573   case `(set -o) 2>/dev/null` in #(
   11574   *posix*) :
   11575     set -o posix ;; #(
   11576   *) :
   11577      ;;
   11578 esac
   11579 fi
   11580 
   11581 
   11582 as_nl='
   11583 '
   11584 export as_nl
   11585 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11586 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11588 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11589 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11590 # but without wasting forks for bash or zsh.
   11591 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11592     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11593   as_echo='print -r --'
   11594   as_echo_n='print -rn --'
   11595 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11596   as_echo='printf %s\n'
   11597   as_echo_n='printf %s'
   11598 else
   11599   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11600     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11601     as_echo_n='/usr/ucb/echo -n'
   11602   else
   11603     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11604     as_echo_n_body='eval
   11605       arg=$1;
   11606       case $arg in #(
   11607       *"$as_nl"*)
   11608 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11609 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11610       esac;
   11611       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11612     '
   11613     export as_echo_n_body
   11614     as_echo_n='sh -c $as_echo_n_body as_echo'
   11615   fi
   11616   export as_echo_body
   11617   as_echo='sh -c $as_echo_body as_echo'
   11618 fi
   11619 
   11620 # The user is always right.
   11621 if test "${PATH_SEPARATOR+set}" != set; then
   11622   PATH_SEPARATOR=:
   11623   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11624     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11625       PATH_SEPARATOR=';'
   11626   }
   11627 fi
   11628 
   11629 
   11630 # IFS
   11631 # We need space, tab and new line, in precisely that order.  Quoting is
   11632 # there to prevent editors from complaining about space-tab.
   11633 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11634 # splitting by setting IFS to empty value.)
   11635 IFS=" ""	$as_nl"
   11636 
   11637 # Find who we are.  Look in the path if we contain no directory separator.
   11638 as_myself=
   11639 case $0 in #((
   11640   *[\\/]* ) as_myself=$0 ;;
   11641   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11642 for as_dir in $PATH
   11643 do
   11644   IFS=$as_save_IFS
   11645   test -z "$as_dir" && as_dir=.
   11646     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11647   done
   11648 IFS=$as_save_IFS
   11649 
   11650      ;;
   11651 esac
   11652 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11653 # in which case we are not to be found in the path.
   11654 if test "x$as_myself" = x; then
   11655   as_myself=$0
   11656 fi
   11657 if test ! -f "$as_myself"; then
   11658   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11659   exit 1
   11660 fi
   11661 
   11662 # Unset variables that we do not need and which cause bugs (e.g. in
   11663 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11664 # suppresses any "Segmentation fault" message there.  '((' could
   11665 # trigger a bug in pdksh 5.2.14.
   11666 for as_var in BASH_ENV ENV MAIL MAILPATH
   11667 do eval test x\${$as_var+set} = xset \
   11668   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11669 done
   11670 PS1='$ '
   11671 PS2='> '
   11672 PS4='+ '
   11673 
   11674 # NLS nuisances.
   11675 LC_ALL=C
   11676 export LC_ALL
   11677 LANGUAGE=C
   11678 export LANGUAGE
   11679 
   11680 # CDPATH.
   11681 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11682 
   11683 
   11684 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11685 # ----------------------------------------
   11686 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11687 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11688 # script with STATUS, using 1 if that was 0.
   11689 as_fn_error ()
   11690 {
   11691   as_status=$1; test $as_status -eq 0 && as_status=1
   11692   if test "$4"; then
   11693     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11694     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11695   fi
   11696   $as_echo "$as_me: error: $2" >&2
   11697   as_fn_exit $as_status
   11698 } # as_fn_error
   11699 
   11700 
   11701 # as_fn_set_status STATUS
   11702 # -----------------------
   11703 # Set $? to STATUS, without forking.
   11704 as_fn_set_status ()
   11705 {
   11706   return $1
   11707 } # as_fn_set_status
   11708 
   11709 # as_fn_exit STATUS
   11710 # -----------------
   11711 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11712 as_fn_exit ()
   11713 {
   11714   set +e
   11715   as_fn_set_status $1
   11716   exit $1
   11717 } # as_fn_exit
   11718 
   11719 # as_fn_unset VAR
   11720 # ---------------
   11721 # Portably unset VAR.
   11722 as_fn_unset ()
   11723 {
   11724   { eval $1=; unset $1;}
   11725 }
   11726 as_unset=as_fn_unset
   11727 # as_fn_append VAR VALUE
   11728 # ----------------------
   11729 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11730 # advantage of any shell optimizations that allow amortized linear growth over
   11731 # repeated appends, instead of the typical quadratic growth present in naive
   11732 # implementations.
   11733 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11734   eval 'as_fn_append ()
   11735   {
   11736     eval $1+=\$2
   11737   }'
   11738 else
   11739   as_fn_append ()
   11740   {
   11741     eval $1=\$$1\$2
   11742   }
   11743 fi # as_fn_append
   11744 
   11745 # as_fn_arith ARG...
   11746 # ------------------
   11747 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11748 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11749 # must be portable across $(()) and expr.
   11750 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11751   eval 'as_fn_arith ()
   11752   {
   11753     as_val=$(( $* ))
   11754   }'
   11755 else
   11756   as_fn_arith ()
   11757   {
   11758     as_val=`expr "$@" || test $? -eq 1`
   11759   }
   11760 fi # as_fn_arith
   11761 
   11762 
   11763 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11764    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11765   as_expr=expr
   11766 else
   11767   as_expr=false
   11768 fi
   11769 
   11770 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11771   as_basename=basename
   11772 else
   11773   as_basename=false
   11774 fi
   11775 
   11776 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11777   as_dirname=dirname
   11778 else
   11779   as_dirname=false
   11780 fi
   11781 
   11782 as_me=`$as_basename -- "$0" ||
   11783 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11784 	 X"$0" : 'X\(//\)$' \| \
   11785 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11786 $as_echo X/"$0" |
   11787     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11788 	    s//\1/
   11789 	    q
   11790 	  }
   11791 	  /^X\/\(\/\/\)$/{
   11792 	    s//\1/
   11793 	    q
   11794 	  }
   11795 	  /^X\/\(\/\).*/{
   11796 	    s//\1/
   11797 	    q
   11798 	  }
   11799 	  s/.*/./; q'`
   11800 
   11801 # Avoid depending upon Character Ranges.
   11802 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11803 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11804 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11805 as_cr_digits='0123456789'
   11806 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11807 
   11808 ECHO_C= ECHO_N= ECHO_T=
   11809 case `echo -n x` in #(((((
   11810 -n*)
   11811   case `echo 'xy\c'` in
   11812   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11813   xy)  ECHO_C='\c';;
   11814   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11815        ECHO_T='	';;
   11816   esac;;
   11817 *)
   11818   ECHO_N='-n';;
   11819 esac
   11820 
   11821 rm -f conf$$ conf$$.exe conf$$.file
   11822 if test -d conf$$.dir; then
   11823   rm -f conf$$.dir/conf$$.file
   11824 else
   11825   rm -f conf$$.dir
   11826   mkdir conf$$.dir 2>/dev/null
   11827 fi
   11828 if (echo >conf$$.file) 2>/dev/null; then
   11829   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11830     as_ln_s='ln -s'
   11831     # ... but there are two gotchas:
   11832     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11833     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11834     # In both cases, we have to default to `cp -p'.
   11835     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11836       as_ln_s='cp -p'
   11837   elif ln conf$$.file conf$$ 2>/dev/null; then
   11838     as_ln_s=ln
   11839   else
   11840     as_ln_s='cp -p'
   11841   fi
   11842 else
   11843   as_ln_s='cp -p'
   11844 fi
   11845 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11846 rmdir conf$$.dir 2>/dev/null
   11847 
   11848 
   11849 # as_fn_mkdir_p
   11850 # -------------
   11851 # Create "$as_dir" as a directory, including parents if necessary.
   11852 as_fn_mkdir_p ()
   11853 {
   11854 
   11855   case $as_dir in #(
   11856   -*) as_dir=./$as_dir;;
   11857   esac
   11858   test -d "$as_dir" || eval $as_mkdir_p || {
   11859     as_dirs=
   11860     while :; do
   11861       case $as_dir in #(
   11862       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11863       *) as_qdir=$as_dir;;
   11864       esac
   11865       as_dirs="'$as_qdir' $as_dirs"
   11866       as_dir=`$as_dirname -- "$as_dir" ||
   11867 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11868 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11869 	 X"$as_dir" : 'X\(//\)$' \| \
   11870 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11871 $as_echo X"$as_dir" |
   11872     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11873 	    s//\1/
   11874 	    q
   11875 	  }
   11876 	  /^X\(\/\/\)[^/].*/{
   11877 	    s//\1/
   11878 	    q
   11879 	  }
   11880 	  /^X\(\/\/\)$/{
   11881 	    s//\1/
   11882 	    q
   11883 	  }
   11884 	  /^X\(\/\).*/{
   11885 	    s//\1/
   11886 	    q
   11887 	  }
   11888 	  s/.*/./; q'`
   11889       test -d "$as_dir" && break
   11890     done
   11891     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11892   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11893 
   11894 
   11895 } # as_fn_mkdir_p
   11896 if mkdir -p . 2>/dev/null; then
   11897   as_mkdir_p='mkdir -p "$as_dir"'
   11898 else
   11899   test -d ./-p && rmdir ./-p
   11900   as_mkdir_p=false
   11901 fi
   11902 
   11903 if test -x / >/dev/null 2>&1; then
   11904   as_test_x='test -x'
   11905 else
   11906   if ls -dL / >/dev/null 2>&1; then
   11907     as_ls_L_option=L
   11908   else
   11909     as_ls_L_option=
   11910   fi
   11911   as_test_x='
   11912     eval sh -c '\''
   11913       if test -d "$1"; then
   11914 	test -d "$1/.";
   11915       else
   11916 	case $1 in #(
   11917 	-*)set "./$1";;
   11918 	esac;
   11919 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11920 	???[sx]*):;;*)false;;esac;fi
   11921     '\'' sh
   11922   '
   11923 fi
   11924 as_executable_p=$as_test_x
   11925 
   11926 # Sed expression to map a string onto a valid CPP name.
   11927 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11928 
   11929 # Sed expression to map a string onto a valid variable name.
   11930 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11931 
   11932 
   11933 exec 6>&1
   11934 ## ----------------------------------- ##
   11935 ## Main body of $CONFIG_STATUS script. ##
   11936 ## ----------------------------------- ##
   11937 _ASEOF
   11938 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11939 
   11940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11941 # Save the log message, to keep $0 and so on meaningful, and to
   11942 # report actual input values of CONFIG_FILES etc. instead of their
   11943 # values after options handling.
   11944 ac_log="
   11945 This file was extended by libXpm $as_me 3.5.9, which was
   11946 generated by GNU Autoconf 2.68.  Invocation command line was
   11947 
   11948   CONFIG_FILES    = $CONFIG_FILES
   11949   CONFIG_HEADERS  = $CONFIG_HEADERS
   11950   CONFIG_LINKS    = $CONFIG_LINKS
   11951   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11952   $ $0 $@
   11953 
   11954 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11955 "
   11956 
   11957 _ACEOF
   11958 
   11959 case $ac_config_files in *"
   11960 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11961 esac
   11962 
   11963 case $ac_config_headers in *"
   11964 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11965 esac
   11966 
   11967 
   11968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11969 # Files that config.status was made for.
   11970 config_files="$ac_config_files"
   11971 config_headers="$ac_config_headers"
   11972 config_commands="$ac_config_commands"
   11973 
   11974 _ACEOF
   11975 
   11976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11977 ac_cs_usage="\
   11978 \`$as_me' instantiates files and other configuration actions
   11979 from templates according to the current configuration.  Unless the files
   11980 and actions are specified as TAGs, all are instantiated by default.
   11981 
   11982 Usage: $0 [OPTION]... [TAG]...
   11983 
   11984   -h, --help       print this help, then exit
   11985   -V, --version    print version number and configuration settings, then exit
   11986       --config     print configuration, then exit
   11987   -q, --quiet, --silent
   11988                    do not print progress messages
   11989   -d, --debug      don't remove temporary files
   11990       --recheck    update $as_me by reconfiguring in the same conditions
   11991       --file=FILE[:TEMPLATE]
   11992                    instantiate the configuration file FILE
   11993       --header=FILE[:TEMPLATE]
   11994                    instantiate the configuration header FILE
   11995 
   11996 Configuration files:
   11997 $config_files
   11998 
   11999 Configuration headers:
   12000 $config_headers
   12001 
   12002 Configuration commands:
   12003 $config_commands
   12004 
   12005 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12006 
   12007 _ACEOF
   12008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12009 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12010 ac_cs_version="\\
   12011 libXpm config.status 3.5.9
   12012 configured by $0, generated by GNU Autoconf 2.68,
   12013   with options \\"\$ac_cs_config\\"
   12014 
   12015 Copyright (C) 2010 Free Software Foundation, Inc.
   12016 This config.status script is free software; the Free Software Foundation
   12017 gives unlimited permission to copy, distribute and modify it."
   12018 
   12019 ac_pwd='$ac_pwd'
   12020 srcdir='$srcdir'
   12021 INSTALL='$INSTALL'
   12022 MKDIR_P='$MKDIR_P'
   12023 AWK='$AWK'
   12024 test -n "\$AWK" || AWK=awk
   12025 _ACEOF
   12026 
   12027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12028 # The default lists apply if the user does not specify any file.
   12029 ac_need_defaults=:
   12030 while test $# != 0
   12031 do
   12032   case $1 in
   12033   --*=?*)
   12034     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12035     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12036     ac_shift=:
   12037     ;;
   12038   --*=)
   12039     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12040     ac_optarg=
   12041     ac_shift=:
   12042     ;;
   12043   *)
   12044     ac_option=$1
   12045     ac_optarg=$2
   12046     ac_shift=shift
   12047     ;;
   12048   esac
   12049 
   12050   case $ac_option in
   12051   # Handling of the options.
   12052   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12053     ac_cs_recheck=: ;;
   12054   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12055     $as_echo "$ac_cs_version"; exit ;;
   12056   --config | --confi | --conf | --con | --co | --c )
   12057     $as_echo "$ac_cs_config"; exit ;;
   12058   --debug | --debu | --deb | --de | --d | -d )
   12059     debug=: ;;
   12060   --file | --fil | --fi | --f )
   12061     $ac_shift
   12062     case $ac_optarg in
   12063     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12064     '') as_fn_error $? "missing file argument" ;;
   12065     esac
   12066     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12067     ac_need_defaults=false;;
   12068   --header | --heade | --head | --hea )
   12069     $ac_shift
   12070     case $ac_optarg in
   12071     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12072     esac
   12073     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12074     ac_need_defaults=false;;
   12075   --he | --h)
   12076     # Conflict between --help and --header
   12077     as_fn_error $? "ambiguous option: \`$1'
   12078 Try \`$0 --help' for more information.";;
   12079   --help | --hel | -h )
   12080     $as_echo "$ac_cs_usage"; exit ;;
   12081   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12082   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12083     ac_cs_silent=: ;;
   12084 
   12085   # This is an error.
   12086   -*) as_fn_error $? "unrecognized option: \`$1'
   12087 Try \`$0 --help' for more information." ;;
   12088 
   12089   *) as_fn_append ac_config_targets " $1"
   12090      ac_need_defaults=false ;;
   12091 
   12092   esac
   12093   shift
   12094 done
   12095 
   12096 ac_configure_extra_args=
   12097 
   12098 if $ac_cs_silent; then
   12099   exec 6>/dev/null
   12100   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12101 fi
   12102 
   12103 _ACEOF
   12104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12105 if \$ac_cs_recheck; then
   12106   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12107   shift
   12108   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12109   CONFIG_SHELL='$SHELL'
   12110   export CONFIG_SHELL
   12111   exec "\$@"
   12112 fi
   12113 
   12114 _ACEOF
   12115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12116 exec 5>>config.log
   12117 {
   12118   echo
   12119   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12120 ## Running $as_me. ##
   12121 _ASBOX
   12122   $as_echo "$ac_log"
   12123 } >&5
   12124 
   12125 _ACEOF
   12126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12127 #
   12128 # INIT-COMMANDS
   12129 #
   12130 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12131 
   12132 
   12133 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12134 # if CDPATH is set.
   12135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12136 
   12137 sed_quote_subst='$sed_quote_subst'
   12138 double_quote_subst='$double_quote_subst'
   12139 delay_variable_subst='$delay_variable_subst'
   12140 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   12141 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   12142 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   12143 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   12144 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   12145 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   12146 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   12147 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   12148 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   12149 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   12150 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   12151 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   12152 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   12153 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   12154 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   12155 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   12156 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   12157 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   12158 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   12159 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   12160 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   12161 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   12162 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   12163 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   12164 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   12165 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   12166 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   12167 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   12168 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   12169 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   12170 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   12171 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   12172 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   12173 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   12174 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   12175 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   12176 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   12177 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   12178 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   12179 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   12180 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   12181 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   12182 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   12183 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   12184 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   12185 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   12186 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   12187 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   12188 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   12189 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   12190 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   12191 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   12192 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   12193 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   12194 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   12195 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   12196 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   12197 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   12198 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   12199 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   12200 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   12201 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   12202 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   12203 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   12204 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   12205 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   12206 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   12207 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   12208 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   12209 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   12210 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   12211 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   12212 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   12213 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   12214 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   12215 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   12216 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   12217 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   12218 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   12219 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   12220 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   12221 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   12222 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   12223 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   12224 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   12225 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   12226 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   12227 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   12228 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   12229 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   12230 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   12231 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   12232 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   12233 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   12234 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   12235 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   12236 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   12237 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   12238 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   12239 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   12240 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   12241 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   12242 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   12243 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   12244 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   12245 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   12246 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   12247 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   12248 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   12249 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   12250 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   12251 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   12252 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   12253 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   12254 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   12255 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   12256 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   12257 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   12258 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   12259 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   12260 
   12261 LTCC='$LTCC'
   12262 LTCFLAGS='$LTCFLAGS'
   12263 compiler='$compiler_DEFAULT'
   12264 
   12265 # A function that is used when there is no print builtin or printf.
   12266 func_fallback_echo ()
   12267 {
   12268   eval 'cat <<_LTECHO_EOF
   12269 \$1
   12270 _LTECHO_EOF'
   12271 }
   12272 
   12273 # Quote evaled strings.
   12274 for var in SHELL \
   12275 ECHO \
   12276 SED \
   12277 GREP \
   12278 EGREP \
   12279 FGREP \
   12280 LD \
   12281 NM \
   12282 LN_S \
   12283 lt_SP2NL \
   12284 lt_NL2SP \
   12285 reload_flag \
   12286 OBJDUMP \
   12287 deplibs_check_method \
   12288 file_magic_cmd \
   12289 AR \
   12290 AR_FLAGS \
   12291 STRIP \
   12292 RANLIB \
   12293 CC \
   12294 CFLAGS \
   12295 compiler \
   12296 lt_cv_sys_global_symbol_pipe \
   12297 lt_cv_sys_global_symbol_to_cdecl \
   12298 lt_cv_sys_global_symbol_to_c_name_address \
   12299 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12300 lt_prog_compiler_no_builtin_flag \
   12301 lt_prog_compiler_wl \
   12302 lt_prog_compiler_pic \
   12303 lt_prog_compiler_static \
   12304 lt_cv_prog_compiler_c_o \
   12305 need_locks \
   12306 DSYMUTIL \
   12307 NMEDIT \
   12308 LIPO \
   12309 OTOOL \
   12310 OTOOL64 \
   12311 shrext_cmds \
   12312 export_dynamic_flag_spec \
   12313 whole_archive_flag_spec \
   12314 compiler_needs_object \
   12315 with_gnu_ld \
   12316 allow_undefined_flag \
   12317 no_undefined_flag \
   12318 hardcode_libdir_flag_spec \
   12319 hardcode_libdir_flag_spec_ld \
   12320 hardcode_libdir_separator \
   12321 fix_srcfile_path \
   12322 exclude_expsyms \
   12323 include_expsyms \
   12324 file_list_spec \
   12325 variables_saved_for_relink \
   12326 libname_spec \
   12327 library_names_spec \
   12328 soname_spec \
   12329 install_override_mode \
   12330 finish_eval \
   12331 old_striplib \
   12332 striplib; do
   12333     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   12334     *[\\\\\\\`\\"\\\$]*)
   12335       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12336       ;;
   12337     *)
   12338       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12339       ;;
   12340     esac
   12341 done
   12342 
   12343 # Double-quote double-evaled strings.
   12344 for var in reload_cmds \
   12345 old_postinstall_cmds \
   12346 old_postuninstall_cmds \
   12347 old_archive_cmds \
   12348 extract_expsyms_cmds \
   12349 old_archive_from_new_cmds \
   12350 old_archive_from_expsyms_cmds \
   12351 archive_cmds \
   12352 archive_expsym_cmds \
   12353 module_cmds \
   12354 module_expsym_cmds \
   12355 export_symbols_cmds \
   12356 prelink_cmds \
   12357 postinstall_cmds \
   12358 postuninstall_cmds \
   12359 finish_cmds \
   12360 sys_lib_search_path_spec \
   12361 sys_lib_dlsearch_path_spec; do
   12362     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   12363     *[\\\\\\\`\\"\\\$]*)
   12364       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12365       ;;
   12366     *)
   12367       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12368       ;;
   12369     esac
   12370 done
   12371 
   12372 ac_aux_dir='$ac_aux_dir'
   12373 xsi_shell='$xsi_shell'
   12374 lt_shell_append='$lt_shell_append'
   12375 
   12376 # See if we are running on zsh, and set the options which allow our
   12377 # commands through without removal of \ escapes INIT.
   12378 if test -n "\${ZSH_VERSION+set}" ; then
   12379    setopt NO_GLOB_SUBST
   12380 fi
   12381 
   12382 
   12383     PACKAGE='$PACKAGE'
   12384     VERSION='$VERSION'
   12385     TIMESTAMP='$TIMESTAMP'
   12386     RM='$RM'
   12387     ofile='$ofile'
   12388 
   12389 
   12390 
   12391 
   12392 _ACEOF
   12393 
   12394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12395 
   12396 # Handling of arguments.
   12397 for ac_config_target in $ac_config_targets
   12398 do
   12399   case $ac_config_target in
   12400     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12401     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12402     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12403     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12404     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   12405     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   12406     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   12407     "sxpm/Makefile") CONFIG_FILES="$CONFIG_FILES sxpm/Makefile" ;;
   12408     "cxpm/Makefile") CONFIG_FILES="$CONFIG_FILES cxpm/Makefile" ;;
   12409     "xpm.pc") CONFIG_FILES="$CONFIG_FILES xpm.pc" ;;
   12410 
   12411   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12412   esac
   12413 done
   12414 
   12415 
   12416 # If the user did not use the arguments to specify the items to instantiate,
   12417 # then the envvar interface is used.  Set only those that are not.
   12418 # We use the long form for the default assignment because of an extremely
   12419 # bizarre bug on SunOS 4.1.3.
   12420 if $ac_need_defaults; then
   12421   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12422   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12423   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12424 fi
   12425 
   12426 # Have a temporary directory for convenience.  Make it in the build tree
   12427 # simply because there is no reason against having it here, and in addition,
   12428 # creating and moving files from /tmp can sometimes cause problems.
   12429 # Hook for its removal unless debugging.
   12430 # Note that there is a small window in which the directory will not be cleaned:
   12431 # after its creation but before its name has been assigned to `$tmp'.
   12432 $debug ||
   12433 {
   12434   tmp= ac_tmp=
   12435   trap 'exit_status=$?
   12436   : "${ac_tmp:=$tmp}"
   12437   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12438 ' 0
   12439   trap 'as_fn_exit 1' 1 2 13 15
   12440 }
   12441 # Create a (secure) tmp directory for tmp files.
   12442 
   12443 {
   12444   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12445   test -d "$tmp"
   12446 }  ||
   12447 {
   12448   tmp=./conf$$-$RANDOM
   12449   (umask 077 && mkdir "$tmp")
   12450 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12451 ac_tmp=$tmp
   12452 
   12453 # Set up the scripts for CONFIG_FILES section.
   12454 # No need to generate them if there are no CONFIG_FILES.
   12455 # This happens for instance with `./config.status config.h'.
   12456 if test -n "$CONFIG_FILES"; then
   12457 
   12458 
   12459 ac_cr=`echo X | tr X '\015'`
   12460 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12461 # But we know of no other shell where ac_cr would be empty at this
   12462 # point, so we can use a bashism as a fallback.
   12463 if test "x$ac_cr" = x; then
   12464   eval ac_cr=\$\'\\r\'
   12465 fi
   12466 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12467 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12468   ac_cs_awk_cr='\\r'
   12469 else
   12470   ac_cs_awk_cr=$ac_cr
   12471 fi
   12472 
   12473 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12474 _ACEOF
   12475 
   12476 
   12477 {
   12478   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12479   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12480   echo "_ACEOF"
   12481 } >conf$$subs.sh ||
   12482   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12483 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12484 ac_delim='%!_!# '
   12485 for ac_last_try in false false false false false :; do
   12486   . ./conf$$subs.sh ||
   12487     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12488 
   12489   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12490   if test $ac_delim_n = $ac_delim_num; then
   12491     break
   12492   elif $ac_last_try; then
   12493     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12494   else
   12495     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12496   fi
   12497 done
   12498 rm -f conf$$subs.sh
   12499 
   12500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12501 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12502 _ACEOF
   12503 sed -n '
   12504 h
   12505 s/^/S["/; s/!.*/"]=/
   12506 p
   12507 g
   12508 s/^[^!]*!//
   12509 :repl
   12510 t repl
   12511 s/'"$ac_delim"'$//
   12512 t delim
   12513 :nl
   12514 h
   12515 s/\(.\{148\}\)..*/\1/
   12516 t more1
   12517 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12518 p
   12519 n
   12520 b repl
   12521 :more1
   12522 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12523 p
   12524 g
   12525 s/.\{148\}//
   12526 t nl
   12527 :delim
   12528 h
   12529 s/\(.\{148\}\)..*/\1/
   12530 t more2
   12531 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12532 p
   12533 b
   12534 :more2
   12535 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12536 p
   12537 g
   12538 s/.\{148\}//
   12539 t delim
   12540 ' <conf$$subs.awk | sed '
   12541 /^[^""]/{
   12542   N
   12543   s/\n//
   12544 }
   12545 ' >>$CONFIG_STATUS || ac_write_fail=1
   12546 rm -f conf$$subs.awk
   12547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12548 _ACAWK
   12549 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12550   for (key in S) S_is_set[key] = 1
   12551   FS = ""
   12552 
   12553 }
   12554 {
   12555   line = $ 0
   12556   nfields = split(line, field, "@")
   12557   substed = 0
   12558   len = length(field[1])
   12559   for (i = 2; i < nfields; i++) {
   12560     key = field[i]
   12561     keylen = length(key)
   12562     if (S_is_set[key]) {
   12563       value = S[key]
   12564       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12565       len += length(value) + length(field[++i])
   12566       substed = 1
   12567     } else
   12568       len += 1 + keylen
   12569   }
   12570 
   12571   print line
   12572 }
   12573 
   12574 _ACAWK
   12575 _ACEOF
   12576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12577 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12578   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12579 else
   12580   cat
   12581 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12582   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12583 _ACEOF
   12584 
   12585 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12586 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12587 # trailing colons and then remove the whole line if VPATH becomes empty
   12588 # (actually we leave an empty line to preserve line numbers).
   12589 if test "x$srcdir" = x.; then
   12590   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12591 h
   12592 s///
   12593 s/^/:/
   12594 s/[	 ]*$/:/
   12595 s/:\$(srcdir):/:/g
   12596 s/:\${srcdir}:/:/g
   12597 s/:@srcdir@:/:/g
   12598 s/^:*//
   12599 s/:*$//
   12600 x
   12601 s/\(=[	 ]*\).*/\1/
   12602 G
   12603 s/\n//
   12604 s/^[^=]*=[	 ]*$//
   12605 }'
   12606 fi
   12607 
   12608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12609 fi # test -n "$CONFIG_FILES"
   12610 
   12611 # Set up the scripts for CONFIG_HEADERS section.
   12612 # No need to generate them if there are no CONFIG_HEADERS.
   12613 # This happens for instance with `./config.status Makefile'.
   12614 if test -n "$CONFIG_HEADERS"; then
   12615 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12616 BEGIN {
   12617 _ACEOF
   12618 
   12619 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12620 # here-document in config.status, that substitutes the proper values into
   12621 # config.h.in to produce config.h.
   12622 
   12623 # Create a delimiter string that does not exist in confdefs.h, to ease
   12624 # handling of long lines.
   12625 ac_delim='%!_!# '
   12626 for ac_last_try in false false :; do
   12627   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12628   if test -z "$ac_tt"; then
   12629     break
   12630   elif $ac_last_try; then
   12631     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12632   else
   12633     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12634   fi
   12635 done
   12636 
   12637 # For the awk script, D is an array of macro values keyed by name,
   12638 # likewise P contains macro parameters if any.  Preserve backslash
   12639 # newline sequences.
   12640 
   12641 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12642 sed -n '
   12643 s/.\{148\}/&'"$ac_delim"'/g
   12644 t rset
   12645 :rset
   12646 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12647 t def
   12648 d
   12649 :def
   12650 s/\\$//
   12651 t bsnl
   12652 s/["\\]/\\&/g
   12653 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12654 D["\1"]=" \3"/p
   12655 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12656 d
   12657 :bsnl
   12658 s/["\\]/\\&/g
   12659 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12660 D["\1"]=" \3\\\\\\n"\\/p
   12661 t cont
   12662 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12663 t cont
   12664 d
   12665 :cont
   12666 n
   12667 s/.\{148\}/&'"$ac_delim"'/g
   12668 t clear
   12669 :clear
   12670 s/\\$//
   12671 t bsnlc
   12672 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12673 d
   12674 :bsnlc
   12675 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12676 b cont
   12677 ' <confdefs.h | sed '
   12678 s/'"$ac_delim"'/"\\\
   12679 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12680 
   12681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12682   for (key in D) D_is_set[key] = 1
   12683   FS = ""
   12684 }
   12685 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12686   line = \$ 0
   12687   split(line, arg, " ")
   12688   if (arg[1] == "#") {
   12689     defundef = arg[2]
   12690     mac1 = arg[3]
   12691   } else {
   12692     defundef = substr(arg[1], 2)
   12693     mac1 = arg[2]
   12694   }
   12695   split(mac1, mac2, "(") #)
   12696   macro = mac2[1]
   12697   prefix = substr(line, 1, index(line, defundef) - 1)
   12698   if (D_is_set[macro]) {
   12699     # Preserve the white space surrounding the "#".
   12700     print prefix "define", macro P[macro] D[macro]
   12701     next
   12702   } else {
   12703     # Replace #undef with comments.  This is necessary, for example,
   12704     # in the case of _POSIX_SOURCE, which is predefined and required
   12705     # on some systems where configure will not decide to define it.
   12706     if (defundef == "undef") {
   12707       print "/*", prefix defundef, macro, "*/"
   12708       next
   12709     }
   12710   }
   12711 }
   12712 { print }
   12713 _ACAWK
   12714 _ACEOF
   12715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12716   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12717 fi # test -n "$CONFIG_HEADERS"
   12718 
   12719 
   12720 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12721 shift
   12722 for ac_tag
   12723 do
   12724   case $ac_tag in
   12725   :[FHLC]) ac_mode=$ac_tag; continue;;
   12726   esac
   12727   case $ac_mode$ac_tag in
   12728   :[FHL]*:*);;
   12729   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12730   :[FH]-) ac_tag=-:-;;
   12731   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12732   esac
   12733   ac_save_IFS=$IFS
   12734   IFS=:
   12735   set x $ac_tag
   12736   IFS=$ac_save_IFS
   12737   shift
   12738   ac_file=$1
   12739   shift
   12740 
   12741   case $ac_mode in
   12742   :L) ac_source=$1;;
   12743   :[FH])
   12744     ac_file_inputs=
   12745     for ac_f
   12746     do
   12747       case $ac_f in
   12748       -) ac_f="$ac_tmp/stdin";;
   12749       *) # Look for the file first in the build tree, then in the source tree
   12750 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12751 	 # because $ac_f cannot contain `:'.
   12752 	 test -f "$ac_f" ||
   12753 	   case $ac_f in
   12754 	   [\\/$]*) false;;
   12755 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12756 	   esac ||
   12757 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12758       esac
   12759       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12760       as_fn_append ac_file_inputs " '$ac_f'"
   12761     done
   12762 
   12763     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12764     # use $as_me), people would be surprised to read:
   12765     #    /* config.h.  Generated by config.status.  */
   12766     configure_input='Generated from '`
   12767 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12768 	`' by configure.'
   12769     if test x"$ac_file" != x-; then
   12770       configure_input="$ac_file.  $configure_input"
   12771       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12772 $as_echo "$as_me: creating $ac_file" >&6;}
   12773     fi
   12774     # Neutralize special characters interpreted by sed in replacement strings.
   12775     case $configure_input in #(
   12776     *\&* | *\|* | *\\* )
   12777        ac_sed_conf_input=`$as_echo "$configure_input" |
   12778        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12779     *) ac_sed_conf_input=$configure_input;;
   12780     esac
   12781 
   12782     case $ac_tag in
   12783     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12784       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12785     esac
   12786     ;;
   12787   esac
   12788 
   12789   ac_dir=`$as_dirname -- "$ac_file" ||
   12790 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12791 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12792 	 X"$ac_file" : 'X\(//\)$' \| \
   12793 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12794 $as_echo X"$ac_file" |
   12795     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12796 	    s//\1/
   12797 	    q
   12798 	  }
   12799 	  /^X\(\/\/\)[^/].*/{
   12800 	    s//\1/
   12801 	    q
   12802 	  }
   12803 	  /^X\(\/\/\)$/{
   12804 	    s//\1/
   12805 	    q
   12806 	  }
   12807 	  /^X\(\/\).*/{
   12808 	    s//\1/
   12809 	    q
   12810 	  }
   12811 	  s/.*/./; q'`
   12812   as_dir="$ac_dir"; as_fn_mkdir_p
   12813   ac_builddir=.
   12814 
   12815 case "$ac_dir" in
   12816 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12817 *)
   12818   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12819   # A ".." for each directory in $ac_dir_suffix.
   12820   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12821   case $ac_top_builddir_sub in
   12822   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12823   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12824   esac ;;
   12825 esac
   12826 ac_abs_top_builddir=$ac_pwd
   12827 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12828 # for backward compatibility:
   12829 ac_top_builddir=$ac_top_build_prefix
   12830 
   12831 case $srcdir in
   12832   .)  # We are building in place.
   12833     ac_srcdir=.
   12834     ac_top_srcdir=$ac_top_builddir_sub
   12835     ac_abs_top_srcdir=$ac_pwd ;;
   12836   [\\/]* | ?:[\\/]* )  # Absolute name.
   12837     ac_srcdir=$srcdir$ac_dir_suffix;
   12838     ac_top_srcdir=$srcdir
   12839     ac_abs_top_srcdir=$srcdir ;;
   12840   *) # Relative name.
   12841     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12842     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12843     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12844 esac
   12845 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12846 
   12847 
   12848   case $ac_mode in
   12849   :F)
   12850   #
   12851   # CONFIG_FILE
   12852   #
   12853 
   12854   case $INSTALL in
   12855   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12856   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12857   esac
   12858   ac_MKDIR_P=$MKDIR_P
   12859   case $MKDIR_P in
   12860   [\\/$]* | ?:[\\/]* ) ;;
   12861   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12862   esac
   12863 _ACEOF
   12864 
   12865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12866 # If the template does not know about datarootdir, expand it.
   12867 # FIXME: This hack should be removed a few years after 2.60.
   12868 ac_datarootdir_hack=; ac_datarootdir_seen=
   12869 ac_sed_dataroot='
   12870 /datarootdir/ {
   12871   p
   12872   q
   12873 }
   12874 /@datadir@/p
   12875 /@docdir@/p
   12876 /@infodir@/p
   12877 /@localedir@/p
   12878 /@mandir@/p'
   12879 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12880 *datarootdir*) ac_datarootdir_seen=yes;;
   12881 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12882   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12883 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12884 _ACEOF
   12885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12886   ac_datarootdir_hack='
   12887   s&@datadir@&$datadir&g
   12888   s&@docdir@&$docdir&g
   12889   s&@infodir@&$infodir&g
   12890   s&@localedir@&$localedir&g
   12891   s&@mandir@&$mandir&g
   12892   s&\\\${datarootdir}&$datarootdir&g' ;;
   12893 esac
   12894 _ACEOF
   12895 
   12896 # Neutralize VPATH when `$srcdir' = `.'.
   12897 # Shell code in configure.ac might set extrasub.
   12898 # FIXME: do we really want to maintain this feature?
   12899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12900 ac_sed_extra="$ac_vpsub
   12901 $extrasub
   12902 _ACEOF
   12903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12904 :t
   12905 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12906 s|@configure_input@|$ac_sed_conf_input|;t t
   12907 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12908 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12909 s&@srcdir@&$ac_srcdir&;t t
   12910 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12911 s&@top_srcdir@&$ac_top_srcdir&;t t
   12912 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12913 s&@builddir@&$ac_builddir&;t t
   12914 s&@abs_builddir@&$ac_abs_builddir&;t t
   12915 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12916 s&@INSTALL@&$ac_INSTALL&;t t
   12917 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12918 $ac_datarootdir_hack
   12919 "
   12920 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12921   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12922 
   12923 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12924   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12925   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12926       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12927   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12928 which seems to be undefined.  Please make sure it is defined" >&5
   12929 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12930 which seems to be undefined.  Please make sure it is defined" >&2;}
   12931 
   12932   rm -f "$ac_tmp/stdin"
   12933   case $ac_file in
   12934   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12935   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12936   esac \
   12937   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12938  ;;
   12939   :H)
   12940   #
   12941   # CONFIG_HEADER
   12942   #
   12943   if test x"$ac_file" != x-; then
   12944     {
   12945       $as_echo "/* $configure_input  */" \
   12946       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12947     } >"$ac_tmp/config.h" \
   12948       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12949     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12950       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12951 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12952     else
   12953       rm -f "$ac_file"
   12954       mv "$ac_tmp/config.h" "$ac_file" \
   12955 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12956     fi
   12957   else
   12958     $as_echo "/* $configure_input  */" \
   12959       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12960       || as_fn_error $? "could not create -" "$LINENO" 5
   12961   fi
   12962 # Compute "$ac_file"'s index in $config_headers.
   12963 _am_arg="$ac_file"
   12964 _am_stamp_count=1
   12965 for _am_header in $config_headers :; do
   12966   case $_am_header in
   12967     $_am_arg | $_am_arg:* )
   12968       break ;;
   12969     * )
   12970       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12971   esac
   12972 done
   12973 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12974 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12975 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12976 	 X"$_am_arg" : 'X\(//\)$' \| \
   12977 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12978 $as_echo X"$_am_arg" |
   12979     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12980 	    s//\1/
   12981 	    q
   12982 	  }
   12983 	  /^X\(\/\/\)[^/].*/{
   12984 	    s//\1/
   12985 	    q
   12986 	  }
   12987 	  /^X\(\/\/\)$/{
   12988 	    s//\1/
   12989 	    q
   12990 	  }
   12991 	  /^X\(\/\).*/{
   12992 	    s//\1/
   12993 	    q
   12994 	  }
   12995 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12996  ;;
   12997 
   12998   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12999 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13000  ;;
   13001   esac
   13002 
   13003 
   13004   case $ac_file$ac_mode in
   13005     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13006   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13007   # are listed without --file.  Let's play safe and only enable the eval
   13008   # if we detect the quoting.
   13009   case $CONFIG_FILES in
   13010   *\'*) eval set x "$CONFIG_FILES" ;;
   13011   *)   set x $CONFIG_FILES ;;
   13012   esac
   13013   shift
   13014   for mf
   13015   do
   13016     # Strip MF so we end up with the name of the file.
   13017     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13018     # Check whether this is an Automake generated Makefile or not.
   13019     # We used to match only the files named `Makefile.in', but
   13020     # some people rename them; so instead we look at the file content.
   13021     # Grep'ing the first line is not enough: some people post-process
   13022     # each Makefile.in and add a new line on top of each file to say so.
   13023     # Grep'ing the whole file is not good either: AIX grep has a line
   13024     # limit of 2048, but all sed's we know have understand at least 4000.
   13025     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13026       dirpart=`$as_dirname -- "$mf" ||
   13027 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13028 	 X"$mf" : 'X\(//\)[^/]' \| \
   13029 	 X"$mf" : 'X\(//\)$' \| \
   13030 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13031 $as_echo X"$mf" |
   13032     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13033 	    s//\1/
   13034 	    q
   13035 	  }
   13036 	  /^X\(\/\/\)[^/].*/{
   13037 	    s//\1/
   13038 	    q
   13039 	  }
   13040 	  /^X\(\/\/\)$/{
   13041 	    s//\1/
   13042 	    q
   13043 	  }
   13044 	  /^X\(\/\).*/{
   13045 	    s//\1/
   13046 	    q
   13047 	  }
   13048 	  s/.*/./; q'`
   13049     else
   13050       continue
   13051     fi
   13052     # Extract the definition of DEPDIR, am__include, and am__quote
   13053     # from the Makefile without running `make'.
   13054     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13055     test -z "$DEPDIR" && continue
   13056     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13057     test -z "am__include" && continue
   13058     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13059     # When using ansi2knr, U may be empty or an underscore; expand it
   13060     U=`sed -n 's/^U = //p' < "$mf"`
   13061     # Find all dependency output files, they are included files with
   13062     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13063     # simplest approach to changing $(DEPDIR) to its actual value in the
   13064     # expansion.
   13065     for file in `sed -n "
   13066       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13067 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13068       # Make sure the directory exists.
   13069       test -f "$dirpart/$file" && continue
   13070       fdir=`$as_dirname -- "$file" ||
   13071 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13072 	 X"$file" : 'X\(//\)[^/]' \| \
   13073 	 X"$file" : 'X\(//\)$' \| \
   13074 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13075 $as_echo X"$file" |
   13076     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13077 	    s//\1/
   13078 	    q
   13079 	  }
   13080 	  /^X\(\/\/\)[^/].*/{
   13081 	    s//\1/
   13082 	    q
   13083 	  }
   13084 	  /^X\(\/\/\)$/{
   13085 	    s//\1/
   13086 	    q
   13087 	  }
   13088 	  /^X\(\/\).*/{
   13089 	    s//\1/
   13090 	    q
   13091 	  }
   13092 	  s/.*/./; q'`
   13093       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13094       # echo "creating $dirpart/$file"
   13095       echo '# dummy' > "$dirpart/$file"
   13096     done
   13097   done
   13098 }
   13099  ;;
   13100     "libtool":C)
   13101 
   13102     # See if we are running on zsh, and set the options which allow our
   13103     # commands through without removal of \ escapes.
   13104     if test -n "${ZSH_VERSION+set}" ; then
   13105       setopt NO_GLOB_SUBST
   13106     fi
   13107 
   13108     cfgfile="${ofile}T"
   13109     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13110     $RM "$cfgfile"
   13111 
   13112     cat <<_LT_EOF >> "$cfgfile"
   13113 #! $SHELL
   13114 
   13115 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13116 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13117 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13118 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13119 #
   13120 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13121 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   13122 #                 Inc.
   13123 #   Written by Gordon Matzigkeit, 1996
   13124 #
   13125 #   This file is part of GNU Libtool.
   13126 #
   13127 # GNU Libtool is free software; you can redistribute it and/or
   13128 # modify it under the terms of the GNU General Public License as
   13129 # published by the Free Software Foundation; either version 2 of
   13130 # the License, or (at your option) any later version.
   13131 #
   13132 # As a special exception to the GNU General Public License,
   13133 # if you distribute this file as part of a program or library that
   13134 # is built using GNU Libtool, you may include this file under the
   13135 # same distribution terms that you use for the rest of that program.
   13136 #
   13137 # GNU Libtool is distributed in the hope that it will be useful,
   13138 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13139 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13140 # GNU General Public License for more details.
   13141 #
   13142 # You should have received a copy of the GNU General Public License
   13143 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13144 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13145 # obtained by writing to the Free Software Foundation, Inc.,
   13146 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13147 
   13148 
   13149 # The names of the tagged configurations supported by this script.
   13150 available_tags=""
   13151 
   13152 # ### BEGIN LIBTOOL CONFIG
   13153 
   13154 # Which release of libtool.m4 was used?
   13155 macro_version=$macro_version
   13156 macro_revision=$macro_revision
   13157 
   13158 # Whether or not to build shared libraries.
   13159 build_libtool_libs=$enable_shared
   13160 
   13161 # Whether or not to build static libraries.
   13162 build_old_libs=$enable_static
   13163 
   13164 # What type of objects to build.
   13165 pic_mode=$pic_mode
   13166 
   13167 # Whether or not to optimize for fast installation.
   13168 fast_install=$enable_fast_install
   13169 
   13170 # Shell to use when invoking shell scripts.
   13171 SHELL=$lt_SHELL
   13172 
   13173 # An echo program that protects backslashes.
   13174 ECHO=$lt_ECHO
   13175 
   13176 # The host system.
   13177 host_alias=$host_alias
   13178 host=$host
   13179 host_os=$host_os
   13180 
   13181 # The build system.
   13182 build_alias=$build_alias
   13183 build=$build
   13184 build_os=$build_os
   13185 
   13186 # A sed program that does not truncate output.
   13187 SED=$lt_SED
   13188 
   13189 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13190 Xsed="\$SED -e 1s/^X//"
   13191 
   13192 # A grep program that handles long lines.
   13193 GREP=$lt_GREP
   13194 
   13195 # An ERE matcher.
   13196 EGREP=$lt_EGREP
   13197 
   13198 # A literal string matcher.
   13199 FGREP=$lt_FGREP
   13200 
   13201 # A BSD- or MS-compatible name lister.
   13202 NM=$lt_NM
   13203 
   13204 # Whether we need soft or hard links.
   13205 LN_S=$lt_LN_S
   13206 
   13207 # What is the maximum length of a command?
   13208 max_cmd_len=$max_cmd_len
   13209 
   13210 # Object file suffix (normally "o").
   13211 objext=$ac_objext
   13212 
   13213 # Executable file suffix (normally "").
   13214 exeext=$exeext
   13215 
   13216 # whether the shell understands "unset".
   13217 lt_unset=$lt_unset
   13218 
   13219 # turn spaces into newlines.
   13220 SP2NL=$lt_lt_SP2NL
   13221 
   13222 # turn newlines into spaces.
   13223 NL2SP=$lt_lt_NL2SP
   13224 
   13225 # An object symbol dumper.
   13226 OBJDUMP=$lt_OBJDUMP
   13227 
   13228 # Method to check whether dependent libraries are shared objects.
   13229 deplibs_check_method=$lt_deplibs_check_method
   13230 
   13231 # Command to use when deplibs_check_method == "file_magic".
   13232 file_magic_cmd=$lt_file_magic_cmd
   13233 
   13234 # The archiver.
   13235 AR=$lt_AR
   13236 AR_FLAGS=$lt_AR_FLAGS
   13237 
   13238 # A symbol stripping program.
   13239 STRIP=$lt_STRIP
   13240 
   13241 # Commands used to install an old-style archive.
   13242 RANLIB=$lt_RANLIB
   13243 old_postinstall_cmds=$lt_old_postinstall_cmds
   13244 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13245 
   13246 # Whether to use a lock for old archive extraction.
   13247 lock_old_archive_extraction=$lock_old_archive_extraction
   13248 
   13249 # A C compiler.
   13250 LTCC=$lt_CC
   13251 
   13252 # LTCC compiler flags.
   13253 LTCFLAGS=$lt_CFLAGS
   13254 
   13255 # Take the output of nm and produce a listing of raw symbols and C names.
   13256 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13257 
   13258 # Transform the output of nm in a proper C declaration.
   13259 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13260 
   13261 # Transform the output of nm in a C name address pair.
   13262 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13263 
   13264 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13265 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13266 
   13267 # The name of the directory that contains temporary libtool files.
   13268 objdir=$objdir
   13269 
   13270 # Used to examine libraries when file_magic_cmd begins with "file".
   13271 MAGIC_CMD=$MAGIC_CMD
   13272 
   13273 # Must we lock files when doing compilation?
   13274 need_locks=$lt_need_locks
   13275 
   13276 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13277 DSYMUTIL=$lt_DSYMUTIL
   13278 
   13279 # Tool to change global to local symbols on Mac OS X.
   13280 NMEDIT=$lt_NMEDIT
   13281 
   13282 # Tool to manipulate fat objects and archives on Mac OS X.
   13283 LIPO=$lt_LIPO
   13284 
   13285 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13286 OTOOL=$lt_OTOOL
   13287 
   13288 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13289 OTOOL64=$lt_OTOOL64
   13290 
   13291 # Old archive suffix (normally "a").
   13292 libext=$libext
   13293 
   13294 # Shared library suffix (normally ".so").
   13295 shrext_cmds=$lt_shrext_cmds
   13296 
   13297 # The commands to extract the exported symbol list from a shared archive.
   13298 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13299 
   13300 # Variables whose values should be saved in libtool wrapper scripts and
   13301 # restored at link time.
   13302 variables_saved_for_relink=$lt_variables_saved_for_relink
   13303 
   13304 # Do we need the "lib" prefix for modules?
   13305 need_lib_prefix=$need_lib_prefix
   13306 
   13307 # Do we need a version for libraries?
   13308 need_version=$need_version
   13309 
   13310 # Library versioning type.
   13311 version_type=$version_type
   13312 
   13313 # Shared library runtime path variable.
   13314 runpath_var=$runpath_var
   13315 
   13316 # Shared library path variable.
   13317 shlibpath_var=$shlibpath_var
   13318 
   13319 # Is shlibpath searched before the hard-coded library search path?
   13320 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13321 
   13322 # Format of library name prefix.
   13323 libname_spec=$lt_libname_spec
   13324 
   13325 # List of archive names.  First name is the real one, the rest are links.
   13326 # The last name is the one that the linker finds with -lNAME
   13327 library_names_spec=$lt_library_names_spec
   13328 
   13329 # The coded name of the library, if different from the real name.
   13330 soname_spec=$lt_soname_spec
   13331 
   13332 # Permission mode override for installation of shared libraries.
   13333 install_override_mode=$lt_install_override_mode
   13334 
   13335 # Command to use after installation of a shared archive.
   13336 postinstall_cmds=$lt_postinstall_cmds
   13337 
   13338 # Command to use after uninstallation of a shared archive.
   13339 postuninstall_cmds=$lt_postuninstall_cmds
   13340 
   13341 # Commands used to finish a libtool library installation in a directory.
   13342 finish_cmds=$lt_finish_cmds
   13343 
   13344 # As "finish_cmds", except a single script fragment to be evaled but
   13345 # not shown.
   13346 finish_eval=$lt_finish_eval
   13347 
   13348 # Whether we should hardcode library paths into libraries.
   13349 hardcode_into_libs=$hardcode_into_libs
   13350 
   13351 # Compile-time system search path for libraries.
   13352 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13353 
   13354 # Run-time system search path for libraries.
   13355 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13356 
   13357 # Whether dlopen is supported.
   13358 dlopen_support=$enable_dlopen
   13359 
   13360 # Whether dlopen of programs is supported.
   13361 dlopen_self=$enable_dlopen_self
   13362 
   13363 # Whether dlopen of statically linked programs is supported.
   13364 dlopen_self_static=$enable_dlopen_self_static
   13365 
   13366 # Commands to strip libraries.
   13367 old_striplib=$lt_old_striplib
   13368 striplib=$lt_striplib
   13369 
   13370 
   13371 # The linker used to build libraries.
   13372 LD=$lt_LD
   13373 
   13374 # How to create reloadable object files.
   13375 reload_flag=$lt_reload_flag
   13376 reload_cmds=$lt_reload_cmds
   13377 
   13378 # Commands used to build an old-style archive.
   13379 old_archive_cmds=$lt_old_archive_cmds
   13380 
   13381 # A language specific compiler.
   13382 CC=$lt_compiler
   13383 
   13384 # Is the compiler the GNU compiler?
   13385 with_gcc=$GCC
   13386 
   13387 # Compiler flag to turn off builtin functions.
   13388 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13389 
   13390 # How to pass a linker flag through the compiler.
   13391 wl=$lt_lt_prog_compiler_wl
   13392 
   13393 # Additional compiler flags for building library objects.
   13394 pic_flag=$lt_lt_prog_compiler_pic
   13395 
   13396 # Compiler flag to prevent dynamic linking.
   13397 link_static_flag=$lt_lt_prog_compiler_static
   13398 
   13399 # Does compiler simultaneously support -c and -o options?
   13400 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13401 
   13402 # Whether or not to add -lc for building shared libraries.
   13403 build_libtool_need_lc=$archive_cmds_need_lc
   13404 
   13405 # Whether or not to disallow shared libs when runtime libs are static.
   13406 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13407 
   13408 # Compiler flag to allow reflexive dlopens.
   13409 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13410 
   13411 # Compiler flag to generate shared objects directly from archives.
   13412 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13413 
   13414 # Whether the compiler copes with passing no objects directly.
   13415 compiler_needs_object=$lt_compiler_needs_object
   13416 
   13417 # Create an old-style archive from a shared archive.
   13418 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13419 
   13420 # Create a temporary old-style archive to link instead of a shared archive.
   13421 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13422 
   13423 # Commands used to build a shared archive.
   13424 archive_cmds=$lt_archive_cmds
   13425 archive_expsym_cmds=$lt_archive_expsym_cmds
   13426 
   13427 # Commands used to build a loadable module if different from building
   13428 # a shared archive.
   13429 module_cmds=$lt_module_cmds
   13430 module_expsym_cmds=$lt_module_expsym_cmds
   13431 
   13432 # Whether we are building with GNU ld or not.
   13433 with_gnu_ld=$lt_with_gnu_ld
   13434 
   13435 # Flag that allows shared libraries with undefined symbols to be built.
   13436 allow_undefined_flag=$lt_allow_undefined_flag
   13437 
   13438 # Flag that enforces no undefined symbols.
   13439 no_undefined_flag=$lt_no_undefined_flag
   13440 
   13441 # Flag to hardcode \$libdir into a binary during linking.
   13442 # This must work even if \$libdir does not exist
   13443 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13444 
   13445 # If ld is used when linking, flag to hardcode \$libdir into a binary
   13446 # during linking.  This must work even if \$libdir does not exist.
   13447 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13448 
   13449 # Whether we need a single "-rpath" flag with a separated argument.
   13450 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13451 
   13452 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13453 # DIR into the resulting binary.
   13454 hardcode_direct=$hardcode_direct
   13455 
   13456 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13457 # DIR into the resulting binary and the resulting library dependency is
   13458 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13459 # library is relocated.
   13460 hardcode_direct_absolute=$hardcode_direct_absolute
   13461 
   13462 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13463 # into the resulting binary.
   13464 hardcode_minus_L=$hardcode_minus_L
   13465 
   13466 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13467 # into the resulting binary.
   13468 hardcode_shlibpath_var=$hardcode_shlibpath_var
   13469 
   13470 # Set to "yes" if building a shared library automatically hardcodes DIR
   13471 # into the library and all subsequent libraries and executables linked
   13472 # against it.
   13473 hardcode_automatic=$hardcode_automatic
   13474 
   13475 # Set to yes if linker adds runtime paths of dependent libraries
   13476 # to runtime path list.
   13477 inherit_rpath=$inherit_rpath
   13478 
   13479 # Whether libtool must link a program against all its dependency libraries.
   13480 link_all_deplibs=$link_all_deplibs
   13481 
   13482 # Fix the shell variable \$srcfile for the compiler.
   13483 fix_srcfile_path=$lt_fix_srcfile_path
   13484 
   13485 # Set to "yes" if exported symbols are required.
   13486 always_export_symbols=$always_export_symbols
   13487 
   13488 # The commands to list exported symbols.
   13489 export_symbols_cmds=$lt_export_symbols_cmds
   13490 
   13491 # Symbols that should not be listed in the preloaded symbols.
   13492 exclude_expsyms=$lt_exclude_expsyms
   13493 
   13494 # Symbols that must always be exported.
   13495 include_expsyms=$lt_include_expsyms
   13496 
   13497 # Commands necessary for linking programs (against libraries) with templates.
   13498 prelink_cmds=$lt_prelink_cmds
   13499 
   13500 # Specify filename containing input files.
   13501 file_list_spec=$lt_file_list_spec
   13502 
   13503 # How to hardcode a shared library path into an executable.
   13504 hardcode_action=$hardcode_action
   13505 
   13506 # ### END LIBTOOL CONFIG
   13507 
   13508 _LT_EOF
   13509 
   13510   case $host_os in
   13511   aix3*)
   13512     cat <<\_LT_EOF >> "$cfgfile"
   13513 # AIX sometimes has problems with the GCC collect2 program.  For some
   13514 # reason, if we set the COLLECT_NAMES environment variable, the problems
   13515 # vanish in a puff of smoke.
   13516 if test "X${COLLECT_NAMES+set}" != Xset; then
   13517   COLLECT_NAMES=
   13518   export COLLECT_NAMES
   13519 fi
   13520 _LT_EOF
   13521     ;;
   13522   esac
   13523 
   13524 
   13525 ltmain="$ac_aux_dir/ltmain.sh"
   13526 
   13527 
   13528   # We use sed instead of cat because bash on DJGPP gets confused if
   13529   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13530   # text mode, it properly converts lines to CR/LF.  This bash problem
   13531   # is reportedly fixed, but why not run on old versions too?
   13532   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13533     || (rm -f "$cfgfile"; exit 1)
   13534 
   13535   case $xsi_shell in
   13536   yes)
   13537     cat << \_LT_EOF >> "$cfgfile"
   13538 
   13539 # func_dirname file append nondir_replacement
   13540 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13541 # otherwise set result to NONDIR_REPLACEMENT.
   13542 func_dirname ()
   13543 {
   13544   case ${1} in
   13545     */*) func_dirname_result="${1%/*}${2}" ;;
   13546     *  ) func_dirname_result="${3}" ;;
   13547   esac
   13548 }
   13549 
   13550 # func_basename file
   13551 func_basename ()
   13552 {
   13553   func_basename_result="${1##*/}"
   13554 }
   13555 
   13556 # func_dirname_and_basename file append nondir_replacement
   13557 # perform func_basename and func_dirname in a single function
   13558 # call:
   13559 #   dirname:  Compute the dirname of FILE.  If nonempty,
   13560 #             add APPEND to the result, otherwise set result
   13561 #             to NONDIR_REPLACEMENT.
   13562 #             value returned in "$func_dirname_result"
   13563 #   basename: Compute filename of FILE.
   13564 #             value retuned in "$func_basename_result"
   13565 # Implementation must be kept synchronized with func_dirname
   13566 # and func_basename. For efficiency, we do not delegate to
   13567 # those functions but instead duplicate the functionality here.
   13568 func_dirname_and_basename ()
   13569 {
   13570   case ${1} in
   13571     */*) func_dirname_result="${1%/*}${2}" ;;
   13572     *  ) func_dirname_result="${3}" ;;
   13573   esac
   13574   func_basename_result="${1##*/}"
   13575 }
   13576 
   13577 # func_stripname prefix suffix name
   13578 # strip PREFIX and SUFFIX off of NAME.
   13579 # PREFIX and SUFFIX must not contain globbing or regex special
   13580 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13581 # dot (in which case that matches only a dot).
   13582 func_stripname ()
   13583 {
   13584   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   13585   # positional parameters, so assign one to ordinary parameter first.
   13586   func_stripname_result=${3}
   13587   func_stripname_result=${func_stripname_result#"${1}"}
   13588   func_stripname_result=${func_stripname_result%"${2}"}
   13589 }
   13590 
   13591 # func_opt_split
   13592 func_opt_split ()
   13593 {
   13594   func_opt_split_opt=${1%%=*}
   13595   func_opt_split_arg=${1#*=}
   13596 }
   13597 
   13598 # func_lo2o object
   13599 func_lo2o ()
   13600 {
   13601   case ${1} in
   13602     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   13603     *)    func_lo2o_result=${1} ;;
   13604   esac
   13605 }
   13606 
   13607 # func_xform libobj-or-source
   13608 func_xform ()
   13609 {
   13610   func_xform_result=${1%.*}.lo
   13611 }
   13612 
   13613 # func_arith arithmetic-term...
   13614 func_arith ()
   13615 {
   13616   func_arith_result=$(( $* ))
   13617 }
   13618 
   13619 # func_len string
   13620 # STRING may not start with a hyphen.
   13621 func_len ()
   13622 {
   13623   func_len_result=${#1}
   13624 }
   13625 
   13626 _LT_EOF
   13627     ;;
   13628   *) # Bourne compatible functions.
   13629     cat << \_LT_EOF >> "$cfgfile"
   13630 
   13631 # func_dirname file append nondir_replacement
   13632 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13633 # otherwise set result to NONDIR_REPLACEMENT.
   13634 func_dirname ()
   13635 {
   13636   # Extract subdirectory from the argument.
   13637   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   13638   if test "X$func_dirname_result" = "X${1}"; then
   13639     func_dirname_result="${3}"
   13640   else
   13641     func_dirname_result="$func_dirname_result${2}"
   13642   fi
   13643 }
   13644 
   13645 # func_basename file
   13646 func_basename ()
   13647 {
   13648   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   13649 }
   13650 
   13651 
   13652 # func_stripname prefix suffix name
   13653 # strip PREFIX and SUFFIX off of NAME.
   13654 # PREFIX and SUFFIX must not contain globbing or regex special
   13655 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13656 # dot (in which case that matches only a dot).
   13657 # func_strip_suffix prefix name
   13658 func_stripname ()
   13659 {
   13660   case ${2} in
   13661     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   13662     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   13663   esac
   13664 }
   13665 
   13666 # sed scripts:
   13667 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   13668 my_sed_long_arg='1s/^-[^=]*=//'
   13669 
   13670 # func_opt_split
   13671 func_opt_split ()
   13672 {
   13673   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   13674   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   13675 }
   13676 
   13677 # func_lo2o object
   13678 func_lo2o ()
   13679 {
   13680   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   13681 }
   13682 
   13683 # func_xform libobj-or-source
   13684 func_xform ()
   13685 {
   13686   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   13687 }
   13688 
   13689 # func_arith arithmetic-term...
   13690 func_arith ()
   13691 {
   13692   func_arith_result=`expr "$@"`
   13693 }
   13694 
   13695 # func_len string
   13696 # STRING may not start with a hyphen.
   13697 func_len ()
   13698 {
   13699   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   13700 }
   13701 
   13702 _LT_EOF
   13703 esac
   13704 
   13705 case $lt_shell_append in
   13706   yes)
   13707     cat << \_LT_EOF >> "$cfgfile"
   13708 
   13709 # func_append var value
   13710 # Append VALUE to the end of shell variable VAR.
   13711 func_append ()
   13712 {
   13713   eval "$1+=\$2"
   13714 }
   13715 _LT_EOF
   13716     ;;
   13717   *)
   13718     cat << \_LT_EOF >> "$cfgfile"
   13719 
   13720 # func_append var value
   13721 # Append VALUE to the end of shell variable VAR.
   13722 func_append ()
   13723 {
   13724   eval "$1=\$$1\$2"
   13725 }
   13726 
   13727 _LT_EOF
   13728     ;;
   13729   esac
   13730 
   13731 
   13732   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   13733     || (rm -f "$cfgfile"; exit 1)
   13734 
   13735   mv -f "$cfgfile" "$ofile" ||
   13736     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   13737   chmod +x "$ofile"
   13738 
   13739  ;;
   13740 
   13741   esac
   13742 done # for ac_tag
   13743 
   13744 
   13745 as_fn_exit 0
   13746 _ACEOF
   13747 ac_clean_files=$ac_clean_files_save
   13748 
   13749 test $ac_write_fail = 0 ||
   13750   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13751 
   13752 
   13753 # configure is writing to config.log, and then calls config.status.
   13754 # config.status does its own redirection, appending to config.log.
   13755 # Unfortunately, on DOS this fails, as config.log is still kept open
   13756 # by configure, so config.status won't be able to write to it; its
   13757 # output is simply discarded.  So we exec the FD to /dev/null,
   13758 # effectively closing config.log, so it can be properly (re)opened and
   13759 # appended to by config.status.  When coming back to configure, we
   13760 # need to make the FD available again.
   13761 if test "$no_create" != yes; then
   13762   ac_cs_success=:
   13763   ac_config_status_args=
   13764   test "$silent" = yes &&
   13765     ac_config_status_args="$ac_config_status_args --quiet"
   13766   exec 5>/dev/null
   13767   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13768   exec 5>>config.log
   13769   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13770   # would make configure fail if this is the last instruction.
   13771   $ac_cs_success || as_fn_exit 1
   13772 fi
   13773 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13774   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13775 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13776 fi
   13777 
   13778