Home | History | Annotate | Line # | Download | only in libgomp
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for GNU Offloading and Multi Processing Runtime Library 1.0.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 
    200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     PATH=/empty FPATH=/empty; export PATH FPATH
    205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    207 test \$(( 1 + 1 )) = 2 || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214 
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in #(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 # as_fn_unset VAR
    294 # ---------------
    295 # Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 # as_fn_set_status STATUS
    303 # -----------------------
    304 # Set $? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } # as_fn_set_status
    309 
    310 # as_fn_exit STATUS
    311 # -----------------
    312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } # as_fn_exit
    319 
    320 # as_fn_mkdir_p
    321 # -------------
    322 # Create "$as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } # as_fn_mkdir_p
    367 
    368 # as_fn_executable_p FILE
    369 # -----------------------
    370 # Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } # as_fn_executable_p
    375 # as_fn_append VAR VALUE
    376 # ----------------------
    377 # Append the text in VALUE to the end of the definition contained in VAR. Take
    378 # advantage of any shell optimizations that allow amortized linear growth over
    379 # repeated appends, instead of the typical quadratic growth present in naive
    380 # implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 # as_fn_arith ARG...
    394 # ------------------
    395 # Perform arithmetic evaluation on the ARGs, and store the result in the
    396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    397 # must be portable across $(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 # ----------------------------------------
    413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 # script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } # as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    478   sed -n '
    479     p
    480     /[$]LINENO/=
    481   ' <$as_myself |
    482     sed '
    483       s/[$]LINENO.*/&-/
    484       t lineno
    485       b
    486       :lineno
    487       N
    488       :loop
    489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    490       t loop
    491       s/-\n.*//
    492     ' >$as_me.lineno &&
    493   chmod +x "$as_me.lineno" ||
    494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    495 
    496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    497   # already done that, so ensure we don't try to do so again and fall
    498   # in an infinite loop.  This has already happened in practice.
    499   _as_can_reexec=no; export _as_can_reexec
    500   # Don't try to exec as it changes $[0], causing all sort of problems
    501   # (the dirname of $[0] is not the place where we might find the
    502   # original and so on.  Autoconf is especially sensitive to this).
    503   . "./$as_me.lineno"
    504   # Exit status is that of the last command.
    505   exit
    506 }
    507 
    508 ECHO_C= ECHO_N= ECHO_T=
    509 case `echo -n x` in #(((((
    510 -n*)
    511   case `echo 'xy\c'` in
    512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    513   xy)  ECHO_C='\c';;
    514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    515        ECHO_T='	';;
    516   esac;;
    517 *)
    518   ECHO_N='-n';;
    519 esac
    520 
    521 rm -f conf$$ conf$$.exe conf$$.file
    522 if test -d conf$$.dir; then
    523   rm -f conf$$.dir/conf$$.file
    524 else
    525   rm -f conf$$.dir
    526   mkdir conf$$.dir 2>/dev/null
    527 fi
    528 if (echo >conf$$.file) 2>/dev/null; then
    529   if ln -s conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s='ln -s'
    531     # ... but there are two gotchas:
    532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    534     # In both cases, we have to default to `cp -pR'.
    535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    536       as_ln_s='cp -pR'
    537   elif ln conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s=ln
    539   else
    540     as_ln_s='cp -pR'
    541   fi
    542 else
    543   as_ln_s='cp -pR'
    544 fi
    545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    546 rmdir conf$$.dir 2>/dev/null
    547 
    548 if mkdir -p . 2>/dev/null; then
    549   as_mkdir_p='mkdir -p "$as_dir"'
    550 else
    551   test -d ./-p && rmdir ./-p
    552   as_mkdir_p=false
    553 fi
    554 
    555 as_test_x='test -x'
    556 as_executable_p=as_fn_executable_p
    557 
    558 # Sed expression to map a string onto a valid CPP name.
    559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    560 
    561 # Sed expression to map a string onto a valid variable name.
    562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 SHELL=${CONFIG_SHELL-/bin/sh}
    565 
    566 
    567 test -n "$DJDIR" || exec 7<&0 </dev/null
    568 exec 6>&1
    569 
    570 # Name of the host.
    571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    572 # so uname gets run too.
    573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    574 
    575 #
    576 # Initializations.
    577 #
    578 ac_default_prefix=/usr/local
    579 ac_clean_files=
    580 ac_config_libobj_dir=.
    581 LIBOBJS=
    582 cross_compiling=no
    583 subdirs=
    584 MFLAGS=
    585 MAKEFLAGS=
    586 
    587 # Identity of this package.
    588 PACKAGE_NAME='GNU Offloading and Multi Processing Runtime Library'
    589 PACKAGE_TARNAME='libgomp'
    590 PACKAGE_VERSION='1.0'
    591 PACKAGE_STRING='GNU Offloading and Multi Processing Runtime Library 1.0'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL='http://www.gnu.org/software/libgomp/'
    594 
    595 # Factoring default headers for most tests.
    596 ac_includes_default="\
    597 #include <stdio.h>
    598 #ifdef HAVE_SYS_TYPES_H
    599 # include <sys/types.h>
    600 #endif
    601 #ifdef HAVE_SYS_STAT_H
    602 # include <sys/stat.h>
    603 #endif
    604 #ifdef STDC_HEADERS
    605 # include <stdlib.h>
    606 # include <stddef.h>
    607 #else
    608 # ifdef HAVE_STDLIB_H
    609 #  include <stdlib.h>
    610 # endif
    611 #endif
    612 #ifdef HAVE_STRING_H
    613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    614 #  include <memory.h>
    615 # endif
    616 # include <string.h>
    617 #endif
    618 #ifdef HAVE_STRINGS_H
    619 # include <strings.h>
    620 #endif
    621 #ifdef HAVE_INTTYPES_H
    622 # include <inttypes.h>
    623 #endif
    624 #ifdef HAVE_STDINT_H
    625 # include <stdint.h>
    626 #endif
    627 #ifdef HAVE_UNISTD_H
    628 # include <unistd.h>
    629 #endif"
    630 
    631 ac_header_list=
    632 ac_func_list=
    633 ac_subst_vars='am__EXEEXT_FALSE
    634 am__EXEEXT_TRUE
    635 LTLIBOBJS
    636 LIBOBJS
    637 get_gcc_base_ver
    638 OMP_DEPEND_KIND
    639 OMP_NEST_LOCK_25_KIND
    640 OMP_LOCK_25_KIND
    641 OMP_NEST_LOCK_25_ALIGN
    642 OMP_NEST_LOCK_25_SIZE
    643 OMP_LOCK_25_ALIGN
    644 OMP_LOCK_25_SIZE
    645 OMP_NEST_LOCK_KIND
    646 OMP_LOCK_KIND
    647 OMP_NEST_LOCK_ALIGN
    648 OMP_NEST_LOCK_SIZE
    649 OMP_LOCK_ALIGN
    650 OMP_LOCK_SIZE
    651 INTPTR_T_KIND
    652 USE_FORTRAN_FALSE
    653 USE_FORTRAN_TRUE
    654 link_gomp
    655 tmake_file
    656 XLDFLAGS
    657 XCFLAGS
    658 config_path
    659 FLOCK
    660 CPU_COUNT
    661 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
    662 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
    663 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
    664 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
    665 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
    666 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
    667 OPT_LDFLAGS
    668 SECTION_LDFLAGS
    669 PLUGIN_GCN_FALSE
    670 PLUGIN_GCN_TRUE
    671 PLUGIN_NVPTX_FALSE
    672 PLUGIN_NVPTX_TRUE
    673 offload_additional_lib_paths
    674 offload_additional_options
    675 offload_targets
    676 offload_plugins
    677 PLUGIN_GCN_LIBS
    678 PLUGIN_GCN_LDFLAGS
    679 PLUGIN_GCN_CPPFLAGS
    680 PLUGIN_GCN
    681 HSA_RUNTIME_LIB
    682 HSA_RUNTIME_INCLUDE
    683 PLUGIN_NVPTX_LIBS
    684 PLUGIN_NVPTX_LDFLAGS
    685 PLUGIN_NVPTX_CPPFLAGS
    686 PLUGIN_NVPTX
    687 CUDA_DRIVER_LIB
    688 CUDA_DRIVER_INCLUDE
    689 libtool_VERSION
    690 ac_ct_FC
    691 FCFLAGS
    692 FC
    693 MAINT
    694 MAINTAINER_MODE_FALSE
    695 MAINTAINER_MODE_TRUE
    696 enable_static
    697 enable_shared
    698 lt_host_flags
    699 CPP
    700 OTOOL64
    701 OTOOL
    702 LIPO
    703 NMEDIT
    704 DSYMUTIL
    705 OBJDUMP
    706 LN_S
    707 NM
    708 ac_ct_DUMPBIN
    709 DUMPBIN
    710 LD
    711 FGREP
    712 EGREP
    713 GREP
    714 SED
    715 LIBTOOL
    716 BUILD_INFO_FALSE
    717 BUILD_INFO_TRUE
    718 PERL
    719 RANLIB
    720 AR
    721 am__fastdepCC_FALSE
    722 am__fastdepCC_TRUE
    723 CCDEPMODE
    724 am__nodep
    725 AMDEPBACKSLASH
    726 AMDEP_FALSE
    727 AMDEP_TRUE
    728 am__quote
    729 am__include
    730 DEPDIR
    731 OBJEXT
    732 EXEEXT
    733 ac_ct_CC
    734 CPPFLAGS
    735 LDFLAGS
    736 CFLAGS
    737 CC
    738 toolexeclibdir
    739 toolexecdir
    740 multi_basedir
    741 AM_BACKSLASH
    742 AM_DEFAULT_VERBOSITY
    743 AM_DEFAULT_V
    744 AM_V
    745 am__untar
    746 am__tar
    747 AMTAR
    748 am__leading_dot
    749 SET_MAKE
    750 AWK
    751 mkdir_p
    752 MKDIR_P
    753 INSTALL_STRIP_PROGRAM
    754 STRIP
    755 install_sh
    756 MAKEINFO
    757 AUTOHEADER
    758 AUTOMAKE
    759 AUTOCONF
    760 ACLOCAL
    761 VERSION
    762 PACKAGE
    763 CYGPATH_W
    764 am__isrc
    765 INSTALL_DATA
    766 INSTALL_SCRIPT
    767 INSTALL_PROGRAM
    768 target_os
    769 target_vendor
    770 target_cpu
    771 target
    772 host_os
    773 host_vendor
    774 host_cpu
    775 host
    776 build_os
    777 build_vendor
    778 build_cpu
    779 build
    780 GENINSRC_FALSE
    781 GENINSRC_TRUE
    782 target_alias
    783 host_alias
    784 build_alias
    785 LIBS
    786 ECHO_T
    787 ECHO_N
    788 ECHO_C
    789 DEFS
    790 mandir
    791 localedir
    792 libdir
    793 psdir
    794 pdfdir
    795 dvidir
    796 htmldir
    797 infodir
    798 docdir
    799 oldincludedir
    800 includedir
    801 localstatedir
    802 sharedstatedir
    803 sysconfdir
    804 datadir
    805 datarootdir
    806 libexecdir
    807 sbindir
    808 bindir
    809 program_transform_name
    810 prefix
    811 exec_prefix
    812 PACKAGE_URL
    813 PACKAGE_BUGREPORT
    814 PACKAGE_STRING
    815 PACKAGE_VERSION
    816 PACKAGE_TARNAME
    817 PACKAGE_NAME
    818 PATH_SEPARATOR
    819 SHELL'
    820 ac_subst_files=''
    821 ac_user_opts='
    822 enable_option_checking
    823 enable_version_specific_runtime_libs
    824 enable_generated_files_in_srcdir
    825 enable_silent_rules
    826 enable_multilib
    827 with_toolexeclibdir
    828 enable_dependency_tracking
    829 enable_werror
    830 enable_shared
    831 enable_static
    832 with_pic
    833 enable_fast_install
    834 with_gnu_ld
    835 enable_libtool_lock
    836 enable_maintainer_mode
    837 with_cuda_driver
    838 with_cuda_driver_include
    839 with_cuda_driver_lib
    840 with_hsa_runtime
    841 with_hsa_runtime_include
    842 with_hsa_runtime_lib
    843 enable_linux_futex
    844 enable_tls
    845 enable_symvers
    846 enable_cet
    847 with_gcc_major_version_only
    848 '
    849       ac_precious_vars='build_alias
    850 host_alias
    851 target_alias
    852 CPP
    853 CPPFLAGS
    854 FC
    855 FCFLAGS
    856 LDFLAGS
    857 LIBS'
    858 
    859 
    860 # Initialize some variables set by options.
    861 ac_init_help=
    862 ac_init_version=false
    863 ac_unrecognized_opts=
    864 ac_unrecognized_sep=
    865 # The variables have the same names as the options, with
    866 # dashes changed to underlines.
    867 cache_file=/dev/null
    868 exec_prefix=NONE
    869 no_create=
    870 no_recursion=
    871 prefix=NONE
    872 program_prefix=NONE
    873 program_suffix=NONE
    874 program_transform_name=s,x,x,
    875 silent=
    876 site=
    877 srcdir=
    878 verbose=
    879 x_includes=NONE
    880 x_libraries=NONE
    881 
    882 # Installation directory options.
    883 # These are left unexpanded so users can "make install exec_prefix=/foo"
    884 # and all the variables that are supposed to be based on exec_prefix
    885 # by default will actually change.
    886 # Use braces instead of parens because sh, perl, etc. also accept them.
    887 # (The list follows the same order as the GNU Coding Standards.)
    888 bindir='${exec_prefix}/bin'
    889 sbindir='${exec_prefix}/sbin'
    890 libexecdir='${exec_prefix}/libexec'
    891 datarootdir='${prefix}/share'
    892 datadir='${datarootdir}'
    893 sysconfdir='${prefix}/etc'
    894 sharedstatedir='${prefix}/com'
    895 localstatedir='${prefix}/var'
    896 includedir='${prefix}/include'
    897 oldincludedir='/usr/include'
    898 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    899 infodir='${datarootdir}/info'
    900 htmldir='${docdir}'
    901 dvidir='${docdir}'
    902 pdfdir='${docdir}'
    903 psdir='${docdir}'
    904 libdir='${exec_prefix}/lib'
    905 localedir='${datarootdir}/locale'
    906 mandir='${datarootdir}/man'
    907 
    908 ac_prev=
    909 ac_dashdash=
    910 for ac_option
    911 do
    912   # If the previous option needs an argument, assign it.
    913   if test -n "$ac_prev"; then
    914     eval $ac_prev=\$ac_option
    915     ac_prev=
    916     continue
    917   fi
    918 
    919   case $ac_option in
    920   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    921   *=)   ac_optarg= ;;
    922   *)    ac_optarg=yes ;;
    923   esac
    924 
    925   # Accept the important Cygnus configure options, so we can diagnose typos.
    926 
    927   case $ac_dashdash$ac_option in
    928   --)
    929     ac_dashdash=yes ;;
    930 
    931   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    932     ac_prev=bindir ;;
    933   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    934     bindir=$ac_optarg ;;
    935 
    936   -build | --build | --buil | --bui | --bu)
    937     ac_prev=build_alias ;;
    938   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    939     build_alias=$ac_optarg ;;
    940 
    941   -cache-file | --cache-file | --cache-fil | --cache-fi \
    942   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    943     ac_prev=cache_file ;;
    944   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    945   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    946     cache_file=$ac_optarg ;;
    947 
    948   --config-cache | -C)
    949     cache_file=config.cache ;;
    950 
    951   -datadir | --datadir | --datadi | --datad)
    952     ac_prev=datadir ;;
    953   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    954     datadir=$ac_optarg ;;
    955 
    956   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    957   | --dataroo | --dataro | --datar)
    958     ac_prev=datarootdir ;;
    959   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    960   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    961     datarootdir=$ac_optarg ;;
    962 
    963   -disable-* | --disable-*)
    964     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    965     # Reject names that are not valid shell variable names.
    966     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    967       as_fn_error $? "invalid feature name: $ac_useropt"
    968     ac_useropt_orig=$ac_useropt
    969     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    970     case $ac_user_opts in
    971       *"
    972 "enable_$ac_useropt"
    973 "*) ;;
    974       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    975 	 ac_unrecognized_sep=', ';;
    976     esac
    977     eval enable_$ac_useropt=no ;;
    978 
    979   -docdir | --docdir | --docdi | --doc | --do)
    980     ac_prev=docdir ;;
    981   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    982     docdir=$ac_optarg ;;
    983 
    984   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    985     ac_prev=dvidir ;;
    986   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    987     dvidir=$ac_optarg ;;
    988 
    989   -enable-* | --enable-*)
    990     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    991     # Reject names that are not valid shell variable names.
    992     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    993       as_fn_error $? "invalid feature name: $ac_useropt"
    994     ac_useropt_orig=$ac_useropt
    995     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    996     case $ac_user_opts in
    997       *"
    998 "enable_$ac_useropt"
    999 "*) ;;
   1000       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1001 	 ac_unrecognized_sep=', ';;
   1002     esac
   1003     eval enable_$ac_useropt=\$ac_optarg ;;
   1004 
   1005   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1006   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1007   | --exec | --exe | --ex)
   1008     ac_prev=exec_prefix ;;
   1009   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1010   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1011   | --exec=* | --exe=* | --ex=*)
   1012     exec_prefix=$ac_optarg ;;
   1013 
   1014   -gas | --gas | --ga | --g)
   1015     # Obsolete; use --with-gas.
   1016     with_gas=yes ;;
   1017 
   1018   -help | --help | --hel | --he | -h)
   1019     ac_init_help=long ;;
   1020   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1021     ac_init_help=recursive ;;
   1022   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1023     ac_init_help=short ;;
   1024 
   1025   -host | --host | --hos | --ho)
   1026     ac_prev=host_alias ;;
   1027   -host=* | --host=* | --hos=* | --ho=*)
   1028     host_alias=$ac_optarg ;;
   1029 
   1030   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1031     ac_prev=htmldir ;;
   1032   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1033   | --ht=*)
   1034     htmldir=$ac_optarg ;;
   1035 
   1036   -includedir | --includedir | --includedi | --included | --include \
   1037   | --includ | --inclu | --incl | --inc)
   1038     ac_prev=includedir ;;
   1039   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1040   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1041     includedir=$ac_optarg ;;
   1042 
   1043   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1044     ac_prev=infodir ;;
   1045   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1046     infodir=$ac_optarg ;;
   1047 
   1048   -libdir | --libdir | --libdi | --libd)
   1049     ac_prev=libdir ;;
   1050   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1051     libdir=$ac_optarg ;;
   1052 
   1053   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1054   | --libexe | --libex | --libe)
   1055     ac_prev=libexecdir ;;
   1056   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1057   | --libexe=* | --libex=* | --libe=*)
   1058     libexecdir=$ac_optarg ;;
   1059 
   1060   -localedir | --localedir | --localedi | --localed | --locale)
   1061     ac_prev=localedir ;;
   1062   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1063     localedir=$ac_optarg ;;
   1064 
   1065   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1066   | --localstate | --localstat | --localsta | --localst | --locals)
   1067     ac_prev=localstatedir ;;
   1068   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1069   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1070     localstatedir=$ac_optarg ;;
   1071 
   1072   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1073     ac_prev=mandir ;;
   1074   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1075     mandir=$ac_optarg ;;
   1076 
   1077   -nfp | --nfp | --nf)
   1078     # Obsolete; use --without-fp.
   1079     with_fp=no ;;
   1080 
   1081   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1082   | --no-cr | --no-c | -n)
   1083     no_create=yes ;;
   1084 
   1085   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1086   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1087     no_recursion=yes ;;
   1088 
   1089   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1090   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1091   | --oldin | --oldi | --old | --ol | --o)
   1092     ac_prev=oldincludedir ;;
   1093   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1094   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1095   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1096     oldincludedir=$ac_optarg ;;
   1097 
   1098   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1099     ac_prev=prefix ;;
   1100   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1101     prefix=$ac_optarg ;;
   1102 
   1103   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1104   | --program-pre | --program-pr | --program-p)
   1105     ac_prev=program_prefix ;;
   1106   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1107   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1108     program_prefix=$ac_optarg ;;
   1109 
   1110   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1111   | --program-suf | --program-su | --program-s)
   1112     ac_prev=program_suffix ;;
   1113   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1114   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1115     program_suffix=$ac_optarg ;;
   1116 
   1117   -program-transform-name | --program-transform-name \
   1118   | --program-transform-nam | --program-transform-na \
   1119   | --program-transform-n | --program-transform- \
   1120   | --program-transform | --program-transfor \
   1121   | --program-transfo | --program-transf \
   1122   | --program-trans | --program-tran \
   1123   | --progr-tra | --program-tr | --program-t)
   1124     ac_prev=program_transform_name ;;
   1125   -program-transform-name=* | --program-transform-name=* \
   1126   | --program-transform-nam=* | --program-transform-na=* \
   1127   | --program-transform-n=* | --program-transform-=* \
   1128   | --program-transform=* | --program-transfor=* \
   1129   | --program-transfo=* | --program-transf=* \
   1130   | --program-trans=* | --program-tran=* \
   1131   | --progr-tra=* | --program-tr=* | --program-t=*)
   1132     program_transform_name=$ac_optarg ;;
   1133 
   1134   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1135     ac_prev=pdfdir ;;
   1136   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1137     pdfdir=$ac_optarg ;;
   1138 
   1139   -psdir | --psdir | --psdi | --psd | --ps)
   1140     ac_prev=psdir ;;
   1141   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1142     psdir=$ac_optarg ;;
   1143 
   1144   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1145   | -silent | --silent | --silen | --sile | --sil)
   1146     silent=yes ;;
   1147 
   1148   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1149     ac_prev=sbindir ;;
   1150   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1151   | --sbi=* | --sb=*)
   1152     sbindir=$ac_optarg ;;
   1153 
   1154   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1155   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1156   | --sharedst | --shareds | --shared | --share | --shar \
   1157   | --sha | --sh)
   1158     ac_prev=sharedstatedir ;;
   1159   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1160   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1161   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1162   | --sha=* | --sh=*)
   1163     sharedstatedir=$ac_optarg ;;
   1164 
   1165   -site | --site | --sit)
   1166     ac_prev=site ;;
   1167   -site=* | --site=* | --sit=*)
   1168     site=$ac_optarg ;;
   1169 
   1170   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1171     ac_prev=srcdir ;;
   1172   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1173     srcdir=$ac_optarg ;;
   1174 
   1175   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1176   | --syscon | --sysco | --sysc | --sys | --sy)
   1177     ac_prev=sysconfdir ;;
   1178   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1179   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1180     sysconfdir=$ac_optarg ;;
   1181 
   1182   -target | --target | --targe | --targ | --tar | --ta | --t)
   1183     ac_prev=target_alias ;;
   1184   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1185     target_alias=$ac_optarg ;;
   1186 
   1187   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1188     verbose=yes ;;
   1189 
   1190   -version | --version | --versio | --versi | --vers | -V)
   1191     ac_init_version=: ;;
   1192 
   1193   -with-* | --with-*)
   1194     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1195     # Reject names that are not valid shell variable names.
   1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1197       as_fn_error $? "invalid package name: $ac_useropt"
   1198     ac_useropt_orig=$ac_useropt
   1199     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1200     case $ac_user_opts in
   1201       *"
   1202 "with_$ac_useropt"
   1203 "*) ;;
   1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1205 	 ac_unrecognized_sep=', ';;
   1206     esac
   1207     eval with_$ac_useropt=\$ac_optarg ;;
   1208 
   1209   -without-* | --without-*)
   1210     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1211     # Reject names that are not valid shell variable names.
   1212     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1213       as_fn_error $? "invalid package name: $ac_useropt"
   1214     ac_useropt_orig=$ac_useropt
   1215     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1216     case $ac_user_opts in
   1217       *"
   1218 "with_$ac_useropt"
   1219 "*) ;;
   1220       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1221 	 ac_unrecognized_sep=', ';;
   1222     esac
   1223     eval with_$ac_useropt=no ;;
   1224 
   1225   --x)
   1226     # Obsolete; use --with-x.
   1227     with_x=yes ;;
   1228 
   1229   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1230   | --x-incl | --x-inc | --x-in | --x-i)
   1231     ac_prev=x_includes ;;
   1232   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1233   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1234     x_includes=$ac_optarg ;;
   1235 
   1236   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1237   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1238     ac_prev=x_libraries ;;
   1239   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1240   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1241     x_libraries=$ac_optarg ;;
   1242 
   1243   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1244 Try \`$0 --help' for more information"
   1245     ;;
   1246 
   1247   *=*)
   1248     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1249     # Reject names that are not valid shell variable names.
   1250     case $ac_envvar in #(
   1251       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1252       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1253     esac
   1254     eval $ac_envvar=\$ac_optarg
   1255     export $ac_envvar ;;
   1256 
   1257   *)
   1258     # FIXME: should be removed in autoconf 3.0.
   1259     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1260     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1261       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1262     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1263     ;;
   1264 
   1265   esac
   1266 done
   1267 
   1268 if test -n "$ac_prev"; then
   1269   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1270   as_fn_error $? "missing argument to $ac_option"
   1271 fi
   1272 
   1273 if test -n "$ac_unrecognized_opts"; then
   1274   case $enable_option_checking in
   1275     no) ;;
   1276     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1277     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1278   esac
   1279 fi
   1280 
   1281 # Check all directory arguments for consistency.
   1282 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1283 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1284 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1285 		libdir localedir mandir
   1286 do
   1287   eval ac_val=\$$ac_var
   1288   # Remove trailing slashes.
   1289   case $ac_val in
   1290     */ )
   1291       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1292       eval $ac_var=\$ac_val;;
   1293   esac
   1294   # Be sure to have absolute directory names.
   1295   case $ac_val in
   1296     [\\/$]* | ?:[\\/]* )  continue;;
   1297     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1298   esac
   1299   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1300 done
   1301 
   1302 # There might be people who depend on the old broken behavior: `$host'
   1303 # used to hold the argument of --host etc.
   1304 # FIXME: To remove some day.
   1305 build=$build_alias
   1306 host=$host_alias
   1307 target=$target_alias
   1308 
   1309 # FIXME: To remove some day.
   1310 if test "x$host_alias" != x; then
   1311   if test "x$build_alias" = x; then
   1312     cross_compiling=maybe
   1313   elif test "x$build_alias" != "x$host_alias"; then
   1314     cross_compiling=yes
   1315   fi
   1316 fi
   1317 
   1318 ac_tool_prefix=
   1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1320 
   1321 test "$silent" = yes && exec 6>/dev/null
   1322 
   1323 
   1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1325 ac_ls_di=`ls -di .` &&
   1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1327   as_fn_error $? "working directory cannot be determined"
   1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1329   as_fn_error $? "pwd does not report name of working directory"
   1330 
   1331 
   1332 # Find the source files, if location was not specified.
   1333 if test -z "$srcdir"; then
   1334   ac_srcdir_defaulted=yes
   1335   # Try the directory containing this script, then the parent directory.
   1336   ac_confdir=`$as_dirname -- "$as_myself" ||
   1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1338 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1339 	 X"$as_myself" : 'X\(//\)$' \| \
   1340 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1341 $as_echo X"$as_myself" |
   1342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\/\)[^/].*/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\/\)$/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\).*/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  s/.*/./; q'`
   1359   srcdir=$ac_confdir
   1360   if test ! -r "$srcdir/$ac_unique_file"; then
   1361     srcdir=..
   1362   fi
   1363 else
   1364   ac_srcdir_defaulted=no
   1365 fi
   1366 if test ! -r "$srcdir/$ac_unique_file"; then
   1367   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1368   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1369 fi
   1370 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1371 ac_abs_confdir=`(
   1372 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1373 	pwd)`
   1374 # When building in place, set srcdir=.
   1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1376   srcdir=.
   1377 fi
   1378 # Remove unnecessary trailing slashes from srcdir.
   1379 # Double slashes in file names in object file debugging info
   1380 # mess up M-x gdb in Emacs.
   1381 case $srcdir in
   1382 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1383 esac
   1384 for ac_var in $ac_precious_vars; do
   1385   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1386   eval ac_env_${ac_var}_value=\$${ac_var}
   1387   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1388   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1389 done
   1390 
   1391 #
   1392 # Report the --help message.
   1393 #
   1394 if test "$ac_init_help" = "long"; then
   1395   # Omit some internal or obsolete options to make the list less imposing.
   1396   # This message is too long to be a string in the A/UX 3.1 sh.
   1397   cat <<_ACEOF
   1398 \`configure' configures GNU Offloading and Multi Processing Runtime Library 1.0 to adapt to many kinds of systems.
   1399 
   1400 Usage: $0 [OPTION]... [VAR=VALUE]...
   1401 
   1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1403 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1404 
   1405 Defaults for the options are specified in brackets.
   1406 
   1407 Configuration:
   1408   -h, --help              display this help and exit
   1409       --help=short        display options specific to this package
   1410       --help=recursive    display the short help of all the included packages
   1411   -V, --version           display version information and exit
   1412   -q, --quiet, --silent   do not print \`checking ...' messages
   1413       --cache-file=FILE   cache test results in FILE [disabled]
   1414   -C, --config-cache      alias for \`--cache-file=config.cache'
   1415   -n, --no-create         do not create output files
   1416       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1417 
   1418 Installation directories:
   1419   --prefix=PREFIX         install architecture-independent files in PREFIX
   1420                           [$ac_default_prefix]
   1421   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1422                           [PREFIX]
   1423 
   1424 By default, \`make install' will install all the files in
   1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1427 for instance \`--prefix=\$HOME'.
   1428 
   1429 For better control, use the options below.
   1430 
   1431 Fine tuning of the installation directories:
   1432   --bindir=DIR            user executables [EPREFIX/bin]
   1433   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1434   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1435   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1436   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1437   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1438   --libdir=DIR            object code libraries [EPREFIX/lib]
   1439   --includedir=DIR        C header files [PREFIX/include]
   1440   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1441   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1442   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1443   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1444   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1445   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1446   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgomp]
   1447   --htmldir=DIR           html documentation [DOCDIR]
   1448   --dvidir=DIR            dvi documentation [DOCDIR]
   1449   --pdfdir=DIR            pdf documentation [DOCDIR]
   1450   --psdir=DIR             ps documentation [DOCDIR]
   1451 _ACEOF
   1452 
   1453   cat <<\_ACEOF
   1454 
   1455 Program names:
   1456   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1457   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1458   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1459 
   1460 System types:
   1461   --build=BUILD     configure for building on BUILD [guessed]
   1462   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1463   --target=TARGET   configure for building compilers for TARGET [HOST]
   1464 _ACEOF
   1465 fi
   1466 
   1467 if test -n "$ac_init_help"; then
   1468   case $ac_init_help in
   1469      short | recursive ) echo "Configuration of GNU Offloading and Multi Processing Runtime Library 1.0:";;
   1470    esac
   1471   cat <<\_ACEOF
   1472 
   1473 Optional Features:
   1474   --disable-option-checking  ignore unrecognized --enable/--with options
   1475   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1476   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1477   --enable-version-specific-runtime-libs
   1478                           Specify that runtime libraries should be installed
   1479                           in a compiler-specific directory [default=no]
   1480   --enable-generated-files-in-srcdir
   1481                           put copies of generated files in source dir intended
   1482                           for creating source tarballs for users without
   1483                           texinfo bison or flex. [default=no]
   1484   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1485   --disable-silent-rules  verbose build output (undo: "make V=0")
   1486   --enable-multilib       build many library versions (default)
   1487   --enable-dependency-tracking
   1488                           do not reject slow dependency extractors
   1489   --disable-dependency-tracking
   1490                           speeds up one-time build
   1491   --disable-werror        disable building with -Werror
   1492   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1493   --enable-static[=PKGS]  build static libraries [default=yes]
   1494   --enable-fast-install[=PKGS]
   1495                           optimize for fast installation [default=yes]
   1496   --disable-libtool-lock  avoid locking (might break parallel builds)
   1497   --enable-maintainer-mode
   1498                           enable make rules and dependencies not useful (and
   1499                           sometimes confusing) to the casual installer
   1500   --enable-linux-futex    use the Linux futex system call [default=default]
   1501   --enable-tls            Use thread-local storage [default=yes]
   1502   --enable-symvers=STYLE  enables symbol versioning of the shared library
   1503                           [default=yes]
   1504   --enable-cet            enable Intel CET in target libraries [default=auto]
   1505 
   1506 Optional Packages:
   1507   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1508   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1509   --with-toolexeclibdir=DIR
   1510                           install libraries built with a cross compiler within
   1511                           DIR
   1512   --with-pic              try to use only PIC/non-PIC objects [default=use
   1513                           both]
   1514   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1515   --with-cuda-driver=PATH specify prefix directory for installed CUDA driver
   1516                           package. Equivalent to
   1517                           --with-cuda-driver-include=PATH/include plus
   1518                           --with-cuda-driver-lib=PATH/lib
   1519   --with-cuda-driver-include=PATH
   1520                           specify directory for installed CUDA driver include
   1521                           files
   1522   --with-cuda-driver-lib=PATH
   1523                           specify directory for the installed CUDA driver
   1524                           library
   1525   --with-hsa-runtime=PATH specify prefix directory for installed HSA run-time
   1526                           package. Equivalent to
   1527                           --with-hsa-runtime-include=PATH/include plus
   1528                           --with-hsa-runtime-lib=PATH/lib
   1529   --with-hsa-runtime-include=PATH
   1530                           specify directory for installed HSA run-time include
   1531                           files
   1532   --with-hsa-runtime-lib=PATH
   1533                           specify directory for the installed HSA run-time
   1534                           library
   1535   --with-gcc-major-version-only
   1536                           use only GCC major number in filesystem paths
   1537 
   1538 Some influential environment variables:
   1539   CC          C compiler command
   1540   CFLAGS      C compiler flags
   1541   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1542               nonstandard directory <lib dir>
   1543   LIBS        libraries to pass to the linker, e.g. -l<library>
   1544   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1545               you have headers in a nonstandard directory <include dir>
   1546   CPP         C preprocessor
   1547   FC          Fortran compiler command
   1548   FCFLAGS     Fortran compiler flags
   1549 
   1550 Use these variables to override the choices made by `configure' or to help
   1551 it to find libraries and programs with nonstandard names/locations.
   1552 
   1553 Report bugs to the package provider.
   1554 GNU Offloading and Multi Processing Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
   1555 General help using GNU software: <http://www.gnu.org/gethelp/>.
   1556 _ACEOF
   1557 ac_status=$?
   1558 fi
   1559 
   1560 if test "$ac_init_help" = "recursive"; then
   1561   # If there are subdirs, report their specific --help.
   1562   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1563     test -d "$ac_dir" ||
   1564       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1565       continue
   1566     ac_builddir=.
   1567 
   1568 case "$ac_dir" in
   1569 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1570 *)
   1571   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1572   # A ".." for each directory in $ac_dir_suffix.
   1573   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1574   case $ac_top_builddir_sub in
   1575   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1576   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1577   esac ;;
   1578 esac
   1579 ac_abs_top_builddir=$ac_pwd
   1580 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1581 # for backward compatibility:
   1582 ac_top_builddir=$ac_top_build_prefix
   1583 
   1584 case $srcdir in
   1585   .)  # We are building in place.
   1586     ac_srcdir=.
   1587     ac_top_srcdir=$ac_top_builddir_sub
   1588     ac_abs_top_srcdir=$ac_pwd ;;
   1589   [\\/]* | ?:[\\/]* )  # Absolute name.
   1590     ac_srcdir=$srcdir$ac_dir_suffix;
   1591     ac_top_srcdir=$srcdir
   1592     ac_abs_top_srcdir=$srcdir ;;
   1593   *) # Relative name.
   1594     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1595     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1596     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1597 esac
   1598 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1599 
   1600     cd "$ac_dir" || { ac_status=$?; continue; }
   1601     # Check for guested configure.
   1602     if test -f "$ac_srcdir/configure.gnu"; then
   1603       echo &&
   1604       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1605     elif test -f "$ac_srcdir/configure"; then
   1606       echo &&
   1607       $SHELL "$ac_srcdir/configure" --help=recursive
   1608     else
   1609       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1610     fi || ac_status=$?
   1611     cd "$ac_pwd" || { ac_status=$?; break; }
   1612   done
   1613 fi
   1614 
   1615 test -n "$ac_init_help" && exit $ac_status
   1616 if $ac_init_version; then
   1617   cat <<\_ACEOF
   1618 GNU Offloading and Multi Processing Runtime Library configure 1.0
   1619 generated by GNU Autoconf 2.69
   1620 
   1621 Copyright (C) 2012 Free Software Foundation, Inc.
   1622 This configure script is free software; the Free Software Foundation
   1623 gives unlimited permission to copy, distribute and modify it.
   1624 _ACEOF
   1625   exit
   1626 fi
   1627 
   1628 ## ------------------------ ##
   1629 ## Autoconf initialization. ##
   1630 ## ------------------------ ##
   1631 
   1632 # ac_fn_c_try_compile LINENO
   1633 # --------------------------
   1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1635 ac_fn_c_try_compile ()
   1636 {
   1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1638   rm -f conftest.$ac_objext
   1639   if { { ac_try="$ac_compile"
   1640 case "(($ac_try" in
   1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1642   *) ac_try_echo=$ac_try;;
   1643 esac
   1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1645 $as_echo "$ac_try_echo"; } >&5
   1646   (eval "$ac_compile") 2>conftest.err
   1647   ac_status=$?
   1648   if test -s conftest.err; then
   1649     grep -v '^ *+' conftest.err >conftest.er1
   1650     cat conftest.er1 >&5
   1651     mv -f conftest.er1 conftest.err
   1652   fi
   1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1654   test $ac_status = 0; } && {
   1655 	 test -z "$ac_c_werror_flag" ||
   1656 	 test ! -s conftest.err
   1657        } && test -s conftest.$ac_objext; then :
   1658   ac_retval=0
   1659 else
   1660   $as_echo "$as_me: failed program was:" >&5
   1661 sed 's/^/| /' conftest.$ac_ext >&5
   1662 
   1663 	ac_retval=1
   1664 fi
   1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1666   as_fn_set_status $ac_retval
   1667 
   1668 } # ac_fn_c_try_compile
   1669 
   1670 # ac_fn_c_try_link LINENO
   1671 # -----------------------
   1672 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1673 ac_fn_c_try_link ()
   1674 {
   1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1676   rm -f conftest.$ac_objext conftest$ac_exeext
   1677   if { { ac_try="$ac_link"
   1678 case "(($ac_try" in
   1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1680   *) ac_try_echo=$ac_try;;
   1681 esac
   1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1683 $as_echo "$ac_try_echo"; } >&5
   1684   (eval "$ac_link") 2>conftest.err
   1685   ac_status=$?
   1686   if test -s conftest.err; then
   1687     grep -v '^ *+' conftest.err >conftest.er1
   1688     cat conftest.er1 >&5
   1689     mv -f conftest.er1 conftest.err
   1690   fi
   1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1692   test $ac_status = 0; } && {
   1693 	 test -z "$ac_c_werror_flag" ||
   1694 	 test ! -s conftest.err
   1695        } && test -s conftest$ac_exeext && {
   1696 	 test "$cross_compiling" = yes ||
   1697 	 test -x conftest$ac_exeext
   1698        }; then :
   1699   ac_retval=0
   1700 else
   1701   $as_echo "$as_me: failed program was:" >&5
   1702 sed 's/^/| /' conftest.$ac_ext >&5
   1703 
   1704 	ac_retval=1
   1705 fi
   1706   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1707   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1708   # interfere with the next link command; also delete a directory that is
   1709   # left behind by Apple's compiler.  We do this before executing the actions.
   1710   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1712   as_fn_set_status $ac_retval
   1713 
   1714 } # ac_fn_c_try_link
   1715 
   1716 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1717 # -------------------------------------------------------
   1718 # Tests whether HEADER exists and can be compiled using the include files in
   1719 # INCLUDES, setting the cache variable VAR accordingly.
   1720 ac_fn_c_check_header_compile ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1724 $as_echo_n "checking for $2... " >&6; }
   1725 if eval \${$3+:} false; then :
   1726   $as_echo_n "(cached) " >&6
   1727 else
   1728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1729 /* end confdefs.h.  */
   1730 $4
   1731 #include <$2>
   1732 _ACEOF
   1733 if ac_fn_c_try_compile "$LINENO"; then :
   1734   eval "$3=yes"
   1735 else
   1736   eval "$3=no"
   1737 fi
   1738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1739 fi
   1740 eval ac_res=\$$3
   1741 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1742 $as_echo "$ac_res" >&6; }
   1743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1744 
   1745 } # ac_fn_c_check_header_compile
   1746 
   1747 # ac_fn_c_try_cpp LINENO
   1748 # ----------------------
   1749 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1750 ac_fn_c_try_cpp ()
   1751 {
   1752   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1753   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1754 case "(($ac_try" in
   1755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1756   *) ac_try_echo=$ac_try;;
   1757 esac
   1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1759 $as_echo "$ac_try_echo"; } >&5
   1760   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1761   ac_status=$?
   1762   if test -s conftest.err; then
   1763     grep -v '^ *+' conftest.err >conftest.er1
   1764     cat conftest.er1 >&5
   1765     mv -f conftest.er1 conftest.err
   1766   fi
   1767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1768   test $ac_status = 0; } > conftest.i && {
   1769 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1770 	 test ! -s conftest.err
   1771        }; then :
   1772   ac_retval=0
   1773 else
   1774   $as_echo "$as_me: failed program was:" >&5
   1775 sed 's/^/| /' conftest.$ac_ext >&5
   1776 
   1777     ac_retval=1
   1778 fi
   1779   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1780   as_fn_set_status $ac_retval
   1781 
   1782 } # ac_fn_c_try_cpp
   1783 
   1784 # ac_fn_c_try_run LINENO
   1785 # ----------------------
   1786 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1787 # that executables *can* be run.
   1788 ac_fn_c_try_run ()
   1789 {
   1790   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1791   if { { ac_try="$ac_link"
   1792 case "(($ac_try" in
   1793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1794   *) ac_try_echo=$ac_try;;
   1795 esac
   1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1797 $as_echo "$ac_try_echo"; } >&5
   1798   (eval "$ac_link") 2>&5
   1799   ac_status=$?
   1800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1801   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1802   { { case "(($ac_try" in
   1803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1804   *) ac_try_echo=$ac_try;;
   1805 esac
   1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1807 $as_echo "$ac_try_echo"; } >&5
   1808   (eval "$ac_try") 2>&5
   1809   ac_status=$?
   1810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1811   test $ac_status = 0; }; }; then :
   1812   ac_retval=0
   1813 else
   1814   $as_echo "$as_me: program exited with status $ac_status" >&5
   1815        $as_echo "$as_me: failed program was:" >&5
   1816 sed 's/^/| /' conftest.$ac_ext >&5
   1817 
   1818        ac_retval=$ac_status
   1819 fi
   1820   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1822   as_fn_set_status $ac_retval
   1823 
   1824 } # ac_fn_c_try_run
   1825 
   1826 # ac_fn_c_check_func LINENO FUNC VAR
   1827 # ----------------------------------
   1828 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1829 ac_fn_c_check_func ()
   1830 {
   1831   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1833 $as_echo_n "checking for $2... " >&6; }
   1834 if eval \${$3+:} false; then :
   1835   $as_echo_n "(cached) " >&6
   1836 else
   1837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1838 /* end confdefs.h.  */
   1839 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1841 #define $2 innocuous_$2
   1842 
   1843 /* System header to define __stub macros and hopefully few prototypes,
   1844     which can conflict with char $2 (); below.
   1845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1846     <limits.h> exists even on freestanding compilers.  */
   1847 
   1848 #ifdef __STDC__
   1849 # include <limits.h>
   1850 #else
   1851 # include <assert.h>
   1852 #endif
   1853 
   1854 #undef $2
   1855 
   1856 /* Override any GCC internal prototype to avoid an error.
   1857    Use char because int might match the return type of a GCC
   1858    builtin and then its argument prototype would still apply.  */
   1859 #ifdef __cplusplus
   1860 extern "C"
   1861 #endif
   1862 char $2 ();
   1863 /* The GNU C library defines this for functions which it implements
   1864     to always fail with ENOSYS.  Some functions are actually named
   1865     something starting with __ and the normal name is an alias.  */
   1866 #if defined __stub_$2 || defined __stub___$2
   1867 choke me
   1868 #endif
   1869 
   1870 int
   1871 main ()
   1872 {
   1873 return $2 ();
   1874   ;
   1875   return 0;
   1876 }
   1877 _ACEOF
   1878 if ac_fn_c_try_link "$LINENO"; then :
   1879   eval "$3=yes"
   1880 else
   1881   eval "$3=no"
   1882 fi
   1883 rm -f core conftest.err conftest.$ac_objext \
   1884     conftest$ac_exeext conftest.$ac_ext
   1885 fi
   1886 eval ac_res=\$$3
   1887 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1888 $as_echo "$ac_res" >&6; }
   1889   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1890 
   1891 } # ac_fn_c_check_func
   1892 
   1893 # ac_fn_fc_try_compile LINENO
   1894 # ---------------------------
   1895 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1896 ac_fn_fc_try_compile ()
   1897 {
   1898   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1899   rm -f conftest.$ac_objext
   1900   if { { ac_try="$ac_compile"
   1901 case "(($ac_try" in
   1902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1903   *) ac_try_echo=$ac_try;;
   1904 esac
   1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1906 $as_echo "$ac_try_echo"; } >&5
   1907   (eval "$ac_compile") 2>conftest.err
   1908   ac_status=$?
   1909   if test -s conftest.err; then
   1910     grep -v '^ *+' conftest.err >conftest.er1
   1911     cat conftest.er1 >&5
   1912     mv -f conftest.er1 conftest.err
   1913   fi
   1914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1915   test $ac_status = 0; } && {
   1916 	 test -z "$ac_fc_werror_flag" ||
   1917 	 test ! -s conftest.err
   1918        } && test -s conftest.$ac_objext; then :
   1919   ac_retval=0
   1920 else
   1921   $as_echo "$as_me: failed program was:" >&5
   1922 sed 's/^/| /' conftest.$ac_ext >&5
   1923 
   1924 	ac_retval=1
   1925 fi
   1926   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1927   as_fn_set_status $ac_retval
   1928 
   1929 } # ac_fn_fc_try_compile
   1930 
   1931 # ac_fn_fc_try_link LINENO
   1932 # ------------------------
   1933 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1934 ac_fn_fc_try_link ()
   1935 {
   1936   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1937   rm -f conftest.$ac_objext conftest$ac_exeext
   1938   if { { ac_try="$ac_link"
   1939 case "(($ac_try" in
   1940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1941   *) ac_try_echo=$ac_try;;
   1942 esac
   1943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1944 $as_echo "$ac_try_echo"; } >&5
   1945   (eval "$ac_link") 2>conftest.err
   1946   ac_status=$?
   1947   if test -s conftest.err; then
   1948     grep -v '^ *+' conftest.err >conftest.er1
   1949     cat conftest.er1 >&5
   1950     mv -f conftest.er1 conftest.err
   1951   fi
   1952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1953   test $ac_status = 0; } && {
   1954 	 test -z "$ac_fc_werror_flag" ||
   1955 	 test ! -s conftest.err
   1956        } && test -s conftest$ac_exeext && {
   1957 	 test "$cross_compiling" = yes ||
   1958 	 test -x conftest$ac_exeext
   1959        }; then :
   1960   ac_retval=0
   1961 else
   1962   $as_echo "$as_me: failed program was:" >&5
   1963 sed 's/^/| /' conftest.$ac_ext >&5
   1964 
   1965 	ac_retval=1
   1966 fi
   1967   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1968   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1969   # interfere with the next link command; also delete a directory that is
   1970   # left behind by Apple's compiler.  We do this before executing the actions.
   1971   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1972   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1973   as_fn_set_status $ac_retval
   1974 
   1975 } # ac_fn_fc_try_link
   1976 
   1977 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1978 # -------------------------------------------------------
   1979 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1980 # the include files in INCLUDES and setting the cache variable VAR
   1981 # accordingly.
   1982 ac_fn_c_check_header_mongrel ()
   1983 {
   1984   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1985   if eval \${$3+:} false; then :
   1986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1987 $as_echo_n "checking for $2... " >&6; }
   1988 if eval \${$3+:} false; then :
   1989   $as_echo_n "(cached) " >&6
   1990 fi
   1991 eval ac_res=\$$3
   1992 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1993 $as_echo "$ac_res" >&6; }
   1994 else
   1995   # Is the header compilable?
   1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1997 $as_echo_n "checking $2 usability... " >&6; }
   1998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1999 /* end confdefs.h.  */
   2000 $4
   2001 #include <$2>
   2002 _ACEOF
   2003 if ac_fn_c_try_compile "$LINENO"; then :
   2004   ac_header_compiler=yes
   2005 else
   2006   ac_header_compiler=no
   2007 fi
   2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2010 $as_echo "$ac_header_compiler" >&6; }
   2011 
   2012 # Is the header present?
   2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2014 $as_echo_n "checking $2 presence... " >&6; }
   2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2016 /* end confdefs.h.  */
   2017 #include <$2>
   2018 _ACEOF
   2019 if ac_fn_c_try_cpp "$LINENO"; then :
   2020   ac_header_preproc=yes
   2021 else
   2022   ac_header_preproc=no
   2023 fi
   2024 rm -f conftest.err conftest.i conftest.$ac_ext
   2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2026 $as_echo "$ac_header_preproc" >&6; }
   2027 
   2028 # So?  What about this header?
   2029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2030   yes:no: )
   2031     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2032 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2033     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2034 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2035     ;;
   2036   no:yes:* )
   2037     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2038 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2039     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2040 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2041     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2042 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2043     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2044 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2045     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2046 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2047     ;;
   2048 esac
   2049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2050 $as_echo_n "checking for $2... " >&6; }
   2051 if eval \${$3+:} false; then :
   2052   $as_echo_n "(cached) " >&6
   2053 else
   2054   eval "$3=\$ac_header_compiler"
   2055 fi
   2056 eval ac_res=\$$3
   2057 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2058 $as_echo "$ac_res" >&6; }
   2059 fi
   2060   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2061 
   2062 } # ac_fn_c_check_header_mongrel
   2063 
   2064 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2065 # --------------------------------------------
   2066 # Tries to find the compile-time value of EXPR in a program that includes
   2067 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2068 # computed
   2069 ac_fn_c_compute_int ()
   2070 {
   2071   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2072   if test "$cross_compiling" = yes; then
   2073     # Depending upon the size, compute the lo and hi bounds.
   2074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2075 /* end confdefs.h.  */
   2076 $4
   2077 int
   2078 main ()
   2079 {
   2080 static int test_array [1 - 2 * !(($2) >= 0)];
   2081 test_array [0] = 0;
   2082 return test_array [0];
   2083 
   2084   ;
   2085   return 0;
   2086 }
   2087 _ACEOF
   2088 if ac_fn_c_try_compile "$LINENO"; then :
   2089   ac_lo=0 ac_mid=0
   2090   while :; do
   2091     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2092 /* end confdefs.h.  */
   2093 $4
   2094 int
   2095 main ()
   2096 {
   2097 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2098 test_array [0] = 0;
   2099 return test_array [0];
   2100 
   2101   ;
   2102   return 0;
   2103 }
   2104 _ACEOF
   2105 if ac_fn_c_try_compile "$LINENO"; then :
   2106   ac_hi=$ac_mid; break
   2107 else
   2108   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2109 			if test $ac_lo -le $ac_mid; then
   2110 			  ac_lo= ac_hi=
   2111 			  break
   2112 			fi
   2113 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2114 fi
   2115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2116   done
   2117 else
   2118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2119 /* end confdefs.h.  */
   2120 $4
   2121 int
   2122 main ()
   2123 {
   2124 static int test_array [1 - 2 * !(($2) < 0)];
   2125 test_array [0] = 0;
   2126 return test_array [0];
   2127 
   2128   ;
   2129   return 0;
   2130 }
   2131 _ACEOF
   2132 if ac_fn_c_try_compile "$LINENO"; then :
   2133   ac_hi=-1 ac_mid=-1
   2134   while :; do
   2135     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2136 /* end confdefs.h.  */
   2137 $4
   2138 int
   2139 main ()
   2140 {
   2141 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2142 test_array [0] = 0;
   2143 return test_array [0];
   2144 
   2145   ;
   2146   return 0;
   2147 }
   2148 _ACEOF
   2149 if ac_fn_c_try_compile "$LINENO"; then :
   2150   ac_lo=$ac_mid; break
   2151 else
   2152   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2153 			if test $ac_mid -le $ac_hi; then
   2154 			  ac_lo= ac_hi=
   2155 			  break
   2156 			fi
   2157 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2158 fi
   2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2160   done
   2161 else
   2162   ac_lo= ac_hi=
   2163 fi
   2164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2165 fi
   2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2167 # Binary search between lo and hi bounds.
   2168 while test "x$ac_lo" != "x$ac_hi"; do
   2169   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2171 /* end confdefs.h.  */
   2172 $4
   2173 int
   2174 main ()
   2175 {
   2176 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2177 test_array [0] = 0;
   2178 return test_array [0];
   2179 
   2180   ;
   2181   return 0;
   2182 }
   2183 _ACEOF
   2184 if ac_fn_c_try_compile "$LINENO"; then :
   2185   ac_hi=$ac_mid
   2186 else
   2187   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2188 fi
   2189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2190 done
   2191 case $ac_lo in #((
   2192 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2193 '') ac_retval=1 ;;
   2194 esac
   2195   else
   2196     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2197 /* end confdefs.h.  */
   2198 $4
   2199 static long int longval () { return $2; }
   2200 static unsigned long int ulongval () { return $2; }
   2201 #include <stdio.h>
   2202 #include <stdlib.h>
   2203 int
   2204 main ()
   2205 {
   2206 
   2207   FILE *f = fopen ("conftest.val", "w");
   2208   if (! f)
   2209     return 1;
   2210   if (($2) < 0)
   2211     {
   2212       long int i = longval ();
   2213       if (i != ($2))
   2214 	return 1;
   2215       fprintf (f, "%ld", i);
   2216     }
   2217   else
   2218     {
   2219       unsigned long int i = ulongval ();
   2220       if (i != ($2))
   2221 	return 1;
   2222       fprintf (f, "%lu", i);
   2223     }
   2224   /* Do not output a trailing newline, as this causes \r\n confusion
   2225      on some platforms.  */
   2226   return ferror (f) || fclose (f) != 0;
   2227 
   2228   ;
   2229   return 0;
   2230 }
   2231 _ACEOF
   2232 if ac_fn_c_try_run "$LINENO"; then :
   2233   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2234 else
   2235   ac_retval=1
   2236 fi
   2237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2238   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2239 rm -f conftest.val
   2240 
   2241   fi
   2242   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2243   as_fn_set_status $ac_retval
   2244 
   2245 } # ac_fn_c_compute_int
   2246 
   2247 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2248 # -------------------------------------------
   2249 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2250 # variable VAR accordingly.
   2251 ac_fn_c_check_type ()
   2252 {
   2253   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2255 $as_echo_n "checking for $2... " >&6; }
   2256 if eval \${$3+:} false; then :
   2257   $as_echo_n "(cached) " >&6
   2258 else
   2259   eval "$3=no"
   2260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2261 /* end confdefs.h.  */
   2262 $4
   2263 int
   2264 main ()
   2265 {
   2266 if (sizeof ($2))
   2267 	 return 0;
   2268   ;
   2269   return 0;
   2270 }
   2271 _ACEOF
   2272 if ac_fn_c_try_compile "$LINENO"; then :
   2273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2274 /* end confdefs.h.  */
   2275 $4
   2276 int
   2277 main ()
   2278 {
   2279 if (sizeof (($2)))
   2280 	    return 0;
   2281   ;
   2282   return 0;
   2283 }
   2284 _ACEOF
   2285 if ac_fn_c_try_compile "$LINENO"; then :
   2286 
   2287 else
   2288   eval "$3=yes"
   2289 fi
   2290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2291 fi
   2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2293 fi
   2294 eval ac_res=\$$3
   2295 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2296 $as_echo "$ac_res" >&6; }
   2297   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2298 
   2299 } # ac_fn_c_check_type
   2300 cat >config.log <<_ACEOF
   2301 This file contains any messages produced by compilers while
   2302 running configure, to aid debugging if configure makes a mistake.
   2303 
   2304 It was created by GNU Offloading and Multi Processing Runtime Library $as_me 1.0, which was
   2305 generated by GNU Autoconf 2.69.  Invocation command line was
   2306 
   2307   $ $0 $@
   2308 
   2309 _ACEOF
   2310 exec 5>>config.log
   2311 {
   2312 cat <<_ASUNAME
   2313 ## --------- ##
   2314 ## Platform. ##
   2315 ## --------- ##
   2316 
   2317 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2318 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2319 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2320 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2321 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2322 
   2323 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2324 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2325 
   2326 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2327 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2328 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2329 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2330 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2331 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2332 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2333 
   2334 _ASUNAME
   2335 
   2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2337 for as_dir in $PATH
   2338 do
   2339   IFS=$as_save_IFS
   2340   test -z "$as_dir" && as_dir=.
   2341     $as_echo "PATH: $as_dir"
   2342   done
   2343 IFS=$as_save_IFS
   2344 
   2345 } >&5
   2346 
   2347 cat >&5 <<_ACEOF
   2348 
   2349 
   2350 ## ----------- ##
   2351 ## Core tests. ##
   2352 ## ----------- ##
   2353 
   2354 _ACEOF
   2355 
   2356 
   2357 # Keep a trace of the command line.
   2358 # Strip out --no-create and --no-recursion so they do not pile up.
   2359 # Strip out --silent because we don't want to record it for future runs.
   2360 # Also quote any args containing shell meta-characters.
   2361 # Make two passes to allow for proper duplicate-argument suppression.
   2362 ac_configure_args=
   2363 ac_configure_args0=
   2364 ac_configure_args1=
   2365 ac_must_keep_next=false
   2366 for ac_pass in 1 2
   2367 do
   2368   for ac_arg
   2369   do
   2370     case $ac_arg in
   2371     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2372     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2373     | -silent | --silent | --silen | --sile | --sil)
   2374       continue ;;
   2375     *\'*)
   2376       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2377     esac
   2378     case $ac_pass in
   2379     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2380     2)
   2381       as_fn_append ac_configure_args1 " '$ac_arg'"
   2382       if test $ac_must_keep_next = true; then
   2383 	ac_must_keep_next=false # Got value, back to normal.
   2384       else
   2385 	case $ac_arg in
   2386 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2387 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2388 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2389 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2390 	    case "$ac_configure_args0 " in
   2391 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2392 	    esac
   2393 	    ;;
   2394 	  -* ) ac_must_keep_next=true ;;
   2395 	esac
   2396       fi
   2397       as_fn_append ac_configure_args " '$ac_arg'"
   2398       ;;
   2399     esac
   2400   done
   2401 done
   2402 { ac_configure_args0=; unset ac_configure_args0;}
   2403 { ac_configure_args1=; unset ac_configure_args1;}
   2404 
   2405 # When interrupted or exit'd, cleanup temporary files, and complete
   2406 # config.log.  We remove comments because anyway the quotes in there
   2407 # would cause problems or look ugly.
   2408 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2409 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2410 trap 'exit_status=$?
   2411   # Save into config.log some information that might help in debugging.
   2412   {
   2413     echo
   2414 
   2415     $as_echo "## ---------------- ##
   2416 ## Cache variables. ##
   2417 ## ---------------- ##"
   2418     echo
   2419     # The following way of writing the cache mishandles newlines in values,
   2420 (
   2421   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2422     eval ac_val=\$$ac_var
   2423     case $ac_val in #(
   2424     *${as_nl}*)
   2425       case $ac_var in #(
   2426       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2427 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2428       esac
   2429       case $ac_var in #(
   2430       _ | IFS | as_nl) ;; #(
   2431       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2432       *) { eval $ac_var=; unset $ac_var;} ;;
   2433       esac ;;
   2434     esac
   2435   done
   2436   (set) 2>&1 |
   2437     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2438     *${as_nl}ac_space=\ *)
   2439       sed -n \
   2440 	"s/'\''/'\''\\\\'\'''\''/g;
   2441 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2442       ;; #(
   2443     *)
   2444       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2445       ;;
   2446     esac |
   2447     sort
   2448 )
   2449     echo
   2450 
   2451     $as_echo "## ----------------- ##
   2452 ## Output variables. ##
   2453 ## ----------------- ##"
   2454     echo
   2455     for ac_var in $ac_subst_vars
   2456     do
   2457       eval ac_val=\$$ac_var
   2458       case $ac_val in
   2459       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2460       esac
   2461       $as_echo "$ac_var='\''$ac_val'\''"
   2462     done | sort
   2463     echo
   2464 
   2465     if test -n "$ac_subst_files"; then
   2466       $as_echo "## ------------------- ##
   2467 ## File substitutions. ##
   2468 ## ------------------- ##"
   2469       echo
   2470       for ac_var in $ac_subst_files
   2471       do
   2472 	eval ac_val=\$$ac_var
   2473 	case $ac_val in
   2474 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2475 	esac
   2476 	$as_echo "$ac_var='\''$ac_val'\''"
   2477       done | sort
   2478       echo
   2479     fi
   2480 
   2481     if test -s confdefs.h; then
   2482       $as_echo "## ----------- ##
   2483 ## confdefs.h. ##
   2484 ## ----------- ##"
   2485       echo
   2486       cat confdefs.h
   2487       echo
   2488     fi
   2489     test "$ac_signal" != 0 &&
   2490       $as_echo "$as_me: caught signal $ac_signal"
   2491     $as_echo "$as_me: exit $exit_status"
   2492   } >&5
   2493   rm -f core *.core core.conftest.* &&
   2494     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2495     exit $exit_status
   2496 ' 0
   2497 for ac_signal in 1 2 13 15; do
   2498   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2499 done
   2500 ac_signal=0
   2501 
   2502 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2503 rm -f -r conftest* confdefs.h
   2504 
   2505 $as_echo "/* confdefs.h */" > confdefs.h
   2506 
   2507 # Predefined preprocessor variables.
   2508 
   2509 cat >>confdefs.h <<_ACEOF
   2510 #define PACKAGE_NAME "$PACKAGE_NAME"
   2511 _ACEOF
   2512 
   2513 cat >>confdefs.h <<_ACEOF
   2514 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2515 _ACEOF
   2516 
   2517 cat >>confdefs.h <<_ACEOF
   2518 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2519 _ACEOF
   2520 
   2521 cat >>confdefs.h <<_ACEOF
   2522 #define PACKAGE_STRING "$PACKAGE_STRING"
   2523 _ACEOF
   2524 
   2525 cat >>confdefs.h <<_ACEOF
   2526 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2527 _ACEOF
   2528 
   2529 cat >>confdefs.h <<_ACEOF
   2530 #define PACKAGE_URL "$PACKAGE_URL"
   2531 _ACEOF
   2532 
   2533 
   2534 # Let the site file select an alternate cache file if it wants to.
   2535 # Prefer an explicitly selected file to automatically selected ones.
   2536 ac_site_file1=NONE
   2537 ac_site_file2=NONE
   2538 if test -n "$CONFIG_SITE"; then
   2539   # We do not want a PATH search for config.site.
   2540   case $CONFIG_SITE in #((
   2541     -*)  ac_site_file1=./$CONFIG_SITE;;
   2542     */*) ac_site_file1=$CONFIG_SITE;;
   2543     *)   ac_site_file1=./$CONFIG_SITE;;
   2544   esac
   2545 elif test "x$prefix" != xNONE; then
   2546   ac_site_file1=$prefix/share/config.site
   2547   ac_site_file2=$prefix/etc/config.site
   2548 else
   2549   ac_site_file1=$ac_default_prefix/share/config.site
   2550   ac_site_file2=$ac_default_prefix/etc/config.site
   2551 fi
   2552 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2553 do
   2554   test "x$ac_site_file" = xNONE && continue
   2555   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2556     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2557 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2558     sed 's/^/| /' "$ac_site_file" >&5
   2559     . "$ac_site_file" \
   2560       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2562 as_fn_error $? "failed to load site script $ac_site_file
   2563 See \`config.log' for more details" "$LINENO" 5; }
   2564   fi
   2565 done
   2566 
   2567 if test -r "$cache_file"; then
   2568   # Some versions of bash will fail to source /dev/null (special files
   2569   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2570   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2571     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2572 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2573     case $cache_file in
   2574       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2575       *)                      . "./$cache_file";;
   2576     esac
   2577   fi
   2578 else
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2580 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2581   >$cache_file
   2582 fi
   2583 
   2584 as_fn_append ac_header_list " unistd.h"
   2585 as_fn_append ac_func_list " secure_getenv"
   2586 as_fn_append ac_func_list " __secure_getenv"
   2587 as_fn_append ac_func_list " getuid"
   2588 as_fn_append ac_func_list " geteuid"
   2589 as_fn_append ac_func_list " getgid"
   2590 as_fn_append ac_func_list " getegid"
   2591 # Check that the precious variables saved in the cache have kept the same
   2592 # value.
   2593 ac_cache_corrupted=false
   2594 for ac_var in $ac_precious_vars; do
   2595   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2596   eval ac_new_set=\$ac_env_${ac_var}_set
   2597   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2598   eval ac_new_val=\$ac_env_${ac_var}_value
   2599   case $ac_old_set,$ac_new_set in
   2600     set,)
   2601       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2602 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2603       ac_cache_corrupted=: ;;
   2604     ,set)
   2605       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2606 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2607       ac_cache_corrupted=: ;;
   2608     ,);;
   2609     *)
   2610       if test "x$ac_old_val" != "x$ac_new_val"; then
   2611 	# differences in whitespace do not lead to failure.
   2612 	ac_old_val_w=`echo x $ac_old_val`
   2613 	ac_new_val_w=`echo x $ac_new_val`
   2614 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2615 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2616 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2617 	  ac_cache_corrupted=:
   2618 	else
   2619 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2620 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2621 	  eval $ac_var=\$ac_old_val
   2622 	fi
   2623 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2624 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2625 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2626 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2627       fi;;
   2628   esac
   2629   # Pass precious variables to config.status.
   2630   if test "$ac_new_set" = set; then
   2631     case $ac_new_val in
   2632     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2633     *) ac_arg=$ac_var=$ac_new_val ;;
   2634     esac
   2635     case " $ac_configure_args " in
   2636       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2637       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2638     esac
   2639   fi
   2640 done
   2641 if $ac_cache_corrupted; then
   2642   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2644   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2645 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2646   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2647 fi
   2648 ## -------------------- ##
   2649 ## Main body of script. ##
   2650 ## -------------------- ##
   2651 
   2652 ac_ext=c
   2653 ac_cpp='$CPP $CPPFLAGS'
   2654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2657 
   2658 
   2659 
   2660 
   2661 
   2662 ac_config_headers="$ac_config_headers config.h"
   2663 
   2664 
   2665 # -------
   2666 # Options
   2667 # -------
   2668 
   2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
   2670 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
   2671  # Check whether --enable-version-specific-runtime-libs was given.
   2672 if test "${enable_version_specific_runtime_libs+set}" = set; then :
   2673   enableval=$enable_version_specific_runtime_libs;
   2674       case "$enableval" in
   2675        yes|no) ;;
   2676        *) as_fn_error $? "Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
   2677                           esac
   2678 
   2679 else
   2680   enable_version_specific_runtime_libs=no
   2681 fi
   2682 
   2683 
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
   2685 $as_echo "$enable_version_specific_runtime_libs" >&6; }
   2686 
   2687 # We would like our source tree to be readonly. However when releases or
   2688 # pre-releases are generated, the flex/bison generated files as well as the
   2689 # various formats of manuals need to be included along with the rest of the
   2690 # sources.  Therefore we have --enable-generated-files-in-srcdir to do
   2691 # just that.
   2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
   2693 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
   2694  # Check whether --enable-generated-files-in-srcdir was given.
   2695 if test "${enable_generated_files_in_srcdir+set}" = set; then :
   2696   enableval=$enable_generated_files_in_srcdir;
   2697       case "$enableval" in
   2698        yes|no) ;;
   2699        *) as_fn_error $? "Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
   2700                           esac
   2701 
   2702 else
   2703   enable_generated_files_in_srcdir=no
   2704 fi
   2705 
   2706 
   2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
   2708 $as_echo "$enable_generated_files_in_srcdir" >&6; }
   2709  if test "$enable_generated_files_in_srcdir" = yes; then
   2710   GENINSRC_TRUE=
   2711   GENINSRC_FALSE='#'
   2712 else
   2713   GENINSRC_TRUE='#'
   2714   GENINSRC_FALSE=
   2715 fi
   2716 
   2717 
   2718 
   2719 # -------
   2720 # -------
   2721 
   2722 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
   2723 #
   2724 # You will slowly go insane if you do not grok the following fact:  when
   2725 # building this library, the top-level /target/ becomes the library's /host/.
   2726 #
   2727 # configure then causes --target to default to --host, exactly like any
   2728 # other package using autoconf.  Therefore, 'target' and 'host' will
   2729 # always be the same.  This makes sense both for native and cross compilers
   2730 # just think about it for a little while.  :-)
   2731 #
   2732 # Also, if this library is being configured as part of a cross compiler, the
   2733 # top-level configure script will pass the "real" host as $with_cross_host.
   2734 #
   2735 # Do not delete or change the following two lines.  For why, see
   2736 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
   2737 ac_aux_dir=
   2738 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2739   if test -f "$ac_dir/install-sh"; then
   2740     ac_aux_dir=$ac_dir
   2741     ac_install_sh="$SHELL $ac_aux_dir/install-sh -c"
   2742     break
   2743   elif test -f "$ac_dir/install.sh"; then
   2744     ac_aux_dir=$ac_dir
   2745     ac_install_sh="$SHELL $ac_aux_dir/install.sh -c"
   2746     break
   2747   elif test -f "$ac_dir/shtool"; then
   2748     ac_aux_dir=$ac_dir
   2749     ac_install_sh="$SHELL $ac_aux_dir/shtool install -c"
   2750     break
   2751   fi
   2752 done
   2753 if test -z "$ac_aux_dir"; then
   2754   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2755 fi
   2756 
   2757 # These three variables are undocumented and unsupported,
   2758 # and are intended to be withdrawn in a future Autoconf release.
   2759 # They can cause serious problems if a builder's source tree is in a directory
   2760 # whose full name contains unusual characters.
   2761 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2762 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2763 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2764 
   2765 
   2766 # Make sure we can run config.sub.
   2767 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2768   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2769 
   2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2771 $as_echo_n "checking build system type... " >&6; }
   2772 if ${ac_cv_build+:} false; then :
   2773   $as_echo_n "(cached) " >&6
   2774 else
   2775   ac_build_alias=$build_alias
   2776 test "x$ac_build_alias" = x &&
   2777   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2778 test "x$ac_build_alias" = x &&
   2779   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2780 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2781   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2782 
   2783 fi
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2785 $as_echo "$ac_cv_build" >&6; }
   2786 case $ac_cv_build in
   2787 *-*-*) ;;
   2788 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2789 esac
   2790 build=$ac_cv_build
   2791 ac_save_IFS=$IFS; IFS='-'
   2792 set x $ac_cv_build
   2793 shift
   2794 build_cpu=$1
   2795 build_vendor=$2
   2796 shift; shift
   2797 # Remember, the first character of IFS is used to create $*,
   2798 # except with old shells:
   2799 build_os=$*
   2800 IFS=$ac_save_IFS
   2801 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2802 
   2803 
   2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2805 $as_echo_n "checking host system type... " >&6; }
   2806 if ${ac_cv_host+:} false; then :
   2807   $as_echo_n "(cached) " >&6
   2808 else
   2809   if test "x$host_alias" = x; then
   2810   ac_cv_host=$ac_cv_build
   2811 else
   2812   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2813     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2814 fi
   2815 
   2816 fi
   2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2818 $as_echo "$ac_cv_host" >&6; }
   2819 case $ac_cv_host in
   2820 *-*-*) ;;
   2821 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2822 esac
   2823 host=$ac_cv_host
   2824 ac_save_IFS=$IFS; IFS='-'
   2825 set x $ac_cv_host
   2826 shift
   2827 host_cpu=$1
   2828 host_vendor=$2
   2829 shift; shift
   2830 # Remember, the first character of IFS is used to create $*,
   2831 # except with old shells:
   2832 host_os=$*
   2833 IFS=$ac_save_IFS
   2834 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2835 
   2836 
   2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2838 $as_echo_n "checking target system type... " >&6; }
   2839 if ${ac_cv_target+:} false; then :
   2840   $as_echo_n "(cached) " >&6
   2841 else
   2842   if test "x$target_alias" = x; then
   2843   ac_cv_target=$ac_cv_host
   2844 else
   2845   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2846     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2847 fi
   2848 
   2849 fi
   2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2851 $as_echo "$ac_cv_target" >&6; }
   2852 case $ac_cv_target in
   2853 *-*-*) ;;
   2854 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2855 esac
   2856 target=$ac_cv_target
   2857 ac_save_IFS=$IFS; IFS='-'
   2858 set x $ac_cv_target
   2859 shift
   2860 target_cpu=$1
   2861 target_vendor=$2
   2862 shift; shift
   2863 # Remember, the first character of IFS is used to create $*,
   2864 # except with old shells:
   2865 target_os=$*
   2866 IFS=$ac_save_IFS
   2867 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2868 
   2869 
   2870 # The aliases save the names the user supplied, while $host etc.
   2871 # will get canonicalized.
   2872 test -n "$target_alias" &&
   2873   test "$program_prefix$program_suffix$program_transform_name" = \
   2874     NONENONEs,x,x, &&
   2875   program_prefix=${target_alias}-
   2876 
   2877 target_alias=${target_alias-$host_alias}
   2878 
   2879 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
   2880 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
   2881 #  1.9.0:  minimum required version
   2882 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
   2883 #              of other PACKAGE_* variables will, however, and there's nothing
   2884 #              we can do about that; they come from AC_INIT).
   2885 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
   2886 #            file in the top srcdir, etc, etc), so stop complaining.
   2887 #  no-dist:  we don't want 'dist' and related rules.
   2888 #  -Wall:  turns on all automake warnings...
   2889 #  -Wno-portability:  ...except this one, since GNU make is required.
   2890 #  -Wno-override: ... and this one, since we do want this in testsuite.
   2891 am__api_version='1.15'
   2892 
   2893 # Find a good install program.  We prefer a C program (faster),
   2894 # so one script is as good as another.  But avoid the broken or
   2895 # incompatible versions:
   2896 # SysV /etc/install, /usr/sbin/install
   2897 # SunOS /usr/etc/install
   2898 # IRIX /sbin/install
   2899 # AIX /bin/install
   2900 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2901 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2902 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2903 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2904 # OS/2's system install, which has a completely different semantic
   2905 # ./install, which can be erroneously created by make from ./install.sh.
   2906 # Reject install programs that cannot install multiple files.
   2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2908 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2909 if test -z "$INSTALL"; then
   2910 if ${ac_cv_path_install+:} false; then :
   2911   $as_echo_n "(cached) " >&6
   2912 else
   2913   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2914 for as_dir in $PATH
   2915 do
   2916   IFS=$as_save_IFS
   2917   test -z "$as_dir" && as_dir=.
   2918     # Account for people who put trailing slashes in PATH elements.
   2919 case $as_dir/ in #((
   2920   ./ | .// | /[cC]/* | \
   2921   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2922   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2923   /usr/ucb/* ) ;;
   2924   *)
   2925     # OSF1 and SCO ODT 3.0 have their own names for install.
   2926     # Don't use installbsd from OSF since it installs stuff as root
   2927     # by default.
   2928     for ac_prog in ginstall scoinst install; do
   2929       for ac_exec_ext in '' $ac_executable_extensions; do
   2930 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2931 	  if test $ac_prog = install &&
   2932 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2933 	    # AIX install.  It has an incompatible calling convention.
   2934 	    :
   2935 	  elif test $ac_prog = install &&
   2936 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2937 	    # program-specific install script used by HP pwplus--don't use.
   2938 	    :
   2939 	  else
   2940 	    rm -rf conftest.one conftest.two conftest.dir
   2941 	    echo one > conftest.one
   2942 	    echo two > conftest.two
   2943 	    mkdir conftest.dir
   2944 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2945 	      test -s conftest.one && test -s conftest.two &&
   2946 	      test -s conftest.dir/conftest.one &&
   2947 	      test -s conftest.dir/conftest.two
   2948 	    then
   2949 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2950 	      break 3
   2951 	    fi
   2952 	  fi
   2953 	fi
   2954       done
   2955     done
   2956     ;;
   2957 esac
   2958 
   2959   done
   2960 IFS=$as_save_IFS
   2961 
   2962 rm -rf conftest.one conftest.two conftest.dir
   2963 
   2964 fi
   2965   if test "${ac_cv_path_install+set}" = set; then
   2966     INSTALL=$ac_cv_path_install
   2967   else
   2968     # As a last resort, use the slow shell script.  Don't cache a
   2969     # value for INSTALL within a source directory, because that will
   2970     # break other packages using the cache if that directory is
   2971     # removed, or if the value is a relative name.
   2972     INSTALL=$ac_install_sh
   2973   fi
   2974 fi
   2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2976 $as_echo "$INSTALL" >&6; }
   2977 
   2978 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2979 # It thinks the first close brace ends the variable substitution.
   2980 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2981 
   2982 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2983 
   2984 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2985 
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2987 $as_echo_n "checking whether build environment is sane... " >&6; }
   2988 # Reject unsafe characters in $srcdir or the absolute working directory
   2989 # name.  Accept space and tab only in the latter.
   2990 am_lf='
   2991 '
   2992 case `pwd` in
   2993   *[\\\"\#\$\&\'\`$am_lf]*)
   2994     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2995 esac
   2996 case $srcdir in
   2997   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2998     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2999 esac
   3000 
   3001 # Do 'set' in a subshell so we don't clobber the current shell's
   3002 # arguments.  Must try -L first in case configure is actually a
   3003 # symlink; some systems play weird games with the mod time of symlinks
   3004 # (eg FreeBSD returns the mod time of the symlink's containing
   3005 # directory).
   3006 if (
   3007    am_has_slept=no
   3008    for am_try in 1 2; do
   3009      echo "timestamp, slept: $am_has_slept" > conftest.file
   3010      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3011      if test "$*" = "X"; then
   3012 	# -L didn't work.
   3013 	set X `ls -t "$srcdir/configure" conftest.file`
   3014      fi
   3015      if test "$*" != "X $srcdir/configure conftest.file" \
   3016 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3017 
   3018 	# If neither matched, then we have a broken ls.  This can happen
   3019 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3020 	# broken ls alias from the environment.  This has actually
   3021 	# happened.  Such a system could not be considered "sane".
   3022 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3023   alias in your environment" "$LINENO" 5
   3024      fi
   3025      if test "$2" = conftest.file || test $am_try -eq 2; then
   3026        break
   3027      fi
   3028      # Just in case.
   3029      sleep 1
   3030      am_has_slept=yes
   3031    done
   3032    test "$2" = conftest.file
   3033    )
   3034 then
   3035    # Ok.
   3036    :
   3037 else
   3038    as_fn_error $? "newly created file is older than distributed files!
   3039 Check your system clock" "$LINENO" 5
   3040 fi
   3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3042 $as_echo "yes" >&6; }
   3043 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3044 # generated files are strictly newer.
   3045 am_sleep_pid=
   3046 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3047   ( sleep 1 ) &
   3048   am_sleep_pid=$!
   3049 fi
   3050 
   3051 rm -f conftest.file
   3052 
   3053 test "$program_prefix" != NONE &&
   3054   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3055 # Use a double $ so make ignores it.
   3056 test "$program_suffix" != NONE &&
   3057   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3058 # Double any \ or $.
   3059 # By default was `s,x,x', remove it if useless.
   3060 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3061 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3062 
   3063 # Expand $ac_aux_dir to an absolute path.
   3064 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3065 
   3066 if test x"${MISSING+set}" != xset; then
   3067   case $am_aux_dir in
   3068   *\ * | *\	*)
   3069     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3070   *)
   3071     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3072   esac
   3073 fi
   3074 # Use eval to expand $SHELL
   3075 if eval "$MISSING --is-lightweight"; then
   3076   am_missing_run="$MISSING "
   3077 else
   3078   am_missing_run=
   3079   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3080 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3081 fi
   3082 
   3083 if test x"${install_sh+set}" != xset; then
   3084   case $am_aux_dir in
   3085   *\ * | *\	*)
   3086     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3087   *)
   3088     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3089   esac
   3090 fi
   3091 
   3092 # Installed binaries are usually stripped using 'strip' when the user
   3093 # run "make install-strip".  However 'strip' might not be the right
   3094 # tool to use in cross-compilation environments, therefore Automake
   3095 # will honor the 'STRIP' environment variable to overrule this program.
   3096 if test "$cross_compiling" != no; then
   3097   if test -n "$ac_tool_prefix"; then
   3098   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3099 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3101 $as_echo_n "checking for $ac_word... " >&6; }
   3102 if ${ac_cv_prog_STRIP+:} false; then :
   3103   $as_echo_n "(cached) " >&6
   3104 else
   3105   if test -n "$STRIP"; then
   3106   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3107 else
   3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3109 for as_dir in $PATH
   3110 do
   3111   IFS=$as_save_IFS
   3112   test -z "$as_dir" && as_dir=.
   3113     for ac_exec_ext in '' $ac_executable_extensions; do
   3114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3115     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3117     break 2
   3118   fi
   3119 done
   3120   done
   3121 IFS=$as_save_IFS
   3122 
   3123 fi
   3124 fi
   3125 STRIP=$ac_cv_prog_STRIP
   3126 if test -n "$STRIP"; then
   3127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3128 $as_echo "$STRIP" >&6; }
   3129 else
   3130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3131 $as_echo "no" >&6; }
   3132 fi
   3133 
   3134 
   3135 fi
   3136 if test -z "$ac_cv_prog_STRIP"; then
   3137   ac_ct_STRIP=$STRIP
   3138   # Extract the first word of "strip", so it can be a program name with args.
   3139 set dummy strip; ac_word=$2
   3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3141 $as_echo_n "checking for $ac_word... " >&6; }
   3142 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3143   $as_echo_n "(cached) " >&6
   3144 else
   3145   if test -n "$ac_ct_STRIP"; then
   3146   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3147 else
   3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3149 for as_dir in $PATH
   3150 do
   3151   IFS=$as_save_IFS
   3152   test -z "$as_dir" && as_dir=.
   3153     for ac_exec_ext in '' $ac_executable_extensions; do
   3154   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3155     ac_cv_prog_ac_ct_STRIP="strip"
   3156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3157     break 2
   3158   fi
   3159 done
   3160   done
   3161 IFS=$as_save_IFS
   3162 
   3163 fi
   3164 fi
   3165 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3166 if test -n "$ac_ct_STRIP"; then
   3167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3168 $as_echo "$ac_ct_STRIP" >&6; }
   3169 else
   3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3171 $as_echo "no" >&6; }
   3172 fi
   3173 
   3174   if test "x$ac_ct_STRIP" = x; then
   3175     STRIP=":"
   3176   else
   3177     case $cross_compiling:$ac_tool_warned in
   3178 yes:)
   3179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3181 ac_tool_warned=yes ;;
   3182 esac
   3183     STRIP=$ac_ct_STRIP
   3184   fi
   3185 else
   3186   STRIP="$ac_cv_prog_STRIP"
   3187 fi
   3188 
   3189 fi
   3190 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3191 
   3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3193 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3194 if test -z "$MKDIR_P"; then
   3195   if ${ac_cv_path_mkdir+:} false; then :
   3196   $as_echo_n "(cached) " >&6
   3197 else
   3198   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3199 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3200 do
   3201   IFS=$as_save_IFS
   3202   test -z "$as_dir" && as_dir=.
   3203     for ac_prog in mkdir gmkdir; do
   3204 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3205 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3206 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3207 	     'mkdir (GNU coreutils) '* | \
   3208 	     'mkdir (coreutils) '* | \
   3209 	     'mkdir (fileutils) '4.1*)
   3210 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3211 	       break 3;;
   3212 	   esac
   3213 	 done
   3214        done
   3215   done
   3216 IFS=$as_save_IFS
   3217 
   3218 fi
   3219 
   3220   test -d ./--version && rmdir ./--version
   3221   if test "${ac_cv_path_mkdir+set}" = set; then
   3222     MKDIR_P="$ac_cv_path_mkdir -p"
   3223   else
   3224     # As a last resort, use the slow shell script.  Don't cache a
   3225     # value for MKDIR_P within a source directory, because that will
   3226     # break other packages using the cache if that directory is
   3227     # removed, or if the value is a relative name.
   3228     MKDIR_P="$ac_install_sh -d"
   3229   fi
   3230 fi
   3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3232 $as_echo "$MKDIR_P" >&6; }
   3233 
   3234 for ac_prog in gawk mawk nawk awk
   3235 do
   3236   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3237 set dummy $ac_prog; ac_word=$2
   3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3239 $as_echo_n "checking for $ac_word... " >&6; }
   3240 if ${ac_cv_prog_AWK+:} false; then :
   3241   $as_echo_n "(cached) " >&6
   3242 else
   3243   if test -n "$AWK"; then
   3244   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3245 else
   3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3247 for as_dir in $PATH
   3248 do
   3249   IFS=$as_save_IFS
   3250   test -z "$as_dir" && as_dir=.
   3251     for ac_exec_ext in '' $ac_executable_extensions; do
   3252   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3253     ac_cv_prog_AWK="$ac_prog"
   3254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3255     break 2
   3256   fi
   3257 done
   3258   done
   3259 IFS=$as_save_IFS
   3260 
   3261 fi
   3262 fi
   3263 AWK=$ac_cv_prog_AWK
   3264 if test -n "$AWK"; then
   3265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3266 $as_echo "$AWK" >&6; }
   3267 else
   3268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3269 $as_echo "no" >&6; }
   3270 fi
   3271 
   3272 
   3273   test -n "$AWK" && break
   3274 done
   3275 
   3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3277 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3278 set x ${MAKE-make}
   3279 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3280 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3281   $as_echo_n "(cached) " >&6
   3282 else
   3283   cat >conftest.make <<\_ACEOF
   3284 SHELL = /bin/sh
   3285 all:
   3286 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3287 _ACEOF
   3288 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3289 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3290   *@@@%%%=?*=@@@%%%*)
   3291     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3292   *)
   3293     eval ac_cv_prog_make_${ac_make}_set=no;;
   3294 esac
   3295 rm -f conftest.make
   3296 fi
   3297 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3299 $as_echo "yes" >&6; }
   3300   SET_MAKE=
   3301 else
   3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3303 $as_echo "no" >&6; }
   3304   SET_MAKE="MAKE=${MAKE-make}"
   3305 fi
   3306 
   3307 rm -rf .tst 2>/dev/null
   3308 mkdir .tst 2>/dev/null
   3309 if test -d .tst; then
   3310   am__leading_dot=.
   3311 else
   3312   am__leading_dot=_
   3313 fi
   3314 rmdir .tst 2>/dev/null
   3315 
   3316 # Check whether --enable-silent-rules was given.
   3317 if test "${enable_silent_rules+set}" = set; then :
   3318   enableval=$enable_silent_rules;
   3319 fi
   3320 
   3321 case $enable_silent_rules in # (((
   3322   yes) AM_DEFAULT_VERBOSITY=0;;
   3323    no) AM_DEFAULT_VERBOSITY=1;;
   3324     *) AM_DEFAULT_VERBOSITY=1;;
   3325 esac
   3326 am_make=${MAKE-make}
   3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3328 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3329 if ${am_cv_make_support_nested_variables+:} false; then :
   3330   $as_echo_n "(cached) " >&6
   3331 else
   3332   if $as_echo 'TRUE=$(BAR$(V))
   3333 BAR0=false
   3334 BAR1=true
   3335 V=1
   3336 am__doit:
   3337 	@$(TRUE)
   3338 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3339   am_cv_make_support_nested_variables=yes
   3340 else
   3341   am_cv_make_support_nested_variables=no
   3342 fi
   3343 fi
   3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3345 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3346 if test $am_cv_make_support_nested_variables = yes; then
   3347     AM_V='$(V)'
   3348   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3349 else
   3350   AM_V=$AM_DEFAULT_VERBOSITY
   3351   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3352 fi
   3353 AM_BACKSLASH='\'
   3354 
   3355 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3356   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3357   # is not polluted with repeated "-I."
   3358   am__isrc=' -I$(srcdir)'
   3359   # test to see if srcdir already configured
   3360   if test -f $srcdir/config.status; then
   3361     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3362   fi
   3363 fi
   3364 
   3365 # test whether we have cygpath
   3366 if test -z "$CYGPATH_W"; then
   3367   if (cygpath --version) >/dev/null 2>/dev/null; then
   3368     CYGPATH_W='cygpath -w'
   3369   else
   3370     CYGPATH_W=echo
   3371   fi
   3372 fi
   3373 
   3374 
   3375 # Define the identity of the package.
   3376  PACKAGE='libgomp'
   3377  VERSION='1.0'
   3378 
   3379 
   3380 cat >>confdefs.h <<_ACEOF
   3381 #define PACKAGE "$PACKAGE"
   3382 _ACEOF
   3383 
   3384 
   3385 cat >>confdefs.h <<_ACEOF
   3386 #define VERSION "$VERSION"
   3387 _ACEOF
   3388 
   3389 # Some tools Automake needs.
   3390 
   3391 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3392 
   3393 
   3394 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3395 
   3396 
   3397 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3398 
   3399 
   3400 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3401 
   3402 
   3403 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3404 
   3405 # For better backward compatibility.  To be removed once Automake 1.9.x
   3406 # dies out for good.  For more background, see:
   3407 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3408 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3409 mkdir_p='$(MKDIR_P)'
   3410 
   3411 # We need awk for the "check" target (and possibly the TAP driver).  The
   3412 # system "awk" is bad on some platforms.
   3413 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3414 # in the wild :-(  We should find a proper way to deprecate it ...
   3415 AMTAR='$${TAR-tar}'
   3416 
   3417 
   3418 # We'll loop over all known methods to create a tar archive until one works.
   3419 _am_tools='gnutar  pax cpio none'
   3420 
   3421 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3422 
   3423 
   3424 
   3425 
   3426 
   3427 
   3428 # POSIX will say in a future version that running "rm -f" with no argument
   3429 # is OK; and we want to be able to make that assumption in our Makefile
   3430 # recipes.  So use an aggressive probe to check that the usage we want is
   3431 # actually supported "in the wild" to an acceptable degree.
   3432 # See automake bug#10828.
   3433 # To make any issue more visible, cause the running configure to be aborted
   3434 # by default if the 'rm' program in use doesn't match our expectations; the
   3435 # user can still override this though.
   3436 if rm -f && rm -fr && rm -rf; then : OK; else
   3437   cat >&2 <<'END'
   3438 Oops!
   3439 
   3440 Your 'rm' program seems unable to run without file operands specified
   3441 on the command line, even when the '-f' option is present.  This is contrary
   3442 to the behaviour of most rm programs out there, and not conforming with
   3443 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3444 
   3445 Please tell bug-automake@gnu.org about your system, including the value
   3446 of your $PATH and any error possibly output before this message.  This
   3447 can help us improve future automake versions.
   3448 
   3449 END
   3450   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3451     echo 'Configuration will proceed anyway, since you have set the' >&2
   3452     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3453     echo >&2
   3454   else
   3455     cat >&2 <<'END'
   3456 Aborting the configuration process, to ensure you take notice of the issue.
   3457 
   3458 You can download and install GNU coreutils to get an 'rm' implementation
   3459 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3460 
   3461 If you want to complete the configuration process using your problematic
   3462 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3463 to "yes", and re-run configure.
   3464 
   3465 END
   3466     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3467   fi
   3468 fi
   3469 
   3470 # Default to --enable-multilib
   3471 # Check whether --enable-multilib was given.
   3472 if test "${enable_multilib+set}" = set; then :
   3473   enableval=$enable_multilib; case "$enableval" in
   3474   yes) multilib=yes ;;
   3475   no)  multilib=no ;;
   3476   *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
   3477  esac
   3478 else
   3479   multilib=yes
   3480 fi
   3481 
   3482 
   3483 # We may get other options which we leave undocumented:
   3484 # --with-target-subdir, --with-multisrctop, --with-multisubdir
   3485 # See config-ml.in if you want the gory details.
   3486 
   3487 if test "$srcdir" = "."; then
   3488   if test "$with_target_subdir" != "."; then
   3489     multi_basedir="$srcdir/$with_multisrctop../.."
   3490   else
   3491     multi_basedir="$srcdir/$with_multisrctop.."
   3492   fi
   3493 else
   3494   multi_basedir="$srcdir/.."
   3495 fi
   3496 
   3497 
   3498 # Even if the default multilib is not a cross compilation,
   3499 # it may be that some of the other multilibs are.
   3500 if test $cross_compiling = no && test $multilib = yes \
   3501    && test "x${with_multisubdir}" != x ; then
   3502    cross_compiling=maybe
   3503 fi
   3504 
   3505 ac_config_commands="$ac_config_commands default-1"
   3506 
   3507 
   3508 
   3509 # Check whether --with-toolexeclibdir was given.
   3510 if test "${with_toolexeclibdir+set}" = set; then :
   3511   withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
   3512   /)
   3513     ;;
   3514   */)
   3515     with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
   3516     ;;
   3517 esac
   3518 else
   3519   with_toolexeclibdir=no
   3520 fi
   3521 
   3522 
   3523 
   3524 # Calculate toolexeclibdir
   3525 # Also toolexecdir, though it's only used in toolexeclibdir
   3526 case ${enable_version_specific_runtime_libs} in
   3527   yes)
   3528     # Need the gcc compiler version to know where to install libraries
   3529     # and header files if --enable-version-specific-runtime-libs option
   3530     # is selected.
   3531     toolexecdir='$(libdir)/gcc/$(target_alias)'
   3532     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
   3533     ;;
   3534   no)
   3535     if test -n "$with_cross_host" &&
   3536        test x"$with_cross_host" != x"no"; then
   3537       # Install a library built with a cross compiler in tooldir, not libdir.
   3538       toolexecdir='$(exec_prefix)/$(target_alias)'
   3539       case ${with_toolexeclibdir} in
   3540 	no)
   3541 	  toolexeclibdir='$(toolexecdir)/lib'
   3542 	  ;;
   3543 	*)
   3544 	  toolexeclibdir=${with_toolexeclibdir}
   3545 	  ;;
   3546       esac
   3547     else
   3548       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
   3549       toolexeclibdir='$(libdir)'
   3550     fi
   3551     multi_os_directory=`$CC -print-multi-os-directory`
   3552     case $multi_os_directory in
   3553       .) ;; # Avoid trailing /.
   3554       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
   3555     esac
   3556     ;;
   3557 esac
   3558 
   3559 
   3560 
   3561 # Check the compiler.
   3562 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
   3563 # We must force CC to /not/ be precious variables; otherwise
   3564 # the wrong, non-multilib-adjusted value will be used in multilibs.
   3565 # As a side effect, we have to subst CFLAGS ourselves.
   3566 
   3567 
   3568 
   3569 ac_ext=c
   3570 ac_cpp='$CPP $CPPFLAGS'
   3571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3574 if test -n "$ac_tool_prefix"; then
   3575   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3576 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3578 $as_echo_n "checking for $ac_word... " >&6; }
   3579 if ${ac_cv_prog_CC+:} false; then :
   3580   $as_echo_n "(cached) " >&6
   3581 else
   3582   if test -n "$CC"; then
   3583   ac_cv_prog_CC="$CC" # Let the user override the test.
   3584 else
   3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3586 for as_dir in $PATH
   3587 do
   3588   IFS=$as_save_IFS
   3589   test -z "$as_dir" && as_dir=.
   3590     for ac_exec_ext in '' $ac_executable_extensions; do
   3591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3592     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3594     break 2
   3595   fi
   3596 done
   3597   done
   3598 IFS=$as_save_IFS
   3599 
   3600 fi
   3601 fi
   3602 CC=$ac_cv_prog_CC
   3603 if test -n "$CC"; then
   3604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3605 $as_echo "$CC" >&6; }
   3606 else
   3607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3608 $as_echo "no" >&6; }
   3609 fi
   3610 
   3611 
   3612 fi
   3613 if test -z "$ac_cv_prog_CC"; then
   3614   ac_ct_CC=$CC
   3615   # Extract the first word of "gcc", so it can be a program name with args.
   3616 set dummy gcc; ac_word=$2
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3618 $as_echo_n "checking for $ac_word... " >&6; }
   3619 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3620   $as_echo_n "(cached) " >&6
   3621 else
   3622   if test -n "$ac_ct_CC"; then
   3623   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3624 else
   3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3626 for as_dir in $PATH
   3627 do
   3628   IFS=$as_save_IFS
   3629   test -z "$as_dir" && as_dir=.
   3630     for ac_exec_ext in '' $ac_executable_extensions; do
   3631   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3632     ac_cv_prog_ac_ct_CC="gcc"
   3633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3634     break 2
   3635   fi
   3636 done
   3637   done
   3638 IFS=$as_save_IFS
   3639 
   3640 fi
   3641 fi
   3642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3643 if test -n "$ac_ct_CC"; then
   3644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3645 $as_echo "$ac_ct_CC" >&6; }
   3646 else
   3647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3648 $as_echo "no" >&6; }
   3649 fi
   3650 
   3651   if test "x$ac_ct_CC" = x; then
   3652     CC=""
   3653   else
   3654     case $cross_compiling:$ac_tool_warned in
   3655 yes:)
   3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3658 ac_tool_warned=yes ;;
   3659 esac
   3660     CC=$ac_ct_CC
   3661   fi
   3662 else
   3663   CC="$ac_cv_prog_CC"
   3664 fi
   3665 
   3666 if test -z "$CC"; then
   3667           if test -n "$ac_tool_prefix"; then
   3668     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3669 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3671 $as_echo_n "checking for $ac_word... " >&6; }
   3672 if ${ac_cv_prog_CC+:} false; then :
   3673   $as_echo_n "(cached) " >&6
   3674 else
   3675   if test -n "$CC"; then
   3676   ac_cv_prog_CC="$CC" # Let the user override the test.
   3677 else
   3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3679 for as_dir in $PATH
   3680 do
   3681   IFS=$as_save_IFS
   3682   test -z "$as_dir" && as_dir=.
   3683     for ac_exec_ext in '' $ac_executable_extensions; do
   3684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3685     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3687     break 2
   3688   fi
   3689 done
   3690   done
   3691 IFS=$as_save_IFS
   3692 
   3693 fi
   3694 fi
   3695 CC=$ac_cv_prog_CC
   3696 if test -n "$CC"; then
   3697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3698 $as_echo "$CC" >&6; }
   3699 else
   3700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3701 $as_echo "no" >&6; }
   3702 fi
   3703 
   3704 
   3705   fi
   3706 fi
   3707 if test -z "$CC"; then
   3708   # Extract the first word of "cc", so it can be a program name with args.
   3709 set dummy cc; ac_word=$2
   3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3711 $as_echo_n "checking for $ac_word... " >&6; }
   3712 if ${ac_cv_prog_CC+:} false; then :
   3713   $as_echo_n "(cached) " >&6
   3714 else
   3715   if test -n "$CC"; then
   3716   ac_cv_prog_CC="$CC" # Let the user override the test.
   3717 else
   3718   ac_prog_rejected=no
   3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3720 for as_dir in $PATH
   3721 do
   3722   IFS=$as_save_IFS
   3723   test -z "$as_dir" && as_dir=.
   3724     for ac_exec_ext in '' $ac_executable_extensions; do
   3725   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3726     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3727        ac_prog_rejected=yes
   3728        continue
   3729      fi
   3730     ac_cv_prog_CC="cc"
   3731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3732     break 2
   3733   fi
   3734 done
   3735   done
   3736 IFS=$as_save_IFS
   3737 
   3738 if test $ac_prog_rejected = yes; then
   3739   # We found a bogon in the path, so make sure we never use it.
   3740   set dummy $ac_cv_prog_CC
   3741   shift
   3742   if test $# != 0; then
   3743     # We chose a different compiler from the bogus one.
   3744     # However, it has the same basename, so the bogon will be chosen
   3745     # first if we set CC to just the basename; use the full file name.
   3746     shift
   3747     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3748   fi
   3749 fi
   3750 fi
   3751 fi
   3752 CC=$ac_cv_prog_CC
   3753 if test -n "$CC"; then
   3754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3755 $as_echo "$CC" >&6; }
   3756 else
   3757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3758 $as_echo "no" >&6; }
   3759 fi
   3760 
   3761 
   3762 fi
   3763 if test -z "$CC"; then
   3764   if test -n "$ac_tool_prefix"; then
   3765   for ac_prog in cl.exe
   3766   do
   3767     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3770 $as_echo_n "checking for $ac_word... " >&6; }
   3771 if ${ac_cv_prog_CC+:} false; then :
   3772   $as_echo_n "(cached) " >&6
   3773 else
   3774   if test -n "$CC"; then
   3775   ac_cv_prog_CC="$CC" # Let the user override the test.
   3776 else
   3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3778 for as_dir in $PATH
   3779 do
   3780   IFS=$as_save_IFS
   3781   test -z "$as_dir" && as_dir=.
   3782     for ac_exec_ext in '' $ac_executable_extensions; do
   3783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3784     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3786     break 2
   3787   fi
   3788 done
   3789   done
   3790 IFS=$as_save_IFS
   3791 
   3792 fi
   3793 fi
   3794 CC=$ac_cv_prog_CC
   3795 if test -n "$CC"; then
   3796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3797 $as_echo "$CC" >&6; }
   3798 else
   3799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3800 $as_echo "no" >&6; }
   3801 fi
   3802 
   3803 
   3804     test -n "$CC" && break
   3805   done
   3806 fi
   3807 if test -z "$CC"; then
   3808   ac_ct_CC=$CC
   3809   for ac_prog in cl.exe
   3810 do
   3811   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3812 set dummy $ac_prog; ac_word=$2
   3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3814 $as_echo_n "checking for $ac_word... " >&6; }
   3815 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3816   $as_echo_n "(cached) " >&6
   3817 else
   3818   if test -n "$ac_ct_CC"; then
   3819   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3820 else
   3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3822 for as_dir in $PATH
   3823 do
   3824   IFS=$as_save_IFS
   3825   test -z "$as_dir" && as_dir=.
   3826     for ac_exec_ext in '' $ac_executable_extensions; do
   3827   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3828     ac_cv_prog_ac_ct_CC="$ac_prog"
   3829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3830     break 2
   3831   fi
   3832 done
   3833   done
   3834 IFS=$as_save_IFS
   3835 
   3836 fi
   3837 fi
   3838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3839 if test -n "$ac_ct_CC"; then
   3840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3841 $as_echo "$ac_ct_CC" >&6; }
   3842 else
   3843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3844 $as_echo "no" >&6; }
   3845 fi
   3846 
   3847 
   3848   test -n "$ac_ct_CC" && break
   3849 done
   3850 
   3851   if test "x$ac_ct_CC" = x; then
   3852     CC=""
   3853   else
   3854     case $cross_compiling:$ac_tool_warned in
   3855 yes:)
   3856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3858 ac_tool_warned=yes ;;
   3859 esac
   3860     CC=$ac_ct_CC
   3861   fi
   3862 fi
   3863 
   3864 fi
   3865 
   3866 
   3867 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3869 as_fn_error $? "no acceptable C compiler found in \$PATH
   3870 See \`config.log' for more details" "$LINENO" 5; }
   3871 
   3872 # Provide some information about the compiler.
   3873 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3874 set X $ac_compile
   3875 ac_compiler=$2
   3876 for ac_option in --version -v -V -qversion; do
   3877   { { ac_try="$ac_compiler $ac_option >&5"
   3878 case "(($ac_try" in
   3879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3880   *) ac_try_echo=$ac_try;;
   3881 esac
   3882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3883 $as_echo "$ac_try_echo"; } >&5
   3884   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3885   ac_status=$?
   3886   if test -s conftest.err; then
   3887     sed '10a\
   3888 ... rest of stderr output deleted ...
   3889          10q' conftest.err >conftest.er1
   3890     cat conftest.er1 >&5
   3891   fi
   3892   rm -f conftest.er1 conftest.err
   3893   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3894   test $ac_status = 0; }
   3895 done
   3896 
   3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3898 /* end confdefs.h.  */
   3899 
   3900 int
   3901 main ()
   3902 {
   3903 
   3904   ;
   3905   return 0;
   3906 }
   3907 _ACEOF
   3908 ac_clean_files_save=$ac_clean_files
   3909 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3910 # Try to create an executable without -o first, disregard a.out.
   3911 # It will help us diagnose broken compilers, and finding out an intuition
   3912 # of exeext.
   3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3914 $as_echo_n "checking whether the C compiler works... " >&6; }
   3915 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3916 
   3917 # The possible output files:
   3918 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3919 
   3920 ac_rmfiles=
   3921 for ac_file in $ac_files
   3922 do
   3923   case $ac_file in
   3924     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3925     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3926   esac
   3927 done
   3928 rm -f $ac_rmfiles
   3929 
   3930 if { { ac_try="$ac_link_default"
   3931 case "(($ac_try" in
   3932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3933   *) ac_try_echo=$ac_try;;
   3934 esac
   3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3936 $as_echo "$ac_try_echo"; } >&5
   3937   (eval "$ac_link_default") 2>&5
   3938   ac_status=$?
   3939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3940   test $ac_status = 0; }; then :
   3941   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3942 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3943 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3944 # so that the user can short-circuit this test for compilers unknown to
   3945 # Autoconf.
   3946 for ac_file in $ac_files ''
   3947 do
   3948   test -f "$ac_file" || continue
   3949   case $ac_file in
   3950     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3951 	;;
   3952     [ab].out )
   3953 	# We found the default executable, but exeext='' is most
   3954 	# certainly right.
   3955 	break;;
   3956     *.* )
   3957 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3958 	then :; else
   3959 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3960 	fi
   3961 	# We set ac_cv_exeext here because the later test for it is not
   3962 	# safe: cross compilers may not add the suffix if given an `-o'
   3963 	# argument, so we may need to know it at that point already.
   3964 	# Even if this section looks crufty: it has the advantage of
   3965 	# actually working.
   3966 	break;;
   3967     * )
   3968 	break;;
   3969   esac
   3970 done
   3971 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3972 
   3973 else
   3974   ac_file=''
   3975 fi
   3976 if test -z "$ac_file"; then :
   3977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3978 $as_echo "no" >&6; }
   3979 $as_echo "$as_me: failed program was:" >&5
   3980 sed 's/^/| /' conftest.$ac_ext >&5
   3981 
   3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3984 as_fn_error 77 "C compiler cannot create executables
   3985 See \`config.log' for more details" "$LINENO" 5; }
   3986 else
   3987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3988 $as_echo "yes" >&6; }
   3989 fi
   3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3991 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3993 $as_echo "$ac_file" >&6; }
   3994 ac_exeext=$ac_cv_exeext
   3995 
   3996 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3997 ac_clean_files=$ac_clean_files_save
   3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3999 $as_echo_n "checking for suffix of executables... " >&6; }
   4000 if { { ac_try="$ac_link"
   4001 case "(($ac_try" in
   4002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4003   *) ac_try_echo=$ac_try;;
   4004 esac
   4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4006 $as_echo "$ac_try_echo"; } >&5
   4007   (eval "$ac_link") 2>&5
   4008   ac_status=$?
   4009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4010   test $ac_status = 0; }; then :
   4011   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4012 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4013 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4014 # `rm'.
   4015 for ac_file in conftest.exe conftest conftest.*; do
   4016   test -f "$ac_file" || continue
   4017   case $ac_file in
   4018     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4019     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4020 	  break;;
   4021     * ) break;;
   4022   esac
   4023 done
   4024 else
   4025   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4027 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4028 See \`config.log' for more details" "$LINENO" 5; }
   4029 fi
   4030 rm -f conftest conftest$ac_cv_exeext
   4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4032 $as_echo "$ac_cv_exeext" >&6; }
   4033 
   4034 rm -f conftest.$ac_ext
   4035 EXEEXT=$ac_cv_exeext
   4036 ac_exeext=$EXEEXT
   4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4038 /* end confdefs.h.  */
   4039 #include <stdio.h>
   4040 int
   4041 main ()
   4042 {
   4043 FILE *f = fopen ("conftest.out", "w");
   4044  return ferror (f) || fclose (f) != 0;
   4045 
   4046   ;
   4047   return 0;
   4048 }
   4049 _ACEOF
   4050 ac_clean_files="$ac_clean_files conftest.out"
   4051 # Check that the compiler produces executables we can run.  If not, either
   4052 # the compiler is broken, or we cross compile.
   4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4054 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4055 if test "$cross_compiling" != yes; then
   4056   { { ac_try="$ac_link"
   4057 case "(($ac_try" in
   4058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4059   *) ac_try_echo=$ac_try;;
   4060 esac
   4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4062 $as_echo "$ac_try_echo"; } >&5
   4063   (eval "$ac_link") 2>&5
   4064   ac_status=$?
   4065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4066   test $ac_status = 0; }
   4067   if { ac_try='./conftest$ac_cv_exeext'
   4068   { { case "(($ac_try" in
   4069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4070   *) ac_try_echo=$ac_try;;
   4071 esac
   4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4073 $as_echo "$ac_try_echo"; } >&5
   4074   (eval "$ac_try") 2>&5
   4075   ac_status=$?
   4076   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4077   test $ac_status = 0; }; }; then
   4078     cross_compiling=no
   4079   else
   4080     if test "$cross_compiling" = maybe; then
   4081 	cross_compiling=yes
   4082     else
   4083 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4085 as_fn_error $? "cannot run C compiled programs.
   4086 If you meant to cross compile, use \`--host'.
   4087 See \`config.log' for more details" "$LINENO" 5; }
   4088     fi
   4089   fi
   4090 fi
   4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4092 $as_echo "$cross_compiling" >&6; }
   4093 
   4094 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4095 ac_clean_files=$ac_clean_files_save
   4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4097 $as_echo_n "checking for suffix of object files... " >&6; }
   4098 if ${ac_cv_objext+:} false; then :
   4099   $as_echo_n "(cached) " >&6
   4100 else
   4101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 
   4104 int
   4105 main ()
   4106 {
   4107 
   4108   ;
   4109   return 0;
   4110 }
   4111 _ACEOF
   4112 rm -f conftest.o conftest.obj
   4113 if { { ac_try="$ac_compile"
   4114 case "(($ac_try" in
   4115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4116   *) ac_try_echo=$ac_try;;
   4117 esac
   4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4119 $as_echo "$ac_try_echo"; } >&5
   4120   (eval "$ac_compile") 2>&5
   4121   ac_status=$?
   4122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4123   test $ac_status = 0; }; then :
   4124   for ac_file in conftest.o conftest.obj conftest.*; do
   4125   test -f "$ac_file" || continue;
   4126   case $ac_file in
   4127     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4128     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4129        break;;
   4130   esac
   4131 done
   4132 else
   4133   $as_echo "$as_me: failed program was:" >&5
   4134 sed 's/^/| /' conftest.$ac_ext >&5
   4135 
   4136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4138 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4139 See \`config.log' for more details" "$LINENO" 5; }
   4140 fi
   4141 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4142 fi
   4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4144 $as_echo "$ac_cv_objext" >&6; }
   4145 OBJEXT=$ac_cv_objext
   4146 ac_objext=$OBJEXT
   4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4148 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4149 if ${ac_cv_c_compiler_gnu+:} false; then :
   4150   $as_echo_n "(cached) " >&6
   4151 else
   4152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4153 /* end confdefs.h.  */
   4154 
   4155 int
   4156 main ()
   4157 {
   4158 #ifndef __GNUC__
   4159        choke me
   4160 #endif
   4161 
   4162   ;
   4163   return 0;
   4164 }
   4165 _ACEOF
   4166 if ac_fn_c_try_compile "$LINENO"; then :
   4167   ac_compiler_gnu=yes
   4168 else
   4169   ac_compiler_gnu=no
   4170 fi
   4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4172 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4173 
   4174 fi
   4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4176 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4177 if test $ac_compiler_gnu = yes; then
   4178   GCC=yes
   4179 else
   4180   GCC=
   4181 fi
   4182 ac_test_CFLAGS=${CFLAGS+set}
   4183 ac_save_CFLAGS=$CFLAGS
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4185 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4186 if ${ac_cv_prog_cc_g+:} false; then :
   4187   $as_echo_n "(cached) " >&6
   4188 else
   4189   ac_save_c_werror_flag=$ac_c_werror_flag
   4190    ac_c_werror_flag=yes
   4191    ac_cv_prog_cc_g=no
   4192    CFLAGS="-g"
   4193    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4194 /* end confdefs.h.  */
   4195 
   4196 int
   4197 main ()
   4198 {
   4199 
   4200   ;
   4201   return 0;
   4202 }
   4203 _ACEOF
   4204 if ac_fn_c_try_compile "$LINENO"; then :
   4205   ac_cv_prog_cc_g=yes
   4206 else
   4207   CFLAGS=""
   4208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4209 /* end confdefs.h.  */
   4210 
   4211 int
   4212 main ()
   4213 {
   4214 
   4215   ;
   4216   return 0;
   4217 }
   4218 _ACEOF
   4219 if ac_fn_c_try_compile "$LINENO"; then :
   4220 
   4221 else
   4222   ac_c_werror_flag=$ac_save_c_werror_flag
   4223 	 CFLAGS="-g"
   4224 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4225 /* end confdefs.h.  */
   4226 
   4227 int
   4228 main ()
   4229 {
   4230 
   4231   ;
   4232   return 0;
   4233 }
   4234 _ACEOF
   4235 if ac_fn_c_try_compile "$LINENO"; then :
   4236   ac_cv_prog_cc_g=yes
   4237 fi
   4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4239 fi
   4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4241 fi
   4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4243    ac_c_werror_flag=$ac_save_c_werror_flag
   4244 fi
   4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4246 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4247 if test "$ac_test_CFLAGS" = set; then
   4248   CFLAGS=$ac_save_CFLAGS
   4249 elif test $ac_cv_prog_cc_g = yes; then
   4250   if test "$GCC" = yes; then
   4251     CFLAGS="-g -O2"
   4252   else
   4253     CFLAGS="-g"
   4254   fi
   4255 else
   4256   if test "$GCC" = yes; then
   4257     CFLAGS="-O2"
   4258   else
   4259     CFLAGS=
   4260   fi
   4261 fi
   4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4263 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4264 if ${ac_cv_prog_cc_c89+:} false; then :
   4265   $as_echo_n "(cached) " >&6
   4266 else
   4267   ac_cv_prog_cc_c89=no
   4268 ac_save_CC=$CC
   4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4270 /* end confdefs.h.  */
   4271 #include <stdarg.h>
   4272 #include <stdio.h>
   4273 struct stat;
   4274 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4275 struct buf { int x; };
   4276 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4277 static char *e (p, i)
   4278      char **p;
   4279      int i;
   4280 {
   4281   return p[i];
   4282 }
   4283 static char *f (char * (*g) (char **, int), char **p, ...)
   4284 {
   4285   char *s;
   4286   va_list v;
   4287   va_start (v,p);
   4288   s = g (p, va_arg (v,int));
   4289   va_end (v);
   4290   return s;
   4291 }
   4292 
   4293 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4294    function prototypes and stuff, but not '\xHH' hex character constants.
   4295    These don't provoke an error unfortunately, instead are silently treated
   4296    as 'x'.  The following induces an error, until -std is added to get
   4297    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4298    array size at least.  It's necessary to write '\x00'==0 to get something
   4299    that's true only with -std.  */
   4300 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4301 
   4302 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4303    inside strings and character constants.  */
   4304 #define FOO(x) 'x'
   4305 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4306 
   4307 int test (int i, double x);
   4308 struct s1 {int (*f) (int a);};
   4309 struct s2 {int (*f) (double a);};
   4310 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4311 int argc;
   4312 char **argv;
   4313 int
   4314 main ()
   4315 {
   4316 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4317   ;
   4318   return 0;
   4319 }
   4320 _ACEOF
   4321 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4322 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4323 do
   4324   CC="$ac_save_CC $ac_arg"
   4325   if ac_fn_c_try_compile "$LINENO"; then :
   4326   ac_cv_prog_cc_c89=$ac_arg
   4327 fi
   4328 rm -f core conftest.err conftest.$ac_objext
   4329   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4330 done
   4331 rm -f conftest.$ac_ext
   4332 CC=$ac_save_CC
   4333 
   4334 fi
   4335 # AC_CACHE_VAL
   4336 case "x$ac_cv_prog_cc_c89" in
   4337   x)
   4338     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4339 $as_echo "none needed" >&6; } ;;
   4340   xno)
   4341     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4342 $as_echo "unsupported" >&6; } ;;
   4343   *)
   4344     CC="$CC $ac_cv_prog_cc_c89"
   4345     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4346 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4347 esac
   4348 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4349 
   4350 fi
   4351 
   4352 ac_ext=c
   4353 ac_cpp='$CPP $CPPFLAGS'
   4354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4357 
   4358 ac_ext=c
   4359 ac_cpp='$CPP $CPPFLAGS'
   4360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4364 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4365 if ${am_cv_prog_cc_c_o+:} false; then :
   4366   $as_echo_n "(cached) " >&6
   4367 else
   4368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4369 /* end confdefs.h.  */
   4370 
   4371 int
   4372 main ()
   4373 {
   4374 
   4375   ;
   4376   return 0;
   4377 }
   4378 _ACEOF
   4379   # Make sure it works both with $CC and with simple cc.
   4380   # Following AC_PROG_CC_C_O, we do the test twice because some
   4381   # compilers refuse to overwrite an existing .o file with -o,
   4382   # though they will create one.
   4383   am_cv_prog_cc_c_o=yes
   4384   for am_i in 1 2; do
   4385     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4386    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4387    ac_status=$?
   4388    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4389    (exit $ac_status); } \
   4390          && test -f conftest2.$ac_objext; then
   4391       : OK
   4392     else
   4393       am_cv_prog_cc_c_o=no
   4394       break
   4395     fi
   4396   done
   4397   rm -f core conftest*
   4398   unset am_i
   4399 fi
   4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4401 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4402 if test "$am_cv_prog_cc_c_o" != yes; then
   4403    # Losing compiler, so override with the script.
   4404    # FIXME: It is wrong to rewrite CC.
   4405    # But if we don't then we get into trouble of one sort or another.
   4406    # A longer-term fix would be to have automake use am__CC in this case,
   4407    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4408    CC="$am_aux_dir/compile $CC"
   4409 fi
   4410 ac_ext=c
   4411 ac_cpp='$CPP $CPPFLAGS'
   4412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4415 
   4416 DEPDIR="${am__leading_dot}deps"
   4417 
   4418 ac_config_commands="$ac_config_commands depfiles"
   4419 
   4420 
   4421 am_make=${MAKE-make}
   4422 cat > confinc << 'END'
   4423 am__doit:
   4424 	@echo this is the am__doit target
   4425 .PHONY: am__doit
   4426 END
   4427 # If we don't find an include directive, just comment out the code.
   4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4429 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4430 am__include="#"
   4431 am__quote=
   4432 _am_result=none
   4433 # First try GNU make style include.
   4434 echo "include confinc" > confmf
   4435 # Ignore all kinds of additional output from 'make'.
   4436 case `$am_make -s -f confmf 2> /dev/null` in #(
   4437 *the\ am__doit\ target*)
   4438   am__include=include
   4439   am__quote=
   4440   _am_result=GNU
   4441   ;;
   4442 esac
   4443 # Now try BSD make style include.
   4444 if test "$am__include" = "#"; then
   4445    echo '.include "confinc"' > confmf
   4446    case `$am_make -s -f confmf 2> /dev/null` in #(
   4447    *the\ am__doit\ target*)
   4448      am__include=.include
   4449      am__quote="\""
   4450      _am_result=BSD
   4451      ;;
   4452    esac
   4453 fi
   4454 
   4455 
   4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4457 $as_echo "$_am_result" >&6; }
   4458 rm -f confinc confmf
   4459 
   4460 # Check whether --enable-dependency-tracking was given.
   4461 if test "${enable_dependency_tracking+set}" = set; then :
   4462   enableval=$enable_dependency_tracking;
   4463 fi
   4464 
   4465 if test "x$enable_dependency_tracking" != xno; then
   4466   am_depcomp="$ac_aux_dir/depcomp"
   4467   AMDEPBACKSLASH='\'
   4468   am__nodep='_no'
   4469 fi
   4470  if test "x$enable_dependency_tracking" != xno; then
   4471   AMDEP_TRUE=
   4472   AMDEP_FALSE='#'
   4473 else
   4474   AMDEP_TRUE='#'
   4475   AMDEP_FALSE=
   4476 fi
   4477 
   4478 
   4479 
   4480 depcc="$CC"   am_compiler_list=
   4481 
   4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4483 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4484 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4485   $as_echo_n "(cached) " >&6
   4486 else
   4487   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4488   # We make a subdir and do the tests there.  Otherwise we can end up
   4489   # making bogus files that we don't know about and never remove.  For
   4490   # instance it was reported that on HP-UX the gcc test will end up
   4491   # making a dummy file named 'D' -- because '-MD' means "put the output
   4492   # in D".
   4493   rm -rf conftest.dir
   4494   mkdir conftest.dir
   4495   # Copy depcomp to subdir because otherwise we won't find it if we're
   4496   # using a relative directory.
   4497   cp "$am_depcomp" conftest.dir
   4498   cd conftest.dir
   4499   # We will build objects and dependencies in a subdirectory because
   4500   # it helps to detect inapplicable dependency modes.  For instance
   4501   # both Tru64's cc and ICC support -MD to output dependencies as a
   4502   # side effect of compilation, but ICC will put the dependencies in
   4503   # the current directory while Tru64 will put them in the object
   4504   # directory.
   4505   mkdir sub
   4506 
   4507   am_cv_CC_dependencies_compiler_type=none
   4508   if test "$am_compiler_list" = ""; then
   4509      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4510   fi
   4511   am__universal=false
   4512   case " $depcc " in #(
   4513      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4514      esac
   4515 
   4516   for depmode in $am_compiler_list; do
   4517     # Setup a source with many dependencies, because some compilers
   4518     # like to wrap large dependency lists on column 80 (with \), and
   4519     # we should not choose a depcomp mode which is confused by this.
   4520     #
   4521     # We need to recreate these files for each test, as the compiler may
   4522     # overwrite some of them when testing with obscure command lines.
   4523     # This happens at least with the AIX C compiler.
   4524     : > sub/conftest.c
   4525     for i in 1 2 3 4 5 6; do
   4526       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4527       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4528       # Solaris 10 /bin/sh.
   4529       echo '/* dummy */' > sub/conftst$i.h
   4530     done
   4531     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4532 
   4533     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4534     # mode.  It turns out that the SunPro C++ compiler does not properly
   4535     # handle '-M -o', and we need to detect this.  Also, some Intel
   4536     # versions had trouble with output in subdirs.
   4537     am__obj=sub/conftest.${OBJEXT-o}
   4538     am__minus_obj="-o $am__obj"
   4539     case $depmode in
   4540     gcc)
   4541       # This depmode causes a compiler race in universal mode.
   4542       test "$am__universal" = false || continue
   4543       ;;
   4544     nosideeffect)
   4545       # After this tag, mechanisms are not by side-effect, so they'll
   4546       # only be used when explicitly requested.
   4547       if test "x$enable_dependency_tracking" = xyes; then
   4548 	continue
   4549       else
   4550 	break
   4551       fi
   4552       ;;
   4553     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4554       # This compiler won't grok '-c -o', but also, the minuso test has
   4555       # not run yet.  These depmodes are late enough in the game, and
   4556       # so weak that their functioning should not be impacted.
   4557       am__obj=conftest.${OBJEXT-o}
   4558       am__minus_obj=
   4559       ;;
   4560     none) break ;;
   4561     esac
   4562     if depmode=$depmode \
   4563        source=sub/conftest.c object=$am__obj \
   4564        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4565        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4566          >/dev/null 2>conftest.err &&
   4567        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4568        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4569        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4570        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4571       # icc doesn't choke on unknown options, it will just issue warnings
   4572       # or remarks (even with -Werror).  So we grep stderr for any message
   4573       # that says an option was ignored or not supported.
   4574       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4575       #   icc: Command line warning: ignoring option '-M'; no argument required
   4576       # The diagnosis changed in icc 8.0:
   4577       #   icc: Command line remark: option '-MP' not supported
   4578       if (grep 'ignoring option' conftest.err ||
   4579           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4580         am_cv_CC_dependencies_compiler_type=$depmode
   4581         break
   4582       fi
   4583     fi
   4584   done
   4585 
   4586   cd ..
   4587   rm -rf conftest.dir
   4588 else
   4589   am_cv_CC_dependencies_compiler_type=none
   4590 fi
   4591 
   4592 fi
   4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4594 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4595 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4596 
   4597  if
   4598   test "x$enable_dependency_tracking" != xno \
   4599   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4600   am__fastdepCC_TRUE=
   4601   am__fastdepCC_FALSE='#'
   4602 else
   4603   am__fastdepCC_TRUE='#'
   4604   am__fastdepCC_FALSE=
   4605 fi
   4606 
   4607 
   4608 
   4609 
   4610 
   4611 
   4612 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
   4613 # in XCFLAGS.  But we need them in CFLAGS during configury.  So put them
   4614 # in both places for now and restore CFLAGS at the end of config.
   4615 save_CFLAGS="$CFLAGS"
   4616 
   4617 # Check whether --enable-werror was given.
   4618 if test "${enable_werror+set}" = set; then :
   4619   enableval=$enable_werror;
   4620 fi
   4621 
   4622 # Add -Wall -Werror if we are using GCC.
   4623 if test "x$GCC" = "xyes"; then :
   4624   XCFLAGS="$XCFLAGS -Wall"
   4625 fi
   4626 if test "x$enable_werror" != "xno" && test "x$GCC" = "xyes"; then :
   4627   XCFLAGS="$XCFLAGS -Werror"
   4628 fi
   4629 
   4630 # Find other programs we need.
   4631 if test -n "$ac_tool_prefix"; then
   4632   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   4633 set dummy ${ac_tool_prefix}ar; ac_word=$2
   4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4635 $as_echo_n "checking for $ac_word... " >&6; }
   4636 if ${ac_cv_prog_AR+:} false; then :
   4637   $as_echo_n "(cached) " >&6
   4638 else
   4639   if test -n "$AR"; then
   4640   ac_cv_prog_AR="$AR" # Let the user override the test.
   4641 else
   4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4643 for as_dir in $PATH
   4644 do
   4645   IFS=$as_save_IFS
   4646   test -z "$as_dir" && as_dir=.
   4647     for ac_exec_ext in '' $ac_executable_extensions; do
   4648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4649     ac_cv_prog_AR="${ac_tool_prefix}ar"
   4650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4651     break 2
   4652   fi
   4653 done
   4654   done
   4655 IFS=$as_save_IFS
   4656 
   4657 fi
   4658 fi
   4659 AR=$ac_cv_prog_AR
   4660 if test -n "$AR"; then
   4661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   4662 $as_echo "$AR" >&6; }
   4663 else
   4664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4665 $as_echo "no" >&6; }
   4666 fi
   4667 
   4668 
   4669 fi
   4670 if test -z "$ac_cv_prog_AR"; then
   4671   ac_ct_AR=$AR
   4672   # Extract the first word of "ar", so it can be a program name with args.
   4673 set dummy ar; ac_word=$2
   4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4675 $as_echo_n "checking for $ac_word... " >&6; }
   4676 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   4677   $as_echo_n "(cached) " >&6
   4678 else
   4679   if test -n "$ac_ct_AR"; then
   4680   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   4681 else
   4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4683 for as_dir in $PATH
   4684 do
   4685   IFS=$as_save_IFS
   4686   test -z "$as_dir" && as_dir=.
   4687     for ac_exec_ext in '' $ac_executable_extensions; do
   4688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4689     ac_cv_prog_ac_ct_AR="ar"
   4690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4691     break 2
   4692   fi
   4693 done
   4694   done
   4695 IFS=$as_save_IFS
   4696 
   4697 fi
   4698 fi
   4699 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   4700 if test -n "$ac_ct_AR"; then
   4701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   4702 $as_echo "$ac_ct_AR" >&6; }
   4703 else
   4704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4705 $as_echo "no" >&6; }
   4706 fi
   4707 
   4708   if test "x$ac_ct_AR" = x; then
   4709     AR=""
   4710   else
   4711     case $cross_compiling:$ac_tool_warned in
   4712 yes:)
   4713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4715 ac_tool_warned=yes ;;
   4716 esac
   4717     AR=$ac_ct_AR
   4718   fi
   4719 else
   4720   AR="$ac_cv_prog_AR"
   4721 fi
   4722 
   4723 if test -n "$ac_tool_prefix"; then
   4724   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   4725 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4727 $as_echo_n "checking for $ac_word... " >&6; }
   4728 if ${ac_cv_prog_RANLIB+:} false; then :
   4729   $as_echo_n "(cached) " >&6
   4730 else
   4731   if test -n "$RANLIB"; then
   4732   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   4733 else
   4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4735 for as_dir in $PATH
   4736 do
   4737   IFS=$as_save_IFS
   4738   test -z "$as_dir" && as_dir=.
   4739     for ac_exec_ext in '' $ac_executable_extensions; do
   4740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4741     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   4742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4743     break 2
   4744   fi
   4745 done
   4746   done
   4747 IFS=$as_save_IFS
   4748 
   4749 fi
   4750 fi
   4751 RANLIB=$ac_cv_prog_RANLIB
   4752 if test -n "$RANLIB"; then
   4753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   4754 $as_echo "$RANLIB" >&6; }
   4755 else
   4756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4757 $as_echo "no" >&6; }
   4758 fi
   4759 
   4760 
   4761 fi
   4762 if test -z "$ac_cv_prog_RANLIB"; then
   4763   ac_ct_RANLIB=$RANLIB
   4764   # Extract the first word of "ranlib", so it can be a program name with args.
   4765 set dummy ranlib; ac_word=$2
   4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4767 $as_echo_n "checking for $ac_word... " >&6; }
   4768 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   4769   $as_echo_n "(cached) " >&6
   4770 else
   4771   if test -n "$ac_ct_RANLIB"; then
   4772   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   4773 else
   4774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4775 for as_dir in $PATH
   4776 do
   4777   IFS=$as_save_IFS
   4778   test -z "$as_dir" && as_dir=.
   4779     for ac_exec_ext in '' $ac_executable_extensions; do
   4780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4781     ac_cv_prog_ac_ct_RANLIB="ranlib"
   4782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4783     break 2
   4784   fi
   4785 done
   4786   done
   4787 IFS=$as_save_IFS
   4788 
   4789 fi
   4790 fi
   4791 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   4792 if test -n "$ac_ct_RANLIB"; then
   4793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   4794 $as_echo "$ac_ct_RANLIB" >&6; }
   4795 else
   4796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4797 $as_echo "no" >&6; }
   4798 fi
   4799 
   4800   if test "x$ac_ct_RANLIB" = x; then
   4801     RANLIB="ranlib-not-found-in-path-error"
   4802   else
   4803     case $cross_compiling:$ac_tool_warned in
   4804 yes:)
   4805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4807 ac_tool_warned=yes ;;
   4808 esac
   4809     RANLIB=$ac_ct_RANLIB
   4810   fi
   4811 else
   4812   RANLIB="$ac_cv_prog_RANLIB"
   4813 fi
   4814 
   4815 # Extract the first word of "perl", so it can be a program name with args.
   4816 set dummy perl; ac_word=$2
   4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4818 $as_echo_n "checking for $ac_word... " >&6; }
   4819 if ${ac_cv_path_PERL+:} false; then :
   4820   $as_echo_n "(cached) " >&6
   4821 else
   4822   case $PERL in
   4823   [\\/]* | ?:[\\/]*)
   4824   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   4825   ;;
   4826   *)
   4827   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4828 for as_dir in $PATH
   4829 do
   4830   IFS=$as_save_IFS
   4831   test -z "$as_dir" && as_dir=.
   4832     for ac_exec_ext in '' $ac_executable_extensions; do
   4833   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4834     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   4835     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4836     break 2
   4837   fi
   4838 done
   4839   done
   4840 IFS=$as_save_IFS
   4841 
   4842   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl-not-found-in-path-error"
   4843   ;;
   4844 esac
   4845 fi
   4846 PERL=$ac_cv_path_PERL
   4847 if test -n "$PERL"; then
   4848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   4849 $as_echo "$PERL" >&6; }
   4850 else
   4851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4852 $as_echo "no" >&6; }
   4853 fi
   4854 
   4855 
   4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4857 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4858 set x ${MAKE-make}
   4859 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4860 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4861   $as_echo_n "(cached) " >&6
   4862 else
   4863   cat >conftest.make <<\_ACEOF
   4864 SHELL = /bin/sh
   4865 all:
   4866 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4867 _ACEOF
   4868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4870   *@@@%%%=?*=@@@%%%*)
   4871     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4872   *)
   4873     eval ac_cv_prog_make_${ac_make}_set=no;;
   4874 esac
   4875 rm -f conftest.make
   4876 fi
   4877 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4879 $as_echo "yes" >&6; }
   4880   SET_MAKE=
   4881 else
   4882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4883 $as_echo "no" >&6; }
   4884   SET_MAKE="MAKE=${MAKE-make}"
   4885 fi
   4886 
   4887 
   4888 
   4889 # See if makeinfo has been installed and is modern enough
   4890 # that we can use it.
   4891 
   4892   # Extract the first word of "makeinfo", so it can be a program name with args.
   4893 set dummy makeinfo; ac_word=$2
   4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4895 $as_echo_n "checking for $ac_word... " >&6; }
   4896 if ${ac_cv_prog_MAKEINFO+:} false; then :
   4897   $as_echo_n "(cached) " >&6
   4898 else
   4899   if test -n "$MAKEINFO"; then
   4900   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   4901 else
   4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4903 for as_dir in $PATH
   4904 do
   4905   IFS=$as_save_IFS
   4906   test -z "$as_dir" && as_dir=.
   4907     for ac_exec_ext in '' $ac_executable_extensions; do
   4908   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4909     ac_cv_prog_MAKEINFO="makeinfo"
   4910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4911     break 2
   4912   fi
   4913 done
   4914   done
   4915 IFS=$as_save_IFS
   4916 
   4917 fi
   4918 fi
   4919 MAKEINFO=$ac_cv_prog_MAKEINFO
   4920 if test -n "$MAKEINFO"; then
   4921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   4922 $as_echo "$MAKEINFO" >&6; }
   4923 else
   4924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4925 $as_echo "no" >&6; }
   4926 fi
   4927 
   4928 
   4929   if test -n "$MAKEINFO"; then
   4930     # Found it, now check the version.
   4931     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
   4932 $as_echo_n "checking for modern makeinfo... " >&6; }
   4933 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
   4934   $as_echo_n "(cached) " >&6
   4935 else
   4936   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
   4937                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
   4938 
   4939                     case $ac_prog_version in
   4940                       '')  gcc_cv_prog_makeinfo_modern=no;;
   4941                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
   4942                       *)   gcc_cv_prog_makeinfo_modern=no;;
   4943                     esac
   4944 
   4945 fi
   4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
   4947 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
   4948   else
   4949     gcc_cv_prog_makeinfo_modern=no
   4950   fi
   4951   if test $gcc_cv_prog_makeinfo_modern = no; then
   4952     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
   4953   fi
   4954 
   4955  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
   4956   BUILD_INFO_TRUE=
   4957   BUILD_INFO_FALSE='#'
   4958 else
   4959   BUILD_INFO_TRUE='#'
   4960   BUILD_INFO_FALSE=
   4961 fi
   4962 
   4963 
   4964 
   4965 # Configure libtool
   4966 case `pwd` in
   4967   *\ * | *\	*)
   4968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4969 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4970 esac
   4971 
   4972 
   4973 
   4974 macro_version='2.2.7a'
   4975 macro_revision='1.3134'
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 ltmain="$ac_aux_dir/ltmain.sh"
   4990 
   4991 # Backslashify metacharacters that are still active within
   4992 # double-quoted strings.
   4993 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4994 
   4995 # Same as above, but do not quote variable references.
   4996 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4997 
   4998 # Sed substitution to delay expansion of an escaped shell variable in a
   4999 # double_quote_subst'ed string.
   5000 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5001 
   5002 # Sed substitution to delay expansion of an escaped single quote.
   5003 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5004 
   5005 # Sed substitution to avoid accidental globbing in evaled expressions
   5006 no_glob_subst='s/\*/\\\*/g'
   5007 
   5008 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5009 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5010 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5011 
   5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5013 $as_echo_n "checking how to print strings... " >&6; }
   5014 # Test print first, because it will be a builtin if present.
   5015 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5016    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5017   ECHO='print -r --'
   5018 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5019   ECHO='printf %s\n'
   5020 else
   5021   # Use this function as a fallback that always works.
   5022   func_fallback_echo ()
   5023   {
   5024     eval 'cat <<_LTECHO_EOF
   5025 $1
   5026 _LTECHO_EOF'
   5027   }
   5028   ECHO='func_fallback_echo'
   5029 fi
   5030 
   5031 # func_echo_all arg...
   5032 # Invoke $ECHO with all args, space-separated.
   5033 func_echo_all ()
   5034 {
   5035     $ECHO ""
   5036 }
   5037 
   5038 case "$ECHO" in
   5039   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5040 $as_echo "printf" >&6; } ;;
   5041   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5042 $as_echo "print -r" >&6; } ;;
   5043   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5044 $as_echo "cat" >&6; } ;;
   5045 esac
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5061 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5062 if ${ac_cv_path_SED+:} false; then :
   5063   $as_echo_n "(cached) " >&6
   5064 else
   5065             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5066      for ac_i in 1 2 3 4 5 6 7; do
   5067        ac_script="$ac_script$as_nl$ac_script"
   5068      done
   5069      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5070      { ac_script=; unset ac_script;}
   5071      if test -z "$SED"; then
   5072   ac_path_SED_found=false
   5073   # Loop through the user's path and test for each of PROGNAME-LIST
   5074   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5075 for as_dir in $PATH
   5076 do
   5077   IFS=$as_save_IFS
   5078   test -z "$as_dir" && as_dir=.
   5079     for ac_prog in sed gsed; do
   5080     for ac_exec_ext in '' $ac_executable_extensions; do
   5081       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5082       as_fn_executable_p "$ac_path_SED" || continue
   5083 # Check for GNU ac_path_SED and select it if it is found.
   5084   # Check for GNU $ac_path_SED
   5085 case `"$ac_path_SED" --version 2>&1` in
   5086 *GNU*)
   5087   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5088 *)
   5089   ac_count=0
   5090   $as_echo_n 0123456789 >"conftest.in"
   5091   while :
   5092   do
   5093     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5094     mv "conftest.tmp" "conftest.in"
   5095     cp "conftest.in" "conftest.nl"
   5096     $as_echo '' >> "conftest.nl"
   5097     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5098     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5099     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5100     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5101       # Best one so far, save it but keep looking for a better one
   5102       ac_cv_path_SED="$ac_path_SED"
   5103       ac_path_SED_max=$ac_count
   5104     fi
   5105     # 10*(2^10) chars as input seems more than enough
   5106     test $ac_count -gt 10 && break
   5107   done
   5108   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5109 esac
   5110 
   5111       $ac_path_SED_found && break 3
   5112     done
   5113   done
   5114   done
   5115 IFS=$as_save_IFS
   5116   if test -z "$ac_cv_path_SED"; then
   5117     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5118   fi
   5119 else
   5120   ac_cv_path_SED=$SED
   5121 fi
   5122 
   5123 fi
   5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5125 $as_echo "$ac_cv_path_SED" >&6; }
   5126  SED="$ac_cv_path_SED"
   5127   rm -f conftest.sed
   5128 
   5129 test -z "$SED" && SED=sed
   5130 Xsed="$SED -e 1s/^X//"
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5143 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   5144 if ${ac_cv_path_GREP+:} false; then :
   5145   $as_echo_n "(cached) " >&6
   5146 else
   5147   if test -z "$GREP"; then
   5148   ac_path_GREP_found=false
   5149   # Loop through the user's path and test for each of PROGNAME-LIST
   5150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5152 do
   5153   IFS=$as_save_IFS
   5154   test -z "$as_dir" && as_dir=.
   5155     for ac_prog in grep ggrep; do
   5156     for ac_exec_ext in '' $ac_executable_extensions; do
   5157       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   5158       as_fn_executable_p "$ac_path_GREP" || continue
   5159 # Check for GNU ac_path_GREP and select it if it is found.
   5160   # Check for GNU $ac_path_GREP
   5161 case `"$ac_path_GREP" --version 2>&1` in
   5162 *GNU*)
   5163   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5164 *)
   5165   ac_count=0
   5166   $as_echo_n 0123456789 >"conftest.in"
   5167   while :
   5168   do
   5169     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5170     mv "conftest.tmp" "conftest.in"
   5171     cp "conftest.in" "conftest.nl"
   5172     $as_echo 'GREP' >> "conftest.nl"
   5173     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5174     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5175     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5176     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5177       # Best one so far, save it but keep looking for a better one
   5178       ac_cv_path_GREP="$ac_path_GREP"
   5179       ac_path_GREP_max=$ac_count
   5180     fi
   5181     # 10*(2^10) chars as input seems more than enough
   5182     test $ac_count -gt 10 && break
   5183   done
   5184   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5185 esac
   5186 
   5187       $ac_path_GREP_found && break 3
   5188     done
   5189   done
   5190   done
   5191 IFS=$as_save_IFS
   5192   if test -z "$ac_cv_path_GREP"; then
   5193     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5194   fi
   5195 else
   5196   ac_cv_path_GREP=$GREP
   5197 fi
   5198 
   5199 fi
   5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5201 $as_echo "$ac_cv_path_GREP" >&6; }
   5202  GREP="$ac_cv_path_GREP"
   5203 
   5204 
   5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5206 $as_echo_n "checking for egrep... " >&6; }
   5207 if ${ac_cv_path_EGREP+:} false; then :
   5208   $as_echo_n "(cached) " >&6
   5209 else
   5210   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5211    then ac_cv_path_EGREP="$GREP -E"
   5212    else
   5213      if test -z "$EGREP"; then
   5214   ac_path_EGREP_found=false
   5215   # Loop through the user's path and test for each of PROGNAME-LIST
   5216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5218 do
   5219   IFS=$as_save_IFS
   5220   test -z "$as_dir" && as_dir=.
   5221     for ac_prog in egrep; do
   5222     for ac_exec_ext in '' $ac_executable_extensions; do
   5223       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   5224       as_fn_executable_p "$ac_path_EGREP" || continue
   5225 # Check for GNU ac_path_EGREP and select it if it is found.
   5226   # Check for GNU $ac_path_EGREP
   5227 case `"$ac_path_EGREP" --version 2>&1` in
   5228 *GNU*)
   5229   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5230 *)
   5231   ac_count=0
   5232   $as_echo_n 0123456789 >"conftest.in"
   5233   while :
   5234   do
   5235     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5236     mv "conftest.tmp" "conftest.in"
   5237     cp "conftest.in" "conftest.nl"
   5238     $as_echo 'EGREP' >> "conftest.nl"
   5239     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5240     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5241     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5242     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5243       # Best one so far, save it but keep looking for a better one
   5244       ac_cv_path_EGREP="$ac_path_EGREP"
   5245       ac_path_EGREP_max=$ac_count
   5246     fi
   5247     # 10*(2^10) chars as input seems more than enough
   5248     test $ac_count -gt 10 && break
   5249   done
   5250   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5251 esac
   5252 
   5253       $ac_path_EGREP_found && break 3
   5254     done
   5255   done
   5256   done
   5257 IFS=$as_save_IFS
   5258   if test -z "$ac_cv_path_EGREP"; then
   5259     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5260   fi
   5261 else
   5262   ac_cv_path_EGREP=$EGREP
   5263 fi
   5264 
   5265    fi
   5266 fi
   5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5268 $as_echo "$ac_cv_path_EGREP" >&6; }
   5269  EGREP="$ac_cv_path_EGREP"
   5270 
   5271 
   5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5273 $as_echo_n "checking for fgrep... " >&6; }
   5274 if ${ac_cv_path_FGREP+:} false; then :
   5275   $as_echo_n "(cached) " >&6
   5276 else
   5277   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5278    then ac_cv_path_FGREP="$GREP -F"
   5279    else
   5280      if test -z "$FGREP"; then
   5281   ac_path_FGREP_found=false
   5282   # Loop through the user's path and test for each of PROGNAME-LIST
   5283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5285 do
   5286   IFS=$as_save_IFS
   5287   test -z "$as_dir" && as_dir=.
   5288     for ac_prog in fgrep; do
   5289     for ac_exec_ext in '' $ac_executable_extensions; do
   5290       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5291       as_fn_executable_p "$ac_path_FGREP" || continue
   5292 # Check for GNU ac_path_FGREP and select it if it is found.
   5293   # Check for GNU $ac_path_FGREP
   5294 case `"$ac_path_FGREP" --version 2>&1` in
   5295 *GNU*)
   5296   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5297 *)
   5298   ac_count=0
   5299   $as_echo_n 0123456789 >"conftest.in"
   5300   while :
   5301   do
   5302     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5303     mv "conftest.tmp" "conftest.in"
   5304     cp "conftest.in" "conftest.nl"
   5305     $as_echo 'FGREP' >> "conftest.nl"
   5306     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5307     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5308     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5309     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5310       # Best one so far, save it but keep looking for a better one
   5311       ac_cv_path_FGREP="$ac_path_FGREP"
   5312       ac_path_FGREP_max=$ac_count
   5313     fi
   5314     # 10*(2^10) chars as input seems more than enough
   5315     test $ac_count -gt 10 && break
   5316   done
   5317   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5318 esac
   5319 
   5320       $ac_path_FGREP_found && break 3
   5321     done
   5322   done
   5323   done
   5324 IFS=$as_save_IFS
   5325   if test -z "$ac_cv_path_FGREP"; then
   5326     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5327   fi
   5328 else
   5329   ac_cv_path_FGREP=$FGREP
   5330 fi
   5331 
   5332    fi
   5333 fi
   5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5335 $as_echo "$ac_cv_path_FGREP" >&6; }
   5336  FGREP="$ac_cv_path_FGREP"
   5337 
   5338 
   5339 test -z "$GREP" && GREP=grep
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 # Check whether --with-gnu-ld was given.
   5360 if test "${with_gnu_ld+set}" = set; then :
   5361   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5362 else
   5363   with_gnu_ld=no
   5364 fi
   5365 
   5366 ac_prog=ld
   5367 if test "$GCC" = yes; then
   5368   # Check if gcc -print-prog-name=ld gives a path.
   5369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5370 $as_echo_n "checking for ld used by $CC... " >&6; }
   5371   case $host in
   5372   *-*-mingw*)
   5373     # gcc leaves a trailing carriage return which upsets mingw
   5374     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5375   *)
   5376     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5377   esac
   5378   case $ac_prog in
   5379     # Accept absolute paths.
   5380     [\\/]* | ?:[\\/]*)
   5381       re_direlt='/[^/][^/]*/\.\./'
   5382       # Canonicalize the pathname of ld
   5383       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5384       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5385 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5386       done
   5387       test -z "$LD" && LD="$ac_prog"
   5388       ;;
   5389   "")
   5390     # If it fails, then pretend we aren't using GCC.
   5391     ac_prog=ld
   5392     ;;
   5393   *)
   5394     # If it is relative, then search for the first ld in PATH.
   5395     with_gnu_ld=unknown
   5396     ;;
   5397   esac
   5398 elif test "$with_gnu_ld" = yes; then
   5399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5400 $as_echo_n "checking for GNU ld... " >&6; }
   5401 else
   5402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5403 $as_echo_n "checking for non-GNU ld... " >&6; }
   5404 fi
   5405 if ${lt_cv_path_LD+:} false; then :
   5406   $as_echo_n "(cached) " >&6
   5407 else
   5408   if test -z "$LD"; then
   5409   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5410   for ac_dir in $PATH; do
   5411     IFS="$lt_save_ifs"
   5412     test -z "$ac_dir" && ac_dir=.
   5413     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5414       lt_cv_path_LD="$ac_dir/$ac_prog"
   5415       # Check to see if the program is GNU ld.  I'd rather use --version,
   5416       # but apparently some variants of GNU ld only accept -v.
   5417       # Break only if it was the GNU/non-GNU ld that we prefer.
   5418       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5419       *GNU* | *'with BFD'*)
   5420 	test "$with_gnu_ld" != no && break
   5421 	;;
   5422       *)
   5423 	test "$with_gnu_ld" != yes && break
   5424 	;;
   5425       esac
   5426     fi
   5427   done
   5428   IFS="$lt_save_ifs"
   5429 else
   5430   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5431 fi
   5432 fi
   5433 
   5434 LD="$lt_cv_path_LD"
   5435 if test -n "$LD"; then
   5436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5437 $as_echo "$LD" >&6; }
   5438 else
   5439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5440 $as_echo "no" >&6; }
   5441 fi
   5442 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5444 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5445 if ${lt_cv_prog_gnu_ld+:} false; then :
   5446   $as_echo_n "(cached) " >&6
   5447 else
   5448   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5449 case `$LD -v 2>&1 </dev/null` in
   5450 *GNU* | *'with BFD'*)
   5451   lt_cv_prog_gnu_ld=yes
   5452   ;;
   5453 *)
   5454   lt_cv_prog_gnu_ld=no
   5455   ;;
   5456 esac
   5457 fi
   5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5459 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5460 with_gnu_ld=$lt_cv_prog_gnu_ld
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5471 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5472 if ${lt_cv_path_NM+:} false; then :
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   if test -n "$NM"; then
   5476   # Let the user override the test.
   5477   lt_cv_path_NM="$NM"
   5478 else
   5479   lt_nm_to_check="${ac_tool_prefix}nm"
   5480   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5481     lt_nm_to_check="$lt_nm_to_check nm"
   5482   fi
   5483   for lt_tmp_nm in $lt_nm_to_check; do
   5484     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5485     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5486       IFS="$lt_save_ifs"
   5487       test -z "$ac_dir" && ac_dir=.
   5488       tmp_nm="$ac_dir/$lt_tmp_nm"
   5489       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5490 	# Check to see if the nm accepts a BSD-compat flag.
   5491 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5492 	#   nm: unknown option "B" ignored
   5493 	# Tru64's nm complains that /dev/null is an invalid object file
   5494 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5495 	*/dev/null* | *'Invalid file or object type'*)
   5496 	  lt_cv_path_NM="$tmp_nm -B"
   5497 	  break
   5498 	  ;;
   5499 	*)
   5500 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5501 	  */dev/null*)
   5502 	    lt_cv_path_NM="$tmp_nm -p"
   5503 	    break
   5504 	    ;;
   5505 	  *)
   5506 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5507 	    continue # so that we can try to find one that supports BSD flags
   5508 	    ;;
   5509 	  esac
   5510 	  ;;
   5511 	esac
   5512       fi
   5513     done
   5514     IFS="$lt_save_ifs"
   5515   done
   5516   : ${lt_cv_path_NM=no}
   5517 fi
   5518 fi
   5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5520 $as_echo "$lt_cv_path_NM" >&6; }
   5521 if test "$lt_cv_path_NM" != "no"; then
   5522   NM="$lt_cv_path_NM"
   5523 else
   5524   # Didn't find any BSD compatible name lister, look for dumpbin.
   5525   if test -n "$DUMPBIN"; then :
   5526     # Let the user override the test.
   5527   else
   5528     if test -n "$ac_tool_prefix"; then
   5529   for ac_prog in dumpbin "link -dump"
   5530   do
   5531     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5532 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5534 $as_echo_n "checking for $ac_word... " >&6; }
   5535 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   if test -n "$DUMPBIN"; then
   5539   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5540 else
   5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5542 for as_dir in $PATH
   5543 do
   5544   IFS=$as_save_IFS
   5545   test -z "$as_dir" && as_dir=.
   5546     for ac_exec_ext in '' $ac_executable_extensions; do
   5547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5548     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5550     break 2
   5551   fi
   5552 done
   5553   done
   5554 IFS=$as_save_IFS
   5555 
   5556 fi
   5557 fi
   5558 DUMPBIN=$ac_cv_prog_DUMPBIN
   5559 if test -n "$DUMPBIN"; then
   5560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5561 $as_echo "$DUMPBIN" >&6; }
   5562 else
   5563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5564 $as_echo "no" >&6; }
   5565 fi
   5566 
   5567 
   5568     test -n "$DUMPBIN" && break
   5569   done
   5570 fi
   5571 if test -z "$DUMPBIN"; then
   5572   ac_ct_DUMPBIN=$DUMPBIN
   5573   for ac_prog in dumpbin "link -dump"
   5574 do
   5575   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5576 set dummy $ac_prog; ac_word=$2
   5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5578 $as_echo_n "checking for $ac_word... " >&6; }
   5579 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5580   $as_echo_n "(cached) " >&6
   5581 else
   5582   if test -n "$ac_ct_DUMPBIN"; then
   5583   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5584 else
   5585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5586 for as_dir in $PATH
   5587 do
   5588   IFS=$as_save_IFS
   5589   test -z "$as_dir" && as_dir=.
   5590     for ac_exec_ext in '' $ac_executable_extensions; do
   5591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5592     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5594     break 2
   5595   fi
   5596 done
   5597   done
   5598 IFS=$as_save_IFS
   5599 
   5600 fi
   5601 fi
   5602 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5603 if test -n "$ac_ct_DUMPBIN"; then
   5604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5605 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5606 else
   5607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5608 $as_echo "no" >&6; }
   5609 fi
   5610 
   5611 
   5612   test -n "$ac_ct_DUMPBIN" && break
   5613 done
   5614 
   5615   if test "x$ac_ct_DUMPBIN" = x; then
   5616     DUMPBIN=":"
   5617   else
   5618     case $cross_compiling:$ac_tool_warned in
   5619 yes:)
   5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5622 ac_tool_warned=yes ;;
   5623 esac
   5624     DUMPBIN=$ac_ct_DUMPBIN
   5625   fi
   5626 fi
   5627 
   5628     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5629     *COFF*)
   5630       DUMPBIN="$DUMPBIN -symbols"
   5631       ;;
   5632     *)
   5633       DUMPBIN=:
   5634       ;;
   5635     esac
   5636   fi
   5637 
   5638   if test "$DUMPBIN" != ":"; then
   5639     NM="$DUMPBIN"
   5640   fi
   5641 fi
   5642 test -z "$NM" && NM=nm
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5650 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5651 if ${lt_cv_nm_interface+:} false; then :
   5652   $as_echo_n "(cached) " >&6
   5653 else
   5654   lt_cv_nm_interface="BSD nm"
   5655   echo "int some_variable = 0;" > conftest.$ac_ext
   5656   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5657   (eval "$ac_compile" 2>conftest.err)
   5658   cat conftest.err >&5
   5659   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5660   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5661   cat conftest.err >&5
   5662   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5663   cat conftest.out >&5
   5664   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5665     lt_cv_nm_interface="MS dumpbin"
   5666   fi
   5667   rm -f conftest*
   5668 fi
   5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5670 $as_echo "$lt_cv_nm_interface" >&6; }
   5671 
   5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5673 $as_echo_n "checking whether ln -s works... " >&6; }
   5674 LN_S=$as_ln_s
   5675 if test "$LN_S" = "ln -s"; then
   5676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5677 $as_echo "yes" >&6; }
   5678 else
   5679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5680 $as_echo "no, using $LN_S" >&6; }
   5681 fi
   5682 
   5683 # find the maximum length of command line arguments
   5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5685 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5686 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5687   $as_echo_n "(cached) " >&6
   5688 else
   5689     i=0
   5690   teststring="ABCD"
   5691 
   5692   case $build_os in
   5693   msdosdjgpp*)
   5694     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5695     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5696     # during glob expansion).  Even if it were fixed, the result of this
   5697     # check would be larger than it should be.
   5698     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5699     ;;
   5700 
   5701   gnu*)
   5702     # Under GNU Hurd, this test is not required because there is
   5703     # no limit to the length of command line arguments.
   5704     # Libtool will interpret -1 as no limit whatsoever
   5705     lt_cv_sys_max_cmd_len=-1;
   5706     ;;
   5707 
   5708   cygwin* | mingw* | cegcc*)
   5709     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5710     # about 5 minutes as the teststring grows exponentially.
   5711     # Worse, since 9x/ME are not pre-emptively multitasking,
   5712     # you end up with a "frozen" computer, even though with patience
   5713     # the test eventually succeeds (with a max line length of 256k).
   5714     # Instead, let's just punt: use the minimum linelength reported by
   5715     # all of the supported platforms: 8192 (on NT/2K/XP).
   5716     lt_cv_sys_max_cmd_len=8192;
   5717     ;;
   5718 
   5719   mint*)
   5720     # On MiNT this can take a long time and run out of memory.
   5721     lt_cv_sys_max_cmd_len=8192;
   5722     ;;
   5723 
   5724   amigaos*)
   5725     # On AmigaOS with pdksh, this test takes hours, literally.
   5726     # So we just punt and use a minimum line length of 8192.
   5727     lt_cv_sys_max_cmd_len=8192;
   5728     ;;
   5729 
   5730   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5731     # This has been around since 386BSD, at least.  Likely further.
   5732     if test -x /sbin/sysctl; then
   5733       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5734     elif test -x /usr/sbin/sysctl; then
   5735       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5736     else
   5737       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5738     fi
   5739     # And add a safety zone
   5740     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5741     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5742     ;;
   5743 
   5744   interix*)
   5745     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5746     lt_cv_sys_max_cmd_len=196608
   5747     ;;
   5748 
   5749   osf*)
   5750     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5751     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5752     # nice to cause kernel panics so lets avoid the loop below.
   5753     # First set a reasonable default.
   5754     lt_cv_sys_max_cmd_len=16384
   5755     #
   5756     if test -x /sbin/sysconfig; then
   5757       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5758         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5759       esac
   5760     fi
   5761     ;;
   5762   sco3.2v5*)
   5763     lt_cv_sys_max_cmd_len=102400
   5764     ;;
   5765   sysv5* | sco5v6* | sysv4.2uw2*)
   5766     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5767     if test -n "$kargmax"; then
   5768       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5769     else
   5770       lt_cv_sys_max_cmd_len=32768
   5771     fi
   5772     ;;
   5773   *)
   5774     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5775     if test -n "$lt_cv_sys_max_cmd_len"; then
   5776       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5777       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5778     else
   5779       # Make teststring a little bigger before we do anything with it.
   5780       # a 1K string should be a reasonable start.
   5781       for i in 1 2 3 4 5 6 7 8 ; do
   5782         teststring=$teststring$teststring
   5783       done
   5784       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5785       # If test is not a shell built-in, we'll probably end up computing a
   5786       # maximum length that is only half of the actual maximum length, but
   5787       # we can't tell.
   5788       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5789 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5790 	      test $i != 17 # 1/2 MB should be enough
   5791       do
   5792         i=`expr $i + 1`
   5793         teststring=$teststring$teststring
   5794       done
   5795       # Only check the string length outside the loop.
   5796       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5797       teststring=
   5798       # Add a significant safety factor because C++ compilers can tack on
   5799       # massive amounts of additional arguments before passing them to the
   5800       # linker.  It appears as though 1/2 is a usable value.
   5801       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5802     fi
   5803     ;;
   5804   esac
   5805 
   5806 fi
   5807 
   5808 if test -n $lt_cv_sys_max_cmd_len ; then
   5809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5810 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5811 else
   5812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5813 $as_echo "none" >&6; }
   5814 fi
   5815 max_cmd_len=$lt_cv_sys_max_cmd_len
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 : ${CP="cp -f"}
   5823 : ${MV="mv -f"}
   5824 : ${RM="rm -f"}
   5825 
   5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5827 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5828 # Try some XSI features
   5829 xsi_shell=no
   5830 ( _lt_dummy="a/b/c"
   5831   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5832       = c,a/b,, \
   5833     && eval 'test $(( 1 + 1 )) -eq 2 \
   5834     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5835   && xsi_shell=yes
   5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5837 $as_echo "$xsi_shell" >&6; }
   5838 
   5839 
   5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5841 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5842 lt_shell_append=no
   5843 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5844     >/dev/null 2>&1 \
   5845   && lt_shell_append=yes
   5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5847 $as_echo "$lt_shell_append" >&6; }
   5848 
   5849 
   5850 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5851   lt_unset=unset
   5852 else
   5853   lt_unset=false
   5854 fi
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 # test EBCDIC or ASCII
   5861 case `echo X|tr X '\101'` in
   5862  A) # ASCII based system
   5863     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5864   lt_SP2NL='tr \040 \012'
   5865   lt_NL2SP='tr \015\012 \040\040'
   5866   ;;
   5867  *) # EBCDIC based system
   5868   lt_SP2NL='tr \100 \n'
   5869   lt_NL2SP='tr \r\n \100\100'
   5870   ;;
   5871 esac
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5882 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5883 if ${lt_cv_ld_reload_flag+:} false; then :
   5884   $as_echo_n "(cached) " >&6
   5885 else
   5886   lt_cv_ld_reload_flag='-r'
   5887 fi
   5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5889 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5890 reload_flag=$lt_cv_ld_reload_flag
   5891 case $reload_flag in
   5892 "" | " "*) ;;
   5893 *) reload_flag=" $reload_flag" ;;
   5894 esac
   5895 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5896 case $host_os in
   5897   darwin*)
   5898     if test "$GCC" = yes; then
   5899       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5900     else
   5901       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5902     fi
   5903     ;;
   5904 esac
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 if test -n "$ac_tool_prefix"; then
   5915   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5916 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5918 $as_echo_n "checking for $ac_word... " >&6; }
   5919 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5920   $as_echo_n "(cached) " >&6
   5921 else
   5922   if test -n "$OBJDUMP"; then
   5923   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5924 else
   5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5926 for as_dir in $PATH
   5927 do
   5928   IFS=$as_save_IFS
   5929   test -z "$as_dir" && as_dir=.
   5930     for ac_exec_ext in '' $ac_executable_extensions; do
   5931   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5932     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5934     break 2
   5935   fi
   5936 done
   5937   done
   5938 IFS=$as_save_IFS
   5939 
   5940 fi
   5941 fi
   5942 OBJDUMP=$ac_cv_prog_OBJDUMP
   5943 if test -n "$OBJDUMP"; then
   5944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5945 $as_echo "$OBJDUMP" >&6; }
   5946 else
   5947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5948 $as_echo "no" >&6; }
   5949 fi
   5950 
   5951 
   5952 fi
   5953 if test -z "$ac_cv_prog_OBJDUMP"; then
   5954   ac_ct_OBJDUMP=$OBJDUMP
   5955   # Extract the first word of "objdump", so it can be a program name with args.
   5956 set dummy objdump; ac_word=$2
   5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5958 $as_echo_n "checking for $ac_word... " >&6; }
   5959 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5960   $as_echo_n "(cached) " >&6
   5961 else
   5962   if test -n "$ac_ct_OBJDUMP"; then
   5963   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5964 else
   5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5966 for as_dir in $PATH
   5967 do
   5968   IFS=$as_save_IFS
   5969   test -z "$as_dir" && as_dir=.
   5970     for ac_exec_ext in '' $ac_executable_extensions; do
   5971   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5972     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5974     break 2
   5975   fi
   5976 done
   5977   done
   5978 IFS=$as_save_IFS
   5979 
   5980 fi
   5981 fi
   5982 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5983 if test -n "$ac_ct_OBJDUMP"; then
   5984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5985 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5986 else
   5987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5988 $as_echo "no" >&6; }
   5989 fi
   5990 
   5991   if test "x$ac_ct_OBJDUMP" = x; then
   5992     OBJDUMP="false"
   5993   else
   5994     case $cross_compiling:$ac_tool_warned in
   5995 yes:)
   5996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5998 ac_tool_warned=yes ;;
   5999 esac
   6000     OBJDUMP=$ac_ct_OBJDUMP
   6001   fi
   6002 else
   6003   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6004 fi
   6005 
   6006 test -z "$OBJDUMP" && OBJDUMP=objdump
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6017 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6018 if ${lt_cv_deplibs_check_method+:} false; then :
   6019   $as_echo_n "(cached) " >&6
   6020 else
   6021   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6022 lt_cv_file_magic_test_file=
   6023 lt_cv_deplibs_check_method='unknown'
   6024 # Need to set the preceding variable on all platforms that support
   6025 # interlibrary dependencies.
   6026 # 'none' -- dependencies not supported.
   6027 # `unknown' -- same as none, but documents that we really don't know.
   6028 # 'pass_all' -- all dependencies passed with no checks.
   6029 # 'test_compile' -- check by making test program.
   6030 # 'file_magic [[regex]]' -- check by looking for files in library path
   6031 # which responds to the $file_magic_cmd with a given extended regex.
   6032 # If you have `file' or equivalent on your system and you're not sure
   6033 # whether `pass_all' will *always* work, you probably want this one.
   6034 
   6035 case $host_os in
   6036 aix[4-9]*)
   6037   lt_cv_deplibs_check_method=pass_all
   6038   ;;
   6039 
   6040 beos*)
   6041   lt_cv_deplibs_check_method=pass_all
   6042   ;;
   6043 
   6044 bsdi[45]*)
   6045   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6046   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6047   lt_cv_file_magic_test_file=/shlib/libc.so
   6048   ;;
   6049 
   6050 cygwin*)
   6051   # func_win32_libid is a shell function defined in ltmain.sh
   6052   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6053   lt_cv_file_magic_cmd='func_win32_libid'
   6054   ;;
   6055 
   6056 mingw* | pw32*)
   6057   # Base MSYS/MinGW do not provide the 'file' command needed by
   6058   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6059   # unless we find 'file', for example because we are cross-compiling.
   6060   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6061   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6062     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6063     lt_cv_file_magic_cmd='func_win32_libid'
   6064   else
   6065     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6066     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6067   fi
   6068   ;;
   6069 
   6070 cegcc*)
   6071   # use the weaker test based on 'objdump'. See mingw*.
   6072   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6073   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6074   ;;
   6075 
   6076 darwin* | rhapsody*)
   6077   lt_cv_deplibs_check_method=pass_all
   6078   ;;
   6079 
   6080 freebsd* | dragonfly*)
   6081   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6082     case $host_cpu in
   6083     i*86 )
   6084       # Not sure whether the presence of OpenBSD here was a mistake.
   6085       # Let's accept both of them until this is cleared up.
   6086       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6087       lt_cv_file_magic_cmd=/usr/bin/file
   6088       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6089       ;;
   6090     esac
   6091   else
   6092     lt_cv_deplibs_check_method=pass_all
   6093   fi
   6094   ;;
   6095 
   6096 gnu*)
   6097   lt_cv_deplibs_check_method=pass_all
   6098   ;;
   6099 
   6100 haiku*)
   6101   lt_cv_deplibs_check_method=pass_all
   6102   ;;
   6103 
   6104 hpux10.20* | hpux11*)
   6105   lt_cv_file_magic_cmd=/usr/bin/file
   6106   case $host_cpu in
   6107   ia64*)
   6108     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6109     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6110     ;;
   6111   hppa*64*)
   6112     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]'
   6113     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6114     ;;
   6115   *)
   6116     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6117     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6118     ;;
   6119   esac
   6120   ;;
   6121 
   6122 interix[3-9]*)
   6123   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6124   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6125   ;;
   6126 
   6127 irix5* | irix6* | nonstopux*)
   6128   case $LD in
   6129   *-32|*"-32 ") libmagic=32-bit;;
   6130   *-n32|*"-n32 ") libmagic=N32;;
   6131   *-64|*"-64 ") libmagic=64-bit;;
   6132   *) libmagic=never-match;;
   6133   esac
   6134   lt_cv_deplibs_check_method=pass_all
   6135   ;;
   6136 
   6137 # This must be Linux ELF.
   6138 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   6139   lt_cv_deplibs_check_method=pass_all
   6140   ;;
   6141 
   6142 netbsd*)
   6143   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6144     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6145   else
   6146     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6147   fi
   6148   ;;
   6149 
   6150 newos6*)
   6151   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6152   lt_cv_file_magic_cmd=/usr/bin/file
   6153   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6154   ;;
   6155 
   6156 *nto* | *qnx*)
   6157   lt_cv_deplibs_check_method=pass_all
   6158   ;;
   6159 
   6160 openbsd*)
   6161   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6162     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6163   else
   6164     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6165   fi
   6166   ;;
   6167 
   6168 osf3* | osf4* | osf5*)
   6169   lt_cv_deplibs_check_method=pass_all
   6170   ;;
   6171 
   6172 rdos*)
   6173   lt_cv_deplibs_check_method=pass_all
   6174   ;;
   6175 
   6176 solaris*)
   6177   lt_cv_deplibs_check_method=pass_all
   6178   ;;
   6179 
   6180 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6181   lt_cv_deplibs_check_method=pass_all
   6182   ;;
   6183 
   6184 sysv4 | sysv4.3*)
   6185   case $host_vendor in
   6186   motorola)
   6187     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]'
   6188     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6189     ;;
   6190   ncr)
   6191     lt_cv_deplibs_check_method=pass_all
   6192     ;;
   6193   sequent)
   6194     lt_cv_file_magic_cmd='/bin/file'
   6195     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6196     ;;
   6197   sni)
   6198     lt_cv_file_magic_cmd='/bin/file'
   6199     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6200     lt_cv_file_magic_test_file=/lib/libc.so
   6201     ;;
   6202   siemens)
   6203     lt_cv_deplibs_check_method=pass_all
   6204     ;;
   6205   pc)
   6206     lt_cv_deplibs_check_method=pass_all
   6207     ;;
   6208   esac
   6209   ;;
   6210 
   6211 tpf*)
   6212   lt_cv_deplibs_check_method=pass_all
   6213   ;;
   6214 esac
   6215 
   6216 fi
   6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6218 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6219 file_magic_cmd=$lt_cv_file_magic_cmd
   6220 deplibs_check_method=$lt_cv_deplibs_check_method
   6221 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 if test -n "$ac_tool_prefix"; then
   6235   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6236 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6238 $as_echo_n "checking for $ac_word... " >&6; }
   6239 if ${ac_cv_prog_AR+:} false; then :
   6240   $as_echo_n "(cached) " >&6
   6241 else
   6242   if test -n "$AR"; then
   6243   ac_cv_prog_AR="$AR" # Let the user override the test.
   6244 else
   6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6246 for as_dir in $PATH
   6247 do
   6248   IFS=$as_save_IFS
   6249   test -z "$as_dir" && as_dir=.
   6250     for ac_exec_ext in '' $ac_executable_extensions; do
   6251   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6252     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6254     break 2
   6255   fi
   6256 done
   6257   done
   6258 IFS=$as_save_IFS
   6259 
   6260 fi
   6261 fi
   6262 AR=$ac_cv_prog_AR
   6263 if test -n "$AR"; then
   6264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6265 $as_echo "$AR" >&6; }
   6266 else
   6267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6268 $as_echo "no" >&6; }
   6269 fi
   6270 
   6271 
   6272 fi
   6273 if test -z "$ac_cv_prog_AR"; then
   6274   ac_ct_AR=$AR
   6275   # Extract the first word of "ar", so it can be a program name with args.
   6276 set dummy ar; ac_word=$2
   6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6278 $as_echo_n "checking for $ac_word... " >&6; }
   6279 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6280   $as_echo_n "(cached) " >&6
   6281 else
   6282   if test -n "$ac_ct_AR"; then
   6283   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6284 else
   6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6286 for as_dir in $PATH
   6287 do
   6288   IFS=$as_save_IFS
   6289   test -z "$as_dir" && as_dir=.
   6290     for ac_exec_ext in '' $ac_executable_extensions; do
   6291   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6292     ac_cv_prog_ac_ct_AR="ar"
   6293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6294     break 2
   6295   fi
   6296 done
   6297   done
   6298 IFS=$as_save_IFS
   6299 
   6300 fi
   6301 fi
   6302 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6303 if test -n "$ac_ct_AR"; then
   6304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6305 $as_echo "$ac_ct_AR" >&6; }
   6306 else
   6307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6308 $as_echo "no" >&6; }
   6309 fi
   6310 
   6311   if test "x$ac_ct_AR" = x; then
   6312     AR="false"
   6313   else
   6314     case $cross_compiling:$ac_tool_warned in
   6315 yes:)
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6318 ac_tool_warned=yes ;;
   6319 esac
   6320     AR=$ac_ct_AR
   6321   fi
   6322 else
   6323   AR="$ac_cv_prog_AR"
   6324 fi
   6325 
   6326 test -z "$AR" && AR=ar
   6327 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 if test -n "$ac_tool_prefix"; then
   6340   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6341 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6343 $as_echo_n "checking for $ac_word... " >&6; }
   6344 if ${ac_cv_prog_STRIP+:} false; then :
   6345   $as_echo_n "(cached) " >&6
   6346 else
   6347   if test -n "$STRIP"; then
   6348   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6349 else
   6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6351 for as_dir in $PATH
   6352 do
   6353   IFS=$as_save_IFS
   6354   test -z "$as_dir" && as_dir=.
   6355     for ac_exec_ext in '' $ac_executable_extensions; do
   6356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6357     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6359     break 2
   6360   fi
   6361 done
   6362   done
   6363 IFS=$as_save_IFS
   6364 
   6365 fi
   6366 fi
   6367 STRIP=$ac_cv_prog_STRIP
   6368 if test -n "$STRIP"; then
   6369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6370 $as_echo "$STRIP" >&6; }
   6371 else
   6372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6373 $as_echo "no" >&6; }
   6374 fi
   6375 
   6376 
   6377 fi
   6378 if test -z "$ac_cv_prog_STRIP"; then
   6379   ac_ct_STRIP=$STRIP
   6380   # Extract the first word of "strip", so it can be a program name with args.
   6381 set dummy strip; ac_word=$2
   6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6383 $as_echo_n "checking for $ac_word... " >&6; }
   6384 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6385   $as_echo_n "(cached) " >&6
   6386 else
   6387   if test -n "$ac_ct_STRIP"; then
   6388   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6389 else
   6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6391 for as_dir in $PATH
   6392 do
   6393   IFS=$as_save_IFS
   6394   test -z "$as_dir" && as_dir=.
   6395     for ac_exec_ext in '' $ac_executable_extensions; do
   6396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6397     ac_cv_prog_ac_ct_STRIP="strip"
   6398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6399     break 2
   6400   fi
   6401 done
   6402   done
   6403 IFS=$as_save_IFS
   6404 
   6405 fi
   6406 fi
   6407 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6408 if test -n "$ac_ct_STRIP"; then
   6409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6410 $as_echo "$ac_ct_STRIP" >&6; }
   6411 else
   6412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6413 $as_echo "no" >&6; }
   6414 fi
   6415 
   6416   if test "x$ac_ct_STRIP" = x; then
   6417     STRIP=":"
   6418   else
   6419     case $cross_compiling:$ac_tool_warned in
   6420 yes:)
   6421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6423 ac_tool_warned=yes ;;
   6424 esac
   6425     STRIP=$ac_ct_STRIP
   6426   fi
   6427 else
   6428   STRIP="$ac_cv_prog_STRIP"
   6429 fi
   6430 
   6431 test -z "$STRIP" && STRIP=:
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 if test -n "$ac_tool_prefix"; then
   6439   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6440 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6442 $as_echo_n "checking for $ac_word... " >&6; }
   6443 if ${ac_cv_prog_RANLIB+:} false; then :
   6444   $as_echo_n "(cached) " >&6
   6445 else
   6446   if test -n "$RANLIB"; then
   6447   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6448 else
   6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6450 for as_dir in $PATH
   6451 do
   6452   IFS=$as_save_IFS
   6453   test -z "$as_dir" && as_dir=.
   6454     for ac_exec_ext in '' $ac_executable_extensions; do
   6455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6456     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6458     break 2
   6459   fi
   6460 done
   6461   done
   6462 IFS=$as_save_IFS
   6463 
   6464 fi
   6465 fi
   6466 RANLIB=$ac_cv_prog_RANLIB
   6467 if test -n "$RANLIB"; then
   6468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6469 $as_echo "$RANLIB" >&6; }
   6470 else
   6471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6472 $as_echo "no" >&6; }
   6473 fi
   6474 
   6475 
   6476 fi
   6477 if test -z "$ac_cv_prog_RANLIB"; then
   6478   ac_ct_RANLIB=$RANLIB
   6479   # Extract the first word of "ranlib", so it can be a program name with args.
   6480 set dummy ranlib; ac_word=$2
   6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6482 $as_echo_n "checking for $ac_word... " >&6; }
   6483 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6484   $as_echo_n "(cached) " >&6
   6485 else
   6486   if test -n "$ac_ct_RANLIB"; then
   6487   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6488 else
   6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6490 for as_dir in $PATH
   6491 do
   6492   IFS=$as_save_IFS
   6493   test -z "$as_dir" && as_dir=.
   6494     for ac_exec_ext in '' $ac_executable_extensions; do
   6495   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6496     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6498     break 2
   6499   fi
   6500 done
   6501   done
   6502 IFS=$as_save_IFS
   6503 
   6504 fi
   6505 fi
   6506 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6507 if test -n "$ac_ct_RANLIB"; then
   6508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6509 $as_echo "$ac_ct_RANLIB" >&6; }
   6510 else
   6511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6512 $as_echo "no" >&6; }
   6513 fi
   6514 
   6515   if test "x$ac_ct_RANLIB" = x; then
   6516     RANLIB=":"
   6517   else
   6518     case $cross_compiling:$ac_tool_warned in
   6519 yes:)
   6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6522 ac_tool_warned=yes ;;
   6523 esac
   6524     RANLIB=$ac_ct_RANLIB
   6525   fi
   6526 else
   6527   RANLIB="$ac_cv_prog_RANLIB"
   6528 fi
   6529 
   6530 test -z "$RANLIB" && RANLIB=:
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 # Determine commands to create old-style static archives.
   6538 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6539 old_postinstall_cmds='chmod 644 $oldlib'
   6540 old_postuninstall_cmds=
   6541 
   6542 if test -n "$RANLIB"; then
   6543   case $host_os in
   6544   openbsd*)
   6545     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6546     ;;
   6547   *)
   6548     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6549     ;;
   6550   esac
   6551   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6552 fi
   6553 
   6554 case $host_os in
   6555   darwin*)
   6556     lock_old_archive_extraction=yes ;;
   6557   *)
   6558     lock_old_archive_extraction=no ;;
   6559 esac
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 # If no C compiler was specified, use CC.
   6600 LTCC=${LTCC-"$CC"}
   6601 
   6602 # If no C compiler flags were specified, use CFLAGS.
   6603 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6604 
   6605 # Allow CC to be a program name with arguments.
   6606 compiler=$CC
   6607 
   6608 
   6609 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6611 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6612 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6613   $as_echo_n "(cached) " >&6
   6614 else
   6615 
   6616 # These are sane defaults that work on at least a few old systems.
   6617 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6618 
   6619 # Character class describing NM global symbol codes.
   6620 symcode='[BCDEGRST]'
   6621 
   6622 # Regexp to match symbols that can be accessed directly from C.
   6623 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6624 
   6625 # Define system-specific variables.
   6626 case $host_os in
   6627 aix*)
   6628   symcode='[BCDT]'
   6629   ;;
   6630 cygwin* | mingw* | pw32* | cegcc*)
   6631   symcode='[ABCDGISTW]'
   6632   ;;
   6633 hpux*)
   6634   if test "$host_cpu" = ia64; then
   6635     symcode='[ABCDEGRST]'
   6636   fi
   6637   ;;
   6638 irix* | nonstopux*)
   6639   symcode='[BCDEGRST]'
   6640   ;;
   6641 osf*)
   6642   symcode='[BCDEGQRST]'
   6643   ;;
   6644 solaris*)
   6645   symcode='[BDRT]'
   6646   ;;
   6647 sco3.2v5*)
   6648   symcode='[DT]'
   6649   ;;
   6650 sysv4.2uw2*)
   6651   symcode='[DT]'
   6652   ;;
   6653 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6654   symcode='[ABDT]'
   6655   ;;
   6656 sysv4)
   6657   symcode='[DFNSTU]'
   6658   ;;
   6659 esac
   6660 
   6661 # If we're using GNU nm, then use its standard symbol codes.
   6662 case `$NM -V 2>&1` in
   6663 *GNU* | *'with BFD'*)
   6664   symcode='[ABCDGIRSTW]' ;;
   6665 esac
   6666 
   6667 # Transform an extracted symbol line into a proper C declaration.
   6668 # Some systems (esp. on ia64) link data and code symbols differently,
   6669 # so use this general approach.
   6670 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6671 
   6672 # Transform an extracted symbol line into symbol name and symbol address
   6673 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6674 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'"
   6675 
   6676 # Handle CRLF in mingw tool chain
   6677 opt_cr=
   6678 case $build_os in
   6679 mingw*)
   6680   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6681   ;;
   6682 esac
   6683 
   6684 # Try without a prefix underscore, then with it.
   6685 for ac_symprfx in "" "_"; do
   6686 
   6687   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6688   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6689 
   6690   # Write the raw and C identifiers.
   6691   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6692     # Fake it for dumpbin and say T for any non-static function
   6693     # and D for any global variable.
   6694     # Also find C++ and __fastcall symbols from MSVC++,
   6695     # which start with @ or ?.
   6696     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6697 "     {last_section=section; section=\$ 3};"\
   6698 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6699 "     \$ 0!~/External *\|/{next};"\
   6700 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6701 "     {if(hide[section]) next};"\
   6702 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6703 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6704 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6705 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6706 "     ' prfx=^$ac_symprfx"
   6707   else
   6708     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6709   fi
   6710 
   6711   # Check to see that the pipe works correctly.
   6712   pipe_works=no
   6713 
   6714   rm -f conftest*
   6715   cat > conftest.$ac_ext <<_LT_EOF
   6716 #ifdef __cplusplus
   6717 extern "C" {
   6718 #endif
   6719 char nm_test_var;
   6720 void nm_test_func(void);
   6721 void nm_test_func(void){}
   6722 #ifdef __cplusplus
   6723 }
   6724 #endif
   6725 int main(){nm_test_var='a';nm_test_func();return(0);}
   6726 _LT_EOF
   6727 
   6728   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6729   (eval $ac_compile) 2>&5
   6730   ac_status=$?
   6731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6732   test $ac_status = 0; }; then
   6733     # Now try to grab the symbols.
   6734     nlist=conftest.nm
   6735     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6736   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6737   ac_status=$?
   6738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6739   test $ac_status = 0; } && test -s "$nlist"; then
   6740       # Try sorting and uniquifying the output.
   6741       if sort "$nlist" | uniq > "$nlist"T; then
   6742 	mv -f "$nlist"T "$nlist"
   6743       else
   6744 	rm -f "$nlist"T
   6745       fi
   6746 
   6747       # Make sure that we snagged all the symbols we need.
   6748       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6749 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6750 	  cat <<_LT_EOF > conftest.$ac_ext
   6751 #ifdef __cplusplus
   6752 extern "C" {
   6753 #endif
   6754 
   6755 _LT_EOF
   6756 	  # Now generate the symbol file.
   6757 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6758 
   6759 	  cat <<_LT_EOF >> conftest.$ac_ext
   6760 
   6761 /* The mapping between symbol names and symbols.  */
   6762 const struct {
   6763   const char *name;
   6764   void       *address;
   6765 }
   6766 lt__PROGRAM__LTX_preloaded_symbols[] =
   6767 {
   6768   { "@PROGRAM@", (void *) 0 },
   6769 _LT_EOF
   6770 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6771 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6772   {0, (void *) 0}
   6773 };
   6774 
   6775 /* This works around a problem in FreeBSD linker */
   6776 #ifdef FREEBSD_WORKAROUND
   6777 static const void *lt_preloaded_setup() {
   6778   return lt__PROGRAM__LTX_preloaded_symbols;
   6779 }
   6780 #endif
   6781 
   6782 #ifdef __cplusplus
   6783 }
   6784 #endif
   6785 _LT_EOF
   6786 	  # Now try linking the two files.
   6787 	  mv conftest.$ac_objext conftstm.$ac_objext
   6788 	  lt_save_LIBS="$LIBS"
   6789 	  lt_save_CFLAGS="$CFLAGS"
   6790 	  LIBS="conftstm.$ac_objext"
   6791 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6792 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6793   (eval $ac_link) 2>&5
   6794   ac_status=$?
   6795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6796   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6797 	    pipe_works=yes
   6798 	  fi
   6799 	  LIBS="$lt_save_LIBS"
   6800 	  CFLAGS="$lt_save_CFLAGS"
   6801 	else
   6802 	  echo "cannot find nm_test_func in $nlist" >&5
   6803 	fi
   6804       else
   6805 	echo "cannot find nm_test_var in $nlist" >&5
   6806       fi
   6807     else
   6808       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6809     fi
   6810   else
   6811     echo "$progname: failed program was:" >&5
   6812     cat conftest.$ac_ext >&5
   6813   fi
   6814   rm -rf conftest* conftst*
   6815 
   6816   # Do not use the global_symbol_pipe unless it works.
   6817   if test "$pipe_works" = yes; then
   6818     break
   6819   else
   6820     lt_cv_sys_global_symbol_pipe=
   6821   fi
   6822 done
   6823 
   6824 fi
   6825 
   6826 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6827   lt_cv_sys_global_symbol_to_cdecl=
   6828 fi
   6829 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6831 $as_echo "failed" >&6; }
   6832 else
   6833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6834 $as_echo "ok" >&6; }
   6835 fi
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 # Check whether --enable-libtool-lock was given.
   6860 if test "${enable_libtool_lock+set}" = set; then :
   6861   enableval=$enable_libtool_lock;
   6862 fi
   6863 
   6864 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6865 
   6866 # Some flags need to be propagated to the compiler or linker for good
   6867 # libtool support.
   6868 case $host in
   6869 ia64-*-hpux*)
   6870   # Find out which ABI we are using.
   6871   echo 'int i;' > conftest.$ac_ext
   6872   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6873   (eval $ac_compile) 2>&5
   6874   ac_status=$?
   6875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6876   test $ac_status = 0; }; then
   6877     case `/usr/bin/file conftest.$ac_objext` in
   6878       *ELF-32*)
   6879 	HPUX_IA64_MODE="32"
   6880 	;;
   6881       *ELF-64*)
   6882 	HPUX_IA64_MODE="64"
   6883 	;;
   6884     esac
   6885   fi
   6886   rm -rf conftest*
   6887   ;;
   6888 *-*-irix6*)
   6889   # Find out which ABI we are using.
   6890   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6891   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6892   (eval $ac_compile) 2>&5
   6893   ac_status=$?
   6894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6895   test $ac_status = 0; }; then
   6896     if test "$lt_cv_prog_gnu_ld" = yes; then
   6897       case `/usr/bin/file conftest.$ac_objext` in
   6898 	*32-bit*)
   6899 	  LD="${LD-ld} -melf32bsmip"
   6900 	  ;;
   6901 	*N32*)
   6902 	  LD="${LD-ld} -melf32bmipn32"
   6903 	  ;;
   6904 	*64-bit*)
   6905 	  LD="${LD-ld} -melf64bmip"
   6906 	;;
   6907       esac
   6908     else
   6909       case `/usr/bin/file conftest.$ac_objext` in
   6910 	*32-bit*)
   6911 	  LD="${LD-ld} -32"
   6912 	  ;;
   6913 	*N32*)
   6914 	  LD="${LD-ld} -n32"
   6915 	  ;;
   6916 	*64-bit*)
   6917 	  LD="${LD-ld} -64"
   6918 	  ;;
   6919       esac
   6920     fi
   6921   fi
   6922   rm -rf conftest*
   6923   ;;
   6924 
   6925 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6926 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6927   # Find out which ABI we are using.
   6928   echo 'int i;' > conftest.$ac_ext
   6929   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6930   (eval $ac_compile) 2>&5
   6931   ac_status=$?
   6932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6933   test $ac_status = 0; }; then
   6934     case `/usr/bin/file conftest.o` in
   6935       *32-bit*)
   6936 	case $host in
   6937 	  x86_64-*kfreebsd*-gnu)
   6938 	    LD="${LD-ld} -m elf_i386_fbsd"
   6939 	    ;;
   6940 	  x86_64-*linux*)
   6941 	    case `/usr/bin/file conftest.o` in
   6942 	      *x86-64*)
   6943 		LD="${LD-ld} -m elf32_x86_64"
   6944 		;;
   6945 	      *)
   6946 		LD="${LD-ld} -m elf_i386"
   6947 		;;
   6948 	    esac
   6949 	    ;;
   6950 	  powerpc64le-*linux*)
   6951 	    LD="${LD-ld} -m elf32lppclinux"
   6952 	    ;;
   6953 	  powerpc64-*linux*)
   6954 	    LD="${LD-ld} -m elf32ppclinux"
   6955 	    ;;
   6956 	  s390x-*linux*)
   6957 	    LD="${LD-ld} -m elf_s390"
   6958 	    ;;
   6959 	  sparc64-*linux*)
   6960 	    LD="${LD-ld} -m elf32_sparc"
   6961 	    ;;
   6962 	esac
   6963 	;;
   6964       *64-bit*)
   6965 	case $host in
   6966 	  x86_64-*kfreebsd*-gnu)
   6967 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6968 	    ;;
   6969 	  x86_64-*linux*)
   6970 	    LD="${LD-ld} -m elf_x86_64"
   6971 	    ;;
   6972 	  powerpcle-*linux*)
   6973 	    LD="${LD-ld} -m elf64lppc"
   6974 	    ;;
   6975 	  powerpc-*linux*)
   6976 	    LD="${LD-ld} -m elf64ppc"
   6977 	    ;;
   6978 	  s390*-*linux*|s390*-*tpf*)
   6979 	    LD="${LD-ld} -m elf64_s390"
   6980 	    ;;
   6981 	  sparc*-*linux*)
   6982 	    LD="${LD-ld} -m elf64_sparc"
   6983 	    ;;
   6984 	esac
   6985 	;;
   6986     esac
   6987   fi
   6988   rm -rf conftest*
   6989   ;;
   6990 
   6991 *-*-sco3.2v5*)
   6992   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6993   SAVE_CFLAGS="$CFLAGS"
   6994   CFLAGS="$CFLAGS -belf"
   6995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6996 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6997 if ${lt_cv_cc_needs_belf+:} false; then :
   6998   $as_echo_n "(cached) " >&6
   6999 else
   7000   ac_ext=c
   7001 ac_cpp='$CPP $CPPFLAGS'
   7002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7005 
   7006      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7007 /* end confdefs.h.  */
   7008 
   7009 int
   7010 main ()
   7011 {
   7012 
   7013   ;
   7014   return 0;
   7015 }
   7016 _ACEOF
   7017 if ac_fn_c_try_link "$LINENO"; then :
   7018   lt_cv_cc_needs_belf=yes
   7019 else
   7020   lt_cv_cc_needs_belf=no
   7021 fi
   7022 rm -f core conftest.err conftest.$ac_objext \
   7023     conftest$ac_exeext conftest.$ac_ext
   7024      ac_ext=c
   7025 ac_cpp='$CPP $CPPFLAGS'
   7026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7029 
   7030 fi
   7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7032 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7033   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7034     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7035     CFLAGS="$SAVE_CFLAGS"
   7036   fi
   7037   ;;
   7038 sparc*-*solaris*)
   7039   # Find out which ABI we are using.
   7040   echo 'int i;' > conftest.$ac_ext
   7041   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7042   (eval $ac_compile) 2>&5
   7043   ac_status=$?
   7044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7045   test $ac_status = 0; }; then
   7046     case `/usr/bin/file conftest.o` in
   7047     *64-bit*)
   7048       case $lt_cv_prog_gnu_ld in
   7049       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7050       *)
   7051 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7052 	  LD="${LD-ld} -64"
   7053 	fi
   7054 	;;
   7055       esac
   7056       ;;
   7057     esac
   7058   fi
   7059   rm -rf conftest*
   7060   ;;
   7061 esac
   7062 
   7063 need_locks="$enable_libtool_lock"
   7064 
   7065 
   7066   case $host_os in
   7067     rhapsody* | darwin*)
   7068     if test -n "$ac_tool_prefix"; then
   7069   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7070 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7072 $as_echo_n "checking for $ac_word... " >&6; }
   7073 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7074   $as_echo_n "(cached) " >&6
   7075 else
   7076   if test -n "$DSYMUTIL"; then
   7077   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7078 else
   7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7080 for as_dir in $PATH
   7081 do
   7082   IFS=$as_save_IFS
   7083   test -z "$as_dir" && as_dir=.
   7084     for ac_exec_ext in '' $ac_executable_extensions; do
   7085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7086     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7088     break 2
   7089   fi
   7090 done
   7091   done
   7092 IFS=$as_save_IFS
   7093 
   7094 fi
   7095 fi
   7096 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7097 if test -n "$DSYMUTIL"; then
   7098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7099 $as_echo "$DSYMUTIL" >&6; }
   7100 else
   7101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7102 $as_echo "no" >&6; }
   7103 fi
   7104 
   7105 
   7106 fi
   7107 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7108   ac_ct_DSYMUTIL=$DSYMUTIL
   7109   # Extract the first word of "dsymutil", so it can be a program name with args.
   7110 set dummy dsymutil; ac_word=$2
   7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7112 $as_echo_n "checking for $ac_word... " >&6; }
   7113 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7114   $as_echo_n "(cached) " >&6
   7115 else
   7116   if test -n "$ac_ct_DSYMUTIL"; then
   7117   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7118 else
   7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7120 for as_dir in $PATH
   7121 do
   7122   IFS=$as_save_IFS
   7123   test -z "$as_dir" && as_dir=.
   7124     for ac_exec_ext in '' $ac_executable_extensions; do
   7125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7126     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7128     break 2
   7129   fi
   7130 done
   7131   done
   7132 IFS=$as_save_IFS
   7133 
   7134 fi
   7135 fi
   7136 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7137 if test -n "$ac_ct_DSYMUTIL"; then
   7138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7139 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7140 else
   7141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7142 $as_echo "no" >&6; }
   7143 fi
   7144 
   7145   if test "x$ac_ct_DSYMUTIL" = x; then
   7146     DSYMUTIL=":"
   7147   else
   7148     case $cross_compiling:$ac_tool_warned in
   7149 yes:)
   7150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7152 ac_tool_warned=yes ;;
   7153 esac
   7154     DSYMUTIL=$ac_ct_DSYMUTIL
   7155   fi
   7156 else
   7157   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7158 fi
   7159 
   7160     if test -n "$ac_tool_prefix"; then
   7161   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7162 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7164 $as_echo_n "checking for $ac_word... " >&6; }
   7165 if ${ac_cv_prog_NMEDIT+:} false; then :
   7166   $as_echo_n "(cached) " >&6
   7167 else
   7168   if test -n "$NMEDIT"; then
   7169   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7170 else
   7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7172 for as_dir in $PATH
   7173 do
   7174   IFS=$as_save_IFS
   7175   test -z "$as_dir" && as_dir=.
   7176     for ac_exec_ext in '' $ac_executable_extensions; do
   7177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7178     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7180     break 2
   7181   fi
   7182 done
   7183   done
   7184 IFS=$as_save_IFS
   7185 
   7186 fi
   7187 fi
   7188 NMEDIT=$ac_cv_prog_NMEDIT
   7189 if test -n "$NMEDIT"; then
   7190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7191 $as_echo "$NMEDIT" >&6; }
   7192 else
   7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7194 $as_echo "no" >&6; }
   7195 fi
   7196 
   7197 
   7198 fi
   7199 if test -z "$ac_cv_prog_NMEDIT"; then
   7200   ac_ct_NMEDIT=$NMEDIT
   7201   # Extract the first word of "nmedit", so it can be a program name with args.
   7202 set dummy nmedit; ac_word=$2
   7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7204 $as_echo_n "checking for $ac_word... " >&6; }
   7205 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7206   $as_echo_n "(cached) " >&6
   7207 else
   7208   if test -n "$ac_ct_NMEDIT"; then
   7209   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7210 else
   7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7212 for as_dir in $PATH
   7213 do
   7214   IFS=$as_save_IFS
   7215   test -z "$as_dir" && as_dir=.
   7216     for ac_exec_ext in '' $ac_executable_extensions; do
   7217   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7218     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7220     break 2
   7221   fi
   7222 done
   7223   done
   7224 IFS=$as_save_IFS
   7225 
   7226 fi
   7227 fi
   7228 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7229 if test -n "$ac_ct_NMEDIT"; then
   7230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7231 $as_echo "$ac_ct_NMEDIT" >&6; }
   7232 else
   7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7234 $as_echo "no" >&6; }
   7235 fi
   7236 
   7237   if test "x$ac_ct_NMEDIT" = x; then
   7238     NMEDIT=":"
   7239   else
   7240     case $cross_compiling:$ac_tool_warned in
   7241 yes:)
   7242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7244 ac_tool_warned=yes ;;
   7245 esac
   7246     NMEDIT=$ac_ct_NMEDIT
   7247   fi
   7248 else
   7249   NMEDIT="$ac_cv_prog_NMEDIT"
   7250 fi
   7251 
   7252     if test -n "$ac_tool_prefix"; then
   7253   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7254 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7256 $as_echo_n "checking for $ac_word... " >&6; }
   7257 if ${ac_cv_prog_LIPO+:} false; then :
   7258   $as_echo_n "(cached) " >&6
   7259 else
   7260   if test -n "$LIPO"; then
   7261   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7262 else
   7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7264 for as_dir in $PATH
   7265 do
   7266   IFS=$as_save_IFS
   7267   test -z "$as_dir" && as_dir=.
   7268     for ac_exec_ext in '' $ac_executable_extensions; do
   7269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7270     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7272     break 2
   7273   fi
   7274 done
   7275   done
   7276 IFS=$as_save_IFS
   7277 
   7278 fi
   7279 fi
   7280 LIPO=$ac_cv_prog_LIPO
   7281 if test -n "$LIPO"; then
   7282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7283 $as_echo "$LIPO" >&6; }
   7284 else
   7285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7286 $as_echo "no" >&6; }
   7287 fi
   7288 
   7289 
   7290 fi
   7291 if test -z "$ac_cv_prog_LIPO"; then
   7292   ac_ct_LIPO=$LIPO
   7293   # Extract the first word of "lipo", so it can be a program name with args.
   7294 set dummy lipo; ac_word=$2
   7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7296 $as_echo_n "checking for $ac_word... " >&6; }
   7297 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7298   $as_echo_n "(cached) " >&6
   7299 else
   7300   if test -n "$ac_ct_LIPO"; then
   7301   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7302 else
   7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7304 for as_dir in $PATH
   7305 do
   7306   IFS=$as_save_IFS
   7307   test -z "$as_dir" && as_dir=.
   7308     for ac_exec_ext in '' $ac_executable_extensions; do
   7309   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7310     ac_cv_prog_ac_ct_LIPO="lipo"
   7311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7312     break 2
   7313   fi
   7314 done
   7315   done
   7316 IFS=$as_save_IFS
   7317 
   7318 fi
   7319 fi
   7320 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7321 if test -n "$ac_ct_LIPO"; then
   7322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7323 $as_echo "$ac_ct_LIPO" >&6; }
   7324 else
   7325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7326 $as_echo "no" >&6; }
   7327 fi
   7328 
   7329   if test "x$ac_ct_LIPO" = x; then
   7330     LIPO=":"
   7331   else
   7332     case $cross_compiling:$ac_tool_warned in
   7333 yes:)
   7334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7336 ac_tool_warned=yes ;;
   7337 esac
   7338     LIPO=$ac_ct_LIPO
   7339   fi
   7340 else
   7341   LIPO="$ac_cv_prog_LIPO"
   7342 fi
   7343 
   7344     if test -n "$ac_tool_prefix"; then
   7345   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7346 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7348 $as_echo_n "checking for $ac_word... " >&6; }
   7349 if ${ac_cv_prog_OTOOL+:} false; then :
   7350   $as_echo_n "(cached) " >&6
   7351 else
   7352   if test -n "$OTOOL"; then
   7353   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7354 else
   7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7356 for as_dir in $PATH
   7357 do
   7358   IFS=$as_save_IFS
   7359   test -z "$as_dir" && as_dir=.
   7360     for ac_exec_ext in '' $ac_executable_extensions; do
   7361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7362     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7364     break 2
   7365   fi
   7366 done
   7367   done
   7368 IFS=$as_save_IFS
   7369 
   7370 fi
   7371 fi
   7372 OTOOL=$ac_cv_prog_OTOOL
   7373 if test -n "$OTOOL"; then
   7374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7375 $as_echo "$OTOOL" >&6; }
   7376 else
   7377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7378 $as_echo "no" >&6; }
   7379 fi
   7380 
   7381 
   7382 fi
   7383 if test -z "$ac_cv_prog_OTOOL"; then
   7384   ac_ct_OTOOL=$OTOOL
   7385   # Extract the first word of "otool", so it can be a program name with args.
   7386 set dummy otool; ac_word=$2
   7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7388 $as_echo_n "checking for $ac_word... " >&6; }
   7389 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7390   $as_echo_n "(cached) " >&6
   7391 else
   7392   if test -n "$ac_ct_OTOOL"; then
   7393   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7394 else
   7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7396 for as_dir in $PATH
   7397 do
   7398   IFS=$as_save_IFS
   7399   test -z "$as_dir" && as_dir=.
   7400     for ac_exec_ext in '' $ac_executable_extensions; do
   7401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7402     ac_cv_prog_ac_ct_OTOOL="otool"
   7403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7404     break 2
   7405   fi
   7406 done
   7407   done
   7408 IFS=$as_save_IFS
   7409 
   7410 fi
   7411 fi
   7412 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7413 if test -n "$ac_ct_OTOOL"; then
   7414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7415 $as_echo "$ac_ct_OTOOL" >&6; }
   7416 else
   7417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7418 $as_echo "no" >&6; }
   7419 fi
   7420 
   7421   if test "x$ac_ct_OTOOL" = x; then
   7422     OTOOL=":"
   7423   else
   7424     case $cross_compiling:$ac_tool_warned in
   7425 yes:)
   7426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7428 ac_tool_warned=yes ;;
   7429 esac
   7430     OTOOL=$ac_ct_OTOOL
   7431   fi
   7432 else
   7433   OTOOL="$ac_cv_prog_OTOOL"
   7434 fi
   7435 
   7436     if test -n "$ac_tool_prefix"; then
   7437   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7438 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7440 $as_echo_n "checking for $ac_word... " >&6; }
   7441 if ${ac_cv_prog_OTOOL64+:} false; then :
   7442   $as_echo_n "(cached) " >&6
   7443 else
   7444   if test -n "$OTOOL64"; then
   7445   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7446 else
   7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7448 for as_dir in $PATH
   7449 do
   7450   IFS=$as_save_IFS
   7451   test -z "$as_dir" && as_dir=.
   7452     for ac_exec_ext in '' $ac_executable_extensions; do
   7453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7454     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7456     break 2
   7457   fi
   7458 done
   7459   done
   7460 IFS=$as_save_IFS
   7461 
   7462 fi
   7463 fi
   7464 OTOOL64=$ac_cv_prog_OTOOL64
   7465 if test -n "$OTOOL64"; then
   7466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7467 $as_echo "$OTOOL64" >&6; }
   7468 else
   7469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7470 $as_echo "no" >&6; }
   7471 fi
   7472 
   7473 
   7474 fi
   7475 if test -z "$ac_cv_prog_OTOOL64"; then
   7476   ac_ct_OTOOL64=$OTOOL64
   7477   # Extract the first word of "otool64", so it can be a program name with args.
   7478 set dummy otool64; ac_word=$2
   7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7480 $as_echo_n "checking for $ac_word... " >&6; }
   7481 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7482   $as_echo_n "(cached) " >&6
   7483 else
   7484   if test -n "$ac_ct_OTOOL64"; then
   7485   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7486 else
   7487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7488 for as_dir in $PATH
   7489 do
   7490   IFS=$as_save_IFS
   7491   test -z "$as_dir" && as_dir=.
   7492     for ac_exec_ext in '' $ac_executable_extensions; do
   7493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7494     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7496     break 2
   7497   fi
   7498 done
   7499   done
   7500 IFS=$as_save_IFS
   7501 
   7502 fi
   7503 fi
   7504 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7505 if test -n "$ac_ct_OTOOL64"; then
   7506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7507 $as_echo "$ac_ct_OTOOL64" >&6; }
   7508 else
   7509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7510 $as_echo "no" >&6; }
   7511 fi
   7512 
   7513   if test "x$ac_ct_OTOOL64" = x; then
   7514     OTOOL64=":"
   7515   else
   7516     case $cross_compiling:$ac_tool_warned in
   7517 yes:)
   7518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7520 ac_tool_warned=yes ;;
   7521 esac
   7522     OTOOL64=$ac_ct_OTOOL64
   7523   fi
   7524 else
   7525   OTOOL64="$ac_cv_prog_OTOOL64"
   7526 fi
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7555 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7556 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7557   $as_echo_n "(cached) " >&6
   7558 else
   7559   lt_cv_apple_cc_single_mod=no
   7560       if test -z "${LT_MULTI_MODULE}"; then
   7561 	# By default we will add the -single_module flag. You can override
   7562 	# by either setting the environment variable LT_MULTI_MODULE
   7563 	# non-empty at configure time, or by adding -multi_module to the
   7564 	# link flags.
   7565 	rm -rf libconftest.dylib*
   7566 	echo "int foo(void){return 1;}" > conftest.c
   7567 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7568 -dynamiclib -Wl,-single_module conftest.c" >&5
   7569 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7570 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7571         _lt_result=$?
   7572 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7573 	  lt_cv_apple_cc_single_mod=yes
   7574 	else
   7575 	  cat conftest.err >&5
   7576 	fi
   7577 	rm -rf libconftest.dylib*
   7578 	rm -f conftest.*
   7579       fi
   7580 fi
   7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7582 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7583     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7584 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7585 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7586   $as_echo_n "(cached) " >&6
   7587 else
   7588   lt_cv_ld_exported_symbols_list=no
   7589       save_LDFLAGS=$LDFLAGS
   7590       echo "_main" > conftest.sym
   7591       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7593 /* end confdefs.h.  */
   7594 
   7595 int
   7596 main ()
   7597 {
   7598 
   7599   ;
   7600   return 0;
   7601 }
   7602 _ACEOF
   7603 if ac_fn_c_try_link "$LINENO"; then :
   7604   lt_cv_ld_exported_symbols_list=yes
   7605 else
   7606   lt_cv_ld_exported_symbols_list=no
   7607 fi
   7608 rm -f core conftest.err conftest.$ac_objext \
   7609     conftest$ac_exeext conftest.$ac_ext
   7610 	LDFLAGS="$save_LDFLAGS"
   7611 
   7612 fi
   7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7614 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7616 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7617 if ${lt_cv_ld_force_load+:} false; then :
   7618   $as_echo_n "(cached) " >&6
   7619 else
   7620   lt_cv_ld_force_load=no
   7621       cat > conftest.c << _LT_EOF
   7622 int forced_loaded() { return 2;}
   7623 _LT_EOF
   7624       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7625       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7626       echo "$AR cru libconftest.a conftest.o" >&5
   7627       $AR cru libconftest.a conftest.o 2>&5
   7628       cat > conftest.c << _LT_EOF
   7629 int main() { return 0;}
   7630 _LT_EOF
   7631       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7632       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7633       _lt_result=$?
   7634       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7635 	lt_cv_ld_force_load=yes
   7636       else
   7637 	cat conftest.err >&5
   7638       fi
   7639         rm -f conftest.err libconftest.a conftest conftest.c
   7640         rm -rf conftest.dSYM
   7641 
   7642 fi
   7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7644 $as_echo "$lt_cv_ld_force_load" >&6; }
   7645     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   7646     # build without first building modern cctools / linker.
   7647     case $host_cpu-$host_os in
   7648     *-rhapsody* | *-darwin1.[012])
   7649       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7650     *-darwin1.*)
   7651       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7652     *-darwin*)
   7653       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   7654       # deployment target is forced to an earlier version.
   7655       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   7656 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   7657 	  ;;
   7658 	10.[012][,.]*)
   7659 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7660 	  ;;
   7661 	*)
   7662 	  ;;
   7663      esac
   7664     ;;
   7665   esac
   7666     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7667       _lt_dar_single_mod='$single_module'
   7668     fi
   7669     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7670       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7671     else
   7672       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7673     fi
   7674     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7675       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7676     else
   7677       _lt_dsymutil=
   7678     fi
   7679     ;;
   7680   esac
   7681 
   7682 ac_ext=c
   7683 ac_cpp='$CPP $CPPFLAGS'
   7684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7688 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7689 # On Suns, sometimes $CPP names a directory.
   7690 if test -n "$CPP" && test -d "$CPP"; then
   7691   CPP=
   7692 fi
   7693 if test -z "$CPP"; then
   7694   if ${ac_cv_prog_CPP+:} false; then :
   7695   $as_echo_n "(cached) " >&6
   7696 else
   7697       # Double quotes because CPP needs to be expanded
   7698     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7699     do
   7700       ac_preproc_ok=false
   7701 for ac_c_preproc_warn_flag in '' yes
   7702 do
   7703   # Use a header file that comes with gcc, so configuring glibc
   7704   # with a fresh cross-compiler works.
   7705   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7706   # <limits.h> exists even on freestanding compilers.
   7707   # On the NeXT, cc -E runs the code through the compiler's parser,
   7708   # not just through cpp. "Syntax error" is here to catch this case.
   7709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7710 /* end confdefs.h.  */
   7711 #ifdef __STDC__
   7712 # include <limits.h>
   7713 #else
   7714 # include <assert.h>
   7715 #endif
   7716 		     Syntax error
   7717 _ACEOF
   7718 if ac_fn_c_try_cpp "$LINENO"; then :
   7719 
   7720 else
   7721   # Broken: fails on valid input.
   7722 continue
   7723 fi
   7724 rm -f conftest.err conftest.i conftest.$ac_ext
   7725 
   7726   # OK, works on sane cases.  Now check whether nonexistent headers
   7727   # can be detected and how.
   7728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7729 /* end confdefs.h.  */
   7730 #include <ac_nonexistent.h>
   7731 _ACEOF
   7732 if ac_fn_c_try_cpp "$LINENO"; then :
   7733   # Broken: success on invalid input.
   7734 continue
   7735 else
   7736   # Passes both tests.
   7737 ac_preproc_ok=:
   7738 break
   7739 fi
   7740 rm -f conftest.err conftest.i conftest.$ac_ext
   7741 
   7742 done
   7743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7744 rm -f conftest.i conftest.err conftest.$ac_ext
   7745 if $ac_preproc_ok; then :
   7746   break
   7747 fi
   7748 
   7749     done
   7750     ac_cv_prog_CPP=$CPP
   7751 
   7752 fi
   7753   CPP=$ac_cv_prog_CPP
   7754 else
   7755   ac_cv_prog_CPP=$CPP
   7756 fi
   7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7758 $as_echo "$CPP" >&6; }
   7759 ac_preproc_ok=false
   7760 for ac_c_preproc_warn_flag in '' yes
   7761 do
   7762   # Use a header file that comes with gcc, so configuring glibc
   7763   # with a fresh cross-compiler works.
   7764   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7765   # <limits.h> exists even on freestanding compilers.
   7766   # On the NeXT, cc -E runs the code through the compiler's parser,
   7767   # not just through cpp. "Syntax error" is here to catch this case.
   7768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7769 /* end confdefs.h.  */
   7770 #ifdef __STDC__
   7771 # include <limits.h>
   7772 #else
   7773 # include <assert.h>
   7774 #endif
   7775 		     Syntax error
   7776 _ACEOF
   7777 if ac_fn_c_try_cpp "$LINENO"; then :
   7778 
   7779 else
   7780   # Broken: fails on valid input.
   7781 continue
   7782 fi
   7783 rm -f conftest.err conftest.i conftest.$ac_ext
   7784 
   7785   # OK, works on sane cases.  Now check whether nonexistent headers
   7786   # can be detected and how.
   7787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7788 /* end confdefs.h.  */
   7789 #include <ac_nonexistent.h>
   7790 _ACEOF
   7791 if ac_fn_c_try_cpp "$LINENO"; then :
   7792   # Broken: success on invalid input.
   7793 continue
   7794 else
   7795   # Passes both tests.
   7796 ac_preproc_ok=:
   7797 break
   7798 fi
   7799 rm -f conftest.err conftest.i conftest.$ac_ext
   7800 
   7801 done
   7802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7803 rm -f conftest.i conftest.err conftest.$ac_ext
   7804 if $ac_preproc_ok; then :
   7805 
   7806 else
   7807   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7809 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7810 See \`config.log' for more details" "$LINENO" 5; }
   7811 fi
   7812 
   7813 ac_ext=c
   7814 ac_cpp='$CPP $CPPFLAGS'
   7815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7818 
   7819 
   7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7821 $as_echo_n "checking for ANSI C header files... " >&6; }
   7822 if ${ac_cv_header_stdc+:} false; then :
   7823   $as_echo_n "(cached) " >&6
   7824 else
   7825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7826 /* end confdefs.h.  */
   7827 #include <stdlib.h>
   7828 #include <stdarg.h>
   7829 #include <string.h>
   7830 #include <float.h>
   7831 
   7832 int
   7833 main ()
   7834 {
   7835 
   7836   ;
   7837   return 0;
   7838 }
   7839 _ACEOF
   7840 if ac_fn_c_try_compile "$LINENO"; then :
   7841   ac_cv_header_stdc=yes
   7842 else
   7843   ac_cv_header_stdc=no
   7844 fi
   7845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7846 
   7847 if test $ac_cv_header_stdc = yes; then
   7848   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7850 /* end confdefs.h.  */
   7851 #include <string.h>
   7852 
   7853 _ACEOF
   7854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7855   $EGREP "memchr" >/dev/null 2>&1; then :
   7856 
   7857 else
   7858   ac_cv_header_stdc=no
   7859 fi
   7860 rm -f conftest*
   7861 
   7862 fi
   7863 
   7864 if test $ac_cv_header_stdc = yes; then
   7865   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7867 /* end confdefs.h.  */
   7868 #include <stdlib.h>
   7869 
   7870 _ACEOF
   7871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7872   $EGREP "free" >/dev/null 2>&1; then :
   7873 
   7874 else
   7875   ac_cv_header_stdc=no
   7876 fi
   7877 rm -f conftest*
   7878 
   7879 fi
   7880 
   7881 if test $ac_cv_header_stdc = yes; then
   7882   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7883   if test "$cross_compiling" = yes; then :
   7884   :
   7885 else
   7886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7887 /* end confdefs.h.  */
   7888 #include <ctype.h>
   7889 #include <stdlib.h>
   7890 #if ((' ' & 0x0FF) == 0x020)
   7891 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7892 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7893 #else
   7894 # define ISLOWER(c) \
   7895 		   (('a' <= (c) && (c) <= 'i') \
   7896 		     || ('j' <= (c) && (c) <= 'r') \
   7897 		     || ('s' <= (c) && (c) <= 'z'))
   7898 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7899 #endif
   7900 
   7901 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7902 int
   7903 main ()
   7904 {
   7905   int i;
   7906   for (i = 0; i < 256; i++)
   7907     if (XOR (islower (i), ISLOWER (i))
   7908 	|| toupper (i) != TOUPPER (i))
   7909       return 2;
   7910   return 0;
   7911 }
   7912 _ACEOF
   7913 if ac_fn_c_try_run "$LINENO"; then :
   7914 
   7915 else
   7916   ac_cv_header_stdc=no
   7917 fi
   7918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7919   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7920 fi
   7921 
   7922 fi
   7923 fi
   7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7925 $as_echo "$ac_cv_header_stdc" >&6; }
   7926 if test $ac_cv_header_stdc = yes; then
   7927 
   7928 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7929 
   7930 fi
   7931 
   7932 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7933 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7934 		  inttypes.h stdint.h unistd.h
   7935 do :
   7936   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7937 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7938 "
   7939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7940   cat >>confdefs.h <<_ACEOF
   7941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7942 _ACEOF
   7943 
   7944 fi
   7945 
   7946 done
   7947 
   7948 
   7949 for ac_header in dlfcn.h
   7950 do :
   7951   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7952 "
   7953 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7954   cat >>confdefs.h <<_ACEOF
   7955 #define HAVE_DLFCN_H 1
   7956 _ACEOF
   7957 
   7958 fi
   7959 
   7960 done
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 # Set options
   7967 
   7968 
   7969 
   7970         enable_dlopen=no
   7971 
   7972 
   7973   enable_win32_dll=no
   7974 
   7975 
   7976             # Check whether --enable-shared was given.
   7977 if test "${enable_shared+set}" = set; then :
   7978   enableval=$enable_shared; p=${PACKAGE-default}
   7979     case $enableval in
   7980     yes) enable_shared=yes ;;
   7981     no) enable_shared=no ;;
   7982     *)
   7983       enable_shared=no
   7984       # Look at the argument we got.  We use all the common list separators.
   7985       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7986       for pkg in $enableval; do
   7987 	IFS="$lt_save_ifs"
   7988 	if test "X$pkg" = "X$p"; then
   7989 	  enable_shared=yes
   7990 	fi
   7991       done
   7992       IFS="$lt_save_ifs"
   7993       ;;
   7994     esac
   7995 else
   7996   enable_shared=yes
   7997 fi
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007   # Check whether --enable-static was given.
   8008 if test "${enable_static+set}" = set; then :
   8009   enableval=$enable_static; p=${PACKAGE-default}
   8010     case $enableval in
   8011     yes) enable_static=yes ;;
   8012     no) enable_static=no ;;
   8013     *)
   8014      enable_static=no
   8015       # Look at the argument we got.  We use all the common list separators.
   8016       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8017       for pkg in $enableval; do
   8018 	IFS="$lt_save_ifs"
   8019 	if test "X$pkg" = "X$p"; then
   8020 	  enable_static=yes
   8021 	fi
   8022       done
   8023       IFS="$lt_save_ifs"
   8024       ;;
   8025     esac
   8026 else
   8027   enable_static=yes
   8028 fi
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 # Check whether --with-pic was given.
   8040 if test "${with_pic+set}" = set; then :
   8041   withval=$with_pic; pic_mode="$withval"
   8042 else
   8043   pic_mode=default
   8044 fi
   8045 
   8046 
   8047 test -z "$pic_mode" && pic_mode=default
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055   # Check whether --enable-fast-install was given.
   8056 if test "${enable_fast_install+set}" = set; then :
   8057   enableval=$enable_fast_install; p=${PACKAGE-default}
   8058     case $enableval in
   8059     yes) enable_fast_install=yes ;;
   8060     no) enable_fast_install=no ;;
   8061     *)
   8062       enable_fast_install=no
   8063       # Look at the argument we got.  We use all the common list separators.
   8064       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8065       for pkg in $enableval; do
   8066 	IFS="$lt_save_ifs"
   8067 	if test "X$pkg" = "X$p"; then
   8068 	  enable_fast_install=yes
   8069 	fi
   8070       done
   8071       IFS="$lt_save_ifs"
   8072       ;;
   8073     esac
   8074 else
   8075   enable_fast_install=yes
   8076 fi
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 # This can be used to rebuild libtool when needed
   8089 LIBTOOL_DEPS="$ltmain"
   8090 
   8091 # Always use our own libtool.
   8092 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 test -z "$LN_S" && LN_S="ln -s"
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 if test -n "${ZSH_VERSION+set}" ; then
   8135    setopt NO_GLOB_SUBST
   8136 fi
   8137 
   8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8139 $as_echo_n "checking for objdir... " >&6; }
   8140 if ${lt_cv_objdir+:} false; then :
   8141   $as_echo_n "(cached) " >&6
   8142 else
   8143   rm -f .libs 2>/dev/null
   8144 mkdir .libs 2>/dev/null
   8145 if test -d .libs; then
   8146   lt_cv_objdir=.libs
   8147 else
   8148   # MS-DOS does not allow filenames that begin with a dot.
   8149   lt_cv_objdir=_libs
   8150 fi
   8151 rmdir .libs 2>/dev/null
   8152 fi
   8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8154 $as_echo "$lt_cv_objdir" >&6; }
   8155 objdir=$lt_cv_objdir
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 cat >>confdefs.h <<_ACEOF
   8162 #define LT_OBJDIR "$lt_cv_objdir/"
   8163 _ACEOF
   8164 
   8165 
   8166 
   8167 
   8168 case $host_os in
   8169 aix3*)
   8170   # AIX sometimes has problems with the GCC collect2 program.  For some
   8171   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8172   # vanish in a puff of smoke.
   8173   if test "X${COLLECT_NAMES+set}" != Xset; then
   8174     COLLECT_NAMES=
   8175     export COLLECT_NAMES
   8176   fi
   8177   ;;
   8178 esac
   8179 
   8180 # Global variables:
   8181 ofile=libtool
   8182 can_build_shared=yes
   8183 
   8184 # All known linkers require a `.a' archive for static linking (except MSVC,
   8185 # which needs '.lib').
   8186 libext=a
   8187 
   8188 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8189 
   8190 old_CC="$CC"
   8191 old_CFLAGS="$CFLAGS"
   8192 
   8193 # Set sane defaults for various variables
   8194 test -z "$CC" && CC=cc
   8195 test -z "$LTCC" && LTCC=$CC
   8196 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8197 test -z "$LD" && LD=ld
   8198 test -z "$ac_objext" && ac_objext=o
   8199 
   8200 for cc_temp in $compiler""; do
   8201   case $cc_temp in
   8202     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8203     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8204     \-*) ;;
   8205     *) break;;
   8206   esac
   8207 done
   8208 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8209 
   8210 
   8211 # Only perform the check for file, if the check method requires it
   8212 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8213 case $deplibs_check_method in
   8214 file_magic*)
   8215   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8217 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8218 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8219   $as_echo_n "(cached) " >&6
   8220 else
   8221   case $MAGIC_CMD in
   8222 [\\/*] |  ?:[\\/]*)
   8223   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8224   ;;
   8225 *)
   8226   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8227   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8228   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8229   for ac_dir in $ac_dummy; do
   8230     IFS="$lt_save_ifs"
   8231     test -z "$ac_dir" && ac_dir=.
   8232     if test -f $ac_dir/${ac_tool_prefix}file; then
   8233       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8234       if test -n "$file_magic_test_file"; then
   8235 	case $deplibs_check_method in
   8236 	"file_magic "*)
   8237 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8238 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8239 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8240 	    $EGREP "$file_magic_regex" > /dev/null; then
   8241 	    :
   8242 	  else
   8243 	    cat <<_LT_EOF 1>&2
   8244 
   8245 *** Warning: the command libtool uses to detect shared libraries,
   8246 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8247 *** The result is that libtool may fail to recognize shared libraries
   8248 *** as such.  This will affect the creation of libtool libraries that
   8249 *** depend on shared libraries, but programs linked with such libtool
   8250 *** libraries will work regardless of this problem.  Nevertheless, you
   8251 *** may want to report the problem to your system manager and/or to
   8252 *** bug-libtool@gnu.org
   8253 
   8254 _LT_EOF
   8255 	  fi ;;
   8256 	esac
   8257       fi
   8258       break
   8259     fi
   8260   done
   8261   IFS="$lt_save_ifs"
   8262   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8263   ;;
   8264 esac
   8265 fi
   8266 
   8267 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8268 if test -n "$MAGIC_CMD"; then
   8269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8270 $as_echo "$MAGIC_CMD" >&6; }
   8271 else
   8272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8273 $as_echo "no" >&6; }
   8274 fi
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8281   if test -n "$ac_tool_prefix"; then
   8282     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8283 $as_echo_n "checking for file... " >&6; }
   8284 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8285   $as_echo_n "(cached) " >&6
   8286 else
   8287   case $MAGIC_CMD in
   8288 [\\/*] |  ?:[\\/]*)
   8289   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8290   ;;
   8291 *)
   8292   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8293   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8294   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8295   for ac_dir in $ac_dummy; do
   8296     IFS="$lt_save_ifs"
   8297     test -z "$ac_dir" && ac_dir=.
   8298     if test -f $ac_dir/file; then
   8299       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8300       if test -n "$file_magic_test_file"; then
   8301 	case $deplibs_check_method in
   8302 	"file_magic "*)
   8303 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8304 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8305 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8306 	    $EGREP "$file_magic_regex" > /dev/null; then
   8307 	    :
   8308 	  else
   8309 	    cat <<_LT_EOF 1>&2
   8310 
   8311 *** Warning: the command libtool uses to detect shared libraries,
   8312 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8313 *** The result is that libtool may fail to recognize shared libraries
   8314 *** as such.  This will affect the creation of libtool libraries that
   8315 *** depend on shared libraries, but programs linked with such libtool
   8316 *** libraries will work regardless of this problem.  Nevertheless, you
   8317 *** may want to report the problem to your system manager and/or to
   8318 *** bug-libtool@gnu.org
   8319 
   8320 _LT_EOF
   8321 	  fi ;;
   8322 	esac
   8323       fi
   8324       break
   8325     fi
   8326   done
   8327   IFS="$lt_save_ifs"
   8328   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8329   ;;
   8330 esac
   8331 fi
   8332 
   8333 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8334 if test -n "$MAGIC_CMD"; then
   8335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8336 $as_echo "$MAGIC_CMD" >&6; }
   8337 else
   8338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8339 $as_echo "no" >&6; }
   8340 fi
   8341 
   8342 
   8343   else
   8344     MAGIC_CMD=:
   8345   fi
   8346 fi
   8347 
   8348   fi
   8349   ;;
   8350 esac
   8351 
   8352 # Use C for the default configuration in the libtool script
   8353 
   8354 lt_save_CC="$CC"
   8355 ac_ext=c
   8356 ac_cpp='$CPP $CPPFLAGS'
   8357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8360 
   8361 
   8362 # Source file extension for C test sources.
   8363 ac_ext=c
   8364 
   8365 # Object file extension for compiled C test sources.
   8366 objext=o
   8367 objext=$objext
   8368 
   8369 # Code to be used in simple compile tests
   8370 lt_simple_compile_test_code="int some_variable = 0;"
   8371 
   8372 # Code to be used in simple link tests
   8373 lt_simple_link_test_code='int main(){return(0);}'
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 # If no C compiler was specified, use CC.
   8382 LTCC=${LTCC-"$CC"}
   8383 
   8384 # If no C compiler flags were specified, use CFLAGS.
   8385 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8386 
   8387 # Allow CC to be a program name with arguments.
   8388 compiler=$CC
   8389 
   8390 # Save the default compiler, since it gets overwritten when the other
   8391 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8392 compiler_DEFAULT=$CC
   8393 
   8394 # save warnings/boilerplate of simple test code
   8395 ac_outfile=conftest.$ac_objext
   8396 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8397 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8398 _lt_compiler_boilerplate=`cat conftest.err`
   8399 $RM conftest*
   8400 
   8401 ac_outfile=conftest.$ac_objext
   8402 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8403 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8404 _lt_linker_boilerplate=`cat conftest.err`
   8405 $RM -r conftest*
   8406 
   8407 
   8408 ## CAVEAT EMPTOR:
   8409 ## There is no encapsulation within the following macros, do not change
   8410 ## the running order or otherwise move them around unless you know exactly
   8411 ## what you are doing...
   8412 if test -n "$compiler"; then
   8413 
   8414 lt_prog_compiler_no_builtin_flag=
   8415 
   8416 if test "$GCC" = yes; then
   8417   case $cc_basename in
   8418   nvcc*)
   8419     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8420   *)
   8421     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8422   esac
   8423 
   8424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8425 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8426 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8427   $as_echo_n "(cached) " >&6
   8428 else
   8429   lt_cv_prog_compiler_rtti_exceptions=no
   8430    ac_outfile=conftest.$ac_objext
   8431    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8432    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8433    # Insert the option either (1) after the last *FLAGS variable, or
   8434    # (2) before a word containing "conftest.", or (3) at the end.
   8435    # Note that $ac_compile itself does not contain backslashes and begins
   8436    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8437    # The option is referenced via a variable to avoid confusing sed.
   8438    lt_compile=`echo "$ac_compile" | $SED \
   8439    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8440    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8441    -e 's:$: $lt_compiler_flag:'`
   8442    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8443    (eval "$lt_compile" 2>conftest.err)
   8444    ac_status=$?
   8445    cat conftest.err >&5
   8446    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8447    if (exit $ac_status) && test -s "$ac_outfile"; then
   8448      # The compiler can only warn and ignore the option if not recognized
   8449      # So say no if there are warnings other than the usual output.
   8450      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8451      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8452      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8453        lt_cv_prog_compiler_rtti_exceptions=yes
   8454      fi
   8455    fi
   8456    $RM conftest*
   8457 
   8458 fi
   8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8460 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8461 
   8462 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8463     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8464 else
   8465     :
   8466 fi
   8467 
   8468 fi
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475   lt_prog_compiler_wl=
   8476 lt_prog_compiler_pic=
   8477 lt_prog_compiler_static=
   8478 
   8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8480 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8481 
   8482   if test "$GCC" = yes; then
   8483     lt_prog_compiler_wl='-Wl,'
   8484     lt_prog_compiler_static='-static'
   8485 
   8486     case $host_os in
   8487       aix*)
   8488       # All AIX code is PIC.
   8489       if test "$host_cpu" = ia64; then
   8490 	# AIX 5 now supports IA64 processor
   8491 	lt_prog_compiler_static='-Bstatic'
   8492       fi
   8493       lt_prog_compiler_pic='-fPIC'
   8494       ;;
   8495 
   8496     amigaos*)
   8497       case $host_cpu in
   8498       powerpc)
   8499             # see comment about AmigaOS4 .so support
   8500             lt_prog_compiler_pic='-fPIC'
   8501         ;;
   8502       m68k)
   8503             # FIXME: we need at least 68020 code to build shared libraries, but
   8504             # adding the `-m68020' flag to GCC prevents building anything better,
   8505             # like `-m68040'.
   8506             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8507         ;;
   8508       esac
   8509       ;;
   8510 
   8511     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8512       # PIC is the default for these OSes.
   8513       ;;
   8514 
   8515     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8516       # This hack is so that the source file can tell whether it is being
   8517       # built for inclusion in a dll (and should export symbols for example).
   8518       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8519       # (--disable-auto-import) libraries
   8520       lt_prog_compiler_pic='-DDLL_EXPORT'
   8521       ;;
   8522 
   8523     darwin* | rhapsody*)
   8524       # PIC is the default on this platform
   8525       # Common symbols not allowed in MH_DYLIB files
   8526       lt_prog_compiler_pic='-fno-common'
   8527       ;;
   8528 
   8529     haiku*)
   8530       # PIC is the default for Haiku.
   8531       # The "-static" flag exists, but is broken.
   8532       lt_prog_compiler_static=
   8533       ;;
   8534 
   8535     hpux*)
   8536       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8537       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8538       # sets the default TLS model and affects inlining.
   8539       case $host_cpu in
   8540       hppa*64*)
   8541 	# +Z the default
   8542 	;;
   8543       *)
   8544 	lt_prog_compiler_pic='-fPIC'
   8545 	;;
   8546       esac
   8547       ;;
   8548 
   8549     interix[3-9]*)
   8550       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8551       # Instead, we relocate shared libraries at runtime.
   8552       ;;
   8553 
   8554     msdosdjgpp*)
   8555       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8556       # on systems that don't support them.
   8557       lt_prog_compiler_can_build_shared=no
   8558       enable_shared=no
   8559       ;;
   8560 
   8561     *nto* | *qnx*)
   8562       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8563       # it will coredump.
   8564       lt_prog_compiler_pic='-fPIC -shared'
   8565       ;;
   8566 
   8567     sysv4*MP*)
   8568       if test -d /usr/nec; then
   8569 	lt_prog_compiler_pic=-Kconform_pic
   8570       fi
   8571       ;;
   8572 
   8573     *)
   8574       lt_prog_compiler_pic='-fPIC'
   8575       ;;
   8576     esac
   8577 
   8578     case $cc_basename in
   8579     nvcc*) # Cuda Compiler Driver 2.2
   8580       lt_prog_compiler_wl='-Xlinker '
   8581       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8582       ;;
   8583     esac
   8584   else
   8585     # PORTME Check for flag to pass linker flags through the system compiler.
   8586     case $host_os in
   8587     aix*)
   8588       lt_prog_compiler_wl='-Wl,'
   8589       if test "$host_cpu" = ia64; then
   8590 	# AIX 5 now supports IA64 processor
   8591 	lt_prog_compiler_static='-Bstatic'
   8592       else
   8593 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8594       fi
   8595       ;;
   8596 
   8597     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8598       # This hack is so that the source file can tell whether it is being
   8599       # built for inclusion in a dll (and should export symbols for example).
   8600       lt_prog_compiler_pic='-DDLL_EXPORT'
   8601       ;;
   8602 
   8603     hpux9* | hpux10* | hpux11*)
   8604       lt_prog_compiler_wl='-Wl,'
   8605       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8606       # not for PA HP-UX.
   8607       case $host_cpu in
   8608       hppa*64*|ia64*)
   8609 	# +Z the default
   8610 	;;
   8611       *)
   8612 	lt_prog_compiler_pic='+Z'
   8613 	;;
   8614       esac
   8615       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8616       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8617       ;;
   8618 
   8619     irix5* | irix6* | nonstopux*)
   8620       lt_prog_compiler_wl='-Wl,'
   8621       # PIC (with -KPIC) is the default.
   8622       lt_prog_compiler_static='-non_shared'
   8623       ;;
   8624 
   8625     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8626       case $cc_basename in
   8627       # old Intel for x86_64 which still supported -KPIC.
   8628       ecc*)
   8629 	lt_prog_compiler_wl='-Wl,'
   8630 	lt_prog_compiler_pic='-KPIC'
   8631 	lt_prog_compiler_static='-static'
   8632         ;;
   8633       # icc used to be incompatible with GCC.
   8634       # ICC 10 doesn't accept -KPIC any more.
   8635       icc* | ifort*)
   8636 	lt_prog_compiler_wl='-Wl,'
   8637 	lt_prog_compiler_pic='-fPIC'
   8638 	lt_prog_compiler_static='-static'
   8639         ;;
   8640       # Lahey Fortran 8.1.
   8641       lf95*)
   8642 	lt_prog_compiler_wl='-Wl,'
   8643 	lt_prog_compiler_pic='--shared'
   8644 	lt_prog_compiler_static='--static'
   8645 	;;
   8646       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8647         # Portland Group compilers (*not* the Pentium gcc compiler,
   8648 	# which looks to be a dead project)
   8649 	lt_prog_compiler_wl='-Wl,'
   8650 	lt_prog_compiler_pic='-fpic'
   8651 	lt_prog_compiler_static='-Bstatic'
   8652         ;;
   8653       ccc*)
   8654         lt_prog_compiler_wl='-Wl,'
   8655         # All Alpha code is PIC.
   8656         lt_prog_compiler_static='-non_shared'
   8657         ;;
   8658       xl* | bgxl* | bgf* | mpixl*)
   8659 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8660 	lt_prog_compiler_wl='-Wl,'
   8661 	lt_prog_compiler_pic='-qpic'
   8662 	lt_prog_compiler_static='-qstaticlink'
   8663 	;;
   8664       *)
   8665 	case `$CC -V 2>&1 | sed 5q` in
   8666 	*Sun\ F* | *Sun*Fortran*)
   8667 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8668 	  lt_prog_compiler_pic='-KPIC'
   8669 	  lt_prog_compiler_static='-Bstatic'
   8670 	  lt_prog_compiler_wl=''
   8671 	  ;;
   8672 	*Sun\ C*)
   8673 	  # Sun C 5.9
   8674 	  lt_prog_compiler_pic='-KPIC'
   8675 	  lt_prog_compiler_static='-Bstatic'
   8676 	  lt_prog_compiler_wl='-Wl,'
   8677 	  ;;
   8678 	esac
   8679 	;;
   8680       esac
   8681       ;;
   8682 
   8683     newsos6)
   8684       lt_prog_compiler_pic='-KPIC'
   8685       lt_prog_compiler_static='-Bstatic'
   8686       ;;
   8687 
   8688     *nto* | *qnx*)
   8689       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8690       # it will coredump.
   8691       lt_prog_compiler_pic='-fPIC -shared'
   8692       ;;
   8693 
   8694     osf3* | osf4* | osf5*)
   8695       lt_prog_compiler_wl='-Wl,'
   8696       # All OSF/1 code is PIC.
   8697       lt_prog_compiler_static='-non_shared'
   8698       ;;
   8699 
   8700     rdos*)
   8701       lt_prog_compiler_static='-non_shared'
   8702       ;;
   8703 
   8704     solaris*)
   8705       lt_prog_compiler_pic='-KPIC'
   8706       lt_prog_compiler_static='-Bstatic'
   8707       case $cc_basename in
   8708       f77* | f90* | f95*)
   8709 	lt_prog_compiler_wl='-Qoption ld ';;
   8710       *)
   8711 	lt_prog_compiler_wl='-Wl,';;
   8712       esac
   8713       ;;
   8714 
   8715     sunos4*)
   8716       lt_prog_compiler_wl='-Qoption ld '
   8717       lt_prog_compiler_pic='-PIC'
   8718       lt_prog_compiler_static='-Bstatic'
   8719       ;;
   8720 
   8721     sysv4 | sysv4.2uw2* | sysv4.3*)
   8722       lt_prog_compiler_wl='-Wl,'
   8723       lt_prog_compiler_pic='-KPIC'
   8724       lt_prog_compiler_static='-Bstatic'
   8725       ;;
   8726 
   8727     sysv4*MP*)
   8728       if test -d /usr/nec ;then
   8729 	lt_prog_compiler_pic='-Kconform_pic'
   8730 	lt_prog_compiler_static='-Bstatic'
   8731       fi
   8732       ;;
   8733 
   8734     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8735       lt_prog_compiler_wl='-Wl,'
   8736       lt_prog_compiler_pic='-KPIC'
   8737       lt_prog_compiler_static='-Bstatic'
   8738       ;;
   8739 
   8740     unicos*)
   8741       lt_prog_compiler_wl='-Wl,'
   8742       lt_prog_compiler_can_build_shared=no
   8743       ;;
   8744 
   8745     uts4*)
   8746       lt_prog_compiler_pic='-pic'
   8747       lt_prog_compiler_static='-Bstatic'
   8748       ;;
   8749 
   8750     *)
   8751       lt_prog_compiler_can_build_shared=no
   8752       ;;
   8753     esac
   8754   fi
   8755 
   8756 case $host_os in
   8757   # For platforms which do not support PIC, -DPIC is meaningless:
   8758   *djgpp*)
   8759     lt_prog_compiler_pic=
   8760     ;;
   8761   *)
   8762     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8763     ;;
   8764 esac
   8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8766 $as_echo "$lt_prog_compiler_pic" >&6; }
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 #
   8774 # Check to make sure the PIC flag actually works.
   8775 #
   8776 if test -n "$lt_prog_compiler_pic"; then
   8777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8778 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8779 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8780   $as_echo_n "(cached) " >&6
   8781 else
   8782   lt_cv_prog_compiler_pic_works=no
   8783    ac_outfile=conftest.$ac_objext
   8784    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8785    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8786    # Insert the option either (1) after the last *FLAGS variable, or
   8787    # (2) before a word containing "conftest.", or (3) at the end.
   8788    # Note that $ac_compile itself does not contain backslashes and begins
   8789    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8790    # The option is referenced via a variable to avoid confusing sed.
   8791    lt_compile=`echo "$ac_compile" | $SED \
   8792    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8793    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8794    -e 's:$: $lt_compiler_flag:'`
   8795    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8796    (eval "$lt_compile" 2>conftest.err)
   8797    ac_status=$?
   8798    cat conftest.err >&5
   8799    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8800    if (exit $ac_status) && test -s "$ac_outfile"; then
   8801      # The compiler can only warn and ignore the option if not recognized
   8802      # So say no if there are warnings other than the usual output.
   8803      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8804      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8805      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8806        lt_cv_prog_compiler_pic_works=yes
   8807      fi
   8808    fi
   8809    $RM conftest*
   8810 
   8811 fi
   8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8813 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8814 
   8815 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8816     case $lt_prog_compiler_pic in
   8817      "" | " "*) ;;
   8818      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8819      esac
   8820 else
   8821     lt_prog_compiler_pic=
   8822      lt_prog_compiler_can_build_shared=no
   8823 fi
   8824 
   8825 fi
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 #
   8833 # Check to make sure the static flag actually works.
   8834 #
   8835 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8837 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8838 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8839   $as_echo_n "(cached) " >&6
   8840 else
   8841   lt_cv_prog_compiler_static_works=no
   8842    save_LDFLAGS="$LDFLAGS"
   8843    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8844    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8845    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8846      # The linker can only warn and ignore the option if not recognized
   8847      # So say no if there are warnings
   8848      if test -s conftest.err; then
   8849        # Append any errors to the config.log.
   8850        cat conftest.err 1>&5
   8851        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8852        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8853        if diff conftest.exp conftest.er2 >/dev/null; then
   8854          lt_cv_prog_compiler_static_works=yes
   8855        fi
   8856      else
   8857        lt_cv_prog_compiler_static_works=yes
   8858      fi
   8859    fi
   8860    $RM -r conftest*
   8861    LDFLAGS="$save_LDFLAGS"
   8862 
   8863 fi
   8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8865 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8866 
   8867 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8868     :
   8869 else
   8870     lt_prog_compiler_static=
   8871 fi
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8880 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8881 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8882   $as_echo_n "(cached) " >&6
   8883 else
   8884   lt_cv_prog_compiler_c_o=no
   8885    $RM -r conftest 2>/dev/null
   8886    mkdir conftest
   8887    cd conftest
   8888    mkdir out
   8889    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8890 
   8891    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8892    # Insert the option either (1) after the last *FLAGS variable, or
   8893    # (2) before a word containing "conftest.", or (3) at the end.
   8894    # Note that $ac_compile itself does not contain backslashes and begins
   8895    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8896    lt_compile=`echo "$ac_compile" | $SED \
   8897    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8898    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8899    -e 's:$: $lt_compiler_flag:'`
   8900    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8901    (eval "$lt_compile" 2>out/conftest.err)
   8902    ac_status=$?
   8903    cat out/conftest.err >&5
   8904    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8905    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8906    then
   8907      # The compiler can only warn and ignore the option if not recognized
   8908      # So say no if there are warnings
   8909      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8910      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8911      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8912        lt_cv_prog_compiler_c_o=yes
   8913      fi
   8914    fi
   8915    chmod u+w . 2>&5
   8916    $RM conftest*
   8917    # SGI C++ compiler will create directory out/ii_files/ for
   8918    # template instantiation
   8919    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8920    $RM out/* && rmdir out
   8921    cd ..
   8922    $RM -r conftest
   8923    $RM conftest*
   8924 
   8925 fi
   8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8927 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8935 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8936 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8937   $as_echo_n "(cached) " >&6
   8938 else
   8939   lt_cv_prog_compiler_c_o=no
   8940    $RM -r conftest 2>/dev/null
   8941    mkdir conftest
   8942    cd conftest
   8943    mkdir out
   8944    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8945 
   8946    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8947    # Insert the option either (1) after the last *FLAGS variable, or
   8948    # (2) before a word containing "conftest.", or (3) at the end.
   8949    # Note that $ac_compile itself does not contain backslashes and begins
   8950    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8951    lt_compile=`echo "$ac_compile" | $SED \
   8952    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8953    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8954    -e 's:$: $lt_compiler_flag:'`
   8955    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8956    (eval "$lt_compile" 2>out/conftest.err)
   8957    ac_status=$?
   8958    cat out/conftest.err >&5
   8959    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8960    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8961    then
   8962      # The compiler can only warn and ignore the option if not recognized
   8963      # So say no if there are warnings
   8964      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8965      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8966      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8967        lt_cv_prog_compiler_c_o=yes
   8968      fi
   8969    fi
   8970    chmod u+w . 2>&5
   8971    $RM conftest*
   8972    # SGI C++ compiler will create directory out/ii_files/ for
   8973    # template instantiation
   8974    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8975    $RM out/* && rmdir out
   8976    cd ..
   8977    $RM -r conftest
   8978    $RM conftest*
   8979 
   8980 fi
   8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8982 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8983 
   8984 
   8985 
   8986 
   8987 hard_links="nottested"
   8988 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8989   # do not overwrite the value of need_locks provided by the user
   8990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8991 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8992   hard_links=yes
   8993   $RM conftest*
   8994   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8995   touch conftest.a
   8996   ln conftest.a conftest.b 2>&5 || hard_links=no
   8997   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8999 $as_echo "$hard_links" >&6; }
   9000   if test "$hard_links" = no; then
   9001     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9002 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9003     need_locks=warn
   9004   fi
   9005 else
   9006   need_locks=no
   9007 fi
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9015 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9016 
   9017   runpath_var=
   9018   allow_undefined_flag=
   9019   always_export_symbols=no
   9020   archive_cmds=
   9021   archive_expsym_cmds=
   9022   compiler_needs_object=no
   9023   enable_shared_with_static_runtimes=no
   9024   export_dynamic_flag_spec=
   9025   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9026   hardcode_automatic=no
   9027   hardcode_direct=no
   9028   hardcode_direct_absolute=no
   9029   hardcode_libdir_flag_spec=
   9030   hardcode_libdir_flag_spec_ld=
   9031   hardcode_libdir_separator=
   9032   hardcode_minus_L=no
   9033   hardcode_shlibpath_var=unsupported
   9034   inherit_rpath=no
   9035   link_all_deplibs=unknown
   9036   module_cmds=
   9037   module_expsym_cmds=
   9038   old_archive_from_new_cmds=
   9039   old_archive_from_expsyms_cmds=
   9040   thread_safe_flag_spec=
   9041   whole_archive_flag_spec=
   9042   # include_expsyms should be a list of space-separated symbols to be *always*
   9043   # included in the symbol list
   9044   include_expsyms=
   9045   # exclude_expsyms can be an extended regexp of symbols to exclude
   9046   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9047   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9048   # as well as any symbol that contains `d'.
   9049   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9050   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9051   # platforms (ab)use it in PIC code, but their linkers get confused if
   9052   # the symbol is explicitly referenced.  Since portable code cannot
   9053   # rely on this symbol name, it's probably fine to never include it in
   9054   # preloaded symbol tables.
   9055   # Exclude shared library initialization/finalization symbols.
   9056   extract_expsyms_cmds=
   9057 
   9058   case $host_os in
   9059   cygwin* | mingw* | pw32* | cegcc*)
   9060     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9061     # When not using gcc, we currently assume that we are using
   9062     # Microsoft Visual C++.
   9063     if test "$GCC" != yes; then
   9064       with_gnu_ld=no
   9065     fi
   9066     ;;
   9067   interix*)
   9068     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9069     with_gnu_ld=yes
   9070     ;;
   9071   openbsd*)
   9072     with_gnu_ld=no
   9073     ;;
   9074   esac
   9075 
   9076   ld_shlibs=yes
   9077 
   9078   # On some targets, GNU ld is compatible enough with the native linker
   9079   # that we're better off using the native interface for both.
   9080   lt_use_gnu_ld_interface=no
   9081   if test "$with_gnu_ld" = yes; then
   9082     case $host_os in
   9083       aix*)
   9084 	# The AIX port of GNU ld has always aspired to compatibility
   9085 	# with the native linker.  However, as the warning in the GNU ld
   9086 	# block says, versions before 2.19.5* couldn't really create working
   9087 	# shared libraries, regardless of the interface used.
   9088 	case `$LD -v 2>&1` in
   9089 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9090 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9091 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9092 	  *)
   9093 	    lt_use_gnu_ld_interface=yes
   9094 	    ;;
   9095 	esac
   9096 	;;
   9097       *)
   9098 	lt_use_gnu_ld_interface=yes
   9099 	;;
   9100     esac
   9101   fi
   9102 
   9103   if test "$lt_use_gnu_ld_interface" = yes; then
   9104     # If archive_cmds runs LD, not CC, wlarc should be empty
   9105     wlarc='${wl}'
   9106 
   9107     # Set some defaults for GNU ld with shared library support. These
   9108     # are reset later if shared libraries are not supported. Putting them
   9109     # here allows them to be overridden if necessary.
   9110     runpath_var=LD_RUN_PATH
   9111     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9112     export_dynamic_flag_spec='${wl}--export-dynamic'
   9113     # ancient GNU ld didn't support --whole-archive et. al.
   9114     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9115       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9116     else
   9117       whole_archive_flag_spec=
   9118     fi
   9119     supports_anon_versioning=no
   9120     case `$LD -v 2>&1` in
   9121       *GNU\ gold*) supports_anon_versioning=yes ;;
   9122       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9123       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9124       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9125       *\ 2.11.*) ;; # other 2.11 versions
   9126       *) supports_anon_versioning=yes ;;
   9127     esac
   9128 
   9129     # See if GNU ld supports shared libraries.
   9130     case $host_os in
   9131     aix[3-9]*)
   9132       # On AIX/PPC, the GNU linker is very broken
   9133       if test "$host_cpu" != ia64; then
   9134 	ld_shlibs=no
   9135 	cat <<_LT_EOF 1>&2
   9136 
   9137 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9138 *** to be unable to reliably create shared libraries on AIX.
   9139 *** Therefore, libtool is disabling shared libraries support.  If you
   9140 *** really care for shared libraries, you may want to install binutils
   9141 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9142 *** You will then need to restart the configuration process.
   9143 
   9144 _LT_EOF
   9145       fi
   9146       ;;
   9147 
   9148     amigaos*)
   9149       case $host_cpu in
   9150       powerpc)
   9151             # see comment about AmigaOS4 .so support
   9152             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9153             archive_expsym_cmds=''
   9154         ;;
   9155       m68k)
   9156             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)'
   9157             hardcode_libdir_flag_spec='-L$libdir'
   9158             hardcode_minus_L=yes
   9159         ;;
   9160       esac
   9161       ;;
   9162 
   9163     beos*)
   9164       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9165 	allow_undefined_flag=unsupported
   9166 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9167 	# support --undefined.  This deserves some investigation.  FIXME
   9168 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9169       else
   9170 	ld_shlibs=no
   9171       fi
   9172       ;;
   9173 
   9174     cygwin* | mingw* | pw32* | cegcc*)
   9175       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9176       # as there is no search path for DLLs.
   9177       hardcode_libdir_flag_spec='-L$libdir'
   9178       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9179       allow_undefined_flag=unsupported
   9180       always_export_symbols=no
   9181       enable_shared_with_static_runtimes=yes
   9182       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9183 
   9184       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9185         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9186 	# If the export-symbols file already is a .def file (1st line
   9187 	# is EXPORTS), use it as is; otherwise, prepend...
   9188 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9189 	  cp $export_symbols $output_objdir/$soname.def;
   9190 	else
   9191 	  echo EXPORTS > $output_objdir/$soname.def;
   9192 	  cat $export_symbols >> $output_objdir/$soname.def;
   9193 	fi~
   9194 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9195       else
   9196 	ld_shlibs=no
   9197       fi
   9198       ;;
   9199 
   9200     haiku*)
   9201       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9202       link_all_deplibs=yes
   9203       ;;
   9204 
   9205     interix[3-9]*)
   9206       hardcode_direct=no
   9207       hardcode_shlibpath_var=no
   9208       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9209       export_dynamic_flag_spec='${wl}-E'
   9210       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9211       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9212       # default) and relocated if they conflict, which is a slow very memory
   9213       # consuming and fragmenting process.  To avoid this, we pick a random,
   9214       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9215       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9216       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9217       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'
   9218       ;;
   9219 
   9220     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   9221       tmp_diet=no
   9222       if test "$host_os" = linux-dietlibc; then
   9223 	case $cc_basename in
   9224 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9225 	esac
   9226       fi
   9227       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9228 	 && test "$tmp_diet" = no
   9229       then
   9230 	tmp_addflag=' $pic_flag'
   9231 	tmp_sharedflag='-shared'
   9232 	case $cc_basename,$host_cpu in
   9233         pgcc*)				# Portland Group C compiler
   9234 	  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'
   9235 	  tmp_addflag=' $pic_flag'
   9236 	  ;;
   9237 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9238 					# Portland Group f77 and f90 compilers
   9239 	  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'
   9240 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9241 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9242 	  tmp_addflag=' -i_dynamic' ;;
   9243 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9244 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9245 	ifc* | ifort*)			# Intel Fortran compiler
   9246 	  tmp_addflag=' -nofor_main' ;;
   9247 	lf95*)				# Lahey Fortran 8.1
   9248 	  whole_archive_flag_spec=
   9249 	  tmp_sharedflag='--shared' ;;
   9250 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9251 	  tmp_sharedflag='-qmkshrobj'
   9252 	  tmp_addflag= ;;
   9253 	nvcc*)	# Cuda Compiler Driver 2.2
   9254 	  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'
   9255 	  compiler_needs_object=yes
   9256 	  ;;
   9257 	esac
   9258 	case `$CC -V 2>&1 | sed 5q` in
   9259 	*Sun\ C*)			# Sun C 5.9
   9260 	  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'
   9261 	  compiler_needs_object=yes
   9262 	  tmp_sharedflag='-G' ;;
   9263 	*Sun\ F*)			# Sun Fortran 8.3
   9264 	  tmp_sharedflag='-G' ;;
   9265 	esac
   9266 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9267 
   9268         if test "x$supports_anon_versioning" = xyes; then
   9269           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9270 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9271 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9272 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9273         fi
   9274 
   9275 	case $cc_basename in
   9276 	xlf* | bgf* | bgxlf* | mpixlf*)
   9277 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9278 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9279 	  hardcode_libdir_flag_spec=
   9280 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9281 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9282 	  if test "x$supports_anon_versioning" = xyes; then
   9283 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9284 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9285 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9286 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9287 	  fi
   9288 	  ;;
   9289 	esac
   9290       else
   9291         ld_shlibs=no
   9292       fi
   9293       ;;
   9294 
   9295     netbsd*)
   9296       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9297 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9298 	wlarc=
   9299       else
   9300 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9301 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9302       fi
   9303       ;;
   9304 
   9305     solaris*)
   9306       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9307 	ld_shlibs=no
   9308 	cat <<_LT_EOF 1>&2
   9309 
   9310 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9311 *** create shared libraries on Solaris systems.  Therefore, libtool
   9312 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9313 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9314 *** your PATH or compiler configuration so that the native linker is
   9315 *** used, and then restart.
   9316 
   9317 _LT_EOF
   9318       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9319 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9320 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9321       else
   9322 	ld_shlibs=no
   9323       fi
   9324       ;;
   9325 
   9326     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9327       case `$LD -v 2>&1` in
   9328         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9329 	ld_shlibs=no
   9330 	cat <<_LT_EOF 1>&2
   9331 
   9332 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9333 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9334 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9335 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9336 *** your PATH or compiler configuration so that the native linker is
   9337 *** used, and then restart.
   9338 
   9339 _LT_EOF
   9340 	;;
   9341 	*)
   9342 	  # For security reasons, it is highly recommended that you always
   9343 	  # use absolute paths for naming shared libraries, and exclude the
   9344 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9345 	  # requires that you compile everything twice, which is a pain.
   9346 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9347 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9348 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9349 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9350 	  else
   9351 	    ld_shlibs=no
   9352 	  fi
   9353 	;;
   9354       esac
   9355       ;;
   9356 
   9357     sunos4*)
   9358       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9359       wlarc=
   9360       hardcode_direct=yes
   9361       hardcode_shlibpath_var=no
   9362       ;;
   9363 
   9364     *)
   9365       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9366 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9367 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9368       else
   9369 	ld_shlibs=no
   9370       fi
   9371       ;;
   9372     esac
   9373 
   9374     if test "$ld_shlibs" = no; then
   9375       runpath_var=
   9376       hardcode_libdir_flag_spec=
   9377       export_dynamic_flag_spec=
   9378       whole_archive_flag_spec=
   9379     fi
   9380   else
   9381     # PORTME fill in a description of your system's linker (not GNU ld)
   9382     case $host_os in
   9383     aix3*)
   9384       allow_undefined_flag=unsupported
   9385       always_export_symbols=yes
   9386       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'
   9387       # Note: this linker hardcodes the directories in LIBPATH if there
   9388       # are no directories specified by -L.
   9389       hardcode_minus_L=yes
   9390       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9391 	# Neither direct hardcoding nor static linking is supported with a
   9392 	# broken collect2.
   9393 	hardcode_direct=unsupported
   9394       fi
   9395       ;;
   9396 
   9397     aix[4-9]*)
   9398       if test "$host_cpu" = ia64; then
   9399 	# On IA64, the linker does run time linking by default, so we don't
   9400 	# have to do anything special.
   9401 	aix_use_runtimelinking=no
   9402 	exp_sym_flag='-Bexport'
   9403 	no_entry_flag=""
   9404       else
   9405 	# If we're using GNU nm, then we don't want the "-C" option.
   9406 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9407 	# Also, AIX nm treats weak defined symbols like other global
   9408 	# defined symbols, whereas GNU nm marks them as "W".
   9409 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9410 	  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'
   9411 	else
   9412 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9413 	fi
   9414 	aix_use_runtimelinking=no
   9415 
   9416 	# Test if we are trying to use run time linking or normal
   9417 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9418 	# need to do runtime linking.
   9419 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9420 	  for ld_flag in $LDFLAGS; do
   9421 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9422 	    aix_use_runtimelinking=yes
   9423 	    break
   9424 	  fi
   9425 	  done
   9426 	  ;;
   9427 	esac
   9428 
   9429 	exp_sym_flag='-bexport'
   9430 	no_entry_flag='-bnoentry'
   9431       fi
   9432 
   9433       # When large executables or shared objects are built, AIX ld can
   9434       # have problems creating the table of contents.  If linking a library
   9435       # or program results in "error TOC overflow" add -mminimal-toc to
   9436       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9437       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9438 
   9439       archive_cmds=''
   9440       hardcode_direct=yes
   9441       hardcode_direct_absolute=yes
   9442       hardcode_libdir_separator=':'
   9443       link_all_deplibs=yes
   9444       file_list_spec='${wl}-f,'
   9445 
   9446       if test "$GCC" = yes; then
   9447 	case $host_os in aix4.[012]|aix4.[012].*)
   9448 	# We only want to do this on AIX 4.2 and lower, the check
   9449 	# below for broken collect2 doesn't work under 4.3+
   9450 	  collect2name=`${CC} -print-prog-name=collect2`
   9451 	  if test -f "$collect2name" &&
   9452 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9453 	  then
   9454 	  # We have reworked collect2
   9455 	  :
   9456 	  else
   9457 	  # We have old collect2
   9458 	  hardcode_direct=unsupported
   9459 	  # It fails to find uninstalled libraries when the uninstalled
   9460 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9461 	  # to unsupported forces relinking
   9462 	  hardcode_minus_L=yes
   9463 	  hardcode_libdir_flag_spec='-L$libdir'
   9464 	  hardcode_libdir_separator=
   9465 	  fi
   9466 	  ;;
   9467 	esac
   9468 	shared_flag='-shared'
   9469 	if test "$aix_use_runtimelinking" = yes; then
   9470 	  shared_flag="$shared_flag "'${wl}-G'
   9471 	fi
   9472       else
   9473 	# not using gcc
   9474 	if test "$host_cpu" = ia64; then
   9475 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9476 	# chokes on -Wl,-G. The following line is correct:
   9477 	  shared_flag='-G'
   9478 	else
   9479 	  if test "$aix_use_runtimelinking" = yes; then
   9480 	    shared_flag='${wl}-G'
   9481 	  else
   9482 	    shared_flag='${wl}-bM:SRE'
   9483 	  fi
   9484 	fi
   9485       fi
   9486 
   9487       export_dynamic_flag_spec='${wl}-bexpall'
   9488       # It seems that -bexpall does not export symbols beginning with
   9489       # underscore (_), so it is better to generate a list of symbols to export.
   9490       always_export_symbols=yes
   9491       if test "$aix_use_runtimelinking" = yes; then
   9492 	# Warning - without using the other runtime loading flags (-brtl),
   9493 	# -berok will link without error, but may produce a broken library.
   9494 	allow_undefined_flag='-berok'
   9495         # Determine the default libpath from the value encoded in an
   9496         # empty executable.
   9497         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9498 /* end confdefs.h.  */
   9499 
   9500 int
   9501 main ()
   9502 {
   9503 
   9504   ;
   9505   return 0;
   9506 }
   9507 _ACEOF
   9508 if ac_fn_c_try_link "$LINENO"; then :
   9509 
   9510 lt_aix_libpath_sed='
   9511     /Import File Strings/,/^$/ {
   9512 	/^0/ {
   9513 	    s/^0  *\(.*\)$/\1/
   9514 	    p
   9515 	}
   9516     }'
   9517 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9518 # Check for a 64-bit object if we didn't find anything.
   9519 if test -z "$aix_libpath"; then
   9520   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9521 fi
   9522 fi
   9523 rm -f core conftest.err conftest.$ac_objext \
   9524     conftest$ac_exeext conftest.$ac_ext
   9525 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9526 
   9527         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9528         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"
   9529       else
   9530 	if test "$host_cpu" = ia64; then
   9531 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9532 	  allow_undefined_flag="-z nodefs"
   9533 	  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"
   9534 	else
   9535 	 # Determine the default libpath from the value encoded in an
   9536 	 # empty executable.
   9537 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9538 /* end confdefs.h.  */
   9539 
   9540 int
   9541 main ()
   9542 {
   9543 
   9544   ;
   9545   return 0;
   9546 }
   9547 _ACEOF
   9548 if ac_fn_c_try_link "$LINENO"; then :
   9549 
   9550 lt_aix_libpath_sed='
   9551     /Import File Strings/,/^$/ {
   9552 	/^0/ {
   9553 	    s/^0  *\(.*\)$/\1/
   9554 	    p
   9555 	}
   9556     }'
   9557 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9558 # Check for a 64-bit object if we didn't find anything.
   9559 if test -z "$aix_libpath"; then
   9560   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9561 fi
   9562 fi
   9563 rm -f core conftest.err conftest.$ac_objext \
   9564     conftest$ac_exeext conftest.$ac_ext
   9565 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9566 
   9567 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9568 	  # Warning - without using the other run time loading flags,
   9569 	  # -berok will link without error, but may produce a broken library.
   9570 	  no_undefined_flag=' ${wl}-bernotok'
   9571 	  allow_undefined_flag=' ${wl}-berok'
   9572 	  if test "$with_gnu_ld" = yes; then
   9573 	    # We only use this code for GNU lds that support --whole-archive.
   9574 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9575 	  else
   9576 	    # Exported symbols can be pulled into shared objects from archives
   9577 	    whole_archive_flag_spec='$convenience'
   9578 	  fi
   9579 	  archive_cmds_need_lc=yes
   9580 	  # This is similar to how AIX traditionally builds its shared libraries.
   9581 	  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'
   9582 	fi
   9583       fi
   9584       ;;
   9585 
   9586     amigaos*)
   9587       case $host_cpu in
   9588       powerpc)
   9589             # see comment about AmigaOS4 .so support
   9590             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9591             archive_expsym_cmds=''
   9592         ;;
   9593       m68k)
   9594             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)'
   9595             hardcode_libdir_flag_spec='-L$libdir'
   9596             hardcode_minus_L=yes
   9597         ;;
   9598       esac
   9599       ;;
   9600 
   9601     bsdi[45]*)
   9602       export_dynamic_flag_spec=-rdynamic
   9603       ;;
   9604 
   9605     cygwin* | mingw* | pw32* | cegcc*)
   9606       # When not using gcc, we currently assume that we are using
   9607       # Microsoft Visual C++.
   9608       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9609       # no search path for DLLs.
   9610       hardcode_libdir_flag_spec=' '
   9611       allow_undefined_flag=unsupported
   9612       # Tell ltmain to make .lib files, not .a files.
   9613       libext=lib
   9614       # Tell ltmain to make .dll files, not .so files.
   9615       shrext_cmds=".dll"
   9616       # FIXME: Setting linknames here is a bad hack.
   9617       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9618       # The linker will automatically build a .lib file if we build a DLL.
   9619       old_archive_from_new_cmds='true'
   9620       # FIXME: Should let the user specify the lib program.
   9621       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9622       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9623       enable_shared_with_static_runtimes=yes
   9624       ;;
   9625 
   9626     darwin* | rhapsody*)
   9627 
   9628 
   9629   archive_cmds_need_lc=no
   9630   hardcode_direct=no
   9631   hardcode_automatic=yes
   9632   hardcode_shlibpath_var=unsupported
   9633   if test "$lt_cv_ld_force_load" = "yes"; then
   9634     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\"`'
   9635   else
   9636     whole_archive_flag_spec=''
   9637   fi
   9638   link_all_deplibs=yes
   9639   allow_undefined_flag="$_lt_dar_allow_undefined"
   9640   case $cc_basename in
   9641      ifort*) _lt_dar_can_shared=yes ;;
   9642      *) _lt_dar_can_shared=$GCC ;;
   9643   esac
   9644   if test "$_lt_dar_can_shared" = "yes"; then
   9645     output_verbose_link_cmd=func_echo_all
   9646     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9647     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9648     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}"
   9649     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}"
   9650 
   9651   else
   9652   ld_shlibs=no
   9653   fi
   9654 
   9655       ;;
   9656 
   9657     dgux*)
   9658       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9659       hardcode_libdir_flag_spec='-L$libdir'
   9660       hardcode_shlibpath_var=no
   9661       ;;
   9662 
   9663     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9664     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9665     # does not break anything, and helps significantly (at the cost of a little
   9666     # extra space).
   9667     freebsd2.2*)
   9668       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9669       hardcode_libdir_flag_spec='-R$libdir'
   9670       hardcode_direct=yes
   9671       hardcode_shlibpath_var=no
   9672       ;;
   9673 
   9674     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9675     freebsd2.*)
   9676       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9677       hardcode_direct=yes
   9678       hardcode_minus_L=yes
   9679       hardcode_shlibpath_var=no
   9680       ;;
   9681 
   9682     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9683     freebsd* | dragonfly*)
   9684       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9685       hardcode_libdir_flag_spec='-R$libdir'
   9686       hardcode_direct=yes
   9687       hardcode_shlibpath_var=no
   9688       ;;
   9689 
   9690     hpux9*)
   9691       if test "$GCC" = yes; then
   9692 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9693       else
   9694 	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'
   9695       fi
   9696       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9697       hardcode_libdir_separator=:
   9698       hardcode_direct=yes
   9699 
   9700       # hardcode_minus_L: Not really in the search PATH,
   9701       # but as the default location of the library.
   9702       hardcode_minus_L=yes
   9703       export_dynamic_flag_spec='${wl}-E'
   9704       ;;
   9705 
   9706     hpux10*)
   9707       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9708 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9709       else
   9710 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9711       fi
   9712       if test "$with_gnu_ld" = no; then
   9713 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9714 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9715 	hardcode_libdir_separator=:
   9716 	hardcode_direct=yes
   9717 	hardcode_direct_absolute=yes
   9718 	export_dynamic_flag_spec='${wl}-E'
   9719 	# hardcode_minus_L: Not really in the search PATH,
   9720 	# but as the default location of the library.
   9721 	hardcode_minus_L=yes
   9722       fi
   9723       ;;
   9724 
   9725     hpux11*)
   9726       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9727 	case $host_cpu in
   9728 	hppa*64*)
   9729 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9730 	  ;;
   9731 	ia64*)
   9732 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9733 	  ;;
   9734 	*)
   9735 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9736 	  ;;
   9737 	esac
   9738       else
   9739 	case $host_cpu in
   9740 	hppa*64*)
   9741 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9742 	  ;;
   9743 	ia64*)
   9744 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9745 	  ;;
   9746 	*)
   9747 
   9748 	  # Older versions of the 11.00 compiler do not understand -b yet
   9749 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9750 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9751 $as_echo_n "checking if $CC understands -b... " >&6; }
   9752 if ${lt_cv_prog_compiler__b+:} false; then :
   9753   $as_echo_n "(cached) " >&6
   9754 else
   9755   lt_cv_prog_compiler__b=no
   9756    save_LDFLAGS="$LDFLAGS"
   9757    LDFLAGS="$LDFLAGS -b"
   9758    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9759    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9760      # The linker can only warn and ignore the option if not recognized
   9761      # So say no if there are warnings
   9762      if test -s conftest.err; then
   9763        # Append any errors to the config.log.
   9764        cat conftest.err 1>&5
   9765        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9766        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9767        if diff conftest.exp conftest.er2 >/dev/null; then
   9768          lt_cv_prog_compiler__b=yes
   9769        fi
   9770      else
   9771        lt_cv_prog_compiler__b=yes
   9772      fi
   9773    fi
   9774    $RM -r conftest*
   9775    LDFLAGS="$save_LDFLAGS"
   9776 
   9777 fi
   9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9779 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9780 
   9781 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9782     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9783 else
   9784     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9785 fi
   9786 
   9787 	  ;;
   9788 	esac
   9789       fi
   9790       if test "$with_gnu_ld" = no; then
   9791 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9792 	hardcode_libdir_separator=:
   9793 
   9794 	case $host_cpu in
   9795 	hppa*64*|ia64*)
   9796 	  hardcode_direct=no
   9797 	  hardcode_shlibpath_var=no
   9798 	  ;;
   9799 	*)
   9800 	  hardcode_direct=yes
   9801 	  hardcode_direct_absolute=yes
   9802 	  export_dynamic_flag_spec='${wl}-E'
   9803 
   9804 	  # hardcode_minus_L: Not really in the search PATH,
   9805 	  # but as the default location of the library.
   9806 	  hardcode_minus_L=yes
   9807 	  ;;
   9808 	esac
   9809       fi
   9810       ;;
   9811 
   9812     irix5* | irix6* | nonstopux*)
   9813       if test "$GCC" = yes; then
   9814 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9815 	# Try to use the -exported_symbol ld option, if it does not
   9816 	# work, assume that -exports_file does not work either and
   9817 	# implicitly export all symbols.
   9818         save_LDFLAGS="$LDFLAGS"
   9819         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9820         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9821 /* end confdefs.h.  */
   9822 int foo(void) {}
   9823 _ACEOF
   9824 if ac_fn_c_try_link "$LINENO"; then :
   9825   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9826 
   9827 fi
   9828 rm -f core conftest.err conftest.$ac_objext \
   9829     conftest$ac_exeext conftest.$ac_ext
   9830         LDFLAGS="$save_LDFLAGS"
   9831       else
   9832 	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'
   9833 	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'
   9834       fi
   9835       archive_cmds_need_lc='no'
   9836       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9837       hardcode_libdir_separator=:
   9838       inherit_rpath=yes
   9839       link_all_deplibs=yes
   9840       ;;
   9841 
   9842     netbsd*)
   9843       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9844 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9845       else
   9846 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9847       fi
   9848       hardcode_libdir_flag_spec='-R$libdir'
   9849       hardcode_direct=yes
   9850       hardcode_shlibpath_var=no
   9851       ;;
   9852 
   9853     newsos6)
   9854       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9855       hardcode_direct=yes
   9856       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9857       hardcode_libdir_separator=:
   9858       hardcode_shlibpath_var=no
   9859       ;;
   9860 
   9861     *nto* | *qnx*)
   9862       ;;
   9863 
   9864     openbsd*)
   9865       if test -f /usr/libexec/ld.so; then
   9866 	hardcode_direct=yes
   9867 	hardcode_shlibpath_var=no
   9868 	hardcode_direct_absolute=yes
   9869 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9870 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9871 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9872 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9873 	  export_dynamic_flag_spec='${wl}-E'
   9874 	else
   9875 	  case $host_os in
   9876 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9877 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9878 	     hardcode_libdir_flag_spec='-R$libdir'
   9879 	     ;;
   9880 	   *)
   9881 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9882 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9883 	     ;;
   9884 	  esac
   9885 	fi
   9886       else
   9887 	ld_shlibs=no
   9888       fi
   9889       ;;
   9890 
   9891     os2*)
   9892       hardcode_libdir_flag_spec='-L$libdir'
   9893       hardcode_minus_L=yes
   9894       allow_undefined_flag=unsupported
   9895       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'
   9896       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9897       ;;
   9898 
   9899     osf3*)
   9900       if test "$GCC" = yes; then
   9901 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9902 	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'
   9903       else
   9904 	allow_undefined_flag=' -expect_unresolved \*'
   9905 	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'
   9906       fi
   9907       archive_cmds_need_lc='no'
   9908       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9909       hardcode_libdir_separator=:
   9910       ;;
   9911 
   9912     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9913       if test "$GCC" = yes; then
   9914 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9915 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9916 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9917       else
   9918 	allow_undefined_flag=' -expect_unresolved \*'
   9919 	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'
   9920 	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~
   9921 	$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'
   9922 
   9923 	# Both c and cxx compiler support -rpath directly
   9924 	hardcode_libdir_flag_spec='-rpath $libdir'
   9925       fi
   9926       archive_cmds_need_lc='no'
   9927       hardcode_libdir_separator=:
   9928       ;;
   9929 
   9930     solaris*)
   9931       no_undefined_flag=' -z defs'
   9932       if test "$GCC" = yes; then
   9933 	wlarc='${wl}'
   9934 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9935 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9936 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9937       else
   9938 	case `$CC -V 2>&1` in
   9939 	*"Compilers 5.0"*)
   9940 	  wlarc=''
   9941 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9942 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9943 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9944 	  ;;
   9945 	*)
   9946 	  wlarc='${wl}'
   9947 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9948 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9949 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9950 	  ;;
   9951 	esac
   9952       fi
   9953       hardcode_libdir_flag_spec='-R$libdir'
   9954       hardcode_shlibpath_var=no
   9955       case $host_os in
   9956       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9957       *)
   9958 	# The compiler driver will combine and reorder linker options,
   9959 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9960 	# but is careful enough not to reorder.
   9961 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9962 	if test "$GCC" = yes; then
   9963 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9964 	else
   9965 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9966 	fi
   9967 	;;
   9968       esac
   9969       link_all_deplibs=yes
   9970       ;;
   9971 
   9972     sunos4*)
   9973       if test "x$host_vendor" = xsequent; then
   9974 	# Use $CC to link under sequent, because it throws in some extra .o
   9975 	# files that make .init and .fini sections work.
   9976 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9977       else
   9978 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9979       fi
   9980       hardcode_libdir_flag_spec='-L$libdir'
   9981       hardcode_direct=yes
   9982       hardcode_minus_L=yes
   9983       hardcode_shlibpath_var=no
   9984       ;;
   9985 
   9986     sysv4)
   9987       case $host_vendor in
   9988 	sni)
   9989 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9990 	  hardcode_direct=yes # is this really true???
   9991 	;;
   9992 	siemens)
   9993 	  ## LD is ld it makes a PLAMLIB
   9994 	  ## CC just makes a GrossModule.
   9995 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9996 	  reload_cmds='$CC -r -o $output$reload_objs'
   9997 	  hardcode_direct=no
   9998         ;;
   9999 	motorola)
   10000 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10001 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10002 	;;
   10003       esac
   10004       runpath_var='LD_RUN_PATH'
   10005       hardcode_shlibpath_var=no
   10006       ;;
   10007 
   10008     sysv4.3*)
   10009       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10010       hardcode_shlibpath_var=no
   10011       export_dynamic_flag_spec='-Bexport'
   10012       ;;
   10013 
   10014     sysv4*MP*)
   10015       if test -d /usr/nec; then
   10016 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10017 	hardcode_shlibpath_var=no
   10018 	runpath_var=LD_RUN_PATH
   10019 	hardcode_runpath_var=yes
   10020 	ld_shlibs=yes
   10021       fi
   10022       ;;
   10023 
   10024     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10025       no_undefined_flag='${wl}-z,text'
   10026       archive_cmds_need_lc=no
   10027       hardcode_shlibpath_var=no
   10028       runpath_var='LD_RUN_PATH'
   10029 
   10030       if test "$GCC" = yes; then
   10031 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10032 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10033       else
   10034 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10035 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10036       fi
   10037       ;;
   10038 
   10039     sysv5* | sco3.2v5* | sco5v6*)
   10040       # Note: We can NOT use -z defs as we might desire, because we do not
   10041       # link with -lc, and that would cause any symbols used from libc to
   10042       # always be unresolved, which means just about no library would
   10043       # ever link correctly.  If we're not using GNU ld we use -z text
   10044       # though, which does catch some bad symbols but isn't as heavy-handed
   10045       # as -z defs.
   10046       no_undefined_flag='${wl}-z,text'
   10047       allow_undefined_flag='${wl}-z,nodefs'
   10048       archive_cmds_need_lc=no
   10049       hardcode_shlibpath_var=no
   10050       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10051       hardcode_libdir_separator=':'
   10052       link_all_deplibs=yes
   10053       export_dynamic_flag_spec='${wl}-Bexport'
   10054       runpath_var='LD_RUN_PATH'
   10055 
   10056       if test "$GCC" = yes; then
   10057 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10058 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10059       else
   10060 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10061 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10062       fi
   10063       ;;
   10064 
   10065     uts4*)
   10066       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10067       hardcode_libdir_flag_spec='-L$libdir'
   10068       hardcode_shlibpath_var=no
   10069       ;;
   10070 
   10071     *)
   10072       ld_shlibs=no
   10073       ;;
   10074     esac
   10075 
   10076     if test x$host_vendor = xsni; then
   10077       case $host in
   10078       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10079 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10080 	;;
   10081       esac
   10082     fi
   10083   fi
   10084 
   10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10086 $as_echo "$ld_shlibs" >&6; }
   10087 test "$ld_shlibs" = no && can_build_shared=no
   10088 
   10089 with_gnu_ld=$with_gnu_ld
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 #
   10106 # Do we need to explicitly link libc?
   10107 #
   10108 case "x$archive_cmds_need_lc" in
   10109 x|xyes)
   10110   # Assume -lc should be added
   10111   archive_cmds_need_lc=yes
   10112 
   10113   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10114     case $archive_cmds in
   10115     *'~'*)
   10116       # FIXME: we may have to deal with multi-command sequences.
   10117       ;;
   10118     '$CC '*)
   10119       # Test whether the compiler implicitly links with -lc since on some
   10120       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10121       # to ld, don't add -lc before -lgcc.
   10122       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10123 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10124 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10125   $as_echo_n "(cached) " >&6
   10126 else
   10127   $RM conftest*
   10128 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10129 
   10130 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10131   (eval $ac_compile) 2>&5
   10132   ac_status=$?
   10133   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10134   test $ac_status = 0; } 2>conftest.err; then
   10135 	  soname=conftest
   10136 	  lib=conftest
   10137 	  libobjs=conftest.$ac_objext
   10138 	  deplibs=
   10139 	  wl=$lt_prog_compiler_wl
   10140 	  pic_flag=$lt_prog_compiler_pic
   10141 	  compiler_flags=-v
   10142 	  linker_flags=-v
   10143 	  verstring=
   10144 	  output_objdir=.
   10145 	  libname=conftest
   10146 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10147 	  allow_undefined_flag=
   10148 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10149   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10150   ac_status=$?
   10151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10152   test $ac_status = 0; }
   10153 	  then
   10154 	    lt_cv_archive_cmds_need_lc=no
   10155 	  else
   10156 	    lt_cv_archive_cmds_need_lc=yes
   10157 	  fi
   10158 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10159 	else
   10160 	  cat conftest.err 1>&5
   10161 	fi
   10162 	$RM conftest*
   10163 
   10164 fi
   10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10166 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10167       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10168       ;;
   10169     esac
   10170   fi
   10171   ;;
   10172 esac
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10331 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10332 
   10333 if test "$GCC" = yes; then
   10334   case $host_os in
   10335     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10336     *) lt_awk_arg="/^libraries:/" ;;
   10337   esac
   10338   case $host_os in
   10339     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10340     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10341   esac
   10342   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10343   case $lt_search_path_spec in
   10344   *\;*)
   10345     # if the path contains ";" then we assume it to be the separator
   10346     # otherwise default to the standard path separator (i.e. ":") - it is
   10347     # assumed that no part of a normal pathname contains ";" but that should
   10348     # okay in the real world where ";" in dirpaths is itself problematic.
   10349     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10350     ;;
   10351   *)
   10352     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10353     ;;
   10354   esac
   10355   # Ok, now we have the path, separated by spaces, we can step through it
   10356   # and add multilib dir if necessary.
   10357   lt_tmp_lt_search_path_spec=
   10358   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10359   for lt_sys_path in $lt_search_path_spec; do
   10360     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10361       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10362     else
   10363       test -d "$lt_sys_path" && \
   10364 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10365     fi
   10366   done
   10367   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10368 BEGIN {RS=" "; FS="/|\n";} {
   10369   lt_foo="";
   10370   lt_count=0;
   10371   for (lt_i = NF; lt_i > 0; lt_i--) {
   10372     if ($lt_i != "" && $lt_i != ".") {
   10373       if ($lt_i == "..") {
   10374         lt_count++;
   10375       } else {
   10376         if (lt_count == 0) {
   10377           lt_foo="/" $lt_i lt_foo;
   10378         } else {
   10379           lt_count--;
   10380         }
   10381       }
   10382     }
   10383   }
   10384   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10385   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10386 }'`
   10387   # AWK program above erroneously prepends '/' to C:/dos/paths
   10388   # for these hosts.
   10389   case $host_os in
   10390     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10391       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10392   esac
   10393   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10394 else
   10395   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10396 fi
   10397 library_names_spec=
   10398 libname_spec='lib$name'
   10399 soname_spec=
   10400 shrext_cmds=".so"
   10401 postinstall_cmds=
   10402 postuninstall_cmds=
   10403 finish_cmds=
   10404 finish_eval=
   10405 shlibpath_var=
   10406 shlibpath_overrides_runpath=unknown
   10407 version_type=none
   10408 dynamic_linker="$host_os ld.so"
   10409 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10410 need_lib_prefix=unknown
   10411 hardcode_into_libs=no
   10412 
   10413 # when you set need_version to no, make sure it does not cause -set_version
   10414 # flags to be left without arguments
   10415 need_version=unknown
   10416 
   10417 case $host_os in
   10418 aix3*)
   10419   version_type=linux
   10420   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10421   shlibpath_var=LIBPATH
   10422 
   10423   # AIX 3 has no versioning support, so we append a major version to the name.
   10424   soname_spec='${libname}${release}${shared_ext}$major'
   10425   ;;
   10426 
   10427 aix[4-9]*)
   10428   version_type=linux
   10429   need_lib_prefix=no
   10430   need_version=no
   10431   hardcode_into_libs=yes
   10432   if test "$host_cpu" = ia64; then
   10433     # AIX 5 supports IA64
   10434     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10435     shlibpath_var=LD_LIBRARY_PATH
   10436   else
   10437     # With GCC up to 2.95.x, collect2 would create an import file
   10438     # for dependence libraries.  The import file would start with
   10439     # the line `#! .'.  This would cause the generated library to
   10440     # depend on `.', always an invalid library.  This was fixed in
   10441     # development snapshots of GCC prior to 3.0.
   10442     case $host_os in
   10443       aix4 | aix4.[01] | aix4.[01].*)
   10444       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10445 	   echo ' yes '
   10446 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10447 	:
   10448       else
   10449 	can_build_shared=no
   10450       fi
   10451       ;;
   10452     esac
   10453     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10454     # soname into executable. Probably we can add versioning support to
   10455     # collect2, so additional links can be useful in future.
   10456     if test "$aix_use_runtimelinking" = yes; then
   10457       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10458       # instead of lib<name>.a to let people know that these are not
   10459       # typical AIX shared libraries.
   10460       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10461     else
   10462       # We preserve .a as extension for shared libraries through AIX4.2
   10463       # and later when we are not doing run time linking.
   10464       library_names_spec='${libname}${release}.a $libname.a'
   10465       soname_spec='${libname}${release}${shared_ext}$major'
   10466     fi
   10467     shlibpath_var=LIBPATH
   10468   fi
   10469   ;;
   10470 
   10471 amigaos*)
   10472   case $host_cpu in
   10473   powerpc)
   10474     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10475     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10476     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10477     ;;
   10478   m68k)
   10479     library_names_spec='$libname.ixlibrary $libname.a'
   10480     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10481     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'
   10482     ;;
   10483   esac
   10484   ;;
   10485 
   10486 beos*)
   10487   library_names_spec='${libname}${shared_ext}'
   10488   dynamic_linker="$host_os ld.so"
   10489   shlibpath_var=LIBRARY_PATH
   10490   ;;
   10491 
   10492 bsdi[45]*)
   10493   version_type=linux
   10494   need_version=no
   10495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10496   soname_spec='${libname}${release}${shared_ext}$major'
   10497   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10498   shlibpath_var=LD_LIBRARY_PATH
   10499   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10500   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10501   # the default ld.so.conf also contains /usr/contrib/lib and
   10502   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10503   # libtool to hard-code these into programs
   10504   ;;
   10505 
   10506 cygwin* | mingw* | pw32* | cegcc*)
   10507   version_type=windows
   10508   shrext_cmds=".dll"
   10509   need_version=no
   10510   need_lib_prefix=no
   10511 
   10512   case $GCC,$host_os in
   10513   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10514     library_names_spec='$libname.dll.a'
   10515     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10516     postinstall_cmds='base_file=`basename \${file}`~
   10517       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10518       dldir=$destdir/`dirname \$dlpath`~
   10519       test -d \$dldir || mkdir -p \$dldir~
   10520       $install_prog $dir/$dlname \$dldir/$dlname~
   10521       chmod a+x \$dldir/$dlname~
   10522       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10523         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10524       fi'
   10525     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10526       dlpath=$dir/\$dldll~
   10527        $RM \$dlpath'
   10528     shlibpath_overrides_runpath=yes
   10529 
   10530     case $host_os in
   10531     cygwin*)
   10532       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10533       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10534 
   10535       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10536       ;;
   10537     mingw* | cegcc*)
   10538       # MinGW DLLs use traditional 'lib' prefix
   10539       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10540       ;;
   10541     pw32*)
   10542       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10543       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10544       ;;
   10545     esac
   10546     ;;
   10547 
   10548   *)
   10549     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10550     ;;
   10551   esac
   10552   dynamic_linker='Win32 ld.exe'
   10553   # FIXME: first we should search . and the directory the executable is in
   10554   shlibpath_var=PATH
   10555   ;;
   10556 
   10557 darwin* | rhapsody*)
   10558   dynamic_linker="$host_os dyld"
   10559   version_type=darwin
   10560   need_lib_prefix=no
   10561   need_version=no
   10562   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10563   soname_spec='${libname}${release}${major}$shared_ext'
   10564   shlibpath_overrides_runpath=yes
   10565   shlibpath_var=DYLD_LIBRARY_PATH
   10566   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10567 
   10568   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10569   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10570   ;;
   10571 
   10572 dgux*)
   10573   version_type=linux
   10574   need_lib_prefix=no
   10575   need_version=no
   10576   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10577   soname_spec='${libname}${release}${shared_ext}$major'
   10578   shlibpath_var=LD_LIBRARY_PATH
   10579   ;;
   10580 
   10581 freebsd* | dragonfly*)
   10582   # DragonFly does not have aout.  When/if they implement a new
   10583   # versioning mechanism, adjust this.
   10584   if test -x /usr/bin/objformat; then
   10585     objformat=`/usr/bin/objformat`
   10586   else
   10587     case $host_os in
   10588     freebsd[23].*) objformat=aout ;;
   10589     *) objformat=elf ;;
   10590     esac
   10591   fi
   10592   version_type=freebsd-$objformat
   10593   case $version_type in
   10594     freebsd-elf*)
   10595       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10596       need_version=no
   10597       need_lib_prefix=no
   10598       ;;
   10599     freebsd-*)
   10600       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10601       need_version=yes
   10602       ;;
   10603   esac
   10604   shlibpath_var=LD_LIBRARY_PATH
   10605   case $host_os in
   10606   freebsd2.*)
   10607     shlibpath_overrides_runpath=yes
   10608     ;;
   10609   freebsd3.[01]* | freebsdelf3.[01]*)
   10610     shlibpath_overrides_runpath=yes
   10611     hardcode_into_libs=yes
   10612     ;;
   10613   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10614   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10615     shlibpath_overrides_runpath=no
   10616     hardcode_into_libs=yes
   10617     ;;
   10618   *) # from 4.6 on, and DragonFly
   10619     shlibpath_overrides_runpath=yes
   10620     hardcode_into_libs=yes
   10621     ;;
   10622   esac
   10623   ;;
   10624 
   10625 haiku*)
   10626   version_type=linux
   10627   need_lib_prefix=no
   10628   need_version=no
   10629   dynamic_linker="$host_os runtime_loader"
   10630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10631   soname_spec='${libname}${release}${shared_ext}$major'
   10632   shlibpath_var=LIBRARY_PATH
   10633   shlibpath_overrides_runpath=yes
   10634   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
   10635   hardcode_into_libs=yes
   10636   ;;
   10637 
   10638 hpux9* | hpux10* | hpux11*)
   10639   # Give a soname corresponding to the major version so that dld.sl refuses to
   10640   # link against other versions.
   10641   version_type=sunos
   10642   need_lib_prefix=no
   10643   need_version=no
   10644   case $host_cpu in
   10645   ia64*)
   10646     shrext_cmds='.so'
   10647     hardcode_into_libs=yes
   10648     dynamic_linker="$host_os dld.so"
   10649     shlibpath_var=LD_LIBRARY_PATH
   10650     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10651     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10652     soname_spec='${libname}${release}${shared_ext}$major'
   10653     if test "X$HPUX_IA64_MODE" = X32; then
   10654       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10655     else
   10656       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10657     fi
   10658     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10659     ;;
   10660   hppa*64*)
   10661     shrext_cmds='.sl'
   10662     hardcode_into_libs=yes
   10663     dynamic_linker="$host_os dld.sl"
   10664     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10665     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10666     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10667     soname_spec='${libname}${release}${shared_ext}$major'
   10668     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10669     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10670     ;;
   10671   *)
   10672     shrext_cmds='.sl'
   10673     dynamic_linker="$host_os dld.sl"
   10674     shlibpath_var=SHLIB_PATH
   10675     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10676     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10677     soname_spec='${libname}${release}${shared_ext}$major'
   10678     ;;
   10679   esac
   10680   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10681   postinstall_cmds='chmod 555 $lib'
   10682   # or fails outright, so override atomically:
   10683   install_override_mode=555
   10684   ;;
   10685 
   10686 interix[3-9]*)
   10687   version_type=linux
   10688   need_lib_prefix=no
   10689   need_version=no
   10690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10691   soname_spec='${libname}${release}${shared_ext}$major'
   10692   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10693   shlibpath_var=LD_LIBRARY_PATH
   10694   shlibpath_overrides_runpath=no
   10695   hardcode_into_libs=yes
   10696   ;;
   10697 
   10698 irix5* | irix6* | nonstopux*)
   10699   case $host_os in
   10700     nonstopux*) version_type=nonstopux ;;
   10701     *)
   10702 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10703 		version_type=linux
   10704 	else
   10705 		version_type=irix
   10706 	fi ;;
   10707   esac
   10708   need_lib_prefix=no
   10709   need_version=no
   10710   soname_spec='${libname}${release}${shared_ext}$major'
   10711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10712   case $host_os in
   10713   irix5* | nonstopux*)
   10714     libsuff= shlibsuff=
   10715     ;;
   10716   *)
   10717     case $LD in # libtool.m4 will add one of these switches to LD
   10718     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10719       libsuff= shlibsuff= libmagic=32-bit;;
   10720     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10721       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10722     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10723       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10724     *) libsuff= shlibsuff= libmagic=never-match;;
   10725     esac
   10726     ;;
   10727   esac
   10728   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10729   shlibpath_overrides_runpath=no
   10730   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10731   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10732   hardcode_into_libs=yes
   10733   ;;
   10734 
   10735 # No shared lib support for Linux oldld, aout, or coff.
   10736 linux*oldld* | linux*aout* | linux*coff*)
   10737   dynamic_linker=no
   10738   ;;
   10739 
   10740 # This must be Linux ELF.
   10741 
   10742 # uclinux* changes (here and below) have been submitted to the libtool
   10743 # project, but have not yet been accepted: they are GCC-local changes
   10744 # for the time being.  (See
   10745 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   10746 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   10747   version_type=linux
   10748   need_lib_prefix=no
   10749   need_version=no
   10750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10751   soname_spec='${libname}${release}${shared_ext}$major'
   10752   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10753   shlibpath_var=LD_LIBRARY_PATH
   10754   shlibpath_overrides_runpath=no
   10755 
   10756   # Some binutils ld are patched to set DT_RUNPATH
   10757   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10758   $as_echo_n "(cached) " >&6
   10759 else
   10760   lt_cv_shlibpath_overrides_runpath=no
   10761     save_LDFLAGS=$LDFLAGS
   10762     save_libdir=$libdir
   10763     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10764 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10765     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10766 /* end confdefs.h.  */
   10767 
   10768 int
   10769 main ()
   10770 {
   10771 
   10772   ;
   10773   return 0;
   10774 }
   10775 _ACEOF
   10776 if ac_fn_c_try_link "$LINENO"; then :
   10777   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10778   lt_cv_shlibpath_overrides_runpath=yes
   10779 fi
   10780 fi
   10781 rm -f core conftest.err conftest.$ac_objext \
   10782     conftest$ac_exeext conftest.$ac_ext
   10783     LDFLAGS=$save_LDFLAGS
   10784     libdir=$save_libdir
   10785 
   10786 fi
   10787 
   10788   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10789 
   10790   # This implies no fast_install, which is unacceptable.
   10791   # Some rework will be needed to allow for fast_install
   10792   # before this can be enabled.
   10793   hardcode_into_libs=yes
   10794 
   10795   # Append ld.so.conf contents to the search path
   10796   if test -f /etc/ld.so.conf; then
   10797     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' ' '`
   10798     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10799   fi
   10800 
   10801   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10802   # powerpc, because MkLinux only supported shared libraries with the
   10803   # GNU dynamic linker.  Since this was broken with cross compilers,
   10804   # most powerpc-linux boxes support dynamic linking these days and
   10805   # people can always --disable-shared, the test was removed, and we
   10806   # assume the GNU/Linux dynamic linker is in use.
   10807   dynamic_linker='GNU/Linux ld.so'
   10808   ;;
   10809 
   10810 netbsd*)
   10811   version_type=sunos
   10812   need_lib_prefix=no
   10813   need_version=no
   10814   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10815     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10816     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10817     dynamic_linker='NetBSD (a.out) ld.so'
   10818   else
   10819     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10820     soname_spec='${libname}${release}${shared_ext}$major'
   10821     dynamic_linker='NetBSD ld.elf_so'
   10822   fi
   10823   shlibpath_var=LD_LIBRARY_PATH
   10824   shlibpath_overrides_runpath=yes
   10825   hardcode_into_libs=yes
   10826   ;;
   10827 
   10828 newsos6)
   10829   version_type=linux
   10830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10831   shlibpath_var=LD_LIBRARY_PATH
   10832   shlibpath_overrides_runpath=yes
   10833   ;;
   10834 
   10835 *nto* | *qnx*)
   10836   version_type=qnx
   10837   need_lib_prefix=no
   10838   need_version=no
   10839   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10840   soname_spec='${libname}${release}${shared_ext}$major'
   10841   shlibpath_var=LD_LIBRARY_PATH
   10842   shlibpath_overrides_runpath=no
   10843   hardcode_into_libs=yes
   10844   dynamic_linker='ldqnx.so'
   10845   ;;
   10846 
   10847 openbsd*)
   10848   version_type=sunos
   10849   sys_lib_dlsearch_path_spec="/usr/lib"
   10850   need_lib_prefix=no
   10851   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10852   case $host_os in
   10853     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10854     *)				need_version=no  ;;
   10855   esac
   10856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10857   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10858   shlibpath_var=LD_LIBRARY_PATH
   10859   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10860     case $host_os in
   10861       openbsd2.[89] | openbsd2.[89].*)
   10862 	shlibpath_overrides_runpath=no
   10863 	;;
   10864       *)
   10865 	shlibpath_overrides_runpath=yes
   10866 	;;
   10867       esac
   10868   else
   10869     shlibpath_overrides_runpath=yes
   10870   fi
   10871   ;;
   10872 
   10873 os2*)
   10874   libname_spec='$name'
   10875   shrext_cmds=".dll"
   10876   need_lib_prefix=no
   10877   library_names_spec='$libname${shared_ext} $libname.a'
   10878   dynamic_linker='OS/2 ld.exe'
   10879   shlibpath_var=LIBPATH
   10880   ;;
   10881 
   10882 osf3* | osf4* | osf5*)
   10883   version_type=osf
   10884   need_lib_prefix=no
   10885   need_version=no
   10886   soname_spec='${libname}${release}${shared_ext}$major'
   10887   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10888   shlibpath_var=LD_LIBRARY_PATH
   10889   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10890   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10891   ;;
   10892 
   10893 rdos*)
   10894   dynamic_linker=no
   10895   ;;
   10896 
   10897 solaris*)
   10898   version_type=linux
   10899   need_lib_prefix=no
   10900   need_version=no
   10901   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10902   soname_spec='${libname}${release}${shared_ext}$major'
   10903   shlibpath_var=LD_LIBRARY_PATH
   10904   shlibpath_overrides_runpath=yes
   10905   hardcode_into_libs=yes
   10906   # ldd complains unless libraries are executable
   10907   postinstall_cmds='chmod +x $lib'
   10908   ;;
   10909 
   10910 sunos4*)
   10911   version_type=sunos
   10912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10913   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10914   shlibpath_var=LD_LIBRARY_PATH
   10915   shlibpath_overrides_runpath=yes
   10916   if test "$with_gnu_ld" = yes; then
   10917     need_lib_prefix=no
   10918   fi
   10919   need_version=yes
   10920   ;;
   10921 
   10922 sysv4 | sysv4.3*)
   10923   version_type=linux
   10924   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10925   soname_spec='${libname}${release}${shared_ext}$major'
   10926   shlibpath_var=LD_LIBRARY_PATH
   10927   case $host_vendor in
   10928     sni)
   10929       shlibpath_overrides_runpath=no
   10930       need_lib_prefix=no
   10931       runpath_var=LD_RUN_PATH
   10932       ;;
   10933     siemens)
   10934       need_lib_prefix=no
   10935       ;;
   10936     motorola)
   10937       need_lib_prefix=no
   10938       need_version=no
   10939       shlibpath_overrides_runpath=no
   10940       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10941       ;;
   10942   esac
   10943   ;;
   10944 
   10945 sysv4*MP*)
   10946   if test -d /usr/nec ;then
   10947     version_type=linux
   10948     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10949     soname_spec='$libname${shared_ext}.$major'
   10950     shlibpath_var=LD_LIBRARY_PATH
   10951   fi
   10952   ;;
   10953 
   10954 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10955   version_type=freebsd-elf
   10956   need_lib_prefix=no
   10957   need_version=no
   10958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10959   soname_spec='${libname}${release}${shared_ext}$major'
   10960   shlibpath_var=LD_LIBRARY_PATH
   10961   shlibpath_overrides_runpath=yes
   10962   hardcode_into_libs=yes
   10963   if test "$with_gnu_ld" = yes; then
   10964     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10965   else
   10966     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10967     case $host_os in
   10968       sco3.2v5*)
   10969         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10970 	;;
   10971     esac
   10972   fi
   10973   sys_lib_dlsearch_path_spec='/usr/lib'
   10974   ;;
   10975 
   10976 tpf*)
   10977   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10978   version_type=linux
   10979   need_lib_prefix=no
   10980   need_version=no
   10981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10982   shlibpath_var=LD_LIBRARY_PATH
   10983   shlibpath_overrides_runpath=no
   10984   hardcode_into_libs=yes
   10985   ;;
   10986 
   10987 uts4*)
   10988   version_type=linux
   10989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10990   soname_spec='${libname}${release}${shared_ext}$major'
   10991   shlibpath_var=LD_LIBRARY_PATH
   10992   ;;
   10993 
   10994 *)
   10995   dynamic_linker=no
   10996   ;;
   10997 esac
   10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10999 $as_echo "$dynamic_linker" >&6; }
   11000 test "$dynamic_linker" = no && can_build_shared=no
   11001 
   11002 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11003 if test "$GCC" = yes; then
   11004   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11005 fi
   11006 
   11007 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11008   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11009 fi
   11010 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11011   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11012 fi
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11106 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11107 hardcode_action=
   11108 if test -n "$hardcode_libdir_flag_spec" ||
   11109    test -n "$runpath_var" ||
   11110    test "X$hardcode_automatic" = "Xyes" ; then
   11111 
   11112   # We can hardcode non-existent directories.
   11113   if test "$hardcode_direct" != no &&
   11114      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11115      # have to relink, otherwise we might link with an installed library
   11116      # when we should be linking with a yet-to-be-installed one
   11117      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11118      test "$hardcode_minus_L" != no; then
   11119     # Linking always hardcodes the temporary library directory.
   11120     hardcode_action=relink
   11121   else
   11122     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11123     hardcode_action=immediate
   11124   fi
   11125 else
   11126   # We cannot hardcode anything, or else we can only hardcode existing
   11127   # directories.
   11128   hardcode_action=unsupported
   11129 fi
   11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11131 $as_echo "$hardcode_action" >&6; }
   11132 
   11133 if test "$hardcode_action" = relink ||
   11134    test "$inherit_rpath" = yes; then
   11135   # Fast installation is not supported
   11136   enable_fast_install=no
   11137 elif test "$shlibpath_overrides_runpath" = yes ||
   11138      test "$enable_shared" = no; then
   11139   # Fast installation is not necessary
   11140   enable_fast_install=needless
   11141 fi
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148   if test "x$enable_dlopen" != xyes; then
   11149   enable_dlopen=unknown
   11150   enable_dlopen_self=unknown
   11151   enable_dlopen_self_static=unknown
   11152 else
   11153   lt_cv_dlopen=no
   11154   lt_cv_dlopen_libs=
   11155 
   11156   case $host_os in
   11157   beos*)
   11158     lt_cv_dlopen="load_add_on"
   11159     lt_cv_dlopen_libs=
   11160     lt_cv_dlopen_self=yes
   11161     ;;
   11162 
   11163   mingw* | pw32* | cegcc*)
   11164     lt_cv_dlopen="LoadLibrary"
   11165     lt_cv_dlopen_libs=
   11166     ;;
   11167 
   11168   cygwin*)
   11169     lt_cv_dlopen="dlopen"
   11170     lt_cv_dlopen_libs=
   11171     ;;
   11172 
   11173   darwin*)
   11174   # if libdl is installed we need to link against it
   11175     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11176 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11177 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11178   $as_echo_n "(cached) " >&6
   11179 else
   11180   ac_check_lib_save_LIBS=$LIBS
   11181 LIBS="-ldl  $LIBS"
   11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11183 /* end confdefs.h.  */
   11184 
   11185 /* Override any GCC internal prototype to avoid an error.
   11186    Use char because int might match the return type of a GCC
   11187    builtin and then its argument prototype would still apply.  */
   11188 #ifdef __cplusplus
   11189 extern "C"
   11190 #endif
   11191 char dlopen ();
   11192 int
   11193 main ()
   11194 {
   11195 return dlopen ();
   11196   ;
   11197   return 0;
   11198 }
   11199 _ACEOF
   11200 if ac_fn_c_try_link "$LINENO"; then :
   11201   ac_cv_lib_dl_dlopen=yes
   11202 else
   11203   ac_cv_lib_dl_dlopen=no
   11204 fi
   11205 rm -f core conftest.err conftest.$ac_objext \
   11206     conftest$ac_exeext conftest.$ac_ext
   11207 LIBS=$ac_check_lib_save_LIBS
   11208 fi
   11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11210 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11211 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11212   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11213 else
   11214 
   11215     lt_cv_dlopen="dyld"
   11216     lt_cv_dlopen_libs=
   11217     lt_cv_dlopen_self=yes
   11218 
   11219 fi
   11220 
   11221     ;;
   11222 
   11223   *)
   11224     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11225 if test "x$ac_cv_func_shl_load" = xyes; then :
   11226   lt_cv_dlopen="shl_load"
   11227 else
   11228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11229 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11230 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11231   $as_echo_n "(cached) " >&6
   11232 else
   11233   ac_check_lib_save_LIBS=$LIBS
   11234 LIBS="-ldld  $LIBS"
   11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11236 /* end confdefs.h.  */
   11237 
   11238 /* Override any GCC internal prototype to avoid an error.
   11239    Use char because int might match the return type of a GCC
   11240    builtin and then its argument prototype would still apply.  */
   11241 #ifdef __cplusplus
   11242 extern "C"
   11243 #endif
   11244 char shl_load ();
   11245 int
   11246 main ()
   11247 {
   11248 return shl_load ();
   11249   ;
   11250   return 0;
   11251 }
   11252 _ACEOF
   11253 if ac_fn_c_try_link "$LINENO"; then :
   11254   ac_cv_lib_dld_shl_load=yes
   11255 else
   11256   ac_cv_lib_dld_shl_load=no
   11257 fi
   11258 rm -f core conftest.err conftest.$ac_objext \
   11259     conftest$ac_exeext conftest.$ac_ext
   11260 LIBS=$ac_check_lib_save_LIBS
   11261 fi
   11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11263 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11264 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11265   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11266 else
   11267   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11268 if test "x$ac_cv_func_dlopen" = xyes; then :
   11269   lt_cv_dlopen="dlopen"
   11270 else
   11271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11272 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11273 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11274   $as_echo_n "(cached) " >&6
   11275 else
   11276   ac_check_lib_save_LIBS=$LIBS
   11277 LIBS="-ldl  $LIBS"
   11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11279 /* end confdefs.h.  */
   11280 
   11281 /* Override any GCC internal prototype to avoid an error.
   11282    Use char because int might match the return type of a GCC
   11283    builtin and then its argument prototype would still apply.  */
   11284 #ifdef __cplusplus
   11285 extern "C"
   11286 #endif
   11287 char dlopen ();
   11288 int
   11289 main ()
   11290 {
   11291 return dlopen ();
   11292   ;
   11293   return 0;
   11294 }
   11295 _ACEOF
   11296 if ac_fn_c_try_link "$LINENO"; then :
   11297   ac_cv_lib_dl_dlopen=yes
   11298 else
   11299   ac_cv_lib_dl_dlopen=no
   11300 fi
   11301 rm -f core conftest.err conftest.$ac_objext \
   11302     conftest$ac_exeext conftest.$ac_ext
   11303 LIBS=$ac_check_lib_save_LIBS
   11304 fi
   11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11306 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11307 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11308   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11309 else
   11310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11311 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11312 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11313   $as_echo_n "(cached) " >&6
   11314 else
   11315   ac_check_lib_save_LIBS=$LIBS
   11316 LIBS="-lsvld  $LIBS"
   11317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11318 /* end confdefs.h.  */
   11319 
   11320 /* Override any GCC internal prototype to avoid an error.
   11321    Use char because int might match the return type of a GCC
   11322    builtin and then its argument prototype would still apply.  */
   11323 #ifdef __cplusplus
   11324 extern "C"
   11325 #endif
   11326 char dlopen ();
   11327 int
   11328 main ()
   11329 {
   11330 return dlopen ();
   11331   ;
   11332   return 0;
   11333 }
   11334 _ACEOF
   11335 if ac_fn_c_try_link "$LINENO"; then :
   11336   ac_cv_lib_svld_dlopen=yes
   11337 else
   11338   ac_cv_lib_svld_dlopen=no
   11339 fi
   11340 rm -f core conftest.err conftest.$ac_objext \
   11341     conftest$ac_exeext conftest.$ac_ext
   11342 LIBS=$ac_check_lib_save_LIBS
   11343 fi
   11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11345 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11346 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11347   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11348 else
   11349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11350 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11351 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11352   $as_echo_n "(cached) " >&6
   11353 else
   11354   ac_check_lib_save_LIBS=$LIBS
   11355 LIBS="-ldld  $LIBS"
   11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11357 /* end confdefs.h.  */
   11358 
   11359 /* Override any GCC internal prototype to avoid an error.
   11360    Use char because int might match the return type of a GCC
   11361    builtin and then its argument prototype would still apply.  */
   11362 #ifdef __cplusplus
   11363 extern "C"
   11364 #endif
   11365 char dld_link ();
   11366 int
   11367 main ()
   11368 {
   11369 return dld_link ();
   11370   ;
   11371   return 0;
   11372 }
   11373 _ACEOF
   11374 if ac_fn_c_try_link "$LINENO"; then :
   11375   ac_cv_lib_dld_dld_link=yes
   11376 else
   11377   ac_cv_lib_dld_dld_link=no
   11378 fi
   11379 rm -f core conftest.err conftest.$ac_objext \
   11380     conftest$ac_exeext conftest.$ac_ext
   11381 LIBS=$ac_check_lib_save_LIBS
   11382 fi
   11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11384 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11385 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11386   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11387 fi
   11388 
   11389 
   11390 fi
   11391 
   11392 
   11393 fi
   11394 
   11395 
   11396 fi
   11397 
   11398 
   11399 fi
   11400 
   11401 
   11402 fi
   11403 
   11404     ;;
   11405   esac
   11406 
   11407   if test "x$lt_cv_dlopen" != xno; then
   11408     enable_dlopen=yes
   11409   else
   11410     enable_dlopen=no
   11411   fi
   11412 
   11413   case $lt_cv_dlopen in
   11414   dlopen)
   11415     save_CPPFLAGS="$CPPFLAGS"
   11416     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11417 
   11418     save_LDFLAGS="$LDFLAGS"
   11419     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11420 
   11421     save_LIBS="$LIBS"
   11422     LIBS="$lt_cv_dlopen_libs $LIBS"
   11423 
   11424     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11425 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11426 if ${lt_cv_dlopen_self+:} false; then :
   11427   $as_echo_n "(cached) " >&6
   11428 else
   11429   	  if test "$cross_compiling" = yes; then :
   11430   lt_cv_dlopen_self=cross
   11431 else
   11432   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11433   lt_status=$lt_dlunknown
   11434   cat > conftest.$ac_ext <<_LT_EOF
   11435 #line 11435 "configure"
   11436 #include "confdefs.h"
   11437 
   11438 #if HAVE_DLFCN_H
   11439 #include <dlfcn.h>
   11440 #endif
   11441 
   11442 #include <stdio.h>
   11443 
   11444 #ifdef RTLD_GLOBAL
   11445 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11446 #else
   11447 #  ifdef DL_GLOBAL
   11448 #    define LT_DLGLOBAL		DL_GLOBAL
   11449 #  else
   11450 #    define LT_DLGLOBAL		0
   11451 #  endif
   11452 #endif
   11453 
   11454 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11455    find out it does not work in some platform. */
   11456 #ifndef LT_DLLAZY_OR_NOW
   11457 #  ifdef RTLD_LAZY
   11458 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11459 #  else
   11460 #    ifdef DL_LAZY
   11461 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11462 #    else
   11463 #      ifdef RTLD_NOW
   11464 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11465 #      else
   11466 #        ifdef DL_NOW
   11467 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11468 #        else
   11469 #          define LT_DLLAZY_OR_NOW	0
   11470 #        endif
   11471 #      endif
   11472 #    endif
   11473 #  endif
   11474 #endif
   11475 
   11476 /* When -fvisbility=hidden is used, assume the code has been annotated
   11477    correspondingly for the symbols needed.  */
   11478 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11479 void fnord () __attribute__((visibility("default")));
   11480 #endif
   11481 
   11482 void fnord () { int i=42; }
   11483 int main ()
   11484 {
   11485   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11486   int status = $lt_dlunknown;
   11487 
   11488   if (self)
   11489     {
   11490       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11491       else
   11492         {
   11493 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11494           else puts (dlerror ());
   11495 	}
   11496       /* dlclose (self); */
   11497     }
   11498   else
   11499     puts (dlerror ());
   11500 
   11501   return status;
   11502 }
   11503 _LT_EOF
   11504   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11505   (eval $ac_link) 2>&5
   11506   ac_status=$?
   11507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11508   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11509     (./conftest; exit; ) >&5 2>/dev/null
   11510     lt_status=$?
   11511     case x$lt_status in
   11512       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11513       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11514       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11515     esac
   11516   else :
   11517     # compilation failed
   11518     lt_cv_dlopen_self=no
   11519   fi
   11520 fi
   11521 rm -fr conftest*
   11522 
   11523 
   11524 fi
   11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11526 $as_echo "$lt_cv_dlopen_self" >&6; }
   11527 
   11528     if test "x$lt_cv_dlopen_self" = xyes; then
   11529       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11530       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11531 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11532 if ${lt_cv_dlopen_self_static+:} false; then :
   11533   $as_echo_n "(cached) " >&6
   11534 else
   11535   	  if test "$cross_compiling" = yes; then :
   11536   lt_cv_dlopen_self_static=cross
   11537 else
   11538   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11539   lt_status=$lt_dlunknown
   11540   cat > conftest.$ac_ext <<_LT_EOF
   11541 #line 11541 "configure"
   11542 #include "confdefs.h"
   11543 
   11544 #if HAVE_DLFCN_H
   11545 #include <dlfcn.h>
   11546 #endif
   11547 
   11548 #include <stdio.h>
   11549 
   11550 #ifdef RTLD_GLOBAL
   11551 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11552 #else
   11553 #  ifdef DL_GLOBAL
   11554 #    define LT_DLGLOBAL		DL_GLOBAL
   11555 #  else
   11556 #    define LT_DLGLOBAL		0
   11557 #  endif
   11558 #endif
   11559 
   11560 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11561    find out it does not work in some platform. */
   11562 #ifndef LT_DLLAZY_OR_NOW
   11563 #  ifdef RTLD_LAZY
   11564 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11565 #  else
   11566 #    ifdef DL_LAZY
   11567 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11568 #    else
   11569 #      ifdef RTLD_NOW
   11570 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11571 #      else
   11572 #        ifdef DL_NOW
   11573 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11574 #        else
   11575 #          define LT_DLLAZY_OR_NOW	0
   11576 #        endif
   11577 #      endif
   11578 #    endif
   11579 #  endif
   11580 #endif
   11581 
   11582 /* When -fvisbility=hidden is used, assume the code has been annotated
   11583    correspondingly for the symbols needed.  */
   11584 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11585 void fnord () __attribute__((visibility("default")));
   11586 #endif
   11587 
   11588 void fnord () { int i=42; }
   11589 int main ()
   11590 {
   11591   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11592   int status = $lt_dlunknown;
   11593 
   11594   if (self)
   11595     {
   11596       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11597       else
   11598         {
   11599 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11600           else puts (dlerror ());
   11601 	}
   11602       /* dlclose (self); */
   11603     }
   11604   else
   11605     puts (dlerror ());
   11606 
   11607   return status;
   11608 }
   11609 _LT_EOF
   11610   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11611   (eval $ac_link) 2>&5
   11612   ac_status=$?
   11613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11614   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11615     (./conftest; exit; ) >&5 2>/dev/null
   11616     lt_status=$?
   11617     case x$lt_status in
   11618       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11619       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11620       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11621     esac
   11622   else :
   11623     # compilation failed
   11624     lt_cv_dlopen_self_static=no
   11625   fi
   11626 fi
   11627 rm -fr conftest*
   11628 
   11629 
   11630 fi
   11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11632 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11633     fi
   11634 
   11635     CPPFLAGS="$save_CPPFLAGS"
   11636     LDFLAGS="$save_LDFLAGS"
   11637     LIBS="$save_LIBS"
   11638     ;;
   11639   esac
   11640 
   11641   case $lt_cv_dlopen_self in
   11642   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11643   *) enable_dlopen_self=unknown ;;
   11644   esac
   11645 
   11646   case $lt_cv_dlopen_self_static in
   11647   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11648   *) enable_dlopen_self_static=unknown ;;
   11649   esac
   11650 fi
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 striplib=
   11669 old_striplib=
   11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11671 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11672 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11673   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11674   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11676 $as_echo "yes" >&6; }
   11677 else
   11678 # FIXME - insert some real tests, host_os isn't really good enough
   11679   case $host_os in
   11680   darwin*)
   11681     if test -n "$STRIP" ; then
   11682       striplib="$STRIP -x"
   11683       old_striplib="$STRIP -S"
   11684       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11685 $as_echo "yes" >&6; }
   11686     else
   11687       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11688 $as_echo "no" >&6; }
   11689     fi
   11690     ;;
   11691   *)
   11692     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11693 $as_echo "no" >&6; }
   11694     ;;
   11695   esac
   11696 fi
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709   # Report which library types will actually be built
   11710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11711 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11713 $as_echo "$can_build_shared" >&6; }
   11714 
   11715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11716 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11717   test "$can_build_shared" = "no" && enable_shared=no
   11718 
   11719   # On AIX, shared libraries and static libraries use the same namespace, and
   11720   # are all built from PIC.
   11721   case $host_os in
   11722   aix3*)
   11723     test "$enable_shared" = yes && enable_static=no
   11724     if test -n "$RANLIB"; then
   11725       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11726       postinstall_cmds='$RANLIB $lib'
   11727     fi
   11728     ;;
   11729 
   11730   aix[4-9]*)
   11731     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11732       test "$enable_shared" = yes && enable_static=no
   11733     fi
   11734     ;;
   11735   esac
   11736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11737 $as_echo "$enable_shared" >&6; }
   11738 
   11739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11740 $as_echo_n "checking whether to build static libraries... " >&6; }
   11741   # Make sure either enable_shared or enable_static is yes.
   11742   test "$enable_shared" = yes || enable_static=yes
   11743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11744 $as_echo "$enable_static" >&6; }
   11745 
   11746 
   11747 
   11748 
   11749 fi
   11750 ac_ext=c
   11751 ac_cpp='$CPP $CPPFLAGS'
   11752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11755 
   11756 CC="$lt_save_CC"
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770         ac_config_commands="$ac_config_commands libtool"
   11771 
   11772 
   11773 
   11774 
   11775 # Only expand once:
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 case $host in
   11782   *-cygwin* | *-mingw*)
   11783     # 'host' will be top-level target in the case of a target lib,
   11784     # we must compare to with_cross_host to decide if this is a native
   11785     # or cross-compiler and select where to install dlls appropriately.
   11786     if test -n "$with_cross_host" &&
   11787 	test x"$with_cross_host" != x"no"; then
   11788       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
   11789     else
   11790       lt_host_flags='-no-undefined -bindir "$(bindir)"';
   11791     fi
   11792     ;;
   11793   *)
   11794     lt_host_flags=
   11795     ;;
   11796 esac
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   11805 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   11806     # Check whether --enable-maintainer-mode was given.
   11807 if test "${enable_maintainer_mode+set}" = set; then :
   11808   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   11809 else
   11810   USE_MAINTAINER_MODE=no
   11811 fi
   11812 
   11813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   11814 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   11815    if test $USE_MAINTAINER_MODE = yes; then
   11816   MAINTAINER_MODE_TRUE=
   11817   MAINTAINER_MODE_FALSE='#'
   11818 else
   11819   MAINTAINER_MODE_TRUE='#'
   11820   MAINTAINER_MODE_FALSE=
   11821 fi
   11822 
   11823   MAINT=$MAINTAINER_MODE_TRUE
   11824 
   11825 
   11826 
   11827 # Create a spec file, so that compile/link tests don't fail
   11828 test -f libgfortran.spec || touch libgfortran.spec
   11829 FCFLAGS="$FCFLAGS -L."
   11830 
   11831 # We need gfortran to compile parts of the library
   11832 # We can't use AC_PROG_FC because it expects a fully working gfortran.
   11833 #AC_PROG_FC(gfortran)
   11834 case `echo $GFORTRAN` in
   11835   -* | no* )
   11836     FC=no ;;
   11837   *)
   11838     set dummy $GFORTRAN; ac_word=$2
   11839     if test -x "$ac_word"; then
   11840       FC="$GFORTRAN"
   11841     else
   11842       FC=no
   11843     fi ;;
   11844 esac
   11845 ac_ext=${ac_fc_srcext-f}
   11846 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
   11847 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
   11848 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
   11849 if test -n "$ac_tool_prefix"; then
   11850   for ac_prog in gfortran
   11851   do
   11852     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11855 $as_echo_n "checking for $ac_word... " >&6; }
   11856 if ${ac_cv_prog_FC+:} false; then :
   11857   $as_echo_n "(cached) " >&6
   11858 else
   11859   if test -n "$FC"; then
   11860   ac_cv_prog_FC="$FC" # Let the user override the test.
   11861 else
   11862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11863 for as_dir in $PATH
   11864 do
   11865   IFS=$as_save_IFS
   11866   test -z "$as_dir" && as_dir=.
   11867     for ac_exec_ext in '' $ac_executable_extensions; do
   11868   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11869     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
   11870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11871     break 2
   11872   fi
   11873 done
   11874   done
   11875 IFS=$as_save_IFS
   11876 
   11877 fi
   11878 fi
   11879 FC=$ac_cv_prog_FC
   11880 if test -n "$FC"; then
   11881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
   11882 $as_echo "$FC" >&6; }
   11883 else
   11884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11885 $as_echo "no" >&6; }
   11886 fi
   11887 
   11888 
   11889     test -n "$FC" && break
   11890   done
   11891 fi
   11892 if test -z "$FC"; then
   11893   ac_ct_FC=$FC
   11894   for ac_prog in gfortran
   11895 do
   11896   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11897 set dummy $ac_prog; ac_word=$2
   11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11899 $as_echo_n "checking for $ac_word... " >&6; }
   11900 if ${ac_cv_prog_ac_ct_FC+:} false; then :
   11901   $as_echo_n "(cached) " >&6
   11902 else
   11903   if test -n "$ac_ct_FC"; then
   11904   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
   11905 else
   11906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11907 for as_dir in $PATH
   11908 do
   11909   IFS=$as_save_IFS
   11910   test -z "$as_dir" && as_dir=.
   11911     for ac_exec_ext in '' $ac_executable_extensions; do
   11912   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11913     ac_cv_prog_ac_ct_FC="$ac_prog"
   11914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11915     break 2
   11916   fi
   11917 done
   11918   done
   11919 IFS=$as_save_IFS
   11920 
   11921 fi
   11922 fi
   11923 ac_ct_FC=$ac_cv_prog_ac_ct_FC
   11924 if test -n "$ac_ct_FC"; then
   11925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
   11926 $as_echo "$ac_ct_FC" >&6; }
   11927 else
   11928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11929 $as_echo "no" >&6; }
   11930 fi
   11931 
   11932 
   11933   test -n "$ac_ct_FC" && break
   11934 done
   11935 
   11936   if test "x$ac_ct_FC" = x; then
   11937     FC=""
   11938   else
   11939     case $cross_compiling:$ac_tool_warned in
   11940 yes:)
   11941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11943 ac_tool_warned=yes ;;
   11944 esac
   11945     FC=$ac_ct_FC
   11946   fi
   11947 fi
   11948 
   11949 
   11950 # Provide some information about the compiler.
   11951 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
   11952 set X $ac_compile
   11953 ac_compiler=$2
   11954 for ac_option in --version -v -V -qversion; do
   11955   { { ac_try="$ac_compiler $ac_option >&5"
   11956 case "(($ac_try" in
   11957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11958   *) ac_try_echo=$ac_try;;
   11959 esac
   11960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11961 $as_echo "$ac_try_echo"; } >&5
   11962   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   11963   ac_status=$?
   11964   if test -s conftest.err; then
   11965     sed '10a\
   11966 ... rest of stderr output deleted ...
   11967          10q' conftest.err >conftest.er1
   11968     cat conftest.er1 >&5
   11969   fi
   11970   rm -f conftest.er1 conftest.err
   11971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11972   test $ac_status = 0; }
   11973 done
   11974 rm -f a.out
   11975 
   11976 # If we don't use `.F' as extension, the preprocessor is not run on the
   11977 # input file.  (Note that this only needs to work for GNU compilers.)
   11978 ac_save_ext=$ac_ext
   11979 ac_ext=F
   11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
   11981 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
   11982 if ${ac_cv_fc_compiler_gnu+:} false; then :
   11983   $as_echo_n "(cached) " >&6
   11984 else
   11985   cat > conftest.$ac_ext <<_ACEOF
   11986       program main
   11987 #ifndef __GNUC__
   11988        choke me
   11989 #endif
   11990 
   11991       end
   11992 _ACEOF
   11993 if ac_fn_fc_try_compile "$LINENO"; then :
   11994   ac_compiler_gnu=yes
   11995 else
   11996   ac_compiler_gnu=no
   11997 fi
   11998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11999 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
   12000 
   12001 fi
   12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
   12003 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
   12004 ac_ext=$ac_save_ext
   12005 ac_test_FCFLAGS=${FCFLAGS+set}
   12006 ac_save_FCFLAGS=$FCFLAGS
   12007 FCFLAGS=
   12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
   12009 $as_echo_n "checking whether $FC accepts -g... " >&6; }
   12010 if ${ac_cv_prog_fc_g+:} false; then :
   12011   $as_echo_n "(cached) " >&6
   12012 else
   12013   FCFLAGS=-g
   12014 cat > conftest.$ac_ext <<_ACEOF
   12015       program main
   12016 
   12017       end
   12018 _ACEOF
   12019 if ac_fn_fc_try_compile "$LINENO"; then :
   12020   ac_cv_prog_fc_g=yes
   12021 else
   12022   ac_cv_prog_fc_g=no
   12023 fi
   12024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12025 
   12026 fi
   12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
   12028 $as_echo "$ac_cv_prog_fc_g" >&6; }
   12029 if test "$ac_test_FCFLAGS" = set; then
   12030   FCFLAGS=$ac_save_FCFLAGS
   12031 elif test $ac_cv_prog_fc_g = yes; then
   12032   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
   12033     FCFLAGS="-g -O2"
   12034   else
   12035     FCFLAGS="-g"
   12036   fi
   12037 else
   12038   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
   12039     FCFLAGS="-O2"
   12040   else
   12041     FCFLAGS=
   12042   fi
   12043 fi
   12044 
   12045 if test $ac_compiler_gnu = yes; then
   12046   GFC=yes
   12047 else
   12048   GFC=
   12049 fi
   12050 ac_ext=c
   12051 ac_cpp='$CPP $CPPFLAGS'
   12052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12055 
   12056       ac_ext=${ac_fc_srcext-f}
   12057 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
   12058 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
   12059 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
   12060 
   12061 
   12062 if test -z "$FC" || test "X$FC" = "Xno"; then
   12063   _lt_disable_FC=yes
   12064 fi
   12065 
   12066 archive_cmds_need_lc_FC=no
   12067 allow_undefined_flag_FC=
   12068 always_export_symbols_FC=no
   12069 archive_expsym_cmds_FC=
   12070 export_dynamic_flag_spec_FC=
   12071 hardcode_direct_FC=no
   12072 hardcode_direct_absolute_FC=no
   12073 hardcode_libdir_flag_spec_FC=
   12074 hardcode_libdir_flag_spec_ld_FC=
   12075 hardcode_libdir_separator_FC=
   12076 hardcode_minus_L_FC=no
   12077 hardcode_automatic_FC=no
   12078 inherit_rpath_FC=no
   12079 module_cmds_FC=
   12080 module_expsym_cmds_FC=
   12081 link_all_deplibs_FC=unknown
   12082 old_archive_cmds_FC=$old_archive_cmds
   12083 reload_flag_FC=$reload_flag
   12084 reload_cmds_FC=$reload_cmds
   12085 no_undefined_flag_FC=
   12086 whole_archive_flag_spec_FC=
   12087 enable_shared_with_static_runtimes_FC=no
   12088 
   12089 # Source file extension for fc test sources.
   12090 ac_ext=${ac_fc_srcext-f}
   12091 
   12092 # Object file extension for compiled fc test sources.
   12093 objext=o
   12094 objext_FC=$objext
   12095 
   12096 # No sense in running all these tests if we already determined that
   12097 # the FC compiler isn't working.  Some variables (like enable_shared)
   12098 # are currently assumed to apply to all compilers on this platform,
   12099 # and will be corrupted by setting them based on a non-working compiler.
   12100 if test "$_lt_disable_FC" != yes; then
   12101   # Code to be used in simple compile tests
   12102   lt_simple_compile_test_code="\
   12103       subroutine t
   12104       return
   12105       end
   12106 "
   12107 
   12108   # Code to be used in simple link tests
   12109   lt_simple_link_test_code="\
   12110       program t
   12111       end
   12112 "
   12113 
   12114   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 # If no C compiler was specified, use CC.
   12122 LTCC=${LTCC-"$CC"}
   12123 
   12124 # If no C compiler flags were specified, use CFLAGS.
   12125 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12126 
   12127 # Allow CC to be a program name with arguments.
   12128 compiler=$CC
   12129 
   12130 
   12131   # save warnings/boilerplate of simple test code
   12132   ac_outfile=conftest.$ac_objext
   12133 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12134 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12135 _lt_compiler_boilerplate=`cat conftest.err`
   12136 $RM conftest*
   12137 
   12138   ac_outfile=conftest.$ac_objext
   12139 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12140 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12141 _lt_linker_boilerplate=`cat conftest.err`
   12142 $RM -r conftest*
   12143 
   12144 
   12145   # Allow CC to be a program name with arguments.
   12146   lt_save_CC="$CC"
   12147   lt_save_GCC=$GCC
   12148   CC=${FC-"f95"}
   12149   compiler=$CC
   12150   GCC=$ac_cv_fc_compiler_gnu
   12151 
   12152   compiler_FC=$CC
   12153   for cc_temp in $compiler""; do
   12154   case $cc_temp in
   12155     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12156     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12157     \-*) ;;
   12158     *) break;;
   12159   esac
   12160 done
   12161 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12162 
   12163 
   12164   if test -n "$compiler"; then
   12165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12166 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12168 $as_echo "$can_build_shared" >&6; }
   12169 
   12170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12171 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12172     test "$can_build_shared" = "no" && enable_shared=no
   12173 
   12174     # On AIX, shared libraries and static libraries use the same namespace, and
   12175     # are all built from PIC.
   12176     case $host_os in
   12177       aix3*)
   12178         test "$enable_shared" = yes && enable_static=no
   12179         if test -n "$RANLIB"; then
   12180           archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12181           postinstall_cmds='$RANLIB $lib'
   12182         fi
   12183         ;;
   12184       aix[4-9]*)
   12185 	if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12186 	  test "$enable_shared" = yes && enable_static=no
   12187 	fi
   12188         ;;
   12189     esac
   12190     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12191 $as_echo "$enable_shared" >&6; }
   12192 
   12193     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12194 $as_echo_n "checking whether to build static libraries... " >&6; }
   12195     # Make sure either enable_shared or enable_static is yes.
   12196     test "$enable_shared" = yes || enable_static=yes
   12197     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12198 $as_echo "$enable_static" >&6; }
   12199 
   12200     GCC_FC="$ac_cv_fc_compiler_gnu"
   12201     LD_FC="$LD"
   12202 
   12203     ## CAVEAT EMPTOR:
   12204     ## There is no encapsulation within the following macros, do not change
   12205     ## the running order or otherwise move them around unless you know exactly
   12206     ## what you are doing...
   12207     # Dependencies to place before and after the object being linked:
   12208 predep_objects_FC=
   12209 postdep_objects_FC=
   12210 predeps_FC=
   12211 postdeps_FC=
   12212 compiler_lib_search_path_FC=
   12213 
   12214 cat > conftest.$ac_ext <<_LT_EOF
   12215       subroutine foo
   12216       implicit none
   12217       integer a
   12218       a=0
   12219       return
   12220       end
   12221 _LT_EOF
   12222 
   12223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12224   (eval $ac_compile) 2>&5
   12225   ac_status=$?
   12226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12227   test $ac_status = 0; }; then
   12228   # Parse the compiler output and extract the necessary
   12229   # objects, libraries and library flags.
   12230 
   12231   # Sentinel used to keep track of whether or not we are before
   12232   # the conftest object file.
   12233   pre_test_object_deps_done=no
   12234 
   12235   for p in `eval "$output_verbose_link_cmd"`; do
   12236     case $p in
   12237 
   12238     -L* | -R* | -l*)
   12239        # Some compilers place space between "-{L,R}" and the path.
   12240        # Remove the space.
   12241        if test $p = "-L" ||
   12242           test $p = "-R"; then
   12243 	 prev=$p
   12244 	 continue
   12245        else
   12246 	 prev=
   12247        fi
   12248 
   12249        if test "$pre_test_object_deps_done" = no; then
   12250 	 case $p in
   12251 	 -L* | -R*)
   12252 	   # Internal compiler library paths should come after those
   12253 	   # provided the user.  The postdeps already come after the
   12254 	   # user supplied libs so there is no need to process them.
   12255 	   if test -z "$compiler_lib_search_path_FC"; then
   12256 	     compiler_lib_search_path_FC="${prev}${p}"
   12257 	   else
   12258 	     compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
   12259 	   fi
   12260 	   ;;
   12261 	 # The "-l" case would never come before the object being
   12262 	 # linked, so don't bother handling this case.
   12263 	 esac
   12264        else
   12265 	 if test -z "$postdeps_FC"; then
   12266 	   postdeps_FC="${prev}${p}"
   12267 	 else
   12268 	   postdeps_FC="${postdeps_FC} ${prev}${p}"
   12269 	 fi
   12270        fi
   12271        ;;
   12272 
   12273     *.$objext)
   12274        # This assumes that the test object file only shows up
   12275        # once in the compiler output.
   12276        if test "$p" = "conftest.$objext"; then
   12277 	 pre_test_object_deps_done=yes
   12278 	 continue
   12279        fi
   12280 
   12281        if test "$pre_test_object_deps_done" = no; then
   12282 	 if test -z "$predep_objects_FC"; then
   12283 	   predep_objects_FC="$p"
   12284 	 else
   12285 	   predep_objects_FC="$predep_objects_FC $p"
   12286 	 fi
   12287        else
   12288 	 if test -z "$postdep_objects_FC"; then
   12289 	   postdep_objects_FC="$p"
   12290 	 else
   12291 	   postdep_objects_FC="$postdep_objects_FC $p"
   12292 	 fi
   12293        fi
   12294        ;;
   12295 
   12296     *) ;; # Ignore the rest.
   12297 
   12298     esac
   12299   done
   12300 
   12301   # Clean up.
   12302   rm -f a.out a.exe
   12303 else
   12304   echo "libtool.m4: error: problem compiling FC test program"
   12305 fi
   12306 
   12307 $RM -f confest.$objext
   12308 
   12309 # PORTME: override above test on systems where it is broken
   12310 
   12311 
   12312 case " $postdeps_FC " in
   12313 *" -lc "*) archive_cmds_need_lc_FC=no ;;
   12314 esac
   12315  compiler_lib_search_dirs_FC=
   12316 if test -n "${compiler_lib_search_path_FC}"; then
   12317  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12318 fi
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350     lt_prog_compiler_wl_FC=
   12351 lt_prog_compiler_pic_FC=
   12352 lt_prog_compiler_static_FC=
   12353 
   12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   12355 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12356 
   12357   if test "$GCC" = yes; then
   12358     lt_prog_compiler_wl_FC='-Wl,'
   12359     lt_prog_compiler_static_FC='-static'
   12360 
   12361     case $host_os in
   12362       aix*)
   12363       # All AIX code is PIC.
   12364       if test "$host_cpu" = ia64; then
   12365 	# AIX 5 now supports IA64 processor
   12366 	lt_prog_compiler_static_FC='-Bstatic'
   12367       fi
   12368       lt_prog_compiler_pic_FC='-fPIC'
   12369       ;;
   12370 
   12371     amigaos*)
   12372       case $host_cpu in
   12373       powerpc)
   12374             # see comment about AmigaOS4 .so support
   12375             lt_prog_compiler_pic_FC='-fPIC'
   12376         ;;
   12377       m68k)
   12378             # FIXME: we need at least 68020 code to build shared libraries, but
   12379             # adding the `-m68020' flag to GCC prevents building anything better,
   12380             # like `-m68040'.
   12381             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
   12382         ;;
   12383       esac
   12384       ;;
   12385 
   12386     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12387       # PIC is the default for these OSes.
   12388       ;;
   12389 
   12390     mingw* | cygwin* | pw32* | os2* | cegcc*)
   12391       # This hack is so that the source file can tell whether it is being
   12392       # built for inclusion in a dll (and should export symbols for example).
   12393       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12394       # (--disable-auto-import) libraries
   12395       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
   12396       ;;
   12397 
   12398     darwin* | rhapsody*)
   12399       # PIC is the default on this platform
   12400       # Common symbols not allowed in MH_DYLIB files
   12401       lt_prog_compiler_pic_FC='-fno-common'
   12402       ;;
   12403 
   12404     haiku*)
   12405       # PIC is the default for Haiku.
   12406       # The "-static" flag exists, but is broken.
   12407       lt_prog_compiler_static_FC=
   12408       ;;
   12409 
   12410     hpux*)
   12411       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12412       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12413       # sets the default TLS model and affects inlining.
   12414       case $host_cpu in
   12415       hppa*64*)
   12416 	# +Z the default
   12417 	;;
   12418       *)
   12419 	lt_prog_compiler_pic_FC='-fPIC'
   12420 	;;
   12421       esac
   12422       ;;
   12423 
   12424     interix[3-9]*)
   12425       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12426       # Instead, we relocate shared libraries at runtime.
   12427       ;;
   12428 
   12429     msdosdjgpp*)
   12430       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12431       # on systems that don't support them.
   12432       lt_prog_compiler_can_build_shared_FC=no
   12433       enable_shared=no
   12434       ;;
   12435 
   12436     *nto* | *qnx*)
   12437       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12438       # it will coredump.
   12439       lt_prog_compiler_pic_FC='-fPIC -shared'
   12440       ;;
   12441 
   12442     sysv4*MP*)
   12443       if test -d /usr/nec; then
   12444 	lt_prog_compiler_pic_FC=-Kconform_pic
   12445       fi
   12446       ;;
   12447 
   12448     *)
   12449       lt_prog_compiler_pic_FC='-fPIC'
   12450       ;;
   12451     esac
   12452 
   12453     case $cc_basename in
   12454     nvcc*) # Cuda Compiler Driver 2.2
   12455       lt_prog_compiler_wl_FC='-Xlinker '
   12456       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
   12457       ;;
   12458     esac
   12459   else
   12460     # PORTME Check for flag to pass linker flags through the system compiler.
   12461     case $host_os in
   12462     aix*)
   12463       lt_prog_compiler_wl_FC='-Wl,'
   12464       if test "$host_cpu" = ia64; then
   12465 	# AIX 5 now supports IA64 processor
   12466 	lt_prog_compiler_static_FC='-Bstatic'
   12467       else
   12468 	lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
   12469       fi
   12470       ;;
   12471 
   12472     mingw* | cygwin* | pw32* | os2* | cegcc*)
   12473       # This hack is so that the source file can tell whether it is being
   12474       # built for inclusion in a dll (and should export symbols for example).
   12475       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
   12476       ;;
   12477 
   12478     hpux9* | hpux10* | hpux11*)
   12479       lt_prog_compiler_wl_FC='-Wl,'
   12480       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12481       # not for PA HP-UX.
   12482       case $host_cpu in
   12483       hppa*64*|ia64*)
   12484 	# +Z the default
   12485 	;;
   12486       *)
   12487 	lt_prog_compiler_pic_FC='+Z'
   12488 	;;
   12489       esac
   12490       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12491       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
   12492       ;;
   12493 
   12494     irix5* | irix6* | nonstopux*)
   12495       lt_prog_compiler_wl_FC='-Wl,'
   12496       # PIC (with -KPIC) is the default.
   12497       lt_prog_compiler_static_FC='-non_shared'
   12498       ;;
   12499 
   12500     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   12501       case $cc_basename in
   12502       # old Intel for x86_64 which still supported -KPIC.
   12503       ecc*)
   12504 	lt_prog_compiler_wl_FC='-Wl,'
   12505 	lt_prog_compiler_pic_FC='-KPIC'
   12506 	lt_prog_compiler_static_FC='-static'
   12507         ;;
   12508       # icc used to be incompatible with GCC.
   12509       # ICC 10 doesn't accept -KPIC any more.
   12510       icc* | ifort*)
   12511 	lt_prog_compiler_wl_FC='-Wl,'
   12512 	lt_prog_compiler_pic_FC='-fPIC'
   12513 	lt_prog_compiler_static_FC='-static'
   12514         ;;
   12515       # Lahey Fortran 8.1.
   12516       lf95*)
   12517 	lt_prog_compiler_wl_FC='-Wl,'
   12518 	lt_prog_compiler_pic_FC='--shared'
   12519 	lt_prog_compiler_static_FC='--static'
   12520 	;;
   12521       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12522         # Portland Group compilers (*not* the Pentium gcc compiler,
   12523 	# which looks to be a dead project)
   12524 	lt_prog_compiler_wl_FC='-Wl,'
   12525 	lt_prog_compiler_pic_FC='-fpic'
   12526 	lt_prog_compiler_static_FC='-Bstatic'
   12527         ;;
   12528       ccc*)
   12529         lt_prog_compiler_wl_FC='-Wl,'
   12530         # All Alpha code is PIC.
   12531         lt_prog_compiler_static_FC='-non_shared'
   12532         ;;
   12533       xl* | bgxl* | bgf* | mpixl*)
   12534 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12535 	lt_prog_compiler_wl_FC='-Wl,'
   12536 	lt_prog_compiler_pic_FC='-qpic'
   12537 	lt_prog_compiler_static_FC='-qstaticlink'
   12538 	;;
   12539       *)
   12540 	case `$CC -V 2>&1 | sed 5q` in
   12541 	*Sun\ F* | *Sun*Fortran*)
   12542 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12543 	  lt_prog_compiler_pic_FC='-KPIC'
   12544 	  lt_prog_compiler_static_FC='-Bstatic'
   12545 	  lt_prog_compiler_wl_FC=''
   12546 	  ;;
   12547 	*Sun\ C*)
   12548 	  # Sun C 5.9
   12549 	  lt_prog_compiler_pic_FC='-KPIC'
   12550 	  lt_prog_compiler_static_FC='-Bstatic'
   12551 	  lt_prog_compiler_wl_FC='-Wl,'
   12552 	  ;;
   12553 	esac
   12554 	;;
   12555       esac
   12556       ;;
   12557 
   12558     newsos6)
   12559       lt_prog_compiler_pic_FC='-KPIC'
   12560       lt_prog_compiler_static_FC='-Bstatic'
   12561       ;;
   12562 
   12563     *nto* | *qnx*)
   12564       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12565       # it will coredump.
   12566       lt_prog_compiler_pic_FC='-fPIC -shared'
   12567       ;;
   12568 
   12569     osf3* | osf4* | osf5*)
   12570       lt_prog_compiler_wl_FC='-Wl,'
   12571       # All OSF/1 code is PIC.
   12572       lt_prog_compiler_static_FC='-non_shared'
   12573       ;;
   12574 
   12575     rdos*)
   12576       lt_prog_compiler_static_FC='-non_shared'
   12577       ;;
   12578 
   12579     solaris*)
   12580       lt_prog_compiler_pic_FC='-KPIC'
   12581       lt_prog_compiler_static_FC='-Bstatic'
   12582       case $cc_basename in
   12583       f77* | f90* | f95*)
   12584 	lt_prog_compiler_wl_FC='-Qoption ld ';;
   12585       *)
   12586 	lt_prog_compiler_wl_FC='-Wl,';;
   12587       esac
   12588       ;;
   12589 
   12590     sunos4*)
   12591       lt_prog_compiler_wl_FC='-Qoption ld '
   12592       lt_prog_compiler_pic_FC='-PIC'
   12593       lt_prog_compiler_static_FC='-Bstatic'
   12594       ;;
   12595 
   12596     sysv4 | sysv4.2uw2* | sysv4.3*)
   12597       lt_prog_compiler_wl_FC='-Wl,'
   12598       lt_prog_compiler_pic_FC='-KPIC'
   12599       lt_prog_compiler_static_FC='-Bstatic'
   12600       ;;
   12601 
   12602     sysv4*MP*)
   12603       if test -d /usr/nec ;then
   12604 	lt_prog_compiler_pic_FC='-Kconform_pic'
   12605 	lt_prog_compiler_static_FC='-Bstatic'
   12606       fi
   12607       ;;
   12608 
   12609     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12610       lt_prog_compiler_wl_FC='-Wl,'
   12611       lt_prog_compiler_pic_FC='-KPIC'
   12612       lt_prog_compiler_static_FC='-Bstatic'
   12613       ;;
   12614 
   12615     unicos*)
   12616       lt_prog_compiler_wl_FC='-Wl,'
   12617       lt_prog_compiler_can_build_shared_FC=no
   12618       ;;
   12619 
   12620     uts4*)
   12621       lt_prog_compiler_pic_FC='-pic'
   12622       lt_prog_compiler_static_FC='-Bstatic'
   12623       ;;
   12624 
   12625     *)
   12626       lt_prog_compiler_can_build_shared_FC=no
   12627       ;;
   12628     esac
   12629   fi
   12630 
   12631 case $host_os in
   12632   # For platforms which do not support PIC, -DPIC is meaningless:
   12633   *djgpp*)
   12634     lt_prog_compiler_pic_FC=
   12635     ;;
   12636   *)
   12637     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
   12638     ;;
   12639 esac
   12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
   12641 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
   12642 
   12643 
   12644 
   12645 #
   12646 # Check to make sure the PIC flag actually works.
   12647 #
   12648 if test -n "$lt_prog_compiler_pic_FC"; then
   12649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
   12650 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
   12651 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
   12652   $as_echo_n "(cached) " >&6
   12653 else
   12654   lt_cv_prog_compiler_pic_works_FC=no
   12655    ac_outfile=conftest.$ac_objext
   12656    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12657    lt_compiler_flag="$lt_prog_compiler_pic_FC"
   12658    # Insert the option either (1) after the last *FLAGS variable, or
   12659    # (2) before a word containing "conftest.", or (3) at the end.
   12660    # Note that $ac_compile itself does not contain backslashes and begins
   12661    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12662    # The option is referenced via a variable to avoid confusing sed.
   12663    lt_compile=`echo "$ac_compile" | $SED \
   12664    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12665    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12666    -e 's:$: $lt_compiler_flag:'`
   12667    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12668    (eval "$lt_compile" 2>conftest.err)
   12669    ac_status=$?
   12670    cat conftest.err >&5
   12671    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12672    if (exit $ac_status) && test -s "$ac_outfile"; then
   12673      # The compiler can only warn and ignore the option if not recognized
   12674      # So say no if there are warnings other than the usual output.
   12675      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   12676      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12677      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12678        lt_cv_prog_compiler_pic_works_FC=yes
   12679      fi
   12680    fi
   12681    $RM conftest*
   12682 
   12683 fi
   12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
   12685 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
   12686 
   12687 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
   12688     case $lt_prog_compiler_pic_FC in
   12689      "" | " "*) ;;
   12690      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
   12691      esac
   12692 else
   12693     lt_prog_compiler_pic_FC=
   12694      lt_prog_compiler_can_build_shared_FC=no
   12695 fi
   12696 
   12697 fi
   12698 
   12699 
   12700 
   12701 #
   12702 # Check to make sure the static flag actually works.
   12703 #
   12704 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
   12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12706 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12707 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
   12708   $as_echo_n "(cached) " >&6
   12709 else
   12710   lt_cv_prog_compiler_static_works_FC=no
   12711    save_LDFLAGS="$LDFLAGS"
   12712    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12713    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12714    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12715      # The linker can only warn and ignore the option if not recognized
   12716      # So say no if there are warnings
   12717      if test -s conftest.err; then
   12718        # Append any errors to the config.log.
   12719        cat conftest.err 1>&5
   12720        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12721        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12722        if diff conftest.exp conftest.er2 >/dev/null; then
   12723          lt_cv_prog_compiler_static_works_FC=yes
   12724        fi
   12725      else
   12726        lt_cv_prog_compiler_static_works_FC=yes
   12727      fi
   12728    fi
   12729    $RM -r conftest*
   12730    LDFLAGS="$save_LDFLAGS"
   12731 
   12732 fi
   12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
   12734 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
   12735 
   12736 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
   12737     :
   12738 else
   12739     lt_prog_compiler_static_FC=
   12740 fi
   12741 
   12742 
   12743 
   12744 
   12745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   12746 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   12747 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
   12748   $as_echo_n "(cached) " >&6
   12749 else
   12750   lt_cv_prog_compiler_c_o_FC=no
   12751    $RM -r conftest 2>/dev/null
   12752    mkdir conftest
   12753    cd conftest
   12754    mkdir out
   12755    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12756 
   12757    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12758    # Insert the option either (1) after the last *FLAGS variable, or
   12759    # (2) before a word containing "conftest.", or (3) at the end.
   12760    # Note that $ac_compile itself does not contain backslashes and begins
   12761    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12762    lt_compile=`echo "$ac_compile" | $SED \
   12763    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12764    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12765    -e 's:$: $lt_compiler_flag:'`
   12766    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12767    (eval "$lt_compile" 2>out/conftest.err)
   12768    ac_status=$?
   12769    cat out/conftest.err >&5
   12770    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12771    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12772    then
   12773      # The compiler can only warn and ignore the option if not recognized
   12774      # So say no if there are warnings
   12775      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   12776      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12777      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12778        lt_cv_prog_compiler_c_o_FC=yes
   12779      fi
   12780    fi
   12781    chmod u+w . 2>&5
   12782    $RM conftest*
   12783    # SGI C++ compiler will create directory out/ii_files/ for
   12784    # template instantiation
   12785    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   12786    $RM out/* && rmdir out
   12787    cd ..
   12788    $RM -r conftest
   12789    $RM conftest*
   12790 
   12791 fi
   12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
   12793 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
   12794 
   12795 
   12796 
   12797     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   12798 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   12799 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
   12800   $as_echo_n "(cached) " >&6
   12801 else
   12802   lt_cv_prog_compiler_c_o_FC=no
   12803    $RM -r conftest 2>/dev/null
   12804    mkdir conftest
   12805    cd conftest
   12806    mkdir out
   12807    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12808 
   12809    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12810    # Insert the option either (1) after the last *FLAGS variable, or
   12811    # (2) before a word containing "conftest.", or (3) at the end.
   12812    # Note that $ac_compile itself does not contain backslashes and begins
   12813    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12814    lt_compile=`echo "$ac_compile" | $SED \
   12815    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12816    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12817    -e 's:$: $lt_compiler_flag:'`
   12818    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12819    (eval "$lt_compile" 2>out/conftest.err)
   12820    ac_status=$?
   12821    cat out/conftest.err >&5
   12822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12823    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12824    then
   12825      # The compiler can only warn and ignore the option if not recognized
   12826      # So say no if there are warnings
   12827      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   12828      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12829      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12830        lt_cv_prog_compiler_c_o_FC=yes
   12831      fi
   12832    fi
   12833    chmod u+w . 2>&5
   12834    $RM conftest*
   12835    # SGI C++ compiler will create directory out/ii_files/ for
   12836    # template instantiation
   12837    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   12838    $RM out/* && rmdir out
   12839    cd ..
   12840    $RM -r conftest
   12841    $RM conftest*
   12842 
   12843 fi
   12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
   12845 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
   12846 
   12847 
   12848 
   12849 
   12850 hard_links="nottested"
   12851 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
   12852   # do not overwrite the value of need_locks provided by the user
   12853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   12854 $as_echo_n "checking if we can lock with hard links... " >&6; }
   12855   hard_links=yes
   12856   $RM conftest*
   12857   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12858   touch conftest.a
   12859   ln conftest.a conftest.b 2>&5 || hard_links=no
   12860   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   12862 $as_echo "$hard_links" >&6; }
   12863   if test "$hard_links" = no; then
   12864     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12865 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12866     need_locks=warn
   12867   fi
   12868 else
   12869   need_locks=no
   12870 fi
   12871 
   12872 
   12873 
   12874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12875 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   12876 
   12877   runpath_var=
   12878   allow_undefined_flag_FC=
   12879   always_export_symbols_FC=no
   12880   archive_cmds_FC=
   12881   archive_expsym_cmds_FC=
   12882   compiler_needs_object_FC=no
   12883   enable_shared_with_static_runtimes_FC=no
   12884   export_dynamic_flag_spec_FC=
   12885   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12886   hardcode_automatic_FC=no
   12887   hardcode_direct_FC=no
   12888   hardcode_direct_absolute_FC=no
   12889   hardcode_libdir_flag_spec_FC=
   12890   hardcode_libdir_flag_spec_ld_FC=
   12891   hardcode_libdir_separator_FC=
   12892   hardcode_minus_L_FC=no
   12893   hardcode_shlibpath_var_FC=unsupported
   12894   inherit_rpath_FC=no
   12895   link_all_deplibs_FC=unknown
   12896   module_cmds_FC=
   12897   module_expsym_cmds_FC=
   12898   old_archive_from_new_cmds_FC=
   12899   old_archive_from_expsyms_cmds_FC=
   12900   thread_safe_flag_spec_FC=
   12901   whole_archive_flag_spec_FC=
   12902   # include_expsyms should be a list of space-separated symbols to be *always*
   12903   # included in the symbol list
   12904   include_expsyms_FC=
   12905   # exclude_expsyms can be an extended regexp of symbols to exclude
   12906   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   12907   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   12908   # as well as any symbol that contains `d'.
   12909   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   12910   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   12911   # platforms (ab)use it in PIC code, but their linkers get confused if
   12912   # the symbol is explicitly referenced.  Since portable code cannot
   12913   # rely on this symbol name, it's probably fine to never include it in
   12914   # preloaded symbol tables.
   12915   # Exclude shared library initialization/finalization symbols.
   12916   extract_expsyms_cmds=
   12917 
   12918   case $host_os in
   12919   cygwin* | mingw* | pw32* | cegcc*)
   12920     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   12921     # When not using gcc, we currently assume that we are using
   12922     # Microsoft Visual C++.
   12923     if test "$GCC" != yes; then
   12924       with_gnu_ld=no
   12925     fi
   12926     ;;
   12927   interix*)
   12928     # we just hope/assume this is gcc and not c89 (= MSVC++)
   12929     with_gnu_ld=yes
   12930     ;;
   12931   openbsd*)
   12932     with_gnu_ld=no
   12933     ;;
   12934   esac
   12935 
   12936   ld_shlibs_FC=yes
   12937 
   12938   # On some targets, GNU ld is compatible enough with the native linker
   12939   # that we're better off using the native interface for both.
   12940   lt_use_gnu_ld_interface=no
   12941   if test "$with_gnu_ld" = yes; then
   12942     case $host_os in
   12943       aix*)
   12944 	# The AIX port of GNU ld has always aspired to compatibility
   12945 	# with the native linker.  However, as the warning in the GNU ld
   12946 	# block says, versions before 2.19.5* couldn't really create working
   12947 	# shared libraries, regardless of the interface used.
   12948 	case `$LD -v 2>&1` in
   12949 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   12950 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   12951 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   12952 	  *)
   12953 	    lt_use_gnu_ld_interface=yes
   12954 	    ;;
   12955 	esac
   12956 	;;
   12957       *)
   12958 	lt_use_gnu_ld_interface=yes
   12959 	;;
   12960     esac
   12961   fi
   12962 
   12963   if test "$lt_use_gnu_ld_interface" = yes; then
   12964     # If archive_cmds runs LD, not CC, wlarc should be empty
   12965     wlarc='${wl}'
   12966 
   12967     # Set some defaults for GNU ld with shared library support. These
   12968     # are reset later if shared libraries are not supported. Putting them
   12969     # here allows them to be overridden if necessary.
   12970     runpath_var=LD_RUN_PATH
   12971     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
   12972     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
   12973     # ancient GNU ld didn't support --whole-archive et. al.
   12974     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   12975       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12976     else
   12977       whole_archive_flag_spec_FC=
   12978     fi
   12979     supports_anon_versioning=no
   12980     case `$LD -v 2>&1` in
   12981       *GNU\ gold*) supports_anon_versioning=yes ;;
   12982       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   12983       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   12984       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   12985       *\ 2.11.*) ;; # other 2.11 versions
   12986       *) supports_anon_versioning=yes ;;
   12987     esac
   12988 
   12989     # See if GNU ld supports shared libraries.
   12990     case $host_os in
   12991     aix[3-9]*)
   12992       # On AIX/PPC, the GNU linker is very broken
   12993       if test "$host_cpu" != ia64; then
   12994 	ld_shlibs_FC=no
   12995 	cat <<_LT_EOF 1>&2
   12996 
   12997 *** Warning: the GNU linker, at least up to release 2.19, is reported
   12998 *** to be unable to reliably create shared libraries on AIX.
   12999 *** Therefore, libtool is disabling shared libraries support.  If you
   13000 *** really care for shared libraries, you may want to install binutils
   13001 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   13002 *** You will then need to restart the configuration process.
   13003 
   13004 _LT_EOF
   13005       fi
   13006       ;;
   13007 
   13008     amigaos*)
   13009       case $host_cpu in
   13010       powerpc)
   13011             # see comment about AmigaOS4 .so support
   13012             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13013             archive_expsym_cmds_FC=''
   13014         ;;
   13015       m68k)
   13016             archive_cmds_FC='$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)'
   13017             hardcode_libdir_flag_spec_FC='-L$libdir'
   13018             hardcode_minus_L_FC=yes
   13019         ;;
   13020       esac
   13021       ;;
   13022 
   13023     beos*)
   13024       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13025 	allow_undefined_flag_FC=unsupported
   13026 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13027 	# support --undefined.  This deserves some investigation.  FIXME
   13028 	archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13029       else
   13030 	ld_shlibs_FC=no
   13031       fi
   13032       ;;
   13033 
   13034     cygwin* | mingw* | pw32* | cegcc*)
   13035       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
   13036       # as there is no search path for DLLs.
   13037       hardcode_libdir_flag_spec_FC='-L$libdir'
   13038       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
   13039       allow_undefined_flag_FC=unsupported
   13040       always_export_symbols_FC=no
   13041       enable_shared_with_static_runtimes_FC=yes
   13042       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   13043 
   13044       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13045         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13046 	# If the export-symbols file already is a .def file (1st line
   13047 	# is EXPORTS), use it as is; otherwise, prepend...
   13048 	archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13049 	  cp $export_symbols $output_objdir/$soname.def;
   13050 	else
   13051 	  echo EXPORTS > $output_objdir/$soname.def;
   13052 	  cat $export_symbols >> $output_objdir/$soname.def;
   13053 	fi~
   13054 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13055       else
   13056 	ld_shlibs_FC=no
   13057       fi
   13058       ;;
   13059 
   13060     haiku*)
   13061       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13062       link_all_deplibs_FC=yes
   13063       ;;
   13064 
   13065     interix[3-9]*)
   13066       hardcode_direct_FC=no
   13067       hardcode_shlibpath_var_FC=no
   13068       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
   13069       export_dynamic_flag_spec_FC='${wl}-E'
   13070       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13071       # Instead, shared libraries are loaded at an image base (0x10000000 by
   13072       # default) and relocated if they conflict, which is a slow very memory
   13073       # consuming and fragmenting process.  To avoid this, we pick a random,
   13074       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13075       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13076       archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13077       archive_expsym_cmds_FC='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'
   13078       ;;
   13079 
   13080     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   13081       tmp_diet=no
   13082       if test "$host_os" = linux-dietlibc; then
   13083 	case $cc_basename in
   13084 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   13085 	esac
   13086       fi
   13087       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   13088 	 && test "$tmp_diet" = no
   13089       then
   13090 	tmp_addflag=' $pic_flag'
   13091 	tmp_sharedflag='-shared'
   13092 	case $cc_basename,$host_cpu in
   13093         pgcc*)				# Portland Group C compiler
   13094 	  whole_archive_flag_spec_FC='${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'
   13095 	  tmp_addflag=' $pic_flag'
   13096 	  ;;
   13097 	pgf77* | pgf90* | pgf95* | pgfortran*)
   13098 					# Portland Group f77 and f90 compilers
   13099 	  whole_archive_flag_spec_FC='${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'
   13100 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   13101 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   13102 	  tmp_addflag=' -i_dynamic' ;;
   13103 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   13104 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   13105 	ifc* | ifort*)			# Intel Fortran compiler
   13106 	  tmp_addflag=' -nofor_main' ;;
   13107 	lf95*)				# Lahey Fortran 8.1
   13108 	  whole_archive_flag_spec_FC=
   13109 	  tmp_sharedflag='--shared' ;;
   13110 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   13111 	  tmp_sharedflag='-qmkshrobj'
   13112 	  tmp_addflag= ;;
   13113 	nvcc*)	# Cuda Compiler Driver 2.2
   13114 	  whole_archive_flag_spec_FC='${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'
   13115 	  compiler_needs_object_FC=yes
   13116 	  ;;
   13117 	esac
   13118 	case `$CC -V 2>&1 | sed 5q` in
   13119 	*Sun\ C*)			# Sun C 5.9
   13120 	  whole_archive_flag_spec_FC='${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'
   13121 	  compiler_needs_object_FC=yes
   13122 	  tmp_sharedflag='-G' ;;
   13123 	*Sun\ F*)			# Sun Fortran 8.3
   13124 	  tmp_sharedflag='-G' ;;
   13125 	esac
   13126 	archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13127 
   13128         if test "x$supports_anon_versioning" = xyes; then
   13129           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
   13130 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13131 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   13132 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13133         fi
   13134 
   13135 	case $cc_basename in
   13136 	xlf* | bgf* | bgxlf* | mpixlf*)
   13137 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   13138 	  whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
   13139 	  hardcode_libdir_flag_spec_FC=
   13140 	  hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
   13141 	  archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   13142 	  if test "x$supports_anon_versioning" = xyes; then
   13143 	    archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
   13144 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13145 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   13146 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   13147 	  fi
   13148 	  ;;
   13149 	esac
   13150       else
   13151         ld_shlibs_FC=no
   13152       fi
   13153       ;;
   13154 
   13155     netbsd*)
   13156       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13157 	archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   13158 	wlarc=
   13159       else
   13160 	archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13161 	archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13162       fi
   13163       ;;
   13164 
   13165     solaris*)
   13166       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   13167 	ld_shlibs_FC=no
   13168 	cat <<_LT_EOF 1>&2
   13169 
   13170 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   13171 *** create shared libraries on Solaris systems.  Therefore, libtool
   13172 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13173 *** binutils to release 2.9.1 or newer.  Another option is to modify
   13174 *** your PATH or compiler configuration so that the native linker is
   13175 *** used, and then restart.
   13176 
   13177 _LT_EOF
   13178       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13179 	archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13180 	archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13181       else
   13182 	ld_shlibs_FC=no
   13183       fi
   13184       ;;
   13185 
   13186     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   13187       case `$LD -v 2>&1` in
   13188         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   13189 	ld_shlibs_FC=no
   13190 	cat <<_LT_EOF 1>&2
   13191 
   13192 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   13193 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   13194 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13195 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   13196 *** your PATH or compiler configuration so that the native linker is
   13197 *** used, and then restart.
   13198 
   13199 _LT_EOF
   13200 	;;
   13201 	*)
   13202 	  # For security reasons, it is highly recommended that you always
   13203 	  # use absolute paths for naming shared libraries, and exclude the
   13204 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   13205 	  # requires that you compile everything twice, which is a pain.
   13206 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13207 	    hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
   13208 	    archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13209 	    archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13210 	  else
   13211 	    ld_shlibs_FC=no
   13212 	  fi
   13213 	;;
   13214       esac
   13215       ;;
   13216 
   13217     sunos4*)
   13218       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   13219       wlarc=
   13220       hardcode_direct_FC=yes
   13221       hardcode_shlibpath_var_FC=no
   13222       ;;
   13223 
   13224     *)
   13225       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13226 	archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13227 	archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13228       else
   13229 	ld_shlibs_FC=no
   13230       fi
   13231       ;;
   13232     esac
   13233 
   13234     if test "$ld_shlibs_FC" = no; then
   13235       runpath_var=
   13236       hardcode_libdir_flag_spec_FC=
   13237       export_dynamic_flag_spec_FC=
   13238       whole_archive_flag_spec_FC=
   13239     fi
   13240   else
   13241     # PORTME fill in a description of your system's linker (not GNU ld)
   13242     case $host_os in
   13243     aix3*)
   13244       allow_undefined_flag_FC=unsupported
   13245       always_export_symbols_FC=yes
   13246       archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   13247       # Note: this linker hardcodes the directories in LIBPATH if there
   13248       # are no directories specified by -L.
   13249       hardcode_minus_L_FC=yes
   13250       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   13251 	# Neither direct hardcoding nor static linking is supported with a
   13252 	# broken collect2.
   13253 	hardcode_direct_FC=unsupported
   13254       fi
   13255       ;;
   13256 
   13257     aix[4-9]*)
   13258       if test "$host_cpu" = ia64; then
   13259 	# On IA64, the linker does run time linking by default, so we don't
   13260 	# have to do anything special.
   13261 	aix_use_runtimelinking=no
   13262 	exp_sym_flag='-Bexport'
   13263 	no_entry_flag=""
   13264       else
   13265 	# If we're using GNU nm, then we don't want the "-C" option.
   13266 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   13267 	# Also, AIX nm treats weak defined symbols like other global
   13268 	# defined symbols, whereas GNU nm marks them as "W".
   13269 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   13270 	  export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   13271 	else
   13272 	  export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   13273 	fi
   13274 	aix_use_runtimelinking=no
   13275 
   13276 	# Test if we are trying to use run time linking or normal
   13277 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13278 	# need to do runtime linking.
   13279 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13280 	  for ld_flag in $LDFLAGS; do
   13281 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   13282 	    aix_use_runtimelinking=yes
   13283 	    break
   13284 	  fi
   13285 	  done
   13286 	  ;;
   13287 	esac
   13288 
   13289 	exp_sym_flag='-bexport'
   13290 	no_entry_flag='-bnoentry'
   13291       fi
   13292 
   13293       # When large executables or shared objects are built, AIX ld can
   13294       # have problems creating the table of contents.  If linking a library
   13295       # or program results in "error TOC overflow" add -mminimal-toc to
   13296       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13297       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13298 
   13299       archive_cmds_FC=''
   13300       hardcode_direct_FC=yes
   13301       hardcode_direct_absolute_FC=yes
   13302       hardcode_libdir_separator_FC=':'
   13303       link_all_deplibs_FC=yes
   13304       file_list_spec_FC='${wl}-f,'
   13305 
   13306       if test "$GCC" = yes; then
   13307 	case $host_os in aix4.[012]|aix4.[012].*)
   13308 	# We only want to do this on AIX 4.2 and lower, the check
   13309 	# below for broken collect2 doesn't work under 4.3+
   13310 	  collect2name=`${CC} -print-prog-name=collect2`
   13311 	  if test -f "$collect2name" &&
   13312 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   13313 	  then
   13314 	  # We have reworked collect2
   13315 	  :
   13316 	  else
   13317 	  # We have old collect2
   13318 	  hardcode_direct_FC=unsupported
   13319 	  # It fails to find uninstalled libraries when the uninstalled
   13320 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   13321 	  # to unsupported forces relinking
   13322 	  hardcode_minus_L_FC=yes
   13323 	  hardcode_libdir_flag_spec_FC='-L$libdir'
   13324 	  hardcode_libdir_separator_FC=
   13325 	  fi
   13326 	  ;;
   13327 	esac
   13328 	shared_flag='-shared'
   13329 	if test "$aix_use_runtimelinking" = yes; then
   13330 	  shared_flag="$shared_flag "'${wl}-G'
   13331 	fi
   13332       else
   13333 	# not using gcc
   13334 	if test "$host_cpu" = ia64; then
   13335 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13336 	# chokes on -Wl,-G. The following line is correct:
   13337 	  shared_flag='-G'
   13338 	else
   13339 	  if test "$aix_use_runtimelinking" = yes; then
   13340 	    shared_flag='${wl}-G'
   13341 	  else
   13342 	    shared_flag='${wl}-bM:SRE'
   13343 	  fi
   13344 	fi
   13345       fi
   13346 
   13347       export_dynamic_flag_spec_FC='${wl}-bexpall'
   13348       # It seems that -bexpall does not export symbols beginning with
   13349       # underscore (_), so it is better to generate a list of symbols to export.
   13350       always_export_symbols_FC=yes
   13351       if test "$aix_use_runtimelinking" = yes; then
   13352 	# Warning - without using the other runtime loading flags (-brtl),
   13353 	# -berok will link without error, but may produce a broken library.
   13354 	allow_undefined_flag_FC='-berok'
   13355         # Determine the default libpath from the value encoded in an
   13356         # empty executable.
   13357         cat > conftest.$ac_ext <<_ACEOF
   13358       program main
   13359 
   13360       end
   13361 _ACEOF
   13362 if ac_fn_fc_try_link "$LINENO"; then :
   13363 
   13364 lt_aix_libpath_sed='
   13365     /Import File Strings/,/^$/ {
   13366 	/^0/ {
   13367 	    s/^0  *\(.*\)$/\1/
   13368 	    p
   13369 	}
   13370     }'
   13371 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13372 # Check for a 64-bit object if we didn't find anything.
   13373 if test -z "$aix_libpath"; then
   13374   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13375 fi
   13376 fi
   13377 rm -f core conftest.err conftest.$ac_objext \
   13378     conftest$ac_exeext conftest.$ac_ext
   13379 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13380 
   13381         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
   13382         archive_expsym_cmds_FC='$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"
   13383       else
   13384 	if test "$host_cpu" = ia64; then
   13385 	  hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
   13386 	  allow_undefined_flag_FC="-z nodefs"
   13387 	  archive_expsym_cmds_FC="\$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"
   13388 	else
   13389 	 # Determine the default libpath from the value encoded in an
   13390 	 # empty executable.
   13391 	 cat > conftest.$ac_ext <<_ACEOF
   13392       program main
   13393 
   13394       end
   13395 _ACEOF
   13396 if ac_fn_fc_try_link "$LINENO"; then :
   13397 
   13398 lt_aix_libpath_sed='
   13399     /Import File Strings/,/^$/ {
   13400 	/^0/ {
   13401 	    s/^0  *\(.*\)$/\1/
   13402 	    p
   13403 	}
   13404     }'
   13405 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13406 # Check for a 64-bit object if we didn't find anything.
   13407 if test -z "$aix_libpath"; then
   13408   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13409 fi
   13410 fi
   13411 rm -f core conftest.err conftest.$ac_objext \
   13412     conftest$ac_exeext conftest.$ac_ext
   13413 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13414 
   13415 	 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
   13416 	  # Warning - without using the other run time loading flags,
   13417 	  # -berok will link without error, but may produce a broken library.
   13418 	  no_undefined_flag_FC=' ${wl}-bernotok'
   13419 	  allow_undefined_flag_FC=' ${wl}-berok'
   13420 	  if test "$with_gnu_ld" = yes; then
   13421 	    # We only use this code for GNU lds that support --whole-archive.
   13422 	    whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13423 	  else
   13424 	    # Exported symbols can be pulled into shared objects from archives
   13425 	    whole_archive_flag_spec_FC='$convenience'
   13426 	  fi
   13427 	  archive_cmds_need_lc_FC=yes
   13428 	  # This is similar to how AIX traditionally builds its shared libraries.
   13429 	  archive_expsym_cmds_FC="\$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'
   13430 	fi
   13431       fi
   13432       ;;
   13433 
   13434     amigaos*)
   13435       case $host_cpu in
   13436       powerpc)
   13437             # see comment about AmigaOS4 .so support
   13438             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13439             archive_expsym_cmds_FC=''
   13440         ;;
   13441       m68k)
   13442             archive_cmds_FC='$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)'
   13443             hardcode_libdir_flag_spec_FC='-L$libdir'
   13444             hardcode_minus_L_FC=yes
   13445         ;;
   13446       esac
   13447       ;;
   13448 
   13449     bsdi[45]*)
   13450       export_dynamic_flag_spec_FC=-rdynamic
   13451       ;;
   13452 
   13453     cygwin* | mingw* | pw32* | cegcc*)
   13454       # When not using gcc, we currently assume that we are using
   13455       # Microsoft Visual C++.
   13456       # hardcode_libdir_flag_spec is actually meaningless, as there is
   13457       # no search path for DLLs.
   13458       hardcode_libdir_flag_spec_FC=' '
   13459       allow_undefined_flag_FC=unsupported
   13460       # Tell ltmain to make .lib files, not .a files.
   13461       libext=lib
   13462       # Tell ltmain to make .dll files, not .so files.
   13463       shrext_cmds=".dll"
   13464       # FIXME: Setting linknames here is a bad hack.
   13465       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   13466       # The linker will automatically build a .lib file if we build a DLL.
   13467       old_archive_from_new_cmds_FC='true'
   13468       # FIXME: Should let the user specify the lib program.
   13469       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
   13470       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
   13471       enable_shared_with_static_runtimes_FC=yes
   13472       ;;
   13473 
   13474     darwin* | rhapsody*)
   13475 
   13476 
   13477   archive_cmds_need_lc_FC=no
   13478   hardcode_direct_FC=no
   13479   hardcode_automatic_FC=yes
   13480   hardcode_shlibpath_var_FC=unsupported
   13481   if test "$lt_cv_ld_force_load" = "yes"; then
   13482     whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   13483   else
   13484     whole_archive_flag_spec_FC=''
   13485   fi
   13486   link_all_deplibs_FC=yes
   13487   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
   13488   case $cc_basename in
   13489      ifort*) _lt_dar_can_shared=yes ;;
   13490      *) _lt_dar_can_shared=$GCC ;;
   13491   esac
   13492   if test "$_lt_dar_can_shared" = "yes"; then
   13493     output_verbose_link_cmd=func_echo_all
   13494     archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   13495     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   13496     archive_expsym_cmds_FC="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}"
   13497     module_expsym_cmds_FC="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}"
   13498 
   13499   else
   13500   ld_shlibs_FC=no
   13501   fi
   13502 
   13503       ;;
   13504 
   13505     dgux*)
   13506       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13507       hardcode_libdir_flag_spec_FC='-L$libdir'
   13508       hardcode_shlibpath_var_FC=no
   13509       ;;
   13510 
   13511     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   13512     # support.  Future versions do this automatically, but an explicit c++rt0.o
   13513     # does not break anything, and helps significantly (at the cost of a little
   13514     # extra space).
   13515     freebsd2.2*)
   13516       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   13517       hardcode_libdir_flag_spec_FC='-R$libdir'
   13518       hardcode_direct_FC=yes
   13519       hardcode_shlibpath_var_FC=no
   13520       ;;
   13521 
   13522     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   13523     freebsd2.*)
   13524       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   13525       hardcode_direct_FC=yes
   13526       hardcode_minus_L_FC=yes
   13527       hardcode_shlibpath_var_FC=no
   13528       ;;
   13529 
   13530     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   13531     freebsd* | dragonfly*)
   13532       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   13533       hardcode_libdir_flag_spec_FC='-R$libdir'
   13534       hardcode_direct_FC=yes
   13535       hardcode_shlibpath_var_FC=no
   13536       ;;
   13537 
   13538     hpux9*)
   13539       if test "$GCC" = yes; then
   13540 	archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   13541       else
   13542 	archive_cmds_FC='$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'
   13543       fi
   13544       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
   13545       hardcode_libdir_separator_FC=:
   13546       hardcode_direct_FC=yes
   13547 
   13548       # hardcode_minus_L: Not really in the search PATH,
   13549       # but as the default location of the library.
   13550       hardcode_minus_L_FC=yes
   13551       export_dynamic_flag_spec_FC='${wl}-E'
   13552       ;;
   13553 
   13554     hpux10*)
   13555       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   13556 	archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   13557       else
   13558 	archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   13559       fi
   13560       if test "$with_gnu_ld" = no; then
   13561 	hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
   13562 	hardcode_libdir_flag_spec_ld_FC='+b $libdir'
   13563 	hardcode_libdir_separator_FC=:
   13564 	hardcode_direct_FC=yes
   13565 	hardcode_direct_absolute_FC=yes
   13566 	export_dynamic_flag_spec_FC='${wl}-E'
   13567 	# hardcode_minus_L: Not really in the search PATH,
   13568 	# but as the default location of the library.
   13569 	hardcode_minus_L_FC=yes
   13570       fi
   13571       ;;
   13572 
   13573     hpux11*)
   13574       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   13575 	case $host_cpu in
   13576 	hppa*64*)
   13577 	  archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   13578 	  ;;
   13579 	ia64*)
   13580 	  archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   13581 	  ;;
   13582 	*)
   13583 	  archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   13584 	  ;;
   13585 	esac
   13586       else
   13587 	case $host_cpu in
   13588 	hppa*64*)
   13589 	  archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   13590 	  ;;
   13591 	ia64*)
   13592 	  archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   13593 	  ;;
   13594 	*)
   13595 	archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   13596 	  ;;
   13597 	esac
   13598       fi
   13599       if test "$with_gnu_ld" = no; then
   13600 	hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
   13601 	hardcode_libdir_separator_FC=:
   13602 
   13603 	case $host_cpu in
   13604 	hppa*64*|ia64*)
   13605 	  hardcode_direct_FC=no
   13606 	  hardcode_shlibpath_var_FC=no
   13607 	  ;;
   13608 	*)
   13609 	  hardcode_direct_FC=yes
   13610 	  hardcode_direct_absolute_FC=yes
   13611 	  export_dynamic_flag_spec_FC='${wl}-E'
   13612 
   13613 	  # hardcode_minus_L: Not really in the search PATH,
   13614 	  # but as the default location of the library.
   13615 	  hardcode_minus_L_FC=yes
   13616 	  ;;
   13617 	esac
   13618       fi
   13619       ;;
   13620 
   13621     irix5* | irix6* | nonstopux*)
   13622       if test "$GCC" = yes; then
   13623 	archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   13624 	# Try to use the -exported_symbol ld option, if it does not
   13625 	# work, assume that -exports_file does not work either and
   13626 	# implicitly export all symbols.
   13627         save_LDFLAGS="$LDFLAGS"
   13628         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   13629         cat > conftest.$ac_ext <<_ACEOF
   13630 int foo(void) {}
   13631 _ACEOF
   13632 if ac_fn_fc_try_link "$LINENO"; then :
   13633   archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   13634 
   13635 fi
   13636 rm -f core conftest.err conftest.$ac_objext \
   13637     conftest$ac_exeext conftest.$ac_ext
   13638         LDFLAGS="$save_LDFLAGS"
   13639       else
   13640 	archive_cmds_FC='$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'
   13641 	archive_expsym_cmds_FC='$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'
   13642       fi
   13643       archive_cmds_need_lc_FC='no'
   13644       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
   13645       hardcode_libdir_separator_FC=:
   13646       inherit_rpath_FC=yes
   13647       link_all_deplibs_FC=yes
   13648       ;;
   13649 
   13650     netbsd*)
   13651       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13652 	archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   13653       else
   13654 	archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   13655       fi
   13656       hardcode_libdir_flag_spec_FC='-R$libdir'
   13657       hardcode_direct_FC=yes
   13658       hardcode_shlibpath_var_FC=no
   13659       ;;
   13660 
   13661     newsos6)
   13662       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13663       hardcode_direct_FC=yes
   13664       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
   13665       hardcode_libdir_separator_FC=:
   13666       hardcode_shlibpath_var_FC=no
   13667       ;;
   13668 
   13669     *nto* | *qnx*)
   13670       ;;
   13671 
   13672     openbsd*)
   13673       if test -f /usr/libexec/ld.so; then
   13674 	hardcode_direct_FC=yes
   13675 	hardcode_shlibpath_var_FC=no
   13676 	hardcode_direct_absolute_FC=yes
   13677 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13678 	  archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   13679 	  archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   13680 	  hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
   13681 	  export_dynamic_flag_spec_FC='${wl}-E'
   13682 	else
   13683 	  case $host_os in
   13684 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   13685 	     archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   13686 	     hardcode_libdir_flag_spec_FC='-R$libdir'
   13687 	     ;;
   13688 	   *)
   13689 	     archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   13690 	     hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
   13691 	     ;;
   13692 	  esac
   13693 	fi
   13694       else
   13695 	ld_shlibs_FC=no
   13696       fi
   13697       ;;
   13698 
   13699     os2*)
   13700       hardcode_libdir_flag_spec_FC='-L$libdir'
   13701       hardcode_minus_L_FC=yes
   13702       allow_undefined_flag_FC=unsupported
   13703       archive_cmds_FC='$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'
   13704       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   13705       ;;
   13706 
   13707     osf3*)
   13708       if test "$GCC" = yes; then
   13709 	allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
   13710 	archive_cmds_FC='$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'
   13711       else
   13712 	allow_undefined_flag_FC=' -expect_unresolved \*'
   13713 	archive_cmds_FC='$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'
   13714       fi
   13715       archive_cmds_need_lc_FC='no'
   13716       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
   13717       hardcode_libdir_separator_FC=:
   13718       ;;
   13719 
   13720     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   13721       if test "$GCC" = yes; then
   13722 	allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
   13723 	archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   13724 	hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
   13725       else
   13726 	allow_undefined_flag_FC=' -expect_unresolved \*'
   13727 	archive_cmds_FC='$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'
   13728 	archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   13729 	$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'
   13730 
   13731 	# Both c and cxx compiler support -rpath directly
   13732 	hardcode_libdir_flag_spec_FC='-rpath $libdir'
   13733       fi
   13734       archive_cmds_need_lc_FC='no'
   13735       hardcode_libdir_separator_FC=:
   13736       ;;
   13737 
   13738     solaris*)
   13739       no_undefined_flag_FC=' -z defs'
   13740       if test "$GCC" = yes; then
   13741 	wlarc='${wl}'
   13742 	archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   13743 	archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13744 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   13745       else
   13746 	case `$CC -V 2>&1` in
   13747 	*"Compilers 5.0"*)
   13748 	  wlarc=''
   13749 	  archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13750 	  archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13751 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   13752 	  ;;
   13753 	*)
   13754 	  wlarc='${wl}'
   13755 	  archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   13756 	  archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13757 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   13758 	  ;;
   13759 	esac
   13760       fi
   13761       hardcode_libdir_flag_spec_FC='-R$libdir'
   13762       hardcode_shlibpath_var_FC=no
   13763       case $host_os in
   13764       solaris2.[0-5] | solaris2.[0-5].*) ;;
   13765       *)
   13766 	# The compiler driver will combine and reorder linker options,
   13767 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   13768 	# but is careful enough not to reorder.
   13769 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   13770 	if test "$GCC" = yes; then
   13771 	  whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13772 	else
   13773 	  whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
   13774 	fi
   13775 	;;
   13776       esac
   13777       link_all_deplibs_FC=yes
   13778       ;;
   13779 
   13780     sunos4*)
   13781       if test "x$host_vendor" = xsequent; then
   13782 	# Use $CC to link under sequent, because it throws in some extra .o
   13783 	# files that make .init and .fini sections work.
   13784 	archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   13785       else
   13786 	archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   13787       fi
   13788       hardcode_libdir_flag_spec_FC='-L$libdir'
   13789       hardcode_direct_FC=yes
   13790       hardcode_minus_L_FC=yes
   13791       hardcode_shlibpath_var_FC=no
   13792       ;;
   13793 
   13794     sysv4)
   13795       case $host_vendor in
   13796 	sni)
   13797 	  archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13798 	  hardcode_direct_FC=yes # is this really true???
   13799 	;;
   13800 	siemens)
   13801 	  ## LD is ld it makes a PLAMLIB
   13802 	  ## CC just makes a GrossModule.
   13803 	  archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   13804 	  reload_cmds_FC='$CC -r -o $output$reload_objs'
   13805 	  hardcode_direct_FC=no
   13806         ;;
   13807 	motorola)
   13808 	  archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13809 	  hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
   13810 	;;
   13811       esac
   13812       runpath_var='LD_RUN_PATH'
   13813       hardcode_shlibpath_var_FC=no
   13814       ;;
   13815 
   13816     sysv4.3*)
   13817       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13818       hardcode_shlibpath_var_FC=no
   13819       export_dynamic_flag_spec_FC='-Bexport'
   13820       ;;
   13821 
   13822     sysv4*MP*)
   13823       if test -d /usr/nec; then
   13824 	archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13825 	hardcode_shlibpath_var_FC=no
   13826 	runpath_var=LD_RUN_PATH
   13827 	hardcode_runpath_var=yes
   13828 	ld_shlibs_FC=yes
   13829       fi
   13830       ;;
   13831 
   13832     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13833       no_undefined_flag_FC='${wl}-z,text'
   13834       archive_cmds_need_lc_FC=no
   13835       hardcode_shlibpath_var_FC=no
   13836       runpath_var='LD_RUN_PATH'
   13837 
   13838       if test "$GCC" = yes; then
   13839 	archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13840 	archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13841       else
   13842 	archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13843 	archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13844       fi
   13845       ;;
   13846 
   13847     sysv5* | sco3.2v5* | sco5v6*)
   13848       # Note: We can NOT use -z defs as we might desire, because we do not
   13849       # link with -lc, and that would cause any symbols used from libc to
   13850       # always be unresolved, which means just about no library would
   13851       # ever link correctly.  If we're not using GNU ld we use -z text
   13852       # though, which does catch some bad symbols but isn't as heavy-handed
   13853       # as -z defs.
   13854       no_undefined_flag_FC='${wl}-z,text'
   13855       allow_undefined_flag_FC='${wl}-z,nodefs'
   13856       archive_cmds_need_lc_FC=no
   13857       hardcode_shlibpath_var_FC=no
   13858       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
   13859       hardcode_libdir_separator_FC=':'
   13860       link_all_deplibs_FC=yes
   13861       export_dynamic_flag_spec_FC='${wl}-Bexport'
   13862       runpath_var='LD_RUN_PATH'
   13863 
   13864       if test "$GCC" = yes; then
   13865 	archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13866 	archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13867       else
   13868 	archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13869 	archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13870       fi
   13871       ;;
   13872 
   13873     uts4*)
   13874       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   13875       hardcode_libdir_flag_spec_FC='-L$libdir'
   13876       hardcode_shlibpath_var_FC=no
   13877       ;;
   13878 
   13879     *)
   13880       ld_shlibs_FC=no
   13881       ;;
   13882     esac
   13883 
   13884     if test x$host_vendor = xsni; then
   13885       case $host in
   13886       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   13887 	export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
   13888 	;;
   13889       esac
   13890     fi
   13891   fi
   13892 
   13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
   13894 $as_echo "$ld_shlibs_FC" >&6; }
   13895 test "$ld_shlibs_FC" = no && can_build_shared=no
   13896 
   13897 with_gnu_ld_FC=$with_gnu_ld
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 #
   13905 # Do we need to explicitly link libc?
   13906 #
   13907 case "x$archive_cmds_need_lc_FC" in
   13908 x|xyes)
   13909   # Assume -lc should be added
   13910   archive_cmds_need_lc_FC=yes
   13911 
   13912   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13913     case $archive_cmds_FC in
   13914     *'~'*)
   13915       # FIXME: we may have to deal with multi-command sequences.
   13916       ;;
   13917     '$CC '*)
   13918       # Test whether the compiler implicitly links with -lc since on some
   13919       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13920       # to ld, don't add -lc before -lgcc.
   13921       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   13922 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13923 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
   13924   $as_echo_n "(cached) " >&6
   13925 else
   13926   $RM conftest*
   13927 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13928 
   13929 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13930   (eval $ac_compile) 2>&5
   13931   ac_status=$?
   13932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13933   test $ac_status = 0; } 2>conftest.err; then
   13934 	  soname=conftest
   13935 	  lib=conftest
   13936 	  libobjs=conftest.$ac_objext
   13937 	  deplibs=
   13938 	  wl=$lt_prog_compiler_wl_FC
   13939 	  pic_flag=$lt_prog_compiler_pic_FC
   13940 	  compiler_flags=-v
   13941 	  linker_flags=-v
   13942 	  verstring=
   13943 	  output_objdir=.
   13944 	  libname=conftest
   13945 	  lt_save_allow_undefined_flag=$allow_undefined_flag_FC
   13946 	  allow_undefined_flag_FC=
   13947 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   13948   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13949   ac_status=$?
   13950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13951   test $ac_status = 0; }
   13952 	  then
   13953 	    lt_cv_archive_cmds_need_lc_FC=no
   13954 	  else
   13955 	    lt_cv_archive_cmds_need_lc_FC=yes
   13956 	  fi
   13957 	  allow_undefined_flag_FC=$lt_save_allow_undefined_flag
   13958 	else
   13959 	  cat conftest.err 1>&5
   13960 	fi
   13961 	$RM conftest*
   13962 
   13963 fi
   13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
   13965 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
   13966       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
   13967       ;;
   13968     esac
   13969   fi
   13970   ;;
   13971 esac
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14037 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14038 
   14039 library_names_spec=
   14040 libname_spec='lib$name'
   14041 soname_spec=
   14042 shrext_cmds=".so"
   14043 postinstall_cmds=
   14044 postuninstall_cmds=
   14045 finish_cmds=
   14046 finish_eval=
   14047 shlibpath_var=
   14048 shlibpath_overrides_runpath=unknown
   14049 version_type=none
   14050 dynamic_linker="$host_os ld.so"
   14051 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14052 need_lib_prefix=unknown
   14053 hardcode_into_libs=no
   14054 
   14055 # when you set need_version to no, make sure it does not cause -set_version
   14056 # flags to be left without arguments
   14057 need_version=unknown
   14058 
   14059 case $host_os in
   14060 aix3*)
   14061   version_type=linux
   14062   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14063   shlibpath_var=LIBPATH
   14064 
   14065   # AIX 3 has no versioning support, so we append a major version to the name.
   14066   soname_spec='${libname}${release}${shared_ext}$major'
   14067   ;;
   14068 
   14069 aix[4-9]*)
   14070   version_type=linux
   14071   need_lib_prefix=no
   14072   need_version=no
   14073   hardcode_into_libs=yes
   14074   if test "$host_cpu" = ia64; then
   14075     # AIX 5 supports IA64
   14076     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14077     shlibpath_var=LD_LIBRARY_PATH
   14078   else
   14079     # With GCC up to 2.95.x, collect2 would create an import file
   14080     # for dependence libraries.  The import file would start with
   14081     # the line `#! .'.  This would cause the generated library to
   14082     # depend on `.', always an invalid library.  This was fixed in
   14083     # development snapshots of GCC prior to 3.0.
   14084     case $host_os in
   14085       aix4 | aix4.[01] | aix4.[01].*)
   14086       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14087 	   echo ' yes '
   14088 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   14089 	:
   14090       else
   14091 	can_build_shared=no
   14092       fi
   14093       ;;
   14094     esac
   14095     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14096     # soname into executable. Probably we can add versioning support to
   14097     # collect2, so additional links can be useful in future.
   14098     if test "$aix_use_runtimelinking" = yes; then
   14099       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14100       # instead of lib<name>.a to let people know that these are not
   14101       # typical AIX shared libraries.
   14102       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14103     else
   14104       # We preserve .a as extension for shared libraries through AIX4.2
   14105       # and later when we are not doing run time linking.
   14106       library_names_spec='${libname}${release}.a $libname.a'
   14107       soname_spec='${libname}${release}${shared_ext}$major'
   14108     fi
   14109     shlibpath_var=LIBPATH
   14110   fi
   14111   ;;
   14112 
   14113 amigaos*)
   14114   case $host_cpu in
   14115   powerpc)
   14116     # Since July 2007 AmigaOS4 officially supports .so libraries.
   14117     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   14118     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14119     ;;
   14120   m68k)
   14121     library_names_spec='$libname.ixlibrary $libname.a'
   14122     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14123     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'
   14124     ;;
   14125   esac
   14126   ;;
   14127 
   14128 beos*)
   14129   library_names_spec='${libname}${shared_ext}'
   14130   dynamic_linker="$host_os ld.so"
   14131   shlibpath_var=LIBRARY_PATH
   14132   ;;
   14133 
   14134 bsdi[45]*)
   14135   version_type=linux
   14136   need_version=no
   14137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14138   soname_spec='${libname}${release}${shared_ext}$major'
   14139   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14140   shlibpath_var=LD_LIBRARY_PATH
   14141   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14142   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14143   # the default ld.so.conf also contains /usr/contrib/lib and
   14144   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14145   # libtool to hard-code these into programs
   14146   ;;
   14147 
   14148 cygwin* | mingw* | pw32* | cegcc*)
   14149   version_type=windows
   14150   shrext_cmds=".dll"
   14151   need_version=no
   14152   need_lib_prefix=no
   14153 
   14154   case $GCC,$host_os in
   14155   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   14156     library_names_spec='$libname.dll.a'
   14157     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14158     postinstall_cmds='base_file=`basename \${file}`~
   14159       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   14160       dldir=$destdir/`dirname \$dlpath`~
   14161       test -d \$dldir || mkdir -p \$dldir~
   14162       $install_prog $dir/$dlname \$dldir/$dlname~
   14163       chmod a+x \$dldir/$dlname~
   14164       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   14165         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   14166       fi'
   14167     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14168       dlpath=$dir/\$dldll~
   14169        $RM \$dlpath'
   14170     shlibpath_overrides_runpath=yes
   14171 
   14172     case $host_os in
   14173     cygwin*)
   14174       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   14175       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14176 
   14177       ;;
   14178     mingw* | cegcc*)
   14179       # MinGW DLLs use traditional 'lib' prefix
   14180       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14181       ;;
   14182     pw32*)
   14183       # pw32 DLLs use 'pw' prefix rather than 'lib'
   14184       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14185       ;;
   14186     esac
   14187     ;;
   14188 
   14189   *)
   14190     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   14191     ;;
   14192   esac
   14193   dynamic_linker='Win32 ld.exe'
   14194   # FIXME: first we should search . and the directory the executable is in
   14195   shlibpath_var=PATH
   14196   ;;
   14197 
   14198 darwin* | rhapsody*)
   14199   dynamic_linker="$host_os dyld"
   14200   version_type=darwin
   14201   need_lib_prefix=no
   14202   need_version=no
   14203   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   14204   soname_spec='${libname}${release}${major}$shared_ext'
   14205   shlibpath_overrides_runpath=yes
   14206   shlibpath_var=DYLD_LIBRARY_PATH
   14207   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   14208 
   14209   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   14210   ;;
   14211 
   14212 dgux*)
   14213   version_type=linux
   14214   need_lib_prefix=no
   14215   need_version=no
   14216   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   14217   soname_spec='${libname}${release}${shared_ext}$major'
   14218   shlibpath_var=LD_LIBRARY_PATH
   14219   ;;
   14220 
   14221 freebsd* | dragonfly*)
   14222   # DragonFly does not have aout.  When/if they implement a new
   14223   # versioning mechanism, adjust this.
   14224   if test -x /usr/bin/objformat; then
   14225     objformat=`/usr/bin/objformat`
   14226   else
   14227     case $host_os in
   14228     freebsd[23].*) objformat=aout ;;
   14229     *) objformat=elf ;;
   14230     esac
   14231   fi
   14232   version_type=freebsd-$objformat
   14233   case $version_type in
   14234     freebsd-elf*)
   14235       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14236       need_version=no
   14237       need_lib_prefix=no
   14238       ;;
   14239     freebsd-*)
   14240       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   14241       need_version=yes
   14242       ;;
   14243   esac
   14244   shlibpath_var=LD_LIBRARY_PATH
   14245   case $host_os in
   14246   freebsd2.*)
   14247     shlibpath_overrides_runpath=yes
   14248     ;;
   14249   freebsd3.[01]* | freebsdelf3.[01]*)
   14250     shlibpath_overrides_runpath=yes
   14251     hardcode_into_libs=yes
   14252     ;;
   14253   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   14254   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   14255     shlibpath_overrides_runpath=no
   14256     hardcode_into_libs=yes
   14257     ;;
   14258   *) # from 4.6 on, and DragonFly
   14259     shlibpath_overrides_runpath=yes
   14260     hardcode_into_libs=yes
   14261     ;;
   14262   esac
   14263   ;;
   14264 
   14265 haiku*)
   14266   version_type=linux
   14267   need_lib_prefix=no
   14268   need_version=no
   14269   dynamic_linker="$host_os runtime_loader"
   14270   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14271   soname_spec='${libname}${release}${shared_ext}$major'
   14272   shlibpath_var=LIBRARY_PATH
   14273   shlibpath_overrides_runpath=yes
   14274   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
   14275   hardcode_into_libs=yes
   14276   ;;
   14277 
   14278 hpux9* | hpux10* | hpux11*)
   14279   # Give a soname corresponding to the major version so that dld.sl refuses to
   14280   # link against other versions.
   14281   version_type=sunos
   14282   need_lib_prefix=no
   14283   need_version=no
   14284   case $host_cpu in
   14285   ia64*)
   14286     shrext_cmds='.so'
   14287     hardcode_into_libs=yes
   14288     dynamic_linker="$host_os dld.so"
   14289     shlibpath_var=LD_LIBRARY_PATH
   14290     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14291     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14292     soname_spec='${libname}${release}${shared_ext}$major'
   14293     if test "X$HPUX_IA64_MODE" = X32; then
   14294       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   14295     else
   14296       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   14297     fi
   14298     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14299     ;;
   14300   hppa*64*)
   14301     shrext_cmds='.sl'
   14302     hardcode_into_libs=yes
   14303     dynamic_linker="$host_os dld.sl"
   14304     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   14305     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14306     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14307     soname_spec='${libname}${release}${shared_ext}$major'
   14308     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   14309     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14310     ;;
   14311   *)
   14312     shrext_cmds='.sl'
   14313     dynamic_linker="$host_os dld.sl"
   14314     shlibpath_var=SHLIB_PATH
   14315     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   14316     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14317     soname_spec='${libname}${release}${shared_ext}$major'
   14318     ;;
   14319   esac
   14320   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   14321   postinstall_cmds='chmod 555 $lib'
   14322   # or fails outright, so override atomically:
   14323   install_override_mode=555
   14324   ;;
   14325 
   14326 interix[3-9]*)
   14327   version_type=linux
   14328   need_lib_prefix=no
   14329   need_version=no
   14330   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14331   soname_spec='${libname}${release}${shared_ext}$major'
   14332   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   14333   shlibpath_var=LD_LIBRARY_PATH
   14334   shlibpath_overrides_runpath=no
   14335   hardcode_into_libs=yes
   14336   ;;
   14337 
   14338 irix5* | irix6* | nonstopux*)
   14339   case $host_os in
   14340     nonstopux*) version_type=nonstopux ;;
   14341     *)
   14342 	if test "$lt_cv_prog_gnu_ld" = yes; then
   14343 		version_type=linux
   14344 	else
   14345 		version_type=irix
   14346 	fi ;;
   14347   esac
   14348   need_lib_prefix=no
   14349   need_version=no
   14350   soname_spec='${libname}${release}${shared_ext}$major'
   14351   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   14352   case $host_os in
   14353   irix5* | nonstopux*)
   14354     libsuff= shlibsuff=
   14355     ;;
   14356   *)
   14357     case $LD in # libtool.m4 will add one of these switches to LD
   14358     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   14359       libsuff= shlibsuff= libmagic=32-bit;;
   14360     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   14361       libsuff=32 shlibsuff=N32 libmagic=N32;;
   14362     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   14363       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   14364     *) libsuff= shlibsuff= libmagic=never-match;;
   14365     esac
   14366     ;;
   14367   esac
   14368   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   14369   shlibpath_overrides_runpath=no
   14370   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   14371   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   14372   hardcode_into_libs=yes
   14373   ;;
   14374 
   14375 # No shared lib support for Linux oldld, aout, or coff.
   14376 linux*oldld* | linux*aout* | linux*coff*)
   14377   dynamic_linker=no
   14378   ;;
   14379 
   14380 # This must be Linux ELF.
   14381 
   14382 # uclinux* changes (here and below) have been submitted to the libtool
   14383 # project, but have not yet been accepted: they are GCC-local changes
   14384 # for the time being.  (See
   14385 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   14386 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   14387   version_type=linux
   14388   need_lib_prefix=no
   14389   need_version=no
   14390   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14391   soname_spec='${libname}${release}${shared_ext}$major'
   14392   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   14393   shlibpath_var=LD_LIBRARY_PATH
   14394   shlibpath_overrides_runpath=no
   14395 
   14396   # Some binutils ld are patched to set DT_RUNPATH
   14397   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   14398   $as_echo_n "(cached) " >&6
   14399 else
   14400   lt_cv_shlibpath_overrides_runpath=no
   14401     save_LDFLAGS=$LDFLAGS
   14402     save_libdir=$libdir
   14403     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
   14404 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
   14405     cat > conftest.$ac_ext <<_ACEOF
   14406       program main
   14407 
   14408       end
   14409 _ACEOF
   14410 if ac_fn_fc_try_link "$LINENO"; then :
   14411   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   14412   lt_cv_shlibpath_overrides_runpath=yes
   14413 fi
   14414 fi
   14415 rm -f core conftest.err conftest.$ac_objext \
   14416     conftest$ac_exeext conftest.$ac_ext
   14417     LDFLAGS=$save_LDFLAGS
   14418     libdir=$save_libdir
   14419 
   14420 fi
   14421 
   14422   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   14423 
   14424   # This implies no fast_install, which is unacceptable.
   14425   # Some rework will be needed to allow for fast_install
   14426   # before this can be enabled.
   14427   hardcode_into_libs=yes
   14428 
   14429   # Append ld.so.conf contents to the search path
   14430   if test -f /etc/ld.so.conf; then
   14431     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' ' '`
   14432     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   14433   fi
   14434 
   14435   # We used to test for /lib/ld.so.1 and disable shared libraries on
   14436   # powerpc, because MkLinux only supported shared libraries with the
   14437   # GNU dynamic linker.  Since this was broken with cross compilers,
   14438   # most powerpc-linux boxes support dynamic linking these days and
   14439   # people can always --disable-shared, the test was removed, and we
   14440   # assume the GNU/Linux dynamic linker is in use.
   14441   dynamic_linker='GNU/Linux ld.so'
   14442   ;;
   14443 
   14444 netbsd*)
   14445   version_type=sunos
   14446   need_lib_prefix=no
   14447   need_version=no
   14448   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14449     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14450     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14451     dynamic_linker='NetBSD (a.out) ld.so'
   14452   else
   14453     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14454     soname_spec='${libname}${release}${shared_ext}$major'
   14455     dynamic_linker='NetBSD ld.elf_so'
   14456   fi
   14457   shlibpath_var=LD_LIBRARY_PATH
   14458   shlibpath_overrides_runpath=yes
   14459   hardcode_into_libs=yes
   14460   ;;
   14461 
   14462 newsos6)
   14463   version_type=linux
   14464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14465   shlibpath_var=LD_LIBRARY_PATH
   14466   shlibpath_overrides_runpath=yes
   14467   ;;
   14468 
   14469 *nto* | *qnx*)
   14470   version_type=qnx
   14471   need_lib_prefix=no
   14472   need_version=no
   14473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14474   soname_spec='${libname}${release}${shared_ext}$major'
   14475   shlibpath_var=LD_LIBRARY_PATH
   14476   shlibpath_overrides_runpath=no
   14477   hardcode_into_libs=yes
   14478   dynamic_linker='ldqnx.so'
   14479   ;;
   14480 
   14481 openbsd*)
   14482   version_type=sunos
   14483   sys_lib_dlsearch_path_spec="/usr/lib"
   14484   need_lib_prefix=no
   14485   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   14486   case $host_os in
   14487     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   14488     *)				need_version=no  ;;
   14489   esac
   14490   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14491   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14492   shlibpath_var=LD_LIBRARY_PATH
   14493   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14494     case $host_os in
   14495       openbsd2.[89] | openbsd2.[89].*)
   14496 	shlibpath_overrides_runpath=no
   14497 	;;
   14498       *)
   14499 	shlibpath_overrides_runpath=yes
   14500 	;;
   14501       esac
   14502   else
   14503     shlibpath_overrides_runpath=yes
   14504   fi
   14505   ;;
   14506 
   14507 os2*)
   14508   libname_spec='$name'
   14509   shrext_cmds=".dll"
   14510   need_lib_prefix=no
   14511   library_names_spec='$libname${shared_ext} $libname.a'
   14512   dynamic_linker='OS/2 ld.exe'
   14513   shlibpath_var=LIBPATH
   14514   ;;
   14515 
   14516 osf3* | osf4* | osf5*)
   14517   version_type=osf
   14518   need_lib_prefix=no
   14519   need_version=no
   14520   soname_spec='${libname}${release}${shared_ext}$major'
   14521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14522   shlibpath_var=LD_LIBRARY_PATH
   14523   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   14524   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   14525   ;;
   14526 
   14527 rdos*)
   14528   dynamic_linker=no
   14529   ;;
   14530 
   14531 solaris*)
   14532   version_type=linux
   14533   need_lib_prefix=no
   14534   need_version=no
   14535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14536   soname_spec='${libname}${release}${shared_ext}$major'
   14537   shlibpath_var=LD_LIBRARY_PATH
   14538   shlibpath_overrides_runpath=yes
   14539   hardcode_into_libs=yes
   14540   # ldd complains unless libraries are executable
   14541   postinstall_cmds='chmod +x $lib'
   14542   ;;
   14543 
   14544 sunos4*)
   14545   version_type=sunos
   14546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14547   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   14548   shlibpath_var=LD_LIBRARY_PATH
   14549   shlibpath_overrides_runpath=yes
   14550   if test "$with_gnu_ld" = yes; then
   14551     need_lib_prefix=no
   14552   fi
   14553   need_version=yes
   14554   ;;
   14555 
   14556 sysv4 | sysv4.3*)
   14557   version_type=linux
   14558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14559   soname_spec='${libname}${release}${shared_ext}$major'
   14560   shlibpath_var=LD_LIBRARY_PATH
   14561   case $host_vendor in
   14562     sni)
   14563       shlibpath_overrides_runpath=no
   14564       need_lib_prefix=no
   14565       runpath_var=LD_RUN_PATH
   14566       ;;
   14567     siemens)
   14568       need_lib_prefix=no
   14569       ;;
   14570     motorola)
   14571       need_lib_prefix=no
   14572       need_version=no
   14573       shlibpath_overrides_runpath=no
   14574       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   14575       ;;
   14576   esac
   14577   ;;
   14578 
   14579 sysv4*MP*)
   14580   if test -d /usr/nec ;then
   14581     version_type=linux
   14582     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   14583     soname_spec='$libname${shared_ext}.$major'
   14584     shlibpath_var=LD_LIBRARY_PATH
   14585   fi
   14586   ;;
   14587 
   14588 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   14589   version_type=freebsd-elf
   14590   need_lib_prefix=no
   14591   need_version=no
   14592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14593   soname_spec='${libname}${release}${shared_ext}$major'
   14594   shlibpath_var=LD_LIBRARY_PATH
   14595   shlibpath_overrides_runpath=yes
   14596   hardcode_into_libs=yes
   14597   if test "$with_gnu_ld" = yes; then
   14598     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   14599   else
   14600     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   14601     case $host_os in
   14602       sco3.2v5*)
   14603         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   14604 	;;
   14605     esac
   14606   fi
   14607   sys_lib_dlsearch_path_spec='/usr/lib'
   14608   ;;
   14609 
   14610 tpf*)
   14611   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   14612   version_type=linux
   14613   need_lib_prefix=no
   14614   need_version=no
   14615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14616   shlibpath_var=LD_LIBRARY_PATH
   14617   shlibpath_overrides_runpath=no
   14618   hardcode_into_libs=yes
   14619   ;;
   14620 
   14621 uts4*)
   14622   version_type=linux
   14623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14624   soname_spec='${libname}${release}${shared_ext}$major'
   14625   shlibpath_var=LD_LIBRARY_PATH
   14626   ;;
   14627 
   14628 *)
   14629   dynamic_linker=no
   14630   ;;
   14631 esac
   14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   14633 $as_echo "$dynamic_linker" >&6; }
   14634 test "$dynamic_linker" = no && can_build_shared=no
   14635 
   14636 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   14637 if test "$GCC" = yes; then
   14638   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   14639 fi
   14640 
   14641 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   14642   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   14643 fi
   14644 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   14645   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   14646 fi
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 
   14655 
   14656 
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 
   14685     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   14686 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   14687 hardcode_action_FC=
   14688 if test -n "$hardcode_libdir_flag_spec_FC" ||
   14689    test -n "$runpath_var_FC" ||
   14690    test "X$hardcode_automatic_FC" = "Xyes" ; then
   14691 
   14692   # We can hardcode non-existent directories.
   14693   if test "$hardcode_direct_FC" != no &&
   14694      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   14695      # have to relink, otherwise we might link with an installed library
   14696      # when we should be linking with a yet-to-be-installed one
   14697      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
   14698      test "$hardcode_minus_L_FC" != no; then
   14699     # Linking always hardcodes the temporary library directory.
   14700     hardcode_action_FC=relink
   14701   else
   14702     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   14703     hardcode_action_FC=immediate
   14704   fi
   14705 else
   14706   # We cannot hardcode anything, or else we can only hardcode existing
   14707   # directories.
   14708   hardcode_action_FC=unsupported
   14709 fi
   14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
   14711 $as_echo "$hardcode_action_FC" >&6; }
   14712 
   14713 if test "$hardcode_action_FC" = relink ||
   14714    test "$inherit_rpath_FC" = yes; then
   14715   # Fast installation is not supported
   14716   enable_fast_install=no
   14717 elif test "$shlibpath_overrides_runpath" = yes ||
   14718      test "$enable_shared" = no; then
   14719   # Fast installation is not necessary
   14720   enable_fast_install=needless
   14721 fi
   14722 
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 
   14729   fi # test -n "$compiler"
   14730 
   14731   GCC=$lt_save_GCC
   14732   CC="$lt_save_CC"
   14733 fi # test "$_lt_disable_FC" != yes
   14734 
   14735 ac_ext=c
   14736 ac_cpp='$CPP $CPPFLAGS'
   14737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14740 
   14741 
   14742 FCFLAGS="$FCFLAGS -Wall -L../libgfortran"
   14743 
   14744 # For libtool versioning info, format is CURRENT:REVISION:AGE
   14745 libtool_VERSION=1:0:0
   14746 
   14747 
   14748 # Check header files.
   14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   14750 $as_echo_n "checking for ANSI C header files... " >&6; }
   14751 if ${ac_cv_header_stdc+:} false; then :
   14752   $as_echo_n "(cached) " >&6
   14753 else
   14754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14755 /* end confdefs.h.  */
   14756 #include <stdlib.h>
   14757 #include <stdarg.h>
   14758 #include <string.h>
   14759 #include <float.h>
   14760 
   14761 int
   14762 main ()
   14763 {
   14764 
   14765   ;
   14766   return 0;
   14767 }
   14768 _ACEOF
   14769 if ac_fn_c_try_compile "$LINENO"; then :
   14770   ac_cv_header_stdc=yes
   14771 else
   14772   ac_cv_header_stdc=no
   14773 fi
   14774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14775 
   14776 if test $ac_cv_header_stdc = yes; then
   14777   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   14778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14779 /* end confdefs.h.  */
   14780 #include <string.h>
   14781 
   14782 _ACEOF
   14783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   14784   $EGREP "memchr" >/dev/null 2>&1; then :
   14785 
   14786 else
   14787   ac_cv_header_stdc=no
   14788 fi
   14789 rm -f conftest*
   14790 
   14791 fi
   14792 
   14793 if test $ac_cv_header_stdc = yes; then
   14794   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   14795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14796 /* end confdefs.h.  */
   14797 #include <stdlib.h>
   14798 
   14799 _ACEOF
   14800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   14801   $EGREP "free" >/dev/null 2>&1; then :
   14802 
   14803 else
   14804   ac_cv_header_stdc=no
   14805 fi
   14806 rm -f conftest*
   14807 
   14808 fi
   14809 
   14810 if test $ac_cv_header_stdc = yes; then
   14811   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   14812   if test "$cross_compiling" = yes; then :
   14813   :
   14814 else
   14815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14816 /* end confdefs.h.  */
   14817 #include <ctype.h>
   14818 #include <stdlib.h>
   14819 #if ((' ' & 0x0FF) == 0x020)
   14820 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   14821 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   14822 #else
   14823 # define ISLOWER(c) \
   14824 		   (('a' <= (c) && (c) <= 'i') \
   14825 		     || ('j' <= (c) && (c) <= 'r') \
   14826 		     || ('s' <= (c) && (c) <= 'z'))
   14827 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   14828 #endif
   14829 
   14830 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   14831 int
   14832 main ()
   14833 {
   14834   int i;
   14835   for (i = 0; i < 256; i++)
   14836     if (XOR (islower (i), ISLOWER (i))
   14837 	|| toupper (i) != TOUPPER (i))
   14838       return 2;
   14839   return 0;
   14840 }
   14841 _ACEOF
   14842 if ac_fn_c_try_run "$LINENO"; then :
   14843 
   14844 else
   14845   ac_cv_header_stdc=no
   14846 fi
   14847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   14848   conftest.$ac_objext conftest.beam conftest.$ac_ext
   14849 fi
   14850 
   14851 fi
   14852 fi
   14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   14854 $as_echo "$ac_cv_header_stdc" >&6; }
   14855 if test $ac_cv_header_stdc = yes; then
   14856 
   14857 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   14858 
   14859 fi
   14860 
   14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
   14862 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   14863 if ${ac_cv_header_time+:} false; then :
   14864   $as_echo_n "(cached) " >&6
   14865 else
   14866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14867 /* end confdefs.h.  */
   14868 #include <sys/types.h>
   14869 #include <sys/time.h>
   14870 #include <time.h>
   14871 
   14872 int
   14873 main ()
   14874 {
   14875 if ((struct tm *) 0)
   14876 return 0;
   14877   ;
   14878   return 0;
   14879 }
   14880 _ACEOF
   14881 if ac_fn_c_try_compile "$LINENO"; then :
   14882   ac_cv_header_time=yes
   14883 else
   14884   ac_cv_header_time=no
   14885 fi
   14886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14887 fi
   14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
   14889 $as_echo "$ac_cv_header_time" >&6; }
   14890 if test $ac_cv_header_time = yes; then
   14891 
   14892 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
   14893 
   14894 fi
   14895 
   14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
   14897 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
   14898 if ${gcc_cv_header_string+:} false; then :
   14899   $as_echo_n "(cached) " >&6
   14900 else
   14901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14902 /* end confdefs.h.  */
   14903 #include <string.h>
   14904 #include <strings.h>
   14905 int
   14906 main ()
   14907 {
   14908 
   14909   ;
   14910   return 0;
   14911 }
   14912 _ACEOF
   14913 if ac_fn_c_try_compile "$LINENO"; then :
   14914   gcc_cv_header_string=yes
   14915 else
   14916   gcc_cv_header_string=no
   14917 fi
   14918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14919 fi
   14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
   14921 $as_echo "$gcc_cv_header_string" >&6; }
   14922 if test $gcc_cv_header_string = yes; then
   14923 
   14924 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
   14925 
   14926 fi
   14927 
   14928 for ac_header in pthread.h unistd.h semaphore.h sys/loadavg.h sys/sysctl.h sys/time.h
   14929 do :
   14930   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14931 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   14932 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   14933   cat >>confdefs.h <<_ACEOF
   14934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   14935 _ACEOF
   14936 
   14937 fi
   14938 
   14939 done
   14940 
   14941 
   14942 XPCFLAGS=""
   14943 case "$host" in
   14944   *-*-rtems*)
   14945     # RTEMS supports Pthreads, but the library is not available at GCC build time.
   14946     ;;
   14947   nvptx*-*-* | amdgcn*-*-*)
   14948     # NVPTX does not support Pthreads, has its own code replacement.
   14949     libgomp_use_pthreads=no
   14950     # NVPTX is an accelerator-only target
   14951     libgomp_offloaded_only=yes
   14952     ;;
   14953   *)
   14954     # Check to see if -pthread or -lpthread is needed.  Prefer the former.
   14955     # In case the pthread.h system header is not found, this test will fail.
   14956     CFLAGS="$CFLAGS -pthread"
   14957     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14958 /* end confdefs.h.  */
   14959 #include <pthread.h>
   14960        void *g(void *d) { return NULL; }
   14961 int
   14962 main ()
   14963 {
   14964 pthread_t t; pthread_create(&t,NULL,g,NULL);
   14965   ;
   14966   return 0;
   14967 }
   14968 _ACEOF
   14969 if ac_fn_c_try_link "$LINENO"; then :
   14970   XPCFLAGS=" -Wc,-pthread"
   14971 else
   14972   CFLAGS="$save_CFLAGS" LIBS="-lpthread $LIBS"
   14973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14974 /* end confdefs.h.  */
   14975 #include <pthread.h>
   14976          void *g(void *d) { return NULL; }
   14977 int
   14978 main ()
   14979 {
   14980 pthread_t t; pthread_create(&t,NULL,g,NULL);
   14981   ;
   14982   return 0;
   14983 }
   14984 _ACEOF
   14985 if ac_fn_c_try_link "$LINENO"; then :
   14986 
   14987 else
   14988   as_fn_error $? "Pthreads are required to build libgomp" "$LINENO" 5
   14989 fi
   14990 rm -f core conftest.err conftest.$ac_objext \
   14991     conftest$ac_exeext conftest.$ac_ext
   14992 fi
   14993 rm -f core conftest.err conftest.$ac_objext \
   14994     conftest$ac_exeext conftest.$ac_ext
   14995 esac
   14996 
   14997 if test x$libgomp_use_pthreads != xno; then
   14998 
   14999 $as_echo "#define LIBGOMP_USE_PTHREADS 1" >>confdefs.h
   15000 
   15001 fi
   15002 
   15003 if test x$libgomp_offloaded_only = xyes; then
   15004 
   15005 $as_echo "#define LIBGOMP_OFFLOADED_ONLY 1" >>confdefs.h
   15006 
   15007 fi
   15008 
   15009 if test "x$enable_offload_defaulted" = xyes; then
   15010 
   15011 $as_echo "#define OFFLOAD_DEFAULTED 1" >>confdefs.h
   15012 
   15013 fi
   15014 
   15015 # The cast to long int works around a bug in the HP C Compiler
   15016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15018 # This bug is HP SR number 8606223364.
   15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   15020 $as_echo_n "checking size of void *... " >&6; }
   15021 if ${ac_cv_sizeof_void_p+:} false; then :
   15022   $as_echo_n "(cached) " >&6
   15023 else
   15024   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   15025 
   15026 else
   15027   if test "$ac_cv_type_void_p" = yes; then
   15028      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15030 as_fn_error 77 "cannot compute sizeof (void *)
   15031 See \`config.log' for more details" "$LINENO" 5; }
   15032    else
   15033      ac_cv_sizeof_void_p=0
   15034    fi
   15035 fi
   15036 
   15037 fi
   15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   15039 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   15040 
   15041 
   15042 
   15043 cat >>confdefs.h <<_ACEOF
   15044 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   15045 _ACEOF
   15046 
   15047 
   15048 
   15049 # Plugins for offload execution, configure.ac fragment.  -*- mode: autoconf -*-
   15050 #
   15051 # Copyright (C) 2014-2022 Free Software Foundation, Inc.
   15052 #
   15053 # Contributed by Mentor Embedded.
   15054 #
   15055 # This file is part of the GNU Offloading and Multi Processing Library
   15056 # (libgomp).
   15057 #
   15058 # Libgomp is free software; you can redistribute it and/or modify it
   15059 # under the terms of the GNU General Public License as published by
   15060 # the Free Software Foundation; either version 3, or (at your option)
   15061 # any later version.
   15062 #
   15063 # Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
   15064 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
   15065 # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
   15066 # more details.
   15067 #
   15068 # Under Section 7 of GPL version 3, you are granted additional
   15069 # permissions described in the GCC Runtime Library Exception, version
   15070 # 3.1, as published by the Free Software Foundation.
   15071 #
   15072 # You should have received a copy of the GNU General Public License and
   15073 # a copy of the GCC Runtime Library Exception along with this program;
   15074 # see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
   15075 # <http://www.gnu.org/licenses/>.
   15076 
   15077 plugin_support=yes
   15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
   15079 $as_echo_n "checking for dlsym in -ldl... " >&6; }
   15080 if ${ac_cv_lib_dl_dlsym+:} false; then :
   15081   $as_echo_n "(cached) " >&6
   15082 else
   15083   ac_check_lib_save_LIBS=$LIBS
   15084 LIBS="-ldl  $LIBS"
   15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15086 /* end confdefs.h.  */
   15087 
   15088 /* Override any GCC internal prototype to avoid an error.
   15089    Use char because int might match the return type of a GCC
   15090    builtin and then its argument prototype would still apply.  */
   15091 #ifdef __cplusplus
   15092 extern "C"
   15093 #endif
   15094 char dlsym ();
   15095 int
   15096 main ()
   15097 {
   15098 return dlsym ();
   15099   ;
   15100   return 0;
   15101 }
   15102 _ACEOF
   15103 if ac_fn_c_try_link "$LINENO"; then :
   15104   ac_cv_lib_dl_dlsym=yes
   15105 else
   15106   ac_cv_lib_dl_dlsym=no
   15107 fi
   15108 rm -f core conftest.err conftest.$ac_objext \
   15109     conftest$ac_exeext conftest.$ac_ext
   15110 LIBS=$ac_check_lib_save_LIBS
   15111 fi
   15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
   15113 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
   15114 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
   15115   cat >>confdefs.h <<_ACEOF
   15116 #define HAVE_LIBDL 1
   15117 _ACEOF
   15118 
   15119   LIBS="-ldl $LIBS"
   15120 
   15121 else
   15122   plugin_support=no
   15123 fi
   15124 
   15125 if test x"$plugin_support" = xyes; then
   15126 
   15127 $as_echo "#define PLUGIN_SUPPORT 1" >>confdefs.h
   15128 
   15129 elif test "x${enable_offload_targets-no}" != xno; then
   15130   as_fn_error $? "Can't support offloading without support for plugins" "$LINENO" 5
   15131 fi
   15132 
   15133 
   15134 
   15135   for ac_header in $ac_header_list
   15136 do :
   15137   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15138 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   15139 "
   15140 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   15141   cat >>confdefs.h <<_ACEOF
   15142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15143 _ACEOF
   15144 
   15145 fi
   15146 
   15147 done
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155   for ac_func in $ac_func_list
   15156 do :
   15157   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15160   cat >>confdefs.h <<_ACEOF
   15161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15162 _ACEOF
   15163 
   15164 fi
   15165 done
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 # Look for the CUDA driver package.
   15183 CUDA_DRIVER_INCLUDE=
   15184 CUDA_DRIVER_LIB=
   15185 
   15186 
   15187 CUDA_DRIVER_CPPFLAGS=
   15188 CUDA_DRIVER_LDFLAGS=
   15189 
   15190 # Check whether --with-cuda-driver was given.
   15191 if test "${with_cuda_driver+set}" = set; then :
   15192   withval=$with_cuda_driver;
   15193 fi
   15194 
   15195 
   15196 # Check whether --with-cuda-driver-include was given.
   15197 if test "${with_cuda_driver_include+set}" = set; then :
   15198   withval=$with_cuda_driver_include;
   15199 fi
   15200 
   15201 
   15202 # Check whether --with-cuda-driver-lib was given.
   15203 if test "${with_cuda_driver_lib+set}" = set; then :
   15204   withval=$with_cuda_driver_lib;
   15205 fi
   15206 
   15207 case "x$with_cuda_driver" in
   15208   x) ;;
   15209   xno)
   15210     CUDA_DRIVER_INCLUDE=no
   15211     CUDA_DRIVER_LIB=no
   15212     ;;
   15213   *) CUDA_DRIVER_INCLUDE=$with_cuda_driver/include
   15214      CUDA_DRIVER_LIB=$with_cuda_driver/lib
   15215      ;;
   15216 esac
   15217 if test "x$with_cuda_driver_include" != x; then
   15218   CUDA_DRIVER_INCLUDE=$with_cuda_driver_include
   15219 fi
   15220 if test "x$with_cuda_driver_lib" != x; then
   15221   CUDA_DRIVER_LIB=$with_cuda_driver_lib
   15222 fi
   15223 if test "x$CUDA_DRIVER_INCLUDE" != x \
   15224    && test "x$CUDA_DRIVER_INCLUDE" != xno; then
   15225   CUDA_DRIVER_CPPFLAGS=-I$CUDA_DRIVER_INCLUDE
   15226 fi
   15227 if test "x$CUDA_DRIVER_LIB" != x \
   15228    && test "x$CUDA_DRIVER_LIB" != xno; then
   15229   CUDA_DRIVER_LDFLAGS=-L$CUDA_DRIVER_LIB
   15230 fi
   15231 
   15232 PLUGIN_NVPTX=0
   15233 PLUGIN_NVPTX_CPPFLAGS=
   15234 PLUGIN_NVPTX_LDFLAGS=
   15235 PLUGIN_NVPTX_LIBS=
   15236 PLUGIN_NVPTX_DYNAMIC=0
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 # Look for HSA run-time, its includes and libraries
   15243 
   15244 HSA_RUNTIME_INCLUDE=
   15245 HSA_RUNTIME_LIB=
   15246 
   15247 
   15248 HSA_RUNTIME_CPPFLAGS=
   15249 HSA_RUNTIME_LDFLAGS=
   15250 
   15251 
   15252 # Check whether --with-hsa-runtime was given.
   15253 if test "${with_hsa_runtime+set}" = set; then :
   15254   withval=$with_hsa_runtime;
   15255 fi
   15256 
   15257 
   15258 # Check whether --with-hsa-runtime-include was given.
   15259 if test "${with_hsa_runtime_include+set}" = set; then :
   15260   withval=$with_hsa_runtime_include;
   15261 fi
   15262 
   15263 
   15264 # Check whether --with-hsa-runtime-lib was given.
   15265 if test "${with_hsa_runtime_lib+set}" = set; then :
   15266   withval=$with_hsa_runtime_lib;
   15267 fi
   15268 
   15269 if test "x$with_hsa_runtime" != x; then
   15270   HSA_RUNTIME_INCLUDE=$with_hsa_runtime/include
   15271   HSA_RUNTIME_LIB=$with_hsa_runtime/lib
   15272 fi
   15273 if test "x$with_hsa_runtime_include" != x; then
   15274   HSA_RUNTIME_INCLUDE=$with_hsa_runtime_include
   15275 fi
   15276 if test "x$with_hsa_runtime_lib" != x; then
   15277   HSA_RUNTIME_LIB=$with_hsa_runtime_lib
   15278 fi
   15279 if test "x$HSA_RUNTIME_INCLUDE" != x; then
   15280   HSA_RUNTIME_CPPFLAGS=-I$HSA_RUNTIME_INCLUDE
   15281 fi
   15282 if test "x$HSA_RUNTIME_LIB" != x; then
   15283   HSA_RUNTIME_LDFLAGS=-L$HSA_RUNTIME_LIB
   15284 fi
   15285 
   15286 PLUGIN_GCN=0
   15287 PLUGIN_GCN_CPPFLAGS=
   15288 PLUGIN_GCN_LDFLAGS=
   15289 PLUGIN_GCN_LIBS=
   15290 
   15291 
   15292 
   15293 
   15294 
   15295 # Parse '--enable-offload-targets', figure out the corresponding libgomp
   15296 # plugins, and configure to find the corresponding offload compilers.
   15297 # 'offload_plugins' and 'offload_targets' will be populated in the same order.
   15298 offload_plugins=
   15299 offload_targets=
   15300 
   15301 
   15302 offload_additional_options=
   15303 offload_additional_lib_paths=
   15304 
   15305 
   15306 if test x"$enable_offload_targets" != x; then
   15307   for tgt in `echo $enable_offload_targets | sed -e 's#,# #g'`; do
   15308     tgt_dir=`echo $tgt | grep '=' | sed 's/.*=//'`
   15309     tgt=`echo $tgt | sed 's/=.*//'`
   15310     tgt_plugin=
   15311     case $tgt in
   15312       *-intelmic-* | *-intelmicemul-*)
   15313 	tgt_plugin=intelmic
   15314 	;;
   15315       nvptx*)
   15316 	case "${target}" in
   15317 	  aarch64*-*-* | powerpc64le-*-* | x86_64-*-*)
   15318 	    case "$ac_cv_sizeof_void_p" in
   15319 	      4)
   15320 		# PR libgomp/65099: Currently, we only support offloading in
   15321 		# 64-bit configurations.
   15322 		PLUGIN_NVPTX=0
   15323 		;;
   15324 	      *)
   15325 		tgt_plugin=nvptx
   15326 		PLUGIN_NVPTX=$tgt
   15327 		if test "x$CUDA_DRIVER_LIB" != xno \
   15328 		   && test "x$CUDA_DRIVER_LIB" != xno; then
   15329 		  PLUGIN_NVPTX_CPPFLAGS=$CUDA_DRIVER_CPPFLAGS
   15330 		  PLUGIN_NVPTX_LDFLAGS=$CUDA_DRIVER_LDFLAGS
   15331 		  PLUGIN_NVPTX_LIBS='-lcuda'
   15332 
   15333 		  PLUGIN_NVPTX_save_CPPFLAGS=$CPPFLAGS
   15334 		  CPPFLAGS="$PLUGIN_NVPTX_CPPFLAGS $CPPFLAGS"
   15335 		  PLUGIN_NVPTX_save_LDFLAGS=$LDFLAGS
   15336 		  LDFLAGS="$PLUGIN_NVPTX_LDFLAGS $LDFLAGS"
   15337 		  PLUGIN_NVPTX_save_LIBS=$LIBS
   15338 		  LIBS="$PLUGIN_NVPTX_LIBS $LIBS"
   15339 		  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15340 /* end confdefs.h.  */
   15341 #include "cuda.h"
   15342 int
   15343 main ()
   15344 {
   15345 CUresult r = cuCtxPushCurrent (NULL);
   15346   ;
   15347   return 0;
   15348 }
   15349 _ACEOF
   15350 if ac_fn_c_try_link "$LINENO"; then :
   15351   PLUGIN_NVPTX=1
   15352 fi
   15353 rm -f core conftest.err conftest.$ac_objext \
   15354     conftest$ac_exeext conftest.$ac_ext
   15355 		  CPPFLAGS=$PLUGIN_NVPTX_save_CPPFLAGS
   15356 		  LDFLAGS=$PLUGIN_NVPTX_save_LDFLAGS
   15357 		  LIBS=$PLUGIN_NVPTX_save_LIBS
   15358 		fi
   15359 		case $PLUGIN_NVPTX in
   15360 		  nvptx*)
   15361 		    if (test "x$CUDA_DRIVER_INCLUDE" = x \
   15362 			|| test "x$CUDA_DRIVER_INCLUDE" = xno) \
   15363 		       && (test "x$CUDA_DRIVER_LIB" = x \
   15364 			   || test "x$CUDA_DRIVER_LIB" = xno); then
   15365 		      PLUGIN_NVPTX=1
   15366 		      PLUGIN_NVPTX_LIBS='-ldl'
   15367 		      PLUGIN_NVPTX_DYNAMIC=1
   15368 		    else
   15369 		      PLUGIN_NVPTX=0
   15370 		      as_fn_error $? "CUDA driver package required for nvptx support" "$LINENO" 5
   15371 		    fi
   15372 		    ;;
   15373 		esac
   15374 		;;
   15375 	    esac
   15376 	    ;;
   15377 	  *-*-*)
   15378 	    # Target architecture not supported.
   15379 	    PLUGIN_NVPTX=0
   15380 	    ;;
   15381 	esac
   15382 	;;
   15383       amdgcn*)
   15384 	case "${target}" in
   15385 	  x86_64-*-*)
   15386 	    case "$ac_cv_sizeof_void_p" in
   15387 	      4)
   15388 		PLUGIN_GCN=0
   15389 		;;
   15390 	      *)
   15391 		tgt_plugin=gcn
   15392 		PLUGIN_GCN=$tgt
   15393 		PLUGIN_GCN_CPPFLAGS=$HSA_RUNTIME_CPPFLAGS
   15394 		PLUGIN_GCN_LDFLAGS="$HSA_RUNTIME_LDFLAGS"
   15395 		PLUGIN_GCN_LIBS="-ldl"
   15396 		PLUGIN_GCN=1
   15397 		;;
   15398 	      esac
   15399 	    ;;
   15400 	  *-*-*)
   15401 	    PLUGIN_GCN=0
   15402 	     ;;
   15403 	esac
   15404 	;;
   15405       *)
   15406 	as_fn_error $? "unknown offload target specified" "$LINENO" 5
   15407 	;;
   15408     esac
   15409     if test x"$tgt_plugin" = x; then
   15410       # Not configuring libgomp for this offload target if we're not building
   15411       # the corresponding offload plugin.
   15412       continue
   15413     elif test x"$offload_plugins" = x; then
   15414       offload_plugins=$tgt_plugin
   15415       offload_targets=$tgt
   15416     else
   15417       offload_plugins=$offload_plugins,$tgt_plugin
   15418       offload_targets=$offload_targets,$tgt
   15419     fi
   15420     # Configure additional search paths.
   15421     if test x"$tgt_dir" != x; then
   15422       offload_additional_options="$offload_additional_options -B$tgt_dir/\$(libexecdir:\$(exec_prefix)/%=%)/gcc/\$(target_alias)/\$(gcc_version) -B$tgt_dir/bin"
   15423       offload_additional_lib_paths="$offload_additional_lib_paths:$tgt_dir/lib64:$tgt_dir/lib:$tgt_dir/lib32"
   15424     else
   15425       offload_additional_options="$offload_additional_options -B\$(libexecdir)/gcc/\$(target_alias)/\$(gcc_version) -B\$(bindir)"
   15426       offload_additional_lib_paths="$offload_additional_lib_paths:$toolexeclibdir"
   15427     fi
   15428   done
   15429 fi
   15430 
   15431 cat >>confdefs.h <<_ACEOF
   15432 #define OFFLOAD_PLUGINS "$offload_plugins"
   15433 _ACEOF
   15434 
   15435  if test $PLUGIN_NVPTX = 1; then
   15436   PLUGIN_NVPTX_TRUE=
   15437   PLUGIN_NVPTX_FALSE='#'
   15438 else
   15439   PLUGIN_NVPTX_TRUE='#'
   15440   PLUGIN_NVPTX_FALSE=
   15441 fi
   15442 
   15443 
   15444 cat >>confdefs.h <<_ACEOF
   15445 #define PLUGIN_NVPTX $PLUGIN_NVPTX
   15446 _ACEOF
   15447 
   15448 
   15449 cat >>confdefs.h <<_ACEOF
   15450 #define PLUGIN_NVPTX_DYNAMIC $PLUGIN_NVPTX_DYNAMIC
   15451 _ACEOF
   15452 
   15453  if test $PLUGIN_GCN = 1; then
   15454   PLUGIN_GCN_TRUE=
   15455   PLUGIN_GCN_FALSE='#'
   15456 else
   15457   PLUGIN_GCN_TRUE='#'
   15458   PLUGIN_GCN_FALSE=
   15459 fi
   15460 
   15461 
   15462 cat >>confdefs.h <<_ACEOF
   15463 #define PLUGIN_GCN $PLUGIN_GCN
   15464 _ACEOF
   15465 
   15466 
   15467 
   15468 # Check for functions needed.
   15469 for ac_func in getloadavg clock_gettime strtoull
   15470 do :
   15471   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15474   cat >>confdefs.h <<_ACEOF
   15475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15476 _ACEOF
   15477 
   15478 fi
   15479 done
   15480 
   15481 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
   15482 do :
   15483   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15485 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15486   cat >>confdefs.h <<_ACEOF
   15487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15488 _ACEOF
   15489 
   15490 fi
   15491 done
   15492 
   15493 
   15494 # Check for broken semaphore implementation on darwin.
   15495 # sem_init returns: sem_init error: Function not implemented.
   15496 case "$host" in
   15497   *-darwin*)
   15498 
   15499 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
   15500 
   15501     ;;
   15502 esac
   15503 
   15504 # RTEMS specific checks
   15505 case "$host" in
   15506   *-*-rtems*)
   15507     ac_fn_c_check_type "$LINENO" "struct _Mutex_Control" "ac_cv_type_struct__Mutex_Control" "#include <sys/lock.h>
   15508 "
   15509 if test "x$ac_cv_type_struct__Mutex_Control" = xyes; then :
   15510 
   15511 cat >>confdefs.h <<_ACEOF
   15512 #define HAVE_STRUCT__MUTEX_CONTROL 1
   15513 _ACEOF
   15514 
   15515 
   15516 fi
   15517 
   15518     ;;
   15519 esac
   15520 
   15521  # Check whether --enable-linux-futex was given.
   15522 if test "${enable_linux_futex+set}" = set; then :
   15523   enableval=$enable_linux_futex;
   15524       case "$enableval" in
   15525        yes|no|default) ;;
   15526        *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
   15527                           esac
   15528 
   15529 else
   15530   enable_linux_futex=default
   15531 fi
   15532 
   15533 
   15534 case "$target" in
   15535   *-linux* | *-uclinux*)
   15536     case "$enable_linux_futex" in
   15537       default)
   15538 	# If headers don't have gettid/futex syscalls definition, then
   15539 	# default to no, otherwise there will be compile time failures.
   15540 	# Otherwise, default to yes.  If we don't detect we are
   15541 	# compiled/linked against NPTL and not cross-compiling, check
   15542 	# if programs are run by default against NPTL and if not, issue
   15543 	# a warning.
   15544 	enable_linux_futex=no
   15545 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15546 /* end confdefs.h.  */
   15547 #include <sys/syscall.h>
   15548 	   #include <unistd.h>
   15549 	   int lk;
   15550 int
   15551 main ()
   15552 {
   15553 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
   15554   ;
   15555   return 0;
   15556 }
   15557 _ACEOF
   15558 if ac_fn_c_try_link "$LINENO"; then :
   15559   save_LIBS="$LIBS"
   15560 	   LIBS="-lpthread $LIBS"
   15561 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15562 /* end confdefs.h.  */
   15563 #ifndef _GNU_SOURCE
   15564 	     #define _GNU_SOURCE 1
   15565 	     #endif
   15566 	     #include <pthread.h>
   15567 	     pthread_t th; void *status;
   15568 int
   15569 main ()
   15570 {
   15571 pthread_tryjoin_np (th, &status);
   15572   ;
   15573   return 0;
   15574 }
   15575 _ACEOF
   15576 if ac_fn_c_try_link "$LINENO"; then :
   15577   enable_linux_futex=yes
   15578 else
   15579   if test x$cross_compiling = xno; then
   15580 	       if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
   15581 		  | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
   15582 		 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
   15583 If so, please configure with --disable-linux-futex" >&5
   15584 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
   15585 If so, please configure with --disable-linux-futex" >&2;}
   15586 	       fi
   15587 	     fi
   15588 	     enable_linux_futex=yes
   15589 fi
   15590 rm -f core conftest.err conftest.$ac_objext \
   15591     conftest$ac_exeext conftest.$ac_ext
   15592 	   LIBS="$save_LIBS"
   15593 fi
   15594 rm -f core conftest.err conftest.$ac_objext \
   15595     conftest$ac_exeext conftest.$ac_ext
   15596 	;;
   15597       yes)
   15598 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15599 /* end confdefs.h.  */
   15600 #include <sys/syscall.h>
   15601 	   #include <unistd.h>
   15602 	   int lk;
   15603 int
   15604 main ()
   15605 {
   15606 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
   15607   ;
   15608   return 0;
   15609 }
   15610 _ACEOF
   15611 if ac_fn_c_try_link "$LINENO"; then :
   15612 
   15613 else
   15614   as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
   15615 fi
   15616 rm -f core conftest.err conftest.$ac_objext \
   15617     conftest$ac_exeext conftest.$ac_ext
   15618 	;;
   15619     esac
   15620     ;;
   15621   *)
   15622     enable_linux_futex=no
   15623     ;;
   15624 esac
   15625 if test x$enable_linux_futex = xyes; then
   15626   :
   15627 fi
   15628 
   15629 
   15630 # Check for pthread_{,attr_}[sg]etaffinity_np.
   15631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15632 /* end confdefs.h.  */
   15633 #define _GNU_SOURCE
   15634    #include <pthread.h>
   15635 int
   15636 main ()
   15637 {
   15638 cpu_set_t cpuset;
   15639    pthread_attr_t attr;
   15640    pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
   15641    if (CPU_ISSET (0, &cpuset))
   15642      CPU_SET (1, &cpuset);
   15643    else
   15644      CPU_ZERO (&cpuset);
   15645    pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
   15646    pthread_attr_init (&attr);
   15647    pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
   15648    pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
   15649   ;
   15650   return 0;
   15651 }
   15652 _ACEOF
   15653 if ac_fn_c_try_link "$LINENO"; then :
   15654 
   15655 $as_echo "#define HAVE_PTHREAD_AFFINITY_NP 1" >>confdefs.h
   15656 
   15657 fi
   15658 rm -f core conftest.err conftest.$ac_objext \
   15659     conftest$ac_exeext conftest.$ac_ext
   15660 
   15661 # At least for glibc, clock_gettime is in librt.  But don't pull that
   15662 # in if it still doesn't give us the function we want.
   15663 if test $ac_cv_func_clock_gettime = no; then
   15664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   15665 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   15666 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
   15667   $as_echo_n "(cached) " >&6
   15668 else
   15669   ac_check_lib_save_LIBS=$LIBS
   15670 LIBS="-lrt  $LIBS"
   15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15672 /* end confdefs.h.  */
   15673 
   15674 /* Override any GCC internal prototype to avoid an error.
   15675    Use char because int might match the return type of a GCC
   15676    builtin and then its argument prototype would still apply.  */
   15677 #ifdef __cplusplus
   15678 extern "C"
   15679 #endif
   15680 char clock_gettime ();
   15681 int
   15682 main ()
   15683 {
   15684 return clock_gettime ();
   15685   ;
   15686   return 0;
   15687 }
   15688 _ACEOF
   15689 if ac_fn_c_try_link "$LINENO"; then :
   15690   ac_cv_lib_rt_clock_gettime=yes
   15691 else
   15692   ac_cv_lib_rt_clock_gettime=no
   15693 fi
   15694 rm -f core conftest.err conftest.$ac_objext \
   15695     conftest$ac_exeext conftest.$ac_ext
   15696 LIBS=$ac_check_lib_save_LIBS
   15697 fi
   15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   15699 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   15700 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
   15701   LIBS="-lrt $LIBS"
   15702 
   15703 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   15704 
   15705 fi
   15706 
   15707 fi
   15708 
   15709 # Check for uname.
   15710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15711 /* end confdefs.h.  */
   15712 #include <string.h>
   15713    #include <stdlib.h>
   15714    #include <sys/utsname.h>
   15715 int
   15716 main ()
   15717 {
   15718 struct utsname buf;
   15719    volatile size_t len = 0;
   15720    if (!uname (buf))
   15721      len = strlen (buf.nodename);
   15722   ;
   15723   return 0;
   15724 }
   15725 _ACEOF
   15726 if ac_fn_c_try_compile "$LINENO"; then :
   15727 
   15728 $as_echo "#define HAVE_UNAME 1" >>confdefs.h
   15729 
   15730 fi
   15731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15732 
   15733 # Check for gethostname.
   15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15735 /* end confdefs.h.  */
   15736 #include <unistd.h>
   15737 int
   15738 main ()
   15739 {
   15740 
   15741    char buf[256];
   15742    if (gethostname (buf, sizeof (buf) - 1) == 0)
   15743      buf[255] = '\0';
   15744 
   15745   ;
   15746   return 0;
   15747 }
   15748 _ACEOF
   15749 if ac_fn_c_try_compile "$LINENO"; then :
   15750 
   15751 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
   15752 
   15753 fi
   15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15755 
   15756 # Check for getpid.
   15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15758 /* end confdefs.h.  */
   15759 #include <unistd.h>
   15760 int
   15761 main ()
   15762 {
   15763 int pid = getpid ();
   15764   ;
   15765   return 0;
   15766 }
   15767 _ACEOF
   15768 if ac_fn_c_try_compile "$LINENO"; then :
   15769 
   15770 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
   15771 
   15772 fi
   15773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15774 
   15775 # See if we support thread-local storage.
   15776 
   15777 
   15778    # Check whether --enable-tls was given.
   15779 if test "${enable_tls+set}" = set; then :
   15780   enableval=$enable_tls;
   15781       case "$enableval" in
   15782        yes|no) ;;
   15783        *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
   15784       esac
   15785 
   15786 else
   15787   enable_tls=yes
   15788 fi
   15789 
   15790 
   15791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
   15792 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
   15793 if ${gcc_cv_have_tls+:} false; then :
   15794   $as_echo_n "(cached) " >&6
   15795 else
   15796 
   15797     if test "$cross_compiling" = yes; then :
   15798                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15799 /* end confdefs.h.  */
   15800 __thread int a; int b; int main() { return a = b; }
   15801 _ACEOF
   15802 if ac_fn_c_try_link "$LINENO"; then :
   15803   chktls_save_LDFLAGS="$LDFLAGS"
   15804 	  	  	  case $host in
   15805 	    *-*-linux* | -*-uclinuxfdpic*)
   15806 	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
   15807 	      ;;
   15808 	  esac
   15809 	  chktls_save_CFLAGS="$CFLAGS"
   15810 	  CFLAGS="-fPIC $CFLAGS"
   15811 	  	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15812 /* end confdefs.h.  */
   15813 int f() { return 0; }
   15814 _ACEOF
   15815 if ac_fn_c_try_link "$LINENO"; then :
   15816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15817 /* end confdefs.h.  */
   15818 __thread int a; int b; int f() { return a = b; }
   15819 _ACEOF
   15820 if ac_fn_c_try_link "$LINENO"; then :
   15821   gcc_cv_have_tls=yes
   15822 else
   15823   gcc_cv_have_tls=no
   15824 fi
   15825 rm -f core conftest.err conftest.$ac_objext \
   15826     conftest$ac_exeext conftest.$ac_ext
   15827 else
   15828   gcc_cv_have_tls=yes
   15829 fi
   15830 rm -f core conftest.err conftest.$ac_objext \
   15831     conftest$ac_exeext conftest.$ac_ext
   15832 	  CFLAGS="$chktls_save_CFLAGS"
   15833 	  LDFLAGS="$chktls_save_LDFLAGS"
   15834 else
   15835   gcc_cv_have_tls=no
   15836 fi
   15837 rm -f core conftest.err conftest.$ac_objext \
   15838     conftest$ac_exeext conftest.$ac_ext
   15839 
   15840 
   15841 else
   15842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15843 /* end confdefs.h.  */
   15844 __thread int a; int b; int main() { return a = b; }
   15845 _ACEOF
   15846 if ac_fn_c_try_run "$LINENO"; then :
   15847                       chktls_save_LDFLAGS="$LDFLAGS"
   15848       LDFLAGS="-static $LDFLAGS"
   15849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15850 /* end confdefs.h.  */
   15851 int main() { return 0; }
   15852 _ACEOF
   15853 if ac_fn_c_try_link "$LINENO"; then :
   15854   if test "$cross_compiling" = yes; then :
   15855   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15857 as_fn_error $? "cannot run test program while cross compiling
   15858 See \`config.log' for more details" "$LINENO" 5; }
   15859 else
   15860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15861 /* end confdefs.h.  */
   15862 __thread int a; int b; int main() { return a = b; }
   15863 _ACEOF
   15864 if ac_fn_c_try_run "$LINENO"; then :
   15865   gcc_cv_have_tls=yes
   15866 else
   15867   gcc_cv_have_tls=no
   15868 fi
   15869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   15870   conftest.$ac_objext conftest.beam conftest.$ac_ext
   15871 fi
   15872 
   15873 else
   15874   gcc_cv_have_tls=yes
   15875 fi
   15876 rm -f core conftest.err conftest.$ac_objext \
   15877     conftest$ac_exeext conftest.$ac_ext
   15878       LDFLAGS="$chktls_save_LDFLAGS"
   15879       if test $gcc_cv_have_tls = yes; then
   15880 						chktls_save_CFLAGS="$CFLAGS"
   15881 	thread_CFLAGS=failed
   15882 	for flag in '' '-pthread' '-lpthread'; do
   15883 	  CFLAGS="$flag $chktls_save_CFLAGS"
   15884 	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15885 /* end confdefs.h.  */
   15886 #include <pthread.h>
   15887 		void *g(void *d) { return NULL; }
   15888 int
   15889 main ()
   15890 {
   15891 pthread_t t; pthread_create(&t,NULL,g,NULL);
   15892   ;
   15893   return 0;
   15894 }
   15895 _ACEOF
   15896 if ac_fn_c_try_link "$LINENO"; then :
   15897   thread_CFLAGS="$flag"
   15898 fi
   15899 rm -f core conftest.err conftest.$ac_objext \
   15900     conftest$ac_exeext conftest.$ac_ext
   15901 	  if test "X$thread_CFLAGS" != Xfailed; then
   15902 	    break
   15903 	  fi
   15904 	done
   15905 	CFLAGS="$chktls_save_CFLAGS"
   15906 	if test "X$thread_CFLAGS" != Xfailed; then
   15907 	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
   15908  	  	  	  	  	  	  if test "$cross_compiling" = yes; then :
   15909   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15911 as_fn_error $? "cannot run test program while cross compiling
   15912 See \`config.log' for more details" "$LINENO" 5; }
   15913 else
   15914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15915 /* end confdefs.h.  */
   15916 #include <pthread.h>
   15917 		__thread int a;
   15918 		static int *volatile a_in_other_thread;
   15919 		static void *
   15920 		thread_func (void *arg)
   15921 		{
   15922 		  a_in_other_thread = &a;
   15923 		  return (void *)0;
   15924 		}
   15925 int
   15926 main ()
   15927 {
   15928 pthread_t thread;
   15929 		void *thread_retval;
   15930 		int *volatile a_in_main_thread;
   15931 		a_in_main_thread = &a;
   15932 		if (pthread_create (&thread, (pthread_attr_t *)0,
   15933 				    thread_func, (void *)0))
   15934 		  return 0;
   15935 		if (pthread_join (thread, &thread_retval))
   15936 		  return 0;
   15937 		return (a_in_other_thread == a_in_main_thread);
   15938   ;
   15939   return 0;
   15940 }
   15941 _ACEOF
   15942 if ac_fn_c_try_run "$LINENO"; then :
   15943   gcc_cv_have_tls=yes
   15944 else
   15945   gcc_cv_have_tls=no
   15946 fi
   15947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   15948   conftest.$ac_objext conftest.beam conftest.$ac_ext
   15949 fi
   15950 
   15951 	  CFLAGS="$chktls_save_CFLAGS"
   15952 	fi
   15953       fi
   15954 else
   15955   gcc_cv_have_tls=no
   15956 fi
   15957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   15958   conftest.$ac_objext conftest.beam conftest.$ac_ext
   15959 fi
   15960 
   15961 fi
   15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
   15963 $as_echo "$gcc_cv_have_tls" >&6; }
   15964   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
   15965 
   15966 $as_echo "#define HAVE_TLS 1" >>confdefs.h
   15967 
   15968   fi
   15969 
   15970 # See if we have emulated thread-local storage.
   15971 
   15972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
   15973 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
   15974 if ${gcc_cv_use_emutls+:} false; then :
   15975   $as_echo_n "(cached) " >&6
   15976 else
   15977 
   15978     gcc_cv_use_emutls=no
   15979     echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
   15980     if { ac_try='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
   15981   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   15982   (eval $ac_try) 2>&5
   15983   ac_status=$?
   15984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15985   test $ac_status = 0; }; }; then
   15986       if grep __emutls_get_address conftest.s > /dev/null; then
   15987 	gcc_cv_use_emutls=yes
   15988       fi
   15989     fi
   15990     rm -f conftest.*
   15991 
   15992 fi
   15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
   15994 $as_echo "$gcc_cv_use_emutls" >&6; }
   15995   if test "$gcc_cv_use_emutls" = "yes" ; then
   15996 
   15997 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
   15998 
   15999   fi
   16000 
   16001 # See what sort of export controls are available.
   16002 
   16003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
   16004 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
   16005 if ${libgomp_cv_have_attribute_visibility+:} false; then :
   16006   $as_echo_n "(cached) " >&6
   16007 else
   16008 
   16009   save_CFLAGS="$CFLAGS"
   16010   CFLAGS="$CFLAGS -Werror"
   16011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16012 /* end confdefs.h.  */
   16013 void __attribute__((visibility("hidden"))) foo(void) { }
   16014 int
   16015 main ()
   16016 {
   16017 
   16018   ;
   16019   return 0;
   16020 }
   16021 _ACEOF
   16022 if ac_fn_c_try_compile "$LINENO"; then :
   16023   libgomp_cv_have_attribute_visibility=yes
   16024 else
   16025   libgomp_cv_have_attribute_visibility=no
   16026 fi
   16027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16028   CFLAGS="$save_CFLAGS"
   16029 fi
   16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_visibility" >&5
   16031 $as_echo "$libgomp_cv_have_attribute_visibility" >&6; }
   16032   if test $libgomp_cv_have_attribute_visibility = yes; then
   16033 
   16034 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
   16035 
   16036   fi
   16037 
   16038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
   16039 $as_echo_n "checking whether the target supports dllexport... " >&6; }
   16040 if ${libgomp_cv_have_attribute_dllexport+:} false; then :
   16041   $as_echo_n "(cached) " >&6
   16042 else
   16043 
   16044   save_CFLAGS="$CFLAGS"
   16045   CFLAGS="$CFLAGS -Werror"
   16046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16047 /* end confdefs.h.  */
   16048 void __attribute__((dllexport)) foo(void) { }
   16049 int
   16050 main ()
   16051 {
   16052 
   16053   ;
   16054   return 0;
   16055 }
   16056 _ACEOF
   16057 if ac_fn_c_try_compile "$LINENO"; then :
   16058   libgomp_cv_have_attribute_dllexport=yes
   16059 else
   16060   libgomp_cv_have_attribute_dllexport=no
   16061 fi
   16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16063   CFLAGS="$save_CFLAGS"
   16064 fi
   16065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_dllexport" >&5
   16066 $as_echo "$libgomp_cv_have_attribute_dllexport" >&6; }
   16067   if test $libgomp_cv_have_attribute_dllexport = yes; then
   16068 
   16069 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
   16070 
   16071   fi
   16072 
   16073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
   16074 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
   16075 if ${libgomp_cv_have_attribute_alias+:} false; then :
   16076   $as_echo_n "(cached) " >&6
   16077 else
   16078 
   16079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16080 /* end confdefs.h.  */
   16081 
   16082 void foo(void) { }
   16083 extern void bar(void) __attribute__((alias("foo")));
   16084 int
   16085 main ()
   16086 {
   16087 bar();
   16088   ;
   16089   return 0;
   16090 }
   16091 _ACEOF
   16092 if ac_fn_c_try_link "$LINENO"; then :
   16093   libgomp_cv_have_attribute_alias=yes
   16094 else
   16095   libgomp_cv_have_attribute_alias=no
   16096 fi
   16097 rm -f core conftest.err conftest.$ac_objext \
   16098     conftest$ac_exeext conftest.$ac_ext
   16099 fi
   16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_alias" >&5
   16101 $as_echo "$libgomp_cv_have_attribute_alias" >&6; }
   16102   if test $libgomp_cv_have_attribute_alias = yes; then
   16103 
   16104 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
   16105 
   16106   fi
   16107 
   16108 
   16109 # Check whether --with-gnu-ld was given.
   16110 if test "${with_gnu_ld+set}" = set; then :
   16111   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   16112 else
   16113   with_gnu_ld=no
   16114 fi
   16115 
   16116 ac_prog=ld
   16117 if test "$GCC" = yes; then
   16118   # Check if gcc -print-prog-name=ld gives a path.
   16119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   16120 $as_echo_n "checking for ld used by $CC... " >&6; }
   16121   case $host in
   16122   *-*-mingw*)
   16123     # gcc leaves a trailing carriage return which upsets mingw
   16124     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   16125   *)
   16126     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   16127   esac
   16128   case $ac_prog in
   16129     # Accept absolute paths.
   16130     [\\/]* | ?:[\\/]*)
   16131       re_direlt='/[^/][^/]*/\.\./'
   16132       # Canonicalize the pathname of ld
   16133       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   16134       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   16135 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   16136       done
   16137       test -z "$LD" && LD="$ac_prog"
   16138       ;;
   16139   "")
   16140     # If it fails, then pretend we aren't using GCC.
   16141     ac_prog=ld
   16142     ;;
   16143   *)
   16144     # If it is relative, then search for the first ld in PATH.
   16145     with_gnu_ld=unknown
   16146     ;;
   16147   esac
   16148 elif test "$with_gnu_ld" = yes; then
   16149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   16150 $as_echo_n "checking for GNU ld... " >&6; }
   16151 else
   16152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   16153 $as_echo_n "checking for non-GNU ld... " >&6; }
   16154 fi
   16155 if ${lt_cv_path_LD+:} false; then :
   16156   $as_echo_n "(cached) " >&6
   16157 else
   16158   if test -z "$LD"; then
   16159   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   16160   for ac_dir in $PATH; do
   16161     IFS="$lt_save_ifs"
   16162     test -z "$ac_dir" && ac_dir=.
   16163     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   16164       lt_cv_path_LD="$ac_dir/$ac_prog"
   16165       # Check to see if the program is GNU ld.  I'd rather use --version,
   16166       # but apparently some variants of GNU ld only accept -v.
   16167       # Break only if it was the GNU/non-GNU ld that we prefer.
   16168       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   16169       *GNU* | *'with BFD'*)
   16170 	test "$with_gnu_ld" != no && break
   16171 	;;
   16172       *)
   16173 	test "$with_gnu_ld" != yes && break
   16174 	;;
   16175       esac
   16176     fi
   16177   done
   16178   IFS="$lt_save_ifs"
   16179 else
   16180   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   16181 fi
   16182 fi
   16183 
   16184 LD="$lt_cv_path_LD"
   16185 if test -n "$LD"; then
   16186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   16187 $as_echo "$LD" >&6; }
   16188 else
   16189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16190 $as_echo "no" >&6; }
   16191 fi
   16192 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   16194 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   16195 if ${lt_cv_prog_gnu_ld+:} false; then :
   16196   $as_echo_n "(cached) " >&6
   16197 else
   16198   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   16199 case `$LD -v 2>&1 </dev/null` in
   16200 *GNU* | *'with BFD'*)
   16201   lt_cv_prog_gnu_ld=yes
   16202   ;;
   16203 *)
   16204   lt_cv_prog_gnu_ld=no
   16205   ;;
   16206 esac
   16207 fi
   16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   16209 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   16210 with_gnu_ld=$lt_cv_prog_gnu_ld
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218   # If we're not using GNU ld, then there's no point in even trying these
   16219   # tests.  Check for that first.  We should have already tested for gld
   16220   # by now (in libtool), but require it now just to be safe...
   16221   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
   16222   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
   16223 
   16224 
   16225 
   16226   # The name set by libtool depends on the version of libtool.  Shame on us
   16227   # for depending on an impl detail, but c'est la vie.  Older versions used
   16228   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
   16229   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
   16230   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
   16231   # set (hence we're using an older libtool), then set it.
   16232   if test x${with_gnu_ld+set} != xset; then
   16233     if test x${ac_cv_prog_gnu_ld+set} != xset; then
   16234       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
   16235       with_gnu_ld=no
   16236     else
   16237       with_gnu_ld=$ac_cv_prog_gnu_ld
   16238     fi
   16239   fi
   16240 
   16241   # Start by getting the version number.  I think the libtool test already
   16242   # does some of this, but throws away the result.
   16243   libgomp_ld_is_gold=no
   16244   libgomp_ld_is_mold=no
   16245   if $LD --version 2>/dev/null | grep 'GNU gold'> /dev/null 2>&1; then
   16246     libgomp_ld_is_gold=yes
   16247   elif $LD --version 2>/dev/null | grep 'mold'> /dev/null 2>&1; then
   16248     libgomp_ld_is_mold=yes
   16249   fi
   16250 
   16251   ldver=`$LD --version 2>/dev/null |
   16252          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
   16253 
   16254   libgomp_gnu_ld_version=`echo $ldver | \
   16255          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
   16256 
   16257   # Set --gc-sections.
   16258   if test "$with_gnu_ld" = "notbroken"; then
   16259     # GNU ld it is!  Joy and bunny rabbits!
   16260 
   16261     # All these tests are for C++; save the language and the compiler flags.
   16262     # Need to do this so that g++ won't try to link in libstdc++
   16263     ac_test_CFLAGS="${CFLAGS+set}"
   16264     ac_save_CFLAGS="$CFLAGS"
   16265     CFLAGS='-x c++  -Wl,--gc-sections'
   16266 
   16267     # Check for -Wl,--gc-sections
   16268     # XXX This test is broken at the moment, as symbols required for linking
   16269     # are now in libsupc++ (not built yet).  In addition, this test has
   16270     # cored on solaris in the past.  In addition, --gc-sections doesn't
   16271     # really work at the moment (keeps on discarding used sections, first
   16272     # .eh_frame and now some of the glibc sections for iconv).
   16273     # Bzzzzt.  Thanks for playing, maybe next time.
   16274     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
   16275 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
   16276     if test "$cross_compiling" = yes; then :
   16277   ac_sectionLDflags=yes
   16278 else
   16279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16280 /* end confdefs.h.  */
   16281 
   16282      int main(void)
   16283      {
   16284        try { throw 1; }
   16285        catch (...) { };
   16286        return 0;
   16287      }
   16288 
   16289 _ACEOF
   16290 if ac_fn_c_try_run "$LINENO"; then :
   16291   ac_sectionLDflags=yes
   16292 else
   16293   ac_sectionLDflags=no
   16294 fi
   16295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   16296   conftest.$ac_objext conftest.beam conftest.$ac_ext
   16297 fi
   16298 
   16299     if test "$ac_test_CFLAGS" = set; then
   16300       CFLAGS="$ac_save_CFLAGS"
   16301     else
   16302       # this is the suspicious part
   16303       CFLAGS=''
   16304     fi
   16305     if test "$ac_sectionLDflags" = "yes"; then
   16306       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
   16307     fi
   16308     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
   16309 $as_echo "$ac_sectionLDflags" >&6; }
   16310   fi
   16311 
   16312   # Set linker optimization flags.
   16313   if test x"$with_gnu_ld" = x"yes"; then
   16314     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
   16315   fi
   16316 
   16317 
   16318 
   16319 
   16320 
   16321 
   16322  # Check whether --enable-symvers was given.
   16323 if test "${enable_symvers+set}" = set; then :
   16324   enableval=$enable_symvers;
   16325       case "$enableval" in
   16326        yes|no|gnu*|sun) ;;
   16327        *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
   16328                           esac
   16329 
   16330 else
   16331   enable_symvers=yes
   16332 fi
   16333 
   16334 
   16335 
   16336 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
   16337 # don't know enough about $LD to do tricks...
   16338 
   16339 
   16340 # Turn a 'yes' into a suitable default.
   16341 if test x$enable_symvers = xyes ; then
   16342   # FIXME  The following test is too strict, in theory.
   16343   if test $enable_shared = no || test "x$LD" = x; then
   16344     enable_symvers=no
   16345   else
   16346     if test $with_gnu_ld = yes ; then
   16347       enable_symvers=gnu
   16348     else
   16349       case ${target_os} in
   16350         # Sun symbol versioning exists since Solaris 2.5.
   16351         solaris2.[5-9]* | solaris2.1[0-9]*)
   16352           enable_symvers=sun ;;
   16353         *)
   16354           enable_symvers=no ;;
   16355       esac
   16356     fi
   16357   fi
   16358 fi
   16359 
   16360 # Check if 'sun' was requested on non-Solaris 2 platforms.
   16361 if test x$enable_symvers = xsun ; then
   16362   case ${target_os} in
   16363     solaris2*)
   16364       # All fine.
   16365       ;;
   16366     *)
   16367       # Unlikely to work.
   16368       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
   16369 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
   16370       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
   16371 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
   16372       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
   16373 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
   16374       enable_symvers=no
   16375       ;;
   16376   esac
   16377 fi
   16378 
   16379 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
   16380 if test $enable_symvers != no; then
   16381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
   16382 $as_echo_n "checking for shared libgcc... " >&6; }
   16383   ac_save_CFLAGS="$CFLAGS"
   16384   CFLAGS=' -lgcc_s'
   16385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16386 /* end confdefs.h.  */
   16387 
   16388 int
   16389 main ()
   16390 {
   16391 return 0;
   16392   ;
   16393   return 0;
   16394 }
   16395 _ACEOF
   16396 if ac_fn_c_try_link "$LINENO"; then :
   16397   libgomp_shared_libgcc=yes
   16398 else
   16399   libgomp_shared_libgcc=no
   16400 fi
   16401 rm -f core conftest.err conftest.$ac_objext \
   16402     conftest$ac_exeext conftest.$ac_ext
   16403   CFLAGS="$ac_save_CFLAGS"
   16404   if test $libgomp_shared_libgcc = no; then
   16405     cat > conftest.c <<EOF
   16406 int main (void) { return 0; }
   16407 EOF
   16408     libgomp_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
   16409 			     -shared -shared-libgcc -o conftest.so \
   16410 			     conftest.c -v 2>&1 >/dev/null \
   16411 			     | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
   16412     rm -f conftest.c conftest.so
   16413     if test x${libgomp_libgcc_s_suffix+set} = xset; then
   16414       CFLAGS=" -lgcc_s$libgomp_libgcc_s_suffix"
   16415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16416 /* end confdefs.h.  */
   16417 
   16418 int
   16419 main ()
   16420 {
   16421 return 0;
   16422   ;
   16423   return 0;
   16424 }
   16425 _ACEOF
   16426 if ac_fn_c_try_link "$LINENO"; then :
   16427   libgomp_shared_libgcc=yes
   16428 fi
   16429 rm -f core conftest.err conftest.$ac_objext \
   16430     conftest$ac_exeext conftest.$ac_ext
   16431       CFLAGS="$ac_save_CFLAGS"
   16432     fi
   16433   fi
   16434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_shared_libgcc" >&5
   16435 $as_echo "$libgomp_shared_libgcc" >&6; }
   16436 fi
   16437 
   16438 # For GNU ld, we need at least this version.  The format is described in
   16439 # LIBGOMP_CHECK_LINKER_FEATURES above.
   16440 libgomp_min_gnu_ld_version=21400
   16441 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
   16442 
   16443 # Check to see if unspecified "yes" value can win, given results above.
   16444 # Change "yes" into either "no" or a style name.
   16445 if test $enable_symvers != no && test $libgomp_shared_libgcc = yes; then
   16446   if test $with_gnu_ld = yes; then
   16447     if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
   16448       enable_symvers=gnu
   16449     elif test $libgomp_ld_is_gold = yes ; then
   16450       enable_symvers=gnu
   16451     elif test $libgomp_ld_is_mold = yes ; then
   16452       enable_symvers=gnu
   16453     else
   16454       # The right tools, the right setup, but too old.  Fallbacks?
   16455       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
   16456 $as_echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
   16457       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
   16458 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
   16459       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
   16460 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
   16461       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
   16462 $as_echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
   16463       if test $libgomp_gnu_ld_version -ge 21200 ; then
   16464         # Globbing fix is present, proper block support is not.
   16465                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
   16466 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
   16467         enable_symvers=no
   16468       else
   16469         # 2.11 or older.
   16470         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
   16471 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
   16472         enable_symvers=no
   16473       fi
   16474     fi
   16475   elif test $enable_symvers = sun; then
   16476     : All interesting versions of Sun ld support sun style symbol versioning.
   16477   else
   16478     # just fail for now
   16479     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
   16480 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
   16481     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
   16482 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
   16483     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
   16484 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
   16485     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
   16486 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
   16487     enable_symvers=no
   16488   fi
   16489 fi
   16490 
   16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
   16492 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
   16493 if ${libgomp_cv_have_as_symver_directive+:} false; then :
   16494   $as_echo_n "(cached) " >&6
   16495 else
   16496 
   16497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16498 /* end confdefs.h.  */
   16499 void foo (void); __asm (".symver foo, bar@SYMVER");
   16500 int
   16501 main ()
   16502 {
   16503 
   16504   ;
   16505   return 0;
   16506 }
   16507 _ACEOF
   16508 if ac_fn_c_try_compile "$LINENO"; then :
   16509   libgomp_cv_have_as_symver_directive=yes
   16510 else
   16511   libgomp_cv_have_as_symver_directive=no
   16512 fi
   16513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16514 fi
   16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_as_symver_directive" >&5
   16516 $as_echo "$libgomp_cv_have_as_symver_directive" >&6; }
   16517 if test $libgomp_cv_have_as_symver_directive = yes; then
   16518 
   16519 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
   16520 
   16521 fi
   16522 
   16523  if test $enable_symvers != no; then
   16524   LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE=
   16525   LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE='#'
   16526 else
   16527   LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE='#'
   16528   LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE=
   16529 fi
   16530 
   16531  if test $enable_symvers = gnu; then
   16532   LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE=
   16533   LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE='#'
   16534 else
   16535   LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE='#'
   16536   LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE=
   16537 fi
   16538 
   16539  if test $enable_symvers = sun; then
   16540   LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE=
   16541   LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE='#'
   16542 else
   16543   LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE='#'
   16544   LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE=
   16545 fi
   16546 
   16547 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
   16548 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
   16549 
   16550 if test $enable_symvers != no ; then
   16551    case ${target_os} in
   16552      # The Solaris 2 runtime linker doesn't support the GNU extension of
   16553      # binding the same symbol to different versions
   16554      solaris2*)
   16555        ;;
   16556      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
   16557      *)
   16558 
   16559 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
   16560 
   16561        ;;
   16562     esac
   16563 fi
   16564 
   16565 
   16566 if test $enable_symvers = gnu; then
   16567 
   16568 $as_echo "#define LIBGOMP_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
   16569 
   16570 fi
   16571 
   16572 # Determine cpu count to limit testsuite parallelism.
   16573                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the number of available CPUs" >&5
   16574 $as_echo_n "checking the number of available CPUs... " >&6; }
   16575       CPU_COUNT="0"
   16576 
   16577       # Try generic methods
   16578 
   16579       # 'getconf' is POSIX utility, but '_NPROCESSORS_ONLN' and
   16580       # 'NPROCESSORS_ONLN' are platform-specific
   16581       command -v getconf >/dev/null 2>&1 && \
   16582         CPU_COUNT=`getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN 2>/dev/null` || CPU_COUNT="0"
   16583       if test "$CPU_COUNT" -gt "0" 2>/dev/null || ! command -v nproc >/dev/null 2>&1; then :
   16584   : # empty
   16585 else
   16586           # 'nproc' is part of GNU Coreutils and is widely available
   16587         CPU_COUNT=`OMP_NUM_THREADS='' nproc 2>/dev/null` || CPU_COUNT=`nproc 2>/dev/null` || CPU_COUNT="0"
   16588 
   16589 fi
   16590       if test "$CPU_COUNT" -gt "0" 2>/dev/null; then :
   16591   : # empty
   16592 else
   16593           # Try platform-specific preferred methods
   16594         case $host_os in #(
   16595             *linux*) :
   16596     CPU_COUNT=`lscpu -p 2>/dev/null | $EGREP -e '^[0-9]+,' -c` || CPU_COUNT="0" ;; #(
   16597             *darwin*) :
   16598     CPU_COUNT=`sysctl -n hw.logicalcpu 2>/dev/null` || CPU_COUNT="0" ;; #(
   16599             freebsd*) :
   16600     command -v sysctl >/dev/null 2>&1 && CPU_COUNT=`sysctl -n kern.smp.cpus 2>/dev/null` || CPU_COUNT="0" ;; #(
   16601             netbsd*) :
   16602     command -v sysctl >/dev/null 2>&1 && CPU_COUNT=`sysctl -n hw.ncpuonline 2>/dev/null` || CPU_COUNT="0" ;; #(
   16603             solaris*) :
   16604     command -v psrinfo >/dev/null 2>&1 && CPU_COUNT=`psrinfo 2>/dev/null | $EGREP -e '^[0-9].*on-line' -c 2>/dev/null` || CPU_COUNT="0" ;; #(
   16605             mingw*) :
   16606     CPU_COUNT=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^[0-9]+/' -c` || CPU_COUNT="0" ;; #(
   16607             msys*) :
   16608     CPU_COUNT=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^[0-9]+/' -c` || CPU_COUNT="0" ;; #(
   16609             cygwin*) :
   16610     CPU_COUNT=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^[0-9]+/' -c` || CPU_COUNT="0"         ;; #(
   16611   *) :
   16612      ;;
   16613 esac
   16614 fi
   16615       if test "$CPU_COUNT" -gt "0" 2>/dev/null || ! command -v sysctl >/dev/null 2>&1; then :
   16616   : # empty
   16617 else
   16618           # Try less preferred generic method
   16619         # 'hw.ncpu' exist on many platforms, but not on GNU/Linux
   16620         CPU_COUNT=`sysctl -n hw.ncpu 2>/dev/null` || CPU_COUNT="0"
   16621 
   16622 fi
   16623       if test "$CPU_COUNT" -gt "0" 2>/dev/null; then :
   16624   : # empty
   16625 else
   16626         # Try platform-specific fallback methods
   16627       # They can be less accurate and slower then preferred methods
   16628         case $host_os in #(
   16629             *linux*) :
   16630     CPU_COUNT=`$EGREP -e '^processor' -c /proc/cpuinfo 2>/dev/null` || CPU_COUNT="0" ;; #(
   16631             *darwin*) :
   16632     CPU_COUNT=`system_profiler SPHardwareDataType 2>/dev/null | $EGREP -i -e 'number of cores:'|cut -d : -f 2 -s|tr -d ' '` || CPU_COUNT="0" ;; #(
   16633             freebsd*) :
   16634     CPU_COUNT=`dmesg 2>/dev/null| $EGREP -e '^cpu[0-9]+: '|sort -u|$EGREP -e '^' -c` || CPU_COUNT="0" ;; #(
   16635             netbsd*) :
   16636     CPU_COUNT=`command -v cpuctl >/dev/null 2>&1 && cpuctl list 2>/dev/null| $EGREP -e '^[0-9]+ .* online ' -c` || \
   16637                            CPU_COUNT=`dmesg 2>/dev/null| $EGREP -e '^cpu[0-9]+ at'|sort -u|$EGREP -e '^' -c` || CPU_COUNT="0" ;; #(
   16638             solaris*) :
   16639     command -v kstat >/dev/null 2>&1 && CPU_COUNT=`kstat -m cpu_info -s state -p 2>/dev/null | $EGREP -c -e 'on-line'` || \
   16640                            CPU_COUNT=`kstat -m cpu_info 2>/dev/null | $EGREP -c -e 'module: cpu_info'` || CPU_COUNT="0" ;; #(
   16641             mingw*) :
   16642     if CPU_COUNT=`reg query 'HKLM\\Hardware\\Description\\System\\CentralProcessor' 2>/dev/null | $EGREP -e '\\\\[0-9]+$' -c`; then :
   16643                           : # empty
   16644 else
   16645   test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev/null && CPU_COUNT="$NUMBER_OF_PROCESSORS"
   16646 fi ;; #(
   16647             msys*) :
   16648     test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev/null && CPU_COUNT="$NUMBER_OF_PROCESSORS" ;; #(
   16649             cygwin*) :
   16650     test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev/null && CPU_COUNT="$NUMBER_OF_PROCESSORS"         ;; #(
   16651   *) :
   16652      ;;
   16653 esac
   16654 fi
   16655       if test "x$CPU_COUNT" != "x0" && test "$CPU_COUNT" -gt 0 2>/dev/null; then :
   16656             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPU_COUNT" >&5
   16657 $as_echo "$CPU_COUNT" >&6; }
   16658 
   16659 else
   16660                         CPU_COUNT="1"
   16661             { $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to detect (assuming 1)" >&5
   16662 $as_echo "unable to detect (assuming 1)" >&6; }
   16663 
   16664 fi
   16665 
   16666 
   16667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock implementation" >&5
   16668 $as_echo "$as_me: checking for flock implementation" >&6;}
   16669 for ac_prog in flock
   16670 do
   16671   # Extract the first word of "$ac_prog", so it can be a program name with args.
   16672 set dummy $ac_prog; ac_word=$2
   16673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16674 $as_echo_n "checking for $ac_word... " >&6; }
   16675 if ${ac_cv_prog_FLOCK+:} false; then :
   16676   $as_echo_n "(cached) " >&6
   16677 else
   16678   if test -n "$FLOCK"; then
   16679   ac_cv_prog_FLOCK="$FLOCK" # Let the user override the test.
   16680 else
   16681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16682 for as_dir in $PATH
   16683 do
   16684   IFS=$as_save_IFS
   16685   test -z "$as_dir" && as_dir=.
   16686     for ac_exec_ext in '' $ac_executable_extensions; do
   16687   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16688     ac_cv_prog_FLOCK="$ac_prog"
   16689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16690     break 2
   16691   fi
   16692 done
   16693   done
   16694 IFS=$as_save_IFS
   16695 
   16696 fi
   16697 fi
   16698 FLOCK=$ac_cv_prog_FLOCK
   16699 if test -n "$FLOCK"; then
   16700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLOCK" >&5
   16701 $as_echo "$FLOCK" >&6; }
   16702 else
   16703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16704 $as_echo "no" >&6; }
   16705 fi
   16706 
   16707 
   16708   test -n "$FLOCK" && break
   16709 done
   16710 
   16711 # Fallback if 'perl' is available.
   16712 if test -z "$FLOCK"; then
   16713   # These need to be absolute paths, yet at the same time need to
   16714   # canonicalize only relative paths, because then amd will not unmount
   16715   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
   16716   case $srcdir in
   16717     [\\/$]* | ?:[\\/]*) libgomp_abs_srcdir=${srcdir} ;;
   16718     *) libgomp_abs_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
   16719   esac
   16720   # Extract the first word of "perl", so it can be a program name with args.
   16721 set dummy perl; ac_word=$2
   16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16723 $as_echo_n "checking for $ac_word... " >&6; }
   16724 if ${ac_cv_prog_FLOCK+:} false; then :
   16725   $as_echo_n "(cached) " >&6
   16726 else
   16727   if test -n "$FLOCK"; then
   16728   ac_cv_prog_FLOCK="$FLOCK" # Let the user override the test.
   16729 else
   16730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16731 for as_dir in $PATH
   16732 do
   16733   IFS=$as_save_IFS
   16734   test -z "$as_dir" && as_dir=.
   16735     for ac_exec_ext in '' $ac_executable_extensions; do
   16736   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16737     ac_cv_prog_FLOCK="$libgomp_abs_srcdir/testsuite/flock"
   16738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16739     break 2
   16740   fi
   16741 done
   16742   done
   16743 IFS=$as_save_IFS
   16744 
   16745 fi
   16746 fi
   16747 FLOCK=$ac_cv_prog_FLOCK
   16748 if test -n "$FLOCK"; then
   16749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLOCK" >&5
   16750 $as_echo "$FLOCK" >&6; }
   16751 else
   16752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16753 $as_echo "no" >&6; }
   16754 fi
   16755 
   16756 
   16757 fi
   16758 
   16759 # Get target configury.
   16760 . ${srcdir}/configure.tgt
   16761 CFLAGS="$save_CFLAGS $XCFLAGS"
   16762 
   16763 # Check for __sync_val_compare_and_swap, but only after the target has
   16764 # had a chance to set XCFLAGS.
   16765 
   16766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
   16767 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
   16768 if ${libgomp_cv_have_sync_builtins+:} false; then :
   16769   $as_echo_n "(cached) " >&6
   16770 else
   16771 
   16772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16773 /* end confdefs.h.  */
   16774 
   16775 int
   16776 main ()
   16777 {
   16778 int foo; __sync_val_compare_and_swap(&foo, 0, 1);
   16779   ;
   16780   return 0;
   16781 }
   16782 _ACEOF
   16783 if ac_fn_c_try_link "$LINENO"; then :
   16784   libgomp_cv_have_sync_builtins=yes
   16785 else
   16786   libgomp_cv_have_sync_builtins=no
   16787 fi
   16788 rm -f core conftest.err conftest.$ac_objext \
   16789     conftest$ac_exeext conftest.$ac_ext
   16790 fi
   16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_sync_builtins" >&5
   16792 $as_echo "$libgomp_cv_have_sync_builtins" >&6; }
   16793   if test $libgomp_cv_have_sync_builtins = yes; then
   16794 
   16795 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
   16796 
   16797   fi
   16798 
   16799 XCFLAGS="$XCFLAGS$XPCFLAGS"
   16800 
   16801 # Add CET specific flags if CET is enabled
   16802  # Check whether --enable-cet was given.
   16803 if test "${enable_cet+set}" = set; then :
   16804   enableval=$enable_cet;
   16805       case "$enableval" in
   16806        yes|no|auto) ;;
   16807        *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
   16808                           esac
   16809 
   16810 else
   16811   enable_cet=auto
   16812 fi
   16813 
   16814 
   16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
   16816 $as_echo_n "checking for CET support... " >&6; }
   16817 
   16818 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
   16819 case "$host" in
   16820   i[34567]86-*-linux* | x86_64-*-linux*)
   16821     case "$enable_cet" in
   16822       auto)
   16823 	# Check if target supports multi-byte NOPs
   16824 	# and if compiler and assembler support CET insn.
   16825 	cet_save_CFLAGS="$CFLAGS"
   16826 	CFLAGS="$CFLAGS -fcf-protection"
   16827 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16828 /* end confdefs.h.  */
   16829 
   16830 int
   16831 main ()
   16832 {
   16833 
   16834 #if !defined(__SSE2__)
   16835 #error target does not support multi-byte NOPs
   16836 #else
   16837 asm ("setssbsy");
   16838 #endif
   16839 
   16840   ;
   16841   return 0;
   16842 }
   16843 _ACEOF
   16844 if ac_fn_c_try_compile "$LINENO"; then :
   16845   enable_cet=yes
   16846 else
   16847   enable_cet=no
   16848 fi
   16849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16850 	CFLAGS="$cet_save_CFLAGS"
   16851 	;;
   16852       yes)
   16853 	# Check if assembler supports CET.
   16854 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16855 /* end confdefs.h.  */
   16856 
   16857 int
   16858 main ()
   16859 {
   16860 asm ("setssbsy");
   16861   ;
   16862   return 0;
   16863 }
   16864 _ACEOF
   16865 if ac_fn_c_try_compile "$LINENO"; then :
   16866 
   16867 else
   16868   as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
   16869 fi
   16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16871 	;;
   16872     esac
   16873     ;;
   16874   *)
   16875     enable_cet=no
   16876     ;;
   16877 esac
   16878 if test x$enable_cet = xyes; then
   16879   CET_FLAGS="-fcf-protection -mshstk"
   16880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16881 $as_echo "yes" >&6; }
   16882 else
   16883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16884 $as_echo "no" >&6; }
   16885 fi
   16886 
   16887 XCFLAGS="$XCFLAGS $CET_FLAGS"
   16888 FCFLAGS="$FCFLAGS $CET_FLAGS"
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 # Conditionalize the makefile for this target machine.
   16895 tmake_file_=
   16896 for f in ${tmake_file}
   16897 do
   16898 	if test -f ${srcdir}/config/$f
   16899 	then
   16900 		tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
   16901 	fi
   16902 done
   16903 tmake_file="${tmake_file_}"
   16904 
   16905 
   16906 # Cleanup and exit.
   16907 CFLAGS="$save_CFLAGS"
   16908 cat >confcache <<\_ACEOF
   16909 # This file is a shell script that caches the results of configure
   16910 # tests run on this system so they can be shared between configure
   16911 # scripts and configure runs, see configure's option --config-cache.
   16912 # It is not useful on other systems.  If it contains results you don't
   16913 # want to keep, you may remove or edit it.
   16914 #
   16915 # config.status only pays attention to the cache file if you give it
   16916 # the --recheck option to rerun configure.
   16917 #
   16918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   16919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   16920 # following values.
   16921 
   16922 _ACEOF
   16923 
   16924 # The following way of writing the cache mishandles newlines in values,
   16925 # but we know of no workaround that is simple, portable, and efficient.
   16926 # So, we kill variables containing newlines.
   16927 # Ultrix sh set writes to stderr and can't be redirected directly,
   16928 # and sets the high bit in the cache file unless we assign to the vars.
   16929 (
   16930   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   16931     eval ac_val=\$$ac_var
   16932     case $ac_val in #(
   16933     *${as_nl}*)
   16934       case $ac_var in #(
   16935       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   16936 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   16937       esac
   16938       case $ac_var in #(
   16939       _ | IFS | as_nl) ;; #(
   16940       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   16941       *) { eval $ac_var=; unset $ac_var;} ;;
   16942       esac ;;
   16943     esac
   16944   done
   16945 
   16946   (set) 2>&1 |
   16947     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   16948     *${as_nl}ac_space=\ *)
   16949       # `set' does not quote correctly, so add quotes: double-quote
   16950       # substitution turns \\\\ into \\, and sed turns \\ into \.
   16951       sed -n \
   16952 	"s/'/'\\\\''/g;
   16953 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   16954       ;; #(
   16955     *)
   16956       # `set' quotes correctly as required by POSIX, so do not add quotes.
   16957       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   16958       ;;
   16959     esac |
   16960     sort
   16961 ) |
   16962   sed '
   16963      /^ac_cv_env_/b end
   16964      t clear
   16965      :clear
   16966      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   16967      t end
   16968      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   16969      :end' >>confcache
   16970 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   16971   if test -w "$cache_file"; then
   16972     if test "x$cache_file" != "x/dev/null"; then
   16973       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   16974 $as_echo "$as_me: updating cache $cache_file" >&6;}
   16975       if test ! -f "$cache_file" || test -h "$cache_file"; then
   16976 	cat confcache >"$cache_file"
   16977       else
   16978         case $cache_file in #(
   16979         */* | ?:*)
   16980 	  mv -f confcache "$cache_file"$$ &&
   16981 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   16982         *)
   16983 	  mv -f confcache "$cache_file" ;;
   16984 	esac
   16985       fi
   16986     fi
   16987   else
   16988     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   16989 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   16990   fi
   16991 fi
   16992 rm -f confcache
   16993 
   16994 if test ${multilib} = yes; then
   16995   multilib_arg="--enable-multilib"
   16996 else
   16997   multilib_arg=
   16998 fi
   16999 
   17000 # Set up the set of libraries that we need to link against for libgomp.
   17001 # Note that the GOMP_SELF_SPEC in gcc.c may force -pthread,
   17002 # which will force linkage against -lpthread (or equivalent for the system).
   17003 # That's not 100% ideal, but about the best we can do easily.
   17004 if test $enable_shared = yes; then
   17005   link_gomp="-lgomp %{static: $LIBS}"
   17006 else
   17007   link_gomp="-lgomp $LIBS"
   17008 fi
   17009 
   17010 
   17011  if test "$ac_cv_fc_compiler_gnu" = yes; then
   17012   USE_FORTRAN_TRUE=
   17013   USE_FORTRAN_FALSE='#'
   17014 else
   17015   USE_FORTRAN_TRUE='#'
   17016   USE_FORTRAN_FALSE=
   17017 fi
   17018 
   17019 
   17020 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
   17021 # and export AC_COMPUTE_INT.  If that happens, then we'll need to remove
   17022 # the underscore here and update the PREREQ.  If it doesn't, then we'll
   17023 # need to copy this macro to our acinclude.m4.
   17024 save_CFLAGS="$CFLAGS"
   17025 for i in $config_path; do
   17026   if test -f $srcdir/config/$i/omp-lock.h; then
   17027     CFLAGS="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
   17028     break
   17029   fi
   17030 done
   17031 
   17032 if ac_fn_c_compute_int "$LINENO" "sizeof (__INTPTR_TYPE__)" "INTPTR_T_KIND"        ""; then :
   17033 
   17034 fi
   17035 
   17036 
   17037 if ac_fn_c_compute_int "$LINENO" "sizeof (__int128)" "OMP_INT128_SIZE"        ""; then :
   17038 
   17039 else
   17040   OMP_INT128_SIZE=0
   17041 fi
   17042 
   17043 
   17044 if ac_fn_c_compute_int "$LINENO" "2*sizeof (__INTPTR_TYPE__)" "OMP_DEPEND_KIND"        ""; then :
   17045 
   17046 else
   17047   OMP_DEPEND_KIND=0
   17048 fi
   17049 
   17050 
   17051 if ac_fn_c_compute_int "$LINENO" "sizeof (omp_lock_t)" "OMP_LOCK_SIZE"        ""; then :
   17052 
   17053 else
   17054   as_fn_error $? "unsupported system, cannot find sizeof (omp_lock_t)" "$LINENO" 5
   17055 fi
   17056 
   17057 
   17058 if ac_fn_c_compute_int "$LINENO" "__alignof (omp_lock_t)" "OMP_LOCK_ALIGN"        ""; then :
   17059 
   17060 fi
   17061 
   17062 
   17063 if ac_fn_c_compute_int "$LINENO" "sizeof (omp_nest_lock_t)" "OMP_NEST_LOCK_SIZE"        ""; then :
   17064 
   17065 fi
   17066 
   17067 
   17068 if ac_fn_c_compute_int "$LINENO" "__alignof (omp_nest_lock_t)" "OMP_NEST_LOCK_ALIGN"        ""; then :
   17069 
   17070 fi
   17071 
   17072 
   17073 if ac_fn_c_compute_int "$LINENO" "sizeof (omp_lock_25_t)" "OMP_LOCK_25_SIZE"        ""; then :
   17074 
   17075 else
   17076   as_fn_error $? "unsupported system, cannot find sizeof (omp_lock_25_t)" "$LINENO" 5
   17077 fi
   17078 
   17079 
   17080 if ac_fn_c_compute_int "$LINENO" "__alignof (omp_lock_25_t)" "OMP_LOCK_25_ALIGN"        ""; then :
   17081 
   17082 fi
   17083 
   17084 
   17085 if ac_fn_c_compute_int "$LINENO" "sizeof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_SIZE"        ""; then :
   17086 
   17087 fi
   17088 
   17089 
   17090 if ac_fn_c_compute_int "$LINENO" "__alignof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_ALIGN"        ""; then :
   17091 
   17092 fi
   17093 
   17094 
   17095 
   17096 # If the lock fits in an integer, then arrange for Fortran to use that
   17097 # integer.  If it doesn't, then arrange for Fortran to use a pointer.
   17098 # Except that we don't have a way at present to multi-lib the installed
   17099 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
   17100 # actual target.
   17101 OMP_LOCK_KIND=$OMP_LOCK_SIZE
   17102 OMP_NEST_LOCK_KIND=$OMP_NEST_LOCK_SIZE
   17103 if test $OMP_LOCK_SIZE -gt 8 || test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
   17104   OMP_LOCK_KIND=8
   17105 fi
   17106 if test $OMP_NEST_LOCK_SIZE -gt 8 || test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
   17107   OMP_NEST_LOCK_KIND=8
   17108 fi
   17109 OMP_LOCK_25_KIND=$OMP_LOCK_25_SIZE
   17110 OMP_NEST_LOCK_25_KIND=$OMP_NEST_LOCK_25_SIZE
   17111 if test $OMP_LOCK_25_SIZE -gt 8 || test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
   17112   OMP_LOCK_25_KIND=8
   17113 fi
   17114 if test $OMP_NEST_LOCK_25_SIZE -gt 8 || test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
   17115   OMP_NEST_LOCK_25_KIND=8
   17116 fi
   17117 if test "$ac_cv_fc_compiler_gnu" = yes; then
   17118   if test $OMP_DEPEND_KIND -eq 16; then
   17119     if test $OMP_INT128_SIZE -ne 16; then
   17120       as_fn_error $? "unsupported system, cannot find Fortran int kind=16, needed for omp_depend_kind" "$LINENO" 5
   17121     fi
   17122   else
   17123     if test $OMP_DEPEND_KIND -ne 8; then
   17124       as_fn_error $? "unsupported system, cannot find Fortran integer kind for omp_depend_kind" "$LINENO" 5
   17125     fi
   17126   fi
   17127 fi
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 
   17142 
   17143 CFLAGS="$save_CFLAGS"
   17144 
   17145 # Determine what GCC version number to use in filesystem paths.
   17146 
   17147   get_gcc_base_ver="cat"
   17148 
   17149 # Check whether --with-gcc-major-version-only was given.
   17150 if test "${with_gcc_major_version_only+set}" = set; then :
   17151   withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
   17152         get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
   17153       fi
   17154 
   17155 fi
   17156 
   17157 
   17158 
   17159 
   17160 ac_config_files="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
   17161 
   17162 ac_config_files="$ac_config_files Makefile libgomp.spec"
   17163 
   17164 #ac_config_files="$ac_config_files testsuite/libgomp-test-support.pt.exp:testsuite/libgomp-test-support.exp.in"
   17165 
   17166 #ac_config_files="$ac_config_files testsuite/libgomp-site-extra.exp"
   17167 
   17168 cat >confcache <<\_ACEOF
   17169 # This file is a shell script that caches the results of configure
   17170 # tests run on this system so they can be shared between configure
   17171 # scripts and configure runs, see configure's option --config-cache.
   17172 # It is not useful on other systems.  If it contains results you don't
   17173 # want to keep, you may remove or edit it.
   17174 #
   17175 # config.status only pays attention to the cache file if you give it
   17176 # the --recheck option to rerun configure.
   17177 #
   17178 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17180 # following values.
   17181 
   17182 _ACEOF
   17183 
   17184 # The following way of writing the cache mishandles newlines in values,
   17185 # but we know of no workaround that is simple, portable, and efficient.
   17186 # So, we kill variables containing newlines.
   17187 # Ultrix sh set writes to stderr and can't be redirected directly,
   17188 # and sets the high bit in the cache file unless we assign to the vars.
   17189 (
   17190   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17191     eval ac_val=\$$ac_var
   17192     case $ac_val in #(
   17193     *${as_nl}*)
   17194       case $ac_var in #(
   17195       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17196 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17197       esac
   17198       case $ac_var in #(
   17199       _ | IFS | as_nl) ;; #(
   17200       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17201       *) { eval $ac_var=; unset $ac_var;} ;;
   17202       esac ;;
   17203     esac
   17204   done
   17205 
   17206   (set) 2>&1 |
   17207     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17208     *${as_nl}ac_space=\ *)
   17209       # `set' does not quote correctly, so add quotes: double-quote
   17210       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17211       sed -n \
   17212 	"s/'/'\\\\''/g;
   17213 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17214       ;; #(
   17215     *)
   17216       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17217       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17218       ;;
   17219     esac |
   17220     sort
   17221 ) |
   17222   sed '
   17223      /^ac_cv_env_/b end
   17224      t clear
   17225      :clear
   17226      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17227      t end
   17228      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17229      :end' >>confcache
   17230 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17231   if test -w "$cache_file"; then
   17232     if test "x$cache_file" != "x/dev/null"; then
   17233       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17234 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17235       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17236 	cat confcache >"$cache_file"
   17237       else
   17238         case $cache_file in #(
   17239         */* | ?:*)
   17240 	  mv -f confcache "$cache_file"$$ &&
   17241 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17242         *)
   17243 	  mv -f confcache "$cache_file" ;;
   17244 	esac
   17245       fi
   17246     fi
   17247   else
   17248     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17249 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17250   fi
   17251 fi
   17252 rm -f confcache
   17253 
   17254 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17255 # Let make expand exec_prefix.
   17256 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17257 
   17258 DEFS=-DHAVE_CONFIG_H
   17259 
   17260 ac_libobjs=
   17261 ac_ltlibobjs=
   17262 U=
   17263 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17264   # 1. Remove the extension, and $U if already installed.
   17265   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17266   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17267   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17268   #    will be set to the directory where LIBOBJS objects are built.
   17269   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17270   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17271 done
   17272 LIBOBJS=$ac_libobjs
   17273 
   17274 LTLIBOBJS=$ac_ltlibobjs
   17275 
   17276 
   17277 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
   17278   as_fn_error $? "conditional \"GENINSRC\" was never defined.
   17279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17280 fi
   17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17282 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17283    if test -n "$am_sleep_pid"; then
   17284      # Hide warnings about reused PIDs.
   17285      wait $am_sleep_pid 2>/dev/null
   17286    fi
   17287    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17288 $as_echo "done" >&6; }
   17289  if test -n "$EXEEXT"; then
   17290   am__EXEEXT_TRUE=
   17291   am__EXEEXT_FALSE='#'
   17292 else
   17293   am__EXEEXT_TRUE='#'
   17294   am__EXEEXT_FALSE=
   17295 fi
   17296 
   17297 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17298   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17300 fi
   17301 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17302   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17304 fi
   17305 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
   17306   as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
   17307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17308 fi
   17309 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17310   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17312 fi
   17313 if test -z "${PLUGIN_NVPTX_TRUE}" && test -z "${PLUGIN_NVPTX_FALSE}"; then
   17314   as_fn_error $? "conditional \"PLUGIN_NVPTX\" was never defined.
   17315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17316 fi
   17317 if test -z "${PLUGIN_GCN_TRUE}" && test -z "${PLUGIN_GCN_FALSE}"; then
   17318   as_fn_error $? "conditional \"PLUGIN_GCN\" was never defined.
   17319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17320 fi
   17321 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
   17322   as_fn_error $? "conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
   17323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17324 fi
   17325 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
   17326   as_fn_error $? "conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
   17327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17328 fi
   17329 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
   17330   as_fn_error $? "conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
   17331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17332 fi
   17333 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
   17334   as_fn_error $? "conditional \"USE_FORTRAN\" was never defined.
   17335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17336 fi
   17337 
   17338 : "${CONFIG_STATUS=./config.status}"
   17339 ac_write_fail=0
   17340 ac_clean_files_save=$ac_clean_files
   17341 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17342 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17343 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17344 as_write_fail=0
   17345 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17346 #! $SHELL
   17347 # Generated by $as_me.
   17348 # Run this file to recreate the current configuration.
   17349 # Compiler output produced by configure, useful for debugging
   17350 # configure, is in config.log if it exists.
   17351 
   17352 debug=false
   17353 ac_cs_recheck=false
   17354 ac_cs_silent=false
   17355 
   17356 SHELL=\${CONFIG_SHELL-$SHELL}
   17357 export SHELL
   17358 _ASEOF
   17359 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17360 ## -------------------- ##
   17361 ## M4sh Initialization. ##
   17362 ## -------------------- ##
   17363 
   17364 # Be more Bourne compatible
   17365 DUALCASE=1; export DUALCASE # for MKS sh
   17366 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17367   emulate sh
   17368   NULLCMD=:
   17369   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17370   # is contrary to our usage.  Disable this feature.
   17371   alias -g '${1+"$@"}'='"$@"'
   17372   setopt NO_GLOB_SUBST
   17373 else
   17374   case `(set -o) 2>/dev/null` in #(
   17375   *posix*) :
   17376     set -o posix ;; #(
   17377   *) :
   17378      ;;
   17379 esac
   17380 fi
   17381 
   17382 
   17383 as_nl='
   17384 '
   17385 export as_nl
   17386 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17387 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17388 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17389 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17390 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17391 # but without wasting forks for bash or zsh.
   17392 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17393     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17394   as_echo='print -r --'
   17395   as_echo_n='print -rn --'
   17396 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17397   as_echo='printf %s\n'
   17398   as_echo_n='printf %s'
   17399 else
   17400   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17401     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17402     as_echo_n='/usr/ucb/echo -n'
   17403   else
   17404     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17405     as_echo_n_body='eval
   17406       arg=$1;
   17407       case $arg in #(
   17408       *"$as_nl"*)
   17409 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17410 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17411       esac;
   17412       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17413     '
   17414     export as_echo_n_body
   17415     as_echo_n='sh -c $as_echo_n_body as_echo'
   17416   fi
   17417   export as_echo_body
   17418   as_echo='sh -c $as_echo_body as_echo'
   17419 fi
   17420 
   17421 # The user is always right.
   17422 if test "${PATH_SEPARATOR+set}" != set; then
   17423   PATH_SEPARATOR=:
   17424   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17425     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17426       PATH_SEPARATOR=';'
   17427   }
   17428 fi
   17429 
   17430 
   17431 # IFS
   17432 # We need space, tab and new line, in precisely that order.  Quoting is
   17433 # there to prevent editors from complaining about space-tab.
   17434 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17435 # splitting by setting IFS to empty value.)
   17436 IFS=" ""	$as_nl"
   17437 
   17438 # Find who we are.  Look in the path if we contain no directory separator.
   17439 as_myself=
   17440 case $0 in #((
   17441   *[\\/]* ) as_myself=$0 ;;
   17442   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17443 for as_dir in $PATH
   17444 do
   17445   IFS=$as_save_IFS
   17446   test -z "$as_dir" && as_dir=.
   17447     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17448   done
   17449 IFS=$as_save_IFS
   17450 
   17451      ;;
   17452 esac
   17453 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17454 # in which case we are not to be found in the path.
   17455 if test "x$as_myself" = x; then
   17456   as_myself=$0
   17457 fi
   17458 if test ! -f "$as_myself"; then
   17459   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17460   exit 1
   17461 fi
   17462 
   17463 # Unset variables that we do not need and which cause bugs (e.g. in
   17464 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17465 # suppresses any "Segmentation fault" message there.  '((' could
   17466 # trigger a bug in pdksh 5.2.14.
   17467 for as_var in BASH_ENV ENV MAIL MAILPATH
   17468 do eval test x\${$as_var+set} = xset \
   17469   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17470 done
   17471 PS1='$ '
   17472 PS2='> '
   17473 PS4='+ '
   17474 
   17475 # NLS nuisances.
   17476 LC_ALL=C
   17477 export LC_ALL
   17478 LANGUAGE=C
   17479 export LANGUAGE
   17480 
   17481 # CDPATH.
   17482 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17483 
   17484 
   17485 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17486 # ----------------------------------------
   17487 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17488 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17489 # script with STATUS, using 1 if that was 0.
   17490 as_fn_error ()
   17491 {
   17492   as_status=$1; test $as_status -eq 0 && as_status=1
   17493   if test "$4"; then
   17494     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17495     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17496   fi
   17497   $as_echo "$as_me: error: $2" >&2
   17498   as_fn_exit $as_status
   17499 } # as_fn_error
   17500 
   17501 
   17502 # as_fn_set_status STATUS
   17503 # -----------------------
   17504 # Set $? to STATUS, without forking.
   17505 as_fn_set_status ()
   17506 {
   17507   return $1
   17508 } # as_fn_set_status
   17509 
   17510 # as_fn_exit STATUS
   17511 # -----------------
   17512 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17513 as_fn_exit ()
   17514 {
   17515   set +e
   17516   as_fn_set_status $1
   17517   exit $1
   17518 } # as_fn_exit
   17519 
   17520 # as_fn_unset VAR
   17521 # ---------------
   17522 # Portably unset VAR.
   17523 as_fn_unset ()
   17524 {
   17525   { eval $1=; unset $1;}
   17526 }
   17527 as_unset=as_fn_unset
   17528 # as_fn_append VAR VALUE
   17529 # ----------------------
   17530 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17531 # advantage of any shell optimizations that allow amortized linear growth over
   17532 # repeated appends, instead of the typical quadratic growth present in naive
   17533 # implementations.
   17534 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17535   eval 'as_fn_append ()
   17536   {
   17537     eval $1+=\$2
   17538   }'
   17539 else
   17540   as_fn_append ()
   17541   {
   17542     eval $1=\$$1\$2
   17543   }
   17544 fi # as_fn_append
   17545 
   17546 # as_fn_arith ARG...
   17547 # ------------------
   17548 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17549 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17550 # must be portable across $(()) and expr.
   17551 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17552   eval 'as_fn_arith ()
   17553   {
   17554     as_val=$(( $* ))
   17555   }'
   17556 else
   17557   as_fn_arith ()
   17558   {
   17559     as_val=`expr "$@" || test $? -eq 1`
   17560   }
   17561 fi # as_fn_arith
   17562 
   17563 
   17564 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17565    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17566   as_expr=expr
   17567 else
   17568   as_expr=false
   17569 fi
   17570 
   17571 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17572   as_basename=basename
   17573 else
   17574   as_basename=false
   17575 fi
   17576 
   17577 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17578   as_dirname=dirname
   17579 else
   17580   as_dirname=false
   17581 fi
   17582 
   17583 as_me=`$as_basename -- "$0" ||
   17584 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17585 	 X"$0" : 'X\(//\)$' \| \
   17586 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17587 $as_echo X/"$0" |
   17588     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17589 	    s//\1/
   17590 	    q
   17591 	  }
   17592 	  /^X\/\(\/\/\)$/{
   17593 	    s//\1/
   17594 	    q
   17595 	  }
   17596 	  /^X\/\(\/\).*/{
   17597 	    s//\1/
   17598 	    q
   17599 	  }
   17600 	  s/.*/./; q'`
   17601 
   17602 # Avoid depending upon Character Ranges.
   17603 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17604 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17605 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17606 as_cr_digits='0123456789'
   17607 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17608 
   17609 ECHO_C= ECHO_N= ECHO_T=
   17610 case `echo -n x` in #(((((
   17611 -n*)
   17612   case `echo 'xy\c'` in
   17613   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17614   xy)  ECHO_C='\c';;
   17615   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17616        ECHO_T='	';;
   17617   esac;;
   17618 *)
   17619   ECHO_N='-n';;
   17620 esac
   17621 
   17622 rm -f conf$$ conf$$.exe conf$$.file
   17623 if test -d conf$$.dir; then
   17624   rm -f conf$$.dir/conf$$.file
   17625 else
   17626   rm -f conf$$.dir
   17627   mkdir conf$$.dir 2>/dev/null
   17628 fi
   17629 if (echo >conf$$.file) 2>/dev/null; then
   17630   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17631     as_ln_s='ln -s'
   17632     # ... but there are two gotchas:
   17633     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17634     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17635     # In both cases, we have to default to `cp -pR'.
   17636     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17637       as_ln_s='cp -pR'
   17638   elif ln conf$$.file conf$$ 2>/dev/null; then
   17639     as_ln_s=ln
   17640   else
   17641     as_ln_s='cp -pR'
   17642   fi
   17643 else
   17644   as_ln_s='cp -pR'
   17645 fi
   17646 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17647 rmdir conf$$.dir 2>/dev/null
   17648 
   17649 
   17650 # as_fn_mkdir_p
   17651 # -------------
   17652 # Create "$as_dir" as a directory, including parents if necessary.
   17653 as_fn_mkdir_p ()
   17654 {
   17655 
   17656   case $as_dir in #(
   17657   -*) as_dir=./$as_dir;;
   17658   esac
   17659   test -d "$as_dir" || eval $as_mkdir_p || {
   17660     as_dirs=
   17661     while :; do
   17662       case $as_dir in #(
   17663       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17664       *) as_qdir=$as_dir;;
   17665       esac
   17666       as_dirs="'$as_qdir' $as_dirs"
   17667       as_dir=`$as_dirname -- "$as_dir" ||
   17668 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17669 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17670 	 X"$as_dir" : 'X\(//\)$' \| \
   17671 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17672 $as_echo X"$as_dir" |
   17673     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17674 	    s//\1/
   17675 	    q
   17676 	  }
   17677 	  /^X\(\/\/\)[^/].*/{
   17678 	    s//\1/
   17679 	    q
   17680 	  }
   17681 	  /^X\(\/\/\)$/{
   17682 	    s//\1/
   17683 	    q
   17684 	  }
   17685 	  /^X\(\/\).*/{
   17686 	    s//\1/
   17687 	    q
   17688 	  }
   17689 	  s/.*/./; q'`
   17690       test -d "$as_dir" && break
   17691     done
   17692     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17693   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   17694 
   17695 
   17696 } # as_fn_mkdir_p
   17697 if mkdir -p . 2>/dev/null; then
   17698   as_mkdir_p='mkdir -p "$as_dir"'
   17699 else
   17700   test -d ./-p && rmdir ./-p
   17701   as_mkdir_p=false
   17702 fi
   17703 
   17704 
   17705 # as_fn_executable_p FILE
   17706 # -----------------------
   17707 # Test if FILE is an executable regular file.
   17708 as_fn_executable_p ()
   17709 {
   17710   test -f "$1" && test -x "$1"
   17711 } # as_fn_executable_p
   17712 as_test_x='test -x'
   17713 as_executable_p=as_fn_executable_p
   17714 
   17715 # Sed expression to map a string onto a valid CPP name.
   17716 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17717 
   17718 # Sed expression to map a string onto a valid variable name.
   17719 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   17720 
   17721 
   17722 exec 6>&1
   17723 ## ----------------------------------- ##
   17724 ## Main body of $CONFIG_STATUS script. ##
   17725 ## ----------------------------------- ##
   17726 _ASEOF
   17727 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   17728 
   17729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17730 # Save the log message, to keep $0 and so on meaningful, and to
   17731 # report actual input values of CONFIG_FILES etc. instead of their
   17732 # values after options handling.
   17733 ac_log="
   17734 This file was extended by GNU Offloading and Multi Processing Runtime Library $as_me 1.0, which was
   17735 generated by GNU Autoconf 2.69.  Invocation command line was
   17736 
   17737   CONFIG_FILES    = $CONFIG_FILES
   17738   CONFIG_HEADERS  = $CONFIG_HEADERS
   17739   CONFIG_LINKS    = $CONFIG_LINKS
   17740   CONFIG_COMMANDS = $CONFIG_COMMANDS
   17741   $ $0 $@
   17742 
   17743 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   17744 "
   17745 
   17746 _ACEOF
   17747 
   17748 case $ac_config_files in *"
   17749 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17750 esac
   17751 
   17752 case $ac_config_headers in *"
   17753 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   17754 esac
   17755 
   17756 
   17757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17758 # Files that config.status was made for.
   17759 config_files="$ac_config_files"
   17760 config_headers="$ac_config_headers"
   17761 config_commands="$ac_config_commands"
   17762 
   17763 _ACEOF
   17764 
   17765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17766 ac_cs_usage="\
   17767 \`$as_me' instantiates files and other configuration actions
   17768 from templates according to the current configuration.  Unless the files
   17769 and actions are specified as TAGs, all are instantiated by default.
   17770 
   17771 Usage: $0 [OPTION]... [TAG]...
   17772 
   17773   -h, --help       print this help, then exit
   17774   -V, --version    print version number and configuration settings, then exit
   17775       --config     print configuration, then exit
   17776   -q, --quiet, --silent
   17777                    do not print progress messages
   17778   -d, --debug      don't remove temporary files
   17779       --recheck    update $as_me by reconfiguring in the same conditions
   17780       --file=FILE[:TEMPLATE]
   17781                    instantiate the configuration file FILE
   17782       --header=FILE[:TEMPLATE]
   17783                    instantiate the configuration header FILE
   17784 
   17785 Configuration files:
   17786 $config_files
   17787 
   17788 Configuration headers:
   17789 $config_headers
   17790 
   17791 Configuration commands:
   17792 $config_commands
   17793 
   17794 Report bugs to the package provider.
   17795 GNU Offloading and Multi Processing Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
   17796 General help using GNU software: <http://www.gnu.org/gethelp/>."
   17797 
   17798 _ACEOF
   17799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17800 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   17801 ac_cs_version="\\
   17802 GNU Offloading and Multi Processing Runtime Library config.status 1.0
   17803 configured by $0, generated by GNU Autoconf 2.69,
   17804   with options \\"\$ac_cs_config\\"
   17805 
   17806 Copyright (C) 2012 Free Software Foundation, Inc.
   17807 This config.status script is free software; the Free Software Foundation
   17808 gives unlimited permission to copy, distribute and modify it."
   17809 
   17810 ac_pwd='$ac_pwd'
   17811 srcdir='$srcdir'
   17812 INSTALL='$INSTALL'
   17813 MKDIR_P='$MKDIR_P'
   17814 AWK='$AWK'
   17815 test -n "\$AWK" || AWK=awk
   17816 _ACEOF
   17817 
   17818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17819 # The default lists apply if the user does not specify any file.
   17820 ac_need_defaults=:
   17821 while test $# != 0
   17822 do
   17823   case $1 in
   17824   --*=?*)
   17825     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17826     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17827     ac_shift=:
   17828     ;;
   17829   --*=)
   17830     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17831     ac_optarg=
   17832     ac_shift=:
   17833     ;;
   17834   *)
   17835     ac_option=$1
   17836     ac_optarg=$2
   17837     ac_shift=shift
   17838     ;;
   17839   esac
   17840 
   17841   case $ac_option in
   17842   # Handling of the options.
   17843   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17844     ac_cs_recheck=: ;;
   17845   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17846     $as_echo "$ac_cs_version"; exit ;;
   17847   --config | --confi | --conf | --con | --co | --c )
   17848     $as_echo "$ac_cs_config"; exit ;;
   17849   --debug | --debu | --deb | --de | --d | -d )
   17850     debug=: ;;
   17851   --file | --fil | --fi | --f )
   17852     $ac_shift
   17853     case $ac_optarg in
   17854     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17855     '') as_fn_error $? "missing file argument" ;;
   17856     esac
   17857     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17858     ac_need_defaults=false;;
   17859   --header | --heade | --head | --hea )
   17860     $ac_shift
   17861     case $ac_optarg in
   17862     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17863     esac
   17864     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   17865     ac_need_defaults=false;;
   17866   --he | --h)
   17867     # Conflict between --help and --header
   17868     as_fn_error $? "ambiguous option: \`$1'
   17869 Try \`$0 --help' for more information.";;
   17870   --help | --hel | -h )
   17871     $as_echo "$ac_cs_usage"; exit ;;
   17872   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17873   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17874     ac_cs_silent=: ;;
   17875 
   17876   # This is an error.
   17877   -*) as_fn_error $? "unrecognized option: \`$1'
   17878 Try \`$0 --help' for more information." ;;
   17879 
   17880   *) as_fn_append ac_config_targets " $1"
   17881      ac_need_defaults=false ;;
   17882 
   17883   esac
   17884   shift
   17885 done
   17886 
   17887 ac_configure_extra_args=
   17888 
   17889 if $ac_cs_silent; then
   17890   exec 6>/dev/null
   17891   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17892 fi
   17893 
   17894 _ACEOF
   17895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17896 if \$ac_cs_recheck; then
   17897   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17898   shift
   17899   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17900   CONFIG_SHELL='$SHELL'
   17901   export CONFIG_SHELL
   17902   exec "\$@"
   17903 fi
   17904 
   17905 _ACEOF
   17906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17907 exec 5>>config.log
   17908 {
   17909   echo
   17910   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17911 ## Running $as_me. ##
   17912 _ASBOX
   17913   $as_echo "$ac_log"
   17914 } >&5
   17915 
   17916 _ACEOF
   17917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17918 #
   17919 # INIT-COMMANDS
   17920 #
   17921 
   17922 srcdir="$srcdir"
   17923 host="$host"
   17924 target="$target"
   17925 with_multisubdir="$with_multisubdir"
   17926 with_multisrctop="$with_multisrctop"
   17927 with_target_subdir="$with_target_subdir"
   17928 ac_configure_args="${multilib_arg} ${ac_configure_args}"
   17929 multi_basedir="$multi_basedir"
   17930 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   17931 CC="$CC"
   17932 CXX="$CXX"
   17933 GFORTRAN="$GFORTRAN"
   17934 GDC="$GDC"
   17935 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17936 
   17937 
   17938 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17939 # if CDPATH is set.
   17940 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17941 
   17942 sed_quote_subst='$sed_quote_subst'
   17943 double_quote_subst='$double_quote_subst'
   17944 delay_variable_subst='$delay_variable_subst'
   17945 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   17946 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   17947 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   17948 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   17949 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   17950 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   17951 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   17952 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   17953 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   17954 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   17955 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   17956 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   17957 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   17958 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   17959 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   17960 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   17961 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   17962 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   17963 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   17964 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   17965 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   17966 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   17967 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   17968 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   17969 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   17970 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   17971 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   17972 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   17973 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   17974 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   17975 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   17976 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   17977 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   17978 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   17979 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   17980 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   17981 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   17982 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17983 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17984 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   17985 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   17986 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   17987 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   17988 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   17989 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   17990 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   17991 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   17992 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   17993 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"`'
   17994 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   17995 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   17996 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   17997 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   17998 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   17999 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18000 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18001 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18002 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18003 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18004 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18005 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18006 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18007 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18008 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18009 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18010 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18011 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18012 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18013 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18014 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18015 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18016 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18017 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18018 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18019 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18020 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18021 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18022 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18023 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18024 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18025 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18026 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18027 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18028 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18029 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18030 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18031 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18032 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18033 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18034 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   18035 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18036 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18037 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18038 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18039 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18040 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18041 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18042 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18043 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18044 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18045 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18046 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18047 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18048 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18049 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18050 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18051 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18052 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18053 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18054 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18055 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18056 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18057 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18058 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18059 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18060 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18061 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18062 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18063 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18064 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18065 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   18066 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   18067 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   18068 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   18069 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   18070 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   18071 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
   18072 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
   18073 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18074 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18075 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
   18076 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
   18077 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
   18078 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
   18079 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
   18080 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
   18081 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
   18082 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
   18083 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
   18084 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
   18085 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
   18086 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
   18087 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18088 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18089 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18090 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18091 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18092 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18093 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
   18094 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
   18095 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
   18096 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
   18097 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
   18098 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
   18099 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
   18100 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
   18101 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
   18102 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
   18103 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
   18104 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
   18105 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
   18106 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
   18107 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
   18108 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18109 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
   18110 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
   18111 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
   18112 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
   18113 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
   18114 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
   18115 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
   18116 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
   18117 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
   18118 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
   18119 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
   18120 
   18121 LTCC='$LTCC'
   18122 LTCFLAGS='$LTCFLAGS'
   18123 compiler='$compiler_DEFAULT'
   18124 
   18125 # A function that is used when there is no print builtin or printf.
   18126 func_fallback_echo ()
   18127 {
   18128   eval 'cat <<_LTECHO_EOF
   18129 \$1
   18130 _LTECHO_EOF'
   18131 }
   18132 
   18133 # Quote evaled strings.
   18134 for var in SHELL \
   18135 ECHO \
   18136 SED \
   18137 GREP \
   18138 EGREP \
   18139 FGREP \
   18140 LD \
   18141 NM \
   18142 LN_S \
   18143 lt_SP2NL \
   18144 lt_NL2SP \
   18145 reload_flag \
   18146 OBJDUMP \
   18147 deplibs_check_method \
   18148 file_magic_cmd \
   18149 AR \
   18150 AR_FLAGS \
   18151 STRIP \
   18152 RANLIB \
   18153 CC \
   18154 CFLAGS \
   18155 compiler \
   18156 lt_cv_sys_global_symbol_pipe \
   18157 lt_cv_sys_global_symbol_to_cdecl \
   18158 lt_cv_sys_global_symbol_to_c_name_address \
   18159 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18160 lt_prog_compiler_no_builtin_flag \
   18161 lt_prog_compiler_wl \
   18162 lt_prog_compiler_pic \
   18163 lt_prog_compiler_static \
   18164 lt_cv_prog_compiler_c_o \
   18165 need_locks \
   18166 DSYMUTIL \
   18167 NMEDIT \
   18168 LIPO \
   18169 OTOOL \
   18170 OTOOL64 \
   18171 shrext_cmds \
   18172 export_dynamic_flag_spec \
   18173 whole_archive_flag_spec \
   18174 compiler_needs_object \
   18175 with_gnu_ld \
   18176 allow_undefined_flag \
   18177 no_undefined_flag \
   18178 hardcode_libdir_flag_spec \
   18179 hardcode_libdir_flag_spec_ld \
   18180 hardcode_libdir_separator \
   18181 fix_srcfile_path \
   18182 exclude_expsyms \
   18183 include_expsyms \
   18184 file_list_spec \
   18185 variables_saved_for_relink \
   18186 libname_spec \
   18187 library_names_spec \
   18188 soname_spec \
   18189 install_override_mode \
   18190 finish_eval \
   18191 old_striplib \
   18192 striplib \
   18193 compiler_lib_search_dirs \
   18194 predep_objects \
   18195 postdep_objects \
   18196 predeps \
   18197 postdeps \
   18198 compiler_lib_search_path \
   18199 LD_FC \
   18200 reload_flag_FC \
   18201 compiler_FC \
   18202 lt_prog_compiler_no_builtin_flag_FC \
   18203 lt_prog_compiler_wl_FC \
   18204 lt_prog_compiler_pic_FC \
   18205 lt_prog_compiler_static_FC \
   18206 lt_cv_prog_compiler_c_o_FC \
   18207 export_dynamic_flag_spec_FC \
   18208 whole_archive_flag_spec_FC \
   18209 compiler_needs_object_FC \
   18210 with_gnu_ld_FC \
   18211 allow_undefined_flag_FC \
   18212 no_undefined_flag_FC \
   18213 hardcode_libdir_flag_spec_FC \
   18214 hardcode_libdir_flag_spec_ld_FC \
   18215 hardcode_libdir_separator_FC \
   18216 fix_srcfile_path_FC \
   18217 exclude_expsyms_FC \
   18218 include_expsyms_FC \
   18219 file_list_spec_FC \
   18220 compiler_lib_search_dirs_FC \
   18221 predep_objects_FC \
   18222 postdep_objects_FC \
   18223 predeps_FC \
   18224 postdeps_FC \
   18225 compiler_lib_search_path_FC; do
   18226     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18227     *[\\\\\\\`\\"\\\$]*)
   18228       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18229       ;;
   18230     *)
   18231       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18232       ;;
   18233     esac
   18234 done
   18235 
   18236 # Double-quote double-evaled strings.
   18237 for var in reload_cmds \
   18238 old_postinstall_cmds \
   18239 old_postuninstall_cmds \
   18240 old_archive_cmds \
   18241 extract_expsyms_cmds \
   18242 old_archive_from_new_cmds \
   18243 old_archive_from_expsyms_cmds \
   18244 archive_cmds \
   18245 archive_expsym_cmds \
   18246 module_cmds \
   18247 module_expsym_cmds \
   18248 export_symbols_cmds \
   18249 prelink_cmds \
   18250 postinstall_cmds \
   18251 postuninstall_cmds \
   18252 finish_cmds \
   18253 sys_lib_search_path_spec \
   18254 sys_lib_dlsearch_path_spec \
   18255 reload_cmds_FC \
   18256 old_archive_cmds_FC \
   18257 old_archive_from_new_cmds_FC \
   18258 old_archive_from_expsyms_cmds_FC \
   18259 archive_cmds_FC \
   18260 archive_expsym_cmds_FC \
   18261 module_cmds_FC \
   18262 module_expsym_cmds_FC \
   18263 export_symbols_cmds_FC \
   18264 prelink_cmds_FC; do
   18265     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18266     *[\\\\\\\`\\"\\\$]*)
   18267       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18268       ;;
   18269     *)
   18270       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18271       ;;
   18272     esac
   18273 done
   18274 
   18275 ac_aux_dir='$ac_aux_dir'
   18276 xsi_shell='$xsi_shell'
   18277 lt_shell_append='$lt_shell_append'
   18278 
   18279 # See if we are running on zsh, and set the options which allow our
   18280 # commands through without removal of \ escapes INIT.
   18281 if test -n "\${ZSH_VERSION+set}" ; then
   18282    setopt NO_GLOB_SUBST
   18283 fi
   18284 
   18285 
   18286     PACKAGE='$PACKAGE'
   18287     VERSION='$VERSION'
   18288     TIMESTAMP='$TIMESTAMP'
   18289     RM='$RM'
   18290     ofile='$ofile'
   18291 
   18292 
   18293 
   18294 
   18295 
   18296 
   18297 _ACEOF
   18298 
   18299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18300 
   18301 # Handling of arguments.
   18302 for ac_config_target in $ac_config_targets
   18303 do
   18304   case $ac_config_target in
   18305     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18306     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   18307     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18308     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18309     "omp.h") CONFIG_FILES="$CONFIG_FILES omp.h" ;;
   18310     "omp_lib.h") CONFIG_FILES="$CONFIG_FILES omp_lib.h" ;;
   18311     "omp_lib.f90") CONFIG_FILES="$CONFIG_FILES omp_lib.f90" ;;
   18312     "libgomp_f.h") CONFIG_FILES="$CONFIG_FILES libgomp_f.h" ;;
   18313     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18314     "libgomp.spec") CONFIG_FILES="$CONFIG_FILES libgomp.spec" ;;
   18315     #"testsuite/libgomp-test-support.pt.exp") CONFIG_FILES="$CONFIG_FILES testsuite/libgomp-test-support.pt.exp:testsuite/libgomp-test-support.exp.in" ;;
   18316     #"testsuite/libgomp-site-extra.exp") CONFIG_FILES="$CONFIG_FILES testsuite/libgomp-site-extra.exp" ;;
   18317 
   18318   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18319   esac
   18320 done
   18321 
   18322 
   18323 # If the user did not use the arguments to specify the items to instantiate,
   18324 # then the envvar interface is used.  Set only those that are not.
   18325 # We use the long form for the default assignment because of an extremely
   18326 # bizarre bug on SunOS 4.1.3.
   18327 if $ac_need_defaults; then
   18328   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18329   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18330   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18331 fi
   18332 
   18333 # Have a temporary directory for convenience.  Make it in the build tree
   18334 # simply because there is no reason against having it here, and in addition,
   18335 # creating and moving files from /tmp can sometimes cause problems.
   18336 # Hook for its removal unless debugging.
   18337 # Note that there is a small window in which the directory will not be cleaned:
   18338 # after its creation but before its name has been assigned to `$tmp'.
   18339 $debug ||
   18340 {
   18341   tmp= ac_tmp=
   18342   trap 'exit_status=$?
   18343   : "${ac_tmp:=$tmp}"
   18344   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18345 ' 0
   18346   trap 'as_fn_exit 1' 1 2 13 15
   18347 }
   18348 # Create a (secure) tmp directory for tmp files.
   18349 
   18350 {
   18351   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18352   test -d "$tmp"
   18353 }  ||
   18354 {
   18355   tmp=./conf$$-$RANDOM
   18356   (umask 077 && mkdir "$tmp")
   18357 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18358 ac_tmp=$tmp
   18359 
   18360 # Set up the scripts for CONFIG_FILES section.
   18361 # No need to generate them if there are no CONFIG_FILES.
   18362 # This happens for instance with `./config.status config.h'.
   18363 if test -n "$CONFIG_FILES"; then
   18364 
   18365 
   18366 ac_cr=`echo X | tr X '\015'`
   18367 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18368 # But we know of no other shell where ac_cr would be empty at this
   18369 # point, so we can use a bashism as a fallback.
   18370 if test "x$ac_cr" = x; then
   18371   eval ac_cr=\$\'\\r\'
   18372 fi
   18373 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18374 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18375   ac_cs_awk_cr='\\r'
   18376 else
   18377   ac_cs_awk_cr=$ac_cr
   18378 fi
   18379 
   18380 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18381 _ACEOF
   18382 
   18383 
   18384 {
   18385   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18386   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18387   echo "_ACEOF"
   18388 } >conf$$subs.sh ||
   18389   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18390 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18391 ac_delim='%!_!# '
   18392 for ac_last_try in false false false false false :; do
   18393   . ./conf$$subs.sh ||
   18394     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18395 
   18396   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18397   if test $ac_delim_n = $ac_delim_num; then
   18398     break
   18399   elif $ac_last_try; then
   18400     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18401   else
   18402     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18403   fi
   18404 done
   18405 rm -f conf$$subs.sh
   18406 
   18407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18408 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18409 _ACEOF
   18410 sed -n '
   18411 h
   18412 s/^/S["/; s/!.*/"]=/
   18413 p
   18414 g
   18415 s/^[^!]*!//
   18416 :repl
   18417 t repl
   18418 s/'"$ac_delim"'$//
   18419 t delim
   18420 :nl
   18421 h
   18422 s/\(.\{148\}\)..*/\1/
   18423 t more1
   18424 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18425 p
   18426 n
   18427 b repl
   18428 :more1
   18429 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18430 p
   18431 g
   18432 s/.\{148\}//
   18433 t nl
   18434 :delim
   18435 h
   18436 s/\(.\{148\}\)..*/\1/
   18437 t more2
   18438 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18439 p
   18440 b
   18441 :more2
   18442 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18443 p
   18444 g
   18445 s/.\{148\}//
   18446 t delim
   18447 ' <conf$$subs.awk | sed '
   18448 /^[^""]/{
   18449   N
   18450   s/\n//
   18451 }
   18452 ' >>$CONFIG_STATUS || ac_write_fail=1
   18453 rm -f conf$$subs.awk
   18454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18455 _ACAWK
   18456 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18457   for (key in S) S_is_set[key] = 1
   18458   FS = ""
   18459 
   18460 }
   18461 {
   18462   line = $ 0
   18463   nfields = split(line, field, "@")
   18464   substed = 0
   18465   len = length(field[1])
   18466   for (i = 2; i < nfields; i++) {
   18467     key = field[i]
   18468     keylen = length(key)
   18469     if (S_is_set[key]) {
   18470       value = S[key]
   18471       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18472       len += length(value) + length(field[++i])
   18473       substed = 1
   18474     } else
   18475       len += 1 + keylen
   18476   }
   18477 
   18478   print line
   18479 }
   18480 
   18481 _ACAWK
   18482 _ACEOF
   18483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18484 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18485   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18486 else
   18487   cat
   18488 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18489   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18490 _ACEOF
   18491 
   18492 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18493 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18494 # trailing colons and then remove the whole line if VPATH becomes empty
   18495 # (actually we leave an empty line to preserve line numbers).
   18496 if test "x$srcdir" = x.; then
   18497   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18498 h
   18499 s///
   18500 s/^/:/
   18501 s/[	 ]*$/:/
   18502 s/:\$(srcdir):/:/g
   18503 s/:\${srcdir}:/:/g
   18504 s/:@srcdir@:/:/g
   18505 s/^:*//
   18506 s/:*$//
   18507 x
   18508 s/\(=[	 ]*\).*/\1/
   18509 G
   18510 s/\n//
   18511 s/^[^=]*=[	 ]*$//
   18512 }'
   18513 fi
   18514 
   18515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18516 fi # test -n "$CONFIG_FILES"
   18517 
   18518 # Set up the scripts for CONFIG_HEADERS section.
   18519 # No need to generate them if there are no CONFIG_HEADERS.
   18520 # This happens for instance with `./config.status Makefile'.
   18521 if test -n "$CONFIG_HEADERS"; then
   18522 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18523 BEGIN {
   18524 _ACEOF
   18525 
   18526 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18527 # here-document in config.status, that substitutes the proper values into
   18528 # config.h.in to produce config.h.
   18529 
   18530 # Create a delimiter string that does not exist in confdefs.h, to ease
   18531 # handling of long lines.
   18532 ac_delim='%!_!# '
   18533 for ac_last_try in false false :; do
   18534   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18535   if test -z "$ac_tt"; then
   18536     break
   18537   elif $ac_last_try; then
   18538     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18539   else
   18540     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18541   fi
   18542 done
   18543 
   18544 # For the awk script, D is an array of macro values keyed by name,
   18545 # likewise P contains macro parameters if any.  Preserve backslash
   18546 # newline sequences.
   18547 
   18548 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18549 sed -n '
   18550 s/.\{148\}/&'"$ac_delim"'/g
   18551 t rset
   18552 :rset
   18553 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18554 t def
   18555 d
   18556 :def
   18557 s/\\$//
   18558 t bsnl
   18559 s/["\\]/\\&/g
   18560 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18561 D["\1"]=" \3"/p
   18562 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18563 d
   18564 :bsnl
   18565 s/["\\]/\\&/g
   18566 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18567 D["\1"]=" \3\\\\\\n"\\/p
   18568 t cont
   18569 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18570 t cont
   18571 d
   18572 :cont
   18573 n
   18574 s/.\{148\}/&'"$ac_delim"'/g
   18575 t clear
   18576 :clear
   18577 s/\\$//
   18578 t bsnlc
   18579 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18580 d
   18581 :bsnlc
   18582 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18583 b cont
   18584 ' <confdefs.h | sed '
   18585 s/'"$ac_delim"'/"\\\
   18586 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18587 
   18588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18589   for (key in D) D_is_set[key] = 1
   18590   FS = ""
   18591 }
   18592 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18593   line = \$ 0
   18594   split(line, arg, " ")
   18595   if (arg[1] == "#") {
   18596     defundef = arg[2]
   18597     mac1 = arg[3]
   18598   } else {
   18599     defundef = substr(arg[1], 2)
   18600     mac1 = arg[2]
   18601   }
   18602   split(mac1, mac2, "(") #)
   18603   macro = mac2[1]
   18604   prefix = substr(line, 1, index(line, defundef) - 1)
   18605   if (D_is_set[macro]) {
   18606     # Preserve the white space surrounding the "#".
   18607     print prefix "define", macro P[macro] D[macro]
   18608     next
   18609   } else {
   18610     # Replace #undef with comments.  This is necessary, for example,
   18611     # in the case of _POSIX_SOURCE, which is predefined and required
   18612     # on some systems where configure will not decide to define it.
   18613     if (defundef == "undef") {
   18614       print "/*", prefix defundef, macro, "*/"
   18615       next
   18616     }
   18617   }
   18618 }
   18619 { print }
   18620 _ACAWK
   18621 _ACEOF
   18622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18623   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18624 fi # test -n "$CONFIG_HEADERS"
   18625 
   18626 
   18627 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18628 shift
   18629 for ac_tag
   18630 do
   18631   case $ac_tag in
   18632   :[FHLC]) ac_mode=$ac_tag; continue;;
   18633   esac
   18634   case $ac_mode$ac_tag in
   18635   :[FHL]*:*);;
   18636   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18637   :[FH]-) ac_tag=-:-;;
   18638   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18639   esac
   18640   ac_save_IFS=$IFS
   18641   IFS=:
   18642   set x $ac_tag
   18643   IFS=$ac_save_IFS
   18644   shift
   18645   ac_file=$1
   18646   shift
   18647 
   18648   case $ac_mode in
   18649   :L) ac_source=$1;;
   18650   :[FH])
   18651     ac_file_inputs=
   18652     for ac_f
   18653     do
   18654       case $ac_f in
   18655       -) ac_f="$ac_tmp/stdin";;
   18656       *) # Look for the file first in the build tree, then in the source tree
   18657 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18658 	 # because $ac_f cannot contain `:'.
   18659 	 test -f "$ac_f" ||
   18660 	   case $ac_f in
   18661 	   [\\/$]*) false;;
   18662 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18663 	   esac ||
   18664 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18665       esac
   18666       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18667       as_fn_append ac_file_inputs " '$ac_f'"
   18668     done
   18669 
   18670     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18671     # use $as_me), people would be surprised to read:
   18672     #    /* config.h.  Generated by config.status.  */
   18673     configure_input='Generated from '`
   18674 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18675 	`' by configure.'
   18676     if test x"$ac_file" != x-; then
   18677       configure_input="$ac_file.  $configure_input"
   18678       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18679 $as_echo "$as_me: creating $ac_file" >&6;}
   18680     fi
   18681     # Neutralize special characters interpreted by sed in replacement strings.
   18682     case $configure_input in #(
   18683     *\&* | *\|* | *\\* )
   18684        ac_sed_conf_input=`$as_echo "$configure_input" |
   18685        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18686     *) ac_sed_conf_input=$configure_input;;
   18687     esac
   18688 
   18689     case $ac_tag in
   18690     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18691       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18692     esac
   18693     ;;
   18694   esac
   18695 
   18696   ac_dir=`$as_dirname -- "$ac_file" ||
   18697 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18698 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18699 	 X"$ac_file" : 'X\(//\)$' \| \
   18700 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18701 $as_echo X"$ac_file" |
   18702     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18703 	    s//\1/
   18704 	    q
   18705 	  }
   18706 	  /^X\(\/\/\)[^/].*/{
   18707 	    s//\1/
   18708 	    q
   18709 	  }
   18710 	  /^X\(\/\/\)$/{
   18711 	    s//\1/
   18712 	    q
   18713 	  }
   18714 	  /^X\(\/\).*/{
   18715 	    s//\1/
   18716 	    q
   18717 	  }
   18718 	  s/.*/./; q'`
   18719   as_dir="$ac_dir"; as_fn_mkdir_p
   18720   ac_builddir=.
   18721 
   18722 case "$ac_dir" in
   18723 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18724 *)
   18725   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18726   # A ".." for each directory in $ac_dir_suffix.
   18727   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18728   case $ac_top_builddir_sub in
   18729   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18730   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18731   esac ;;
   18732 esac
   18733 ac_abs_top_builddir=$ac_pwd
   18734 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18735 # for backward compatibility:
   18736 ac_top_builddir=$ac_top_build_prefix
   18737 
   18738 case $srcdir in
   18739   .)  # We are building in place.
   18740     ac_srcdir=.
   18741     ac_top_srcdir=$ac_top_builddir_sub
   18742     ac_abs_top_srcdir=$ac_pwd ;;
   18743   [\\/]* | ?:[\\/]* )  # Absolute name.
   18744     ac_srcdir=$srcdir$ac_dir_suffix;
   18745     ac_top_srcdir=$srcdir
   18746     ac_abs_top_srcdir=$srcdir ;;
   18747   *) # Relative name.
   18748     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18749     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18750     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18751 esac
   18752 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18753 
   18754 
   18755   case $ac_mode in
   18756   :F)
   18757   #
   18758   # CONFIG_FILE
   18759   #
   18760 
   18761   case $INSTALL in
   18762   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   18763   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   18764   esac
   18765   ac_MKDIR_P=$MKDIR_P
   18766   case $MKDIR_P in
   18767   [\\/$]* | ?:[\\/]* ) ;;
   18768   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   18769   esac
   18770 _ACEOF
   18771 
   18772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18773 # If the template does not know about datarootdir, expand it.
   18774 # FIXME: This hack should be removed a few years after 2.60.
   18775 ac_datarootdir_hack=; ac_datarootdir_seen=
   18776 ac_sed_dataroot='
   18777 /datarootdir/ {
   18778   p
   18779   q
   18780 }
   18781 /@datadir@/p
   18782 /@docdir@/p
   18783 /@infodir@/p
   18784 /@localedir@/p
   18785 /@mandir@/p'
   18786 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   18787 *datarootdir*) ac_datarootdir_seen=yes;;
   18788 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   18789   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   18790 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   18791 _ACEOF
   18792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18793   ac_datarootdir_hack='
   18794   s&@datadir@&$datadir&g
   18795   s&@docdir@&$docdir&g
   18796   s&@infodir@&$infodir&g
   18797   s&@localedir@&$localedir&g
   18798   s&@mandir@&$mandir&g
   18799   s&\\\${datarootdir}&$datarootdir&g' ;;
   18800 esac
   18801 _ACEOF
   18802 
   18803 # Neutralize VPATH when `$srcdir' = `.'.
   18804 # Shell code in configure.ac might set extrasub.
   18805 # FIXME: do we really want to maintain this feature?
   18806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18807 ac_sed_extra="$ac_vpsub
   18808 $extrasub
   18809 _ACEOF
   18810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18811 :t
   18812 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   18813 s|@configure_input@|$ac_sed_conf_input|;t t
   18814 s&@top_builddir@&$ac_top_builddir_sub&;t t
   18815 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   18816 s&@srcdir@&$ac_srcdir&;t t
   18817 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   18818 s&@top_srcdir@&$ac_top_srcdir&;t t
   18819 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   18820 s&@builddir@&$ac_builddir&;t t
   18821 s&@abs_builddir@&$ac_abs_builddir&;t t
   18822 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   18823 s&@INSTALL@&$ac_INSTALL&;t t
   18824 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   18825 $ac_datarootdir_hack
   18826 "
   18827 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   18828   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18829 
   18830 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   18831   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   18832   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   18833       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   18834   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18835 which seems to be undefined.  Please make sure it is defined" >&5
   18836 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18837 which seems to be undefined.  Please make sure it is defined" >&2;}
   18838 
   18839   rm -f "$ac_tmp/stdin"
   18840   case $ac_file in
   18841   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   18842   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   18843   esac \
   18844   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18845  ;;
   18846   :H)
   18847   #
   18848   # CONFIG_HEADER
   18849   #
   18850   if test x"$ac_file" != x-; then
   18851     {
   18852       $as_echo "/* $configure_input  */" \
   18853       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   18854     } >"$ac_tmp/config.h" \
   18855       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18856     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   18857       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   18858 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   18859     else
   18860       rm -f "$ac_file"
   18861       mv "$ac_tmp/config.h" "$ac_file" \
   18862 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18863     fi
   18864   else
   18865     $as_echo "/* $configure_input  */" \
   18866       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   18867       || as_fn_error $? "could not create -" "$LINENO" 5
   18868   fi
   18869 # Compute "$ac_file"'s index in $config_headers.
   18870 _am_arg="$ac_file"
   18871 _am_stamp_count=1
   18872 for _am_header in $config_headers :; do
   18873   case $_am_header in
   18874     $_am_arg | $_am_arg:* )
   18875       break ;;
   18876     * )
   18877       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   18878   esac
   18879 done
   18880 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   18881 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18882 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   18883 	 X"$_am_arg" : 'X\(//\)$' \| \
   18884 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   18885 $as_echo X"$_am_arg" |
   18886     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18887 	    s//\1/
   18888 	    q
   18889 	  }
   18890 	  /^X\(\/\/\)[^/].*/{
   18891 	    s//\1/
   18892 	    q
   18893 	  }
   18894 	  /^X\(\/\/\)$/{
   18895 	    s//\1/
   18896 	    q
   18897 	  }
   18898 	  /^X\(\/\).*/{
   18899 	    s//\1/
   18900 	    q
   18901 	  }
   18902 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   18903  ;;
   18904 
   18905   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   18906 $as_echo "$as_me: executing $ac_file commands" >&6;}
   18907  ;;
   18908   esac
   18909 
   18910 
   18911   case $ac_file$ac_mode in
   18912     "default-1":C)
   18913 # Only add multilib support code if we just rebuilt the top-level
   18914 # Makefile.
   18915 case " $CONFIG_FILES " in
   18916  *" Makefile "*)
   18917    ac_file=Makefile . ${multi_basedir}/config-ml.in
   18918    ;;
   18919 esac ;;
   18920     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   18921   # Older Autoconf quotes --file arguments for eval, but not when files
   18922   # are listed without --file.  Let's play safe and only enable the eval
   18923   # if we detect the quoting.
   18924   case $CONFIG_FILES in
   18925   *\'*) eval set x "$CONFIG_FILES" ;;
   18926   *)   set x $CONFIG_FILES ;;
   18927   esac
   18928   shift
   18929   for mf
   18930   do
   18931     # Strip MF so we end up with the name of the file.
   18932     mf=`echo "$mf" | sed -e 's/:.*$//'`
   18933     # Check whether this is an Automake generated Makefile or not.
   18934     # We used to match only the files named 'Makefile.in', but
   18935     # some people rename them; so instead we look at the file content.
   18936     # Grep'ing the first line is not enough: some people post-process
   18937     # each Makefile.in and add a new line on top of each file to say so.
   18938     # Grep'ing the whole file is not good either: AIX grep has a line
   18939     # limit of 2048, but all sed's we know have understand at least 4000.
   18940     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18941       dirpart=`$as_dirname -- "$mf" ||
   18942 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18943 	 X"$mf" : 'X\(//\)[^/]' \| \
   18944 	 X"$mf" : 'X\(//\)$' \| \
   18945 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18946 $as_echo X"$mf" |
   18947     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18948 	    s//\1/
   18949 	    q
   18950 	  }
   18951 	  /^X\(\/\/\)[^/].*/{
   18952 	    s//\1/
   18953 	    q
   18954 	  }
   18955 	  /^X\(\/\/\)$/{
   18956 	    s//\1/
   18957 	    q
   18958 	  }
   18959 	  /^X\(\/\).*/{
   18960 	    s//\1/
   18961 	    q
   18962 	  }
   18963 	  s/.*/./; q'`
   18964     else
   18965       continue
   18966     fi
   18967     # Extract the definition of DEPDIR, am__include, and am__quote
   18968     # from the Makefile without running 'make'.
   18969     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   18970     test -z "$DEPDIR" && continue
   18971     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   18972     test -z "$am__include" && continue
   18973     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   18974     # Find all dependency output files, they are included files with
   18975     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   18976     # simplest approach to changing $(DEPDIR) to its actual value in the
   18977     # expansion.
   18978     for file in `sed -n "
   18979       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   18980 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   18981       # Make sure the directory exists.
   18982       test -f "$dirpart/$file" && continue
   18983       fdir=`$as_dirname -- "$file" ||
   18984 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18985 	 X"$file" : 'X\(//\)[^/]' \| \
   18986 	 X"$file" : 'X\(//\)$' \| \
   18987 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   18988 $as_echo X"$file" |
   18989     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18990 	    s//\1/
   18991 	    q
   18992 	  }
   18993 	  /^X\(\/\/\)[^/].*/{
   18994 	    s//\1/
   18995 	    q
   18996 	  }
   18997 	  /^X\(\/\/\)$/{
   18998 	    s//\1/
   18999 	    q
   19000 	  }
   19001 	  /^X\(\/\).*/{
   19002 	    s//\1/
   19003 	    q
   19004 	  }
   19005 	  s/.*/./; q'`
   19006       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19007       # echo "creating $dirpart/$file"
   19008       echo '# dummy' > "$dirpart/$file"
   19009     done
   19010   done
   19011 }
   19012  ;;
   19013     "libtool":C)
   19014 
   19015     # See if we are running on zsh, and set the options which allow our
   19016     # commands through without removal of \ escapes.
   19017     if test -n "${ZSH_VERSION+set}" ; then
   19018       setopt NO_GLOB_SUBST
   19019     fi
   19020 
   19021     cfgfile="${ofile}T"
   19022     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19023     $RM "$cfgfile"
   19024 
   19025     cat <<_LT_EOF >> "$cfgfile"
   19026 #! $SHELL
   19027 
   19028 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19029 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19030 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19031 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19032 #
   19033 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19034 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   19035 #   Written by Gordon Matzigkeit, 1996
   19036 #
   19037 #   This file is part of GNU Libtool.
   19038 #
   19039 # GNU Libtool is free software; you can redistribute it and/or
   19040 # modify it under the terms of the GNU General Public License as
   19041 # published by the Free Software Foundation; either version 2 of
   19042 # the License, or (at your option) any later version.
   19043 #
   19044 # As a special exception to the GNU General Public License,
   19045 # if you distribute this file as part of a program or library that
   19046 # is built using GNU Libtool, you may include this file under the
   19047 # same distribution terms that you use for the rest of that program.
   19048 #
   19049 # GNU Libtool is distributed in the hope that it will be useful,
   19050 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19051 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19052 # GNU General Public License for more details.
   19053 #
   19054 # You should have received a copy of the GNU General Public License
   19055 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19056 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19057 # obtained by writing to the Free Software Foundation, Inc.,
   19058 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19059 
   19060 
   19061 # The names of the tagged configurations supported by this script.
   19062 available_tags="FC "
   19063 
   19064 # ### BEGIN LIBTOOL CONFIG
   19065 
   19066 # Which release of libtool.m4 was used?
   19067 macro_version=$macro_version
   19068 macro_revision=$macro_revision
   19069 
   19070 # Whether or not to build shared libraries.
   19071 build_libtool_libs=$enable_shared
   19072 
   19073 # Whether or not to build static libraries.
   19074 build_old_libs=$enable_static
   19075 
   19076 # What type of objects to build.
   19077 pic_mode=$pic_mode
   19078 
   19079 # Whether or not to optimize for fast installation.
   19080 fast_install=$enable_fast_install
   19081 
   19082 # Shell to use when invoking shell scripts.
   19083 SHELL=$lt_SHELL
   19084 
   19085 # An echo program that protects backslashes.
   19086 ECHO=$lt_ECHO
   19087 
   19088 # The host system.
   19089 host_alias=$host_alias
   19090 host=$host
   19091 host_os=$host_os
   19092 
   19093 # The build system.
   19094 build_alias=$build_alias
   19095 build=$build
   19096 build_os=$build_os
   19097 
   19098 # A sed program that does not truncate output.
   19099 SED=$lt_SED
   19100 
   19101 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19102 Xsed="\$SED -e 1s/^X//"
   19103 
   19104 # A grep program that handles long lines.
   19105 GREP=$lt_GREP
   19106 
   19107 # An ERE matcher.
   19108 EGREP=$lt_EGREP
   19109 
   19110 # A literal string matcher.
   19111 FGREP=$lt_FGREP
   19112 
   19113 # A BSD- or MS-compatible name lister.
   19114 NM=$lt_NM
   19115 
   19116 # Whether we need soft or hard links.
   19117 LN_S=$lt_LN_S
   19118 
   19119 # What is the maximum length of a command?
   19120 max_cmd_len=$max_cmd_len
   19121 
   19122 # Object file suffix (normally "o").
   19123 objext=$ac_objext
   19124 
   19125 # Executable file suffix (normally "").
   19126 exeext=$exeext
   19127 
   19128 # whether the shell understands "unset".
   19129 lt_unset=$lt_unset
   19130 
   19131 # turn spaces into newlines.
   19132 SP2NL=$lt_lt_SP2NL
   19133 
   19134 # turn newlines into spaces.
   19135 NL2SP=$lt_lt_NL2SP
   19136 
   19137 # An object symbol dumper.
   19138 OBJDUMP=$lt_OBJDUMP
   19139 
   19140 # Method to check whether dependent libraries are shared objects.
   19141 deplibs_check_method=$lt_deplibs_check_method
   19142 
   19143 # Command to use when deplibs_check_method == "file_magic".
   19144 file_magic_cmd=$lt_file_magic_cmd
   19145 
   19146 # The archiver.
   19147 AR=$lt_AR
   19148 AR_FLAGS=$lt_AR_FLAGS
   19149 
   19150 # A symbol stripping program.
   19151 STRIP=$lt_STRIP
   19152 
   19153 # Commands used to install an old-style archive.
   19154 RANLIB=$lt_RANLIB
   19155 old_postinstall_cmds=$lt_old_postinstall_cmds
   19156 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19157 
   19158 # Whether to use a lock for old archive extraction.
   19159 lock_old_archive_extraction=$lock_old_archive_extraction
   19160 
   19161 # A C compiler.
   19162 LTCC=$lt_CC
   19163 
   19164 # LTCC compiler flags.
   19165 LTCFLAGS=$lt_CFLAGS
   19166 
   19167 # Take the output of nm and produce a listing of raw symbols and C names.
   19168 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19169 
   19170 # Transform the output of nm in a proper C declaration.
   19171 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19172 
   19173 # Transform the output of nm in a C name address pair.
   19174 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19175 
   19176 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19177 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19178 
   19179 # The name of the directory that contains temporary libtool files.
   19180 objdir=$objdir
   19181 
   19182 # Used to examine libraries when file_magic_cmd begins with "file".
   19183 MAGIC_CMD=$MAGIC_CMD
   19184 
   19185 # Must we lock files when doing compilation?
   19186 need_locks=$lt_need_locks
   19187 
   19188 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19189 DSYMUTIL=$lt_DSYMUTIL
   19190 
   19191 # Tool to change global to local symbols on Mac OS X.
   19192 NMEDIT=$lt_NMEDIT
   19193 
   19194 # Tool to manipulate fat objects and archives on Mac OS X.
   19195 LIPO=$lt_LIPO
   19196 
   19197 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19198 OTOOL=$lt_OTOOL
   19199 
   19200 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19201 OTOOL64=$lt_OTOOL64
   19202 
   19203 # Old archive suffix (normally "a").
   19204 libext=$libext
   19205 
   19206 # Shared library suffix (normally ".so").
   19207 shrext_cmds=$lt_shrext_cmds
   19208 
   19209 # The commands to extract the exported symbol list from a shared archive.
   19210 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19211 
   19212 # Variables whose values should be saved in libtool wrapper scripts and
   19213 # restored at link time.
   19214 variables_saved_for_relink=$lt_variables_saved_for_relink
   19215 
   19216 # Do we need the "lib" prefix for modules?
   19217 need_lib_prefix=$need_lib_prefix
   19218 
   19219 # Do we need a version for libraries?
   19220 need_version=$need_version
   19221 
   19222 # Library versioning type.
   19223 version_type=$version_type
   19224 
   19225 # Shared library runtime path variable.
   19226 runpath_var=$runpath_var
   19227 
   19228 # Shared library path variable.
   19229 shlibpath_var=$shlibpath_var
   19230 
   19231 # Is shlibpath searched before the hard-coded library search path?
   19232 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19233 
   19234 # Format of library name prefix.
   19235 libname_spec=$lt_libname_spec
   19236 
   19237 # List of archive names.  First name is the real one, the rest are links.
   19238 # The last name is the one that the linker finds with -lNAME
   19239 library_names_spec=$lt_library_names_spec
   19240 
   19241 # The coded name of the library, if different from the real name.
   19242 soname_spec=$lt_soname_spec
   19243 
   19244 # Permission mode override for installation of shared libraries.
   19245 install_override_mode=$lt_install_override_mode
   19246 
   19247 # Command to use after installation of a shared archive.
   19248 postinstall_cmds=$lt_postinstall_cmds
   19249 
   19250 # Command to use after uninstallation of a shared archive.
   19251 postuninstall_cmds=$lt_postuninstall_cmds
   19252 
   19253 # Commands used to finish a libtool library installation in a directory.
   19254 finish_cmds=$lt_finish_cmds
   19255 
   19256 # As "finish_cmds", except a single script fragment to be evaled but
   19257 # not shown.
   19258 finish_eval=$lt_finish_eval
   19259 
   19260 # Whether we should hardcode library paths into libraries.
   19261 hardcode_into_libs=$hardcode_into_libs
   19262 
   19263 # Compile-time system search path for libraries.
   19264 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19265 
   19266 # Run-time system search path for libraries.
   19267 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19268 
   19269 # Whether dlopen is supported.
   19270 dlopen_support=$enable_dlopen
   19271 
   19272 # Whether dlopen of programs is supported.
   19273 dlopen_self=$enable_dlopen_self
   19274 
   19275 # Whether dlopen of statically linked programs is supported.
   19276 dlopen_self_static=$enable_dlopen_self_static
   19277 
   19278 # Commands to strip libraries.
   19279 old_striplib=$lt_old_striplib
   19280 striplib=$lt_striplib
   19281 
   19282 
   19283 # The linker used to build libraries.
   19284 LD=$lt_LD
   19285 
   19286 # How to create reloadable object files.
   19287 reload_flag=$lt_reload_flag
   19288 reload_cmds=$lt_reload_cmds
   19289 
   19290 # Commands used to build an old-style archive.
   19291 old_archive_cmds=$lt_old_archive_cmds
   19292 
   19293 # A language specific compiler.
   19294 CC=$lt_compiler
   19295 
   19296 # Is the compiler the GNU compiler?
   19297 with_gcc=$GCC
   19298 
   19299 # Compiler flag to turn off builtin functions.
   19300 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19301 
   19302 # How to pass a linker flag through the compiler.
   19303 wl=$lt_lt_prog_compiler_wl
   19304 
   19305 # Additional compiler flags for building library objects.
   19306 pic_flag=$lt_lt_prog_compiler_pic
   19307 
   19308 # Compiler flag to prevent dynamic linking.
   19309 link_static_flag=$lt_lt_prog_compiler_static
   19310 
   19311 # Does compiler simultaneously support -c and -o options?
   19312 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19313 
   19314 # Whether or not to add -lc for building shared libraries.
   19315 build_libtool_need_lc=$archive_cmds_need_lc
   19316 
   19317 # Whether or not to disallow shared libs when runtime libs are static.
   19318 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19319 
   19320 # Compiler flag to allow reflexive dlopens.
   19321 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19322 
   19323 # Compiler flag to generate shared objects directly from archives.
   19324 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19325 
   19326 # Whether the compiler copes with passing no objects directly.
   19327 compiler_needs_object=$lt_compiler_needs_object
   19328 
   19329 # Create an old-style archive from a shared archive.
   19330 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19331 
   19332 # Create a temporary old-style archive to link instead of a shared archive.
   19333 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19334 
   19335 # Commands used to build a shared archive.
   19336 archive_cmds=$lt_archive_cmds
   19337 archive_expsym_cmds=$lt_archive_expsym_cmds
   19338 
   19339 # Commands used to build a loadable module if different from building
   19340 # a shared archive.
   19341 module_cmds=$lt_module_cmds
   19342 module_expsym_cmds=$lt_module_expsym_cmds
   19343 
   19344 # Whether we are building with GNU ld or not.
   19345 with_gnu_ld=$lt_with_gnu_ld
   19346 
   19347 # Flag that allows shared libraries with undefined symbols to be built.
   19348 allow_undefined_flag=$lt_allow_undefined_flag
   19349 
   19350 # Flag that enforces no undefined symbols.
   19351 no_undefined_flag=$lt_no_undefined_flag
   19352 
   19353 # Flag to hardcode \$libdir into a binary during linking.
   19354 # This must work even if \$libdir does not exist
   19355 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19356 
   19357 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19358 # during linking.  This must work even if \$libdir does not exist.
   19359 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19360 
   19361 # Whether we need a single "-rpath" flag with a separated argument.
   19362 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19363 
   19364 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19365 # DIR into the resulting binary.
   19366 hardcode_direct=$hardcode_direct
   19367 
   19368 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19369 # DIR into the resulting binary and the resulting library dependency is
   19370 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19371 # library is relocated.
   19372 hardcode_direct_absolute=$hardcode_direct_absolute
   19373 
   19374 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19375 # into the resulting binary.
   19376 hardcode_minus_L=$hardcode_minus_L
   19377 
   19378 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19379 # into the resulting binary.
   19380 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19381 
   19382 # Set to "yes" if building a shared library automatically hardcodes DIR
   19383 # into the library and all subsequent libraries and executables linked
   19384 # against it.
   19385 hardcode_automatic=$hardcode_automatic
   19386 
   19387 # Set to yes if linker adds runtime paths of dependent libraries
   19388 # to runtime path list.
   19389 inherit_rpath=$inherit_rpath
   19390 
   19391 # Whether libtool must link a program against all its dependency libraries.
   19392 link_all_deplibs=$link_all_deplibs
   19393 
   19394 # Fix the shell variable \$srcfile for the compiler.
   19395 fix_srcfile_path=$lt_fix_srcfile_path
   19396 
   19397 # Set to "yes" if exported symbols are required.
   19398 always_export_symbols=$always_export_symbols
   19399 
   19400 # The commands to list exported symbols.
   19401 export_symbols_cmds=$lt_export_symbols_cmds
   19402 
   19403 # Symbols that should not be listed in the preloaded symbols.
   19404 exclude_expsyms=$lt_exclude_expsyms
   19405 
   19406 # Symbols that must always be exported.
   19407 include_expsyms=$lt_include_expsyms
   19408 
   19409 # Commands necessary for linking programs (against libraries) with templates.
   19410 prelink_cmds=$lt_prelink_cmds
   19411 
   19412 # Specify filename containing input files.
   19413 file_list_spec=$lt_file_list_spec
   19414 
   19415 # How to hardcode a shared library path into an executable.
   19416 hardcode_action=$hardcode_action
   19417 
   19418 # The directories searched by this compiler when creating a shared library.
   19419 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   19420 
   19421 # Dependencies to place before and after the objects being linked to
   19422 # create a shared library.
   19423 predep_objects=$lt_predep_objects
   19424 postdep_objects=$lt_postdep_objects
   19425 predeps=$lt_predeps
   19426 postdeps=$lt_postdeps
   19427 
   19428 # The library search path used internally by the compiler when linking
   19429 # a shared library.
   19430 compiler_lib_search_path=$lt_compiler_lib_search_path
   19431 
   19432 # ### END LIBTOOL CONFIG
   19433 
   19434 _LT_EOF
   19435 
   19436   case $host_os in
   19437   aix3*)
   19438     cat <<\_LT_EOF >> "$cfgfile"
   19439 # AIX sometimes has problems with the GCC collect2 program.  For some
   19440 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19441 # vanish in a puff of smoke.
   19442 if test "X${COLLECT_NAMES+set}" != Xset; then
   19443   COLLECT_NAMES=
   19444   export COLLECT_NAMES
   19445 fi
   19446 _LT_EOF
   19447     ;;
   19448   esac
   19449 
   19450 
   19451 ltmain="$ac_aux_dir/ltmain.sh"
   19452 
   19453 
   19454   # We use sed instead of cat because bash on DJGPP gets confused if
   19455   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19456   # text mode, it properly converts lines to CR/LF.  This bash problem
   19457   # is reportedly fixed, but why not run on old versions too?
   19458   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19459     || (rm -f "$cfgfile"; exit 1)
   19460 
   19461   case $xsi_shell in
   19462   yes)
   19463     cat << \_LT_EOF >> "$cfgfile"
   19464 
   19465 # func_dirname file append nondir_replacement
   19466 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19467 # otherwise set result to NONDIR_REPLACEMENT.
   19468 func_dirname ()
   19469 {
   19470   case ${1} in
   19471     */*) func_dirname_result="${1%/*}${2}" ;;
   19472     *  ) func_dirname_result="${3}" ;;
   19473   esac
   19474 }
   19475 
   19476 # func_basename file
   19477 func_basename ()
   19478 {
   19479   func_basename_result="${1##*/}"
   19480 }
   19481 
   19482 # func_dirname_and_basename file append nondir_replacement
   19483 # perform func_basename and func_dirname in a single function
   19484 # call:
   19485 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19486 #             add APPEND to the result, otherwise set result
   19487 #             to NONDIR_REPLACEMENT.
   19488 #             value returned in "$func_dirname_result"
   19489 #   basename: Compute filename of FILE.
   19490 #             value retuned in "$func_basename_result"
   19491 # Implementation must be kept synchronized with func_dirname
   19492 # and func_basename. For efficiency, we do not delegate to
   19493 # those functions but instead duplicate the functionality here.
   19494 func_dirname_and_basename ()
   19495 {
   19496   case ${1} in
   19497     */*) func_dirname_result="${1%/*}${2}" ;;
   19498     *  ) func_dirname_result="${3}" ;;
   19499   esac
   19500   func_basename_result="${1##*/}"
   19501 }
   19502 
   19503 # func_stripname prefix suffix name
   19504 # strip PREFIX and SUFFIX off of NAME.
   19505 # PREFIX and SUFFIX must not contain globbing or regex special
   19506 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19507 # dot (in which case that matches only a dot).
   19508 func_stripname ()
   19509 {
   19510   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19511   # positional parameters, so assign one to ordinary parameter first.
   19512   func_stripname_result=${3}
   19513   func_stripname_result=${func_stripname_result#"${1}"}
   19514   func_stripname_result=${func_stripname_result%"${2}"}
   19515 }
   19516 
   19517 # func_opt_split
   19518 func_opt_split ()
   19519 {
   19520   func_opt_split_opt=${1%%=*}
   19521   func_opt_split_arg=${1#*=}
   19522 }
   19523 
   19524 # func_lo2o object
   19525 func_lo2o ()
   19526 {
   19527   case ${1} in
   19528     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   19529     *)    func_lo2o_result=${1} ;;
   19530   esac
   19531 }
   19532 
   19533 # func_xform libobj-or-source
   19534 func_xform ()
   19535 {
   19536   func_xform_result=${1%.*}.lo
   19537 }
   19538 
   19539 # func_arith arithmetic-term...
   19540 func_arith ()
   19541 {
   19542   func_arith_result=$(( $* ))
   19543 }
   19544 
   19545 # func_len string
   19546 # STRING may not start with a hyphen.
   19547 func_len ()
   19548 {
   19549   func_len_result=${#1}
   19550 }
   19551 
   19552 _LT_EOF
   19553     ;;
   19554   *) # Bourne compatible functions.
   19555     cat << \_LT_EOF >> "$cfgfile"
   19556 
   19557 # func_dirname file append nondir_replacement
   19558 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19559 # otherwise set result to NONDIR_REPLACEMENT.
   19560 func_dirname ()
   19561 {
   19562   # Extract subdirectory from the argument.
   19563   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   19564   if test "X$func_dirname_result" = "X${1}"; then
   19565     func_dirname_result="${3}"
   19566   else
   19567     func_dirname_result="$func_dirname_result${2}"
   19568   fi
   19569 }
   19570 
   19571 # func_basename file
   19572 func_basename ()
   19573 {
   19574   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   19575 }
   19576 
   19577 
   19578 # func_stripname prefix suffix name
   19579 # strip PREFIX and SUFFIX off of NAME.
   19580 # PREFIX and SUFFIX must not contain globbing or regex special
   19581 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19582 # dot (in which case that matches only a dot).
   19583 # func_strip_suffix prefix name
   19584 func_stripname ()
   19585 {
   19586   case ${2} in
   19587     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   19588     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   19589   esac
   19590 }
   19591 
   19592 # sed scripts:
   19593 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   19594 my_sed_long_arg='1s/^-[^=]*=//'
   19595 
   19596 # func_opt_split
   19597 func_opt_split ()
   19598 {
   19599   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   19600   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   19601 }
   19602 
   19603 # func_lo2o object
   19604 func_lo2o ()
   19605 {
   19606   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   19607 }
   19608 
   19609 # func_xform libobj-or-source
   19610 func_xform ()
   19611 {
   19612   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   19613 }
   19614 
   19615 # func_arith arithmetic-term...
   19616 func_arith ()
   19617 {
   19618   func_arith_result=`expr "$@"`
   19619 }
   19620 
   19621 # func_len string
   19622 # STRING may not start with a hyphen.
   19623 func_len ()
   19624 {
   19625   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   19626 }
   19627 
   19628 _LT_EOF
   19629 esac
   19630 
   19631 case $lt_shell_append in
   19632   yes)
   19633     cat << \_LT_EOF >> "$cfgfile"
   19634 
   19635 # func_append var value
   19636 # Append VALUE to the end of shell variable VAR.
   19637 func_append ()
   19638 {
   19639   eval "$1+=\$2"
   19640 }
   19641 _LT_EOF
   19642     ;;
   19643   *)
   19644     cat << \_LT_EOF >> "$cfgfile"
   19645 
   19646 # func_append var value
   19647 # Append VALUE to the end of shell variable VAR.
   19648 func_append ()
   19649 {
   19650   eval "$1=\$$1\$2"
   19651 }
   19652 
   19653 _LT_EOF
   19654     ;;
   19655   esac
   19656 
   19657 
   19658   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   19659     || (rm -f "$cfgfile"; exit 1)
   19660 
   19661   mv -f "$cfgfile" "$ofile" ||
   19662     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19663   chmod +x "$ofile"
   19664 
   19665 
   19666     cat <<_LT_EOF >> "$ofile"
   19667 
   19668 # ### BEGIN LIBTOOL TAG CONFIG: FC
   19669 
   19670 # The linker used to build libraries.
   19671 LD=$lt_LD_FC
   19672 
   19673 # How to create reloadable object files.
   19674 reload_flag=$lt_reload_flag_FC
   19675 reload_cmds=$lt_reload_cmds_FC
   19676 
   19677 # Commands used to build an old-style archive.
   19678 old_archive_cmds=$lt_old_archive_cmds_FC
   19679 
   19680 # A language specific compiler.
   19681 CC=$lt_compiler_FC
   19682 
   19683 # Is the compiler the GNU compiler?
   19684 with_gcc=$GCC_FC
   19685 
   19686 # Compiler flag to turn off builtin functions.
   19687 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
   19688 
   19689 # How to pass a linker flag through the compiler.
   19690 wl=$lt_lt_prog_compiler_wl_FC
   19691 
   19692 # Additional compiler flags for building library objects.
   19693 pic_flag=$lt_lt_prog_compiler_pic_FC
   19694 
   19695 # Compiler flag to prevent dynamic linking.
   19696 link_static_flag=$lt_lt_prog_compiler_static_FC
   19697 
   19698 # Does compiler simultaneously support -c and -o options?
   19699 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
   19700 
   19701 # Whether or not to add -lc for building shared libraries.
   19702 build_libtool_need_lc=$archive_cmds_need_lc_FC
   19703 
   19704 # Whether or not to disallow shared libs when runtime libs are static.
   19705 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
   19706 
   19707 # Compiler flag to allow reflexive dlopens.
   19708 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
   19709 
   19710 # Compiler flag to generate shared objects directly from archives.
   19711 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
   19712 
   19713 # Whether the compiler copes with passing no objects directly.
   19714 compiler_needs_object=$lt_compiler_needs_object_FC
   19715 
   19716 # Create an old-style archive from a shared archive.
   19717 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
   19718 
   19719 # Create a temporary old-style archive to link instead of a shared archive.
   19720 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
   19721 
   19722 # Commands used to build a shared archive.
   19723 archive_cmds=$lt_archive_cmds_FC
   19724 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
   19725 
   19726 # Commands used to build a loadable module if different from building
   19727 # a shared archive.
   19728 module_cmds=$lt_module_cmds_FC
   19729 module_expsym_cmds=$lt_module_expsym_cmds_FC
   19730 
   19731 # Whether we are building with GNU ld or not.
   19732 with_gnu_ld=$lt_with_gnu_ld_FC
   19733 
   19734 # Flag that allows shared libraries with undefined symbols to be built.
   19735 allow_undefined_flag=$lt_allow_undefined_flag_FC
   19736 
   19737 # Flag that enforces no undefined symbols.
   19738 no_undefined_flag=$lt_no_undefined_flag_FC
   19739 
   19740 # Flag to hardcode \$libdir into a binary during linking.
   19741 # This must work even if \$libdir does not exist
   19742 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
   19743 
   19744 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19745 # during linking.  This must work even if \$libdir does not exist.
   19746 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
   19747 
   19748 # Whether we need a single "-rpath" flag with a separated argument.
   19749 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
   19750 
   19751 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19752 # DIR into the resulting binary.
   19753 hardcode_direct=$hardcode_direct_FC
   19754 
   19755 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19756 # DIR into the resulting binary and the resulting library dependency is
   19757 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19758 # library is relocated.
   19759 hardcode_direct_absolute=$hardcode_direct_absolute_FC
   19760 
   19761 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19762 # into the resulting binary.
   19763 hardcode_minus_L=$hardcode_minus_L_FC
   19764 
   19765 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19766 # into the resulting binary.
   19767 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
   19768 
   19769 # Set to "yes" if building a shared library automatically hardcodes DIR
   19770 # into the library and all subsequent libraries and executables linked
   19771 # against it.
   19772 hardcode_automatic=$hardcode_automatic_FC
   19773 
   19774 # Set to yes if linker adds runtime paths of dependent libraries
   19775 # to runtime path list.
   19776 inherit_rpath=$inherit_rpath_FC
   19777 
   19778 # Whether libtool must link a program against all its dependency libraries.
   19779 link_all_deplibs=$link_all_deplibs_FC
   19780 
   19781 # Fix the shell variable \$srcfile for the compiler.
   19782 fix_srcfile_path=$lt_fix_srcfile_path_FC
   19783 
   19784 # Set to "yes" if exported symbols are required.
   19785 always_export_symbols=$always_export_symbols_FC
   19786 
   19787 # The commands to list exported symbols.
   19788 export_symbols_cmds=$lt_export_symbols_cmds_FC
   19789 
   19790 # Symbols that should not be listed in the preloaded symbols.
   19791 exclude_expsyms=$lt_exclude_expsyms_FC
   19792 
   19793 # Symbols that must always be exported.
   19794 include_expsyms=$lt_include_expsyms_FC
   19795 
   19796 # Commands necessary for linking programs (against libraries) with templates.
   19797 prelink_cmds=$lt_prelink_cmds_FC
   19798 
   19799 # Specify filename containing input files.
   19800 file_list_spec=$lt_file_list_spec_FC
   19801 
   19802 # How to hardcode a shared library path into an executable.
   19803 hardcode_action=$hardcode_action_FC
   19804 
   19805 # The directories searched by this compiler when creating a shared library.
   19806 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
   19807 
   19808 # Dependencies to place before and after the objects being linked to
   19809 # create a shared library.
   19810 predep_objects=$lt_predep_objects_FC
   19811 postdep_objects=$lt_postdep_objects_FC
   19812 predeps=$lt_predeps_FC
   19813 postdeps=$lt_postdeps_FC
   19814 
   19815 # The library search path used internally by the compiler when linking
   19816 # a shared library.
   19817 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
   19818 
   19819 # ### END LIBTOOL TAG CONFIG: FC
   19820 _LT_EOF
   19821 
   19822  ;;
   19823 
   19824   esac
   19825 done # for ac_tag
   19826 
   19827 
   19828 as_fn_exit 0
   19829 _ACEOF
   19830 ac_clean_files=$ac_clean_files_save
   19831 
   19832 test $ac_write_fail = 0 ||
   19833   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19834 
   19835 
   19836 # configure is writing to config.log, and then calls config.status.
   19837 # config.status does its own redirection, appending to config.log.
   19838 # Unfortunately, on DOS this fails, as config.log is still kept open
   19839 # by configure, so config.status won't be able to write to it; its
   19840 # output is simply discarded.  So we exec the FD to /dev/null,
   19841 # effectively closing config.log, so it can be properly (re)opened and
   19842 # appended to by config.status.  When coming back to configure, we
   19843 # need to make the FD available again.
   19844 if test "$no_create" != yes; then
   19845   ac_cs_success=:
   19846   ac_config_status_args=
   19847   test "$silent" = yes &&
   19848     ac_config_status_args="$ac_config_status_args --quiet"
   19849   exec 5>/dev/null
   19850   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19851   exec 5>>config.log
   19852   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19853   # would make configure fail if this is the last instruction.
   19854   $ac_cs_success || as_fn_exit 1
   19855 fi
   19856 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   19857   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   19858 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   19859 fi
   19860 
   19861