Home | History | Annotate | Download | only in libexif
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for EXIF library 0.6.21.
      4 #
      5 # Report bugs to <libexif-devel (at] lists.sourceforge.net>.
      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: libexif-devel (at] lists.sourceforge.net about your system,
    251 $0: including any error possibly output before this
    252 $0: message. Then install a modern shell, or manually run
    253 $0: the script under such a shell if you do have one."
    254   fi
    255   exit 1
    256 fi
    257 fi
    258 fi
    259 SHELL=${CONFIG_SHELL-/bin/sh}
    260 export SHELL
    261 # Unset more variables known to interfere with behavior of common tools.
    262 CLICOLOR_FORCE= GREP_OPTIONS=
    263 unset CLICOLOR_FORCE GREP_OPTIONS
    264 
    265 ## --------------------- ##
    266 ## M4sh Shell Functions. ##
    267 ## --------------------- ##
    268 # as_fn_unset VAR
    269 # ---------------
    270 # Portably unset VAR.
    271 as_fn_unset ()
    272 {
    273   { eval $1=; unset $1;}
    274 }
    275 as_unset=as_fn_unset
    276 
    277 # as_fn_set_status STATUS
    278 # -----------------------
    279 # Set $? to STATUS, without forking.
    280 as_fn_set_status ()
    281 {
    282   return $1
    283 } # as_fn_set_status
    284 
    285 # as_fn_exit STATUS
    286 # -----------------
    287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    288 as_fn_exit ()
    289 {
    290   set +e
    291   as_fn_set_status $1
    292   exit $1
    293 } # as_fn_exit
    294 
    295 # as_fn_mkdir_p
    296 # -------------
    297 # Create "$as_dir" as a directory, including parents if necessary.
    298 as_fn_mkdir_p ()
    299 {
    300 
    301   case $as_dir in #(
    302   -*) as_dir=./$as_dir;;
    303   esac
    304   test -d "$as_dir" || eval $as_mkdir_p || {
    305     as_dirs=
    306     while :; do
    307       case $as_dir in #(
    308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    309       *) as_qdir=$as_dir;;
    310       esac
    311       as_dirs="'$as_qdir' $as_dirs"
    312       as_dir=`$as_dirname -- "$as_dir" ||
    313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    314 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    315 	 X"$as_dir" : 'X\(//\)$' \| \
    316 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    317 $as_echo X"$as_dir" |
    318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    319 	    s//\1/
    320 	    q
    321 	  }
    322 	  /^X\(\/\/\)[^/].*/{
    323 	    s//\1/
    324 	    q
    325 	  }
    326 	  /^X\(\/\/\)$/{
    327 	    s//\1/
    328 	    q
    329 	  }
    330 	  /^X\(\/\).*/{
    331 	    s//\1/
    332 	    q
    333 	  }
    334 	  s/.*/./; q'`
    335       test -d "$as_dir" && break
    336     done
    337     test -z "$as_dirs" || eval "mkdir $as_dirs"
    338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    339 
    340 
    341 } # as_fn_mkdir_p
    342 # as_fn_append VAR VALUE
    343 # ----------------------
    344 # Append the text in VALUE to the end of the definition contained in VAR. Take
    345 # advantage of any shell optimizations that allow amortized linear growth over
    346 # repeated appends, instead of the typical quadratic growth present in naive
    347 # implementations.
    348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    349   eval 'as_fn_append ()
    350   {
    351     eval $1+=\$2
    352   }'
    353 else
    354   as_fn_append ()
    355   {
    356     eval $1=\$$1\$2
    357   }
    358 fi # as_fn_append
    359 
    360 # as_fn_arith ARG...
    361 # ------------------
    362 # Perform arithmetic evaluation on the ARGs, and store the result in the
    363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    364 # must be portable across $(()) and expr.
    365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    366   eval 'as_fn_arith ()
    367   {
    368     as_val=$(( $* ))
    369   }'
    370 else
    371   as_fn_arith ()
    372   {
    373     as_val=`expr "$@" || test $? -eq 1`
    374   }
    375 fi # as_fn_arith
    376 
    377 
    378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    379 # ----------------------------------------
    380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    382 # script with STATUS, using 1 if that was 0.
    383 as_fn_error ()
    384 {
    385   as_status=$1; test $as_status -eq 0 && as_status=1
    386   if test "$4"; then
    387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    389   fi
    390   $as_echo "$as_me: error: $2" >&2
    391   as_fn_exit $as_status
    392 } # as_fn_error
    393 
    394 if expr a : '\(a\)' >/dev/null 2>&1 &&
    395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    396   as_expr=expr
    397 else
    398   as_expr=false
    399 fi
    400 
    401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    402   as_basename=basename
    403 else
    404   as_basename=false
    405 fi
    406 
    407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    408   as_dirname=dirname
    409 else
    410   as_dirname=false
    411 fi
    412 
    413 as_me=`$as_basename -- "$0" ||
    414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    415 	 X"$0" : 'X\(//\)$' \| \
    416 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    417 $as_echo X/"$0" |
    418     sed '/^.*\/\([^/][^/]*\)\/*$/{
    419 	    s//\1/
    420 	    q
    421 	  }
    422 	  /^X\/\(\/\/\)$/{
    423 	    s//\1/
    424 	    q
    425 	  }
    426 	  /^X\/\(\/\).*/{
    427 	    s//\1/
    428 	    q
    429 	  }
    430 	  s/.*/./; q'`
    431 
    432 # Avoid depending upon Character Ranges.
    433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    436 as_cr_digits='0123456789'
    437 as_cr_alnum=$as_cr_Letters$as_cr_digits
    438 
    439 
    440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    445   sed -n '
    446     p
    447     /[$]LINENO/=
    448   ' <$as_myself |
    449     sed '
    450       s/[$]LINENO.*/&-/
    451       t lineno
    452       b
    453       :lineno
    454       N
    455       :loop
    456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    457       t loop
    458       s/-\n.*//
    459     ' >$as_me.lineno &&
    460   chmod +x "$as_me.lineno" ||
    461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    462 
    463   # Don't try to exec as it changes $[0], causing all sort of problems
    464   # (the dirname of $[0] is not the place where we might find the
    465   # original and so on.  Autoconf is especially sensitive to this).
    466   . "./$as_me.lineno"
    467   # Exit status is that of the last command.
    468   exit
    469 }
    470 
    471 ECHO_C= ECHO_N= ECHO_T=
    472 case `echo -n x` in #(((((
    473 -n*)
    474   case `echo 'xy\c'` in
    475   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    476   xy)  ECHO_C='\c';;
    477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    478        ECHO_T='	';;
    479   esac;;
    480 *)
    481   ECHO_N='-n';;
    482 esac
    483 
    484 rm -f conf$$ conf$$.exe conf$$.file
    485 if test -d conf$$.dir; then
    486   rm -f conf$$.dir/conf$$.file
    487 else
    488   rm -f conf$$.dir
    489   mkdir conf$$.dir 2>/dev/null
    490 fi
    491 if (echo >conf$$.file) 2>/dev/null; then
    492   if ln -s conf$$.file conf$$ 2>/dev/null; then
    493     as_ln_s='ln -s'
    494     # ... but there are two gotchas:
    495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    497     # In both cases, we have to default to `cp -p'.
    498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    499       as_ln_s='cp -p'
    500   elif ln conf$$.file conf$$ 2>/dev/null; then
    501     as_ln_s=ln
    502   else
    503     as_ln_s='cp -p'
    504   fi
    505 else
    506   as_ln_s='cp -p'
    507 fi
    508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    509 rmdir conf$$.dir 2>/dev/null
    510 
    511 if mkdir -p . 2>/dev/null; then
    512   as_mkdir_p='mkdir -p "$as_dir"'
    513 else
    514   test -d ./-p && rmdir ./-p
    515   as_mkdir_p=false
    516 fi
    517 
    518 if test -x / >/dev/null 2>&1; then
    519   as_test_x='test -x'
    520 else
    521   if ls -dL / >/dev/null 2>&1; then
    522     as_ls_L_option=L
    523   else
    524     as_ls_L_option=
    525   fi
    526   as_test_x='
    527     eval sh -c '\''
    528       if test -d "$1"; then
    529 	test -d "$1/.";
    530       else
    531 	case $1 in #(
    532 	-*)set "./$1";;
    533 	esac;
    534 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    535 	???[sx]*):;;*)false;;esac;fi
    536     '\'' sh
    537   '
    538 fi
    539 as_executable_p=$as_test_x
    540 
    541 # Sed expression to map a string onto a valid CPP name.
    542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    543 
    544 # Sed expression to map a string onto a valid variable name.
    545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    546 
    547 SHELL=${CONFIG_SHELL-/bin/sh}
    548 
    549 
    550 test -n "$DJDIR" || exec 7<&0 </dev/null
    551 exec 6>&1
    552 
    553 # Name of the host.
    554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    555 # so uname gets run too.
    556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    557 
    558 #
    559 # Initializations.
    560 #
    561 ac_default_prefix=/usr/local
    562 ac_clean_files=
    563 ac_config_libobj_dir=.
    564 LIBOBJS=
    565 cross_compiling=no
    566 subdirs=
    567 MFLAGS=
    568 MAKEFLAGS=
    569 
    570 # Identity of this package.
    571 PACKAGE_NAME='EXIF library'
    572 PACKAGE_TARNAME='libexif'
    573 PACKAGE_VERSION='0.6.21'
    574 PACKAGE_STRING='EXIF library 0.6.21'
    575 PACKAGE_BUGREPORT='libexif-devel@lists.sourceforge.net'
    576 PACKAGE_URL=''
    577 
    578 ac_unique_file="libexif/exif-data.h"
    579 # Factoring default headers for most tests.
    580 ac_includes_default="\
    581 #include <stdio.h>
    582 #ifdef HAVE_SYS_TYPES_H
    583 # include <sys/types.h>
    584 #endif
    585 #ifdef HAVE_SYS_STAT_H
    586 # include <sys/stat.h>
    587 #endif
    588 #ifdef STDC_HEADERS
    589 # include <stdlib.h>
    590 # include <stddef.h>
    591 #else
    592 # ifdef HAVE_STDLIB_H
    593 #  include <stdlib.h>
    594 # endif
    595 #endif
    596 #ifdef HAVE_STRING_H
    597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    598 #  include <memory.h>
    599 # endif
    600 # include <string.h>
    601 #endif
    602 #ifdef HAVE_STRINGS_H
    603 # include <strings.h>
    604 #endif
    605 #ifdef HAVE_INTTYPES_H
    606 # include <inttypes.h>
    607 #endif
    608 #ifdef HAVE_STDINT_H
    609 # include <stdint.h>
    610 #endif
    611 #ifdef HAVE_UNISTD_H
    612 # include <unistd.h>
    613 #endif"
    614 
    615 ac_subst_vars='am__EXEEXT_FALSE
    616 am__EXEEXT_TRUE
    617 LTLIBOBJS
    618 LIBOBJS
    619 AM_LDFLAGS
    620 AM_CPPFLAGS
    621 POSUB
    622 LTLIBINTL
    623 LIBINTL
    624 INTLLIBS
    625 LTLIBICONV
    626 LIBICONV
    627 GETTEXT_PACKAGE
    628 MSGMERGE
    629 XGETTEXT
    630 GMSGFMT
    631 MSGFMT
    632 USE_NLS
    633 MKINSTALLDIRS
    634 ENABLE_INTERNAL_DOCS_FALSE
    635 ENABLE_INTERNAL_DOCS_TRUE
    636 HTML_APIDOC_INTERNALS_DIR
    637 DOXYGEN_OUTPUT_DIR
    638 HTML_APIDOC_DIR
    639 HAVE_DOT
    640 HAVE_DOT_FALSE
    641 HAVE_DOT_TRUE
    642 HAVE_DOXYGEN_FALSE
    643 HAVE_DOXYGEN_TRUE
    644 DOXYGEN
    645 DOT
    646 BUILD_DOCS_FALSE
    647 BUILD_DOCS_TRUE
    648 SHIP_BINARIES_FALSE
    649 SHIP_BINARIES_TRUE
    650 CPP
    651 OTOOL64
    652 OTOOL
    653 LIPO
    654 NMEDIT
    655 DSYMUTIL
    656 MANIFEST_TOOL
    657 RANLIB
    658 ac_ct_AR
    659 AR
    660 DLLTOOL
    661 OBJDUMP
    662 LN_S
    663 NM
    664 ac_ct_DUMPBIN
    665 DUMPBIN
    666 LD
    667 FGREP
    668 EGREP
    669 GREP
    670 SED
    671 host_os
    672 host_vendor
    673 host_cpu
    674 host
    675 build_os
    676 build_vendor
    677 build_cpu
    678 build
    679 LIBTOOL
    680 am__fastdepCC_FALSE
    681 am__fastdepCC_TRUE
    682 CCDEPMODE
    683 AMDEPBACKSLASH
    684 AMDEP_FALSE
    685 AMDEP_TRUE
    686 am__quote
    687 am__include
    688 DEPDIR
    689 OBJEXT
    690 EXEEXT
    691 ac_ct_CC
    692 CPPFLAGS
    693 LDFLAGS
    694 CFLAGS
    695 CC
    696 LIBEXIF_VERSION_INFO
    697 LIBEXIF_CURRENT_MIN
    698 LIBEXIF_CURRENT
    699 LIBEXIF_REVISION
    700 LIBEXIF_AGE
    701 AM_BACKSLASH
    702 AM_DEFAULT_VERBOSITY
    703 MAINT
    704 MAINTAINER_MODE_FALSE
    705 MAINTAINER_MODE_TRUE
    706 am__untar
    707 am__tar
    708 AMTAR
    709 am__leading_dot
    710 SET_MAKE
    711 AWK
    712 mkdir_p
    713 MKDIR_P
    714 INSTALL_STRIP_PROGRAM
    715 STRIP
    716 install_sh
    717 MAKEINFO
    718 AUTOHEADER
    719 AUTOMAKE
    720 AUTOCONF
    721 ACLOCAL
    722 VERSION
    723 PACKAGE
    724 CYGPATH_W
    725 am__isrc
    726 INSTALL_DATA
    727 INSTALL_SCRIPT
    728 INSTALL_PROGRAM
    729 target_alias
    730 host_alias
    731 build_alias
    732 LIBS
    733 ECHO_T
    734 ECHO_N
    735 ECHO_C
    736 DEFS
    737 mandir
    738 localedir
    739 libdir
    740 psdir
    741 pdfdir
    742 dvidir
    743 htmldir
    744 infodir
    745 docdir
    746 oldincludedir
    747 includedir
    748 localstatedir
    749 sharedstatedir
    750 sysconfdir
    751 datadir
    752 datarootdir
    753 libexecdir
    754 sbindir
    755 bindir
    756 program_transform_name
    757 prefix
    758 exec_prefix
    759 PACKAGE_URL
    760 PACKAGE_BUGREPORT
    761 PACKAGE_STRING
    762 PACKAGE_VERSION
    763 PACKAGE_TARNAME
    764 PACKAGE_NAME
    765 PATH_SEPARATOR
    766 SHELL'
    767 ac_subst_files=''
    768 ac_user_opts='
    769 enable_option_checking
    770 enable_maintainer_mode
    771 enable_silent_rules
    772 enable_dependency_tracking
    773 enable_shared
    774 enable_static
    775 with_pic
    776 enable_fast_install
    777 with_gnu_ld
    778 with_sysroot
    779 enable_libtool_lock
    780 enable_ship_binaries
    781 enable_docs
    782 with_doc_dir
    783 enable_internal_docs
    784 enable_nls
    785 enable_rpath
    786 with_libiconv_prefix
    787 with_libintl_prefix
    788 '
    789       ac_precious_vars='build_alias
    790 host_alias
    791 target_alias
    792 CC
    793 CFLAGS
    794 LDFLAGS
    795 LIBS
    796 CPPFLAGS
    797 CPP'
    798 
    799 
    800 # Initialize some variables set by options.
    801 ac_init_help=
    802 ac_init_version=false
    803 ac_unrecognized_opts=
    804 ac_unrecognized_sep=
    805 # The variables have the same names as the options, with
    806 # dashes changed to underlines.
    807 cache_file=/dev/null
    808 exec_prefix=NONE
    809 no_create=
    810 no_recursion=
    811 prefix=NONE
    812 program_prefix=NONE
    813 program_suffix=NONE
    814 program_transform_name=s,x,x,
    815 silent=
    816 site=
    817 srcdir=
    818 verbose=
    819 x_includes=NONE
    820 x_libraries=NONE
    821 
    822 # Installation directory options.
    823 # These are left unexpanded so users can "make install exec_prefix=/foo"
    824 # and all the variables that are supposed to be based on exec_prefix
    825 # by default will actually change.
    826 # Use braces instead of parens because sh, perl, etc. also accept them.
    827 # (The list follows the same order as the GNU Coding Standards.)
    828 bindir='${exec_prefix}/bin'
    829 sbindir='${exec_prefix}/sbin'
    830 libexecdir='${exec_prefix}/libexec'
    831 datarootdir='${prefix}/share'
    832 datadir='${datarootdir}'
    833 sysconfdir='${prefix}/etc'
    834 sharedstatedir='${prefix}/com'
    835 localstatedir='${prefix}/var'
    836 includedir='${prefix}/include'
    837 oldincludedir='/usr/include'
    838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    839 infodir='${datarootdir}/info'
    840 htmldir='${docdir}'
    841 dvidir='${docdir}'
    842 pdfdir='${docdir}'
    843 psdir='${docdir}'
    844 libdir='${exec_prefix}/lib'
    845 localedir='${datarootdir}/locale'
    846 mandir='${datarootdir}/man'
    847 
    848 ac_prev=
    849 ac_dashdash=
    850 for ac_option
    851 do
    852   # If the previous option needs an argument, assign it.
    853   if test -n "$ac_prev"; then
    854     eval $ac_prev=\$ac_option
    855     ac_prev=
    856     continue
    857   fi
    858 
    859   case $ac_option in
    860   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    861   *=)   ac_optarg= ;;
    862   *)    ac_optarg=yes ;;
    863   esac
    864 
    865   # Accept the important Cygnus configure options, so we can diagnose typos.
    866 
    867   case $ac_dashdash$ac_option in
    868   --)
    869     ac_dashdash=yes ;;
    870 
    871   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    872     ac_prev=bindir ;;
    873   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    874     bindir=$ac_optarg ;;
    875 
    876   -build | --build | --buil | --bui | --bu)
    877     ac_prev=build_alias ;;
    878   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    879     build_alias=$ac_optarg ;;
    880 
    881   -cache-file | --cache-file | --cache-fil | --cache-fi \
    882   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    883     ac_prev=cache_file ;;
    884   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    885   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    886     cache_file=$ac_optarg ;;
    887 
    888   --config-cache | -C)
    889     cache_file=config.cache ;;
    890 
    891   -datadir | --datadir | --datadi | --datad)
    892     ac_prev=datadir ;;
    893   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    894     datadir=$ac_optarg ;;
    895 
    896   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    897   | --dataroo | --dataro | --datar)
    898     ac_prev=datarootdir ;;
    899   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    900   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    901     datarootdir=$ac_optarg ;;
    902 
    903   -disable-* | --disable-*)
    904     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    905     # Reject names that are not valid shell variable names.
    906     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    907       as_fn_error $? "invalid feature name: $ac_useropt"
    908     ac_useropt_orig=$ac_useropt
    909     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    910     case $ac_user_opts in
    911       *"
    912 "enable_$ac_useropt"
    913 "*) ;;
    914       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    915 	 ac_unrecognized_sep=', ';;
    916     esac
    917     eval enable_$ac_useropt=no ;;
    918 
    919   -docdir | --docdir | --docdi | --doc | --do)
    920     ac_prev=docdir ;;
    921   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    922     docdir=$ac_optarg ;;
    923 
    924   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    925     ac_prev=dvidir ;;
    926   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    927     dvidir=$ac_optarg ;;
    928 
    929   -enable-* | --enable-*)
    930     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    931     # Reject names that are not valid shell variable names.
    932     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    933       as_fn_error $? "invalid feature name: $ac_useropt"
    934     ac_useropt_orig=$ac_useropt
    935     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    936     case $ac_user_opts in
    937       *"
    938 "enable_$ac_useropt"
    939 "*) ;;
    940       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    941 	 ac_unrecognized_sep=', ';;
    942     esac
    943     eval enable_$ac_useropt=\$ac_optarg ;;
    944 
    945   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    946   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    947   | --exec | --exe | --ex)
    948     ac_prev=exec_prefix ;;
    949   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    950   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    951   | --exec=* | --exe=* | --ex=*)
    952     exec_prefix=$ac_optarg ;;
    953 
    954   -gas | --gas | --ga | --g)
    955     # Obsolete; use --with-gas.
    956     with_gas=yes ;;
    957 
    958   -help | --help | --hel | --he | -h)
    959     ac_init_help=long ;;
    960   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    961     ac_init_help=recursive ;;
    962   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    963     ac_init_help=short ;;
    964 
    965   -host | --host | --hos | --ho)
    966     ac_prev=host_alias ;;
    967   -host=* | --host=* | --hos=* | --ho=*)
    968     host_alias=$ac_optarg ;;
    969 
    970   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    971     ac_prev=htmldir ;;
    972   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    973   | --ht=*)
    974     htmldir=$ac_optarg ;;
    975 
    976   -includedir | --includedir | --includedi | --included | --include \
    977   | --includ | --inclu | --incl | --inc)
    978     ac_prev=includedir ;;
    979   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    980   | --includ=* | --inclu=* | --incl=* | --inc=*)
    981     includedir=$ac_optarg ;;
    982 
    983   -infodir | --infodir | --infodi | --infod | --info | --inf)
    984     ac_prev=infodir ;;
    985   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    986     infodir=$ac_optarg ;;
    987 
    988   -libdir | --libdir | --libdi | --libd)
    989     ac_prev=libdir ;;
    990   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    991     libdir=$ac_optarg ;;
    992 
    993   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    994   | --libexe | --libex | --libe)
    995     ac_prev=libexecdir ;;
    996   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    997   | --libexe=* | --libex=* | --libe=*)
    998     libexecdir=$ac_optarg ;;
    999 
   1000   -localedir | --localedir | --localedi | --localed | --locale)
   1001     ac_prev=localedir ;;
   1002   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1003     localedir=$ac_optarg ;;
   1004 
   1005   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1006   | --localstate | --localstat | --localsta | --localst | --locals)
   1007     ac_prev=localstatedir ;;
   1008   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1009   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1010     localstatedir=$ac_optarg ;;
   1011 
   1012   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1013     ac_prev=mandir ;;
   1014   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1015     mandir=$ac_optarg ;;
   1016 
   1017   -nfp | --nfp | --nf)
   1018     # Obsolete; use --without-fp.
   1019     with_fp=no ;;
   1020 
   1021   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1022   | --no-cr | --no-c | -n)
   1023     no_create=yes ;;
   1024 
   1025   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1026   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1027     no_recursion=yes ;;
   1028 
   1029   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1030   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1031   | --oldin | --oldi | --old | --ol | --o)
   1032     ac_prev=oldincludedir ;;
   1033   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1034   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1035   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1036     oldincludedir=$ac_optarg ;;
   1037 
   1038   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1039     ac_prev=prefix ;;
   1040   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1041     prefix=$ac_optarg ;;
   1042 
   1043   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1044   | --program-pre | --program-pr | --program-p)
   1045     ac_prev=program_prefix ;;
   1046   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1047   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1048     program_prefix=$ac_optarg ;;
   1049 
   1050   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1051   | --program-suf | --program-su | --program-s)
   1052     ac_prev=program_suffix ;;
   1053   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1054   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1055     program_suffix=$ac_optarg ;;
   1056 
   1057   -program-transform-name | --program-transform-name \
   1058   | --program-transform-nam | --program-transform-na \
   1059   | --program-transform-n | --program-transform- \
   1060   | --program-transform | --program-transfor \
   1061   | --program-transfo | --program-transf \
   1062   | --program-trans | --program-tran \
   1063   | --progr-tra | --program-tr | --program-t)
   1064     ac_prev=program_transform_name ;;
   1065   -program-transform-name=* | --program-transform-name=* \
   1066   | --program-transform-nam=* | --program-transform-na=* \
   1067   | --program-transform-n=* | --program-transform-=* \
   1068   | --program-transform=* | --program-transfor=* \
   1069   | --program-transfo=* | --program-transf=* \
   1070   | --program-trans=* | --program-tran=* \
   1071   | --progr-tra=* | --program-tr=* | --program-t=*)
   1072     program_transform_name=$ac_optarg ;;
   1073 
   1074   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1075     ac_prev=pdfdir ;;
   1076   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1077     pdfdir=$ac_optarg ;;
   1078 
   1079   -psdir | --psdir | --psdi | --psd | --ps)
   1080     ac_prev=psdir ;;
   1081   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1082     psdir=$ac_optarg ;;
   1083 
   1084   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1085   | -silent | --silent | --silen | --sile | --sil)
   1086     silent=yes ;;
   1087 
   1088   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1089     ac_prev=sbindir ;;
   1090   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1091   | --sbi=* | --sb=*)
   1092     sbindir=$ac_optarg ;;
   1093 
   1094   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1095   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1096   | --sharedst | --shareds | --shared | --share | --shar \
   1097   | --sha | --sh)
   1098     ac_prev=sharedstatedir ;;
   1099   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1100   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1101   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1102   | --sha=* | --sh=*)
   1103     sharedstatedir=$ac_optarg ;;
   1104 
   1105   -site | --site | --sit)
   1106     ac_prev=site ;;
   1107   -site=* | --site=* | --sit=*)
   1108     site=$ac_optarg ;;
   1109 
   1110   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1111     ac_prev=srcdir ;;
   1112   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1113     srcdir=$ac_optarg ;;
   1114 
   1115   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1116   | --syscon | --sysco | --sysc | --sys | --sy)
   1117     ac_prev=sysconfdir ;;
   1118   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1119   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1120     sysconfdir=$ac_optarg ;;
   1121 
   1122   -target | --target | --targe | --targ | --tar | --ta | --t)
   1123     ac_prev=target_alias ;;
   1124   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1125     target_alias=$ac_optarg ;;
   1126 
   1127   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1128     verbose=yes ;;
   1129 
   1130   -version | --version | --versio | --versi | --vers | -V)
   1131     ac_init_version=: ;;
   1132 
   1133   -with-* | --with-*)
   1134     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1135     # Reject names that are not valid shell variable names.
   1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1137       as_fn_error $? "invalid package name: $ac_useropt"
   1138     ac_useropt_orig=$ac_useropt
   1139     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1140     case $ac_user_opts in
   1141       *"
   1142 "with_$ac_useropt"
   1143 "*) ;;
   1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1145 	 ac_unrecognized_sep=', ';;
   1146     esac
   1147     eval with_$ac_useropt=\$ac_optarg ;;
   1148 
   1149   -without-* | --without-*)
   1150     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1151     # Reject names that are not valid shell variable names.
   1152     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1153       as_fn_error $? "invalid package name: $ac_useropt"
   1154     ac_useropt_orig=$ac_useropt
   1155     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1156     case $ac_user_opts in
   1157       *"
   1158 "with_$ac_useropt"
   1159 "*) ;;
   1160       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1161 	 ac_unrecognized_sep=', ';;
   1162     esac
   1163     eval with_$ac_useropt=no ;;
   1164 
   1165   --x)
   1166     # Obsolete; use --with-x.
   1167     with_x=yes ;;
   1168 
   1169   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1170   | --x-incl | --x-inc | --x-in | --x-i)
   1171     ac_prev=x_includes ;;
   1172   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1173   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1174     x_includes=$ac_optarg ;;
   1175 
   1176   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1177   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1178     ac_prev=x_libraries ;;
   1179   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1180   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1181     x_libraries=$ac_optarg ;;
   1182 
   1183   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1184 Try \`$0 --help' for more information"
   1185     ;;
   1186 
   1187   *=*)
   1188     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1189     # Reject names that are not valid shell variable names.
   1190     case $ac_envvar in #(
   1191       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1192       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1193     esac
   1194     eval $ac_envvar=\$ac_optarg
   1195     export $ac_envvar ;;
   1196 
   1197   *)
   1198     # FIXME: should be removed in autoconf 3.0.
   1199     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1200     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1201       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1202     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1203     ;;
   1204 
   1205   esac
   1206 done
   1207 
   1208 if test -n "$ac_prev"; then
   1209   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1210   as_fn_error $? "missing argument to $ac_option"
   1211 fi
   1212 
   1213 if test -n "$ac_unrecognized_opts"; then
   1214   case $enable_option_checking in
   1215     no) ;;
   1216     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1217     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1218   esac
   1219 fi
   1220 
   1221 # Check all directory arguments for consistency.
   1222 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1223 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1224 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1225 		libdir localedir mandir
   1226 do
   1227   eval ac_val=\$$ac_var
   1228   # Remove trailing slashes.
   1229   case $ac_val in
   1230     */ )
   1231       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1232       eval $ac_var=\$ac_val;;
   1233   esac
   1234   # Be sure to have absolute directory names.
   1235   case $ac_val in
   1236     [\\/$]* | ?:[\\/]* )  continue;;
   1237     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1238   esac
   1239   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1240 done
   1241 
   1242 # There might be people who depend on the old broken behavior: `$host'
   1243 # used to hold the argument of --host etc.
   1244 # FIXME: To remove some day.
   1245 build=$build_alias
   1246 host=$host_alias
   1247 target=$target_alias
   1248 
   1249 # FIXME: To remove some day.
   1250 if test "x$host_alias" != x; then
   1251   if test "x$build_alias" = x; then
   1252     cross_compiling=maybe
   1253     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1254     If a cross compiler is detected then cross compile mode will be used" >&2
   1255   elif test "x$build_alias" != "x$host_alias"; then
   1256     cross_compiling=yes
   1257   fi
   1258 fi
   1259 
   1260 ac_tool_prefix=
   1261 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1262 
   1263 test "$silent" = yes && exec 6>/dev/null
   1264 
   1265 
   1266 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1267 ac_ls_di=`ls -di .` &&
   1268 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1269   as_fn_error $? "working directory cannot be determined"
   1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1271   as_fn_error $? "pwd does not report name of working directory"
   1272 
   1273 
   1274 # Find the source files, if location was not specified.
   1275 if test -z "$srcdir"; then
   1276   ac_srcdir_defaulted=yes
   1277   # Try the directory containing this script, then the parent directory.
   1278   ac_confdir=`$as_dirname -- "$as_myself" ||
   1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1280 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1281 	 X"$as_myself" : 'X\(//\)$' \| \
   1282 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1283 $as_echo X"$as_myself" |
   1284     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  /^X\(\/\/\)[^/].*/{
   1289 	    s//\1/
   1290 	    q
   1291 	  }
   1292 	  /^X\(\/\/\)$/{
   1293 	    s//\1/
   1294 	    q
   1295 	  }
   1296 	  /^X\(\/\).*/{
   1297 	    s//\1/
   1298 	    q
   1299 	  }
   1300 	  s/.*/./; q'`
   1301   srcdir=$ac_confdir
   1302   if test ! -r "$srcdir/$ac_unique_file"; then
   1303     srcdir=..
   1304   fi
   1305 else
   1306   ac_srcdir_defaulted=no
   1307 fi
   1308 if test ! -r "$srcdir/$ac_unique_file"; then
   1309   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1310   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1311 fi
   1312 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1313 ac_abs_confdir=`(
   1314 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1315 	pwd)`
   1316 # When building in place, set srcdir=.
   1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1318   srcdir=.
   1319 fi
   1320 # Remove unnecessary trailing slashes from srcdir.
   1321 # Double slashes in file names in object file debugging info
   1322 # mess up M-x gdb in Emacs.
   1323 case $srcdir in
   1324 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1325 esac
   1326 for ac_var in $ac_precious_vars; do
   1327   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1328   eval ac_env_${ac_var}_value=\$${ac_var}
   1329   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1330   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1331 done
   1332 
   1333 #
   1334 # Report the --help message.
   1335 #
   1336 if test "$ac_init_help" = "long"; then
   1337   # Omit some internal or obsolete options to make the list less imposing.
   1338   # This message is too long to be a string in the A/UX 3.1 sh.
   1339   cat <<_ACEOF
   1340 \`configure' configures EXIF library 0.6.21 to adapt to many kinds of systems.
   1341 
   1342 Usage: $0 [OPTION]... [VAR=VALUE]...
   1343 
   1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1345 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1346 
   1347 Defaults for the options are specified in brackets.
   1348 
   1349 Configuration:
   1350   -h, --help              display this help and exit
   1351       --help=short        display options specific to this package
   1352       --help=recursive    display the short help of all the included packages
   1353   -V, --version           display version information and exit
   1354   -q, --quiet, --silent   do not print \`checking ...' messages
   1355       --cache-file=FILE   cache test results in FILE [disabled]
   1356   -C, --config-cache      alias for \`--cache-file=config.cache'
   1357   -n, --no-create         do not create output files
   1358       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1359 
   1360 Installation directories:
   1361   --prefix=PREFIX         install architecture-independent files in PREFIX
   1362                           [$ac_default_prefix]
   1363   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1364                           [PREFIX]
   1365 
   1366 By default, \`make install' will install all the files in
   1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1369 for instance \`--prefix=\$HOME'.
   1370 
   1371 For better control, use the options below.
   1372 
   1373 Fine tuning of the installation directories:
   1374   --bindir=DIR            user executables [EPREFIX/bin]
   1375   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1376   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1377   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1378   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1379   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1380   --libdir=DIR            object code libraries [EPREFIX/lib]
   1381   --includedir=DIR        C header files [PREFIX/include]
   1382   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1383   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1384   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1385   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1386   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1387   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1388   --docdir=DIR            documentation root [DATAROOTDIR/doc/libexif]
   1389   --htmldir=DIR           html documentation [DOCDIR]
   1390   --dvidir=DIR            dvi documentation [DOCDIR]
   1391   --pdfdir=DIR            pdf documentation [DOCDIR]
   1392   --psdir=DIR             ps documentation [DOCDIR]
   1393 _ACEOF
   1394 
   1395   cat <<\_ACEOF
   1396 
   1397 Program names:
   1398   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1399   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1400   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1401 
   1402 System types:
   1403   --build=BUILD     configure for building on BUILD [guessed]
   1404   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1405 _ACEOF
   1406 fi
   1407 
   1408 if test -n "$ac_init_help"; then
   1409   case $ac_init_help in
   1410      short | recursive ) echo "Configuration of EXIF library 0.6.21:";;
   1411    esac
   1412   cat <<\_ACEOF
   1413 
   1414 Optional Features:
   1415   --disable-option-checking  ignore unrecognized --enable/--with options
   1416   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1417   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1418   --enable-maintainer-mode  enable make rules and dependencies not useful
   1419 			  (and sometimes confusing) to the casual installer
   1420   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1421   --disable-silent-rules         verbose build output (undo: `make V=0')
   1422   --disable-dependency-tracking  speeds up one-time build
   1423   --enable-dependency-tracking   do not reject slow dependency extractors
   1424   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1425   --enable-static[=PKGS]  build static libraries [default=yes]
   1426   --enable-fast-install[=PKGS]
   1427                           optimize for fast installation [default=yes]
   1428   --disable-libtool-lock  avoid locking (might break parallel builds)
   1429   --enable-ship-binaries  Whether to ship binaries in the tarball [default=no]
   1430   --disable-docs          whether to create any documentation
   1431   --enable-internal-docs  Build internal code docs if doxygen available
   1432   --disable-nls           do not use Native Language Support
   1433   --disable-rpath         do not hardcode runtime library paths
   1434 
   1435 Optional Packages:
   1436   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1437   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1438   --with-pic              try to use only PIC/non-PIC objects [default=use
   1439                           both]
   1440   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1441   --with-sysroot=DIR Search for dependent libraries within DIR
   1442                         (or the compiler's sysroot if not specified).
   1443   --with-doc-dir=PATH     Where to install docs [default=autodetect]
   1444   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1445   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1446   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1447   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1448   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1449 
   1450 Some influential environment variables:
   1451   CC          C compiler command
   1452   CFLAGS      C compiler flags
   1453   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1454               nonstandard directory <lib dir>
   1455   LIBS        libraries to pass to the linker, e.g. -l<library>
   1456   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1457               you have headers in a nonstandard directory <include dir>
   1458   CPP         C preprocessor
   1459 
   1460 Use these variables to override the choices made by `configure' or to help
   1461 it to find libraries and programs with nonstandard names/locations.
   1462 
   1463 Report bugs to <libexif-devel (at] lists.sourceforge.net>.
   1464 _ACEOF
   1465 ac_status=$?
   1466 fi
   1467 
   1468 if test "$ac_init_help" = "recursive"; then
   1469   # If there are subdirs, report their specific --help.
   1470   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1471     test -d "$ac_dir" ||
   1472       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1473       continue
   1474     ac_builddir=.
   1475 
   1476 case "$ac_dir" in
   1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478 *)
   1479   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1480   # A ".." for each directory in $ac_dir_suffix.
   1481   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1482   case $ac_top_builddir_sub in
   1483   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1484   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1485   esac ;;
   1486 esac
   1487 ac_abs_top_builddir=$ac_pwd
   1488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1489 # for backward compatibility:
   1490 ac_top_builddir=$ac_top_build_prefix
   1491 
   1492 case $srcdir in
   1493   .)  # We are building in place.
   1494     ac_srcdir=.
   1495     ac_top_srcdir=$ac_top_builddir_sub
   1496     ac_abs_top_srcdir=$ac_pwd ;;
   1497   [\\/]* | ?:[\\/]* )  # Absolute name.
   1498     ac_srcdir=$srcdir$ac_dir_suffix;
   1499     ac_top_srcdir=$srcdir
   1500     ac_abs_top_srcdir=$srcdir ;;
   1501   *) # Relative name.
   1502     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1503     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1504     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1505 esac
   1506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1507 
   1508     cd "$ac_dir" || { ac_status=$?; continue; }
   1509     # Check for guested configure.
   1510     if test -f "$ac_srcdir/configure.gnu"; then
   1511       echo &&
   1512       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1513     elif test -f "$ac_srcdir/configure"; then
   1514       echo &&
   1515       $SHELL "$ac_srcdir/configure" --help=recursive
   1516     else
   1517       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1518     fi || ac_status=$?
   1519     cd "$ac_pwd" || { ac_status=$?; break; }
   1520   done
   1521 fi
   1522 
   1523 test -n "$ac_init_help" && exit $ac_status
   1524 if $ac_init_version; then
   1525   cat <<\_ACEOF
   1526 EXIF library configure 0.6.21
   1527 generated by GNU Autoconf 2.68
   1528 
   1529 Copyright (C) 2010 Free Software Foundation, Inc.
   1530 This configure script is free software; the Free Software Foundation
   1531 gives unlimited permission to copy, distribute and modify it.
   1532 _ACEOF
   1533   exit
   1534 fi
   1535 
   1536 ## ------------------------ ##
   1537 ## Autoconf initialization. ##
   1538 ## ------------------------ ##
   1539 
   1540 # ac_fn_c_try_compile LINENO
   1541 # --------------------------
   1542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1543 ac_fn_c_try_compile ()
   1544 {
   1545   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1546   rm -f conftest.$ac_objext
   1547   if { { ac_try="$ac_compile"
   1548 case "(($ac_try" in
   1549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1550   *) ac_try_echo=$ac_try;;
   1551 esac
   1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1553 $as_echo "$ac_try_echo"; } >&5
   1554   (eval "$ac_compile") 2>conftest.err
   1555   ac_status=$?
   1556   if test -s conftest.err; then
   1557     grep -v '^ *+' conftest.err >conftest.er1
   1558     cat conftest.er1 >&5
   1559     mv -f conftest.er1 conftest.err
   1560   fi
   1561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1562   test $ac_status = 0; } && {
   1563 	 test -z "$ac_c_werror_flag" ||
   1564 	 test ! -s conftest.err
   1565        } && test -s conftest.$ac_objext; then :
   1566   ac_retval=0
   1567 else
   1568   $as_echo "$as_me: failed program was:" >&5
   1569 sed 's/^/| /' conftest.$ac_ext >&5
   1570 
   1571 	ac_retval=1
   1572 fi
   1573   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1574   as_fn_set_status $ac_retval
   1575 
   1576 } # ac_fn_c_try_compile
   1577 
   1578 # ac_fn_c_try_link LINENO
   1579 # -----------------------
   1580 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1581 ac_fn_c_try_link ()
   1582 {
   1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1584   rm -f conftest.$ac_objext conftest$ac_exeext
   1585   if { { ac_try="$ac_link"
   1586 case "(($ac_try" in
   1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1588   *) ac_try_echo=$ac_try;;
   1589 esac
   1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1591 $as_echo "$ac_try_echo"; } >&5
   1592   (eval "$ac_link") 2>conftest.err
   1593   ac_status=$?
   1594   if test -s conftest.err; then
   1595     grep -v '^ *+' conftest.err >conftest.er1
   1596     cat conftest.er1 >&5
   1597     mv -f conftest.er1 conftest.err
   1598   fi
   1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1600   test $ac_status = 0; } && {
   1601 	 test -z "$ac_c_werror_flag" ||
   1602 	 test ! -s conftest.err
   1603        } && test -s conftest$ac_exeext && {
   1604 	 test "$cross_compiling" = yes ||
   1605 	 $as_test_x conftest$ac_exeext
   1606        }; then :
   1607   ac_retval=0
   1608 else
   1609   $as_echo "$as_me: failed program was:" >&5
   1610 sed 's/^/| /' conftest.$ac_ext >&5
   1611 
   1612 	ac_retval=1
   1613 fi
   1614   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1615   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1616   # interfere with the next link command; also delete a directory that is
   1617   # left behind by Apple's compiler.  We do this before executing the actions.
   1618   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620   as_fn_set_status $ac_retval
   1621 
   1622 } # ac_fn_c_try_link
   1623 
   1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1625 # -------------------------------------------------------
   1626 # Tests whether HEADER exists and can be compiled using the include files in
   1627 # INCLUDES, setting the cache variable VAR accordingly.
   1628 ac_fn_c_check_header_compile ()
   1629 {
   1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1632 $as_echo_n "checking for $2... " >&6; }
   1633 if eval \${$3+:} false; then :
   1634   $as_echo_n "(cached) " >&6
   1635 else
   1636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1637 /* end confdefs.h.  */
   1638 $4
   1639 #include <$2>
   1640 _ACEOF
   1641 if ac_fn_c_try_compile "$LINENO"; then :
   1642   eval "$3=yes"
   1643 else
   1644   eval "$3=no"
   1645 fi
   1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1647 fi
   1648 eval ac_res=\$$3
   1649 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1650 $as_echo "$ac_res" >&6; }
   1651   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1652 
   1653 } # ac_fn_c_check_header_compile
   1654 
   1655 # ac_fn_c_try_cpp LINENO
   1656 # ----------------------
   1657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1658 ac_fn_c_try_cpp ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1662 case "(($ac_try" in
   1663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1664   *) ac_try_echo=$ac_try;;
   1665 esac
   1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1667 $as_echo "$ac_try_echo"; } >&5
   1668   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1669   ac_status=$?
   1670   if test -s conftest.err; then
   1671     grep -v '^ *+' conftest.err >conftest.er1
   1672     cat conftest.er1 >&5
   1673     mv -f conftest.er1 conftest.err
   1674   fi
   1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1676   test $ac_status = 0; } > conftest.i && {
   1677 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1678 	 test ! -s conftest.err
   1679        }; then :
   1680   ac_retval=0
   1681 else
   1682   $as_echo "$as_me: failed program was:" >&5
   1683 sed 's/^/| /' conftest.$ac_ext >&5
   1684 
   1685     ac_retval=1
   1686 fi
   1687   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1688   as_fn_set_status $ac_retval
   1689 
   1690 } # ac_fn_c_try_cpp
   1691 
   1692 # ac_fn_c_try_run LINENO
   1693 # ----------------------
   1694 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1695 # that executables *can* be run.
   1696 ac_fn_c_try_run ()
   1697 {
   1698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1699   if { { ac_try="$ac_link"
   1700 case "(($ac_try" in
   1701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1702   *) ac_try_echo=$ac_try;;
   1703 esac
   1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1705 $as_echo "$ac_try_echo"; } >&5
   1706   (eval "$ac_link") 2>&5
   1707   ac_status=$?
   1708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1709   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1710   { { case "(($ac_try" in
   1711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1712   *) ac_try_echo=$ac_try;;
   1713 esac
   1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1715 $as_echo "$ac_try_echo"; } >&5
   1716   (eval "$ac_try") 2>&5
   1717   ac_status=$?
   1718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1719   test $ac_status = 0; }; }; then :
   1720   ac_retval=0
   1721 else
   1722   $as_echo "$as_me: program exited with status $ac_status" >&5
   1723        $as_echo "$as_me: failed program was:" >&5
   1724 sed 's/^/| /' conftest.$ac_ext >&5
   1725 
   1726        ac_retval=$ac_status
   1727 fi
   1728   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1729   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1730   as_fn_set_status $ac_retval
   1731 
   1732 } # ac_fn_c_try_run
   1733 
   1734 # ac_fn_c_check_func LINENO FUNC VAR
   1735 # ----------------------------------
   1736 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1737 ac_fn_c_check_func ()
   1738 {
   1739   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1741 $as_echo_n "checking for $2... " >&6; }
   1742 if eval \${$3+:} false; then :
   1743   $as_echo_n "(cached) " >&6
   1744 else
   1745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1746 /* end confdefs.h.  */
   1747 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1749 #define $2 innocuous_$2
   1750 
   1751 /* System header to define __stub macros and hopefully few prototypes,
   1752     which can conflict with char $2 (); below.
   1753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1754     <limits.h> exists even on freestanding compilers.  */
   1755 
   1756 #ifdef __STDC__
   1757 # include <limits.h>
   1758 #else
   1759 # include <assert.h>
   1760 #endif
   1761 
   1762 #undef $2
   1763 
   1764 /* Override any GCC internal prototype to avoid an error.
   1765    Use char because int might match the return type of a GCC
   1766    builtin and then its argument prototype would still apply.  */
   1767 #ifdef __cplusplus
   1768 extern "C"
   1769 #endif
   1770 char $2 ();
   1771 /* The GNU C library defines this for functions which it implements
   1772     to always fail with ENOSYS.  Some functions are actually named
   1773     something starting with __ and the normal name is an alias.  */
   1774 #if defined __stub_$2 || defined __stub___$2
   1775 choke me
   1776 #endif
   1777 
   1778 int
   1779 main ()
   1780 {
   1781 return $2 ();
   1782   ;
   1783   return 0;
   1784 }
   1785 _ACEOF
   1786 if ac_fn_c_try_link "$LINENO"; then :
   1787   eval "$3=yes"
   1788 else
   1789   eval "$3=no"
   1790 fi
   1791 rm -f core conftest.err conftest.$ac_objext \
   1792     conftest$ac_exeext conftest.$ac_ext
   1793 fi
   1794 eval ac_res=\$$3
   1795 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1796 $as_echo "$ac_res" >&6; }
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798 
   1799 } # ac_fn_c_check_func
   1800 cat >config.log <<_ACEOF
   1801 This file contains any messages produced by compilers while
   1802 running configure, to aid debugging if configure makes a mistake.
   1803 
   1804 It was created by EXIF library $as_me 0.6.21, which was
   1805 generated by GNU Autoconf 2.68.  Invocation command line was
   1806 
   1807   $ $0 $@
   1808 
   1809 _ACEOF
   1810 exec 5>>config.log
   1811 {
   1812 cat <<_ASUNAME
   1813 ## --------- ##
   1814 ## Platform. ##
   1815 ## --------- ##
   1816 
   1817 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1818 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1819 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1820 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1821 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1822 
   1823 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1824 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1825 
   1826 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1827 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1828 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1829 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1830 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1831 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1832 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1833 
   1834 _ASUNAME
   1835 
   1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1837 for as_dir in $PATH
   1838 do
   1839   IFS=$as_save_IFS
   1840   test -z "$as_dir" && as_dir=.
   1841     $as_echo "PATH: $as_dir"
   1842   done
   1843 IFS=$as_save_IFS
   1844 
   1845 } >&5
   1846 
   1847 cat >&5 <<_ACEOF
   1848 
   1849 
   1850 ## ----------- ##
   1851 ## Core tests. ##
   1852 ## ----------- ##
   1853 
   1854 _ACEOF
   1855 
   1856 
   1857 # Keep a trace of the command line.
   1858 # Strip out --no-create and --no-recursion so they do not pile up.
   1859 # Strip out --silent because we don't want to record it for future runs.
   1860 # Also quote any args containing shell meta-characters.
   1861 # Make two passes to allow for proper duplicate-argument suppression.
   1862 ac_configure_args=
   1863 ac_configure_args0=
   1864 ac_configure_args1=
   1865 ac_must_keep_next=false
   1866 for ac_pass in 1 2
   1867 do
   1868   for ac_arg
   1869   do
   1870     case $ac_arg in
   1871     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1872     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1873     | -silent | --silent | --silen | --sile | --sil)
   1874       continue ;;
   1875     *\'*)
   1876       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1877     esac
   1878     case $ac_pass in
   1879     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1880     2)
   1881       as_fn_append ac_configure_args1 " '$ac_arg'"
   1882       if test $ac_must_keep_next = true; then
   1883 	ac_must_keep_next=false # Got value, back to normal.
   1884       else
   1885 	case $ac_arg in
   1886 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1887 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1888 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1889 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1890 	    case "$ac_configure_args0 " in
   1891 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1892 	    esac
   1893 	    ;;
   1894 	  -* ) ac_must_keep_next=true ;;
   1895 	esac
   1896       fi
   1897       as_fn_append ac_configure_args " '$ac_arg'"
   1898       ;;
   1899     esac
   1900   done
   1901 done
   1902 { ac_configure_args0=; unset ac_configure_args0;}
   1903 { ac_configure_args1=; unset ac_configure_args1;}
   1904 
   1905 # When interrupted or exit'd, cleanup temporary files, and complete
   1906 # config.log.  We remove comments because anyway the quotes in there
   1907 # would cause problems or look ugly.
   1908 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1909 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1910 trap 'exit_status=$?
   1911   # Save into config.log some information that might help in debugging.
   1912   {
   1913     echo
   1914 
   1915     $as_echo "## ---------------- ##
   1916 ## Cache variables. ##
   1917 ## ---------------- ##"
   1918     echo
   1919     # The following way of writing the cache mishandles newlines in values,
   1920 (
   1921   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1922     eval ac_val=\$$ac_var
   1923     case $ac_val in #(
   1924     *${as_nl}*)
   1925       case $ac_var in #(
   1926       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1927 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1928       esac
   1929       case $ac_var in #(
   1930       _ | IFS | as_nl) ;; #(
   1931       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1932       *) { eval $ac_var=; unset $ac_var;} ;;
   1933       esac ;;
   1934     esac
   1935   done
   1936   (set) 2>&1 |
   1937     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1938     *${as_nl}ac_space=\ *)
   1939       sed -n \
   1940 	"s/'\''/'\''\\\\'\'''\''/g;
   1941 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1942       ;; #(
   1943     *)
   1944       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1945       ;;
   1946     esac |
   1947     sort
   1948 )
   1949     echo
   1950 
   1951     $as_echo "## ----------------- ##
   1952 ## Output variables. ##
   1953 ## ----------------- ##"
   1954     echo
   1955     for ac_var in $ac_subst_vars
   1956     do
   1957       eval ac_val=\$$ac_var
   1958       case $ac_val in
   1959       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1960       esac
   1961       $as_echo "$ac_var='\''$ac_val'\''"
   1962     done | sort
   1963     echo
   1964 
   1965     if test -n "$ac_subst_files"; then
   1966       $as_echo "## ------------------- ##
   1967 ## File substitutions. ##
   1968 ## ------------------- ##"
   1969       echo
   1970       for ac_var in $ac_subst_files
   1971       do
   1972 	eval ac_val=\$$ac_var
   1973 	case $ac_val in
   1974 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1975 	esac
   1976 	$as_echo "$ac_var='\''$ac_val'\''"
   1977       done | sort
   1978       echo
   1979     fi
   1980 
   1981     if test -s confdefs.h; then
   1982       $as_echo "## ----------- ##
   1983 ## confdefs.h. ##
   1984 ## ----------- ##"
   1985       echo
   1986       cat confdefs.h
   1987       echo
   1988     fi
   1989     test "$ac_signal" != 0 &&
   1990       $as_echo "$as_me: caught signal $ac_signal"
   1991     $as_echo "$as_me: exit $exit_status"
   1992   } >&5
   1993   rm -f core *.core core.conftest.* &&
   1994     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1995     exit $exit_status
   1996 ' 0
   1997 for ac_signal in 1 2 13 15; do
   1998   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1999 done
   2000 ac_signal=0
   2001 
   2002 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2003 rm -f -r conftest* confdefs.h
   2004 
   2005 $as_echo "/* confdefs.h */" > confdefs.h
   2006 
   2007 # Predefined preprocessor variables.
   2008 
   2009 cat >>confdefs.h <<_ACEOF
   2010 #define PACKAGE_NAME "$PACKAGE_NAME"
   2011 _ACEOF
   2012 
   2013 cat >>confdefs.h <<_ACEOF
   2014 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2015 _ACEOF
   2016 
   2017 cat >>confdefs.h <<_ACEOF
   2018 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2019 _ACEOF
   2020 
   2021 cat >>confdefs.h <<_ACEOF
   2022 #define PACKAGE_STRING "$PACKAGE_STRING"
   2023 _ACEOF
   2024 
   2025 cat >>confdefs.h <<_ACEOF
   2026 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2027 _ACEOF
   2028 
   2029 cat >>confdefs.h <<_ACEOF
   2030 #define PACKAGE_URL "$PACKAGE_URL"
   2031 _ACEOF
   2032 
   2033 
   2034 # Let the site file select an alternate cache file if it wants to.
   2035 # Prefer an explicitly selected file to automatically selected ones.
   2036 ac_site_file1=NONE
   2037 ac_site_file2=NONE
   2038 if test -n "$CONFIG_SITE"; then
   2039   # We do not want a PATH search for config.site.
   2040   case $CONFIG_SITE in #((
   2041     -*)  ac_site_file1=./$CONFIG_SITE;;
   2042     */*) ac_site_file1=$CONFIG_SITE;;
   2043     *)   ac_site_file1=./$CONFIG_SITE;;
   2044   esac
   2045 elif test "x$prefix" != xNONE; then
   2046   ac_site_file1=$prefix/share/config.site
   2047   ac_site_file2=$prefix/etc/config.site
   2048 else
   2049   ac_site_file1=$ac_default_prefix/share/config.site
   2050   ac_site_file2=$ac_default_prefix/etc/config.site
   2051 fi
   2052 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2053 do
   2054   test "x$ac_site_file" = xNONE && continue
   2055   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2056     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2057 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2058     sed 's/^/| /' "$ac_site_file" >&5
   2059     . "$ac_site_file" \
   2060       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2062 as_fn_error $? "failed to load site script $ac_site_file
   2063 See \`config.log' for more details" "$LINENO" 5; }
   2064   fi
   2065 done
   2066 
   2067 if test -r "$cache_file"; then
   2068   # Some versions of bash will fail to source /dev/null (special files
   2069   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2070   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2071     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2072 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2073     case $cache_file in
   2074       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2075       *)                      . "./$cache_file";;
   2076     esac
   2077   fi
   2078 else
   2079   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2080 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2081   >$cache_file
   2082 fi
   2083 
   2084 # Check that the precious variables saved in the cache have kept the same
   2085 # value.
   2086 ac_cache_corrupted=false
   2087 for ac_var in $ac_precious_vars; do
   2088   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2089   eval ac_new_set=\$ac_env_${ac_var}_set
   2090   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2091   eval ac_new_val=\$ac_env_${ac_var}_value
   2092   case $ac_old_set,$ac_new_set in
   2093     set,)
   2094       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2095 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2096       ac_cache_corrupted=: ;;
   2097     ,set)
   2098       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2099 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2100       ac_cache_corrupted=: ;;
   2101     ,);;
   2102     *)
   2103       if test "x$ac_old_val" != "x$ac_new_val"; then
   2104 	# differences in whitespace do not lead to failure.
   2105 	ac_old_val_w=`echo x $ac_old_val`
   2106 	ac_new_val_w=`echo x $ac_new_val`
   2107 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2108 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2109 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2110 	  ac_cache_corrupted=:
   2111 	else
   2112 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2113 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2114 	  eval $ac_var=\$ac_old_val
   2115 	fi
   2116 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2117 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2118 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2119 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2120       fi;;
   2121   esac
   2122   # Pass precious variables to config.status.
   2123   if test "$ac_new_set" = set; then
   2124     case $ac_new_val in
   2125     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2126     *) ac_arg=$ac_var=$ac_new_val ;;
   2127     esac
   2128     case " $ac_configure_args " in
   2129       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2130       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2131     esac
   2132   fi
   2133 done
   2134 if $ac_cache_corrupted; then
   2135   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2137   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2138 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2139   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2140 fi
   2141 ## -------------------- ##
   2142 ## Main body of script. ##
   2143 ## -------------------- ##
   2144 
   2145 ac_ext=c
   2146 ac_cpp='$CPP $CPPFLAGS'
   2147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2150 
   2151 
   2152 
   2153 ac_config_headers="$ac_config_headers config.h"
   2154 
   2155 
   2156 am__api_version='1.11'
   2157 
   2158 ac_aux_dir=
   2159 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2160   if test -f "$ac_dir/install-sh"; then
   2161     ac_aux_dir=$ac_dir
   2162     ac_install_sh="$ac_aux_dir/install-sh -c"
   2163     break
   2164   elif test -f "$ac_dir/install.sh"; then
   2165     ac_aux_dir=$ac_dir
   2166     ac_install_sh="$ac_aux_dir/install.sh -c"
   2167     break
   2168   elif test -f "$ac_dir/shtool"; then
   2169     ac_aux_dir=$ac_dir
   2170     ac_install_sh="$ac_aux_dir/shtool install -c"
   2171     break
   2172   fi
   2173 done
   2174 if test -z "$ac_aux_dir"; then
   2175   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2176 fi
   2177 
   2178 # These three variables are undocumented and unsupported,
   2179 # and are intended to be withdrawn in a future Autoconf release.
   2180 # They can cause serious problems if a builder's source tree is in a directory
   2181 # whose full name contains unusual characters.
   2182 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2183 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2184 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2185 
   2186 
   2187 # Find a good install program.  We prefer a C program (faster),
   2188 # so one script is as good as another.  But avoid the broken or
   2189 # incompatible versions:
   2190 # SysV /etc/install, /usr/sbin/install
   2191 # SunOS /usr/etc/install
   2192 # IRIX /sbin/install
   2193 # AIX /bin/install
   2194 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2195 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2196 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2197 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2198 # OS/2's system install, which has a completely different semantic
   2199 # ./install, which can be erroneously created by make from ./install.sh.
   2200 # Reject install programs that cannot install multiple files.
   2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2202 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2203 if test -z "$INSTALL"; then
   2204 if ${ac_cv_path_install+:} false; then :
   2205   $as_echo_n "(cached) " >&6
   2206 else
   2207   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2208 for as_dir in $PATH
   2209 do
   2210   IFS=$as_save_IFS
   2211   test -z "$as_dir" && as_dir=.
   2212     # Account for people who put trailing slashes in PATH elements.
   2213 case $as_dir/ in #((
   2214   ./ | .// | /[cC]/* | \
   2215   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2216   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2217   /usr/ucb/* ) ;;
   2218   *)
   2219     # OSF1 and SCO ODT 3.0 have their own names for install.
   2220     # Don't use installbsd from OSF since it installs stuff as root
   2221     # by default.
   2222     for ac_prog in ginstall scoinst install; do
   2223       for ac_exec_ext in '' $ac_executable_extensions; do
   2224 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2225 	  if test $ac_prog = install &&
   2226 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2227 	    # AIX install.  It has an incompatible calling convention.
   2228 	    :
   2229 	  elif test $ac_prog = install &&
   2230 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2231 	    # program-specific install script used by HP pwplus--don't use.
   2232 	    :
   2233 	  else
   2234 	    rm -rf conftest.one conftest.two conftest.dir
   2235 	    echo one > conftest.one
   2236 	    echo two > conftest.two
   2237 	    mkdir conftest.dir
   2238 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2239 	      test -s conftest.one && test -s conftest.two &&
   2240 	      test -s conftest.dir/conftest.one &&
   2241 	      test -s conftest.dir/conftest.two
   2242 	    then
   2243 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2244 	      break 3
   2245 	    fi
   2246 	  fi
   2247 	fi
   2248       done
   2249     done
   2250     ;;
   2251 esac
   2252 
   2253   done
   2254 IFS=$as_save_IFS
   2255 
   2256 rm -rf conftest.one conftest.two conftest.dir
   2257 
   2258 fi
   2259   if test "${ac_cv_path_install+set}" = set; then
   2260     INSTALL=$ac_cv_path_install
   2261   else
   2262     # As a last resort, use the slow shell script.  Don't cache a
   2263     # value for INSTALL within a source directory, because that will
   2264     # break other packages using the cache if that directory is
   2265     # removed, or if the value is a relative name.
   2266     INSTALL=$ac_install_sh
   2267   fi
   2268 fi
   2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2270 $as_echo "$INSTALL" >&6; }
   2271 
   2272 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2273 # It thinks the first close brace ends the variable substitution.
   2274 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2275 
   2276 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2277 
   2278 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2279 
   2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2281 $as_echo_n "checking whether build environment is sane... " >&6; }
   2282 # Just in case
   2283 sleep 1
   2284 echo timestamp > conftest.file
   2285 # Reject unsafe characters in $srcdir or the absolute working directory
   2286 # name.  Accept space and tab only in the latter.
   2287 am_lf='
   2288 '
   2289 case `pwd` in
   2290   *[\\\"\#\$\&\'\`$am_lf]*)
   2291     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2292 esac
   2293 case $srcdir in
   2294   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2295     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2296 esac
   2297 
   2298 # Do `set' in a subshell so we don't clobber the current shell's
   2299 # arguments.  Must try -L first in case configure is actually a
   2300 # symlink; some systems play weird games with the mod time of symlinks
   2301 # (eg FreeBSD returns the mod time of the symlink's containing
   2302 # directory).
   2303 if (
   2304    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2305    if test "$*" = "X"; then
   2306       # -L didn't work.
   2307       set X `ls -t "$srcdir/configure" conftest.file`
   2308    fi
   2309    rm -f conftest.file
   2310    if test "$*" != "X $srcdir/configure conftest.file" \
   2311       && test "$*" != "X conftest.file $srcdir/configure"; then
   2312 
   2313       # If neither matched, then we have a broken ls.  This can happen
   2314       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2315       # broken ls alias from the environment.  This has actually
   2316       # happened.  Such a system could not be considered "sane".
   2317       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2318 alias in your environment" "$LINENO" 5
   2319    fi
   2320 
   2321    test "$2" = conftest.file
   2322    )
   2323 then
   2324    # Ok.
   2325    :
   2326 else
   2327    as_fn_error $? "newly created file is older than distributed files!
   2328 Check your system clock" "$LINENO" 5
   2329 fi
   2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2331 $as_echo "yes" >&6; }
   2332 test "$program_prefix" != NONE &&
   2333   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2334 # Use a double $ so make ignores it.
   2335 test "$program_suffix" != NONE &&
   2336   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2337 # Double any \ or $.
   2338 # By default was `s,x,x', remove it if useless.
   2339 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2340 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2341 
   2342 # expand $ac_aux_dir to an absolute path
   2343 am_aux_dir=`cd $ac_aux_dir && pwd`
   2344 
   2345 if test x"${MISSING+set}" != xset; then
   2346   case $am_aux_dir in
   2347   *\ * | *\	*)
   2348     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2349   *)
   2350     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2351   esac
   2352 fi
   2353 # Use eval to expand $SHELL
   2354 if eval "$MISSING --run true"; then
   2355   am_missing_run="$MISSING --run "
   2356 else
   2357   am_missing_run=
   2358   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2359 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2360 fi
   2361 
   2362 if test x"${install_sh}" != xset; then
   2363   case $am_aux_dir in
   2364   *\ * | *\	*)
   2365     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2366   *)
   2367     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2368   esac
   2369 fi
   2370 
   2371 # Installed binaries are usually stripped using `strip' when the user
   2372 # run `make install-strip'.  However `strip' might not be the right
   2373 # tool to use in cross-compilation environments, therefore Automake
   2374 # will honor the `STRIP' environment variable to overrule this program.
   2375 if test "$cross_compiling" != no; then
   2376   if test -n "$ac_tool_prefix"; then
   2377   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2378 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2380 $as_echo_n "checking for $ac_word... " >&6; }
   2381 if ${ac_cv_prog_STRIP+:} false; then :
   2382   $as_echo_n "(cached) " >&6
   2383 else
   2384   if test -n "$STRIP"; then
   2385   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2386 else
   2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2388 for as_dir in $PATH
   2389 do
   2390   IFS=$as_save_IFS
   2391   test -z "$as_dir" && as_dir=.
   2392     for ac_exec_ext in '' $ac_executable_extensions; do
   2393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2394     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2396     break 2
   2397   fi
   2398 done
   2399   done
   2400 IFS=$as_save_IFS
   2401 
   2402 fi
   2403 fi
   2404 STRIP=$ac_cv_prog_STRIP
   2405 if test -n "$STRIP"; then
   2406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2407 $as_echo "$STRIP" >&6; }
   2408 else
   2409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2410 $as_echo "no" >&6; }
   2411 fi
   2412 
   2413 
   2414 fi
   2415 if test -z "$ac_cv_prog_STRIP"; then
   2416   ac_ct_STRIP=$STRIP
   2417   # Extract the first word of "strip", so it can be a program name with args.
   2418 set dummy strip; ac_word=$2
   2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2420 $as_echo_n "checking for $ac_word... " >&6; }
   2421 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2422   $as_echo_n "(cached) " >&6
   2423 else
   2424   if test -n "$ac_ct_STRIP"; then
   2425   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2426 else
   2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2428 for as_dir in $PATH
   2429 do
   2430   IFS=$as_save_IFS
   2431   test -z "$as_dir" && as_dir=.
   2432     for ac_exec_ext in '' $ac_executable_extensions; do
   2433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2434     ac_cv_prog_ac_ct_STRIP="strip"
   2435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2436     break 2
   2437   fi
   2438 done
   2439   done
   2440 IFS=$as_save_IFS
   2441 
   2442 fi
   2443 fi
   2444 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2445 if test -n "$ac_ct_STRIP"; then
   2446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2447 $as_echo "$ac_ct_STRIP" >&6; }
   2448 else
   2449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2450 $as_echo "no" >&6; }
   2451 fi
   2452 
   2453   if test "x$ac_ct_STRIP" = x; then
   2454     STRIP=":"
   2455   else
   2456     case $cross_compiling:$ac_tool_warned in
   2457 yes:)
   2458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2460 ac_tool_warned=yes ;;
   2461 esac
   2462     STRIP=$ac_ct_STRIP
   2463   fi
   2464 else
   2465   STRIP="$ac_cv_prog_STRIP"
   2466 fi
   2467 
   2468 fi
   2469 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2470 
   2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2472 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2473 if test -z "$MKDIR_P"; then
   2474   if ${ac_cv_path_mkdir+:} false; then :
   2475   $as_echo_n "(cached) " >&6
   2476 else
   2477   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2478 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2479 do
   2480   IFS=$as_save_IFS
   2481   test -z "$as_dir" && as_dir=.
   2482     for ac_prog in mkdir gmkdir; do
   2483 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2484 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2485 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2486 	     'mkdir (GNU coreutils) '* | \
   2487 	     'mkdir (coreutils) '* | \
   2488 	     'mkdir (fileutils) '4.1*)
   2489 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2490 	       break 3;;
   2491 	   esac
   2492 	 done
   2493        done
   2494   done
   2495 IFS=$as_save_IFS
   2496 
   2497 fi
   2498 
   2499   test -d ./--version && rmdir ./--version
   2500   if test "${ac_cv_path_mkdir+set}" = set; then
   2501     MKDIR_P="$ac_cv_path_mkdir -p"
   2502   else
   2503     # As a last resort, use the slow shell script.  Don't cache a
   2504     # value for MKDIR_P within a source directory, because that will
   2505     # break other packages using the cache if that directory is
   2506     # removed, or if the value is a relative name.
   2507     MKDIR_P="$ac_install_sh -d"
   2508   fi
   2509 fi
   2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2511 $as_echo "$MKDIR_P" >&6; }
   2512 
   2513 mkdir_p="$MKDIR_P"
   2514 case $mkdir_p in
   2515   [\\/$]* | ?:[\\/]*) ;;
   2516   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2517 esac
   2518 
   2519 for ac_prog in gawk mawk nawk awk
   2520 do
   2521   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2522 set dummy $ac_prog; ac_word=$2
   2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2524 $as_echo_n "checking for $ac_word... " >&6; }
   2525 if ${ac_cv_prog_AWK+:} false; then :
   2526   $as_echo_n "(cached) " >&6
   2527 else
   2528   if test -n "$AWK"; then
   2529   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2530 else
   2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2532 for as_dir in $PATH
   2533 do
   2534   IFS=$as_save_IFS
   2535   test -z "$as_dir" && as_dir=.
   2536     for ac_exec_ext in '' $ac_executable_extensions; do
   2537   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2538     ac_cv_prog_AWK="$ac_prog"
   2539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2540     break 2
   2541   fi
   2542 done
   2543   done
   2544 IFS=$as_save_IFS
   2545 
   2546 fi
   2547 fi
   2548 AWK=$ac_cv_prog_AWK
   2549 if test -n "$AWK"; then
   2550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2551 $as_echo "$AWK" >&6; }
   2552 else
   2553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2554 $as_echo "no" >&6; }
   2555 fi
   2556 
   2557 
   2558   test -n "$AWK" && break
   2559 done
   2560 
   2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2562 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2563 set x ${MAKE-make}
   2564 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2565 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2566   $as_echo_n "(cached) " >&6
   2567 else
   2568   cat >conftest.make <<\_ACEOF
   2569 SHELL = /bin/sh
   2570 all:
   2571 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2572 _ACEOF
   2573 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2574 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2575   *@@@%%%=?*=@@@%%%*)
   2576     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2577   *)
   2578     eval ac_cv_prog_make_${ac_make}_set=no;;
   2579 esac
   2580 rm -f conftest.make
   2581 fi
   2582 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2584 $as_echo "yes" >&6; }
   2585   SET_MAKE=
   2586 else
   2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2588 $as_echo "no" >&6; }
   2589   SET_MAKE="MAKE=${MAKE-make}"
   2590 fi
   2591 
   2592 rm -rf .tst 2>/dev/null
   2593 mkdir .tst 2>/dev/null
   2594 if test -d .tst; then
   2595   am__leading_dot=.
   2596 else
   2597   am__leading_dot=_
   2598 fi
   2599 rmdir .tst 2>/dev/null
   2600 
   2601 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2602   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2603   # is not polluted with repeated "-I."
   2604   am__isrc=' -I$(srcdir)'
   2605   # test to see if srcdir already configured
   2606   if test -f $srcdir/config.status; then
   2607     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2608   fi
   2609 fi
   2610 
   2611 # test whether we have cygpath
   2612 if test -z "$CYGPATH_W"; then
   2613   if (cygpath --version) >/dev/null 2>/dev/null; then
   2614     CYGPATH_W='cygpath -w'
   2615   else
   2616     CYGPATH_W=echo
   2617   fi
   2618 fi
   2619 
   2620 
   2621 # Define the identity of the package.
   2622  PACKAGE='libexif'
   2623  VERSION='0.6.21'
   2624 
   2625 
   2626 cat >>confdefs.h <<_ACEOF
   2627 #define PACKAGE "$PACKAGE"
   2628 _ACEOF
   2629 
   2630 
   2631 cat >>confdefs.h <<_ACEOF
   2632 #define VERSION "$VERSION"
   2633 _ACEOF
   2634 
   2635 # Some tools Automake needs.
   2636 
   2637 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2638 
   2639 
   2640 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2641 
   2642 
   2643 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2644 
   2645 
   2646 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2647 
   2648 
   2649 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2650 
   2651 # We need awk for the "check" target.  The system "awk" is bad on
   2652 # some platforms.
   2653 # Always define AMTAR for backward compatibility.
   2654 
   2655 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2656 
   2657 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2658 
   2659 
   2660 
   2661 
   2662 
   2663 
   2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2665 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2666     # Check whether --enable-maintainer-mode was given.
   2667 if test "${enable_maintainer_mode+set}" = set; then :
   2668   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2669 else
   2670   USE_MAINTAINER_MODE=no
   2671 fi
   2672 
   2673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2674 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2675    if test $USE_MAINTAINER_MODE = yes; then
   2676   MAINTAINER_MODE_TRUE=
   2677   MAINTAINER_MODE_FALSE='#'
   2678 else
   2679   MAINTAINER_MODE_TRUE='#'
   2680   MAINTAINER_MODE_FALSE=
   2681 fi
   2682 
   2683   MAINT=$MAINTAINER_MODE_TRUE
   2684 
   2685 
   2686 
   2687 # Use the silent-rules feature when possible.
   2688 
   2689 # Check whether --enable-silent-rules was given.
   2690 if test "${enable_silent_rules+set}" = set; then :
   2691   enableval=$enable_silent_rules;
   2692 fi
   2693 
   2694 case $enable_silent_rules in
   2695 yes) AM_DEFAULT_VERBOSITY=0;;
   2696 no)  AM_DEFAULT_VERBOSITY=1;;
   2697 *)   AM_DEFAULT_VERBOSITY=1;;
   2698 esac
   2699 AM_BACKSLASH='\'
   2700 
   2701 
   2702 if test ! -d "$srcdir/m4m"; then
   2703 as_fn_error $? "
   2704 You are missing the m4m/ directory in your top
   2705 $PACKAGE_TARNAME source directory.
   2706 
   2707 You are probably using an ill-maintained CVS tree.
   2708 Running
   2709 
   2710     cd $srcdir
   2711     cvs co m4m
   2712 
   2713 and re-running autogen.sh might help.
   2714 " "$LINENO" 5
   2715 fi
   2716 
   2717 
   2718 # make sure "cd" doesn't print anything on stdout
   2719 if test x"${CDPATH+set}" = xset
   2720 then
   2721 	CDPATH=:
   2722 	export CDPATH
   2723 fi
   2724 
   2725 # make sure $() command substitution works
   2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX sh \$() command substitution" >&5
   2727 $as_echo_n "checking for POSIX sh \$() command substitution... " >&6; }
   2728 if test "x$(pwd)" = "x`pwd`" && test "y$(echo "foobar")" = "y`echo foobar`" # ''''
   2729 then
   2730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2731 $as_echo "yes" >&6; }
   2732 else
   2733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2734 $as_echo "no" >&6; }
   2735 	uname=`uname 2>&1` # ''
   2736 	uname_a=`uname -a 2>&1` # ''
   2737 	as_fn_error $? "
   2738 
   2739 * POSIX sh \$() command substition does not work with this shell.
   2740 *
   2741 * You are running a very rare species of shell. Please report this
   2742 * sighting to <${PACKAGE_BUGREPORT}>:
   2743 * SHELL=${SHELL}
   2744 * uname=${uname}
   2745 * uname-a=${uname_a}
   2746 * Please also include your OS and version.
   2747 *
   2748 * Run this configure script using a better (i.e. POSIX compliant) shell.
   2749 " "$LINENO" 5
   2750 fi
   2751 
   2752 
   2753 
   2754 gp_config_len="30"
   2755 gp_config_empty=""
   2756 gp_config_len3="$(expr "$gp_config_len" - 3)"
   2757 n="$gp_config_len"
   2758 while test "$n" -gt 0; do
   2759       gp_config_empty="${gp_config_empty} "
   2760       n="$(expr "$n" - 1)"
   2761 done
   2762 gp_config_msg="
   2763 Configuration (${PACKAGE_TARNAME} ${PACKAGE_VERSION}):
   2764 "
   2765 
   2766 
   2767 gp_config_msg="${gp_config_msg}
   2768   Build
   2769 "
   2770 
   2771 
   2772 gp_config_msg_len="$(expr "Source code location" : '.*')"
   2773 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
   2774 	gp_config_msg_lhs="$(expr "Source code location" : "\(.\{0,${gp_config_len3}\}\)")..:"
   2775 else
   2776 	gp_config_msg_lhs="$(expr "Source code location:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
   2777 fi
   2778 gp_config_msg="${gp_config_msg}    ${gp_config_msg_lhs} ${srcdir}
   2779 "
   2780 
   2781 
   2782 LIBEXIF_CURRENT=15
   2783 LIBEXIF_AGE=3
   2784 LIBEXIF_REVISION=3
   2785 
   2786 
   2787 
   2788 LIBEXIF_CURRENT_MIN=`expr $LIBEXIF_CURRENT - $LIBEXIF_AGE`
   2789 
   2790 LIBEXIF_VERSION_INFO="$LIBEXIF_CURRENT:$LIBEXIF_REVISION:$LIBEXIF_AGE"
   2791 
   2792 
   2793 ac_ext=c
   2794 ac_cpp='$CPP $CPPFLAGS'
   2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2798 if test -n "$ac_tool_prefix"; then
   2799   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2802 $as_echo_n "checking for $ac_word... " >&6; }
   2803 if ${ac_cv_prog_CC+:} false; then :
   2804   $as_echo_n "(cached) " >&6
   2805 else
   2806   if test -n "$CC"; then
   2807   ac_cv_prog_CC="$CC" # Let the user override the test.
   2808 else
   2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2810 for as_dir in $PATH
   2811 do
   2812   IFS=$as_save_IFS
   2813   test -z "$as_dir" && as_dir=.
   2814     for ac_exec_ext in '' $ac_executable_extensions; do
   2815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2816     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2818     break 2
   2819   fi
   2820 done
   2821   done
   2822 IFS=$as_save_IFS
   2823 
   2824 fi
   2825 fi
   2826 CC=$ac_cv_prog_CC
   2827 if test -n "$CC"; then
   2828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2829 $as_echo "$CC" >&6; }
   2830 else
   2831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2832 $as_echo "no" >&6; }
   2833 fi
   2834 
   2835 
   2836 fi
   2837 if test -z "$ac_cv_prog_CC"; then
   2838   ac_ct_CC=$CC
   2839   # Extract the first word of "gcc", so it can be a program name with args.
   2840 set dummy gcc; ac_word=$2
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 $as_echo_n "checking for $ac_word... " >&6; }
   2843 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2844   $as_echo_n "(cached) " >&6
   2845 else
   2846   if test -n "$ac_ct_CC"; then
   2847   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2848 else
   2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2850 for as_dir in $PATH
   2851 do
   2852   IFS=$as_save_IFS
   2853   test -z "$as_dir" && as_dir=.
   2854     for ac_exec_ext in '' $ac_executable_extensions; do
   2855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2856     ac_cv_prog_ac_ct_CC="gcc"
   2857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2858     break 2
   2859   fi
   2860 done
   2861   done
   2862 IFS=$as_save_IFS
   2863 
   2864 fi
   2865 fi
   2866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2867 if test -n "$ac_ct_CC"; then
   2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2869 $as_echo "$ac_ct_CC" >&6; }
   2870 else
   2871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2872 $as_echo "no" >&6; }
   2873 fi
   2874 
   2875   if test "x$ac_ct_CC" = x; then
   2876     CC=""
   2877   else
   2878     case $cross_compiling:$ac_tool_warned in
   2879 yes:)
   2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2882 ac_tool_warned=yes ;;
   2883 esac
   2884     CC=$ac_ct_CC
   2885   fi
   2886 else
   2887   CC="$ac_cv_prog_CC"
   2888 fi
   2889 
   2890 if test -z "$CC"; then
   2891           if test -n "$ac_tool_prefix"; then
   2892     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2893 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2895 $as_echo_n "checking for $ac_word... " >&6; }
   2896 if ${ac_cv_prog_CC+:} false; then :
   2897   $as_echo_n "(cached) " >&6
   2898 else
   2899   if test -n "$CC"; then
   2900   ac_cv_prog_CC="$CC" # Let the user override the test.
   2901 else
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   test -z "$as_dir" && as_dir=.
   2907     for ac_exec_ext in '' $ac_executable_extensions; do
   2908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2909     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914   done
   2915 IFS=$as_save_IFS
   2916 
   2917 fi
   2918 fi
   2919 CC=$ac_cv_prog_CC
   2920 if test -n "$CC"; then
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2922 $as_echo "$CC" >&6; }
   2923 else
   2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 $as_echo "no" >&6; }
   2926 fi
   2927 
   2928 
   2929   fi
   2930 fi
   2931 if test -z "$CC"; then
   2932   # Extract the first word of "cc", so it can be a program name with args.
   2933 set dummy cc; ac_word=$2
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2935 $as_echo_n "checking for $ac_word... " >&6; }
   2936 if ${ac_cv_prog_CC+:} false; then :
   2937   $as_echo_n "(cached) " >&6
   2938 else
   2939   if test -n "$CC"; then
   2940   ac_cv_prog_CC="$CC" # Let the user override the test.
   2941 else
   2942   ac_prog_rejected=no
   2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2944 for as_dir in $PATH
   2945 do
   2946   IFS=$as_save_IFS
   2947   test -z "$as_dir" && as_dir=.
   2948     for ac_exec_ext in '' $ac_executable_extensions; do
   2949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2950     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2951        ac_prog_rejected=yes
   2952        continue
   2953      fi
   2954     ac_cv_prog_CC="cc"
   2955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2956     break 2
   2957   fi
   2958 done
   2959   done
   2960 IFS=$as_save_IFS
   2961 
   2962 if test $ac_prog_rejected = yes; then
   2963   # We found a bogon in the path, so make sure we never use it.
   2964   set dummy $ac_cv_prog_CC
   2965   shift
   2966   if test $# != 0; then
   2967     # We chose a different compiler from the bogus one.
   2968     # However, it has the same basename, so the bogon will be chosen
   2969     # first if we set CC to just the basename; use the full file name.
   2970     shift
   2971     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2972   fi
   2973 fi
   2974 fi
   2975 fi
   2976 CC=$ac_cv_prog_CC
   2977 if test -n "$CC"; then
   2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2979 $as_echo "$CC" >&6; }
   2980 else
   2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2982 $as_echo "no" >&6; }
   2983 fi
   2984 
   2985 
   2986 fi
   2987 if test -z "$CC"; then
   2988   if test -n "$ac_tool_prefix"; then
   2989   for ac_prog in cl.exe
   2990   do
   2991     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2994 $as_echo_n "checking for $ac_word... " >&6; }
   2995 if ${ac_cv_prog_CC+:} false; then :
   2996   $as_echo_n "(cached) " >&6
   2997 else
   2998   if test -n "$CC"; then
   2999   ac_cv_prog_CC="$CC" # Let the user override the test.
   3000 else
   3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3002 for as_dir in $PATH
   3003 do
   3004   IFS=$as_save_IFS
   3005   test -z "$as_dir" && as_dir=.
   3006     for ac_exec_ext in '' $ac_executable_extensions; do
   3007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3008     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3010     break 2
   3011   fi
   3012 done
   3013   done
   3014 IFS=$as_save_IFS
   3015 
   3016 fi
   3017 fi
   3018 CC=$ac_cv_prog_CC
   3019 if test -n "$CC"; then
   3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3021 $as_echo "$CC" >&6; }
   3022 else
   3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3024 $as_echo "no" >&6; }
   3025 fi
   3026 
   3027 
   3028     test -n "$CC" && break
   3029   done
   3030 fi
   3031 if test -z "$CC"; then
   3032   ac_ct_CC=$CC
   3033   for ac_prog in cl.exe
   3034 do
   3035   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3036 set dummy $ac_prog; ac_word=$2
   3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3038 $as_echo_n "checking for $ac_word... " >&6; }
   3039 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3040   $as_echo_n "(cached) " >&6
   3041 else
   3042   if test -n "$ac_ct_CC"; then
   3043   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3044 else
   3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3046 for as_dir in $PATH
   3047 do
   3048   IFS=$as_save_IFS
   3049   test -z "$as_dir" && as_dir=.
   3050     for ac_exec_ext in '' $ac_executable_extensions; do
   3051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3052     ac_cv_prog_ac_ct_CC="$ac_prog"
   3053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3054     break 2
   3055   fi
   3056 done
   3057   done
   3058 IFS=$as_save_IFS
   3059 
   3060 fi
   3061 fi
   3062 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3063 if test -n "$ac_ct_CC"; then
   3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3065 $as_echo "$ac_ct_CC" >&6; }
   3066 else
   3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3068 $as_echo "no" >&6; }
   3069 fi
   3070 
   3071 
   3072   test -n "$ac_ct_CC" && break
   3073 done
   3074 
   3075   if test "x$ac_ct_CC" = x; then
   3076     CC=""
   3077   else
   3078     case $cross_compiling:$ac_tool_warned in
   3079 yes:)
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3082 ac_tool_warned=yes ;;
   3083 esac
   3084     CC=$ac_ct_CC
   3085   fi
   3086 fi
   3087 
   3088 fi
   3089 
   3090 
   3091 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3093 as_fn_error $? "no acceptable C compiler found in \$PATH
   3094 See \`config.log' for more details" "$LINENO" 5; }
   3095 
   3096 # Provide some information about the compiler.
   3097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3098 set X $ac_compile
   3099 ac_compiler=$2
   3100 for ac_option in --version -v -V -qversion; do
   3101   { { ac_try="$ac_compiler $ac_option >&5"
   3102 case "(($ac_try" in
   3103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3104   *) ac_try_echo=$ac_try;;
   3105 esac
   3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3107 $as_echo "$ac_try_echo"; } >&5
   3108   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3109   ac_status=$?
   3110   if test -s conftest.err; then
   3111     sed '10a\
   3112 ... rest of stderr output deleted ...
   3113          10q' conftest.err >conftest.er1
   3114     cat conftest.er1 >&5
   3115   fi
   3116   rm -f conftest.er1 conftest.err
   3117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3118   test $ac_status = 0; }
   3119 done
   3120 
   3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3122 /* end confdefs.h.  */
   3123 
   3124 int
   3125 main ()
   3126 {
   3127 
   3128   ;
   3129   return 0;
   3130 }
   3131 _ACEOF
   3132 ac_clean_files_save=$ac_clean_files
   3133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3134 # Try to create an executable without -o first, disregard a.out.
   3135 # It will help us diagnose broken compilers, and finding out an intuition
   3136 # of exeext.
   3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3138 $as_echo_n "checking whether the C compiler works... " >&6; }
   3139 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3140 
   3141 # The possible output files:
   3142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3143 
   3144 ac_rmfiles=
   3145 for ac_file in $ac_files
   3146 do
   3147   case $ac_file in
   3148     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3149     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3150   esac
   3151 done
   3152 rm -f $ac_rmfiles
   3153 
   3154 if { { ac_try="$ac_link_default"
   3155 case "(($ac_try" in
   3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3157   *) ac_try_echo=$ac_try;;
   3158 esac
   3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3160 $as_echo "$ac_try_echo"; } >&5
   3161   (eval "$ac_link_default") 2>&5
   3162   ac_status=$?
   3163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3164   test $ac_status = 0; }; then :
   3165   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3167 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3168 # so that the user can short-circuit this test for compilers unknown to
   3169 # Autoconf.
   3170 for ac_file in $ac_files ''
   3171 do
   3172   test -f "$ac_file" || continue
   3173   case $ac_file in
   3174     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3175 	;;
   3176     [ab].out )
   3177 	# We found the default executable, but exeext='' is most
   3178 	# certainly right.
   3179 	break;;
   3180     *.* )
   3181 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3182 	then :; else
   3183 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3184 	fi
   3185 	# We set ac_cv_exeext here because the later test for it is not
   3186 	# safe: cross compilers may not add the suffix if given an `-o'
   3187 	# argument, so we may need to know it at that point already.
   3188 	# Even if this section looks crufty: it has the advantage of
   3189 	# actually working.
   3190 	break;;
   3191     * )
   3192 	break;;
   3193   esac
   3194 done
   3195 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3196 
   3197 else
   3198   ac_file=''
   3199 fi
   3200 if test -z "$ac_file"; then :
   3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3202 $as_echo "no" >&6; }
   3203 $as_echo "$as_me: failed program was:" >&5
   3204 sed 's/^/| /' conftest.$ac_ext >&5
   3205 
   3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3208 as_fn_error 77 "C compiler cannot create executables
   3209 See \`config.log' for more details" "$LINENO" 5; }
   3210 else
   3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3212 $as_echo "yes" >&6; }
   3213 fi
   3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3215 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3217 $as_echo "$ac_file" >&6; }
   3218 ac_exeext=$ac_cv_exeext
   3219 
   3220 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3221 ac_clean_files=$ac_clean_files_save
   3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3223 $as_echo_n "checking for suffix of executables... " >&6; }
   3224 if { { ac_try="$ac_link"
   3225 case "(($ac_try" in
   3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3227   *) ac_try_echo=$ac_try;;
   3228 esac
   3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3230 $as_echo "$ac_try_echo"; } >&5
   3231   (eval "$ac_link") 2>&5
   3232   ac_status=$?
   3233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3234   test $ac_status = 0; }; then :
   3235   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3236 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3237 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3238 # `rm'.
   3239 for ac_file in conftest.exe conftest conftest.*; do
   3240   test -f "$ac_file" || continue
   3241   case $ac_file in
   3242     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3243     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3244 	  break;;
   3245     * ) break;;
   3246   esac
   3247 done
   3248 else
   3249   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3251 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3252 See \`config.log' for more details" "$LINENO" 5; }
   3253 fi
   3254 rm -f conftest conftest$ac_cv_exeext
   3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3256 $as_echo "$ac_cv_exeext" >&6; }
   3257 
   3258 rm -f conftest.$ac_ext
   3259 EXEEXT=$ac_cv_exeext
   3260 ac_exeext=$EXEEXT
   3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3262 /* end confdefs.h.  */
   3263 #include <stdio.h>
   3264 int
   3265 main ()
   3266 {
   3267 FILE *f = fopen ("conftest.out", "w");
   3268  return ferror (f) || fclose (f) != 0;
   3269 
   3270   ;
   3271   return 0;
   3272 }
   3273 _ACEOF
   3274 ac_clean_files="$ac_clean_files conftest.out"
   3275 # Check that the compiler produces executables we can run.  If not, either
   3276 # the compiler is broken, or we cross compile.
   3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3278 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3279 if test "$cross_compiling" != yes; then
   3280   { { ac_try="$ac_link"
   3281 case "(($ac_try" in
   3282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3283   *) ac_try_echo=$ac_try;;
   3284 esac
   3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3286 $as_echo "$ac_try_echo"; } >&5
   3287   (eval "$ac_link") 2>&5
   3288   ac_status=$?
   3289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3290   test $ac_status = 0; }
   3291   if { ac_try='./conftest$ac_cv_exeext'
   3292   { { case "(($ac_try" in
   3293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3294   *) ac_try_echo=$ac_try;;
   3295 esac
   3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3297 $as_echo "$ac_try_echo"; } >&5
   3298   (eval "$ac_try") 2>&5
   3299   ac_status=$?
   3300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3301   test $ac_status = 0; }; }; then
   3302     cross_compiling=no
   3303   else
   3304     if test "$cross_compiling" = maybe; then
   3305 	cross_compiling=yes
   3306     else
   3307 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3309 as_fn_error $? "cannot run C compiled programs.
   3310 If you meant to cross compile, use \`--host'.
   3311 See \`config.log' for more details" "$LINENO" 5; }
   3312     fi
   3313   fi
   3314 fi
   3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3316 $as_echo "$cross_compiling" >&6; }
   3317 
   3318 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3319 ac_clean_files=$ac_clean_files_save
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3321 $as_echo_n "checking for suffix of object files... " >&6; }
   3322 if ${ac_cv_objext+:} false; then :
   3323   $as_echo_n "(cached) " >&6
   3324 else
   3325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3326 /* end confdefs.h.  */
   3327 
   3328 int
   3329 main ()
   3330 {
   3331 
   3332   ;
   3333   return 0;
   3334 }
   3335 _ACEOF
   3336 rm -f conftest.o conftest.obj
   3337 if { { ac_try="$ac_compile"
   3338 case "(($ac_try" in
   3339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3340   *) ac_try_echo=$ac_try;;
   3341 esac
   3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3343 $as_echo "$ac_try_echo"; } >&5
   3344   (eval "$ac_compile") 2>&5
   3345   ac_status=$?
   3346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3347   test $ac_status = 0; }; then :
   3348   for ac_file in conftest.o conftest.obj conftest.*; do
   3349   test -f "$ac_file" || continue;
   3350   case $ac_file in
   3351     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3352     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3353        break;;
   3354   esac
   3355 done
   3356 else
   3357   $as_echo "$as_me: failed program was:" >&5
   3358 sed 's/^/| /' conftest.$ac_ext >&5
   3359 
   3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3362 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3363 See \`config.log' for more details" "$LINENO" 5; }
   3364 fi
   3365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3366 fi
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3368 $as_echo "$ac_cv_objext" >&6; }
   3369 OBJEXT=$ac_cv_objext
   3370 ac_objext=$OBJEXT
   3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3372 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3373 if ${ac_cv_c_compiler_gnu+:} false; then :
   3374   $as_echo_n "(cached) " >&6
   3375 else
   3376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3377 /* end confdefs.h.  */
   3378 
   3379 int
   3380 main ()
   3381 {
   3382 #ifndef __GNUC__
   3383        choke me
   3384 #endif
   3385 
   3386   ;
   3387   return 0;
   3388 }
   3389 _ACEOF
   3390 if ac_fn_c_try_compile "$LINENO"; then :
   3391   ac_compiler_gnu=yes
   3392 else
   3393   ac_compiler_gnu=no
   3394 fi
   3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3397 
   3398 fi
   3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3400 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3401 if test $ac_compiler_gnu = yes; then
   3402   GCC=yes
   3403 else
   3404   GCC=
   3405 fi
   3406 ac_test_CFLAGS=${CFLAGS+set}
   3407 ac_save_CFLAGS=$CFLAGS
   3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3410 if ${ac_cv_prog_cc_g+:} false; then :
   3411   $as_echo_n "(cached) " >&6
   3412 else
   3413   ac_save_c_werror_flag=$ac_c_werror_flag
   3414    ac_c_werror_flag=yes
   3415    ac_cv_prog_cc_g=no
   3416    CFLAGS="-g"
   3417    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3418 /* end confdefs.h.  */
   3419 
   3420 int
   3421 main ()
   3422 {
   3423 
   3424   ;
   3425   return 0;
   3426 }
   3427 _ACEOF
   3428 if ac_fn_c_try_compile "$LINENO"; then :
   3429   ac_cv_prog_cc_g=yes
   3430 else
   3431   CFLAGS=""
   3432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3433 /* end confdefs.h.  */
   3434 
   3435 int
   3436 main ()
   3437 {
   3438 
   3439   ;
   3440   return 0;
   3441 }
   3442 _ACEOF
   3443 if ac_fn_c_try_compile "$LINENO"; then :
   3444 
   3445 else
   3446   ac_c_werror_flag=$ac_save_c_werror_flag
   3447 	 CFLAGS="-g"
   3448 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3449 /* end confdefs.h.  */
   3450 
   3451 int
   3452 main ()
   3453 {
   3454 
   3455   ;
   3456   return 0;
   3457 }
   3458 _ACEOF
   3459 if ac_fn_c_try_compile "$LINENO"; then :
   3460   ac_cv_prog_cc_g=yes
   3461 fi
   3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3463 fi
   3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3465 fi
   3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3467    ac_c_werror_flag=$ac_save_c_werror_flag
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3470 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3471 if test "$ac_test_CFLAGS" = set; then
   3472   CFLAGS=$ac_save_CFLAGS
   3473 elif test $ac_cv_prog_cc_g = yes; then
   3474   if test "$GCC" = yes; then
   3475     CFLAGS="-g -O2"
   3476   else
   3477     CFLAGS="-g"
   3478   fi
   3479 else
   3480   if test "$GCC" = yes; then
   3481     CFLAGS="-O2"
   3482   else
   3483     CFLAGS=
   3484   fi
   3485 fi
   3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3487 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3488 if ${ac_cv_prog_cc_c89+:} false; then :
   3489   $as_echo_n "(cached) " >&6
   3490 else
   3491   ac_cv_prog_cc_c89=no
   3492 ac_save_CC=$CC
   3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3494 /* end confdefs.h.  */
   3495 #include <stdarg.h>
   3496 #include <stdio.h>
   3497 #include <sys/types.h>
   3498 #include <sys/stat.h>
   3499 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3500 struct buf { int x; };
   3501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3502 static char *e (p, i)
   3503      char **p;
   3504      int i;
   3505 {
   3506   return p[i];
   3507 }
   3508 static char *f (char * (*g) (char **, int), char **p, ...)
   3509 {
   3510   char *s;
   3511   va_list v;
   3512   va_start (v,p);
   3513   s = g (p, va_arg (v,int));
   3514   va_end (v);
   3515   return s;
   3516 }
   3517 
   3518 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3519    function prototypes and stuff, but not '\xHH' hex character constants.
   3520    These don't provoke an error unfortunately, instead are silently treated
   3521    as 'x'.  The following induces an error, until -std is added to get
   3522    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3523    array size at least.  It's necessary to write '\x00'==0 to get something
   3524    that's true only with -std.  */
   3525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3526 
   3527 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3528    inside strings and character constants.  */
   3529 #define FOO(x) 'x'
   3530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3531 
   3532 int test (int i, double x);
   3533 struct s1 {int (*f) (int a);};
   3534 struct s2 {int (*f) (double a);};
   3535 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3536 int argc;
   3537 char **argv;
   3538 int
   3539 main ()
   3540 {
   3541 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3542   ;
   3543   return 0;
   3544 }
   3545 _ACEOF
   3546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3547 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3548 do
   3549   CC="$ac_save_CC $ac_arg"
   3550   if ac_fn_c_try_compile "$LINENO"; then :
   3551   ac_cv_prog_cc_c89=$ac_arg
   3552 fi
   3553 rm -f core conftest.err conftest.$ac_objext
   3554   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3555 done
   3556 rm -f conftest.$ac_ext
   3557 CC=$ac_save_CC
   3558 
   3559 fi
   3560 # AC_CACHE_VAL
   3561 case "x$ac_cv_prog_cc_c89" in
   3562   x)
   3563     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3564 $as_echo "none needed" >&6; } ;;
   3565   xno)
   3566     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3567 $as_echo "unsupported" >&6; } ;;
   3568   *)
   3569     CC="$CC $ac_cv_prog_cc_c89"
   3570     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3571 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3572 esac
   3573 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3574 
   3575 fi
   3576 
   3577 ac_ext=c
   3578 ac_cpp='$CPP $CPPFLAGS'
   3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3582 DEPDIR="${am__leading_dot}deps"
   3583 
   3584 ac_config_commands="$ac_config_commands depfiles"
   3585 
   3586 
   3587 am_make=${MAKE-make}
   3588 cat > confinc << 'END'
   3589 am__doit:
   3590 	@echo this is the am__doit target
   3591 .PHONY: am__doit
   3592 END
   3593 # If we don't find an include directive, just comment out the code.
   3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3595 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3596 am__include="#"
   3597 am__quote=
   3598 _am_result=none
   3599 # First try GNU make style include.
   3600 echo "include confinc" > confmf
   3601 # Ignore all kinds of additional output from `make'.
   3602 case `$am_make -s -f confmf 2> /dev/null` in #(
   3603 *the\ am__doit\ target*)
   3604   am__include=include
   3605   am__quote=
   3606   _am_result=GNU
   3607   ;;
   3608 esac
   3609 # Now try BSD make style include.
   3610 if test "$am__include" = "#"; then
   3611    echo '.include "confinc"' > confmf
   3612    case `$am_make -s -f confmf 2> /dev/null` in #(
   3613    *the\ am__doit\ target*)
   3614      am__include=.include
   3615      am__quote="\""
   3616      _am_result=BSD
   3617      ;;
   3618    esac
   3619 fi
   3620 
   3621 
   3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3623 $as_echo "$_am_result" >&6; }
   3624 rm -f confinc confmf
   3625 
   3626 # Check whether --enable-dependency-tracking was given.
   3627 if test "${enable_dependency_tracking+set}" = set; then :
   3628   enableval=$enable_dependency_tracking;
   3629 fi
   3630 
   3631 if test "x$enable_dependency_tracking" != xno; then
   3632   am_depcomp="$ac_aux_dir/depcomp"
   3633   AMDEPBACKSLASH='\'
   3634 fi
   3635  if test "x$enable_dependency_tracking" != xno; then
   3636   AMDEP_TRUE=
   3637   AMDEP_FALSE='#'
   3638 else
   3639   AMDEP_TRUE='#'
   3640   AMDEP_FALSE=
   3641 fi
   3642 
   3643 
   3644 
   3645 depcc="$CC"   am_compiler_list=
   3646 
   3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3648 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3649 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3650   $as_echo_n "(cached) " >&6
   3651 else
   3652   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3653   # We make a subdir and do the tests there.  Otherwise we can end up
   3654   # making bogus files that we don't know about and never remove.  For
   3655   # instance it was reported that on HP-UX the gcc test will end up
   3656   # making a dummy file named `D' -- because `-MD' means `put the output
   3657   # in D'.
   3658   mkdir conftest.dir
   3659   # Copy depcomp to subdir because otherwise we won't find it if we're
   3660   # using a relative directory.
   3661   cp "$am_depcomp" conftest.dir
   3662   cd conftest.dir
   3663   # We will build objects and dependencies in a subdirectory because
   3664   # it helps to detect inapplicable dependency modes.  For instance
   3665   # both Tru64's cc and ICC support -MD to output dependencies as a
   3666   # side effect of compilation, but ICC will put the dependencies in
   3667   # the current directory while Tru64 will put them in the object
   3668   # directory.
   3669   mkdir sub
   3670 
   3671   am_cv_CC_dependencies_compiler_type=none
   3672   if test "$am_compiler_list" = ""; then
   3673      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3674   fi
   3675   am__universal=false
   3676   case " $depcc " in #(
   3677      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3678      esac
   3679 
   3680   for depmode in $am_compiler_list; do
   3681     # Setup a source with many dependencies, because some compilers
   3682     # like to wrap large dependency lists on column 80 (with \), and
   3683     # we should not choose a depcomp mode which is confused by this.
   3684     #
   3685     # We need to recreate these files for each test, as the compiler may
   3686     # overwrite some of them when testing with obscure command lines.
   3687     # This happens at least with the AIX C compiler.
   3688     : > sub/conftest.c
   3689     for i in 1 2 3 4 5 6; do
   3690       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3691       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3692       # Solaris 8's {/usr,}/bin/sh.
   3693       touch sub/conftst$i.h
   3694     done
   3695     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3696 
   3697     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3698     # mode.  It turns out that the SunPro C++ compiler does not properly
   3699     # handle `-M -o', and we need to detect this.  Also, some Intel
   3700     # versions had trouble with output in subdirs
   3701     am__obj=sub/conftest.${OBJEXT-o}
   3702     am__minus_obj="-o $am__obj"
   3703     case $depmode in
   3704     gcc)
   3705       # This depmode causes a compiler race in universal mode.
   3706       test "$am__universal" = false || continue
   3707       ;;
   3708     nosideeffect)
   3709       # after this tag, mechanisms are not by side-effect, so they'll
   3710       # only be used when explicitly requested
   3711       if test "x$enable_dependency_tracking" = xyes; then
   3712 	continue
   3713       else
   3714 	break
   3715       fi
   3716       ;;
   3717     msvisualcpp | msvcmsys)
   3718       # This compiler won't grok `-c -o', but also, the minuso test has
   3719       # not run yet.  These depmodes are late enough in the game, and
   3720       # so weak that their functioning should not be impacted.
   3721       am__obj=conftest.${OBJEXT-o}
   3722       am__minus_obj=
   3723       ;;
   3724     none) break ;;
   3725     esac
   3726     if depmode=$depmode \
   3727        source=sub/conftest.c object=$am__obj \
   3728        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3729        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3730          >/dev/null 2>conftest.err &&
   3731        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3732        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3733        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3734        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3735       # icc doesn't choke on unknown options, it will just issue warnings
   3736       # or remarks (even with -Werror).  So we grep stderr for any message
   3737       # that says an option was ignored or not supported.
   3738       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3739       #   icc: Command line warning: ignoring option '-M'; no argument required
   3740       # The diagnosis changed in icc 8.0:
   3741       #   icc: Command line remark: option '-MP' not supported
   3742       if (grep 'ignoring option' conftest.err ||
   3743           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3744         am_cv_CC_dependencies_compiler_type=$depmode
   3745         break
   3746       fi
   3747     fi
   3748   done
   3749 
   3750   cd ..
   3751   rm -rf conftest.dir
   3752 else
   3753   am_cv_CC_dependencies_compiler_type=none
   3754 fi
   3755 
   3756 fi
   3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3758 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3759 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3760 
   3761  if
   3762   test "x$enable_dependency_tracking" != xno \
   3763   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3764   am__fastdepCC_TRUE=
   3765   am__fastdepCC_FALSE='#'
   3766 else
   3767   am__fastdepCC_TRUE='#'
   3768   am__fastdepCC_FALSE=
   3769 fi
   3770 
   3771 
   3772 
   3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   3774 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   3775 if ${ac_cv_c_const+:} false; then :
   3776   $as_echo_n "(cached) " >&6
   3777 else
   3778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3779 /* end confdefs.h.  */
   3780 
   3781 int
   3782 main ()
   3783 {
   3784 /* FIXME: Include the comments suggested by Paul. */
   3785 #ifndef __cplusplus
   3786   /* Ultrix mips cc rejects this.  */
   3787   typedef int charset[2];
   3788   const charset cs;
   3789   /* SunOS 4.1.1 cc rejects this.  */
   3790   char const *const *pcpcc;
   3791   char **ppc;
   3792   /* NEC SVR4.0.2 mips cc rejects this.  */
   3793   struct point {int x, y;};
   3794   static struct point const zero = {0,0};
   3795   /* AIX XL C 1.02.0.0 rejects this.
   3796      It does not let you subtract one const X* pointer from another in
   3797      an arm of an if-expression whose if-part is not a constant
   3798      expression */
   3799   const char *g = "string";
   3800   pcpcc = &g + (g ? g-g : 0);
   3801   /* HPUX 7.0 cc rejects these. */
   3802   ++pcpcc;
   3803   ppc = (char**) pcpcc;
   3804   pcpcc = (char const *const *) ppc;
   3805   { /* SCO 3.2v4 cc rejects this.  */
   3806     char *t;
   3807     char const *s = 0 ? (char *) 0 : (char const *) 0;
   3808 
   3809     *t++ = 0;
   3810     if (s) return 0;
   3811   }
   3812   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   3813     int x[] = {25, 17};
   3814     const int *foo = &x[0];
   3815     ++foo;
   3816   }
   3817   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   3818     typedef const int *iptr;
   3819     iptr p = 0;
   3820     ++p;
   3821   }
   3822   { /* AIX XL C 1.02.0.0 rejects this saying
   3823        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   3824     struct s { int j; const int *ap[3]; };
   3825     struct s *b; b->j = 5;
   3826   }
   3827   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   3828     const int foo = 10;
   3829     if (!foo) return 0;
   3830   }
   3831   return !cs[0] && !zero.x;
   3832 #endif
   3833 
   3834   ;
   3835   return 0;
   3836 }
   3837 _ACEOF
   3838 if ac_fn_c_try_compile "$LINENO"; then :
   3839   ac_cv_c_const=yes
   3840 else
   3841   ac_cv_c_const=no
   3842 fi
   3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3844 fi
   3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   3846 $as_echo "$ac_cv_c_const" >&6; }
   3847 if test $ac_cv_c_const = no; then
   3848 
   3849 $as_echo "#define const /**/" >>confdefs.h
   3850 
   3851 fi
   3852 
   3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   3854 $as_echo_n "checking for inline... " >&6; }
   3855 if ${ac_cv_c_inline+:} false; then :
   3856   $as_echo_n "(cached) " >&6
   3857 else
   3858   ac_cv_c_inline=no
   3859 for ac_kw in inline __inline__ __inline; do
   3860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3861 /* end confdefs.h.  */
   3862 #ifndef __cplusplus
   3863 typedef int foo_t;
   3864 static $ac_kw foo_t static_foo () {return 0; }
   3865 $ac_kw foo_t foo () {return 0; }
   3866 #endif
   3867 
   3868 _ACEOF
   3869 if ac_fn_c_try_compile "$LINENO"; then :
   3870   ac_cv_c_inline=$ac_kw
   3871 fi
   3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3873   test "$ac_cv_c_inline" != no && break
   3874 done
   3875 
   3876 fi
   3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   3878 $as_echo "$ac_cv_c_inline" >&6; }
   3879 
   3880 case $ac_cv_c_inline in
   3881   inline | yes) ;;
   3882   *)
   3883     case $ac_cv_c_inline in
   3884       no) ac_val=;;
   3885       *) ac_val=$ac_cv_c_inline;;
   3886     esac
   3887     cat >>confdefs.h <<_ACEOF
   3888 #ifndef __cplusplus
   3889 #define inline $ac_val
   3890 #endif
   3891 _ACEOF
   3892     ;;
   3893 esac
   3894 
   3895 case `pwd` in
   3896   *\ * | *\	*)
   3897     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3898 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3899 esac
   3900 
   3901 
   3902 
   3903 macro_version='2.4'
   3904 macro_revision='1.3293'
   3905 
   3906 
   3907 
   3908 
   3909 
   3910 
   3911 
   3912 
   3913 
   3914 
   3915 
   3916 
   3917 
   3918 ltmain="$ac_aux_dir/ltmain.sh"
   3919 
   3920 # Make sure we can run config.sub.
   3921 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3922   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3923 
   3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3925 $as_echo_n "checking build system type... " >&6; }
   3926 if ${ac_cv_build+:} false; then :
   3927   $as_echo_n "(cached) " >&6
   3928 else
   3929   ac_build_alias=$build_alias
   3930 test "x$ac_build_alias" = x &&
   3931   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3932 test "x$ac_build_alias" = x &&
   3933   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3934 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3935   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3936 
   3937 fi
   3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3939 $as_echo "$ac_cv_build" >&6; }
   3940 case $ac_cv_build in
   3941 *-*-*) ;;
   3942 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3943 esac
   3944 build=$ac_cv_build
   3945 ac_save_IFS=$IFS; IFS='-'
   3946 set x $ac_cv_build
   3947 shift
   3948 build_cpu=$1
   3949 build_vendor=$2
   3950 shift; shift
   3951 # Remember, the first character of IFS is used to create $*,
   3952 # except with old shells:
   3953 build_os=$*
   3954 IFS=$ac_save_IFS
   3955 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3956 
   3957 
   3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3959 $as_echo_n "checking host system type... " >&6; }
   3960 if ${ac_cv_host+:} false; then :
   3961   $as_echo_n "(cached) " >&6
   3962 else
   3963   if test "x$host_alias" = x; then
   3964   ac_cv_host=$ac_cv_build
   3965 else
   3966   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3967     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3968 fi
   3969 
   3970 fi
   3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3972 $as_echo "$ac_cv_host" >&6; }
   3973 case $ac_cv_host in
   3974 *-*-*) ;;
   3975 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3976 esac
   3977 host=$ac_cv_host
   3978 ac_save_IFS=$IFS; IFS='-'
   3979 set x $ac_cv_host
   3980 shift
   3981 host_cpu=$1
   3982 host_vendor=$2
   3983 shift; shift
   3984 # Remember, the first character of IFS is used to create $*,
   3985 # except with old shells:
   3986 host_os=$*
   3987 IFS=$ac_save_IFS
   3988 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3989 
   3990 
   3991 # Backslashify metacharacters that are still active within
   3992 # double-quoted strings.
   3993 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3994 
   3995 # Same as above, but do not quote variable references.
   3996 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3997 
   3998 # Sed substitution to delay expansion of an escaped shell variable in a
   3999 # double_quote_subst'ed string.
   4000 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4001 
   4002 # Sed substitution to delay expansion of an escaped single quote.
   4003 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4004 
   4005 # Sed substitution to avoid accidental globbing in evaled expressions
   4006 no_glob_subst='s/\*/\\\*/g'
   4007 
   4008 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4009 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4010 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4011 
   4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4013 $as_echo_n "checking how to print strings... " >&6; }
   4014 # Test print first, because it will be a builtin if present.
   4015 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4016    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4017   ECHO='print -r --'
   4018 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4019   ECHO='printf %s\n'
   4020 else
   4021   # Use this function as a fallback that always works.
   4022   func_fallback_echo ()
   4023   {
   4024     eval 'cat <<_LTECHO_EOF
   4025 $1
   4026 _LTECHO_EOF'
   4027   }
   4028   ECHO='func_fallback_echo'
   4029 fi
   4030 
   4031 # func_echo_all arg...
   4032 # Invoke $ECHO with all args, space-separated.
   4033 func_echo_all ()
   4034 {
   4035     $ECHO ""
   4036 }
   4037 
   4038 case "$ECHO" in
   4039   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4040 $as_echo "printf" >&6; } ;;
   4041   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4042 $as_echo "print -r" >&6; } ;;
   4043   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4044 $as_echo "cat" >&6; } ;;
   4045 esac
   4046 
   4047 
   4048 
   4049 
   4050 
   4051 
   4052 
   4053 
   4054 
   4055 
   4056 
   4057 
   4058 
   4059 
   4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4061 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4062 if ${ac_cv_path_SED+:} false; then :
   4063   $as_echo_n "(cached) " >&6
   4064 else
   4065             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4066      for ac_i in 1 2 3 4 5 6 7; do
   4067        ac_script="$ac_script$as_nl$ac_script"
   4068      done
   4069      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4070      { ac_script=; unset ac_script;}
   4071      if test -z "$SED"; then
   4072   ac_path_SED_found=false
   4073   # Loop through the user's path and test for each of PROGNAME-LIST
   4074   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4075 for as_dir in $PATH
   4076 do
   4077   IFS=$as_save_IFS
   4078   test -z "$as_dir" && as_dir=.
   4079     for ac_prog in sed gsed; do
   4080     for ac_exec_ext in '' $ac_executable_extensions; do
   4081       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4082       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4083 # Check for GNU ac_path_SED and select it if it is found.
   4084   # Check for GNU $ac_path_SED
   4085 case `"$ac_path_SED" --version 2>&1` in
   4086 *GNU*)
   4087   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4088 *)
   4089   ac_count=0
   4090   $as_echo_n 0123456789 >"conftest.in"
   4091   while :
   4092   do
   4093     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4094     mv "conftest.tmp" "conftest.in"
   4095     cp "conftest.in" "conftest.nl"
   4096     $as_echo '' >> "conftest.nl"
   4097     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4098     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4099     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4100     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4101       # Best one so far, save it but keep looking for a better one
   4102       ac_cv_path_SED="$ac_path_SED"
   4103       ac_path_SED_max=$ac_count
   4104     fi
   4105     # 10*(2^10) chars as input seems more than enough
   4106     test $ac_count -gt 10 && break
   4107   done
   4108   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4109 esac
   4110 
   4111       $ac_path_SED_found && break 3
   4112     done
   4113   done
   4114   done
   4115 IFS=$as_save_IFS
   4116   if test -z "$ac_cv_path_SED"; then
   4117     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4118   fi
   4119 else
   4120   ac_cv_path_SED=$SED
   4121 fi
   4122 
   4123 fi
   4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4125 $as_echo "$ac_cv_path_SED" >&6; }
   4126  SED="$ac_cv_path_SED"
   4127   rm -f conftest.sed
   4128 
   4129 test -z "$SED" && SED=sed
   4130 Xsed="$SED -e 1s/^X//"
   4131 
   4132 
   4133 
   4134 
   4135 
   4136 
   4137 
   4138 
   4139 
   4140 
   4141 
   4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4143 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4144 if ${ac_cv_path_GREP+:} false; then :
   4145   $as_echo_n "(cached) " >&6
   4146 else
   4147   if test -z "$GREP"; then
   4148   ac_path_GREP_found=false
   4149   # Loop through the user's path and test for each of PROGNAME-LIST
   4150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4152 do
   4153   IFS=$as_save_IFS
   4154   test -z "$as_dir" && as_dir=.
   4155     for ac_prog in grep ggrep; do
   4156     for ac_exec_ext in '' $ac_executable_extensions; do
   4157       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4158       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4159 # Check for GNU ac_path_GREP and select it if it is found.
   4160   # Check for GNU $ac_path_GREP
   4161 case `"$ac_path_GREP" --version 2>&1` in
   4162 *GNU*)
   4163   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4164 *)
   4165   ac_count=0
   4166   $as_echo_n 0123456789 >"conftest.in"
   4167   while :
   4168   do
   4169     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4170     mv "conftest.tmp" "conftest.in"
   4171     cp "conftest.in" "conftest.nl"
   4172     $as_echo 'GREP' >> "conftest.nl"
   4173     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4174     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4175     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4176     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4177       # Best one so far, save it but keep looking for a better one
   4178       ac_cv_path_GREP="$ac_path_GREP"
   4179       ac_path_GREP_max=$ac_count
   4180     fi
   4181     # 10*(2^10) chars as input seems more than enough
   4182     test $ac_count -gt 10 && break
   4183   done
   4184   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4185 esac
   4186 
   4187       $ac_path_GREP_found && break 3
   4188     done
   4189   done
   4190   done
   4191 IFS=$as_save_IFS
   4192   if test -z "$ac_cv_path_GREP"; then
   4193     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4194   fi
   4195 else
   4196   ac_cv_path_GREP=$GREP
   4197 fi
   4198 
   4199 fi
   4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4201 $as_echo "$ac_cv_path_GREP" >&6; }
   4202  GREP="$ac_cv_path_GREP"
   4203 
   4204 
   4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4206 $as_echo_n "checking for egrep... " >&6; }
   4207 if ${ac_cv_path_EGREP+:} false; then :
   4208   $as_echo_n "(cached) " >&6
   4209 else
   4210   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4211    then ac_cv_path_EGREP="$GREP -E"
   4212    else
   4213      if test -z "$EGREP"; then
   4214   ac_path_EGREP_found=false
   4215   # Loop through the user's path and test for each of PROGNAME-LIST
   4216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4218 do
   4219   IFS=$as_save_IFS
   4220   test -z "$as_dir" && as_dir=.
   4221     for ac_prog in egrep; do
   4222     for ac_exec_ext in '' $ac_executable_extensions; do
   4223       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4224       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4225 # Check for GNU ac_path_EGREP and select it if it is found.
   4226   # Check for GNU $ac_path_EGREP
   4227 case `"$ac_path_EGREP" --version 2>&1` in
   4228 *GNU*)
   4229   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4230 *)
   4231   ac_count=0
   4232   $as_echo_n 0123456789 >"conftest.in"
   4233   while :
   4234   do
   4235     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4236     mv "conftest.tmp" "conftest.in"
   4237     cp "conftest.in" "conftest.nl"
   4238     $as_echo 'EGREP' >> "conftest.nl"
   4239     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4240     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4241     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4242     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4243       # Best one so far, save it but keep looking for a better one
   4244       ac_cv_path_EGREP="$ac_path_EGREP"
   4245       ac_path_EGREP_max=$ac_count
   4246     fi
   4247     # 10*(2^10) chars as input seems more than enough
   4248     test $ac_count -gt 10 && break
   4249   done
   4250   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4251 esac
   4252 
   4253       $ac_path_EGREP_found && break 3
   4254     done
   4255   done
   4256   done
   4257 IFS=$as_save_IFS
   4258   if test -z "$ac_cv_path_EGREP"; then
   4259     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4260   fi
   4261 else
   4262   ac_cv_path_EGREP=$EGREP
   4263 fi
   4264 
   4265    fi
   4266 fi
   4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4268 $as_echo "$ac_cv_path_EGREP" >&6; }
   4269  EGREP="$ac_cv_path_EGREP"
   4270 
   4271 
   4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4273 $as_echo_n "checking for fgrep... " >&6; }
   4274 if ${ac_cv_path_FGREP+:} false; then :
   4275   $as_echo_n "(cached) " >&6
   4276 else
   4277   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4278    then ac_cv_path_FGREP="$GREP -F"
   4279    else
   4280      if test -z "$FGREP"; then
   4281   ac_path_FGREP_found=false
   4282   # Loop through the user's path and test for each of PROGNAME-LIST
   4283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4285 do
   4286   IFS=$as_save_IFS
   4287   test -z "$as_dir" && as_dir=.
   4288     for ac_prog in fgrep; do
   4289     for ac_exec_ext in '' $ac_executable_extensions; do
   4290       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4291       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4292 # Check for GNU ac_path_FGREP and select it if it is found.
   4293   # Check for GNU $ac_path_FGREP
   4294 case `"$ac_path_FGREP" --version 2>&1` in
   4295 *GNU*)
   4296   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4297 *)
   4298   ac_count=0
   4299   $as_echo_n 0123456789 >"conftest.in"
   4300   while :
   4301   do
   4302     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4303     mv "conftest.tmp" "conftest.in"
   4304     cp "conftest.in" "conftest.nl"
   4305     $as_echo 'FGREP' >> "conftest.nl"
   4306     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4307     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4308     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4309     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4310       # Best one so far, save it but keep looking for a better one
   4311       ac_cv_path_FGREP="$ac_path_FGREP"
   4312       ac_path_FGREP_max=$ac_count
   4313     fi
   4314     # 10*(2^10) chars as input seems more than enough
   4315     test $ac_count -gt 10 && break
   4316   done
   4317   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4318 esac
   4319 
   4320       $ac_path_FGREP_found && break 3
   4321     done
   4322   done
   4323   done
   4324 IFS=$as_save_IFS
   4325   if test -z "$ac_cv_path_FGREP"; then
   4326     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4327   fi
   4328 else
   4329   ac_cv_path_FGREP=$FGREP
   4330 fi
   4331 
   4332    fi
   4333 fi
   4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4335 $as_echo "$ac_cv_path_FGREP" >&6; }
   4336  FGREP="$ac_cv_path_FGREP"
   4337 
   4338 
   4339 test -z "$GREP" && GREP=grep
   4340 
   4341 
   4342 
   4343 
   4344 
   4345 
   4346 
   4347 
   4348 
   4349 
   4350 
   4351 
   4352 
   4353 
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 # Check whether --with-gnu-ld was given.
   4360 if test "${with_gnu_ld+set}" = set; then :
   4361   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4362 else
   4363   with_gnu_ld=no
   4364 fi
   4365 
   4366 ac_prog=ld
   4367 if test "$GCC" = yes; then
   4368   # Check if gcc -print-prog-name=ld gives a path.
   4369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4370 $as_echo_n "checking for ld used by $CC... " >&6; }
   4371   case $host in
   4372   *-*-mingw*)
   4373     # gcc leaves a trailing carriage return which upsets mingw
   4374     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4375   *)
   4376     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4377   esac
   4378   case $ac_prog in
   4379     # Accept absolute paths.
   4380     [\\/]* | ?:[\\/]*)
   4381       re_direlt='/[^/][^/]*/\.\./'
   4382       # Canonicalize the pathname of ld
   4383       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4384       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4385 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4386       done
   4387       test -z "$LD" && LD="$ac_prog"
   4388       ;;
   4389   "")
   4390     # If it fails, then pretend we aren't using GCC.
   4391     ac_prog=ld
   4392     ;;
   4393   *)
   4394     # If it is relative, then search for the first ld in PATH.
   4395     with_gnu_ld=unknown
   4396     ;;
   4397   esac
   4398 elif test "$with_gnu_ld" = yes; then
   4399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4400 $as_echo_n "checking for GNU ld... " >&6; }
   4401 else
   4402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4403 $as_echo_n "checking for non-GNU ld... " >&6; }
   4404 fi
   4405 if ${lt_cv_path_LD+:} false; then :
   4406   $as_echo_n "(cached) " >&6
   4407 else
   4408   if test -z "$LD"; then
   4409   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4410   for ac_dir in $PATH; do
   4411     IFS="$lt_save_ifs"
   4412     test -z "$ac_dir" && ac_dir=.
   4413     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4414       lt_cv_path_LD="$ac_dir/$ac_prog"
   4415       # Check to see if the program is GNU ld.  I'd rather use --version,
   4416       # but apparently some variants of GNU ld only accept -v.
   4417       # Break only if it was the GNU/non-GNU ld that we prefer.
   4418       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4419       *GNU* | *'with BFD'*)
   4420 	test "$with_gnu_ld" != no && break
   4421 	;;
   4422       *)
   4423 	test "$with_gnu_ld" != yes && break
   4424 	;;
   4425       esac
   4426     fi
   4427   done
   4428   IFS="$lt_save_ifs"
   4429 else
   4430   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4431 fi
   4432 fi
   4433 
   4434 LD="$lt_cv_path_LD"
   4435 if test -n "$LD"; then
   4436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4437 $as_echo "$LD" >&6; }
   4438 else
   4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4440 $as_echo "no" >&6; }
   4441 fi
   4442 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4444 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4445 if ${lt_cv_prog_gnu_ld+:} false; then :
   4446   $as_echo_n "(cached) " >&6
   4447 else
   4448   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4449 case `$LD -v 2>&1 </dev/null` in
   4450 *GNU* | *'with BFD'*)
   4451   lt_cv_prog_gnu_ld=yes
   4452   ;;
   4453 *)
   4454   lt_cv_prog_gnu_ld=no
   4455   ;;
   4456 esac
   4457 fi
   4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4459 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4460 with_gnu_ld=$lt_cv_prog_gnu_ld
   4461 
   4462 
   4463 
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4471 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4472 if ${lt_cv_path_NM+:} false; then :
   4473   $as_echo_n "(cached) " >&6
   4474 else
   4475   if test -n "$NM"; then
   4476   # Let the user override the test.
   4477   lt_cv_path_NM="$NM"
   4478 else
   4479   lt_nm_to_check="${ac_tool_prefix}nm"
   4480   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4481     lt_nm_to_check="$lt_nm_to_check nm"
   4482   fi
   4483   for lt_tmp_nm in $lt_nm_to_check; do
   4484     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4485     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4486       IFS="$lt_save_ifs"
   4487       test -z "$ac_dir" && ac_dir=.
   4488       tmp_nm="$ac_dir/$lt_tmp_nm"
   4489       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4490 	# Check to see if the nm accepts a BSD-compat flag.
   4491 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4492 	#   nm: unknown option "B" ignored
   4493 	# Tru64's nm complains that /dev/null is an invalid object file
   4494 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4495 	*/dev/null* | *'Invalid file or object type'*)
   4496 	  lt_cv_path_NM="$tmp_nm -B"
   4497 	  break
   4498 	  ;;
   4499 	*)
   4500 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4501 	  */dev/null*)
   4502 	    lt_cv_path_NM="$tmp_nm -p"
   4503 	    break
   4504 	    ;;
   4505 	  *)
   4506 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4507 	    continue # so that we can try to find one that supports BSD flags
   4508 	    ;;
   4509 	  esac
   4510 	  ;;
   4511 	esac
   4512       fi
   4513     done
   4514     IFS="$lt_save_ifs"
   4515   done
   4516   : ${lt_cv_path_NM=no}
   4517 fi
   4518 fi
   4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4520 $as_echo "$lt_cv_path_NM" >&6; }
   4521 if test "$lt_cv_path_NM" != "no"; then
   4522   NM="$lt_cv_path_NM"
   4523 else
   4524   # Didn't find any BSD compatible name lister, look for dumpbin.
   4525   if test -n "$DUMPBIN"; then :
   4526     # Let the user override the test.
   4527   else
   4528     if test -n "$ac_tool_prefix"; then
   4529   for ac_prog in dumpbin "link -dump"
   4530   do
   4531     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4532 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4534 $as_echo_n "checking for $ac_word... " >&6; }
   4535 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4536   $as_echo_n "(cached) " >&6
   4537 else
   4538   if test -n "$DUMPBIN"; then
   4539   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4540 else
   4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4542 for as_dir in $PATH
   4543 do
   4544   IFS=$as_save_IFS
   4545   test -z "$as_dir" && as_dir=.
   4546     for ac_exec_ext in '' $ac_executable_extensions; do
   4547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4548     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4550     break 2
   4551   fi
   4552 done
   4553   done
   4554 IFS=$as_save_IFS
   4555 
   4556 fi
   4557 fi
   4558 DUMPBIN=$ac_cv_prog_DUMPBIN
   4559 if test -n "$DUMPBIN"; then
   4560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4561 $as_echo "$DUMPBIN" >&6; }
   4562 else
   4563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4564 $as_echo "no" >&6; }
   4565 fi
   4566 
   4567 
   4568     test -n "$DUMPBIN" && break
   4569   done
   4570 fi
   4571 if test -z "$DUMPBIN"; then
   4572   ac_ct_DUMPBIN=$DUMPBIN
   4573   for ac_prog in dumpbin "link -dump"
   4574 do
   4575   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4576 set dummy $ac_prog; ac_word=$2
   4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4578 $as_echo_n "checking for $ac_word... " >&6; }
   4579 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4580   $as_echo_n "(cached) " >&6
   4581 else
   4582   if test -n "$ac_ct_DUMPBIN"; then
   4583   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4584 else
   4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4586 for as_dir in $PATH
   4587 do
   4588   IFS=$as_save_IFS
   4589   test -z "$as_dir" && as_dir=.
   4590     for ac_exec_ext in '' $ac_executable_extensions; do
   4591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4592     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4594     break 2
   4595   fi
   4596 done
   4597   done
   4598 IFS=$as_save_IFS
   4599 
   4600 fi
   4601 fi
   4602 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4603 if test -n "$ac_ct_DUMPBIN"; then
   4604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4605 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4606 else
   4607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4608 $as_echo "no" >&6; }
   4609 fi
   4610 
   4611 
   4612   test -n "$ac_ct_DUMPBIN" && break
   4613 done
   4614 
   4615   if test "x$ac_ct_DUMPBIN" = x; then
   4616     DUMPBIN=":"
   4617   else
   4618     case $cross_compiling:$ac_tool_warned in
   4619 yes:)
   4620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4622 ac_tool_warned=yes ;;
   4623 esac
   4624     DUMPBIN=$ac_ct_DUMPBIN
   4625   fi
   4626 fi
   4627 
   4628     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4629     *COFF*)
   4630       DUMPBIN="$DUMPBIN -symbols"
   4631       ;;
   4632     *)
   4633       DUMPBIN=:
   4634       ;;
   4635     esac
   4636   fi
   4637 
   4638   if test "$DUMPBIN" != ":"; then
   4639     NM="$DUMPBIN"
   4640   fi
   4641 fi
   4642 test -z "$NM" && NM=nm
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4650 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4651 if ${lt_cv_nm_interface+:} false; then :
   4652   $as_echo_n "(cached) " >&6
   4653 else
   4654   lt_cv_nm_interface="BSD nm"
   4655   echo "int some_variable = 0;" > conftest.$ac_ext
   4656   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4657   (eval "$ac_compile" 2>conftest.err)
   4658   cat conftest.err >&5
   4659   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4660   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4661   cat conftest.err >&5
   4662   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4663   cat conftest.out >&5
   4664   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4665     lt_cv_nm_interface="MS dumpbin"
   4666   fi
   4667   rm -f conftest*
   4668 fi
   4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4670 $as_echo "$lt_cv_nm_interface" >&6; }
   4671 
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4673 $as_echo_n "checking whether ln -s works... " >&6; }
   4674 LN_S=$as_ln_s
   4675 if test "$LN_S" = "ln -s"; then
   4676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4677 $as_echo "yes" >&6; }
   4678 else
   4679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4680 $as_echo "no, using $LN_S" >&6; }
   4681 fi
   4682 
   4683 # find the maximum length of command line arguments
   4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4685 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4686 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4687   $as_echo_n "(cached) " >&6
   4688 else
   4689     i=0
   4690   teststring="ABCD"
   4691 
   4692   case $build_os in
   4693   msdosdjgpp*)
   4694     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4695     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4696     # during glob expansion).  Even if it were fixed, the result of this
   4697     # check would be larger than it should be.
   4698     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4699     ;;
   4700 
   4701   gnu*)
   4702     # Under GNU Hurd, this test is not required because there is
   4703     # no limit to the length of command line arguments.
   4704     # Libtool will interpret -1 as no limit whatsoever
   4705     lt_cv_sys_max_cmd_len=-1;
   4706     ;;
   4707 
   4708   cygwin* | mingw* | cegcc*)
   4709     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4710     # about 5 minutes as the teststring grows exponentially.
   4711     # Worse, since 9x/ME are not pre-emptively multitasking,
   4712     # you end up with a "frozen" computer, even though with patience
   4713     # the test eventually succeeds (with a max line length of 256k).
   4714     # Instead, let's just punt: use the minimum linelength reported by
   4715     # all of the supported platforms: 8192 (on NT/2K/XP).
   4716     lt_cv_sys_max_cmd_len=8192;
   4717     ;;
   4718 
   4719   mint*)
   4720     # On MiNT this can take a long time and run out of memory.
   4721     lt_cv_sys_max_cmd_len=8192;
   4722     ;;
   4723 
   4724   amigaos*)
   4725     # On AmigaOS with pdksh, this test takes hours, literally.
   4726     # So we just punt and use a minimum line length of 8192.
   4727     lt_cv_sys_max_cmd_len=8192;
   4728     ;;
   4729 
   4730   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4731     # This has been around since 386BSD, at least.  Likely further.
   4732     if test -x /sbin/sysctl; then
   4733       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4734     elif test -x /usr/sbin/sysctl; then
   4735       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4736     else
   4737       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4738     fi
   4739     # And add a safety zone
   4740     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4741     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4742     ;;
   4743 
   4744   interix*)
   4745     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4746     lt_cv_sys_max_cmd_len=196608
   4747     ;;
   4748 
   4749   osf*)
   4750     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4751     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4752     # nice to cause kernel panics so lets avoid the loop below.
   4753     # First set a reasonable default.
   4754     lt_cv_sys_max_cmd_len=16384
   4755     #
   4756     if test -x /sbin/sysconfig; then
   4757       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4758         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4759       esac
   4760     fi
   4761     ;;
   4762   sco3.2v5*)
   4763     lt_cv_sys_max_cmd_len=102400
   4764     ;;
   4765   sysv5* | sco5v6* | sysv4.2uw2*)
   4766     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4767     if test -n "$kargmax"; then
   4768       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4769     else
   4770       lt_cv_sys_max_cmd_len=32768
   4771     fi
   4772     ;;
   4773   *)
   4774     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4775     if test -n "$lt_cv_sys_max_cmd_len"; then
   4776       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4777       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4778     else
   4779       # Make teststring a little bigger before we do anything with it.
   4780       # a 1K string should be a reasonable start.
   4781       for i in 1 2 3 4 5 6 7 8 ; do
   4782         teststring=$teststring$teststring
   4783       done
   4784       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4785       # If test is not a shell built-in, we'll probably end up computing a
   4786       # maximum length that is only half of the actual maximum length, but
   4787       # we can't tell.
   4788       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4789 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4790 	      test $i != 17 # 1/2 MB should be enough
   4791       do
   4792         i=`expr $i + 1`
   4793         teststring=$teststring$teststring
   4794       done
   4795       # Only check the string length outside the loop.
   4796       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4797       teststring=
   4798       # Add a significant safety factor because C++ compilers can tack on
   4799       # massive amounts of additional arguments before passing them to the
   4800       # linker.  It appears as though 1/2 is a usable value.
   4801       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4802     fi
   4803     ;;
   4804   esac
   4805 
   4806 fi
   4807 
   4808 if test -n $lt_cv_sys_max_cmd_len ; then
   4809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4810 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4811 else
   4812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4813 $as_echo "none" >&6; }
   4814 fi
   4815 max_cmd_len=$lt_cv_sys_max_cmd_len
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 : ${CP="cp -f"}
   4823 : ${MV="mv -f"}
   4824 : ${RM="rm -f"}
   4825 
   4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4827 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4828 # Try some XSI features
   4829 xsi_shell=no
   4830 ( _lt_dummy="a/b/c"
   4831   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4832       = c,a/b,b/c, \
   4833     && eval 'test $(( 1 + 1 )) -eq 2 \
   4834     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4835   && xsi_shell=yes
   4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4837 $as_echo "$xsi_shell" >&6; }
   4838 
   4839 
   4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4841 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4842 lt_shell_append=no
   4843 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4844     >/dev/null 2>&1 \
   4845   && lt_shell_append=yes
   4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4847 $as_echo "$lt_shell_append" >&6; }
   4848 
   4849 
   4850 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4851   lt_unset=unset
   4852 else
   4853   lt_unset=false
   4854 fi
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 # test EBCDIC or ASCII
   4861 case `echo X|tr X '\101'` in
   4862  A) # ASCII based system
   4863     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4864   lt_SP2NL='tr \040 \012'
   4865   lt_NL2SP='tr \015\012 \040\040'
   4866   ;;
   4867  *) # EBCDIC based system
   4868   lt_SP2NL='tr \100 \n'
   4869   lt_NL2SP='tr \r\n \100\100'
   4870   ;;
   4871 esac
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4882 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4883 if ${lt_cv_to_host_file_cmd+:} false; then :
   4884   $as_echo_n "(cached) " >&6
   4885 else
   4886   case $host in
   4887   *-*-mingw* )
   4888     case $build in
   4889       *-*-mingw* ) # actually msys
   4890         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4891         ;;
   4892       *-*-cygwin* )
   4893         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4894         ;;
   4895       * ) # otherwise, assume *nix
   4896         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4897         ;;
   4898     esac
   4899     ;;
   4900   *-*-cygwin* )
   4901     case $build in
   4902       *-*-mingw* ) # actually msys
   4903         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4904         ;;
   4905       *-*-cygwin* )
   4906         lt_cv_to_host_file_cmd=func_convert_file_noop
   4907         ;;
   4908       * ) # otherwise, assume *nix
   4909         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4910         ;;
   4911     esac
   4912     ;;
   4913   * ) # unhandled hosts (and "normal" native builds)
   4914     lt_cv_to_host_file_cmd=func_convert_file_noop
   4915     ;;
   4916 esac
   4917 
   4918 fi
   4919 
   4920 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4922 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4929 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4930 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4931   $as_echo_n "(cached) " >&6
   4932 else
   4933   #assume ordinary cross tools, or native build.
   4934 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4935 case $host in
   4936   *-*-mingw* )
   4937     case $build in
   4938       *-*-mingw* ) # actually msys
   4939         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4940         ;;
   4941     esac
   4942     ;;
   4943 esac
   4944 
   4945 fi
   4946 
   4947 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4949 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4956 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4957 if ${lt_cv_ld_reload_flag+:} false; then :
   4958   $as_echo_n "(cached) " >&6
   4959 else
   4960   lt_cv_ld_reload_flag='-r'
   4961 fi
   4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4963 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4964 reload_flag=$lt_cv_ld_reload_flag
   4965 case $reload_flag in
   4966 "" | " "*) ;;
   4967 *) reload_flag=" $reload_flag" ;;
   4968 esac
   4969 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4970 case $host_os in
   4971   cygwin* | mingw* | pw32* | cegcc*)
   4972     if test "$GCC" != yes; then
   4973       reload_cmds=false
   4974     fi
   4975     ;;
   4976   darwin*)
   4977     if test "$GCC" = yes; then
   4978       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4979     else
   4980       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4981     fi
   4982     ;;
   4983 esac
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 if test -n "$ac_tool_prefix"; then
   4994   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4995 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4997 $as_echo_n "checking for $ac_word... " >&6; }
   4998 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4999   $as_echo_n "(cached) " >&6
   5000 else
   5001   if test -n "$OBJDUMP"; then
   5002   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5003 else
   5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5005 for as_dir in $PATH
   5006 do
   5007   IFS=$as_save_IFS
   5008   test -z "$as_dir" && as_dir=.
   5009     for ac_exec_ext in '' $ac_executable_extensions; do
   5010   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5011     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5013     break 2
   5014   fi
   5015 done
   5016   done
   5017 IFS=$as_save_IFS
   5018 
   5019 fi
   5020 fi
   5021 OBJDUMP=$ac_cv_prog_OBJDUMP
   5022 if test -n "$OBJDUMP"; then
   5023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5024 $as_echo "$OBJDUMP" >&6; }
   5025 else
   5026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5027 $as_echo "no" >&6; }
   5028 fi
   5029 
   5030 
   5031 fi
   5032 if test -z "$ac_cv_prog_OBJDUMP"; then
   5033   ac_ct_OBJDUMP=$OBJDUMP
   5034   # Extract the first word of "objdump", so it can be a program name with args.
   5035 set dummy objdump; ac_word=$2
   5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5037 $as_echo_n "checking for $ac_word... " >&6; }
   5038 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5039   $as_echo_n "(cached) " >&6
   5040 else
   5041   if test -n "$ac_ct_OBJDUMP"; then
   5042   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5043 else
   5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5045 for as_dir in $PATH
   5046 do
   5047   IFS=$as_save_IFS
   5048   test -z "$as_dir" && as_dir=.
   5049     for ac_exec_ext in '' $ac_executable_extensions; do
   5050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5051     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5053     break 2
   5054   fi
   5055 done
   5056   done
   5057 IFS=$as_save_IFS
   5058 
   5059 fi
   5060 fi
   5061 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5062 if test -n "$ac_ct_OBJDUMP"; then
   5063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5064 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5065 else
   5066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5067 $as_echo "no" >&6; }
   5068 fi
   5069 
   5070   if test "x$ac_ct_OBJDUMP" = x; then
   5071     OBJDUMP="false"
   5072   else
   5073     case $cross_compiling:$ac_tool_warned in
   5074 yes:)
   5075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5077 ac_tool_warned=yes ;;
   5078 esac
   5079     OBJDUMP=$ac_ct_OBJDUMP
   5080   fi
   5081 else
   5082   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5083 fi
   5084 
   5085 test -z "$OBJDUMP" && OBJDUMP=objdump
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5096 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5097 if ${lt_cv_deplibs_check_method+:} false; then :
   5098   $as_echo_n "(cached) " >&6
   5099 else
   5100   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5101 lt_cv_file_magic_test_file=
   5102 lt_cv_deplibs_check_method='unknown'
   5103 # Need to set the preceding variable on all platforms that support
   5104 # interlibrary dependencies.
   5105 # 'none' -- dependencies not supported.
   5106 # `unknown' -- same as none, but documents that we really don't know.
   5107 # 'pass_all' -- all dependencies passed with no checks.
   5108 # 'test_compile' -- check by making test program.
   5109 # 'file_magic [[regex]]' -- check by looking for files in library path
   5110 # which responds to the $file_magic_cmd with a given extended regex.
   5111 # If you have `file' or equivalent on your system and you're not sure
   5112 # whether `pass_all' will *always* work, you probably want this one.
   5113 
   5114 case $host_os in
   5115 aix[4-9]*)
   5116   lt_cv_deplibs_check_method=pass_all
   5117   ;;
   5118 
   5119 beos*)
   5120   lt_cv_deplibs_check_method=pass_all
   5121   ;;
   5122 
   5123 bsdi[45]*)
   5124   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5125   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5126   lt_cv_file_magic_test_file=/shlib/libc.so
   5127   ;;
   5128 
   5129 cygwin*)
   5130   # func_win32_libid is a shell function defined in ltmain.sh
   5131   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5132   lt_cv_file_magic_cmd='func_win32_libid'
   5133   ;;
   5134 
   5135 mingw* | pw32*)
   5136   # Base MSYS/MinGW do not provide the 'file' command needed by
   5137   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5138   # unless we find 'file', for example because we are cross-compiling.
   5139   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5140   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5141     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5142     lt_cv_file_magic_cmd='func_win32_libid'
   5143   else
   5144     # Keep this pattern in sync with the one in func_win32_libid.
   5145     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5146     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5147   fi
   5148   ;;
   5149 
   5150 cegcc*)
   5151   # use the weaker test based on 'objdump'. See mingw*.
   5152   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5153   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5154   ;;
   5155 
   5156 darwin* | rhapsody*)
   5157   lt_cv_deplibs_check_method=pass_all
   5158   ;;
   5159 
   5160 freebsd* | dragonfly*)
   5161   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5162     case $host_cpu in
   5163     i*86 )
   5164       # Not sure whether the presence of OpenBSD here was a mistake.
   5165       # Let's accept both of them until this is cleared up.
   5166       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5167       lt_cv_file_magic_cmd=/usr/bin/file
   5168       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5169       ;;
   5170     esac
   5171   else
   5172     lt_cv_deplibs_check_method=pass_all
   5173   fi
   5174   ;;
   5175 
   5176 gnu*)
   5177   lt_cv_deplibs_check_method=pass_all
   5178   ;;
   5179 
   5180 haiku*)
   5181   lt_cv_deplibs_check_method=pass_all
   5182   ;;
   5183 
   5184 hpux10.20* | hpux11*)
   5185   lt_cv_file_magic_cmd=/usr/bin/file
   5186   case $host_cpu in
   5187   ia64*)
   5188     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5189     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5190     ;;
   5191   hppa*64*)
   5192     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]'
   5193     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5194     ;;
   5195   *)
   5196     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5197     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5198     ;;
   5199   esac
   5200   ;;
   5201 
   5202 interix[3-9]*)
   5203   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5204   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5205   ;;
   5206 
   5207 irix5* | irix6* | nonstopux*)
   5208   case $LD in
   5209   *-32|*"-32 ") libmagic=32-bit;;
   5210   *-n32|*"-n32 ") libmagic=N32;;
   5211   *-64|*"-64 ") libmagic=64-bit;;
   5212   *) libmagic=never-match;;
   5213   esac
   5214   lt_cv_deplibs_check_method=pass_all
   5215   ;;
   5216 
   5217 # This must be Linux ELF.
   5218 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5219   lt_cv_deplibs_check_method=pass_all
   5220   ;;
   5221 
   5222 netbsd*)
   5223   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5224     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5225   else
   5226     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5227   fi
   5228   ;;
   5229 
   5230 newos6*)
   5231   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5232   lt_cv_file_magic_cmd=/usr/bin/file
   5233   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5234   ;;
   5235 
   5236 *nto* | *qnx*)
   5237   lt_cv_deplibs_check_method=pass_all
   5238   ;;
   5239 
   5240 openbsd*)
   5241   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5242     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5243   else
   5244     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5245   fi
   5246   ;;
   5247 
   5248 osf3* | osf4* | osf5*)
   5249   lt_cv_deplibs_check_method=pass_all
   5250   ;;
   5251 
   5252 rdos*)
   5253   lt_cv_deplibs_check_method=pass_all
   5254   ;;
   5255 
   5256 solaris*)
   5257   lt_cv_deplibs_check_method=pass_all
   5258   ;;
   5259 
   5260 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5261   lt_cv_deplibs_check_method=pass_all
   5262   ;;
   5263 
   5264 sysv4 | sysv4.3*)
   5265   case $host_vendor in
   5266   motorola)
   5267     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]'
   5268     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5269     ;;
   5270   ncr)
   5271     lt_cv_deplibs_check_method=pass_all
   5272     ;;
   5273   sequent)
   5274     lt_cv_file_magic_cmd='/bin/file'
   5275     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5276     ;;
   5277   sni)
   5278     lt_cv_file_magic_cmd='/bin/file'
   5279     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5280     lt_cv_file_magic_test_file=/lib/libc.so
   5281     ;;
   5282   siemens)
   5283     lt_cv_deplibs_check_method=pass_all
   5284     ;;
   5285   pc)
   5286     lt_cv_deplibs_check_method=pass_all
   5287     ;;
   5288   esac
   5289   ;;
   5290 
   5291 tpf*)
   5292   lt_cv_deplibs_check_method=pass_all
   5293   ;;
   5294 esac
   5295 
   5296 fi
   5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5298 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5299 
   5300 file_magic_glob=
   5301 want_nocaseglob=no
   5302 if test "$build" = "$host"; then
   5303   case $host_os in
   5304   mingw* | pw32*)
   5305     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5306       want_nocaseglob=yes
   5307     else
   5308       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5309     fi
   5310     ;;
   5311   esac
   5312 fi
   5313 
   5314 file_magic_cmd=$lt_cv_file_magic_cmd
   5315 deplibs_check_method=$lt_cv_deplibs_check_method
   5316 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 if test -n "$ac_tool_prefix"; then
   5340   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5341 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5343 $as_echo_n "checking for $ac_word... " >&6; }
   5344 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5345   $as_echo_n "(cached) " >&6
   5346 else
   5347   if test -n "$DLLTOOL"; then
   5348   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5349 else
   5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5351 for as_dir in $PATH
   5352 do
   5353   IFS=$as_save_IFS
   5354   test -z "$as_dir" && as_dir=.
   5355     for ac_exec_ext in '' $ac_executable_extensions; do
   5356   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5357     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5359     break 2
   5360   fi
   5361 done
   5362   done
   5363 IFS=$as_save_IFS
   5364 
   5365 fi
   5366 fi
   5367 DLLTOOL=$ac_cv_prog_DLLTOOL
   5368 if test -n "$DLLTOOL"; then
   5369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5370 $as_echo "$DLLTOOL" >&6; }
   5371 else
   5372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5373 $as_echo "no" >&6; }
   5374 fi
   5375 
   5376 
   5377 fi
   5378 if test -z "$ac_cv_prog_DLLTOOL"; then
   5379   ac_ct_DLLTOOL=$DLLTOOL
   5380   # Extract the first word of "dlltool", so it can be a program name with args.
   5381 set dummy dlltool; ac_word=$2
   5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5383 $as_echo_n "checking for $ac_word... " >&6; }
   5384 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5385   $as_echo_n "(cached) " >&6
   5386 else
   5387   if test -n "$ac_ct_DLLTOOL"; then
   5388   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5389 else
   5390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5391 for as_dir in $PATH
   5392 do
   5393   IFS=$as_save_IFS
   5394   test -z "$as_dir" && as_dir=.
   5395     for ac_exec_ext in '' $ac_executable_extensions; do
   5396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5397     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5399     break 2
   5400   fi
   5401 done
   5402   done
   5403 IFS=$as_save_IFS
   5404 
   5405 fi
   5406 fi
   5407 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5408 if test -n "$ac_ct_DLLTOOL"; then
   5409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5410 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5411 else
   5412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5413 $as_echo "no" >&6; }
   5414 fi
   5415 
   5416   if test "x$ac_ct_DLLTOOL" = x; then
   5417     DLLTOOL="false"
   5418   else
   5419     case $cross_compiling:$ac_tool_warned in
   5420 yes:)
   5421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5423 ac_tool_warned=yes ;;
   5424 esac
   5425     DLLTOOL=$ac_ct_DLLTOOL
   5426   fi
   5427 else
   5428   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5429 fi
   5430 
   5431 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5443 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5444 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5445   $as_echo_n "(cached) " >&6
   5446 else
   5447   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5448 
   5449 case $host_os in
   5450 cygwin* | mingw* | pw32* | cegcc*)
   5451   # two different shell functions defined in ltmain.sh
   5452   # decide which to use based on capabilities of $DLLTOOL
   5453   case `$DLLTOOL --help 2>&1` in
   5454   *--identify-strict*)
   5455     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5456     ;;
   5457   *)
   5458     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5459     ;;
   5460   esac
   5461   ;;
   5462 *)
   5463   # fallback: assume linklib IS sharedlib
   5464   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5465   ;;
   5466 esac
   5467 
   5468 fi
   5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5470 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5471 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5472 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 if test -n "$ac_tool_prefix"; then
   5481   for ac_prog in ar
   5482   do
   5483     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5486 $as_echo_n "checking for $ac_word... " >&6; }
   5487 if ${ac_cv_prog_AR+:} false; then :
   5488   $as_echo_n "(cached) " >&6
   5489 else
   5490   if test -n "$AR"; then
   5491   ac_cv_prog_AR="$AR" # Let the user override the test.
   5492 else
   5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5494 for as_dir in $PATH
   5495 do
   5496   IFS=$as_save_IFS
   5497   test -z "$as_dir" && as_dir=.
   5498     for ac_exec_ext in '' $ac_executable_extensions; do
   5499   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5500     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5502     break 2
   5503   fi
   5504 done
   5505   done
   5506 IFS=$as_save_IFS
   5507 
   5508 fi
   5509 fi
   5510 AR=$ac_cv_prog_AR
   5511 if test -n "$AR"; then
   5512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5513 $as_echo "$AR" >&6; }
   5514 else
   5515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5516 $as_echo "no" >&6; }
   5517 fi
   5518 
   5519 
   5520     test -n "$AR" && break
   5521   done
   5522 fi
   5523 if test -z "$AR"; then
   5524   ac_ct_AR=$AR
   5525   for ac_prog in ar
   5526 do
   5527   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5528 set dummy $ac_prog; ac_word=$2
   5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5530 $as_echo_n "checking for $ac_word... " >&6; }
   5531 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5532   $as_echo_n "(cached) " >&6
   5533 else
   5534   if test -n "$ac_ct_AR"; then
   5535   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5536 else
   5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5538 for as_dir in $PATH
   5539 do
   5540   IFS=$as_save_IFS
   5541   test -z "$as_dir" && as_dir=.
   5542     for ac_exec_ext in '' $ac_executable_extensions; do
   5543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5544     ac_cv_prog_ac_ct_AR="$ac_prog"
   5545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5546     break 2
   5547   fi
   5548 done
   5549   done
   5550 IFS=$as_save_IFS
   5551 
   5552 fi
   5553 fi
   5554 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5555 if test -n "$ac_ct_AR"; then
   5556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5557 $as_echo "$ac_ct_AR" >&6; }
   5558 else
   5559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5560 $as_echo "no" >&6; }
   5561 fi
   5562 
   5563 
   5564   test -n "$ac_ct_AR" && break
   5565 done
   5566 
   5567   if test "x$ac_ct_AR" = x; then
   5568     AR="false"
   5569   else
   5570     case $cross_compiling:$ac_tool_warned in
   5571 yes:)
   5572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5574 ac_tool_warned=yes ;;
   5575 esac
   5576     AR=$ac_ct_AR
   5577   fi
   5578 fi
   5579 
   5580 : ${AR=ar}
   5581 : ${AR_FLAGS=cru}
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5594 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5595 if ${lt_cv_ar_at_file+:} false; then :
   5596   $as_echo_n "(cached) " >&6
   5597 else
   5598   lt_cv_ar_at_file=no
   5599    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5600 /* end confdefs.h.  */
   5601 
   5602 int
   5603 main ()
   5604 {
   5605 
   5606   ;
   5607   return 0;
   5608 }
   5609 _ACEOF
   5610 if ac_fn_c_try_compile "$LINENO"; then :
   5611   echo conftest.$ac_objext > conftest.lst
   5612       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5613       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5614   (eval $lt_ar_try) 2>&5
   5615   ac_status=$?
   5616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5617   test $ac_status = 0; }
   5618       if test "$ac_status" -eq 0; then
   5619 	# Ensure the archiver fails upon bogus file names.
   5620 	rm -f conftest.$ac_objext libconftest.a
   5621 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5622   (eval $lt_ar_try) 2>&5
   5623   ac_status=$?
   5624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5625   test $ac_status = 0; }
   5626 	if test "$ac_status" -ne 0; then
   5627           lt_cv_ar_at_file=@
   5628         fi
   5629       fi
   5630       rm -f conftest.* libconftest.a
   5631 
   5632 fi
   5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5634 
   5635 fi
   5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5637 $as_echo "$lt_cv_ar_at_file" >&6; }
   5638 
   5639 if test "x$lt_cv_ar_at_file" = xno; then
   5640   archiver_list_spec=
   5641 else
   5642   archiver_list_spec=$lt_cv_ar_at_file
   5643 fi
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 if test -n "$ac_tool_prefix"; then
   5652   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5653 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5655 $as_echo_n "checking for $ac_word... " >&6; }
   5656 if ${ac_cv_prog_STRIP+:} false; then :
   5657   $as_echo_n "(cached) " >&6
   5658 else
   5659   if test -n "$STRIP"; then
   5660   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5661 else
   5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5663 for as_dir in $PATH
   5664 do
   5665   IFS=$as_save_IFS
   5666   test -z "$as_dir" && as_dir=.
   5667     for ac_exec_ext in '' $ac_executable_extensions; do
   5668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5669     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5671     break 2
   5672   fi
   5673 done
   5674   done
   5675 IFS=$as_save_IFS
   5676 
   5677 fi
   5678 fi
   5679 STRIP=$ac_cv_prog_STRIP
   5680 if test -n "$STRIP"; then
   5681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5682 $as_echo "$STRIP" >&6; }
   5683 else
   5684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5685 $as_echo "no" >&6; }
   5686 fi
   5687 
   5688 
   5689 fi
   5690 if test -z "$ac_cv_prog_STRIP"; then
   5691   ac_ct_STRIP=$STRIP
   5692   # Extract the first word of "strip", so it can be a program name with args.
   5693 set dummy strip; ac_word=$2
   5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5695 $as_echo_n "checking for $ac_word... " >&6; }
   5696 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5697   $as_echo_n "(cached) " >&6
   5698 else
   5699   if test -n "$ac_ct_STRIP"; then
   5700   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5701 else
   5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5703 for as_dir in $PATH
   5704 do
   5705   IFS=$as_save_IFS
   5706   test -z "$as_dir" && as_dir=.
   5707     for ac_exec_ext in '' $ac_executable_extensions; do
   5708   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5709     ac_cv_prog_ac_ct_STRIP="strip"
   5710     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5711     break 2
   5712   fi
   5713 done
   5714   done
   5715 IFS=$as_save_IFS
   5716 
   5717 fi
   5718 fi
   5719 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5720 if test -n "$ac_ct_STRIP"; then
   5721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5722 $as_echo "$ac_ct_STRIP" >&6; }
   5723 else
   5724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5725 $as_echo "no" >&6; }
   5726 fi
   5727 
   5728   if test "x$ac_ct_STRIP" = x; then
   5729     STRIP=":"
   5730   else
   5731     case $cross_compiling:$ac_tool_warned in
   5732 yes:)
   5733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5735 ac_tool_warned=yes ;;
   5736 esac
   5737     STRIP=$ac_ct_STRIP
   5738   fi
   5739 else
   5740   STRIP="$ac_cv_prog_STRIP"
   5741 fi
   5742 
   5743 test -z "$STRIP" && STRIP=:
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 if test -n "$ac_tool_prefix"; then
   5751   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5752 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5754 $as_echo_n "checking for $ac_word... " >&6; }
   5755 if ${ac_cv_prog_RANLIB+:} false; then :
   5756   $as_echo_n "(cached) " >&6
   5757 else
   5758   if test -n "$RANLIB"; then
   5759   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5760 else
   5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5762 for as_dir in $PATH
   5763 do
   5764   IFS=$as_save_IFS
   5765   test -z "$as_dir" && as_dir=.
   5766     for ac_exec_ext in '' $ac_executable_extensions; do
   5767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5768     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5770     break 2
   5771   fi
   5772 done
   5773   done
   5774 IFS=$as_save_IFS
   5775 
   5776 fi
   5777 fi
   5778 RANLIB=$ac_cv_prog_RANLIB
   5779 if test -n "$RANLIB"; then
   5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5781 $as_echo "$RANLIB" >&6; }
   5782 else
   5783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5784 $as_echo "no" >&6; }
   5785 fi
   5786 
   5787 
   5788 fi
   5789 if test -z "$ac_cv_prog_RANLIB"; then
   5790   ac_ct_RANLIB=$RANLIB
   5791   # Extract the first word of "ranlib", so it can be a program name with args.
   5792 set dummy ranlib; ac_word=$2
   5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5794 $as_echo_n "checking for $ac_word... " >&6; }
   5795 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5796   $as_echo_n "(cached) " >&6
   5797 else
   5798   if test -n "$ac_ct_RANLIB"; then
   5799   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5800 else
   5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5802 for as_dir in $PATH
   5803 do
   5804   IFS=$as_save_IFS
   5805   test -z "$as_dir" && as_dir=.
   5806     for ac_exec_ext in '' $ac_executable_extensions; do
   5807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5808     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5810     break 2
   5811   fi
   5812 done
   5813   done
   5814 IFS=$as_save_IFS
   5815 
   5816 fi
   5817 fi
   5818 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5819 if test -n "$ac_ct_RANLIB"; then
   5820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5821 $as_echo "$ac_ct_RANLIB" >&6; }
   5822 else
   5823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5824 $as_echo "no" >&6; }
   5825 fi
   5826 
   5827   if test "x$ac_ct_RANLIB" = x; then
   5828     RANLIB=":"
   5829   else
   5830     case $cross_compiling:$ac_tool_warned in
   5831 yes:)
   5832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5834 ac_tool_warned=yes ;;
   5835 esac
   5836     RANLIB=$ac_ct_RANLIB
   5837   fi
   5838 else
   5839   RANLIB="$ac_cv_prog_RANLIB"
   5840 fi
   5841 
   5842 test -z "$RANLIB" && RANLIB=:
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 # Determine commands to create old-style static archives.
   5850 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5851 old_postinstall_cmds='chmod 644 $oldlib'
   5852 old_postuninstall_cmds=
   5853 
   5854 if test -n "$RANLIB"; then
   5855   case $host_os in
   5856   openbsd*)
   5857     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5858     ;;
   5859   *)
   5860     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5861     ;;
   5862   esac
   5863   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5864 fi
   5865 
   5866 case $host_os in
   5867   darwin*)
   5868     lock_old_archive_extraction=yes ;;
   5869   *)
   5870     lock_old_archive_extraction=no ;;
   5871 esac
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 # If no C compiler was specified, use CC.
   5912 LTCC=${LTCC-"$CC"}
   5913 
   5914 # If no C compiler flags were specified, use CFLAGS.
   5915 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5916 
   5917 # Allow CC to be a program name with arguments.
   5918 compiler=$CC
   5919 
   5920 
   5921 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5923 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5924 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5925   $as_echo_n "(cached) " >&6
   5926 else
   5927 
   5928 # These are sane defaults that work on at least a few old systems.
   5929 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5930 
   5931 # Character class describing NM global symbol codes.
   5932 symcode='[BCDEGRST]'
   5933 
   5934 # Regexp to match symbols that can be accessed directly from C.
   5935 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5936 
   5937 # Define system-specific variables.
   5938 case $host_os in
   5939 aix*)
   5940   symcode='[BCDT]'
   5941   ;;
   5942 cygwin* | mingw* | pw32* | cegcc*)
   5943   symcode='[ABCDGISTW]'
   5944   ;;
   5945 hpux*)
   5946   if test "$host_cpu" = ia64; then
   5947     symcode='[ABCDEGRST]'
   5948   fi
   5949   ;;
   5950 irix* | nonstopux*)
   5951   symcode='[BCDEGRST]'
   5952   ;;
   5953 osf*)
   5954   symcode='[BCDEGQRST]'
   5955   ;;
   5956 solaris*)
   5957   symcode='[BDRT]'
   5958   ;;
   5959 sco3.2v5*)
   5960   symcode='[DT]'
   5961   ;;
   5962 sysv4.2uw2*)
   5963   symcode='[DT]'
   5964   ;;
   5965 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5966   symcode='[ABDT]'
   5967   ;;
   5968 sysv4)
   5969   symcode='[DFNSTU]'
   5970   ;;
   5971 esac
   5972 
   5973 # If we're using GNU nm, then use its standard symbol codes.
   5974 case `$NM -V 2>&1` in
   5975 *GNU* | *'with BFD'*)
   5976   symcode='[ABCDGIRSTW]' ;;
   5977 esac
   5978 
   5979 # Transform an extracted symbol line into a proper C declaration.
   5980 # Some systems (esp. on ia64) link data and code symbols differently,
   5981 # so use this general approach.
   5982 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5983 
   5984 # Transform an extracted symbol line into symbol name and symbol address
   5985 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5986 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'"
   5987 
   5988 # Handle CRLF in mingw tool chain
   5989 opt_cr=
   5990 case $build_os in
   5991 mingw*)
   5992   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5993   ;;
   5994 esac
   5995 
   5996 # Try without a prefix underscore, then with it.
   5997 for ac_symprfx in "" "_"; do
   5998 
   5999   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6000   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6001 
   6002   # Write the raw and C identifiers.
   6003   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6004     # Fake it for dumpbin and say T for any non-static function
   6005     # and D for any global variable.
   6006     # Also find C++ and __fastcall symbols from MSVC++,
   6007     # which start with @ or ?.
   6008     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6009 "     {last_section=section; section=\$ 3};"\
   6010 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6011 "     \$ 0!~/External *\|/{next};"\
   6012 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6013 "     {if(hide[section]) next};"\
   6014 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6015 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6016 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6017 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6018 "     ' prfx=^$ac_symprfx"
   6019   else
   6020     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6021   fi
   6022   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6023 
   6024   # Check to see that the pipe works correctly.
   6025   pipe_works=no
   6026 
   6027   rm -f conftest*
   6028   cat > conftest.$ac_ext <<_LT_EOF
   6029 #ifdef __cplusplus
   6030 extern "C" {
   6031 #endif
   6032 char nm_test_var;
   6033 void nm_test_func(void);
   6034 void nm_test_func(void){}
   6035 #ifdef __cplusplus
   6036 }
   6037 #endif
   6038 int main(){nm_test_var='a';nm_test_func();return(0);}
   6039 _LT_EOF
   6040 
   6041   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6042   (eval $ac_compile) 2>&5
   6043   ac_status=$?
   6044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6045   test $ac_status = 0; }; then
   6046     # Now try to grab the symbols.
   6047     nlist=conftest.nm
   6048     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6049   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6050   ac_status=$?
   6051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6052   test $ac_status = 0; } && test -s "$nlist"; then
   6053       # Try sorting and uniquifying the output.
   6054       if sort "$nlist" | uniq > "$nlist"T; then
   6055 	mv -f "$nlist"T "$nlist"
   6056       else
   6057 	rm -f "$nlist"T
   6058       fi
   6059 
   6060       # Make sure that we snagged all the symbols we need.
   6061       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6062 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6063 	  cat <<_LT_EOF > conftest.$ac_ext
   6064 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6065 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6066 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6067    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6068 # define LT_DLSYM_CONST
   6069 #elif defined(__osf__)
   6070 /* This system does not cope well with relocations in const data.  */
   6071 # define LT_DLSYM_CONST
   6072 #else
   6073 # define LT_DLSYM_CONST const
   6074 #endif
   6075 
   6076 #ifdef __cplusplus
   6077 extern "C" {
   6078 #endif
   6079 
   6080 _LT_EOF
   6081 	  # Now generate the symbol file.
   6082 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6083 
   6084 	  cat <<_LT_EOF >> conftest.$ac_ext
   6085 
   6086 /* The mapping between symbol names and symbols.  */
   6087 LT_DLSYM_CONST struct {
   6088   const char *name;
   6089   void       *address;
   6090 }
   6091 lt__PROGRAM__LTX_preloaded_symbols[] =
   6092 {
   6093   { "@PROGRAM@", (void *) 0 },
   6094 _LT_EOF
   6095 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6096 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6097   {0, (void *) 0}
   6098 };
   6099 
   6100 /* This works around a problem in FreeBSD linker */
   6101 #ifdef FREEBSD_WORKAROUND
   6102 static const void *lt_preloaded_setup() {
   6103   return lt__PROGRAM__LTX_preloaded_symbols;
   6104 }
   6105 #endif
   6106 
   6107 #ifdef __cplusplus
   6108 }
   6109 #endif
   6110 _LT_EOF
   6111 	  # Now try linking the two files.
   6112 	  mv conftest.$ac_objext conftstm.$ac_objext
   6113 	  lt_globsym_save_LIBS=$LIBS
   6114 	  lt_globsym_save_CFLAGS=$CFLAGS
   6115 	  LIBS="conftstm.$ac_objext"
   6116 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6117 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6118   (eval $ac_link) 2>&5
   6119   ac_status=$?
   6120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6121   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6122 	    pipe_works=yes
   6123 	  fi
   6124 	  LIBS=$lt_globsym_save_LIBS
   6125 	  CFLAGS=$lt_globsym_save_CFLAGS
   6126 	else
   6127 	  echo "cannot find nm_test_func in $nlist" >&5
   6128 	fi
   6129       else
   6130 	echo "cannot find nm_test_var in $nlist" >&5
   6131       fi
   6132     else
   6133       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6134     fi
   6135   else
   6136     echo "$progname: failed program was:" >&5
   6137     cat conftest.$ac_ext >&5
   6138   fi
   6139   rm -rf conftest* conftst*
   6140 
   6141   # Do not use the global_symbol_pipe unless it works.
   6142   if test "$pipe_works" = yes; then
   6143     break
   6144   else
   6145     lt_cv_sys_global_symbol_pipe=
   6146   fi
   6147 done
   6148 
   6149 fi
   6150 
   6151 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6152   lt_cv_sys_global_symbol_to_cdecl=
   6153 fi
   6154 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6156 $as_echo "failed" >&6; }
   6157 else
   6158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6159 $as_echo "ok" >&6; }
   6160 fi
   6161 
   6162 # Response file support.
   6163 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6164   nm_file_list_spec='@'
   6165 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6166   nm_file_list_spec='@'
   6167 fi
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6196 $as_echo_n "checking for sysroot... " >&6; }
   6197 
   6198 # Check whether --with-sysroot was given.
   6199 if test "${with_sysroot+set}" = set; then :
   6200   withval=$with_sysroot;
   6201 else
   6202   with_sysroot=no
   6203 fi
   6204 
   6205 
   6206 lt_sysroot=
   6207 case ${with_sysroot} in #(
   6208  yes)
   6209    if test "$GCC" = yes; then
   6210      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6211    fi
   6212    ;; #(
   6213  /*)
   6214    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6215    ;; #(
   6216  no|'')
   6217    ;; #(
   6218  *)
   6219    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6220 $as_echo "${with_sysroot}" >&6; }
   6221    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6222    ;;
   6223 esac
   6224 
   6225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6226 $as_echo "${lt_sysroot:-no}" >&6; }
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 # Check whether --enable-libtool-lock was given.
   6233 if test "${enable_libtool_lock+set}" = set; then :
   6234   enableval=$enable_libtool_lock;
   6235 fi
   6236 
   6237 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6238 
   6239 # Some flags need to be propagated to the compiler or linker for good
   6240 # libtool support.
   6241 case $host in
   6242 ia64-*-hpux*)
   6243   # Find out which ABI we are using.
   6244   echo 'int i;' > conftest.$ac_ext
   6245   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6246   (eval $ac_compile) 2>&5
   6247   ac_status=$?
   6248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6249   test $ac_status = 0; }; then
   6250     case `/usr/bin/file conftest.$ac_objext` in
   6251       *ELF-32*)
   6252 	HPUX_IA64_MODE="32"
   6253 	;;
   6254       *ELF-64*)
   6255 	HPUX_IA64_MODE="64"
   6256 	;;
   6257     esac
   6258   fi
   6259   rm -rf conftest*
   6260   ;;
   6261 *-*-irix6*)
   6262   # Find out which ABI we are using.
   6263   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6264   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6265   (eval $ac_compile) 2>&5
   6266   ac_status=$?
   6267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6268   test $ac_status = 0; }; then
   6269     if test "$lt_cv_prog_gnu_ld" = yes; then
   6270       case `/usr/bin/file conftest.$ac_objext` in
   6271 	*32-bit*)
   6272 	  LD="${LD-ld} -melf32bsmip"
   6273 	  ;;
   6274 	*N32*)
   6275 	  LD="${LD-ld} -melf32bmipn32"
   6276 	  ;;
   6277 	*64-bit*)
   6278 	  LD="${LD-ld} -melf64bmip"
   6279 	;;
   6280       esac
   6281     else
   6282       case `/usr/bin/file conftest.$ac_objext` in
   6283 	*32-bit*)
   6284 	  LD="${LD-ld} -32"
   6285 	  ;;
   6286 	*N32*)
   6287 	  LD="${LD-ld} -n32"
   6288 	  ;;
   6289 	*64-bit*)
   6290 	  LD="${LD-ld} -64"
   6291 	  ;;
   6292       esac
   6293     fi
   6294   fi
   6295   rm -rf conftest*
   6296   ;;
   6297 
   6298 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6299 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6300   # Find out which ABI we are using.
   6301   echo 'int i;' > conftest.$ac_ext
   6302   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6303   (eval $ac_compile) 2>&5
   6304   ac_status=$?
   6305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6306   test $ac_status = 0; }; then
   6307     case `/usr/bin/file conftest.o` in
   6308       *32-bit*)
   6309 	case $host in
   6310 	  x86_64-*kfreebsd*-gnu)
   6311 	    LD="${LD-ld} -m elf_i386_fbsd"
   6312 	    ;;
   6313 	  x86_64-*linux*)
   6314 	    LD="${LD-ld} -m elf_i386"
   6315 	    ;;
   6316 	  ppc64-*linux*|powerpc64-*linux*)
   6317 	    LD="${LD-ld} -m elf32ppclinux"
   6318 	    ;;
   6319 	  s390x-*linux*)
   6320 	    LD="${LD-ld} -m elf_s390"
   6321 	    ;;
   6322 	  sparc64-*linux*)
   6323 	    LD="${LD-ld} -m elf32_sparc"
   6324 	    ;;
   6325 	esac
   6326 	;;
   6327       *64-bit*)
   6328 	case $host in
   6329 	  x86_64-*kfreebsd*-gnu)
   6330 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6331 	    ;;
   6332 	  x86_64-*linux*)
   6333 	    LD="${LD-ld} -m elf_x86_64"
   6334 	    ;;
   6335 	  ppc*-*linux*|powerpc*-*linux*)
   6336 	    LD="${LD-ld} -m elf64ppc"
   6337 	    ;;
   6338 	  s390*-*linux*|s390*-*tpf*)
   6339 	    LD="${LD-ld} -m elf64_s390"
   6340 	    ;;
   6341 	  sparc*-*linux*)
   6342 	    LD="${LD-ld} -m elf64_sparc"
   6343 	    ;;
   6344 	esac
   6345 	;;
   6346     esac
   6347   fi
   6348   rm -rf conftest*
   6349   ;;
   6350 
   6351 *-*-sco3.2v5*)
   6352   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6353   SAVE_CFLAGS="$CFLAGS"
   6354   CFLAGS="$CFLAGS -belf"
   6355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6356 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6357 if ${lt_cv_cc_needs_belf+:} false; then :
   6358   $as_echo_n "(cached) " >&6
   6359 else
   6360   ac_ext=c
   6361 ac_cpp='$CPP $CPPFLAGS'
   6362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6365 
   6366      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6367 /* end confdefs.h.  */
   6368 
   6369 int
   6370 main ()
   6371 {
   6372 
   6373   ;
   6374   return 0;
   6375 }
   6376 _ACEOF
   6377 if ac_fn_c_try_link "$LINENO"; then :
   6378   lt_cv_cc_needs_belf=yes
   6379 else
   6380   lt_cv_cc_needs_belf=no
   6381 fi
   6382 rm -f core conftest.err conftest.$ac_objext \
   6383     conftest$ac_exeext conftest.$ac_ext
   6384      ac_ext=c
   6385 ac_cpp='$CPP $CPPFLAGS'
   6386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6389 
   6390 fi
   6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6392 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6393   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6394     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6395     CFLAGS="$SAVE_CFLAGS"
   6396   fi
   6397   ;;
   6398 sparc*-*solaris*)
   6399   # Find out which ABI we are using.
   6400   echo 'int i;' > conftest.$ac_ext
   6401   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6402   (eval $ac_compile) 2>&5
   6403   ac_status=$?
   6404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6405   test $ac_status = 0; }; then
   6406     case `/usr/bin/file conftest.o` in
   6407     *64-bit*)
   6408       case $lt_cv_prog_gnu_ld in
   6409       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6410       *)
   6411 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6412 	  LD="${LD-ld} -64"
   6413 	fi
   6414 	;;
   6415       esac
   6416       ;;
   6417     esac
   6418   fi
   6419   rm -rf conftest*
   6420   ;;
   6421 esac
   6422 
   6423 need_locks="$enable_libtool_lock"
   6424 
   6425 if test -n "$ac_tool_prefix"; then
   6426   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6427 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6429 $as_echo_n "checking for $ac_word... " >&6; }
   6430 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6431   $as_echo_n "(cached) " >&6
   6432 else
   6433   if test -n "$MANIFEST_TOOL"; then
   6434   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6435 else
   6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6437 for as_dir in $PATH
   6438 do
   6439   IFS=$as_save_IFS
   6440   test -z "$as_dir" && as_dir=.
   6441     for ac_exec_ext in '' $ac_executable_extensions; do
   6442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6443     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6445     break 2
   6446   fi
   6447 done
   6448   done
   6449 IFS=$as_save_IFS
   6450 
   6451 fi
   6452 fi
   6453 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6454 if test -n "$MANIFEST_TOOL"; then
   6455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6456 $as_echo "$MANIFEST_TOOL" >&6; }
   6457 else
   6458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6459 $as_echo "no" >&6; }
   6460 fi
   6461 
   6462 
   6463 fi
   6464 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6465   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6466   # Extract the first word of "mt", so it can be a program name with args.
   6467 set dummy mt; ac_word=$2
   6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6469 $as_echo_n "checking for $ac_word... " >&6; }
   6470 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6471   $as_echo_n "(cached) " >&6
   6472 else
   6473   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6474   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6475 else
   6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6477 for as_dir in $PATH
   6478 do
   6479   IFS=$as_save_IFS
   6480   test -z "$as_dir" && as_dir=.
   6481     for ac_exec_ext in '' $ac_executable_extensions; do
   6482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6483     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6485     break 2
   6486   fi
   6487 done
   6488   done
   6489 IFS=$as_save_IFS
   6490 
   6491 fi
   6492 fi
   6493 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6494 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6496 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6497 else
   6498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6499 $as_echo "no" >&6; }
   6500 fi
   6501 
   6502   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6503     MANIFEST_TOOL=":"
   6504   else
   6505     case $cross_compiling:$ac_tool_warned in
   6506 yes:)
   6507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6509 ac_tool_warned=yes ;;
   6510 esac
   6511     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6512   fi
   6513 else
   6514   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6515 fi
   6516 
   6517 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6519 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6520 if ${lt_cv_path_mainfest_tool+:} false; then :
   6521   $as_echo_n "(cached) " >&6
   6522 else
   6523   lt_cv_path_mainfest_tool=no
   6524   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6525   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6526   cat conftest.err >&5
   6527   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6528     lt_cv_path_mainfest_tool=yes
   6529   fi
   6530   rm -f conftest*
   6531 fi
   6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6533 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6534 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6535   MANIFEST_TOOL=:
   6536 fi
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543   case $host_os in
   6544     rhapsody* | darwin*)
   6545     if test -n "$ac_tool_prefix"; then
   6546   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6547 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6549 $as_echo_n "checking for $ac_word... " >&6; }
   6550 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6551   $as_echo_n "(cached) " >&6
   6552 else
   6553   if test -n "$DSYMUTIL"; then
   6554   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6555 else
   6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6557 for as_dir in $PATH
   6558 do
   6559   IFS=$as_save_IFS
   6560   test -z "$as_dir" && as_dir=.
   6561     for ac_exec_ext in '' $ac_executable_extensions; do
   6562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6563     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6565     break 2
   6566   fi
   6567 done
   6568   done
   6569 IFS=$as_save_IFS
   6570 
   6571 fi
   6572 fi
   6573 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6574 if test -n "$DSYMUTIL"; then
   6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6576 $as_echo "$DSYMUTIL" >&6; }
   6577 else
   6578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6579 $as_echo "no" >&6; }
   6580 fi
   6581 
   6582 
   6583 fi
   6584 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6585   ac_ct_DSYMUTIL=$DSYMUTIL
   6586   # Extract the first word of "dsymutil", so it can be a program name with args.
   6587 set dummy dsymutil; ac_word=$2
   6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6589 $as_echo_n "checking for $ac_word... " >&6; }
   6590 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6591   $as_echo_n "(cached) " >&6
   6592 else
   6593   if test -n "$ac_ct_DSYMUTIL"; then
   6594   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6595 else
   6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6597 for as_dir in $PATH
   6598 do
   6599   IFS=$as_save_IFS
   6600   test -z "$as_dir" && as_dir=.
   6601     for ac_exec_ext in '' $ac_executable_extensions; do
   6602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6603     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6605     break 2
   6606   fi
   6607 done
   6608   done
   6609 IFS=$as_save_IFS
   6610 
   6611 fi
   6612 fi
   6613 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6614 if test -n "$ac_ct_DSYMUTIL"; then
   6615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6616 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6617 else
   6618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6619 $as_echo "no" >&6; }
   6620 fi
   6621 
   6622   if test "x$ac_ct_DSYMUTIL" = x; then
   6623     DSYMUTIL=":"
   6624   else
   6625     case $cross_compiling:$ac_tool_warned in
   6626 yes:)
   6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6629 ac_tool_warned=yes ;;
   6630 esac
   6631     DSYMUTIL=$ac_ct_DSYMUTIL
   6632   fi
   6633 else
   6634   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6635 fi
   6636 
   6637     if test -n "$ac_tool_prefix"; then
   6638   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6639 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6641 $as_echo_n "checking for $ac_word... " >&6; }
   6642 if ${ac_cv_prog_NMEDIT+:} false; then :
   6643   $as_echo_n "(cached) " >&6
   6644 else
   6645   if test -n "$NMEDIT"; then
   6646   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6647 else
   6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6649 for as_dir in $PATH
   6650 do
   6651   IFS=$as_save_IFS
   6652   test -z "$as_dir" && as_dir=.
   6653     for ac_exec_ext in '' $ac_executable_extensions; do
   6654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6655     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6657     break 2
   6658   fi
   6659 done
   6660   done
   6661 IFS=$as_save_IFS
   6662 
   6663 fi
   6664 fi
   6665 NMEDIT=$ac_cv_prog_NMEDIT
   6666 if test -n "$NMEDIT"; then
   6667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6668 $as_echo "$NMEDIT" >&6; }
   6669 else
   6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6671 $as_echo "no" >&6; }
   6672 fi
   6673 
   6674 
   6675 fi
   6676 if test -z "$ac_cv_prog_NMEDIT"; then
   6677   ac_ct_NMEDIT=$NMEDIT
   6678   # Extract the first word of "nmedit", so it can be a program name with args.
   6679 set dummy nmedit; ac_word=$2
   6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6681 $as_echo_n "checking for $ac_word... " >&6; }
   6682 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6683   $as_echo_n "(cached) " >&6
   6684 else
   6685   if test -n "$ac_ct_NMEDIT"; then
   6686   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6687 else
   6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6689 for as_dir in $PATH
   6690 do
   6691   IFS=$as_save_IFS
   6692   test -z "$as_dir" && as_dir=.
   6693     for ac_exec_ext in '' $ac_executable_extensions; do
   6694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6695     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6697     break 2
   6698   fi
   6699 done
   6700   done
   6701 IFS=$as_save_IFS
   6702 
   6703 fi
   6704 fi
   6705 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6706 if test -n "$ac_ct_NMEDIT"; then
   6707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6708 $as_echo "$ac_ct_NMEDIT" >&6; }
   6709 else
   6710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6711 $as_echo "no" >&6; }
   6712 fi
   6713 
   6714   if test "x$ac_ct_NMEDIT" = x; then
   6715     NMEDIT=":"
   6716   else
   6717     case $cross_compiling:$ac_tool_warned in
   6718 yes:)
   6719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6721 ac_tool_warned=yes ;;
   6722 esac
   6723     NMEDIT=$ac_ct_NMEDIT
   6724   fi
   6725 else
   6726   NMEDIT="$ac_cv_prog_NMEDIT"
   6727 fi
   6728 
   6729     if test -n "$ac_tool_prefix"; then
   6730   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6731 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6733 $as_echo_n "checking for $ac_word... " >&6; }
   6734 if ${ac_cv_prog_LIPO+:} false; then :
   6735   $as_echo_n "(cached) " >&6
   6736 else
   6737   if test -n "$LIPO"; then
   6738   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6739 else
   6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6741 for as_dir in $PATH
   6742 do
   6743   IFS=$as_save_IFS
   6744   test -z "$as_dir" && as_dir=.
   6745     for ac_exec_ext in '' $ac_executable_extensions; do
   6746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6747     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6749     break 2
   6750   fi
   6751 done
   6752   done
   6753 IFS=$as_save_IFS
   6754 
   6755 fi
   6756 fi
   6757 LIPO=$ac_cv_prog_LIPO
   6758 if test -n "$LIPO"; then
   6759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6760 $as_echo "$LIPO" >&6; }
   6761 else
   6762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6763 $as_echo "no" >&6; }
   6764 fi
   6765 
   6766 
   6767 fi
   6768 if test -z "$ac_cv_prog_LIPO"; then
   6769   ac_ct_LIPO=$LIPO
   6770   # Extract the first word of "lipo", so it can be a program name with args.
   6771 set dummy lipo; ac_word=$2
   6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6773 $as_echo_n "checking for $ac_word... " >&6; }
   6774 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6775   $as_echo_n "(cached) " >&6
   6776 else
   6777   if test -n "$ac_ct_LIPO"; then
   6778   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6779 else
   6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6781 for as_dir in $PATH
   6782 do
   6783   IFS=$as_save_IFS
   6784   test -z "$as_dir" && as_dir=.
   6785     for ac_exec_ext in '' $ac_executable_extensions; do
   6786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6787     ac_cv_prog_ac_ct_LIPO="lipo"
   6788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6789     break 2
   6790   fi
   6791 done
   6792   done
   6793 IFS=$as_save_IFS
   6794 
   6795 fi
   6796 fi
   6797 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6798 if test -n "$ac_ct_LIPO"; then
   6799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6800 $as_echo "$ac_ct_LIPO" >&6; }
   6801 else
   6802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6803 $as_echo "no" >&6; }
   6804 fi
   6805 
   6806   if test "x$ac_ct_LIPO" = x; then
   6807     LIPO=":"
   6808   else
   6809     case $cross_compiling:$ac_tool_warned in
   6810 yes:)
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6813 ac_tool_warned=yes ;;
   6814 esac
   6815     LIPO=$ac_ct_LIPO
   6816   fi
   6817 else
   6818   LIPO="$ac_cv_prog_LIPO"
   6819 fi
   6820 
   6821     if test -n "$ac_tool_prefix"; then
   6822   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6823 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6825 $as_echo_n "checking for $ac_word... " >&6; }
   6826 if ${ac_cv_prog_OTOOL+:} false; then :
   6827   $as_echo_n "(cached) " >&6
   6828 else
   6829   if test -n "$OTOOL"; then
   6830   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6831 else
   6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6833 for as_dir in $PATH
   6834 do
   6835   IFS=$as_save_IFS
   6836   test -z "$as_dir" && as_dir=.
   6837     for ac_exec_ext in '' $ac_executable_extensions; do
   6838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6839     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6841     break 2
   6842   fi
   6843 done
   6844   done
   6845 IFS=$as_save_IFS
   6846 
   6847 fi
   6848 fi
   6849 OTOOL=$ac_cv_prog_OTOOL
   6850 if test -n "$OTOOL"; then
   6851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6852 $as_echo "$OTOOL" >&6; }
   6853 else
   6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6855 $as_echo "no" >&6; }
   6856 fi
   6857 
   6858 
   6859 fi
   6860 if test -z "$ac_cv_prog_OTOOL"; then
   6861   ac_ct_OTOOL=$OTOOL
   6862   # Extract the first word of "otool", so it can be a program name with args.
   6863 set dummy otool; ac_word=$2
   6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6865 $as_echo_n "checking for $ac_word... " >&6; }
   6866 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6867   $as_echo_n "(cached) " >&6
   6868 else
   6869   if test -n "$ac_ct_OTOOL"; then
   6870   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6871 else
   6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6873 for as_dir in $PATH
   6874 do
   6875   IFS=$as_save_IFS
   6876   test -z "$as_dir" && as_dir=.
   6877     for ac_exec_ext in '' $ac_executable_extensions; do
   6878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6879     ac_cv_prog_ac_ct_OTOOL="otool"
   6880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6881     break 2
   6882   fi
   6883 done
   6884   done
   6885 IFS=$as_save_IFS
   6886 
   6887 fi
   6888 fi
   6889 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6890 if test -n "$ac_ct_OTOOL"; then
   6891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6892 $as_echo "$ac_ct_OTOOL" >&6; }
   6893 else
   6894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6895 $as_echo "no" >&6; }
   6896 fi
   6897 
   6898   if test "x$ac_ct_OTOOL" = x; then
   6899     OTOOL=":"
   6900   else
   6901     case $cross_compiling:$ac_tool_warned in
   6902 yes:)
   6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6905 ac_tool_warned=yes ;;
   6906 esac
   6907     OTOOL=$ac_ct_OTOOL
   6908   fi
   6909 else
   6910   OTOOL="$ac_cv_prog_OTOOL"
   6911 fi
   6912 
   6913     if test -n "$ac_tool_prefix"; then
   6914   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6915 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6917 $as_echo_n "checking for $ac_word... " >&6; }
   6918 if ${ac_cv_prog_OTOOL64+:} false; then :
   6919   $as_echo_n "(cached) " >&6
   6920 else
   6921   if test -n "$OTOOL64"; then
   6922   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6923 else
   6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6925 for as_dir in $PATH
   6926 do
   6927   IFS=$as_save_IFS
   6928   test -z "$as_dir" && as_dir=.
   6929     for ac_exec_ext in '' $ac_executable_extensions; do
   6930   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6931     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6933     break 2
   6934   fi
   6935 done
   6936   done
   6937 IFS=$as_save_IFS
   6938 
   6939 fi
   6940 fi
   6941 OTOOL64=$ac_cv_prog_OTOOL64
   6942 if test -n "$OTOOL64"; then
   6943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6944 $as_echo "$OTOOL64" >&6; }
   6945 else
   6946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6947 $as_echo "no" >&6; }
   6948 fi
   6949 
   6950 
   6951 fi
   6952 if test -z "$ac_cv_prog_OTOOL64"; then
   6953   ac_ct_OTOOL64=$OTOOL64
   6954   # Extract the first word of "otool64", so it can be a program name with args.
   6955 set dummy otool64; ac_word=$2
   6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6957 $as_echo_n "checking for $ac_word... " >&6; }
   6958 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6959   $as_echo_n "(cached) " >&6
   6960 else
   6961   if test -n "$ac_ct_OTOOL64"; then
   6962   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6963 else
   6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6965 for as_dir in $PATH
   6966 do
   6967   IFS=$as_save_IFS
   6968   test -z "$as_dir" && as_dir=.
   6969     for ac_exec_ext in '' $ac_executable_extensions; do
   6970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6971     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6973     break 2
   6974   fi
   6975 done
   6976   done
   6977 IFS=$as_save_IFS
   6978 
   6979 fi
   6980 fi
   6981 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6982 if test -n "$ac_ct_OTOOL64"; then
   6983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6984 $as_echo "$ac_ct_OTOOL64" >&6; }
   6985 else
   6986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6987 $as_echo "no" >&6; }
   6988 fi
   6989 
   6990   if test "x$ac_ct_OTOOL64" = x; then
   6991     OTOOL64=":"
   6992   else
   6993     case $cross_compiling:$ac_tool_warned in
   6994 yes:)
   6995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6997 ac_tool_warned=yes ;;
   6998 esac
   6999     OTOOL64=$ac_ct_OTOOL64
   7000   fi
   7001 else
   7002   OTOOL64="$ac_cv_prog_OTOOL64"
   7003 fi
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7032 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7033 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7034   $as_echo_n "(cached) " >&6
   7035 else
   7036   lt_cv_apple_cc_single_mod=no
   7037       if test -z "${LT_MULTI_MODULE}"; then
   7038 	# By default we will add the -single_module flag. You can override
   7039 	# by either setting the environment variable LT_MULTI_MODULE
   7040 	# non-empty at configure time, or by adding -multi_module to the
   7041 	# link flags.
   7042 	rm -rf libconftest.dylib*
   7043 	echo "int foo(void){return 1;}" > conftest.c
   7044 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7045 -dynamiclib -Wl,-single_module conftest.c" >&5
   7046 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7047 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7048         _lt_result=$?
   7049 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7050 	  lt_cv_apple_cc_single_mod=yes
   7051 	else
   7052 	  cat conftest.err >&5
   7053 	fi
   7054 	rm -rf libconftest.dylib*
   7055 	rm -f conftest.*
   7056       fi
   7057 fi
   7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7059 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7060     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7061 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7062 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7063   $as_echo_n "(cached) " >&6
   7064 else
   7065   lt_cv_ld_exported_symbols_list=no
   7066       save_LDFLAGS=$LDFLAGS
   7067       echo "_main" > conftest.sym
   7068       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7070 /* end confdefs.h.  */
   7071 
   7072 int
   7073 main ()
   7074 {
   7075 
   7076   ;
   7077   return 0;
   7078 }
   7079 _ACEOF
   7080 if ac_fn_c_try_link "$LINENO"; then :
   7081   lt_cv_ld_exported_symbols_list=yes
   7082 else
   7083   lt_cv_ld_exported_symbols_list=no
   7084 fi
   7085 rm -f core conftest.err conftest.$ac_objext \
   7086     conftest$ac_exeext conftest.$ac_ext
   7087 	LDFLAGS="$save_LDFLAGS"
   7088 
   7089 fi
   7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7091 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7093 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7094 if ${lt_cv_ld_force_load+:} false; then :
   7095   $as_echo_n "(cached) " >&6
   7096 else
   7097   lt_cv_ld_force_load=no
   7098       cat > conftest.c << _LT_EOF
   7099 int forced_loaded() { return 2;}
   7100 _LT_EOF
   7101       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7102       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7103       echo "$AR cru libconftest.a conftest.o" >&5
   7104       $AR cru libconftest.a conftest.o 2>&5
   7105       echo "$RANLIB libconftest.a" >&5
   7106       $RANLIB libconftest.a 2>&5
   7107       cat > conftest.c << _LT_EOF
   7108 int main() { return 0;}
   7109 _LT_EOF
   7110       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7111       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7112       _lt_result=$?
   7113       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7114 	lt_cv_ld_force_load=yes
   7115       else
   7116 	cat conftest.err >&5
   7117       fi
   7118         rm -f conftest.err libconftest.a conftest conftest.c
   7119         rm -rf conftest.dSYM
   7120 
   7121 fi
   7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7123 $as_echo "$lt_cv_ld_force_load" >&6; }
   7124     case $host_os in
   7125     rhapsody* | darwin1.[012])
   7126       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7127     darwin1.*)
   7128       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7129     darwin*) # darwin 5.x on
   7130       # if running on 10.5 or later, the deployment target defaults
   7131       # to the OS version, if on x86, and 10.4, the deployment
   7132       # target defaults to 10.4. Don't you love it?
   7133       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7134 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7135 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7136 	10.[012]*)
   7137 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7138 	10.*)
   7139 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7140       esac
   7141     ;;
   7142   esac
   7143     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7144       _lt_dar_single_mod='$single_module'
   7145     fi
   7146     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7147       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7148     else
   7149       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7150     fi
   7151     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7152       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7153     else
   7154       _lt_dsymutil=
   7155     fi
   7156     ;;
   7157   esac
   7158 
   7159 ac_ext=c
   7160 ac_cpp='$CPP $CPPFLAGS'
   7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7165 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7166 # On Suns, sometimes $CPP names a directory.
   7167 if test -n "$CPP" && test -d "$CPP"; then
   7168   CPP=
   7169 fi
   7170 if test -z "$CPP"; then
   7171   if ${ac_cv_prog_CPP+:} false; then :
   7172   $as_echo_n "(cached) " >&6
   7173 else
   7174       # Double quotes because CPP needs to be expanded
   7175     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7176     do
   7177       ac_preproc_ok=false
   7178 for ac_c_preproc_warn_flag in '' yes
   7179 do
   7180   # Use a header file that comes with gcc, so configuring glibc
   7181   # with a fresh cross-compiler works.
   7182   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7183   # <limits.h> exists even on freestanding compilers.
   7184   # On the NeXT, cc -E runs the code through the compiler's parser,
   7185   # not just through cpp. "Syntax error" is here to catch this case.
   7186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7187 /* end confdefs.h.  */
   7188 #ifdef __STDC__
   7189 # include <limits.h>
   7190 #else
   7191 # include <assert.h>
   7192 #endif
   7193 		     Syntax error
   7194 _ACEOF
   7195 if ac_fn_c_try_cpp "$LINENO"; then :
   7196 
   7197 else
   7198   # Broken: fails on valid input.
   7199 continue
   7200 fi
   7201 rm -f conftest.err conftest.i conftest.$ac_ext
   7202 
   7203   # OK, works on sane cases.  Now check whether nonexistent headers
   7204   # can be detected and how.
   7205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7206 /* end confdefs.h.  */
   7207 #include <ac_nonexistent.h>
   7208 _ACEOF
   7209 if ac_fn_c_try_cpp "$LINENO"; then :
   7210   # Broken: success on invalid input.
   7211 continue
   7212 else
   7213   # Passes both tests.
   7214 ac_preproc_ok=:
   7215 break
   7216 fi
   7217 rm -f conftest.err conftest.i conftest.$ac_ext
   7218 
   7219 done
   7220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7221 rm -f conftest.i conftest.err conftest.$ac_ext
   7222 if $ac_preproc_ok; then :
   7223   break
   7224 fi
   7225 
   7226     done
   7227     ac_cv_prog_CPP=$CPP
   7228 
   7229 fi
   7230   CPP=$ac_cv_prog_CPP
   7231 else
   7232   ac_cv_prog_CPP=$CPP
   7233 fi
   7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7235 $as_echo "$CPP" >&6; }
   7236 ac_preproc_ok=false
   7237 for ac_c_preproc_warn_flag in '' yes
   7238 do
   7239   # Use a header file that comes with gcc, so configuring glibc
   7240   # with a fresh cross-compiler works.
   7241   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7242   # <limits.h> exists even on freestanding compilers.
   7243   # On the NeXT, cc -E runs the code through the compiler's parser,
   7244   # not just through cpp. "Syntax error" is here to catch this case.
   7245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7246 /* end confdefs.h.  */
   7247 #ifdef __STDC__
   7248 # include <limits.h>
   7249 #else
   7250 # include <assert.h>
   7251 #endif
   7252 		     Syntax error
   7253 _ACEOF
   7254 if ac_fn_c_try_cpp "$LINENO"; then :
   7255 
   7256 else
   7257   # Broken: fails on valid input.
   7258 continue
   7259 fi
   7260 rm -f conftest.err conftest.i conftest.$ac_ext
   7261 
   7262   # OK, works on sane cases.  Now check whether nonexistent headers
   7263   # can be detected and how.
   7264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7265 /* end confdefs.h.  */
   7266 #include <ac_nonexistent.h>
   7267 _ACEOF
   7268 if ac_fn_c_try_cpp "$LINENO"; then :
   7269   # Broken: success on invalid input.
   7270 continue
   7271 else
   7272   # Passes both tests.
   7273 ac_preproc_ok=:
   7274 break
   7275 fi
   7276 rm -f conftest.err conftest.i conftest.$ac_ext
   7277 
   7278 done
   7279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7280 rm -f conftest.i conftest.err conftest.$ac_ext
   7281 if $ac_preproc_ok; then :
   7282 
   7283 else
   7284   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7286 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7287 See \`config.log' for more details" "$LINENO" 5; }
   7288 fi
   7289 
   7290 ac_ext=c
   7291 ac_cpp='$CPP $CPPFLAGS'
   7292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7295 
   7296 
   7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7298 $as_echo_n "checking for ANSI C header files... " >&6; }
   7299 if ${ac_cv_header_stdc+:} false; then :
   7300   $as_echo_n "(cached) " >&6
   7301 else
   7302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7303 /* end confdefs.h.  */
   7304 #include <stdlib.h>
   7305 #include <stdarg.h>
   7306 #include <string.h>
   7307 #include <float.h>
   7308 
   7309 int
   7310 main ()
   7311 {
   7312 
   7313   ;
   7314   return 0;
   7315 }
   7316 _ACEOF
   7317 if ac_fn_c_try_compile "$LINENO"; then :
   7318   ac_cv_header_stdc=yes
   7319 else
   7320   ac_cv_header_stdc=no
   7321 fi
   7322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7323 
   7324 if test $ac_cv_header_stdc = yes; then
   7325   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7327 /* end confdefs.h.  */
   7328 #include <string.h>
   7329 
   7330 _ACEOF
   7331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7332   $EGREP "memchr" >/dev/null 2>&1; then :
   7333 
   7334 else
   7335   ac_cv_header_stdc=no
   7336 fi
   7337 rm -f conftest*
   7338 
   7339 fi
   7340 
   7341 if test $ac_cv_header_stdc = yes; then
   7342   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7344 /* end confdefs.h.  */
   7345 #include <stdlib.h>
   7346 
   7347 _ACEOF
   7348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7349   $EGREP "free" >/dev/null 2>&1; then :
   7350 
   7351 else
   7352   ac_cv_header_stdc=no
   7353 fi
   7354 rm -f conftest*
   7355 
   7356 fi
   7357 
   7358 if test $ac_cv_header_stdc = yes; then
   7359   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7360   if test "$cross_compiling" = yes; then :
   7361   :
   7362 else
   7363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7364 /* end confdefs.h.  */
   7365 #include <ctype.h>
   7366 #include <stdlib.h>
   7367 #if ((' ' & 0x0FF) == 0x020)
   7368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7370 #else
   7371 # define ISLOWER(c) \
   7372 		   (('a' <= (c) && (c) <= 'i') \
   7373 		     || ('j' <= (c) && (c) <= 'r') \
   7374 		     || ('s' <= (c) && (c) <= 'z'))
   7375 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7376 #endif
   7377 
   7378 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7379 int
   7380 main ()
   7381 {
   7382   int i;
   7383   for (i = 0; i < 256; i++)
   7384     if (XOR (islower (i), ISLOWER (i))
   7385 	|| toupper (i) != TOUPPER (i))
   7386       return 2;
   7387   return 0;
   7388 }
   7389 _ACEOF
   7390 if ac_fn_c_try_run "$LINENO"; then :
   7391 
   7392 else
   7393   ac_cv_header_stdc=no
   7394 fi
   7395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7396   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7397 fi
   7398 
   7399 fi
   7400 fi
   7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7402 $as_echo "$ac_cv_header_stdc" >&6; }
   7403 if test $ac_cv_header_stdc = yes; then
   7404 
   7405 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7406 
   7407 fi
   7408 
   7409 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7410 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7411 		  inttypes.h stdint.h unistd.h
   7412 do :
   7413   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7414 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7415 "
   7416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7417   cat >>confdefs.h <<_ACEOF
   7418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7419 _ACEOF
   7420 
   7421 fi
   7422 
   7423 done
   7424 
   7425 
   7426 for ac_header in dlfcn.h
   7427 do :
   7428   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7429 "
   7430 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7431   cat >>confdefs.h <<_ACEOF
   7432 #define HAVE_DLFCN_H 1
   7433 _ACEOF
   7434 
   7435 fi
   7436 
   7437 done
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 # Set options
   7444 
   7445 
   7446 
   7447         enable_dlopen=no
   7448 
   7449 
   7450   enable_win32_dll=no
   7451 
   7452 
   7453             # Check whether --enable-shared was given.
   7454 if test "${enable_shared+set}" = set; then :
   7455   enableval=$enable_shared; p=${PACKAGE-default}
   7456     case $enableval in
   7457     yes) enable_shared=yes ;;
   7458     no) enable_shared=no ;;
   7459     *)
   7460       enable_shared=no
   7461       # Look at the argument we got.  We use all the common list separators.
   7462       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7463       for pkg in $enableval; do
   7464 	IFS="$lt_save_ifs"
   7465 	if test "X$pkg" = "X$p"; then
   7466 	  enable_shared=yes
   7467 	fi
   7468       done
   7469       IFS="$lt_save_ifs"
   7470       ;;
   7471     esac
   7472 else
   7473   enable_shared=yes
   7474 fi
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484   # Check whether --enable-static was given.
   7485 if test "${enable_static+set}" = set; then :
   7486   enableval=$enable_static; p=${PACKAGE-default}
   7487     case $enableval in
   7488     yes) enable_static=yes ;;
   7489     no) enable_static=no ;;
   7490     *)
   7491      enable_static=no
   7492       # Look at the argument we got.  We use all the common list separators.
   7493       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7494       for pkg in $enableval; do
   7495 	IFS="$lt_save_ifs"
   7496 	if test "X$pkg" = "X$p"; then
   7497 	  enable_static=yes
   7498 	fi
   7499       done
   7500       IFS="$lt_save_ifs"
   7501       ;;
   7502     esac
   7503 else
   7504   enable_static=yes
   7505 fi
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 # Check whether --with-pic was given.
   7517 if test "${with_pic+set}" = set; then :
   7518   withval=$with_pic; pic_mode="$withval"
   7519 else
   7520   pic_mode=default
   7521 fi
   7522 
   7523 
   7524 test -z "$pic_mode" && pic_mode=default
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532   # Check whether --enable-fast-install was given.
   7533 if test "${enable_fast_install+set}" = set; then :
   7534   enableval=$enable_fast_install; p=${PACKAGE-default}
   7535     case $enableval in
   7536     yes) enable_fast_install=yes ;;
   7537     no) enable_fast_install=no ;;
   7538     *)
   7539       enable_fast_install=no
   7540       # Look at the argument we got.  We use all the common list separators.
   7541       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7542       for pkg in $enableval; do
   7543 	IFS="$lt_save_ifs"
   7544 	if test "X$pkg" = "X$p"; then
   7545 	  enable_fast_install=yes
   7546 	fi
   7547       done
   7548       IFS="$lt_save_ifs"
   7549       ;;
   7550     esac
   7551 else
   7552   enable_fast_install=yes
   7553 fi
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 # This can be used to rebuild libtool when needed
   7566 LIBTOOL_DEPS="$ltmain"
   7567 
   7568 # Always use our own libtool.
   7569 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 test -z "$LN_S" && LN_S="ln -s"
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 if test -n "${ZSH_VERSION+set}" ; then
   7612    setopt NO_GLOB_SUBST
   7613 fi
   7614 
   7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7616 $as_echo_n "checking for objdir... " >&6; }
   7617 if ${lt_cv_objdir+:} false; then :
   7618   $as_echo_n "(cached) " >&6
   7619 else
   7620   rm -f .libs 2>/dev/null
   7621 mkdir .libs 2>/dev/null
   7622 if test -d .libs; then
   7623   lt_cv_objdir=.libs
   7624 else
   7625   # MS-DOS does not allow filenames that begin with a dot.
   7626   lt_cv_objdir=_libs
   7627 fi
   7628 rmdir .libs 2>/dev/null
   7629 fi
   7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7631 $as_echo "$lt_cv_objdir" >&6; }
   7632 objdir=$lt_cv_objdir
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 cat >>confdefs.h <<_ACEOF
   7639 #define LT_OBJDIR "$lt_cv_objdir/"
   7640 _ACEOF
   7641 
   7642 
   7643 
   7644 
   7645 case $host_os in
   7646 aix3*)
   7647   # AIX sometimes has problems with the GCC collect2 program.  For some
   7648   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7649   # vanish in a puff of smoke.
   7650   if test "X${COLLECT_NAMES+set}" != Xset; then
   7651     COLLECT_NAMES=
   7652     export COLLECT_NAMES
   7653   fi
   7654   ;;
   7655 esac
   7656 
   7657 # Global variables:
   7658 ofile=libtool
   7659 can_build_shared=yes
   7660 
   7661 # All known linkers require a `.a' archive for static linking (except MSVC,
   7662 # which needs '.lib').
   7663 libext=a
   7664 
   7665 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7666 
   7667 old_CC="$CC"
   7668 old_CFLAGS="$CFLAGS"
   7669 
   7670 # Set sane defaults for various variables
   7671 test -z "$CC" && CC=cc
   7672 test -z "$LTCC" && LTCC=$CC
   7673 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7674 test -z "$LD" && LD=ld
   7675 test -z "$ac_objext" && ac_objext=o
   7676 
   7677 for cc_temp in $compiler""; do
   7678   case $cc_temp in
   7679     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7680     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7681     \-*) ;;
   7682     *) break;;
   7683   esac
   7684 done
   7685 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7686 
   7687 
   7688 # Only perform the check for file, if the check method requires it
   7689 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7690 case $deplibs_check_method in
   7691 file_magic*)
   7692   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7694 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7695 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7696   $as_echo_n "(cached) " >&6
   7697 else
   7698   case $MAGIC_CMD in
   7699 [\\/*] |  ?:[\\/]*)
   7700   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7701   ;;
   7702 *)
   7703   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7704   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7705   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7706   for ac_dir in $ac_dummy; do
   7707     IFS="$lt_save_ifs"
   7708     test -z "$ac_dir" && ac_dir=.
   7709     if test -f $ac_dir/${ac_tool_prefix}file; then
   7710       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7711       if test -n "$file_magic_test_file"; then
   7712 	case $deplibs_check_method in
   7713 	"file_magic "*)
   7714 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7715 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7716 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7717 	    $EGREP "$file_magic_regex" > /dev/null; then
   7718 	    :
   7719 	  else
   7720 	    cat <<_LT_EOF 1>&2
   7721 
   7722 *** Warning: the command libtool uses to detect shared libraries,
   7723 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7724 *** The result is that libtool may fail to recognize shared libraries
   7725 *** as such.  This will affect the creation of libtool libraries that
   7726 *** depend on shared libraries, but programs linked with such libtool
   7727 *** libraries will work regardless of this problem.  Nevertheless, you
   7728 *** may want to report the problem to your system manager and/or to
   7729 *** bug-libtool@gnu.org
   7730 
   7731 _LT_EOF
   7732 	  fi ;;
   7733 	esac
   7734       fi
   7735       break
   7736     fi
   7737   done
   7738   IFS="$lt_save_ifs"
   7739   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7740   ;;
   7741 esac
   7742 fi
   7743 
   7744 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7745 if test -n "$MAGIC_CMD"; then
   7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7747 $as_echo "$MAGIC_CMD" >&6; }
   7748 else
   7749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7750 $as_echo "no" >&6; }
   7751 fi
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7758   if test -n "$ac_tool_prefix"; then
   7759     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7760 $as_echo_n "checking for file... " >&6; }
   7761 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7762   $as_echo_n "(cached) " >&6
   7763 else
   7764   case $MAGIC_CMD in
   7765 [\\/*] |  ?:[\\/]*)
   7766   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7767   ;;
   7768 *)
   7769   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7770   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7771   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7772   for ac_dir in $ac_dummy; do
   7773     IFS="$lt_save_ifs"
   7774     test -z "$ac_dir" && ac_dir=.
   7775     if test -f $ac_dir/file; then
   7776       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7777       if test -n "$file_magic_test_file"; then
   7778 	case $deplibs_check_method in
   7779 	"file_magic "*)
   7780 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7781 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7782 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7783 	    $EGREP "$file_magic_regex" > /dev/null; then
   7784 	    :
   7785 	  else
   7786 	    cat <<_LT_EOF 1>&2
   7787 
   7788 *** Warning: the command libtool uses to detect shared libraries,
   7789 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7790 *** The result is that libtool may fail to recognize shared libraries
   7791 *** as such.  This will affect the creation of libtool libraries that
   7792 *** depend on shared libraries, but programs linked with such libtool
   7793 *** libraries will work regardless of this problem.  Nevertheless, you
   7794 *** may want to report the problem to your system manager and/or to
   7795 *** bug-libtool@gnu.org
   7796 
   7797 _LT_EOF
   7798 	  fi ;;
   7799 	esac
   7800       fi
   7801       break
   7802     fi
   7803   done
   7804   IFS="$lt_save_ifs"
   7805   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7806   ;;
   7807 esac
   7808 fi
   7809 
   7810 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7811 if test -n "$MAGIC_CMD"; then
   7812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7813 $as_echo "$MAGIC_CMD" >&6; }
   7814 else
   7815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7816 $as_echo "no" >&6; }
   7817 fi
   7818 
   7819 
   7820   else
   7821     MAGIC_CMD=:
   7822   fi
   7823 fi
   7824 
   7825   fi
   7826   ;;
   7827 esac
   7828 
   7829 # Use C for the default configuration in the libtool script
   7830 
   7831 lt_save_CC="$CC"
   7832 ac_ext=c
   7833 ac_cpp='$CPP $CPPFLAGS'
   7834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7837 
   7838 
   7839 # Source file extension for C test sources.
   7840 ac_ext=c
   7841 
   7842 # Object file extension for compiled C test sources.
   7843 objext=o
   7844 objext=$objext
   7845 
   7846 # Code to be used in simple compile tests
   7847 lt_simple_compile_test_code="int some_variable = 0;"
   7848 
   7849 # Code to be used in simple link tests
   7850 lt_simple_link_test_code='int main(){return(0);}'
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 # If no C compiler was specified, use CC.
   7859 LTCC=${LTCC-"$CC"}
   7860 
   7861 # If no C compiler flags were specified, use CFLAGS.
   7862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7863 
   7864 # Allow CC to be a program name with arguments.
   7865 compiler=$CC
   7866 
   7867 # Save the default compiler, since it gets overwritten when the other
   7868 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7869 compiler_DEFAULT=$CC
   7870 
   7871 # save warnings/boilerplate of simple test code
   7872 ac_outfile=conftest.$ac_objext
   7873 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7874 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7875 _lt_compiler_boilerplate=`cat conftest.err`
   7876 $RM conftest*
   7877 
   7878 ac_outfile=conftest.$ac_objext
   7879 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7880 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7881 _lt_linker_boilerplate=`cat conftest.err`
   7882 $RM -r conftest*
   7883 
   7884 
   7885 ## CAVEAT EMPTOR:
   7886 ## There is no encapsulation within the following macros, do not change
   7887 ## the running order or otherwise move them around unless you know exactly
   7888 ## what you are doing...
   7889 if test -n "$compiler"; then
   7890 
   7891 lt_prog_compiler_no_builtin_flag=
   7892 
   7893 if test "$GCC" = yes; then
   7894   case $cc_basename in
   7895   nvcc*)
   7896     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7897   *)
   7898     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7899   esac
   7900 
   7901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7902 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7903 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7904   $as_echo_n "(cached) " >&6
   7905 else
   7906   lt_cv_prog_compiler_rtti_exceptions=no
   7907    ac_outfile=conftest.$ac_objext
   7908    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7909    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7910    # Insert the option either (1) after the last *FLAGS variable, or
   7911    # (2) before a word containing "conftest.", or (3) at the end.
   7912    # Note that $ac_compile itself does not contain backslashes and begins
   7913    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7914    # The option is referenced via a variable to avoid confusing sed.
   7915    lt_compile=`echo "$ac_compile" | $SED \
   7916    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7917    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7918    -e 's:$: $lt_compiler_flag:'`
   7919    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7920    (eval "$lt_compile" 2>conftest.err)
   7921    ac_status=$?
   7922    cat conftest.err >&5
   7923    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7924    if (exit $ac_status) && test -s "$ac_outfile"; then
   7925      # The compiler can only warn and ignore the option if not recognized
   7926      # So say no if there are warnings other than the usual output.
   7927      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7928      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7929      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7930        lt_cv_prog_compiler_rtti_exceptions=yes
   7931      fi
   7932    fi
   7933    $RM conftest*
   7934 
   7935 fi
   7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7937 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7938 
   7939 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7940     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7941 else
   7942     :
   7943 fi
   7944 
   7945 fi
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952   lt_prog_compiler_wl=
   7953 lt_prog_compiler_pic=
   7954 lt_prog_compiler_static=
   7955 
   7956 
   7957   if test "$GCC" = yes; then
   7958     lt_prog_compiler_wl='-Wl,'
   7959     lt_prog_compiler_static='-static'
   7960 
   7961     case $host_os in
   7962       aix*)
   7963       # All AIX code is PIC.
   7964       if test "$host_cpu" = ia64; then
   7965 	# AIX 5 now supports IA64 processor
   7966 	lt_prog_compiler_static='-Bstatic'
   7967       fi
   7968       ;;
   7969 
   7970     amigaos*)
   7971       case $host_cpu in
   7972       powerpc)
   7973             # see comment about AmigaOS4 .so support
   7974             lt_prog_compiler_pic='-fPIC'
   7975         ;;
   7976       m68k)
   7977             # FIXME: we need at least 68020 code to build shared libraries, but
   7978             # adding the `-m68020' flag to GCC prevents building anything better,
   7979             # like `-m68040'.
   7980             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7981         ;;
   7982       esac
   7983       ;;
   7984 
   7985     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7986       # PIC is the default for these OSes.
   7987       ;;
   7988 
   7989     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7990       # This hack is so that the source file can tell whether it is being
   7991       # built for inclusion in a dll (and should export symbols for example).
   7992       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7993       # (--disable-auto-import) libraries
   7994       lt_prog_compiler_pic='-DDLL_EXPORT'
   7995       ;;
   7996 
   7997     darwin* | rhapsody*)
   7998       # PIC is the default on this platform
   7999       # Common symbols not allowed in MH_DYLIB files
   8000       lt_prog_compiler_pic='-fno-common'
   8001       ;;
   8002 
   8003     haiku*)
   8004       # PIC is the default for Haiku.
   8005       # The "-static" flag exists, but is broken.
   8006       lt_prog_compiler_static=
   8007       ;;
   8008 
   8009     hpux*)
   8010       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8011       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8012       # sets the default TLS model and affects inlining.
   8013       case $host_cpu in
   8014       hppa*64*)
   8015 	# +Z the default
   8016 	;;
   8017       *)
   8018 	lt_prog_compiler_pic='-fPIC'
   8019 	;;
   8020       esac
   8021       ;;
   8022 
   8023     interix[3-9]*)
   8024       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8025       # Instead, we relocate shared libraries at runtime.
   8026       ;;
   8027 
   8028     msdosdjgpp*)
   8029       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8030       # on systems that don't support them.
   8031       lt_prog_compiler_can_build_shared=no
   8032       enable_shared=no
   8033       ;;
   8034 
   8035     *nto* | *qnx*)
   8036       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8037       # it will coredump.
   8038       lt_prog_compiler_pic='-fPIC -shared'
   8039       ;;
   8040 
   8041     sysv4*MP*)
   8042       if test -d /usr/nec; then
   8043 	lt_prog_compiler_pic=-Kconform_pic
   8044       fi
   8045       ;;
   8046 
   8047     *)
   8048       lt_prog_compiler_pic='-fPIC'
   8049       ;;
   8050     esac
   8051 
   8052     case $cc_basename in
   8053     nvcc*) # Cuda Compiler Driver 2.2
   8054       lt_prog_compiler_wl='-Xlinker '
   8055       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8056       ;;
   8057     esac
   8058   else
   8059     # PORTME Check for flag to pass linker flags through the system compiler.
   8060     case $host_os in
   8061     aix*)
   8062       lt_prog_compiler_wl='-Wl,'
   8063       if test "$host_cpu" = ia64; then
   8064 	# AIX 5 now supports IA64 processor
   8065 	lt_prog_compiler_static='-Bstatic'
   8066       else
   8067 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8068       fi
   8069       ;;
   8070 
   8071     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8072       # This hack is so that the source file can tell whether it is being
   8073       # built for inclusion in a dll (and should export symbols for example).
   8074       lt_prog_compiler_pic='-DDLL_EXPORT'
   8075       ;;
   8076 
   8077     hpux9* | hpux10* | hpux11*)
   8078       lt_prog_compiler_wl='-Wl,'
   8079       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8080       # not for PA HP-UX.
   8081       case $host_cpu in
   8082       hppa*64*|ia64*)
   8083 	# +Z the default
   8084 	;;
   8085       *)
   8086 	lt_prog_compiler_pic='+Z'
   8087 	;;
   8088       esac
   8089       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8090       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8091       ;;
   8092 
   8093     irix5* | irix6* | nonstopux*)
   8094       lt_prog_compiler_wl='-Wl,'
   8095       # PIC (with -KPIC) is the default.
   8096       lt_prog_compiler_static='-non_shared'
   8097       ;;
   8098 
   8099     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8100       case $cc_basename in
   8101       # old Intel for x86_64 which still supported -KPIC.
   8102       ecc*)
   8103 	lt_prog_compiler_wl='-Wl,'
   8104 	lt_prog_compiler_pic='-KPIC'
   8105 	lt_prog_compiler_static='-static'
   8106         ;;
   8107       # icc used to be incompatible with GCC.
   8108       # ICC 10 doesn't accept -KPIC any more.
   8109       icc* | ifort*)
   8110 	lt_prog_compiler_wl='-Wl,'
   8111 	lt_prog_compiler_pic='-fPIC'
   8112 	lt_prog_compiler_static='-static'
   8113         ;;
   8114       # Lahey Fortran 8.1.
   8115       lf95*)
   8116 	lt_prog_compiler_wl='-Wl,'
   8117 	lt_prog_compiler_pic='--shared'
   8118 	lt_prog_compiler_static='--static'
   8119 	;;
   8120       nagfor*)
   8121 	# NAG Fortran compiler
   8122 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8123 	lt_prog_compiler_pic='-PIC'
   8124 	lt_prog_compiler_static='-Bstatic'
   8125 	;;
   8126       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8127         # Portland Group compilers (*not* the Pentium gcc compiler,
   8128 	# which looks to be a dead project)
   8129 	lt_prog_compiler_wl='-Wl,'
   8130 	lt_prog_compiler_pic='-fpic'
   8131 	lt_prog_compiler_static='-Bstatic'
   8132         ;;
   8133       ccc*)
   8134         lt_prog_compiler_wl='-Wl,'
   8135         # All Alpha code is PIC.
   8136         lt_prog_compiler_static='-non_shared'
   8137         ;;
   8138       xl* | bgxl* | bgf* | mpixl*)
   8139 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8140 	lt_prog_compiler_wl='-Wl,'
   8141 	lt_prog_compiler_pic='-qpic'
   8142 	lt_prog_compiler_static='-qstaticlink'
   8143 	;;
   8144       *)
   8145 	case `$CC -V 2>&1 | sed 5q` in
   8146 	*Sun\ F* | *Sun*Fortran*)
   8147 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8148 	  lt_prog_compiler_pic='-KPIC'
   8149 	  lt_prog_compiler_static='-Bstatic'
   8150 	  lt_prog_compiler_wl=''
   8151 	  ;;
   8152 	*Sun\ C*)
   8153 	  # Sun C 5.9
   8154 	  lt_prog_compiler_pic='-KPIC'
   8155 	  lt_prog_compiler_static='-Bstatic'
   8156 	  lt_prog_compiler_wl='-Wl,'
   8157 	  ;;
   8158 	esac
   8159 	;;
   8160       esac
   8161       ;;
   8162 
   8163     newsos6)
   8164       lt_prog_compiler_pic='-KPIC'
   8165       lt_prog_compiler_static='-Bstatic'
   8166       ;;
   8167 
   8168     *nto* | *qnx*)
   8169       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8170       # it will coredump.
   8171       lt_prog_compiler_pic='-fPIC -shared'
   8172       ;;
   8173 
   8174     osf3* | osf4* | osf5*)
   8175       lt_prog_compiler_wl='-Wl,'
   8176       # All OSF/1 code is PIC.
   8177       lt_prog_compiler_static='-non_shared'
   8178       ;;
   8179 
   8180     rdos*)
   8181       lt_prog_compiler_static='-non_shared'
   8182       ;;
   8183 
   8184     solaris*)
   8185       lt_prog_compiler_pic='-KPIC'
   8186       lt_prog_compiler_static='-Bstatic'
   8187       case $cc_basename in
   8188       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8189 	lt_prog_compiler_wl='-Qoption ld ';;
   8190       *)
   8191 	lt_prog_compiler_wl='-Wl,';;
   8192       esac
   8193       ;;
   8194 
   8195     sunos4*)
   8196       lt_prog_compiler_wl='-Qoption ld '
   8197       lt_prog_compiler_pic='-PIC'
   8198       lt_prog_compiler_static='-Bstatic'
   8199       ;;
   8200 
   8201     sysv4 | sysv4.2uw2* | sysv4.3*)
   8202       lt_prog_compiler_wl='-Wl,'
   8203       lt_prog_compiler_pic='-KPIC'
   8204       lt_prog_compiler_static='-Bstatic'
   8205       ;;
   8206 
   8207     sysv4*MP*)
   8208       if test -d /usr/nec ;then
   8209 	lt_prog_compiler_pic='-Kconform_pic'
   8210 	lt_prog_compiler_static='-Bstatic'
   8211       fi
   8212       ;;
   8213 
   8214     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8215       lt_prog_compiler_wl='-Wl,'
   8216       lt_prog_compiler_pic='-KPIC'
   8217       lt_prog_compiler_static='-Bstatic'
   8218       ;;
   8219 
   8220     unicos*)
   8221       lt_prog_compiler_wl='-Wl,'
   8222       lt_prog_compiler_can_build_shared=no
   8223       ;;
   8224 
   8225     uts4*)
   8226       lt_prog_compiler_pic='-pic'
   8227       lt_prog_compiler_static='-Bstatic'
   8228       ;;
   8229 
   8230     *)
   8231       lt_prog_compiler_can_build_shared=no
   8232       ;;
   8233     esac
   8234   fi
   8235 
   8236 case $host_os in
   8237   # For platforms which do not support PIC, -DPIC is meaningless:
   8238   *djgpp*)
   8239     lt_prog_compiler_pic=
   8240     ;;
   8241   *)
   8242     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8243     ;;
   8244 esac
   8245 
   8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8247 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8248 if ${lt_cv_prog_compiler_pic+:} false; then :
   8249   $as_echo_n "(cached) " >&6
   8250 else
   8251   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8252 fi
   8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8254 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8255 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8256 
   8257 #
   8258 # Check to make sure the PIC flag actually works.
   8259 #
   8260 if test -n "$lt_prog_compiler_pic"; then
   8261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8262 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8263 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8264   $as_echo_n "(cached) " >&6
   8265 else
   8266   lt_cv_prog_compiler_pic_works=no
   8267    ac_outfile=conftest.$ac_objext
   8268    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8269    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8270    # Insert the option either (1) after the last *FLAGS variable, or
   8271    # (2) before a word containing "conftest.", or (3) at the end.
   8272    # Note that $ac_compile itself does not contain backslashes and begins
   8273    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8274    # The option is referenced via a variable to avoid confusing sed.
   8275    lt_compile=`echo "$ac_compile" | $SED \
   8276    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8277    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8278    -e 's:$: $lt_compiler_flag:'`
   8279    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8280    (eval "$lt_compile" 2>conftest.err)
   8281    ac_status=$?
   8282    cat conftest.err >&5
   8283    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8284    if (exit $ac_status) && test -s "$ac_outfile"; then
   8285      # The compiler can only warn and ignore the option if not recognized
   8286      # So say no if there are warnings other than the usual output.
   8287      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8288      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8289      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8290        lt_cv_prog_compiler_pic_works=yes
   8291      fi
   8292    fi
   8293    $RM conftest*
   8294 
   8295 fi
   8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8297 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8298 
   8299 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8300     case $lt_prog_compiler_pic in
   8301      "" | " "*) ;;
   8302      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8303      esac
   8304 else
   8305     lt_prog_compiler_pic=
   8306      lt_prog_compiler_can_build_shared=no
   8307 fi
   8308 
   8309 fi
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 #
   8322 # Check to make sure the static flag actually works.
   8323 #
   8324 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8326 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8327 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8328   $as_echo_n "(cached) " >&6
   8329 else
   8330   lt_cv_prog_compiler_static_works=no
   8331    save_LDFLAGS="$LDFLAGS"
   8332    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8333    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8334    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8335      # The linker can only warn and ignore the option if not recognized
   8336      # So say no if there are warnings
   8337      if test -s conftest.err; then
   8338        # Append any errors to the config.log.
   8339        cat conftest.err 1>&5
   8340        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8341        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8342        if diff conftest.exp conftest.er2 >/dev/null; then
   8343          lt_cv_prog_compiler_static_works=yes
   8344        fi
   8345      else
   8346        lt_cv_prog_compiler_static_works=yes
   8347      fi
   8348    fi
   8349    $RM -r conftest*
   8350    LDFLAGS="$save_LDFLAGS"
   8351 
   8352 fi
   8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8354 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8355 
   8356 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8357     :
   8358 else
   8359     lt_prog_compiler_static=
   8360 fi
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8369 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8370 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8371   $as_echo_n "(cached) " >&6
   8372 else
   8373   lt_cv_prog_compiler_c_o=no
   8374    $RM -r conftest 2>/dev/null
   8375    mkdir conftest
   8376    cd conftest
   8377    mkdir out
   8378    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8379 
   8380    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8381    # Insert the option either (1) after the last *FLAGS variable, or
   8382    # (2) before a word containing "conftest.", or (3) at the end.
   8383    # Note that $ac_compile itself does not contain backslashes and begins
   8384    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8385    lt_compile=`echo "$ac_compile" | $SED \
   8386    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8387    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8388    -e 's:$: $lt_compiler_flag:'`
   8389    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8390    (eval "$lt_compile" 2>out/conftest.err)
   8391    ac_status=$?
   8392    cat out/conftest.err >&5
   8393    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8394    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8395    then
   8396      # The compiler can only warn and ignore the option if not recognized
   8397      # So say no if there are warnings
   8398      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8399      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8400      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8401        lt_cv_prog_compiler_c_o=yes
   8402      fi
   8403    fi
   8404    chmod u+w . 2>&5
   8405    $RM conftest*
   8406    # SGI C++ compiler will create directory out/ii_files/ for
   8407    # template instantiation
   8408    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8409    $RM out/* && rmdir out
   8410    cd ..
   8411    $RM -r conftest
   8412    $RM conftest*
   8413 
   8414 fi
   8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8416 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8424 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8425 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8426   $as_echo_n "(cached) " >&6
   8427 else
   8428   lt_cv_prog_compiler_c_o=no
   8429    $RM -r conftest 2>/dev/null
   8430    mkdir conftest
   8431    cd conftest
   8432    mkdir out
   8433    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8434 
   8435    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8436    # Insert the option either (1) after the last *FLAGS variable, or
   8437    # (2) before a word containing "conftest.", or (3) at the end.
   8438    # Note that $ac_compile itself does not contain backslashes and begins
   8439    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8440    lt_compile=`echo "$ac_compile" | $SED \
   8441    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8442    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8443    -e 's:$: $lt_compiler_flag:'`
   8444    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8445    (eval "$lt_compile" 2>out/conftest.err)
   8446    ac_status=$?
   8447    cat out/conftest.err >&5
   8448    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8449    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8450    then
   8451      # The compiler can only warn and ignore the option if not recognized
   8452      # So say no if there are warnings
   8453      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8454      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8455      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8456        lt_cv_prog_compiler_c_o=yes
   8457      fi
   8458    fi
   8459    chmod u+w . 2>&5
   8460    $RM conftest*
   8461    # SGI C++ compiler will create directory out/ii_files/ for
   8462    # template instantiation
   8463    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8464    $RM out/* && rmdir out
   8465    cd ..
   8466    $RM -r conftest
   8467    $RM conftest*
   8468 
   8469 fi
   8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8471 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8472 
   8473 
   8474 
   8475 
   8476 hard_links="nottested"
   8477 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8478   # do not overwrite the value of need_locks provided by the user
   8479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8480 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8481   hard_links=yes
   8482   $RM conftest*
   8483   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8484   touch conftest.a
   8485   ln conftest.a conftest.b 2>&5 || hard_links=no
   8486   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8488 $as_echo "$hard_links" >&6; }
   8489   if test "$hard_links" = no; then
   8490     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8491 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8492     need_locks=warn
   8493   fi
   8494 else
   8495   need_locks=no
   8496 fi
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8504 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8505 
   8506   runpath_var=
   8507   allow_undefined_flag=
   8508   always_export_symbols=no
   8509   archive_cmds=
   8510   archive_expsym_cmds=
   8511   compiler_needs_object=no
   8512   enable_shared_with_static_runtimes=no
   8513   export_dynamic_flag_spec=
   8514   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8515   hardcode_automatic=no
   8516   hardcode_direct=no
   8517   hardcode_direct_absolute=no
   8518   hardcode_libdir_flag_spec=
   8519   hardcode_libdir_flag_spec_ld=
   8520   hardcode_libdir_separator=
   8521   hardcode_minus_L=no
   8522   hardcode_shlibpath_var=unsupported
   8523   inherit_rpath=no
   8524   link_all_deplibs=unknown
   8525   module_cmds=
   8526   module_expsym_cmds=
   8527   old_archive_from_new_cmds=
   8528   old_archive_from_expsyms_cmds=
   8529   thread_safe_flag_spec=
   8530   whole_archive_flag_spec=
   8531   # include_expsyms should be a list of space-separated symbols to be *always*
   8532   # included in the symbol list
   8533   include_expsyms=
   8534   # exclude_expsyms can be an extended regexp of symbols to exclude
   8535   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8536   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8537   # as well as any symbol that contains `d'.
   8538   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8539   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8540   # platforms (ab)use it in PIC code, but their linkers get confused if
   8541   # the symbol is explicitly referenced.  Since portable code cannot
   8542   # rely on this symbol name, it's probably fine to never include it in
   8543   # preloaded symbol tables.
   8544   # Exclude shared library initialization/finalization symbols.
   8545   extract_expsyms_cmds=
   8546 
   8547   case $host_os in
   8548   cygwin* | mingw* | pw32* | cegcc*)
   8549     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8550     # When not using gcc, we currently assume that we are using
   8551     # Microsoft Visual C++.
   8552     if test "$GCC" != yes; then
   8553       with_gnu_ld=no
   8554     fi
   8555     ;;
   8556   interix*)
   8557     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8558     with_gnu_ld=yes
   8559     ;;
   8560   openbsd*)
   8561     with_gnu_ld=no
   8562     ;;
   8563   esac
   8564 
   8565   ld_shlibs=yes
   8566 
   8567   # On some targets, GNU ld is compatible enough with the native linker
   8568   # that we're better off using the native interface for both.
   8569   lt_use_gnu_ld_interface=no
   8570   if test "$with_gnu_ld" = yes; then
   8571     case $host_os in
   8572       aix*)
   8573 	# The AIX port of GNU ld has always aspired to compatibility
   8574 	# with the native linker.  However, as the warning in the GNU ld
   8575 	# block says, versions before 2.19.5* couldn't really create working
   8576 	# shared libraries, regardless of the interface used.
   8577 	case `$LD -v 2>&1` in
   8578 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8579 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8580 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8581 	  *)
   8582 	    lt_use_gnu_ld_interface=yes
   8583 	    ;;
   8584 	esac
   8585 	;;
   8586       *)
   8587 	lt_use_gnu_ld_interface=yes
   8588 	;;
   8589     esac
   8590   fi
   8591 
   8592   if test "$lt_use_gnu_ld_interface" = yes; then
   8593     # If archive_cmds runs LD, not CC, wlarc should be empty
   8594     wlarc='${wl}'
   8595 
   8596     # Set some defaults for GNU ld with shared library support. These
   8597     # are reset later if shared libraries are not supported. Putting them
   8598     # here allows them to be overridden if necessary.
   8599     runpath_var=LD_RUN_PATH
   8600     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8601     export_dynamic_flag_spec='${wl}--export-dynamic'
   8602     # ancient GNU ld didn't support --whole-archive et. al.
   8603     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8604       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8605     else
   8606       whole_archive_flag_spec=
   8607     fi
   8608     supports_anon_versioning=no
   8609     case `$LD -v 2>&1` in
   8610       *GNU\ gold*) supports_anon_versioning=yes ;;
   8611       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8612       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8613       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8614       *\ 2.11.*) ;; # other 2.11 versions
   8615       *) supports_anon_versioning=yes ;;
   8616     esac
   8617 
   8618     # See if GNU ld supports shared libraries.
   8619     case $host_os in
   8620     aix[3-9]*)
   8621       # On AIX/PPC, the GNU linker is very broken
   8622       if test "$host_cpu" != ia64; then
   8623 	ld_shlibs=no
   8624 	cat <<_LT_EOF 1>&2
   8625 
   8626 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8627 *** to be unable to reliably create shared libraries on AIX.
   8628 *** Therefore, libtool is disabling shared libraries support.  If you
   8629 *** really care for shared libraries, you may want to install binutils
   8630 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8631 *** You will then need to restart the configuration process.
   8632 
   8633 _LT_EOF
   8634       fi
   8635       ;;
   8636 
   8637     amigaos*)
   8638       case $host_cpu in
   8639       powerpc)
   8640             # see comment about AmigaOS4 .so support
   8641             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8642             archive_expsym_cmds=''
   8643         ;;
   8644       m68k)
   8645             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)'
   8646             hardcode_libdir_flag_spec='-L$libdir'
   8647             hardcode_minus_L=yes
   8648         ;;
   8649       esac
   8650       ;;
   8651 
   8652     beos*)
   8653       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8654 	allow_undefined_flag=unsupported
   8655 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8656 	# support --undefined.  This deserves some investigation.  FIXME
   8657 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8658       else
   8659 	ld_shlibs=no
   8660       fi
   8661       ;;
   8662 
   8663     cygwin* | mingw* | pw32* | cegcc*)
   8664       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8665       # as there is no search path for DLLs.
   8666       hardcode_libdir_flag_spec='-L$libdir'
   8667       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8668       allow_undefined_flag=unsupported
   8669       always_export_symbols=no
   8670       enable_shared_with_static_runtimes=yes
   8671       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   8672       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8673 
   8674       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8675         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8676 	# If the export-symbols file already is a .def file (1st line
   8677 	# is EXPORTS), use it as is; otherwise, prepend...
   8678 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8679 	  cp $export_symbols $output_objdir/$soname.def;
   8680 	else
   8681 	  echo EXPORTS > $output_objdir/$soname.def;
   8682 	  cat $export_symbols >> $output_objdir/$soname.def;
   8683 	fi~
   8684 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8685       else
   8686 	ld_shlibs=no
   8687       fi
   8688       ;;
   8689 
   8690     haiku*)
   8691       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8692       link_all_deplibs=yes
   8693       ;;
   8694 
   8695     interix[3-9]*)
   8696       hardcode_direct=no
   8697       hardcode_shlibpath_var=no
   8698       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8699       export_dynamic_flag_spec='${wl}-E'
   8700       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8701       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8702       # default) and relocated if they conflict, which is a slow very memory
   8703       # consuming and fragmenting process.  To avoid this, we pick a random,
   8704       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8705       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8706       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8707       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'
   8708       ;;
   8709 
   8710     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8711       tmp_diet=no
   8712       if test "$host_os" = linux-dietlibc; then
   8713 	case $cc_basename in
   8714 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8715 	esac
   8716       fi
   8717       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8718 	 && test "$tmp_diet" = no
   8719       then
   8720 	tmp_addflag=' $pic_flag'
   8721 	tmp_sharedflag='-shared'
   8722 	case $cc_basename,$host_cpu in
   8723         pgcc*)				# Portland Group C compiler
   8724 	  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'
   8725 	  tmp_addflag=' $pic_flag'
   8726 	  ;;
   8727 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8728 					# Portland Group f77 and f90 compilers
   8729 	  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'
   8730 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8731 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8732 	  tmp_addflag=' -i_dynamic' ;;
   8733 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8734 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8735 	ifc* | ifort*)			# Intel Fortran compiler
   8736 	  tmp_addflag=' -nofor_main' ;;
   8737 	lf95*)				# Lahey Fortran 8.1
   8738 	  whole_archive_flag_spec=
   8739 	  tmp_sharedflag='--shared' ;;
   8740 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8741 	  tmp_sharedflag='-qmkshrobj'
   8742 	  tmp_addflag= ;;
   8743 	nvcc*)	# Cuda Compiler Driver 2.2
   8744 	  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'
   8745 	  compiler_needs_object=yes
   8746 	  ;;
   8747 	esac
   8748 	case `$CC -V 2>&1 | sed 5q` in
   8749 	*Sun\ C*)			# Sun C 5.9
   8750 	  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'
   8751 	  compiler_needs_object=yes
   8752 	  tmp_sharedflag='-G' ;;
   8753 	*Sun\ F*)			# Sun Fortran 8.3
   8754 	  tmp_sharedflag='-G' ;;
   8755 	esac
   8756 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8757 
   8758         if test "x$supports_anon_versioning" = xyes; then
   8759           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8760 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8761 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8762 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8763         fi
   8764 
   8765 	case $cc_basename in
   8766 	xlf* | bgf* | bgxlf* | mpixlf*)
   8767 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8768 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8769 	  hardcode_libdir_flag_spec=
   8770 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8771 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8772 	  if test "x$supports_anon_versioning" = xyes; then
   8773 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8774 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8775 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8776 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8777 	  fi
   8778 	  ;;
   8779 	esac
   8780       else
   8781         ld_shlibs=no
   8782       fi
   8783       ;;
   8784 
   8785     netbsd*)
   8786       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8787 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8788 	wlarc=
   8789       else
   8790 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8791 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8792       fi
   8793       ;;
   8794 
   8795     solaris*)
   8796       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8797 	ld_shlibs=no
   8798 	cat <<_LT_EOF 1>&2
   8799 
   8800 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8801 *** create shared libraries on Solaris systems.  Therefore, libtool
   8802 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8803 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8804 *** your PATH or compiler configuration so that the native linker is
   8805 *** used, and then restart.
   8806 
   8807 _LT_EOF
   8808       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8809 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8810 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8811       else
   8812 	ld_shlibs=no
   8813       fi
   8814       ;;
   8815 
   8816     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8817       case `$LD -v 2>&1` in
   8818         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8819 	ld_shlibs=no
   8820 	cat <<_LT_EOF 1>&2
   8821 
   8822 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8823 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8824 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8825 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8826 *** your PATH or compiler configuration so that the native linker is
   8827 *** used, and then restart.
   8828 
   8829 _LT_EOF
   8830 	;;
   8831 	*)
   8832 	  # For security reasons, it is highly recommended that you always
   8833 	  # use absolute paths for naming shared libraries, and exclude the
   8834 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8835 	  # requires that you compile everything twice, which is a pain.
   8836 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8837 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8838 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8839 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8840 	  else
   8841 	    ld_shlibs=no
   8842 	  fi
   8843 	;;
   8844       esac
   8845       ;;
   8846 
   8847     sunos4*)
   8848       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8849       wlarc=
   8850       hardcode_direct=yes
   8851       hardcode_shlibpath_var=no
   8852       ;;
   8853 
   8854     *)
   8855       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8856 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8857 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8858       else
   8859 	ld_shlibs=no
   8860       fi
   8861       ;;
   8862     esac
   8863 
   8864     if test "$ld_shlibs" = no; then
   8865       runpath_var=
   8866       hardcode_libdir_flag_spec=
   8867       export_dynamic_flag_spec=
   8868       whole_archive_flag_spec=
   8869     fi
   8870   else
   8871     # PORTME fill in a description of your system's linker (not GNU ld)
   8872     case $host_os in
   8873     aix3*)
   8874       allow_undefined_flag=unsupported
   8875       always_export_symbols=yes
   8876       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'
   8877       # Note: this linker hardcodes the directories in LIBPATH if there
   8878       # are no directories specified by -L.
   8879       hardcode_minus_L=yes
   8880       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8881 	# Neither direct hardcoding nor static linking is supported with a
   8882 	# broken collect2.
   8883 	hardcode_direct=unsupported
   8884       fi
   8885       ;;
   8886 
   8887     aix[4-9]*)
   8888       if test "$host_cpu" = ia64; then
   8889 	# On IA64, the linker does run time linking by default, so we don't
   8890 	# have to do anything special.
   8891 	aix_use_runtimelinking=no
   8892 	exp_sym_flag='-Bexport'
   8893 	no_entry_flag=""
   8894       else
   8895 	# If we're using GNU nm, then we don't want the "-C" option.
   8896 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8897 	# Also, AIX nm treats weak defined symbols like other global
   8898 	# defined symbols, whereas GNU nm marks them as "W".
   8899 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8900 	  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'
   8901 	else
   8902 	  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'
   8903 	fi
   8904 	aix_use_runtimelinking=no
   8905 
   8906 	# Test if we are trying to use run time linking or normal
   8907 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8908 	# need to do runtime linking.
   8909 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8910 	  for ld_flag in $LDFLAGS; do
   8911 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8912 	    aix_use_runtimelinking=yes
   8913 	    break
   8914 	  fi
   8915 	  done
   8916 	  ;;
   8917 	esac
   8918 
   8919 	exp_sym_flag='-bexport'
   8920 	no_entry_flag='-bnoentry'
   8921       fi
   8922 
   8923       # When large executables or shared objects are built, AIX ld can
   8924       # have problems creating the table of contents.  If linking a library
   8925       # or program results in "error TOC overflow" add -mminimal-toc to
   8926       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8927       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8928 
   8929       archive_cmds=''
   8930       hardcode_direct=yes
   8931       hardcode_direct_absolute=yes
   8932       hardcode_libdir_separator=':'
   8933       link_all_deplibs=yes
   8934       file_list_spec='${wl}-f,'
   8935 
   8936       if test "$GCC" = yes; then
   8937 	case $host_os in aix4.[012]|aix4.[012].*)
   8938 	# We only want to do this on AIX 4.2 and lower, the check
   8939 	# below for broken collect2 doesn't work under 4.3+
   8940 	  collect2name=`${CC} -print-prog-name=collect2`
   8941 	  if test -f "$collect2name" &&
   8942 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8943 	  then
   8944 	  # We have reworked collect2
   8945 	  :
   8946 	  else
   8947 	  # We have old collect2
   8948 	  hardcode_direct=unsupported
   8949 	  # It fails to find uninstalled libraries when the uninstalled
   8950 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8951 	  # to unsupported forces relinking
   8952 	  hardcode_minus_L=yes
   8953 	  hardcode_libdir_flag_spec='-L$libdir'
   8954 	  hardcode_libdir_separator=
   8955 	  fi
   8956 	  ;;
   8957 	esac
   8958 	shared_flag='-shared'
   8959 	if test "$aix_use_runtimelinking" = yes; then
   8960 	  shared_flag="$shared_flag "'${wl}-G'
   8961 	fi
   8962 	link_all_deplibs=no
   8963       else
   8964 	# not using gcc
   8965 	if test "$host_cpu" = ia64; then
   8966 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8967 	# chokes on -Wl,-G. The following line is correct:
   8968 	  shared_flag='-G'
   8969 	else
   8970 	  if test "$aix_use_runtimelinking" = yes; then
   8971 	    shared_flag='${wl}-G'
   8972 	  else
   8973 	    shared_flag='${wl}-bM:SRE'
   8974 	  fi
   8975 	fi
   8976       fi
   8977 
   8978       export_dynamic_flag_spec='${wl}-bexpall'
   8979       # It seems that -bexpall does not export symbols beginning with
   8980       # underscore (_), so it is better to generate a list of symbols to export.
   8981       always_export_symbols=yes
   8982       if test "$aix_use_runtimelinking" = yes; then
   8983 	# Warning - without using the other runtime loading flags (-brtl),
   8984 	# -berok will link without error, but may produce a broken library.
   8985 	allow_undefined_flag='-berok'
   8986         # Determine the default libpath from the value encoded in an
   8987         # empty executable.
   8988         if test "${lt_cv_aix_libpath+set}" = set; then
   8989   aix_libpath=$lt_cv_aix_libpath
   8990 else
   8991   if ${lt_cv_aix_libpath_+:} false; then :
   8992   $as_echo_n "(cached) " >&6
   8993 else
   8994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8995 /* end confdefs.h.  */
   8996 
   8997 int
   8998 main ()
   8999 {
   9000 
   9001   ;
   9002   return 0;
   9003 }
   9004 _ACEOF
   9005 if ac_fn_c_try_link "$LINENO"; then :
   9006 
   9007   lt_aix_libpath_sed='
   9008       /Import File Strings/,/^$/ {
   9009 	  /^0/ {
   9010 	      s/^0  *\([^ ]*\) *$/\1/
   9011 	      p
   9012 	  }
   9013       }'
   9014   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9015   # Check for a 64-bit object if we didn't find anything.
   9016   if test -z "$lt_cv_aix_libpath_"; then
   9017     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9018   fi
   9019 fi
   9020 rm -f core conftest.err conftest.$ac_objext \
   9021     conftest$ac_exeext conftest.$ac_ext
   9022   if test -z "$lt_cv_aix_libpath_"; then
   9023     lt_cv_aix_libpath_="/usr/lib:/lib"
   9024   fi
   9025 
   9026 fi
   9027 
   9028   aix_libpath=$lt_cv_aix_libpath_
   9029 fi
   9030 
   9031         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9032         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"
   9033       else
   9034 	if test "$host_cpu" = ia64; then
   9035 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9036 	  allow_undefined_flag="-z nodefs"
   9037 	  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"
   9038 	else
   9039 	 # Determine the default libpath from the value encoded in an
   9040 	 # empty executable.
   9041 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9042   aix_libpath=$lt_cv_aix_libpath
   9043 else
   9044   if ${lt_cv_aix_libpath_+:} false; then :
   9045   $as_echo_n "(cached) " >&6
   9046 else
   9047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9048 /* end confdefs.h.  */
   9049 
   9050 int
   9051 main ()
   9052 {
   9053 
   9054   ;
   9055   return 0;
   9056 }
   9057 _ACEOF
   9058 if ac_fn_c_try_link "$LINENO"; then :
   9059 
   9060   lt_aix_libpath_sed='
   9061       /Import File Strings/,/^$/ {
   9062 	  /^0/ {
   9063 	      s/^0  *\([^ ]*\) *$/\1/
   9064 	      p
   9065 	  }
   9066       }'
   9067   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9068   # Check for a 64-bit object if we didn't find anything.
   9069   if test -z "$lt_cv_aix_libpath_"; then
   9070     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9071   fi
   9072 fi
   9073 rm -f core conftest.err conftest.$ac_objext \
   9074     conftest$ac_exeext conftest.$ac_ext
   9075   if test -z "$lt_cv_aix_libpath_"; then
   9076     lt_cv_aix_libpath_="/usr/lib:/lib"
   9077   fi
   9078 
   9079 fi
   9080 
   9081   aix_libpath=$lt_cv_aix_libpath_
   9082 fi
   9083 
   9084 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9085 	  # Warning - without using the other run time loading flags,
   9086 	  # -berok will link without error, but may produce a broken library.
   9087 	  no_undefined_flag=' ${wl}-bernotok'
   9088 	  allow_undefined_flag=' ${wl}-berok'
   9089 	  if test "$with_gnu_ld" = yes; then
   9090 	    # We only use this code for GNU lds that support --whole-archive.
   9091 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9092 	  else
   9093 	    # Exported symbols can be pulled into shared objects from archives
   9094 	    whole_archive_flag_spec='$convenience'
   9095 	  fi
   9096 	  archive_cmds_need_lc=yes
   9097 	  # This is similar to how AIX traditionally builds its shared libraries.
   9098 	  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'
   9099 	fi
   9100       fi
   9101       ;;
   9102 
   9103     amigaos*)
   9104       case $host_cpu in
   9105       powerpc)
   9106             # see comment about AmigaOS4 .so support
   9107             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9108             archive_expsym_cmds=''
   9109         ;;
   9110       m68k)
   9111             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)'
   9112             hardcode_libdir_flag_spec='-L$libdir'
   9113             hardcode_minus_L=yes
   9114         ;;
   9115       esac
   9116       ;;
   9117 
   9118     bsdi[45]*)
   9119       export_dynamic_flag_spec=-rdynamic
   9120       ;;
   9121 
   9122     cygwin* | mingw* | pw32* | cegcc*)
   9123       # When not using gcc, we currently assume that we are using
   9124       # Microsoft Visual C++.
   9125       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9126       # no search path for DLLs.
   9127       case $cc_basename in
   9128       cl*)
   9129 	# Native MSVC
   9130 	hardcode_libdir_flag_spec=' '
   9131 	allow_undefined_flag=unsupported
   9132 	always_export_symbols=yes
   9133 	file_list_spec='@'
   9134 	# Tell ltmain to make .lib files, not .a files.
   9135 	libext=lib
   9136 	# Tell ltmain to make .dll files, not .so files.
   9137 	shrext_cmds=".dll"
   9138 	# FIXME: Setting linknames here is a bad hack.
   9139 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9140 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9141 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9142 	  else
   9143 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9144 	  fi~
   9145 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9146 	  linknames='
   9147 	# The linker will not automatically build a static lib if we build a DLL.
   9148 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9149 	enable_shared_with_static_runtimes=yes
   9150 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9151 	# Don't use ranlib
   9152 	old_postinstall_cmds='chmod 644 $oldlib'
   9153 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9154 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9155 	  case $lt_outputfile in
   9156 	    *.exe|*.EXE) ;;
   9157 	    *)
   9158 	      lt_outputfile="$lt_outputfile.exe"
   9159 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9160 	      ;;
   9161 	  esac~
   9162 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9163 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9164 	    $RM "$lt_outputfile.manifest";
   9165 	  fi'
   9166 	;;
   9167       *)
   9168 	# Assume MSVC wrapper
   9169 	hardcode_libdir_flag_spec=' '
   9170 	allow_undefined_flag=unsupported
   9171 	# Tell ltmain to make .lib files, not .a files.
   9172 	libext=lib
   9173 	# Tell ltmain to make .dll files, not .so files.
   9174 	shrext_cmds=".dll"
   9175 	# FIXME: Setting linknames here is a bad hack.
   9176 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9177 	# The linker will automatically build a .lib file if we build a DLL.
   9178 	old_archive_from_new_cmds='true'
   9179 	# FIXME: Should let the user specify the lib program.
   9180 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9181 	enable_shared_with_static_runtimes=yes
   9182 	;;
   9183       esac
   9184       ;;
   9185 
   9186     darwin* | rhapsody*)
   9187 
   9188 
   9189   archive_cmds_need_lc=no
   9190   hardcode_direct=no
   9191   hardcode_automatic=yes
   9192   hardcode_shlibpath_var=unsupported
   9193   if test "$lt_cv_ld_force_load" = "yes"; then
   9194     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\"`'
   9195   else
   9196     whole_archive_flag_spec=''
   9197   fi
   9198   link_all_deplibs=yes
   9199   allow_undefined_flag="$_lt_dar_allow_undefined"
   9200   case $cc_basename in
   9201      ifort*) _lt_dar_can_shared=yes ;;
   9202      *) _lt_dar_can_shared=$GCC ;;
   9203   esac
   9204   if test "$_lt_dar_can_shared" = "yes"; then
   9205     output_verbose_link_cmd=func_echo_all
   9206     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9207     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9208     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}"
   9209     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}"
   9210 
   9211   else
   9212   ld_shlibs=no
   9213   fi
   9214 
   9215       ;;
   9216 
   9217     dgux*)
   9218       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9219       hardcode_libdir_flag_spec='-L$libdir'
   9220       hardcode_shlibpath_var=no
   9221       ;;
   9222 
   9223     freebsd1*)
   9224       ld_shlibs=no
   9225       ;;
   9226 
   9227     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9228     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9229     # does not break anything, and helps significantly (at the cost of a little
   9230     # extra space).
   9231     freebsd2.2*)
   9232       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9233       hardcode_libdir_flag_spec='-R$libdir'
   9234       hardcode_direct=yes
   9235       hardcode_shlibpath_var=no
   9236       ;;
   9237 
   9238     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9239     freebsd2*)
   9240       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9241       hardcode_direct=yes
   9242       hardcode_minus_L=yes
   9243       hardcode_shlibpath_var=no
   9244       ;;
   9245 
   9246     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9247     freebsd* | dragonfly*)
   9248       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9249       hardcode_libdir_flag_spec='-R$libdir'
   9250       hardcode_direct=yes
   9251       hardcode_shlibpath_var=no
   9252       ;;
   9253 
   9254     hpux9*)
   9255       if test "$GCC" = yes; then
   9256 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9257       else
   9258 	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'
   9259       fi
   9260       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9261       hardcode_libdir_separator=:
   9262       hardcode_direct=yes
   9263 
   9264       # hardcode_minus_L: Not really in the search PATH,
   9265       # but as the default location of the library.
   9266       hardcode_minus_L=yes
   9267       export_dynamic_flag_spec='${wl}-E'
   9268       ;;
   9269 
   9270     hpux10*)
   9271       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9272 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9273       else
   9274 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9275       fi
   9276       if test "$with_gnu_ld" = no; then
   9277 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9278 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9279 	hardcode_libdir_separator=:
   9280 	hardcode_direct=yes
   9281 	hardcode_direct_absolute=yes
   9282 	export_dynamic_flag_spec='${wl}-E'
   9283 	# hardcode_minus_L: Not really in the search PATH,
   9284 	# but as the default location of the library.
   9285 	hardcode_minus_L=yes
   9286       fi
   9287       ;;
   9288 
   9289     hpux11*)
   9290       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9291 	case $host_cpu in
   9292 	hppa*64*)
   9293 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9294 	  ;;
   9295 	ia64*)
   9296 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9297 	  ;;
   9298 	*)
   9299 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9300 	  ;;
   9301 	esac
   9302       else
   9303 	case $host_cpu in
   9304 	hppa*64*)
   9305 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9306 	  ;;
   9307 	ia64*)
   9308 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9309 	  ;;
   9310 	*)
   9311 
   9312 	  # Older versions of the 11.00 compiler do not understand -b yet
   9313 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9314 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9315 $as_echo_n "checking if $CC understands -b... " >&6; }
   9316 if ${lt_cv_prog_compiler__b+:} false; then :
   9317   $as_echo_n "(cached) " >&6
   9318 else
   9319   lt_cv_prog_compiler__b=no
   9320    save_LDFLAGS="$LDFLAGS"
   9321    LDFLAGS="$LDFLAGS -b"
   9322    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9323    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9324      # The linker can only warn and ignore the option if not recognized
   9325      # So say no if there are warnings
   9326      if test -s conftest.err; then
   9327        # Append any errors to the config.log.
   9328        cat conftest.err 1>&5
   9329        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9330        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9331        if diff conftest.exp conftest.er2 >/dev/null; then
   9332          lt_cv_prog_compiler__b=yes
   9333        fi
   9334      else
   9335        lt_cv_prog_compiler__b=yes
   9336      fi
   9337    fi
   9338    $RM -r conftest*
   9339    LDFLAGS="$save_LDFLAGS"
   9340 
   9341 fi
   9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9343 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9344 
   9345 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9346     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9347 else
   9348     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9349 fi
   9350 
   9351 	  ;;
   9352 	esac
   9353       fi
   9354       if test "$with_gnu_ld" = no; then
   9355 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9356 	hardcode_libdir_separator=:
   9357 
   9358 	case $host_cpu in
   9359 	hppa*64*|ia64*)
   9360 	  hardcode_direct=no
   9361 	  hardcode_shlibpath_var=no
   9362 	  ;;
   9363 	*)
   9364 	  hardcode_direct=yes
   9365 	  hardcode_direct_absolute=yes
   9366 	  export_dynamic_flag_spec='${wl}-E'
   9367 
   9368 	  # hardcode_minus_L: Not really in the search PATH,
   9369 	  # but as the default location of the library.
   9370 	  hardcode_minus_L=yes
   9371 	  ;;
   9372 	esac
   9373       fi
   9374       ;;
   9375 
   9376     irix5* | irix6* | nonstopux*)
   9377       if test "$GCC" = yes; then
   9378 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9379 	# Try to use the -exported_symbol ld option, if it does not
   9380 	# work, assume that -exports_file does not work either and
   9381 	# implicitly export all symbols.
   9382 	# This should be the same for all languages, so no per-tag cache variable.
   9383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9384 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9385 if ${lt_cv_irix_exported_symbol+:} false; then :
   9386   $as_echo_n "(cached) " >&6
   9387 else
   9388   save_LDFLAGS="$LDFLAGS"
   9389 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9390 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9391 /* end confdefs.h.  */
   9392 int foo (void) { return 0; }
   9393 _ACEOF
   9394 if ac_fn_c_try_link "$LINENO"; then :
   9395   lt_cv_irix_exported_symbol=yes
   9396 else
   9397   lt_cv_irix_exported_symbol=no
   9398 fi
   9399 rm -f core conftest.err conftest.$ac_objext \
   9400     conftest$ac_exeext conftest.$ac_ext
   9401            LDFLAGS="$save_LDFLAGS"
   9402 fi
   9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9404 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9405 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9406           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9407 	fi
   9408       else
   9409 	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'
   9410 	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'
   9411       fi
   9412       archive_cmds_need_lc='no'
   9413       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9414       hardcode_libdir_separator=:
   9415       inherit_rpath=yes
   9416       link_all_deplibs=yes
   9417       ;;
   9418 
   9419     netbsd*)
   9420       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9421 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9422       else
   9423 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9424       fi
   9425       hardcode_libdir_flag_spec='-R$libdir'
   9426       hardcode_direct=yes
   9427       hardcode_shlibpath_var=no
   9428       ;;
   9429 
   9430     newsos6)
   9431       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9432       hardcode_direct=yes
   9433       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9434       hardcode_libdir_separator=:
   9435       hardcode_shlibpath_var=no
   9436       ;;
   9437 
   9438     *nto* | *qnx*)
   9439       ;;
   9440 
   9441     openbsd*)
   9442       if test -f /usr/libexec/ld.so; then
   9443 	hardcode_direct=yes
   9444 	hardcode_shlibpath_var=no
   9445 	hardcode_direct_absolute=yes
   9446 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9447 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9448 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9449 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9450 	  export_dynamic_flag_spec='${wl}-E'
   9451 	else
   9452 	  case $host_os in
   9453 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9454 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9455 	     hardcode_libdir_flag_spec='-R$libdir'
   9456 	     ;;
   9457 	   *)
   9458 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9459 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9460 	     ;;
   9461 	  esac
   9462 	fi
   9463       else
   9464 	ld_shlibs=no
   9465       fi
   9466       ;;
   9467 
   9468     os2*)
   9469       hardcode_libdir_flag_spec='-L$libdir'
   9470       hardcode_minus_L=yes
   9471       allow_undefined_flag=unsupported
   9472       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'
   9473       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9474       ;;
   9475 
   9476     osf3*)
   9477       if test "$GCC" = yes; then
   9478 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9479 	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'
   9480       else
   9481 	allow_undefined_flag=' -expect_unresolved \*'
   9482 	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'
   9483       fi
   9484       archive_cmds_need_lc='no'
   9485       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9486       hardcode_libdir_separator=:
   9487       ;;
   9488 
   9489     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9490       if test "$GCC" = yes; then
   9491 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9492 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9493 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9494       else
   9495 	allow_undefined_flag=' -expect_unresolved \*'
   9496 	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'
   9497 	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~
   9498 	$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'
   9499 
   9500 	# Both c and cxx compiler support -rpath directly
   9501 	hardcode_libdir_flag_spec='-rpath $libdir'
   9502       fi
   9503       archive_cmds_need_lc='no'
   9504       hardcode_libdir_separator=:
   9505       ;;
   9506 
   9507     solaris*)
   9508       no_undefined_flag=' -z defs'
   9509       if test "$GCC" = yes; then
   9510 	wlarc='${wl}'
   9511 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9512 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9513 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9514       else
   9515 	case `$CC -V 2>&1` in
   9516 	*"Compilers 5.0"*)
   9517 	  wlarc=''
   9518 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9519 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9520 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9521 	  ;;
   9522 	*)
   9523 	  wlarc='${wl}'
   9524 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9525 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9526 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9527 	  ;;
   9528 	esac
   9529       fi
   9530       hardcode_libdir_flag_spec='-R$libdir'
   9531       hardcode_shlibpath_var=no
   9532       case $host_os in
   9533       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9534       *)
   9535 	# The compiler driver will combine and reorder linker options,
   9536 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9537 	# but is careful enough not to reorder.
   9538 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9539 	if test "$GCC" = yes; then
   9540 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9541 	else
   9542 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9543 	fi
   9544 	;;
   9545       esac
   9546       link_all_deplibs=yes
   9547       ;;
   9548 
   9549     sunos4*)
   9550       if test "x$host_vendor" = xsequent; then
   9551 	# Use $CC to link under sequent, because it throws in some extra .o
   9552 	# files that make .init and .fini sections work.
   9553 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9554       else
   9555 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9556       fi
   9557       hardcode_libdir_flag_spec='-L$libdir'
   9558       hardcode_direct=yes
   9559       hardcode_minus_L=yes
   9560       hardcode_shlibpath_var=no
   9561       ;;
   9562 
   9563     sysv4)
   9564       case $host_vendor in
   9565 	sni)
   9566 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9567 	  hardcode_direct=yes # is this really true???
   9568 	;;
   9569 	siemens)
   9570 	  ## LD is ld it makes a PLAMLIB
   9571 	  ## CC just makes a GrossModule.
   9572 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9573 	  reload_cmds='$CC -r -o $output$reload_objs'
   9574 	  hardcode_direct=no
   9575         ;;
   9576 	motorola)
   9577 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9578 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9579 	;;
   9580       esac
   9581       runpath_var='LD_RUN_PATH'
   9582       hardcode_shlibpath_var=no
   9583       ;;
   9584 
   9585     sysv4.3*)
   9586       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9587       hardcode_shlibpath_var=no
   9588       export_dynamic_flag_spec='-Bexport'
   9589       ;;
   9590 
   9591     sysv4*MP*)
   9592       if test -d /usr/nec; then
   9593 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9594 	hardcode_shlibpath_var=no
   9595 	runpath_var=LD_RUN_PATH
   9596 	hardcode_runpath_var=yes
   9597 	ld_shlibs=yes
   9598       fi
   9599       ;;
   9600 
   9601     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9602       no_undefined_flag='${wl}-z,text'
   9603       archive_cmds_need_lc=no
   9604       hardcode_shlibpath_var=no
   9605       runpath_var='LD_RUN_PATH'
   9606 
   9607       if test "$GCC" = yes; then
   9608 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9609 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9610       else
   9611 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9612 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9613       fi
   9614       ;;
   9615 
   9616     sysv5* | sco3.2v5* | sco5v6*)
   9617       # Note: We can NOT use -z defs as we might desire, because we do not
   9618       # link with -lc, and that would cause any symbols used from libc to
   9619       # always be unresolved, which means just about no library would
   9620       # ever link correctly.  If we're not using GNU ld we use -z text
   9621       # though, which does catch some bad symbols but isn't as heavy-handed
   9622       # as -z defs.
   9623       no_undefined_flag='${wl}-z,text'
   9624       allow_undefined_flag='${wl}-z,nodefs'
   9625       archive_cmds_need_lc=no
   9626       hardcode_shlibpath_var=no
   9627       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9628       hardcode_libdir_separator=':'
   9629       link_all_deplibs=yes
   9630       export_dynamic_flag_spec='${wl}-Bexport'
   9631       runpath_var='LD_RUN_PATH'
   9632 
   9633       if test "$GCC" = yes; then
   9634 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9635 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9636       else
   9637 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9638 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9639       fi
   9640       ;;
   9641 
   9642     uts4*)
   9643       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9644       hardcode_libdir_flag_spec='-L$libdir'
   9645       hardcode_shlibpath_var=no
   9646       ;;
   9647 
   9648     *)
   9649       ld_shlibs=no
   9650       ;;
   9651     esac
   9652 
   9653     if test x$host_vendor = xsni; then
   9654       case $host in
   9655       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9656 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9657 	;;
   9658       esac
   9659     fi
   9660   fi
   9661 
   9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9663 $as_echo "$ld_shlibs" >&6; }
   9664 test "$ld_shlibs" = no && can_build_shared=no
   9665 
   9666 with_gnu_ld=$with_gnu_ld
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 #
   9683 # Do we need to explicitly link libc?
   9684 #
   9685 case "x$archive_cmds_need_lc" in
   9686 x|xyes)
   9687   # Assume -lc should be added
   9688   archive_cmds_need_lc=yes
   9689 
   9690   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9691     case $archive_cmds in
   9692     *'~'*)
   9693       # FIXME: we may have to deal with multi-command sequences.
   9694       ;;
   9695     '$CC '*)
   9696       # Test whether the compiler implicitly links with -lc since on some
   9697       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9698       # to ld, don't add -lc before -lgcc.
   9699       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9700 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9701 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9702   $as_echo_n "(cached) " >&6
   9703 else
   9704   $RM conftest*
   9705 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9706 
   9707 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9708   (eval $ac_compile) 2>&5
   9709   ac_status=$?
   9710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9711   test $ac_status = 0; } 2>conftest.err; then
   9712 	  soname=conftest
   9713 	  lib=conftest
   9714 	  libobjs=conftest.$ac_objext
   9715 	  deplibs=
   9716 	  wl=$lt_prog_compiler_wl
   9717 	  pic_flag=$lt_prog_compiler_pic
   9718 	  compiler_flags=-v
   9719 	  linker_flags=-v
   9720 	  verstring=
   9721 	  output_objdir=.
   9722 	  libname=conftest
   9723 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9724 	  allow_undefined_flag=
   9725 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9726   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9727   ac_status=$?
   9728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9729   test $ac_status = 0; }
   9730 	  then
   9731 	    lt_cv_archive_cmds_need_lc=no
   9732 	  else
   9733 	    lt_cv_archive_cmds_need_lc=yes
   9734 	  fi
   9735 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9736 	else
   9737 	  cat conftest.err 1>&5
   9738 	fi
   9739 	$RM conftest*
   9740 
   9741 fi
   9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9743 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9744       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9745       ;;
   9746     esac
   9747   fi
   9748   ;;
   9749 esac
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9908 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9909 
   9910 if test "$GCC" = yes; then
   9911   case $host_os in
   9912     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9913     *) lt_awk_arg="/^libraries:/" ;;
   9914   esac
   9915   case $host_os in
   9916     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9917     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9918   esac
   9919   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9920   case $lt_search_path_spec in
   9921   *\;*)
   9922     # if the path contains ";" then we assume it to be the separator
   9923     # otherwise default to the standard path separator (i.e. ":") - it is
   9924     # assumed that no part of a normal pathname contains ";" but that should
   9925     # okay in the real world where ";" in dirpaths is itself problematic.
   9926     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9927     ;;
   9928   *)
   9929     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9930     ;;
   9931   esac
   9932   # Ok, now we have the path, separated by spaces, we can step through it
   9933   # and add multilib dir if necessary.
   9934   lt_tmp_lt_search_path_spec=
   9935   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9936   for lt_sys_path in $lt_search_path_spec; do
   9937     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9938       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9939     else
   9940       test -d "$lt_sys_path" && \
   9941 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9942     fi
   9943   done
   9944   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9945 BEGIN {RS=" "; FS="/|\n";} {
   9946   lt_foo="";
   9947   lt_count=0;
   9948   for (lt_i = NF; lt_i > 0; lt_i--) {
   9949     if ($lt_i != "" && $lt_i != ".") {
   9950       if ($lt_i == "..") {
   9951         lt_count++;
   9952       } else {
   9953         if (lt_count == 0) {
   9954           lt_foo="/" $lt_i lt_foo;
   9955         } else {
   9956           lt_count--;
   9957         }
   9958       }
   9959     }
   9960   }
   9961   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9962   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9963 }'`
   9964   # AWK program above erroneously prepends '/' to C:/dos/paths
   9965   # for these hosts.
   9966   case $host_os in
   9967     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9968       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9969   esac
   9970   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9971 else
   9972   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9973 fi
   9974 library_names_spec=
   9975 libname_spec='lib$name'
   9976 soname_spec=
   9977 shrext_cmds=".so"
   9978 postinstall_cmds=
   9979 postuninstall_cmds=
   9980 finish_cmds=
   9981 finish_eval=
   9982 shlibpath_var=
   9983 shlibpath_overrides_runpath=unknown
   9984 version_type=none
   9985 dynamic_linker="$host_os ld.so"
   9986 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9987 need_lib_prefix=unknown
   9988 hardcode_into_libs=no
   9989 
   9990 # when you set need_version to no, make sure it does not cause -set_version
   9991 # flags to be left without arguments
   9992 need_version=unknown
   9993 
   9994 case $host_os in
   9995 aix3*)
   9996   version_type=linux
   9997   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9998   shlibpath_var=LIBPATH
   9999 
   10000   # AIX 3 has no versioning support, so we append a major version to the name.
   10001   soname_spec='${libname}${release}${shared_ext}$major'
   10002   ;;
   10003 
   10004 aix[4-9]*)
   10005   version_type=linux
   10006   need_lib_prefix=no
   10007   need_version=no
   10008   hardcode_into_libs=yes
   10009   if test "$host_cpu" = ia64; then
   10010     # AIX 5 supports IA64
   10011     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10012     shlibpath_var=LD_LIBRARY_PATH
   10013   else
   10014     # With GCC up to 2.95.x, collect2 would create an import file
   10015     # for dependence libraries.  The import file would start with
   10016     # the line `#! .'.  This would cause the generated library to
   10017     # depend on `.', always an invalid library.  This was fixed in
   10018     # development snapshots of GCC prior to 3.0.
   10019     case $host_os in
   10020       aix4 | aix4.[01] | aix4.[01].*)
   10021       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10022 	   echo ' yes '
   10023 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10024 	:
   10025       else
   10026 	can_build_shared=no
   10027       fi
   10028       ;;
   10029     esac
   10030     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10031     # soname into executable. Probably we can add versioning support to
   10032     # collect2, so additional links can be useful in future.
   10033     if test "$aix_use_runtimelinking" = yes; then
   10034       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10035       # instead of lib<name>.a to let people know that these are not
   10036       # typical AIX shared libraries.
   10037       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10038     else
   10039       # We preserve .a as extension for shared libraries through AIX4.2
   10040       # and later when we are not doing run time linking.
   10041       library_names_spec='${libname}${release}.a $libname.a'
   10042       soname_spec='${libname}${release}${shared_ext}$major'
   10043     fi
   10044     shlibpath_var=LIBPATH
   10045   fi
   10046   ;;
   10047 
   10048 amigaos*)
   10049   case $host_cpu in
   10050   powerpc)
   10051     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10052     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10053     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10054     ;;
   10055   m68k)
   10056     library_names_spec='$libname.ixlibrary $libname.a'
   10057     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10058     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'
   10059     ;;
   10060   esac
   10061   ;;
   10062 
   10063 beos*)
   10064   library_names_spec='${libname}${shared_ext}'
   10065   dynamic_linker="$host_os ld.so"
   10066   shlibpath_var=LIBRARY_PATH
   10067   ;;
   10068 
   10069 bsdi[45]*)
   10070   version_type=linux
   10071   need_version=no
   10072   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10073   soname_spec='${libname}${release}${shared_ext}$major'
   10074   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10075   shlibpath_var=LD_LIBRARY_PATH
   10076   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10077   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10078   # the default ld.so.conf also contains /usr/contrib/lib and
   10079   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10080   # libtool to hard-code these into programs
   10081   ;;
   10082 
   10083 cygwin* | mingw* | pw32* | cegcc*)
   10084   version_type=windows
   10085   shrext_cmds=".dll"
   10086   need_version=no
   10087   need_lib_prefix=no
   10088 
   10089   case $GCC,$cc_basename in
   10090   yes,*)
   10091     # gcc
   10092     library_names_spec='$libname.dll.a'
   10093     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10094     postinstall_cmds='base_file=`basename \${file}`~
   10095       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10096       dldir=$destdir/`dirname \$dlpath`~
   10097       test -d \$dldir || mkdir -p \$dldir~
   10098       $install_prog $dir/$dlname \$dldir/$dlname~
   10099       chmod a+x \$dldir/$dlname~
   10100       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10101         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10102       fi'
   10103     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10104       dlpath=$dir/\$dldll~
   10105        $RM \$dlpath'
   10106     shlibpath_overrides_runpath=yes
   10107 
   10108     case $host_os in
   10109     cygwin*)
   10110       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10111       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10112 
   10113       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10114       ;;
   10115     mingw* | cegcc*)
   10116       # MinGW DLLs use traditional 'lib' prefix
   10117       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10118       ;;
   10119     pw32*)
   10120       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10121       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10122       ;;
   10123     esac
   10124     dynamic_linker='Win32 ld.exe'
   10125     ;;
   10126 
   10127   *,cl*)
   10128     # Native MSVC
   10129     libname_spec='$name'
   10130     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10131     library_names_spec='${libname}.dll.lib'
   10132 
   10133     case $build_os in
   10134     mingw*)
   10135       sys_lib_search_path_spec=
   10136       lt_save_ifs=$IFS
   10137       IFS=';'
   10138       for lt_path in $LIB
   10139       do
   10140         IFS=$lt_save_ifs
   10141         # Let DOS variable expansion print the short 8.3 style file name.
   10142         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10143         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10144       done
   10145       IFS=$lt_save_ifs
   10146       # Convert to MSYS style.
   10147       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10148       ;;
   10149     cygwin*)
   10150       # Convert to unix form, then to dos form, then back to unix form
   10151       # but this time dos style (no spaces!) so that the unix form looks
   10152       # like /cygdrive/c/PROGRA~1:/cygdr...
   10153       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10154       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10155       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10156       ;;
   10157     *)
   10158       sys_lib_search_path_spec="$LIB"
   10159       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10160         # It is most probably a Windows format PATH.
   10161         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10162       else
   10163         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10164       fi
   10165       # FIXME: find the short name or the path components, as spaces are
   10166       # common. (e.g. "Program Files" -> "PROGRA~1")
   10167       ;;
   10168     esac
   10169 
   10170     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10171     postinstall_cmds='base_file=`basename \${file}`~
   10172       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10173       dldir=$destdir/`dirname \$dlpath`~
   10174       test -d \$dldir || mkdir -p \$dldir~
   10175       $install_prog $dir/$dlname \$dldir/$dlname'
   10176     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10177       dlpath=$dir/\$dldll~
   10178        $RM \$dlpath'
   10179     shlibpath_overrides_runpath=yes
   10180     dynamic_linker='Win32 link.exe'
   10181     ;;
   10182 
   10183   *)
   10184     # Assume MSVC wrapper
   10185     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10186     dynamic_linker='Win32 ld.exe'
   10187     ;;
   10188   esac
   10189   # FIXME: first we should search . and the directory the executable is in
   10190   shlibpath_var=PATH
   10191   ;;
   10192 
   10193 darwin* | rhapsody*)
   10194   dynamic_linker="$host_os dyld"
   10195   version_type=darwin
   10196   need_lib_prefix=no
   10197   need_version=no
   10198   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10199   soname_spec='${libname}${release}${major}$shared_ext'
   10200   shlibpath_overrides_runpath=yes
   10201   shlibpath_var=DYLD_LIBRARY_PATH
   10202   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10203 
   10204   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10205   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10206   ;;
   10207 
   10208 dgux*)
   10209   version_type=linux
   10210   need_lib_prefix=no
   10211   need_version=no
   10212   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10213   soname_spec='${libname}${release}${shared_ext}$major'
   10214   shlibpath_var=LD_LIBRARY_PATH
   10215   ;;
   10216 
   10217 freebsd1*)
   10218   dynamic_linker=no
   10219   ;;
   10220 
   10221 freebsd* | dragonfly*)
   10222   # DragonFly does not have aout.  When/if they implement a new
   10223   # versioning mechanism, adjust this.
   10224   if test -x /usr/bin/objformat; then
   10225     objformat=`/usr/bin/objformat`
   10226   else
   10227     case $host_os in
   10228     freebsd[123]*) objformat=aout ;;
   10229     *) objformat=elf ;;
   10230     esac
   10231   fi
   10232   version_type=freebsd-$objformat
   10233   case $version_type in
   10234     freebsd-elf*)
   10235       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10236       need_version=no
   10237       need_lib_prefix=no
   10238       ;;
   10239     freebsd-*)
   10240       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10241       need_version=yes
   10242       ;;
   10243   esac
   10244   shlibpath_var=LD_LIBRARY_PATH
   10245   case $host_os in
   10246   freebsd2*)
   10247     shlibpath_overrides_runpath=yes
   10248     ;;
   10249   freebsd3.[01]* | freebsdelf3.[01]*)
   10250     shlibpath_overrides_runpath=yes
   10251     hardcode_into_libs=yes
   10252     ;;
   10253   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10254   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10255     shlibpath_overrides_runpath=no
   10256     hardcode_into_libs=yes
   10257     ;;
   10258   *) # from 4.6 on, and DragonFly
   10259     shlibpath_overrides_runpath=yes
   10260     hardcode_into_libs=yes
   10261     ;;
   10262   esac
   10263   ;;
   10264 
   10265 gnu*)
   10266   version_type=linux
   10267   need_lib_prefix=no
   10268   need_version=no
   10269   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10270   soname_spec='${libname}${release}${shared_ext}$major'
   10271   shlibpath_var=LD_LIBRARY_PATH
   10272   hardcode_into_libs=yes
   10273   ;;
   10274 
   10275 haiku*)
   10276   version_type=linux
   10277   need_lib_prefix=no
   10278   need_version=no
   10279   dynamic_linker="$host_os runtime_loader"
   10280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10281   soname_spec='${libname}${release}${shared_ext}$major'
   10282   shlibpath_var=LIBRARY_PATH
   10283   shlibpath_overrides_runpath=yes
   10284   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10285   hardcode_into_libs=yes
   10286   ;;
   10287 
   10288 hpux9* | hpux10* | hpux11*)
   10289   # Give a soname corresponding to the major version so that dld.sl refuses to
   10290   # link against other versions.
   10291   version_type=sunos
   10292   need_lib_prefix=no
   10293   need_version=no
   10294   case $host_cpu in
   10295   ia64*)
   10296     shrext_cmds='.so'
   10297     hardcode_into_libs=yes
   10298     dynamic_linker="$host_os dld.so"
   10299     shlibpath_var=LD_LIBRARY_PATH
   10300     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10301     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10302     soname_spec='${libname}${release}${shared_ext}$major'
   10303     if test "X$HPUX_IA64_MODE" = X32; then
   10304       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10305     else
   10306       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10307     fi
   10308     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10309     ;;
   10310   hppa*64*)
   10311     shrext_cmds='.sl'
   10312     hardcode_into_libs=yes
   10313     dynamic_linker="$host_os dld.sl"
   10314     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10315     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10316     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10317     soname_spec='${libname}${release}${shared_ext}$major'
   10318     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10319     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10320     ;;
   10321   *)
   10322     shrext_cmds='.sl'
   10323     dynamic_linker="$host_os dld.sl"
   10324     shlibpath_var=SHLIB_PATH
   10325     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10326     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10327     soname_spec='${libname}${release}${shared_ext}$major'
   10328     ;;
   10329   esac
   10330   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10331   postinstall_cmds='chmod 555 $lib'
   10332   # or fails outright, so override atomically:
   10333   install_override_mode=555
   10334   ;;
   10335 
   10336 interix[3-9]*)
   10337   version_type=linux
   10338   need_lib_prefix=no
   10339   need_version=no
   10340   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10341   soname_spec='${libname}${release}${shared_ext}$major'
   10342   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10343   shlibpath_var=LD_LIBRARY_PATH
   10344   shlibpath_overrides_runpath=no
   10345   hardcode_into_libs=yes
   10346   ;;
   10347 
   10348 irix5* | irix6* | nonstopux*)
   10349   case $host_os in
   10350     nonstopux*) version_type=nonstopux ;;
   10351     *)
   10352 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10353 		version_type=linux
   10354 	else
   10355 		version_type=irix
   10356 	fi ;;
   10357   esac
   10358   need_lib_prefix=no
   10359   need_version=no
   10360   soname_spec='${libname}${release}${shared_ext}$major'
   10361   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10362   case $host_os in
   10363   irix5* | nonstopux*)
   10364     libsuff= shlibsuff=
   10365     ;;
   10366   *)
   10367     case $LD in # libtool.m4 will add one of these switches to LD
   10368     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10369       libsuff= shlibsuff= libmagic=32-bit;;
   10370     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10371       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10372     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10373       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10374     *) libsuff= shlibsuff= libmagic=never-match;;
   10375     esac
   10376     ;;
   10377   esac
   10378   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10379   shlibpath_overrides_runpath=no
   10380   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10381   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10382   hardcode_into_libs=yes
   10383   ;;
   10384 
   10385 # No shared lib support for Linux oldld, aout, or coff.
   10386 linux*oldld* | linux*aout* | linux*coff*)
   10387   dynamic_linker=no
   10388   ;;
   10389 
   10390 # This must be Linux ELF.
   10391 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10392   version_type=linux
   10393   need_lib_prefix=no
   10394   need_version=no
   10395   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10396   soname_spec='${libname}${release}${shared_ext}$major'
   10397   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10398   shlibpath_var=LD_LIBRARY_PATH
   10399   shlibpath_overrides_runpath=no
   10400 
   10401   # Some binutils ld are patched to set DT_RUNPATH
   10402   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10403   $as_echo_n "(cached) " >&6
   10404 else
   10405   lt_cv_shlibpath_overrides_runpath=no
   10406     save_LDFLAGS=$LDFLAGS
   10407     save_libdir=$libdir
   10408     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10409 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10410     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10411 /* end confdefs.h.  */
   10412 
   10413 int
   10414 main ()
   10415 {
   10416 
   10417   ;
   10418   return 0;
   10419 }
   10420 _ACEOF
   10421 if ac_fn_c_try_link "$LINENO"; then :
   10422   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10423   lt_cv_shlibpath_overrides_runpath=yes
   10424 fi
   10425 fi
   10426 rm -f core conftest.err conftest.$ac_objext \
   10427     conftest$ac_exeext conftest.$ac_ext
   10428     LDFLAGS=$save_LDFLAGS
   10429     libdir=$save_libdir
   10430 
   10431 fi
   10432 
   10433   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10434 
   10435   # This implies no fast_install, which is unacceptable.
   10436   # Some rework will be needed to allow for fast_install
   10437   # before this can be enabled.
   10438   hardcode_into_libs=yes
   10439 
   10440   # find out which ABI we are using
   10441   libsuff=
   10442   case "$host_cpu" in
   10443   x86_64*|s390x*|powerpc64*)
   10444     echo '#line 10444 "configure"' > conftest.$ac_ext
   10445     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10446   (eval $ac_compile) 2>&5
   10447   ac_status=$?
   10448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10449   test $ac_status = 0; }; then
   10450       case `/usr/bin/file conftest.$ac_objext` in
   10451       *64-bit*)
   10452         libsuff=64
   10453         ;;
   10454       esac
   10455     fi
   10456     rm -rf conftest*
   10457     ;;
   10458   esac
   10459 
   10460   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
   10461 
   10462   # Append ld.so.conf contents to the search path
   10463   if test -f /etc/ld.so.conf; then
   10464     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' ' '`
   10465     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10466   fi
   10467 
   10468   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10469   # powerpc, because MkLinux only supported shared libraries with the
   10470   # GNU dynamic linker.  Since this was broken with cross compilers,
   10471   # most powerpc-linux boxes support dynamic linking these days and
   10472   # people can always --disable-shared, the test was removed, and we
   10473   # assume the GNU/Linux dynamic linker is in use.
   10474   dynamic_linker='GNU/Linux ld.so'
   10475   ;;
   10476 
   10477 netbsd*)
   10478   version_type=sunos
   10479   need_lib_prefix=no
   10480   need_version=no
   10481   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10482     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10483     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10484     dynamic_linker='NetBSD (a.out) ld.so'
   10485   else
   10486     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10487     soname_spec='${libname}${release}${shared_ext}$major'
   10488     dynamic_linker='NetBSD ld.elf_so'
   10489   fi
   10490   shlibpath_var=LD_LIBRARY_PATH
   10491   shlibpath_overrides_runpath=yes
   10492   hardcode_into_libs=yes
   10493   ;;
   10494 
   10495 newsos6)
   10496   version_type=linux
   10497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10498   shlibpath_var=LD_LIBRARY_PATH
   10499   shlibpath_overrides_runpath=yes
   10500   ;;
   10501 
   10502 *nto* | *qnx*)
   10503   version_type=qnx
   10504   need_lib_prefix=no
   10505   need_version=no
   10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10507   soname_spec='${libname}${release}${shared_ext}$major'
   10508   shlibpath_var=LD_LIBRARY_PATH
   10509   shlibpath_overrides_runpath=no
   10510   hardcode_into_libs=yes
   10511   dynamic_linker='ldqnx.so'
   10512   ;;
   10513 
   10514 openbsd*)
   10515   version_type=sunos
   10516   sys_lib_dlsearch_path_spec="/usr/lib"
   10517   need_lib_prefix=no
   10518   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10519   case $host_os in
   10520     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10521     *)				need_version=no  ;;
   10522   esac
   10523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10524   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10525   shlibpath_var=LD_LIBRARY_PATH
   10526   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10527     case $host_os in
   10528       openbsd2.[89] | openbsd2.[89].*)
   10529 	shlibpath_overrides_runpath=no
   10530 	;;
   10531       *)
   10532 	shlibpath_overrides_runpath=yes
   10533 	;;
   10534       esac
   10535   else
   10536     shlibpath_overrides_runpath=yes
   10537   fi
   10538   ;;
   10539 
   10540 os2*)
   10541   libname_spec='$name'
   10542   shrext_cmds=".dll"
   10543   need_lib_prefix=no
   10544   library_names_spec='$libname${shared_ext} $libname.a'
   10545   dynamic_linker='OS/2 ld.exe'
   10546   shlibpath_var=LIBPATH
   10547   ;;
   10548 
   10549 osf3* | osf4* | osf5*)
   10550   version_type=osf
   10551   need_lib_prefix=no
   10552   need_version=no
   10553   soname_spec='${libname}${release}${shared_ext}$major'
   10554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10555   shlibpath_var=LD_LIBRARY_PATH
   10556   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10557   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10558   ;;
   10559 
   10560 rdos*)
   10561   dynamic_linker=no
   10562   ;;
   10563 
   10564 solaris*)
   10565   version_type=linux
   10566   need_lib_prefix=no
   10567   need_version=no
   10568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10569   soname_spec='${libname}${release}${shared_ext}$major'
   10570   shlibpath_var=LD_LIBRARY_PATH
   10571   shlibpath_overrides_runpath=yes
   10572   hardcode_into_libs=yes
   10573   # ldd complains unless libraries are executable
   10574   postinstall_cmds='chmod +x $lib'
   10575   ;;
   10576 
   10577 sunos4*)
   10578   version_type=sunos
   10579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10580   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10581   shlibpath_var=LD_LIBRARY_PATH
   10582   shlibpath_overrides_runpath=yes
   10583   if test "$with_gnu_ld" = yes; then
   10584     need_lib_prefix=no
   10585   fi
   10586   need_version=yes
   10587   ;;
   10588 
   10589 sysv4 | sysv4.3*)
   10590   version_type=linux
   10591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10592   soname_spec='${libname}${release}${shared_ext}$major'
   10593   shlibpath_var=LD_LIBRARY_PATH
   10594   case $host_vendor in
   10595     sni)
   10596       shlibpath_overrides_runpath=no
   10597       need_lib_prefix=no
   10598       runpath_var=LD_RUN_PATH
   10599       ;;
   10600     siemens)
   10601       need_lib_prefix=no
   10602       ;;
   10603     motorola)
   10604       need_lib_prefix=no
   10605       need_version=no
   10606       shlibpath_overrides_runpath=no
   10607       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10608       ;;
   10609   esac
   10610   ;;
   10611 
   10612 sysv4*MP*)
   10613   if test -d /usr/nec ;then
   10614     version_type=linux
   10615     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10616     soname_spec='$libname${shared_ext}.$major'
   10617     shlibpath_var=LD_LIBRARY_PATH
   10618   fi
   10619   ;;
   10620 
   10621 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10622   version_type=freebsd-elf
   10623   need_lib_prefix=no
   10624   need_version=no
   10625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10626   soname_spec='${libname}${release}${shared_ext}$major'
   10627   shlibpath_var=LD_LIBRARY_PATH
   10628   shlibpath_overrides_runpath=yes
   10629   hardcode_into_libs=yes
   10630   if test "$with_gnu_ld" = yes; then
   10631     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10632   else
   10633     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10634     case $host_os in
   10635       sco3.2v5*)
   10636         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10637 	;;
   10638     esac
   10639   fi
   10640   sys_lib_dlsearch_path_spec='/usr/lib'
   10641   ;;
   10642 
   10643 tpf*)
   10644   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10645   version_type=linux
   10646   need_lib_prefix=no
   10647   need_version=no
   10648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10649   shlibpath_var=LD_LIBRARY_PATH
   10650   shlibpath_overrides_runpath=no
   10651   hardcode_into_libs=yes
   10652   ;;
   10653 
   10654 uts4*)
   10655   version_type=linux
   10656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10657   soname_spec='${libname}${release}${shared_ext}$major'
   10658   shlibpath_var=LD_LIBRARY_PATH
   10659   ;;
   10660 
   10661 *)
   10662   dynamic_linker=no
   10663   ;;
   10664 esac
   10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10666 $as_echo "$dynamic_linker" >&6; }
   10667 test "$dynamic_linker" = no && can_build_shared=no
   10668 
   10669 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10670 if test "$GCC" = yes; then
   10671   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10672 fi
   10673 
   10674 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10675   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10676 fi
   10677 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10678   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10679 fi
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10773 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10774 hardcode_action=
   10775 if test -n "$hardcode_libdir_flag_spec" ||
   10776    test -n "$runpath_var" ||
   10777    test "X$hardcode_automatic" = "Xyes" ; then
   10778 
   10779   # We can hardcode non-existent directories.
   10780   if test "$hardcode_direct" != no &&
   10781      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10782      # have to relink, otherwise we might link with an installed library
   10783      # when we should be linking with a yet-to-be-installed one
   10784      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10785      test "$hardcode_minus_L" != no; then
   10786     # Linking always hardcodes the temporary library directory.
   10787     hardcode_action=relink
   10788   else
   10789     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10790     hardcode_action=immediate
   10791   fi
   10792 else
   10793   # We cannot hardcode anything, or else we can only hardcode existing
   10794   # directories.
   10795   hardcode_action=unsupported
   10796 fi
   10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10798 $as_echo "$hardcode_action" >&6; }
   10799 
   10800 if test "$hardcode_action" = relink ||
   10801    test "$inherit_rpath" = yes; then
   10802   # Fast installation is not supported
   10803   enable_fast_install=no
   10804 elif test "$shlibpath_overrides_runpath" = yes ||
   10805      test "$enable_shared" = no; then
   10806   # Fast installation is not necessary
   10807   enable_fast_install=needless
   10808 fi
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815   if test "x$enable_dlopen" != xyes; then
   10816   enable_dlopen=unknown
   10817   enable_dlopen_self=unknown
   10818   enable_dlopen_self_static=unknown
   10819 else
   10820   lt_cv_dlopen=no
   10821   lt_cv_dlopen_libs=
   10822 
   10823   case $host_os in
   10824   beos*)
   10825     lt_cv_dlopen="load_add_on"
   10826     lt_cv_dlopen_libs=
   10827     lt_cv_dlopen_self=yes
   10828     ;;
   10829 
   10830   mingw* | pw32* | cegcc*)
   10831     lt_cv_dlopen="LoadLibrary"
   10832     lt_cv_dlopen_libs=
   10833     ;;
   10834 
   10835   cygwin*)
   10836     lt_cv_dlopen="dlopen"
   10837     lt_cv_dlopen_libs=
   10838     ;;
   10839 
   10840   darwin*)
   10841   # if libdl is installed we need to link against it
   10842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10843 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10844 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10845   $as_echo_n "(cached) " >&6
   10846 else
   10847   ac_check_lib_save_LIBS=$LIBS
   10848 LIBS="-ldl  $LIBS"
   10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10850 /* end confdefs.h.  */
   10851 
   10852 /* Override any GCC internal prototype to avoid an error.
   10853    Use char because int might match the return type of a GCC
   10854    builtin and then its argument prototype would still apply.  */
   10855 #ifdef __cplusplus
   10856 extern "C"
   10857 #endif
   10858 char dlopen ();
   10859 int
   10860 main ()
   10861 {
   10862 return dlopen ();
   10863   ;
   10864   return 0;
   10865 }
   10866 _ACEOF
   10867 if ac_fn_c_try_link "$LINENO"; then :
   10868   ac_cv_lib_dl_dlopen=yes
   10869 else
   10870   ac_cv_lib_dl_dlopen=no
   10871 fi
   10872 rm -f core conftest.err conftest.$ac_objext \
   10873     conftest$ac_exeext conftest.$ac_ext
   10874 LIBS=$ac_check_lib_save_LIBS
   10875 fi
   10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10877 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10878 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10879   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10880 else
   10881 
   10882     lt_cv_dlopen="dyld"
   10883     lt_cv_dlopen_libs=
   10884     lt_cv_dlopen_self=yes
   10885 
   10886 fi
   10887 
   10888     ;;
   10889 
   10890   *)
   10891     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10892 if test "x$ac_cv_func_shl_load" = xyes; then :
   10893   lt_cv_dlopen="shl_load"
   10894 else
   10895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10896 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10897 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10898   $as_echo_n "(cached) " >&6
   10899 else
   10900   ac_check_lib_save_LIBS=$LIBS
   10901 LIBS="-ldld  $LIBS"
   10902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10903 /* end confdefs.h.  */
   10904 
   10905 /* Override any GCC internal prototype to avoid an error.
   10906    Use char because int might match the return type of a GCC
   10907    builtin and then its argument prototype would still apply.  */
   10908 #ifdef __cplusplus
   10909 extern "C"
   10910 #endif
   10911 char shl_load ();
   10912 int
   10913 main ()
   10914 {
   10915 return shl_load ();
   10916   ;
   10917   return 0;
   10918 }
   10919 _ACEOF
   10920 if ac_fn_c_try_link "$LINENO"; then :
   10921   ac_cv_lib_dld_shl_load=yes
   10922 else
   10923   ac_cv_lib_dld_shl_load=no
   10924 fi
   10925 rm -f core conftest.err conftest.$ac_objext \
   10926     conftest$ac_exeext conftest.$ac_ext
   10927 LIBS=$ac_check_lib_save_LIBS
   10928 fi
   10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10930 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10931 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10932   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10933 else
   10934   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10935 if test "x$ac_cv_func_dlopen" = xyes; then :
   10936   lt_cv_dlopen="dlopen"
   10937 else
   10938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10939 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10940 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10941   $as_echo_n "(cached) " >&6
   10942 else
   10943   ac_check_lib_save_LIBS=$LIBS
   10944 LIBS="-ldl  $LIBS"
   10945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10946 /* end confdefs.h.  */
   10947 
   10948 /* Override any GCC internal prototype to avoid an error.
   10949    Use char because int might match the return type of a GCC
   10950    builtin and then its argument prototype would still apply.  */
   10951 #ifdef __cplusplus
   10952 extern "C"
   10953 #endif
   10954 char dlopen ();
   10955 int
   10956 main ()
   10957 {
   10958 return dlopen ();
   10959   ;
   10960   return 0;
   10961 }
   10962 _ACEOF
   10963 if ac_fn_c_try_link "$LINENO"; then :
   10964   ac_cv_lib_dl_dlopen=yes
   10965 else
   10966   ac_cv_lib_dl_dlopen=no
   10967 fi
   10968 rm -f core conftest.err conftest.$ac_objext \
   10969     conftest$ac_exeext conftest.$ac_ext
   10970 LIBS=$ac_check_lib_save_LIBS
   10971 fi
   10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10973 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10974 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10975   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10976 else
   10977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10978 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10979 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10980   $as_echo_n "(cached) " >&6
   10981 else
   10982   ac_check_lib_save_LIBS=$LIBS
   10983 LIBS="-lsvld  $LIBS"
   10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10985 /* end confdefs.h.  */
   10986 
   10987 /* Override any GCC internal prototype to avoid an error.
   10988    Use char because int might match the return type of a GCC
   10989    builtin and then its argument prototype would still apply.  */
   10990 #ifdef __cplusplus
   10991 extern "C"
   10992 #endif
   10993 char dlopen ();
   10994 int
   10995 main ()
   10996 {
   10997 return dlopen ();
   10998   ;
   10999   return 0;
   11000 }
   11001 _ACEOF
   11002 if ac_fn_c_try_link "$LINENO"; then :
   11003   ac_cv_lib_svld_dlopen=yes
   11004 else
   11005   ac_cv_lib_svld_dlopen=no
   11006 fi
   11007 rm -f core conftest.err conftest.$ac_objext \
   11008     conftest$ac_exeext conftest.$ac_ext
   11009 LIBS=$ac_check_lib_save_LIBS
   11010 fi
   11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11012 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11013 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11014   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11015 else
   11016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11017 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11018 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11019   $as_echo_n "(cached) " >&6
   11020 else
   11021   ac_check_lib_save_LIBS=$LIBS
   11022 LIBS="-ldld  $LIBS"
   11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11024 /* end confdefs.h.  */
   11025 
   11026 /* Override any GCC internal prototype to avoid an error.
   11027    Use char because int might match the return type of a GCC
   11028    builtin and then its argument prototype would still apply.  */
   11029 #ifdef __cplusplus
   11030 extern "C"
   11031 #endif
   11032 char dld_link ();
   11033 int
   11034 main ()
   11035 {
   11036 return dld_link ();
   11037   ;
   11038   return 0;
   11039 }
   11040 _ACEOF
   11041 if ac_fn_c_try_link "$LINENO"; then :
   11042   ac_cv_lib_dld_dld_link=yes
   11043 else
   11044   ac_cv_lib_dld_dld_link=no
   11045 fi
   11046 rm -f core conftest.err conftest.$ac_objext \
   11047     conftest$ac_exeext conftest.$ac_ext
   11048 LIBS=$ac_check_lib_save_LIBS
   11049 fi
   11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11051 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11052 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11053   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11054 fi
   11055 
   11056 
   11057 fi
   11058 
   11059 
   11060 fi
   11061 
   11062 
   11063 fi
   11064 
   11065 
   11066 fi
   11067 
   11068 
   11069 fi
   11070 
   11071     ;;
   11072   esac
   11073 
   11074   if test "x$lt_cv_dlopen" != xno; then
   11075     enable_dlopen=yes
   11076   else
   11077     enable_dlopen=no
   11078   fi
   11079 
   11080   case $lt_cv_dlopen in
   11081   dlopen)
   11082     save_CPPFLAGS="$CPPFLAGS"
   11083     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11084 
   11085     save_LDFLAGS="$LDFLAGS"
   11086     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11087 
   11088     save_LIBS="$LIBS"
   11089     LIBS="$lt_cv_dlopen_libs $LIBS"
   11090 
   11091     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11092 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11093 if ${lt_cv_dlopen_self+:} false; then :
   11094   $as_echo_n "(cached) " >&6
   11095 else
   11096   	  if test "$cross_compiling" = yes; then :
   11097   lt_cv_dlopen_self=cross
   11098 else
   11099   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11100   lt_status=$lt_dlunknown
   11101   cat > conftest.$ac_ext <<_LT_EOF
   11102 #line $LINENO "configure"
   11103 #include "confdefs.h"
   11104 
   11105 #if HAVE_DLFCN_H
   11106 #include <dlfcn.h>
   11107 #endif
   11108 
   11109 #include <stdio.h>
   11110 
   11111 #ifdef RTLD_GLOBAL
   11112 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11113 #else
   11114 #  ifdef DL_GLOBAL
   11115 #    define LT_DLGLOBAL		DL_GLOBAL
   11116 #  else
   11117 #    define LT_DLGLOBAL		0
   11118 #  endif
   11119 #endif
   11120 
   11121 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11122    find out it does not work in some platform. */
   11123 #ifndef LT_DLLAZY_OR_NOW
   11124 #  ifdef RTLD_LAZY
   11125 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11126 #  else
   11127 #    ifdef DL_LAZY
   11128 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11129 #    else
   11130 #      ifdef RTLD_NOW
   11131 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11132 #      else
   11133 #        ifdef DL_NOW
   11134 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11135 #        else
   11136 #          define LT_DLLAZY_OR_NOW	0
   11137 #        endif
   11138 #      endif
   11139 #    endif
   11140 #  endif
   11141 #endif
   11142 
   11143 /* When -fvisbility=hidden is used, assume the code has been annotated
   11144    correspondingly for the symbols needed.  */
   11145 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11146 int fnord () __attribute__((visibility("default")));
   11147 #endif
   11148 
   11149 int fnord () { return 42; }
   11150 int main ()
   11151 {
   11152   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11153   int status = $lt_dlunknown;
   11154 
   11155   if (self)
   11156     {
   11157       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11158       else
   11159         {
   11160 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11161           else puts (dlerror ());
   11162 	}
   11163       /* dlclose (self); */
   11164     }
   11165   else
   11166     puts (dlerror ());
   11167 
   11168   return status;
   11169 }
   11170 _LT_EOF
   11171   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11172   (eval $ac_link) 2>&5
   11173   ac_status=$?
   11174   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11175   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11176     (./conftest; exit; ) >&5 2>/dev/null
   11177     lt_status=$?
   11178     case x$lt_status in
   11179       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11180       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11181       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11182     esac
   11183   else :
   11184     # compilation failed
   11185     lt_cv_dlopen_self=no
   11186   fi
   11187 fi
   11188 rm -fr conftest*
   11189 
   11190 
   11191 fi
   11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11193 $as_echo "$lt_cv_dlopen_self" >&6; }
   11194 
   11195     if test "x$lt_cv_dlopen_self" = xyes; then
   11196       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11197       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11198 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11199 if ${lt_cv_dlopen_self_static+:} false; then :
   11200   $as_echo_n "(cached) " >&6
   11201 else
   11202   	  if test "$cross_compiling" = yes; then :
   11203   lt_cv_dlopen_self_static=cross
   11204 else
   11205   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11206   lt_status=$lt_dlunknown
   11207   cat > conftest.$ac_ext <<_LT_EOF
   11208 #line $LINENO "configure"
   11209 #include "confdefs.h"
   11210 
   11211 #if HAVE_DLFCN_H
   11212 #include <dlfcn.h>
   11213 #endif
   11214 
   11215 #include <stdio.h>
   11216 
   11217 #ifdef RTLD_GLOBAL
   11218 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11219 #else
   11220 #  ifdef DL_GLOBAL
   11221 #    define LT_DLGLOBAL		DL_GLOBAL
   11222 #  else
   11223 #    define LT_DLGLOBAL		0
   11224 #  endif
   11225 #endif
   11226 
   11227 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11228    find out it does not work in some platform. */
   11229 #ifndef LT_DLLAZY_OR_NOW
   11230 #  ifdef RTLD_LAZY
   11231 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11232 #  else
   11233 #    ifdef DL_LAZY
   11234 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11235 #    else
   11236 #      ifdef RTLD_NOW
   11237 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11238 #      else
   11239 #        ifdef DL_NOW
   11240 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11241 #        else
   11242 #          define LT_DLLAZY_OR_NOW	0
   11243 #        endif
   11244 #      endif
   11245 #    endif
   11246 #  endif
   11247 #endif
   11248 
   11249 /* When -fvisbility=hidden is used, assume the code has been annotated
   11250    correspondingly for the symbols needed.  */
   11251 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11252 int fnord () __attribute__((visibility("default")));
   11253 #endif
   11254 
   11255 int fnord () { return 42; }
   11256 int main ()
   11257 {
   11258   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11259   int status = $lt_dlunknown;
   11260 
   11261   if (self)
   11262     {
   11263       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11264       else
   11265         {
   11266 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11267           else puts (dlerror ());
   11268 	}
   11269       /* dlclose (self); */
   11270     }
   11271   else
   11272     puts (dlerror ());
   11273 
   11274   return status;
   11275 }
   11276 _LT_EOF
   11277   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11278   (eval $ac_link) 2>&5
   11279   ac_status=$?
   11280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11281   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11282     (./conftest; exit; ) >&5 2>/dev/null
   11283     lt_status=$?
   11284     case x$lt_status in
   11285       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11286       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11287       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11288     esac
   11289   else :
   11290     # compilation failed
   11291     lt_cv_dlopen_self_static=no
   11292   fi
   11293 fi
   11294 rm -fr conftest*
   11295 
   11296 
   11297 fi
   11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11299 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11300     fi
   11301 
   11302     CPPFLAGS="$save_CPPFLAGS"
   11303     LDFLAGS="$save_LDFLAGS"
   11304     LIBS="$save_LIBS"
   11305     ;;
   11306   esac
   11307 
   11308   case $lt_cv_dlopen_self in
   11309   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11310   *) enable_dlopen_self=unknown ;;
   11311   esac
   11312 
   11313   case $lt_cv_dlopen_self_static in
   11314   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11315   *) enable_dlopen_self_static=unknown ;;
   11316   esac
   11317 fi
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 striplib=
   11336 old_striplib=
   11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11338 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11339 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11340   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11341   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11343 $as_echo "yes" >&6; }
   11344 else
   11345 # FIXME - insert some real tests, host_os isn't really good enough
   11346   case $host_os in
   11347   darwin*)
   11348     if test -n "$STRIP" ; then
   11349       striplib="$STRIP -x"
   11350       old_striplib="$STRIP -S"
   11351       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11352 $as_echo "yes" >&6; }
   11353     else
   11354       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11355 $as_echo "no" >&6; }
   11356     fi
   11357     ;;
   11358   *)
   11359     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11360 $as_echo "no" >&6; }
   11361     ;;
   11362   esac
   11363 fi
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376   # Report which library types will actually be built
   11377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11378 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11380 $as_echo "$can_build_shared" >&6; }
   11381 
   11382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11383 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11384   test "$can_build_shared" = "no" && enable_shared=no
   11385 
   11386   # On AIX, shared libraries and static libraries use the same namespace, and
   11387   # are all built from PIC.
   11388   case $host_os in
   11389   aix3*)
   11390     test "$enable_shared" = yes && enable_static=no
   11391     if test -n "$RANLIB"; then
   11392       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11393       postinstall_cmds='$RANLIB $lib'
   11394     fi
   11395     ;;
   11396 
   11397   aix[4-9]*)
   11398     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11399       test "$enable_shared" = yes && enable_static=no
   11400     fi
   11401     ;;
   11402   esac
   11403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11404 $as_echo "$enable_shared" >&6; }
   11405 
   11406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11407 $as_echo_n "checking whether to build static libraries... " >&6; }
   11408   # Make sure either enable_shared or enable_static is yes.
   11409   test "$enable_shared" = yes || enable_static=yes
   11410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11411 $as_echo "$enable_static" >&6; }
   11412 
   11413 
   11414 
   11415 
   11416 fi
   11417 ac_ext=c
   11418 ac_cpp='$CPP $CPPFLAGS'
   11419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11422 
   11423 CC="$lt_save_CC"
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437         ac_config_commands="$ac_config_commands libtool"
   11438 
   11439 
   11440 
   11441 
   11442 # Only expand once:
   11443 
   11444 
   11445 AM_CPPFLAGS="$CPPFLAGS"
   11446 
   11447 gp_config_msg_len="$(expr "Compiler" : '.*')"
   11448 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
   11449 	gp_config_msg_lhs="$(expr "Compiler" : "\(.\{0,${gp_config_len3}\}\)")..:"
   11450 else
   11451 	gp_config_msg_lhs="$(expr "Compiler:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
   11452 fi
   11453 gp_config_msg="${gp_config_msg}    ${gp_config_msg_lhs} ${CC}
   11454 "
   11455 
   11456 
   11457 
   11458 
   11459 ac_dir=`echo "libexif/_stdint.h"|sed 's%/[^/][^/]*$%%'`
   11460 if test "$ac_dir" != "libexif/_stdint.h" && test "$ac_dir" != .; then
   11461   # The file is in a subdirectory.
   11462   test ! -d "$ac_dir" && mkdir "$ac_dir"
   11463 fi
   11464 
   11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in stdint.h" >&5
   11466 $as_echo_n "checking for uint8_t in stdint.h... " >&6; }
   11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11468 /* end confdefs.h.  */
   11469 #include <stdint.h>
   11470 _ACEOF
   11471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11472   $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
   11473   ac_cv_type_uint8_t=yes
   11474 else
   11475   ac_cv_type_uint8_t=no
   11476 fi
   11477 rm -f conftest*
   11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5
   11479 $as_echo "$ac_cv_type_uint8_t" >&6; }
   11480 if test $ac_cv_type_uint8_t = yes; then
   11481 
   11482 cat > "libexif/_stdint.h" <<EOF
   11483 /* This file is generated automatically by configure */
   11484 #include <stdint.h>
   11485 EOF
   11486 else
   11487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in inttypes.h" >&5
   11488 $as_echo_n "checking for uint8_t in inttypes.h... " >&6; }
   11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11490 /* end confdefs.h.  */
   11491 #include <inttypes.h>
   11492 _ACEOF
   11493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11494   $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
   11495   ac_cv_type_uint8_t=yes
   11496 else
   11497   ac_cv_type_uint8_t=no
   11498 fi
   11499 rm -f conftest*
   11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5
   11501 $as_echo "$ac_cv_type_uint8_t" >&6; }
   11502 if test $ac_cv_type_uint8_t = yes; then
   11503   cat > "libexif/_stdint.h" <<EOF
   11504 /* This file is generated automatically by configure */
   11505 #include <inttypes.h>
   11506 EOF
   11507 else
   11508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in sys/types.h" >&5
   11509 $as_echo_n "checking for uint8_t in sys/types.h... " >&6; }
   11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11511 /* end confdefs.h.  */
   11512 #include <sys/types.h>
   11513 _ACEOF
   11514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11515   $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
   11516   ac_cv_type_uint8_t=yes
   11517 else
   11518   ac_cv_type_uint8_t=no
   11519 fi
   11520 rm -f conftest*
   11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5
   11522 $as_echo "$ac_cv_type_uint8_t" >&6; }
   11523 if test $ac_cv_type_uint8_t = yes; then
   11524   cat > "libexif/_stdint.h" <<EOF
   11525 /* This file is generated automatically by configure */
   11526 #include <sys/types.h>
   11527 EOF
   11528 else
   11529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int8_t in sys/types.h" >&5
   11530 $as_echo_n "checking for u_int8_t in sys/types.h... " >&6; }
   11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11532 /* end confdefs.h.  */
   11533 #include <sys/types.h>
   11534 _ACEOF
   11535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11536   $EGREP "(^|[^a-zA-Z_0-9])u_int8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
   11537   ac_cv_type_u_int8_t=yes
   11538 else
   11539   ac_cv_type_u_int8_t=no
   11540 fi
   11541 rm -f conftest*
   11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_u_int8_t" >&5
   11543 $as_echo "$ac_cv_type_u_int8_t" >&6; }
   11544 if test $ac_cv_type_u_int8_t = yes; then
   11545   cat > "libexif/_stdint.h" <<EOF
   11546 /* This file is generated automatically by configure */
   11547 #ifndef __STDINT_H
   11548 #define __STDINT_H
   11549 #include <sys/types.h>
   11550 typedef u_int8_t uint8_t;
   11551 typedef u_int16_t uint16_t;
   11552 typedef u_int32_t uint32_t;
   11553 EOF
   11554 
   11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int64_t in sys/types.h" >&5
   11556 $as_echo_n "checking for u_int64_t in sys/types.h... " >&6; }
   11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11558 /* end confdefs.h.  */
   11559 #include <sys/types.h>
   11560 _ACEOF
   11561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11562   $EGREP "(^|[^a-zA-Z_0-9])u_int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
   11563   ac_cv_type_u_int64_t=yes
   11564 else
   11565   ac_cv_type_u_int64_t=no
   11566 fi
   11567 rm -f conftest*
   11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_u_int64_t" >&5
   11569 $as_echo "$ac_cv_type_u_int64_t" >&6; }
   11570 if test $ac_cv_type_u_int64_t = yes; then
   11571   cat >> "libexif/_stdint.h" <<EOF
   11572 typedef u_int64_t uint64_t;
   11573 #endif /*!__STDINT_H*/
   11574 EOF
   11575 else
   11576   cat >> "libexif/_stdint.h" <<EOF
   11577 /* 64-bit types are not available on this system */
   11578 /* typedef u_int64_t uint64_t; */
   11579 #endif /*!__STDINT_H*/
   11580 EOF
   11581 fi
   11582 
   11583 
   11584 
   11585 else
   11586   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I can't find size-specific integer definitions on this system" >&5
   11587 $as_echo "$as_me: WARNING: I can't find size-specific integer definitions on this system" >&2;}
   11588 if test -e "libexif/_stdint.h" ; then
   11589 	rm -f "libexif/_stdint.h"
   11590 fi
   11591 
   11592 fi
   11593 
   11594 fi
   11595 
   11596 fi
   11597 
   11598 fi
   11599 
   11600 
   11601 
   11602 
   11603 ship_binaries=false
   11604 # Check whether --enable-ship-binaries was given.
   11605 if test "${enable_ship_binaries+set}" = set; then :
   11606   enableval=$enable_ship_binaries;
   11607 	if test x$enableval = xyes; then
   11608 		ship_binaries=true
   11609 	fi
   11610 
   11611 fi
   11612 
   11613  if $ship_binaries; then
   11614   SHIP_BINARIES_TRUE=
   11615   SHIP_BINARIES_FALSE='#'
   11616 else
   11617   SHIP_BINARIES_TRUE='#'
   11618   SHIP_BINARIES_FALSE=
   11619 fi
   11620 
   11621 
   11622 gp_config_msg_len="$(expr "Ship binaries in tarball" : '.*')"
   11623 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
   11624 	gp_config_msg_lhs="$(expr "Ship binaries in tarball" : "\(.\{0,${gp_config_len3}\}\)")..:"
   11625 else
   11626 	gp_config_msg_lhs="$(expr "Ship binaries in tarball:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
   11627 fi
   11628 gp_config_msg="${gp_config_msg}    ${gp_config_msg_lhs} $ship_binaries
   11629 "
   11630 
   11631 
   11632 
   11633 
   11634 # we need sqrt and pow which may be in libm
   11635 # We cannot use AC_CHECK_FUNC because if CFLAGS contains
   11636 # -Wall -Werror here the check fails because
   11637 # char *sqrt() conflicts with double sqrt(double xx)
   11638 
   11639 # Start by assuming -lm is needed, because it's possible that the little
   11640 # test program below will be optimized to in-line floating point code that
   11641 # doesn't require -lm, whereas the library itself cannot be so optimized
   11642 # (this actually seems to be the case on x86 with gcc 4.2). Assuming the
   11643 # reverse means that -lm could be needed but wouldn't be detected below.
   11644 
   11645 LIBS_orig="$LIBS"
   11646 LIBS="$LIBS -lm"
   11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math functions in libm" >&5
   11648 $as_echo_n "checking for math functions in libm... " >&6; }
   11649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11650 /* end confdefs.h.  */
   11651 
   11652 	#include <math.h>
   11653 	int main() {
   11654 	  double s = sqrt(0);
   11655 	  double p = pow(s,s);
   11656 	  return (int)p;
   11657 	}
   11658 
   11659 _ACEOF
   11660 if ac_fn_c_try_link "$LINENO"; then :
   11661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11662 $as_echo "yes" >&6; }
   11663 else
   11664 
   11665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11666 $as_echo "no" >&6; }
   11667 	LIBS="$LIBS_orig"
   11668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for math functions without libm" >&5
   11669 $as_echo_n "checking for math functions without libm... " >&6; }
   11670 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11671 /* end confdefs.h.  */
   11672 
   11673 		#include <math.h>
   11674 		int main() {
   11675 		  double s = sqrt(0);
   11676 		  double p = pow(s,s);
   11677 		  return (int)p;
   11678 		}
   11679 
   11680 _ACEOF
   11681 if ac_fn_c_try_link "$LINENO"; then :
   11682 
   11683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11684 $as_echo "yes" >&6; }
   11685 
   11686 else
   11687 
   11688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11689 $as_echo "no" >&6; }
   11690 		as_fn_error $? "*** Could not find sqrt() & pow() functions" "$LINENO" 5
   11691 
   11692 fi
   11693 rm -f core conftest.err conftest.$ac_objext \
   11694     conftest$ac_exeext conftest.$ac_ext
   11695 
   11696 fi
   11697 rm -f core conftest.err conftest.$ac_objext \
   11698     conftest$ac_exeext conftest.$ac_ext
   11699 
   11700 # doc support
   11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build any docs" >&5
   11702 $as_echo_n "checking whether to build any docs... " >&6; }
   11703 # Check whether --enable-docs was given.
   11704 if test "${enable_docs+set}" = set; then :
   11705   enableval=$enable_docs; case "$enableval" in
   11706 	yes|true|on) gp_build_docs="yes" ;;
   11707 	*) gp_build_docs="no" ;;
   11708 esac
   11709 
   11710 else
   11711   gp_build_docs="yes"
   11712 
   11713 fi
   11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gp_build_docs}" >&5
   11715 $as_echo "${gp_build_docs}" >&6; }
   11716  if test "x${gp_build_docs}" = "xyes"; then
   11717   BUILD_DOCS_TRUE=
   11718   BUILD_DOCS_FALSE='#'
   11719 else
   11720   BUILD_DOCS_TRUE='#'
   11721   BUILD_DOCS_FALSE=
   11722 fi
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 # Check whether --with-doc-dir was given.
   11729 if test "${with_doc_dir+set}" = set; then :
   11730   withval=$with_doc_dir;
   11731 fi
   11732 
   11733 
   11734 # check for the main ("root") documentation directory
   11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking main docdir" >&5
   11736 $as_echo_n "checking main docdir... " >&6; }
   11737 
   11738 if test "x${with_doc_dir}" != "x"
   11739 then # docdir is given as parameter
   11740     docdir="${with_doc_dir}"
   11741     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (from parameter)" >&5
   11742 $as_echo "${docdir} (from parameter)" >&6; }
   11743 else # otherwise invent a docdir hopefully compatible with system policy
   11744     if test -d "/usr/share/doc"
   11745     then
   11746         maindocdir='${prefix}/share/doc'
   11747         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (FHS style)" >&5
   11748 $as_echo "${maindocdir} (FHS style)" >&6; }
   11749     elif test -d "/usr/doc"
   11750     then
   11751         maindocdir='${prefix}/doc'
   11752         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (old style)" >&5
   11753 $as_echo "${maindocdir} (old style)" >&6; }
   11754     else
   11755         maindocdir='${datadir}/doc'
   11756         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (default value)" >&5
   11757 $as_echo "${maindocdir} (default value)" >&6; }
   11758     fi
   11759     { $as_echo "$as_me:${as_lineno-$LINENO}: checking package docdir" >&5
   11760 $as_echo_n "checking package docdir... " >&6; }
   11761     # check whether to include package version into documentation path
   11762     # FIXME: doesn't work properly.
   11763     if ls -d /usr/{share/,}doc/make-0-9* > /dev/null 2>&1
   11764     then
   11765         docdir="${maindocdir}/${PACKAGE}-${VERSION}"
   11766         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (redhat style)" >&5
   11767 $as_echo "${docdir} (redhat style)" >&6; }
   11768     else
   11769         docdir="${maindocdir}/${PACKAGE}"
   11770         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (default style)" >&5
   11771 $as_echo "${docdir} (default style)" >&6; }
   11772     fi
   11773 fi
   11774 
   11775 
   11776 
   11777 # Extract the first word of "dot", so it can be a program name with args.
   11778 set dummy dot; ac_word=$2
   11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11780 $as_echo_n "checking for $ac_word... " >&6; }
   11781 if ${ac_cv_path_DOT+:} false; then :
   11782   $as_echo_n "(cached) " >&6
   11783 else
   11784   case $DOT in
   11785   [\\/]* | ?:[\\/]*)
   11786   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
   11787   ;;
   11788   *)
   11789   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11790 for as_dir in $PATH
   11791 do
   11792   IFS=$as_save_IFS
   11793   test -z "$as_dir" && as_dir=.
   11794     for ac_exec_ext in '' $ac_executable_extensions; do
   11795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11796     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
   11797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11798     break 2
   11799   fi
   11800 done
   11801   done
   11802 IFS=$as_save_IFS
   11803 
   11804   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
   11805   ;;
   11806 esac
   11807 fi
   11808 DOT=$ac_cv_path_DOT
   11809 if test -n "$DOT"; then
   11810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
   11811 $as_echo "$DOT" >&6; }
   11812 else
   11813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11814 $as_echo "no" >&6; }
   11815 fi
   11816 
   11817 
   11818 # Extract the first word of "doxygen", so it can be a program name with args.
   11819 set dummy doxygen; ac_word=$2
   11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11821 $as_echo_n "checking for $ac_word... " >&6; }
   11822 if ${ac_cv_path_DOXYGEN+:} false; then :
   11823   $as_echo_n "(cached) " >&6
   11824 else
   11825   case $DOXYGEN in
   11826   [\\/]* | ?:[\\/]*)
   11827   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   11828   ;;
   11829   *)
   11830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11831 for as_dir in $PATH
   11832 do
   11833   IFS=$as_save_IFS
   11834   test -z "$as_dir" && as_dir=.
   11835     for ac_exec_ext in '' $ac_executable_extensions; do
   11836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11837     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   11838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11839     break 2
   11840   fi
   11841 done
   11842   done
   11843 IFS=$as_save_IFS
   11844 
   11845   test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="false"
   11846   ;;
   11847 esac
   11848 fi
   11849 DOXYGEN=$ac_cv_path_DOXYGEN
   11850 if test -n "$DOXYGEN"; then
   11851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   11852 $as_echo "$DOXYGEN" >&6; }
   11853 else
   11854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11855 $as_echo "no" >&6; }
   11856 fi
   11857 
   11858 
   11859  if test "x$DOXYGEN" != "xfalse"; then
   11860   HAVE_DOXYGEN_TRUE=
   11861   HAVE_DOXYGEN_FALSE='#'
   11862 else
   11863   HAVE_DOXYGEN_TRUE='#'
   11864   HAVE_DOXYGEN_FALSE=
   11865 fi
   11866 
   11867  if test "x$DOT" != "xfalse"; then
   11868   HAVE_DOT_TRUE=
   11869   HAVE_DOT_FALSE='#'
   11870 else
   11871   HAVE_DOT_TRUE='#'
   11872   HAVE_DOT_FALSE=
   11873 fi
   11874 
   11875 if test "x$DOT" != "xfalse"; then
   11876 	HAVE_DOT=YES
   11877 
   11878 else
   11879 	HAVE_DOT=NO
   11880 
   11881 fi
   11882 HTML_APIDOC_DIR="${PACKAGE_TARNAME}-api.html"
   11883 
   11884 DOXYGEN_OUTPUT_DIR=doxygen-output
   11885 
   11886 HTML_APIDOC_INTERNALS_DIR="${PACKAGE_TARNAME}-internals.html"
   11887 
   11888 
   11889 
   11890 # Whether to enable the internal docs build.
   11891 #
   11892 # This takes quite some time due to the generation of lots of call
   11893 # graphs, so it is disabled by default.
   11894 set_enable_internal_docs=no
   11895 # Check whether --enable-internal-docs was given.
   11896 if test "${enable_internal_docs+set}" = set; then :
   11897   enableval=$enable_internal_docs;   if   test "x$enableval" = xno \
   11898     || test "x$enableval" = xoff \
   11899     || test "x$enableval" = xfalse;
   11900   then
   11901     set_enable_internal_docs=no
   11902   elif test "x$enableval" = xyes \
   11903     || test "x$enableval" = xon \
   11904     || test "x$enableval" = xtrue
   11905   then
   11906     set_enable_internal_docs=yes
   11907   fi
   11908 
   11909 fi
   11910 
   11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to create internal code docs" >&5
   11912 $as_echo_n "checking whether to create internal code docs... " >&6; }
   11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${set_enable_internal_docs}" >&5
   11914 $as_echo "${set_enable_internal_docs}" >&6; }
   11915  if test "x${set_enable_internal_docs}" = "xyes"; then
   11916   ENABLE_INTERNAL_DOCS_TRUE=
   11917   ENABLE_INTERNAL_DOCS_FALSE='#'
   11918 else
   11919   ENABLE_INTERNAL_DOCS_TRUE='#'
   11920   ENABLE_INTERNAL_DOCS_FALSE=
   11921 fi
   11922 
   11923 
   11924 
   11925 # ---------------------------------------------------------------------------
   11926 # i18n support
   11927 # ---------------------------------------------------------------------------
   11928 ALL_LINGUAS="be bs cs da de en_AU en_CA en_GB es fr it ja nl pl pt pt_BR ru sk sq sr sv tr uk vi zh_CN"
   11929 
   11930         MKINSTALLDIRS=
   11931   if test -n "$ac_aux_dir"; then
   11932     case "$ac_aux_dir" in
   11933       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   11934       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   11935     esac
   11936   fi
   11937   if test -z "$MKINSTALLDIRS"; then
   11938     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   11939   fi
   11940 
   11941 
   11942 
   11943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   11944 $as_echo_n "checking whether NLS is requested... " >&6; }
   11945     # Check whether --enable-nls was given.
   11946 if test "${enable_nls+set}" = set; then :
   11947   enableval=$enable_nls; USE_NLS=$enableval
   11948 else
   11949   USE_NLS=yes
   11950 fi
   11951 
   11952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   11953 $as_echo "$USE_NLS" >&6; }
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 # Prepare PATH_SEPARATOR.
   11961 # The user is always right.
   11962 if test "${PATH_SEPARATOR+set}" != set; then
   11963   echo "#! /bin/sh" >conf$$.sh
   11964   echo  "exit 0"   >>conf$$.sh
   11965   chmod +x conf$$.sh
   11966   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11967     PATH_SEPARATOR=';'
   11968   else
   11969     PATH_SEPARATOR=:
   11970   fi
   11971   rm -f conf$$.sh
   11972 fi
   11973 
   11974 # Find out how to test for executable files. Don't use a zero-byte file,
   11975 # as systems may use methods other than mode bits to determine executability.
   11976 cat >conf$$.file <<_ASEOF
   11977 #! /bin/sh
   11978 exit 0
   11979 _ASEOF
   11980 chmod +x conf$$.file
   11981 if test -x conf$$.file >/dev/null 2>&1; then
   11982   ac_executable_p="test -x"
   11983 else
   11984   ac_executable_p="test -f"
   11985 fi
   11986 rm -f conf$$.file
   11987 
   11988 # Extract the first word of "msgfmt", so it can be a program name with args.
   11989 set dummy msgfmt; ac_word=$2
   11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11991 $as_echo_n "checking for $ac_word... " >&6; }
   11992 if ${ac_cv_path_MSGFMT+:} false; then :
   11993   $as_echo_n "(cached) " >&6
   11994 else
   11995   case "$MSGFMT" in
   11996   [\\/]* | ?:[\\/]*)
   11997     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   11998     ;;
   11999   *)
   12000     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12001     for ac_dir in $PATH; do
   12002       IFS="$ac_save_IFS"
   12003       test -z "$ac_dir" && ac_dir=.
   12004       for ac_exec_ext in '' $ac_executable_extensions; do
   12005         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12006           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   12007      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12008             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   12009             break 2
   12010           fi
   12011         fi
   12012       done
   12013     done
   12014     IFS="$ac_save_IFS"
   12015   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   12016     ;;
   12017 esac
   12018 fi
   12019 MSGFMT="$ac_cv_path_MSGFMT"
   12020 if test "$MSGFMT" != ":"; then
   12021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   12022 $as_echo "$MSGFMT" >&6; }
   12023 else
   12024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12025 $as_echo "no" >&6; }
   12026 fi
   12027 
   12028   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   12029 set dummy gmsgfmt; ac_word=$2
   12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12031 $as_echo_n "checking for $ac_word... " >&6; }
   12032 if ${ac_cv_path_GMSGFMT+:} false; then :
   12033   $as_echo_n "(cached) " >&6
   12034 else
   12035   case $GMSGFMT in
   12036   [\\/]* | ?:[\\/]*)
   12037   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   12038   ;;
   12039   *)
   12040   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12041 for as_dir in $PATH
   12042 do
   12043   IFS=$as_save_IFS
   12044   test -z "$as_dir" && as_dir=.
   12045     for ac_exec_ext in '' $ac_executable_extensions; do
   12046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12047     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   12048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12049     break 2
   12050   fi
   12051 done
   12052   done
   12053 IFS=$as_save_IFS
   12054 
   12055   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   12056   ;;
   12057 esac
   12058 fi
   12059 GMSGFMT=$ac_cv_path_GMSGFMT
   12060 if test -n "$GMSGFMT"; then
   12061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   12062 $as_echo "$GMSGFMT" >&6; }
   12063 else
   12064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12065 $as_echo "no" >&6; }
   12066 fi
   12067 
   12068 
   12069 
   12070 
   12071 # Prepare PATH_SEPARATOR.
   12072 # The user is always right.
   12073 if test "${PATH_SEPARATOR+set}" != set; then
   12074   echo "#! /bin/sh" >conf$$.sh
   12075   echo  "exit 0"   >>conf$$.sh
   12076   chmod +x conf$$.sh
   12077   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12078     PATH_SEPARATOR=';'
   12079   else
   12080     PATH_SEPARATOR=:
   12081   fi
   12082   rm -f conf$$.sh
   12083 fi
   12084 
   12085 # Find out how to test for executable files. Don't use a zero-byte file,
   12086 # as systems may use methods other than mode bits to determine executability.
   12087 cat >conf$$.file <<_ASEOF
   12088 #! /bin/sh
   12089 exit 0
   12090 _ASEOF
   12091 chmod +x conf$$.file
   12092 if test -x conf$$.file >/dev/null 2>&1; then
   12093   ac_executable_p="test -x"
   12094 else
   12095   ac_executable_p="test -f"
   12096 fi
   12097 rm -f conf$$.file
   12098 
   12099 # Extract the first word of "xgettext", so it can be a program name with args.
   12100 set dummy xgettext; ac_word=$2
   12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12102 $as_echo_n "checking for $ac_word... " >&6; }
   12103 if ${ac_cv_path_XGETTEXT+:} false; then :
   12104   $as_echo_n "(cached) " >&6
   12105 else
   12106   case "$XGETTEXT" in
   12107   [\\/]* | ?:[\\/]*)
   12108     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   12109     ;;
   12110   *)
   12111     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12112     for ac_dir in $PATH; do
   12113       IFS="$ac_save_IFS"
   12114       test -z "$ac_dir" && ac_dir=.
   12115       for ac_exec_ext in '' $ac_executable_extensions; do
   12116         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12117           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12118      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12119             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   12120             break 2
   12121           fi
   12122         fi
   12123       done
   12124     done
   12125     IFS="$ac_save_IFS"
   12126   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   12127     ;;
   12128 esac
   12129 fi
   12130 XGETTEXT="$ac_cv_path_XGETTEXT"
   12131 if test "$XGETTEXT" != ":"; then
   12132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   12133 $as_echo "$XGETTEXT" >&6; }
   12134 else
   12135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12136 $as_echo "no" >&6; }
   12137 fi
   12138 
   12139     rm -f messages.po
   12140 
   12141 
   12142 # Prepare PATH_SEPARATOR.
   12143 # The user is always right.
   12144 if test "${PATH_SEPARATOR+set}" != set; then
   12145   echo "#! /bin/sh" >conf$$.sh
   12146   echo  "exit 0"   >>conf$$.sh
   12147   chmod +x conf$$.sh
   12148   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12149     PATH_SEPARATOR=';'
   12150   else
   12151     PATH_SEPARATOR=:
   12152   fi
   12153   rm -f conf$$.sh
   12154 fi
   12155 
   12156 # Find out how to test for executable files. Don't use a zero-byte file,
   12157 # as systems may use methods other than mode bits to determine executability.
   12158 cat >conf$$.file <<_ASEOF
   12159 #! /bin/sh
   12160 exit 0
   12161 _ASEOF
   12162 chmod +x conf$$.file
   12163 if test -x conf$$.file >/dev/null 2>&1; then
   12164   ac_executable_p="test -x"
   12165 else
   12166   ac_executable_p="test -f"
   12167 fi
   12168 rm -f conf$$.file
   12169 
   12170 # Extract the first word of "msgmerge", so it can be a program name with args.
   12171 set dummy msgmerge; ac_word=$2
   12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12173 $as_echo_n "checking for $ac_word... " >&6; }
   12174 if ${ac_cv_path_MSGMERGE+:} false; then :
   12175   $as_echo_n "(cached) " >&6
   12176 else
   12177   case "$MSGMERGE" in
   12178   [\\/]* | ?:[\\/]*)
   12179     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   12180     ;;
   12181   *)
   12182     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12183     for ac_dir in $PATH; do
   12184       IFS="$ac_save_IFS"
   12185       test -z "$ac_dir" && ac_dir=.
   12186       for ac_exec_ext in '' $ac_executable_extensions; do
   12187         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12188           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   12189             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   12190             break 2
   12191           fi
   12192         fi
   12193       done
   12194     done
   12195     IFS="$ac_save_IFS"
   12196   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   12197     ;;
   12198 esac
   12199 fi
   12200 MSGMERGE="$ac_cv_path_MSGMERGE"
   12201 if test "$MSGMERGE" != ":"; then
   12202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   12203 $as_echo "$MSGMERGE" >&6; }
   12204 else
   12205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12206 $as_echo "no" >&6; }
   12207 fi
   12208 
   12209 
   12210       if test "$GMSGFMT" != ":"; then
   12211             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   12212        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12213       : ;
   12214     else
   12215       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   12216       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   12217 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   12218       GMSGFMT=":"
   12219     fi
   12220   fi
   12221 
   12222       if test "$XGETTEXT" != ":"; then
   12223             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12224        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12225       : ;
   12226     else
   12227       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   12228 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   12229       XGETTEXT=":"
   12230     fi
   12231         rm -f messages.po
   12232   fi
   12233 
   12234   ac_config_commands="$ac_config_commands default-1"
   12235 
   12236 
   12237 
   12238 GETTEXT_PACKAGE="${PACKAGE}-${LIBEXIF_CURRENT_MIN}"
   12239 # The gettext domain we're using
   12240 AM_CPPFLAGS="$AM_CPPFLAGS -DGETTEXT_PACKAGE=\\\"${GETTEXT_PACKAGE}\\\""
   12241 
   12242 sed_cmds="s|^DOMAIN.*|DOMAIN = ${GETTEXT_PACKAGE}|"
   12243 sed_cmds="${sed_cmds};s|^COPYRIGHT_HOLDER.*|COPYRIGHT_HOLDER = Lutz Mueller and others|"
   12244 
   12245 if test -n "$PACKAGE_BUGREPORT"; then
   12246    sed_mb="${PACKAGE_BUGREPORT}"
   12247 else
   12248    as_fn_error $? "
   12249 *** Your configure.{ac,in} is wrong.
   12250 *** Either define PACKAGE_BUGREPORT (by using the 4-parameter AC INIT syntax)
   12251 *** or give GP_GETTEXT_HACK the third parameter.
   12252 ***
   12253 " "$LINENO" 5
   12254 fi
   12255 
   12256 sed_cmds="${sed_cmds};s|^MSGID_BUGS_ADDRESS.*|MSGID_BUGS_ADDRESS = ${sed_mb}|"
   12257 # Not so sure whether this hack is all *that* evil...
   12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po/Makevars requiring hack" >&5
   12259 $as_echo_n "checking for po/Makevars requiring hack... " >&6; }
   12260 if test -f "${srcdir}/po/Makevars.template"; then
   12261    sed "$sed_cmds" < "${srcdir}/po/Makevars.template" > "${srcdir}/po/Makevars"
   12262    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, done." >&5
   12263 $as_echo "yes, done." >&6; }
   12264 else
   12265    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12266 $as_echo "no" >&6; }
   12267 fi
   12268 
   12269 
   12270 
   12271       if test "X$prefix" = "XNONE"; then
   12272     acl_final_prefix="$ac_default_prefix"
   12273   else
   12274     acl_final_prefix="$prefix"
   12275   fi
   12276   if test "X$exec_prefix" = "XNONE"; then
   12277     acl_final_exec_prefix='${prefix}'
   12278   else
   12279     acl_final_exec_prefix="$exec_prefix"
   12280   fi
   12281   acl_save_prefix="$prefix"
   12282   prefix="$acl_final_prefix"
   12283   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   12284   prefix="$acl_save_prefix"
   12285 
   12286 
   12287 # Check whether --with-gnu-ld was given.
   12288 if test "${with_gnu_ld+set}" = set; then :
   12289   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12290 else
   12291   with_gnu_ld=no
   12292 fi
   12293 
   12294 # Prepare PATH_SEPARATOR.
   12295 # The user is always right.
   12296 if test "${PATH_SEPARATOR+set}" != set; then
   12297   echo "#! /bin/sh" >conf$$.sh
   12298   echo  "exit 0"   >>conf$$.sh
   12299   chmod +x conf$$.sh
   12300   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12301     PATH_SEPARATOR=';'
   12302   else
   12303     PATH_SEPARATOR=:
   12304   fi
   12305   rm -f conf$$.sh
   12306 fi
   12307 ac_prog=ld
   12308 if test "$GCC" = yes; then
   12309   # Check if gcc -print-prog-name=ld gives a path.
   12310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   12311 $as_echo_n "checking for ld used by GCC... " >&6; }
   12312   case $host in
   12313   *-*-mingw*)
   12314     # gcc leaves a trailing carriage return which upsets mingw
   12315     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12316   *)
   12317     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12318   esac
   12319   case $ac_prog in
   12320     # Accept absolute paths.
   12321     [\\/]* | [A-Za-z]:[\\/]*)
   12322       re_direlt='/[^/][^/]*/\.\./'
   12323       # Canonicalize the path of ld
   12324       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   12325       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   12326 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   12327       done
   12328       test -z "$LD" && LD="$ac_prog"
   12329       ;;
   12330   "")
   12331     # If it fails, then pretend we aren't using GCC.
   12332     ac_prog=ld
   12333     ;;
   12334   *)
   12335     # If it is relative, then search for the first ld in PATH.
   12336     with_gnu_ld=unknown
   12337     ;;
   12338   esac
   12339 elif test "$with_gnu_ld" = yes; then
   12340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12341 $as_echo_n "checking for GNU ld... " >&6; }
   12342 else
   12343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12344 $as_echo_n "checking for non-GNU ld... " >&6; }
   12345 fi
   12346 if ${acl_cv_path_LD+:} false; then :
   12347   $as_echo_n "(cached) " >&6
   12348 else
   12349   if test -z "$LD"; then
   12350   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   12351   for ac_dir in $PATH; do
   12352     test -z "$ac_dir" && ac_dir=.
   12353     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12354       acl_cv_path_LD="$ac_dir/$ac_prog"
   12355       # Check to see if the program is GNU ld.  I'd rather use --version,
   12356       # but apparently some GNU ld's only accept -v.
   12357       # Break only if it was the GNU/non-GNU ld that we prefer.
   12358       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
   12359       *GNU* | *'with BFD'*)
   12360 	test "$with_gnu_ld" != no && break ;;
   12361       *)
   12362 	test "$with_gnu_ld" != yes && break ;;
   12363       esac
   12364     fi
   12365   done
   12366   IFS="$ac_save_ifs"
   12367 else
   12368   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   12369 fi
   12370 fi
   12371 
   12372 LD="$acl_cv_path_LD"
   12373 if test -n "$LD"; then
   12374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12375 $as_echo "$LD" >&6; }
   12376 else
   12377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12378 $as_echo "no" >&6; }
   12379 fi
   12380 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12382 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12383 if ${acl_cv_prog_gnu_ld+:} false; then :
   12384   $as_echo_n "(cached) " >&6
   12385 else
   12386   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   12387 case `$LD -v 2>&1 </dev/null` in
   12388 *GNU* | *'with BFD'*)
   12389   acl_cv_prog_gnu_ld=yes ;;
   12390 *)
   12391   acl_cv_prog_gnu_ld=no ;;
   12392 esac
   12393 fi
   12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   12395 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   12396 with_gnu_ld=$acl_cv_prog_gnu_ld
   12397 
   12398 
   12399 
   12400                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   12401 $as_echo_n "checking for shared library run path origin... " >&6; }
   12402 if ${acl_cv_rpath+:} false; then :
   12403   $as_echo_n "(cached) " >&6
   12404 else
   12405 
   12406     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   12407     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   12408     . ./conftest.sh
   12409     rm -f ./conftest.sh
   12410     acl_cv_rpath=done
   12411 
   12412 fi
   12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   12414 $as_echo "$acl_cv_rpath" >&6; }
   12415   wl="$acl_cv_wl"
   12416   libext="$acl_cv_libext"
   12417   shlibext="$acl_cv_shlibext"
   12418   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   12419   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   12420   hardcode_direct="$acl_cv_hardcode_direct"
   12421   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   12422     # Check whether --enable-rpath was given.
   12423 if test "${enable_rpath+set}" = set; then :
   12424   enableval=$enable_rpath; :
   12425 else
   12426   enable_rpath=yes
   12427 fi
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 
   12436     use_additional=yes
   12437 
   12438   acl_save_prefix="$prefix"
   12439   prefix="$acl_final_prefix"
   12440   acl_save_exec_prefix="$exec_prefix"
   12441   exec_prefix="$acl_final_exec_prefix"
   12442 
   12443     eval additional_includedir=\"$includedir\"
   12444     eval additional_libdir=\"$libdir\"
   12445 
   12446   exec_prefix="$acl_save_exec_prefix"
   12447   prefix="$acl_save_prefix"
   12448 
   12449 
   12450 # Check whether --with-libiconv-prefix was given.
   12451 if test "${with_libiconv_prefix+set}" = set; then :
   12452   withval=$with_libiconv_prefix;
   12453     if test "X$withval" = "Xno"; then
   12454       use_additional=no
   12455     else
   12456       if test "X$withval" = "X"; then
   12457 
   12458   acl_save_prefix="$prefix"
   12459   prefix="$acl_final_prefix"
   12460   acl_save_exec_prefix="$exec_prefix"
   12461   exec_prefix="$acl_final_exec_prefix"
   12462 
   12463           eval additional_includedir=\"$includedir\"
   12464           eval additional_libdir=\"$libdir\"
   12465 
   12466   exec_prefix="$acl_save_exec_prefix"
   12467   prefix="$acl_save_prefix"
   12468 
   12469       else
   12470         additional_includedir="$withval/include"
   12471         additional_libdir="$withval/lib"
   12472       fi
   12473     fi
   12474 
   12475 fi
   12476 
   12477       LIBICONV=
   12478   LTLIBICONV=
   12479   INCICONV=
   12480   rpathdirs=
   12481   ltrpathdirs=
   12482   names_already_handled=
   12483   names_next_round='iconv '
   12484   while test -n "$names_next_round"; do
   12485     names_this_round="$names_next_round"
   12486     names_next_round=
   12487     for name in $names_this_round; do
   12488       already_handled=
   12489       for n in $names_already_handled; do
   12490         if test "$n" = "$name"; then
   12491           already_handled=yes
   12492           break
   12493         fi
   12494       done
   12495       if test -z "$already_handled"; then
   12496         names_already_handled="$names_already_handled $name"
   12497                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   12498         eval value=\"\$HAVE_LIB$uppername\"
   12499         if test -n "$value"; then
   12500           if test "$value" = yes; then
   12501             eval value=\"\$LIB$uppername\"
   12502             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   12503             eval value=\"\$LTLIB$uppername\"
   12504             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   12505           else
   12506                                     :
   12507           fi
   12508         else
   12509                               found_dir=
   12510           found_la=
   12511           found_so=
   12512           found_a=
   12513           if test $use_additional = yes; then
   12514             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   12515               found_dir="$additional_libdir"
   12516               found_so="$additional_libdir/lib$name.$shlibext"
   12517               if test -f "$additional_libdir/lib$name.la"; then
   12518                 found_la="$additional_libdir/lib$name.la"
   12519               fi
   12520             else
   12521               if test -f "$additional_libdir/lib$name.$libext"; then
   12522                 found_dir="$additional_libdir"
   12523                 found_a="$additional_libdir/lib$name.$libext"
   12524                 if test -f "$additional_libdir/lib$name.la"; then
   12525                   found_la="$additional_libdir/lib$name.la"
   12526                 fi
   12527               fi
   12528             fi
   12529           fi
   12530           if test "X$found_dir" = "X"; then
   12531             for x in $LDFLAGS $LTLIBICONV; do
   12532 
   12533   acl_save_prefix="$prefix"
   12534   prefix="$acl_final_prefix"
   12535   acl_save_exec_prefix="$exec_prefix"
   12536   exec_prefix="$acl_final_exec_prefix"
   12537   eval x=\"$x\"
   12538   exec_prefix="$acl_save_exec_prefix"
   12539   prefix="$acl_save_prefix"
   12540 
   12541               case "$x" in
   12542                 -L*)
   12543                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   12544                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   12545                     found_dir="$dir"
   12546                     found_so="$dir/lib$name.$shlibext"
   12547                     if test -f "$dir/lib$name.la"; then
   12548                       found_la="$dir/lib$name.la"
   12549                     fi
   12550                   else
   12551                     if test -f "$dir/lib$name.$libext"; then
   12552                       found_dir="$dir"
   12553                       found_a="$dir/lib$name.$libext"
   12554                       if test -f "$dir/lib$name.la"; then
   12555                         found_la="$dir/lib$name.la"
   12556                       fi
   12557                     fi
   12558                   fi
   12559                   ;;
   12560               esac
   12561               if test "X$found_dir" != "X"; then
   12562                 break
   12563               fi
   12564             done
   12565           fi
   12566           if test "X$found_dir" != "X"; then
   12567                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   12568             if test "X$found_so" != "X"; then
   12569                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   12570                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12571               else
   12572                                                                                 haveit=
   12573                 for x in $ltrpathdirs; do
   12574                   if test "X$x" = "X$found_dir"; then
   12575                     haveit=yes
   12576                     break
   12577                   fi
   12578                 done
   12579                 if test -z "$haveit"; then
   12580                   ltrpathdirs="$ltrpathdirs $found_dir"
   12581                 fi
   12582                                 if test "$hardcode_direct" = yes; then
   12583                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12584                 else
   12585                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   12586                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12587                                                             haveit=
   12588                     for x in $rpathdirs; do
   12589                       if test "X$x" = "X$found_dir"; then
   12590                         haveit=yes
   12591                         break
   12592                       fi
   12593                     done
   12594                     if test -z "$haveit"; then
   12595                       rpathdirs="$rpathdirs $found_dir"
   12596                     fi
   12597                   else
   12598                                                                                 haveit=
   12599                     for x in $LDFLAGS $LIBICONV; do
   12600 
   12601   acl_save_prefix="$prefix"
   12602   prefix="$acl_final_prefix"
   12603   acl_save_exec_prefix="$exec_prefix"
   12604   exec_prefix="$acl_final_exec_prefix"
   12605   eval x=\"$x\"
   12606   exec_prefix="$acl_save_exec_prefix"
   12607   prefix="$acl_save_prefix"
   12608 
   12609                       if test "X$x" = "X-L$found_dir"; then
   12610                         haveit=yes
   12611                         break
   12612                       fi
   12613                     done
   12614                     if test -z "$haveit"; then
   12615                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   12616                     fi
   12617                     if test "$hardcode_minus_L" != no; then
   12618                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12619                     else
   12620                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   12621                     fi
   12622                   fi
   12623                 fi
   12624               fi
   12625             else
   12626               if test "X$found_a" != "X"; then
   12627                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   12628               else
   12629                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   12630               fi
   12631             fi
   12632                         additional_includedir=
   12633             case "$found_dir" in
   12634               */lib | */lib/)
   12635                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   12636                 additional_includedir="$basedir/include"
   12637                 ;;
   12638             esac
   12639             if test "X$additional_includedir" != "X"; then
   12640                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   12641                 haveit=
   12642                 if test "X$additional_includedir" = "X/usr/local/include"; then
   12643                   if test -n "$GCC"; then
   12644                     case $host_os in
   12645                       linux*) haveit=yes;;
   12646                     esac
   12647                   fi
   12648                 fi
   12649                 if test -z "$haveit"; then
   12650                   for x in $CPPFLAGS $INCICONV; do
   12651 
   12652   acl_save_prefix="$prefix"
   12653   prefix="$acl_final_prefix"
   12654   acl_save_exec_prefix="$exec_prefix"
   12655   exec_prefix="$acl_final_exec_prefix"
   12656   eval x=\"$x\"
   12657   exec_prefix="$acl_save_exec_prefix"
   12658   prefix="$acl_save_prefix"
   12659 
   12660                     if test "X$x" = "X-I$additional_includedir"; then
   12661                       haveit=yes
   12662                       break
   12663                     fi
   12664                   done
   12665                   if test -z "$haveit"; then
   12666                     if test -d "$additional_includedir"; then
   12667                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   12668                     fi
   12669                   fi
   12670                 fi
   12671               fi
   12672             fi
   12673                         if test -n "$found_la"; then
   12674                                                         save_libdir="$libdir"
   12675               case "$found_la" in
   12676                 */* | *\\*) . "$found_la" ;;
   12677                 *) . "./$found_la" ;;
   12678               esac
   12679               libdir="$save_libdir"
   12680                             for dep in $dependency_libs; do
   12681                 case "$dep" in
   12682                   -L*)
   12683                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   12684                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   12685                       haveit=
   12686                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   12687                         if test -n "$GCC"; then
   12688                           case $host_os in
   12689                             linux*) haveit=yes;;
   12690                           esac
   12691                         fi
   12692                       fi
   12693                       if test -z "$haveit"; then
   12694                         haveit=
   12695                         for x in $LDFLAGS $LIBICONV; do
   12696 
   12697   acl_save_prefix="$prefix"
   12698   prefix="$acl_final_prefix"
   12699   acl_save_exec_prefix="$exec_prefix"
   12700   exec_prefix="$acl_final_exec_prefix"
   12701   eval x=\"$x\"
   12702   exec_prefix="$acl_save_exec_prefix"
   12703   prefix="$acl_save_prefix"
   12704 
   12705                           if test "X$x" = "X-L$additional_libdir"; then
   12706                             haveit=yes
   12707                             break
   12708                           fi
   12709                         done
   12710                         if test -z "$haveit"; then
   12711                           if test -d "$additional_libdir"; then
   12712                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   12713                           fi
   12714                         fi
   12715                         haveit=
   12716                         for x in $LDFLAGS $LTLIBICONV; do
   12717 
   12718   acl_save_prefix="$prefix"
   12719   prefix="$acl_final_prefix"
   12720   acl_save_exec_prefix="$exec_prefix"
   12721   exec_prefix="$acl_final_exec_prefix"
   12722   eval x=\"$x\"
   12723   exec_prefix="$acl_save_exec_prefix"
   12724   prefix="$acl_save_prefix"
   12725 
   12726                           if test "X$x" = "X-L$additional_libdir"; then
   12727                             haveit=yes
   12728                             break
   12729                           fi
   12730                         done
   12731                         if test -z "$haveit"; then
   12732                           if test -d "$additional_libdir"; then
   12733                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   12734                           fi
   12735                         fi
   12736                       fi
   12737                     fi
   12738                     ;;
   12739                   -R*)
   12740                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   12741                     if test "$enable_rpath" != no; then
   12742                                                                   haveit=
   12743                       for x in $rpathdirs; do
   12744                         if test "X$x" = "X$dir"; then
   12745                           haveit=yes
   12746                           break
   12747                         fi
   12748                       done
   12749                       if test -z "$haveit"; then
   12750                         rpathdirs="$rpathdirs $dir"
   12751                       fi
   12752                                                                   haveit=
   12753                       for x in $ltrpathdirs; do
   12754                         if test "X$x" = "X$dir"; then
   12755                           haveit=yes
   12756                           break
   12757                         fi
   12758                       done
   12759                       if test -z "$haveit"; then
   12760                         ltrpathdirs="$ltrpathdirs $dir"
   12761                       fi
   12762                     fi
   12763                     ;;
   12764                   -l*)
   12765                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   12766                     ;;
   12767                   *.la)
   12768                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   12769                     ;;
   12770                   *)
   12771                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   12772                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   12773                     ;;
   12774                 esac
   12775               done
   12776             fi
   12777           else
   12778                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   12779             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   12780           fi
   12781         fi
   12782       fi
   12783     done
   12784   done
   12785   if test "X$rpathdirs" != "X"; then
   12786     if test -n "$hardcode_libdir_separator"; then
   12787                         alldirs=
   12788       for found_dir in $rpathdirs; do
   12789         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   12790       done
   12791             acl_save_libdir="$libdir"
   12792       libdir="$alldirs"
   12793       eval flag=\"$hardcode_libdir_flag_spec\"
   12794       libdir="$acl_save_libdir"
   12795       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   12796     else
   12797             for found_dir in $rpathdirs; do
   12798         acl_save_libdir="$libdir"
   12799         libdir="$found_dir"
   12800         eval flag=\"$hardcode_libdir_flag_spec\"
   12801         libdir="$acl_save_libdir"
   12802         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   12803       done
   12804     fi
   12805   fi
   12806   if test "X$ltrpathdirs" != "X"; then
   12807             for found_dir in $ltrpathdirs; do
   12808       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   12809     done
   12810   fi
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   12830 $as_echo_n "checking whether NLS is requested... " >&6; }
   12831     # Check whether --enable-nls was given.
   12832 if test "${enable_nls+set}" = set; then :
   12833   enableval=$enable_nls; USE_NLS=$enableval
   12834 else
   12835   USE_NLS=yes
   12836 fi
   12837 
   12838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   12839 $as_echo "$USE_NLS" >&6; }
   12840 
   12841 
   12842 
   12843 
   12844   LIBINTL=
   12845   LTLIBINTL=
   12846   POSUB=
   12847 
   12848     if test "$USE_NLS" = "yes"; then
   12849     gt_use_preinstalled_gnugettext=no
   12850 
   12851 
   12852 
   12853 
   12854 
   12855 
   12856         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   12857 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   12858 if ${gt_cv_func_gnugettext1_libc+:} false; then :
   12859   $as_echo_n "(cached) " >&6
   12860 else
   12861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12862 /* end confdefs.h.  */
   12863 #include <libintl.h>
   12864 extern int _nl_msg_cat_cntr;
   12865 extern int *_nl_domain_bindings;
   12866 int
   12867 main ()
   12868 {
   12869 bindtextdomain ("", "");
   12870 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
   12871   ;
   12872   return 0;
   12873 }
   12874 _ACEOF
   12875 if ac_fn_c_try_link "$LINENO"; then :
   12876   gt_cv_func_gnugettext1_libc=yes
   12877 else
   12878   gt_cv_func_gnugettext1_libc=no
   12879 fi
   12880 rm -f core conftest.err conftest.$ac_objext \
   12881     conftest$ac_exeext conftest.$ac_ext
   12882 fi
   12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
   12884 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
   12885 
   12886         if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
   12887 
   12888 
   12889 
   12890 
   12891 
   12892           am_save_CPPFLAGS="$CPPFLAGS"
   12893 
   12894   for element in $INCICONV; do
   12895     haveit=
   12896     for x in $CPPFLAGS; do
   12897 
   12898   acl_save_prefix="$prefix"
   12899   prefix="$acl_final_prefix"
   12900   acl_save_exec_prefix="$exec_prefix"
   12901   exec_prefix="$acl_final_exec_prefix"
   12902   eval x=\"$x\"
   12903   exec_prefix="$acl_save_exec_prefix"
   12904   prefix="$acl_save_prefix"
   12905 
   12906       if test "X$x" = "X$element"; then
   12907         haveit=yes
   12908         break
   12909       fi
   12910     done
   12911     if test -z "$haveit"; then
   12912       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   12913     fi
   12914   done
   12915 
   12916 
   12917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   12918 $as_echo_n "checking for iconv... " >&6; }
   12919 if ${am_cv_func_iconv+:} false; then :
   12920   $as_echo_n "(cached) " >&6
   12921 else
   12922 
   12923     am_cv_func_iconv="no, consider installing GNU libiconv"
   12924     am_cv_lib_iconv=no
   12925     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12926 /* end confdefs.h.  */
   12927 #include <stdlib.h>
   12928 #include <iconv.h>
   12929 int
   12930 main ()
   12931 {
   12932 iconv_t cd = iconv_open("","");
   12933        iconv(cd,NULL,NULL,NULL,NULL);
   12934        iconv_close(cd);
   12935   ;
   12936   return 0;
   12937 }
   12938 _ACEOF
   12939 if ac_fn_c_try_link "$LINENO"; then :
   12940   am_cv_func_iconv=yes
   12941 fi
   12942 rm -f core conftest.err conftest.$ac_objext \
   12943     conftest$ac_exeext conftest.$ac_ext
   12944     if test "$am_cv_func_iconv" != yes; then
   12945       am_save_LIBS="$LIBS"
   12946       LIBS="$LIBS $LIBICONV"
   12947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12948 /* end confdefs.h.  */
   12949 #include <stdlib.h>
   12950 #include <iconv.h>
   12951 int
   12952 main ()
   12953 {
   12954 iconv_t cd = iconv_open("","");
   12955          iconv(cd,NULL,NULL,NULL,NULL);
   12956          iconv_close(cd);
   12957   ;
   12958   return 0;
   12959 }
   12960 _ACEOF
   12961 if ac_fn_c_try_link "$LINENO"; then :
   12962   am_cv_lib_iconv=yes
   12963         am_cv_func_iconv=yes
   12964 fi
   12965 rm -f core conftest.err conftest.$ac_objext \
   12966     conftest$ac_exeext conftest.$ac_ext
   12967       LIBS="$am_save_LIBS"
   12968     fi
   12969 
   12970 fi
   12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   12972 $as_echo "$am_cv_func_iconv" >&6; }
   12973   if test "$am_cv_func_iconv" = yes; then
   12974 
   12975 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   12976 
   12977   fi
   12978   if test "$am_cv_lib_iconv" = yes; then
   12979     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   12980 $as_echo_n "checking how to link with libiconv... " >&6; }
   12981     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   12982 $as_echo "$LIBICONV" >&6; }
   12983   else
   12984             CPPFLAGS="$am_save_CPPFLAGS"
   12985     LIBICONV=
   12986     LTLIBICONV=
   12987   fi
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994     use_additional=yes
   12995 
   12996   acl_save_prefix="$prefix"
   12997   prefix="$acl_final_prefix"
   12998   acl_save_exec_prefix="$exec_prefix"
   12999   exec_prefix="$acl_final_exec_prefix"
   13000 
   13001     eval additional_includedir=\"$includedir\"
   13002     eval additional_libdir=\"$libdir\"
   13003 
   13004   exec_prefix="$acl_save_exec_prefix"
   13005   prefix="$acl_save_prefix"
   13006 
   13007 
   13008 # Check whether --with-libintl-prefix was given.
   13009 if test "${with_libintl_prefix+set}" = set; then :
   13010   withval=$with_libintl_prefix;
   13011     if test "X$withval" = "Xno"; then
   13012       use_additional=no
   13013     else
   13014       if test "X$withval" = "X"; then
   13015 
   13016   acl_save_prefix="$prefix"
   13017   prefix="$acl_final_prefix"
   13018   acl_save_exec_prefix="$exec_prefix"
   13019   exec_prefix="$acl_final_exec_prefix"
   13020 
   13021           eval additional_includedir=\"$includedir\"
   13022           eval additional_libdir=\"$libdir\"
   13023 
   13024   exec_prefix="$acl_save_exec_prefix"
   13025   prefix="$acl_save_prefix"
   13026 
   13027       else
   13028         additional_includedir="$withval/include"
   13029         additional_libdir="$withval/lib"
   13030       fi
   13031     fi
   13032 
   13033 fi
   13034 
   13035       LIBINTL=
   13036   LTLIBINTL=
   13037   INCINTL=
   13038   rpathdirs=
   13039   ltrpathdirs=
   13040   names_already_handled=
   13041   names_next_round='intl '
   13042   while test -n "$names_next_round"; do
   13043     names_this_round="$names_next_round"
   13044     names_next_round=
   13045     for name in $names_this_round; do
   13046       already_handled=
   13047       for n in $names_already_handled; do
   13048         if test "$n" = "$name"; then
   13049           already_handled=yes
   13050           break
   13051         fi
   13052       done
   13053       if test -z "$already_handled"; then
   13054         names_already_handled="$names_already_handled $name"
   13055                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   13056         eval value=\"\$HAVE_LIB$uppername\"
   13057         if test -n "$value"; then
   13058           if test "$value" = yes; then
   13059             eval value=\"\$LIB$uppername\"
   13060             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   13061             eval value=\"\$LTLIB$uppername\"
   13062             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   13063           else
   13064                                     :
   13065           fi
   13066         else
   13067                               found_dir=
   13068           found_la=
   13069           found_so=
   13070           found_a=
   13071           if test $use_additional = yes; then
   13072             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   13073               found_dir="$additional_libdir"
   13074               found_so="$additional_libdir/lib$name.$shlibext"
   13075               if test -f "$additional_libdir/lib$name.la"; then
   13076                 found_la="$additional_libdir/lib$name.la"
   13077               fi
   13078             else
   13079               if test -f "$additional_libdir/lib$name.$libext"; then
   13080                 found_dir="$additional_libdir"
   13081                 found_a="$additional_libdir/lib$name.$libext"
   13082                 if test -f "$additional_libdir/lib$name.la"; then
   13083                   found_la="$additional_libdir/lib$name.la"
   13084                 fi
   13085               fi
   13086             fi
   13087           fi
   13088           if test "X$found_dir" = "X"; then
   13089             for x in $LDFLAGS $LTLIBINTL; do
   13090 
   13091   acl_save_prefix="$prefix"
   13092   prefix="$acl_final_prefix"
   13093   acl_save_exec_prefix="$exec_prefix"
   13094   exec_prefix="$acl_final_exec_prefix"
   13095   eval x=\"$x\"
   13096   exec_prefix="$acl_save_exec_prefix"
   13097   prefix="$acl_save_prefix"
   13098 
   13099               case "$x" in
   13100                 -L*)
   13101                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   13102                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   13103                     found_dir="$dir"
   13104                     found_so="$dir/lib$name.$shlibext"
   13105                     if test -f "$dir/lib$name.la"; then
   13106                       found_la="$dir/lib$name.la"
   13107                     fi
   13108                   else
   13109                     if test -f "$dir/lib$name.$libext"; then
   13110                       found_dir="$dir"
   13111                       found_a="$dir/lib$name.$libext"
   13112                       if test -f "$dir/lib$name.la"; then
   13113                         found_la="$dir/lib$name.la"
   13114                       fi
   13115                     fi
   13116                   fi
   13117                   ;;
   13118               esac
   13119               if test "X$found_dir" != "X"; then
   13120                 break
   13121               fi
   13122             done
   13123           fi
   13124           if test "X$found_dir" != "X"; then
   13125                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   13126             if test "X$found_so" != "X"; then
   13127                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   13128                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13129               else
   13130                                                                                 haveit=
   13131                 for x in $ltrpathdirs; do
   13132                   if test "X$x" = "X$found_dir"; then
   13133                     haveit=yes
   13134                     break
   13135                   fi
   13136                 done
   13137                 if test -z "$haveit"; then
   13138                   ltrpathdirs="$ltrpathdirs $found_dir"
   13139                 fi
   13140                                 if test "$hardcode_direct" = yes; then
   13141                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13142                 else
   13143                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   13144                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13145                                                             haveit=
   13146                     for x in $rpathdirs; do
   13147                       if test "X$x" = "X$found_dir"; then
   13148                         haveit=yes
   13149                         break
   13150                       fi
   13151                     done
   13152                     if test -z "$haveit"; then
   13153                       rpathdirs="$rpathdirs $found_dir"
   13154                     fi
   13155                   else
   13156                                                                                 haveit=
   13157                     for x in $LDFLAGS $LIBINTL; do
   13158 
   13159   acl_save_prefix="$prefix"
   13160   prefix="$acl_final_prefix"
   13161   acl_save_exec_prefix="$exec_prefix"
   13162   exec_prefix="$acl_final_exec_prefix"
   13163   eval x=\"$x\"
   13164   exec_prefix="$acl_save_exec_prefix"
   13165   prefix="$acl_save_prefix"
   13166 
   13167                       if test "X$x" = "X-L$found_dir"; then
   13168                         haveit=yes
   13169                         break
   13170                       fi
   13171                     done
   13172                     if test -z "$haveit"; then
   13173                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   13174                     fi
   13175                     if test "$hardcode_minus_L" != no; then
   13176                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13177                     else
   13178                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   13179                     fi
   13180                   fi
   13181                 fi
   13182               fi
   13183             else
   13184               if test "X$found_a" != "X"; then
   13185                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   13186               else
   13187                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   13188               fi
   13189             fi
   13190                         additional_includedir=
   13191             case "$found_dir" in
   13192               */lib | */lib/)
   13193                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   13194                 additional_includedir="$basedir/include"
   13195                 ;;
   13196             esac
   13197             if test "X$additional_includedir" != "X"; then
   13198                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   13199                 haveit=
   13200                 if test "X$additional_includedir" = "X/usr/local/include"; then
   13201                   if test -n "$GCC"; then
   13202                     case $host_os in
   13203                       linux*) haveit=yes;;
   13204                     esac
   13205                   fi
   13206                 fi
   13207                 if test -z "$haveit"; then
   13208                   for x in $CPPFLAGS $INCINTL; do
   13209 
   13210   acl_save_prefix="$prefix"
   13211   prefix="$acl_final_prefix"
   13212   acl_save_exec_prefix="$exec_prefix"
   13213   exec_prefix="$acl_final_exec_prefix"
   13214   eval x=\"$x\"
   13215   exec_prefix="$acl_save_exec_prefix"
   13216   prefix="$acl_save_prefix"
   13217 
   13218                     if test "X$x" = "X-I$additional_includedir"; then
   13219                       haveit=yes
   13220                       break
   13221                     fi
   13222                   done
   13223                   if test -z "$haveit"; then
   13224                     if test -d "$additional_includedir"; then
   13225                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   13226                     fi
   13227                   fi
   13228                 fi
   13229               fi
   13230             fi
   13231                         if test -n "$found_la"; then
   13232                                                         save_libdir="$libdir"
   13233               case "$found_la" in
   13234                 */* | *\\*) . "$found_la" ;;
   13235                 *) . "./$found_la" ;;
   13236               esac
   13237               libdir="$save_libdir"
   13238                             for dep in $dependency_libs; do
   13239                 case "$dep" in
   13240                   -L*)
   13241                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   13242                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   13243                       haveit=
   13244                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   13245                         if test -n "$GCC"; then
   13246                           case $host_os in
   13247                             linux*) haveit=yes;;
   13248                           esac
   13249                         fi
   13250                       fi
   13251                       if test -z "$haveit"; then
   13252                         haveit=
   13253                         for x in $LDFLAGS $LIBINTL; do
   13254 
   13255   acl_save_prefix="$prefix"
   13256   prefix="$acl_final_prefix"
   13257   acl_save_exec_prefix="$exec_prefix"
   13258   exec_prefix="$acl_final_exec_prefix"
   13259   eval x=\"$x\"
   13260   exec_prefix="$acl_save_exec_prefix"
   13261   prefix="$acl_save_prefix"
   13262 
   13263                           if test "X$x" = "X-L$additional_libdir"; then
   13264                             haveit=yes
   13265                             break
   13266                           fi
   13267                         done
   13268                         if test -z "$haveit"; then
   13269                           if test -d "$additional_libdir"; then
   13270                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   13271                           fi
   13272                         fi
   13273                         haveit=
   13274                         for x in $LDFLAGS $LTLIBINTL; do
   13275 
   13276   acl_save_prefix="$prefix"
   13277   prefix="$acl_final_prefix"
   13278   acl_save_exec_prefix="$exec_prefix"
   13279   exec_prefix="$acl_final_exec_prefix"
   13280   eval x=\"$x\"
   13281   exec_prefix="$acl_save_exec_prefix"
   13282   prefix="$acl_save_prefix"
   13283 
   13284                           if test "X$x" = "X-L$additional_libdir"; then
   13285                             haveit=yes
   13286                             break
   13287                           fi
   13288                         done
   13289                         if test -z "$haveit"; then
   13290                           if test -d "$additional_libdir"; then
   13291                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   13292                           fi
   13293                         fi
   13294                       fi
   13295                     fi
   13296                     ;;
   13297                   -R*)
   13298                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   13299                     if test "$enable_rpath" != no; then
   13300                                                                   haveit=
   13301                       for x in $rpathdirs; do
   13302                         if test "X$x" = "X$dir"; then
   13303                           haveit=yes
   13304                           break
   13305                         fi
   13306                       done
   13307                       if test -z "$haveit"; then
   13308                         rpathdirs="$rpathdirs $dir"
   13309                       fi
   13310                                                                   haveit=
   13311                       for x in $ltrpathdirs; do
   13312                         if test "X$x" = "X$dir"; then
   13313                           haveit=yes
   13314                           break
   13315                         fi
   13316                       done
   13317                       if test -z "$haveit"; then
   13318                         ltrpathdirs="$ltrpathdirs $dir"
   13319                       fi
   13320                     fi
   13321                     ;;
   13322                   -l*)
   13323                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   13324                     ;;
   13325                   *.la)
   13326                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   13327                     ;;
   13328                   *)
   13329                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   13330                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   13331                     ;;
   13332                 esac
   13333               done
   13334             fi
   13335           else
   13336                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   13337             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   13338           fi
   13339         fi
   13340       fi
   13341     done
   13342   done
   13343   if test "X$rpathdirs" != "X"; then
   13344     if test -n "$hardcode_libdir_separator"; then
   13345                         alldirs=
   13346       for found_dir in $rpathdirs; do
   13347         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   13348       done
   13349             acl_save_libdir="$libdir"
   13350       libdir="$alldirs"
   13351       eval flag=\"$hardcode_libdir_flag_spec\"
   13352       libdir="$acl_save_libdir"
   13353       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   13354     else
   13355             for found_dir in $rpathdirs; do
   13356         acl_save_libdir="$libdir"
   13357         libdir="$found_dir"
   13358         eval flag=\"$hardcode_libdir_flag_spec\"
   13359         libdir="$acl_save_libdir"
   13360         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   13361       done
   13362     fi
   13363   fi
   13364   if test "X$ltrpathdirs" != "X"; then
   13365             for found_dir in $ltrpathdirs; do
   13366       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   13367     done
   13368   fi
   13369 
   13370           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   13371 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   13372 if ${gt_cv_func_gnugettext1_libintl+:} false; then :
   13373   $as_echo_n "(cached) " >&6
   13374 else
   13375   gt_save_CPPFLAGS="$CPPFLAGS"
   13376             CPPFLAGS="$CPPFLAGS $INCINTL"
   13377             gt_save_LIBS="$LIBS"
   13378             LIBS="$LIBS $LIBINTL"
   13379                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13380 /* end confdefs.h.  */
   13381 #include <libintl.h>
   13382 extern int _nl_msg_cat_cntr;
   13383 extern
   13384 #ifdef __cplusplus
   13385 "C"
   13386 #endif
   13387 const char *_nl_expand_alias ();
   13388 int
   13389 main ()
   13390 {
   13391 bindtextdomain ("", "");
   13392 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   13393   ;
   13394   return 0;
   13395 }
   13396 _ACEOF
   13397 if ac_fn_c_try_link "$LINENO"; then :
   13398   gt_cv_func_gnugettext1_libintl=yes
   13399 else
   13400   gt_cv_func_gnugettext1_libintl=no
   13401 fi
   13402 rm -f core conftest.err conftest.$ac_objext \
   13403     conftest$ac_exeext conftest.$ac_ext
   13404                         if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
   13405               LIBS="$LIBS $LIBICONV"
   13406               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13407 /* end confdefs.h.  */
   13408 #include <libintl.h>
   13409 extern int _nl_msg_cat_cntr;
   13410 extern
   13411 #ifdef __cplusplus
   13412 "C"
   13413 #endif
   13414 const char *_nl_expand_alias ();
   13415 int
   13416 main ()
   13417 {
   13418 bindtextdomain ("", "");
   13419 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   13420   ;
   13421   return 0;
   13422 }
   13423 _ACEOF
   13424 if ac_fn_c_try_link "$LINENO"; then :
   13425   LIBINTL="$LIBINTL $LIBICONV"
   13426                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   13427                 gt_cv_func_gnugettext1_libintl=yes
   13428 
   13429 fi
   13430 rm -f core conftest.err conftest.$ac_objext \
   13431     conftest$ac_exeext conftest.$ac_ext
   13432             fi
   13433             CPPFLAGS="$gt_save_CPPFLAGS"
   13434             LIBS="$gt_save_LIBS"
   13435 fi
   13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
   13437 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
   13438         fi
   13439 
   13440                                         if test "$gt_cv_func_gnugettext1_libc" = "yes" \
   13441            || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
   13442                 && test "$PACKAGE" != gettext-runtime \
   13443                 && test "$PACKAGE" != gettext-tools; }; then
   13444           gt_use_preinstalled_gnugettext=yes
   13445         else
   13446                     LIBINTL=
   13447           LTLIBINTL=
   13448           INCINTL=
   13449         fi
   13450 
   13451 
   13452 
   13453     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   13454        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13455 
   13456 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   13457 
   13458     else
   13459       USE_NLS=no
   13460     fi
   13461   fi
   13462 
   13463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   13464 $as_echo_n "checking whether to use NLS... " >&6; }
   13465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   13466 $as_echo "$USE_NLS" >&6; }
   13467   if test "$USE_NLS" = "yes"; then
   13468     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   13469 $as_echo_n "checking where the gettext function comes from... " >&6; }
   13470     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13471       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   13472         gt_source="external libintl"
   13473       else
   13474         gt_source="libc"
   13475       fi
   13476     else
   13477       gt_source="included intl directory"
   13478     fi
   13479     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   13480 $as_echo "$gt_source" >&6; }
   13481   fi
   13482 
   13483   if test "$USE_NLS" = "yes"; then
   13484 
   13485     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13486       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   13487         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   13488 $as_echo_n "checking how to link with libintl... " >&6; }
   13489         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   13490 $as_echo "$LIBINTL" >&6; }
   13491 
   13492   for element in $INCINTL; do
   13493     haveit=
   13494     for x in $CPPFLAGS; do
   13495 
   13496   acl_save_prefix="$prefix"
   13497   prefix="$acl_final_prefix"
   13498   acl_save_exec_prefix="$exec_prefix"
   13499   exec_prefix="$acl_final_exec_prefix"
   13500   eval x=\"$x\"
   13501   exec_prefix="$acl_save_exec_prefix"
   13502   prefix="$acl_save_prefix"
   13503 
   13504       if test "X$x" = "X$element"; then
   13505         haveit=yes
   13506         break
   13507       fi
   13508     done
   13509     if test -z "$haveit"; then
   13510       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13511     fi
   13512   done
   13513 
   13514       fi
   13515 
   13516 
   13517 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   13518 
   13519 
   13520 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   13521 
   13522     fi
   13523 
   13524         POSUB=po
   13525   fi
   13526 
   13527 
   13528 
   13529     INTLLIBS="$LIBINTL"
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541           am_save_CPPFLAGS="$CPPFLAGS"
   13542 
   13543   for element in $INCICONV; do
   13544     haveit=
   13545     for x in $CPPFLAGS; do
   13546 
   13547   acl_save_prefix="$prefix"
   13548   prefix="$acl_final_prefix"
   13549   acl_save_exec_prefix="$exec_prefix"
   13550   exec_prefix="$acl_final_exec_prefix"
   13551   eval x=\"$x\"
   13552   exec_prefix="$acl_save_exec_prefix"
   13553   prefix="$acl_save_prefix"
   13554 
   13555       if test "X$x" = "X$element"; then
   13556         haveit=yes
   13557         break
   13558       fi
   13559     done
   13560     if test -z "$haveit"; then
   13561       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13562     fi
   13563   done
   13564 
   13565 
   13566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   13567 $as_echo_n "checking for iconv... " >&6; }
   13568 if ${am_cv_func_iconv+:} false; then :
   13569   $as_echo_n "(cached) " >&6
   13570 else
   13571 
   13572     am_cv_func_iconv="no, consider installing GNU libiconv"
   13573     am_cv_lib_iconv=no
   13574     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13575 /* end confdefs.h.  */
   13576 #include <stdlib.h>
   13577 #include <iconv.h>
   13578 int
   13579 main ()
   13580 {
   13581 iconv_t cd = iconv_open("","");
   13582        iconv(cd,NULL,NULL,NULL,NULL);
   13583        iconv_close(cd);
   13584   ;
   13585   return 0;
   13586 }
   13587 _ACEOF
   13588 if ac_fn_c_try_link "$LINENO"; then :
   13589   am_cv_func_iconv=yes
   13590 fi
   13591 rm -f core conftest.err conftest.$ac_objext \
   13592     conftest$ac_exeext conftest.$ac_ext
   13593     if test "$am_cv_func_iconv" != yes; then
   13594       am_save_LIBS="$LIBS"
   13595       LIBS="$LIBS $LIBICONV"
   13596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13597 /* end confdefs.h.  */
   13598 #include <stdlib.h>
   13599 #include <iconv.h>
   13600 int
   13601 main ()
   13602 {
   13603 iconv_t cd = iconv_open("","");
   13604          iconv(cd,NULL,NULL,NULL,NULL);
   13605          iconv_close(cd);
   13606   ;
   13607   return 0;
   13608 }
   13609 _ACEOF
   13610 if ac_fn_c_try_link "$LINENO"; then :
   13611   am_cv_lib_iconv=yes
   13612         am_cv_func_iconv=yes
   13613 fi
   13614 rm -f core conftest.err conftest.$ac_objext \
   13615     conftest$ac_exeext conftest.$ac_ext
   13616       LIBS="$am_save_LIBS"
   13617     fi
   13618 
   13619 fi
   13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   13621 $as_echo "$am_cv_func_iconv" >&6; }
   13622   if test "$am_cv_func_iconv" = yes; then
   13623 
   13624 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   13625 
   13626   fi
   13627   if test "$am_cv_lib_iconv" = yes; then
   13628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   13629 $as_echo_n "checking how to link with libiconv... " >&6; }
   13630     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   13631 $as_echo "$LIBICONV" >&6; }
   13632   else
   13633             CPPFLAGS="$am_save_CPPFLAGS"
   13634     LIBICONV=
   13635     LTLIBICONV=
   13636   fi
   13637 
   13638 
   13639 
   13640   if test "$am_cv_func_iconv" = yes; then
   13641     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
   13642 $as_echo_n "checking for iconv declaration... " >&6; }
   13643     if ${am_cv_proto_iconv+:} false; then :
   13644   $as_echo_n "(cached) " >&6
   13645 else
   13646 
   13647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13648 /* end confdefs.h.  */
   13649 
   13650 #include <stdlib.h>
   13651 #include <iconv.h>
   13652 extern
   13653 #ifdef __cplusplus
   13654 "C"
   13655 #endif
   13656 #if defined(__STDC__) || defined(__cplusplus)
   13657 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   13658 #else
   13659 size_t iconv();
   13660 #endif
   13661 
   13662 int
   13663 main ()
   13664 {
   13665 
   13666   ;
   13667   return 0;
   13668 }
   13669 _ACEOF
   13670 if ac_fn_c_try_compile "$LINENO"; then :
   13671   am_cv_proto_iconv_arg1=""
   13672 else
   13673   am_cv_proto_iconv_arg1="const"
   13674 fi
   13675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13676       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
   13677 fi
   13678 
   13679     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
   13680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
   13681          }$am_cv_proto_iconv" >&5
   13682 $as_echo "${ac_t:-
   13683          }$am_cv_proto_iconv" >&6; }
   13684 
   13685 cat >>confdefs.h <<_ACEOF
   13686 #define ICONV_CONST $am_cv_proto_iconv_arg1
   13687 _ACEOF
   13688 
   13689   fi
   13690 
   13691 
   13692 
   13693 
   13694 if test "x${BUILD_INCLUDED_LIBINTL}" = "xyes"; then
   13695    AM_CFLAGS="${AM_CFLAGS} -I\$(top_srcdir)/intl"
   13696 fi
   13697 
   13698 gp_config_msg_len="$(expr "Use translations" : '.*')"
   13699 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
   13700 	gp_config_msg_lhs="$(expr "Use translations" : "\(.\{0,${gp_config_len3}\}\)")..:"
   13701 else
   13702 	gp_config_msg_lhs="$(expr "Use translations:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
   13703 fi
   13704 gp_config_msg="${gp_config_msg}    ${gp_config_msg_lhs} ${USE_NLS}
   13705 "
   13706 
   13707 if test "x$USE_NLS" = "xyes" && test "${BUILD_INCLUDED_LIBINTL}"; then
   13708 
   13709 gp_config_msg_len="$(expr "Use included libintl" : '.*')"
   13710 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
   13711 	gp_config_msg_lhs="$(expr "Use included libintl" : "\(.\{0,${gp_config_len3}\}\)")..:"
   13712 else
   13713 	gp_config_msg_lhs="$(expr "Use included libintl:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
   13714 fi
   13715 gp_config_msg="${gp_config_msg}    ${gp_config_msg_lhs} ${BUILD_INCLUDED_LIBINTL}
   13716 "
   13717 
   13718 fi
   13719 localedir='$(datadir)/locale'
   13720 
   13721 AM_CPPFLAGS="$AM_CPPFLAGS -DLOCALEDIR=\\\"${localedir}\\\""
   13722 
   13723 
   13724 
   13725 for ac_func in localtime_r
   13726 do :
   13727   ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
   13728 if test "x$ac_cv_func_localtime_r" = xyes; then :
   13729   cat >>confdefs.h <<_ACEOF
   13730 #define HAVE_LOCALTIME_R 1
   13731 _ACEOF
   13732 
   13733 fi
   13734 done
   13735 
   13736 
   13737 AM_CPPFLAGS="$AM_CPPFLAGS -I\$(top_srcdir)"
   13738 AM_CPPFLAGS="$AM_CPPFLAGS -I\$(top_builddir)"
   13739 AM_LDFLAGS="$LDFLAGS"
   13740 if test "x$GCC" = "xyes"; then
   13741     AM_CFLAGS="$AM_CFLAGS -ansi -pedantic-error"
   13742     AM_CXXFLAGS="$AM_CXXFLAGS -ansi -pedantic-error"
   13743     AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -Wmissing-declarations -Wmissing-prototypes"
   13744     AM_LDFLAGS="$AM_LDFLAGS -g -Wall"
   13745 fi
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 ac_config_files="$ac_config_files po/Makefile.in Makefile libexif.spec libexif/Makefile test/Makefile test/nls/Makefile m4m/Makefile doc/Makefile doc/Doxyfile doc/Doxyfile-internals libexif.pc libexif-uninstalled.pc binary/Makefile contrib/Makefile contrib/examples/Makefile"
   13754 
   13755 cat >confcache <<\_ACEOF
   13756 # This file is a shell script that caches the results of configure
   13757 # tests run on this system so they can be shared between configure
   13758 # scripts and configure runs, see configure's option --config-cache.
   13759 # It is not useful on other systems.  If it contains results you don't
   13760 # want to keep, you may remove or edit it.
   13761 #
   13762 # config.status only pays attention to the cache file if you give it
   13763 # the --recheck option to rerun configure.
   13764 #
   13765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13767 # following values.
   13768 
   13769 _ACEOF
   13770 
   13771 # The following way of writing the cache mishandles newlines in values,
   13772 # but we know of no workaround that is simple, portable, and efficient.
   13773 # So, we kill variables containing newlines.
   13774 # Ultrix sh set writes to stderr and can't be redirected directly,
   13775 # and sets the high bit in the cache file unless we assign to the vars.
   13776 (
   13777   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13778     eval ac_val=\$$ac_var
   13779     case $ac_val in #(
   13780     *${as_nl}*)
   13781       case $ac_var in #(
   13782       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   13783 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13784       esac
   13785       case $ac_var in #(
   13786       _ | IFS | as_nl) ;; #(
   13787       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13788       *) { eval $ac_var=; unset $ac_var;} ;;
   13789       esac ;;
   13790     esac
   13791   done
   13792 
   13793   (set) 2>&1 |
   13794     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13795     *${as_nl}ac_space=\ *)
   13796       # `set' does not quote correctly, so add quotes: double-quote
   13797       # substitution turns \\\\ into \\, and sed turns \\ into \.
   13798       sed -n \
   13799 	"s/'/'\\\\''/g;
   13800 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13801       ;; #(
   13802     *)
   13803       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13804       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13805       ;;
   13806     esac |
   13807     sort
   13808 ) |
   13809   sed '
   13810      /^ac_cv_env_/b end
   13811      t clear
   13812      :clear
   13813      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13814      t end
   13815      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13816      :end' >>confcache
   13817 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13818   if test -w "$cache_file"; then
   13819     if test "x$cache_file" != "x/dev/null"; then
   13820       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   13821 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13822       if test ! -f "$cache_file" || test -h "$cache_file"; then
   13823 	cat confcache >"$cache_file"
   13824       else
   13825         case $cache_file in #(
   13826         */* | ?:*)
   13827 	  mv -f confcache "$cache_file"$$ &&
   13828 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   13829         *)
   13830 	  mv -f confcache "$cache_file" ;;
   13831 	esac
   13832       fi
   13833     fi
   13834   else
   13835     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   13836 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13837   fi
   13838 fi
   13839 rm -f confcache
   13840 
   13841 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13842 # Let make expand exec_prefix.
   13843 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13844 
   13845 DEFS=-DHAVE_CONFIG_H
   13846 
   13847 ac_libobjs=
   13848 ac_ltlibobjs=
   13849 U=
   13850 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13851   # 1. Remove the extension, and $U if already installed.
   13852   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13853   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13854   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13855   #    will be set to the directory where LIBOBJS objects are built.
   13856   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13857   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   13858 done
   13859 LIBOBJS=$ac_libobjs
   13860 
   13861 LTLIBOBJS=$ac_ltlibobjs
   13862 
   13863 
   13864  if test -n "$EXEEXT"; then
   13865   am__EXEEXT_TRUE=
   13866   am__EXEEXT_FALSE='#'
   13867 else
   13868   am__EXEEXT_TRUE='#'
   13869   am__EXEEXT_FALSE=
   13870 fi
   13871 
   13872 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13873   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   13874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13875 fi
   13876 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13877   as_fn_error $? "conditional \"AMDEP\" was never defined.
   13878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13879 fi
   13880 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13881   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   13882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13883 fi
   13884 if test -z "${SHIP_BINARIES_TRUE}" && test -z "${SHIP_BINARIES_FALSE}"; then
   13885   as_fn_error $? "conditional \"SHIP_BINARIES\" was never defined.
   13886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13887 fi
   13888 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
   13889   as_fn_error $? "conditional \"BUILD_DOCS\" was never defined.
   13890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13891 fi
   13892 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
   13893   as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
   13894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13895 fi
   13896 if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then
   13897   as_fn_error $? "conditional \"HAVE_DOT\" was never defined.
   13898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13899 fi
   13900 if test -z "${ENABLE_INTERNAL_DOCS_TRUE}" && test -z "${ENABLE_INTERNAL_DOCS_FALSE}"; then
   13901   as_fn_error $? "conditional \"ENABLE_INTERNAL_DOCS\" was never defined.
   13902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13903 fi
   13904 
   13905 : "${CONFIG_STATUS=./config.status}"
   13906 ac_write_fail=0
   13907 ac_clean_files_save=$ac_clean_files
   13908 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   13910 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13911 as_write_fail=0
   13912 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   13913 #! $SHELL
   13914 # Generated by $as_me.
   13915 # Run this file to recreate the current configuration.
   13916 # Compiler output produced by configure, useful for debugging
   13917 # configure, is in config.log if it exists.
   13918 
   13919 debug=false
   13920 ac_cs_recheck=false
   13921 ac_cs_silent=false
   13922 
   13923 SHELL=\${CONFIG_SHELL-$SHELL}
   13924 export SHELL
   13925 _ASEOF
   13926 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   13927 ## -------------------- ##
   13928 ## M4sh Initialization. ##
   13929 ## -------------------- ##
   13930 
   13931 # Be more Bourne compatible
   13932 DUALCASE=1; export DUALCASE # for MKS sh
   13933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   13934   emulate sh
   13935   NULLCMD=:
   13936   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13937   # is contrary to our usage.  Disable this feature.
   13938   alias -g '${1+"$@"}'='"$@"'
   13939   setopt NO_GLOB_SUBST
   13940 else
   13941   case `(set -o) 2>/dev/null` in #(
   13942   *posix*) :
   13943     set -o posix ;; #(
   13944   *) :
   13945      ;;
   13946 esac
   13947 fi
   13948 
   13949 
   13950 as_nl='
   13951 '
   13952 export as_nl
   13953 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13954 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13955 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13956 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13957 # Prefer a ksh shell builtin over an external printf program on Solaris,
   13958 # but without wasting forks for bash or zsh.
   13959 if test -z "$BASH_VERSION$ZSH_VERSION" \
   13960     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   13961   as_echo='print -r --'
   13962   as_echo_n='print -rn --'
   13963 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13964   as_echo='printf %s\n'
   13965   as_echo_n='printf %s'
   13966 else
   13967   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13968     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13969     as_echo_n='/usr/ucb/echo -n'
   13970   else
   13971     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13972     as_echo_n_body='eval
   13973       arg=$1;
   13974       case $arg in #(
   13975       *"$as_nl"*)
   13976 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13977 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13978       esac;
   13979       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13980     '
   13981     export as_echo_n_body
   13982     as_echo_n='sh -c $as_echo_n_body as_echo'
   13983   fi
   13984   export as_echo_body
   13985   as_echo='sh -c $as_echo_body as_echo'
   13986 fi
   13987 
   13988 # The user is always right.
   13989 if test "${PATH_SEPARATOR+set}" != set; then
   13990   PATH_SEPARATOR=:
   13991   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13992     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13993       PATH_SEPARATOR=';'
   13994   }
   13995 fi
   13996 
   13997 
   13998 # IFS
   13999 # We need space, tab and new line, in precisely that order.  Quoting is
   14000 # there to prevent editors from complaining about space-tab.
   14001 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14002 # splitting by setting IFS to empty value.)
   14003 IFS=" ""	$as_nl"
   14004 
   14005 # Find who we are.  Look in the path if we contain no directory separator.
   14006 as_myself=
   14007 case $0 in #((
   14008   *[\\/]* ) as_myself=$0 ;;
   14009   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14010 for as_dir in $PATH
   14011 do
   14012   IFS=$as_save_IFS
   14013   test -z "$as_dir" && as_dir=.
   14014     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14015   done
   14016 IFS=$as_save_IFS
   14017 
   14018      ;;
   14019 esac
   14020 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14021 # in which case we are not to be found in the path.
   14022 if test "x$as_myself" = x; then
   14023   as_myself=$0
   14024 fi
   14025 if test ! -f "$as_myself"; then
   14026   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14027   exit 1
   14028 fi
   14029 
   14030 # Unset variables that we do not need and which cause bugs (e.g. in
   14031 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14032 # suppresses any "Segmentation fault" message there.  '((' could
   14033 # trigger a bug in pdksh 5.2.14.
   14034 for as_var in BASH_ENV ENV MAIL MAILPATH
   14035 do eval test x\${$as_var+set} = xset \
   14036   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14037 done
   14038 PS1='$ '
   14039 PS2='> '
   14040 PS4='+ '
   14041 
   14042 # NLS nuisances.
   14043 LC_ALL=C
   14044 export LC_ALL
   14045 LANGUAGE=C
   14046 export LANGUAGE
   14047 
   14048 # CDPATH.
   14049 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14050 
   14051 
   14052 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14053 # ----------------------------------------
   14054 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14055 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14056 # script with STATUS, using 1 if that was 0.
   14057 as_fn_error ()
   14058 {
   14059   as_status=$1; test $as_status -eq 0 && as_status=1
   14060   if test "$4"; then
   14061     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14062     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14063   fi
   14064   $as_echo "$as_me: error: $2" >&2
   14065   as_fn_exit $as_status
   14066 } # as_fn_error
   14067 
   14068 
   14069 # as_fn_set_status STATUS
   14070 # -----------------------
   14071 # Set $? to STATUS, without forking.
   14072 as_fn_set_status ()
   14073 {
   14074   return $1
   14075 } # as_fn_set_status
   14076 
   14077 # as_fn_exit STATUS
   14078 # -----------------
   14079 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14080 as_fn_exit ()
   14081 {
   14082   set +e
   14083   as_fn_set_status $1
   14084   exit $1
   14085 } # as_fn_exit
   14086 
   14087 # as_fn_unset VAR
   14088 # ---------------
   14089 # Portably unset VAR.
   14090 as_fn_unset ()
   14091 {
   14092   { eval $1=; unset $1;}
   14093 }
   14094 as_unset=as_fn_unset
   14095 # as_fn_append VAR VALUE
   14096 # ----------------------
   14097 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14098 # advantage of any shell optimizations that allow amortized linear growth over
   14099 # repeated appends, instead of the typical quadratic growth present in naive
   14100 # implementations.
   14101 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14102   eval 'as_fn_append ()
   14103   {
   14104     eval $1+=\$2
   14105   }'
   14106 else
   14107   as_fn_append ()
   14108   {
   14109     eval $1=\$$1\$2
   14110   }
   14111 fi # as_fn_append
   14112 
   14113 # as_fn_arith ARG...
   14114 # ------------------
   14115 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14116 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14117 # must be portable across $(()) and expr.
   14118 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14119   eval 'as_fn_arith ()
   14120   {
   14121     as_val=$(( $* ))
   14122   }'
   14123 else
   14124   as_fn_arith ()
   14125   {
   14126     as_val=`expr "$@" || test $? -eq 1`
   14127   }
   14128 fi # as_fn_arith
   14129 
   14130 
   14131 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14132    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14133   as_expr=expr
   14134 else
   14135   as_expr=false
   14136 fi
   14137 
   14138 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14139   as_basename=basename
   14140 else
   14141   as_basename=false
   14142 fi
   14143 
   14144 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14145   as_dirname=dirname
   14146 else
   14147   as_dirname=false
   14148 fi
   14149 
   14150 as_me=`$as_basename -- "$0" ||
   14151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14152 	 X"$0" : 'X\(//\)$' \| \
   14153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14154 $as_echo X/"$0" |
   14155     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14156 	    s//\1/
   14157 	    q
   14158 	  }
   14159 	  /^X\/\(\/\/\)$/{
   14160 	    s//\1/
   14161 	    q
   14162 	  }
   14163 	  /^X\/\(\/\).*/{
   14164 	    s//\1/
   14165 	    q
   14166 	  }
   14167 	  s/.*/./; q'`
   14168 
   14169 # Avoid depending upon Character Ranges.
   14170 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14171 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14172 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14173 as_cr_digits='0123456789'
   14174 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14175 
   14176 ECHO_C= ECHO_N= ECHO_T=
   14177 case `echo -n x` in #(((((
   14178 -n*)
   14179   case `echo 'xy\c'` in
   14180   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14181   xy)  ECHO_C='\c';;
   14182   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14183        ECHO_T='	';;
   14184   esac;;
   14185 *)
   14186   ECHO_N='-n';;
   14187 esac
   14188 
   14189 rm -f conf$$ conf$$.exe conf$$.file
   14190 if test -d conf$$.dir; then
   14191   rm -f conf$$.dir/conf$$.file
   14192 else
   14193   rm -f conf$$.dir
   14194   mkdir conf$$.dir 2>/dev/null
   14195 fi
   14196 if (echo >conf$$.file) 2>/dev/null; then
   14197   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14198     as_ln_s='ln -s'
   14199     # ... but there are two gotchas:
   14200     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   14201     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   14202     # In both cases, we have to default to `cp -p'.
   14203     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14204       as_ln_s='cp -p'
   14205   elif ln conf$$.file conf$$ 2>/dev/null; then
   14206     as_ln_s=ln
   14207   else
   14208     as_ln_s='cp -p'
   14209   fi
   14210 else
   14211   as_ln_s='cp -p'
   14212 fi
   14213 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14214 rmdir conf$$.dir 2>/dev/null
   14215 
   14216 
   14217 # as_fn_mkdir_p
   14218 # -------------
   14219 # Create "$as_dir" as a directory, including parents if necessary.
   14220 as_fn_mkdir_p ()
   14221 {
   14222 
   14223   case $as_dir in #(
   14224   -*) as_dir=./$as_dir;;
   14225   esac
   14226   test -d "$as_dir" || eval $as_mkdir_p || {
   14227     as_dirs=
   14228     while :; do
   14229       case $as_dir in #(
   14230       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14231       *) as_qdir=$as_dir;;
   14232       esac
   14233       as_dirs="'$as_qdir' $as_dirs"
   14234       as_dir=`$as_dirname -- "$as_dir" ||
   14235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14236 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14237 	 X"$as_dir" : 'X\(//\)$' \| \
   14238 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14239 $as_echo X"$as_dir" |
   14240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14241 	    s//\1/
   14242 	    q
   14243 	  }
   14244 	  /^X\(\/\/\)[^/].*/{
   14245 	    s//\1/
   14246 	    q
   14247 	  }
   14248 	  /^X\(\/\/\)$/{
   14249 	    s//\1/
   14250 	    q
   14251 	  }
   14252 	  /^X\(\/\).*/{
   14253 	    s//\1/
   14254 	    q
   14255 	  }
   14256 	  s/.*/./; q'`
   14257       test -d "$as_dir" && break
   14258     done
   14259     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14260   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   14261 
   14262 
   14263 } # as_fn_mkdir_p
   14264 if mkdir -p . 2>/dev/null; then
   14265   as_mkdir_p='mkdir -p "$as_dir"'
   14266 else
   14267   test -d ./-p && rmdir ./-p
   14268   as_mkdir_p=false
   14269 fi
   14270 
   14271 if test -x / >/dev/null 2>&1; then
   14272   as_test_x='test -x'
   14273 else
   14274   if ls -dL / >/dev/null 2>&1; then
   14275     as_ls_L_option=L
   14276   else
   14277     as_ls_L_option=
   14278   fi
   14279   as_test_x='
   14280     eval sh -c '\''
   14281       if test -d "$1"; then
   14282 	test -d "$1/.";
   14283       else
   14284 	case $1 in #(
   14285 	-*)set "./$1";;
   14286 	esac;
   14287 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   14288 	???[sx]*):;;*)false;;esac;fi
   14289     '\'' sh
   14290   '
   14291 fi
   14292 as_executable_p=$as_test_x
   14293 
   14294 # Sed expression to map a string onto a valid CPP name.
   14295 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   14296 
   14297 # Sed expression to map a string onto a valid variable name.
   14298 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   14299 
   14300 
   14301 exec 6>&1
   14302 ## ----------------------------------- ##
   14303 ## Main body of $CONFIG_STATUS script. ##
   14304 ## ----------------------------------- ##
   14305 _ASEOF
   14306 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   14307 
   14308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14309 # Save the log message, to keep $0 and so on meaningful, and to
   14310 # report actual input values of CONFIG_FILES etc. instead of their
   14311 # values after options handling.
   14312 ac_log="
   14313 This file was extended by EXIF library $as_me 0.6.21, which was
   14314 generated by GNU Autoconf 2.68.  Invocation command line was
   14315 
   14316   CONFIG_FILES    = $CONFIG_FILES
   14317   CONFIG_HEADERS  = $CONFIG_HEADERS
   14318   CONFIG_LINKS    = $CONFIG_LINKS
   14319   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14320   $ $0 $@
   14321 
   14322 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14323 "
   14324 
   14325 _ACEOF
   14326 
   14327 case $ac_config_files in *"
   14328 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14329 esac
   14330 
   14331 case $ac_config_headers in *"
   14332 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14333 esac
   14334 
   14335 
   14336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14337 # Files that config.status was made for.
   14338 config_files="`echo $ac_config_files`"
   14339 config_headers="`echo $ac_config_headers`"
   14340 config_commands="`echo $ac_config_commands`"
   14341 
   14342 _ACEOF
   14343 
   14344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14345 ac_cs_usage="\
   14346 \`$as_me' instantiates files and other configuration actions
   14347 from templates according to the current configuration.  Unless the files
   14348 and actions are specified as TAGs, all are instantiated by default.
   14349 
   14350 Usage: $0 [OPTION]... [TAG]...
   14351 
   14352   -h, --help       print this help, then exit
   14353   -V, --version    print version number and configuration settings, then exit
   14354       --config     print configuration, then exit
   14355   -q, --quiet, --silent
   14356                    do not print progress messages
   14357   -d, --debug      don't remove temporary files
   14358       --recheck    update $as_me by reconfiguring in the same conditions
   14359       --file=FILE[:TEMPLATE]
   14360                    instantiate the configuration file FILE
   14361       --header=FILE[:TEMPLATE]
   14362                    instantiate the configuration header FILE
   14363 
   14364 Configuration files:
   14365 $config_files
   14366 
   14367 Configuration headers:
   14368 $config_headers
   14369 
   14370 Configuration commands:
   14371 $config_commands
   14372 
   14373 Report bugs to <libexif-devel (at] lists.sourceforge.net>."
   14374 
   14375 _ACEOF
   14376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14377 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   14378 ac_cs_version="\\
   14379 EXIF library config.status 0.6.21
   14380 configured by $0, generated by GNU Autoconf 2.68,
   14381   with options \\"\$ac_cs_config\\"
   14382 
   14383 Copyright (C) 2010 Free Software Foundation, Inc.
   14384 This config.status script is free software; the Free Software Foundation
   14385 gives unlimited permission to copy, distribute and modify it."
   14386 
   14387 ac_pwd='$ac_pwd'
   14388 srcdir='$srcdir'
   14389 INSTALL='$INSTALL'
   14390 MKDIR_P='$MKDIR_P'
   14391 AWK='$AWK'
   14392 test -n "\$AWK" || AWK=awk
   14393 _ACEOF
   14394 
   14395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14396 # The default lists apply if the user does not specify any file.
   14397 ac_need_defaults=:
   14398 while test $# != 0
   14399 do
   14400   case $1 in
   14401   --*=?*)
   14402     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14403     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14404     ac_shift=:
   14405     ;;
   14406   --*=)
   14407     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14408     ac_optarg=
   14409     ac_shift=:
   14410     ;;
   14411   *)
   14412     ac_option=$1
   14413     ac_optarg=$2
   14414     ac_shift=shift
   14415     ;;
   14416   esac
   14417 
   14418   case $ac_option in
   14419   # Handling of the options.
   14420   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14421     ac_cs_recheck=: ;;
   14422   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14423     $as_echo "$ac_cs_version"; exit ;;
   14424   --config | --confi | --conf | --con | --co | --c )
   14425     $as_echo "$ac_cs_config"; exit ;;
   14426   --debug | --debu | --deb | --de | --d | -d )
   14427     debug=: ;;
   14428   --file | --fil | --fi | --f )
   14429     $ac_shift
   14430     case $ac_optarg in
   14431     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14432     '') as_fn_error $? "missing file argument" ;;
   14433     esac
   14434     as_fn_append CONFIG_FILES " '$ac_optarg'"
   14435     ac_need_defaults=false;;
   14436   --header | --heade | --head | --hea )
   14437     $ac_shift
   14438     case $ac_optarg in
   14439     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14440     esac
   14441     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   14442     ac_need_defaults=false;;
   14443   --he | --h)
   14444     # Conflict between --help and --header
   14445     as_fn_error $? "ambiguous option: \`$1'
   14446 Try \`$0 --help' for more information.";;
   14447   --help | --hel | -h )
   14448     $as_echo "$ac_cs_usage"; exit ;;
   14449   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14450   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14451     ac_cs_silent=: ;;
   14452 
   14453   # This is an error.
   14454   -*) as_fn_error $? "unrecognized option: \`$1'
   14455 Try \`$0 --help' for more information." ;;
   14456 
   14457   *) as_fn_append ac_config_targets " $1"
   14458      ac_need_defaults=false ;;
   14459 
   14460   esac
   14461   shift
   14462 done
   14463 
   14464 ac_configure_extra_args=
   14465 
   14466 if $ac_cs_silent; then
   14467   exec 6>/dev/null
   14468   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14469 fi
   14470 
   14471 _ACEOF
   14472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14473 if \$ac_cs_recheck; then
   14474   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14475   shift
   14476   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   14477   CONFIG_SHELL='$SHELL'
   14478   export CONFIG_SHELL
   14479   exec "\$@"
   14480 fi
   14481 
   14482 _ACEOF
   14483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14484 exec 5>>config.log
   14485 {
   14486   echo
   14487   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14488 ## Running $as_me. ##
   14489 _ASBOX
   14490   $as_echo "$ac_log"
   14491 } >&5
   14492 
   14493 _ACEOF
   14494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14495 #
   14496 # INIT-COMMANDS
   14497 #
   14498 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   14499 
   14500 
   14501 # The HP-UX ksh and POSIX shell print the target directory to stdout
   14502 # if CDPATH is set.
   14503 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14504 
   14505 sed_quote_subst='$sed_quote_subst'
   14506 double_quote_subst='$double_quote_subst'
   14507 delay_variable_subst='$delay_variable_subst'
   14508 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   14509 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   14510 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   14511 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   14512 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   14513 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   14514 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   14515 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   14516 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   14517 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   14518 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   14519 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   14520 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   14521 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   14522 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   14523 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   14524 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   14525 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   14526 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   14527 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   14528 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   14529 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   14530 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   14531 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   14532 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   14533 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   14534 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   14535 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   14536 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   14537 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   14538 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   14539 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   14540 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   14541 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   14542 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   14543 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   14544 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   14545 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   14546 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   14547 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   14548 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   14549 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   14550 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   14551 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   14552 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   14553 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   14554 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   14555 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   14556 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   14557 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   14558 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   14559 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   14560 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   14561 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   14562 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   14563 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"`'
   14564 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   14565 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   14566 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   14567 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   14568 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   14569 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   14570 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   14571 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   14572 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   14573 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   14574 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   14575 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   14576 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   14577 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   14578 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   14579 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   14580 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   14581 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   14582 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   14583 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   14584 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   14585 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   14586 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   14587 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   14588 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   14589 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   14590 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   14591 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   14592 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   14593 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   14594 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   14595 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   14596 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   14597 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   14598 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   14599 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   14600 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   14601 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   14602 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   14603 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   14604 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   14605 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   14606 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   14607 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   14608 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   14609 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   14610 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   14611 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   14612 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   14613 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   14614 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   14615 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   14616 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   14617 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   14618 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   14619 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   14620 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   14621 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   14622 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   14623 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   14624 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   14625 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   14626 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   14627 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   14628 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   14629 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   14630 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   14631 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   14632 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   14633 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   14634 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   14635 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   14636 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   14637 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   14638 
   14639 LTCC='$LTCC'
   14640 LTCFLAGS='$LTCFLAGS'
   14641 compiler='$compiler_DEFAULT'
   14642 
   14643 # A function that is used when there is no print builtin or printf.
   14644 func_fallback_echo ()
   14645 {
   14646   eval 'cat <<_LTECHO_EOF
   14647 \$1
   14648 _LTECHO_EOF'
   14649 }
   14650 
   14651 # Quote evaled strings.
   14652 for var in SHELL \
   14653 ECHO \
   14654 SED \
   14655 GREP \
   14656 EGREP \
   14657 FGREP \
   14658 LD \
   14659 NM \
   14660 LN_S \
   14661 lt_SP2NL \
   14662 lt_NL2SP \
   14663 reload_flag \
   14664 OBJDUMP \
   14665 deplibs_check_method \
   14666 file_magic_cmd \
   14667 file_magic_glob \
   14668 want_nocaseglob \
   14669 DLLTOOL \
   14670 sharedlib_from_linklib_cmd \
   14671 AR \
   14672 AR_FLAGS \
   14673 archiver_list_spec \
   14674 STRIP \
   14675 RANLIB \
   14676 CC \
   14677 CFLAGS \
   14678 compiler \
   14679 lt_cv_sys_global_symbol_pipe \
   14680 lt_cv_sys_global_symbol_to_cdecl \
   14681 lt_cv_sys_global_symbol_to_c_name_address \
   14682 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14683 nm_file_list_spec \
   14684 lt_prog_compiler_no_builtin_flag \
   14685 lt_prog_compiler_pic \
   14686 lt_prog_compiler_wl \
   14687 lt_prog_compiler_static \
   14688 lt_cv_prog_compiler_c_o \
   14689 need_locks \
   14690 MANIFEST_TOOL \
   14691 DSYMUTIL \
   14692 NMEDIT \
   14693 LIPO \
   14694 OTOOL \
   14695 OTOOL64 \
   14696 shrext_cmds \
   14697 export_dynamic_flag_spec \
   14698 whole_archive_flag_spec \
   14699 compiler_needs_object \
   14700 with_gnu_ld \
   14701 allow_undefined_flag \
   14702 no_undefined_flag \
   14703 hardcode_libdir_flag_spec \
   14704 hardcode_libdir_flag_spec_ld \
   14705 hardcode_libdir_separator \
   14706 exclude_expsyms \
   14707 include_expsyms \
   14708 file_list_spec \
   14709 variables_saved_for_relink \
   14710 libname_spec \
   14711 library_names_spec \
   14712 soname_spec \
   14713 install_override_mode \
   14714 finish_eval \
   14715 old_striplib \
   14716 striplib; do
   14717     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   14718     *[\\\\\\\`\\"\\\$]*)
   14719       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14720       ;;
   14721     *)
   14722       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14723       ;;
   14724     esac
   14725 done
   14726 
   14727 # Double-quote double-evaled strings.
   14728 for var in reload_cmds \
   14729 old_postinstall_cmds \
   14730 old_postuninstall_cmds \
   14731 old_archive_cmds \
   14732 extract_expsyms_cmds \
   14733 old_archive_from_new_cmds \
   14734 old_archive_from_expsyms_cmds \
   14735 archive_cmds \
   14736 archive_expsym_cmds \
   14737 module_cmds \
   14738 module_expsym_cmds \
   14739 export_symbols_cmds \
   14740 prelink_cmds \
   14741 postlink_cmds \
   14742 postinstall_cmds \
   14743 postuninstall_cmds \
   14744 finish_cmds \
   14745 sys_lib_search_path_spec \
   14746 sys_lib_dlsearch_path_spec; do
   14747     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   14748     *[\\\\\\\`\\"\\\$]*)
   14749       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14750       ;;
   14751     *)
   14752       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14753       ;;
   14754     esac
   14755 done
   14756 
   14757 ac_aux_dir='$ac_aux_dir'
   14758 xsi_shell='$xsi_shell'
   14759 lt_shell_append='$lt_shell_append'
   14760 
   14761 # See if we are running on zsh, and set the options which allow our
   14762 # commands through without removal of \ escapes INIT.
   14763 if test -n "\${ZSH_VERSION+set}" ; then
   14764    setopt NO_GLOB_SUBST
   14765 fi
   14766 
   14767 
   14768     PACKAGE='$PACKAGE'
   14769     VERSION='$VERSION'
   14770     TIMESTAMP='$TIMESTAMP'
   14771     RM='$RM'
   14772     ofile='$ofile'
   14773 
   14774 
   14775 
   14776 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   14777     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   14778     # from automake.
   14779     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   14780     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   14781     LINGUAS="${LINGUAS-%UNSET%}"
   14782 
   14783 
   14784 _ACEOF
   14785 
   14786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14787 
   14788 # Handling of arguments.
   14789 for ac_config_target in $ac_config_targets
   14790 do
   14791   case $ac_config_target in
   14792     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14793     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14794     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14795     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   14796     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   14797     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14798     "libexif.spec") CONFIG_FILES="$CONFIG_FILES libexif.spec" ;;
   14799     "libexif/Makefile") CONFIG_FILES="$CONFIG_FILES libexif/Makefile" ;;
   14800     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   14801     "test/nls/Makefile") CONFIG_FILES="$CONFIG_FILES test/nls/Makefile" ;;
   14802     "m4m/Makefile") CONFIG_FILES="$CONFIG_FILES m4m/Makefile" ;;
   14803     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   14804     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
   14805     "doc/Doxyfile-internals") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile-internals" ;;
   14806     "libexif.pc") CONFIG_FILES="$CONFIG_FILES libexif.pc" ;;
   14807     "libexif-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libexif-uninstalled.pc" ;;
   14808     "binary/Makefile") CONFIG_FILES="$CONFIG_FILES binary/Makefile" ;;
   14809     "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
   14810     "contrib/examples/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/examples/Makefile" ;;
   14811 
   14812   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   14813   esac
   14814 done
   14815 
   14816 
   14817 # If the user did not use the arguments to specify the items to instantiate,
   14818 # then the envvar interface is used.  Set only those that are not.
   14819 # We use the long form for the default assignment because of an extremely
   14820 # bizarre bug on SunOS 4.1.3.
   14821 if $ac_need_defaults; then
   14822   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14823   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14824   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14825 fi
   14826 
   14827 # Have a temporary directory for convenience.  Make it in the build tree
   14828 # simply because there is no reason against having it here, and in addition,
   14829 # creating and moving files from /tmp can sometimes cause problems.
   14830 # Hook for its removal unless debugging.
   14831 # Note that there is a small window in which the directory will not be cleaned:
   14832 # after its creation but before its name has been assigned to `$tmp'.
   14833 $debug ||
   14834 {
   14835   tmp= ac_tmp=
   14836   trap 'exit_status=$?
   14837   : "${ac_tmp:=$tmp}"
   14838   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   14839 ' 0
   14840   trap 'as_fn_exit 1' 1 2 13 15
   14841 }
   14842 # Create a (secure) tmp directory for tmp files.
   14843 
   14844 {
   14845   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14846   test -d "$tmp"
   14847 }  ||
   14848 {
   14849   tmp=./conf$$-$RANDOM
   14850   (umask 077 && mkdir "$tmp")
   14851 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   14852 ac_tmp=$tmp
   14853 
   14854 # Set up the scripts for CONFIG_FILES section.
   14855 # No need to generate them if there are no CONFIG_FILES.
   14856 # This happens for instance with `./config.status config.h'.
   14857 if test -n "$CONFIG_FILES"; then
   14858 
   14859 
   14860 ac_cr=`echo X | tr X '\015'`
   14861 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   14862 # But we know of no other shell where ac_cr would be empty at this
   14863 # point, so we can use a bashism as a fallback.
   14864 if test "x$ac_cr" = x; then
   14865   eval ac_cr=\$\'\\r\'
   14866 fi
   14867 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14868 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14869   ac_cs_awk_cr='\\r'
   14870 else
   14871   ac_cs_awk_cr=$ac_cr
   14872 fi
   14873 
   14874 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   14875 _ACEOF
   14876 
   14877 
   14878 {
   14879   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14880   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14881   echo "_ACEOF"
   14882 } >conf$$subs.sh ||
   14883   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14884 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   14885 ac_delim='%!_!# '
   14886 for ac_last_try in false false false false false :; do
   14887   . ./conf$$subs.sh ||
   14888     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14889 
   14890   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14891   if test $ac_delim_n = $ac_delim_num; then
   14892     break
   14893   elif $ac_last_try; then
   14894     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14895   else
   14896     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14897   fi
   14898 done
   14899 rm -f conf$$subs.sh
   14900 
   14901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14902 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   14903 _ACEOF
   14904 sed -n '
   14905 h
   14906 s/^/S["/; s/!.*/"]=/
   14907 p
   14908 g
   14909 s/^[^!]*!//
   14910 :repl
   14911 t repl
   14912 s/'"$ac_delim"'$//
   14913 t delim
   14914 :nl
   14915 h
   14916 s/\(.\{148\}\)..*/\1/
   14917 t more1
   14918 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14919 p
   14920 n
   14921 b repl
   14922 :more1
   14923 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14924 p
   14925 g
   14926 s/.\{148\}//
   14927 t nl
   14928 :delim
   14929 h
   14930 s/\(.\{148\}\)..*/\1/
   14931 t more2
   14932 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14933 p
   14934 b
   14935 :more2
   14936 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14937 p
   14938 g
   14939 s/.\{148\}//
   14940 t delim
   14941 ' <conf$$subs.awk | sed '
   14942 /^[^""]/{
   14943   N
   14944   s/\n//
   14945 }
   14946 ' >>$CONFIG_STATUS || ac_write_fail=1
   14947 rm -f conf$$subs.awk
   14948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14949 _ACAWK
   14950 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   14951   for (key in S) S_is_set[key] = 1
   14952   FS = ""
   14953 
   14954 }
   14955 {
   14956   line = $ 0
   14957   nfields = split(line, field, "@")
   14958   substed = 0
   14959   len = length(field[1])
   14960   for (i = 2; i < nfields; i++) {
   14961     key = field[i]
   14962     keylen = length(key)
   14963     if (S_is_set[key]) {
   14964       value = S[key]
   14965       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14966       len += length(value) + length(field[++i])
   14967       substed = 1
   14968     } else
   14969       len += 1 + keylen
   14970   }
   14971 
   14972   print line
   14973 }
   14974 
   14975 _ACAWK
   14976 _ACEOF
   14977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14978 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14979   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14980 else
   14981   cat
   14982 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   14983   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   14984 _ACEOF
   14985 
   14986 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   14987 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   14988 # trailing colons and then remove the whole line if VPATH becomes empty
   14989 # (actually we leave an empty line to preserve line numbers).
   14990 if test "x$srcdir" = x.; then
   14991   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   14992 h
   14993 s///
   14994 s/^/:/
   14995 s/[	 ]*$/:/
   14996 s/:\$(srcdir):/:/g
   14997 s/:\${srcdir}:/:/g
   14998 s/:@srcdir@:/:/g
   14999 s/^:*//
   15000 s/:*$//
   15001 x
   15002 s/\(=[	 ]*\).*/\1/
   15003 G
   15004 s/\n//
   15005 s/^[^=]*=[	 ]*$//
   15006 }'
   15007 fi
   15008 
   15009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15010 fi # test -n "$CONFIG_FILES"
   15011 
   15012 # Set up the scripts for CONFIG_HEADERS section.
   15013 # No need to generate them if there are no CONFIG_HEADERS.
   15014 # This happens for instance with `./config.status Makefile'.
   15015 if test -n "$CONFIG_HEADERS"; then
   15016 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   15017 BEGIN {
   15018 _ACEOF
   15019 
   15020 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15021 # here-document in config.status, that substitutes the proper values into
   15022 # config.h.in to produce config.h.
   15023 
   15024 # Create a delimiter string that does not exist in confdefs.h, to ease
   15025 # handling of long lines.
   15026 ac_delim='%!_!# '
   15027 for ac_last_try in false false :; do
   15028   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   15029   if test -z "$ac_tt"; then
   15030     break
   15031   elif $ac_last_try; then
   15032     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   15033   else
   15034     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15035   fi
   15036 done
   15037 
   15038 # For the awk script, D is an array of macro values keyed by name,
   15039 # likewise P contains macro parameters if any.  Preserve backslash
   15040 # newline sequences.
   15041 
   15042 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15043 sed -n '
   15044 s/.\{148\}/&'"$ac_delim"'/g
   15045 t rset
   15046 :rset
   15047 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15048 t def
   15049 d
   15050 :def
   15051 s/\\$//
   15052 t bsnl
   15053 s/["\\]/\\&/g
   15054 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15055 D["\1"]=" \3"/p
   15056 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15057 d
   15058 :bsnl
   15059 s/["\\]/\\&/g
   15060 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15061 D["\1"]=" \3\\\\\\n"\\/p
   15062 t cont
   15063 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15064 t cont
   15065 d
   15066 :cont
   15067 n
   15068 s/.\{148\}/&'"$ac_delim"'/g
   15069 t clear
   15070 :clear
   15071 s/\\$//
   15072 t bsnlc
   15073 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15074 d
   15075 :bsnlc
   15076 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15077 b cont
   15078 ' <confdefs.h | sed '
   15079 s/'"$ac_delim"'/"\\\
   15080 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15081 
   15082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15083   for (key in D) D_is_set[key] = 1
   15084   FS = ""
   15085 }
   15086 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15087   line = \$ 0
   15088   split(line, arg, " ")
   15089   if (arg[1] == "#") {
   15090     defundef = arg[2]
   15091     mac1 = arg[3]
   15092   } else {
   15093     defundef = substr(arg[1], 2)
   15094     mac1 = arg[2]
   15095   }
   15096   split(mac1, mac2, "(") #)
   15097   macro = mac2[1]
   15098   prefix = substr(line, 1, index(line, defundef) - 1)
   15099   if (D_is_set[macro]) {
   15100     # Preserve the white space surrounding the "#".
   15101     print prefix "define", macro P[macro] D[macro]
   15102     next
   15103   } else {
   15104     # Replace #undef with comments.  This is necessary, for example,
   15105     # in the case of _POSIX_SOURCE, which is predefined and required
   15106     # on some systems where configure will not decide to define it.
   15107     if (defundef == "undef") {
   15108       print "/*", prefix defundef, macro, "*/"
   15109       next
   15110     }
   15111   }
   15112 }
   15113 { print }
   15114 _ACAWK
   15115 _ACEOF
   15116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15117   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15118 fi # test -n "$CONFIG_HEADERS"
   15119 
   15120 
   15121 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15122 shift
   15123 for ac_tag
   15124 do
   15125   case $ac_tag in
   15126   :[FHLC]) ac_mode=$ac_tag; continue;;
   15127   esac
   15128   case $ac_mode$ac_tag in
   15129   :[FHL]*:*);;
   15130   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15131   :[FH]-) ac_tag=-:-;;
   15132   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15133   esac
   15134   ac_save_IFS=$IFS
   15135   IFS=:
   15136   set x $ac_tag
   15137   IFS=$ac_save_IFS
   15138   shift
   15139   ac_file=$1
   15140   shift
   15141 
   15142   case $ac_mode in
   15143   :L) ac_source=$1;;
   15144   :[FH])
   15145     ac_file_inputs=
   15146     for ac_f
   15147     do
   15148       case $ac_f in
   15149       -) ac_f="$ac_tmp/stdin";;
   15150       *) # Look for the file first in the build tree, then in the source tree
   15151 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15152 	 # because $ac_f cannot contain `:'.
   15153 	 test -f "$ac_f" ||
   15154 	   case $ac_f in
   15155 	   [\\/$]*) false;;
   15156 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15157 	   esac ||
   15158 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15159       esac
   15160       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15161       as_fn_append ac_file_inputs " '$ac_f'"
   15162     done
   15163 
   15164     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15165     # use $as_me), people would be surprised to read:
   15166     #    /* config.h.  Generated by config.status.  */
   15167     configure_input='Generated from '`
   15168 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15169 	`' by configure.'
   15170     if test x"$ac_file" != x-; then
   15171       configure_input="$ac_file.  $configure_input"
   15172       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15173 $as_echo "$as_me: creating $ac_file" >&6;}
   15174     fi
   15175     # Neutralize special characters interpreted by sed in replacement strings.
   15176     case $configure_input in #(
   15177     *\&* | *\|* | *\\* )
   15178        ac_sed_conf_input=`$as_echo "$configure_input" |
   15179        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15180     *) ac_sed_conf_input=$configure_input;;
   15181     esac
   15182 
   15183     case $ac_tag in
   15184     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15185       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15186     esac
   15187     ;;
   15188   esac
   15189 
   15190   ac_dir=`$as_dirname -- "$ac_file" ||
   15191 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15192 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15193 	 X"$ac_file" : 'X\(//\)$' \| \
   15194 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15195 $as_echo X"$ac_file" |
   15196     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15197 	    s//\1/
   15198 	    q
   15199 	  }
   15200 	  /^X\(\/\/\)[^/].*/{
   15201 	    s//\1/
   15202 	    q
   15203 	  }
   15204 	  /^X\(\/\/\)$/{
   15205 	    s//\1/
   15206 	    q
   15207 	  }
   15208 	  /^X\(\/\).*/{
   15209 	    s//\1/
   15210 	    q
   15211 	  }
   15212 	  s/.*/./; q'`
   15213   as_dir="$ac_dir"; as_fn_mkdir_p
   15214   ac_builddir=.
   15215 
   15216 case "$ac_dir" in
   15217 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15218 *)
   15219   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15220   # A ".." for each directory in $ac_dir_suffix.
   15221   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15222   case $ac_top_builddir_sub in
   15223   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15224   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15225   esac ;;
   15226 esac
   15227 ac_abs_top_builddir=$ac_pwd
   15228 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15229 # for backward compatibility:
   15230 ac_top_builddir=$ac_top_build_prefix
   15231 
   15232 case $srcdir in
   15233   .)  # We are building in place.
   15234     ac_srcdir=.
   15235     ac_top_srcdir=$ac_top_builddir_sub
   15236     ac_abs_top_srcdir=$ac_pwd ;;
   15237   [\\/]* | ?:[\\/]* )  # Absolute name.
   15238     ac_srcdir=$srcdir$ac_dir_suffix;
   15239     ac_top_srcdir=$srcdir
   15240     ac_abs_top_srcdir=$srcdir ;;
   15241   *) # Relative name.
   15242     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15243     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15244     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15245 esac
   15246 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15247 
   15248 
   15249   case $ac_mode in
   15250   :F)
   15251   #
   15252   # CONFIG_FILE
   15253   #
   15254 
   15255   case $INSTALL in
   15256   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15257   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15258   esac
   15259   ac_MKDIR_P=$MKDIR_P
   15260   case $MKDIR_P in
   15261   [\\/$]* | ?:[\\/]* ) ;;
   15262   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15263   esac
   15264 _ACEOF
   15265 
   15266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15267 # If the template does not know about datarootdir, expand it.
   15268 # FIXME: This hack should be removed a few years after 2.60.
   15269 ac_datarootdir_hack=; ac_datarootdir_seen=
   15270 ac_sed_dataroot='
   15271 /datarootdir/ {
   15272   p
   15273   q
   15274 }
   15275 /@datadir@/p
   15276 /@docdir@/p
   15277 /@infodir@/p
   15278 /@localedir@/p
   15279 /@mandir@/p'
   15280 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15281 *datarootdir*) ac_datarootdir_seen=yes;;
   15282 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15283   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15284 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15285 _ACEOF
   15286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15287   ac_datarootdir_hack='
   15288   s&@datadir@&$datadir&g
   15289   s&@docdir@&$docdir&g
   15290   s&@infodir@&$infodir&g
   15291   s&@localedir@&$localedir&g
   15292   s&@mandir@&$mandir&g
   15293   s&\\\${datarootdir}&$datarootdir&g' ;;
   15294 esac
   15295 _ACEOF
   15296 
   15297 # Neutralize VPATH when `$srcdir' = `.'.
   15298 # Shell code in configure.ac might set extrasub.
   15299 # FIXME: do we really want to maintain this feature?
   15300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15301 ac_sed_extra="$ac_vpsub
   15302 $extrasub
   15303 _ACEOF
   15304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15305 :t
   15306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15307 s|@configure_input@|$ac_sed_conf_input|;t t
   15308 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15309 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15310 s&@srcdir@&$ac_srcdir&;t t
   15311 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15312 s&@top_srcdir@&$ac_top_srcdir&;t t
   15313 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15314 s&@builddir@&$ac_builddir&;t t
   15315 s&@abs_builddir@&$ac_abs_builddir&;t t
   15316 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15317 s&@INSTALL@&$ac_INSTALL&;t t
   15318 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15319 $ac_datarootdir_hack
   15320 "
   15321 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   15322   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15323 
   15324 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15325   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   15326   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   15327       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   15328   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15329 which seems to be undefined.  Please make sure it is defined" >&5
   15330 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15331 which seems to be undefined.  Please make sure it is defined" >&2;}
   15332 
   15333   rm -f "$ac_tmp/stdin"
   15334   case $ac_file in
   15335   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   15336   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   15337   esac \
   15338   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15339  ;;
   15340   :H)
   15341   #
   15342   # CONFIG_HEADER
   15343   #
   15344   if test x"$ac_file" != x-; then
   15345     {
   15346       $as_echo "/* $configure_input  */" \
   15347       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   15348     } >"$ac_tmp/config.h" \
   15349       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15350     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   15351       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   15352 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15353     else
   15354       rm -f "$ac_file"
   15355       mv "$ac_tmp/config.h" "$ac_file" \
   15356 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15357     fi
   15358   else
   15359     $as_echo "/* $configure_input  */" \
   15360       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   15361       || as_fn_error $? "could not create -" "$LINENO" 5
   15362   fi
   15363 # Compute "$ac_file"'s index in $config_headers.
   15364 _am_arg="$ac_file"
   15365 _am_stamp_count=1
   15366 for _am_header in $config_headers :; do
   15367   case $_am_header in
   15368     $_am_arg | $_am_arg:* )
   15369       break ;;
   15370     * )
   15371       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   15372   esac
   15373 done
   15374 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   15375 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15376 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   15377 	 X"$_am_arg" : 'X\(//\)$' \| \
   15378 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   15379 $as_echo X"$_am_arg" |
   15380     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15381 	    s//\1/
   15382 	    q
   15383 	  }
   15384 	  /^X\(\/\/\)[^/].*/{
   15385 	    s//\1/
   15386 	    q
   15387 	  }
   15388 	  /^X\(\/\/\)$/{
   15389 	    s//\1/
   15390 	    q
   15391 	  }
   15392 	  /^X\(\/\).*/{
   15393 	    s//\1/
   15394 	    q
   15395 	  }
   15396 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15397  ;;
   15398 
   15399   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   15400 $as_echo "$as_me: executing $ac_file commands" >&6;}
   15401  ;;
   15402   esac
   15403 
   15404 
   15405   case $ac_file$ac_mode in
   15406     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15407   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   15408   # are listed without --file.  Let's play safe and only enable the eval
   15409   # if we detect the quoting.
   15410   case $CONFIG_FILES in
   15411   *\'*) eval set x "$CONFIG_FILES" ;;
   15412   *)   set x $CONFIG_FILES ;;
   15413   esac
   15414   shift
   15415   for mf
   15416   do
   15417     # Strip MF so we end up with the name of the file.
   15418     mf=`echo "$mf" | sed -e 's/:.*$//'`
   15419     # Check whether this is an Automake generated Makefile or not.
   15420     # We used to match only the files named `Makefile.in', but
   15421     # some people rename them; so instead we look at the file content.
   15422     # Grep'ing the first line is not enough: some people post-process
   15423     # each Makefile.in and add a new line on top of each file to say so.
   15424     # Grep'ing the whole file is not good either: AIX grep has a line
   15425     # limit of 2048, but all sed's we know have understand at least 4000.
   15426     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   15427       dirpart=`$as_dirname -- "$mf" ||
   15428 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15429 	 X"$mf" : 'X\(//\)[^/]' \| \
   15430 	 X"$mf" : 'X\(//\)$' \| \
   15431 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   15432 $as_echo X"$mf" |
   15433     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15434 	    s//\1/
   15435 	    q
   15436 	  }
   15437 	  /^X\(\/\/\)[^/].*/{
   15438 	    s//\1/
   15439 	    q
   15440 	  }
   15441 	  /^X\(\/\/\)$/{
   15442 	    s//\1/
   15443 	    q
   15444 	  }
   15445 	  /^X\(\/\).*/{
   15446 	    s//\1/
   15447 	    q
   15448 	  }
   15449 	  s/.*/./; q'`
   15450     else
   15451       continue
   15452     fi
   15453     # Extract the definition of DEPDIR, am__include, and am__quote
   15454     # from the Makefile without running `make'.
   15455     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   15456     test -z "$DEPDIR" && continue
   15457     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   15458     test -z "am__include" && continue
   15459     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   15460     # When using ansi2knr, U may be empty or an underscore; expand it
   15461     U=`sed -n 's/^U = //p' < "$mf"`
   15462     # Find all dependency output files, they are included files with
   15463     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   15464     # simplest approach to changing $(DEPDIR) to its actual value in the
   15465     # expansion.
   15466     for file in `sed -n "
   15467       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   15468 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   15469       # Make sure the directory exists.
   15470       test -f "$dirpart/$file" && continue
   15471       fdir=`$as_dirname -- "$file" ||
   15472 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15473 	 X"$file" : 'X\(//\)[^/]' \| \
   15474 	 X"$file" : 'X\(//\)$' \| \
   15475 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   15476 $as_echo X"$file" |
   15477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15478 	    s//\1/
   15479 	    q
   15480 	  }
   15481 	  /^X\(\/\/\)[^/].*/{
   15482 	    s//\1/
   15483 	    q
   15484 	  }
   15485 	  /^X\(\/\/\)$/{
   15486 	    s//\1/
   15487 	    q
   15488 	  }
   15489 	  /^X\(\/\).*/{
   15490 	    s//\1/
   15491 	    q
   15492 	  }
   15493 	  s/.*/./; q'`
   15494       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   15495       # echo "creating $dirpart/$file"
   15496       echo '# dummy' > "$dirpart/$file"
   15497     done
   15498   done
   15499 }
   15500  ;;
   15501     "libtool":C)
   15502 
   15503     # See if we are running on zsh, and set the options which allow our
   15504     # commands through without removal of \ escapes.
   15505     if test -n "${ZSH_VERSION+set}" ; then
   15506       setopt NO_GLOB_SUBST
   15507     fi
   15508 
   15509     cfgfile="${ofile}T"
   15510     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15511     $RM "$cfgfile"
   15512 
   15513     cat <<_LT_EOF >> "$cfgfile"
   15514 #! $SHELL
   15515 
   15516 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15517 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   15518 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15519 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15520 #
   15521 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15522 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   15523 #                 Inc.
   15524 #   Written by Gordon Matzigkeit, 1996
   15525 #
   15526 #   This file is part of GNU Libtool.
   15527 #
   15528 # GNU Libtool is free software; you can redistribute it and/or
   15529 # modify it under the terms of the GNU General Public License as
   15530 # published by the Free Software Foundation; either version 2 of
   15531 # the License, or (at your option) any later version.
   15532 #
   15533 # As a special exception to the GNU General Public License,
   15534 # if you distribute this file as part of a program or library that
   15535 # is built using GNU Libtool, you may include this file under the
   15536 # same distribution terms that you use for the rest of that program.
   15537 #
   15538 # GNU Libtool is distributed in the hope that it will be useful,
   15539 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   15540 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15541 # GNU General Public License for more details.
   15542 #
   15543 # You should have received a copy of the GNU General Public License
   15544 # along with GNU Libtool; see the file COPYING.  If not, a copy
   15545 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   15546 # obtained by writing to the Free Software Foundation, Inc.,
   15547 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   15548 
   15549 
   15550 # The names of the tagged configurations supported by this script.
   15551 available_tags=""
   15552 
   15553 # ### BEGIN LIBTOOL CONFIG
   15554 
   15555 # Which release of libtool.m4 was used?
   15556 macro_version=$macro_version
   15557 macro_revision=$macro_revision
   15558 
   15559 # Whether or not to build shared libraries.
   15560 build_libtool_libs=$enable_shared
   15561 
   15562 # Whether or not to build static libraries.
   15563 build_old_libs=$enable_static
   15564 
   15565 # What type of objects to build.
   15566 pic_mode=$pic_mode
   15567 
   15568 # Whether or not to optimize for fast installation.
   15569 fast_install=$enable_fast_install
   15570 
   15571 # Shell to use when invoking shell scripts.
   15572 SHELL=$lt_SHELL
   15573 
   15574 # An echo program that protects backslashes.
   15575 ECHO=$lt_ECHO
   15576 
   15577 # The host system.
   15578 host_alias=$host_alias
   15579 host=$host
   15580 host_os=$host_os
   15581 
   15582 # The build system.
   15583 build_alias=$build_alias
   15584 build=$build
   15585 build_os=$build_os
   15586 
   15587 # A sed program that does not truncate output.
   15588 SED=$lt_SED
   15589 
   15590 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15591 Xsed="\$SED -e 1s/^X//"
   15592 
   15593 # A grep program that handles long lines.
   15594 GREP=$lt_GREP
   15595 
   15596 # An ERE matcher.
   15597 EGREP=$lt_EGREP
   15598 
   15599 # A literal string matcher.
   15600 FGREP=$lt_FGREP
   15601 
   15602 # A BSD- or MS-compatible name lister.
   15603 NM=$lt_NM
   15604 
   15605 # Whether we need soft or hard links.
   15606 LN_S=$lt_LN_S
   15607 
   15608 # What is the maximum length of a command?
   15609 max_cmd_len=$max_cmd_len
   15610 
   15611 # Object file suffix (normally "o").
   15612 objext=$ac_objext
   15613 
   15614 # Executable file suffix (normally "").
   15615 exeext=$exeext
   15616 
   15617 # whether the shell understands "unset".
   15618 lt_unset=$lt_unset
   15619 
   15620 # turn spaces into newlines.
   15621 SP2NL=$lt_lt_SP2NL
   15622 
   15623 # turn newlines into spaces.
   15624 NL2SP=$lt_lt_NL2SP
   15625 
   15626 # convert \$build file names to \$host format.
   15627 to_host_file_cmd=$lt_cv_to_host_file_cmd
   15628 
   15629 # convert \$build files to toolchain format.
   15630 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   15631 
   15632 # An object symbol dumper.
   15633 OBJDUMP=$lt_OBJDUMP
   15634 
   15635 # Method to check whether dependent libraries are shared objects.
   15636 deplibs_check_method=$lt_deplibs_check_method
   15637 
   15638 # Command to use when deplibs_check_method = "file_magic".
   15639 file_magic_cmd=$lt_file_magic_cmd
   15640 
   15641 # How to find potential files when deplibs_check_method = "file_magic".
   15642 file_magic_glob=$lt_file_magic_glob
   15643 
   15644 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   15645 want_nocaseglob=$lt_want_nocaseglob
   15646 
   15647 # DLL creation program.
   15648 DLLTOOL=$lt_DLLTOOL
   15649 
   15650 # Command to associate shared and link libraries.
   15651 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   15652 
   15653 # The archiver.
   15654 AR=$lt_AR
   15655 
   15656 # Flags to create an archive.
   15657 AR_FLAGS=$lt_AR_FLAGS
   15658 
   15659 # How to feed a file listing to the archiver.
   15660 archiver_list_spec=$lt_archiver_list_spec
   15661 
   15662 # A symbol stripping program.
   15663 STRIP=$lt_STRIP
   15664 
   15665 # Commands used to install an old-style archive.
   15666 RANLIB=$lt_RANLIB
   15667 old_postinstall_cmds=$lt_old_postinstall_cmds
   15668 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15669 
   15670 # Whether to use a lock for old archive extraction.
   15671 lock_old_archive_extraction=$lock_old_archive_extraction
   15672 
   15673 # A C compiler.
   15674 LTCC=$lt_CC
   15675 
   15676 # LTCC compiler flags.
   15677 LTCFLAGS=$lt_CFLAGS
   15678 
   15679 # Take the output of nm and produce a listing of raw symbols and C names.
   15680 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15681 
   15682 # Transform the output of nm in a proper C declaration.
   15683 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15684 
   15685 # Transform the output of nm in a C name address pair.
   15686 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15687 
   15688 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15689 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15690 
   15691 # Specify filename containing input files for \$NM.
   15692 nm_file_list_spec=$lt_nm_file_list_spec
   15693 
   15694 # The root where to search for dependent libraries,and in which our libraries should be installed.
   15695 lt_sysroot=$lt_sysroot
   15696 
   15697 # The name of the directory that contains temporary libtool files.
   15698 objdir=$objdir
   15699 
   15700 # Used to examine libraries when file_magic_cmd begins with "file".
   15701 MAGIC_CMD=$MAGIC_CMD
   15702 
   15703 # Must we lock files when doing compilation?
   15704 need_locks=$lt_need_locks
   15705 
   15706 # Manifest tool.
   15707 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   15708 
   15709 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15710 DSYMUTIL=$lt_DSYMUTIL
   15711 
   15712 # Tool to change global to local symbols on Mac OS X.
   15713 NMEDIT=$lt_NMEDIT
   15714 
   15715 # Tool to manipulate fat objects and archives on Mac OS X.
   15716 LIPO=$lt_LIPO
   15717 
   15718 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15719 OTOOL=$lt_OTOOL
   15720 
   15721 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15722 OTOOL64=$lt_OTOOL64
   15723 
   15724 # Old archive suffix (normally "a").
   15725 libext=$libext
   15726 
   15727 # Shared library suffix (normally ".so").
   15728 shrext_cmds=$lt_shrext_cmds
   15729 
   15730 # The commands to extract the exported symbol list from a shared archive.
   15731 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15732 
   15733 # Variables whose values should be saved in libtool wrapper scripts and
   15734 # restored at link time.
   15735 variables_saved_for_relink=$lt_variables_saved_for_relink
   15736 
   15737 # Do we need the "lib" prefix for modules?
   15738 need_lib_prefix=$need_lib_prefix
   15739 
   15740 # Do we need a version for libraries?
   15741 need_version=$need_version
   15742 
   15743 # Library versioning type.
   15744 version_type=$version_type
   15745 
   15746 # Shared library runtime path variable.
   15747 runpath_var=$runpath_var
   15748 
   15749 # Shared library path variable.
   15750 shlibpath_var=$shlibpath_var
   15751 
   15752 # Is shlibpath searched before the hard-coded library search path?
   15753 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15754 
   15755 # Format of library name prefix.
   15756 libname_spec=$lt_libname_spec
   15757 
   15758 # List of archive names.  First name is the real one, the rest are links.
   15759 # The last name is the one that the linker finds with -lNAME
   15760 library_names_spec=$lt_library_names_spec
   15761 
   15762 # The coded name of the library, if different from the real name.
   15763 soname_spec=$lt_soname_spec
   15764 
   15765 # Permission mode override for installation of shared libraries.
   15766 install_override_mode=$lt_install_override_mode
   15767 
   15768 # Command to use after installation of a shared archive.
   15769 postinstall_cmds=$lt_postinstall_cmds
   15770 
   15771 # Command to use after uninstallation of a shared archive.
   15772 postuninstall_cmds=$lt_postuninstall_cmds
   15773 
   15774 # Commands used to finish a libtool library installation in a directory.
   15775 finish_cmds=$lt_finish_cmds
   15776 
   15777 # As "finish_cmds", except a single script fragment to be evaled but
   15778 # not shown.
   15779 finish_eval=$lt_finish_eval
   15780 
   15781 # Whether we should hardcode library paths into libraries.
   15782 hardcode_into_libs=$hardcode_into_libs
   15783 
   15784 # Compile-time system search path for libraries.
   15785 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15786 
   15787 # Run-time system search path for libraries.
   15788 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15789 
   15790 # Whether dlopen is supported.
   15791 dlopen_support=$enable_dlopen
   15792 
   15793 # Whether dlopen of programs is supported.
   15794 dlopen_self=$enable_dlopen_self
   15795 
   15796 # Whether dlopen of statically linked programs is supported.
   15797 dlopen_self_static=$enable_dlopen_self_static
   15798 
   15799 # Commands to strip libraries.
   15800 old_striplib=$lt_old_striplib
   15801 striplib=$lt_striplib
   15802 
   15803 
   15804 # The linker used to build libraries.
   15805 LD=$lt_LD
   15806 
   15807 # How to create reloadable object files.
   15808 reload_flag=$lt_reload_flag
   15809 reload_cmds=$lt_reload_cmds
   15810 
   15811 # Commands used to build an old-style archive.
   15812 old_archive_cmds=$lt_old_archive_cmds
   15813 
   15814 # A language specific compiler.
   15815 CC=$lt_compiler
   15816 
   15817 # Is the compiler the GNU compiler?
   15818 with_gcc=$GCC
   15819 
   15820 # Compiler flag to turn off builtin functions.
   15821 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15822 
   15823 # Additional compiler flags for building library objects.
   15824 pic_flag=$lt_lt_prog_compiler_pic
   15825 
   15826 # How to pass a linker flag through the compiler.
   15827 wl=$lt_lt_prog_compiler_wl
   15828 
   15829 # Compiler flag to prevent dynamic linking.
   15830 link_static_flag=$lt_lt_prog_compiler_static
   15831 
   15832 # Does compiler simultaneously support -c and -o options?
   15833 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15834 
   15835 # Whether or not to add -lc for building shared libraries.
   15836 build_libtool_need_lc=$archive_cmds_need_lc
   15837 
   15838 # Whether or not to disallow shared libs when runtime libs are static.
   15839 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15840 
   15841 # Compiler flag to allow reflexive dlopens.
   15842 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15843 
   15844 # Compiler flag to generate shared objects directly from archives.
   15845 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15846 
   15847 # Whether the compiler copes with passing no objects directly.
   15848 compiler_needs_object=$lt_compiler_needs_object
   15849 
   15850 # Create an old-style archive from a shared archive.
   15851 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15852 
   15853 # Create a temporary old-style archive to link instead of a shared archive.
   15854 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15855 
   15856 # Commands used to build a shared archive.
   15857 archive_cmds=$lt_archive_cmds
   15858 archive_expsym_cmds=$lt_archive_expsym_cmds
   15859 
   15860 # Commands used to build a loadable module if different from building
   15861 # a shared archive.
   15862 module_cmds=$lt_module_cmds
   15863 module_expsym_cmds=$lt_module_expsym_cmds
   15864 
   15865 # Whether we are building with GNU ld or not.
   15866 with_gnu_ld=$lt_with_gnu_ld
   15867 
   15868 # Flag that allows shared libraries with undefined symbols to be built.
   15869 allow_undefined_flag=$lt_allow_undefined_flag
   15870 
   15871 # Flag that enforces no undefined symbols.
   15872 no_undefined_flag=$lt_no_undefined_flag
   15873 
   15874 # Flag to hardcode \$libdir into a binary during linking.
   15875 # This must work even if \$libdir does not exist
   15876 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15877 
   15878 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15879 # during linking.  This must work even if \$libdir does not exist.
   15880 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15881 
   15882 # Whether we need a single "-rpath" flag with a separated argument.
   15883 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15884 
   15885 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15886 # DIR into the resulting binary.
   15887 hardcode_direct=$hardcode_direct
   15888 
   15889 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15890 # DIR into the resulting binary and the resulting library dependency is
   15891 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15892 # library is relocated.
   15893 hardcode_direct_absolute=$hardcode_direct_absolute
   15894 
   15895 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15896 # into the resulting binary.
   15897 hardcode_minus_L=$hardcode_minus_L
   15898 
   15899 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15900 # into the resulting binary.
   15901 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15902 
   15903 # Set to "yes" if building a shared library automatically hardcodes DIR
   15904 # into the library and all subsequent libraries and executables linked
   15905 # against it.
   15906 hardcode_automatic=$hardcode_automatic
   15907 
   15908 # Set to yes if linker adds runtime paths of dependent libraries
   15909 # to runtime path list.
   15910 inherit_rpath=$inherit_rpath
   15911 
   15912 # Whether libtool must link a program against all its dependency libraries.
   15913 link_all_deplibs=$link_all_deplibs
   15914 
   15915 # Set to "yes" if exported symbols are required.
   15916 always_export_symbols=$always_export_symbols
   15917 
   15918 # The commands to list exported symbols.
   15919 export_symbols_cmds=$lt_export_symbols_cmds
   15920 
   15921 # Symbols that should not be listed in the preloaded symbols.
   15922 exclude_expsyms=$lt_exclude_expsyms
   15923 
   15924 # Symbols that must always be exported.
   15925 include_expsyms=$lt_include_expsyms
   15926 
   15927 # Commands necessary for linking programs (against libraries) with templates.
   15928 prelink_cmds=$lt_prelink_cmds
   15929 
   15930 # Commands necessary for finishing linking programs.
   15931 postlink_cmds=$lt_postlink_cmds
   15932 
   15933 # Specify filename containing input files.
   15934 file_list_spec=$lt_file_list_spec
   15935 
   15936 # How to hardcode a shared library path into an executable.
   15937 hardcode_action=$hardcode_action
   15938 
   15939 # ### END LIBTOOL CONFIG
   15940 
   15941 _LT_EOF
   15942 
   15943   case $host_os in
   15944   aix3*)
   15945     cat <<\_LT_EOF >> "$cfgfile"
   15946 # AIX sometimes has problems with the GCC collect2 program.  For some
   15947 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15948 # vanish in a puff of smoke.
   15949 if test "X${COLLECT_NAMES+set}" != Xset; then
   15950   COLLECT_NAMES=
   15951   export COLLECT_NAMES
   15952 fi
   15953 _LT_EOF
   15954     ;;
   15955   esac
   15956 
   15957 
   15958 ltmain="$ac_aux_dir/ltmain.sh"
   15959 
   15960 
   15961   # We use sed instead of cat because bash on DJGPP gets confused if
   15962   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15963   # text mode, it properly converts lines to CR/LF.  This bash problem
   15964   # is reportedly fixed, but why not run on old versions too?
   15965   sed '$q' "$ltmain" >> "$cfgfile" \
   15966      || (rm -f "$cfgfile"; exit 1)
   15967 
   15968   if test x"$xsi_shell" = xyes; then
   15969   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   15970 func_dirname ()\
   15971 {\
   15972 \    case ${1} in\
   15973 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   15974 \      *  ) func_dirname_result="${3}" ;;\
   15975 \    esac\
   15976 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   15977   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15978     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15979 test 0 -eq $? || _lt_function_replace_fail=:
   15980 
   15981 
   15982   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   15983 func_basename ()\
   15984 {\
   15985 \    func_basename_result="${1##*/}"\
   15986 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   15987   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15988     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15989 test 0 -eq $? || _lt_function_replace_fail=:
   15990 
   15991 
   15992   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   15993 func_dirname_and_basename ()\
   15994 {\
   15995 \    case ${1} in\
   15996 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   15997 \      *  ) func_dirname_result="${3}" ;;\
   15998 \    esac\
   15999 \    func_basename_result="${1##*/}"\
   16000 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   16001   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16002     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16003 test 0 -eq $? || _lt_function_replace_fail=:
   16004 
   16005 
   16006   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   16007 func_stripname ()\
   16008 {\
   16009 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   16010 \    # positional parameters, so assign one to ordinary parameter first.\
   16011 \    func_stripname_result=${3}\
   16012 \    func_stripname_result=${func_stripname_result#"${1}"}\
   16013 \    func_stripname_result=${func_stripname_result%"${2}"}\
   16014 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   16015   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16016     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16017 test 0 -eq $? || _lt_function_replace_fail=:
   16018 
   16019 
   16020   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   16021 func_split_long_opt ()\
   16022 {\
   16023 \    func_split_long_opt_name=${1%%=*}\
   16024 \    func_split_long_opt_arg=${1#*=}\
   16025 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   16026   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16027     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16028 test 0 -eq $? || _lt_function_replace_fail=:
   16029 
   16030 
   16031   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   16032 func_split_short_opt ()\
   16033 {\
   16034 \    func_split_short_opt_arg=${1#??}\
   16035 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   16036 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   16037   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16038     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16039 test 0 -eq $? || _lt_function_replace_fail=:
   16040 
   16041 
   16042   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   16043 func_lo2o ()\
   16044 {\
   16045 \    case ${1} in\
   16046 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   16047 \      *)    func_lo2o_result=${1} ;;\
   16048 \    esac\
   16049 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   16050   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16051     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16052 test 0 -eq $? || _lt_function_replace_fail=:
   16053 
   16054 
   16055   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   16056 func_xform ()\
   16057 {\
   16058     func_xform_result=${1%.*}.lo\
   16059 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   16060   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16061     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16062 test 0 -eq $? || _lt_function_replace_fail=:
   16063 
   16064 
   16065   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   16066 func_arith ()\
   16067 {\
   16068     func_arith_result=$(( $* ))\
   16069 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   16070   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16071     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16072 test 0 -eq $? || _lt_function_replace_fail=:
   16073 
   16074 
   16075   sed -e '/^func_len ()$/,/^} # func_len /c\
   16076 func_len ()\
   16077 {\
   16078     func_len_result=${#1}\
   16079 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   16080   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16081     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16082 test 0 -eq $? || _lt_function_replace_fail=:
   16083 
   16084 fi
   16085 
   16086 if test x"$lt_shell_append" = xyes; then
   16087   sed -e '/^func_append ()$/,/^} # func_append /c\
   16088 func_append ()\
   16089 {\
   16090     eval "${1}+=\\${2}"\
   16091 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   16092   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16093     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16094 test 0 -eq $? || _lt_function_replace_fail=:
   16095 
   16096 
   16097   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   16098 func_append_quoted ()\
   16099 {\
   16100 \    func_quote_for_eval "${2}"\
   16101 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   16102 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   16103   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16104     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16105 test 0 -eq $? || _lt_function_replace_fail=:
   16106 
   16107 
   16108   # Save a `func_append' function call where possible by direct use of '+='
   16109   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   16110     && mv -f "$cfgfile.tmp" "$cfgfile" \
   16111       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16112   test 0 -eq $? || _lt_function_replace_fail=:
   16113 else
   16114   # Save a `func_append' function call even when '+=' is not available
   16115   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   16116     && mv -f "$cfgfile.tmp" "$cfgfile" \
   16117       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16118   test 0 -eq $? || _lt_function_replace_fail=:
   16119 fi
   16120 
   16121 if test x"$_lt_function_replace_fail" = x":"; then
   16122   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   16123 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   16124 fi
   16125 
   16126 
   16127    mv -f "$cfgfile" "$ofile" ||
   16128     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16129   chmod +x "$ofile"
   16130 
   16131  ;;
   16132     "default-1":C)
   16133     for ac_file in $CONFIG_FILES; do
   16134       # Support "outfile[:infile[:infile...]]"
   16135       case "$ac_file" in
   16136         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   16137       esac
   16138       # PO directories have a Makefile.in generated from Makefile.in.in.
   16139       case "$ac_file" in */Makefile.in)
   16140         # Adjust a relative srcdir.
   16141         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   16142         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   16143         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   16144         # In autoconf-2.13 it is called $ac_given_srcdir.
   16145         # In autoconf-2.50 it is called $srcdir.
   16146         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   16147         case "$ac_given_srcdir" in
   16148           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   16149           /*) top_srcdir="$ac_given_srcdir" ;;
   16150           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   16151         esac
   16152         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   16153           rm -f "$ac_dir/POTFILES"
   16154           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   16155           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   16156           POMAKEFILEDEPS="POTFILES.in"
   16157           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   16158           # on $ac_dir but don't depend on user-specified configuration
   16159           # parameters.
   16160           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   16161             # The LINGUAS file contains the set of available languages.
   16162             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   16163               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   16164             fi
   16165             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   16166             # Hide the ALL_LINGUAS assigment from automake.
   16167             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   16168             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   16169           else
   16170             # The set of available languages was given in configure.in.
   16171             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   16172           fi
   16173           # Compute POFILES
   16174           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   16175           # Compute UPDATEPOFILES
   16176           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   16177           # Compute DUMMYPOFILES
   16178           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   16179           # Compute GMOFILES
   16180           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   16181           case "$ac_given_srcdir" in
   16182             .) srcdirpre= ;;
   16183             *) srcdirpre='$(srcdir)/' ;;
   16184           esac
   16185           POFILES=
   16186           UPDATEPOFILES=
   16187           DUMMYPOFILES=
   16188           GMOFILES=
   16189           for lang in $ALL_LINGUAS; do
   16190             POFILES="$POFILES $srcdirpre$lang.po"
   16191             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   16192             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   16193             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   16194           done
   16195           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   16196           # environment variable.
   16197           INST_LINGUAS=
   16198           if test -n "$ALL_LINGUAS"; then
   16199             for presentlang in $ALL_LINGUAS; do
   16200               useit=no
   16201               if test "%UNSET%" != "$LINGUAS"; then
   16202                 desiredlanguages="$LINGUAS"
   16203               else
   16204                 desiredlanguages="$ALL_LINGUAS"
   16205               fi
   16206               for desiredlang in $desiredlanguages; do
   16207                 # Use the presentlang catalog if desiredlang is
   16208                 #   a. equal to presentlang, or
   16209                 #   b. a variant of presentlang (because in this case,
   16210                 #      presentlang can be used as a fallback for messages
   16211                 #      which are not translated in the desiredlang catalog).
   16212                 case "$desiredlang" in
   16213                   "$presentlang"*) useit=yes;;
   16214                 esac
   16215               done
   16216               if test $useit = yes; then
   16217                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   16218               fi
   16219             done
   16220           fi
   16221           CATALOGS=
   16222           if test -n "$INST_LINGUAS"; then
   16223             for lang in $INST_LINGUAS; do
   16224               CATALOGS="$CATALOGS $lang.gmo"
   16225             done
   16226           fi
   16227           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   16228           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   16229           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   16230             if test -f "$f"; then
   16231               case "$f" in
   16232                 *.orig | *.bak | *~) ;;
   16233                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   16234               esac
   16235             fi
   16236           done
   16237         fi
   16238         ;;
   16239       esac
   16240     done ;;
   16241 
   16242   esac
   16243 done # for ac_tag
   16244 
   16245 
   16246 as_fn_exit 0
   16247 _ACEOF
   16248 ac_clean_files=$ac_clean_files_save
   16249 
   16250 test $ac_write_fail = 0 ||
   16251   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16252 
   16253 
   16254 # configure is writing to config.log, and then calls config.status.
   16255 # config.status does its own redirection, appending to config.log.
   16256 # Unfortunately, on DOS this fails, as config.log is still kept open
   16257 # by configure, so config.status won't be able to write to it; its
   16258 # output is simply discarded.  So we exec the FD to /dev/null,
   16259 # effectively closing config.log, so it can be properly (re)opened and
   16260 # appended to by config.status.  When coming back to configure, we
   16261 # need to make the FD available again.
   16262 if test "$no_create" != yes; then
   16263   ac_cs_success=:
   16264   ac_config_status_args=
   16265   test "$silent" = yes &&
   16266     ac_config_status_args="$ac_config_status_args --quiet"
   16267   exec 5>/dev/null
   16268   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16269   exec 5>>config.log
   16270   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16271   # would make configure fail if this is the last instruction.
   16272   $ac_cs_success || as_fn_exit 1
   16273 fi
   16274 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16275   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16276 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16277 fi
   16278 
   16279 
   16280 # Message about configured subprojects
   16281 if test "x$subdirs" != "x"; then
   16282 
   16283 gp_config_msg="${gp_config_msg}
   16284 "
   16285 	_subdirs=""
   16286 	for sd in $subdirs; do
   16287 		ssd="$(basename "$sd")"
   16288 		if test "x$_subdirs" = "x"; then
   16289 			_subdirs="$ssd";
   16290 		else
   16291 			_subdirs="$_subdirs $ssd"
   16292 		fi
   16293 	done
   16294 
   16295 gp_config_msg_len="$(expr "Subprojects" : '.*')"
   16296 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
   16297 	gp_config_msg_lhs="$(expr "Subprojects" : "\(.\{0,${gp_config_len3}\}\)")..:"
   16298 else
   16299 	gp_config_msg_lhs="$(expr "Subprojects:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
   16300 fi
   16301 gp_config_msg="${gp_config_msg}    ${gp_config_msg_lhs} ${_subdirs}
   16302 "
   16303 fi
   16304 
   16305 echo "${gp_config_msg}
   16306 You may run \"make\" and \"make install\" now."
   16307 
   16308