Home | History | Annotate | Line # | Download | only in gprof
configure revision 1.1.1.1
      1  1.1  skrll #! /bin/sh
      2  1.1  skrll # Guess values for system-dependent variables and create Makefiles.
      3  1.1  skrll # Generated by GNU Autoconf 2.59.
      4  1.1  skrll #
      5  1.1  skrll # Copyright (C) 2003 Free Software Foundation, Inc.
      6  1.1  skrll # This configure script is free software; the Free Software Foundation
      7  1.1  skrll # gives unlimited permission to copy, distribute and modify it.
      8  1.1  skrll ## --------------------- ##
      9  1.1  skrll ## M4sh Initialization.  ##
     10  1.1  skrll ## --------------------- ##
     11  1.1  skrll 
     12  1.1  skrll # Be Bourne compatible
     13  1.1  skrll if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     14  1.1  skrll   emulate sh
     15  1.1  skrll   NULLCMD=:
     16  1.1  skrll   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     17  1.1  skrll   # is contrary to our usage.  Disable this feature.
     18  1.1  skrll   alias -g '${1+"$@"}'='"$@"'
     19  1.1  skrll elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20  1.1  skrll   set -o posix
     21  1.1  skrll fi
     22  1.1  skrll DUALCASE=1; export DUALCASE # for MKS sh
     23  1.1  skrll 
     24  1.1  skrll # Support unset when possible.
     25  1.1  skrll if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26  1.1  skrll   as_unset=unset
     27  1.1  skrll else
     28  1.1  skrll   as_unset=false
     29  1.1  skrll fi
     30  1.1  skrll 
     31  1.1  skrll 
     32  1.1  skrll # Work around bugs in pre-3.0 UWIN ksh.
     33  1.1  skrll $as_unset ENV MAIL MAILPATH
     34  1.1  skrll PS1='$ '
     35  1.1  skrll PS2='> '
     36  1.1  skrll PS4='+ '
     37  1.1  skrll 
     38  1.1  skrll # NLS nuisances.
     39  1.1  skrll for as_var in \
     40  1.1  skrll   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     41  1.1  skrll   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     42  1.1  skrll   LC_TELEPHONE LC_TIME
     43  1.1  skrll do
     44  1.1  skrll   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     45  1.1  skrll     eval $as_var=C; export $as_var
     46  1.1  skrll   else
     47  1.1  skrll     $as_unset $as_var
     48  1.1  skrll   fi
     49  1.1  skrll done
     50  1.1  skrll 
     51  1.1  skrll # Required to use basename.
     52  1.1  skrll if expr a : '\(a\)' >/dev/null 2>&1; then
     53  1.1  skrll   as_expr=expr
     54  1.1  skrll else
     55  1.1  skrll   as_expr=false
     56  1.1  skrll fi
     57  1.1  skrll 
     58  1.1  skrll if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59  1.1  skrll   as_basename=basename
     60  1.1  skrll else
     61  1.1  skrll   as_basename=false
     62  1.1  skrll fi
     63  1.1  skrll 
     64  1.1  skrll 
     65  1.1  skrll # Name of the executable.
     66  1.1  skrll as_me=`$as_basename "$0" ||
     67  1.1  skrll $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68  1.1  skrll 	 X"$0" : 'X\(//\)$' \| \
     69  1.1  skrll 	 X"$0" : 'X\(/\)$' \| \
     70  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
     71  1.1  skrll echo X/"$0" |
     72  1.1  skrll     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     73  1.1  skrll   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     74  1.1  skrll   	  /^X\/\(\/\).*/{ s//\1/; q; }
     75  1.1  skrll   	  s/.*/./; q'`
     76  1.1  skrll 
     77  1.1  skrll 
     78  1.1  skrll # PATH needs CR, and LINENO needs CR and PATH.
     79  1.1  skrll # Avoid depending upon Character Ranges.
     80  1.1  skrll as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     81  1.1  skrll as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     82  1.1  skrll as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     83  1.1  skrll as_cr_digits='0123456789'
     84  1.1  skrll as_cr_alnum=$as_cr_Letters$as_cr_digits
     85  1.1  skrll 
     86  1.1  skrll # The user is always right.
     87  1.1  skrll if test "${PATH_SEPARATOR+set}" != set; then
     88  1.1  skrll   echo "#! /bin/sh" >conf$$.sh
     89  1.1  skrll   echo  "exit 0"   >>conf$$.sh
     90  1.1  skrll   chmod +x conf$$.sh
     91  1.1  skrll   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     92  1.1  skrll     PATH_SEPARATOR=';'
     93  1.1  skrll   else
     94  1.1  skrll     PATH_SEPARATOR=:
     95  1.1  skrll   fi
     96  1.1  skrll   rm -f conf$$.sh
     97  1.1  skrll fi
     98  1.1  skrll 
     99  1.1  skrll 
    100  1.1  skrll   as_lineno_1=$LINENO
    101  1.1  skrll   as_lineno_2=$LINENO
    102  1.1  skrll   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103  1.1  skrll   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104  1.1  skrll   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105  1.1  skrll   # Find who we are.  Look in the path if we contain no path at all
    106  1.1  skrll   # relative or not.
    107  1.1  skrll   case $0 in
    108  1.1  skrll     *[\\/]* ) as_myself=$0 ;;
    109  1.1  skrll     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    110  1.1  skrll for as_dir in $PATH
    111  1.1  skrll do
    112  1.1  skrll   IFS=$as_save_IFS
    113  1.1  skrll   test -z "$as_dir" && as_dir=.
    114  1.1  skrll   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    115  1.1  skrll done
    116  1.1  skrll 
    117  1.1  skrll        ;;
    118  1.1  skrll   esac
    119  1.1  skrll   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120  1.1  skrll   # in which case we are not to be found in the path.
    121  1.1  skrll   if test "x$as_myself" = x; then
    122  1.1  skrll     as_myself=$0
    123  1.1  skrll   fi
    124  1.1  skrll   if test ! -f "$as_myself"; then
    125  1.1  skrll     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126  1.1  skrll    { (exit 1); exit 1; }; }
    127  1.1  skrll   fi
    128  1.1  skrll   case $CONFIG_SHELL in
    129  1.1  skrll   '')
    130  1.1  skrll     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131  1.1  skrll for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    132  1.1  skrll do
    133  1.1  skrll   IFS=$as_save_IFS
    134  1.1  skrll   test -z "$as_dir" && as_dir=.
    135  1.1  skrll   for as_base in sh bash ksh sh5; do
    136  1.1  skrll 	 case $as_dir in
    137  1.1  skrll 	 /*)
    138  1.1  skrll 	   if ("$as_dir/$as_base" -c '
    139  1.1  skrll   as_lineno_1=$LINENO
    140  1.1  skrll   as_lineno_2=$LINENO
    141  1.1  skrll   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142  1.1  skrll   test "x$as_lineno_1" != "x$as_lineno_2" &&
    143  1.1  skrll   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144  1.1  skrll 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145  1.1  skrll 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146  1.1  skrll 	     CONFIG_SHELL=$as_dir/$as_base
    147  1.1  skrll 	     export CONFIG_SHELL
    148  1.1  skrll 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149  1.1  skrll 	   fi;;
    150  1.1  skrll 	 esac
    151  1.1  skrll        done
    152  1.1  skrll done
    153  1.1  skrll ;;
    154  1.1  skrll   esac
    155  1.1  skrll 
    156  1.1  skrll   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157  1.1  skrll   # uniformly replaced by the line number.  The first 'sed' inserts a
    158  1.1  skrll   # line-number line before each line; the second 'sed' does the real
    159  1.1  skrll   # work.  The second script uses 'N' to pair each line-number line
    160  1.1  skrll   # with the numbered line, and appends trailing '-' during
    161  1.1  skrll   # substitution so that $LINENO is not a special case at line end.
    162  1.1  skrll   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163  1.1  skrll   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164  1.1  skrll   sed '=' <$as_myself |
    165  1.1  skrll     sed '
    166  1.1  skrll       N
    167  1.1  skrll       s,$,-,
    168  1.1  skrll       : loop
    169  1.1  skrll       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    170  1.1  skrll       t loop
    171  1.1  skrll       s,-$,,
    172  1.1  skrll       s,^['$as_cr_digits']*\n,,
    173  1.1  skrll     ' >$as_me.lineno &&
    174  1.1  skrll   chmod +x $as_me.lineno ||
    175  1.1  skrll     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176  1.1  skrll    { (exit 1); exit 1; }; }
    177  1.1  skrll 
    178  1.1  skrll   # Don't try to exec as it changes $[0], causing all sort of problems
    179  1.1  skrll   # (the dirname of $[0] is not the place where we might find the
    180  1.1  skrll   # original and so on.  Autoconf is especially sensible to this).
    181  1.1  skrll   . ./$as_me.lineno
    182  1.1  skrll   # Exit status is that of the last command.
    183  1.1  skrll   exit
    184  1.1  skrll }
    185  1.1  skrll 
    186  1.1  skrll 
    187  1.1  skrll case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188  1.1  skrll   *c*,-n*) ECHO_N= ECHO_C='
    189  1.1  skrll ' ECHO_T='	' ;;
    190  1.1  skrll   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191  1.1  skrll   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192  1.1  skrll esac
    193  1.1  skrll 
    194  1.1  skrll if expr a : '\(a\)' >/dev/null 2>&1; then
    195  1.1  skrll   as_expr=expr
    196  1.1  skrll else
    197  1.1  skrll   as_expr=false
    198  1.1  skrll fi
    199  1.1  skrll 
    200  1.1  skrll rm -f conf$$ conf$$.exe conf$$.file
    201  1.1  skrll echo >conf$$.file
    202  1.1  skrll if ln -s conf$$.file conf$$ 2>/dev/null; then
    203  1.1  skrll   # We could just check for DJGPP; but this test a) works b) is more generic
    204  1.1  skrll   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205  1.1  skrll   if test -f conf$$.exe; then
    206  1.1  skrll     # Don't use ln at all; we don't have any links
    207  1.1  skrll     as_ln_s='cp -p'
    208  1.1  skrll   else
    209  1.1  skrll     as_ln_s='ln -s'
    210  1.1  skrll   fi
    211  1.1  skrll elif ln conf$$.file conf$$ 2>/dev/null; then
    212  1.1  skrll   as_ln_s=ln
    213  1.1  skrll else
    214  1.1  skrll   as_ln_s='cp -p'
    215  1.1  skrll fi
    216  1.1  skrll rm -f conf$$ conf$$.exe conf$$.file
    217  1.1  skrll 
    218  1.1  skrll if mkdir -p . 2>/dev/null; then
    219  1.1  skrll   as_mkdir_p=:
    220  1.1  skrll else
    221  1.1  skrll   test -d ./-p && rmdir ./-p
    222  1.1  skrll   as_mkdir_p=false
    223  1.1  skrll fi
    224  1.1  skrll 
    225  1.1  skrll as_executable_p="test -f"
    226  1.1  skrll 
    227  1.1  skrll # Sed expression to map a string onto a valid CPP name.
    228  1.1  skrll as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    229  1.1  skrll 
    230  1.1  skrll # Sed expression to map a string onto a valid variable name.
    231  1.1  skrll as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    232  1.1  skrll 
    233  1.1  skrll 
    234  1.1  skrll # IFS
    235  1.1  skrll # We need space, tab and new line, in precisely that order.
    236  1.1  skrll as_nl='
    237  1.1  skrll '
    238  1.1  skrll IFS=" 	$as_nl"
    239  1.1  skrll 
    240  1.1  skrll # CDPATH.
    241  1.1  skrll $as_unset CDPATH
    242  1.1  skrll 
    243  1.1  skrll 
    244  1.1  skrll 
    245  1.1  skrll # Check that we are running under the correct shell.
    246  1.1  skrll SHELL=${CONFIG_SHELL-/bin/sh}
    247  1.1  skrll 
    248  1.1  skrll case X$lt_ECHO in
    249  1.1  skrll X*--fallback-echo)
    250  1.1  skrll   # Remove one level of quotation (which was required for Make).
    251  1.1  skrll   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    252  1.1  skrll   ;;
    253  1.1  skrll esac
    254  1.1  skrll 
    255  1.1  skrll ECHO=${lt_ECHO-echo}
    256  1.1  skrll if test "X$1" = X--no-reexec; then
    257  1.1  skrll   # Discard the --no-reexec flag, and continue.
    258  1.1  skrll   shift
    259  1.1  skrll elif test "X$1" = X--fallback-echo; then
    260  1.1  skrll   # Avoid inline document here, it may be left over
    261  1.1  skrll   :
    262  1.1  skrll elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    263  1.1  skrll   # Yippee, $ECHO works!
    264  1.1  skrll   :
    265  1.1  skrll else
    266  1.1  skrll   # Restart under the correct shell.
    267  1.1  skrll   exec $SHELL "$0" --no-reexec ${1+"$@"}
    268  1.1  skrll fi
    269  1.1  skrll 
    270  1.1  skrll if test "X$1" = X--fallback-echo; then
    271  1.1  skrll   # used as fallback echo
    272  1.1  skrll   shift
    273  1.1  skrll   cat <<_LT_EOF
    274  1.1  skrll $*
    275  1.1  skrll _LT_EOF
    276  1.1  skrll   exit 0
    277  1.1  skrll fi
    278  1.1  skrll 
    279  1.1  skrll # The HP-UX ksh and POSIX shell print the target directory to stdout
    280  1.1  skrll # if CDPATH is set.
    281  1.1  skrll (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    282  1.1  skrll 
    283  1.1  skrll if test -z "$lt_ECHO"; then
    284  1.1  skrll   if test "X${echo_test_string+set}" != Xset; then
    285  1.1  skrll     # find a string as large as possible, as long as the shell can cope with it
    286  1.1  skrll     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    287  1.1  skrll       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    288  1.1  skrll       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    289  1.1  skrll 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    290  1.1  skrll       then
    291  1.1  skrll         break
    292  1.1  skrll       fi
    293  1.1  skrll     done
    294  1.1  skrll   fi
    295  1.1  skrll 
    296  1.1  skrll   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    297  1.1  skrll      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    298  1.1  skrll      test "X$echo_testing_string" = "X$echo_test_string"; then
    299  1.1  skrll     :
    300  1.1  skrll   else
    301  1.1  skrll     # The Solaris, AIX, and Digital Unix default echo programs unquote
    302  1.1  skrll     # backslashes.  This makes it impossible to quote backslashes using
    303  1.1  skrll     #   echo "$something" | sed 's/\\/\\\\/g'
    304  1.1  skrll     #
    305  1.1  skrll     # So, first we look for a working echo in the user's PATH.
    306  1.1  skrll 
    307  1.1  skrll     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    308  1.1  skrll     for dir in $PATH /usr/ucb; do
    309  1.1  skrll       IFS="$lt_save_ifs"
    310  1.1  skrll       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    311  1.1  skrll          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    312  1.1  skrll          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    313  1.1  skrll          test "X$echo_testing_string" = "X$echo_test_string"; then
    314  1.1  skrll         ECHO="$dir/echo"
    315  1.1  skrll         break
    316  1.1  skrll       fi
    317  1.1  skrll     done
    318  1.1  skrll     IFS="$lt_save_ifs"
    319  1.1  skrll 
    320  1.1  skrll     if test "X$ECHO" = Xecho; then
    321  1.1  skrll       # We didn't find a better echo, so look for alternatives.
    322  1.1  skrll       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    323  1.1  skrll          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    324  1.1  skrll          test "X$echo_testing_string" = "X$echo_test_string"; then
    325  1.1  skrll         # This shell has a builtin print -r that does the trick.
    326  1.1  skrll         ECHO='print -r'
    327  1.1  skrll       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    328  1.1  skrll 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    329  1.1  skrll         # If we have ksh, try running configure again with it.
    330  1.1  skrll         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    331  1.1  skrll         export ORIGINAL_CONFIG_SHELL
    332  1.1  skrll         CONFIG_SHELL=/bin/ksh
    333  1.1  skrll         export CONFIG_SHELL
    334  1.1  skrll         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    335  1.1  skrll       else
    336  1.1  skrll         # Try using printf.
    337  1.1  skrll         ECHO='printf %s\n'
    338  1.1  skrll         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    339  1.1  skrll 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    340  1.1  skrll 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    341  1.1  skrll 	  # Cool, printf works
    342  1.1  skrll 	  :
    343  1.1  skrll         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    344  1.1  skrll 	     test "X$echo_testing_string" = 'X\t' &&
    345  1.1  skrll 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    346  1.1  skrll 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    347  1.1  skrll 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    348  1.1  skrll 	  export CONFIG_SHELL
    349  1.1  skrll 	  SHELL="$CONFIG_SHELL"
    350  1.1  skrll 	  export SHELL
    351  1.1  skrll 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    352  1.1  skrll         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    353  1.1  skrll 	     test "X$echo_testing_string" = 'X\t' &&
    354  1.1  skrll 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    355  1.1  skrll 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    356  1.1  skrll 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    357  1.1  skrll         else
    358  1.1  skrll 	  # maybe with a smaller string...
    359  1.1  skrll 	  prev=:
    360  1.1  skrll 
    361  1.1  skrll 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    362  1.1  skrll 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    363  1.1  skrll 	    then
    364  1.1  skrll 	      break
    365  1.1  skrll 	    fi
    366  1.1  skrll 	    prev="$cmd"
    367  1.1  skrll 	  done
    368  1.1  skrll 
    369  1.1  skrll 	  if test "$prev" != 'sed 50q "$0"'; then
    370  1.1  skrll 	    echo_test_string=`eval $prev`
    371  1.1  skrll 	    export echo_test_string
    372  1.1  skrll 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    373  1.1  skrll 	  else
    374  1.1  skrll 	    # Oops.  We lost completely, so just stick with echo.
    375  1.1  skrll 	    ECHO=echo
    376  1.1  skrll 	  fi
    377  1.1  skrll         fi
    378  1.1  skrll       fi
    379  1.1  skrll     fi
    380  1.1  skrll   fi
    381  1.1  skrll fi
    382  1.1  skrll 
    383  1.1  skrll # Copy echo and quote the copy suitably for passing to libtool from
    384  1.1  skrll # the Makefile, instead of quoting the original, which is used later.
    385  1.1  skrll lt_ECHO=$ECHO
    386  1.1  skrll if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    387  1.1  skrll    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    388  1.1  skrll fi
    389  1.1  skrll 
    390  1.1  skrll 
    391  1.1  skrll 
    392  1.1  skrll 
    393  1.1  skrll # Name of the host.
    394  1.1  skrll # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    395  1.1  skrll # so uname gets run too.
    396  1.1  skrll ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    397  1.1  skrll 
    398  1.1  skrll exec 6>&1
    399  1.1  skrll 
    400  1.1  skrll #
    401  1.1  skrll # Initializations.
    402  1.1  skrll #
    403  1.1  skrll ac_default_prefix=/usr/local
    404  1.1  skrll ac_config_libobj_dir=.
    405  1.1  skrll cross_compiling=no
    406  1.1  skrll subdirs=
    407  1.1  skrll MFLAGS=
    408  1.1  skrll MAKEFLAGS=
    409  1.1  skrll SHELL=${CONFIG_SHELL-/bin/sh}
    410  1.1  skrll 
    411  1.1  skrll # Maximum number of lines to put in a shell here document.
    412  1.1  skrll # This variable seems obsolete.  It should probably be removed, and
    413  1.1  skrll # only ac_max_sed_lines should be used.
    414  1.1  skrll : ${ac_max_here_lines=38}
    415  1.1  skrll 
    416  1.1  skrll # Identity of this package.
    417  1.1  skrll PACKAGE_NAME=
    418  1.1  skrll PACKAGE_TARNAME=
    419  1.1  skrll PACKAGE_VERSION=
    420  1.1  skrll PACKAGE_STRING=
    421  1.1  skrll PACKAGE_BUGREPORT=
    422  1.1  skrll 
    423  1.1  skrll ac_unique_file="gprof.c"
    424  1.1  skrll # Factoring default headers for most tests.
    425  1.1  skrll ac_includes_default="\
    426  1.1  skrll #include <stdio.h>
    427  1.1  skrll #if HAVE_SYS_TYPES_H
    428  1.1  skrll # include <sys/types.h>
    429  1.1  skrll #endif
    430  1.1  skrll #if HAVE_SYS_STAT_H
    431  1.1  skrll # include <sys/stat.h>
    432  1.1  skrll #endif
    433  1.1  skrll #if STDC_HEADERS
    434  1.1  skrll # include <stdlib.h>
    435  1.1  skrll # include <stddef.h>
    436  1.1  skrll #else
    437  1.1  skrll # if HAVE_STDLIB_H
    438  1.1  skrll #  include <stdlib.h>
    439  1.1  skrll # endif
    440  1.1  skrll #endif
    441  1.1  skrll #if HAVE_STRING_H
    442  1.1  skrll # if !STDC_HEADERS && HAVE_MEMORY_H
    443  1.1  skrll #  include <memory.h>
    444  1.1  skrll # endif
    445  1.1  skrll # include <string.h>
    446  1.1  skrll #endif
    447  1.1  skrll #if HAVE_STRINGS_H
    448  1.1  skrll # include <strings.h>
    449  1.1  skrll #endif
    450  1.1  skrll #if HAVE_INTTYPES_H
    451  1.1  skrll # include <inttypes.h>
    452  1.1  skrll #else
    453  1.1  skrll # if HAVE_STDINT_H
    454  1.1  skrll #  include <stdint.h>
    455  1.1  skrll # endif
    456  1.1  skrll #endif
    457  1.1  skrll #if HAVE_UNISTD_H
    458  1.1  skrll # include <unistd.h>
    459  1.1  skrll #endif"
    460  1.1  skrll 
    461  1.1  skrll ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE WARN_CFLAGS NO_WERROR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
    462  1.1  skrll ac_subst_files=''
    463  1.1  skrll ac_pwd=`pwd`
    464  1.1  skrll 
    465  1.1  skrll # Initialize some variables set by options.
    466  1.1  skrll ac_init_help=
    467  1.1  skrll ac_init_version=false
    468  1.1  skrll # The variables have the same names as the options, with
    469  1.1  skrll # dashes changed to underlines.
    470  1.1  skrll cache_file=/dev/null
    471  1.1  skrll exec_prefix=NONE
    472  1.1  skrll no_create=
    473  1.1  skrll no_recursion=
    474  1.1  skrll prefix=NONE
    475  1.1  skrll program_prefix=NONE
    476  1.1  skrll program_suffix=NONE
    477  1.1  skrll program_transform_name=s,x,x,
    478  1.1  skrll silent=
    479  1.1  skrll site=
    480  1.1  skrll srcdir=
    481  1.1  skrll verbose=
    482  1.1  skrll x_includes=NONE
    483  1.1  skrll x_libraries=NONE
    484  1.1  skrll 
    485  1.1  skrll # Installation directory options.
    486  1.1  skrll # These are left unexpanded so users can "make install exec_prefix=/foo"
    487  1.1  skrll # and all the variables that are supposed to be based on exec_prefix
    488  1.1  skrll # by default will actually change.
    489  1.1  skrll # Use braces instead of parens because sh, perl, etc. also accept them.
    490  1.1  skrll bindir='${exec_prefix}/bin'
    491  1.1  skrll sbindir='${exec_prefix}/sbin'
    492  1.1  skrll libexecdir='${exec_prefix}/libexec'
    493  1.1  skrll datadir='${prefix}/share'
    494  1.1  skrll sysconfdir='${prefix}/etc'
    495  1.1  skrll sharedstatedir='${prefix}/com'
    496  1.1  skrll localstatedir='${prefix}/var'
    497  1.1  skrll libdir='${exec_prefix}/lib'
    498  1.1  skrll includedir='${prefix}/include'
    499  1.1  skrll oldincludedir='/usr/include'
    500  1.1  skrll infodir='${prefix}/info'
    501  1.1  skrll mandir='${prefix}/man'
    502  1.1  skrll 
    503  1.1  skrll ac_prev=
    504  1.1  skrll for ac_option
    505  1.1  skrll do
    506  1.1  skrll   # If the previous option needs an argument, assign it.
    507  1.1  skrll   if test -n "$ac_prev"; then
    508  1.1  skrll     eval "$ac_prev=\$ac_option"
    509  1.1  skrll     ac_prev=
    510  1.1  skrll     continue
    511  1.1  skrll   fi
    512  1.1  skrll 
    513  1.1  skrll   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    514  1.1  skrll 
    515  1.1  skrll   # Accept the important Cygnus configure options, so we can diagnose typos.
    516  1.1  skrll 
    517  1.1  skrll   case $ac_option in
    518  1.1  skrll 
    519  1.1  skrll   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    520  1.1  skrll     ac_prev=bindir ;;
    521  1.1  skrll   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    522  1.1  skrll     bindir=$ac_optarg ;;
    523  1.1  skrll 
    524  1.1  skrll   -build | --build | --buil | --bui | --bu)
    525  1.1  skrll     ac_prev=build_alias ;;
    526  1.1  skrll   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    527  1.1  skrll     build_alias=$ac_optarg ;;
    528  1.1  skrll 
    529  1.1  skrll   -cache-file | --cache-file | --cache-fil | --cache-fi \
    530  1.1  skrll   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    531  1.1  skrll     ac_prev=cache_file ;;
    532  1.1  skrll   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    533  1.1  skrll   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    534  1.1  skrll     cache_file=$ac_optarg ;;
    535  1.1  skrll 
    536  1.1  skrll   --config-cache | -C)
    537  1.1  skrll     cache_file=config.cache ;;
    538  1.1  skrll 
    539  1.1  skrll   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    540  1.1  skrll     ac_prev=datadir ;;
    541  1.1  skrll   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    542  1.1  skrll   | --da=*)
    543  1.1  skrll     datadir=$ac_optarg ;;
    544  1.1  skrll 
    545  1.1  skrll   -disable-* | --disable-*)
    546  1.1  skrll     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    547  1.1  skrll     # Reject names that are not valid shell variable names.
    548  1.1  skrll     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    549  1.1  skrll       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    550  1.1  skrll    { (exit 1); exit 1; }; }
    551  1.1  skrll     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    552  1.1  skrll     eval "enable_$ac_feature=no" ;;
    553  1.1  skrll 
    554  1.1  skrll   -enable-* | --enable-*)
    555  1.1  skrll     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    556  1.1  skrll     # Reject names that are not valid shell variable names.
    557  1.1  skrll     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    558  1.1  skrll       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    559  1.1  skrll    { (exit 1); exit 1; }; }
    560  1.1  skrll     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    561  1.1  skrll     case $ac_option in
    562  1.1  skrll       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    563  1.1  skrll       *) ac_optarg=yes ;;
    564  1.1  skrll     esac
    565  1.1  skrll     eval "enable_$ac_feature='$ac_optarg'" ;;
    566  1.1  skrll 
    567  1.1  skrll   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    568  1.1  skrll   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    569  1.1  skrll   | --exec | --exe | --ex)
    570  1.1  skrll     ac_prev=exec_prefix ;;
    571  1.1  skrll   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    572  1.1  skrll   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    573  1.1  skrll   | --exec=* | --exe=* | --ex=*)
    574  1.1  skrll     exec_prefix=$ac_optarg ;;
    575  1.1  skrll 
    576  1.1  skrll   -gas | --gas | --ga | --g)
    577  1.1  skrll     # Obsolete; use --with-gas.
    578  1.1  skrll     with_gas=yes ;;
    579  1.1  skrll 
    580  1.1  skrll   -help | --help | --hel | --he | -h)
    581  1.1  skrll     ac_init_help=long ;;
    582  1.1  skrll   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    583  1.1  skrll     ac_init_help=recursive ;;
    584  1.1  skrll   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    585  1.1  skrll     ac_init_help=short ;;
    586  1.1  skrll 
    587  1.1  skrll   -host | --host | --hos | --ho)
    588  1.1  skrll     ac_prev=host_alias ;;
    589  1.1  skrll   -host=* | --host=* | --hos=* | --ho=*)
    590  1.1  skrll     host_alias=$ac_optarg ;;
    591  1.1  skrll 
    592  1.1  skrll   -includedir | --includedir | --includedi | --included | --include \
    593  1.1  skrll   | --includ | --inclu | --incl | --inc)
    594  1.1  skrll     ac_prev=includedir ;;
    595  1.1  skrll   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    596  1.1  skrll   | --includ=* | --inclu=* | --incl=* | --inc=*)
    597  1.1  skrll     includedir=$ac_optarg ;;
    598  1.1  skrll 
    599  1.1  skrll   -infodir | --infodir | --infodi | --infod | --info | --inf)
    600  1.1  skrll     ac_prev=infodir ;;
    601  1.1  skrll   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    602  1.1  skrll     infodir=$ac_optarg ;;
    603  1.1  skrll 
    604  1.1  skrll   -libdir | --libdir | --libdi | --libd)
    605  1.1  skrll     ac_prev=libdir ;;
    606  1.1  skrll   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    607  1.1  skrll     libdir=$ac_optarg ;;
    608  1.1  skrll 
    609  1.1  skrll   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    610  1.1  skrll   | --libexe | --libex | --libe)
    611  1.1  skrll     ac_prev=libexecdir ;;
    612  1.1  skrll   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    613  1.1  skrll   | --libexe=* | --libex=* | --libe=*)
    614  1.1  skrll     libexecdir=$ac_optarg ;;
    615  1.1  skrll 
    616  1.1  skrll   -localstatedir | --localstatedir | --localstatedi | --localstated \
    617  1.1  skrll   | --localstate | --localstat | --localsta | --localst \
    618  1.1  skrll   | --locals | --local | --loca | --loc | --lo)
    619  1.1  skrll     ac_prev=localstatedir ;;
    620  1.1  skrll   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    621  1.1  skrll   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    622  1.1  skrll   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    623  1.1  skrll     localstatedir=$ac_optarg ;;
    624  1.1  skrll 
    625  1.1  skrll   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    626  1.1  skrll     ac_prev=mandir ;;
    627  1.1  skrll   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    628  1.1  skrll     mandir=$ac_optarg ;;
    629  1.1  skrll 
    630  1.1  skrll   -nfp | --nfp | --nf)
    631  1.1  skrll     # Obsolete; use --without-fp.
    632  1.1  skrll     with_fp=no ;;
    633  1.1  skrll 
    634  1.1  skrll   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    635  1.1  skrll   | --no-cr | --no-c | -n)
    636  1.1  skrll     no_create=yes ;;
    637  1.1  skrll 
    638  1.1  skrll   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    639  1.1  skrll   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    640  1.1  skrll     no_recursion=yes ;;
    641  1.1  skrll 
    642  1.1  skrll   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    643  1.1  skrll   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    644  1.1  skrll   | --oldin | --oldi | --old | --ol | --o)
    645  1.1  skrll     ac_prev=oldincludedir ;;
    646  1.1  skrll   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    647  1.1  skrll   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    648  1.1  skrll   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    649  1.1  skrll     oldincludedir=$ac_optarg ;;
    650  1.1  skrll 
    651  1.1  skrll   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    652  1.1  skrll     ac_prev=prefix ;;
    653  1.1  skrll   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    654  1.1  skrll     prefix=$ac_optarg ;;
    655  1.1  skrll 
    656  1.1  skrll   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    657  1.1  skrll   | --program-pre | --program-pr | --program-p)
    658  1.1  skrll     ac_prev=program_prefix ;;
    659  1.1  skrll   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    660  1.1  skrll   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    661  1.1  skrll     program_prefix=$ac_optarg ;;
    662  1.1  skrll 
    663  1.1  skrll   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    664  1.1  skrll   | --program-suf | --program-su | --program-s)
    665  1.1  skrll     ac_prev=program_suffix ;;
    666  1.1  skrll   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    667  1.1  skrll   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    668  1.1  skrll     program_suffix=$ac_optarg ;;
    669  1.1  skrll 
    670  1.1  skrll   -program-transform-name | --program-transform-name \
    671  1.1  skrll   | --program-transform-nam | --program-transform-na \
    672  1.1  skrll   | --program-transform-n | --program-transform- \
    673  1.1  skrll   | --program-transform | --program-transfor \
    674  1.1  skrll   | --program-transfo | --program-transf \
    675  1.1  skrll   | --program-trans | --program-tran \
    676  1.1  skrll   | --progr-tra | --program-tr | --program-t)
    677  1.1  skrll     ac_prev=program_transform_name ;;
    678  1.1  skrll   -program-transform-name=* | --program-transform-name=* \
    679  1.1  skrll   | --program-transform-nam=* | --program-transform-na=* \
    680  1.1  skrll   | --program-transform-n=* | --program-transform-=* \
    681  1.1  skrll   | --program-transform=* | --program-transfor=* \
    682  1.1  skrll   | --program-transfo=* | --program-transf=* \
    683  1.1  skrll   | --program-trans=* | --program-tran=* \
    684  1.1  skrll   | --progr-tra=* | --program-tr=* | --program-t=*)
    685  1.1  skrll     program_transform_name=$ac_optarg ;;
    686  1.1  skrll 
    687  1.1  skrll   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    688  1.1  skrll   | -silent | --silent | --silen | --sile | --sil)
    689  1.1  skrll     silent=yes ;;
    690  1.1  skrll 
    691  1.1  skrll   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    692  1.1  skrll     ac_prev=sbindir ;;
    693  1.1  skrll   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    694  1.1  skrll   | --sbi=* | --sb=*)
    695  1.1  skrll     sbindir=$ac_optarg ;;
    696  1.1  skrll 
    697  1.1  skrll   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    698  1.1  skrll   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    699  1.1  skrll   | --sharedst | --shareds | --shared | --share | --shar \
    700  1.1  skrll   | --sha | --sh)
    701  1.1  skrll     ac_prev=sharedstatedir ;;
    702  1.1  skrll   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    703  1.1  skrll   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    704  1.1  skrll   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    705  1.1  skrll   | --sha=* | --sh=*)
    706  1.1  skrll     sharedstatedir=$ac_optarg ;;
    707  1.1  skrll 
    708  1.1  skrll   -site | --site | --sit)
    709  1.1  skrll     ac_prev=site ;;
    710  1.1  skrll   -site=* | --site=* | --sit=*)
    711  1.1  skrll     site=$ac_optarg ;;
    712  1.1  skrll 
    713  1.1  skrll   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    714  1.1  skrll     ac_prev=srcdir ;;
    715  1.1  skrll   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    716  1.1  skrll     srcdir=$ac_optarg ;;
    717  1.1  skrll 
    718  1.1  skrll   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    719  1.1  skrll   | --syscon | --sysco | --sysc | --sys | --sy)
    720  1.1  skrll     ac_prev=sysconfdir ;;
    721  1.1  skrll   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    722  1.1  skrll   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    723  1.1  skrll     sysconfdir=$ac_optarg ;;
    724  1.1  skrll 
    725  1.1  skrll   -target | --target | --targe | --targ | --tar | --ta | --t)
    726  1.1  skrll     ac_prev=target_alias ;;
    727  1.1  skrll   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    728  1.1  skrll     target_alias=$ac_optarg ;;
    729  1.1  skrll 
    730  1.1  skrll   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    731  1.1  skrll     verbose=yes ;;
    732  1.1  skrll 
    733  1.1  skrll   -version | --version | --versio | --versi | --vers | -V)
    734  1.1  skrll     ac_init_version=: ;;
    735  1.1  skrll 
    736  1.1  skrll   -with-* | --with-*)
    737  1.1  skrll     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    738  1.1  skrll     # Reject names that are not valid shell variable names.
    739  1.1  skrll     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    740  1.1  skrll       { echo "$as_me: error: invalid package name: $ac_package" >&2
    741  1.1  skrll    { (exit 1); exit 1; }; }
    742  1.1  skrll     ac_package=`echo $ac_package| sed 's/-/_/g'`
    743  1.1  skrll     case $ac_option in
    744  1.1  skrll       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    745  1.1  skrll       *) ac_optarg=yes ;;
    746  1.1  skrll     esac
    747  1.1  skrll     eval "with_$ac_package='$ac_optarg'" ;;
    748  1.1  skrll 
    749  1.1  skrll   -without-* | --without-*)
    750  1.1  skrll     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    751  1.1  skrll     # Reject names that are not valid shell variable names.
    752  1.1  skrll     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    753  1.1  skrll       { echo "$as_me: error: invalid package name: $ac_package" >&2
    754  1.1  skrll    { (exit 1); exit 1; }; }
    755  1.1  skrll     ac_package=`echo $ac_package | sed 's/-/_/g'`
    756  1.1  skrll     eval "with_$ac_package=no" ;;
    757  1.1  skrll 
    758  1.1  skrll   --x)
    759  1.1  skrll     # Obsolete; use --with-x.
    760  1.1  skrll     with_x=yes ;;
    761  1.1  skrll 
    762  1.1  skrll   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    763  1.1  skrll   | --x-incl | --x-inc | --x-in | --x-i)
    764  1.1  skrll     ac_prev=x_includes ;;
    765  1.1  skrll   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    766  1.1  skrll   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    767  1.1  skrll     x_includes=$ac_optarg ;;
    768  1.1  skrll 
    769  1.1  skrll   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    770  1.1  skrll   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    771  1.1  skrll     ac_prev=x_libraries ;;
    772  1.1  skrll   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    773  1.1  skrll   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    774  1.1  skrll     x_libraries=$ac_optarg ;;
    775  1.1  skrll 
    776  1.1  skrll   -*) { echo "$as_me: error: unrecognized option: $ac_option
    777  1.1  skrll Try \`$0 --help' for more information." >&2
    778  1.1  skrll    { (exit 1); exit 1; }; }
    779  1.1  skrll     ;;
    780  1.1  skrll 
    781  1.1  skrll   *=*)
    782  1.1  skrll     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    783  1.1  skrll     # Reject names that are not valid shell variable names.
    784  1.1  skrll     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    785  1.1  skrll       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    786  1.1  skrll    { (exit 1); exit 1; }; }
    787  1.1  skrll     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    788  1.1  skrll     eval "$ac_envvar='$ac_optarg'"
    789  1.1  skrll     export $ac_envvar ;;
    790  1.1  skrll 
    791  1.1  skrll   *)
    792  1.1  skrll     # FIXME: should be removed in autoconf 3.0.
    793  1.1  skrll     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    794  1.1  skrll     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    795  1.1  skrll       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    796  1.1  skrll     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    797  1.1  skrll     ;;
    798  1.1  skrll 
    799  1.1  skrll   esac
    800  1.1  skrll done
    801  1.1  skrll 
    802  1.1  skrll if test -n "$ac_prev"; then
    803  1.1  skrll   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    804  1.1  skrll   { echo "$as_me: error: missing argument to $ac_option" >&2
    805  1.1  skrll    { (exit 1); exit 1; }; }
    806  1.1  skrll fi
    807  1.1  skrll 
    808  1.1  skrll # Be sure to have absolute paths.
    809  1.1  skrll for ac_var in exec_prefix prefix
    810  1.1  skrll do
    811  1.1  skrll   eval ac_val=$`echo $ac_var`
    812  1.1  skrll   case $ac_val in
    813  1.1  skrll     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    814  1.1  skrll     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    815  1.1  skrll    { (exit 1); exit 1; }; };;
    816  1.1  skrll   esac
    817  1.1  skrll done
    818  1.1  skrll 
    819  1.1  skrll # Be sure to have absolute paths.
    820  1.1  skrll for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    821  1.1  skrll 	      localstatedir libdir includedir oldincludedir infodir mandir
    822  1.1  skrll do
    823  1.1  skrll   eval ac_val=$`echo $ac_var`
    824  1.1  skrll   case $ac_val in
    825  1.1  skrll     [\\/$]* | ?:[\\/]* ) ;;
    826  1.1  skrll     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    827  1.1  skrll    { (exit 1); exit 1; }; };;
    828  1.1  skrll   esac
    829  1.1  skrll done
    830  1.1  skrll 
    831  1.1  skrll # There might be people who depend on the old broken behavior: `$host'
    832  1.1  skrll # used to hold the argument of --host etc.
    833  1.1  skrll # FIXME: To remove some day.
    834  1.1  skrll build=$build_alias
    835  1.1  skrll host=$host_alias
    836  1.1  skrll target=$target_alias
    837  1.1  skrll 
    838  1.1  skrll # FIXME: To remove some day.
    839  1.1  skrll if test "x$host_alias" != x; then
    840  1.1  skrll   if test "x$build_alias" = x; then
    841  1.1  skrll     cross_compiling=maybe
    842  1.1  skrll     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    843  1.1  skrll     If a cross compiler is detected then cross compile mode will be used." >&2
    844  1.1  skrll   elif test "x$build_alias" != "x$host_alias"; then
    845  1.1  skrll     cross_compiling=yes
    846  1.1  skrll   fi
    847  1.1  skrll fi
    848  1.1  skrll 
    849  1.1  skrll ac_tool_prefix=
    850  1.1  skrll test -n "$host_alias" && ac_tool_prefix=$host_alias-
    851  1.1  skrll 
    852  1.1  skrll test "$silent" = yes && exec 6>/dev/null
    853  1.1  skrll 
    854  1.1  skrll 
    855  1.1  skrll # Find the source files, if location was not specified.
    856  1.1  skrll if test -z "$srcdir"; then
    857  1.1  skrll   ac_srcdir_defaulted=yes
    858  1.1  skrll   # Try the directory containing this script, then its parent.
    859  1.1  skrll   ac_confdir=`(dirname "$0") 2>/dev/null ||
    860  1.1  skrll $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    861  1.1  skrll 	 X"$0" : 'X\(//\)[^/]' \| \
    862  1.1  skrll 	 X"$0" : 'X\(//\)$' \| \
    863  1.1  skrll 	 X"$0" : 'X\(/\)' \| \
    864  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
    865  1.1  skrll echo X"$0" |
    866  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    867  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    868  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
    869  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
    870  1.1  skrll   	  s/.*/./; q'`
    871  1.1  skrll   srcdir=$ac_confdir
    872  1.1  skrll   if test ! -r $srcdir/$ac_unique_file; then
    873  1.1  skrll     srcdir=..
    874  1.1  skrll   fi
    875  1.1  skrll else
    876  1.1  skrll   ac_srcdir_defaulted=no
    877  1.1  skrll fi
    878  1.1  skrll if test ! -r $srcdir/$ac_unique_file; then
    879  1.1  skrll   if test "$ac_srcdir_defaulted" = yes; then
    880  1.1  skrll     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    881  1.1  skrll    { (exit 1); exit 1; }; }
    882  1.1  skrll   else
    883  1.1  skrll     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    884  1.1  skrll    { (exit 1); exit 1; }; }
    885  1.1  skrll   fi
    886  1.1  skrll fi
    887  1.1  skrll (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    888  1.1  skrll   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    889  1.1  skrll    { (exit 1); exit 1; }; }
    890  1.1  skrll srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    891  1.1  skrll ac_env_build_alias_set=${build_alias+set}
    892  1.1  skrll ac_env_build_alias_value=$build_alias
    893  1.1  skrll ac_cv_env_build_alias_set=${build_alias+set}
    894  1.1  skrll ac_cv_env_build_alias_value=$build_alias
    895  1.1  skrll ac_env_host_alias_set=${host_alias+set}
    896  1.1  skrll ac_env_host_alias_value=$host_alias
    897  1.1  skrll ac_cv_env_host_alias_set=${host_alias+set}
    898  1.1  skrll ac_cv_env_host_alias_value=$host_alias
    899  1.1  skrll ac_env_target_alias_set=${target_alias+set}
    900  1.1  skrll ac_env_target_alias_value=$target_alias
    901  1.1  skrll ac_cv_env_target_alias_set=${target_alias+set}
    902  1.1  skrll ac_cv_env_target_alias_value=$target_alias
    903  1.1  skrll ac_env_CC_set=${CC+set}
    904  1.1  skrll ac_env_CC_value=$CC
    905  1.1  skrll ac_cv_env_CC_set=${CC+set}
    906  1.1  skrll ac_cv_env_CC_value=$CC
    907  1.1  skrll ac_env_CFLAGS_set=${CFLAGS+set}
    908  1.1  skrll ac_env_CFLAGS_value=$CFLAGS
    909  1.1  skrll ac_cv_env_CFLAGS_set=${CFLAGS+set}
    910  1.1  skrll ac_cv_env_CFLAGS_value=$CFLAGS
    911  1.1  skrll ac_env_LDFLAGS_set=${LDFLAGS+set}
    912  1.1  skrll ac_env_LDFLAGS_value=$LDFLAGS
    913  1.1  skrll ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    914  1.1  skrll ac_cv_env_LDFLAGS_value=$LDFLAGS
    915  1.1  skrll ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    916  1.1  skrll ac_env_CPPFLAGS_value=$CPPFLAGS
    917  1.1  skrll ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    918  1.1  skrll ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    919  1.1  skrll ac_env_CPP_set=${CPP+set}
    920  1.1  skrll ac_env_CPP_value=$CPP
    921  1.1  skrll ac_cv_env_CPP_set=${CPP+set}
    922  1.1  skrll ac_cv_env_CPP_value=$CPP
    923  1.1  skrll 
    924  1.1  skrll #
    925  1.1  skrll # Report the --help message.
    926  1.1  skrll #
    927  1.1  skrll if test "$ac_init_help" = "long"; then
    928  1.1  skrll   # Omit some internal or obsolete options to make the list less imposing.
    929  1.1  skrll   # This message is too long to be a string in the A/UX 3.1 sh.
    930  1.1  skrll   cat <<_ACEOF
    931  1.1  skrll \`configure' configures this package to adapt to many kinds of systems.
    932  1.1  skrll 
    933  1.1  skrll Usage: $0 [OPTION]... [VAR=VALUE]...
    934  1.1  skrll 
    935  1.1  skrll To assign environment variables (e.g., CC, CFLAGS...), specify them as
    936  1.1  skrll VAR=VALUE.  See below for descriptions of some of the useful variables.
    937  1.1  skrll 
    938  1.1  skrll Defaults for the options are specified in brackets.
    939  1.1  skrll 
    940  1.1  skrll Configuration:
    941  1.1  skrll   -h, --help              display this help and exit
    942  1.1  skrll       --help=short        display options specific to this package
    943  1.1  skrll       --help=recursive    display the short help of all the included packages
    944  1.1  skrll   -V, --version           display version information and exit
    945  1.1  skrll   -q, --quiet, --silent   do not print \`checking...' messages
    946  1.1  skrll       --cache-file=FILE   cache test results in FILE [disabled]
    947  1.1  skrll   -C, --config-cache      alias for \`--cache-file=config.cache'
    948  1.1  skrll   -n, --no-create         do not create output files
    949  1.1  skrll       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    950  1.1  skrll 
    951  1.1  skrll _ACEOF
    952  1.1  skrll 
    953  1.1  skrll   cat <<_ACEOF
    954  1.1  skrll Installation directories:
    955  1.1  skrll   --prefix=PREFIX         install architecture-independent files in PREFIX
    956  1.1  skrll 			  [$ac_default_prefix]
    957  1.1  skrll   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    958  1.1  skrll 			  [PREFIX]
    959  1.1  skrll 
    960  1.1  skrll By default, \`make install' will install all the files in
    961  1.1  skrll \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    962  1.1  skrll an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    963  1.1  skrll for instance \`--prefix=\$HOME'.
    964  1.1  skrll 
    965  1.1  skrll For better control, use the options below.
    966  1.1  skrll 
    967  1.1  skrll Fine tuning of the installation directories:
    968  1.1  skrll   --bindir=DIR           user executables [EPREFIX/bin]
    969  1.1  skrll   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    970  1.1  skrll   --libexecdir=DIR       program executables [EPREFIX/libexec]
    971  1.1  skrll   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    972  1.1  skrll   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    973  1.1  skrll   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    974  1.1  skrll   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    975  1.1  skrll   --libdir=DIR           object code libraries [EPREFIX/lib]
    976  1.1  skrll   --includedir=DIR       C header files [PREFIX/include]
    977  1.1  skrll   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    978  1.1  skrll   --infodir=DIR          info documentation [PREFIX/info]
    979  1.1  skrll   --mandir=DIR           man documentation [PREFIX/man]
    980  1.1  skrll _ACEOF
    981  1.1  skrll 
    982  1.1  skrll   cat <<\_ACEOF
    983  1.1  skrll 
    984  1.1  skrll Program names:
    985  1.1  skrll   --program-prefix=PREFIX            prepend PREFIX to installed program names
    986  1.1  skrll   --program-suffix=SUFFIX            append SUFFIX to installed program names
    987  1.1  skrll   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    988  1.1  skrll 
    989  1.1  skrll System types:
    990  1.1  skrll   --build=BUILD     configure for building on BUILD [guessed]
    991  1.1  skrll   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    992  1.1  skrll   --target=TARGET   configure for building compilers for TARGET [HOST]
    993  1.1  skrll _ACEOF
    994  1.1  skrll fi
    995  1.1  skrll 
    996  1.1  skrll if test -n "$ac_init_help"; then
    997  1.1  skrll 
    998  1.1  skrll   cat <<\_ACEOF
    999  1.1  skrll 
   1000  1.1  skrll Optional Features:
   1001  1.1  skrll   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1002  1.1  skrll   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1003  1.1  skrll   --disable-dependency-tracking  speeds up one-time build
   1004  1.1  skrll   --enable-dependency-tracking   do not reject slow dependency extractors
   1005  1.1  skrll   --enable-shared[=PKGS]
   1006  1.1  skrll                           build shared libraries [default=yes]
   1007  1.1  skrll   --enable-static[=PKGS]
   1008  1.1  skrll                           build static libraries [default=yes]
   1009  1.1  skrll   --enable-fast-install[=PKGS]
   1010  1.1  skrll                           optimize for fast installation [default=yes]
   1011  1.1  skrll   --disable-libtool-lock  avoid locking (might break parallel builds)
   1012  1.1  skrll   --disable-nls           do not use Native Language Support
   1013  1.1  skrll   --enable-maintainer-mode  enable make rules and dependencies not useful
   1014  1.1  skrll 			  (and sometimes confusing) to the casual installer
   1015  1.1  skrll   --enable-werror         treat compile warnings as errors
   1016  1.1  skrll   --enable-build-warnings enable build-time compiler warnings
   1017  1.1  skrll 
   1018  1.1  skrll Optional Packages:
   1019  1.1  skrll   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1020  1.1  skrll   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1021  1.1  skrll   --with-pic              try to use only PIC/non-PIC objects [default=use
   1022  1.1  skrll                           both]
   1023  1.1  skrll   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1024  1.1  skrll 
   1025  1.1  skrll Some influential environment variables:
   1026  1.1  skrll   CC          C compiler command
   1027  1.1  skrll   CFLAGS      C compiler flags
   1028  1.1  skrll   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1029  1.1  skrll               nonstandard directory <lib dir>
   1030  1.1  skrll   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
   1031  1.1  skrll               headers in a nonstandard directory <include dir>
   1032  1.1  skrll   CPP         C preprocessor
   1033  1.1  skrll 
   1034  1.1  skrll Use these variables to override the choices made by `configure' or to help
   1035  1.1  skrll it to find libraries and programs with nonstandard names/locations.
   1036  1.1  skrll 
   1037  1.1  skrll _ACEOF
   1038  1.1  skrll fi
   1039  1.1  skrll 
   1040  1.1  skrll if test "$ac_init_help" = "recursive"; then
   1041  1.1  skrll   # If there are subdirs, report their specific --help.
   1042  1.1  skrll   ac_popdir=`pwd`
   1043  1.1  skrll   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1044  1.1  skrll     test -d $ac_dir || continue
   1045  1.1  skrll     ac_builddir=.
   1046  1.1  skrll 
   1047  1.1  skrll if test "$ac_dir" != .; then
   1048  1.1  skrll   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1049  1.1  skrll   # A "../" for each directory in $ac_dir_suffix.
   1050  1.1  skrll   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   1051  1.1  skrll else
   1052  1.1  skrll   ac_dir_suffix= ac_top_builddir=
   1053  1.1  skrll fi
   1054  1.1  skrll 
   1055  1.1  skrll case $srcdir in
   1056  1.1  skrll   .)  # No --srcdir option.  We are building in place.
   1057  1.1  skrll     ac_srcdir=.
   1058  1.1  skrll     if test -z "$ac_top_builddir"; then
   1059  1.1  skrll        ac_top_srcdir=.
   1060  1.1  skrll     else
   1061  1.1  skrll        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   1062  1.1  skrll     fi ;;
   1063  1.1  skrll   [\\/]* | ?:[\\/]* )  # Absolute path.
   1064  1.1  skrll     ac_srcdir=$srcdir$ac_dir_suffix;
   1065  1.1  skrll     ac_top_srcdir=$srcdir ;;
   1066  1.1  skrll   *) # Relative path.
   1067  1.1  skrll     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   1068  1.1  skrll     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   1069  1.1  skrll esac
   1070  1.1  skrll 
   1071  1.1  skrll # Do not use `cd foo && pwd` to compute absolute paths, because
   1072  1.1  skrll # the directories may not exist.
   1073  1.1  skrll case `pwd` in
   1074  1.1  skrll .) ac_abs_builddir="$ac_dir";;
   1075  1.1  skrll *)
   1076  1.1  skrll   case "$ac_dir" in
   1077  1.1  skrll   .) ac_abs_builddir=`pwd`;;
   1078  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   1079  1.1  skrll   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   1080  1.1  skrll   esac;;
   1081  1.1  skrll esac
   1082  1.1  skrll case $ac_abs_builddir in
   1083  1.1  skrll .) ac_abs_top_builddir=${ac_top_builddir}.;;
   1084  1.1  skrll *)
   1085  1.1  skrll   case ${ac_top_builddir}. in
   1086  1.1  skrll   .) ac_abs_top_builddir=$ac_abs_builddir;;
   1087  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   1088  1.1  skrll   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   1089  1.1  skrll   esac;;
   1090  1.1  skrll esac
   1091  1.1  skrll case $ac_abs_builddir in
   1092  1.1  skrll .) ac_abs_srcdir=$ac_srcdir;;
   1093  1.1  skrll *)
   1094  1.1  skrll   case $ac_srcdir in
   1095  1.1  skrll   .) ac_abs_srcdir=$ac_abs_builddir;;
   1096  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   1097  1.1  skrll   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   1098  1.1  skrll   esac;;
   1099  1.1  skrll esac
   1100  1.1  skrll case $ac_abs_builddir in
   1101  1.1  skrll .) ac_abs_top_srcdir=$ac_top_srcdir;;
   1102  1.1  skrll *)
   1103  1.1  skrll   case $ac_top_srcdir in
   1104  1.1  skrll   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   1105  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   1106  1.1  skrll   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   1107  1.1  skrll   esac;;
   1108  1.1  skrll esac
   1109  1.1  skrll 
   1110  1.1  skrll     cd $ac_dir
   1111  1.1  skrll     # Check for guested configure; otherwise get Cygnus style configure.
   1112  1.1  skrll     if test -f $ac_srcdir/configure.gnu; then
   1113  1.1  skrll       echo
   1114  1.1  skrll       $SHELL $ac_srcdir/configure.gnu  --help=recursive
   1115  1.1  skrll     elif test -f $ac_srcdir/configure; then
   1116  1.1  skrll       echo
   1117  1.1  skrll       $SHELL $ac_srcdir/configure  --help=recursive
   1118  1.1  skrll     elif test -f $ac_srcdir/configure.ac ||
   1119  1.1  skrll 	   test -f $ac_srcdir/configure.in; then
   1120  1.1  skrll       echo
   1121  1.1  skrll       $ac_configure --help
   1122  1.1  skrll     else
   1123  1.1  skrll       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1124  1.1  skrll     fi
   1125  1.1  skrll     cd $ac_popdir
   1126  1.1  skrll   done
   1127  1.1  skrll fi
   1128  1.1  skrll 
   1129  1.1  skrll test -n "$ac_init_help" && exit 0
   1130  1.1  skrll if $ac_init_version; then
   1131  1.1  skrll   cat <<\_ACEOF
   1132  1.1  skrll 
   1133  1.1  skrll Copyright (C) 2003 Free Software Foundation, Inc.
   1134  1.1  skrll This configure script is free software; the Free Software Foundation
   1135  1.1  skrll gives unlimited permission to copy, distribute and modify it.
   1136  1.1  skrll _ACEOF
   1137  1.1  skrll   exit 0
   1138  1.1  skrll fi
   1139  1.1  skrll exec 5>config.log
   1140  1.1  skrll cat >&5 <<_ACEOF
   1141  1.1  skrll This file contains any messages produced by compilers while
   1142  1.1  skrll running configure, to aid debugging if configure makes a mistake.
   1143  1.1  skrll 
   1144  1.1  skrll It was created by $as_me, which was
   1145  1.1  skrll generated by GNU Autoconf 2.59.  Invocation command line was
   1146  1.1  skrll 
   1147  1.1  skrll   $ $0 $@
   1148  1.1  skrll 
   1149  1.1  skrll _ACEOF
   1150  1.1  skrll {
   1151  1.1  skrll cat <<_ASUNAME
   1152  1.1  skrll ## --------- ##
   1153  1.1  skrll ## Platform. ##
   1154  1.1  skrll ## --------- ##
   1155  1.1  skrll 
   1156  1.1  skrll hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1157  1.1  skrll uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1158  1.1  skrll uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1159  1.1  skrll uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1160  1.1  skrll uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1161  1.1  skrll 
   1162  1.1  skrll /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1163  1.1  skrll /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1164  1.1  skrll 
   1165  1.1  skrll /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1166  1.1  skrll /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1167  1.1  skrll /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1168  1.1  skrll hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1169  1.1  skrll /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1170  1.1  skrll /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1171  1.1  skrll /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1172  1.1  skrll 
   1173  1.1  skrll _ASUNAME
   1174  1.1  skrll 
   1175  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1176  1.1  skrll for as_dir in $PATH
   1177  1.1  skrll do
   1178  1.1  skrll   IFS=$as_save_IFS
   1179  1.1  skrll   test -z "$as_dir" && as_dir=.
   1180  1.1  skrll   echo "PATH: $as_dir"
   1181  1.1  skrll done
   1182  1.1  skrll 
   1183  1.1  skrll } >&5
   1184  1.1  skrll 
   1185  1.1  skrll cat >&5 <<_ACEOF
   1186  1.1  skrll 
   1187  1.1  skrll 
   1188  1.1  skrll ## ----------- ##
   1189  1.1  skrll ## Core tests. ##
   1190  1.1  skrll ## ----------- ##
   1191  1.1  skrll 
   1192  1.1  skrll _ACEOF
   1193  1.1  skrll 
   1194  1.1  skrll 
   1195  1.1  skrll # Keep a trace of the command line.
   1196  1.1  skrll # Strip out --no-create and --no-recursion so they do not pile up.
   1197  1.1  skrll # Strip out --silent because we don't want to record it for future runs.
   1198  1.1  skrll # Also quote any args containing shell meta-characters.
   1199  1.1  skrll # Make two passes to allow for proper duplicate-argument suppression.
   1200  1.1  skrll ac_configure_args=
   1201  1.1  skrll ac_configure_args0=
   1202  1.1  skrll ac_configure_args1=
   1203  1.1  skrll ac_sep=
   1204  1.1  skrll ac_must_keep_next=false
   1205  1.1  skrll for ac_pass in 1 2
   1206  1.1  skrll do
   1207  1.1  skrll   for ac_arg
   1208  1.1  skrll   do
   1209  1.1  skrll     case $ac_arg in
   1210  1.1  skrll     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1211  1.1  skrll     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1212  1.1  skrll     | -silent | --silent | --silen | --sile | --sil)
   1213  1.1  skrll       continue ;;
   1214  1.1  skrll     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1215  1.1  skrll       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1216  1.1  skrll     esac
   1217  1.1  skrll     case $ac_pass in
   1218  1.1  skrll     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1219  1.1  skrll     2)
   1220  1.1  skrll       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1221  1.1  skrll       if test $ac_must_keep_next = true; then
   1222  1.1  skrll 	ac_must_keep_next=false # Got value, back to normal.
   1223  1.1  skrll       else
   1224  1.1  skrll 	case $ac_arg in
   1225  1.1  skrll 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1226  1.1  skrll 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1227  1.1  skrll 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1228  1.1  skrll 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1229  1.1  skrll 	    case "$ac_configure_args0 " in
   1230  1.1  skrll 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1231  1.1  skrll 	    esac
   1232  1.1  skrll 	    ;;
   1233  1.1  skrll 	  -* ) ac_must_keep_next=true ;;
   1234  1.1  skrll 	esac
   1235  1.1  skrll       fi
   1236  1.1  skrll       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1237  1.1  skrll       # Get rid of the leading space.
   1238  1.1  skrll       ac_sep=" "
   1239  1.1  skrll       ;;
   1240  1.1  skrll     esac
   1241  1.1  skrll   done
   1242  1.1  skrll done
   1243  1.1  skrll $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1244  1.1  skrll $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1245  1.1  skrll 
   1246  1.1  skrll # When interrupted or exit'd, cleanup temporary files, and complete
   1247  1.1  skrll # config.log.  We remove comments because anyway the quotes in there
   1248  1.1  skrll # would cause problems or look ugly.
   1249  1.1  skrll # WARNING: Be sure not to use single quotes in there, as some shells,
   1250  1.1  skrll # such as our DU 5.0 friend, will then `close' the trap.
   1251  1.1  skrll trap 'exit_status=$?
   1252  1.1  skrll   # Save into config.log some information that might help in debugging.
   1253  1.1  skrll   {
   1254  1.1  skrll     echo
   1255  1.1  skrll 
   1256  1.1  skrll     cat <<\_ASBOX
   1257  1.1  skrll ## ---------------- ##
   1258  1.1  skrll ## Cache variables. ##
   1259  1.1  skrll ## ---------------- ##
   1260  1.1  skrll _ASBOX
   1261  1.1  skrll     echo
   1262  1.1  skrll     # The following way of writing the cache mishandles newlines in values,
   1263  1.1  skrll {
   1264  1.1  skrll   (set) 2>&1 |
   1265  1.1  skrll     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1266  1.1  skrll     *ac_space=\ *)
   1267  1.1  skrll       sed -n \
   1268  1.1  skrll 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1269  1.1  skrll 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1270  1.1  skrll       ;;
   1271  1.1  skrll     *)
   1272  1.1  skrll       sed -n \
   1273  1.1  skrll 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1274  1.1  skrll       ;;
   1275  1.1  skrll     esac;
   1276  1.1  skrll }
   1277  1.1  skrll     echo
   1278  1.1  skrll 
   1279  1.1  skrll     cat <<\_ASBOX
   1280  1.1  skrll ## ----------------- ##
   1281  1.1  skrll ## Output variables. ##
   1282  1.1  skrll ## ----------------- ##
   1283  1.1  skrll _ASBOX
   1284  1.1  skrll     echo
   1285  1.1  skrll     for ac_var in $ac_subst_vars
   1286  1.1  skrll     do
   1287  1.1  skrll       eval ac_val=$`echo $ac_var`
   1288  1.1  skrll       echo "$ac_var='"'"'$ac_val'"'"'"
   1289  1.1  skrll     done | sort
   1290  1.1  skrll     echo
   1291  1.1  skrll 
   1292  1.1  skrll     if test -n "$ac_subst_files"; then
   1293  1.1  skrll       cat <<\_ASBOX
   1294  1.1  skrll ## ------------- ##
   1295  1.1  skrll ## Output files. ##
   1296  1.1  skrll ## ------------- ##
   1297  1.1  skrll _ASBOX
   1298  1.1  skrll       echo
   1299  1.1  skrll       for ac_var in $ac_subst_files
   1300  1.1  skrll       do
   1301  1.1  skrll 	eval ac_val=$`echo $ac_var`
   1302  1.1  skrll 	echo "$ac_var='"'"'$ac_val'"'"'"
   1303  1.1  skrll       done | sort
   1304  1.1  skrll       echo
   1305  1.1  skrll     fi
   1306  1.1  skrll 
   1307  1.1  skrll     if test -s confdefs.h; then
   1308  1.1  skrll       cat <<\_ASBOX
   1309  1.1  skrll ## ----------- ##
   1310  1.1  skrll ## confdefs.h. ##
   1311  1.1  skrll ## ----------- ##
   1312  1.1  skrll _ASBOX
   1313  1.1  skrll       echo
   1314  1.1  skrll       sed "/^$/d" confdefs.h | sort
   1315  1.1  skrll       echo
   1316  1.1  skrll     fi
   1317  1.1  skrll     test "$ac_signal" != 0 &&
   1318  1.1  skrll       echo "$as_me: caught signal $ac_signal"
   1319  1.1  skrll     echo "$as_me: exit $exit_status"
   1320  1.1  skrll   } >&5
   1321  1.1  skrll   rm -f core *.core &&
   1322  1.1  skrll   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1323  1.1  skrll     exit $exit_status
   1324  1.1  skrll      ' 0
   1325  1.1  skrll for ac_signal in 1 2 13 15; do
   1326  1.1  skrll   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1327  1.1  skrll done
   1328  1.1  skrll ac_signal=0
   1329  1.1  skrll 
   1330  1.1  skrll # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1331  1.1  skrll rm -rf conftest* confdefs.h
   1332  1.1  skrll # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1333  1.1  skrll echo >confdefs.h
   1334  1.1  skrll 
   1335  1.1  skrll # Predefined preprocessor variables.
   1336  1.1  skrll 
   1337  1.1  skrll cat >>confdefs.h <<_ACEOF
   1338  1.1  skrll #define PACKAGE_NAME "$PACKAGE_NAME"
   1339  1.1  skrll _ACEOF
   1340  1.1  skrll 
   1341  1.1  skrll 
   1342  1.1  skrll cat >>confdefs.h <<_ACEOF
   1343  1.1  skrll #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1344  1.1  skrll _ACEOF
   1345  1.1  skrll 
   1346  1.1  skrll 
   1347  1.1  skrll cat >>confdefs.h <<_ACEOF
   1348  1.1  skrll #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1349  1.1  skrll _ACEOF
   1350  1.1  skrll 
   1351  1.1  skrll 
   1352  1.1  skrll cat >>confdefs.h <<_ACEOF
   1353  1.1  skrll #define PACKAGE_STRING "$PACKAGE_STRING"
   1354  1.1  skrll _ACEOF
   1355  1.1  skrll 
   1356  1.1  skrll 
   1357  1.1  skrll cat >>confdefs.h <<_ACEOF
   1358  1.1  skrll #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1359  1.1  skrll _ACEOF
   1360  1.1  skrll 
   1361  1.1  skrll 
   1362  1.1  skrll # Let the site file select an alternate cache file if it wants to.
   1363  1.1  skrll # Prefer explicitly selected file to automatically selected ones.
   1364  1.1  skrll if test -z "$CONFIG_SITE"; then
   1365  1.1  skrll   if test "x$prefix" != xNONE; then
   1366  1.1  skrll     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1367  1.1  skrll   else
   1368  1.1  skrll     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1369  1.1  skrll   fi
   1370  1.1  skrll fi
   1371  1.1  skrll for ac_site_file in $CONFIG_SITE; do
   1372  1.1  skrll   if test -r "$ac_site_file"; then
   1373  1.1  skrll     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1374  1.1  skrll echo "$as_me: loading site script $ac_site_file" >&6;}
   1375  1.1  skrll     sed 's/^/| /' "$ac_site_file" >&5
   1376  1.1  skrll     . "$ac_site_file"
   1377  1.1  skrll   fi
   1378  1.1  skrll done
   1379  1.1  skrll 
   1380  1.1  skrll if test -r "$cache_file"; then
   1381  1.1  skrll   # Some versions of bash will fail to source /dev/null (special
   1382  1.1  skrll   # files actually), so we avoid doing that.
   1383  1.1  skrll   if test -f "$cache_file"; then
   1384  1.1  skrll     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1385  1.1  skrll echo "$as_me: loading cache $cache_file" >&6;}
   1386  1.1  skrll     case $cache_file in
   1387  1.1  skrll       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1388  1.1  skrll       *)                      . ./$cache_file;;
   1389  1.1  skrll     esac
   1390  1.1  skrll   fi
   1391  1.1  skrll else
   1392  1.1  skrll   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1393  1.1  skrll echo "$as_me: creating cache $cache_file" >&6;}
   1394  1.1  skrll   >$cache_file
   1395  1.1  skrll fi
   1396  1.1  skrll 
   1397  1.1  skrll # Check that the precious variables saved in the cache have kept the same
   1398  1.1  skrll # value.
   1399  1.1  skrll ac_cache_corrupted=false
   1400  1.1  skrll for ac_var in `(set) 2>&1 |
   1401  1.1  skrll 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1402  1.1  skrll   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1403  1.1  skrll   eval ac_new_set=\$ac_env_${ac_var}_set
   1404  1.1  skrll   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1405  1.1  skrll   eval ac_new_val="\$ac_env_${ac_var}_value"
   1406  1.1  skrll   case $ac_old_set,$ac_new_set in
   1407  1.1  skrll     set,)
   1408  1.1  skrll       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1409  1.1  skrll echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1410  1.1  skrll       ac_cache_corrupted=: ;;
   1411  1.1  skrll     ,set)
   1412  1.1  skrll       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1413  1.1  skrll echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1414  1.1  skrll       ac_cache_corrupted=: ;;
   1415  1.1  skrll     ,);;
   1416  1.1  skrll     *)
   1417  1.1  skrll       if test "x$ac_old_val" != "x$ac_new_val"; then
   1418  1.1  skrll         # differences in whitespace do not lead to failure.
   1419  1.1  skrll         ac_old_val_w=`echo x $ac_old_val`
   1420  1.1  skrll         ac_new_val_w=`echo x $ac_new_val`
   1421  1.1  skrll         if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1422  1.1  skrll           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1423  1.1  skrll echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1424  1.1  skrll           ac_cache_corrupted=:
   1425  1.1  skrll         else
   1426  1.1  skrll           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   1427  1.1  skrll echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   1428  1.1  skrll           eval $ac_var=\$ac_old_val
   1429  1.1  skrll         fi
   1430  1.1  skrll         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   1431  1.1  skrll echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   1432  1.1  skrll         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   1433  1.1  skrll echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   1434  1.1  skrll       fi;;
   1435  1.1  skrll   esac
   1436  1.1  skrll   # Pass precious variables to config.status.
   1437  1.1  skrll   if test "$ac_new_set" = set; then
   1438  1.1  skrll     case $ac_new_val in
   1439  1.1  skrll     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1440  1.1  skrll       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1441  1.1  skrll     *) ac_arg=$ac_var=$ac_new_val ;;
   1442  1.1  skrll     esac
   1443  1.1  skrll     case " $ac_configure_args " in
   1444  1.1  skrll       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1445  1.1  skrll       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1446  1.1  skrll     esac
   1447  1.1  skrll   fi
   1448  1.1  skrll done
   1449  1.1  skrll if $ac_cache_corrupted; then
   1450  1.1  skrll   { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   1451  1.1  skrll echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1452  1.1  skrll   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1453  1.1  skrll echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1454  1.1  skrll   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1455  1.1  skrll echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1456  1.1  skrll    { (exit 1); exit 1; }; }
   1457  1.1  skrll fi
   1458  1.1  skrll 
   1459  1.1  skrll ac_ext=c
   1460  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   1461  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1462  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1463  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1464  1.1  skrll 
   1465  1.1  skrll 
   1466  1.1  skrll 
   1467  1.1  skrll 
   1468  1.1  skrll 
   1469  1.1  skrll 
   1470  1.1  skrll 
   1471  1.1  skrll 
   1472  1.1  skrll 
   1473  1.1  skrll 
   1474  1.1  skrll 
   1475  1.1  skrll 
   1476  1.1  skrll 
   1477  1.1  skrll 
   1478  1.1  skrll 
   1479  1.1  skrll 
   1480  1.1  skrll 
   1481  1.1  skrll 
   1482  1.1  skrll 
   1483  1.1  skrll 
   1484  1.1  skrll 
   1485  1.1  skrll 
   1486  1.1  skrll 
   1487  1.1  skrll 
   1488  1.1  skrll ac_aux_dir=
   1489  1.1  skrll for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   1490  1.1  skrll   if test -f $ac_dir/install-sh; then
   1491  1.1  skrll     ac_aux_dir=$ac_dir
   1492  1.1  skrll     ac_install_sh="$ac_aux_dir/install-sh -c"
   1493  1.1  skrll     break
   1494  1.1  skrll   elif test -f $ac_dir/install.sh; then
   1495  1.1  skrll     ac_aux_dir=$ac_dir
   1496  1.1  skrll     ac_install_sh="$ac_aux_dir/install.sh -c"
   1497  1.1  skrll     break
   1498  1.1  skrll   elif test -f $ac_dir/shtool; then
   1499  1.1  skrll     ac_aux_dir=$ac_dir
   1500  1.1  skrll     ac_install_sh="$ac_aux_dir/shtool install -c"
   1501  1.1  skrll     break
   1502  1.1  skrll   fi
   1503  1.1  skrll done
   1504  1.1  skrll if test -z "$ac_aux_dir"; then
   1505  1.1  skrll   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   1506  1.1  skrll echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   1507  1.1  skrll    { (exit 1); exit 1; }; }
   1508  1.1  skrll fi
   1509  1.1  skrll ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   1510  1.1  skrll ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   1511  1.1  skrll ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   1512  1.1  skrll 
   1513  1.1  skrll # Make sure we can run config.sub.
   1514  1.1  skrll $ac_config_sub sun4 >/dev/null 2>&1 ||
   1515  1.1  skrll   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   1516  1.1  skrll echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   1517  1.1  skrll    { (exit 1); exit 1; }; }
   1518  1.1  skrll 
   1519  1.1  skrll echo "$as_me:$LINENO: checking build system type" >&5
   1520  1.1  skrll echo $ECHO_N "checking build system type... $ECHO_C" >&6
   1521  1.1  skrll if test "${ac_cv_build+set}" = set; then
   1522  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1523  1.1  skrll else
   1524  1.1  skrll   ac_cv_build_alias=$build_alias
   1525  1.1  skrll test -z "$ac_cv_build_alias" &&
   1526  1.1  skrll   ac_cv_build_alias=`$ac_config_guess`
   1527  1.1  skrll test -z "$ac_cv_build_alias" &&
   1528  1.1  skrll   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   1529  1.1  skrll echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   1530  1.1  skrll    { (exit 1); exit 1; }; }
   1531  1.1  skrll ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   1532  1.1  skrll   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   1533  1.1  skrll echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   1534  1.1  skrll    { (exit 1); exit 1; }; }
   1535  1.1  skrll 
   1536  1.1  skrll fi
   1537  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   1538  1.1  skrll echo "${ECHO_T}$ac_cv_build" >&6
   1539  1.1  skrll build=$ac_cv_build
   1540  1.1  skrll build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1541  1.1  skrll build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1542  1.1  skrll build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1543  1.1  skrll 
   1544  1.1  skrll 
   1545  1.1  skrll echo "$as_me:$LINENO: checking host system type" >&5
   1546  1.1  skrll echo $ECHO_N "checking host system type... $ECHO_C" >&6
   1547  1.1  skrll if test "${ac_cv_host+set}" = set; then
   1548  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1549  1.1  skrll else
   1550  1.1  skrll   ac_cv_host_alias=$host_alias
   1551  1.1  skrll test -z "$ac_cv_host_alias" &&
   1552  1.1  skrll   ac_cv_host_alias=$ac_cv_build_alias
   1553  1.1  skrll ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   1554  1.1  skrll   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   1555  1.1  skrll echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   1556  1.1  skrll    { (exit 1); exit 1; }; }
   1557  1.1  skrll 
   1558  1.1  skrll fi
   1559  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   1560  1.1  skrll echo "${ECHO_T}$ac_cv_host" >&6
   1561  1.1  skrll host=$ac_cv_host
   1562  1.1  skrll host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1563  1.1  skrll host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1564  1.1  skrll host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1565  1.1  skrll 
   1566  1.1  skrll 
   1567  1.1  skrll echo "$as_me:$LINENO: checking target system type" >&5
   1568  1.1  skrll echo $ECHO_N "checking target system type... $ECHO_C" >&6
   1569  1.1  skrll if test "${ac_cv_target+set}" = set; then
   1570  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1571  1.1  skrll else
   1572  1.1  skrll   ac_cv_target_alias=$target_alias
   1573  1.1  skrll test "x$ac_cv_target_alias" = "x" &&
   1574  1.1  skrll   ac_cv_target_alias=$ac_cv_host_alias
   1575  1.1  skrll ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
   1576  1.1  skrll   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
   1577  1.1  skrll echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
   1578  1.1  skrll    { (exit 1); exit 1; }; }
   1579  1.1  skrll 
   1580  1.1  skrll fi
   1581  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_target" >&5
   1582  1.1  skrll echo "${ECHO_T}$ac_cv_target" >&6
   1583  1.1  skrll target=$ac_cv_target
   1584  1.1  skrll target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1585  1.1  skrll target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1586  1.1  skrll target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1587  1.1  skrll 
   1588  1.1  skrll 
   1589  1.1  skrll # The aliases save the names the user supplied, while $host etc.
   1590  1.1  skrll # will get canonicalized.
   1591  1.1  skrll test -n "$target_alias" &&
   1592  1.1  skrll   test "$program_prefix$program_suffix$program_transform_name" = \
   1593  1.1  skrll     NONENONEs,x,x, &&
   1594  1.1  skrll   program_prefix=${target_alias}-
   1595  1.1  skrll ac_ext=c
   1596  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   1597  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1598  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1599  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1600  1.1  skrll if test -n "$ac_tool_prefix"; then
   1601  1.1  skrll   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   1602  1.1  skrll set dummy ${ac_tool_prefix}gcc; ac_word=$2
   1603  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   1604  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1605  1.1  skrll if test "${ac_cv_prog_CC+set}" = set; then
   1606  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1607  1.1  skrll else
   1608  1.1  skrll   if test -n "$CC"; then
   1609  1.1  skrll   ac_cv_prog_CC="$CC" # Let the user override the test.
   1610  1.1  skrll else
   1611  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1612  1.1  skrll for as_dir in $PATH
   1613  1.1  skrll do
   1614  1.1  skrll   IFS=$as_save_IFS
   1615  1.1  skrll   test -z "$as_dir" && as_dir=.
   1616  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   1617  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1618  1.1  skrll     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1619  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1620  1.1  skrll     break 2
   1621  1.1  skrll   fi
   1622  1.1  skrll done
   1623  1.1  skrll done
   1624  1.1  skrll 
   1625  1.1  skrll fi
   1626  1.1  skrll fi
   1627  1.1  skrll CC=$ac_cv_prog_CC
   1628  1.1  skrll if test -n "$CC"; then
   1629  1.1  skrll   echo "$as_me:$LINENO: result: $CC" >&5
   1630  1.1  skrll echo "${ECHO_T}$CC" >&6
   1631  1.1  skrll else
   1632  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   1633  1.1  skrll echo "${ECHO_T}no" >&6
   1634  1.1  skrll fi
   1635  1.1  skrll 
   1636  1.1  skrll fi
   1637  1.1  skrll if test -z "$ac_cv_prog_CC"; then
   1638  1.1  skrll   ac_ct_CC=$CC
   1639  1.1  skrll   # Extract the first word of "gcc", so it can be a program name with args.
   1640  1.1  skrll set dummy gcc; ac_word=$2
   1641  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   1642  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1643  1.1  skrll if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1644  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1645  1.1  skrll else
   1646  1.1  skrll   if test -n "$ac_ct_CC"; then
   1647  1.1  skrll   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1648  1.1  skrll else
   1649  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1650  1.1  skrll for as_dir in $PATH
   1651  1.1  skrll do
   1652  1.1  skrll   IFS=$as_save_IFS
   1653  1.1  skrll   test -z "$as_dir" && as_dir=.
   1654  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   1655  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1656  1.1  skrll     ac_cv_prog_ac_ct_CC="gcc"
   1657  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1658  1.1  skrll     break 2
   1659  1.1  skrll   fi
   1660  1.1  skrll done
   1661  1.1  skrll done
   1662  1.1  skrll 
   1663  1.1  skrll fi
   1664  1.1  skrll fi
   1665  1.1  skrll ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1666  1.1  skrll if test -n "$ac_ct_CC"; then
   1667  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1668  1.1  skrll echo "${ECHO_T}$ac_ct_CC" >&6
   1669  1.1  skrll else
   1670  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   1671  1.1  skrll echo "${ECHO_T}no" >&6
   1672  1.1  skrll fi
   1673  1.1  skrll 
   1674  1.1  skrll   CC=$ac_ct_CC
   1675  1.1  skrll else
   1676  1.1  skrll   CC="$ac_cv_prog_CC"
   1677  1.1  skrll fi
   1678  1.1  skrll 
   1679  1.1  skrll if test -z "$CC"; then
   1680  1.1  skrll   if test -n "$ac_tool_prefix"; then
   1681  1.1  skrll   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1682  1.1  skrll set dummy ${ac_tool_prefix}cc; ac_word=$2
   1683  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   1684  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1685  1.1  skrll if test "${ac_cv_prog_CC+set}" = set; then
   1686  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1687  1.1  skrll else
   1688  1.1  skrll   if test -n "$CC"; then
   1689  1.1  skrll   ac_cv_prog_CC="$CC" # Let the user override the test.
   1690  1.1  skrll else
   1691  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1692  1.1  skrll for as_dir in $PATH
   1693  1.1  skrll do
   1694  1.1  skrll   IFS=$as_save_IFS
   1695  1.1  skrll   test -z "$as_dir" && as_dir=.
   1696  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   1697  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1698  1.1  skrll     ac_cv_prog_CC="${ac_tool_prefix}cc"
   1699  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1700  1.1  skrll     break 2
   1701  1.1  skrll   fi
   1702  1.1  skrll done
   1703  1.1  skrll done
   1704  1.1  skrll 
   1705  1.1  skrll fi
   1706  1.1  skrll fi
   1707  1.1  skrll CC=$ac_cv_prog_CC
   1708  1.1  skrll if test -n "$CC"; then
   1709  1.1  skrll   echo "$as_me:$LINENO: result: $CC" >&5
   1710  1.1  skrll echo "${ECHO_T}$CC" >&6
   1711  1.1  skrll else
   1712  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   1713  1.1  skrll echo "${ECHO_T}no" >&6
   1714  1.1  skrll fi
   1715  1.1  skrll 
   1716  1.1  skrll fi
   1717  1.1  skrll if test -z "$ac_cv_prog_CC"; then
   1718  1.1  skrll   ac_ct_CC=$CC
   1719  1.1  skrll   # Extract the first word of "cc", so it can be a program name with args.
   1720  1.1  skrll set dummy cc; ac_word=$2
   1721  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   1722  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1723  1.1  skrll if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1724  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1725  1.1  skrll else
   1726  1.1  skrll   if test -n "$ac_ct_CC"; then
   1727  1.1  skrll   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1728  1.1  skrll else
   1729  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1730  1.1  skrll for as_dir in $PATH
   1731  1.1  skrll do
   1732  1.1  skrll   IFS=$as_save_IFS
   1733  1.1  skrll   test -z "$as_dir" && as_dir=.
   1734  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   1735  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1736  1.1  skrll     ac_cv_prog_ac_ct_CC="cc"
   1737  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1738  1.1  skrll     break 2
   1739  1.1  skrll   fi
   1740  1.1  skrll done
   1741  1.1  skrll done
   1742  1.1  skrll 
   1743  1.1  skrll fi
   1744  1.1  skrll fi
   1745  1.1  skrll ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1746  1.1  skrll if test -n "$ac_ct_CC"; then
   1747  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1748  1.1  skrll echo "${ECHO_T}$ac_ct_CC" >&6
   1749  1.1  skrll else
   1750  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   1751  1.1  skrll echo "${ECHO_T}no" >&6
   1752  1.1  skrll fi
   1753  1.1  skrll 
   1754  1.1  skrll   CC=$ac_ct_CC
   1755  1.1  skrll else
   1756  1.1  skrll   CC="$ac_cv_prog_CC"
   1757  1.1  skrll fi
   1758  1.1  skrll 
   1759  1.1  skrll fi
   1760  1.1  skrll if test -z "$CC"; then
   1761  1.1  skrll   # Extract the first word of "cc", so it can be a program name with args.
   1762  1.1  skrll set dummy cc; ac_word=$2
   1763  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   1764  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1765  1.1  skrll if test "${ac_cv_prog_CC+set}" = set; then
   1766  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1767  1.1  skrll else
   1768  1.1  skrll   if test -n "$CC"; then
   1769  1.1  skrll   ac_cv_prog_CC="$CC" # Let the user override the test.
   1770  1.1  skrll else
   1771  1.1  skrll   ac_prog_rejected=no
   1772  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1773  1.1  skrll for as_dir in $PATH
   1774  1.1  skrll do
   1775  1.1  skrll   IFS=$as_save_IFS
   1776  1.1  skrll   test -z "$as_dir" && as_dir=.
   1777  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   1778  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1779  1.1  skrll     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   1780  1.1  skrll        ac_prog_rejected=yes
   1781  1.1  skrll        continue
   1782  1.1  skrll      fi
   1783  1.1  skrll     ac_cv_prog_CC="cc"
   1784  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1785  1.1  skrll     break 2
   1786  1.1  skrll   fi
   1787  1.1  skrll done
   1788  1.1  skrll done
   1789  1.1  skrll 
   1790  1.1  skrll if test $ac_prog_rejected = yes; then
   1791  1.1  skrll   # We found a bogon in the path, so make sure we never use it.
   1792  1.1  skrll   set dummy $ac_cv_prog_CC
   1793  1.1  skrll   shift
   1794  1.1  skrll   if test $# != 0; then
   1795  1.1  skrll     # We chose a different compiler from the bogus one.
   1796  1.1  skrll     # However, it has the same basename, so the bogon will be chosen
   1797  1.1  skrll     # first if we set CC to just the basename; use the full file name.
   1798  1.1  skrll     shift
   1799  1.1  skrll     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   1800  1.1  skrll   fi
   1801  1.1  skrll fi
   1802  1.1  skrll fi
   1803  1.1  skrll fi
   1804  1.1  skrll CC=$ac_cv_prog_CC
   1805  1.1  skrll if test -n "$CC"; then
   1806  1.1  skrll   echo "$as_me:$LINENO: result: $CC" >&5
   1807  1.1  skrll echo "${ECHO_T}$CC" >&6
   1808  1.1  skrll else
   1809  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   1810  1.1  skrll echo "${ECHO_T}no" >&6
   1811  1.1  skrll fi
   1812  1.1  skrll 
   1813  1.1  skrll fi
   1814  1.1  skrll if test -z "$CC"; then
   1815  1.1  skrll   if test -n "$ac_tool_prefix"; then
   1816  1.1  skrll   for ac_prog in cl
   1817  1.1  skrll   do
   1818  1.1  skrll     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1819  1.1  skrll set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1820  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   1821  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1822  1.1  skrll if test "${ac_cv_prog_CC+set}" = set; then
   1823  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1824  1.1  skrll else
   1825  1.1  skrll   if test -n "$CC"; then
   1826  1.1  skrll   ac_cv_prog_CC="$CC" # Let the user override the test.
   1827  1.1  skrll else
   1828  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1829  1.1  skrll for as_dir in $PATH
   1830  1.1  skrll do
   1831  1.1  skrll   IFS=$as_save_IFS
   1832  1.1  skrll   test -z "$as_dir" && as_dir=.
   1833  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   1834  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1835  1.1  skrll     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1836  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1837  1.1  skrll     break 2
   1838  1.1  skrll   fi
   1839  1.1  skrll done
   1840  1.1  skrll done
   1841  1.1  skrll 
   1842  1.1  skrll fi
   1843  1.1  skrll fi
   1844  1.1  skrll CC=$ac_cv_prog_CC
   1845  1.1  skrll if test -n "$CC"; then
   1846  1.1  skrll   echo "$as_me:$LINENO: result: $CC" >&5
   1847  1.1  skrll echo "${ECHO_T}$CC" >&6
   1848  1.1  skrll else
   1849  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   1850  1.1  skrll echo "${ECHO_T}no" >&6
   1851  1.1  skrll fi
   1852  1.1  skrll 
   1853  1.1  skrll     test -n "$CC" && break
   1854  1.1  skrll   done
   1855  1.1  skrll fi
   1856  1.1  skrll if test -z "$CC"; then
   1857  1.1  skrll   ac_ct_CC=$CC
   1858  1.1  skrll   for ac_prog in cl
   1859  1.1  skrll do
   1860  1.1  skrll   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1861  1.1  skrll set dummy $ac_prog; ac_word=$2
   1862  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   1863  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1864  1.1  skrll if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1865  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   1866  1.1  skrll else
   1867  1.1  skrll   if test -n "$ac_ct_CC"; then
   1868  1.1  skrll   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1869  1.1  skrll else
   1870  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1871  1.1  skrll for as_dir in $PATH
   1872  1.1  skrll do
   1873  1.1  skrll   IFS=$as_save_IFS
   1874  1.1  skrll   test -z "$as_dir" && as_dir=.
   1875  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   1876  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1877  1.1  skrll     ac_cv_prog_ac_ct_CC="$ac_prog"
   1878  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1879  1.1  skrll     break 2
   1880  1.1  skrll   fi
   1881  1.1  skrll done
   1882  1.1  skrll done
   1883  1.1  skrll 
   1884  1.1  skrll fi
   1885  1.1  skrll fi
   1886  1.1  skrll ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1887  1.1  skrll if test -n "$ac_ct_CC"; then
   1888  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1889  1.1  skrll echo "${ECHO_T}$ac_ct_CC" >&6
   1890  1.1  skrll else
   1891  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   1892  1.1  skrll echo "${ECHO_T}no" >&6
   1893  1.1  skrll fi
   1894  1.1  skrll 
   1895  1.1  skrll   test -n "$ac_ct_CC" && break
   1896  1.1  skrll done
   1897  1.1  skrll 
   1898  1.1  skrll   CC=$ac_ct_CC
   1899  1.1  skrll fi
   1900  1.1  skrll 
   1901  1.1  skrll fi
   1902  1.1  skrll 
   1903  1.1  skrll 
   1904  1.1  skrll test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   1905  1.1  skrll echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1906  1.1  skrll { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   1907  1.1  skrll See \`config.log' for more details." >&5
   1908  1.1  skrll echo "$as_me: error: no acceptable C compiler found in \$PATH
   1909  1.1  skrll See \`config.log' for more details." >&2;}
   1910  1.1  skrll    { (exit 1); exit 1; }; }; }
   1911  1.1  skrll 
   1912  1.1  skrll # Provide some information about the compiler.
   1913  1.1  skrll echo "$as_me:$LINENO:" \
   1914  1.1  skrll      "checking for C compiler version" >&5
   1915  1.1  skrll ac_compiler=`set X $ac_compile; echo $2`
   1916  1.1  skrll { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   1917  1.1  skrll   (eval $ac_compiler --version </dev/null >&5) 2>&5
   1918  1.1  skrll   ac_status=$?
   1919  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1920  1.1  skrll   (exit $ac_status); }
   1921  1.1  skrll { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   1922  1.1  skrll   (eval $ac_compiler -v </dev/null >&5) 2>&5
   1923  1.1  skrll   ac_status=$?
   1924  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1925  1.1  skrll   (exit $ac_status); }
   1926  1.1  skrll { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   1927  1.1  skrll   (eval $ac_compiler -V </dev/null >&5) 2>&5
   1928  1.1  skrll   ac_status=$?
   1929  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1930  1.1  skrll   (exit $ac_status); }
   1931  1.1  skrll 
   1932  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   1933  1.1  skrll /* confdefs.h.  */
   1934  1.1  skrll _ACEOF
   1935  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   1936  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   1937  1.1  skrll /* end confdefs.h.  */
   1938  1.1  skrll 
   1939  1.1  skrll int
   1940  1.1  skrll main ()
   1941  1.1  skrll {
   1942  1.1  skrll 
   1943  1.1  skrll   ;
   1944  1.1  skrll   return 0;
   1945  1.1  skrll }
   1946  1.1  skrll _ACEOF
   1947  1.1  skrll ac_clean_files_save=$ac_clean_files
   1948  1.1  skrll ac_clean_files="$ac_clean_files a.out a.exe b.out"
   1949  1.1  skrll # Try to create an executable without -o first, disregard a.out.
   1950  1.1  skrll # It will help us diagnose broken compilers, and finding out an intuition
   1951  1.1  skrll # of exeext.
   1952  1.1  skrll echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   1953  1.1  skrll echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   1954  1.1  skrll ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   1955  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   1956  1.1  skrll   (eval $ac_link_default) 2>&5
   1957  1.1  skrll   ac_status=$?
   1958  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1959  1.1  skrll   (exit $ac_status); }; then
   1960  1.1  skrll   # Find the output, starting from the most likely.  This scheme is
   1961  1.1  skrll # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   1962  1.1  skrll # resort.
   1963  1.1  skrll 
   1964  1.1  skrll # Be careful to initialize this variable, since it used to be cached.
   1965  1.1  skrll # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   1966  1.1  skrll ac_cv_exeext=
   1967  1.1  skrll # b.out is created by i960 compilers.
   1968  1.1  skrll for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   1969  1.1  skrll do
   1970  1.1  skrll   test -f "$ac_file" || continue
   1971  1.1  skrll   case $ac_file in
   1972  1.1  skrll     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   1973  1.1  skrll 	;;
   1974  1.1  skrll     conftest.$ac_ext )
   1975  1.1  skrll 	# This is the source file.
   1976  1.1  skrll 	;;
   1977  1.1  skrll     [ab].out )
   1978  1.1  skrll 	# We found the default executable, but exeext='' is most
   1979  1.1  skrll 	# certainly right.
   1980  1.1  skrll 	break;;
   1981  1.1  skrll     *.* )
   1982  1.1  skrll 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1983  1.1  skrll 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   1984  1.1  skrll 	# but it would be cool to find out if it's true.  Does anybody
   1985  1.1  skrll 	# maintain Libtool? --akim.
   1986  1.1  skrll 	export ac_cv_exeext
   1987  1.1  skrll 	break;;
   1988  1.1  skrll     * )
   1989  1.1  skrll 	break;;
   1990  1.1  skrll   esac
   1991  1.1  skrll done
   1992  1.1  skrll else
   1993  1.1  skrll   echo "$as_me: failed program was:" >&5
   1994  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   1995  1.1  skrll 
   1996  1.1  skrll { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   1997  1.1  skrll echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1998  1.1  skrll { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   1999  1.1  skrll See \`config.log' for more details." >&5
   2000  1.1  skrll echo "$as_me: error: C compiler cannot create executables
   2001  1.1  skrll See \`config.log' for more details." >&2;}
   2002  1.1  skrll    { (exit 77); exit 77; }; }; }
   2003  1.1  skrll fi
   2004  1.1  skrll 
   2005  1.1  skrll ac_exeext=$ac_cv_exeext
   2006  1.1  skrll echo "$as_me:$LINENO: result: $ac_file" >&5
   2007  1.1  skrll echo "${ECHO_T}$ac_file" >&6
   2008  1.1  skrll 
   2009  1.1  skrll # Check the compiler produces executables we can run.  If not, either
   2010  1.1  skrll # the compiler is broken, or we cross compile.
   2011  1.1  skrll echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2012  1.1  skrll echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   2013  1.1  skrll # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2014  1.1  skrll # If not cross compiling, check that we can run a simple program.
   2015  1.1  skrll if test "$cross_compiling" != yes; then
   2016  1.1  skrll   if { ac_try='./$ac_file'
   2017  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2018  1.1  skrll   (eval $ac_try) 2>&5
   2019  1.1  skrll   ac_status=$?
   2020  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2021  1.1  skrll   (exit $ac_status); }; }; then
   2022  1.1  skrll     cross_compiling=no
   2023  1.1  skrll   else
   2024  1.1  skrll     if test "$cross_compiling" = maybe; then
   2025  1.1  skrll 	cross_compiling=yes
   2026  1.1  skrll     else
   2027  1.1  skrll 	{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2028  1.1  skrll echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2029  1.1  skrll { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2030  1.1  skrll If you meant to cross compile, use \`--host'.
   2031  1.1  skrll See \`config.log' for more details." >&5
   2032  1.1  skrll echo "$as_me: error: cannot run C compiled programs.
   2033  1.1  skrll If you meant to cross compile, use \`--host'.
   2034  1.1  skrll See \`config.log' for more details." >&2;}
   2035  1.1  skrll    { (exit 1); exit 1; }; }; }
   2036  1.1  skrll     fi
   2037  1.1  skrll   fi
   2038  1.1  skrll fi
   2039  1.1  skrll echo "$as_me:$LINENO: result: yes" >&5
   2040  1.1  skrll echo "${ECHO_T}yes" >&6
   2041  1.1  skrll 
   2042  1.1  skrll rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2043  1.1  skrll ac_clean_files=$ac_clean_files_save
   2044  1.1  skrll # Check the compiler produces executables we can run.  If not, either
   2045  1.1  skrll # the compiler is broken, or we cross compile.
   2046  1.1  skrll echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2047  1.1  skrll echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   2048  1.1  skrll echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2049  1.1  skrll echo "${ECHO_T}$cross_compiling" >&6
   2050  1.1  skrll 
   2051  1.1  skrll echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2052  1.1  skrll echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   2053  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2054  1.1  skrll   (eval $ac_link) 2>&5
   2055  1.1  skrll   ac_status=$?
   2056  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2057  1.1  skrll   (exit $ac_status); }; then
   2058  1.1  skrll   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2059  1.1  skrll # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2060  1.1  skrll # work properly (i.e., refer to `conftest.exe'), while it won't with
   2061  1.1  skrll # `rm'.
   2062  1.1  skrll for ac_file in conftest.exe conftest conftest.*; do
   2063  1.1  skrll   test -f "$ac_file" || continue
   2064  1.1  skrll   case $ac_file in
   2065  1.1  skrll     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   2066  1.1  skrll     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2067  1.1  skrll 	  export ac_cv_exeext
   2068  1.1  skrll 	  break;;
   2069  1.1  skrll     * ) break;;
   2070  1.1  skrll   esac
   2071  1.1  skrll done
   2072  1.1  skrll else
   2073  1.1  skrll   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2074  1.1  skrll echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2075  1.1  skrll { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2076  1.1  skrll See \`config.log' for more details." >&5
   2077  1.1  skrll echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2078  1.1  skrll See \`config.log' for more details." >&2;}
   2079  1.1  skrll    { (exit 1); exit 1; }; }; }
   2080  1.1  skrll fi
   2081  1.1  skrll 
   2082  1.1  skrll rm -f conftest$ac_cv_exeext
   2083  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2084  1.1  skrll echo "${ECHO_T}$ac_cv_exeext" >&6
   2085  1.1  skrll 
   2086  1.1  skrll rm -f conftest.$ac_ext
   2087  1.1  skrll EXEEXT=$ac_cv_exeext
   2088  1.1  skrll ac_exeext=$EXEEXT
   2089  1.1  skrll echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2090  1.1  skrll echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   2091  1.1  skrll if test "${ac_cv_objext+set}" = set; then
   2092  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   2093  1.1  skrll else
   2094  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   2095  1.1  skrll /* confdefs.h.  */
   2096  1.1  skrll _ACEOF
   2097  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   2098  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   2099  1.1  skrll /* end confdefs.h.  */
   2100  1.1  skrll 
   2101  1.1  skrll int
   2102  1.1  skrll main ()
   2103  1.1  skrll {
   2104  1.1  skrll 
   2105  1.1  skrll   ;
   2106  1.1  skrll   return 0;
   2107  1.1  skrll }
   2108  1.1  skrll _ACEOF
   2109  1.1  skrll rm -f conftest.o conftest.obj
   2110  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2111  1.1  skrll   (eval $ac_compile) 2>&5
   2112  1.1  skrll   ac_status=$?
   2113  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2114  1.1  skrll   (exit $ac_status); }; then
   2115  1.1  skrll   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   2116  1.1  skrll   case $ac_file in
   2117  1.1  skrll     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   2118  1.1  skrll     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2119  1.1  skrll        break;;
   2120  1.1  skrll   esac
   2121  1.1  skrll done
   2122  1.1  skrll else
   2123  1.1  skrll   echo "$as_me: failed program was:" >&5
   2124  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   2125  1.1  skrll 
   2126  1.1  skrll { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2127  1.1  skrll echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2128  1.1  skrll { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2129  1.1  skrll See \`config.log' for more details." >&5
   2130  1.1  skrll echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2131  1.1  skrll See \`config.log' for more details." >&2;}
   2132  1.1  skrll    { (exit 1); exit 1; }; }; }
   2133  1.1  skrll fi
   2134  1.1  skrll 
   2135  1.1  skrll rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2136  1.1  skrll fi
   2137  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2138  1.1  skrll echo "${ECHO_T}$ac_cv_objext" >&6
   2139  1.1  skrll OBJEXT=$ac_cv_objext
   2140  1.1  skrll ac_objext=$OBJEXT
   2141  1.1  skrll echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2142  1.1  skrll echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   2143  1.1  skrll if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2144  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   2145  1.1  skrll else
   2146  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   2147  1.1  skrll /* confdefs.h.  */
   2148  1.1  skrll _ACEOF
   2149  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   2150  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   2151  1.1  skrll /* end confdefs.h.  */
   2152  1.1  skrll 
   2153  1.1  skrll int
   2154  1.1  skrll main ()
   2155  1.1  skrll {
   2156  1.1  skrll #ifndef __GNUC__
   2157  1.1  skrll        choke me
   2158  1.1  skrll #endif
   2159  1.1  skrll 
   2160  1.1  skrll   ;
   2161  1.1  skrll   return 0;
   2162  1.1  skrll }
   2163  1.1  skrll _ACEOF
   2164  1.1  skrll rm -f conftest.$ac_objext
   2165  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2166  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   2167  1.1  skrll   ac_status=$?
   2168  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   2169  1.1  skrll   rm -f conftest.er1
   2170  1.1  skrll   cat conftest.err >&5
   2171  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2172  1.1  skrll   (exit $ac_status); } &&
   2173  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   2174  1.1  skrll 			 || test ! -s conftest.err'
   2175  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2176  1.1  skrll   (eval $ac_try) 2>&5
   2177  1.1  skrll   ac_status=$?
   2178  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2179  1.1  skrll   (exit $ac_status); }; } &&
   2180  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   2181  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2182  1.1  skrll   (eval $ac_try) 2>&5
   2183  1.1  skrll   ac_status=$?
   2184  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2185  1.1  skrll   (exit $ac_status); }; }; then
   2186  1.1  skrll   ac_compiler_gnu=yes
   2187  1.1  skrll else
   2188  1.1  skrll   echo "$as_me: failed program was:" >&5
   2189  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   2190  1.1  skrll 
   2191  1.1  skrll ac_compiler_gnu=no
   2192  1.1  skrll fi
   2193  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2194  1.1  skrll ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2195  1.1  skrll 
   2196  1.1  skrll fi
   2197  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2198  1.1  skrll echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   2199  1.1  skrll GCC=`test $ac_compiler_gnu = yes && echo yes`
   2200  1.1  skrll ac_test_CFLAGS=${CFLAGS+set}
   2201  1.1  skrll ac_save_CFLAGS=$CFLAGS
   2202  1.1  skrll CFLAGS="-g"
   2203  1.1  skrll echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2204  1.1  skrll echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   2205  1.1  skrll if test "${ac_cv_prog_cc_g+set}" = set; then
   2206  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   2207  1.1  skrll else
   2208  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   2209  1.1  skrll /* confdefs.h.  */
   2210  1.1  skrll _ACEOF
   2211  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   2212  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   2213  1.1  skrll /* end confdefs.h.  */
   2214  1.1  skrll 
   2215  1.1  skrll int
   2216  1.1  skrll main ()
   2217  1.1  skrll {
   2218  1.1  skrll 
   2219  1.1  skrll   ;
   2220  1.1  skrll   return 0;
   2221  1.1  skrll }
   2222  1.1  skrll _ACEOF
   2223  1.1  skrll rm -f conftest.$ac_objext
   2224  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2225  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   2226  1.1  skrll   ac_status=$?
   2227  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   2228  1.1  skrll   rm -f conftest.er1
   2229  1.1  skrll   cat conftest.err >&5
   2230  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2231  1.1  skrll   (exit $ac_status); } &&
   2232  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   2233  1.1  skrll 			 || test ! -s conftest.err'
   2234  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2235  1.1  skrll   (eval $ac_try) 2>&5
   2236  1.1  skrll   ac_status=$?
   2237  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2238  1.1  skrll   (exit $ac_status); }; } &&
   2239  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   2240  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2241  1.1  skrll   (eval $ac_try) 2>&5
   2242  1.1  skrll   ac_status=$?
   2243  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2244  1.1  skrll   (exit $ac_status); }; }; then
   2245  1.1  skrll   ac_cv_prog_cc_g=yes
   2246  1.1  skrll else
   2247  1.1  skrll   echo "$as_me: failed program was:" >&5
   2248  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   2249  1.1  skrll 
   2250  1.1  skrll ac_cv_prog_cc_g=no
   2251  1.1  skrll fi
   2252  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2253  1.1  skrll fi
   2254  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2255  1.1  skrll echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   2256  1.1  skrll if test "$ac_test_CFLAGS" = set; then
   2257  1.1  skrll   CFLAGS=$ac_save_CFLAGS
   2258  1.1  skrll elif test $ac_cv_prog_cc_g = yes; then
   2259  1.1  skrll   if test "$GCC" = yes; then
   2260  1.1  skrll     CFLAGS="-g -O2"
   2261  1.1  skrll   else
   2262  1.1  skrll     CFLAGS="-g"
   2263  1.1  skrll   fi
   2264  1.1  skrll else
   2265  1.1  skrll   if test "$GCC" = yes; then
   2266  1.1  skrll     CFLAGS="-O2"
   2267  1.1  skrll   else
   2268  1.1  skrll     CFLAGS=
   2269  1.1  skrll   fi
   2270  1.1  skrll fi
   2271  1.1  skrll echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   2272  1.1  skrll echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   2273  1.1  skrll if test "${ac_cv_prog_cc_stdc+set}" = set; then
   2274  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   2275  1.1  skrll else
   2276  1.1  skrll   ac_cv_prog_cc_stdc=no
   2277  1.1  skrll ac_save_CC=$CC
   2278  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   2279  1.1  skrll /* confdefs.h.  */
   2280  1.1  skrll _ACEOF
   2281  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   2282  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   2283  1.1  skrll /* end confdefs.h.  */
   2284  1.1  skrll #include <stdarg.h>
   2285  1.1  skrll #include <stdio.h>
   2286  1.1  skrll #include <sys/types.h>
   2287  1.1  skrll #include <sys/stat.h>
   2288  1.1  skrll /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2289  1.1  skrll struct buf { int x; };
   2290  1.1  skrll FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2291  1.1  skrll static char *e (p, i)
   2292  1.1  skrll      char **p;
   2293  1.1  skrll      int i;
   2294  1.1  skrll {
   2295  1.1  skrll   return p[i];
   2296  1.1  skrll }
   2297  1.1  skrll static char *f (char * (*g) (char **, int), char **p, ...)
   2298  1.1  skrll {
   2299  1.1  skrll   char *s;
   2300  1.1  skrll   va_list v;
   2301  1.1  skrll   va_start (v,p);
   2302  1.1  skrll   s = g (p, va_arg (v,int));
   2303  1.1  skrll   va_end (v);
   2304  1.1  skrll   return s;
   2305  1.1  skrll }
   2306  1.1  skrll 
   2307  1.1  skrll /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2308  1.1  skrll    function prototypes and stuff, but not '\xHH' hex character constants.
   2309  1.1  skrll    These don't provoke an error unfortunately, instead are silently treated
   2310  1.1  skrll    as 'x'.  The following induces an error, until -std1 is added to get
   2311  1.1  skrll    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2312  1.1  skrll    array size at least.  It's necessary to write '\x00'==0 to get something
   2313  1.1  skrll    that's true only with -std1.  */
   2314  1.1  skrll int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2315  1.1  skrll 
   2316  1.1  skrll int test (int i, double x);
   2317  1.1  skrll struct s1 {int (*f) (int a);};
   2318  1.1  skrll struct s2 {int (*f) (double a);};
   2319  1.1  skrll int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2320  1.1  skrll int argc;
   2321  1.1  skrll char **argv;
   2322  1.1  skrll int
   2323  1.1  skrll main ()
   2324  1.1  skrll {
   2325  1.1  skrll return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2326  1.1  skrll   ;
   2327  1.1  skrll   return 0;
   2328  1.1  skrll }
   2329  1.1  skrll _ACEOF
   2330  1.1  skrll # Don't try gcc -ansi; that turns off useful extensions and
   2331  1.1  skrll # breaks some systems' header files.
   2332  1.1  skrll # AIX			-qlanglvl=ansi
   2333  1.1  skrll # Ultrix and OSF/1	-std1
   2334  1.1  skrll # HP-UX 10.20 and later	-Ae
   2335  1.1  skrll # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2336  1.1  skrll # SVR4			-Xc -D__EXTENSIONS__
   2337  1.1  skrll for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2338  1.1  skrll do
   2339  1.1  skrll   CC="$ac_save_CC $ac_arg"
   2340  1.1  skrll   rm -f conftest.$ac_objext
   2341  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2342  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   2343  1.1  skrll   ac_status=$?
   2344  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   2345  1.1  skrll   rm -f conftest.er1
   2346  1.1  skrll   cat conftest.err >&5
   2347  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2348  1.1  skrll   (exit $ac_status); } &&
   2349  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   2350  1.1  skrll 			 || test ! -s conftest.err'
   2351  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2352  1.1  skrll   (eval $ac_try) 2>&5
   2353  1.1  skrll   ac_status=$?
   2354  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2355  1.1  skrll   (exit $ac_status); }; } &&
   2356  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   2357  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2358  1.1  skrll   (eval $ac_try) 2>&5
   2359  1.1  skrll   ac_status=$?
   2360  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2361  1.1  skrll   (exit $ac_status); }; }; then
   2362  1.1  skrll   ac_cv_prog_cc_stdc=$ac_arg
   2363  1.1  skrll break
   2364  1.1  skrll else
   2365  1.1  skrll   echo "$as_me: failed program was:" >&5
   2366  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   2367  1.1  skrll 
   2368  1.1  skrll fi
   2369  1.1  skrll rm -f conftest.err conftest.$ac_objext
   2370  1.1  skrll done
   2371  1.1  skrll rm -f conftest.$ac_ext conftest.$ac_objext
   2372  1.1  skrll CC=$ac_save_CC
   2373  1.1  skrll 
   2374  1.1  skrll fi
   2375  1.1  skrll 
   2376  1.1  skrll case "x$ac_cv_prog_cc_stdc" in
   2377  1.1  skrll   x|xno)
   2378  1.1  skrll     echo "$as_me:$LINENO: result: none needed" >&5
   2379  1.1  skrll echo "${ECHO_T}none needed" >&6 ;;
   2380  1.1  skrll   *)
   2381  1.1  skrll     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2382  1.1  skrll echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2383  1.1  skrll     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2384  1.1  skrll esac
   2385  1.1  skrll 
   2386  1.1  skrll # Some people use a C++ compiler to compile C.  Since we use `exit',
   2387  1.1  skrll # in C++ we need to declare it.  In case someone uses the same compiler
   2388  1.1  skrll # for both compiling C and C++ we need to have the C++ compiler decide
   2389  1.1  skrll # the declaration of exit, since it's the most demanding environment.
   2390  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   2391  1.1  skrll #ifndef __cplusplus
   2392  1.1  skrll   choke me
   2393  1.1  skrll #endif
   2394  1.1  skrll _ACEOF
   2395  1.1  skrll rm -f conftest.$ac_objext
   2396  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2397  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   2398  1.1  skrll   ac_status=$?
   2399  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   2400  1.1  skrll   rm -f conftest.er1
   2401  1.1  skrll   cat conftest.err >&5
   2402  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2403  1.1  skrll   (exit $ac_status); } &&
   2404  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   2405  1.1  skrll 			 || test ! -s conftest.err'
   2406  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2407  1.1  skrll   (eval $ac_try) 2>&5
   2408  1.1  skrll   ac_status=$?
   2409  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2410  1.1  skrll   (exit $ac_status); }; } &&
   2411  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   2412  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2413  1.1  skrll   (eval $ac_try) 2>&5
   2414  1.1  skrll   ac_status=$?
   2415  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2416  1.1  skrll   (exit $ac_status); }; }; then
   2417  1.1  skrll   for ac_declaration in \
   2418  1.1  skrll    '' \
   2419  1.1  skrll    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2420  1.1  skrll    'extern "C" void std::exit (int); using std::exit;' \
   2421  1.1  skrll    'extern "C" void exit (int) throw ();' \
   2422  1.1  skrll    'extern "C" void exit (int);' \
   2423  1.1  skrll    'void exit (int);'
   2424  1.1  skrll do
   2425  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   2426  1.1  skrll /* confdefs.h.  */
   2427  1.1  skrll _ACEOF
   2428  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   2429  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   2430  1.1  skrll /* end confdefs.h.  */
   2431  1.1  skrll $ac_declaration
   2432  1.1  skrll #include <stdlib.h>
   2433  1.1  skrll int
   2434  1.1  skrll main ()
   2435  1.1  skrll {
   2436  1.1  skrll exit (42);
   2437  1.1  skrll   ;
   2438  1.1  skrll   return 0;
   2439  1.1  skrll }
   2440  1.1  skrll _ACEOF
   2441  1.1  skrll rm -f conftest.$ac_objext
   2442  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2443  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   2444  1.1  skrll   ac_status=$?
   2445  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   2446  1.1  skrll   rm -f conftest.er1
   2447  1.1  skrll   cat conftest.err >&5
   2448  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2449  1.1  skrll   (exit $ac_status); } &&
   2450  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   2451  1.1  skrll 			 || test ! -s conftest.err'
   2452  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2453  1.1  skrll   (eval $ac_try) 2>&5
   2454  1.1  skrll   ac_status=$?
   2455  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2456  1.1  skrll   (exit $ac_status); }; } &&
   2457  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   2458  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2459  1.1  skrll   (eval $ac_try) 2>&5
   2460  1.1  skrll   ac_status=$?
   2461  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2462  1.1  skrll   (exit $ac_status); }; }; then
   2463  1.1  skrll   :
   2464  1.1  skrll else
   2465  1.1  skrll   echo "$as_me: failed program was:" >&5
   2466  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   2467  1.1  skrll 
   2468  1.1  skrll continue
   2469  1.1  skrll fi
   2470  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2471  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   2472  1.1  skrll /* confdefs.h.  */
   2473  1.1  skrll _ACEOF
   2474  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   2475  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   2476  1.1  skrll /* end confdefs.h.  */
   2477  1.1  skrll $ac_declaration
   2478  1.1  skrll int
   2479  1.1  skrll main ()
   2480  1.1  skrll {
   2481  1.1  skrll exit (42);
   2482  1.1  skrll   ;
   2483  1.1  skrll   return 0;
   2484  1.1  skrll }
   2485  1.1  skrll _ACEOF
   2486  1.1  skrll rm -f conftest.$ac_objext
   2487  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2488  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   2489  1.1  skrll   ac_status=$?
   2490  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   2491  1.1  skrll   rm -f conftest.er1
   2492  1.1  skrll   cat conftest.err >&5
   2493  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2494  1.1  skrll   (exit $ac_status); } &&
   2495  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   2496  1.1  skrll 			 || test ! -s conftest.err'
   2497  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2498  1.1  skrll   (eval $ac_try) 2>&5
   2499  1.1  skrll   ac_status=$?
   2500  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2501  1.1  skrll   (exit $ac_status); }; } &&
   2502  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   2503  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2504  1.1  skrll   (eval $ac_try) 2>&5
   2505  1.1  skrll   ac_status=$?
   2506  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2507  1.1  skrll   (exit $ac_status); }; }; then
   2508  1.1  skrll   break
   2509  1.1  skrll else
   2510  1.1  skrll   echo "$as_me: failed program was:" >&5
   2511  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   2512  1.1  skrll 
   2513  1.1  skrll fi
   2514  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2515  1.1  skrll done
   2516  1.1  skrll rm -f conftest*
   2517  1.1  skrll if test -n "$ac_declaration"; then
   2518  1.1  skrll   echo '#ifdef __cplusplus' >>confdefs.h
   2519  1.1  skrll   echo $ac_declaration      >>confdefs.h
   2520  1.1  skrll   echo '#endif'             >>confdefs.h
   2521  1.1  skrll fi
   2522  1.1  skrll 
   2523  1.1  skrll else
   2524  1.1  skrll   echo "$as_me: failed program was:" >&5
   2525  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   2526  1.1  skrll 
   2527  1.1  skrll fi
   2528  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2529  1.1  skrll ac_ext=c
   2530  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   2531  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2532  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2533  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2534  1.1  skrll 
   2535  1.1  skrll 
   2536  1.1  skrll echo "$as_me:$LINENO: checking for library containing strerror" >&5
   2537  1.1  skrll echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
   2538  1.1  skrll if test "${ac_cv_search_strerror+set}" = set; then
   2539  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   2540  1.1  skrll else
   2541  1.1  skrll   ac_func_search_save_LIBS=$LIBS
   2542  1.1  skrll ac_cv_search_strerror=no
   2543  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   2544  1.1  skrll /* confdefs.h.  */
   2545  1.1  skrll _ACEOF
   2546  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   2547  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   2548  1.1  skrll /* end confdefs.h.  */
   2549  1.1  skrll 
   2550  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   2551  1.1  skrll #ifdef __cplusplus
   2552  1.1  skrll extern "C"
   2553  1.1  skrll #endif
   2554  1.1  skrll /* We use char because int might match the return type of a gcc2
   2555  1.1  skrll    builtin and then its argument prototype would still apply.  */
   2556  1.1  skrll char strerror ();
   2557  1.1  skrll int
   2558  1.1  skrll main ()
   2559  1.1  skrll {
   2560  1.1  skrll strerror ();
   2561  1.1  skrll   ;
   2562  1.1  skrll   return 0;
   2563  1.1  skrll }
   2564  1.1  skrll _ACEOF
   2565  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   2566  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2567  1.1  skrll   (eval $ac_link) 2>conftest.er1
   2568  1.1  skrll   ac_status=$?
   2569  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   2570  1.1  skrll   rm -f conftest.er1
   2571  1.1  skrll   cat conftest.err >&5
   2572  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2573  1.1  skrll   (exit $ac_status); } &&
   2574  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   2575  1.1  skrll 			 || test ! -s conftest.err'
   2576  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2577  1.1  skrll   (eval $ac_try) 2>&5
   2578  1.1  skrll   ac_status=$?
   2579  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2580  1.1  skrll   (exit $ac_status); }; } &&
   2581  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   2582  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2583  1.1  skrll   (eval $ac_try) 2>&5
   2584  1.1  skrll   ac_status=$?
   2585  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2586  1.1  skrll   (exit $ac_status); }; }; then
   2587  1.1  skrll   ac_cv_search_strerror="none required"
   2588  1.1  skrll else
   2589  1.1  skrll   echo "$as_me: failed program was:" >&5
   2590  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   2591  1.1  skrll 
   2592  1.1  skrll fi
   2593  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   2594  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   2595  1.1  skrll if test "$ac_cv_search_strerror" = no; then
   2596  1.1  skrll   for ac_lib in cposix; do
   2597  1.1  skrll     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   2598  1.1  skrll     cat >conftest.$ac_ext <<_ACEOF
   2599  1.1  skrll /* confdefs.h.  */
   2600  1.1  skrll _ACEOF
   2601  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   2602  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   2603  1.1  skrll /* end confdefs.h.  */
   2604  1.1  skrll 
   2605  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   2606  1.1  skrll #ifdef __cplusplus
   2607  1.1  skrll extern "C"
   2608  1.1  skrll #endif
   2609  1.1  skrll /* We use char because int might match the return type of a gcc2
   2610  1.1  skrll    builtin and then its argument prototype would still apply.  */
   2611  1.1  skrll char strerror ();
   2612  1.1  skrll int
   2613  1.1  skrll main ()
   2614  1.1  skrll {
   2615  1.1  skrll strerror ();
   2616  1.1  skrll   ;
   2617  1.1  skrll   return 0;
   2618  1.1  skrll }
   2619  1.1  skrll _ACEOF
   2620  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   2621  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2622  1.1  skrll   (eval $ac_link) 2>conftest.er1
   2623  1.1  skrll   ac_status=$?
   2624  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   2625  1.1  skrll   rm -f conftest.er1
   2626  1.1  skrll   cat conftest.err >&5
   2627  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2628  1.1  skrll   (exit $ac_status); } &&
   2629  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   2630  1.1  skrll 			 || test ! -s conftest.err'
   2631  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2632  1.1  skrll   (eval $ac_try) 2>&5
   2633  1.1  skrll   ac_status=$?
   2634  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2635  1.1  skrll   (exit $ac_status); }; } &&
   2636  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   2637  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2638  1.1  skrll   (eval $ac_try) 2>&5
   2639  1.1  skrll   ac_status=$?
   2640  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2641  1.1  skrll   (exit $ac_status); }; }; then
   2642  1.1  skrll   ac_cv_search_strerror="-l$ac_lib"
   2643  1.1  skrll break
   2644  1.1  skrll else
   2645  1.1  skrll   echo "$as_me: failed program was:" >&5
   2646  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   2647  1.1  skrll 
   2648  1.1  skrll fi
   2649  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   2650  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   2651  1.1  skrll   done
   2652  1.1  skrll fi
   2653  1.1  skrll LIBS=$ac_func_search_save_LIBS
   2654  1.1  skrll fi
   2655  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
   2656  1.1  skrll echo "${ECHO_T}$ac_cv_search_strerror" >&6
   2657  1.1  skrll if test "$ac_cv_search_strerror" != no; then
   2658  1.1  skrll   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
   2659  1.1  skrll 
   2660  1.1  skrll fi
   2661  1.1  skrll 
   2662  1.1  skrll 
   2663  1.1  skrll BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ 	]*\([^ 	]*\)[ 	]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
   2664  1.1  skrll am__api_version="1.9"
   2665  1.1  skrll # Find a good install program.  We prefer a C program (faster),
   2666  1.1  skrll # so one script is as good as another.  But avoid the broken or
   2667  1.1  skrll # incompatible versions:
   2668  1.1  skrll # SysV /etc/install, /usr/sbin/install
   2669  1.1  skrll # SunOS /usr/etc/install
   2670  1.1  skrll # IRIX /sbin/install
   2671  1.1  skrll # AIX /bin/install
   2672  1.1  skrll # AmigaOS /C/install, which installs bootblocks on floppy discs
   2673  1.1  skrll # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2674  1.1  skrll # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2675  1.1  skrll # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2676  1.1  skrll # OS/2's system install, which has a completely different semantic
   2677  1.1  skrll # ./install, which can be erroneously created by make from ./install.sh.
   2678  1.1  skrll # Reject install programs that cannot install multiple files.
   2679  1.1  skrll echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2680  1.1  skrll echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   2681  1.1  skrll if test -z "$INSTALL"; then
   2682  1.1  skrll if test "${ac_cv_path_install+set}" = set; then
   2683  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   2684  1.1  skrll else
   2685  1.1  skrll   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2686  1.1  skrll for as_dir in $PATH
   2687  1.1  skrll do
   2688  1.1  skrll   IFS=$as_save_IFS
   2689  1.1  skrll   test -z "$as_dir" && as_dir=.
   2690  1.1  skrll   # Account for people who put trailing slashes in PATH elements.
   2691  1.1  skrll case $as_dir/ in
   2692  1.1  skrll   ./ | .// | /cC/* | \
   2693  1.1  skrll   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2694  1.1  skrll   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2695  1.1  skrll   /usr/ucb/* ) ;;
   2696  1.1  skrll   *)
   2697  1.1  skrll     # OSF1 and SCO ODT 3.0 have their own names for install.
   2698  1.1  skrll     # Don't use installbsd from OSF since it installs stuff as root
   2699  1.1  skrll     # by default.
   2700  1.1  skrll     for ac_prog in ginstall scoinst install; do
   2701  1.1  skrll       for ac_exec_ext in '' $ac_executable_extensions; do
   2702  1.1  skrll 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2703  1.1  skrll 	  if test $ac_prog = install &&
   2704  1.1  skrll 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2705  1.1  skrll 	    # AIX install.  It has an incompatible calling convention.
   2706  1.1  skrll 	    :
   2707  1.1  skrll 	  elif test $ac_prog = install &&
   2708  1.1  skrll 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2709  1.1  skrll 	    # program-specific install script used by HP pwplus--don't use.
   2710  1.1  skrll 	    :
   2711  1.1  skrll 	  else
   2712  1.1  skrll 	    rm -rf conftest.one conftest.two conftest.dir
   2713  1.1  skrll 	    echo one > conftest.one
   2714  1.1  skrll 	    echo two > conftest.two
   2715  1.1  skrll 	    mkdir conftest.dir
   2716  1.1  skrll 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2717  1.1  skrll 	      test -s conftest.one && test -s conftest.two &&
   2718  1.1  skrll 	      test -s conftest.dir/conftest.one &&
   2719  1.1  skrll 	      test -s conftest.dir/conftest.two
   2720  1.1  skrll 	    then
   2721  1.1  skrll 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2722  1.1  skrll 	      break 3
   2723  1.1  skrll 	    fi
   2724  1.1  skrll 	  fi
   2725  1.1  skrll 	fi
   2726  1.1  skrll       done
   2727  1.1  skrll     done
   2728  1.1  skrll     ;;
   2729  1.1  skrll esac
   2730  1.1  skrll done
   2731  1.1  skrll 
   2732  1.1  skrll rm -rf conftest.one conftest.two conftest.dir
   2733  1.1  skrll 
   2734  1.1  skrll fi
   2735  1.1  skrll   if test "${ac_cv_path_install+set}" = set; then
   2736  1.1  skrll     INSTALL=$ac_cv_path_install
   2737  1.1  skrll   else
   2738  1.1  skrll     # As a last resort, use the slow shell script.  Don't cache a
   2739  1.1  skrll     # value for INSTALL within a source directory, because that will
   2740  1.1  skrll     # break other packages using the cache if that directory is
   2741  1.1  skrll     # removed, or if the value is a relative name.
   2742  1.1  skrll     INSTALL=$ac_install_sh
   2743  1.1  skrll   fi
   2744  1.1  skrll fi
   2745  1.1  skrll echo "$as_me:$LINENO: result: $INSTALL" >&5
   2746  1.1  skrll echo "${ECHO_T}$INSTALL" >&6
   2747  1.1  skrll 
   2748  1.1  skrll # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2749  1.1  skrll # It thinks the first close brace ends the variable substitution.
   2750  1.1  skrll test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2751  1.1  skrll 
   2752  1.1  skrll test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2753  1.1  skrll 
   2754  1.1  skrll test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2755  1.1  skrll 
   2756  1.1  skrll echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2757  1.1  skrll echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
   2758  1.1  skrll # Just in case
   2759  1.1  skrll sleep 1
   2760  1.1  skrll echo timestamp > conftest.file
   2761  1.1  skrll # Do `set' in a subshell so we don't clobber the current shell's
   2762  1.1  skrll # arguments.  Must try -L first in case configure is actually a
   2763  1.1  skrll # symlink; some systems play weird games with the mod time of symlinks
   2764  1.1  skrll # (eg FreeBSD returns the mod time of the symlink's containing
   2765  1.1  skrll # directory).
   2766  1.1  skrll if (
   2767  1.1  skrll    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2768  1.1  skrll    if test "$*" = "X"; then
   2769  1.1  skrll       # -L didn't work.
   2770  1.1  skrll       set X `ls -t $srcdir/configure conftest.file`
   2771  1.1  skrll    fi
   2772  1.1  skrll    rm -f conftest.file
   2773  1.1  skrll    if test "$*" != "X $srcdir/configure conftest.file" \
   2774  1.1  skrll       && test "$*" != "X conftest.file $srcdir/configure"; then
   2775  1.1  skrll 
   2776  1.1  skrll       # If neither matched, then we have a broken ls.  This can happen
   2777  1.1  skrll       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2778  1.1  skrll       # broken ls alias from the environment.  This has actually
   2779  1.1  skrll       # happened.  Such a system could not be considered "sane".
   2780  1.1  skrll       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2781  1.1  skrll alias in your environment" >&5
   2782  1.1  skrll echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2783  1.1  skrll alias in your environment" >&2;}
   2784  1.1  skrll    { (exit 1); exit 1; }; }
   2785  1.1  skrll    fi
   2786  1.1  skrll 
   2787  1.1  skrll    test "$2" = conftest.file
   2788  1.1  skrll    )
   2789  1.1  skrll then
   2790  1.1  skrll    # Ok.
   2791  1.1  skrll    :
   2792  1.1  skrll else
   2793  1.1  skrll    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2794  1.1  skrll Check your system clock" >&5
   2795  1.1  skrll echo "$as_me: error: newly created file is older than distributed files!
   2796  1.1  skrll Check your system clock" >&2;}
   2797  1.1  skrll    { (exit 1); exit 1; }; }
   2798  1.1  skrll fi
   2799  1.1  skrll echo "$as_me:$LINENO: result: yes" >&5
   2800  1.1  skrll echo "${ECHO_T}yes" >&6
   2801  1.1  skrll test "$program_prefix" != NONE &&
   2802  1.1  skrll   program_transform_name="s,^,$program_prefix,;$program_transform_name"
   2803  1.1  skrll # Use a double $ so make ignores it.
   2804  1.1  skrll test "$program_suffix" != NONE &&
   2805  1.1  skrll   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   2806  1.1  skrll # Double any \ or $.  echo might interpret backslashes.
   2807  1.1  skrll # By default was `s,x,x', remove it if useless.
   2808  1.1  skrll cat <<\_ACEOF >conftest.sed
   2809  1.1  skrll s/[\\$]/&&/g;s/;s,x,x,$//
   2810  1.1  skrll _ACEOF
   2811  1.1  skrll program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2812  1.1  skrll rm conftest.sed
   2813  1.1  skrll 
   2814  1.1  skrll # expand $ac_aux_dir to an absolute path
   2815  1.1  skrll am_aux_dir=`cd $ac_aux_dir && pwd`
   2816  1.1  skrll 
   2817  1.1  skrll test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2818  1.1  skrll # Use eval to expand $SHELL
   2819  1.1  skrll if eval "$MISSING --run true"; then
   2820  1.1  skrll   am_missing_run="$MISSING --run "
   2821  1.1  skrll else
   2822  1.1  skrll   am_missing_run=
   2823  1.1  skrll   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2824  1.1  skrll echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2825  1.1  skrll fi
   2826  1.1  skrll 
   2827  1.1  skrll if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   2828  1.1  skrll   # We used to keeping the `.' as first argument, in order to
   2829  1.1  skrll   # allow $(mkdir_p) to be used without argument.  As in
   2830  1.1  skrll   #   $(mkdir_p) $(somedir)
   2831  1.1  skrll   # where $(somedir) is conditionally defined.  However this is wrong
   2832  1.1  skrll   # for two reasons:
   2833  1.1  skrll   #  1. if the package is installed by a user who cannot write `.'
   2834  1.1  skrll   #     make install will fail,
   2835  1.1  skrll   #  2. the above comment should most certainly read
   2836  1.1  skrll   #     $(mkdir_p) $(DESTDIR)$(somedir)
   2837  1.1  skrll   #     so it does not work when $(somedir) is undefined and
   2838  1.1  skrll   #     $(DESTDIR) is not.
   2839  1.1  skrll   #  To support the latter case, we have to write
   2840  1.1  skrll   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   2841  1.1  skrll   #  so the `.' trick is pointless.
   2842  1.1  skrll   mkdir_p='mkdir -p --'
   2843  1.1  skrll else
   2844  1.1  skrll   # On NextStep and OpenStep, the `mkdir' command does not
   2845  1.1  skrll   # recognize any option.  It will interpret all options as
   2846  1.1  skrll   # directories to create, and then abort because `.' already
   2847  1.1  skrll   # exists.
   2848  1.1  skrll   for d in ./-p ./--version;
   2849  1.1  skrll   do
   2850  1.1  skrll     test -d $d && rmdir $d
   2851  1.1  skrll   done
   2852  1.1  skrll   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   2853  1.1  skrll   if test -f "$ac_aux_dir/mkinstalldirs"; then
   2854  1.1  skrll     mkdir_p='$(mkinstalldirs)'
   2855  1.1  skrll   else
   2856  1.1  skrll     mkdir_p='$(install_sh) -d'
   2857  1.1  skrll   fi
   2858  1.1  skrll fi
   2859  1.1  skrll 
   2860  1.1  skrll for ac_prog in gawk mawk nawk awk
   2861  1.1  skrll do
   2862  1.1  skrll   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2863  1.1  skrll set dummy $ac_prog; ac_word=$2
   2864  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   2865  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2866  1.1  skrll if test "${ac_cv_prog_AWK+set}" = set; then
   2867  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   2868  1.1  skrll else
   2869  1.1  skrll   if test -n "$AWK"; then
   2870  1.1  skrll   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2871  1.1  skrll else
   2872  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873  1.1  skrll for as_dir in $PATH
   2874  1.1  skrll do
   2875  1.1  skrll   IFS=$as_save_IFS
   2876  1.1  skrll   test -z "$as_dir" && as_dir=.
   2877  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   2878  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2879  1.1  skrll     ac_cv_prog_AWK="$ac_prog"
   2880  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2881  1.1  skrll     break 2
   2882  1.1  skrll   fi
   2883  1.1  skrll done
   2884  1.1  skrll done
   2885  1.1  skrll 
   2886  1.1  skrll fi
   2887  1.1  skrll fi
   2888  1.1  skrll AWK=$ac_cv_prog_AWK
   2889  1.1  skrll if test -n "$AWK"; then
   2890  1.1  skrll   echo "$as_me:$LINENO: result: $AWK" >&5
   2891  1.1  skrll echo "${ECHO_T}$AWK" >&6
   2892  1.1  skrll else
   2893  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   2894  1.1  skrll echo "${ECHO_T}no" >&6
   2895  1.1  skrll fi
   2896  1.1  skrll 
   2897  1.1  skrll   test -n "$AWK" && break
   2898  1.1  skrll done
   2899  1.1  skrll 
   2900  1.1  skrll echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2901  1.1  skrll echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   2902  1.1  skrll set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   2903  1.1  skrll if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   2904  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   2905  1.1  skrll else
   2906  1.1  skrll   cat >conftest.make <<\_ACEOF
   2907  1.1  skrll all:
   2908  1.1  skrll 	@echo 'ac_maketemp="$(MAKE)"'
   2909  1.1  skrll _ACEOF
   2910  1.1  skrll # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2911  1.1  skrll eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   2912  1.1  skrll if test -n "$ac_maketemp"; then
   2913  1.1  skrll   eval ac_cv_prog_make_${ac_make}_set=yes
   2914  1.1  skrll else
   2915  1.1  skrll   eval ac_cv_prog_make_${ac_make}_set=no
   2916  1.1  skrll fi
   2917  1.1  skrll rm -f conftest.make
   2918  1.1  skrll fi
   2919  1.1  skrll if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   2920  1.1  skrll   echo "$as_me:$LINENO: result: yes" >&5
   2921  1.1  skrll echo "${ECHO_T}yes" >&6
   2922  1.1  skrll   SET_MAKE=
   2923  1.1  skrll else
   2924  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   2925  1.1  skrll echo "${ECHO_T}no" >&6
   2926  1.1  skrll   SET_MAKE="MAKE=${MAKE-make}"
   2927  1.1  skrll fi
   2928  1.1  skrll 
   2929  1.1  skrll rm -rf .tst 2>/dev/null
   2930  1.1  skrll mkdir .tst 2>/dev/null
   2931  1.1  skrll if test -d .tst; then
   2932  1.1  skrll   am__leading_dot=.
   2933  1.1  skrll else
   2934  1.1  skrll   am__leading_dot=_
   2935  1.1  skrll fi
   2936  1.1  skrll rmdir .tst 2>/dev/null
   2937  1.1  skrll 
   2938  1.1  skrll DEPDIR="${am__leading_dot}deps"
   2939  1.1  skrll 
   2940  1.1  skrll           ac_config_commands="$ac_config_commands depfiles"
   2941  1.1  skrll 
   2942  1.1  skrll 
   2943  1.1  skrll am_make=${MAKE-make}
   2944  1.1  skrll cat > confinc << 'END'
   2945  1.1  skrll am__doit:
   2946  1.1  skrll 	@echo done
   2947  1.1  skrll .PHONY: am__doit
   2948  1.1  skrll END
   2949  1.1  skrll # If we don't find an include directive, just comment out the code.
   2950  1.1  skrll echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2951  1.1  skrll echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   2952  1.1  skrll am__include="#"
   2953  1.1  skrll am__quote=
   2954  1.1  skrll _am_result=none
   2955  1.1  skrll # First try GNU make style include.
   2956  1.1  skrll echo "include confinc" > confmf
   2957  1.1  skrll # We grep out `Entering directory' and `Leaving directory'
   2958  1.1  skrll # messages which can occur if `w' ends up in MAKEFLAGS.
   2959  1.1  skrll # In particular we don't look at `^make:' because GNU make might
   2960  1.1  skrll # be invoked under some other name (usually "gmake"), in which
   2961  1.1  skrll # case it prints its new name instead of `make'.
   2962  1.1  skrll if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2963  1.1  skrll    am__include=include
   2964  1.1  skrll    am__quote=
   2965  1.1  skrll    _am_result=GNU
   2966  1.1  skrll fi
   2967  1.1  skrll # Now try BSD make style include.
   2968  1.1  skrll if test "$am__include" = "#"; then
   2969  1.1  skrll    echo '.include "confinc"' > confmf
   2970  1.1  skrll    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2971  1.1  skrll       am__include=.include
   2972  1.1  skrll       am__quote="\""
   2973  1.1  skrll       _am_result=BSD
   2974  1.1  skrll    fi
   2975  1.1  skrll fi
   2976  1.1  skrll 
   2977  1.1  skrll 
   2978  1.1  skrll echo "$as_me:$LINENO: result: $_am_result" >&5
   2979  1.1  skrll echo "${ECHO_T}$_am_result" >&6
   2980  1.1  skrll rm -f confinc confmf
   2981  1.1  skrll 
   2982  1.1  skrll # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
   2983  1.1  skrll if test "${enable_dependency_tracking+set}" = set; then
   2984  1.1  skrll   enableval="$enable_dependency_tracking"
   2985  1.1  skrll 
   2986  1.1  skrll fi;
   2987  1.1  skrll if test "x$enable_dependency_tracking" != xno; then
   2988  1.1  skrll   am_depcomp="$ac_aux_dir/depcomp"
   2989  1.1  skrll   AMDEPBACKSLASH='\'
   2990  1.1  skrll fi
   2991  1.1  skrll 
   2992  1.1  skrll 
   2993  1.1  skrll if test "x$enable_dependency_tracking" != xno; then
   2994  1.1  skrll   AMDEP_TRUE=
   2995  1.1  skrll   AMDEP_FALSE='#'
   2996  1.1  skrll else
   2997  1.1  skrll   AMDEP_TRUE='#'
   2998  1.1  skrll   AMDEP_FALSE=
   2999  1.1  skrll fi
   3000  1.1  skrll 
   3001  1.1  skrll 
   3002  1.1  skrll 
   3003  1.1  skrll # test to see if srcdir already configured
   3004  1.1  skrll if test "`cd $srcdir && pwd`" != "`pwd`" &&
   3005  1.1  skrll    test -f $srcdir/config.status; then
   3006  1.1  skrll   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   3007  1.1  skrll echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   3008  1.1  skrll    { (exit 1); exit 1; }; }
   3009  1.1  skrll fi
   3010  1.1  skrll 
   3011  1.1  skrll # test whether we have cygpath
   3012  1.1  skrll if test -z "$CYGPATH_W"; then
   3013  1.1  skrll   if (cygpath --version) >/dev/null 2>/dev/null; then
   3014  1.1  skrll     CYGPATH_W='cygpath -w'
   3015  1.1  skrll   else
   3016  1.1  skrll     CYGPATH_W=echo
   3017  1.1  skrll   fi
   3018  1.1  skrll fi
   3019  1.1  skrll 
   3020  1.1  skrll 
   3021  1.1  skrll # Define the identity of the package.
   3022  1.1  skrll  PACKAGE=gprof
   3023  1.1  skrll  VERSION=${BFD_VERSION}
   3024  1.1  skrll 
   3025  1.1  skrll 
   3026  1.1  skrll cat >>confdefs.h <<_ACEOF
   3027  1.1  skrll #define PACKAGE "$PACKAGE"
   3028  1.1  skrll _ACEOF
   3029  1.1  skrll 
   3030  1.1  skrll 
   3031  1.1  skrll cat >>confdefs.h <<_ACEOF
   3032  1.1  skrll #define VERSION "$VERSION"
   3033  1.1  skrll _ACEOF
   3034  1.1  skrll 
   3035  1.1  skrll # Some tools Automake needs.
   3036  1.1  skrll 
   3037  1.1  skrll ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3038  1.1  skrll 
   3039  1.1  skrll 
   3040  1.1  skrll AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3041  1.1  skrll 
   3042  1.1  skrll 
   3043  1.1  skrll AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3044  1.1  skrll 
   3045  1.1  skrll 
   3046  1.1  skrll AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3047  1.1  skrll 
   3048  1.1  skrll 
   3049  1.1  skrll MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3050  1.1  skrll 
   3051  1.1  skrll install_sh=${install_sh-"$am_aux_dir/install-sh"}
   3052  1.1  skrll 
   3053  1.1  skrll # Installed binaries are usually stripped using `strip' when the user
   3054  1.1  skrll # run `make install-strip'.  However `strip' might not be the right
   3055  1.1  skrll # tool to use in cross-compilation environments, therefore Automake
   3056  1.1  skrll # will honor the `STRIP' environment variable to overrule this program.
   3057  1.1  skrll if test "$cross_compiling" != no; then
   3058  1.1  skrll   if test -n "$ac_tool_prefix"; then
   3059  1.1  skrll   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3060  1.1  skrll set dummy ${ac_tool_prefix}strip; ac_word=$2
   3061  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   3062  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3063  1.1  skrll if test "${ac_cv_prog_STRIP+set}" = set; then
   3064  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3065  1.1  skrll else
   3066  1.1  skrll   if test -n "$STRIP"; then
   3067  1.1  skrll   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3068  1.1  skrll else
   3069  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3070  1.1  skrll for as_dir in $PATH
   3071  1.1  skrll do
   3072  1.1  skrll   IFS=$as_save_IFS
   3073  1.1  skrll   test -z "$as_dir" && as_dir=.
   3074  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   3075  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3076  1.1  skrll     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3077  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3078  1.1  skrll     break 2
   3079  1.1  skrll   fi
   3080  1.1  skrll done
   3081  1.1  skrll done
   3082  1.1  skrll 
   3083  1.1  skrll fi
   3084  1.1  skrll fi
   3085  1.1  skrll STRIP=$ac_cv_prog_STRIP
   3086  1.1  skrll if test -n "$STRIP"; then
   3087  1.1  skrll   echo "$as_me:$LINENO: result: $STRIP" >&5
   3088  1.1  skrll echo "${ECHO_T}$STRIP" >&6
   3089  1.1  skrll else
   3090  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   3091  1.1  skrll echo "${ECHO_T}no" >&6
   3092  1.1  skrll fi
   3093  1.1  skrll 
   3094  1.1  skrll fi
   3095  1.1  skrll if test -z "$ac_cv_prog_STRIP"; then
   3096  1.1  skrll   ac_ct_STRIP=$STRIP
   3097  1.1  skrll   # Extract the first word of "strip", so it can be a program name with args.
   3098  1.1  skrll set dummy strip; ac_word=$2
   3099  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   3100  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3101  1.1  skrll if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   3102  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3103  1.1  skrll else
   3104  1.1  skrll   if test -n "$ac_ct_STRIP"; then
   3105  1.1  skrll   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3106  1.1  skrll else
   3107  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3108  1.1  skrll for as_dir in $PATH
   3109  1.1  skrll do
   3110  1.1  skrll   IFS=$as_save_IFS
   3111  1.1  skrll   test -z "$as_dir" && as_dir=.
   3112  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   3113  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3114  1.1  skrll     ac_cv_prog_ac_ct_STRIP="strip"
   3115  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3116  1.1  skrll     break 2
   3117  1.1  skrll   fi
   3118  1.1  skrll done
   3119  1.1  skrll done
   3120  1.1  skrll 
   3121  1.1  skrll   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   3122  1.1  skrll fi
   3123  1.1  skrll fi
   3124  1.1  skrll ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3125  1.1  skrll if test -n "$ac_ct_STRIP"; then
   3126  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   3127  1.1  skrll echo "${ECHO_T}$ac_ct_STRIP" >&6
   3128  1.1  skrll else
   3129  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   3130  1.1  skrll echo "${ECHO_T}no" >&6
   3131  1.1  skrll fi
   3132  1.1  skrll 
   3133  1.1  skrll   STRIP=$ac_ct_STRIP
   3134  1.1  skrll else
   3135  1.1  skrll   STRIP="$ac_cv_prog_STRIP"
   3136  1.1  skrll fi
   3137  1.1  skrll 
   3138  1.1  skrll fi
   3139  1.1  skrll INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   3140  1.1  skrll 
   3141  1.1  skrll # We need awk for the "check" target.  The system "awk" is bad on
   3142  1.1  skrll # some platforms.
   3143  1.1  skrll # Always define AMTAR for backward compatibility.
   3144  1.1  skrll 
   3145  1.1  skrll AMTAR=${AMTAR-"${am_missing_run}tar"}
   3146  1.1  skrll 
   3147  1.1  skrll am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   3148  1.1  skrll 
   3149  1.1  skrll 
   3150  1.1  skrll 
   3151  1.1  skrll 
   3152  1.1  skrll depcc="$CC"   am_compiler_list=
   3153  1.1  skrll 
   3154  1.1  skrll echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3155  1.1  skrll echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   3156  1.1  skrll if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3157  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3158  1.1  skrll else
   3159  1.1  skrll   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3160  1.1  skrll   # We make a subdir and do the tests there.  Otherwise we can end up
   3161  1.1  skrll   # making bogus files that we don't know about and never remove.  For
   3162  1.1  skrll   # instance it was reported that on HP-UX the gcc test will end up
   3163  1.1  skrll   # making a dummy file named `D' -- because `-MD' means `put the output
   3164  1.1  skrll   # in D'.
   3165  1.1  skrll   mkdir conftest.dir
   3166  1.1  skrll   # Copy depcomp to subdir because otherwise we won't find it if we're
   3167  1.1  skrll   # using a relative directory.
   3168  1.1  skrll   cp "$am_depcomp" conftest.dir
   3169  1.1  skrll   cd conftest.dir
   3170  1.1  skrll   # We will build objects and dependencies in a subdirectory because
   3171  1.1  skrll   # it helps to detect inapplicable dependency modes.  For instance
   3172  1.1  skrll   # both Tru64's cc and ICC support -MD to output dependencies as a
   3173  1.1  skrll   # side effect of compilation, but ICC will put the dependencies in
   3174  1.1  skrll   # the current directory while Tru64 will put them in the object
   3175  1.1  skrll   # directory.
   3176  1.1  skrll   mkdir sub
   3177  1.1  skrll 
   3178  1.1  skrll   am_cv_CC_dependencies_compiler_type=none
   3179  1.1  skrll   if test "$am_compiler_list" = ""; then
   3180  1.1  skrll      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3181  1.1  skrll   fi
   3182  1.1  skrll   for depmode in $am_compiler_list; do
   3183  1.1  skrll     # Setup a source with many dependencies, because some compilers
   3184  1.1  skrll     # like to wrap large dependency lists on column 80 (with \), and
   3185  1.1  skrll     # we should not choose a depcomp mode which is confused by this.
   3186  1.1  skrll     #
   3187  1.1  skrll     # We need to recreate these files for each test, as the compiler may
   3188  1.1  skrll     # overwrite some of them when testing with obscure command lines.
   3189  1.1  skrll     # This happens at least with the AIX C compiler.
   3190  1.1  skrll     : > sub/conftest.c
   3191  1.1  skrll     for i in 1 2 3 4 5 6; do
   3192  1.1  skrll       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3193  1.1  skrll       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3194  1.1  skrll       # Solaris 8's {/usr,}/bin/sh.
   3195  1.1  skrll       touch sub/conftst$i.h
   3196  1.1  skrll     done
   3197  1.1  skrll     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3198  1.1  skrll 
   3199  1.1  skrll     case $depmode in
   3200  1.1  skrll     nosideeffect)
   3201  1.1  skrll       # after this tag, mechanisms are not by side-effect, so they'll
   3202  1.1  skrll       # only be used when explicitly requested
   3203  1.1  skrll       if test "x$enable_dependency_tracking" = xyes; then
   3204  1.1  skrll 	continue
   3205  1.1  skrll       else
   3206  1.1  skrll 	break
   3207  1.1  skrll       fi
   3208  1.1  skrll       ;;
   3209  1.1  skrll     none) break ;;
   3210  1.1  skrll     esac
   3211  1.1  skrll     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3212  1.1  skrll     # mode.  It turns out that the SunPro C++ compiler does not properly
   3213  1.1  skrll     # handle `-M -o', and we need to detect this.
   3214  1.1  skrll     if depmode=$depmode \
   3215  1.1  skrll        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3216  1.1  skrll        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3217  1.1  skrll        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3218  1.1  skrll          >/dev/null 2>conftest.err &&
   3219  1.1  skrll        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3220  1.1  skrll        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3221  1.1  skrll        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3222  1.1  skrll       # icc doesn't choke on unknown options, it will just issue warnings
   3223  1.1  skrll       # or remarks (even with -Werror).  So we grep stderr for any message
   3224  1.1  skrll       # that says an option was ignored or not supported.
   3225  1.1  skrll       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3226  1.1  skrll       #   icc: Command line warning: ignoring option '-M'; no argument required
   3227  1.1  skrll       # The diagnosis changed in icc 8.0:
   3228  1.1  skrll       #   icc: Command line remark: option '-MP' not supported
   3229  1.1  skrll       if (grep 'ignoring option' conftest.err ||
   3230  1.1  skrll           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3231  1.1  skrll         am_cv_CC_dependencies_compiler_type=$depmode
   3232  1.1  skrll         break
   3233  1.1  skrll       fi
   3234  1.1  skrll     fi
   3235  1.1  skrll   done
   3236  1.1  skrll 
   3237  1.1  skrll   cd ..
   3238  1.1  skrll   rm -rf conftest.dir
   3239  1.1  skrll else
   3240  1.1  skrll   am_cv_CC_dependencies_compiler_type=none
   3241  1.1  skrll fi
   3242  1.1  skrll 
   3243  1.1  skrll fi
   3244  1.1  skrll echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3245  1.1  skrll echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   3246  1.1  skrll CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3247  1.1  skrll 
   3248  1.1  skrll 
   3249  1.1  skrll 
   3250  1.1  skrll if
   3251  1.1  skrll   test "x$enable_dependency_tracking" != xno \
   3252  1.1  skrll   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3253  1.1  skrll   am__fastdepCC_TRUE=
   3254  1.1  skrll   am__fastdepCC_FALSE='#'
   3255  1.1  skrll else
   3256  1.1  skrll   am__fastdepCC_TRUE='#'
   3257  1.1  skrll   am__fastdepCC_FALSE=
   3258  1.1  skrll fi
   3259  1.1  skrll 
   3260  1.1  skrll 
   3261  1.1  skrll 
   3262  1.1  skrll 
   3263  1.1  skrll           ac_config_headers="$ac_config_headers gconfig.h:gconfig.in"
   3264  1.1  skrll 
   3265  1.1  skrll 
   3266  1.1  skrll ac_ext=c
   3267  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   3268  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3269  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3270  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3271  1.1  skrll if test -n "$ac_tool_prefix"; then
   3272  1.1  skrll   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3273  1.1  skrll set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3274  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   3275  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3276  1.1  skrll if test "${ac_cv_prog_CC+set}" = set; then
   3277  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3278  1.1  skrll else
   3279  1.1  skrll   if test -n "$CC"; then
   3280  1.1  skrll   ac_cv_prog_CC="$CC" # Let the user override the test.
   3281  1.1  skrll else
   3282  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3283  1.1  skrll for as_dir in $PATH
   3284  1.1  skrll do
   3285  1.1  skrll   IFS=$as_save_IFS
   3286  1.1  skrll   test -z "$as_dir" && as_dir=.
   3287  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   3288  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3289  1.1  skrll     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3290  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3291  1.1  skrll     break 2
   3292  1.1  skrll   fi
   3293  1.1  skrll done
   3294  1.1  skrll done
   3295  1.1  skrll 
   3296  1.1  skrll fi
   3297  1.1  skrll fi
   3298  1.1  skrll CC=$ac_cv_prog_CC
   3299  1.1  skrll if test -n "$CC"; then
   3300  1.1  skrll   echo "$as_me:$LINENO: result: $CC" >&5
   3301  1.1  skrll echo "${ECHO_T}$CC" >&6
   3302  1.1  skrll else
   3303  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   3304  1.1  skrll echo "${ECHO_T}no" >&6
   3305  1.1  skrll fi
   3306  1.1  skrll 
   3307  1.1  skrll fi
   3308  1.1  skrll if test -z "$ac_cv_prog_CC"; then
   3309  1.1  skrll   ac_ct_CC=$CC
   3310  1.1  skrll   # Extract the first word of "gcc", so it can be a program name with args.
   3311  1.1  skrll set dummy gcc; ac_word=$2
   3312  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   3313  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3314  1.1  skrll if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3315  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3316  1.1  skrll else
   3317  1.1  skrll   if test -n "$ac_ct_CC"; then
   3318  1.1  skrll   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3319  1.1  skrll else
   3320  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3321  1.1  skrll for as_dir in $PATH
   3322  1.1  skrll do
   3323  1.1  skrll   IFS=$as_save_IFS
   3324  1.1  skrll   test -z "$as_dir" && as_dir=.
   3325  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   3326  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3327  1.1  skrll     ac_cv_prog_ac_ct_CC="gcc"
   3328  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3329  1.1  skrll     break 2
   3330  1.1  skrll   fi
   3331  1.1  skrll done
   3332  1.1  skrll done
   3333  1.1  skrll 
   3334  1.1  skrll fi
   3335  1.1  skrll fi
   3336  1.1  skrll ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3337  1.1  skrll if test -n "$ac_ct_CC"; then
   3338  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3339  1.1  skrll echo "${ECHO_T}$ac_ct_CC" >&6
   3340  1.1  skrll else
   3341  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   3342  1.1  skrll echo "${ECHO_T}no" >&6
   3343  1.1  skrll fi
   3344  1.1  skrll 
   3345  1.1  skrll   CC=$ac_ct_CC
   3346  1.1  skrll else
   3347  1.1  skrll   CC="$ac_cv_prog_CC"
   3348  1.1  skrll fi
   3349  1.1  skrll 
   3350  1.1  skrll if test -z "$CC"; then
   3351  1.1  skrll   if test -n "$ac_tool_prefix"; then
   3352  1.1  skrll   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3353  1.1  skrll set dummy ${ac_tool_prefix}cc; ac_word=$2
   3354  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   3355  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3356  1.1  skrll if test "${ac_cv_prog_CC+set}" = set; then
   3357  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3358  1.1  skrll else
   3359  1.1  skrll   if test -n "$CC"; then
   3360  1.1  skrll   ac_cv_prog_CC="$CC" # Let the user override the test.
   3361  1.1  skrll else
   3362  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3363  1.1  skrll for as_dir in $PATH
   3364  1.1  skrll do
   3365  1.1  skrll   IFS=$as_save_IFS
   3366  1.1  skrll   test -z "$as_dir" && as_dir=.
   3367  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   3368  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3369  1.1  skrll     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3370  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3371  1.1  skrll     break 2
   3372  1.1  skrll   fi
   3373  1.1  skrll done
   3374  1.1  skrll done
   3375  1.1  skrll 
   3376  1.1  skrll fi
   3377  1.1  skrll fi
   3378  1.1  skrll CC=$ac_cv_prog_CC
   3379  1.1  skrll if test -n "$CC"; then
   3380  1.1  skrll   echo "$as_me:$LINENO: result: $CC" >&5
   3381  1.1  skrll echo "${ECHO_T}$CC" >&6
   3382  1.1  skrll else
   3383  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   3384  1.1  skrll echo "${ECHO_T}no" >&6
   3385  1.1  skrll fi
   3386  1.1  skrll 
   3387  1.1  skrll fi
   3388  1.1  skrll if test -z "$ac_cv_prog_CC"; then
   3389  1.1  skrll   ac_ct_CC=$CC
   3390  1.1  skrll   # Extract the first word of "cc", so it can be a program name with args.
   3391  1.1  skrll set dummy cc; ac_word=$2
   3392  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   3393  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3394  1.1  skrll if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3395  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3396  1.1  skrll else
   3397  1.1  skrll   if test -n "$ac_ct_CC"; then
   3398  1.1  skrll   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3399  1.1  skrll else
   3400  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3401  1.1  skrll for as_dir in $PATH
   3402  1.1  skrll do
   3403  1.1  skrll   IFS=$as_save_IFS
   3404  1.1  skrll   test -z "$as_dir" && as_dir=.
   3405  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   3406  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3407  1.1  skrll     ac_cv_prog_ac_ct_CC="cc"
   3408  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3409  1.1  skrll     break 2
   3410  1.1  skrll   fi
   3411  1.1  skrll done
   3412  1.1  skrll done
   3413  1.1  skrll 
   3414  1.1  skrll fi
   3415  1.1  skrll fi
   3416  1.1  skrll ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3417  1.1  skrll if test -n "$ac_ct_CC"; then
   3418  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3419  1.1  skrll echo "${ECHO_T}$ac_ct_CC" >&6
   3420  1.1  skrll else
   3421  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   3422  1.1  skrll echo "${ECHO_T}no" >&6
   3423  1.1  skrll fi
   3424  1.1  skrll 
   3425  1.1  skrll   CC=$ac_ct_CC
   3426  1.1  skrll else
   3427  1.1  skrll   CC="$ac_cv_prog_CC"
   3428  1.1  skrll fi
   3429  1.1  skrll 
   3430  1.1  skrll fi
   3431  1.1  skrll if test -z "$CC"; then
   3432  1.1  skrll   # Extract the first word of "cc", so it can be a program name with args.
   3433  1.1  skrll set dummy cc; ac_word=$2
   3434  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   3435  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3436  1.1  skrll if test "${ac_cv_prog_CC+set}" = set; then
   3437  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3438  1.1  skrll else
   3439  1.1  skrll   if test -n "$CC"; then
   3440  1.1  skrll   ac_cv_prog_CC="$CC" # Let the user override the test.
   3441  1.1  skrll else
   3442  1.1  skrll   ac_prog_rejected=no
   3443  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3444  1.1  skrll for as_dir in $PATH
   3445  1.1  skrll do
   3446  1.1  skrll   IFS=$as_save_IFS
   3447  1.1  skrll   test -z "$as_dir" && as_dir=.
   3448  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   3449  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3450  1.1  skrll     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3451  1.1  skrll        ac_prog_rejected=yes
   3452  1.1  skrll        continue
   3453  1.1  skrll      fi
   3454  1.1  skrll     ac_cv_prog_CC="cc"
   3455  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3456  1.1  skrll     break 2
   3457  1.1  skrll   fi
   3458  1.1  skrll done
   3459  1.1  skrll done
   3460  1.1  skrll 
   3461  1.1  skrll if test $ac_prog_rejected = yes; then
   3462  1.1  skrll   # We found a bogon in the path, so make sure we never use it.
   3463  1.1  skrll   set dummy $ac_cv_prog_CC
   3464  1.1  skrll   shift
   3465  1.1  skrll   if test $# != 0; then
   3466  1.1  skrll     # We chose a different compiler from the bogus one.
   3467  1.1  skrll     # However, it has the same basename, so the bogon will be chosen
   3468  1.1  skrll     # first if we set CC to just the basename; use the full file name.
   3469  1.1  skrll     shift
   3470  1.1  skrll     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3471  1.1  skrll   fi
   3472  1.1  skrll fi
   3473  1.1  skrll fi
   3474  1.1  skrll fi
   3475  1.1  skrll CC=$ac_cv_prog_CC
   3476  1.1  skrll if test -n "$CC"; then
   3477  1.1  skrll   echo "$as_me:$LINENO: result: $CC" >&5
   3478  1.1  skrll echo "${ECHO_T}$CC" >&6
   3479  1.1  skrll else
   3480  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   3481  1.1  skrll echo "${ECHO_T}no" >&6
   3482  1.1  skrll fi
   3483  1.1  skrll 
   3484  1.1  skrll fi
   3485  1.1  skrll if test -z "$CC"; then
   3486  1.1  skrll   if test -n "$ac_tool_prefix"; then
   3487  1.1  skrll   for ac_prog in cl
   3488  1.1  skrll   do
   3489  1.1  skrll     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3490  1.1  skrll set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3491  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   3492  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3493  1.1  skrll if test "${ac_cv_prog_CC+set}" = set; then
   3494  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3495  1.1  skrll else
   3496  1.1  skrll   if test -n "$CC"; then
   3497  1.1  skrll   ac_cv_prog_CC="$CC" # Let the user override the test.
   3498  1.1  skrll else
   3499  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3500  1.1  skrll for as_dir in $PATH
   3501  1.1  skrll do
   3502  1.1  skrll   IFS=$as_save_IFS
   3503  1.1  skrll   test -z "$as_dir" && as_dir=.
   3504  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   3505  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3506  1.1  skrll     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3507  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3508  1.1  skrll     break 2
   3509  1.1  skrll   fi
   3510  1.1  skrll done
   3511  1.1  skrll done
   3512  1.1  skrll 
   3513  1.1  skrll fi
   3514  1.1  skrll fi
   3515  1.1  skrll CC=$ac_cv_prog_CC
   3516  1.1  skrll if test -n "$CC"; then
   3517  1.1  skrll   echo "$as_me:$LINENO: result: $CC" >&5
   3518  1.1  skrll echo "${ECHO_T}$CC" >&6
   3519  1.1  skrll else
   3520  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   3521  1.1  skrll echo "${ECHO_T}no" >&6
   3522  1.1  skrll fi
   3523  1.1  skrll 
   3524  1.1  skrll     test -n "$CC" && break
   3525  1.1  skrll   done
   3526  1.1  skrll fi
   3527  1.1  skrll if test -z "$CC"; then
   3528  1.1  skrll   ac_ct_CC=$CC
   3529  1.1  skrll   for ac_prog in cl
   3530  1.1  skrll do
   3531  1.1  skrll   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3532  1.1  skrll set dummy $ac_prog; ac_word=$2
   3533  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   3534  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3535  1.1  skrll if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3536  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3537  1.1  skrll else
   3538  1.1  skrll   if test -n "$ac_ct_CC"; then
   3539  1.1  skrll   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3540  1.1  skrll else
   3541  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3542  1.1  skrll for as_dir in $PATH
   3543  1.1  skrll do
   3544  1.1  skrll   IFS=$as_save_IFS
   3545  1.1  skrll   test -z "$as_dir" && as_dir=.
   3546  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   3547  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3548  1.1  skrll     ac_cv_prog_ac_ct_CC="$ac_prog"
   3549  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3550  1.1  skrll     break 2
   3551  1.1  skrll   fi
   3552  1.1  skrll done
   3553  1.1  skrll done
   3554  1.1  skrll 
   3555  1.1  skrll fi
   3556  1.1  skrll fi
   3557  1.1  skrll ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3558  1.1  skrll if test -n "$ac_ct_CC"; then
   3559  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3560  1.1  skrll echo "${ECHO_T}$ac_ct_CC" >&6
   3561  1.1  skrll else
   3562  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   3563  1.1  skrll echo "${ECHO_T}no" >&6
   3564  1.1  skrll fi
   3565  1.1  skrll 
   3566  1.1  skrll   test -n "$ac_ct_CC" && break
   3567  1.1  skrll done
   3568  1.1  skrll 
   3569  1.1  skrll   CC=$ac_ct_CC
   3570  1.1  skrll fi
   3571  1.1  skrll 
   3572  1.1  skrll fi
   3573  1.1  skrll 
   3574  1.1  skrll 
   3575  1.1  skrll test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3576  1.1  skrll echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3577  1.1  skrll { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3578  1.1  skrll See \`config.log' for more details." >&5
   3579  1.1  skrll echo "$as_me: error: no acceptable C compiler found in \$PATH
   3580  1.1  skrll See \`config.log' for more details." >&2;}
   3581  1.1  skrll    { (exit 1); exit 1; }; }; }
   3582  1.1  skrll 
   3583  1.1  skrll # Provide some information about the compiler.
   3584  1.1  skrll echo "$as_me:$LINENO:" \
   3585  1.1  skrll      "checking for C compiler version" >&5
   3586  1.1  skrll ac_compiler=`set X $ac_compile; echo $2`
   3587  1.1  skrll { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   3588  1.1  skrll   (eval $ac_compiler --version </dev/null >&5) 2>&5
   3589  1.1  skrll   ac_status=$?
   3590  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3591  1.1  skrll   (exit $ac_status); }
   3592  1.1  skrll { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   3593  1.1  skrll   (eval $ac_compiler -v </dev/null >&5) 2>&5
   3594  1.1  skrll   ac_status=$?
   3595  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3596  1.1  skrll   (exit $ac_status); }
   3597  1.1  skrll { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   3598  1.1  skrll   (eval $ac_compiler -V </dev/null >&5) 2>&5
   3599  1.1  skrll   ac_status=$?
   3600  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3601  1.1  skrll   (exit $ac_status); }
   3602  1.1  skrll 
   3603  1.1  skrll echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3604  1.1  skrll echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   3605  1.1  skrll if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3606  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3607  1.1  skrll else
   3608  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   3609  1.1  skrll /* confdefs.h.  */
   3610  1.1  skrll _ACEOF
   3611  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   3612  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   3613  1.1  skrll /* end confdefs.h.  */
   3614  1.1  skrll 
   3615  1.1  skrll int
   3616  1.1  skrll main ()
   3617  1.1  skrll {
   3618  1.1  skrll #ifndef __GNUC__
   3619  1.1  skrll        choke me
   3620  1.1  skrll #endif
   3621  1.1  skrll 
   3622  1.1  skrll   ;
   3623  1.1  skrll   return 0;
   3624  1.1  skrll }
   3625  1.1  skrll _ACEOF
   3626  1.1  skrll rm -f conftest.$ac_objext
   3627  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3628  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   3629  1.1  skrll   ac_status=$?
   3630  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   3631  1.1  skrll   rm -f conftest.er1
   3632  1.1  skrll   cat conftest.err >&5
   3633  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3634  1.1  skrll   (exit $ac_status); } &&
   3635  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   3636  1.1  skrll 			 || test ! -s conftest.err'
   3637  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3638  1.1  skrll   (eval $ac_try) 2>&5
   3639  1.1  skrll   ac_status=$?
   3640  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3641  1.1  skrll   (exit $ac_status); }; } &&
   3642  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   3643  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3644  1.1  skrll   (eval $ac_try) 2>&5
   3645  1.1  skrll   ac_status=$?
   3646  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3647  1.1  skrll   (exit $ac_status); }; }; then
   3648  1.1  skrll   ac_compiler_gnu=yes
   3649  1.1  skrll else
   3650  1.1  skrll   echo "$as_me: failed program was:" >&5
   3651  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   3652  1.1  skrll 
   3653  1.1  skrll ac_compiler_gnu=no
   3654  1.1  skrll fi
   3655  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3656  1.1  skrll ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3657  1.1  skrll 
   3658  1.1  skrll fi
   3659  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3660  1.1  skrll echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   3661  1.1  skrll GCC=`test $ac_compiler_gnu = yes && echo yes`
   3662  1.1  skrll ac_test_CFLAGS=${CFLAGS+set}
   3663  1.1  skrll ac_save_CFLAGS=$CFLAGS
   3664  1.1  skrll CFLAGS="-g"
   3665  1.1  skrll echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3666  1.1  skrll echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   3667  1.1  skrll if test "${ac_cv_prog_cc_g+set}" = set; then
   3668  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3669  1.1  skrll else
   3670  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   3671  1.1  skrll /* confdefs.h.  */
   3672  1.1  skrll _ACEOF
   3673  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   3674  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   3675  1.1  skrll /* end confdefs.h.  */
   3676  1.1  skrll 
   3677  1.1  skrll int
   3678  1.1  skrll main ()
   3679  1.1  skrll {
   3680  1.1  skrll 
   3681  1.1  skrll   ;
   3682  1.1  skrll   return 0;
   3683  1.1  skrll }
   3684  1.1  skrll _ACEOF
   3685  1.1  skrll rm -f conftest.$ac_objext
   3686  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3687  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   3688  1.1  skrll   ac_status=$?
   3689  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   3690  1.1  skrll   rm -f conftest.er1
   3691  1.1  skrll   cat conftest.err >&5
   3692  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3693  1.1  skrll   (exit $ac_status); } &&
   3694  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   3695  1.1  skrll 			 || test ! -s conftest.err'
   3696  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3697  1.1  skrll   (eval $ac_try) 2>&5
   3698  1.1  skrll   ac_status=$?
   3699  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3700  1.1  skrll   (exit $ac_status); }; } &&
   3701  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   3702  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3703  1.1  skrll   (eval $ac_try) 2>&5
   3704  1.1  skrll   ac_status=$?
   3705  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3706  1.1  skrll   (exit $ac_status); }; }; then
   3707  1.1  skrll   ac_cv_prog_cc_g=yes
   3708  1.1  skrll else
   3709  1.1  skrll   echo "$as_me: failed program was:" >&5
   3710  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   3711  1.1  skrll 
   3712  1.1  skrll ac_cv_prog_cc_g=no
   3713  1.1  skrll fi
   3714  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3715  1.1  skrll fi
   3716  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3717  1.1  skrll echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   3718  1.1  skrll if test "$ac_test_CFLAGS" = set; then
   3719  1.1  skrll   CFLAGS=$ac_save_CFLAGS
   3720  1.1  skrll elif test $ac_cv_prog_cc_g = yes; then
   3721  1.1  skrll   if test "$GCC" = yes; then
   3722  1.1  skrll     CFLAGS="-g -O2"
   3723  1.1  skrll   else
   3724  1.1  skrll     CFLAGS="-g"
   3725  1.1  skrll   fi
   3726  1.1  skrll else
   3727  1.1  skrll   if test "$GCC" = yes; then
   3728  1.1  skrll     CFLAGS="-O2"
   3729  1.1  skrll   else
   3730  1.1  skrll     CFLAGS=
   3731  1.1  skrll   fi
   3732  1.1  skrll fi
   3733  1.1  skrll echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   3734  1.1  skrll echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   3735  1.1  skrll if test "${ac_cv_prog_cc_stdc+set}" = set; then
   3736  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   3737  1.1  skrll else
   3738  1.1  skrll   ac_cv_prog_cc_stdc=no
   3739  1.1  skrll ac_save_CC=$CC
   3740  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   3741  1.1  skrll /* confdefs.h.  */
   3742  1.1  skrll _ACEOF
   3743  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   3744  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   3745  1.1  skrll /* end confdefs.h.  */
   3746  1.1  skrll #include <stdarg.h>
   3747  1.1  skrll #include <stdio.h>
   3748  1.1  skrll #include <sys/types.h>
   3749  1.1  skrll #include <sys/stat.h>
   3750  1.1  skrll /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3751  1.1  skrll struct buf { int x; };
   3752  1.1  skrll FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3753  1.1  skrll static char *e (p, i)
   3754  1.1  skrll      char **p;
   3755  1.1  skrll      int i;
   3756  1.1  skrll {
   3757  1.1  skrll   return p[i];
   3758  1.1  skrll }
   3759  1.1  skrll static char *f (char * (*g) (char **, int), char **p, ...)
   3760  1.1  skrll {
   3761  1.1  skrll   char *s;
   3762  1.1  skrll   va_list v;
   3763  1.1  skrll   va_start (v,p);
   3764  1.1  skrll   s = g (p, va_arg (v,int));
   3765  1.1  skrll   va_end (v);
   3766  1.1  skrll   return s;
   3767  1.1  skrll }
   3768  1.1  skrll 
   3769  1.1  skrll /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3770  1.1  skrll    function prototypes and stuff, but not '\xHH' hex character constants.
   3771  1.1  skrll    These don't provoke an error unfortunately, instead are silently treated
   3772  1.1  skrll    as 'x'.  The following induces an error, until -std1 is added to get
   3773  1.1  skrll    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3774  1.1  skrll    array size at least.  It's necessary to write '\x00'==0 to get something
   3775  1.1  skrll    that's true only with -std1.  */
   3776  1.1  skrll int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3777  1.1  skrll 
   3778  1.1  skrll int test (int i, double x);
   3779  1.1  skrll struct s1 {int (*f) (int a);};
   3780  1.1  skrll struct s2 {int (*f) (double a);};
   3781  1.1  skrll int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3782  1.1  skrll int argc;
   3783  1.1  skrll char **argv;
   3784  1.1  skrll int
   3785  1.1  skrll main ()
   3786  1.1  skrll {
   3787  1.1  skrll return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3788  1.1  skrll   ;
   3789  1.1  skrll   return 0;
   3790  1.1  skrll }
   3791  1.1  skrll _ACEOF
   3792  1.1  skrll # Don't try gcc -ansi; that turns off useful extensions and
   3793  1.1  skrll # breaks some systems' header files.
   3794  1.1  skrll # AIX			-qlanglvl=ansi
   3795  1.1  skrll # Ultrix and OSF/1	-std1
   3796  1.1  skrll # HP-UX 10.20 and later	-Ae
   3797  1.1  skrll # HP-UX older versions	-Aa -D_HPUX_SOURCE
   3798  1.1  skrll # SVR4			-Xc -D__EXTENSIONS__
   3799  1.1  skrll for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3800  1.1  skrll do
   3801  1.1  skrll   CC="$ac_save_CC $ac_arg"
   3802  1.1  skrll   rm -f conftest.$ac_objext
   3803  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3804  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   3805  1.1  skrll   ac_status=$?
   3806  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   3807  1.1  skrll   rm -f conftest.er1
   3808  1.1  skrll   cat conftest.err >&5
   3809  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3810  1.1  skrll   (exit $ac_status); } &&
   3811  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   3812  1.1  skrll 			 || test ! -s conftest.err'
   3813  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3814  1.1  skrll   (eval $ac_try) 2>&5
   3815  1.1  skrll   ac_status=$?
   3816  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3817  1.1  skrll   (exit $ac_status); }; } &&
   3818  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   3819  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3820  1.1  skrll   (eval $ac_try) 2>&5
   3821  1.1  skrll   ac_status=$?
   3822  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3823  1.1  skrll   (exit $ac_status); }; }; then
   3824  1.1  skrll   ac_cv_prog_cc_stdc=$ac_arg
   3825  1.1  skrll break
   3826  1.1  skrll else
   3827  1.1  skrll   echo "$as_me: failed program was:" >&5
   3828  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   3829  1.1  skrll 
   3830  1.1  skrll fi
   3831  1.1  skrll rm -f conftest.err conftest.$ac_objext
   3832  1.1  skrll done
   3833  1.1  skrll rm -f conftest.$ac_ext conftest.$ac_objext
   3834  1.1  skrll CC=$ac_save_CC
   3835  1.1  skrll 
   3836  1.1  skrll fi
   3837  1.1  skrll 
   3838  1.1  skrll case "x$ac_cv_prog_cc_stdc" in
   3839  1.1  skrll   x|xno)
   3840  1.1  skrll     echo "$as_me:$LINENO: result: none needed" >&5
   3841  1.1  skrll echo "${ECHO_T}none needed" >&6 ;;
   3842  1.1  skrll   *)
   3843  1.1  skrll     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   3844  1.1  skrll echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   3845  1.1  skrll     CC="$CC $ac_cv_prog_cc_stdc" ;;
   3846  1.1  skrll esac
   3847  1.1  skrll 
   3848  1.1  skrll # Some people use a C++ compiler to compile C.  Since we use `exit',
   3849  1.1  skrll # in C++ we need to declare it.  In case someone uses the same compiler
   3850  1.1  skrll # for both compiling C and C++ we need to have the C++ compiler decide
   3851  1.1  skrll # the declaration of exit, since it's the most demanding environment.
   3852  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   3853  1.1  skrll #ifndef __cplusplus
   3854  1.1  skrll   choke me
   3855  1.1  skrll #endif
   3856  1.1  skrll _ACEOF
   3857  1.1  skrll rm -f conftest.$ac_objext
   3858  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3859  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   3860  1.1  skrll   ac_status=$?
   3861  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   3862  1.1  skrll   rm -f conftest.er1
   3863  1.1  skrll   cat conftest.err >&5
   3864  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3865  1.1  skrll   (exit $ac_status); } &&
   3866  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   3867  1.1  skrll 			 || test ! -s conftest.err'
   3868  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3869  1.1  skrll   (eval $ac_try) 2>&5
   3870  1.1  skrll   ac_status=$?
   3871  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3872  1.1  skrll   (exit $ac_status); }; } &&
   3873  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   3874  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3875  1.1  skrll   (eval $ac_try) 2>&5
   3876  1.1  skrll   ac_status=$?
   3877  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3878  1.1  skrll   (exit $ac_status); }; }; then
   3879  1.1  skrll   for ac_declaration in \
   3880  1.1  skrll    '' \
   3881  1.1  skrll    'extern "C" void std::exit (int) throw (); using std::exit;' \
   3882  1.1  skrll    'extern "C" void std::exit (int); using std::exit;' \
   3883  1.1  skrll    'extern "C" void exit (int) throw ();' \
   3884  1.1  skrll    'extern "C" void exit (int);' \
   3885  1.1  skrll    'void exit (int);'
   3886  1.1  skrll do
   3887  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   3888  1.1  skrll /* confdefs.h.  */
   3889  1.1  skrll _ACEOF
   3890  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   3891  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   3892  1.1  skrll /* end confdefs.h.  */
   3893  1.1  skrll $ac_declaration
   3894  1.1  skrll #include <stdlib.h>
   3895  1.1  skrll int
   3896  1.1  skrll main ()
   3897  1.1  skrll {
   3898  1.1  skrll exit (42);
   3899  1.1  skrll   ;
   3900  1.1  skrll   return 0;
   3901  1.1  skrll }
   3902  1.1  skrll _ACEOF
   3903  1.1  skrll rm -f conftest.$ac_objext
   3904  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3905  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   3906  1.1  skrll   ac_status=$?
   3907  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   3908  1.1  skrll   rm -f conftest.er1
   3909  1.1  skrll   cat conftest.err >&5
   3910  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3911  1.1  skrll   (exit $ac_status); } &&
   3912  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   3913  1.1  skrll 			 || test ! -s conftest.err'
   3914  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3915  1.1  skrll   (eval $ac_try) 2>&5
   3916  1.1  skrll   ac_status=$?
   3917  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3918  1.1  skrll   (exit $ac_status); }; } &&
   3919  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   3920  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3921  1.1  skrll   (eval $ac_try) 2>&5
   3922  1.1  skrll   ac_status=$?
   3923  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3924  1.1  skrll   (exit $ac_status); }; }; then
   3925  1.1  skrll   :
   3926  1.1  skrll else
   3927  1.1  skrll   echo "$as_me: failed program was:" >&5
   3928  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   3929  1.1  skrll 
   3930  1.1  skrll continue
   3931  1.1  skrll fi
   3932  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3933  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   3934  1.1  skrll /* confdefs.h.  */
   3935  1.1  skrll _ACEOF
   3936  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   3937  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   3938  1.1  skrll /* end confdefs.h.  */
   3939  1.1  skrll $ac_declaration
   3940  1.1  skrll int
   3941  1.1  skrll main ()
   3942  1.1  skrll {
   3943  1.1  skrll exit (42);
   3944  1.1  skrll   ;
   3945  1.1  skrll   return 0;
   3946  1.1  skrll }
   3947  1.1  skrll _ACEOF
   3948  1.1  skrll rm -f conftest.$ac_objext
   3949  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3950  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   3951  1.1  skrll   ac_status=$?
   3952  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   3953  1.1  skrll   rm -f conftest.er1
   3954  1.1  skrll   cat conftest.err >&5
   3955  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3956  1.1  skrll   (exit $ac_status); } &&
   3957  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   3958  1.1  skrll 			 || test ! -s conftest.err'
   3959  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3960  1.1  skrll   (eval $ac_try) 2>&5
   3961  1.1  skrll   ac_status=$?
   3962  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3963  1.1  skrll   (exit $ac_status); }; } &&
   3964  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   3965  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3966  1.1  skrll   (eval $ac_try) 2>&5
   3967  1.1  skrll   ac_status=$?
   3968  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3969  1.1  skrll   (exit $ac_status); }; }; then
   3970  1.1  skrll   break
   3971  1.1  skrll else
   3972  1.1  skrll   echo "$as_me: failed program was:" >&5
   3973  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   3974  1.1  skrll 
   3975  1.1  skrll fi
   3976  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3977  1.1  skrll done
   3978  1.1  skrll rm -f conftest*
   3979  1.1  skrll if test -n "$ac_declaration"; then
   3980  1.1  skrll   echo '#ifdef __cplusplus' >>confdefs.h
   3981  1.1  skrll   echo $ac_declaration      >>confdefs.h
   3982  1.1  skrll   echo '#endif'             >>confdefs.h
   3983  1.1  skrll fi
   3984  1.1  skrll 
   3985  1.1  skrll else
   3986  1.1  skrll   echo "$as_me: failed program was:" >&5
   3987  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   3988  1.1  skrll 
   3989  1.1  skrll fi
   3990  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3991  1.1  skrll ac_ext=c
   3992  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   3993  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3994  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3995  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3996  1.1  skrll 
   3997  1.1  skrll 
   3998  1.1  skrll cat >>confdefs.h <<\_ACEOF
   3999  1.1  skrll #define _GNU_SOURCE 1
   4000  1.1  skrll _ACEOF
   4001  1.1  skrll 
   4002  1.1  skrll 
   4003  1.1  skrll ac_ext=c
   4004  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   4005  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4006  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4007  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4008  1.1  skrll echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4009  1.1  skrll echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   4010  1.1  skrll # On Suns, sometimes $CPP names a directory.
   4011  1.1  skrll if test -n "$CPP" && test -d "$CPP"; then
   4012  1.1  skrll   CPP=
   4013  1.1  skrll fi
   4014  1.1  skrll if test -z "$CPP"; then
   4015  1.1  skrll   if test "${ac_cv_prog_CPP+set}" = set; then
   4016  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   4017  1.1  skrll else
   4018  1.1  skrll       # Double quotes because CPP needs to be expanded
   4019  1.1  skrll     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4020  1.1  skrll     do
   4021  1.1  skrll       ac_preproc_ok=false
   4022  1.1  skrll for ac_c_preproc_warn_flag in '' yes
   4023  1.1  skrll do
   4024  1.1  skrll   # Use a header file that comes with gcc, so configuring glibc
   4025  1.1  skrll   # with a fresh cross-compiler works.
   4026  1.1  skrll   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4027  1.1  skrll   # <limits.h> exists even on freestanding compilers.
   4028  1.1  skrll   # On the NeXT, cc -E runs the code through the compiler's parser,
   4029  1.1  skrll   # not just through cpp. "Syntax error" is here to catch this case.
   4030  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4031  1.1  skrll /* confdefs.h.  */
   4032  1.1  skrll _ACEOF
   4033  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4034  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4035  1.1  skrll /* end confdefs.h.  */
   4036  1.1  skrll #ifdef __STDC__
   4037  1.1  skrll # include <limits.h>
   4038  1.1  skrll #else
   4039  1.1  skrll # include <assert.h>
   4040  1.1  skrll #endif
   4041  1.1  skrll 		     Syntax error
   4042  1.1  skrll _ACEOF
   4043  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4044  1.1  skrll   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4045  1.1  skrll   ac_status=$?
   4046  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   4047  1.1  skrll   rm -f conftest.er1
   4048  1.1  skrll   cat conftest.err >&5
   4049  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4050  1.1  skrll   (exit $ac_status); } >/dev/null; then
   4051  1.1  skrll   if test -s conftest.err; then
   4052  1.1  skrll     ac_cpp_err=$ac_c_preproc_warn_flag
   4053  1.1  skrll     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4054  1.1  skrll   else
   4055  1.1  skrll     ac_cpp_err=
   4056  1.1  skrll   fi
   4057  1.1  skrll else
   4058  1.1  skrll   ac_cpp_err=yes
   4059  1.1  skrll fi
   4060  1.1  skrll if test -z "$ac_cpp_err"; then
   4061  1.1  skrll   :
   4062  1.1  skrll else
   4063  1.1  skrll   echo "$as_me: failed program was:" >&5
   4064  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4065  1.1  skrll 
   4066  1.1  skrll   # Broken: fails on valid input.
   4067  1.1  skrll continue
   4068  1.1  skrll fi
   4069  1.1  skrll rm -f conftest.err conftest.$ac_ext
   4070  1.1  skrll 
   4071  1.1  skrll   # OK, works on sane cases.  Now check whether non-existent headers
   4072  1.1  skrll   # can be detected and how.
   4073  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4074  1.1  skrll /* confdefs.h.  */
   4075  1.1  skrll _ACEOF
   4076  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4077  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4078  1.1  skrll /* end confdefs.h.  */
   4079  1.1  skrll #include <ac_nonexistent.h>
   4080  1.1  skrll _ACEOF
   4081  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4082  1.1  skrll   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4083  1.1  skrll   ac_status=$?
   4084  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   4085  1.1  skrll   rm -f conftest.er1
   4086  1.1  skrll   cat conftest.err >&5
   4087  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4088  1.1  skrll   (exit $ac_status); } >/dev/null; then
   4089  1.1  skrll   if test -s conftest.err; then
   4090  1.1  skrll     ac_cpp_err=$ac_c_preproc_warn_flag
   4091  1.1  skrll     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4092  1.1  skrll   else
   4093  1.1  skrll     ac_cpp_err=
   4094  1.1  skrll   fi
   4095  1.1  skrll else
   4096  1.1  skrll   ac_cpp_err=yes
   4097  1.1  skrll fi
   4098  1.1  skrll if test -z "$ac_cpp_err"; then
   4099  1.1  skrll   # Broken: success on invalid input.
   4100  1.1  skrll continue
   4101  1.1  skrll else
   4102  1.1  skrll   echo "$as_me: failed program was:" >&5
   4103  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4104  1.1  skrll 
   4105  1.1  skrll   # Passes both tests.
   4106  1.1  skrll ac_preproc_ok=:
   4107  1.1  skrll break
   4108  1.1  skrll fi
   4109  1.1  skrll rm -f conftest.err conftest.$ac_ext
   4110  1.1  skrll 
   4111  1.1  skrll done
   4112  1.1  skrll # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4113  1.1  skrll rm -f conftest.err conftest.$ac_ext
   4114  1.1  skrll if $ac_preproc_ok; then
   4115  1.1  skrll   break
   4116  1.1  skrll fi
   4117  1.1  skrll 
   4118  1.1  skrll     done
   4119  1.1  skrll     ac_cv_prog_CPP=$CPP
   4120  1.1  skrll 
   4121  1.1  skrll fi
   4122  1.1  skrll   CPP=$ac_cv_prog_CPP
   4123  1.1  skrll else
   4124  1.1  skrll   ac_cv_prog_CPP=$CPP
   4125  1.1  skrll fi
   4126  1.1  skrll echo "$as_me:$LINENO: result: $CPP" >&5
   4127  1.1  skrll echo "${ECHO_T}$CPP" >&6
   4128  1.1  skrll ac_preproc_ok=false
   4129  1.1  skrll for ac_c_preproc_warn_flag in '' yes
   4130  1.1  skrll do
   4131  1.1  skrll   # Use a header file that comes with gcc, so configuring glibc
   4132  1.1  skrll   # with a fresh cross-compiler works.
   4133  1.1  skrll   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4134  1.1  skrll   # <limits.h> exists even on freestanding compilers.
   4135  1.1  skrll   # On the NeXT, cc -E runs the code through the compiler's parser,
   4136  1.1  skrll   # not just through cpp. "Syntax error" is here to catch this case.
   4137  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4138  1.1  skrll /* confdefs.h.  */
   4139  1.1  skrll _ACEOF
   4140  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4141  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4142  1.1  skrll /* end confdefs.h.  */
   4143  1.1  skrll #ifdef __STDC__
   4144  1.1  skrll # include <limits.h>
   4145  1.1  skrll #else
   4146  1.1  skrll # include <assert.h>
   4147  1.1  skrll #endif
   4148  1.1  skrll 		     Syntax error
   4149  1.1  skrll _ACEOF
   4150  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4151  1.1  skrll   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4152  1.1  skrll   ac_status=$?
   4153  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   4154  1.1  skrll   rm -f conftest.er1
   4155  1.1  skrll   cat conftest.err >&5
   4156  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4157  1.1  skrll   (exit $ac_status); } >/dev/null; then
   4158  1.1  skrll   if test -s conftest.err; then
   4159  1.1  skrll     ac_cpp_err=$ac_c_preproc_warn_flag
   4160  1.1  skrll     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4161  1.1  skrll   else
   4162  1.1  skrll     ac_cpp_err=
   4163  1.1  skrll   fi
   4164  1.1  skrll else
   4165  1.1  skrll   ac_cpp_err=yes
   4166  1.1  skrll fi
   4167  1.1  skrll if test -z "$ac_cpp_err"; then
   4168  1.1  skrll   :
   4169  1.1  skrll else
   4170  1.1  skrll   echo "$as_me: failed program was:" >&5
   4171  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4172  1.1  skrll 
   4173  1.1  skrll   # Broken: fails on valid input.
   4174  1.1  skrll continue
   4175  1.1  skrll fi
   4176  1.1  skrll rm -f conftest.err conftest.$ac_ext
   4177  1.1  skrll 
   4178  1.1  skrll   # OK, works on sane cases.  Now check whether non-existent headers
   4179  1.1  skrll   # can be detected and how.
   4180  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4181  1.1  skrll /* confdefs.h.  */
   4182  1.1  skrll _ACEOF
   4183  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4184  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4185  1.1  skrll /* end confdefs.h.  */
   4186  1.1  skrll #include <ac_nonexistent.h>
   4187  1.1  skrll _ACEOF
   4188  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4189  1.1  skrll   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4190  1.1  skrll   ac_status=$?
   4191  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   4192  1.1  skrll   rm -f conftest.er1
   4193  1.1  skrll   cat conftest.err >&5
   4194  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4195  1.1  skrll   (exit $ac_status); } >/dev/null; then
   4196  1.1  skrll   if test -s conftest.err; then
   4197  1.1  skrll     ac_cpp_err=$ac_c_preproc_warn_flag
   4198  1.1  skrll     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4199  1.1  skrll   else
   4200  1.1  skrll     ac_cpp_err=
   4201  1.1  skrll   fi
   4202  1.1  skrll else
   4203  1.1  skrll   ac_cpp_err=yes
   4204  1.1  skrll fi
   4205  1.1  skrll if test -z "$ac_cpp_err"; then
   4206  1.1  skrll   # Broken: success on invalid input.
   4207  1.1  skrll continue
   4208  1.1  skrll else
   4209  1.1  skrll   echo "$as_me: failed program was:" >&5
   4210  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4211  1.1  skrll 
   4212  1.1  skrll   # Passes both tests.
   4213  1.1  skrll ac_preproc_ok=:
   4214  1.1  skrll break
   4215  1.1  skrll fi
   4216  1.1  skrll rm -f conftest.err conftest.$ac_ext
   4217  1.1  skrll 
   4218  1.1  skrll done
   4219  1.1  skrll # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4220  1.1  skrll rm -f conftest.err conftest.$ac_ext
   4221  1.1  skrll if $ac_preproc_ok; then
   4222  1.1  skrll   :
   4223  1.1  skrll else
   4224  1.1  skrll   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4225  1.1  skrll echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4226  1.1  skrll { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4227  1.1  skrll See \`config.log' for more details." >&5
   4228  1.1  skrll echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4229  1.1  skrll See \`config.log' for more details." >&2;}
   4230  1.1  skrll    { (exit 1); exit 1; }; }; }
   4231  1.1  skrll fi
   4232  1.1  skrll 
   4233  1.1  skrll ac_ext=c
   4234  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   4235  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4236  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4237  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4238  1.1  skrll 
   4239  1.1  skrll 
   4240  1.1  skrll echo "$as_me:$LINENO: checking for egrep" >&5
   4241  1.1  skrll echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   4242  1.1  skrll if test "${ac_cv_prog_egrep+set}" = set; then
   4243  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   4244  1.1  skrll else
   4245  1.1  skrll   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   4246  1.1  skrll     then ac_cv_prog_egrep='grep -E'
   4247  1.1  skrll     else ac_cv_prog_egrep='egrep'
   4248  1.1  skrll     fi
   4249  1.1  skrll fi
   4250  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   4251  1.1  skrll echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   4252  1.1  skrll  EGREP=$ac_cv_prog_egrep
   4253  1.1  skrll 
   4254  1.1  skrll 
   4255  1.1  skrll echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4256  1.1  skrll echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   4257  1.1  skrll if test "${ac_cv_header_stdc+set}" = set; then
   4258  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   4259  1.1  skrll else
   4260  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4261  1.1  skrll /* confdefs.h.  */
   4262  1.1  skrll _ACEOF
   4263  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4264  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4265  1.1  skrll /* end confdefs.h.  */
   4266  1.1  skrll #include <stdlib.h>
   4267  1.1  skrll #include <stdarg.h>
   4268  1.1  skrll #include <string.h>
   4269  1.1  skrll #include <float.h>
   4270  1.1  skrll 
   4271  1.1  skrll int
   4272  1.1  skrll main ()
   4273  1.1  skrll {
   4274  1.1  skrll 
   4275  1.1  skrll   ;
   4276  1.1  skrll   return 0;
   4277  1.1  skrll }
   4278  1.1  skrll _ACEOF
   4279  1.1  skrll rm -f conftest.$ac_objext
   4280  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4281  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   4282  1.1  skrll   ac_status=$?
   4283  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   4284  1.1  skrll   rm -f conftest.er1
   4285  1.1  skrll   cat conftest.err >&5
   4286  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4287  1.1  skrll   (exit $ac_status); } &&
   4288  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   4289  1.1  skrll 			 || test ! -s conftest.err'
   4290  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4291  1.1  skrll   (eval $ac_try) 2>&5
   4292  1.1  skrll   ac_status=$?
   4293  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4294  1.1  skrll   (exit $ac_status); }; } &&
   4295  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   4296  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4297  1.1  skrll   (eval $ac_try) 2>&5
   4298  1.1  skrll   ac_status=$?
   4299  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4300  1.1  skrll   (exit $ac_status); }; }; then
   4301  1.1  skrll   ac_cv_header_stdc=yes
   4302  1.1  skrll else
   4303  1.1  skrll   echo "$as_me: failed program was:" >&5
   4304  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4305  1.1  skrll 
   4306  1.1  skrll ac_cv_header_stdc=no
   4307  1.1  skrll fi
   4308  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4309  1.1  skrll 
   4310  1.1  skrll if test $ac_cv_header_stdc = yes; then
   4311  1.1  skrll   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4312  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4313  1.1  skrll /* confdefs.h.  */
   4314  1.1  skrll _ACEOF
   4315  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4316  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4317  1.1  skrll /* end confdefs.h.  */
   4318  1.1  skrll #include <string.h>
   4319  1.1  skrll 
   4320  1.1  skrll _ACEOF
   4321  1.1  skrll if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4322  1.1  skrll   $EGREP "memchr" >/dev/null 2>&1; then
   4323  1.1  skrll   :
   4324  1.1  skrll else
   4325  1.1  skrll   ac_cv_header_stdc=no
   4326  1.1  skrll fi
   4327  1.1  skrll rm -f conftest*
   4328  1.1  skrll 
   4329  1.1  skrll fi
   4330  1.1  skrll 
   4331  1.1  skrll if test $ac_cv_header_stdc = yes; then
   4332  1.1  skrll   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4333  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4334  1.1  skrll /* confdefs.h.  */
   4335  1.1  skrll _ACEOF
   4336  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4337  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4338  1.1  skrll /* end confdefs.h.  */
   4339  1.1  skrll #include <stdlib.h>
   4340  1.1  skrll 
   4341  1.1  skrll _ACEOF
   4342  1.1  skrll if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4343  1.1  skrll   $EGREP "free" >/dev/null 2>&1; then
   4344  1.1  skrll   :
   4345  1.1  skrll else
   4346  1.1  skrll   ac_cv_header_stdc=no
   4347  1.1  skrll fi
   4348  1.1  skrll rm -f conftest*
   4349  1.1  skrll 
   4350  1.1  skrll fi
   4351  1.1  skrll 
   4352  1.1  skrll if test $ac_cv_header_stdc = yes; then
   4353  1.1  skrll   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4354  1.1  skrll   if test "$cross_compiling" = yes; then
   4355  1.1  skrll   :
   4356  1.1  skrll else
   4357  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4358  1.1  skrll /* confdefs.h.  */
   4359  1.1  skrll _ACEOF
   4360  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4361  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4362  1.1  skrll /* end confdefs.h.  */
   4363  1.1  skrll #include <ctype.h>
   4364  1.1  skrll #if ((' ' & 0x0FF) == 0x020)
   4365  1.1  skrll # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4366  1.1  skrll # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4367  1.1  skrll #else
   4368  1.1  skrll # define ISLOWER(c) \
   4369  1.1  skrll 		   (('a' <= (c) && (c) <= 'i') \
   4370  1.1  skrll 		     || ('j' <= (c) && (c) <= 'r') \
   4371  1.1  skrll 		     || ('s' <= (c) && (c) <= 'z'))
   4372  1.1  skrll # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4373  1.1  skrll #endif
   4374  1.1  skrll 
   4375  1.1  skrll #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4376  1.1  skrll int
   4377  1.1  skrll main ()
   4378  1.1  skrll {
   4379  1.1  skrll   int i;
   4380  1.1  skrll   for (i = 0; i < 256; i++)
   4381  1.1  skrll     if (XOR (islower (i), ISLOWER (i))
   4382  1.1  skrll 	|| toupper (i) != TOUPPER (i))
   4383  1.1  skrll       exit(2);
   4384  1.1  skrll   exit (0);
   4385  1.1  skrll }
   4386  1.1  skrll _ACEOF
   4387  1.1  skrll rm -f conftest$ac_exeext
   4388  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4389  1.1  skrll   (eval $ac_link) 2>&5
   4390  1.1  skrll   ac_status=$?
   4391  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4392  1.1  skrll   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4393  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4394  1.1  skrll   (eval $ac_try) 2>&5
   4395  1.1  skrll   ac_status=$?
   4396  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4397  1.1  skrll   (exit $ac_status); }; }; then
   4398  1.1  skrll   :
   4399  1.1  skrll else
   4400  1.1  skrll   echo "$as_me: program exited with status $ac_status" >&5
   4401  1.1  skrll echo "$as_me: failed program was:" >&5
   4402  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4403  1.1  skrll 
   4404  1.1  skrll ( exit $ac_status )
   4405  1.1  skrll ac_cv_header_stdc=no
   4406  1.1  skrll fi
   4407  1.1  skrll rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4408  1.1  skrll fi
   4409  1.1  skrll fi
   4410  1.1  skrll fi
   4411  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4412  1.1  skrll echo "${ECHO_T}$ac_cv_header_stdc" >&6
   4413  1.1  skrll if test $ac_cv_header_stdc = yes; then
   4414  1.1  skrll 
   4415  1.1  skrll cat >>confdefs.h <<\_ACEOF
   4416  1.1  skrll #define STDC_HEADERS 1
   4417  1.1  skrll _ACEOF
   4418  1.1  skrll 
   4419  1.1  skrll fi
   4420  1.1  skrll 
   4421  1.1  skrll # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4422  1.1  skrll 
   4423  1.1  skrll 
   4424  1.1  skrll 
   4425  1.1  skrll 
   4426  1.1  skrll 
   4427  1.1  skrll 
   4428  1.1  skrll 
   4429  1.1  skrll 
   4430  1.1  skrll 
   4431  1.1  skrll for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4432  1.1  skrll 		  inttypes.h stdint.h unistd.h
   4433  1.1  skrll do
   4434  1.1  skrll as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4435  1.1  skrll echo "$as_me:$LINENO: checking for $ac_header" >&5
   4436  1.1  skrll echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4437  1.1  skrll if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4438  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   4439  1.1  skrll else
   4440  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4441  1.1  skrll /* confdefs.h.  */
   4442  1.1  skrll _ACEOF
   4443  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4444  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4445  1.1  skrll /* end confdefs.h.  */
   4446  1.1  skrll $ac_includes_default
   4447  1.1  skrll 
   4448  1.1  skrll #include <$ac_header>
   4449  1.1  skrll _ACEOF
   4450  1.1  skrll rm -f conftest.$ac_objext
   4451  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4452  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   4453  1.1  skrll   ac_status=$?
   4454  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   4455  1.1  skrll   rm -f conftest.er1
   4456  1.1  skrll   cat conftest.err >&5
   4457  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4458  1.1  skrll   (exit $ac_status); } &&
   4459  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   4460  1.1  skrll 			 || test ! -s conftest.err'
   4461  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4462  1.1  skrll   (eval $ac_try) 2>&5
   4463  1.1  skrll   ac_status=$?
   4464  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4465  1.1  skrll   (exit $ac_status); }; } &&
   4466  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   4467  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4468  1.1  skrll   (eval $ac_try) 2>&5
   4469  1.1  skrll   ac_status=$?
   4470  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4471  1.1  skrll   (exit $ac_status); }; }; then
   4472  1.1  skrll   eval "$as_ac_Header=yes"
   4473  1.1  skrll else
   4474  1.1  skrll   echo "$as_me: failed program was:" >&5
   4475  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4476  1.1  skrll 
   4477  1.1  skrll eval "$as_ac_Header=no"
   4478  1.1  skrll fi
   4479  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4480  1.1  skrll fi
   4481  1.1  skrll echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4482  1.1  skrll echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4483  1.1  skrll if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4484  1.1  skrll   cat >>confdefs.h <<_ACEOF
   4485  1.1  skrll #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4486  1.1  skrll _ACEOF
   4487  1.1  skrll 
   4488  1.1  skrll fi
   4489  1.1  skrll 
   4490  1.1  skrll done
   4491  1.1  skrll 
   4492  1.1  skrll 
   4493  1.1  skrll 
   4494  1.1  skrll   if test "${ac_cv_header_minix_config_h+set}" = set; then
   4495  1.1  skrll   echo "$as_me:$LINENO: checking for minix/config.h" >&5
   4496  1.1  skrll echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
   4497  1.1  skrll if test "${ac_cv_header_minix_config_h+set}" = set; then
   4498  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   4499  1.1  skrll fi
   4500  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
   4501  1.1  skrll echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
   4502  1.1  skrll else
   4503  1.1  skrll   # Is the header compilable?
   4504  1.1  skrll echo "$as_me:$LINENO: checking minix/config.h usability" >&5
   4505  1.1  skrll echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
   4506  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   4507  1.1  skrll /* confdefs.h.  */
   4508  1.1  skrll _ACEOF
   4509  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4510  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4511  1.1  skrll /* end confdefs.h.  */
   4512  1.1  skrll $ac_includes_default
   4513  1.1  skrll #include <minix/config.h>
   4514  1.1  skrll _ACEOF
   4515  1.1  skrll rm -f conftest.$ac_objext
   4516  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4517  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   4518  1.1  skrll   ac_status=$?
   4519  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   4520  1.1  skrll   rm -f conftest.er1
   4521  1.1  skrll   cat conftest.err >&5
   4522  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4523  1.1  skrll   (exit $ac_status); } &&
   4524  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   4525  1.1  skrll 			 || test ! -s conftest.err'
   4526  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4527  1.1  skrll   (eval $ac_try) 2>&5
   4528  1.1  skrll   ac_status=$?
   4529  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4530  1.1  skrll   (exit $ac_status); }; } &&
   4531  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   4532  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4533  1.1  skrll   (eval $ac_try) 2>&5
   4534  1.1  skrll   ac_status=$?
   4535  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4536  1.1  skrll   (exit $ac_status); }; }; then
   4537  1.1  skrll   ac_header_compiler=yes
   4538  1.1  skrll else
   4539  1.1  skrll   echo "$as_me: failed program was:" >&5
   4540  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4541  1.1  skrll 
   4542  1.1  skrll ac_header_compiler=no
   4543  1.1  skrll fi
   4544  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4545  1.1  skrll echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4546  1.1  skrll echo "${ECHO_T}$ac_header_compiler" >&6
   4547  1.1  skrll 
   4548  1.1  skrll # Is the header present?
   4549  1.1  skrll echo "$as_me:$LINENO: checking minix/config.h presence" >&5
   4550  1.1  skrll echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
   4551  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   4552  1.1  skrll /* confdefs.h.  */
   4553  1.1  skrll _ACEOF
   4554  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4555  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4556  1.1  skrll /* end confdefs.h.  */
   4557  1.1  skrll #include <minix/config.h>
   4558  1.1  skrll _ACEOF
   4559  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4560  1.1  skrll   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4561  1.1  skrll   ac_status=$?
   4562  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   4563  1.1  skrll   rm -f conftest.er1
   4564  1.1  skrll   cat conftest.err >&5
   4565  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4566  1.1  skrll   (exit $ac_status); } >/dev/null; then
   4567  1.1  skrll   if test -s conftest.err; then
   4568  1.1  skrll     ac_cpp_err=$ac_c_preproc_warn_flag
   4569  1.1  skrll     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4570  1.1  skrll   else
   4571  1.1  skrll     ac_cpp_err=
   4572  1.1  skrll   fi
   4573  1.1  skrll else
   4574  1.1  skrll   ac_cpp_err=yes
   4575  1.1  skrll fi
   4576  1.1  skrll if test -z "$ac_cpp_err"; then
   4577  1.1  skrll   ac_header_preproc=yes
   4578  1.1  skrll else
   4579  1.1  skrll   echo "$as_me: failed program was:" >&5
   4580  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4581  1.1  skrll 
   4582  1.1  skrll   ac_header_preproc=no
   4583  1.1  skrll fi
   4584  1.1  skrll rm -f conftest.err conftest.$ac_ext
   4585  1.1  skrll echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4586  1.1  skrll echo "${ECHO_T}$ac_header_preproc" >&6
   4587  1.1  skrll 
   4588  1.1  skrll # So?  What about this header?
   4589  1.1  skrll case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4590  1.1  skrll   yes:no: )
   4591  1.1  skrll     { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
   4592  1.1  skrll echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4593  1.1  skrll     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
   4594  1.1  skrll echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
   4595  1.1  skrll     ac_header_preproc=yes
   4596  1.1  skrll     ;;
   4597  1.1  skrll   no:yes:* )
   4598  1.1  skrll     { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
   4599  1.1  skrll echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
   4600  1.1  skrll     { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
   4601  1.1  skrll echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
   4602  1.1  skrll     { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
   4603  1.1  skrll echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
   4604  1.1  skrll     { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
   4605  1.1  skrll echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   4606  1.1  skrll     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
   4607  1.1  skrll echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
   4608  1.1  skrll     { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
   4609  1.1  skrll echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
   4610  1.1  skrll     (
   4611  1.1  skrll       cat <<\_ASBOX
   4612  1.1  skrll ## ------------------------------------------ ##
   4613  1.1  skrll ## Report this to the AC_PACKAGE_NAME lists.  ##
   4614  1.1  skrll ## ------------------------------------------ ##
   4615  1.1  skrll _ASBOX
   4616  1.1  skrll     ) |
   4617  1.1  skrll       sed "s/^/$as_me: WARNING:     /" >&2
   4618  1.1  skrll     ;;
   4619  1.1  skrll esac
   4620  1.1  skrll echo "$as_me:$LINENO: checking for minix/config.h" >&5
   4621  1.1  skrll echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
   4622  1.1  skrll if test "${ac_cv_header_minix_config_h+set}" = set; then
   4623  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   4624  1.1  skrll else
   4625  1.1  skrll   ac_cv_header_minix_config_h=$ac_header_preproc
   4626  1.1  skrll fi
   4627  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
   4628  1.1  skrll echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
   4629  1.1  skrll 
   4630  1.1  skrll fi
   4631  1.1  skrll if test $ac_cv_header_minix_config_h = yes; then
   4632  1.1  skrll   MINIX=yes
   4633  1.1  skrll else
   4634  1.1  skrll   MINIX=
   4635  1.1  skrll fi
   4636  1.1  skrll 
   4637  1.1  skrll 
   4638  1.1  skrll   if test "$MINIX" = yes; then
   4639  1.1  skrll 
   4640  1.1  skrll cat >>confdefs.h <<\_ACEOF
   4641  1.1  skrll #define _POSIX_SOURCE 1
   4642  1.1  skrll _ACEOF
   4643  1.1  skrll 
   4644  1.1  skrll 
   4645  1.1  skrll cat >>confdefs.h <<\_ACEOF
   4646  1.1  skrll #define _POSIX_1_SOURCE 2
   4647  1.1  skrll _ACEOF
   4648  1.1  skrll 
   4649  1.1  skrll 
   4650  1.1  skrll cat >>confdefs.h <<\_ACEOF
   4651  1.1  skrll #define _MINIX 1
   4652  1.1  skrll _ACEOF
   4653  1.1  skrll 
   4654  1.1  skrll   fi
   4655  1.1  skrll 
   4656  1.1  skrll 
   4657  1.1  skrll 
   4658  1.1  skrll   echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
   4659  1.1  skrll echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
   4660  1.1  skrll if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
   4661  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   4662  1.1  skrll else
   4663  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   4664  1.1  skrll /* confdefs.h.  */
   4665  1.1  skrll _ACEOF
   4666  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   4667  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   4668  1.1  skrll /* end confdefs.h.  */
   4669  1.1  skrll 
   4670  1.1  skrll #	  define __EXTENSIONS__ 1
   4671  1.1  skrll 	  $ac_includes_default
   4672  1.1  skrll int
   4673  1.1  skrll main ()
   4674  1.1  skrll {
   4675  1.1  skrll 
   4676  1.1  skrll   ;
   4677  1.1  skrll   return 0;
   4678  1.1  skrll }
   4679  1.1  skrll _ACEOF
   4680  1.1  skrll rm -f conftest.$ac_objext
   4681  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4682  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   4683  1.1  skrll   ac_status=$?
   4684  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   4685  1.1  skrll   rm -f conftest.er1
   4686  1.1  skrll   cat conftest.err >&5
   4687  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4688  1.1  skrll   (exit $ac_status); } &&
   4689  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   4690  1.1  skrll 			 || test ! -s conftest.err'
   4691  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4692  1.1  skrll   (eval $ac_try) 2>&5
   4693  1.1  skrll   ac_status=$?
   4694  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4695  1.1  skrll   (exit $ac_status); }; } &&
   4696  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   4697  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4698  1.1  skrll   (eval $ac_try) 2>&5
   4699  1.1  skrll   ac_status=$?
   4700  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4701  1.1  skrll   (exit $ac_status); }; }; then
   4702  1.1  skrll   ac_cv_safe_to_define___extensions__=yes
   4703  1.1  skrll else
   4704  1.1  skrll   echo "$as_me: failed program was:" >&5
   4705  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   4706  1.1  skrll 
   4707  1.1  skrll ac_cv_safe_to_define___extensions__=no
   4708  1.1  skrll fi
   4709  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4710  1.1  skrll fi
   4711  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
   4712  1.1  skrll echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
   4713  1.1  skrll   test $ac_cv_safe_to_define___extensions__ = yes &&
   4714  1.1  skrll     cat >>confdefs.h <<\_ACEOF
   4715  1.1  skrll #define __EXTENSIONS__ 1
   4716  1.1  skrll _ACEOF
   4717  1.1  skrll 
   4718  1.1  skrll   cat >>confdefs.h <<\_ACEOF
   4719  1.1  skrll #define _ALL_SOURCE 1
   4720  1.1  skrll _ACEOF
   4721  1.1  skrll 
   4722  1.1  skrll   cat >>confdefs.h <<\_ACEOF
   4723  1.1  skrll #define _GNU_SOURCE 1
   4724  1.1  skrll _ACEOF
   4725  1.1  skrll 
   4726  1.1  skrll   cat >>confdefs.h <<\_ACEOF
   4727  1.1  skrll #define _POSIX_PTHREAD_SEMANTICS 1
   4728  1.1  skrll _ACEOF
   4729  1.1  skrll 
   4730  1.1  skrll   cat >>confdefs.h <<\_ACEOF
   4731  1.1  skrll #define _TANDEM_SOURCE 1
   4732  1.1  skrll _ACEOF
   4733  1.1  skrll 
   4734  1.1  skrll 
   4735  1.1  skrll # Find a good install program.  We prefer a C program (faster),
   4736  1.1  skrll # so one script is as good as another.  But avoid the broken or
   4737  1.1  skrll # incompatible versions:
   4738  1.1  skrll # SysV /etc/install, /usr/sbin/install
   4739  1.1  skrll # SunOS /usr/etc/install
   4740  1.1  skrll # IRIX /sbin/install
   4741  1.1  skrll # AIX /bin/install
   4742  1.1  skrll # AmigaOS /C/install, which installs bootblocks on floppy discs
   4743  1.1  skrll # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4744  1.1  skrll # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4745  1.1  skrll # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4746  1.1  skrll # OS/2's system install, which has a completely different semantic
   4747  1.1  skrll # ./install, which can be erroneously created by make from ./install.sh.
   4748  1.1  skrll # Reject install programs that cannot install multiple files.
   4749  1.1  skrll echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   4750  1.1  skrll echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   4751  1.1  skrll if test -z "$INSTALL"; then
   4752  1.1  skrll if test "${ac_cv_path_install+set}" = set; then
   4753  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   4754  1.1  skrll else
   4755  1.1  skrll   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4756  1.1  skrll for as_dir in $PATH
   4757  1.1  skrll do
   4758  1.1  skrll   IFS=$as_save_IFS
   4759  1.1  skrll   test -z "$as_dir" && as_dir=.
   4760  1.1  skrll   # Account for people who put trailing slashes in PATH elements.
   4761  1.1  skrll case $as_dir/ in
   4762  1.1  skrll   ./ | .// | /cC/* | \
   4763  1.1  skrll   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4764  1.1  skrll   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   4765  1.1  skrll   /usr/ucb/* ) ;;
   4766  1.1  skrll   *)
   4767  1.1  skrll     # OSF1 and SCO ODT 3.0 have their own names for install.
   4768  1.1  skrll     # Don't use installbsd from OSF since it installs stuff as root
   4769  1.1  skrll     # by default.
   4770  1.1  skrll     for ac_prog in ginstall scoinst install; do
   4771  1.1  skrll       for ac_exec_ext in '' $ac_executable_extensions; do
   4772  1.1  skrll 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   4773  1.1  skrll 	  if test $ac_prog = install &&
   4774  1.1  skrll 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4775  1.1  skrll 	    # AIX install.  It has an incompatible calling convention.
   4776  1.1  skrll 	    :
   4777  1.1  skrll 	  elif test $ac_prog = install &&
   4778  1.1  skrll 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4779  1.1  skrll 	    # program-specific install script used by HP pwplus--don't use.
   4780  1.1  skrll 	    :
   4781  1.1  skrll 	  else
   4782  1.1  skrll 	    rm -rf conftest.one conftest.two conftest.dir
   4783  1.1  skrll 	    echo one > conftest.one
   4784  1.1  skrll 	    echo two > conftest.two
   4785  1.1  skrll 	    mkdir conftest.dir
   4786  1.1  skrll 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4787  1.1  skrll 	      test -s conftest.one && test -s conftest.two &&
   4788  1.1  skrll 	      test -s conftest.dir/conftest.one &&
   4789  1.1  skrll 	      test -s conftest.dir/conftest.two
   4790  1.1  skrll 	    then
   4791  1.1  skrll 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4792  1.1  skrll 	      break 3
   4793  1.1  skrll 	    fi
   4794  1.1  skrll 	  fi
   4795  1.1  skrll 	fi
   4796  1.1  skrll       done
   4797  1.1  skrll     done
   4798  1.1  skrll     ;;
   4799  1.1  skrll esac
   4800  1.1  skrll done
   4801  1.1  skrll 
   4802  1.1  skrll rm -rf conftest.one conftest.two conftest.dir
   4803  1.1  skrll 
   4804  1.1  skrll fi
   4805  1.1  skrll   if test "${ac_cv_path_install+set}" = set; then
   4806  1.1  skrll     INSTALL=$ac_cv_path_install
   4807  1.1  skrll   else
   4808  1.1  skrll     # As a last resort, use the slow shell script.  Don't cache a
   4809  1.1  skrll     # value for INSTALL within a source directory, because that will
   4810  1.1  skrll     # break other packages using the cache if that directory is
   4811  1.1  skrll     # removed, or if the value is a relative name.
   4812  1.1  skrll     INSTALL=$ac_install_sh
   4813  1.1  skrll   fi
   4814  1.1  skrll fi
   4815  1.1  skrll echo "$as_me:$LINENO: result: $INSTALL" >&5
   4816  1.1  skrll echo "${ECHO_T}$INSTALL" >&6
   4817  1.1  skrll 
   4818  1.1  skrll # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4819  1.1  skrll # It thinks the first close brace ends the variable substitution.
   4820  1.1  skrll test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4821  1.1  skrll 
   4822  1.1  skrll test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4823  1.1  skrll 
   4824  1.1  skrll test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4825  1.1  skrll 
   4826  1.1  skrll 
   4827  1.1  skrll 
   4828  1.1  skrll 
   4829  1.1  skrll macro_version='2.1a'
   4830  1.1  skrll macro_revision='1.2435'
   4831  1.1  skrll 
   4832  1.1  skrll 
   4833  1.1  skrll 
   4834  1.1  skrll 
   4835  1.1  skrll 
   4836  1.1  skrll 
   4837  1.1  skrll 
   4838  1.1  skrll 
   4839  1.1  skrll 
   4840  1.1  skrll 
   4841  1.1  skrll 
   4842  1.1  skrll 
   4843  1.1  skrll ltmain="$ac_aux_dir/ltmain.sh"
   4844  1.1  skrll 
   4845  1.1  skrll # Set options
   4846  1.1  skrll 
   4847  1.1  skrll enable_dlopen=no
   4848  1.1  skrll 
   4849  1.1  skrll 
   4850  1.1  skrll enable_win32_dll=no
   4851  1.1  skrll 
   4852  1.1  skrll 
   4853  1.1  skrll # Check whether --enable-shared or --disable-shared was given.
   4854  1.1  skrll if test "${enable_shared+set}" = set; then
   4855  1.1  skrll   enableval="$enable_shared"
   4856  1.1  skrll   p=${PACKAGE-default}
   4857  1.1  skrll     case $enableval in
   4858  1.1  skrll     yes) enable_shared=yes ;;
   4859  1.1  skrll     no) enable_shared=no ;;
   4860  1.1  skrll     *)
   4861  1.1  skrll       enable_shared=no
   4862  1.1  skrll       # Look at the argument we got.  We use all the common list separators.
   4863  1.1  skrll       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4864  1.1  skrll       for pkg in $enableval; do
   4865  1.1  skrll 	IFS="$lt_save_ifs"
   4866  1.1  skrll 	if test "X$pkg" = "X$p"; then
   4867  1.1  skrll 	  enable_shared=yes
   4868  1.1  skrll 	fi
   4869  1.1  skrll       done
   4870  1.1  skrll       IFS="$lt_save_ifs"
   4871  1.1  skrll       ;;
   4872  1.1  skrll     esac
   4873  1.1  skrll else
   4874  1.1  skrll   enable_shared=yes
   4875  1.1  skrll fi;
   4876  1.1  skrll 
   4877  1.1  skrll 
   4878  1.1  skrll 
   4879  1.1  skrll 
   4880  1.1  skrll 
   4881  1.1  skrll 
   4882  1.1  skrll 
   4883  1.1  skrll 
   4884  1.1  skrll # Check whether --enable-static or --disable-static was given.
   4885  1.1  skrll if test "${enable_static+set}" = set; then
   4886  1.1  skrll   enableval="$enable_static"
   4887  1.1  skrll   p=${PACKAGE-default}
   4888  1.1  skrll     case $enableval in
   4889  1.1  skrll     yes) enable_static=yes ;;
   4890  1.1  skrll     no) enable_static=no ;;
   4891  1.1  skrll     *)
   4892  1.1  skrll      enable_static=no
   4893  1.1  skrll       # Look at the argument we got.  We use all the common list separators.
   4894  1.1  skrll       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4895  1.1  skrll       for pkg in $enableval; do
   4896  1.1  skrll 	IFS="$lt_save_ifs"
   4897  1.1  skrll 	if test "X$pkg" = "X$p"; then
   4898  1.1  skrll 	  enable_static=yes
   4899  1.1  skrll 	fi
   4900  1.1  skrll       done
   4901  1.1  skrll       IFS="$lt_save_ifs"
   4902  1.1  skrll       ;;
   4903  1.1  skrll     esac
   4904  1.1  skrll else
   4905  1.1  skrll   enable_static=yes
   4906  1.1  skrll fi;
   4907  1.1  skrll 
   4908  1.1  skrll 
   4909  1.1  skrll 
   4910  1.1  skrll 
   4911  1.1  skrll 
   4912  1.1  skrll 
   4913  1.1  skrll 
   4914  1.1  skrll 
   4915  1.1  skrll 
   4916  1.1  skrll # Check whether --with-pic or --without-pic was given.
   4917  1.1  skrll if test "${with_pic+set}" = set; then
   4918  1.1  skrll   withval="$with_pic"
   4919  1.1  skrll   pic_mode="$withval"
   4920  1.1  skrll else
   4921  1.1  skrll   pic_mode=default
   4922  1.1  skrll fi;
   4923  1.1  skrll 
   4924  1.1  skrll test -z "$pic_mode" && pic_mode=default
   4925  1.1  skrll 
   4926  1.1  skrll 
   4927  1.1  skrll 
   4928  1.1  skrll 
   4929  1.1  skrll 
   4930  1.1  skrll 
   4931  1.1  skrll 
   4932  1.1  skrll # Check whether --enable-fast-install or --disable-fast-install was given.
   4933  1.1  skrll if test "${enable_fast_install+set}" = set; then
   4934  1.1  skrll   enableval="$enable_fast_install"
   4935  1.1  skrll   p=${PACKAGE-default}
   4936  1.1  skrll     case $enableval in
   4937  1.1  skrll     yes) enable_fast_install=yes ;;
   4938  1.1  skrll     no) enable_fast_install=no ;;
   4939  1.1  skrll     *)
   4940  1.1  skrll       enable_fast_install=no
   4941  1.1  skrll       # Look at the argument we got.  We use all the common list separators.
   4942  1.1  skrll       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4943  1.1  skrll       for pkg in $enableval; do
   4944  1.1  skrll 	IFS="$lt_save_ifs"
   4945  1.1  skrll 	if test "X$pkg" = "X$p"; then
   4946  1.1  skrll 	  enable_fast_install=yes
   4947  1.1  skrll 	fi
   4948  1.1  skrll       done
   4949  1.1  skrll       IFS="$lt_save_ifs"
   4950  1.1  skrll       ;;
   4951  1.1  skrll     esac
   4952  1.1  skrll else
   4953  1.1  skrll   enable_fast_install=yes
   4954  1.1  skrll fi;
   4955  1.1  skrll 
   4956  1.1  skrll 
   4957  1.1  skrll 
   4958  1.1  skrll 
   4959  1.1  skrll 
   4960  1.1  skrll 
   4961  1.1  skrll 
   4962  1.1  skrll 
   4963  1.1  skrll echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4964  1.1  skrll echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
   4965  1.1  skrll if test "${lt_cv_path_SED+set}" = set; then
   4966  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   4967  1.1  skrll else
   4968  1.1  skrll   # Loop through the user's path and test for sed and gsed.
   4969  1.1  skrll # Then use that list of sed's as ones to test for truncation.
   4970  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4971  1.1  skrll for as_dir in $PATH
   4972  1.1  skrll do
   4973  1.1  skrll   IFS=$as_save_IFS
   4974  1.1  skrll   test -z "$as_dir" && as_dir=.
   4975  1.1  skrll   for lt_ac_prog in sed gsed; do
   4976  1.1  skrll     for ac_exec_ext in '' $ac_executable_extensions; do
   4977  1.1  skrll       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   4978  1.1  skrll         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   4979  1.1  skrll       fi
   4980  1.1  skrll     done
   4981  1.1  skrll   done
   4982  1.1  skrll done
   4983  1.1  skrll IFS=$as_save_IFS
   4984  1.1  skrll lt_ac_max=0
   4985  1.1  skrll lt_ac_count=0
   4986  1.1  skrll # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   4987  1.1  skrll # along with /bin/sed that truncates output.
   4988  1.1  skrll for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   4989  1.1  skrll   test ! -f $lt_ac_sed && continue
   4990  1.1  skrll   cat /dev/null > conftest.in
   4991  1.1  skrll   lt_ac_count=0
   4992  1.1  skrll   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   4993  1.1  skrll   # Check for GNU sed and select it if it is found.
   4994  1.1  skrll   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   4995  1.1  skrll     lt_cv_path_SED=$lt_ac_sed
   4996  1.1  skrll     break
   4997  1.1  skrll   fi
   4998  1.1  skrll   while true; do
   4999  1.1  skrll     cat conftest.in conftest.in >conftest.tmp
   5000  1.1  skrll     mv conftest.tmp conftest.in
   5001  1.1  skrll     cp conftest.in conftest.nl
   5002  1.1  skrll     echo >>conftest.nl
   5003  1.1  skrll     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   5004  1.1  skrll     cmp -s conftest.out conftest.nl || break
   5005  1.1  skrll     # 10000 chars as input seems more than enough
   5006  1.1  skrll     test $lt_ac_count -gt 10 && break
   5007  1.1  skrll     lt_ac_count=`expr $lt_ac_count + 1`
   5008  1.1  skrll     if test $lt_ac_count -gt $lt_ac_max; then
   5009  1.1  skrll       lt_ac_max=$lt_ac_count
   5010  1.1  skrll       lt_cv_path_SED=$lt_ac_sed
   5011  1.1  skrll     fi
   5012  1.1  skrll   done
   5013  1.1  skrll done
   5014  1.1  skrll 
   5015  1.1  skrll fi
   5016  1.1  skrll 
   5017  1.1  skrll SED=$lt_cv_path_SED
   5018  1.1  skrll 
   5019  1.1  skrll echo "$as_me:$LINENO: result: $SED" >&5
   5020  1.1  skrll echo "${ECHO_T}$SED" >&6
   5021  1.1  skrll 
   5022  1.1  skrll test -z "$SED" && SED=sed
   5023  1.1  skrll Xsed="$SED -e 1s/^X//"
   5024  1.1  skrll 
   5025  1.1  skrll 
   5026  1.1  skrll 
   5027  1.1  skrll 
   5028  1.1  skrll 
   5029  1.1  skrll 
   5030  1.1  skrll 
   5031  1.1  skrll 
   5032  1.1  skrll 
   5033  1.1  skrll 
   5034  1.1  skrll 
   5035  1.1  skrll echo "$as_me:$LINENO: checking for fgrep" >&5
   5036  1.1  skrll echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
   5037  1.1  skrll if test "${ac_cv_prog_fgrep+set}" = set; then
   5038  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5039  1.1  skrll else
   5040  1.1  skrll   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
   5041  1.1  skrll     then ac_cv_prog_fgrep='grep -F'
   5042  1.1  skrll     else ac_cv_prog_fgrep='fgrep'
   5043  1.1  skrll     fi
   5044  1.1  skrll fi
   5045  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
   5046  1.1  skrll echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
   5047  1.1  skrll  FGREP=$ac_cv_prog_fgrep
   5048  1.1  skrll 
   5049  1.1  skrll 
   5050  1.1  skrll test -z "$GREP" && GREP=grep
   5051  1.1  skrll 
   5052  1.1  skrll 
   5053  1.1  skrll 
   5054  1.1  skrll 
   5055  1.1  skrll 
   5056  1.1  skrll 
   5057  1.1  skrll 
   5058  1.1  skrll 
   5059  1.1  skrll 
   5060  1.1  skrll 
   5061  1.1  skrll 
   5062  1.1  skrll 
   5063  1.1  skrll 
   5064  1.1  skrll 
   5065  1.1  skrll 
   5066  1.1  skrll 
   5067  1.1  skrll 
   5068  1.1  skrll 
   5069  1.1  skrll 
   5070  1.1  skrll # Check whether --with-gnu-ld or --without-gnu-ld was given.
   5071  1.1  skrll if test "${with_gnu_ld+set}" = set; then
   5072  1.1  skrll   withval="$with_gnu_ld"
   5073  1.1  skrll   test "$withval" = no || with_gnu_ld=yes
   5074  1.1  skrll else
   5075  1.1  skrll   with_gnu_ld=no
   5076  1.1  skrll fi;
   5077  1.1  skrll ac_prog=ld
   5078  1.1  skrll if test "$GCC" = yes; then
   5079  1.1  skrll   # Check if gcc -print-prog-name=ld gives a path.
   5080  1.1  skrll   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   5081  1.1  skrll echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
   5082  1.1  skrll   case $host in
   5083  1.1  skrll   *-*-mingw*)
   5084  1.1  skrll     # gcc leaves a trailing carriage return which upsets mingw
   5085  1.1  skrll     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5086  1.1  skrll   *)
   5087  1.1  skrll     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5088  1.1  skrll   esac
   5089  1.1  skrll   case $ac_prog in
   5090  1.1  skrll     # Accept absolute paths.
   5091  1.1  skrll     [\\/]* | ?:[\\/]*)
   5092  1.1  skrll       re_direlt='/[^/][^/]*/\.\./'
   5093  1.1  skrll       # Canonicalize the pathname of ld
   5094  1.1  skrll       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5095  1.1  skrll       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5096  1.1  skrll 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5097  1.1  skrll       done
   5098  1.1  skrll       test -z "$LD" && LD="$ac_prog"
   5099  1.1  skrll       ;;
   5100  1.1  skrll   "")
   5101  1.1  skrll     # If it fails, then pretend we aren't using GCC.
   5102  1.1  skrll     ac_prog=ld
   5103  1.1  skrll     ;;
   5104  1.1  skrll   *)
   5105  1.1  skrll     # If it is relative, then search for the first ld in PATH.
   5106  1.1  skrll     with_gnu_ld=unknown
   5107  1.1  skrll     ;;
   5108  1.1  skrll   esac
   5109  1.1  skrll elif test "$with_gnu_ld" = yes; then
   5110  1.1  skrll   echo "$as_me:$LINENO: checking for GNU ld" >&5
   5111  1.1  skrll echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   5112  1.1  skrll else
   5113  1.1  skrll   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   5114  1.1  skrll echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   5115  1.1  skrll fi
   5116  1.1  skrll if test "${lt_cv_path_LD+set}" = set; then
   5117  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5118  1.1  skrll else
   5119  1.1  skrll   if test -z "$LD"; then
   5120  1.1  skrll   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5121  1.1  skrll   for ac_dir in $PATH; do
   5122  1.1  skrll     IFS="$lt_save_ifs"
   5123  1.1  skrll     test -z "$ac_dir" && ac_dir=.
   5124  1.1  skrll     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5125  1.1  skrll       lt_cv_path_LD="$ac_dir/$ac_prog"
   5126  1.1  skrll       # Check to see if the program is GNU ld.  I'd rather use --version,
   5127  1.1  skrll       # but apparently some variants of GNU ld only accept -v.
   5128  1.1  skrll       # Break only if it was the GNU/non-GNU ld that we prefer.
   5129  1.1  skrll       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5130  1.1  skrll       *GNU* | *'with BFD'*)
   5131  1.1  skrll 	test "$with_gnu_ld" != no && break
   5132  1.1  skrll 	;;
   5133  1.1  skrll       *)
   5134  1.1  skrll 	test "$with_gnu_ld" != yes && break
   5135  1.1  skrll 	;;
   5136  1.1  skrll       esac
   5137  1.1  skrll     fi
   5138  1.1  skrll   done
   5139  1.1  skrll   IFS="$lt_save_ifs"
   5140  1.1  skrll else
   5141  1.1  skrll   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5142  1.1  skrll fi
   5143  1.1  skrll fi
   5144  1.1  skrll 
   5145  1.1  skrll LD="$lt_cv_path_LD"
   5146  1.1  skrll if test -n "$LD"; then
   5147  1.1  skrll   echo "$as_me:$LINENO: result: $LD" >&5
   5148  1.1  skrll echo "${ECHO_T}$LD" >&6
   5149  1.1  skrll else
   5150  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   5151  1.1  skrll echo "${ECHO_T}no" >&6
   5152  1.1  skrll fi
   5153  1.1  skrll test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   5154  1.1  skrll echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   5155  1.1  skrll    { (exit 1); exit 1; }; }
   5156  1.1  skrll echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   5157  1.1  skrll echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   5158  1.1  skrll if test "${lt_cv_prog_gnu_ld+set}" = set; then
   5159  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5160  1.1  skrll else
   5161  1.1  skrll   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5162  1.1  skrll case `$LD -v 2>&1 </dev/null` in
   5163  1.1  skrll *GNU* | *'with BFD'*)
   5164  1.1  skrll   lt_cv_prog_gnu_ld=yes
   5165  1.1  skrll   ;;
   5166  1.1  skrll *)
   5167  1.1  skrll   lt_cv_prog_gnu_ld=no
   5168  1.1  skrll   ;;
   5169  1.1  skrll esac
   5170  1.1  skrll fi
   5171  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   5172  1.1  skrll echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
   5173  1.1  skrll with_gnu_ld=$lt_cv_prog_gnu_ld
   5174  1.1  skrll 
   5175  1.1  skrll 
   5176  1.1  skrll 
   5177  1.1  skrll 
   5178  1.1  skrll 
   5179  1.1  skrll 
   5180  1.1  skrll 
   5181  1.1  skrll 
   5182  1.1  skrll 
   5183  1.1  skrll 
   5184  1.1  skrll echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   5185  1.1  skrll echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
   5186  1.1  skrll if test "${lt_cv_path_NM+set}" = set; then
   5187  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5188  1.1  skrll else
   5189  1.1  skrll   if test -n "$NM"; then
   5190  1.1  skrll   # Let the user override the test.
   5191  1.1  skrll   lt_cv_path_NM="$NM"
   5192  1.1  skrll else
   5193  1.1  skrll   lt_nm_to_check="${ac_tool_prefix}nm"
   5194  1.1  skrll   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5195  1.1  skrll     lt_nm_to_check="$lt_nm_to_check nm"
   5196  1.1  skrll   fi
   5197  1.1  skrll   for lt_tmp_nm in $lt_nm_to_check; do
   5198  1.1  skrll     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5199  1.1  skrll     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5200  1.1  skrll       IFS="$lt_save_ifs"
   5201  1.1  skrll       test -z "$ac_dir" && ac_dir=.
   5202  1.1  skrll       tmp_nm="$ac_dir/$lt_tmp_nm"
   5203  1.1  skrll       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5204  1.1  skrll 	# Check to see if the nm accepts a BSD-compat flag.
   5205  1.1  skrll 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5206  1.1  skrll 	#   nm: unknown option "B" ignored
   5207  1.1  skrll 	# Tru64's nm complains that /dev/null is an invalid object file
   5208  1.1  skrll 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5209  1.1  skrll 	*/dev/null* | *'Invalid file or object type'*)
   5210  1.1  skrll 	  lt_cv_path_NM="$tmp_nm -B"
   5211  1.1  skrll 	  break
   5212  1.1  skrll 	  ;;
   5213  1.1  skrll 	*)
   5214  1.1  skrll 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5215  1.1  skrll 	  */dev/null*)
   5216  1.1  skrll 	    lt_cv_path_NM="$tmp_nm -p"
   5217  1.1  skrll 	    break
   5218  1.1  skrll 	    ;;
   5219  1.1  skrll 	  *)
   5220  1.1  skrll 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5221  1.1  skrll 	    continue # so that we can try to find one that supports BSD flags
   5222  1.1  skrll 	    ;;
   5223  1.1  skrll 	  esac
   5224  1.1  skrll 	  ;;
   5225  1.1  skrll 	esac
   5226  1.1  skrll       fi
   5227  1.1  skrll     done
   5228  1.1  skrll     IFS="$lt_save_ifs"
   5229  1.1  skrll   done
   5230  1.1  skrll   : ${lt_cv_path_NM=no}
   5231  1.1  skrll fi
   5232  1.1  skrll fi
   5233  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   5234  1.1  skrll echo "${ECHO_T}$lt_cv_path_NM" >&6
   5235  1.1  skrll if test "$lt_cv_path_NM" != "no"; then
   5236  1.1  skrll   NM="$lt_cv_path_NM"
   5237  1.1  skrll else
   5238  1.1  skrll   # Didn't find any BSD compatible name lister, look for dumpbin.
   5239  1.1  skrll   if test -n "$ac_tool_prefix"; then
   5240  1.1  skrll   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5241  1.1  skrll   do
   5242  1.1  skrll     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5243  1.1  skrll set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5244  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   5245  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5246  1.1  skrll if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   5247  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5248  1.1  skrll else
   5249  1.1  skrll   if test -n "$DUMPBIN"; then
   5250  1.1  skrll   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5251  1.1  skrll else
   5252  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5253  1.1  skrll for as_dir in $PATH
   5254  1.1  skrll do
   5255  1.1  skrll   IFS=$as_save_IFS
   5256  1.1  skrll   test -z "$as_dir" && as_dir=.
   5257  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   5258  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5259  1.1  skrll     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5260  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5261  1.1  skrll     break 2
   5262  1.1  skrll   fi
   5263  1.1  skrll done
   5264  1.1  skrll done
   5265  1.1  skrll 
   5266  1.1  skrll fi
   5267  1.1  skrll fi
   5268  1.1  skrll DUMPBIN=$ac_cv_prog_DUMPBIN
   5269  1.1  skrll if test -n "$DUMPBIN"; then
   5270  1.1  skrll   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   5271  1.1  skrll echo "${ECHO_T}$DUMPBIN" >&6
   5272  1.1  skrll else
   5273  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   5274  1.1  skrll echo "${ECHO_T}no" >&6
   5275  1.1  skrll fi
   5276  1.1  skrll 
   5277  1.1  skrll     test -n "$DUMPBIN" && break
   5278  1.1  skrll   done
   5279  1.1  skrll fi
   5280  1.1  skrll if test -z "$DUMPBIN"; then
   5281  1.1  skrll   ac_ct_DUMPBIN=$DUMPBIN
   5282  1.1  skrll   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5283  1.1  skrll do
   5284  1.1  skrll   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5285  1.1  skrll set dummy $ac_prog; ac_word=$2
   5286  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   5287  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5288  1.1  skrll if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   5289  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5290  1.1  skrll else
   5291  1.1  skrll   if test -n "$ac_ct_DUMPBIN"; then
   5292  1.1  skrll   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5293  1.1  skrll else
   5294  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5295  1.1  skrll for as_dir in $PATH
   5296  1.1  skrll do
   5297  1.1  skrll   IFS=$as_save_IFS
   5298  1.1  skrll   test -z "$as_dir" && as_dir=.
   5299  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   5300  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5301  1.1  skrll     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5302  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5303  1.1  skrll     break 2
   5304  1.1  skrll   fi
   5305  1.1  skrll done
   5306  1.1  skrll done
   5307  1.1  skrll 
   5308  1.1  skrll fi
   5309  1.1  skrll fi
   5310  1.1  skrll ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5311  1.1  skrll if test -n "$ac_ct_DUMPBIN"; then
   5312  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   5313  1.1  skrll echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
   5314  1.1  skrll else
   5315  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   5316  1.1  skrll echo "${ECHO_T}no" >&6
   5317  1.1  skrll fi
   5318  1.1  skrll 
   5319  1.1  skrll   test -n "$ac_ct_DUMPBIN" && break
   5320  1.1  skrll done
   5321  1.1  skrll test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
   5322  1.1  skrll 
   5323  1.1  skrll   DUMPBIN=$ac_ct_DUMPBIN
   5324  1.1  skrll fi
   5325  1.1  skrll 
   5326  1.1  skrll 
   5327  1.1  skrll   if test "$DUMPBIN" != ":"; then
   5328  1.1  skrll     NM="$DUMPBIN"
   5329  1.1  skrll   fi
   5330  1.1  skrll fi
   5331  1.1  skrll test -z "$NM" && NM=nm
   5332  1.1  skrll 
   5333  1.1  skrll 
   5334  1.1  skrll 
   5335  1.1  skrll 
   5336  1.1  skrll 
   5337  1.1  skrll 
   5338  1.1  skrll echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   5339  1.1  skrll echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
   5340  1.1  skrll if test "${lt_cv_nm_interface+set}" = set; then
   5341  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5342  1.1  skrll else
   5343  1.1  skrll   lt_cv_nm_interface="BSD nm"
   5344  1.1  skrll   echo "int some_variable = 0;" > conftest.$ac_ext
   5345  1.1  skrll   (eval echo "\"\$as_me:5345: $ac_compile\"" >&5)
   5346  1.1  skrll   (eval "$ac_compile" 2>conftest.err)
   5347  1.1  skrll   cat conftest.err >&5
   5348  1.1  skrll   (eval echo "\"\$as_me:5348: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5349  1.1  skrll   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5350  1.1  skrll   cat conftest.err >&5
   5351  1.1  skrll   (eval echo "\"\$as_me:5351: output\"" >&5)
   5352  1.1  skrll   cat conftest.out >&5
   5353  1.1  skrll   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5354  1.1  skrll     lt_cv_nm_interface="MS dumpbin"
   5355  1.1  skrll   fi
   5356  1.1  skrll   rm -f conftest*
   5357  1.1  skrll fi
   5358  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   5359  1.1  skrll echo "${ECHO_T}$lt_cv_nm_interface" >&6
   5360  1.1  skrll 
   5361  1.1  skrll echo "$as_me:$LINENO: checking whether ln -s works" >&5
   5362  1.1  skrll echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
   5363  1.1  skrll LN_S=$as_ln_s
   5364  1.1  skrll if test "$LN_S" = "ln -s"; then
   5365  1.1  skrll   echo "$as_me:$LINENO: result: yes" >&5
   5366  1.1  skrll echo "${ECHO_T}yes" >&6
   5367  1.1  skrll else
   5368  1.1  skrll   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   5369  1.1  skrll echo "${ECHO_T}no, using $LN_S" >&6
   5370  1.1  skrll fi
   5371  1.1  skrll 
   5372  1.1  skrll # find the maximum length of command line arguments
   5373  1.1  skrll echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   5374  1.1  skrll echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
   5375  1.1  skrll if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   5376  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5377  1.1  skrll else
   5378  1.1  skrll     i=0
   5379  1.1  skrll   teststring="ABCD"
   5380  1.1  skrll 
   5381  1.1  skrll   case $build_os in
   5382  1.1  skrll   msdosdjgpp*)
   5383  1.1  skrll     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5384  1.1  skrll     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5385  1.1  skrll     # during glob expansion).  Even if it were fixed, the result of this
   5386  1.1  skrll     # check would be larger than it should be.
   5387  1.1  skrll     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5388  1.1  skrll     ;;
   5389  1.1  skrll 
   5390  1.1  skrll   gnu*)
   5391  1.1  skrll     # Under GNU Hurd, this test is not required because there is
   5392  1.1  skrll     # no limit to the length of command line arguments.
   5393  1.1  skrll     # Libtool will interpret -1 as no limit whatsoever
   5394  1.1  skrll     lt_cv_sys_max_cmd_len=-1;
   5395  1.1  skrll     ;;
   5396  1.1  skrll 
   5397  1.1  skrll   cygwin* | mingw*)
   5398  1.1  skrll     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5399  1.1  skrll     # about 5 minutes as the teststring grows exponentially.
   5400  1.1  skrll     # Worse, since 9x/ME are not pre-emptively multitasking,
   5401  1.1  skrll     # you end up with a "frozen" computer, even though with patience
   5402  1.1  skrll     # the test eventually succeeds (with a max line length of 256k).
   5403  1.1  skrll     # Instead, let's just punt: use the minimum linelength reported by
   5404  1.1  skrll     # all of the supported platforms: 8192 (on NT/2K/XP).
   5405  1.1  skrll     lt_cv_sys_max_cmd_len=8192;
   5406  1.1  skrll     ;;
   5407  1.1  skrll 
   5408  1.1  skrll   amigaos*)
   5409  1.1  skrll     # On AmigaOS with pdksh, this test takes hours, literally.
   5410  1.1  skrll     # So we just punt and use a minimum line length of 8192.
   5411  1.1  skrll     lt_cv_sys_max_cmd_len=8192;
   5412  1.1  skrll     ;;
   5413  1.1  skrll 
   5414  1.1  skrll   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5415  1.1  skrll     # This has been around since 386BSD, at least.  Likely further.
   5416  1.1  skrll     if test -x /sbin/sysctl; then
   5417  1.1  skrll       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5418  1.1  skrll     elif test -x /usr/sbin/sysctl; then
   5419  1.1  skrll       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5420  1.1  skrll     else
   5421  1.1  skrll       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5422  1.1  skrll     fi
   5423  1.1  skrll     # And add a safety zone
   5424  1.1  skrll     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5425  1.1  skrll     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5426  1.1  skrll     ;;
   5427  1.1  skrll 
   5428  1.1  skrll   interix*)
   5429  1.1  skrll     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5430  1.1  skrll     lt_cv_sys_max_cmd_len=196608
   5431  1.1  skrll     ;;
   5432  1.1  skrll 
   5433  1.1  skrll   osf*)
   5434  1.1  skrll     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5435  1.1  skrll     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5436  1.1  skrll     # nice to cause kernel panics so lets avoid the loop below.
   5437  1.1  skrll     # First set a reasonable default.
   5438  1.1  skrll     lt_cv_sys_max_cmd_len=16384
   5439  1.1  skrll     #
   5440  1.1  skrll     if test -x /sbin/sysconfig; then
   5441  1.1  skrll       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5442  1.1  skrll         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5443  1.1  skrll       esac
   5444  1.1  skrll     fi
   5445  1.1  skrll     ;;
   5446  1.1  skrll   sco3.2v5*)
   5447  1.1  skrll     lt_cv_sys_max_cmd_len=102400
   5448  1.1  skrll     ;;
   5449  1.1  skrll   sysv5* | sco5v6* | sysv4.2uw2*)
   5450  1.1  skrll     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5451  1.1  skrll     if test -n "$kargmax"; then
   5452  1.1  skrll       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5453  1.1  skrll     else
   5454  1.1  skrll       lt_cv_sys_max_cmd_len=32768
   5455  1.1  skrll     fi
   5456  1.1  skrll     ;;
   5457  1.1  skrll   *)
   5458  1.1  skrll     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
   5459  1.1  skrll     if test -n $lt_cv_sys_max_cmd_len; then
   5460  1.1  skrll       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5461  1.1  skrll       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5462  1.1  skrll     else
   5463  1.1  skrll       # Make teststring a little bigger before we do anything with it.
   5464  1.1  skrll       # a 1K string should be a reasonable start.
   5465  1.1  skrll       for i in 1 2 3 4 5 6 7 8 ; do
   5466  1.1  skrll         teststring=$teststring$teststring
   5467  1.1  skrll       done
   5468  1.1  skrll       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5469  1.1  skrll       # If test is not a shell built-in, we'll probably end up computing a
   5470  1.1  skrll       # maximum length that is only half of the actual maximum length, but
   5471  1.1  skrll       # we can't tell.
   5472  1.1  skrll       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5473  1.1  skrll 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5474  1.1  skrll 	      test $i != 17 # 1/2 MB should be enough
   5475  1.1  skrll       do
   5476  1.1  skrll         i=`expr $i + 1`
   5477  1.1  skrll         teststring=$teststring$teststring
   5478  1.1  skrll       done
   5479  1.1  skrll       # Only check the string length outside the loop.
   5480  1.1  skrll       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5481  1.1  skrll       teststring=
   5482  1.1  skrll       # Add a significant safety factor because C++ compilers can tack on
   5483  1.1  skrll       # massive amounts of additional arguments before passing them to the
   5484  1.1  skrll       # linker.  It appears as though 1/2 is a usable value.
   5485  1.1  skrll       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5486  1.1  skrll     fi
   5487  1.1  skrll     ;;
   5488  1.1  skrll   esac
   5489  1.1  skrll 
   5490  1.1  skrll fi
   5491  1.1  skrll 
   5492  1.1  skrll if test -n $lt_cv_sys_max_cmd_len ; then
   5493  1.1  skrll   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5494  1.1  skrll echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
   5495  1.1  skrll else
   5496  1.1  skrll   echo "$as_me:$LINENO: result: none" >&5
   5497  1.1  skrll echo "${ECHO_T}none" >&6
   5498  1.1  skrll fi
   5499  1.1  skrll max_cmd_len=$lt_cv_sys_max_cmd_len
   5500  1.1  skrll 
   5501  1.1  skrll 
   5502  1.1  skrll 
   5503  1.1  skrll 
   5504  1.1  skrll 
   5505  1.1  skrll 
   5506  1.1  skrll 
   5507  1.1  skrll : ${CP="cp -f"}
   5508  1.1  skrll : ${MV="mv -f"}
   5509  1.1  skrll : ${RM="rm -f"}
   5510  1.1  skrll 
   5511  1.1  skrll echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   5512  1.1  skrll echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
   5513  1.1  skrll # Try some XSI features
   5514  1.1  skrll xsi_shell=no
   5515  1.1  skrll ( _lt_dummy="a/b/c"
   5516  1.1  skrll   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5517  1.1  skrll       = c,a/b,, ) >/dev/null 2>&1 \
   5518  1.1  skrll   && xsi_shell=yes
   5519  1.1  skrll echo "$as_me:$LINENO: result: $xsi_shell" >&5
   5520  1.1  skrll echo "${ECHO_T}$xsi_shell" >&6
   5521  1.1  skrll 
   5522  1.1  skrll 
   5523  1.1  skrll echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   5524  1.1  skrll echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
   5525  1.1  skrll lt_shell_append=no
   5526  1.1  skrll ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5527  1.1  skrll     >/dev/null 2>&1 \
   5528  1.1  skrll   && lt_shell_append=yes
   5529  1.1  skrll echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   5530  1.1  skrll echo "${ECHO_T}$lt_shell_append" >&6
   5531  1.1  skrll 
   5532  1.1  skrll 
   5533  1.1  skrll if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5534  1.1  skrll   lt_unset=unset
   5535  1.1  skrll else
   5536  1.1  skrll   lt_unset=false
   5537  1.1  skrll fi
   5538  1.1  skrll 
   5539  1.1  skrll 
   5540  1.1  skrll 
   5541  1.1  skrll 
   5542  1.1  skrll 
   5543  1.1  skrll # test EBCDIC or ASCII
   5544  1.1  skrll case `echo X|tr X '\101'` in
   5545  1.1  skrll  A) # ASCII based system
   5546  1.1  skrll     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5547  1.1  skrll   lt_SP2NL='tr \040 \012'
   5548  1.1  skrll   lt_NL2SP='tr \015\012 \040\040'
   5549  1.1  skrll   ;;
   5550  1.1  skrll  *) # EBCDIC based system
   5551  1.1  skrll   lt_SP2NL='tr \100 \n'
   5552  1.1  skrll   lt_NL2SP='tr \r\n \100\100'
   5553  1.1  skrll   ;;
   5554  1.1  skrll esac
   5555  1.1  skrll 
   5556  1.1  skrll 
   5557  1.1  skrll 
   5558  1.1  skrll 
   5559  1.1  skrll 
   5560  1.1  skrll 
   5561  1.1  skrll 
   5562  1.1  skrll 
   5563  1.1  skrll 
   5564  1.1  skrll echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   5565  1.1  skrll echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
   5566  1.1  skrll if test "${lt_cv_ld_reload_flag+set}" = set; then
   5567  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5568  1.1  skrll else
   5569  1.1  skrll   lt_cv_ld_reload_flag='-r'
   5570  1.1  skrll fi
   5571  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   5572  1.1  skrll echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
   5573  1.1  skrll reload_flag=$lt_cv_ld_reload_flag
   5574  1.1  skrll case $reload_flag in
   5575  1.1  skrll "" | " "*) ;;
   5576  1.1  skrll *) reload_flag=" $reload_flag" ;;
   5577  1.1  skrll esac
   5578  1.1  skrll reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5579  1.1  skrll case $host_os in
   5580  1.1  skrll   darwin*)
   5581  1.1  skrll     if test "$GCC" = yes; then
   5582  1.1  skrll       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5583  1.1  skrll     else
   5584  1.1  skrll       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5585  1.1  skrll     fi
   5586  1.1  skrll     ;;
   5587  1.1  skrll esac
   5588  1.1  skrll 
   5589  1.1  skrll 
   5590  1.1  skrll 
   5591  1.1  skrll 
   5592  1.1  skrll 
   5593  1.1  skrll 
   5594  1.1  skrll 
   5595  1.1  skrll 
   5596  1.1  skrll 
   5597  1.1  skrll 
   5598  1.1  skrll echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   5599  1.1  skrll echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
   5600  1.1  skrll if test "${lt_cv_deplibs_check_method+set}" = set; then
   5601  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5602  1.1  skrll else
   5603  1.1  skrll   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5604  1.1  skrll lt_cv_file_magic_test_file=
   5605  1.1  skrll lt_cv_deplibs_check_method='unknown'
   5606  1.1  skrll # Need to set the preceding variable on all platforms that support
   5607  1.1  skrll # interlibrary dependencies.
   5608  1.1  skrll # 'none' -- dependencies not supported.
   5609  1.1  skrll # `unknown' -- same as none, but documents that we really don't know.
   5610  1.1  skrll # 'pass_all' -- all dependencies passed with no checks.
   5611  1.1  skrll # 'test_compile' -- check by making test program.
   5612  1.1  skrll # 'file_magic [[regex]]' -- check by looking for files in library path
   5613  1.1  skrll # which responds to the $file_magic_cmd with a given extended regex.
   5614  1.1  skrll # If you have `file' or equivalent on your system and you're not sure
   5615  1.1  skrll # whether `pass_all' will *always* work, you probably want this one.
   5616  1.1  skrll 
   5617  1.1  skrll case $host_os in
   5618  1.1  skrll aix[4-9]*)
   5619  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5620  1.1  skrll   ;;
   5621  1.1  skrll 
   5622  1.1  skrll beos*)
   5623  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5624  1.1  skrll   ;;
   5625  1.1  skrll 
   5626  1.1  skrll bsdi[45]*)
   5627  1.1  skrll   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5628  1.1  skrll   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5629  1.1  skrll   lt_cv_file_magic_test_file=/shlib/libc.so
   5630  1.1  skrll   ;;
   5631  1.1  skrll 
   5632  1.1  skrll cygwin*)
   5633  1.1  skrll   # func_win32_libid is a shell function defined in ltmain.sh
   5634  1.1  skrll   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5635  1.1  skrll   lt_cv_file_magic_cmd='func_win32_libid'
   5636  1.1  skrll   ;;
   5637  1.1  skrll 
   5638  1.1  skrll mingw* | pw32*)
   5639  1.1  skrll   # Base MSYS/MinGW do not provide the 'file' command needed by
   5640  1.1  skrll   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5641  1.1  skrll   # unless we find 'file', for example because we are cross-compiling.
   5642  1.1  skrll   if ( file / ) >/dev/null 2>&1; then
   5643  1.1  skrll     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5644  1.1  skrll     lt_cv_file_magic_cmd='func_win32_libid'
   5645  1.1  skrll   else
   5646  1.1  skrll     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5647  1.1  skrll     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5648  1.1  skrll   fi
   5649  1.1  skrll   ;;
   5650  1.1  skrll 
   5651  1.1  skrll darwin* | rhapsody*)
   5652  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5653  1.1  skrll   ;;
   5654  1.1  skrll 
   5655  1.1  skrll freebsd* | dragonfly*)
   5656  1.1  skrll   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5657  1.1  skrll     case $host_cpu in
   5658  1.1  skrll     i*86 )
   5659  1.1  skrll       # Not sure whether the presence of OpenBSD here was a mistake.
   5660  1.1  skrll       # Let's accept both of them until this is cleared up.
   5661  1.1  skrll       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5662  1.1  skrll       lt_cv_file_magic_cmd=/usr/bin/file
   5663  1.1  skrll       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5664  1.1  skrll       ;;
   5665  1.1  skrll     esac
   5666  1.1  skrll   else
   5667  1.1  skrll     lt_cv_deplibs_check_method=pass_all
   5668  1.1  skrll   fi
   5669  1.1  skrll   ;;
   5670  1.1  skrll 
   5671  1.1  skrll gnu*)
   5672  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5673  1.1  skrll   ;;
   5674  1.1  skrll 
   5675  1.1  skrll hpux10.20* | hpux11*)
   5676  1.1  skrll   lt_cv_file_magic_cmd=/usr/bin/file
   5677  1.1  skrll   case $host_cpu in
   5678  1.1  skrll   ia64*)
   5679  1.1  skrll     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5680  1.1  skrll     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5681  1.1  skrll     ;;
   5682  1.1  skrll   hppa*64*)
   5683  1.1  skrll     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   5684  1.1  skrll     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5685  1.1  skrll     ;;
   5686  1.1  skrll   *)
   5687  1.1  skrll     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5688  1.1  skrll     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5689  1.1  skrll     ;;
   5690  1.1  skrll   esac
   5691  1.1  skrll   ;;
   5692  1.1  skrll 
   5693  1.1  skrll interix[3-9]*)
   5694  1.1  skrll   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5695  1.1  skrll   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5696  1.1  skrll   ;;
   5697  1.1  skrll 
   5698  1.1  skrll irix5* | irix6* | nonstopux*)
   5699  1.1  skrll   case $LD in
   5700  1.1  skrll   *-32|*"-32 ") libmagic=32-bit;;
   5701  1.1  skrll   *-n32|*"-n32 ") libmagic=N32;;
   5702  1.1  skrll   *-64|*"-64 ") libmagic=64-bit;;
   5703  1.1  skrll   *) libmagic=never-match;;
   5704  1.1  skrll   esac
   5705  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5706  1.1  skrll   ;;
   5707  1.1  skrll 
   5708  1.1  skrll # This must be Linux ELF.
   5709  1.1  skrll linux* | k*bsd*-gnu)
   5710  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5711  1.1  skrll   ;;
   5712  1.1  skrll 
   5713  1.1  skrll netbsd*)
   5714  1.1  skrll   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5715  1.1  skrll     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5716  1.1  skrll   else
   5717  1.1  skrll     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5718  1.1  skrll   fi
   5719  1.1  skrll   ;;
   5720  1.1  skrll 
   5721  1.1  skrll newos6*)
   5722  1.1  skrll   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5723  1.1  skrll   lt_cv_file_magic_cmd=/usr/bin/file
   5724  1.1  skrll   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5725  1.1  skrll   ;;
   5726  1.1  skrll 
   5727  1.1  skrll *nto* | *qnx*)
   5728  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5729  1.1  skrll   ;;
   5730  1.1  skrll 
   5731  1.1  skrll openbsd*)
   5732  1.1  skrll   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5733  1.1  skrll     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5734  1.1  skrll   else
   5735  1.1  skrll     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5736  1.1  skrll   fi
   5737  1.1  skrll   ;;
   5738  1.1  skrll 
   5739  1.1  skrll osf3* | osf4* | osf5*)
   5740  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5741  1.1  skrll   ;;
   5742  1.1  skrll 
   5743  1.1  skrll rdos*)
   5744  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5745  1.1  skrll   ;;
   5746  1.1  skrll 
   5747  1.1  skrll solaris*)
   5748  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5749  1.1  skrll   ;;
   5750  1.1  skrll 
   5751  1.1  skrll sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5752  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5753  1.1  skrll   ;;
   5754  1.1  skrll 
   5755  1.1  skrll sysv4 | sysv4.3*)
   5756  1.1  skrll   case $host_vendor in
   5757  1.1  skrll   motorola)
   5758  1.1  skrll     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]'
   5759  1.1  skrll     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5760  1.1  skrll     ;;
   5761  1.1  skrll   ncr)
   5762  1.1  skrll     lt_cv_deplibs_check_method=pass_all
   5763  1.1  skrll     ;;
   5764  1.1  skrll   sequent)
   5765  1.1  skrll     lt_cv_file_magic_cmd='/bin/file'
   5766  1.1  skrll     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5767  1.1  skrll     ;;
   5768  1.1  skrll   sni)
   5769  1.1  skrll     lt_cv_file_magic_cmd='/bin/file'
   5770  1.1  skrll     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5771  1.1  skrll     lt_cv_file_magic_test_file=/lib/libc.so
   5772  1.1  skrll     ;;
   5773  1.1  skrll   siemens)
   5774  1.1  skrll     lt_cv_deplibs_check_method=pass_all
   5775  1.1  skrll     ;;
   5776  1.1  skrll   pc)
   5777  1.1  skrll     lt_cv_deplibs_check_method=pass_all
   5778  1.1  skrll     ;;
   5779  1.1  skrll   esac
   5780  1.1  skrll   ;;
   5781  1.1  skrll 
   5782  1.1  skrll tpf*)
   5783  1.1  skrll   lt_cv_deplibs_check_method=pass_all
   5784  1.1  skrll   ;;
   5785  1.1  skrll esac
   5786  1.1  skrll 
   5787  1.1  skrll fi
   5788  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   5789  1.1  skrll echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
   5790  1.1  skrll file_magic_cmd=$lt_cv_file_magic_cmd
   5791  1.1  skrll deplibs_check_method=$lt_cv_deplibs_check_method
   5792  1.1  skrll test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5793  1.1  skrll 
   5794  1.1  skrll 
   5795  1.1  skrll 
   5796  1.1  skrll 
   5797  1.1  skrll 
   5798  1.1  skrll 
   5799  1.1  skrll 
   5800  1.1  skrll 
   5801  1.1  skrll 
   5802  1.1  skrll 
   5803  1.1  skrll 
   5804  1.1  skrll 
   5805  1.1  skrll if test -n "$ac_tool_prefix"; then
   5806  1.1  skrll   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5807  1.1  skrll set dummy ${ac_tool_prefix}ar; ac_word=$2
   5808  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   5809  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5810  1.1  skrll if test "${ac_cv_prog_AR+set}" = set; then
   5811  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5812  1.1  skrll else
   5813  1.1  skrll   if test -n "$AR"; then
   5814  1.1  skrll   ac_cv_prog_AR="$AR" # Let the user override the test.
   5815  1.1  skrll else
   5816  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5817  1.1  skrll for as_dir in $PATH
   5818  1.1  skrll do
   5819  1.1  skrll   IFS=$as_save_IFS
   5820  1.1  skrll   test -z "$as_dir" && as_dir=.
   5821  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   5822  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5823  1.1  skrll     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5824  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5825  1.1  skrll     break 2
   5826  1.1  skrll   fi
   5827  1.1  skrll done
   5828  1.1  skrll done
   5829  1.1  skrll 
   5830  1.1  skrll fi
   5831  1.1  skrll fi
   5832  1.1  skrll AR=$ac_cv_prog_AR
   5833  1.1  skrll if test -n "$AR"; then
   5834  1.1  skrll   echo "$as_me:$LINENO: result: $AR" >&5
   5835  1.1  skrll echo "${ECHO_T}$AR" >&6
   5836  1.1  skrll else
   5837  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   5838  1.1  skrll echo "${ECHO_T}no" >&6
   5839  1.1  skrll fi
   5840  1.1  skrll 
   5841  1.1  skrll fi
   5842  1.1  skrll if test -z "$ac_cv_prog_AR"; then
   5843  1.1  skrll   ac_ct_AR=$AR
   5844  1.1  skrll   # Extract the first word of "ar", so it can be a program name with args.
   5845  1.1  skrll set dummy ar; ac_word=$2
   5846  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   5847  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5848  1.1  skrll if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5849  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5850  1.1  skrll else
   5851  1.1  skrll   if test -n "$ac_ct_AR"; then
   5852  1.1  skrll   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5853  1.1  skrll else
   5854  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5855  1.1  skrll for as_dir in $PATH
   5856  1.1  skrll do
   5857  1.1  skrll   IFS=$as_save_IFS
   5858  1.1  skrll   test -z "$as_dir" && as_dir=.
   5859  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   5860  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5861  1.1  skrll     ac_cv_prog_ac_ct_AR="ar"
   5862  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5863  1.1  skrll     break 2
   5864  1.1  skrll   fi
   5865  1.1  skrll done
   5866  1.1  skrll done
   5867  1.1  skrll 
   5868  1.1  skrll   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
   5869  1.1  skrll fi
   5870  1.1  skrll fi
   5871  1.1  skrll ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5872  1.1  skrll if test -n "$ac_ct_AR"; then
   5873  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5874  1.1  skrll echo "${ECHO_T}$ac_ct_AR" >&6
   5875  1.1  skrll else
   5876  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   5877  1.1  skrll echo "${ECHO_T}no" >&6
   5878  1.1  skrll fi
   5879  1.1  skrll 
   5880  1.1  skrll   AR=$ac_ct_AR
   5881  1.1  skrll else
   5882  1.1  skrll   AR="$ac_cv_prog_AR"
   5883  1.1  skrll fi
   5884  1.1  skrll 
   5885  1.1  skrll test -z "$AR" && AR=ar
   5886  1.1  skrll test -z "$AR_FLAGS" && AR_FLAGS=cru
   5887  1.1  skrll 
   5888  1.1  skrll 
   5889  1.1  skrll 
   5890  1.1  skrll 
   5891  1.1  skrll 
   5892  1.1  skrll 
   5893  1.1  skrll 
   5894  1.1  skrll 
   5895  1.1  skrll 
   5896  1.1  skrll 
   5897  1.1  skrll 
   5898  1.1  skrll if test -n "$ac_tool_prefix"; then
   5899  1.1  skrll   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5900  1.1  skrll set dummy ${ac_tool_prefix}strip; ac_word=$2
   5901  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   5902  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5903  1.1  skrll if test "${ac_cv_prog_STRIP+set}" = set; then
   5904  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5905  1.1  skrll else
   5906  1.1  skrll   if test -n "$STRIP"; then
   5907  1.1  skrll   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5908  1.1  skrll else
   5909  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5910  1.1  skrll for as_dir in $PATH
   5911  1.1  skrll do
   5912  1.1  skrll   IFS=$as_save_IFS
   5913  1.1  skrll   test -z "$as_dir" && as_dir=.
   5914  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   5915  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5916  1.1  skrll     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5917  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5918  1.1  skrll     break 2
   5919  1.1  skrll   fi
   5920  1.1  skrll done
   5921  1.1  skrll done
   5922  1.1  skrll 
   5923  1.1  skrll fi
   5924  1.1  skrll fi
   5925  1.1  skrll STRIP=$ac_cv_prog_STRIP
   5926  1.1  skrll if test -n "$STRIP"; then
   5927  1.1  skrll   echo "$as_me:$LINENO: result: $STRIP" >&5
   5928  1.1  skrll echo "${ECHO_T}$STRIP" >&6
   5929  1.1  skrll else
   5930  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   5931  1.1  skrll echo "${ECHO_T}no" >&6
   5932  1.1  skrll fi
   5933  1.1  skrll 
   5934  1.1  skrll fi
   5935  1.1  skrll if test -z "$ac_cv_prog_STRIP"; then
   5936  1.1  skrll   ac_ct_STRIP=$STRIP
   5937  1.1  skrll   # Extract the first word of "strip", so it can be a program name with args.
   5938  1.1  skrll set dummy strip; ac_word=$2
   5939  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   5940  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5941  1.1  skrll if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5942  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5943  1.1  skrll else
   5944  1.1  skrll   if test -n "$ac_ct_STRIP"; then
   5945  1.1  skrll   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5946  1.1  skrll else
   5947  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5948  1.1  skrll for as_dir in $PATH
   5949  1.1  skrll do
   5950  1.1  skrll   IFS=$as_save_IFS
   5951  1.1  skrll   test -z "$as_dir" && as_dir=.
   5952  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   5953  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5954  1.1  skrll     ac_cv_prog_ac_ct_STRIP="strip"
   5955  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5956  1.1  skrll     break 2
   5957  1.1  skrll   fi
   5958  1.1  skrll done
   5959  1.1  skrll done
   5960  1.1  skrll 
   5961  1.1  skrll   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   5962  1.1  skrll fi
   5963  1.1  skrll fi
   5964  1.1  skrll ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5965  1.1  skrll if test -n "$ac_ct_STRIP"; then
   5966  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5967  1.1  skrll echo "${ECHO_T}$ac_ct_STRIP" >&6
   5968  1.1  skrll else
   5969  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   5970  1.1  skrll echo "${ECHO_T}no" >&6
   5971  1.1  skrll fi
   5972  1.1  skrll 
   5973  1.1  skrll   STRIP=$ac_ct_STRIP
   5974  1.1  skrll else
   5975  1.1  skrll   STRIP="$ac_cv_prog_STRIP"
   5976  1.1  skrll fi
   5977  1.1  skrll 
   5978  1.1  skrll test -z "$STRIP" && STRIP=:
   5979  1.1  skrll 
   5980  1.1  skrll 
   5981  1.1  skrll 
   5982  1.1  skrll 
   5983  1.1  skrll 
   5984  1.1  skrll 
   5985  1.1  skrll if test -n "$ac_tool_prefix"; then
   5986  1.1  skrll   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5987  1.1  skrll set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5988  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   5989  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5990  1.1  skrll if test "${ac_cv_prog_RANLIB+set}" = set; then
   5991  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   5992  1.1  skrll else
   5993  1.1  skrll   if test -n "$RANLIB"; then
   5994  1.1  skrll   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5995  1.1  skrll else
   5996  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5997  1.1  skrll for as_dir in $PATH
   5998  1.1  skrll do
   5999  1.1  skrll   IFS=$as_save_IFS
   6000  1.1  skrll   test -z "$as_dir" && as_dir=.
   6001  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   6002  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6003  1.1  skrll     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6004  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6005  1.1  skrll     break 2
   6006  1.1  skrll   fi
   6007  1.1  skrll done
   6008  1.1  skrll done
   6009  1.1  skrll 
   6010  1.1  skrll fi
   6011  1.1  skrll fi
   6012  1.1  skrll RANLIB=$ac_cv_prog_RANLIB
   6013  1.1  skrll if test -n "$RANLIB"; then
   6014  1.1  skrll   echo "$as_me:$LINENO: result: $RANLIB" >&5
   6015  1.1  skrll echo "${ECHO_T}$RANLIB" >&6
   6016  1.1  skrll else
   6017  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   6018  1.1  skrll echo "${ECHO_T}no" >&6
   6019  1.1  skrll fi
   6020  1.1  skrll 
   6021  1.1  skrll fi
   6022  1.1  skrll if test -z "$ac_cv_prog_RANLIB"; then
   6023  1.1  skrll   ac_ct_RANLIB=$RANLIB
   6024  1.1  skrll   # Extract the first word of "ranlib", so it can be a program name with args.
   6025  1.1  skrll set dummy ranlib; ac_word=$2
   6026  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   6027  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6028  1.1  skrll if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6029  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   6030  1.1  skrll else
   6031  1.1  skrll   if test -n "$ac_ct_RANLIB"; then
   6032  1.1  skrll   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6033  1.1  skrll else
   6034  1.1  skrll as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6035  1.1  skrll for as_dir in $PATH
   6036  1.1  skrll do
   6037  1.1  skrll   IFS=$as_save_IFS
   6038  1.1  skrll   test -z "$as_dir" && as_dir=.
   6039  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   6040  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6041  1.1  skrll     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6042  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6043  1.1  skrll     break 2
   6044  1.1  skrll   fi
   6045  1.1  skrll done
   6046  1.1  skrll done
   6047  1.1  skrll 
   6048  1.1  skrll   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   6049  1.1  skrll fi
   6050  1.1  skrll fi
   6051  1.1  skrll ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6052  1.1  skrll if test -n "$ac_ct_RANLIB"; then
   6053  1.1  skrll   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6054  1.1  skrll echo "${ECHO_T}$ac_ct_RANLIB" >&6
   6055  1.1  skrll else
   6056  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   6057  1.1  skrll echo "${ECHO_T}no" >&6
   6058  1.1  skrll fi
   6059  1.1  skrll 
   6060  1.1  skrll   RANLIB=$ac_ct_RANLIB
   6061  1.1  skrll else
   6062  1.1  skrll   RANLIB="$ac_cv_prog_RANLIB"
   6063  1.1  skrll fi
   6064  1.1  skrll 
   6065  1.1  skrll test -z "$RANLIB" && RANLIB=:
   6066  1.1  skrll 
   6067  1.1  skrll 
   6068  1.1  skrll 
   6069  1.1  skrll 
   6070  1.1  skrll 
   6071  1.1  skrll 
   6072  1.1  skrll # Determine commands to create old-style static archives.
   6073  1.1  skrll old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6074  1.1  skrll old_postinstall_cmds='chmod 644 $oldlib'
   6075  1.1  skrll old_postuninstall_cmds=
   6076  1.1  skrll 
   6077  1.1  skrll if test -n "$RANLIB"; then
   6078  1.1  skrll   case $host_os in
   6079  1.1  skrll   openbsd*)
   6080  1.1  skrll     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6081  1.1  skrll     ;;
   6082  1.1  skrll   *)
   6083  1.1  skrll     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6084  1.1  skrll     ;;
   6085  1.1  skrll   esac
   6086  1.1  skrll   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6087  1.1  skrll fi
   6088  1.1  skrll 
   6089  1.1  skrll 
   6090  1.1  skrll 
   6091  1.1  skrll 
   6092  1.1  skrll 
   6093  1.1  skrll 
   6094  1.1  skrll 
   6095  1.1  skrll 
   6096  1.1  skrll 
   6097  1.1  skrll 
   6098  1.1  skrll 
   6099  1.1  skrll 
   6100  1.1  skrll 
   6101  1.1  skrll 
   6102  1.1  skrll 
   6103  1.1  skrll 
   6104  1.1  skrll 
   6105  1.1  skrll 
   6106  1.1  skrll 
   6107  1.1  skrll 
   6108  1.1  skrll 
   6109  1.1  skrll 
   6110  1.1  skrll 
   6111  1.1  skrll 
   6112  1.1  skrll 
   6113  1.1  skrll 
   6114  1.1  skrll 
   6115  1.1  skrll 
   6116  1.1  skrll 
   6117  1.1  skrll 
   6118  1.1  skrll 
   6119  1.1  skrll 
   6120  1.1  skrll 
   6121  1.1  skrll 
   6122  1.1  skrll # If no C compiler was specified, use CC.
   6123  1.1  skrll LTCC=${LTCC-"$CC"}
   6124  1.1  skrll 
   6125  1.1  skrll # If no C compiler flags were specified, use CFLAGS.
   6126  1.1  skrll LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6127  1.1  skrll 
   6128  1.1  skrll # Allow CC to be a program name with arguments.
   6129  1.1  skrll compiler=$CC
   6130  1.1  skrll 
   6131  1.1  skrll 
   6132  1.1  skrll # Check for command to grab the raw symbol name followed by C symbol from nm.
   6133  1.1  skrll echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6134  1.1  skrll echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
   6135  1.1  skrll if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6136  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   6137  1.1  skrll else
   6138  1.1  skrll 
   6139  1.1  skrll # These are sane defaults that work on at least a few old systems.
   6140  1.1  skrll # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6141  1.1  skrll 
   6142  1.1  skrll # Character class describing NM global symbol codes.
   6143  1.1  skrll symcode='[BCDEGRST]'
   6144  1.1  skrll 
   6145  1.1  skrll # Regexp to match symbols that can be accessed directly from C.
   6146  1.1  skrll sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6147  1.1  skrll 
   6148  1.1  skrll # Define system-specific variables.
   6149  1.1  skrll case $host_os in
   6150  1.1  skrll aix*)
   6151  1.1  skrll   symcode='[BCDT]'
   6152  1.1  skrll   ;;
   6153  1.1  skrll cygwin* | mingw* | pw32*)
   6154  1.1  skrll   symcode='[ABCDGISTW]'
   6155  1.1  skrll   ;;
   6156  1.1  skrll hpux*)
   6157  1.1  skrll   if test "$host_cpu" = ia64; then
   6158  1.1  skrll     symcode='[ABCDEGRST]'
   6159  1.1  skrll   fi
   6160  1.1  skrll   ;;
   6161  1.1  skrll irix* | nonstopux*)
   6162  1.1  skrll   symcode='[BCDEGRST]'
   6163  1.1  skrll   ;;
   6164  1.1  skrll osf*)
   6165  1.1  skrll   symcode='[BCDEGQRST]'
   6166  1.1  skrll   ;;
   6167  1.1  skrll solaris*)
   6168  1.1  skrll   symcode='[BDRT]'
   6169  1.1  skrll   ;;
   6170  1.1  skrll sco3.2v5*)
   6171  1.1  skrll   symcode='[DT]'
   6172  1.1  skrll   ;;
   6173  1.1  skrll sysv4.2uw2*)
   6174  1.1  skrll   symcode='[DT]'
   6175  1.1  skrll   ;;
   6176  1.1  skrll sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6177  1.1  skrll   symcode='[ABDT]'
   6178  1.1  skrll   ;;
   6179  1.1  skrll sysv4)
   6180  1.1  skrll   symcode='[DFNSTU]'
   6181  1.1  skrll   ;;
   6182  1.1  skrll esac
   6183  1.1  skrll 
   6184  1.1  skrll # If we're using GNU nm, then use its standard symbol codes.
   6185  1.1  skrll case `$NM -V 2>&1` in
   6186  1.1  skrll *GNU* | *'with BFD'*)
   6187  1.1  skrll   symcode='[ABCDGIRSTW]' ;;
   6188  1.1  skrll esac
   6189  1.1  skrll 
   6190  1.1  skrll # Transform an extracted symbol line into a proper C declaration.
   6191  1.1  skrll # Some systems (esp. on ia64) link data and code symbols differently,
   6192  1.1  skrll # so use this general approach.
   6193  1.1  skrll lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6194  1.1  skrll 
   6195  1.1  skrll # Transform an extracted symbol line into symbol name and symbol address
   6196  1.1  skrll lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6197  1.1  skrll 
   6198  1.1  skrll # Handle CRLF in mingw tool chain
   6199  1.1  skrll opt_cr=
   6200  1.1  skrll case $build_os in
   6201  1.1  skrll mingw*)
   6202  1.1  skrll   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6203  1.1  skrll   ;;
   6204  1.1  skrll esac
   6205  1.1  skrll 
   6206  1.1  skrll # Try without a prefix underscore, then with it.
   6207  1.1  skrll for ac_symprfx in "" "_"; do
   6208  1.1  skrll 
   6209  1.1  skrll   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6210  1.1  skrll   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6211  1.1  skrll 
   6212  1.1  skrll   # Write the raw and C identifiers.
   6213  1.1  skrll   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6214  1.1  skrll     # Fake it for dumpbin and say T for any non-static function
   6215  1.1  skrll     # and D for any global variable.
   6216  1.1  skrll     # Also find C++ and __fastcall symbols from MSVC++,
   6217  1.1  skrll     # which start with @ or ?.
   6218  1.1  skrll     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6219  1.1  skrll "     {last_section=section; section=\$ 3};"\
   6220  1.1  skrll "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6221  1.1  skrll "     \$ 0!~/External *\|/{next};"\
   6222  1.1  skrll "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6223  1.1  skrll "     {if(hide[section]) next};"\
   6224  1.1  skrll "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6225  1.1  skrll "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6226  1.1  skrll "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6227  1.1  skrll "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6228  1.1  skrll "     ' prfx=^$ac_symprfx"
   6229  1.1  skrll   else
   6230  1.1  skrll     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6231  1.1  skrll   fi
   6232  1.1  skrll 
   6233  1.1  skrll   # Check to see that the pipe works correctly.
   6234  1.1  skrll   pipe_works=no
   6235  1.1  skrll 
   6236  1.1  skrll   rm -f conftest*
   6237  1.1  skrll   cat > conftest.$ac_ext <<_LT_EOF
   6238  1.1  skrll #ifdef __cplusplus
   6239  1.1  skrll extern "C" {
   6240  1.1  skrll #endif
   6241  1.1  skrll char nm_test_var;
   6242  1.1  skrll void nm_test_func(void);
   6243  1.1  skrll void nm_test_func(void){}
   6244  1.1  skrll #ifdef __cplusplus
   6245  1.1  skrll }
   6246  1.1  skrll #endif
   6247  1.1  skrll int main(){nm_test_var='a';nm_test_func();return(0);}
   6248  1.1  skrll _LT_EOF
   6249  1.1  skrll 
   6250  1.1  skrll   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6251  1.1  skrll   (eval $ac_compile) 2>&5
   6252  1.1  skrll   ac_status=$?
   6253  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6254  1.1  skrll   (exit $ac_status); }; then
   6255  1.1  skrll     # Now try to grab the symbols.
   6256  1.1  skrll     nlist=conftest.nm
   6257  1.1  skrll     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6258  1.1  skrll   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6259  1.1  skrll   ac_status=$?
   6260  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6261  1.1  skrll   (exit $ac_status); } && test -s "$nlist"; then
   6262  1.1  skrll       # Try sorting and uniquifying the output.
   6263  1.1  skrll       if sort "$nlist" | uniq > "$nlist"T; then
   6264  1.1  skrll 	mv -f "$nlist"T "$nlist"
   6265  1.1  skrll       else
   6266  1.1  skrll 	rm -f "$nlist"T
   6267  1.1  skrll       fi
   6268  1.1  skrll 
   6269  1.1  skrll       # Make sure that we snagged all the symbols we need.
   6270  1.1  skrll       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6271  1.1  skrll 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6272  1.1  skrll 	  cat <<_LT_EOF > conftest.$ac_ext
   6273  1.1  skrll #ifdef __cplusplus
   6274  1.1  skrll extern "C" {
   6275  1.1  skrll #endif
   6276  1.1  skrll 
   6277  1.1  skrll _LT_EOF
   6278  1.1  skrll 	  # Now generate the symbol file.
   6279  1.1  skrll 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6280  1.1  skrll 
   6281  1.1  skrll 	  cat <<_LT_EOF >> conftest.$ac_ext
   6282  1.1  skrll 
   6283  1.1  skrll /* The mapping between symbol names and symbols.  */
   6284  1.1  skrll const struct {
   6285  1.1  skrll   const char *name;
   6286  1.1  skrll   void       *address;
   6287  1.1  skrll }
   6288  1.1  skrll lt__PROGRAM__LTX_preloaded_symbols[] =
   6289  1.1  skrll {
   6290  1.1  skrll   { "@PROGRAM@", (void *) 0 },
   6291  1.1  skrll _LT_EOF
   6292  1.1  skrll 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6293  1.1  skrll 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6294  1.1  skrll   {0, (void *) 0}
   6295  1.1  skrll };
   6296  1.1  skrll 
   6297  1.1  skrll /* This works around a problem in FreeBSD linker */
   6298  1.1  skrll #ifdef FREEBSD_WORKAROUND
   6299  1.1  skrll static const void *lt_preloaded_setup() {
   6300  1.1  skrll   return lt__PROGRAM__LTX_preloaded_symbols;
   6301  1.1  skrll }
   6302  1.1  skrll #endif
   6303  1.1  skrll 
   6304  1.1  skrll #ifdef __cplusplus
   6305  1.1  skrll }
   6306  1.1  skrll #endif
   6307  1.1  skrll _LT_EOF
   6308  1.1  skrll 	  # Now try linking the two files.
   6309  1.1  skrll 	  mv conftest.$ac_objext conftstm.$ac_objext
   6310  1.1  skrll 	  lt_save_LIBS="$LIBS"
   6311  1.1  skrll 	  lt_save_CFLAGS="$CFLAGS"
   6312  1.1  skrll 	  LIBS="conftstm.$ac_objext"
   6313  1.1  skrll 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6314  1.1  skrll 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6315  1.1  skrll   (eval $ac_link) 2>&5
   6316  1.1  skrll   ac_status=$?
   6317  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6318  1.1  skrll   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6319  1.1  skrll 	    pipe_works=yes
   6320  1.1  skrll 	  fi
   6321  1.1  skrll 	  LIBS="$lt_save_LIBS"
   6322  1.1  skrll 	  CFLAGS="$lt_save_CFLAGS"
   6323  1.1  skrll 	else
   6324  1.1  skrll 	  echo "cannot find nm_test_func in $nlist" >&5
   6325  1.1  skrll 	fi
   6326  1.1  skrll       else
   6327  1.1  skrll 	echo "cannot find nm_test_var in $nlist" >&5
   6328  1.1  skrll       fi
   6329  1.1  skrll     else
   6330  1.1  skrll       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6331  1.1  skrll     fi
   6332  1.1  skrll   else
   6333  1.1  skrll     echo "$progname: failed program was:" >&5
   6334  1.1  skrll     cat conftest.$ac_ext >&5
   6335  1.1  skrll   fi
   6336  1.1  skrll   rm -f conftest* conftst*
   6337  1.1  skrll 
   6338  1.1  skrll   # Do not use the global_symbol_pipe unless it works.
   6339  1.1  skrll   if test "$pipe_works" = yes; then
   6340  1.1  skrll     break
   6341  1.1  skrll   else
   6342  1.1  skrll     lt_cv_sys_global_symbol_pipe=
   6343  1.1  skrll   fi
   6344  1.1  skrll done
   6345  1.1  skrll 
   6346  1.1  skrll fi
   6347  1.1  skrll 
   6348  1.1  skrll if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6349  1.1  skrll   lt_cv_sys_global_symbol_to_cdecl=
   6350  1.1  skrll fi
   6351  1.1  skrll if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6352  1.1  skrll   echo "$as_me:$LINENO: result: failed" >&5
   6353  1.1  skrll echo "${ECHO_T}failed" >&6
   6354  1.1  skrll else
   6355  1.1  skrll   echo "$as_me:$LINENO: result: ok" >&5
   6356  1.1  skrll echo "${ECHO_T}ok" >&6
   6357  1.1  skrll fi
   6358  1.1  skrll 
   6359  1.1  skrll 
   6360  1.1  skrll 
   6361  1.1  skrll 
   6362  1.1  skrll 
   6363  1.1  skrll 
   6364  1.1  skrll 
   6365  1.1  skrll 
   6366  1.1  skrll 
   6367  1.1  skrll 
   6368  1.1  skrll 
   6369  1.1  skrll 
   6370  1.1  skrll 
   6371  1.1  skrll 
   6372  1.1  skrll 
   6373  1.1  skrll 
   6374  1.1  skrll 
   6375  1.1  skrll # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
   6376  1.1  skrll if test "${enable_libtool_lock+set}" = set; then
   6377  1.1  skrll   enableval="$enable_libtool_lock"
   6378  1.1  skrll 
   6379  1.1  skrll fi;
   6380  1.1  skrll test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6381  1.1  skrll 
   6382  1.1  skrll # Some flags need to be propagated to the compiler or linker for good
   6383  1.1  skrll # libtool support.
   6384  1.1  skrll case $host in
   6385  1.1  skrll ia64-*-hpux*)
   6386  1.1  skrll   # Find out which ABI we are using.
   6387  1.1  skrll   echo 'int i;' > conftest.$ac_ext
   6388  1.1  skrll   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6389  1.1  skrll   (eval $ac_compile) 2>&5
   6390  1.1  skrll   ac_status=$?
   6391  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6392  1.1  skrll   (exit $ac_status); }; then
   6393  1.1  skrll     case `/usr/bin/file conftest.$ac_objext` in
   6394  1.1  skrll       *ELF-32*)
   6395  1.1  skrll 	HPUX_IA64_MODE="32"
   6396  1.1  skrll 	;;
   6397  1.1  skrll       *ELF-64*)
   6398  1.1  skrll 	HPUX_IA64_MODE="64"
   6399  1.1  skrll 	;;
   6400  1.1  skrll     esac
   6401  1.1  skrll   fi
   6402  1.1  skrll   rm -rf conftest*
   6403  1.1  skrll   ;;
   6404  1.1  skrll *-*-irix6*)
   6405  1.1  skrll   # Find out which ABI we are using.
   6406  1.1  skrll   echo '#line 6406 "configure"' > conftest.$ac_ext
   6407  1.1  skrll   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6408  1.1  skrll   (eval $ac_compile) 2>&5
   6409  1.1  skrll   ac_status=$?
   6410  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6411  1.1  skrll   (exit $ac_status); }; then
   6412  1.1  skrll     if test "$lt_cv_prog_gnu_ld" = yes; then
   6413  1.1  skrll       case `/usr/bin/file conftest.$ac_objext` in
   6414  1.1  skrll 	*32-bit*)
   6415  1.1  skrll 	  LD="${LD-ld} -melf32bsmip"
   6416  1.1  skrll 	  ;;
   6417  1.1  skrll 	*N32*)
   6418  1.1  skrll 	  LD="${LD-ld} -melf32bmipn32"
   6419  1.1  skrll 	  ;;
   6420  1.1  skrll 	*64-bit*)
   6421  1.1  skrll 	  LD="${LD-ld} -melf64bmip"
   6422  1.1  skrll 	;;
   6423  1.1  skrll       esac
   6424  1.1  skrll     else
   6425  1.1  skrll       case `/usr/bin/file conftest.$ac_objext` in
   6426  1.1  skrll 	*32-bit*)
   6427  1.1  skrll 	  LD="${LD-ld} -32"
   6428  1.1  skrll 	  ;;
   6429  1.1  skrll 	*N32*)
   6430  1.1  skrll 	  LD="${LD-ld} -n32"
   6431  1.1  skrll 	  ;;
   6432  1.1  skrll 	*64-bit*)
   6433  1.1  skrll 	  LD="${LD-ld} -64"
   6434  1.1  skrll 	  ;;
   6435  1.1  skrll       esac
   6436  1.1  skrll     fi
   6437  1.1  skrll   fi
   6438  1.1  skrll   rm -rf conftest*
   6439  1.1  skrll   ;;
   6440  1.1  skrll 
   6441  1.1  skrll x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6442  1.1  skrll s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6443  1.1  skrll   # Find out which ABI we are using.
   6444  1.1  skrll   echo 'int i;' > conftest.$ac_ext
   6445  1.1  skrll   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6446  1.1  skrll   (eval $ac_compile) 2>&5
   6447  1.1  skrll   ac_status=$?
   6448  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6449  1.1  skrll   (exit $ac_status); }; then
   6450  1.1  skrll     case `/usr/bin/file conftest.o` in
   6451  1.1  skrll       *32-bit*)
   6452  1.1  skrll 	case $host in
   6453  1.1  skrll 	  x86_64-*kfreebsd*-gnu)
   6454  1.1  skrll 	    LD="${LD-ld} -m elf_i386_fbsd"
   6455  1.1  skrll 	    ;;
   6456  1.1  skrll 	  x86_64-*linux*)
   6457  1.1  skrll 	    LD="${LD-ld} -m elf_i386"
   6458  1.1  skrll 	    ;;
   6459  1.1  skrll 	  ppc64-*linux*|powerpc64-*linux*)
   6460  1.1  skrll 	    LD="${LD-ld} -m elf32ppclinux"
   6461  1.1  skrll 	    ;;
   6462  1.1  skrll 	  s390x-*linux*)
   6463  1.1  skrll 	    LD="${LD-ld} -m elf_s390"
   6464  1.1  skrll 	    ;;
   6465  1.1  skrll 	  sparc64-*linux*)
   6466  1.1  skrll 	    LD="${LD-ld} -m elf32_sparc"
   6467  1.1  skrll 	    ;;
   6468  1.1  skrll 	esac
   6469  1.1  skrll 	;;
   6470  1.1  skrll       *64-bit*)
   6471  1.1  skrll 	case $host in
   6472  1.1  skrll 	  x86_64-*kfreebsd*-gnu)
   6473  1.1  skrll 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6474  1.1  skrll 	    ;;
   6475  1.1  skrll 	  x86_64-*linux*)
   6476  1.1  skrll 	    LD="${LD-ld} -m elf_x86_64"
   6477  1.1  skrll 	    ;;
   6478  1.1  skrll 	  ppc*-*linux*|powerpc*-*linux*)
   6479  1.1  skrll 	    LD="${LD-ld} -m elf64ppc"
   6480  1.1  skrll 	    ;;
   6481  1.1  skrll 	  s390*-*linux*|s390*-*tpf*)
   6482  1.1  skrll 	    LD="${LD-ld} -m elf64_s390"
   6483  1.1  skrll 	    ;;
   6484  1.1  skrll 	  sparc*-*linux*)
   6485  1.1  skrll 	    LD="${LD-ld} -m elf64_sparc"
   6486  1.1  skrll 	    ;;
   6487  1.1  skrll 	esac
   6488  1.1  skrll 	;;
   6489  1.1  skrll     esac
   6490  1.1  skrll   fi
   6491  1.1  skrll   rm -rf conftest*
   6492  1.1  skrll   ;;
   6493  1.1  skrll 
   6494  1.1  skrll *-*-sco3.2v5*)
   6495  1.1  skrll   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6496  1.1  skrll   SAVE_CFLAGS="$CFLAGS"
   6497  1.1  skrll   CFLAGS="$CFLAGS -belf"
   6498  1.1  skrll   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   6499  1.1  skrll echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
   6500  1.1  skrll if test "${lt_cv_cc_needs_belf+set}" = set; then
   6501  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   6502  1.1  skrll else
   6503  1.1  skrll   ac_ext=c
   6504  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   6505  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6506  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6507  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6508  1.1  skrll 
   6509  1.1  skrll      cat >conftest.$ac_ext <<_ACEOF
   6510  1.1  skrll /* confdefs.h.  */
   6511  1.1  skrll _ACEOF
   6512  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   6513  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   6514  1.1  skrll /* end confdefs.h.  */
   6515  1.1  skrll 
   6516  1.1  skrll int
   6517  1.1  skrll main ()
   6518  1.1  skrll {
   6519  1.1  skrll 
   6520  1.1  skrll   ;
   6521  1.1  skrll   return 0;
   6522  1.1  skrll }
   6523  1.1  skrll _ACEOF
   6524  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   6525  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6526  1.1  skrll   (eval $ac_link) 2>conftest.er1
   6527  1.1  skrll   ac_status=$?
   6528  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   6529  1.1  skrll   rm -f conftest.er1
   6530  1.1  skrll   cat conftest.err >&5
   6531  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6532  1.1  skrll   (exit $ac_status); } &&
   6533  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   6534  1.1  skrll 			 || test ! -s conftest.err'
   6535  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6536  1.1  skrll   (eval $ac_try) 2>&5
   6537  1.1  skrll   ac_status=$?
   6538  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6539  1.1  skrll   (exit $ac_status); }; } &&
   6540  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   6541  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6542  1.1  skrll   (eval $ac_try) 2>&5
   6543  1.1  skrll   ac_status=$?
   6544  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6545  1.1  skrll   (exit $ac_status); }; }; then
   6546  1.1  skrll   lt_cv_cc_needs_belf=yes
   6547  1.1  skrll else
   6548  1.1  skrll   echo "$as_me: failed program was:" >&5
   6549  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   6550  1.1  skrll 
   6551  1.1  skrll lt_cv_cc_needs_belf=no
   6552  1.1  skrll fi
   6553  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   6554  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   6555  1.1  skrll      ac_ext=c
   6556  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   6557  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6558  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6559  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6560  1.1  skrll 
   6561  1.1  skrll fi
   6562  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   6563  1.1  skrll echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
   6564  1.1  skrll   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6565  1.1  skrll     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6566  1.1  skrll     CFLAGS="$SAVE_CFLAGS"
   6567  1.1  skrll   fi
   6568  1.1  skrll   ;;
   6569  1.1  skrll sparc*-*solaris*)
   6570  1.1  skrll   # Find out which ABI we are using.
   6571  1.1  skrll   echo 'int i;' > conftest.$ac_ext
   6572  1.1  skrll   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6573  1.1  skrll   (eval $ac_compile) 2>&5
   6574  1.1  skrll   ac_status=$?
   6575  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6576  1.1  skrll   (exit $ac_status); }; then
   6577  1.1  skrll     case `/usr/bin/file conftest.o` in
   6578  1.1  skrll     *64-bit*)
   6579  1.1  skrll       case $lt_cv_prog_gnu_ld in
   6580  1.1  skrll       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6581  1.1  skrll       *)    LD="${LD-ld} -64" ;;
   6582  1.1  skrll       esac
   6583  1.1  skrll       ;;
   6584  1.1  skrll     esac
   6585  1.1  skrll   fi
   6586  1.1  skrll   rm -rf conftest*
   6587  1.1  skrll   ;;
   6588  1.1  skrll esac
   6589  1.1  skrll 
   6590  1.1  skrll need_locks="$enable_libtool_lock"
   6591  1.1  skrll 
   6592  1.1  skrll 
   6593  1.1  skrll for ac_header in dlfcn.h
   6594  1.1  skrll do
   6595  1.1  skrll as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6596  1.1  skrll echo "$as_me:$LINENO: checking for $ac_header" >&5
   6597  1.1  skrll echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   6598  1.1  skrll if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6599  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   6600  1.1  skrll else
   6601  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   6602  1.1  skrll /* confdefs.h.  */
   6603  1.1  skrll _ACEOF
   6604  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   6605  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   6606  1.1  skrll /* end confdefs.h.  */
   6607  1.1  skrll $ac_includes_default
   6608  1.1  skrll 
   6609  1.1  skrll #include <$ac_header>
   6610  1.1  skrll _ACEOF
   6611  1.1  skrll rm -f conftest.$ac_objext
   6612  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6613  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   6614  1.1  skrll   ac_status=$?
   6615  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   6616  1.1  skrll   rm -f conftest.er1
   6617  1.1  skrll   cat conftest.err >&5
   6618  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6619  1.1  skrll   (exit $ac_status); } &&
   6620  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   6621  1.1  skrll 			 || test ! -s conftest.err'
   6622  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6623  1.1  skrll   (eval $ac_try) 2>&5
   6624  1.1  skrll   ac_status=$?
   6625  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6626  1.1  skrll   (exit $ac_status); }; } &&
   6627  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   6628  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6629  1.1  skrll   (eval $ac_try) 2>&5
   6630  1.1  skrll   ac_status=$?
   6631  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6632  1.1  skrll   (exit $ac_status); }; }; then
   6633  1.1  skrll   eval "$as_ac_Header=yes"
   6634  1.1  skrll else
   6635  1.1  skrll   echo "$as_me: failed program was:" >&5
   6636  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   6637  1.1  skrll 
   6638  1.1  skrll eval "$as_ac_Header=no"
   6639  1.1  skrll fi
   6640  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6641  1.1  skrll fi
   6642  1.1  skrll echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   6643  1.1  skrll echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   6644  1.1  skrll if test `eval echo '${'$as_ac_Header'}'` = yes; then
   6645  1.1  skrll   cat >>confdefs.h <<_ACEOF
   6646  1.1  skrll #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6647  1.1  skrll _ACEOF
   6648  1.1  skrll 
   6649  1.1  skrll fi
   6650  1.1  skrll 
   6651  1.1  skrll done
   6652  1.1  skrll 
   6653  1.1  skrll 
   6654  1.1  skrll 
   6655  1.1  skrll # This can be used to rebuild libtool when needed
   6656  1.1  skrll LIBTOOL_DEPS="$ltmain"
   6657  1.1  skrll 
   6658  1.1  skrll # Always use our own libtool.
   6659  1.1  skrll LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   6660  1.1  skrll 
   6661  1.1  skrll 
   6662  1.1  skrll 
   6663  1.1  skrll 
   6664  1.1  skrll 
   6665  1.1  skrll 
   6666  1.1  skrll 
   6667  1.1  skrll 
   6668  1.1  skrll 
   6669  1.1  skrll 
   6670  1.1  skrll 
   6671  1.1  skrll 
   6672  1.1  skrll 
   6673  1.1  skrll 
   6674  1.1  skrll 
   6675  1.1  skrll 
   6676  1.1  skrll 
   6677  1.1  skrll 
   6678  1.1  skrll 
   6679  1.1  skrll 
   6680  1.1  skrll 
   6681  1.1  skrll 
   6682  1.1  skrll 
   6683  1.1  skrll 
   6684  1.1  skrll 
   6685  1.1  skrll test -z "$LN_S" && LN_S="ln -s"
   6686  1.1  skrll 
   6687  1.1  skrll 
   6688  1.1  skrll 
   6689  1.1  skrll 
   6690  1.1  skrll 
   6691  1.1  skrll 
   6692  1.1  skrll 
   6693  1.1  skrll 
   6694  1.1  skrll 
   6695  1.1  skrll 
   6696  1.1  skrll 
   6697  1.1  skrll 
   6698  1.1  skrll 
   6699  1.1  skrll 
   6700  1.1  skrll if test -n "${ZSH_VERSION+set}" ; then
   6701  1.1  skrll    setopt NO_GLOB_SUBST
   6702  1.1  skrll fi
   6703  1.1  skrll 
   6704  1.1  skrll echo "$as_me:$LINENO: checking for objdir" >&5
   6705  1.1  skrll echo $ECHO_N "checking for objdir... $ECHO_C" >&6
   6706  1.1  skrll if test "${lt_cv_objdir+set}" = set; then
   6707  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   6708  1.1  skrll else
   6709  1.1  skrll   rm -f .libs 2>/dev/null
   6710  1.1  skrll mkdir .libs 2>/dev/null
   6711  1.1  skrll if test -d .libs; then
   6712  1.1  skrll   lt_cv_objdir=.libs
   6713  1.1  skrll else
   6714  1.1  skrll   # MS-DOS does not allow filenames that begin with a dot.
   6715  1.1  skrll   lt_cv_objdir=_libs
   6716  1.1  skrll fi
   6717  1.1  skrll rmdir .libs 2>/dev/null
   6718  1.1  skrll fi
   6719  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6720  1.1  skrll echo "${ECHO_T}$lt_cv_objdir" >&6
   6721  1.1  skrll objdir=$lt_cv_objdir
   6722  1.1  skrll 
   6723  1.1  skrll 
   6724  1.1  skrll 
   6725  1.1  skrll 
   6726  1.1  skrll 
   6727  1.1  skrll cat >>confdefs.h <<_ACEOF
   6728  1.1  skrll #define LT_OBJDIR "$lt_cv_objdir/"
   6729  1.1  skrll _ACEOF
   6730  1.1  skrll 
   6731  1.1  skrll 
   6732  1.1  skrll 
   6733  1.1  skrll 
   6734  1.1  skrll 
   6735  1.1  skrll 
   6736  1.1  skrll 
   6737  1.1  skrll 
   6738  1.1  skrll 
   6739  1.1  skrll 
   6740  1.1  skrll 
   6741  1.1  skrll 
   6742  1.1  skrll 
   6743  1.1  skrll 
   6744  1.1  skrll 
   6745  1.1  skrll 
   6746  1.1  skrll 
   6747  1.1  skrll case $host_os in
   6748  1.1  skrll aix3*)
   6749  1.1  skrll   # AIX sometimes has problems with the GCC collect2 program.  For some
   6750  1.1  skrll   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6751  1.1  skrll   # vanish in a puff of smoke.
   6752  1.1  skrll   if test "X${COLLECT_NAMES+set}" != Xset; then
   6753  1.1  skrll     COLLECT_NAMES=
   6754  1.1  skrll     export COLLECT_NAMES
   6755  1.1  skrll   fi
   6756  1.1  skrll   ;;
   6757  1.1  skrll esac
   6758  1.1  skrll 
   6759  1.1  skrll # Sed substitution that helps us do robust quoting.  It backslashifies
   6760  1.1  skrll # metacharacters that are still active within double-quoted strings.
   6761  1.1  skrll sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6762  1.1  skrll 
   6763  1.1  skrll # Same as above, but do not quote variable references.
   6764  1.1  skrll double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6765  1.1  skrll 
   6766  1.1  skrll # Sed substitution to delay expansion of an escaped shell variable in a
   6767  1.1  skrll # double_quote_subst'ed string.
   6768  1.1  skrll delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6769  1.1  skrll 
   6770  1.1  skrll # Sed substitution to delay expansion of an escaped single quote.
   6771  1.1  skrll delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6772  1.1  skrll 
   6773  1.1  skrll # Sed substitution to avoid accidental globbing in evaled expressions
   6774  1.1  skrll no_glob_subst='s/\*/\\\*/g'
   6775  1.1  skrll 
   6776  1.1  skrll # Global variables:
   6777  1.1  skrll ofile=libtool
   6778  1.1  skrll can_build_shared=yes
   6779  1.1  skrll 
   6780  1.1  skrll # All known linkers require a `.a' archive for static linking (except MSVC,
   6781  1.1  skrll # which needs '.lib').
   6782  1.1  skrll libext=a
   6783  1.1  skrll 
   6784  1.1  skrll with_gnu_ld="$lt_cv_prog_gnu_ld"
   6785  1.1  skrll 
   6786  1.1  skrll old_CC="$CC"
   6787  1.1  skrll old_CFLAGS="$CFLAGS"
   6788  1.1  skrll 
   6789  1.1  skrll # Set sane defaults for various variables
   6790  1.1  skrll test -z "$CC" && CC=cc
   6791  1.1  skrll test -z "$LTCC" && LTCC=$CC
   6792  1.1  skrll test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6793  1.1  skrll test -z "$LD" && LD=ld
   6794  1.1  skrll test -z "$ac_objext" && ac_objext=o
   6795  1.1  skrll 
   6796  1.1  skrll for cc_temp in $compiler""; do
   6797  1.1  skrll   case $cc_temp in
   6798  1.1  skrll     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6799  1.1  skrll     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6800  1.1  skrll     \-*) ;;
   6801  1.1  skrll     *) break;;
   6802  1.1  skrll   esac
   6803  1.1  skrll done
   6804  1.1  skrll cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6805  1.1  skrll 
   6806  1.1  skrll 
   6807  1.1  skrll # Only perform the check for file, if the check method requires it
   6808  1.1  skrll test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6809  1.1  skrll case $deplibs_check_method in
   6810  1.1  skrll file_magic*)
   6811  1.1  skrll   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6812  1.1  skrll     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6813  1.1  skrll echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
   6814  1.1  skrll if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6815  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   6816  1.1  skrll else
   6817  1.1  skrll   case $MAGIC_CMD in
   6818  1.1  skrll [\\/*] |  ?:[\\/]*)
   6819  1.1  skrll   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6820  1.1  skrll   ;;
   6821  1.1  skrll *)
   6822  1.1  skrll   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6823  1.1  skrll   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6824  1.1  skrll   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6825  1.1  skrll   for ac_dir in $ac_dummy; do
   6826  1.1  skrll     IFS="$lt_save_ifs"
   6827  1.1  skrll     test -z "$ac_dir" && ac_dir=.
   6828  1.1  skrll     if test -f $ac_dir/${ac_tool_prefix}file; then
   6829  1.1  skrll       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6830  1.1  skrll       if test -n "$file_magic_test_file"; then
   6831  1.1  skrll 	case $deplibs_check_method in
   6832  1.1  skrll 	"file_magic "*)
   6833  1.1  skrll 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6834  1.1  skrll 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6835  1.1  skrll 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6836  1.1  skrll 	    $EGREP "$file_magic_regex" > /dev/null; then
   6837  1.1  skrll 	    :
   6838  1.1  skrll 	  else
   6839  1.1  skrll 	    cat <<_LT_EOF 1>&2
   6840  1.1  skrll 
   6841  1.1  skrll *** Warning: the command libtool uses to detect shared libraries,
   6842  1.1  skrll *** $file_magic_cmd, produces output that libtool cannot recognize.
   6843  1.1  skrll *** The result is that libtool may fail to recognize shared libraries
   6844  1.1  skrll *** as such.  This will affect the creation of libtool libraries that
   6845  1.1  skrll *** depend on shared libraries, but programs linked with such libtool
   6846  1.1  skrll *** libraries will work regardless of this problem.  Nevertheless, you
   6847  1.1  skrll *** may want to report the problem to your system manager and/or to
   6848  1.1  skrll *** bug-libtool@gnu.org
   6849  1.1  skrll 
   6850  1.1  skrll _LT_EOF
   6851  1.1  skrll 	  fi ;;
   6852  1.1  skrll 	esac
   6853  1.1  skrll       fi
   6854  1.1  skrll       break
   6855  1.1  skrll     fi
   6856  1.1  skrll   done
   6857  1.1  skrll   IFS="$lt_save_ifs"
   6858  1.1  skrll   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6859  1.1  skrll   ;;
   6860  1.1  skrll esac
   6861  1.1  skrll fi
   6862  1.1  skrll 
   6863  1.1  skrll MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6864  1.1  skrll if test -n "$MAGIC_CMD"; then
   6865  1.1  skrll   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6866  1.1  skrll echo "${ECHO_T}$MAGIC_CMD" >&6
   6867  1.1  skrll else
   6868  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   6869  1.1  skrll echo "${ECHO_T}no" >&6
   6870  1.1  skrll fi
   6871  1.1  skrll 
   6872  1.1  skrll 
   6873  1.1  skrll 
   6874  1.1  skrll 
   6875  1.1  skrll 
   6876  1.1  skrll if test -z "$lt_cv_path_MAGIC_CMD"; then
   6877  1.1  skrll   if test -n "$ac_tool_prefix"; then
   6878  1.1  skrll     echo "$as_me:$LINENO: checking for file" >&5
   6879  1.1  skrll echo $ECHO_N "checking for file... $ECHO_C" >&6
   6880  1.1  skrll if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6881  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   6882  1.1  skrll else
   6883  1.1  skrll   case $MAGIC_CMD in
   6884  1.1  skrll [\\/*] |  ?:[\\/]*)
   6885  1.1  skrll   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6886  1.1  skrll   ;;
   6887  1.1  skrll *)
   6888  1.1  skrll   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6889  1.1  skrll   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6890  1.1  skrll   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6891  1.1  skrll   for ac_dir in $ac_dummy; do
   6892  1.1  skrll     IFS="$lt_save_ifs"
   6893  1.1  skrll     test -z "$ac_dir" && ac_dir=.
   6894  1.1  skrll     if test -f $ac_dir/file; then
   6895  1.1  skrll       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6896  1.1  skrll       if test -n "$file_magic_test_file"; then
   6897  1.1  skrll 	case $deplibs_check_method in
   6898  1.1  skrll 	"file_magic "*)
   6899  1.1  skrll 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6900  1.1  skrll 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6901  1.1  skrll 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6902  1.1  skrll 	    $EGREP "$file_magic_regex" > /dev/null; then
   6903  1.1  skrll 	    :
   6904  1.1  skrll 	  else
   6905  1.1  skrll 	    cat <<_LT_EOF 1>&2
   6906  1.1  skrll 
   6907  1.1  skrll *** Warning: the command libtool uses to detect shared libraries,
   6908  1.1  skrll *** $file_magic_cmd, produces output that libtool cannot recognize.
   6909  1.1  skrll *** The result is that libtool may fail to recognize shared libraries
   6910  1.1  skrll *** as such.  This will affect the creation of libtool libraries that
   6911  1.1  skrll *** depend on shared libraries, but programs linked with such libtool
   6912  1.1  skrll *** libraries will work regardless of this problem.  Nevertheless, you
   6913  1.1  skrll *** may want to report the problem to your system manager and/or to
   6914  1.1  skrll *** bug-libtool@gnu.org
   6915  1.1  skrll 
   6916  1.1  skrll _LT_EOF
   6917  1.1  skrll 	  fi ;;
   6918  1.1  skrll 	esac
   6919  1.1  skrll       fi
   6920  1.1  skrll       break
   6921  1.1  skrll     fi
   6922  1.1  skrll   done
   6923  1.1  skrll   IFS="$lt_save_ifs"
   6924  1.1  skrll   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6925  1.1  skrll   ;;
   6926  1.1  skrll esac
   6927  1.1  skrll fi
   6928  1.1  skrll 
   6929  1.1  skrll MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6930  1.1  skrll if test -n "$MAGIC_CMD"; then
   6931  1.1  skrll   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6932  1.1  skrll echo "${ECHO_T}$MAGIC_CMD" >&6
   6933  1.1  skrll else
   6934  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   6935  1.1  skrll echo "${ECHO_T}no" >&6
   6936  1.1  skrll fi
   6937  1.1  skrll 
   6938  1.1  skrll 
   6939  1.1  skrll   else
   6940  1.1  skrll     MAGIC_CMD=:
   6941  1.1  skrll   fi
   6942  1.1  skrll fi
   6943  1.1  skrll 
   6944  1.1  skrll   fi
   6945  1.1  skrll   ;;
   6946  1.1  skrll esac
   6947  1.1  skrll 
   6948  1.1  skrll # Use C for the default configuration in the libtool script
   6949  1.1  skrll 
   6950  1.1  skrll lt_save_CC="$CC"
   6951  1.1  skrll ac_ext=c
   6952  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   6953  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6954  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6955  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6956  1.1  skrll 
   6957  1.1  skrll 
   6958  1.1  skrll # Source file extension for C test sources.
   6959  1.1  skrll ac_ext=c
   6960  1.1  skrll 
   6961  1.1  skrll # Object file extension for compiled C test sources.
   6962  1.1  skrll objext=o
   6963  1.1  skrll objext=$objext
   6964  1.1  skrll 
   6965  1.1  skrll # Code to be used in simple compile tests
   6966  1.1  skrll lt_simple_compile_test_code="int some_variable = 0;"
   6967  1.1  skrll 
   6968  1.1  skrll # Code to be used in simple link tests
   6969  1.1  skrll lt_simple_link_test_code='int main(){return(0);}'
   6970  1.1  skrll 
   6971  1.1  skrll 
   6972  1.1  skrll 
   6973  1.1  skrll 
   6974  1.1  skrll 
   6975  1.1  skrll 
   6976  1.1  skrll 
   6977  1.1  skrll # If no C compiler was specified, use CC.
   6978  1.1  skrll LTCC=${LTCC-"$CC"}
   6979  1.1  skrll 
   6980  1.1  skrll # If no C compiler flags were specified, use CFLAGS.
   6981  1.1  skrll LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6982  1.1  skrll 
   6983  1.1  skrll # Allow CC to be a program name with arguments.
   6984  1.1  skrll compiler=$CC
   6985  1.1  skrll 
   6986  1.1  skrll # Save the default compiler, since it gets overwritten when the other
   6987  1.1  skrll # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   6988  1.1  skrll compiler_DEFAULT=$CC
   6989  1.1  skrll 
   6990  1.1  skrll # save warnings/boilerplate of simple test code
   6991  1.1  skrll ac_outfile=conftest.$ac_objext
   6992  1.1  skrll echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   6993  1.1  skrll eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   6994  1.1  skrll _lt_compiler_boilerplate=`cat conftest.err`
   6995  1.1  skrll $RM conftest*
   6996  1.1  skrll 
   6997  1.1  skrll ac_outfile=conftest.$ac_objext
   6998  1.1  skrll echo "$lt_simple_link_test_code" >conftest.$ac_ext
   6999  1.1  skrll eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7000  1.1  skrll _lt_linker_boilerplate=`cat conftest.err`
   7001  1.1  skrll $RM conftest*
   7002  1.1  skrll 
   7003  1.1  skrll 
   7004  1.1  skrll ## CAVEAT EMPTOR:
   7005  1.1  skrll ## There is no encapsulation within the following macros, do not change
   7006  1.1  skrll ## the running order or otherwise move them around unless you know exactly
   7007  1.1  skrll ## what you are doing...
   7008  1.1  skrll if test -n "$compiler"; then
   7009  1.1  skrll 
   7010  1.1  skrll lt_prog_compiler_no_builtin_flag=
   7011  1.1  skrll 
   7012  1.1  skrll if test "$GCC" = yes; then
   7013  1.1  skrll   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7014  1.1  skrll 
   7015  1.1  skrll   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7016  1.1  skrll echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   7017  1.1  skrll if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7018  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   7019  1.1  skrll else
   7020  1.1  skrll   lt_cv_prog_compiler_rtti_exceptions=no
   7021  1.1  skrll    ac_outfile=conftest.$ac_objext
   7022  1.1  skrll    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7023  1.1  skrll    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7024  1.1  skrll    # Insert the option either (1) after the last *FLAGS variable, or
   7025  1.1  skrll    # (2) before a word containing "conftest.", or (3) at the end.
   7026  1.1  skrll    # Note that $ac_compile itself does not contain backslashes and begins
   7027  1.1  skrll    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7028  1.1  skrll    # The option is referenced via a variable to avoid confusing sed.
   7029  1.1  skrll    lt_compile=`echo "$ac_compile" | $SED \
   7030  1.1  skrll    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7031  1.1  skrll    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7032  1.1  skrll    -e 's:$: $lt_compiler_flag:'`
   7033  1.1  skrll    (eval echo "\"\$as_me:7033: $lt_compile\"" >&5)
   7034  1.1  skrll    (eval "$lt_compile" 2>conftest.err)
   7035  1.1  skrll    ac_status=$?
   7036  1.1  skrll    cat conftest.err >&5
   7037  1.1  skrll    echo "$as_me:7037: \$? = $ac_status" >&5
   7038  1.1  skrll    if (exit $ac_status) && test -s "$ac_outfile"; then
   7039  1.1  skrll      # The compiler can only warn and ignore the option if not recognized
   7040  1.1  skrll      # So say no if there are warnings other than the usual output.
   7041  1.1  skrll      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7042  1.1  skrll      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7043  1.1  skrll      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7044  1.1  skrll        lt_cv_prog_compiler_rtti_exceptions=yes
   7045  1.1  skrll      fi
   7046  1.1  skrll    fi
   7047  1.1  skrll    $RM conftest*
   7048  1.1  skrll 
   7049  1.1  skrll fi
   7050  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7051  1.1  skrll echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
   7052  1.1  skrll 
   7053  1.1  skrll if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7054  1.1  skrll     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7055  1.1  skrll else
   7056  1.1  skrll     :
   7057  1.1  skrll fi
   7058  1.1  skrll 
   7059  1.1  skrll fi
   7060  1.1  skrll 
   7061  1.1  skrll 
   7062  1.1  skrll 
   7063  1.1  skrll 
   7064  1.1  skrll 
   7065  1.1  skrll 
   7066  1.1  skrll   lt_prog_compiler_wl=
   7067  1.1  skrll lt_prog_compiler_pic=
   7068  1.1  skrll lt_prog_compiler_static=
   7069  1.1  skrll 
   7070  1.1  skrll echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7071  1.1  skrll echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   7072  1.1  skrll 
   7073  1.1  skrll   if test "$GCC" = yes; then
   7074  1.1  skrll     lt_prog_compiler_wl='-Wl,'
   7075  1.1  skrll     lt_prog_compiler_static='-static'
   7076  1.1  skrll 
   7077  1.1  skrll     case $host_os in
   7078  1.1  skrll       aix*)
   7079  1.1  skrll       # All AIX code is PIC.
   7080  1.1  skrll       if test "$host_cpu" = ia64; then
   7081  1.1  skrll 	# AIX 5 now supports IA64 processor
   7082  1.1  skrll 	lt_prog_compiler_static='-Bstatic'
   7083  1.1  skrll       fi
   7084  1.1  skrll       ;;
   7085  1.1  skrll 
   7086  1.1  skrll     amigaos*)
   7087  1.1  skrll       if test "$host_cpu" = m68k; then
   7088  1.1  skrll         # FIXME: we need at least 68020 code to build shared libraries, but
   7089  1.1  skrll         # adding the `-m68020' flag to GCC prevents building anything better,
   7090  1.1  skrll         # like `-m68040'.
   7091  1.1  skrll         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7092  1.1  skrll       fi
   7093  1.1  skrll       ;;
   7094  1.1  skrll 
   7095  1.1  skrll     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7096  1.1  skrll       # PIC is the default for these OSes.
   7097  1.1  skrll       ;;
   7098  1.1  skrll 
   7099  1.1  skrll     mingw* | cygwin* | pw32* | os2*)
   7100  1.1  skrll       # This hack is so that the source file can tell whether it is being
   7101  1.1  skrll       # built for inclusion in a dll (and should export symbols for example).
   7102  1.1  skrll       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7103  1.1  skrll       # (--disable-auto-import) libraries
   7104  1.1  skrll       lt_prog_compiler_pic='-DDLL_EXPORT'
   7105  1.1  skrll       ;;
   7106  1.1  skrll 
   7107  1.1  skrll     darwin* | rhapsody*)
   7108  1.1  skrll       # PIC is the default on this platform
   7109  1.1  skrll       # Common symbols not allowed in MH_DYLIB files
   7110  1.1  skrll       lt_prog_compiler_pic='-fno-common'
   7111  1.1  skrll       ;;
   7112  1.1  skrll 
   7113  1.1  skrll     hpux*)
   7114  1.1  skrll       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7115  1.1  skrll       # not for PA HP-UX.
   7116  1.1  skrll       case $host_cpu in
   7117  1.1  skrll       hppa*64*|ia64*)
   7118  1.1  skrll 	# +Z the default
   7119  1.1  skrll 	;;
   7120  1.1  skrll       *)
   7121  1.1  skrll 	lt_prog_compiler_pic='-fPIC'
   7122  1.1  skrll 	;;
   7123  1.1  skrll       esac
   7124  1.1  skrll       ;;
   7125  1.1  skrll 
   7126  1.1  skrll     interix[3-9]*)
   7127  1.1  skrll       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7128  1.1  skrll       # Instead, we relocate shared libraries at runtime.
   7129  1.1  skrll       ;;
   7130  1.1  skrll 
   7131  1.1  skrll     msdosdjgpp*)
   7132  1.1  skrll       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7133  1.1  skrll       # on systems that don't support them.
   7134  1.1  skrll       lt_prog_compiler_can_build_shared=no
   7135  1.1  skrll       enable_shared=no
   7136  1.1  skrll       ;;
   7137  1.1  skrll 
   7138  1.1  skrll     *nto* | *qnx*)
   7139  1.1  skrll       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7140  1.1  skrll       # it will coredump.
   7141  1.1  skrll       lt_prog_compiler_pic='-fPIC -shared'
   7142  1.1  skrll       ;;
   7143  1.1  skrll 
   7144  1.1  skrll     sysv4*MP*)
   7145  1.1  skrll       if test -d /usr/nec; then
   7146  1.1  skrll 	lt_prog_compiler_pic=-Kconform_pic
   7147  1.1  skrll       fi
   7148  1.1  skrll       ;;
   7149  1.1  skrll 
   7150  1.1  skrll     *)
   7151  1.1  skrll       lt_prog_compiler_pic='-fPIC'
   7152  1.1  skrll       ;;
   7153  1.1  skrll     esac
   7154  1.1  skrll   else
   7155  1.1  skrll     # PORTME Check for flag to pass linker flags through the system compiler.
   7156  1.1  skrll     case $host_os in
   7157  1.1  skrll     aix*)
   7158  1.1  skrll       lt_prog_compiler_wl='-Wl,'
   7159  1.1  skrll       if test "$host_cpu" = ia64; then
   7160  1.1  skrll 	# AIX 5 now supports IA64 processor
   7161  1.1  skrll 	lt_prog_compiler_static='-Bstatic'
   7162  1.1  skrll       else
   7163  1.1  skrll 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7164  1.1  skrll       fi
   7165  1.1  skrll       ;;
   7166  1.1  skrll     darwin*)
   7167  1.1  skrll       # PIC is the default on this platform
   7168  1.1  skrll       # Common symbols not allowed in MH_DYLIB files
   7169  1.1  skrll       case $cc_basename in
   7170  1.1  skrll       xlc*)
   7171  1.1  skrll         lt_prog_compiler_pic='-qnocommon'
   7172  1.1  skrll         lt_prog_compiler_wl='-Wl,'
   7173  1.1  skrll         ;;
   7174  1.1  skrll       esac
   7175  1.1  skrll       ;;
   7176  1.1  skrll 
   7177  1.1  skrll     mingw* | cygwin* | pw32* | os2*)
   7178  1.1  skrll       # This hack is so that the source file can tell whether it is being
   7179  1.1  skrll       # built for inclusion in a dll (and should export symbols for example).
   7180  1.1  skrll       lt_prog_compiler_pic='-DDLL_EXPORT'
   7181  1.1  skrll       ;;
   7182  1.1  skrll 
   7183  1.1  skrll     hpux9* | hpux10* | hpux11*)
   7184  1.1  skrll       lt_prog_compiler_wl='-Wl,'
   7185  1.1  skrll       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7186  1.1  skrll       # not for PA HP-UX.
   7187  1.1  skrll       case $host_cpu in
   7188  1.1  skrll       hppa*64*|ia64*)
   7189  1.1  skrll 	# +Z the default
   7190  1.1  skrll 	;;
   7191  1.1  skrll       *)
   7192  1.1  skrll 	lt_prog_compiler_pic='+Z'
   7193  1.1  skrll 	;;
   7194  1.1  skrll       esac
   7195  1.1  skrll       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7196  1.1  skrll       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7197  1.1  skrll       ;;
   7198  1.1  skrll 
   7199  1.1  skrll     irix5* | irix6* | nonstopux*)
   7200  1.1  skrll       lt_prog_compiler_wl='-Wl,'
   7201  1.1  skrll       # PIC (with -KPIC) is the default.
   7202  1.1  skrll       lt_prog_compiler_static='-non_shared'
   7203  1.1  skrll       ;;
   7204  1.1  skrll 
   7205  1.1  skrll     linux* | k*bsd*-gnu)
   7206  1.1  skrll       case $cc_basename in
   7207  1.1  skrll       icc* | ecc*)
   7208  1.1  skrll 	lt_prog_compiler_wl='-Wl,'
   7209  1.1  skrll 	lt_prog_compiler_pic='-KPIC'
   7210  1.1  skrll 	lt_prog_compiler_static='-static'
   7211  1.1  skrll         ;;
   7212  1.1  skrll       pgcc* | pgf77* | pgf90* | pgf95*)
   7213  1.1  skrll         # Portland Group compilers (*not* the Pentium gcc compiler,
   7214  1.1  skrll 	# which looks to be a dead project)
   7215  1.1  skrll 	lt_prog_compiler_wl='-Wl,'
   7216  1.1  skrll 	lt_prog_compiler_pic='-fpic'
   7217  1.1  skrll 	lt_prog_compiler_static='-Bstatic'
   7218  1.1  skrll         ;;
   7219  1.1  skrll       ccc*)
   7220  1.1  skrll         lt_prog_compiler_wl='-Wl,'
   7221  1.1  skrll         # All Alpha code is PIC.
   7222  1.1  skrll         lt_prog_compiler_static='-non_shared'
   7223  1.1  skrll         ;;
   7224  1.1  skrll       *)
   7225  1.1  skrll 	case `$CC -V 2>&1 | sed 5q` in
   7226  1.1  skrll 	*Sun\ C*)
   7227  1.1  skrll 	  # Sun C 5.9
   7228  1.1  skrll 	  lt_prog_compiler_pic='-KPIC'
   7229  1.1  skrll 	  lt_prog_compiler_static='-Bstatic'
   7230  1.1  skrll 	  lt_prog_compiler_wl='-Wl,'
   7231  1.1  skrll 	  ;;
   7232  1.1  skrll 	*Sun\ F*)
   7233  1.1  skrll 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7234  1.1  skrll 	  lt_prog_compiler_pic='-KPIC'
   7235  1.1  skrll 	  lt_prog_compiler_static='-Bstatic'
   7236  1.1  skrll 	  lt_prog_compiler_wl=''
   7237  1.1  skrll 	  ;;
   7238  1.1  skrll 	esac
   7239  1.1  skrll 	;;
   7240  1.1  skrll       esac
   7241  1.1  skrll       ;;
   7242  1.1  skrll 
   7243  1.1  skrll     newsos6)
   7244  1.1  skrll       lt_prog_compiler_pic='-KPIC'
   7245  1.1  skrll       lt_prog_compiler_static='-Bstatic'
   7246  1.1  skrll       ;;
   7247  1.1  skrll 
   7248  1.1  skrll     *nto* | *qnx*)
   7249  1.1  skrll       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7250  1.1  skrll       # it will coredump.
   7251  1.1  skrll       lt_prog_compiler_pic='-fPIC -shared'
   7252  1.1  skrll       ;;
   7253  1.1  skrll 
   7254  1.1  skrll     osf3* | osf4* | osf5*)
   7255  1.1  skrll       lt_prog_compiler_wl='-Wl,'
   7256  1.1  skrll       # All OSF/1 code is PIC.
   7257  1.1  skrll       lt_prog_compiler_static='-non_shared'
   7258  1.1  skrll       ;;
   7259  1.1  skrll 
   7260  1.1  skrll     rdos*)
   7261  1.1  skrll       lt_prog_compiler_static='-non_shared'
   7262  1.1  skrll       ;;
   7263  1.1  skrll 
   7264  1.1  skrll     solaris*)
   7265  1.1  skrll       lt_prog_compiler_pic='-KPIC'
   7266  1.1  skrll       lt_prog_compiler_static='-Bstatic'
   7267  1.1  skrll       case $cc_basename in
   7268  1.1  skrll       f77* | f90* | f95*)
   7269  1.1  skrll 	lt_prog_compiler_wl='-Qoption ld ';;
   7270  1.1  skrll       *)
   7271  1.1  skrll 	lt_prog_compiler_wl='-Wl,';;
   7272  1.1  skrll       esac
   7273  1.1  skrll       ;;
   7274  1.1  skrll 
   7275  1.1  skrll     sunos4*)
   7276  1.1  skrll       lt_prog_compiler_wl='-Qoption ld '
   7277  1.1  skrll       lt_prog_compiler_pic='-PIC'
   7278  1.1  skrll       lt_prog_compiler_static='-Bstatic'
   7279  1.1  skrll       ;;
   7280  1.1  skrll 
   7281  1.1  skrll     sysv4 | sysv4.2uw2* | sysv4.3*)
   7282  1.1  skrll       lt_prog_compiler_wl='-Wl,'
   7283  1.1  skrll       lt_prog_compiler_pic='-KPIC'
   7284  1.1  skrll       lt_prog_compiler_static='-Bstatic'
   7285  1.1  skrll       ;;
   7286  1.1  skrll 
   7287  1.1  skrll     sysv4*MP*)
   7288  1.1  skrll       if test -d /usr/nec ;then
   7289  1.1  skrll 	lt_prog_compiler_pic='-Kconform_pic'
   7290  1.1  skrll 	lt_prog_compiler_static='-Bstatic'
   7291  1.1  skrll       fi
   7292  1.1  skrll       ;;
   7293  1.1  skrll 
   7294  1.1  skrll     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7295  1.1  skrll       lt_prog_compiler_wl='-Wl,'
   7296  1.1  skrll       lt_prog_compiler_pic='-KPIC'
   7297  1.1  skrll       lt_prog_compiler_static='-Bstatic'
   7298  1.1  skrll       ;;
   7299  1.1  skrll 
   7300  1.1  skrll     unicos*)
   7301  1.1  skrll       lt_prog_compiler_wl='-Wl,'
   7302  1.1  skrll       lt_prog_compiler_can_build_shared=no
   7303  1.1  skrll       ;;
   7304  1.1  skrll 
   7305  1.1  skrll     uts4*)
   7306  1.1  skrll       lt_prog_compiler_pic='-pic'
   7307  1.1  skrll       lt_prog_compiler_static='-Bstatic'
   7308  1.1  skrll       ;;
   7309  1.1  skrll 
   7310  1.1  skrll     *)
   7311  1.1  skrll       lt_prog_compiler_can_build_shared=no
   7312  1.1  skrll       ;;
   7313  1.1  skrll     esac
   7314  1.1  skrll   fi
   7315  1.1  skrll 
   7316  1.1  skrll case $host_os in
   7317  1.1  skrll   # For platforms which do not support PIC, -DPIC is meaningless:
   7318  1.1  skrll   *djgpp*)
   7319  1.1  skrll     lt_prog_compiler_pic=
   7320  1.1  skrll     ;;
   7321  1.1  skrll   *)
   7322  1.1  skrll     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7323  1.1  skrll     ;;
   7324  1.1  skrll esac
   7325  1.1  skrll echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7326  1.1  skrll echo "${ECHO_T}$lt_prog_compiler_pic" >&6
   7327  1.1  skrll 
   7328  1.1  skrll 
   7329  1.1  skrll 
   7330  1.1  skrll 
   7331  1.1  skrll 
   7332  1.1  skrll 
   7333  1.1  skrll #
   7334  1.1  skrll # Check to make sure the PIC flag actually works.
   7335  1.1  skrll #
   7336  1.1  skrll if test -n "$lt_prog_compiler_pic"; then
   7337  1.1  skrll   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7338  1.1  skrll echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
   7339  1.1  skrll if test "${lt_prog_compiler_pic_works+set}" = set; then
   7340  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   7341  1.1  skrll else
   7342  1.1  skrll   lt_prog_compiler_pic_works=no
   7343  1.1  skrll    ac_outfile=conftest.$ac_objext
   7344  1.1  skrll    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7345  1.1  skrll    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7346  1.1  skrll    # Insert the option either (1) after the last *FLAGS variable, or
   7347  1.1  skrll    # (2) before a word containing "conftest.", or (3) at the end.
   7348  1.1  skrll    # Note that $ac_compile itself does not contain backslashes and begins
   7349  1.1  skrll    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7350  1.1  skrll    # The option is referenced via a variable to avoid confusing sed.
   7351  1.1  skrll    lt_compile=`echo "$ac_compile" | $SED \
   7352  1.1  skrll    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7353  1.1  skrll    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7354  1.1  skrll    -e 's:$: $lt_compiler_flag:'`
   7355  1.1  skrll    (eval echo "\"\$as_me:7355: $lt_compile\"" >&5)
   7356  1.1  skrll    (eval "$lt_compile" 2>conftest.err)
   7357  1.1  skrll    ac_status=$?
   7358  1.1  skrll    cat conftest.err >&5
   7359  1.1  skrll    echo "$as_me:7359: \$? = $ac_status" >&5
   7360  1.1  skrll    if (exit $ac_status) && test -s "$ac_outfile"; then
   7361  1.1  skrll      # The compiler can only warn and ignore the option if not recognized
   7362  1.1  skrll      # So say no if there are warnings other than the usual output.
   7363  1.1  skrll      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7364  1.1  skrll      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7365  1.1  skrll      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7366  1.1  skrll        lt_prog_compiler_pic_works=yes
   7367  1.1  skrll      fi
   7368  1.1  skrll    fi
   7369  1.1  skrll    $RM conftest*
   7370  1.1  skrll 
   7371  1.1  skrll fi
   7372  1.1  skrll echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7373  1.1  skrll echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
   7374  1.1  skrll 
   7375  1.1  skrll if test x"$lt_prog_compiler_pic_works" = xyes; then
   7376  1.1  skrll     case $lt_prog_compiler_pic in
   7377  1.1  skrll      "" | " "*) ;;
   7378  1.1  skrll      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7379  1.1  skrll      esac
   7380  1.1  skrll else
   7381  1.1  skrll     lt_prog_compiler_pic=
   7382  1.1  skrll      lt_prog_compiler_can_build_shared=no
   7383  1.1  skrll fi
   7384  1.1  skrll 
   7385  1.1  skrll fi
   7386  1.1  skrll 
   7387  1.1  skrll 
   7388  1.1  skrll 
   7389  1.1  skrll 
   7390  1.1  skrll 
   7391  1.1  skrll 
   7392  1.1  skrll #
   7393  1.1  skrll # Check to make sure the static flag actually works.
   7394  1.1  skrll #
   7395  1.1  skrll wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7396  1.1  skrll echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7397  1.1  skrll echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   7398  1.1  skrll if test "${lt_prog_compiler_static_works+set}" = set; then
   7399  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   7400  1.1  skrll else
   7401  1.1  skrll   lt_prog_compiler_static_works=no
   7402  1.1  skrll    save_LDFLAGS="$LDFLAGS"
   7403  1.1  skrll    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7404  1.1  skrll    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7405  1.1  skrll    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7406  1.1  skrll      # The linker can only warn and ignore the option if not recognized
   7407  1.1  skrll      # So say no if there are warnings
   7408  1.1  skrll      if test -s conftest.err; then
   7409  1.1  skrll        # Append any errors to the config.log.
   7410  1.1  skrll        cat conftest.err 1>&5
   7411  1.1  skrll        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7412  1.1  skrll        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7413  1.1  skrll        if diff conftest.exp conftest.er2 >/dev/null; then
   7414  1.1  skrll          lt_prog_compiler_static_works=yes
   7415  1.1  skrll        fi
   7416  1.1  skrll      else
   7417  1.1  skrll        lt_prog_compiler_static_works=yes
   7418  1.1  skrll      fi
   7419  1.1  skrll    fi
   7420  1.1  skrll    $RM conftest*
   7421  1.1  skrll    LDFLAGS="$save_LDFLAGS"
   7422  1.1  skrll 
   7423  1.1  skrll fi
   7424  1.1  skrll echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7425  1.1  skrll echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
   7426  1.1  skrll 
   7427  1.1  skrll if test x"$lt_prog_compiler_static_works" = xyes; then
   7428  1.1  skrll     :
   7429  1.1  skrll else
   7430  1.1  skrll     lt_prog_compiler_static=
   7431  1.1  skrll fi
   7432  1.1  skrll 
   7433  1.1  skrll 
   7434  1.1  skrll 
   7435  1.1  skrll 
   7436  1.1  skrll 
   7437  1.1  skrll 
   7438  1.1  skrll 
   7439  1.1  skrll   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7440  1.1  skrll echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   7441  1.1  skrll if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7442  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   7443  1.1  skrll else
   7444  1.1  skrll   lt_cv_prog_compiler_c_o=no
   7445  1.1  skrll    $RM -r conftest 2>/dev/null
   7446  1.1  skrll    mkdir conftest
   7447  1.1  skrll    cd conftest
   7448  1.1  skrll    mkdir out
   7449  1.1  skrll    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7450  1.1  skrll 
   7451  1.1  skrll    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7452  1.1  skrll    # Insert the option either (1) after the last *FLAGS variable, or
   7453  1.1  skrll    # (2) before a word containing "conftest.", or (3) at the end.
   7454  1.1  skrll    # Note that $ac_compile itself does not contain backslashes and begins
   7455  1.1  skrll    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7456  1.1  skrll    lt_compile=`echo "$ac_compile" | $SED \
   7457  1.1  skrll    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7458  1.1  skrll    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7459  1.1  skrll    -e 's:$: $lt_compiler_flag:'`
   7460  1.1  skrll    (eval echo "\"\$as_me:7460: $lt_compile\"" >&5)
   7461  1.1  skrll    (eval "$lt_compile" 2>out/conftest.err)
   7462  1.1  skrll    ac_status=$?
   7463  1.1  skrll    cat out/conftest.err >&5
   7464  1.1  skrll    echo "$as_me:7464: \$? = $ac_status" >&5
   7465  1.1  skrll    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7466  1.1  skrll    then
   7467  1.1  skrll      # The compiler can only warn and ignore the option if not recognized
   7468  1.1  skrll      # So say no if there are warnings
   7469  1.1  skrll      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7470  1.1  skrll      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7471  1.1  skrll      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7472  1.1  skrll        lt_cv_prog_compiler_c_o=yes
   7473  1.1  skrll      fi
   7474  1.1  skrll    fi
   7475  1.1  skrll    chmod u+w . 2>&5
   7476  1.1  skrll    $RM conftest*
   7477  1.1  skrll    # SGI C++ compiler will create directory out/ii_files/ for
   7478  1.1  skrll    # template instantiation
   7479  1.1  skrll    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7480  1.1  skrll    $RM out/* && rmdir out
   7481  1.1  skrll    cd ..
   7482  1.1  skrll    $RM -r conftest
   7483  1.1  skrll    $RM conftest*
   7484  1.1  skrll 
   7485  1.1  skrll fi
   7486  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7487  1.1  skrll echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
   7488  1.1  skrll 
   7489  1.1  skrll 
   7490  1.1  skrll 
   7491  1.1  skrll 
   7492  1.1  skrll 
   7493  1.1  skrll 
   7494  1.1  skrll   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7495  1.1  skrll echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   7496  1.1  skrll if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7497  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   7498  1.1  skrll else
   7499  1.1  skrll   lt_cv_prog_compiler_c_o=no
   7500  1.1  skrll    $RM -r conftest 2>/dev/null
   7501  1.1  skrll    mkdir conftest
   7502  1.1  skrll    cd conftest
   7503  1.1  skrll    mkdir out
   7504  1.1  skrll    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7505  1.1  skrll 
   7506  1.1  skrll    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7507  1.1  skrll    # Insert the option either (1) after the last *FLAGS variable, or
   7508  1.1  skrll    # (2) before a word containing "conftest.", or (3) at the end.
   7509  1.1  skrll    # Note that $ac_compile itself does not contain backslashes and begins
   7510  1.1  skrll    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7511  1.1  skrll    lt_compile=`echo "$ac_compile" | $SED \
   7512  1.1  skrll    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7513  1.1  skrll    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7514  1.1  skrll    -e 's:$: $lt_compiler_flag:'`
   7515  1.1  skrll    (eval echo "\"\$as_me:7515: $lt_compile\"" >&5)
   7516  1.1  skrll    (eval "$lt_compile" 2>out/conftest.err)
   7517  1.1  skrll    ac_status=$?
   7518  1.1  skrll    cat out/conftest.err >&5
   7519  1.1  skrll    echo "$as_me:7519: \$? = $ac_status" >&5
   7520  1.1  skrll    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7521  1.1  skrll    then
   7522  1.1  skrll      # The compiler can only warn and ignore the option if not recognized
   7523  1.1  skrll      # So say no if there are warnings
   7524  1.1  skrll      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7525  1.1  skrll      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7526  1.1  skrll      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7527  1.1  skrll        lt_cv_prog_compiler_c_o=yes
   7528  1.1  skrll      fi
   7529  1.1  skrll    fi
   7530  1.1  skrll    chmod u+w . 2>&5
   7531  1.1  skrll    $RM conftest*
   7532  1.1  skrll    # SGI C++ compiler will create directory out/ii_files/ for
   7533  1.1  skrll    # template instantiation
   7534  1.1  skrll    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7535  1.1  skrll    $RM out/* && rmdir out
   7536  1.1  skrll    cd ..
   7537  1.1  skrll    $RM -r conftest
   7538  1.1  skrll    $RM conftest*
   7539  1.1  skrll 
   7540  1.1  skrll fi
   7541  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7542  1.1  skrll echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
   7543  1.1  skrll 
   7544  1.1  skrll 
   7545  1.1  skrll 
   7546  1.1  skrll 
   7547  1.1  skrll hard_links="nottested"
   7548  1.1  skrll if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7549  1.1  skrll   # do not overwrite the value of need_locks provided by the user
   7550  1.1  skrll   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7551  1.1  skrll echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   7552  1.1  skrll   hard_links=yes
   7553  1.1  skrll   $RM conftest*
   7554  1.1  skrll   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7555  1.1  skrll   touch conftest.a
   7556  1.1  skrll   ln conftest.a conftest.b 2>&5 || hard_links=no
   7557  1.1  skrll   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7558  1.1  skrll   echo "$as_me:$LINENO: result: $hard_links" >&5
   7559  1.1  skrll echo "${ECHO_T}$hard_links" >&6
   7560  1.1  skrll   if test "$hard_links" = no; then
   7561  1.1  skrll     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7562  1.1  skrll echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7563  1.1  skrll     need_locks=warn
   7564  1.1  skrll   fi
   7565  1.1  skrll else
   7566  1.1  skrll   need_locks=no
   7567  1.1  skrll fi
   7568  1.1  skrll 
   7569  1.1  skrll 
   7570  1.1  skrll 
   7571  1.1  skrll 
   7572  1.1  skrll 
   7573  1.1  skrll 
   7574  1.1  skrll   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7575  1.1  skrll echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   7576  1.1  skrll 
   7577  1.1  skrll   runpath_var=
   7578  1.1  skrll   allow_undefined_flag=
   7579  1.1  skrll   always_export_symbols=no
   7580  1.1  skrll   archive_cmds=
   7581  1.1  skrll   archive_expsym_cmds=
   7582  1.1  skrll   compiler_needs_object=no
   7583  1.1  skrll   enable_shared_with_static_runtimes=no
   7584  1.1  skrll   export_dynamic_flag_spec=
   7585  1.1  skrll   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7586  1.1  skrll   hardcode_automatic=no
   7587  1.1  skrll   hardcode_direct=no
   7588  1.1  skrll   hardcode_direct_absolute=no
   7589  1.1  skrll   hardcode_libdir_flag_spec=
   7590  1.1  skrll   hardcode_libdir_flag_spec_ld=
   7591  1.1  skrll   hardcode_libdir_separator=
   7592  1.1  skrll   hardcode_minus_L=no
   7593  1.1  skrll   hardcode_shlibpath_var=unsupported
   7594  1.1  skrll   inherit_rpath=no
   7595  1.1  skrll   link_all_deplibs=unknown
   7596  1.1  skrll   module_cmds=
   7597  1.1  skrll   module_expsym_cmds=
   7598  1.1  skrll   old_archive_from_new_cmds=
   7599  1.1  skrll   old_archive_from_expsyms_cmds=
   7600  1.1  skrll   thread_safe_flag_spec=
   7601  1.1  skrll   whole_archive_flag_spec=
   7602  1.1  skrll   # include_expsyms should be a list of space-separated symbols to be *always*
   7603  1.1  skrll   # included in the symbol list
   7604  1.1  skrll   include_expsyms=
   7605  1.1  skrll   # exclude_expsyms can be an extended regexp of symbols to exclude
   7606  1.1  skrll   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7607  1.1  skrll   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7608  1.1  skrll   # as well as any symbol that contains `d'.
   7609  1.1  skrll   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7610  1.1  skrll   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7611  1.1  skrll   # platforms (ab)use it in PIC code, but their linkers get confused if
   7612  1.1  skrll   # the symbol is explicitly referenced.  Since portable code cannot
   7613  1.1  skrll   # rely on this symbol name, it's probably fine to never include it in
   7614  1.1  skrll   # preloaded symbol tables.
   7615  1.1  skrll   extract_expsyms_cmds=
   7616  1.1  skrll 
   7617  1.1  skrll   case $host_os in
   7618  1.1  skrll   cygwin* | mingw* | pw32*)
   7619  1.1  skrll     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7620  1.1  skrll     # When not using gcc, we currently assume that we are using
   7621  1.1  skrll     # Microsoft Visual C++.
   7622  1.1  skrll     if test "$GCC" != yes; then
   7623  1.1  skrll       with_gnu_ld=no
   7624  1.1  skrll     fi
   7625  1.1  skrll     ;;
   7626  1.1  skrll   interix*)
   7627  1.1  skrll     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7628  1.1  skrll     with_gnu_ld=yes
   7629  1.1  skrll     ;;
   7630  1.1  skrll   openbsd*)
   7631  1.1  skrll     with_gnu_ld=no
   7632  1.1  skrll     ;;
   7633  1.1  skrll   esac
   7634  1.1  skrll 
   7635  1.1  skrll   ld_shlibs=yes
   7636  1.1  skrll   if test "$with_gnu_ld" = yes; then
   7637  1.1  skrll     # If archive_cmds runs LD, not CC, wlarc should be empty
   7638  1.1  skrll     wlarc='${wl}'
   7639  1.1  skrll 
   7640  1.1  skrll     # Set some defaults for GNU ld with shared library support. These
   7641  1.1  skrll     # are reset later if shared libraries are not supported. Putting them
   7642  1.1  skrll     # here allows them to be overridden if necessary.
   7643  1.1  skrll     runpath_var=LD_RUN_PATH
   7644  1.1  skrll     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7645  1.1  skrll     export_dynamic_flag_spec='${wl}--export-dynamic'
   7646  1.1  skrll     # ancient GNU ld didn't support --whole-archive et. al.
   7647  1.1  skrll     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   7648  1.1  skrll       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7649  1.1  skrll     else
   7650  1.1  skrll       whole_archive_flag_spec=
   7651  1.1  skrll     fi
   7652  1.1  skrll     supports_anon_versioning=no
   7653  1.1  skrll     case `$LD -v 2>&1` in
   7654  1.1  skrll       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7655  1.1  skrll       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7656  1.1  skrll       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7657  1.1  skrll       *\ 2.11.*) ;; # other 2.11 versions
   7658  1.1  skrll       *) supports_anon_versioning=yes ;;
   7659  1.1  skrll     esac
   7660  1.1  skrll 
   7661  1.1  skrll     # See if GNU ld supports shared libraries.
   7662  1.1  skrll     case $host_os in
   7663  1.1  skrll     aix[3-9]*)
   7664  1.1  skrll       # On AIX/PPC, the GNU linker is very broken
   7665  1.1  skrll       if test "$host_cpu" != ia64; then
   7666  1.1  skrll 	ld_shlibs=no
   7667  1.1  skrll 	cat <<_LT_EOF 1>&2
   7668  1.1  skrll 
   7669  1.1  skrll *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7670  1.1  skrll *** to be unable to reliably create shared libraries on AIX.
   7671  1.1  skrll *** Therefore, libtool is disabling shared libraries support.  If you
   7672  1.1  skrll *** really care for shared libraries, you may want to modify your PATH
   7673  1.1  skrll *** so that a non-GNU linker is found, and then restart.
   7674  1.1  skrll 
   7675  1.1  skrll _LT_EOF
   7676  1.1  skrll       fi
   7677  1.1  skrll       ;;
   7678  1.1  skrll 
   7679  1.1  skrll     amigaos*)
   7680  1.1  skrll       if test "$host_cpu" = m68k; then
   7681  1.1  skrll         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)'
   7682  1.1  skrll         hardcode_libdir_flag_spec='-L$libdir'
   7683  1.1  skrll         hardcode_minus_L=yes
   7684  1.1  skrll       fi
   7685  1.1  skrll 
   7686  1.1  skrll       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7687  1.1  skrll       # that the semantics of dynamic libraries on AmigaOS, at least up
   7688  1.1  skrll       # to version 4, is to share data among multiple programs linked
   7689  1.1  skrll       # with the same dynamic library.  Since this doesn't match the
   7690  1.1  skrll       # behavior of shared libraries on other platforms, we can't use
   7691  1.1  skrll       # them.
   7692  1.1  skrll       ld_shlibs=no
   7693  1.1  skrll       ;;
   7694  1.1  skrll 
   7695  1.1  skrll     beos*)
   7696  1.1  skrll       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   7697  1.1  skrll 	allow_undefined_flag=unsupported
   7698  1.1  skrll 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7699  1.1  skrll 	# support --undefined.  This deserves some investigation.  FIXME
   7700  1.1  skrll 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7701  1.1  skrll       else
   7702  1.1  skrll 	ld_shlibs=no
   7703  1.1  skrll       fi
   7704  1.1  skrll       ;;
   7705  1.1  skrll 
   7706  1.1  skrll     cygwin* | mingw* | pw32*)
   7707  1.1  skrll       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7708  1.1  skrll       # as there is no search path for DLLs.
   7709  1.1  skrll       hardcode_libdir_flag_spec='-L$libdir'
   7710  1.1  skrll       allow_undefined_flag=unsupported
   7711  1.1  skrll       always_export_symbols=no
   7712  1.1  skrll       enable_shared_with_static_runtimes=yes
   7713  1.1  skrll       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   7714  1.1  skrll 
   7715  1.1  skrll       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   7716  1.1  skrll         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7717  1.1  skrll 	# If the export-symbols file already is a .def file (1st line
   7718  1.1  skrll 	# is EXPORTS), use it as is; otherwise, prepend...
   7719  1.1  skrll 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7720  1.1  skrll 	  cp $export_symbols $output_objdir/$soname.def;
   7721  1.1  skrll 	else
   7722  1.1  skrll 	  echo EXPORTS > $output_objdir/$soname.def;
   7723  1.1  skrll 	  cat $export_symbols >> $output_objdir/$soname.def;
   7724  1.1  skrll 	fi~
   7725  1.1  skrll 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7726  1.1  skrll       else
   7727  1.1  skrll 	ld_shlibs=no
   7728  1.1  skrll       fi
   7729  1.1  skrll       ;;
   7730  1.1  skrll 
   7731  1.1  skrll     interix[3-9]*)
   7732  1.1  skrll       hardcode_direct=no
   7733  1.1  skrll       hardcode_shlibpath_var=no
   7734  1.1  skrll       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7735  1.1  skrll       export_dynamic_flag_spec='${wl}-E'
   7736  1.1  skrll       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7737  1.1  skrll       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7738  1.1  skrll       # default) and relocated if they conflict, which is a slow very memory
   7739  1.1  skrll       # consuming and fragmenting process.  To avoid this, we pick a random,
   7740  1.1  skrll       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7741  1.1  skrll       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7742  1.1  skrll       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7743  1.1  skrll       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'
   7744  1.1  skrll       ;;
   7745  1.1  skrll 
   7746  1.1  skrll     gnu* | linux* | tpf* | k*bsd*-gnu)
   7747  1.1  skrll       tmp_diet=no
   7748  1.1  skrll       if test "$host_os" = linux-dietlibc; then
   7749  1.1  skrll 	case $cc_basename in
   7750  1.1  skrll 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   7751  1.1  skrll 	esac
   7752  1.1  skrll       fi
   7753  1.1  skrll       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   7754  1.1  skrll 	 && test "$tmp_diet" = no
   7755  1.1  skrll       then
   7756  1.1  skrll 	tmp_addflag=
   7757  1.1  skrll 	case $cc_basename,$host_cpu in
   7758  1.1  skrll         pgcc*)				# Portland Group C compiler
   7759  1.1  skrll 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   7760  1.1  skrll 	  tmp_addflag=' $pic_flag'
   7761  1.1  skrll 	  ;;
   7762  1.1  skrll 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7763  1.1  skrll 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   7764  1.1  skrll 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7765  1.1  skrll 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   7766  1.1  skrll 	  tmp_addflag=' -i_dynamic' ;;
   7767  1.1  skrll 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7768  1.1  skrll 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7769  1.1  skrll 	ifc* | ifort*)			# Intel Fortran compiler
   7770  1.1  skrll 	  tmp_addflag=' -nofor_main' ;;
   7771  1.1  skrll 	esac
   7772  1.1  skrll 	case `$CC -V 2>&1 | sed 5q` in
   7773  1.1  skrll 	*Sun\ C*)			# Sun C 5.9
   7774  1.1  skrll 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   7775  1.1  skrll 	  compiler_needs_object=yes
   7776  1.1  skrll 	  tmp_sharedflag='-G' ;;
   7777  1.1  skrll 	*Sun\ F*)			# Sun Fortran 8.3
   7778  1.1  skrll 	  tmp_sharedflag='-G' ;;
   7779  1.1  skrll 	*)
   7780  1.1  skrll 	  tmp_sharedflag='-shared' ;;
   7781  1.1  skrll 	esac
   7782  1.1  skrll 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7783  1.1  skrll 
   7784  1.1  skrll         if test "x$supports_anon_versioning" = xyes; then
   7785  1.1  skrll           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   7786  1.1  skrll 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7787  1.1  skrll 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   7788  1.1  skrll 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7789  1.1  skrll         fi
   7790  1.1  skrll       else
   7791  1.1  skrll         ld_shlibs=no
   7792  1.1  skrll       fi
   7793  1.1  skrll       ;;
   7794  1.1  skrll 
   7795  1.1  skrll     netbsd*)
   7796  1.1  skrll       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   7797  1.1  skrll 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7798  1.1  skrll 	wlarc=
   7799  1.1  skrll       else
   7800  1.1  skrll 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7801  1.1  skrll 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7802  1.1  skrll       fi
   7803  1.1  skrll       ;;
   7804  1.1  skrll 
   7805  1.1  skrll     solaris*)
   7806  1.1  skrll       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   7807  1.1  skrll 	ld_shlibs=no
   7808  1.1  skrll 	cat <<_LT_EOF 1>&2
   7809  1.1  skrll 
   7810  1.1  skrll *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7811  1.1  skrll *** create shared libraries on Solaris systems.  Therefore, libtool
   7812  1.1  skrll *** is disabling shared libraries support.  We urge you to upgrade GNU
   7813  1.1  skrll *** binutils to release 2.9.1 or newer.  Another option is to modify
   7814  1.1  skrll *** your PATH or compiler configuration so that the native linker is
   7815  1.1  skrll *** used, and then restart.
   7816  1.1  skrll 
   7817  1.1  skrll _LT_EOF
   7818  1.1  skrll       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   7819  1.1  skrll 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7820  1.1  skrll 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7821  1.1  skrll       else
   7822  1.1  skrll 	ld_shlibs=no
   7823  1.1  skrll       fi
   7824  1.1  skrll       ;;
   7825  1.1  skrll 
   7826  1.1  skrll     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7827  1.1  skrll       case `$LD -v 2>&1` in
   7828  1.1  skrll         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7829  1.1  skrll 	ld_shlibs=no
   7830  1.1  skrll 	cat <<_LT_EOF 1>&2
   7831  1.1  skrll 
   7832  1.1  skrll *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7833  1.1  skrll *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7834  1.1  skrll *** is disabling shared libraries support.  We urge you to upgrade GNU
   7835  1.1  skrll *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7836  1.1  skrll *** your PATH or compiler configuration so that the native linker is
   7837  1.1  skrll *** used, and then restart.
   7838  1.1  skrll 
   7839  1.1  skrll _LT_EOF
   7840  1.1  skrll 	;;
   7841  1.1  skrll 	*)
   7842  1.1  skrll 	  # For security reasons, it is highly recommended that you always
   7843  1.1  skrll 	  # use absolute paths for naming shared libraries, and exclude the
   7844  1.1  skrll 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   7845  1.1  skrll 	  # requires that you compile everything twice, which is a pain.
   7846  1.1  skrll 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   7847  1.1  skrll 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7848  1.1  skrll 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7849  1.1  skrll 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7850  1.1  skrll 	  else
   7851  1.1  skrll 	    ld_shlibs=no
   7852  1.1  skrll 	  fi
   7853  1.1  skrll 	;;
   7854  1.1  skrll       esac
   7855  1.1  skrll       ;;
   7856  1.1  skrll 
   7857  1.1  skrll     sunos4*)
   7858  1.1  skrll       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7859  1.1  skrll       wlarc=
   7860  1.1  skrll       hardcode_direct=yes
   7861  1.1  skrll       hardcode_shlibpath_var=no
   7862  1.1  skrll       ;;
   7863  1.1  skrll 
   7864  1.1  skrll     *)
   7865  1.1  skrll       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   7866  1.1  skrll 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7867  1.1  skrll 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7868  1.1  skrll       else
   7869  1.1  skrll 	ld_shlibs=no
   7870  1.1  skrll       fi
   7871  1.1  skrll       ;;
   7872  1.1  skrll     esac
   7873  1.1  skrll 
   7874  1.1  skrll     if test "$ld_shlibs" = no; then
   7875  1.1  skrll       runpath_var=
   7876  1.1  skrll       hardcode_libdir_flag_spec=
   7877  1.1  skrll       export_dynamic_flag_spec=
   7878  1.1  skrll       whole_archive_flag_spec=
   7879  1.1  skrll     fi
   7880  1.1  skrll   else
   7881  1.1  skrll     # PORTME fill in a description of your system's linker (not GNU ld)
   7882  1.1  skrll     case $host_os in
   7883  1.1  skrll     aix3*)
   7884  1.1  skrll       allow_undefined_flag=unsupported
   7885  1.1  skrll       always_export_symbols=yes
   7886  1.1  skrll       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'
   7887  1.1  skrll       # Note: this linker hardcodes the directories in LIBPATH if there
   7888  1.1  skrll       # are no directories specified by -L.
   7889  1.1  skrll       hardcode_minus_L=yes
   7890  1.1  skrll       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7891  1.1  skrll 	# Neither direct hardcoding nor static linking is supported with a
   7892  1.1  skrll 	# broken collect2.
   7893  1.1  skrll 	hardcode_direct=unsupported
   7894  1.1  skrll       fi
   7895  1.1  skrll       ;;
   7896  1.1  skrll 
   7897  1.1  skrll     aix[4-9]*)
   7898  1.1  skrll       if test "$host_cpu" = ia64; then
   7899  1.1  skrll 	# On IA64, the linker does run time linking by default, so we don't
   7900  1.1  skrll 	# have to do anything special.
   7901  1.1  skrll 	aix_use_runtimelinking=no
   7902  1.1  skrll 	exp_sym_flag='-Bexport'
   7903  1.1  skrll 	no_entry_flag=""
   7904  1.1  skrll       else
   7905  1.1  skrll 	# If we're using GNU nm, then we don't want the "-C" option.
   7906  1.1  skrll 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7907  1.1  skrll 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   7908  1.1  skrll 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   7909  1.1  skrll 	else
   7910  1.1  skrll 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   7911  1.1  skrll 	fi
   7912  1.1  skrll 	aix_use_runtimelinking=no
   7913  1.1  skrll 
   7914  1.1  skrll 	# Test if we are trying to use run time linking or normal
   7915  1.1  skrll 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7916  1.1  skrll 	# need to do runtime linking.
   7917  1.1  skrll 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   7918  1.1  skrll 	  for ld_flag in $LDFLAGS; do
   7919  1.1  skrll 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7920  1.1  skrll 	    aix_use_runtimelinking=yes
   7921  1.1  skrll 	    break
   7922  1.1  skrll 	  fi
   7923  1.1  skrll 	  done
   7924  1.1  skrll 	  ;;
   7925  1.1  skrll 	esac
   7926  1.1  skrll 
   7927  1.1  skrll 	exp_sym_flag='-bexport'
   7928  1.1  skrll 	no_entry_flag='-bnoentry'
   7929  1.1  skrll       fi
   7930  1.1  skrll 
   7931  1.1  skrll       # When large executables or shared objects are built, AIX ld can
   7932  1.1  skrll       # have problems creating the table of contents.  If linking a library
   7933  1.1  skrll       # or program results in "error TOC overflow" add -mminimal-toc to
   7934  1.1  skrll       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7935  1.1  skrll       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7936  1.1  skrll 
   7937  1.1  skrll       archive_cmds=''
   7938  1.1  skrll       hardcode_direct=yes
   7939  1.1  skrll       hardcode_direct_absolute=yes
   7940  1.1  skrll       hardcode_libdir_separator=':'
   7941  1.1  skrll       link_all_deplibs=yes
   7942  1.1  skrll       file_list_spec='${wl}-f,'
   7943  1.1  skrll 
   7944  1.1  skrll       if test "$GCC" = yes; then
   7945  1.1  skrll 	case $host_os in aix4.[012]|aix4.[012].*)
   7946  1.1  skrll 	# We only want to do this on AIX 4.2 and lower, the check
   7947  1.1  skrll 	# below for broken collect2 doesn't work under 4.3+
   7948  1.1  skrll 	  collect2name=`${CC} -print-prog-name=collect2`
   7949  1.1  skrll 	  if test -f "$collect2name" &&
   7950  1.1  skrll 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   7951  1.1  skrll 	  then
   7952  1.1  skrll 	  # We have reworked collect2
   7953  1.1  skrll 	  :
   7954  1.1  skrll 	  else
   7955  1.1  skrll 	  # We have old collect2
   7956  1.1  skrll 	  hardcode_direct=unsupported
   7957  1.1  skrll 	  # It fails to find uninstalled libraries when the uninstalled
   7958  1.1  skrll 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7959  1.1  skrll 	  # to unsupported forces relinking
   7960  1.1  skrll 	  hardcode_minus_L=yes
   7961  1.1  skrll 	  hardcode_libdir_flag_spec='-L$libdir'
   7962  1.1  skrll 	  hardcode_libdir_separator=
   7963  1.1  skrll 	  fi
   7964  1.1  skrll 	  ;;
   7965  1.1  skrll 	esac
   7966  1.1  skrll 	shared_flag='-shared'
   7967  1.1  skrll 	if test "$aix_use_runtimelinking" = yes; then
   7968  1.1  skrll 	  shared_flag="$shared_flag "'${wl}-G'
   7969  1.1  skrll 	fi
   7970  1.1  skrll       else
   7971  1.1  skrll 	# not using gcc
   7972  1.1  skrll 	if test "$host_cpu" = ia64; then
   7973  1.1  skrll 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7974  1.1  skrll 	# chokes on -Wl,-G. The following line is correct:
   7975  1.1  skrll 	  shared_flag='-G'
   7976  1.1  skrll 	else
   7977  1.1  skrll 	  if test "$aix_use_runtimelinking" = yes; then
   7978  1.1  skrll 	    shared_flag='${wl}-G'
   7979  1.1  skrll 	  else
   7980  1.1  skrll 	    shared_flag='${wl}-bM:SRE'
   7981  1.1  skrll 	  fi
   7982  1.1  skrll 	fi
   7983  1.1  skrll       fi
   7984  1.1  skrll 
   7985  1.1  skrll       # It seems that -bexpall does not export symbols beginning with
   7986  1.1  skrll       # underscore (_), so it is better to generate a list of symbols to export.
   7987  1.1  skrll       always_export_symbols=yes
   7988  1.1  skrll       if test "$aix_use_runtimelinking" = yes; then
   7989  1.1  skrll 	# Warning - without using the other runtime loading flags (-brtl),
   7990  1.1  skrll 	# -berok will link without error, but may produce a broken library.
   7991  1.1  skrll 	allow_undefined_flag='-berok'
   7992  1.1  skrll         # Determine the default libpath from the value encoded in an
   7993  1.1  skrll         # empty executable.
   7994  1.1  skrll         cat >conftest.$ac_ext <<_ACEOF
   7995  1.1  skrll /* confdefs.h.  */
   7996  1.1  skrll _ACEOF
   7997  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   7998  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   7999  1.1  skrll /* end confdefs.h.  */
   8000  1.1  skrll 
   8001  1.1  skrll int
   8002  1.1  skrll main ()
   8003  1.1  skrll {
   8004  1.1  skrll 
   8005  1.1  skrll   ;
   8006  1.1  skrll   return 0;
   8007  1.1  skrll }
   8008  1.1  skrll _ACEOF
   8009  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   8010  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8011  1.1  skrll   (eval $ac_link) 2>conftest.er1
   8012  1.1  skrll   ac_status=$?
   8013  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   8014  1.1  skrll   rm -f conftest.er1
   8015  1.1  skrll   cat conftest.err >&5
   8016  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8017  1.1  skrll   (exit $ac_status); } &&
   8018  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   8019  1.1  skrll 			 || test ! -s conftest.err'
   8020  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8021  1.1  skrll   (eval $ac_try) 2>&5
   8022  1.1  skrll   ac_status=$?
   8023  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8024  1.1  skrll   (exit $ac_status); }; } &&
   8025  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   8026  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8027  1.1  skrll   (eval $ac_try) 2>&5
   8028  1.1  skrll   ac_status=$?
   8029  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8030  1.1  skrll   (exit $ac_status); }; }; then
   8031  1.1  skrll 
   8032  1.1  skrll lt_aix_libpath_sed='
   8033  1.1  skrll     /Import File Strings/,/^$/ {
   8034  1.1  skrll 	/^0/ {
   8035  1.1  skrll 	    s/^0  *\(.*\)$/\1/
   8036  1.1  skrll 	    p
   8037  1.1  skrll 	}
   8038  1.1  skrll     }'
   8039  1.1  skrll aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8040  1.1  skrll # Check for a 64-bit object if we didn't find anything.
   8041  1.1  skrll if test -z "$aix_libpath"; then
   8042  1.1  skrll   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8043  1.1  skrll fi
   8044  1.1  skrll else
   8045  1.1  skrll   echo "$as_me: failed program was:" >&5
   8046  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   8047  1.1  skrll 
   8048  1.1  skrll fi
   8049  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   8050  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   8051  1.1  skrll if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8052  1.1  skrll 
   8053  1.1  skrll         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8054  1.1  skrll         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8055  1.1  skrll       else
   8056  1.1  skrll 	if test "$host_cpu" = ia64; then
   8057  1.1  skrll 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8058  1.1  skrll 	  allow_undefined_flag="-z nodefs"
   8059  1.1  skrll 	  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"
   8060  1.1  skrll 	else
   8061  1.1  skrll 	 # Determine the default libpath from the value encoded in an
   8062  1.1  skrll 	 # empty executable.
   8063  1.1  skrll 	 cat >conftest.$ac_ext <<_ACEOF
   8064  1.1  skrll /* confdefs.h.  */
   8065  1.1  skrll _ACEOF
   8066  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   8067  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   8068  1.1  skrll /* end confdefs.h.  */
   8069  1.1  skrll 
   8070  1.1  skrll int
   8071  1.1  skrll main ()
   8072  1.1  skrll {
   8073  1.1  skrll 
   8074  1.1  skrll   ;
   8075  1.1  skrll   return 0;
   8076  1.1  skrll }
   8077  1.1  skrll _ACEOF
   8078  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   8079  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8080  1.1  skrll   (eval $ac_link) 2>conftest.er1
   8081  1.1  skrll   ac_status=$?
   8082  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   8083  1.1  skrll   rm -f conftest.er1
   8084  1.1  skrll   cat conftest.err >&5
   8085  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8086  1.1  skrll   (exit $ac_status); } &&
   8087  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   8088  1.1  skrll 			 || test ! -s conftest.err'
   8089  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8090  1.1  skrll   (eval $ac_try) 2>&5
   8091  1.1  skrll   ac_status=$?
   8092  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8093  1.1  skrll   (exit $ac_status); }; } &&
   8094  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   8095  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8096  1.1  skrll   (eval $ac_try) 2>&5
   8097  1.1  skrll   ac_status=$?
   8098  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8099  1.1  skrll   (exit $ac_status); }; }; then
   8100  1.1  skrll 
   8101  1.1  skrll lt_aix_libpath_sed='
   8102  1.1  skrll     /Import File Strings/,/^$/ {
   8103  1.1  skrll 	/^0/ {
   8104  1.1  skrll 	    s/^0  *\(.*\)$/\1/
   8105  1.1  skrll 	    p
   8106  1.1  skrll 	}
   8107  1.1  skrll     }'
   8108  1.1  skrll aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8109  1.1  skrll # Check for a 64-bit object if we didn't find anything.
   8110  1.1  skrll if test -z "$aix_libpath"; then
   8111  1.1  skrll   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8112  1.1  skrll fi
   8113  1.1  skrll else
   8114  1.1  skrll   echo "$as_me: failed program was:" >&5
   8115  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   8116  1.1  skrll 
   8117  1.1  skrll fi
   8118  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   8119  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   8120  1.1  skrll if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8121  1.1  skrll 
   8122  1.1  skrll 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8123  1.1  skrll 	  # Warning - without using the other run time loading flags,
   8124  1.1  skrll 	  # -berok will link without error, but may produce a broken library.
   8125  1.1  skrll 	  no_undefined_flag=' ${wl}-bernotok'
   8126  1.1  skrll 	  allow_undefined_flag=' ${wl}-berok'
   8127  1.1  skrll 	  # Exported symbols can be pulled into shared objects from archives
   8128  1.1  skrll 	  whole_archive_flag_spec='$convenience'
   8129  1.1  skrll 	  archive_cmds_need_lc=yes
   8130  1.1  skrll 	  # This is similar to how AIX traditionally builds its shared libraries.
   8131  1.1  skrll 	  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'
   8132  1.1  skrll 	fi
   8133  1.1  skrll       fi
   8134  1.1  skrll       ;;
   8135  1.1  skrll 
   8136  1.1  skrll     amigaos*)
   8137  1.1  skrll       if test "$host_cpu" = m68k; then
   8138  1.1  skrll         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)'
   8139  1.1  skrll         hardcode_libdir_flag_spec='-L$libdir'
   8140  1.1  skrll         hardcode_minus_L=yes
   8141  1.1  skrll       fi
   8142  1.1  skrll       # see comment about different semantics on the GNU ld section
   8143  1.1  skrll       ld_shlibs=no
   8144  1.1  skrll       ;;
   8145  1.1  skrll 
   8146  1.1  skrll     bsdi[45]*)
   8147  1.1  skrll       export_dynamic_flag_spec=-rdynamic
   8148  1.1  skrll       ;;
   8149  1.1  skrll 
   8150  1.1  skrll     cygwin* | mingw* | pw32*)
   8151  1.1  skrll       # When not using gcc, we currently assume that we are using
   8152  1.1  skrll       # Microsoft Visual C++.
   8153  1.1  skrll       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8154  1.1  skrll       # no search path for DLLs.
   8155  1.1  skrll       hardcode_libdir_flag_spec=' '
   8156  1.1  skrll       allow_undefined_flag=unsupported
   8157  1.1  skrll       # Tell ltmain to make .lib files, not .a files.
   8158  1.1  skrll       libext=lib
   8159  1.1  skrll       # Tell ltmain to make .dll files, not .so files.
   8160  1.1  skrll       shrext_cmds=".dll"
   8161  1.1  skrll       # FIXME: Setting linknames here is a bad hack.
   8162  1.1  skrll       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8163  1.1  skrll       # The linker will automatically build a .lib file if we build a DLL.
   8164  1.1  skrll       old_archive_from_new_cmds='true'
   8165  1.1  skrll       # FIXME: Should let the user specify the lib program.
   8166  1.1  skrll       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8167  1.1  skrll       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8168  1.1  skrll       enable_shared_with_static_runtimes=yes
   8169  1.1  skrll       ;;
   8170  1.1  skrll 
   8171  1.1  skrll     darwin* | rhapsody*)
   8172  1.1  skrll       case $host_os in
   8173  1.1  skrll       rhapsody* | darwin1.[012])
   8174  1.1  skrll 	allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8175  1.1  skrll 	;;
   8176  1.1  skrll       *) # Darwin 1.3 on
   8177  1.1  skrll 	case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
   8178  1.1  skrll 	10.[012])
   8179  1.1  skrll 	  allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8180  1.1  skrll 	  ;;
   8181  1.1  skrll 	10.*)
   8182  1.1  skrll 	  allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8183  1.1  skrll 	  ;;
   8184  1.1  skrll 	esac
   8185  1.1  skrll 	;;
   8186  1.1  skrll       esac
   8187  1.1  skrll       archive_cmds_need_lc=no
   8188  1.1  skrll       hardcode_direct=no
   8189  1.1  skrll       hardcode_automatic=yes
   8190  1.1  skrll       hardcode_shlibpath_var=unsupported
   8191  1.1  skrll       whole_archive_flag_spec=''
   8192  1.1  skrll       link_all_deplibs=yes
   8193  1.1  skrll       if test "$GCC" = yes ; then
   8194  1.1  skrll 	if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   8195  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   8196  1.1  skrll else
   8197  1.1  skrll   lt_cv_apple_cc_single_mod=no
   8198  1.1  skrll 	if test -z "${LT_MULTI_MODULE}"; then
   8199  1.1  skrll 	  # By default we will add the -single_module flag. You can override
   8200  1.1  skrll 	  # by either setting the environment variable LT_MULTI_MODULE
   8201  1.1  skrll 	  # non-empty at configure time, or by adding -multi-module to the
   8202  1.1  skrll 	  # link flags.
   8203  1.1  skrll 	  echo "int foo(void){return 1;}" > conftest.c
   8204  1.1  skrll 	  $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8205  1.1  skrll 	      -dynamiclib ${wl}-single_module conftest.c
   8206  1.1  skrll 	  if test -f libconftest.dylib; then
   8207  1.1  skrll 	      lt_cv_apple_cc_single_mod=yes
   8208  1.1  skrll 	      rm libconftest.dylib
   8209  1.1  skrll 	  fi
   8210  1.1  skrll 	  rm conftest.$ac_ext
   8211  1.1  skrll 	fi
   8212  1.1  skrll fi
   8213  1.1  skrll 
   8214  1.1  skrll 	output_verbose_link_cmd=echo
   8215  1.1  skrll 	if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
   8216  1.1  skrll 	  archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8217  1.1  skrll 	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8218  1.1  skrll 	else
   8219  1.1  skrll 	  archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8220  1.1  skrll 	  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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8221  1.1  skrll 	fi
   8222  1.1  skrll 	module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8223  1.1  skrll 	module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8224  1.1  skrll       else
   8225  1.1  skrll 	case $cc_basename in
   8226  1.1  skrll 	xlc*)
   8227  1.1  skrll 	  output_verbose_link_cmd=echo
   8228  1.1  skrll 	  archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
   8229  1.1  skrll 	  module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8230  1.1  skrll 	  # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8231  1.1  skrll 	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8232  1.1  skrll 	  module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8233  1.1  skrll 	  ;;
   8234  1.1  skrll 	*)
   8235  1.1  skrll 	  ld_shlibs=no
   8236  1.1  skrll 	  ;;
   8237  1.1  skrll 	esac
   8238  1.1  skrll       fi
   8239  1.1  skrll       ;;
   8240  1.1  skrll 
   8241  1.1  skrll     dgux*)
   8242  1.1  skrll       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8243  1.1  skrll       hardcode_libdir_flag_spec='-L$libdir'
   8244  1.1  skrll       hardcode_shlibpath_var=no
   8245  1.1  skrll       ;;
   8246  1.1  skrll 
   8247  1.1  skrll     freebsd1*)
   8248  1.1  skrll       ld_shlibs=no
   8249  1.1  skrll       ;;
   8250  1.1  skrll 
   8251  1.1  skrll     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8252  1.1  skrll     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8253  1.1  skrll     # does not break anything, and helps significantly (at the cost of a little
   8254  1.1  skrll     # extra space).
   8255  1.1  skrll     freebsd2.2*)
   8256  1.1  skrll       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8257  1.1  skrll       hardcode_libdir_flag_spec='-R$libdir'
   8258  1.1  skrll       hardcode_direct=yes
   8259  1.1  skrll       hardcode_shlibpath_var=no
   8260  1.1  skrll       ;;
   8261  1.1  skrll 
   8262  1.1  skrll     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8263  1.1  skrll     freebsd2*)
   8264  1.1  skrll       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8265  1.1  skrll       hardcode_direct=yes
   8266  1.1  skrll       hardcode_minus_L=yes
   8267  1.1  skrll       hardcode_shlibpath_var=no
   8268  1.1  skrll       ;;
   8269  1.1  skrll 
   8270  1.1  skrll     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8271  1.1  skrll     freebsd* | dragonfly*)
   8272  1.1  skrll       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8273  1.1  skrll       hardcode_libdir_flag_spec='-R$libdir'
   8274  1.1  skrll       hardcode_direct=yes
   8275  1.1  skrll       hardcode_shlibpath_var=no
   8276  1.1  skrll       ;;
   8277  1.1  skrll 
   8278  1.1  skrll     hpux9*)
   8279  1.1  skrll       if test "$GCC" = yes; then
   8280  1.1  skrll 	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'
   8281  1.1  skrll       else
   8282  1.1  skrll 	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'
   8283  1.1  skrll       fi
   8284  1.1  skrll       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8285  1.1  skrll       hardcode_libdir_separator=:
   8286  1.1  skrll       hardcode_direct=yes
   8287  1.1  skrll 
   8288  1.1  skrll       # hardcode_minus_L: Not really in the search PATH,
   8289  1.1  skrll       # but as the default location of the library.
   8290  1.1  skrll       hardcode_minus_L=yes
   8291  1.1  skrll       export_dynamic_flag_spec='${wl}-E'
   8292  1.1  skrll       ;;
   8293  1.1  skrll 
   8294  1.1  skrll     hpux10*)
   8295  1.1  skrll       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8296  1.1  skrll 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8297  1.1  skrll       else
   8298  1.1  skrll 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8299  1.1  skrll       fi
   8300  1.1  skrll       if test "$with_gnu_ld" = no; then
   8301  1.1  skrll 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8302  1.1  skrll 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8303  1.1  skrll 	hardcode_libdir_separator=:
   8304  1.1  skrll 	hardcode_direct=yes
   8305  1.1  skrll 	hardcode_direct_absolute=yes
   8306  1.1  skrll 	export_dynamic_flag_spec='${wl}-E'
   8307  1.1  skrll 	# hardcode_minus_L: Not really in the search PATH,
   8308  1.1  skrll 	# but as the default location of the library.
   8309  1.1  skrll 	hardcode_minus_L=yes
   8310  1.1  skrll       fi
   8311  1.1  skrll       ;;
   8312  1.1  skrll 
   8313  1.1  skrll     hpux11*)
   8314  1.1  skrll       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8315  1.1  skrll 	case $host_cpu in
   8316  1.1  skrll 	hppa*64*)
   8317  1.1  skrll 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8318  1.1  skrll 	  ;;
   8319  1.1  skrll 	ia64*)
   8320  1.1  skrll 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8321  1.1  skrll 	  ;;
   8322  1.1  skrll 	*)
   8323  1.1  skrll 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8324  1.1  skrll 	  ;;
   8325  1.1  skrll 	esac
   8326  1.1  skrll       else
   8327  1.1  skrll 	case $host_cpu in
   8328  1.1  skrll 	hppa*64*)
   8329  1.1  skrll 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8330  1.1  skrll 	  ;;
   8331  1.1  skrll 	ia64*)
   8332  1.1  skrll 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8333  1.1  skrll 	  ;;
   8334  1.1  skrll 	*)
   8335  1.1  skrll 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8336  1.1  skrll 	  ;;
   8337  1.1  skrll 	esac
   8338  1.1  skrll       fi
   8339  1.1  skrll       if test "$with_gnu_ld" = no; then
   8340  1.1  skrll 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8341  1.1  skrll 	hardcode_libdir_separator=:
   8342  1.1  skrll 
   8343  1.1  skrll 	case $host_cpu in
   8344  1.1  skrll 	hppa*64*|ia64*)
   8345  1.1  skrll 	  hardcode_direct=no
   8346  1.1  skrll 	  hardcode_shlibpath_var=no
   8347  1.1  skrll 	  ;;
   8348  1.1  skrll 	*)
   8349  1.1  skrll 	  hardcode_direct=yes
   8350  1.1  skrll 	  hardcode_direct_absolute=yes
   8351  1.1  skrll 	  export_dynamic_flag_spec='${wl}-E'
   8352  1.1  skrll 
   8353  1.1  skrll 	  # hardcode_minus_L: Not really in the search PATH,
   8354  1.1  skrll 	  # but as the default location of the library.
   8355  1.1  skrll 	  hardcode_minus_L=yes
   8356  1.1  skrll 	  ;;
   8357  1.1  skrll 	esac
   8358  1.1  skrll       fi
   8359  1.1  skrll       ;;
   8360  1.1  skrll 
   8361  1.1  skrll     irix5* | irix6* | nonstopux*)
   8362  1.1  skrll       if test "$GCC" = yes; then
   8363  1.1  skrll 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8364  1.1  skrll 	# Try to use the -exported_symbol ld option, if it does not
   8365  1.1  skrll 	# work, assume that -exports_file does not work either and
   8366  1.1  skrll 	# implicitly export all symbols.
   8367  1.1  skrll         save_LDFLAGS="$LDFLAGS"
   8368  1.1  skrll         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8369  1.1  skrll         cat >conftest.$ac_ext <<_ACEOF
   8370  1.1  skrll int foo(void) {}
   8371  1.1  skrll _ACEOF
   8372  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   8373  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8374  1.1  skrll   (eval $ac_link) 2>conftest.er1
   8375  1.1  skrll   ac_status=$?
   8376  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   8377  1.1  skrll   rm -f conftest.er1
   8378  1.1  skrll   cat conftest.err >&5
   8379  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8380  1.1  skrll   (exit $ac_status); } &&
   8381  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   8382  1.1  skrll 			 || test ! -s conftest.err'
   8383  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8384  1.1  skrll   (eval $ac_try) 2>&5
   8385  1.1  skrll   ac_status=$?
   8386  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8387  1.1  skrll   (exit $ac_status); }; } &&
   8388  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   8389  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8390  1.1  skrll   (eval $ac_try) 2>&5
   8391  1.1  skrll   ac_status=$?
   8392  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8393  1.1  skrll   (exit $ac_status); }; }; then
   8394  1.1  skrll   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   8395  1.1  skrll 
   8396  1.1  skrll else
   8397  1.1  skrll   echo "$as_me: failed program was:" >&5
   8398  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   8399  1.1  skrll 
   8400  1.1  skrll fi
   8401  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   8402  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   8403  1.1  skrll         LDFLAGS="$save_LDFLAGS"
   8404  1.1  skrll       else
   8405  1.1  skrll 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8406  1.1  skrll 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   8407  1.1  skrll       fi
   8408  1.1  skrll       archive_cmds_need_lc='no'
   8409  1.1  skrll       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8410  1.1  skrll       hardcode_libdir_separator=:
   8411  1.1  skrll       inherit_rpath=yes
   8412  1.1  skrll       link_all_deplibs=yes
   8413  1.1  skrll       ;;
   8414  1.1  skrll 
   8415  1.1  skrll     netbsd*)
   8416  1.1  skrll       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8417  1.1  skrll 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8418  1.1  skrll       else
   8419  1.1  skrll 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8420  1.1  skrll       fi
   8421  1.1  skrll       hardcode_libdir_flag_spec='-R$libdir'
   8422  1.1  skrll       hardcode_direct=yes
   8423  1.1  skrll       hardcode_shlibpath_var=no
   8424  1.1  skrll       ;;
   8425  1.1  skrll 
   8426  1.1  skrll     newsos6)
   8427  1.1  skrll       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8428  1.1  skrll       hardcode_direct=yes
   8429  1.1  skrll       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8430  1.1  skrll       hardcode_libdir_separator=:
   8431  1.1  skrll       hardcode_shlibpath_var=no
   8432  1.1  skrll       ;;
   8433  1.1  skrll 
   8434  1.1  skrll     *nto* | *qnx*)
   8435  1.1  skrll       ;;
   8436  1.1  skrll 
   8437  1.1  skrll     openbsd*)
   8438  1.1  skrll       hardcode_direct=yes
   8439  1.1  skrll       hardcode_shlibpath_var=no
   8440  1.1  skrll       hardcode_direct_absolute=yes
   8441  1.1  skrll       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8442  1.1  skrll 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8443  1.1  skrll 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8444  1.1  skrll 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8445  1.1  skrll 	export_dynamic_flag_spec='${wl}-E'
   8446  1.1  skrll       else
   8447  1.1  skrll         case $host_os in
   8448  1.1  skrll 	openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8449  1.1  skrll 	  archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8450  1.1  skrll 	  hardcode_libdir_flag_spec='-R$libdir'
   8451  1.1  skrll 	  ;;
   8452  1.1  skrll 	*)
   8453  1.1  skrll 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8454  1.1  skrll 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8455  1.1  skrll 	  ;;
   8456  1.1  skrll         esac
   8457  1.1  skrll       fi
   8458  1.1  skrll       ;;
   8459  1.1  skrll 
   8460  1.1  skrll     os2*)
   8461  1.1  skrll       hardcode_libdir_flag_spec='-L$libdir'
   8462  1.1  skrll       hardcode_minus_L=yes
   8463  1.1  skrll       allow_undefined_flag=unsupported
   8464  1.1  skrll       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'
   8465  1.1  skrll       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8466  1.1  skrll       ;;
   8467  1.1  skrll 
   8468  1.1  skrll     osf3*)
   8469  1.1  skrll       if test "$GCC" = yes; then
   8470  1.1  skrll 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8471  1.1  skrll 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8472  1.1  skrll       else
   8473  1.1  skrll 	allow_undefined_flag=' -expect_unresolved \*'
   8474  1.1  skrll 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8475  1.1  skrll       fi
   8476  1.1  skrll       archive_cmds_need_lc='no'
   8477  1.1  skrll       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8478  1.1  skrll       hardcode_libdir_separator=:
   8479  1.1  skrll       ;;
   8480  1.1  skrll 
   8481  1.1  skrll     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8482  1.1  skrll       if test "$GCC" = yes; then
   8483  1.1  skrll 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8484  1.1  skrll 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8485  1.1  skrll 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8486  1.1  skrll       else
   8487  1.1  skrll 	allow_undefined_flag=' -expect_unresolved \*'
   8488  1.1  skrll 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8489  1.1  skrll 	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~
   8490  1.1  skrll 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   8491  1.1  skrll 
   8492  1.1  skrll 	# Both c and cxx compiler support -rpath directly
   8493  1.1  skrll 	hardcode_libdir_flag_spec='-rpath $libdir'
   8494  1.1  skrll       fi
   8495  1.1  skrll       archive_cmds_need_lc='no'
   8496  1.1  skrll       hardcode_libdir_separator=:
   8497  1.1  skrll       ;;
   8498  1.1  skrll 
   8499  1.1  skrll     solaris*)
   8500  1.1  skrll       no_undefined_flag=' -z defs'
   8501  1.1  skrll       if test "$GCC" = yes; then
   8502  1.1  skrll 	wlarc='${wl}'
   8503  1.1  skrll 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8504  1.1  skrll 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8505  1.1  skrll 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8506  1.1  skrll       else
   8507  1.1  skrll 	case `$CC -V 2>&1` in
   8508  1.1  skrll 	*"Compilers 5.0"*)
   8509  1.1  skrll 	  wlarc=''
   8510  1.1  skrll 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8511  1.1  skrll 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8512  1.1  skrll 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8513  1.1  skrll 	  ;;
   8514  1.1  skrll 	*)
   8515  1.1  skrll 	  wlarc='${wl}'
   8516  1.1  skrll 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8517  1.1  skrll 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8518  1.1  skrll 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8519  1.1  skrll 	  ;;
   8520  1.1  skrll 	esac
   8521  1.1  skrll       fi
   8522  1.1  skrll       hardcode_libdir_flag_spec='-R$libdir'
   8523  1.1  skrll       hardcode_shlibpath_var=no
   8524  1.1  skrll       case $host_os in
   8525  1.1  skrll       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8526  1.1  skrll       *)
   8527  1.1  skrll 	# The compiler driver will combine and reorder linker options,
   8528  1.1  skrll 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8529  1.1  skrll 	# but is careful enough not to reorder.
   8530  1.1  skrll 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8531  1.1  skrll 	if test "$GCC" = yes; then
   8532  1.1  skrll 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8533  1.1  skrll 	else
   8534  1.1  skrll 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8535  1.1  skrll 	fi
   8536  1.1  skrll 	;;
   8537  1.1  skrll       esac
   8538  1.1  skrll       link_all_deplibs=yes
   8539  1.1  skrll       ;;
   8540  1.1  skrll 
   8541  1.1  skrll     sunos4*)
   8542  1.1  skrll       if test "x$host_vendor" = xsequent; then
   8543  1.1  skrll 	# Use $CC to link under sequent, because it throws in some extra .o
   8544  1.1  skrll 	# files that make .init and .fini sections work.
   8545  1.1  skrll 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8546  1.1  skrll       else
   8547  1.1  skrll 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8548  1.1  skrll       fi
   8549  1.1  skrll       hardcode_libdir_flag_spec='-L$libdir'
   8550  1.1  skrll       hardcode_direct=yes
   8551  1.1  skrll       hardcode_minus_L=yes
   8552  1.1  skrll       hardcode_shlibpath_var=no
   8553  1.1  skrll       ;;
   8554  1.1  skrll 
   8555  1.1  skrll     sysv4)
   8556  1.1  skrll       case $host_vendor in
   8557  1.1  skrll 	sni)
   8558  1.1  skrll 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8559  1.1  skrll 	  hardcode_direct=yes # is this really true???
   8560  1.1  skrll 	;;
   8561  1.1  skrll 	siemens)
   8562  1.1  skrll 	  ## LD is ld it makes a PLAMLIB
   8563  1.1  skrll 	  ## CC just makes a GrossModule.
   8564  1.1  skrll 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8565  1.1  skrll 	  reload_cmds='$CC -r -o $output$reload_objs'
   8566  1.1  skrll 	  hardcode_direct=no
   8567  1.1  skrll         ;;
   8568  1.1  skrll 	motorola)
   8569  1.1  skrll 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8570  1.1  skrll 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8571  1.1  skrll 	;;
   8572  1.1  skrll       esac
   8573  1.1  skrll       runpath_var='LD_RUN_PATH'
   8574  1.1  skrll       hardcode_shlibpath_var=no
   8575  1.1  skrll       ;;
   8576  1.1  skrll 
   8577  1.1  skrll     sysv4.3*)
   8578  1.1  skrll       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8579  1.1  skrll       hardcode_shlibpath_var=no
   8580  1.1  skrll       export_dynamic_flag_spec='-Bexport'
   8581  1.1  skrll       ;;
   8582  1.1  skrll 
   8583  1.1  skrll     sysv4*MP*)
   8584  1.1  skrll       if test -d /usr/nec; then
   8585  1.1  skrll 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8586  1.1  skrll 	hardcode_shlibpath_var=no
   8587  1.1  skrll 	runpath_var=LD_RUN_PATH
   8588  1.1  skrll 	hardcode_runpath_var=yes
   8589  1.1  skrll 	ld_shlibs=yes
   8590  1.1  skrll       fi
   8591  1.1  skrll       ;;
   8592  1.1  skrll 
   8593  1.1  skrll     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8594  1.1  skrll       no_undefined_flag='${wl}-z,text'
   8595  1.1  skrll       archive_cmds_need_lc=no
   8596  1.1  skrll       hardcode_shlibpath_var=no
   8597  1.1  skrll       runpath_var='LD_RUN_PATH'
   8598  1.1  skrll 
   8599  1.1  skrll       if test "$GCC" = yes; then
   8600  1.1  skrll 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8601  1.1  skrll 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8602  1.1  skrll       else
   8603  1.1  skrll 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8604  1.1  skrll 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8605  1.1  skrll       fi
   8606  1.1  skrll       ;;
   8607  1.1  skrll 
   8608  1.1  skrll     sysv5* | sco3.2v5* | sco5v6*)
   8609  1.1  skrll       # Note: We can NOT use -z defs as we might desire, because we do not
   8610  1.1  skrll       # link with -lc, and that would cause any symbols used from libc to
   8611  1.1  skrll       # always be unresolved, which means just about no library would
   8612  1.1  skrll       # ever link correctly.  If we're not using GNU ld we use -z text
   8613  1.1  skrll       # though, which does catch some bad symbols but isn't as heavy-handed
   8614  1.1  skrll       # as -z defs.
   8615  1.1  skrll       no_undefined_flag='${wl}-z,text'
   8616  1.1  skrll       allow_undefined_flag='${wl}-z,nodefs'
   8617  1.1  skrll       archive_cmds_need_lc=no
   8618  1.1  skrll       hardcode_shlibpath_var=no
   8619  1.1  skrll       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   8620  1.1  skrll       hardcode_libdir_separator=':'
   8621  1.1  skrll       link_all_deplibs=yes
   8622  1.1  skrll       export_dynamic_flag_spec='${wl}-Bexport'
   8623  1.1  skrll       runpath_var='LD_RUN_PATH'
   8624  1.1  skrll 
   8625  1.1  skrll       if test "$GCC" = yes; then
   8626  1.1  skrll 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8627  1.1  skrll 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8628  1.1  skrll       else
   8629  1.1  skrll 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8630  1.1  skrll 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8631  1.1  skrll       fi
   8632  1.1  skrll       ;;
   8633  1.1  skrll 
   8634  1.1  skrll     uts4*)
   8635  1.1  skrll       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8636  1.1  skrll       hardcode_libdir_flag_spec='-L$libdir'
   8637  1.1  skrll       hardcode_shlibpath_var=no
   8638  1.1  skrll       ;;
   8639  1.1  skrll 
   8640  1.1  skrll     *)
   8641  1.1  skrll       ld_shlibs=no
   8642  1.1  skrll       ;;
   8643  1.1  skrll     esac
   8644  1.1  skrll 
   8645  1.1  skrll     if test x$host_vendor = xsni; then
   8646  1.1  skrll       case $host in
   8647  1.1  skrll       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   8648  1.1  skrll 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   8649  1.1  skrll 	;;
   8650  1.1  skrll       esac
   8651  1.1  skrll     fi
   8652  1.1  skrll   fi
   8653  1.1  skrll 
   8654  1.1  skrll echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8655  1.1  skrll echo "${ECHO_T}$ld_shlibs" >&6
   8656  1.1  skrll test "$ld_shlibs" = no && can_build_shared=no
   8657  1.1  skrll 
   8658  1.1  skrll with_gnu_ld=$with_gnu_ld
   8659  1.1  skrll 
   8660  1.1  skrll 
   8661  1.1  skrll 
   8662  1.1  skrll 
   8663  1.1  skrll 
   8664  1.1  skrll 
   8665  1.1  skrll 
   8666  1.1  skrll 
   8667  1.1  skrll 
   8668  1.1  skrll 
   8669  1.1  skrll 
   8670  1.1  skrll 
   8671  1.1  skrll 
   8672  1.1  skrll 
   8673  1.1  skrll 
   8674  1.1  skrll #
   8675  1.1  skrll # Do we need to explicitly link libc?
   8676  1.1  skrll #
   8677  1.1  skrll case "x$archive_cmds_need_lc" in
   8678  1.1  skrll x|xyes)
   8679  1.1  skrll   # Assume -lc should be added
   8680  1.1  skrll   archive_cmds_need_lc=yes
   8681  1.1  skrll 
   8682  1.1  skrll   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8683  1.1  skrll     case $archive_cmds in
   8684  1.1  skrll     *'~'*)
   8685  1.1  skrll       # FIXME: we may have to deal with multi-command sequences.
   8686  1.1  skrll       ;;
   8687  1.1  skrll     '$CC '*)
   8688  1.1  skrll       # Test whether the compiler implicitly links with -lc since on some
   8689  1.1  skrll       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8690  1.1  skrll       # to ld, don't add -lc before -lgcc.
   8691  1.1  skrll       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8692  1.1  skrll echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   8693  1.1  skrll       $RM conftest*
   8694  1.1  skrll       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8695  1.1  skrll 
   8696  1.1  skrll       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8697  1.1  skrll   (eval $ac_compile) 2>&5
   8698  1.1  skrll   ac_status=$?
   8699  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8700  1.1  skrll   (exit $ac_status); } 2>conftest.err; then
   8701  1.1  skrll         soname=conftest
   8702  1.1  skrll         lib=conftest
   8703  1.1  skrll         libobjs=conftest.$ac_objext
   8704  1.1  skrll         deplibs=
   8705  1.1  skrll         wl=$lt_prog_compiler_wl
   8706  1.1  skrll 	pic_flag=$lt_prog_compiler_pic
   8707  1.1  skrll         compiler_flags=-v
   8708  1.1  skrll         linker_flags=-v
   8709  1.1  skrll         verstring=
   8710  1.1  skrll         output_objdir=.
   8711  1.1  skrll         libname=conftest
   8712  1.1  skrll         lt_save_allow_undefined_flag=$allow_undefined_flag
   8713  1.1  skrll         allow_undefined_flag=
   8714  1.1  skrll         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8715  1.1  skrll   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8716  1.1  skrll   ac_status=$?
   8717  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8718  1.1  skrll   (exit $ac_status); }
   8719  1.1  skrll         then
   8720  1.1  skrll 	  archive_cmds_need_lc=no
   8721  1.1  skrll         else
   8722  1.1  skrll 	  archive_cmds_need_lc=yes
   8723  1.1  skrll         fi
   8724  1.1  skrll         allow_undefined_flag=$lt_save_allow_undefined_flag
   8725  1.1  skrll       else
   8726  1.1  skrll         cat conftest.err 1>&5
   8727  1.1  skrll       fi
   8728  1.1  skrll       $RM conftest*
   8729  1.1  skrll       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8730  1.1  skrll echo "${ECHO_T}$archive_cmds_need_lc" >&6
   8731  1.1  skrll       ;;
   8732  1.1  skrll     esac
   8733  1.1  skrll   fi
   8734  1.1  skrll   ;;
   8735  1.1  skrll esac
   8736  1.1  skrll 
   8737  1.1  skrll 
   8738  1.1  skrll 
   8739  1.1  skrll 
   8740  1.1  skrll 
   8741  1.1  skrll 
   8742  1.1  skrll 
   8743  1.1  skrll 
   8744  1.1  skrll 
   8745  1.1  skrll 
   8746  1.1  skrll 
   8747  1.1  skrll 
   8748  1.1  skrll 
   8749  1.1  skrll 
   8750  1.1  skrll 
   8751  1.1  skrll 
   8752  1.1  skrll 
   8753  1.1  skrll 
   8754  1.1  skrll 
   8755  1.1  skrll 
   8756  1.1  skrll 
   8757  1.1  skrll 
   8758  1.1  skrll 
   8759  1.1  skrll 
   8760  1.1  skrll 
   8761  1.1  skrll 
   8762  1.1  skrll 
   8763  1.1  skrll 
   8764  1.1  skrll 
   8765  1.1  skrll 
   8766  1.1  skrll 
   8767  1.1  skrll 
   8768  1.1  skrll 
   8769  1.1  skrll 
   8770  1.1  skrll 
   8771  1.1  skrll 
   8772  1.1  skrll 
   8773  1.1  skrll 
   8774  1.1  skrll 
   8775  1.1  skrll 
   8776  1.1  skrll 
   8777  1.1  skrll 
   8778  1.1  skrll 
   8779  1.1  skrll 
   8780  1.1  skrll 
   8781  1.1  skrll 
   8782  1.1  skrll 
   8783  1.1  skrll 
   8784  1.1  skrll 
   8785  1.1  skrll 
   8786  1.1  skrll 
   8787  1.1  skrll 
   8788  1.1  skrll 
   8789  1.1  skrll 
   8790  1.1  skrll 
   8791  1.1  skrll 
   8792  1.1  skrll 
   8793  1.1  skrll 
   8794  1.1  skrll 
   8795  1.1  skrll 
   8796  1.1  skrll 
   8797  1.1  skrll 
   8798  1.1  skrll 
   8799  1.1  skrll 
   8800  1.1  skrll 
   8801  1.1  skrll 
   8802  1.1  skrll 
   8803  1.1  skrll 
   8804  1.1  skrll 
   8805  1.1  skrll 
   8806  1.1  skrll 
   8807  1.1  skrll 
   8808  1.1  skrll 
   8809  1.1  skrll 
   8810  1.1  skrll 
   8811  1.1  skrll 
   8812  1.1  skrll 
   8813  1.1  skrll 
   8814  1.1  skrll 
   8815  1.1  skrll 
   8816  1.1  skrll 
   8817  1.1  skrll 
   8818  1.1  skrll 
   8819  1.1  skrll 
   8820  1.1  skrll 
   8821  1.1  skrll 
   8822  1.1  skrll 
   8823  1.1  skrll 
   8824  1.1  skrll 
   8825  1.1  skrll 
   8826  1.1  skrll 
   8827  1.1  skrll 
   8828  1.1  skrll 
   8829  1.1  skrll 
   8830  1.1  skrll 
   8831  1.1  skrll 
   8832  1.1  skrll 
   8833  1.1  skrll 
   8834  1.1  skrll 
   8835  1.1  skrll 
   8836  1.1  skrll 
   8837  1.1  skrll 
   8838  1.1  skrll 
   8839  1.1  skrll 
   8840  1.1  skrll 
   8841  1.1  skrll 
   8842  1.1  skrll 
   8843  1.1  skrll 
   8844  1.1  skrll 
   8845  1.1  skrll 
   8846  1.1  skrll 
   8847  1.1  skrll 
   8848  1.1  skrll 
   8849  1.1  skrll 
   8850  1.1  skrll 
   8851  1.1  skrll 
   8852  1.1  skrll 
   8853  1.1  skrll 
   8854  1.1  skrll 
   8855  1.1  skrll 
   8856  1.1  skrll 
   8857  1.1  skrll 
   8858  1.1  skrll 
   8859  1.1  skrll 
   8860  1.1  skrll 
   8861  1.1  skrll 
   8862  1.1  skrll 
   8863  1.1  skrll 
   8864  1.1  skrll 
   8865  1.1  skrll 
   8866  1.1  skrll 
   8867  1.1  skrll 
   8868  1.1  skrll 
   8869  1.1  skrll 
   8870  1.1  skrll 
   8871  1.1  skrll 
   8872  1.1  skrll 
   8873  1.1  skrll 
   8874  1.1  skrll 
   8875  1.1  skrll 
   8876  1.1  skrll 
   8877  1.1  skrll 
   8878  1.1  skrll 
   8879  1.1  skrll 
   8880  1.1  skrll 
   8881  1.1  skrll 
   8882  1.1  skrll 
   8883  1.1  skrll 
   8884  1.1  skrll 
   8885  1.1  skrll 
   8886  1.1  skrll 
   8887  1.1  skrll 
   8888  1.1  skrll 
   8889  1.1  skrll 
   8890  1.1  skrll 
   8891  1.1  skrll 
   8892  1.1  skrll 
   8893  1.1  skrll   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8894  1.1  skrll echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   8895  1.1  skrll withGCC=$GCC
   8896  1.1  skrll if test "$withGCC" = yes; then
   8897  1.1  skrll   case $host_os in
   8898  1.1  skrll     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   8899  1.1  skrll     *) lt_awk_arg="/^libraries:/" ;;
   8900  1.1  skrll   esac
   8901  1.1  skrll   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8902  1.1  skrll   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   8903  1.1  skrll     # if the path contains ";" then we assume it to be the separator
   8904  1.1  skrll     # otherwise default to the standard path separator (i.e. ":") - it is
   8905  1.1  skrll     # assumed that no part of a normal pathname contains ";" but that should
   8906  1.1  skrll     # okay in the real world where ";" in dirpaths is itself problematic.
   8907  1.1  skrll     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   8908  1.1  skrll   else
   8909  1.1  skrll     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8910  1.1  skrll   fi
   8911  1.1  skrll   # Ok, now we have the path, separated by spaces, we can step through it
   8912  1.1  skrll   # and add multilib dir if necessary.
   8913  1.1  skrll   lt_tmp_lt_search_path_spec=
   8914  1.1  skrll   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   8915  1.1  skrll   for lt_sys_path in $lt_search_path_spec; do
   8916  1.1  skrll     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   8917  1.1  skrll       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   8918  1.1  skrll     else
   8919  1.1  skrll       test -d "$lt_sys_path" && \
   8920  1.1  skrll 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   8921  1.1  skrll     fi
   8922  1.1  skrll   done
   8923  1.1  skrll   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   8924  1.1  skrll BEGIN {RS=" "; FS="/|\n";} {
   8925  1.1  skrll   lt_foo="";
   8926  1.1  skrll   lt_count=0;
   8927  1.1  skrll   for (lt_i = NF; lt_i > 0; lt_i--) {
   8928  1.1  skrll     if ($lt_i != "" && $lt_i != ".") {
   8929  1.1  skrll       if ($lt_i == "..") {
   8930  1.1  skrll         lt_count++;
   8931  1.1  skrll       } else {
   8932  1.1  skrll         if (lt_count == 0) {
   8933  1.1  skrll           lt_foo="/" $lt_i lt_foo;
   8934  1.1  skrll         } else {
   8935  1.1  skrll           lt_count--;
   8936  1.1  skrll         }
   8937  1.1  skrll       }
   8938  1.1  skrll     }
   8939  1.1  skrll   }
   8940  1.1  skrll   if (lt_foo != "") { lt_freq[lt_foo]++; }
   8941  1.1  skrll   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   8942  1.1  skrll }'`
   8943  1.1  skrll   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   8944  1.1  skrll else
   8945  1.1  skrll   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8946  1.1  skrll fi
   8947  1.1  skrll library_names_spec=
   8948  1.1  skrll libname_spec='lib$name'
   8949  1.1  skrll soname_spec=
   8950  1.1  skrll shrext_cmds=".so"
   8951  1.1  skrll postinstall_cmds=
   8952  1.1  skrll postuninstall_cmds=
   8953  1.1  skrll finish_cmds=
   8954  1.1  skrll finish_eval=
   8955  1.1  skrll shlibpath_var=
   8956  1.1  skrll shlibpath_overrides_runpath=unknown
   8957  1.1  skrll version_type=none
   8958  1.1  skrll dynamic_linker="$host_os ld.so"
   8959  1.1  skrll sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8960  1.1  skrll need_lib_prefix=unknown
   8961  1.1  skrll hardcode_into_libs=no
   8962  1.1  skrll 
   8963  1.1  skrll # when you set need_version to no, make sure it does not cause -set_version
   8964  1.1  skrll # flags to be left without arguments
   8965  1.1  skrll need_version=unknown
   8966  1.1  skrll 
   8967  1.1  skrll case $host_os in
   8968  1.1  skrll aix3*)
   8969  1.1  skrll   version_type=linux
   8970  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8971  1.1  skrll   shlibpath_var=LIBPATH
   8972  1.1  skrll 
   8973  1.1  skrll   # AIX 3 has no versioning support, so we append a major version to the name.
   8974  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   8975  1.1  skrll   ;;
   8976  1.1  skrll 
   8977  1.1  skrll aix[4-9]*)
   8978  1.1  skrll   version_type=linux
   8979  1.1  skrll   need_lib_prefix=no
   8980  1.1  skrll   need_version=no
   8981  1.1  skrll   hardcode_into_libs=yes
   8982  1.1  skrll   if test "$host_cpu" = ia64; then
   8983  1.1  skrll     # AIX 5 supports IA64
   8984  1.1  skrll     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8985  1.1  skrll     shlibpath_var=LD_LIBRARY_PATH
   8986  1.1  skrll   else
   8987  1.1  skrll     # With GCC up to 2.95.x, collect2 would create an import file
   8988  1.1  skrll     # for dependence libraries.  The import file would start with
   8989  1.1  skrll     # the line `#! .'.  This would cause the generated library to
   8990  1.1  skrll     # depend on `.', always an invalid library.  This was fixed in
   8991  1.1  skrll     # development snapshots of GCC prior to 3.0.
   8992  1.1  skrll     case $host_os in
   8993  1.1  skrll       aix4 | aix4.[01] | aix4.[01].*)
   8994  1.1  skrll       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8995  1.1  skrll 	   echo ' yes '
   8996  1.1  skrll 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   8997  1.1  skrll 	:
   8998  1.1  skrll       else
   8999  1.1  skrll 	can_build_shared=no
   9000  1.1  skrll       fi
   9001  1.1  skrll       ;;
   9002  1.1  skrll     esac
   9003  1.1  skrll     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9004  1.1  skrll     # soname into executable. Probably we can add versioning support to
   9005  1.1  skrll     # collect2, so additional links can be useful in future.
   9006  1.1  skrll     if test "$aix_use_runtimelinking" = yes; then
   9007  1.1  skrll       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9008  1.1  skrll       # instead of lib<name>.a to let people know that these are not
   9009  1.1  skrll       # typical AIX shared libraries.
   9010  1.1  skrll       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9011  1.1  skrll     else
   9012  1.1  skrll       # We preserve .a as extension for shared libraries through AIX4.2
   9013  1.1  skrll       # and later when we are not doing run time linking.
   9014  1.1  skrll       library_names_spec='${libname}${release}.a $libname.a'
   9015  1.1  skrll       soname_spec='${libname}${release}${shared_ext}$major'
   9016  1.1  skrll     fi
   9017  1.1  skrll     shlibpath_var=LIBPATH
   9018  1.1  skrll   fi
   9019  1.1  skrll   ;;
   9020  1.1  skrll 
   9021  1.1  skrll amigaos*)
   9022  1.1  skrll   if test "$host_cpu" = m68k; then
   9023  1.1  skrll     library_names_spec='$libname.ixlibrary $libname.a'
   9024  1.1  skrll     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9025  1.1  skrll     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   9026  1.1  skrll   else
   9027  1.1  skrll     dynamic_linker=no
   9028  1.1  skrll   fi
   9029  1.1  skrll   ;;
   9030  1.1  skrll 
   9031  1.1  skrll beos*)
   9032  1.1  skrll   library_names_spec='${libname}${shared_ext}'
   9033  1.1  skrll   dynamic_linker="$host_os ld.so"
   9034  1.1  skrll   shlibpath_var=LIBRARY_PATH
   9035  1.1  skrll   ;;
   9036  1.1  skrll 
   9037  1.1  skrll bsdi[45]*)
   9038  1.1  skrll   version_type=linux
   9039  1.1  skrll   need_version=no
   9040  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9041  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9042  1.1  skrll   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9043  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9044  1.1  skrll   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9045  1.1  skrll   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9046  1.1  skrll   # the default ld.so.conf also contains /usr/contrib/lib and
   9047  1.1  skrll   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9048  1.1  skrll   # libtool to hard-code these into programs
   9049  1.1  skrll   ;;
   9050  1.1  skrll 
   9051  1.1  skrll cygwin* | mingw* | pw32*)
   9052  1.1  skrll   version_type=windows
   9053  1.1  skrll   shrext_cmds=".dll"
   9054  1.1  skrll   need_version=no
   9055  1.1  skrll   need_lib_prefix=no
   9056  1.1  skrll 
   9057  1.1  skrll   case $withGCC,$host_os in
   9058  1.1  skrll   yes,cygwin* | yes,mingw* | yes,pw32*)
   9059  1.1  skrll     library_names_spec='$libname.dll.a'
   9060  1.1  skrll     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9061  1.1  skrll     postinstall_cmds='base_file=`basename \${file}`~
   9062  1.1  skrll       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9063  1.1  skrll       dldir=$destdir/`dirname \$dlpath`~
   9064  1.1  skrll       test -d \$dldir || mkdir -p \$dldir~
   9065  1.1  skrll       $install_prog $dir/$dlname \$dldir/$dlname~
   9066  1.1  skrll       chmod a+x \$dldir/$dlname~
   9067  1.1  skrll       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9068  1.1  skrll         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9069  1.1  skrll       fi'
   9070  1.1  skrll     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9071  1.1  skrll       dlpath=$dir/\$dldll~
   9072  1.1  skrll        $RM \$dlpath'
   9073  1.1  skrll     shlibpath_overrides_runpath=yes
   9074  1.1  skrll 
   9075  1.1  skrll     case $host_os in
   9076  1.1  skrll     cygwin*)
   9077  1.1  skrll       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9078  1.1  skrll       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9079  1.1  skrll       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9080  1.1  skrll       ;;
   9081  1.1  skrll     mingw*)
   9082  1.1  skrll       # MinGW DLLs use traditional 'lib' prefix
   9083  1.1  skrll       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9084  1.1  skrll       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9085  1.1  skrll       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9086  1.1  skrll         # It is most probably a Windows format PATH printed by
   9087  1.1  skrll         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9088  1.1  skrll         # path with ; separators, and with drive letters. We can handle the
   9089  1.1  skrll         # drive letters (cygwin fileutils understands them), so leave them,
   9090  1.1  skrll         # especially as we might pass files found there to a mingw objdump,
   9091  1.1  skrll         # which wouldn't understand a cygwinified path. Ahh.
   9092  1.1  skrll         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9093  1.1  skrll       else
   9094  1.1  skrll         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9095  1.1  skrll       fi
   9096  1.1  skrll       ;;
   9097  1.1  skrll     pw32*)
   9098  1.1  skrll       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9099  1.1  skrll       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9100  1.1  skrll       ;;
   9101  1.1  skrll     esac
   9102  1.1  skrll     ;;
   9103  1.1  skrll 
   9104  1.1  skrll   *)
   9105  1.1  skrll     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9106  1.1  skrll     ;;
   9107  1.1  skrll   esac
   9108  1.1  skrll   dynamic_linker='Win32 ld.exe'
   9109  1.1  skrll   # FIXME: first we should search . and the directory the executable is in
   9110  1.1  skrll   shlibpath_var=PATH
   9111  1.1  skrll   ;;
   9112  1.1  skrll 
   9113  1.1  skrll darwin* | rhapsody*)
   9114  1.1  skrll   dynamic_linker="$host_os dyld"
   9115  1.1  skrll   version_type=darwin
   9116  1.1  skrll   need_lib_prefix=no
   9117  1.1  skrll   need_version=no
   9118  1.1  skrll   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9119  1.1  skrll   soname_spec='${libname}${release}${major}$shared_ext'
   9120  1.1  skrll   shlibpath_overrides_runpath=yes
   9121  1.1  skrll   shlibpath_var=DYLD_LIBRARY_PATH
   9122  1.1  skrll   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9123  1.1  skrll 
   9124  1.1  skrll   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9125  1.1  skrll   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9126  1.1  skrll   ;;
   9127  1.1  skrll 
   9128  1.1  skrll dgux*)
   9129  1.1  skrll   version_type=linux
   9130  1.1  skrll   need_lib_prefix=no
   9131  1.1  skrll   need_version=no
   9132  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9133  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9134  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9135  1.1  skrll   ;;
   9136  1.1  skrll 
   9137  1.1  skrll freebsd1*)
   9138  1.1  skrll   dynamic_linker=no
   9139  1.1  skrll   ;;
   9140  1.1  skrll 
   9141  1.1  skrll freebsd* | dragonfly*)
   9142  1.1  skrll   # DragonFly does not have aout.  When/if they implement a new
   9143  1.1  skrll   # versioning mechanism, adjust this.
   9144  1.1  skrll   if test -x /usr/bin/objformat; then
   9145  1.1  skrll     objformat=`/usr/bin/objformat`
   9146  1.1  skrll   else
   9147  1.1  skrll     case $host_os in
   9148  1.1  skrll     freebsd[123]*) objformat=aout ;;
   9149  1.1  skrll     *) objformat=elf ;;
   9150  1.1  skrll     esac
   9151  1.1  skrll   fi
   9152  1.1  skrll   version_type=freebsd-$objformat
   9153  1.1  skrll   case $version_type in
   9154  1.1  skrll     freebsd-elf*)
   9155  1.1  skrll       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9156  1.1  skrll       need_version=no
   9157  1.1  skrll       need_lib_prefix=no
   9158  1.1  skrll       ;;
   9159  1.1  skrll     freebsd-*)
   9160  1.1  skrll       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9161  1.1  skrll       need_version=yes
   9162  1.1  skrll       ;;
   9163  1.1  skrll   esac
   9164  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9165  1.1  skrll   case $host_os in
   9166  1.1  skrll   freebsd2*)
   9167  1.1  skrll     shlibpath_overrides_runpath=yes
   9168  1.1  skrll     ;;
   9169  1.1  skrll   freebsd3.[01]* | freebsdelf3.[01]*)
   9170  1.1  skrll     shlibpath_overrides_runpath=yes
   9171  1.1  skrll     hardcode_into_libs=yes
   9172  1.1  skrll     ;;
   9173  1.1  skrll   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9174  1.1  skrll   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9175  1.1  skrll     shlibpath_overrides_runpath=no
   9176  1.1  skrll     hardcode_into_libs=yes
   9177  1.1  skrll     ;;
   9178  1.1  skrll   *) # from 4.6 on, and DragonFly
   9179  1.1  skrll     shlibpath_overrides_runpath=yes
   9180  1.1  skrll     hardcode_into_libs=yes
   9181  1.1  skrll     ;;
   9182  1.1  skrll   esac
   9183  1.1  skrll   ;;
   9184  1.1  skrll 
   9185  1.1  skrll gnu*)
   9186  1.1  skrll   version_type=linux
   9187  1.1  skrll   need_lib_prefix=no
   9188  1.1  skrll   need_version=no
   9189  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9190  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9191  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9192  1.1  skrll   hardcode_into_libs=yes
   9193  1.1  skrll   ;;
   9194  1.1  skrll 
   9195  1.1  skrll hpux9* | hpux10* | hpux11*)
   9196  1.1  skrll   # Give a soname corresponding to the major version so that dld.sl refuses to
   9197  1.1  skrll   # link against other versions.
   9198  1.1  skrll   version_type=sunos
   9199  1.1  skrll   need_lib_prefix=no
   9200  1.1  skrll   need_version=no
   9201  1.1  skrll   case $host_cpu in
   9202  1.1  skrll   ia64*)
   9203  1.1  skrll     shrext_cmds='.so'
   9204  1.1  skrll     hardcode_into_libs=yes
   9205  1.1  skrll     dynamic_linker="$host_os dld.so"
   9206  1.1  skrll     shlibpath_var=LD_LIBRARY_PATH
   9207  1.1  skrll     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9208  1.1  skrll     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9209  1.1  skrll     soname_spec='${libname}${release}${shared_ext}$major'
   9210  1.1  skrll     if test "X$HPUX_IA64_MODE" = X32; then
   9211  1.1  skrll       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9212  1.1  skrll     else
   9213  1.1  skrll       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9214  1.1  skrll     fi
   9215  1.1  skrll     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9216  1.1  skrll     ;;
   9217  1.1  skrll   hppa*64*)
   9218  1.1  skrll     shrext_cmds='.sl'
   9219  1.1  skrll     hardcode_into_libs=yes
   9220  1.1  skrll     dynamic_linker="$host_os dld.sl"
   9221  1.1  skrll     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9222  1.1  skrll     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9223  1.1  skrll     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9224  1.1  skrll     soname_spec='${libname}${release}${shared_ext}$major'
   9225  1.1  skrll     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9226  1.1  skrll     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9227  1.1  skrll     ;;
   9228  1.1  skrll   *)
   9229  1.1  skrll     shrext_cmds='.sl'
   9230  1.1  skrll     dynamic_linker="$host_os dld.sl"
   9231  1.1  skrll     shlibpath_var=SHLIB_PATH
   9232  1.1  skrll     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9233  1.1  skrll     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9234  1.1  skrll     soname_spec='${libname}${release}${shared_ext}$major'
   9235  1.1  skrll     ;;
   9236  1.1  skrll   esac
   9237  1.1  skrll   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9238  1.1  skrll   postinstall_cmds='chmod 555 $lib'
   9239  1.1  skrll   ;;
   9240  1.1  skrll 
   9241  1.1  skrll interix[3-9]*)
   9242  1.1  skrll   version_type=linux
   9243  1.1  skrll   need_lib_prefix=no
   9244  1.1  skrll   need_version=no
   9245  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9246  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9247  1.1  skrll   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9248  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9249  1.1  skrll   shlibpath_overrides_runpath=no
   9250  1.1  skrll   hardcode_into_libs=yes
   9251  1.1  skrll   ;;
   9252  1.1  skrll 
   9253  1.1  skrll irix5* | irix6* | nonstopux*)
   9254  1.1  skrll   case $host_os in
   9255  1.1  skrll     nonstopux*) version_type=nonstopux ;;
   9256  1.1  skrll     *)
   9257  1.1  skrll 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9258  1.1  skrll 		version_type=linux
   9259  1.1  skrll 	else
   9260  1.1  skrll 		version_type=irix
   9261  1.1  skrll 	fi ;;
   9262  1.1  skrll   esac
   9263  1.1  skrll   need_lib_prefix=no
   9264  1.1  skrll   need_version=no
   9265  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9266  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9267  1.1  skrll   case $host_os in
   9268  1.1  skrll   irix5* | nonstopux*)
   9269  1.1  skrll     libsuff= shlibsuff=
   9270  1.1  skrll     ;;
   9271  1.1  skrll   *)
   9272  1.1  skrll     case $LD in # libtool.m4 will add one of these switches to LD
   9273  1.1  skrll     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9274  1.1  skrll       libsuff= shlibsuff= libmagic=32-bit;;
   9275  1.1  skrll     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9276  1.1  skrll       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9277  1.1  skrll     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9278  1.1  skrll       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9279  1.1  skrll     *) libsuff= shlibsuff= libmagic=never-match;;
   9280  1.1  skrll     esac
   9281  1.1  skrll     ;;
   9282  1.1  skrll   esac
   9283  1.1  skrll   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9284  1.1  skrll   shlibpath_overrides_runpath=no
   9285  1.1  skrll   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9286  1.1  skrll   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9287  1.1  skrll   hardcode_into_libs=yes
   9288  1.1  skrll   ;;
   9289  1.1  skrll 
   9290  1.1  skrll # No shared lib support for Linux oldld, aout, or coff.
   9291  1.1  skrll linux*oldld* | linux*aout* | linux*coff*)
   9292  1.1  skrll   dynamic_linker=no
   9293  1.1  skrll   ;;
   9294  1.1  skrll 
   9295  1.1  skrll # This must be Linux ELF.
   9296  1.1  skrll linux* | k*bsd*-gnu)
   9297  1.1  skrll   version_type=linux
   9298  1.1  skrll   need_lib_prefix=no
   9299  1.1  skrll   need_version=no
   9300  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9301  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9302  1.1  skrll   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9303  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9304  1.1  skrll   shlibpath_overrides_runpath=no
   9305  1.1  skrll   # Some binutils ld are patched to set DT_RUNPATH
   9306  1.1  skrll   save_LDFLAGS=$LDFLAGS
   9307  1.1  skrll   save_libdir=$libdir
   9308  1.1  skrll   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9309  1.1  skrll        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9310  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   9311  1.1  skrll /* confdefs.h.  */
   9312  1.1  skrll _ACEOF
   9313  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   9314  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   9315  1.1  skrll /* end confdefs.h.  */
   9316  1.1  skrll 
   9317  1.1  skrll int
   9318  1.1  skrll main ()
   9319  1.1  skrll {
   9320  1.1  skrll 
   9321  1.1  skrll   ;
   9322  1.1  skrll   return 0;
   9323  1.1  skrll }
   9324  1.1  skrll _ACEOF
   9325  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   9326  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9327  1.1  skrll   (eval $ac_link) 2>conftest.er1
   9328  1.1  skrll   ac_status=$?
   9329  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   9330  1.1  skrll   rm -f conftest.er1
   9331  1.1  skrll   cat conftest.err >&5
   9332  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9333  1.1  skrll   (exit $ac_status); } &&
   9334  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   9335  1.1  skrll 			 || test ! -s conftest.err'
   9336  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9337  1.1  skrll   (eval $ac_try) 2>&5
   9338  1.1  skrll   ac_status=$?
   9339  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9340  1.1  skrll   (exit $ac_status); }; } &&
   9341  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   9342  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9343  1.1  skrll   (eval $ac_try) 2>&5
   9344  1.1  skrll   ac_status=$?
   9345  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9346  1.1  skrll   (exit $ac_status); }; }; then
   9347  1.1  skrll   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
   9348  1.1  skrll   shlibpath_overrides_runpath=yes
   9349  1.1  skrll fi
   9350  1.1  skrll 
   9351  1.1  skrll else
   9352  1.1  skrll   echo "$as_me: failed program was:" >&5
   9353  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   9354  1.1  skrll 
   9355  1.1  skrll fi
   9356  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   9357  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   9358  1.1  skrll   LDFLAGS=$save_LDFLAGS
   9359  1.1  skrll   libdir=$save_libdir
   9360  1.1  skrll 
   9361  1.1  skrll   # This implies no fast_install, which is unacceptable.
   9362  1.1  skrll   # Some rework will be needed to allow for fast_install
   9363  1.1  skrll   # before this can be enabled.
   9364  1.1  skrll   hardcode_into_libs=yes
   9365  1.1  skrll 
   9366  1.1  skrll   # Append ld.so.conf contents to the search path
   9367  1.1  skrll   if test -f /etc/ld.so.conf; then
   9368  1.1  skrll     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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9369  1.1  skrll     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9370  1.1  skrll   fi
   9371  1.1  skrll 
   9372  1.1  skrll   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9373  1.1  skrll   # powerpc, because MkLinux only supported shared libraries with the
   9374  1.1  skrll   # GNU dynamic linker.  Since this was broken with cross compilers,
   9375  1.1  skrll   # most powerpc-linux boxes support dynamic linking these days and
   9376  1.1  skrll   # people can always --disable-shared, the test was removed, and we
   9377  1.1  skrll   # assume the GNU/Linux dynamic linker is in use.
   9378  1.1  skrll   dynamic_linker='GNU/Linux ld.so'
   9379  1.1  skrll   ;;
   9380  1.1  skrll 
   9381  1.1  skrll netbsd*)
   9382  1.1  skrll   version_type=sunos
   9383  1.1  skrll   need_lib_prefix=no
   9384  1.1  skrll   need_version=no
   9385  1.1  skrll   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9386  1.1  skrll     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9387  1.1  skrll     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9388  1.1  skrll     dynamic_linker='NetBSD (a.out) ld.so'
   9389  1.1  skrll   else
   9390  1.1  skrll     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9391  1.1  skrll     soname_spec='${libname}${release}${shared_ext}$major'
   9392  1.1  skrll     dynamic_linker='NetBSD ld.elf_so'
   9393  1.1  skrll   fi
   9394  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9395  1.1  skrll   shlibpath_overrides_runpath=yes
   9396  1.1  skrll   hardcode_into_libs=yes
   9397  1.1  skrll   ;;
   9398  1.1  skrll 
   9399  1.1  skrll newsos6)
   9400  1.1  skrll   version_type=linux
   9401  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9402  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9403  1.1  skrll   shlibpath_overrides_runpath=yes
   9404  1.1  skrll   ;;
   9405  1.1  skrll 
   9406  1.1  skrll *nto* | *qnx*)
   9407  1.1  skrll   version_type=qnx
   9408  1.1  skrll   need_lib_prefix=no
   9409  1.1  skrll   need_version=no
   9410  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9411  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9412  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9413  1.1  skrll   shlibpath_overrides_runpath=no
   9414  1.1  skrll   hardcode_into_libs=yes
   9415  1.1  skrll   dynamic_linker='ldqnx.so'
   9416  1.1  skrll   ;;
   9417  1.1  skrll 
   9418  1.1  skrll openbsd*)
   9419  1.1  skrll   version_type=sunos
   9420  1.1  skrll   sys_lib_dlsearch_path_spec="/usr/lib"
   9421  1.1  skrll   need_lib_prefix=no
   9422  1.1  skrll   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9423  1.1  skrll   case $host_os in
   9424  1.1  skrll     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9425  1.1  skrll     *)				need_version=no  ;;
   9426  1.1  skrll   esac
   9427  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9428  1.1  skrll   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9429  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9430  1.1  skrll   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9431  1.1  skrll     case $host_os in
   9432  1.1  skrll       openbsd2.[89] | openbsd2.[89].*)
   9433  1.1  skrll 	shlibpath_overrides_runpath=no
   9434  1.1  skrll 	;;
   9435  1.1  skrll       *)
   9436  1.1  skrll 	shlibpath_overrides_runpath=yes
   9437  1.1  skrll 	;;
   9438  1.1  skrll       esac
   9439  1.1  skrll   else
   9440  1.1  skrll     shlibpath_overrides_runpath=yes
   9441  1.1  skrll   fi
   9442  1.1  skrll   ;;
   9443  1.1  skrll 
   9444  1.1  skrll os2*)
   9445  1.1  skrll   libname_spec='$name'
   9446  1.1  skrll   shrext_cmds=".dll"
   9447  1.1  skrll   need_lib_prefix=no
   9448  1.1  skrll   library_names_spec='$libname${shared_ext} $libname.a'
   9449  1.1  skrll   dynamic_linker='OS/2 ld.exe'
   9450  1.1  skrll   shlibpath_var=LIBPATH
   9451  1.1  skrll   ;;
   9452  1.1  skrll 
   9453  1.1  skrll osf3* | osf4* | osf5*)
   9454  1.1  skrll   version_type=osf
   9455  1.1  skrll   need_lib_prefix=no
   9456  1.1  skrll   need_version=no
   9457  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9458  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9459  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9460  1.1  skrll   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9461  1.1  skrll   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9462  1.1  skrll   ;;
   9463  1.1  skrll 
   9464  1.1  skrll rdos*)
   9465  1.1  skrll   dynamic_linker=no
   9466  1.1  skrll   ;;
   9467  1.1  skrll 
   9468  1.1  skrll solaris*)
   9469  1.1  skrll   version_type=linux
   9470  1.1  skrll   need_lib_prefix=no
   9471  1.1  skrll   need_version=no
   9472  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9473  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9474  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9475  1.1  skrll   shlibpath_overrides_runpath=yes
   9476  1.1  skrll   hardcode_into_libs=yes
   9477  1.1  skrll   # ldd complains unless libraries are executable
   9478  1.1  skrll   postinstall_cmds='chmod +x $lib'
   9479  1.1  skrll   ;;
   9480  1.1  skrll 
   9481  1.1  skrll sunos4*)
   9482  1.1  skrll   version_type=sunos
   9483  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9484  1.1  skrll   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9485  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9486  1.1  skrll   shlibpath_overrides_runpath=yes
   9487  1.1  skrll   if test "$with_gnu_ld" = yes; then
   9488  1.1  skrll     need_lib_prefix=no
   9489  1.1  skrll   fi
   9490  1.1  skrll   need_version=yes
   9491  1.1  skrll   ;;
   9492  1.1  skrll 
   9493  1.1  skrll sysv4 | sysv4.3*)
   9494  1.1  skrll   version_type=linux
   9495  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9496  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9497  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9498  1.1  skrll   case $host_vendor in
   9499  1.1  skrll     sni)
   9500  1.1  skrll       shlibpath_overrides_runpath=no
   9501  1.1  skrll       need_lib_prefix=no
   9502  1.1  skrll       runpath_var=LD_RUN_PATH
   9503  1.1  skrll       ;;
   9504  1.1  skrll     siemens)
   9505  1.1  skrll       need_lib_prefix=no
   9506  1.1  skrll       ;;
   9507  1.1  skrll     motorola)
   9508  1.1  skrll       need_lib_prefix=no
   9509  1.1  skrll       need_version=no
   9510  1.1  skrll       shlibpath_overrides_runpath=no
   9511  1.1  skrll       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9512  1.1  skrll       ;;
   9513  1.1  skrll   esac
   9514  1.1  skrll   ;;
   9515  1.1  skrll 
   9516  1.1  skrll sysv4*MP*)
   9517  1.1  skrll   if test -d /usr/nec ;then
   9518  1.1  skrll     version_type=linux
   9519  1.1  skrll     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9520  1.1  skrll     soname_spec='$libname${shared_ext}.$major'
   9521  1.1  skrll     shlibpath_var=LD_LIBRARY_PATH
   9522  1.1  skrll   fi
   9523  1.1  skrll   ;;
   9524  1.1  skrll 
   9525  1.1  skrll sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9526  1.1  skrll   version_type=freebsd-elf
   9527  1.1  skrll   need_lib_prefix=no
   9528  1.1  skrll   need_version=no
   9529  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9530  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9531  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9532  1.1  skrll   shlibpath_overrides_runpath=yes
   9533  1.1  skrll   hardcode_into_libs=yes
   9534  1.1  skrll   if test "$with_gnu_ld" = yes; then
   9535  1.1  skrll     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9536  1.1  skrll   else
   9537  1.1  skrll     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9538  1.1  skrll     case $host_os in
   9539  1.1  skrll       sco3.2v5*)
   9540  1.1  skrll         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9541  1.1  skrll 	;;
   9542  1.1  skrll     esac
   9543  1.1  skrll   fi
   9544  1.1  skrll   sys_lib_dlsearch_path_spec='/usr/lib'
   9545  1.1  skrll   ;;
   9546  1.1  skrll 
   9547  1.1  skrll tpf*)
   9548  1.1  skrll   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   9549  1.1  skrll   version_type=linux
   9550  1.1  skrll   need_lib_prefix=no
   9551  1.1  skrll   need_version=no
   9552  1.1  skrll   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9553  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9554  1.1  skrll   shlibpath_overrides_runpath=no
   9555  1.1  skrll   hardcode_into_libs=yes
   9556  1.1  skrll   ;;
   9557  1.1  skrll 
   9558  1.1  skrll uts4*)
   9559  1.1  skrll   version_type=linux
   9560  1.1  skrll   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9561  1.1  skrll   soname_spec='${libname}${release}${shared_ext}$major'
   9562  1.1  skrll   shlibpath_var=LD_LIBRARY_PATH
   9563  1.1  skrll   ;;
   9564  1.1  skrll 
   9565  1.1  skrll *)
   9566  1.1  skrll   dynamic_linker=no
   9567  1.1  skrll   ;;
   9568  1.1  skrll esac
   9569  1.1  skrll echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9570  1.1  skrll echo "${ECHO_T}$dynamic_linker" >&6
   9571  1.1  skrll test "$dynamic_linker" = no && can_build_shared=no
   9572  1.1  skrll 
   9573  1.1  skrll variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9574  1.1  skrll if test "$GCC" = yes; then
   9575  1.1  skrll   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9576  1.1  skrll fi
   9577  1.1  skrll 
   9578  1.1  skrll 
   9579  1.1  skrll 
   9580  1.1  skrll 
   9581  1.1  skrll 
   9582  1.1  skrll 
   9583  1.1  skrll 
   9584  1.1  skrll 
   9585  1.1  skrll 
   9586  1.1  skrll 
   9587  1.1  skrll 
   9588  1.1  skrll 
   9589  1.1  skrll 
   9590  1.1  skrll 
   9591  1.1  skrll 
   9592  1.1  skrll 
   9593  1.1  skrll 
   9594  1.1  skrll 
   9595  1.1  skrll 
   9596  1.1  skrll 
   9597  1.1  skrll 
   9598  1.1  skrll 
   9599  1.1  skrll 
   9600  1.1  skrll 
   9601  1.1  skrll 
   9602  1.1  skrll 
   9603  1.1  skrll 
   9604  1.1  skrll 
   9605  1.1  skrll 
   9606  1.1  skrll 
   9607  1.1  skrll 
   9608  1.1  skrll 
   9609  1.1  skrll 
   9610  1.1  skrll 
   9611  1.1  skrll 
   9612  1.1  skrll 
   9613  1.1  skrll 
   9614  1.1  skrll 
   9615  1.1  skrll 
   9616  1.1  skrll 
   9617  1.1  skrll 
   9618  1.1  skrll 
   9619  1.1  skrll 
   9620  1.1  skrll 
   9621  1.1  skrll 
   9622  1.1  skrll 
   9623  1.1  skrll 
   9624  1.1  skrll 
   9625  1.1  skrll 
   9626  1.1  skrll 
   9627  1.1  skrll 
   9628  1.1  skrll 
   9629  1.1  skrll 
   9630  1.1  skrll 
   9631  1.1  skrll 
   9632  1.1  skrll 
   9633  1.1  skrll 
   9634  1.1  skrll 
   9635  1.1  skrll 
   9636  1.1  skrll 
   9637  1.1  skrll 
   9638  1.1  skrll 
   9639  1.1  skrll 
   9640  1.1  skrll 
   9641  1.1  skrll 
   9642  1.1  skrll 
   9643  1.1  skrll 
   9644  1.1  skrll 
   9645  1.1  skrll 
   9646  1.1  skrll 
   9647  1.1  skrll 
   9648  1.1  skrll 
   9649  1.1  skrll 
   9650  1.1  skrll 
   9651  1.1  skrll 
   9652  1.1  skrll 
   9653  1.1  skrll 
   9654  1.1  skrll 
   9655  1.1  skrll 
   9656  1.1  skrll 
   9657  1.1  skrll 
   9658  1.1  skrll 
   9659  1.1  skrll 
   9660  1.1  skrll 
   9661  1.1  skrll 
   9662  1.1  skrll 
   9663  1.1  skrll 
   9664  1.1  skrll   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9665  1.1  skrll echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   9666  1.1  skrll hardcode_action=
   9667  1.1  skrll if test -n "$hardcode_libdir_flag_spec" ||
   9668  1.1  skrll    test -n "$runpath_var" ||
   9669  1.1  skrll    test "X$hardcode_automatic" = "Xyes" ; then
   9670  1.1  skrll 
   9671  1.1  skrll   # We can hardcode non-existent directories.
   9672  1.1  skrll   if test "$hardcode_direct" != no &&
   9673  1.1  skrll      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9674  1.1  skrll      # have to relink, otherwise we might link with an installed library
   9675  1.1  skrll      # when we should be linking with a yet-to-be-installed one
   9676  1.1  skrll      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9677  1.1  skrll      test "$hardcode_minus_L" != no; then
   9678  1.1  skrll     # Linking always hardcodes the temporary library directory.
   9679  1.1  skrll     hardcode_action=relink
   9680  1.1  skrll   else
   9681  1.1  skrll     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9682  1.1  skrll     hardcode_action=immediate
   9683  1.1  skrll   fi
   9684  1.1  skrll else
   9685  1.1  skrll   # We cannot hardcode anything, or else we can only hardcode existing
   9686  1.1  skrll   # directories.
   9687  1.1  skrll   hardcode_action=unsupported
   9688  1.1  skrll fi
   9689  1.1  skrll echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9690  1.1  skrll echo "${ECHO_T}$hardcode_action" >&6
   9691  1.1  skrll 
   9692  1.1  skrll if test "$hardcode_action" = relink ||
   9693  1.1  skrll    test "$inherit_rpath" = yes; then
   9694  1.1  skrll   # Fast installation is not supported
   9695  1.1  skrll   enable_fast_install=no
   9696  1.1  skrll elif test "$shlibpath_overrides_runpath" = yes ||
   9697  1.1  skrll      test "$enable_shared" = no; then
   9698  1.1  skrll   # Fast installation is not necessary
   9699  1.1  skrll   enable_fast_install=needless
   9700  1.1  skrll fi
   9701  1.1  skrll 
   9702  1.1  skrll 
   9703  1.1  skrll 
   9704  1.1  skrll 
   9705  1.1  skrll 
   9706  1.1  skrll 
   9707  1.1  skrll   if test "x$enable_dlopen" != xyes; then
   9708  1.1  skrll   enable_dlopen=unknown
   9709  1.1  skrll   enable_dlopen_self=unknown
   9710  1.1  skrll   enable_dlopen_self_static=unknown
   9711  1.1  skrll else
   9712  1.1  skrll   lt_cv_dlopen=no
   9713  1.1  skrll   lt_cv_dlopen_libs=
   9714  1.1  skrll 
   9715  1.1  skrll   case $host_os in
   9716  1.1  skrll   beos*)
   9717  1.1  skrll     lt_cv_dlopen="load_add_on"
   9718  1.1  skrll     lt_cv_dlopen_libs=
   9719  1.1  skrll     lt_cv_dlopen_self=yes
   9720  1.1  skrll     ;;
   9721  1.1  skrll 
   9722  1.1  skrll   mingw* | pw32*)
   9723  1.1  skrll     lt_cv_dlopen="LoadLibrary"
   9724  1.1  skrll     lt_cv_dlopen_libs=
   9725  1.1  skrll     ;;
   9726  1.1  skrll 
   9727  1.1  skrll   cygwin*)
   9728  1.1  skrll     lt_cv_dlopen="dlopen"
   9729  1.1  skrll     lt_cv_dlopen_libs=
   9730  1.1  skrll     ;;
   9731  1.1  skrll 
   9732  1.1  skrll   darwin*)
   9733  1.1  skrll   # if libdl is installed we need to link against it
   9734  1.1  skrll     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9735  1.1  skrll echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   9736  1.1  skrll if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9737  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   9738  1.1  skrll else
   9739  1.1  skrll   ac_check_lib_save_LIBS=$LIBS
   9740  1.1  skrll LIBS="-ldl  $LIBS"
   9741  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   9742  1.1  skrll /* confdefs.h.  */
   9743  1.1  skrll _ACEOF
   9744  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   9745  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   9746  1.1  skrll /* end confdefs.h.  */
   9747  1.1  skrll 
   9748  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   9749  1.1  skrll #ifdef __cplusplus
   9750  1.1  skrll extern "C"
   9751  1.1  skrll #endif
   9752  1.1  skrll /* We use char because int might match the return type of a gcc2
   9753  1.1  skrll    builtin and then its argument prototype would still apply.  */
   9754  1.1  skrll char dlopen ();
   9755  1.1  skrll int
   9756  1.1  skrll main ()
   9757  1.1  skrll {
   9758  1.1  skrll dlopen ();
   9759  1.1  skrll   ;
   9760  1.1  skrll   return 0;
   9761  1.1  skrll }
   9762  1.1  skrll _ACEOF
   9763  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   9764  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9765  1.1  skrll   (eval $ac_link) 2>conftest.er1
   9766  1.1  skrll   ac_status=$?
   9767  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   9768  1.1  skrll   rm -f conftest.er1
   9769  1.1  skrll   cat conftest.err >&5
   9770  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9771  1.1  skrll   (exit $ac_status); } &&
   9772  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   9773  1.1  skrll 			 || test ! -s conftest.err'
   9774  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9775  1.1  skrll   (eval $ac_try) 2>&5
   9776  1.1  skrll   ac_status=$?
   9777  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9778  1.1  skrll   (exit $ac_status); }; } &&
   9779  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   9780  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9781  1.1  skrll   (eval $ac_try) 2>&5
   9782  1.1  skrll   ac_status=$?
   9783  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9784  1.1  skrll   (exit $ac_status); }; }; then
   9785  1.1  skrll   ac_cv_lib_dl_dlopen=yes
   9786  1.1  skrll else
   9787  1.1  skrll   echo "$as_me: failed program was:" >&5
   9788  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   9789  1.1  skrll 
   9790  1.1  skrll ac_cv_lib_dl_dlopen=no
   9791  1.1  skrll fi
   9792  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   9793  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   9794  1.1  skrll LIBS=$ac_check_lib_save_LIBS
   9795  1.1  skrll fi
   9796  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9797  1.1  skrll echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   9798  1.1  skrll if test $ac_cv_lib_dl_dlopen = yes; then
   9799  1.1  skrll   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9800  1.1  skrll else
   9801  1.1  skrll 
   9802  1.1  skrll     lt_cv_dlopen="dyld"
   9803  1.1  skrll     lt_cv_dlopen_libs=
   9804  1.1  skrll     lt_cv_dlopen_self=yes
   9805  1.1  skrll 
   9806  1.1  skrll fi
   9807  1.1  skrll 
   9808  1.1  skrll     ;;
   9809  1.1  skrll 
   9810  1.1  skrll   *)
   9811  1.1  skrll     echo "$as_me:$LINENO: checking for shl_load" >&5
   9812  1.1  skrll echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
   9813  1.1  skrll if test "${ac_cv_func_shl_load+set}" = set; then
   9814  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   9815  1.1  skrll else
   9816  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   9817  1.1  skrll /* confdefs.h.  */
   9818  1.1  skrll _ACEOF
   9819  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   9820  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   9821  1.1  skrll /* end confdefs.h.  */
   9822  1.1  skrll /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9823  1.1  skrll    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9824  1.1  skrll #define shl_load innocuous_shl_load
   9825  1.1  skrll 
   9826  1.1  skrll /* System header to define __stub macros and hopefully few prototypes,
   9827  1.1  skrll     which can conflict with char shl_load (); below.
   9828  1.1  skrll     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9829  1.1  skrll     <limits.h> exists even on freestanding compilers.  */
   9830  1.1  skrll 
   9831  1.1  skrll #ifdef __STDC__
   9832  1.1  skrll # include <limits.h>
   9833  1.1  skrll #else
   9834  1.1  skrll # include <assert.h>
   9835  1.1  skrll #endif
   9836  1.1  skrll 
   9837  1.1  skrll #undef shl_load
   9838  1.1  skrll 
   9839  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   9840  1.1  skrll #ifdef __cplusplus
   9841  1.1  skrll extern "C"
   9842  1.1  skrll {
   9843  1.1  skrll #endif
   9844  1.1  skrll /* We use char because int might match the return type of a gcc2
   9845  1.1  skrll    builtin and then its argument prototype would still apply.  */
   9846  1.1  skrll char shl_load ();
   9847  1.1  skrll /* The GNU C library defines this for functions which it implements
   9848  1.1  skrll     to always fail with ENOSYS.  Some functions are actually named
   9849  1.1  skrll     something starting with __ and the normal name is an alias.  */
   9850  1.1  skrll #if defined (__stub_shl_load) || defined (__stub___shl_load)
   9851  1.1  skrll choke me
   9852  1.1  skrll #else
   9853  1.1  skrll char (*f) () = shl_load;
   9854  1.1  skrll #endif
   9855  1.1  skrll #ifdef __cplusplus
   9856  1.1  skrll }
   9857  1.1  skrll #endif
   9858  1.1  skrll 
   9859  1.1  skrll int
   9860  1.1  skrll main ()
   9861  1.1  skrll {
   9862  1.1  skrll return f != shl_load;
   9863  1.1  skrll   ;
   9864  1.1  skrll   return 0;
   9865  1.1  skrll }
   9866  1.1  skrll _ACEOF
   9867  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   9868  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9869  1.1  skrll   (eval $ac_link) 2>conftest.er1
   9870  1.1  skrll   ac_status=$?
   9871  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   9872  1.1  skrll   rm -f conftest.er1
   9873  1.1  skrll   cat conftest.err >&5
   9874  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9875  1.1  skrll   (exit $ac_status); } &&
   9876  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   9877  1.1  skrll 			 || test ! -s conftest.err'
   9878  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9879  1.1  skrll   (eval $ac_try) 2>&5
   9880  1.1  skrll   ac_status=$?
   9881  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9882  1.1  skrll   (exit $ac_status); }; } &&
   9883  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   9884  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9885  1.1  skrll   (eval $ac_try) 2>&5
   9886  1.1  skrll   ac_status=$?
   9887  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9888  1.1  skrll   (exit $ac_status); }; }; then
   9889  1.1  skrll   ac_cv_func_shl_load=yes
   9890  1.1  skrll else
   9891  1.1  skrll   echo "$as_me: failed program was:" >&5
   9892  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   9893  1.1  skrll 
   9894  1.1  skrll ac_cv_func_shl_load=no
   9895  1.1  skrll fi
   9896  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   9897  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   9898  1.1  skrll fi
   9899  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9900  1.1  skrll echo "${ECHO_T}$ac_cv_func_shl_load" >&6
   9901  1.1  skrll if test $ac_cv_func_shl_load = yes; then
   9902  1.1  skrll   lt_cv_dlopen="shl_load"
   9903  1.1  skrll else
   9904  1.1  skrll   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9905  1.1  skrll echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
   9906  1.1  skrll if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9907  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   9908  1.1  skrll else
   9909  1.1  skrll   ac_check_lib_save_LIBS=$LIBS
   9910  1.1  skrll LIBS="-ldld  $LIBS"
   9911  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   9912  1.1  skrll /* confdefs.h.  */
   9913  1.1  skrll _ACEOF
   9914  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   9915  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   9916  1.1  skrll /* end confdefs.h.  */
   9917  1.1  skrll 
   9918  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   9919  1.1  skrll #ifdef __cplusplus
   9920  1.1  skrll extern "C"
   9921  1.1  skrll #endif
   9922  1.1  skrll /* We use char because int might match the return type of a gcc2
   9923  1.1  skrll    builtin and then its argument prototype would still apply.  */
   9924  1.1  skrll char shl_load ();
   9925  1.1  skrll int
   9926  1.1  skrll main ()
   9927  1.1  skrll {
   9928  1.1  skrll shl_load ();
   9929  1.1  skrll   ;
   9930  1.1  skrll   return 0;
   9931  1.1  skrll }
   9932  1.1  skrll _ACEOF
   9933  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   9934  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9935  1.1  skrll   (eval $ac_link) 2>conftest.er1
   9936  1.1  skrll   ac_status=$?
   9937  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   9938  1.1  skrll   rm -f conftest.er1
   9939  1.1  skrll   cat conftest.err >&5
   9940  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9941  1.1  skrll   (exit $ac_status); } &&
   9942  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   9943  1.1  skrll 			 || test ! -s conftest.err'
   9944  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9945  1.1  skrll   (eval $ac_try) 2>&5
   9946  1.1  skrll   ac_status=$?
   9947  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9948  1.1  skrll   (exit $ac_status); }; } &&
   9949  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   9950  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9951  1.1  skrll   (eval $ac_try) 2>&5
   9952  1.1  skrll   ac_status=$?
   9953  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9954  1.1  skrll   (exit $ac_status); }; }; then
   9955  1.1  skrll   ac_cv_lib_dld_shl_load=yes
   9956  1.1  skrll else
   9957  1.1  skrll   echo "$as_me: failed program was:" >&5
   9958  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   9959  1.1  skrll 
   9960  1.1  skrll ac_cv_lib_dld_shl_load=no
   9961  1.1  skrll fi
   9962  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   9963  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   9964  1.1  skrll LIBS=$ac_check_lib_save_LIBS
   9965  1.1  skrll fi
   9966  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9967  1.1  skrll echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
   9968  1.1  skrll if test $ac_cv_lib_dld_shl_load = yes; then
   9969  1.1  skrll   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9970  1.1  skrll else
   9971  1.1  skrll   echo "$as_me:$LINENO: checking for dlopen" >&5
   9972  1.1  skrll echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
   9973  1.1  skrll if test "${ac_cv_func_dlopen+set}" = set; then
   9974  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   9975  1.1  skrll else
   9976  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   9977  1.1  skrll /* confdefs.h.  */
   9978  1.1  skrll _ACEOF
   9979  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   9980  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   9981  1.1  skrll /* end confdefs.h.  */
   9982  1.1  skrll /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9983  1.1  skrll    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9984  1.1  skrll #define dlopen innocuous_dlopen
   9985  1.1  skrll 
   9986  1.1  skrll /* System header to define __stub macros and hopefully few prototypes,
   9987  1.1  skrll     which can conflict with char dlopen (); below.
   9988  1.1  skrll     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9989  1.1  skrll     <limits.h> exists even on freestanding compilers.  */
   9990  1.1  skrll 
   9991  1.1  skrll #ifdef __STDC__
   9992  1.1  skrll # include <limits.h>
   9993  1.1  skrll #else
   9994  1.1  skrll # include <assert.h>
   9995  1.1  skrll #endif
   9996  1.1  skrll 
   9997  1.1  skrll #undef dlopen
   9998  1.1  skrll 
   9999  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   10000  1.1  skrll #ifdef __cplusplus
   10001  1.1  skrll extern "C"
   10002  1.1  skrll {
   10003  1.1  skrll #endif
   10004  1.1  skrll /* We use char because int might match the return type of a gcc2
   10005  1.1  skrll    builtin and then its argument prototype would still apply.  */
   10006  1.1  skrll char dlopen ();
   10007  1.1  skrll /* The GNU C library defines this for functions which it implements
   10008  1.1  skrll     to always fail with ENOSYS.  Some functions are actually named
   10009  1.1  skrll     something starting with __ and the normal name is an alias.  */
   10010  1.1  skrll #if defined (__stub_dlopen) || defined (__stub___dlopen)
   10011  1.1  skrll choke me
   10012  1.1  skrll #else
   10013  1.1  skrll char (*f) () = dlopen;
   10014  1.1  skrll #endif
   10015  1.1  skrll #ifdef __cplusplus
   10016  1.1  skrll }
   10017  1.1  skrll #endif
   10018  1.1  skrll 
   10019  1.1  skrll int
   10020  1.1  skrll main ()
   10021  1.1  skrll {
   10022  1.1  skrll return f != dlopen;
   10023  1.1  skrll   ;
   10024  1.1  skrll   return 0;
   10025  1.1  skrll }
   10026  1.1  skrll _ACEOF
   10027  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   10028  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10029  1.1  skrll   (eval $ac_link) 2>conftest.er1
   10030  1.1  skrll   ac_status=$?
   10031  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   10032  1.1  skrll   rm -f conftest.er1
   10033  1.1  skrll   cat conftest.err >&5
   10034  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10035  1.1  skrll   (exit $ac_status); } &&
   10036  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   10037  1.1  skrll 			 || test ! -s conftest.err'
   10038  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10039  1.1  skrll   (eval $ac_try) 2>&5
   10040  1.1  skrll   ac_status=$?
   10041  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10042  1.1  skrll   (exit $ac_status); }; } &&
   10043  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   10044  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10045  1.1  skrll   (eval $ac_try) 2>&5
   10046  1.1  skrll   ac_status=$?
   10047  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10048  1.1  skrll   (exit $ac_status); }; }; then
   10049  1.1  skrll   ac_cv_func_dlopen=yes
   10050  1.1  skrll else
   10051  1.1  skrll   echo "$as_me: failed program was:" >&5
   10052  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   10053  1.1  skrll 
   10054  1.1  skrll ac_cv_func_dlopen=no
   10055  1.1  skrll fi
   10056  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   10057  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   10058  1.1  skrll fi
   10059  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10060  1.1  skrll echo "${ECHO_T}$ac_cv_func_dlopen" >&6
   10061  1.1  skrll if test $ac_cv_func_dlopen = yes; then
   10062  1.1  skrll   lt_cv_dlopen="dlopen"
   10063  1.1  skrll else
   10064  1.1  skrll   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10065  1.1  skrll echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   10066  1.1  skrll if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10067  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   10068  1.1  skrll else
   10069  1.1  skrll   ac_check_lib_save_LIBS=$LIBS
   10070  1.1  skrll LIBS="-ldl  $LIBS"
   10071  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   10072  1.1  skrll /* confdefs.h.  */
   10073  1.1  skrll _ACEOF
   10074  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   10075  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   10076  1.1  skrll /* end confdefs.h.  */
   10077  1.1  skrll 
   10078  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   10079  1.1  skrll #ifdef __cplusplus
   10080  1.1  skrll extern "C"
   10081  1.1  skrll #endif
   10082  1.1  skrll /* We use char because int might match the return type of a gcc2
   10083  1.1  skrll    builtin and then its argument prototype would still apply.  */
   10084  1.1  skrll char dlopen ();
   10085  1.1  skrll int
   10086  1.1  skrll main ()
   10087  1.1  skrll {
   10088  1.1  skrll dlopen ();
   10089  1.1  skrll   ;
   10090  1.1  skrll   return 0;
   10091  1.1  skrll }
   10092  1.1  skrll _ACEOF
   10093  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   10094  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10095  1.1  skrll   (eval $ac_link) 2>conftest.er1
   10096  1.1  skrll   ac_status=$?
   10097  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   10098  1.1  skrll   rm -f conftest.er1
   10099  1.1  skrll   cat conftest.err >&5
   10100  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10101  1.1  skrll   (exit $ac_status); } &&
   10102  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   10103  1.1  skrll 			 || test ! -s conftest.err'
   10104  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10105  1.1  skrll   (eval $ac_try) 2>&5
   10106  1.1  skrll   ac_status=$?
   10107  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10108  1.1  skrll   (exit $ac_status); }; } &&
   10109  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   10110  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10111  1.1  skrll   (eval $ac_try) 2>&5
   10112  1.1  skrll   ac_status=$?
   10113  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10114  1.1  skrll   (exit $ac_status); }; }; then
   10115  1.1  skrll   ac_cv_lib_dl_dlopen=yes
   10116  1.1  skrll else
   10117  1.1  skrll   echo "$as_me: failed program was:" >&5
   10118  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   10119  1.1  skrll 
   10120  1.1  skrll ac_cv_lib_dl_dlopen=no
   10121  1.1  skrll fi
   10122  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   10123  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   10124  1.1  skrll LIBS=$ac_check_lib_save_LIBS
   10125  1.1  skrll fi
   10126  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10127  1.1  skrll echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   10128  1.1  skrll if test $ac_cv_lib_dl_dlopen = yes; then
   10129  1.1  skrll   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10130  1.1  skrll else
   10131  1.1  skrll   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10132  1.1  skrll echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
   10133  1.1  skrll if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10134  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   10135  1.1  skrll else
   10136  1.1  skrll   ac_check_lib_save_LIBS=$LIBS
   10137  1.1  skrll LIBS="-lsvld  $LIBS"
   10138  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   10139  1.1  skrll /* confdefs.h.  */
   10140  1.1  skrll _ACEOF
   10141  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   10142  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   10143  1.1  skrll /* end confdefs.h.  */
   10144  1.1  skrll 
   10145  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   10146  1.1  skrll #ifdef __cplusplus
   10147  1.1  skrll extern "C"
   10148  1.1  skrll #endif
   10149  1.1  skrll /* We use char because int might match the return type of a gcc2
   10150  1.1  skrll    builtin and then its argument prototype would still apply.  */
   10151  1.1  skrll char dlopen ();
   10152  1.1  skrll int
   10153  1.1  skrll main ()
   10154  1.1  skrll {
   10155  1.1  skrll dlopen ();
   10156  1.1  skrll   ;
   10157  1.1  skrll   return 0;
   10158  1.1  skrll }
   10159  1.1  skrll _ACEOF
   10160  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   10161  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10162  1.1  skrll   (eval $ac_link) 2>conftest.er1
   10163  1.1  skrll   ac_status=$?
   10164  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   10165  1.1  skrll   rm -f conftest.er1
   10166  1.1  skrll   cat conftest.err >&5
   10167  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10168  1.1  skrll   (exit $ac_status); } &&
   10169  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   10170  1.1  skrll 			 || test ! -s conftest.err'
   10171  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10172  1.1  skrll   (eval $ac_try) 2>&5
   10173  1.1  skrll   ac_status=$?
   10174  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10175  1.1  skrll   (exit $ac_status); }; } &&
   10176  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   10177  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10178  1.1  skrll   (eval $ac_try) 2>&5
   10179  1.1  skrll   ac_status=$?
   10180  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10181  1.1  skrll   (exit $ac_status); }; }; then
   10182  1.1  skrll   ac_cv_lib_svld_dlopen=yes
   10183  1.1  skrll else
   10184  1.1  skrll   echo "$as_me: failed program was:" >&5
   10185  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   10186  1.1  skrll 
   10187  1.1  skrll ac_cv_lib_svld_dlopen=no
   10188  1.1  skrll fi
   10189  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   10190  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   10191  1.1  skrll LIBS=$ac_check_lib_save_LIBS
   10192  1.1  skrll fi
   10193  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10194  1.1  skrll echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
   10195  1.1  skrll if test $ac_cv_lib_svld_dlopen = yes; then
   10196  1.1  skrll   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10197  1.1  skrll else
   10198  1.1  skrll   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10199  1.1  skrll echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
   10200  1.1  skrll if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10201  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   10202  1.1  skrll else
   10203  1.1  skrll   ac_check_lib_save_LIBS=$LIBS
   10204  1.1  skrll LIBS="-ldld  $LIBS"
   10205  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   10206  1.1  skrll /* confdefs.h.  */
   10207  1.1  skrll _ACEOF
   10208  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   10209  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   10210  1.1  skrll /* end confdefs.h.  */
   10211  1.1  skrll 
   10212  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   10213  1.1  skrll #ifdef __cplusplus
   10214  1.1  skrll extern "C"
   10215  1.1  skrll #endif
   10216  1.1  skrll /* We use char because int might match the return type of a gcc2
   10217  1.1  skrll    builtin and then its argument prototype would still apply.  */
   10218  1.1  skrll char dld_link ();
   10219  1.1  skrll int
   10220  1.1  skrll main ()
   10221  1.1  skrll {
   10222  1.1  skrll dld_link ();
   10223  1.1  skrll   ;
   10224  1.1  skrll   return 0;
   10225  1.1  skrll }
   10226  1.1  skrll _ACEOF
   10227  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   10228  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10229  1.1  skrll   (eval $ac_link) 2>conftest.er1
   10230  1.1  skrll   ac_status=$?
   10231  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   10232  1.1  skrll   rm -f conftest.er1
   10233  1.1  skrll   cat conftest.err >&5
   10234  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10235  1.1  skrll   (exit $ac_status); } &&
   10236  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   10237  1.1  skrll 			 || test ! -s conftest.err'
   10238  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10239  1.1  skrll   (eval $ac_try) 2>&5
   10240  1.1  skrll   ac_status=$?
   10241  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10242  1.1  skrll   (exit $ac_status); }; } &&
   10243  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   10244  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10245  1.1  skrll   (eval $ac_try) 2>&5
   10246  1.1  skrll   ac_status=$?
   10247  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10248  1.1  skrll   (exit $ac_status); }; }; then
   10249  1.1  skrll   ac_cv_lib_dld_dld_link=yes
   10250  1.1  skrll else
   10251  1.1  skrll   echo "$as_me: failed program was:" >&5
   10252  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   10253  1.1  skrll 
   10254  1.1  skrll ac_cv_lib_dld_dld_link=no
   10255  1.1  skrll fi
   10256  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   10257  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   10258  1.1  skrll LIBS=$ac_check_lib_save_LIBS
   10259  1.1  skrll fi
   10260  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10261  1.1  skrll echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
   10262  1.1  skrll if test $ac_cv_lib_dld_dld_link = yes; then
   10263  1.1  skrll   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   10264  1.1  skrll fi
   10265  1.1  skrll 
   10266  1.1  skrll 
   10267  1.1  skrll fi
   10268  1.1  skrll 
   10269  1.1  skrll 
   10270  1.1  skrll fi
   10271  1.1  skrll 
   10272  1.1  skrll 
   10273  1.1  skrll fi
   10274  1.1  skrll 
   10275  1.1  skrll 
   10276  1.1  skrll fi
   10277  1.1  skrll 
   10278  1.1  skrll 
   10279  1.1  skrll fi
   10280  1.1  skrll 
   10281  1.1  skrll     ;;
   10282  1.1  skrll   esac
   10283  1.1  skrll 
   10284  1.1  skrll   if test "x$lt_cv_dlopen" != xno; then
   10285  1.1  skrll     enable_dlopen=yes
   10286  1.1  skrll   else
   10287  1.1  skrll     enable_dlopen=no
   10288  1.1  skrll   fi
   10289  1.1  skrll 
   10290  1.1  skrll   case $lt_cv_dlopen in
   10291  1.1  skrll   dlopen)
   10292  1.1  skrll     save_CPPFLAGS="$CPPFLAGS"
   10293  1.1  skrll     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10294  1.1  skrll 
   10295  1.1  skrll     save_LDFLAGS="$LDFLAGS"
   10296  1.1  skrll     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10297  1.1  skrll 
   10298  1.1  skrll     save_LIBS="$LIBS"
   10299  1.1  skrll     LIBS="$lt_cv_dlopen_libs $LIBS"
   10300  1.1  skrll 
   10301  1.1  skrll     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10302  1.1  skrll echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
   10303  1.1  skrll if test "${lt_cv_dlopen_self+set}" = set; then
   10304  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   10305  1.1  skrll else
   10306  1.1  skrll   	  if test "$cross_compiling" = yes; then :
   10307  1.1  skrll   lt_cv_dlopen_self=cross
   10308  1.1  skrll else
   10309  1.1  skrll   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10310  1.1  skrll   lt_status=$lt_dlunknown
   10311  1.1  skrll   cat > conftest.$ac_ext <<_LT_EOF
   10312  1.1  skrll #line 10312 "configure"
   10313  1.1  skrll #include "confdefs.h"
   10314  1.1  skrll 
   10315  1.1  skrll #if HAVE_DLFCN_H
   10316  1.1  skrll #include <dlfcn.h>
   10317  1.1  skrll #endif
   10318  1.1  skrll 
   10319  1.1  skrll #include <stdio.h>
   10320  1.1  skrll 
   10321  1.1  skrll #ifdef RTLD_GLOBAL
   10322  1.1  skrll #  define LT_DLGLOBAL		RTLD_GLOBAL
   10323  1.1  skrll #else
   10324  1.1  skrll #  ifdef DL_GLOBAL
   10325  1.1  skrll #    define LT_DLGLOBAL		DL_GLOBAL
   10326  1.1  skrll #  else
   10327  1.1  skrll #    define LT_DLGLOBAL		0
   10328  1.1  skrll #  endif
   10329  1.1  skrll #endif
   10330  1.1  skrll 
   10331  1.1  skrll /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10332  1.1  skrll    find out it does not work in some platform. */
   10333  1.1  skrll #ifndef LT_DLLAZY_OR_NOW
   10334  1.1  skrll #  ifdef RTLD_LAZY
   10335  1.1  skrll #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10336  1.1  skrll #  else
   10337  1.1  skrll #    ifdef DL_LAZY
   10338  1.1  skrll #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10339  1.1  skrll #    else
   10340  1.1  skrll #      ifdef RTLD_NOW
   10341  1.1  skrll #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10342  1.1  skrll #      else
   10343  1.1  skrll #        ifdef DL_NOW
   10344  1.1  skrll #          define LT_DLLAZY_OR_NOW	DL_NOW
   10345  1.1  skrll #        else
   10346  1.1  skrll #          define LT_DLLAZY_OR_NOW	0
   10347  1.1  skrll #        endif
   10348  1.1  skrll #      endif
   10349  1.1  skrll #    endif
   10350  1.1  skrll #  endif
   10351  1.1  skrll #endif
   10352  1.1  skrll 
   10353  1.1  skrll #ifdef __cplusplus
   10354  1.1  skrll extern "C" void exit (int);
   10355  1.1  skrll #endif
   10356  1.1  skrll 
   10357  1.1  skrll void fnord() { int i=42;}
   10358  1.1  skrll int main ()
   10359  1.1  skrll {
   10360  1.1  skrll   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10361  1.1  skrll   int status = $lt_dlunknown;
   10362  1.1  skrll 
   10363  1.1  skrll   if (self)
   10364  1.1  skrll     {
   10365  1.1  skrll       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10366  1.1  skrll       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10367  1.1  skrll       /* dlclose (self); */
   10368  1.1  skrll     }
   10369  1.1  skrll   else
   10370  1.1  skrll     puts (dlerror ());
   10371  1.1  skrll 
   10372  1.1  skrll     exit (status);
   10373  1.1  skrll }
   10374  1.1  skrll _LT_EOF
   10375  1.1  skrll   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10376  1.1  skrll   (eval $ac_link) 2>&5
   10377  1.1  skrll   ac_status=$?
   10378  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10379  1.1  skrll   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10380  1.1  skrll     (./conftest; exit; ) >&5 2>/dev/null
   10381  1.1  skrll     lt_status=$?
   10382  1.1  skrll     case x$lt_status in
   10383  1.1  skrll       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10384  1.1  skrll       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10385  1.1  skrll       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10386  1.1  skrll     esac
   10387  1.1  skrll   else :
   10388  1.1  skrll     # compilation failed
   10389  1.1  skrll     lt_cv_dlopen_self=no
   10390  1.1  skrll   fi
   10391  1.1  skrll fi
   10392  1.1  skrll rm -fr conftest*
   10393  1.1  skrll 
   10394  1.1  skrll 
   10395  1.1  skrll fi
   10396  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10397  1.1  skrll echo "${ECHO_T}$lt_cv_dlopen_self" >&6
   10398  1.1  skrll 
   10399  1.1  skrll     if test "x$lt_cv_dlopen_self" = xyes; then
   10400  1.1  skrll       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10401  1.1  skrll       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10402  1.1  skrll echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
   10403  1.1  skrll if test "${lt_cv_dlopen_self_static+set}" = set; then
   10404  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   10405  1.1  skrll else
   10406  1.1  skrll   	  if test "$cross_compiling" = yes; then :
   10407  1.1  skrll   lt_cv_dlopen_self_static=cross
   10408  1.1  skrll else
   10409  1.1  skrll   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10410  1.1  skrll   lt_status=$lt_dlunknown
   10411  1.1  skrll   cat > conftest.$ac_ext <<_LT_EOF
   10412  1.1  skrll #line 10412 "configure"
   10413  1.1  skrll #include "confdefs.h"
   10414  1.1  skrll 
   10415  1.1  skrll #if HAVE_DLFCN_H
   10416  1.1  skrll #include <dlfcn.h>
   10417  1.1  skrll #endif
   10418  1.1  skrll 
   10419  1.1  skrll #include <stdio.h>
   10420  1.1  skrll 
   10421  1.1  skrll #ifdef RTLD_GLOBAL
   10422  1.1  skrll #  define LT_DLGLOBAL		RTLD_GLOBAL
   10423  1.1  skrll #else
   10424  1.1  skrll #  ifdef DL_GLOBAL
   10425  1.1  skrll #    define LT_DLGLOBAL		DL_GLOBAL
   10426  1.1  skrll #  else
   10427  1.1  skrll #    define LT_DLGLOBAL		0
   10428  1.1  skrll #  endif
   10429  1.1  skrll #endif
   10430  1.1  skrll 
   10431  1.1  skrll /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10432  1.1  skrll    find out it does not work in some platform. */
   10433  1.1  skrll #ifndef LT_DLLAZY_OR_NOW
   10434  1.1  skrll #  ifdef RTLD_LAZY
   10435  1.1  skrll #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10436  1.1  skrll #  else
   10437  1.1  skrll #    ifdef DL_LAZY
   10438  1.1  skrll #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10439  1.1  skrll #    else
   10440  1.1  skrll #      ifdef RTLD_NOW
   10441  1.1  skrll #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10442  1.1  skrll #      else
   10443  1.1  skrll #        ifdef DL_NOW
   10444  1.1  skrll #          define LT_DLLAZY_OR_NOW	DL_NOW
   10445  1.1  skrll #        else
   10446  1.1  skrll #          define LT_DLLAZY_OR_NOW	0
   10447  1.1  skrll #        endif
   10448  1.1  skrll #      endif
   10449  1.1  skrll #    endif
   10450  1.1  skrll #  endif
   10451  1.1  skrll #endif
   10452  1.1  skrll 
   10453  1.1  skrll #ifdef __cplusplus
   10454  1.1  skrll extern "C" void exit (int);
   10455  1.1  skrll #endif
   10456  1.1  skrll 
   10457  1.1  skrll void fnord() { int i=42;}
   10458  1.1  skrll int main ()
   10459  1.1  skrll {
   10460  1.1  skrll   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10461  1.1  skrll   int status = $lt_dlunknown;
   10462  1.1  skrll 
   10463  1.1  skrll   if (self)
   10464  1.1  skrll     {
   10465  1.1  skrll       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10466  1.1  skrll       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10467  1.1  skrll       /* dlclose (self); */
   10468  1.1  skrll     }
   10469  1.1  skrll   else
   10470  1.1  skrll     puts (dlerror ());
   10471  1.1  skrll 
   10472  1.1  skrll     exit (status);
   10473  1.1  skrll }
   10474  1.1  skrll _LT_EOF
   10475  1.1  skrll   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10476  1.1  skrll   (eval $ac_link) 2>&5
   10477  1.1  skrll   ac_status=$?
   10478  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10479  1.1  skrll   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10480  1.1  skrll     (./conftest; exit; ) >&5 2>/dev/null
   10481  1.1  skrll     lt_status=$?
   10482  1.1  skrll     case x$lt_status in
   10483  1.1  skrll       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10484  1.1  skrll       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10485  1.1  skrll       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10486  1.1  skrll     esac
   10487  1.1  skrll   else :
   10488  1.1  skrll     # compilation failed
   10489  1.1  skrll     lt_cv_dlopen_self_static=no
   10490  1.1  skrll   fi
   10491  1.1  skrll fi
   10492  1.1  skrll rm -fr conftest*
   10493  1.1  skrll 
   10494  1.1  skrll 
   10495  1.1  skrll fi
   10496  1.1  skrll echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10497  1.1  skrll echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
   10498  1.1  skrll     fi
   10499  1.1  skrll 
   10500  1.1  skrll     CPPFLAGS="$save_CPPFLAGS"
   10501  1.1  skrll     LDFLAGS="$save_LDFLAGS"
   10502  1.1  skrll     LIBS="$save_LIBS"
   10503  1.1  skrll     ;;
   10504  1.1  skrll   esac
   10505  1.1  skrll 
   10506  1.1  skrll   case $lt_cv_dlopen_self in
   10507  1.1  skrll   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10508  1.1  skrll   *) enable_dlopen_self=unknown ;;
   10509  1.1  skrll   esac
   10510  1.1  skrll 
   10511  1.1  skrll   case $lt_cv_dlopen_self_static in
   10512  1.1  skrll   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10513  1.1  skrll   *) enable_dlopen_self_static=unknown ;;
   10514  1.1  skrll   esac
   10515  1.1  skrll fi
   10516  1.1  skrll 
   10517  1.1  skrll 
   10518  1.1  skrll 
   10519  1.1  skrll 
   10520  1.1  skrll 
   10521  1.1  skrll 
   10522  1.1  skrll 
   10523  1.1  skrll 
   10524  1.1  skrll 
   10525  1.1  skrll 
   10526  1.1  skrll 
   10527  1.1  skrll 
   10528  1.1  skrll 
   10529  1.1  skrll 
   10530  1.1  skrll 
   10531  1.1  skrll 
   10532  1.1  skrll 
   10533  1.1  skrll striplib=
   10534  1.1  skrll old_striplib=
   10535  1.1  skrll echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   10536  1.1  skrll echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
   10537  1.1  skrll if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10538  1.1  skrll   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10539  1.1  skrll   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10540  1.1  skrll   echo "$as_me:$LINENO: result: yes" >&5
   10541  1.1  skrll echo "${ECHO_T}yes" >&6
   10542  1.1  skrll else
   10543  1.1  skrll # FIXME - insert some real tests, host_os isn't really good enough
   10544  1.1  skrll   case $host_os in
   10545  1.1  skrll   darwin*)
   10546  1.1  skrll     if test -n "$STRIP" ; then
   10547  1.1  skrll       striplib="$STRIP -x"
   10548  1.1  skrll       old_striplib="$STRIP -S"
   10549  1.1  skrll       echo "$as_me:$LINENO: result: yes" >&5
   10550  1.1  skrll echo "${ECHO_T}yes" >&6
   10551  1.1  skrll     else
   10552  1.1  skrll       echo "$as_me:$LINENO: result: no" >&5
   10553  1.1  skrll echo "${ECHO_T}no" >&6
   10554  1.1  skrll     fi
   10555  1.1  skrll     ;;
   10556  1.1  skrll   *)
   10557  1.1  skrll     echo "$as_me:$LINENO: result: no" >&5
   10558  1.1  skrll echo "${ECHO_T}no" >&6
   10559  1.1  skrll     ;;
   10560  1.1  skrll   esac
   10561  1.1  skrll fi
   10562  1.1  skrll 
   10563  1.1  skrll 
   10564  1.1  skrll 
   10565  1.1  skrll 
   10566  1.1  skrll 
   10567  1.1  skrll 
   10568  1.1  skrll 
   10569  1.1  skrll 
   10570  1.1  skrll 
   10571  1.1  skrll 
   10572  1.1  skrll 
   10573  1.1  skrll 
   10574  1.1  skrll   # Report which library types will actually be built
   10575  1.1  skrll   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10576  1.1  skrll echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
   10577  1.1  skrll   echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10578  1.1  skrll echo "${ECHO_T}$can_build_shared" >&6
   10579  1.1  skrll 
   10580  1.1  skrll   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10581  1.1  skrll echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
   10582  1.1  skrll   test "$can_build_shared" = "no" && enable_shared=no
   10583  1.1  skrll 
   10584  1.1  skrll   # On AIX, shared libraries and static libraries use the same namespace, and
   10585  1.1  skrll   # are all built from PIC.
   10586  1.1  skrll   case $host_os in
   10587  1.1  skrll   aix3*)
   10588  1.1  skrll     test "$enable_shared" = yes && enable_static=no
   10589  1.1  skrll     if test -n "$RANLIB"; then
   10590  1.1  skrll       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10591  1.1  skrll       postinstall_cmds='$RANLIB $lib'
   10592  1.1  skrll     fi
   10593  1.1  skrll     ;;
   10594  1.1  skrll 
   10595  1.1  skrll   aix[4-9]*)
   10596  1.1  skrll     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10597  1.1  skrll       test "$enable_shared" = yes && enable_static=no
   10598  1.1  skrll     fi
   10599  1.1  skrll     ;;
   10600  1.1  skrll   esac
   10601  1.1  skrll   echo "$as_me:$LINENO: result: $enable_shared" >&5
   10602  1.1  skrll echo "${ECHO_T}$enable_shared" >&6
   10603  1.1  skrll 
   10604  1.1  skrll   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10605  1.1  skrll echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
   10606  1.1  skrll   # Make sure either enable_shared or enable_static is yes.
   10607  1.1  skrll   test "$enable_shared" = yes || enable_static=yes
   10608  1.1  skrll   echo "$as_me:$LINENO: result: $enable_static" >&5
   10609  1.1  skrll echo "${ECHO_T}$enable_static" >&6
   10610  1.1  skrll 
   10611  1.1  skrll 
   10612  1.1  skrll 
   10613  1.1  skrll 
   10614  1.1  skrll fi
   10615  1.1  skrll ac_ext=c
   10616  1.1  skrll ac_cpp='$CPP $CPPFLAGS'
   10617  1.1  skrll ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10618  1.1  skrll ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10619  1.1  skrll ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10620  1.1  skrll 
   10621  1.1  skrll CC="$lt_save_CC"
   10622  1.1  skrll 
   10623  1.1  skrll 
   10624  1.1  skrll 
   10625  1.1  skrll 
   10626  1.1  skrll 
   10627  1.1  skrll 
   10628  1.1  skrll 
   10629  1.1  skrll 
   10630  1.1  skrll 
   10631  1.1  skrll 
   10632  1.1  skrll 
   10633  1.1  skrll 
   10634  1.1  skrll 
   10635  1.1  skrll                   ac_config_commands="$ac_config_commands libtool"
   10636  1.1  skrll 
   10637  1.1  skrll 
   10638  1.1  skrll 
   10639  1.1  skrll 
   10640  1.1  skrll # Only expand once:
   10641  1.1  skrll 
   10642  1.1  skrll 
   10643  1.1  skrll 
   10644  1.1  skrll 
   10645  1.1  skrll for ac_func in setmode
   10646  1.1  skrll do
   10647  1.1  skrll as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10648  1.1  skrll echo "$as_me:$LINENO: checking for $ac_func" >&5
   10649  1.1  skrll echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   10650  1.1  skrll if eval "test \"\${$as_ac_var+set}\" = set"; then
   10651  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   10652  1.1  skrll else
   10653  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   10654  1.1  skrll /* confdefs.h.  */
   10655  1.1  skrll _ACEOF
   10656  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   10657  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   10658  1.1  skrll /* end confdefs.h.  */
   10659  1.1  skrll /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   10660  1.1  skrll    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10661  1.1  skrll #define $ac_func innocuous_$ac_func
   10662  1.1  skrll 
   10663  1.1  skrll /* System header to define __stub macros and hopefully few prototypes,
   10664  1.1  skrll     which can conflict with char $ac_func (); below.
   10665  1.1  skrll     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10666  1.1  skrll     <limits.h> exists even on freestanding compilers.  */
   10667  1.1  skrll 
   10668  1.1  skrll #ifdef __STDC__
   10669  1.1  skrll # include <limits.h>
   10670  1.1  skrll #else
   10671  1.1  skrll # include <assert.h>
   10672  1.1  skrll #endif
   10673  1.1  skrll 
   10674  1.1  skrll #undef $ac_func
   10675  1.1  skrll 
   10676  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   10677  1.1  skrll #ifdef __cplusplus
   10678  1.1  skrll extern "C"
   10679  1.1  skrll {
   10680  1.1  skrll #endif
   10681  1.1  skrll /* We use char because int might match the return type of a gcc2
   10682  1.1  skrll    builtin and then its argument prototype would still apply.  */
   10683  1.1  skrll char $ac_func ();
   10684  1.1  skrll /* The GNU C library defines this for functions which it implements
   10685  1.1  skrll     to always fail with ENOSYS.  Some functions are actually named
   10686  1.1  skrll     something starting with __ and the normal name is an alias.  */
   10687  1.1  skrll #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   10688  1.1  skrll choke me
   10689  1.1  skrll #else
   10690  1.1  skrll char (*f) () = $ac_func;
   10691  1.1  skrll #endif
   10692  1.1  skrll #ifdef __cplusplus
   10693  1.1  skrll }
   10694  1.1  skrll #endif
   10695  1.1  skrll 
   10696  1.1  skrll int
   10697  1.1  skrll main ()
   10698  1.1  skrll {
   10699  1.1  skrll return f != $ac_func;
   10700  1.1  skrll   ;
   10701  1.1  skrll   return 0;
   10702  1.1  skrll }
   10703  1.1  skrll _ACEOF
   10704  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   10705  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10706  1.1  skrll   (eval $ac_link) 2>conftest.er1
   10707  1.1  skrll   ac_status=$?
   10708  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   10709  1.1  skrll   rm -f conftest.er1
   10710  1.1  skrll   cat conftest.err >&5
   10711  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10712  1.1  skrll   (exit $ac_status); } &&
   10713  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   10714  1.1  skrll 			 || test ! -s conftest.err'
   10715  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10716  1.1  skrll   (eval $ac_try) 2>&5
   10717  1.1  skrll   ac_status=$?
   10718  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10719  1.1  skrll   (exit $ac_status); }; } &&
   10720  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   10721  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10722  1.1  skrll   (eval $ac_try) 2>&5
   10723  1.1  skrll   ac_status=$?
   10724  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10725  1.1  skrll   (exit $ac_status); }; }; then
   10726  1.1  skrll   eval "$as_ac_var=yes"
   10727  1.1  skrll else
   10728  1.1  skrll   echo "$as_me: failed program was:" >&5
   10729  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   10730  1.1  skrll 
   10731  1.1  skrll eval "$as_ac_var=no"
   10732  1.1  skrll fi
   10733  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   10734  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   10735  1.1  skrll fi
   10736  1.1  skrll echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   10737  1.1  skrll echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   10738  1.1  skrll if test `eval echo '${'$as_ac_var'}'` = yes; then
   10739  1.1  skrll   cat >>confdefs.h <<_ACEOF
   10740  1.1  skrll #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10741  1.1  skrll _ACEOF
   10742  1.1  skrll 
   10743  1.1  skrll fi
   10744  1.1  skrll done
   10745  1.1  skrll 
   10746  1.1  skrll 
   10747  1.1  skrll ALL_LINGUAS="fr tr sv es id da pt_BR de vi rw ga ms fi nl"
   10748  1.1  skrll # If we haven't got the data from the intl directory,
   10749  1.1  skrll # assume NLS is disabled.
   10750  1.1  skrll USE_NLS=no
   10751  1.1  skrll LIBINTL=
   10752  1.1  skrll LIBINTL_DEP=
   10753  1.1  skrll INCINTL=
   10754  1.1  skrll XGETTEXT=
   10755  1.1  skrll GMSGFMT=
   10756  1.1  skrll POSUB=
   10757  1.1  skrll 
   10758  1.1  skrll if test -f  ../intl/config.intl; then
   10759  1.1  skrll   .  ../intl/config.intl
   10760  1.1  skrll fi
   10761  1.1  skrll echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   10762  1.1  skrll echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   10763  1.1  skrll if test x"$USE_NLS" != xyes; then
   10764  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   10765  1.1  skrll echo "${ECHO_T}no" >&6
   10766  1.1  skrll else
   10767  1.1  skrll   echo "$as_me:$LINENO: result: yes" >&5
   10768  1.1  skrll echo "${ECHO_T}yes" >&6
   10769  1.1  skrll 
   10770  1.1  skrll cat >>confdefs.h <<\_ACEOF
   10771  1.1  skrll #define ENABLE_NLS 1
   10772  1.1  skrll _ACEOF
   10773  1.1  skrll 
   10774  1.1  skrll 
   10775  1.1  skrll   echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
   10776  1.1  skrll echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
   10777  1.1  skrll   # Look for .po and .gmo files in the source directory.
   10778  1.1  skrll   CATALOGS=
   10779  1.1  skrll   XLINGUAS=
   10780  1.1  skrll   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   10781  1.1  skrll     # If there aren't any .gmo files the shell will give us the
   10782  1.1  skrll     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   10783  1.1  skrll     # weeded out.
   10784  1.1  skrll     case "$cat" in *\**)
   10785  1.1  skrll       continue;;
   10786  1.1  skrll     esac
   10787  1.1  skrll     # The quadruple backslash is collapsed to a double backslash
   10788  1.1  skrll     # by the backticks, then collapsed again by the double quotes,
   10789  1.1  skrll     # leaving us with one backslash in the sed expression (right
   10790  1.1  skrll     # before the dot that mustn't act as a wildcard).
   10791  1.1  skrll     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   10792  1.1  skrll     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   10793  1.1  skrll     # The user is allowed to set LINGUAS to a list of languages to
   10794  1.1  skrll     # install catalogs for.  If it's empty that means "all of them."
   10795  1.1  skrll     if test "x$LINGUAS" = x; then
   10796  1.1  skrll       CATALOGS="$CATALOGS $cat"
   10797  1.1  skrll       XLINGUAS="$XLINGUAS $lang"
   10798  1.1  skrll     else
   10799  1.1  skrll       case "$LINGUAS" in *$lang*)
   10800  1.1  skrll         CATALOGS="$CATALOGS $cat"
   10801  1.1  skrll         XLINGUAS="$XLINGUAS $lang"
   10802  1.1  skrll         ;;
   10803  1.1  skrll       esac
   10804  1.1  skrll     fi
   10805  1.1  skrll   done
   10806  1.1  skrll   LINGUAS="$XLINGUAS"
   10807  1.1  skrll   echo "$as_me:$LINENO: result: $LINGUAS" >&5
   10808  1.1  skrll echo "${ECHO_T}$LINGUAS" >&6
   10809  1.1  skrll 
   10810  1.1  skrll 
   10811  1.1  skrll     DATADIRNAME=share
   10812  1.1  skrll 
   10813  1.1  skrll   INSTOBJEXT=.mo
   10814  1.1  skrll 
   10815  1.1  skrll   GENCAT=gencat
   10816  1.1  skrll 
   10817  1.1  skrll   CATOBJEXT=.gmo
   10818  1.1  skrll 
   10819  1.1  skrll fi
   10820  1.1  skrll 
   10821  1.1  skrll         MKINSTALLDIRS=
   10822  1.1  skrll   if test -n "$ac_aux_dir"; then
   10823  1.1  skrll     case "$ac_aux_dir" in
   10824  1.1  skrll       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   10825  1.1  skrll       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   10826  1.1  skrll     esac
   10827  1.1  skrll   fi
   10828  1.1  skrll   if test -z "$MKINSTALLDIRS"; then
   10829  1.1  skrll     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   10830  1.1  skrll   fi
   10831  1.1  skrll 
   10832  1.1  skrll 
   10833  1.1  skrll 
   10834  1.1  skrll   echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   10835  1.1  skrll echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   10836  1.1  skrll     # Check whether --enable-nls or --disable-nls was given.
   10837  1.1  skrll if test "${enable_nls+set}" = set; then
   10838  1.1  skrll   enableval="$enable_nls"
   10839  1.1  skrll   USE_NLS=$enableval
   10840  1.1  skrll else
   10841  1.1  skrll   USE_NLS=yes
   10842  1.1  skrll fi;
   10843  1.1  skrll   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   10844  1.1  skrll echo "${ECHO_T}$USE_NLS" >&6
   10845  1.1  skrll 
   10846  1.1  skrll 
   10847  1.1  skrll 
   10848  1.1  skrll 
   10849  1.1  skrll 
   10850  1.1  skrll 
   10851  1.1  skrll # Prepare PATH_SEPARATOR.
   10852  1.1  skrll # The user is always right.
   10853  1.1  skrll if test "${PATH_SEPARATOR+set}" != set; then
   10854  1.1  skrll   echo "#! /bin/sh" >conf$$.sh
   10855  1.1  skrll   echo  "exit 0"   >>conf$$.sh
   10856  1.1  skrll   chmod +x conf$$.sh
   10857  1.1  skrll   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   10858  1.1  skrll     PATH_SEPARATOR=';'
   10859  1.1  skrll   else
   10860  1.1  skrll     PATH_SEPARATOR=:
   10861  1.1  skrll   fi
   10862  1.1  skrll   rm -f conf$$.sh
   10863  1.1  skrll fi
   10864  1.1  skrll 
   10865  1.1  skrll # Find out how to test for executable files. Don't use a zero-byte file,
   10866  1.1  skrll # as systems may use methods other than mode bits to determine executability.
   10867  1.1  skrll cat >conf$$.file <<_ASEOF
   10868  1.1  skrll #! /bin/sh
   10869  1.1  skrll exit 0
   10870  1.1  skrll _ASEOF
   10871  1.1  skrll chmod +x conf$$.file
   10872  1.1  skrll if test -x conf$$.file >/dev/null 2>&1; then
   10873  1.1  skrll   ac_executable_p="test -x"
   10874  1.1  skrll else
   10875  1.1  skrll   ac_executable_p="test -f"
   10876  1.1  skrll fi
   10877  1.1  skrll rm -f conf$$.file
   10878  1.1  skrll 
   10879  1.1  skrll # Extract the first word of "msgfmt", so it can be a program name with args.
   10880  1.1  skrll set dummy msgfmt; ac_word=$2
   10881  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   10882  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   10883  1.1  skrll if test "${ac_cv_path_MSGFMT+set}" = set; then
   10884  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   10885  1.1  skrll else
   10886  1.1  skrll   case "$MSGFMT" in
   10887  1.1  skrll   [\\/]* | ?:[\\/]*)
   10888  1.1  skrll     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   10889  1.1  skrll     ;;
   10890  1.1  skrll   *)
   10891  1.1  skrll     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   10892  1.1  skrll     for ac_dir in $PATH; do
   10893  1.1  skrll       IFS="$ac_save_IFS"
   10894  1.1  skrll       test -z "$ac_dir" && ac_dir=.
   10895  1.1  skrll       for ac_exec_ext in '' $ac_executable_extensions; do
   10896  1.1  skrll         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   10897  1.1  skrll           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   10898  1.1  skrll      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   10899  1.1  skrll             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   10900  1.1  skrll             break 2
   10901  1.1  skrll           fi
   10902  1.1  skrll         fi
   10903  1.1  skrll       done
   10904  1.1  skrll     done
   10905  1.1  skrll     IFS="$ac_save_IFS"
   10906  1.1  skrll   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   10907  1.1  skrll     ;;
   10908  1.1  skrll esac
   10909  1.1  skrll fi
   10910  1.1  skrll MSGFMT="$ac_cv_path_MSGFMT"
   10911  1.1  skrll if test "$MSGFMT" != ":"; then
   10912  1.1  skrll   echo "$as_me:$LINENO: result: $MSGFMT" >&5
   10913  1.1  skrll echo "${ECHO_T}$MSGFMT" >&6
   10914  1.1  skrll else
   10915  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   10916  1.1  skrll echo "${ECHO_T}no" >&6
   10917  1.1  skrll fi
   10918  1.1  skrll 
   10919  1.1  skrll   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   10920  1.1  skrll set dummy gmsgfmt; ac_word=$2
   10921  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   10922  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   10923  1.1  skrll if test "${ac_cv_path_GMSGFMT+set}" = set; then
   10924  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   10925  1.1  skrll else
   10926  1.1  skrll   case $GMSGFMT in
   10927  1.1  skrll   [\\/]* | ?:[\\/]*)
   10928  1.1  skrll   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   10929  1.1  skrll   ;;
   10930  1.1  skrll   *)
   10931  1.1  skrll   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10932  1.1  skrll for as_dir in $PATH
   10933  1.1  skrll do
   10934  1.1  skrll   IFS=$as_save_IFS
   10935  1.1  skrll   test -z "$as_dir" && as_dir=.
   10936  1.1  skrll   for ac_exec_ext in '' $ac_executable_extensions; do
   10937  1.1  skrll   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10938  1.1  skrll     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   10939  1.1  skrll     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   10940  1.1  skrll     break 2
   10941  1.1  skrll   fi
   10942  1.1  skrll done
   10943  1.1  skrll done
   10944  1.1  skrll 
   10945  1.1  skrll   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   10946  1.1  skrll   ;;
   10947  1.1  skrll esac
   10948  1.1  skrll fi
   10949  1.1  skrll GMSGFMT=$ac_cv_path_GMSGFMT
   10950  1.1  skrll 
   10951  1.1  skrll if test -n "$GMSGFMT"; then
   10952  1.1  skrll   echo "$as_me:$LINENO: result: $GMSGFMT" >&5
   10953  1.1  skrll echo "${ECHO_T}$GMSGFMT" >&6
   10954  1.1  skrll else
   10955  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   10956  1.1  skrll echo "${ECHO_T}no" >&6
   10957  1.1  skrll fi
   10958  1.1  skrll 
   10959  1.1  skrll 
   10960  1.1  skrll 
   10961  1.1  skrll # Prepare PATH_SEPARATOR.
   10962  1.1  skrll # The user is always right.
   10963  1.1  skrll if test "${PATH_SEPARATOR+set}" != set; then
   10964  1.1  skrll   echo "#! /bin/sh" >conf$$.sh
   10965  1.1  skrll   echo  "exit 0"   >>conf$$.sh
   10966  1.1  skrll   chmod +x conf$$.sh
   10967  1.1  skrll   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   10968  1.1  skrll     PATH_SEPARATOR=';'
   10969  1.1  skrll   else
   10970  1.1  skrll     PATH_SEPARATOR=:
   10971  1.1  skrll   fi
   10972  1.1  skrll   rm -f conf$$.sh
   10973  1.1  skrll fi
   10974  1.1  skrll 
   10975  1.1  skrll # Find out how to test for executable files. Don't use a zero-byte file,
   10976  1.1  skrll # as systems may use methods other than mode bits to determine executability.
   10977  1.1  skrll cat >conf$$.file <<_ASEOF
   10978  1.1  skrll #! /bin/sh
   10979  1.1  skrll exit 0
   10980  1.1  skrll _ASEOF
   10981  1.1  skrll chmod +x conf$$.file
   10982  1.1  skrll if test -x conf$$.file >/dev/null 2>&1; then
   10983  1.1  skrll   ac_executable_p="test -x"
   10984  1.1  skrll else
   10985  1.1  skrll   ac_executable_p="test -f"
   10986  1.1  skrll fi
   10987  1.1  skrll rm -f conf$$.file
   10988  1.1  skrll 
   10989  1.1  skrll # Extract the first word of "xgettext", so it can be a program name with args.
   10990  1.1  skrll set dummy xgettext; ac_word=$2
   10991  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   10992  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   10993  1.1  skrll if test "${ac_cv_path_XGETTEXT+set}" = set; then
   10994  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   10995  1.1  skrll else
   10996  1.1  skrll   case "$XGETTEXT" in
   10997  1.1  skrll   [\\/]* | ?:[\\/]*)
   10998  1.1  skrll     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   10999  1.1  skrll     ;;
   11000  1.1  skrll   *)
   11001  1.1  skrll     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11002  1.1  skrll     for ac_dir in $PATH; do
   11003  1.1  skrll       IFS="$ac_save_IFS"
   11004  1.1  skrll       test -z "$ac_dir" && ac_dir=.
   11005  1.1  skrll       for ac_exec_ext in '' $ac_executable_extensions; do
   11006  1.1  skrll         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11007  1.1  skrll           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   11008  1.1  skrll      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11009  1.1  skrll             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   11010  1.1  skrll             break 2
   11011  1.1  skrll           fi
   11012  1.1  skrll         fi
   11013  1.1  skrll       done
   11014  1.1  skrll     done
   11015  1.1  skrll     IFS="$ac_save_IFS"
   11016  1.1  skrll   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   11017  1.1  skrll     ;;
   11018  1.1  skrll esac
   11019  1.1  skrll fi
   11020  1.1  skrll XGETTEXT="$ac_cv_path_XGETTEXT"
   11021  1.1  skrll if test "$XGETTEXT" != ":"; then
   11022  1.1  skrll   echo "$as_me:$LINENO: result: $XGETTEXT" >&5
   11023  1.1  skrll echo "${ECHO_T}$XGETTEXT" >&6
   11024  1.1  skrll else
   11025  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   11026  1.1  skrll echo "${ECHO_T}no" >&6
   11027  1.1  skrll fi
   11028  1.1  skrll 
   11029  1.1  skrll     rm -f messages.po
   11030  1.1  skrll 
   11031  1.1  skrll 
   11032  1.1  skrll # Prepare PATH_SEPARATOR.
   11033  1.1  skrll # The user is always right.
   11034  1.1  skrll if test "${PATH_SEPARATOR+set}" != set; then
   11035  1.1  skrll   echo "#! /bin/sh" >conf$$.sh
   11036  1.1  skrll   echo  "exit 0"   >>conf$$.sh
   11037  1.1  skrll   chmod +x conf$$.sh
   11038  1.1  skrll   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11039  1.1  skrll     PATH_SEPARATOR=';'
   11040  1.1  skrll   else
   11041  1.1  skrll     PATH_SEPARATOR=:
   11042  1.1  skrll   fi
   11043  1.1  skrll   rm -f conf$$.sh
   11044  1.1  skrll fi
   11045  1.1  skrll 
   11046  1.1  skrll # Find out how to test for executable files. Don't use a zero-byte file,
   11047  1.1  skrll # as systems may use methods other than mode bits to determine executability.
   11048  1.1  skrll cat >conf$$.file <<_ASEOF
   11049  1.1  skrll #! /bin/sh
   11050  1.1  skrll exit 0
   11051  1.1  skrll _ASEOF
   11052  1.1  skrll chmod +x conf$$.file
   11053  1.1  skrll if test -x conf$$.file >/dev/null 2>&1; then
   11054  1.1  skrll   ac_executable_p="test -x"
   11055  1.1  skrll else
   11056  1.1  skrll   ac_executable_p="test -f"
   11057  1.1  skrll fi
   11058  1.1  skrll rm -f conf$$.file
   11059  1.1  skrll 
   11060  1.1  skrll # Extract the first word of "msgmerge", so it can be a program name with args.
   11061  1.1  skrll set dummy msgmerge; ac_word=$2
   11062  1.1  skrll echo "$as_me:$LINENO: checking for $ac_word" >&5
   11063  1.1  skrll echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   11064  1.1  skrll if test "${ac_cv_path_MSGMERGE+set}" = set; then
   11065  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   11066  1.1  skrll else
   11067  1.1  skrll   case "$MSGMERGE" in
   11068  1.1  skrll   [\\/]* | ?:[\\/]*)
   11069  1.1  skrll     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   11070  1.1  skrll     ;;
   11071  1.1  skrll   *)
   11072  1.1  skrll     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11073  1.1  skrll     for ac_dir in $PATH; do
   11074  1.1  skrll       IFS="$ac_save_IFS"
   11075  1.1  skrll       test -z "$ac_dir" && ac_dir=.
   11076  1.1  skrll       for ac_exec_ext in '' $ac_executable_extensions; do
   11077  1.1  skrll         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11078  1.1  skrll           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   11079  1.1  skrll             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   11080  1.1  skrll             break 2
   11081  1.1  skrll           fi
   11082  1.1  skrll         fi
   11083  1.1  skrll       done
   11084  1.1  skrll     done
   11085  1.1  skrll     IFS="$ac_save_IFS"
   11086  1.1  skrll   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   11087  1.1  skrll     ;;
   11088  1.1  skrll esac
   11089  1.1  skrll fi
   11090  1.1  skrll MSGMERGE="$ac_cv_path_MSGMERGE"
   11091  1.1  skrll if test "$MSGMERGE" != ":"; then
   11092  1.1  skrll   echo "$as_me:$LINENO: result: $MSGMERGE" >&5
   11093  1.1  skrll echo "${ECHO_T}$MSGMERGE" >&6
   11094  1.1  skrll else
   11095  1.1  skrll   echo "$as_me:$LINENO: result: no" >&5
   11096  1.1  skrll echo "${ECHO_T}no" >&6
   11097  1.1  skrll fi
   11098  1.1  skrll 
   11099  1.1  skrll 
   11100  1.1  skrll       if test "$GMSGFMT" != ":"; then
   11101  1.1  skrll             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   11102  1.1  skrll        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11103  1.1  skrll       : ;
   11104  1.1  skrll     else
   11105  1.1  skrll       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   11106  1.1  skrll       echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   11107  1.1  skrll echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
   11108  1.1  skrll       GMSGFMT=":"
   11109  1.1  skrll     fi
   11110  1.1  skrll   fi
   11111  1.1  skrll 
   11112  1.1  skrll       if test "$XGETTEXT" != ":"; then
   11113  1.1  skrll             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   11114  1.1  skrll        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11115  1.1  skrll       : ;
   11116  1.1  skrll     else
   11117  1.1  skrll       echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
   11118  1.1  skrll echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
   11119  1.1  skrll       XGETTEXT=":"
   11120  1.1  skrll     fi
   11121  1.1  skrll         rm -f messages.po
   11122  1.1  skrll   fi
   11123  1.1  skrll 
   11124  1.1  skrll             ac_config_commands="$ac_config_commands default-1"
   11125  1.1  skrll 
   11126  1.1  skrll 
   11127  1.1  skrll 
   11128  1.1  skrll echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   11129  1.1  skrll echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
   11130  1.1  skrll     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
   11131  1.1  skrll if test "${enable_maintainer_mode+set}" = set; then
   11132  1.1  skrll   enableval="$enable_maintainer_mode"
   11133  1.1  skrll   USE_MAINTAINER_MODE=$enableval
   11134  1.1  skrll else
   11135  1.1  skrll   USE_MAINTAINER_MODE=no
   11136  1.1  skrll fi;
   11137  1.1  skrll   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   11138  1.1  skrll echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
   11139  1.1  skrll 
   11140  1.1  skrll 
   11141  1.1  skrll if test $USE_MAINTAINER_MODE = yes; then
   11142  1.1  skrll   MAINTAINER_MODE_TRUE=
   11143  1.1  skrll   MAINTAINER_MODE_FALSE='#'
   11144  1.1  skrll else
   11145  1.1  skrll   MAINTAINER_MODE_TRUE='#'
   11146  1.1  skrll   MAINTAINER_MODE_FALSE=
   11147  1.1  skrll fi
   11148  1.1  skrll 
   11149  1.1  skrll   MAINT=$MAINTAINER_MODE_TRUE
   11150  1.1  skrll 
   11151  1.1  skrll 
   11152  1.1  skrll 
   11153  1.1  skrll 
   11154  1.1  skrll if false; then
   11155  1.1  skrll   GENINSRC_NEVER_TRUE=
   11156  1.1  skrll   GENINSRC_NEVER_FALSE='#'
   11157  1.1  skrll else
   11158  1.1  skrll   GENINSRC_NEVER_TRUE='#'
   11159  1.1  skrll   GENINSRC_NEVER_FALSE=
   11160  1.1  skrll fi
   11161  1.1  skrll 
   11162  1.1  skrll 
   11163  1.1  skrll 
   11164  1.1  skrll 
   11165  1.1  skrll for ac_header in sys/gmon_out.h
   11166  1.1  skrll do
   11167  1.1  skrll as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11168  1.1  skrll if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11169  1.1  skrll   echo "$as_me:$LINENO: checking for $ac_header" >&5
   11170  1.1  skrll echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   11171  1.1  skrll if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11172  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   11173  1.1  skrll fi
   11174  1.1  skrll echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   11175  1.1  skrll echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   11176  1.1  skrll else
   11177  1.1  skrll   # Is the header compilable?
   11178  1.1  skrll echo "$as_me:$LINENO: checking $ac_header usability" >&5
   11179  1.1  skrll echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   11180  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   11181  1.1  skrll /* confdefs.h.  */
   11182  1.1  skrll _ACEOF
   11183  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   11184  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   11185  1.1  skrll /* end confdefs.h.  */
   11186  1.1  skrll $ac_includes_default
   11187  1.1  skrll #include <$ac_header>
   11188  1.1  skrll _ACEOF
   11189  1.1  skrll rm -f conftest.$ac_objext
   11190  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11191  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   11192  1.1  skrll   ac_status=$?
   11193  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   11194  1.1  skrll   rm -f conftest.er1
   11195  1.1  skrll   cat conftest.err >&5
   11196  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11197  1.1  skrll   (exit $ac_status); } &&
   11198  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   11199  1.1  skrll 			 || test ! -s conftest.err'
   11200  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11201  1.1  skrll   (eval $ac_try) 2>&5
   11202  1.1  skrll   ac_status=$?
   11203  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11204  1.1  skrll   (exit $ac_status); }; } &&
   11205  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   11206  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11207  1.1  skrll   (eval $ac_try) 2>&5
   11208  1.1  skrll   ac_status=$?
   11209  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11210  1.1  skrll   (exit $ac_status); }; }; then
   11211  1.1  skrll   ac_header_compiler=yes
   11212  1.1  skrll else
   11213  1.1  skrll   echo "$as_me: failed program was:" >&5
   11214  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   11215  1.1  skrll 
   11216  1.1  skrll ac_header_compiler=no
   11217  1.1  skrll fi
   11218  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11219  1.1  skrll echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   11220  1.1  skrll echo "${ECHO_T}$ac_header_compiler" >&6
   11221  1.1  skrll 
   11222  1.1  skrll # Is the header present?
   11223  1.1  skrll echo "$as_me:$LINENO: checking $ac_header presence" >&5
   11224  1.1  skrll echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   11225  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   11226  1.1  skrll /* confdefs.h.  */
   11227  1.1  skrll _ACEOF
   11228  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   11229  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   11230  1.1  skrll /* end confdefs.h.  */
   11231  1.1  skrll #include <$ac_header>
   11232  1.1  skrll _ACEOF
   11233  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   11234  1.1  skrll   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   11235  1.1  skrll   ac_status=$?
   11236  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   11237  1.1  skrll   rm -f conftest.er1
   11238  1.1  skrll   cat conftest.err >&5
   11239  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11240  1.1  skrll   (exit $ac_status); } >/dev/null; then
   11241  1.1  skrll   if test -s conftest.err; then
   11242  1.1  skrll     ac_cpp_err=$ac_c_preproc_warn_flag
   11243  1.1  skrll     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   11244  1.1  skrll   else
   11245  1.1  skrll     ac_cpp_err=
   11246  1.1  skrll   fi
   11247  1.1  skrll else
   11248  1.1  skrll   ac_cpp_err=yes
   11249  1.1  skrll fi
   11250  1.1  skrll if test -z "$ac_cpp_err"; then
   11251  1.1  skrll   ac_header_preproc=yes
   11252  1.1  skrll else
   11253  1.1  skrll   echo "$as_me: failed program was:" >&5
   11254  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   11255  1.1  skrll 
   11256  1.1  skrll   ac_header_preproc=no
   11257  1.1  skrll fi
   11258  1.1  skrll rm -f conftest.err conftest.$ac_ext
   11259  1.1  skrll echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   11260  1.1  skrll echo "${ECHO_T}$ac_header_preproc" >&6
   11261  1.1  skrll 
   11262  1.1  skrll # So?  What about this header?
   11263  1.1  skrll case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   11264  1.1  skrll   yes:no: )
   11265  1.1  skrll     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   11266  1.1  skrll echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   11267  1.1  skrll     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   11268  1.1  skrll echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   11269  1.1  skrll     ac_header_preproc=yes
   11270  1.1  skrll     ;;
   11271  1.1  skrll   no:yes:* )
   11272  1.1  skrll     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   11273  1.1  skrll echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   11274  1.1  skrll     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   11275  1.1  skrll echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   11276  1.1  skrll     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   11277  1.1  skrll echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   11278  1.1  skrll     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   11279  1.1  skrll echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   11280  1.1  skrll     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   11281  1.1  skrll echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   11282  1.1  skrll     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   11283  1.1  skrll echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   11284  1.1  skrll     (
   11285  1.1  skrll       cat <<\_ASBOX
   11286  1.1  skrll ## ------------------------------------------ ##
   11287  1.1  skrll ## Report this to the AC_PACKAGE_NAME lists.  ##
   11288  1.1  skrll ## ------------------------------------------ ##
   11289  1.1  skrll _ASBOX
   11290  1.1  skrll     ) |
   11291  1.1  skrll       sed "s/^/$as_me: WARNING:     /" >&2
   11292  1.1  skrll     ;;
   11293  1.1  skrll esac
   11294  1.1  skrll echo "$as_me:$LINENO: checking for $ac_header" >&5
   11295  1.1  skrll echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   11296  1.1  skrll if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11297  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   11298  1.1  skrll else
   11299  1.1  skrll   eval "$as_ac_Header=\$ac_header_preproc"
   11300  1.1  skrll fi
   11301  1.1  skrll echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   11302  1.1  skrll echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   11303  1.1  skrll 
   11304  1.1  skrll fi
   11305  1.1  skrll if test `eval echo '${'$as_ac_Header'}'` = yes; then
   11306  1.1  skrll   cat >>confdefs.h <<_ACEOF
   11307  1.1  skrll #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11308  1.1  skrll _ACEOF
   11309  1.1  skrll 
   11310  1.1  skrll fi
   11311  1.1  skrll 
   11312  1.1  skrll done
   11313  1.1  skrll 
   11314  1.1  skrll 
   11315  1.1  skrll echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
   11316  1.1  skrll echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
   11317  1.1  skrll if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then
   11318  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   11319  1.1  skrll else
   11320  1.1  skrll   cat >conftest.$ac_ext <<_ACEOF
   11321  1.1  skrll /* confdefs.h.  */
   11322  1.1  skrll _ACEOF
   11323  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   11324  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   11325  1.1  skrll /* end confdefs.h.  */
   11326  1.1  skrll #include <unistd.h>
   11327  1.1  skrll int
   11328  1.1  skrll main ()
   11329  1.1  skrll {
   11330  1.1  skrll extern int getopt (int, char *const*, const char *);
   11331  1.1  skrll   ;
   11332  1.1  skrll   return 0;
   11333  1.1  skrll }
   11334  1.1  skrll _ACEOF
   11335  1.1  skrll rm -f conftest.$ac_objext
   11336  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11337  1.1  skrll   (eval $ac_compile) 2>conftest.er1
   11338  1.1  skrll   ac_status=$?
   11339  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   11340  1.1  skrll   rm -f conftest.er1
   11341  1.1  skrll   cat conftest.err >&5
   11342  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11343  1.1  skrll   (exit $ac_status); } &&
   11344  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   11345  1.1  skrll 			 || test ! -s conftest.err'
   11346  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11347  1.1  skrll   (eval $ac_try) 2>&5
   11348  1.1  skrll   ac_status=$?
   11349  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11350  1.1  skrll   (exit $ac_status); }; } &&
   11351  1.1  skrll 	 { ac_try='test -s conftest.$ac_objext'
   11352  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11353  1.1  skrll   (eval $ac_try) 2>&5
   11354  1.1  skrll   ac_status=$?
   11355  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11356  1.1  skrll   (exit $ac_status); }; }; then
   11357  1.1  skrll   gprof_cv_decl_getopt_unistd_h=yes
   11358  1.1  skrll else
   11359  1.1  skrll   echo "$as_me: failed program was:" >&5
   11360  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   11361  1.1  skrll 
   11362  1.1  skrll gprof_cv_decl_getopt_unistd_h=no
   11363  1.1  skrll fi
   11364  1.1  skrll rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11365  1.1  skrll fi
   11366  1.1  skrll 
   11367  1.1  skrll echo "$as_me:$LINENO: result: $gprof_cv_decl_getopt_unistd_h" >&5
   11368  1.1  skrll echo "${ECHO_T}$gprof_cv_decl_getopt_unistd_h" >&6
   11369  1.1  skrll if test $gprof_cv_decl_getopt_unistd_h = yes; then
   11370  1.1  skrll 
   11371  1.1  skrll cat >>confdefs.h <<\_ACEOF
   11372  1.1  skrll #define HAVE_DECL_GETOPT 1
   11373  1.1  skrll _ACEOF
   11374  1.1  skrll 
   11375  1.1  skrll fi
   11376  1.1  skrll 
   11377  1.1  skrll # Some systems have fabs only in -lm, not in -lc.
   11378  1.1  skrll echo "$as_me:$LINENO: checking for library containing fabs" >&5
   11379  1.1  skrll echo $ECHO_N "checking for library containing fabs... $ECHO_C" >&6
   11380  1.1  skrll if test "${ac_cv_search_fabs+set}" = set; then
   11381  1.1  skrll   echo $ECHO_N "(cached) $ECHO_C" >&6
   11382  1.1  skrll else
   11383  1.1  skrll   ac_func_search_save_LIBS=$LIBS
   11384  1.1  skrll ac_cv_search_fabs=no
   11385  1.1  skrll cat >conftest.$ac_ext <<_ACEOF
   11386  1.1  skrll /* confdefs.h.  */
   11387  1.1  skrll _ACEOF
   11388  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   11389  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   11390  1.1  skrll /* end confdefs.h.  */
   11391  1.1  skrll 
   11392  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   11393  1.1  skrll #ifdef __cplusplus
   11394  1.1  skrll extern "C"
   11395  1.1  skrll #endif
   11396  1.1  skrll /* We use char because int might match the return type of a gcc2
   11397  1.1  skrll    builtin and then its argument prototype would still apply.  */
   11398  1.1  skrll char fabs ();
   11399  1.1  skrll int
   11400  1.1  skrll main ()
   11401  1.1  skrll {
   11402  1.1  skrll fabs ();
   11403  1.1  skrll   ;
   11404  1.1  skrll   return 0;
   11405  1.1  skrll }
   11406  1.1  skrll _ACEOF
   11407  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   11408  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11409  1.1  skrll   (eval $ac_link) 2>conftest.er1
   11410  1.1  skrll   ac_status=$?
   11411  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   11412  1.1  skrll   rm -f conftest.er1
   11413  1.1  skrll   cat conftest.err >&5
   11414  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11415  1.1  skrll   (exit $ac_status); } &&
   11416  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   11417  1.1  skrll 			 || test ! -s conftest.err'
   11418  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11419  1.1  skrll   (eval $ac_try) 2>&5
   11420  1.1  skrll   ac_status=$?
   11421  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11422  1.1  skrll   (exit $ac_status); }; } &&
   11423  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   11424  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11425  1.1  skrll   (eval $ac_try) 2>&5
   11426  1.1  skrll   ac_status=$?
   11427  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11428  1.1  skrll   (exit $ac_status); }; }; then
   11429  1.1  skrll   ac_cv_search_fabs="none required"
   11430  1.1  skrll else
   11431  1.1  skrll   echo "$as_me: failed program was:" >&5
   11432  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   11433  1.1  skrll 
   11434  1.1  skrll fi
   11435  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   11436  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   11437  1.1  skrll if test "$ac_cv_search_fabs" = no; then
   11438  1.1  skrll   for ac_lib in m; do
   11439  1.1  skrll     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11440  1.1  skrll     cat >conftest.$ac_ext <<_ACEOF
   11441  1.1  skrll /* confdefs.h.  */
   11442  1.1  skrll _ACEOF
   11443  1.1  skrll cat confdefs.h >>conftest.$ac_ext
   11444  1.1  skrll cat >>conftest.$ac_ext <<_ACEOF
   11445  1.1  skrll /* end confdefs.h.  */
   11446  1.1  skrll 
   11447  1.1  skrll /* Override any gcc2 internal prototype to avoid an error.  */
   11448  1.1  skrll #ifdef __cplusplus
   11449  1.1  skrll extern "C"
   11450  1.1  skrll #endif
   11451  1.1  skrll /* We use char because int might match the return type of a gcc2
   11452  1.1  skrll    builtin and then its argument prototype would still apply.  */
   11453  1.1  skrll char fabs ();
   11454  1.1  skrll int
   11455  1.1  skrll main ()
   11456  1.1  skrll {
   11457  1.1  skrll fabs ();
   11458  1.1  skrll   ;
   11459  1.1  skrll   return 0;
   11460  1.1  skrll }
   11461  1.1  skrll _ACEOF
   11462  1.1  skrll rm -f conftest.$ac_objext conftest$ac_exeext
   11463  1.1  skrll if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11464  1.1  skrll   (eval $ac_link) 2>conftest.er1
   11465  1.1  skrll   ac_status=$?
   11466  1.1  skrll   grep -v '^ *+' conftest.er1 >conftest.err
   11467  1.1  skrll   rm -f conftest.er1
   11468  1.1  skrll   cat conftest.err >&5
   11469  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11470  1.1  skrll   (exit $ac_status); } &&
   11471  1.1  skrll 	 { ac_try='test -z "$ac_c_werror_flag"
   11472  1.1  skrll 			 || test ! -s conftest.err'
   11473  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11474  1.1  skrll   (eval $ac_try) 2>&5
   11475  1.1  skrll   ac_status=$?
   11476  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11477  1.1  skrll   (exit $ac_status); }; } &&
   11478  1.1  skrll 	 { ac_try='test -s conftest$ac_exeext'
   11479  1.1  skrll   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11480  1.1  skrll   (eval $ac_try) 2>&5
   11481  1.1  skrll   ac_status=$?
   11482  1.1  skrll   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11483  1.1  skrll   (exit $ac_status); }; }; then
   11484  1.1  skrll   ac_cv_search_fabs="-l$ac_lib"
   11485  1.1  skrll break
   11486  1.1  skrll else
   11487  1.1  skrll   echo "$as_me: failed program was:" >&5
   11488  1.1  skrll sed 's/^/| /' conftest.$ac_ext >&5
   11489  1.1  skrll 
   11490  1.1  skrll fi
   11491  1.1  skrll rm -f conftest.err conftest.$ac_objext \
   11492  1.1  skrll       conftest$ac_exeext conftest.$ac_ext
   11493  1.1  skrll   done
   11494  1.1  skrll fi
   11495  1.1  skrll LIBS=$ac_func_search_save_LIBS
   11496  1.1  skrll fi
   11497  1.1  skrll echo "$as_me:$LINENO: result: $ac_cv_search_fabs" >&5
   11498  1.1  skrll echo "${ECHO_T}$ac_cv_search_fabs" >&6
   11499  1.1  skrll if test "$ac_cv_search_fabs" != no; then
   11500  1.1  skrll   test "$ac_cv_search_fabs" = "none required" || LIBS="$ac_cv_search_fabs $LIBS"
   11501  1.1  skrll 
   11502  1.1  skrll fi
   11503  1.1  skrll 
   11504  1.1  skrll 
   11505  1.1  skrll 
   11506  1.1  skrll GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   11507  1.1  skrll 
   11508  1.1  skrll # Check whether --enable-werror or --disable-werror was given.
   11509  1.1  skrll if test "${enable_werror+set}" = set; then
   11510  1.1  skrll   enableval="$enable_werror"
   11511  1.1  skrll   case "${enableval}" in
   11512  1.1  skrll      yes | y) ERROR_ON_WARNING="yes" ;;
   11513  1.1  skrll      no | n)  ERROR_ON_WARNING="no" ;;
   11514  1.1  skrll      *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
   11515  1.1  skrll echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
   11516  1.1  skrll    { (exit 1); exit 1; }; } ;;
   11517  1.1  skrll    esac
   11518  1.1  skrll fi;
   11519  1.1  skrll 
   11520  1.1  skrll # Enable -Wno-format by default when using gcc on mingw
   11521  1.1  skrll case "${host}" in
   11522  1.1  skrll   *-*-mingw32*)
   11523  1.1  skrll     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   11524  1.1  skrll       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   11525  1.1  skrll     fi
   11526  1.1  skrll     ;;
   11527  1.1  skrll   *) ;;
   11528  1.1  skrll esac
   11529  1.1  skrll 
   11530  1.1  skrll # Enable -Werror by default when using gcc
   11531  1.1  skrll if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   11532  1.1  skrll     ERROR_ON_WARNING=yes
   11533  1.1  skrll fi
   11534  1.1  skrll 
   11535  1.1  skrll NO_WERROR=
   11536  1.1  skrll if test "${ERROR_ON_WARNING}" = yes ; then
   11537  1.1  skrll     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   11538  1.1  skrll     NO_WERROR="-Wno-error"
   11539  1.1  skrll fi
   11540  1.1  skrll 
   11541  1.1  skrll if test "${GCC}" = yes ; then
   11542  1.1  skrll   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   11543  1.1  skrll fi
   11544  1.1  skrll 
   11545  1.1  skrll # Check whether --enable-build-warnings or --disable-build-warnings was given.
   11546  1.1  skrll if test "${enable_build_warnings+set}" = set; then
   11547  1.1  skrll   enableval="$enable_build_warnings"
   11548  1.1  skrll   case "${enableval}" in
   11549  1.1  skrll   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
   11550  1.1  skrll   no)	if test "${GCC}" = yes ; then
   11551  1.1  skrll 	  WARN_CFLAGS="-w"
   11552  1.1  skrll 	fi;;
   11553  1.1  skrll   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   11554  1.1  skrll         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
   11555  1.1  skrll   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   11556  1.1  skrll         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
   11557  1.1  skrll   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   11558  1.1  skrll esac
   11559  1.1  skrll fi;
   11560  1.1  skrll 
   11561  1.1  skrll if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   11562  1.1  skrll   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   11563  1.1  skrll fi
   11564  1.1  skrll 
   11565  1.1  skrll 
   11566  1.1  skrll 
   11567  1.1  skrll 
   11568  1.1  skrll 
   11569  1.1  skrll 
   11570  1.1  skrll 
   11571  1.1  skrll 
   11572  1.1  skrll 
   11573  1.1  skrll                     ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
   11574  1.1  skrll 
   11575  1.1  skrll cat >confcache <<\_ACEOF
   11576  1.1  skrll # This file is a shell script that caches the results of configure
   11577  1.1  skrll # tests run on this system so they can be shared between configure
   11578  1.1  skrll # scripts and configure runs, see configure's option --config-cache.
   11579  1.1  skrll # It is not useful on other systems.  If it contains results you don't
   11580  1.1  skrll # want to keep, you may remove or edit it.
   11581  1.1  skrll #
   11582  1.1  skrll # config.status only pays attention to the cache file if you give it
   11583  1.1  skrll # the --recheck option to rerun configure.
   11584  1.1  skrll #
   11585  1.1  skrll # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11586  1.1  skrll # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11587  1.1  skrll # following values.
   11588  1.1  skrll 
   11589  1.1  skrll _ACEOF
   11590  1.1  skrll 
   11591  1.1  skrll # The following way of writing the cache mishandles newlines in values,
   11592  1.1  skrll # but we know of no workaround that is simple, portable, and efficient.
   11593  1.1  skrll # So, don't put newlines in cache variables' values.
   11594  1.1  skrll # Ultrix sh set writes to stderr and can't be redirected directly,
   11595  1.1  skrll # and sets the high bit in the cache file unless we assign to the vars.
   11596  1.1  skrll {
   11597  1.1  skrll   (set) 2>&1 |
   11598  1.1  skrll     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   11599  1.1  skrll     *ac_space=\ *)
   11600  1.1  skrll       # `set' does not quote correctly, so add quotes (double-quote
   11601  1.1  skrll       # substitution turns \\\\ into \\, and sed turns \\ into \).
   11602  1.1  skrll       sed -n \
   11603  1.1  skrll 	"s/'/'\\\\''/g;
   11604  1.1  skrll 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11605  1.1  skrll       ;;
   11606  1.1  skrll     *)
   11607  1.1  skrll       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11608  1.1  skrll       sed -n \
   11609  1.1  skrll 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   11610  1.1  skrll       ;;
   11611  1.1  skrll     esac;
   11612  1.1  skrll } |
   11613  1.1  skrll   sed '
   11614  1.1  skrll      t clear
   11615  1.1  skrll      : clear
   11616  1.1  skrll      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11617  1.1  skrll      t end
   11618  1.1  skrll      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11619  1.1  skrll      : end' >>confcache
   11620  1.1  skrll if diff $cache_file confcache >/dev/null 2>&1; then :; else
   11621  1.1  skrll   if test -w $cache_file; then
   11622  1.1  skrll     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   11623  1.1  skrll     cat confcache >$cache_file
   11624  1.1  skrll   else
   11625  1.1  skrll     echo "not updating unwritable cache $cache_file"
   11626  1.1  skrll   fi
   11627  1.1  skrll fi
   11628  1.1  skrll rm -f confcache
   11629  1.1  skrll 
   11630  1.1  skrll test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11631  1.1  skrll # Let make expand exec_prefix.
   11632  1.1  skrll test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11633  1.1  skrll 
   11634  1.1  skrll # VPATH may cause trouble with some makes, so we remove $(srcdir),
   11635  1.1  skrll # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   11636  1.1  skrll # trailing colons and then remove the whole line if VPATH becomes empty
   11637  1.1  skrll # (actually we leave an empty line to preserve line numbers).
   11638  1.1  skrll if test "x$srcdir" = x.; then
   11639  1.1  skrll   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   11640  1.1  skrll s/:*\$(srcdir):*/:/;
   11641  1.1  skrll s/:*\${srcdir}:*/:/;
   11642  1.1  skrll s/:*@srcdir@:*/:/;
   11643  1.1  skrll s/^\([^=]*=[	 ]*\):*/\1/;
   11644  1.1  skrll s/:*$//;
   11645  1.1  skrll s/^[^=]*=[	 ]*$//;
   11646  1.1  skrll }'
   11647  1.1  skrll fi
   11648  1.1  skrll 
   11649  1.1  skrll DEFS=-DHAVE_CONFIG_H
   11650  1.1  skrll 
   11651  1.1  skrll ac_libobjs=
   11652  1.1  skrll ac_ltlibobjs=
   11653  1.1  skrll for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11654  1.1  skrll   # 1. Remove the extension, and $U if already installed.
   11655  1.1  skrll   ac_i=`echo "$ac_i" |
   11656  1.1  skrll 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   11657  1.1  skrll   # 2. Add them.
   11658  1.1  skrll   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   11659  1.1  skrll   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   11660  1.1  skrll done
   11661  1.1  skrll LIBOBJS=$ac_libobjs
   11662  1.1  skrll 
   11663  1.1  skrll LTLIBOBJS=$ac_ltlibobjs
   11664  1.1  skrll 
   11665  1.1  skrll 
   11666  1.1  skrll if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11667  1.1  skrll   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   11668  1.1  skrll Usually this means the macro was only invoked conditionally." >&5
   11669  1.1  skrll echo "$as_me: error: conditional \"AMDEP\" was never defined.
   11670  1.1  skrll Usually this means the macro was only invoked conditionally." >&2;}
   11671  1.1  skrll    { (exit 1); exit 1; }; }
   11672  1.1  skrll fi
   11673  1.1  skrll if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11674  1.1  skrll   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   11675  1.1  skrll Usually this means the macro was only invoked conditionally." >&5
   11676  1.1  skrll echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   11677  1.1  skrll Usually this means the macro was only invoked conditionally." >&2;}
   11678  1.1  skrll    { (exit 1); exit 1; }; }
   11679  1.1  skrll fi
   11680  1.1  skrll if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11681  1.1  skrll   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   11682  1.1  skrll Usually this means the macro was only invoked conditionally." >&5
   11683  1.1  skrll echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   11684  1.1  skrll Usually this means the macro was only invoked conditionally." >&2;}
   11685  1.1  skrll    { (exit 1); exit 1; }; }
   11686  1.1  skrll fi
   11687  1.1  skrll if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   11688  1.1  skrll   { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
   11689  1.1  skrll Usually this means the macro was only invoked conditionally." >&5
   11690  1.1  skrll echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
   11691  1.1  skrll Usually this means the macro was only invoked conditionally." >&2;}
   11692  1.1  skrll    { (exit 1); exit 1; }; }
   11693  1.1  skrll fi
   11694  1.1  skrll 
   11695  1.1  skrll : ${CONFIG_STATUS=./config.status}
   11696  1.1  skrll ac_clean_files_save=$ac_clean_files
   11697  1.1  skrll ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11698  1.1  skrll { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   11699  1.1  skrll echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11700  1.1  skrll cat >$CONFIG_STATUS <<_ACEOF
   11701  1.1  skrll #! $SHELL
   11702  1.1  skrll # Generated by $as_me.
   11703  1.1  skrll # Run this file to recreate the current configuration.
   11704  1.1  skrll # Compiler output produced by configure, useful for debugging
   11705  1.1  skrll # configure, is in config.log if it exists.
   11706  1.1  skrll 
   11707  1.1  skrll debug=false
   11708  1.1  skrll ac_cs_recheck=false
   11709  1.1  skrll ac_cs_silent=false
   11710  1.1  skrll SHELL=\${CONFIG_SHELL-$SHELL}
   11711  1.1  skrll _ACEOF
   11712  1.1  skrll 
   11713  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   11714  1.1  skrll ## --------------------- ##
   11715  1.1  skrll ## M4sh Initialization.  ##
   11716  1.1  skrll ## --------------------- ##
   11717  1.1  skrll 
   11718  1.1  skrll # Be Bourne compatible
   11719  1.1  skrll if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   11720  1.1  skrll   emulate sh
   11721  1.1  skrll   NULLCMD=:
   11722  1.1  skrll   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   11723  1.1  skrll   # is contrary to our usage.  Disable this feature.
   11724  1.1  skrll   alias -g '${1+"$@"}'='"$@"'
   11725  1.1  skrll elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   11726  1.1  skrll   set -o posix
   11727  1.1  skrll fi
   11728  1.1  skrll DUALCASE=1; export DUALCASE # for MKS sh
   11729  1.1  skrll 
   11730  1.1  skrll # Support unset when possible.
   11731  1.1  skrll if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11732  1.1  skrll   as_unset=unset
   11733  1.1  skrll else
   11734  1.1  skrll   as_unset=false
   11735  1.1  skrll fi
   11736  1.1  skrll 
   11737  1.1  skrll 
   11738  1.1  skrll # Work around bugs in pre-3.0 UWIN ksh.
   11739  1.1  skrll $as_unset ENV MAIL MAILPATH
   11740  1.1  skrll PS1='$ '
   11741  1.1  skrll PS2='> '
   11742  1.1  skrll PS4='+ '
   11743  1.1  skrll 
   11744  1.1  skrll # NLS nuisances.
   11745  1.1  skrll for as_var in \
   11746  1.1  skrll   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   11747  1.1  skrll   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   11748  1.1  skrll   LC_TELEPHONE LC_TIME
   11749  1.1  skrll do
   11750  1.1  skrll   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   11751  1.1  skrll     eval $as_var=C; export $as_var
   11752  1.1  skrll   else
   11753  1.1  skrll     $as_unset $as_var
   11754  1.1  skrll   fi
   11755  1.1  skrll done
   11756  1.1  skrll 
   11757  1.1  skrll # Required to use basename.
   11758  1.1  skrll if expr a : '\(a\)' >/dev/null 2>&1; then
   11759  1.1  skrll   as_expr=expr
   11760  1.1  skrll else
   11761  1.1  skrll   as_expr=false
   11762  1.1  skrll fi
   11763  1.1  skrll 
   11764  1.1  skrll if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   11765  1.1  skrll   as_basename=basename
   11766  1.1  skrll else
   11767  1.1  skrll   as_basename=false
   11768  1.1  skrll fi
   11769  1.1  skrll 
   11770  1.1  skrll 
   11771  1.1  skrll # Name of the executable.
   11772  1.1  skrll as_me=`$as_basename "$0" ||
   11773  1.1  skrll $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11774  1.1  skrll 	 X"$0" : 'X\(//\)$' \| \
   11775  1.1  skrll 	 X"$0" : 'X\(/\)$' \| \
   11776  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   11777  1.1  skrll echo X/"$0" |
   11778  1.1  skrll     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   11779  1.1  skrll   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   11780  1.1  skrll   	  /^X\/\(\/\).*/{ s//\1/; q; }
   11781  1.1  skrll   	  s/.*/./; q'`
   11782  1.1  skrll 
   11783  1.1  skrll 
   11784  1.1  skrll # PATH needs CR, and LINENO needs CR and PATH.
   11785  1.1  skrll # Avoid depending upon Character Ranges.
   11786  1.1  skrll as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11787  1.1  skrll as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11788  1.1  skrll as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11789  1.1  skrll as_cr_digits='0123456789'
   11790  1.1  skrll as_cr_alnum=$as_cr_Letters$as_cr_digits
   11791  1.1  skrll 
   11792  1.1  skrll # The user is always right.
   11793  1.1  skrll if test "${PATH_SEPARATOR+set}" != set; then
   11794  1.1  skrll   echo "#! /bin/sh" >conf$$.sh
   11795  1.1  skrll   echo  "exit 0"   >>conf$$.sh
   11796  1.1  skrll   chmod +x conf$$.sh
   11797  1.1  skrll   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11798  1.1  skrll     PATH_SEPARATOR=';'
   11799  1.1  skrll   else
   11800  1.1  skrll     PATH_SEPARATOR=:
   11801  1.1  skrll   fi
   11802  1.1  skrll   rm -f conf$$.sh
   11803  1.1  skrll fi
   11804  1.1  skrll 
   11805  1.1  skrll 
   11806  1.1  skrll   as_lineno_1=$LINENO
   11807  1.1  skrll   as_lineno_2=$LINENO
   11808  1.1  skrll   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   11809  1.1  skrll   test "x$as_lineno_1" != "x$as_lineno_2" &&
   11810  1.1  skrll   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   11811  1.1  skrll   # Find who we are.  Look in the path if we contain no path at all
   11812  1.1  skrll   # relative or not.
   11813  1.1  skrll   case $0 in
   11814  1.1  skrll     *[\\/]* ) as_myself=$0 ;;
   11815  1.1  skrll     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11816  1.1  skrll for as_dir in $PATH
   11817  1.1  skrll do
   11818  1.1  skrll   IFS=$as_save_IFS
   11819  1.1  skrll   test -z "$as_dir" && as_dir=.
   11820  1.1  skrll   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11821  1.1  skrll done
   11822  1.1  skrll 
   11823  1.1  skrll        ;;
   11824  1.1  skrll   esac
   11825  1.1  skrll   # We did not find ourselves, most probably we were run as `sh COMMAND'
   11826  1.1  skrll   # in which case we are not to be found in the path.
   11827  1.1  skrll   if test "x$as_myself" = x; then
   11828  1.1  skrll     as_myself=$0
   11829  1.1  skrll   fi
   11830  1.1  skrll   if test ! -f "$as_myself"; then
   11831  1.1  skrll     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   11832  1.1  skrll echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   11833  1.1  skrll    { (exit 1); exit 1; }; }
   11834  1.1  skrll   fi
   11835  1.1  skrll   case $CONFIG_SHELL in
   11836  1.1  skrll   '')
   11837  1.1  skrll     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11838  1.1  skrll for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   11839  1.1  skrll do
   11840  1.1  skrll   IFS=$as_save_IFS
   11841  1.1  skrll   test -z "$as_dir" && as_dir=.
   11842  1.1  skrll   for as_base in sh bash ksh sh5; do
   11843  1.1  skrll 	 case $as_dir in
   11844  1.1  skrll 	 /*)
   11845  1.1  skrll 	   if ("$as_dir/$as_base" -c '
   11846  1.1  skrll   as_lineno_1=$LINENO
   11847  1.1  skrll   as_lineno_2=$LINENO
   11848  1.1  skrll   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   11849  1.1  skrll   test "x$as_lineno_1" != "x$as_lineno_2" &&
   11850  1.1  skrll   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   11851  1.1  skrll 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   11852  1.1  skrll 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   11853  1.1  skrll 	     CONFIG_SHELL=$as_dir/$as_base
   11854  1.1  skrll 	     export CONFIG_SHELL
   11855  1.1  skrll 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   11856  1.1  skrll 	   fi;;
   11857  1.1  skrll 	 esac
   11858  1.1  skrll        done
   11859  1.1  skrll done
   11860  1.1  skrll ;;
   11861  1.1  skrll   esac
   11862  1.1  skrll 
   11863  1.1  skrll   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   11864  1.1  skrll   # uniformly replaced by the line number.  The first 'sed' inserts a
   11865  1.1  skrll   # line-number line before each line; the second 'sed' does the real
   11866  1.1  skrll   # work.  The second script uses 'N' to pair each line-number line
   11867  1.1  skrll   # with the numbered line, and appends trailing '-' during
   11868  1.1  skrll   # substitution so that $LINENO is not a special case at line end.
   11869  1.1  skrll   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   11870  1.1  skrll   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   11871  1.1  skrll   sed '=' <$as_myself |
   11872  1.1  skrll     sed '
   11873  1.1  skrll       N
   11874  1.1  skrll       s,$,-,
   11875  1.1  skrll       : loop
   11876  1.1  skrll       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   11877  1.1  skrll       t loop
   11878  1.1  skrll       s,-$,,
   11879  1.1  skrll       s,^['$as_cr_digits']*\n,,
   11880  1.1  skrll     ' >$as_me.lineno &&
   11881  1.1  skrll   chmod +x $as_me.lineno ||
   11882  1.1  skrll     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   11883  1.1  skrll echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   11884  1.1  skrll    { (exit 1); exit 1; }; }
   11885  1.1  skrll 
   11886  1.1  skrll   # Don't try to exec as it changes $[0], causing all sort of problems
   11887  1.1  skrll   # (the dirname of $[0] is not the place where we might find the
   11888  1.1  skrll   # original and so on.  Autoconf is especially sensible to this).
   11889  1.1  skrll   . ./$as_me.lineno
   11890  1.1  skrll   # Exit status is that of the last command.
   11891  1.1  skrll   exit
   11892  1.1  skrll }
   11893  1.1  skrll 
   11894  1.1  skrll 
   11895  1.1  skrll case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   11896  1.1  skrll   *c*,-n*) ECHO_N= ECHO_C='
   11897  1.1  skrll ' ECHO_T='	' ;;
   11898  1.1  skrll   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   11899  1.1  skrll   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   11900  1.1  skrll esac
   11901  1.1  skrll 
   11902  1.1  skrll if expr a : '\(a\)' >/dev/null 2>&1; then
   11903  1.1  skrll   as_expr=expr
   11904  1.1  skrll else
   11905  1.1  skrll   as_expr=false
   11906  1.1  skrll fi
   11907  1.1  skrll 
   11908  1.1  skrll rm -f conf$$ conf$$.exe conf$$.file
   11909  1.1  skrll echo >conf$$.file
   11910  1.1  skrll if ln -s conf$$.file conf$$ 2>/dev/null; then
   11911  1.1  skrll   # We could just check for DJGPP; but this test a) works b) is more generic
   11912  1.1  skrll   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   11913  1.1  skrll   if test -f conf$$.exe; then
   11914  1.1  skrll     # Don't use ln at all; we don't have any links
   11915  1.1  skrll     as_ln_s='cp -p'
   11916  1.1  skrll   else
   11917  1.1  skrll     as_ln_s='ln -s'
   11918  1.1  skrll   fi
   11919  1.1  skrll elif ln conf$$.file conf$$ 2>/dev/null; then
   11920  1.1  skrll   as_ln_s=ln
   11921  1.1  skrll else
   11922  1.1  skrll   as_ln_s='cp -p'
   11923  1.1  skrll fi
   11924  1.1  skrll rm -f conf$$ conf$$.exe conf$$.file
   11925  1.1  skrll 
   11926  1.1  skrll if mkdir -p . 2>/dev/null; then
   11927  1.1  skrll   as_mkdir_p=:
   11928  1.1  skrll else
   11929  1.1  skrll   test -d ./-p && rmdir ./-p
   11930  1.1  skrll   as_mkdir_p=false
   11931  1.1  skrll fi
   11932  1.1  skrll 
   11933  1.1  skrll as_executable_p="test -f"
   11934  1.1  skrll 
   11935  1.1  skrll # Sed expression to map a string onto a valid CPP name.
   11936  1.1  skrll as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11937  1.1  skrll 
   11938  1.1  skrll # Sed expression to map a string onto a valid variable name.
   11939  1.1  skrll as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11940  1.1  skrll 
   11941  1.1  skrll 
   11942  1.1  skrll # IFS
   11943  1.1  skrll # We need space, tab and new line, in precisely that order.
   11944  1.1  skrll as_nl='
   11945  1.1  skrll '
   11946  1.1  skrll IFS=" 	$as_nl"
   11947  1.1  skrll 
   11948  1.1  skrll # CDPATH.
   11949  1.1  skrll $as_unset CDPATH
   11950  1.1  skrll 
   11951  1.1  skrll exec 6>&1
   11952  1.1  skrll 
   11953  1.1  skrll # Open the log real soon, to keep \$[0] and so on meaningful, and to
   11954  1.1  skrll # report actual input values of CONFIG_FILES etc. instead of their
   11955  1.1  skrll # values after options handling.  Logging --version etc. is OK.
   11956  1.1  skrll exec 5>>config.log
   11957  1.1  skrll {
   11958  1.1  skrll   echo
   11959  1.1  skrll   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11960  1.1  skrll ## Running $as_me. ##
   11961  1.1  skrll _ASBOX
   11962  1.1  skrll } >&5
   11963  1.1  skrll cat >&5 <<_CSEOF
   11964  1.1  skrll 
   11965  1.1  skrll This file was extended by $as_me, which was
   11966  1.1  skrll generated by GNU Autoconf 2.59.  Invocation command line was
   11967  1.1  skrll 
   11968  1.1  skrll   CONFIG_FILES    = $CONFIG_FILES
   11969  1.1  skrll   CONFIG_HEADERS  = $CONFIG_HEADERS
   11970  1.1  skrll   CONFIG_LINKS    = $CONFIG_LINKS
   11971  1.1  skrll   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11972  1.1  skrll   $ $0 $@
   11973  1.1  skrll 
   11974  1.1  skrll _CSEOF
   11975  1.1  skrll echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   11976  1.1  skrll echo >&5
   11977  1.1  skrll _ACEOF
   11978  1.1  skrll 
   11979  1.1  skrll # Files that config.status was made for.
   11980  1.1  skrll if test -n "$ac_config_files"; then
   11981  1.1  skrll   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   11982  1.1  skrll fi
   11983  1.1  skrll 
   11984  1.1  skrll if test -n "$ac_config_headers"; then
   11985  1.1  skrll   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   11986  1.1  skrll fi
   11987  1.1  skrll 
   11988  1.1  skrll if test -n "$ac_config_links"; then
   11989  1.1  skrll   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   11990  1.1  skrll fi
   11991  1.1  skrll 
   11992  1.1  skrll if test -n "$ac_config_commands"; then
   11993  1.1  skrll   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   11994  1.1  skrll fi
   11995  1.1  skrll 
   11996  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   11997  1.1  skrll 
   11998  1.1  skrll ac_cs_usage="\
   11999  1.1  skrll \`$as_me' instantiates files from templates according to the
   12000  1.1  skrll current configuration.
   12001  1.1  skrll 
   12002  1.1  skrll Usage: $0 [OPTIONS] [FILE]...
   12003  1.1  skrll 
   12004  1.1  skrll   -h, --help       print this help, then exit
   12005  1.1  skrll   -V, --version    print version number, then exit
   12006  1.1  skrll   -q, --quiet      do not print progress messages
   12007  1.1  skrll   -d, --debug      don't remove temporary files
   12008  1.1  skrll       --recheck    update $as_me by reconfiguring in the same conditions
   12009  1.1  skrll   --file=FILE[:TEMPLATE]
   12010  1.1  skrll 		   instantiate the configuration file FILE
   12011  1.1  skrll   --header=FILE[:TEMPLATE]
   12012  1.1  skrll 		   instantiate the configuration header FILE
   12013  1.1  skrll 
   12014  1.1  skrll Configuration files:
   12015  1.1  skrll $config_files
   12016  1.1  skrll 
   12017  1.1  skrll Configuration headers:
   12018  1.1  skrll $config_headers
   12019  1.1  skrll 
   12020  1.1  skrll Configuration commands:
   12021  1.1  skrll $config_commands
   12022  1.1  skrll 
   12023  1.1  skrll Report bugs to <bug-autoconf@gnu.org>."
   12024  1.1  skrll _ACEOF
   12025  1.1  skrll 
   12026  1.1  skrll cat >>$CONFIG_STATUS <<_ACEOF
   12027  1.1  skrll ac_cs_version="\\
   12028  1.1  skrll config.status
   12029  1.1  skrll configured by $0, generated by GNU Autoconf 2.59,
   12030  1.1  skrll   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   12031  1.1  skrll 
   12032  1.1  skrll Copyright (C) 2003 Free Software Foundation, Inc.
   12033  1.1  skrll This config.status script is free software; the Free Software Foundation
   12034  1.1  skrll gives unlimited permission to copy, distribute and modify it."
   12035  1.1  skrll srcdir=$srcdir
   12036  1.1  skrll INSTALL="$INSTALL"
   12037  1.1  skrll _ACEOF
   12038  1.1  skrll 
   12039  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   12040  1.1  skrll # If no file are specified by the user, then we need to provide default
   12041  1.1  skrll # value.  By we need to know if files were specified by the user.
   12042  1.1  skrll ac_need_defaults=:
   12043  1.1  skrll while test $# != 0
   12044  1.1  skrll do
   12045  1.1  skrll   case $1 in
   12046  1.1  skrll   --*=*)
   12047  1.1  skrll     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   12048  1.1  skrll     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   12049  1.1  skrll     ac_shift=:
   12050  1.1  skrll     ;;
   12051  1.1  skrll   -*)
   12052  1.1  skrll     ac_option=$1
   12053  1.1  skrll     ac_optarg=$2
   12054  1.1  skrll     ac_shift=shift
   12055  1.1  skrll     ;;
   12056  1.1  skrll   *) # This is not an option, so the user has probably given explicit
   12057  1.1  skrll      # arguments.
   12058  1.1  skrll      ac_option=$1
   12059  1.1  skrll      ac_need_defaults=false;;
   12060  1.1  skrll   esac
   12061  1.1  skrll 
   12062  1.1  skrll   case $ac_option in
   12063  1.1  skrll   # Handling of the options.
   12064  1.1  skrll _ACEOF
   12065  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   12066  1.1  skrll   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12067  1.1  skrll     ac_cs_recheck=: ;;
   12068  1.1  skrll   --version | --vers* | -V )
   12069  1.1  skrll     echo "$ac_cs_version"; exit 0 ;;
   12070  1.1  skrll   --he | --h)
   12071  1.1  skrll     # Conflict between --help and --header
   12072  1.1  skrll     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   12073  1.1  skrll Try \`$0 --help' for more information." >&5
   12074  1.1  skrll echo "$as_me: error: ambiguous option: $1
   12075  1.1  skrll Try \`$0 --help' for more information." >&2;}
   12076  1.1  skrll    { (exit 1); exit 1; }; };;
   12077  1.1  skrll   --help | --hel | -h )
   12078  1.1  skrll     echo "$ac_cs_usage"; exit 0 ;;
   12079  1.1  skrll   --debug | --d* | -d )
   12080  1.1  skrll     debug=: ;;
   12081  1.1  skrll   --file | --fil | --fi | --f )
   12082  1.1  skrll     $ac_shift
   12083  1.1  skrll     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   12084  1.1  skrll     ac_need_defaults=false;;
   12085  1.1  skrll   --header | --heade | --head | --hea )
   12086  1.1  skrll     $ac_shift
   12087  1.1  skrll     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   12088  1.1  skrll     ac_need_defaults=false;;
   12089  1.1  skrll   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12090  1.1  skrll   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12091  1.1  skrll     ac_cs_silent=: ;;
   12092  1.1  skrll 
   12093  1.1  skrll   # This is an error.
   12094  1.1  skrll   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   12095  1.1  skrll Try \`$0 --help' for more information." >&5
   12096  1.1  skrll echo "$as_me: error: unrecognized option: $1
   12097  1.1  skrll Try \`$0 --help' for more information." >&2;}
   12098  1.1  skrll    { (exit 1); exit 1; }; } ;;
   12099  1.1  skrll 
   12100  1.1  skrll   *) ac_config_targets="$ac_config_targets $1" ;;
   12101  1.1  skrll 
   12102  1.1  skrll   esac
   12103  1.1  skrll   shift
   12104  1.1  skrll done
   12105  1.1  skrll 
   12106  1.1  skrll ac_configure_extra_args=
   12107  1.1  skrll 
   12108  1.1  skrll if $ac_cs_silent; then
   12109  1.1  skrll   exec 6>/dev/null
   12110  1.1  skrll   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12111  1.1  skrll fi
   12112  1.1  skrll 
   12113  1.1  skrll _ACEOF
   12114  1.1  skrll cat >>$CONFIG_STATUS <<_ACEOF
   12115  1.1  skrll if \$ac_cs_recheck; then
   12116  1.1  skrll   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   12117  1.1  skrll   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12118  1.1  skrll fi
   12119  1.1  skrll 
   12120  1.1  skrll _ACEOF
   12121  1.1  skrll 
   12122  1.1  skrll cat >>$CONFIG_STATUS <<_ACEOF
   12123  1.1  skrll #
   12124  1.1  skrll # INIT-COMMANDS section.
   12125  1.1  skrll #
   12126  1.1  skrll 
   12127  1.1  skrll AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12128  1.1  skrll 
   12129  1.1  skrll 
   12130  1.1  skrll # The HP-UX ksh and POSIX shell print the target directory to stdout
   12131  1.1  skrll # if CDPATH is set.
   12132  1.1  skrll (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12133  1.1  skrll 
   12134  1.1  skrll sed_quote_subst='$sed_quote_subst'
   12135  1.1  skrll double_quote_subst='$double_quote_subst'
   12136  1.1  skrll delay_variable_subst='$delay_variable_subst'
   12137  1.1  skrll macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12138  1.1  skrll macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12139  1.1  skrll enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12140  1.1  skrll enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12141  1.1  skrll pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12142  1.1  skrll enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12143  1.1  skrll host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12144  1.1  skrll host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12145  1.1  skrll host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12146  1.1  skrll build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12147  1.1  skrll build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12148  1.1  skrll build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12149  1.1  skrll SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12150  1.1  skrll Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12151  1.1  skrll GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12152  1.1  skrll EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12153  1.1  skrll FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12154  1.1  skrll LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12155  1.1  skrll NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12156  1.1  skrll LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12157  1.1  skrll max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12158  1.1  skrll ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12159  1.1  skrll exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12160  1.1  skrll lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12161  1.1  skrll lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12162  1.1  skrll lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12163  1.1  skrll reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12164  1.1  skrll reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12165  1.1  skrll deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12166  1.1  skrll file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12167  1.1  skrll AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12168  1.1  skrll AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12169  1.1  skrll STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12170  1.1  skrll RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12171  1.1  skrll old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12172  1.1  skrll old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12173  1.1  skrll old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12174  1.1  skrll CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12175  1.1  skrll CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12176  1.1  skrll compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12177  1.1  skrll GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12178  1.1  skrll lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12179  1.1  skrll lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12180  1.1  skrll lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   12181  1.1  skrll objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12182  1.1  skrll SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12183  1.1  skrll ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12184  1.1  skrll MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12185  1.1  skrll lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12186  1.1  skrll lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12187  1.1  skrll lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12188  1.1  skrll lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12189  1.1  skrll lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12190  1.1  skrll need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12191  1.1  skrll libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12192  1.1  skrll shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12193  1.1  skrll extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12194  1.1  skrll archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12195  1.1  skrll enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12196  1.1  skrll export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12197  1.1  skrll whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12198  1.1  skrll compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12199  1.1  skrll old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12200  1.1  skrll old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12201  1.1  skrll archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12202  1.1  skrll archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12203  1.1  skrll module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12204  1.1  skrll module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12205  1.1  skrll with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12206  1.1  skrll allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12207  1.1  skrll no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12208  1.1  skrll hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12209  1.1  skrll hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12210  1.1  skrll hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12211  1.1  skrll hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12212  1.1  skrll hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12213  1.1  skrll hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12214  1.1  skrll hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12215  1.1  skrll hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12216  1.1  skrll inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12217  1.1  skrll link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12218  1.1  skrll fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12219  1.1  skrll always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12220  1.1  skrll export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12221  1.1  skrll exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12222  1.1  skrll include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12223  1.1  skrll prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12224  1.1  skrll file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12225  1.1  skrll variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12226  1.1  skrll need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12227  1.1  skrll need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12228  1.1  skrll version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12229  1.1  skrll runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12230  1.1  skrll shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12231  1.1  skrll shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12232  1.1  skrll libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12233  1.1  skrll library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12234  1.1  skrll soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12235  1.1  skrll postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12236  1.1  skrll postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12237  1.1  skrll finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12238  1.1  skrll finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12239  1.1  skrll hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12240  1.1  skrll sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12241  1.1  skrll sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12242  1.1  skrll hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12243  1.1  skrll enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12244  1.1  skrll enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12245  1.1  skrll enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12246  1.1  skrll old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12247  1.1  skrll striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12248  1.1  skrll 
   12249  1.1  skrll LTCC='$LTCC'
   12250  1.1  skrll LTCFLAGS='$LTCFLAGS'
   12251  1.1  skrll compiler='$compiler_DEFAULT'
   12252  1.1  skrll 
   12253  1.1  skrll # Quote evaled strings.
   12254  1.1  skrll for var in SED \
   12255  1.1  skrll GREP \
   12256  1.1  skrll EGREP \
   12257  1.1  skrll FGREP \
   12258  1.1  skrll LD \
   12259  1.1  skrll NM \
   12260  1.1  skrll LN_S \
   12261  1.1  skrll lt_SP2NL \
   12262  1.1  skrll lt_NL2SP \
   12263  1.1  skrll reload_flag \
   12264  1.1  skrll deplibs_check_method \
   12265  1.1  skrll file_magic_cmd \
   12266  1.1  skrll AR \
   12267  1.1  skrll AR_FLAGS \
   12268  1.1  skrll STRIP \
   12269  1.1  skrll RANLIB \
   12270  1.1  skrll CC \
   12271  1.1  skrll CFLAGS \
   12272  1.1  skrll compiler \
   12273  1.1  skrll lt_cv_sys_global_symbol_pipe \
   12274  1.1  skrll lt_cv_sys_global_symbol_to_cdecl \
   12275  1.1  skrll lt_cv_sys_global_symbol_to_c_name_address \
   12276  1.1  skrll SHELL \
   12277  1.1  skrll ECHO \
   12278  1.1  skrll lt_prog_compiler_no_builtin_flag \
   12279  1.1  skrll lt_prog_compiler_wl \
   12280  1.1  skrll lt_prog_compiler_pic \
   12281  1.1  skrll lt_prog_compiler_static \
   12282  1.1  skrll lt_cv_prog_compiler_c_o \
   12283  1.1  skrll need_locks \
   12284  1.1  skrll shrext_cmds \
   12285  1.1  skrll export_dynamic_flag_spec \
   12286  1.1  skrll whole_archive_flag_spec \
   12287  1.1  skrll compiler_needs_object \
   12288  1.1  skrll with_gnu_ld \
   12289  1.1  skrll allow_undefined_flag \
   12290  1.1  skrll no_undefined_flag \
   12291  1.1  skrll hardcode_libdir_flag_spec \
   12292  1.1  skrll hardcode_libdir_flag_spec_ld \
   12293  1.1  skrll hardcode_libdir_separator \
   12294  1.1  skrll fix_srcfile_path \
   12295  1.1  skrll exclude_expsyms \
   12296  1.1  skrll include_expsyms \
   12297  1.1  skrll file_list_spec \
   12298  1.1  skrll variables_saved_for_relink \
   12299  1.1  skrll libname_spec \
   12300  1.1  skrll library_names_spec \
   12301  1.1  skrll soname_spec \
   12302  1.1  skrll finish_eval \
   12303  1.1  skrll old_striplib \
   12304  1.1  skrll striplib; do
   12305  1.1  skrll     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12306  1.1  skrll     *[\\\\\\\`\\"\\\$]*)
   12307  1.1  skrll       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12308  1.1  skrll       ;;
   12309  1.1  skrll     *)
   12310  1.1  skrll       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12311  1.1  skrll       ;;
   12312  1.1  skrll     esac
   12313  1.1  skrll done
   12314  1.1  skrll 
   12315  1.1  skrll # Double-quote double-evaled strings.
   12316  1.1  skrll for var in reload_cmds \
   12317  1.1  skrll old_postinstall_cmds \
   12318  1.1  skrll old_postuninstall_cmds \
   12319  1.1  skrll old_archive_cmds \
   12320  1.1  skrll extract_expsyms_cmds \
   12321  1.1  skrll old_archive_from_new_cmds \
   12322  1.1  skrll old_archive_from_expsyms_cmds \
   12323  1.1  skrll archive_cmds \
   12324  1.1  skrll archive_expsym_cmds \
   12325  1.1  skrll module_cmds \
   12326  1.1  skrll module_expsym_cmds \
   12327  1.1  skrll export_symbols_cmds \
   12328  1.1  skrll prelink_cmds \
   12329  1.1  skrll postinstall_cmds \
   12330  1.1  skrll postuninstall_cmds \
   12331  1.1  skrll finish_cmds \
   12332  1.1  skrll sys_lib_search_path_spec \
   12333  1.1  skrll sys_lib_dlsearch_path_spec; do
   12334  1.1  skrll     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12335  1.1  skrll     *[\\\\\\\`\\"\\\$]*)
   12336  1.1  skrll       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12337  1.1  skrll       ;;
   12338  1.1  skrll     *)
   12339  1.1  skrll       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12340  1.1  skrll       ;;
   12341  1.1  skrll     esac
   12342  1.1  skrll done
   12343  1.1  skrll 
   12344  1.1  skrll # Fix-up fallback echo if it was mangled by the above quoting rules.
   12345  1.1  skrll case \$lt_ECHO in
   12346  1.1  skrll *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12347  1.1  skrll   ;;
   12348  1.1  skrll esac
   12349  1.1  skrll 
   12350  1.1  skrll ac_aux_dir='$ac_aux_dir'
   12351  1.1  skrll xsi_shell='$xsi_shell'
   12352  1.1  skrll lt_shell_append='$lt_shell_append'
   12353  1.1  skrll 
   12354  1.1  skrll # See if we are running on zsh, and set the options which allow our
   12355  1.1  skrll # commands through without removal of \ escapes INIT.
   12356  1.1  skrll if test -n "\${ZSH_VERSION+set}" ; then
   12357  1.1  skrll    setopt NO_GLOB_SUBST
   12358  1.1  skrll fi
   12359  1.1  skrll 
   12360  1.1  skrll 
   12361  1.1  skrll     PACKAGE='$PACKAGE'
   12362  1.1  skrll     VERSION='$VERSION'
   12363  1.1  skrll     TIMESTAMP='$TIMESTAMP'
   12364  1.1  skrll     RM='$RM'
   12365  1.1  skrll     ofile='$ofile'
   12366  1.1  skrll 
   12367  1.1  skrll 
   12368  1.1  skrll 
   12369  1.1  skrll # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   12370  1.1  skrll     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   12371  1.1  skrll     # from automake.
   12372  1.1  skrll     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   12373  1.1  skrll     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   12374  1.1  skrll     LINGUAS="${LINGUAS-%UNSET%}"
   12375  1.1  skrll 
   12376  1.1  skrll 
   12377  1.1  skrll _ACEOF
   12378  1.1  skrll 
   12379  1.1  skrll 
   12380  1.1  skrll 
   12381  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   12382  1.1  skrll for ac_config_target in $ac_config_targets
   12383  1.1  skrll do
   12384  1.1  skrll   case "$ac_config_target" in
   12385  1.1  skrll   # Handling of arguments.
   12386  1.1  skrll   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12387  1.1  skrll   "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   12388  1.1  skrll   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12389  1.1  skrll   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12390  1.1  skrll   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   12391  1.1  skrll   "gconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
   12392  1.1  skrll   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   12393  1.1  skrll echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   12394  1.1  skrll    { (exit 1); exit 1; }; };;
   12395  1.1  skrll   esac
   12396  1.1  skrll done
   12397  1.1  skrll 
   12398  1.1  skrll # If the user did not use the arguments to specify the items to instantiate,
   12399  1.1  skrll # then the envvar interface is used.  Set only those that are not.
   12400  1.1  skrll # We use the long form for the default assignment because of an extremely
   12401  1.1  skrll # bizarre bug on SunOS 4.1.3.
   12402  1.1  skrll if $ac_need_defaults; then
   12403  1.1  skrll   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12404  1.1  skrll   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12405  1.1  skrll   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12406  1.1  skrll fi
   12407  1.1  skrll 
   12408  1.1  skrll # Have a temporary directory for convenience.  Make it in the build tree
   12409  1.1  skrll # simply because there is no reason to put it here, and in addition,
   12410  1.1  skrll # creating and moving files from /tmp can sometimes cause problems.
   12411  1.1  skrll # Create a temporary directory, and hook for its removal unless debugging.
   12412  1.1  skrll $debug ||
   12413  1.1  skrll {
   12414  1.1  skrll   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   12415  1.1  skrll   trap '{ (exit 1); exit 1; }' 1 2 13 15
   12416  1.1  skrll }
   12417  1.1  skrll 
   12418  1.1  skrll # Create a (secure) tmp directory for tmp files.
   12419  1.1  skrll 
   12420  1.1  skrll {
   12421  1.1  skrll   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   12422  1.1  skrll   test -n "$tmp" && test -d "$tmp"
   12423  1.1  skrll }  ||
   12424  1.1  skrll {
   12425  1.1  skrll   tmp=./confstat$$-$RANDOM
   12426  1.1  skrll   (umask 077 && mkdir $tmp)
   12427  1.1  skrll } ||
   12428  1.1  skrll {
   12429  1.1  skrll    echo "$me: cannot create a temporary directory in ." >&2
   12430  1.1  skrll    { (exit 1); exit 1; }
   12431  1.1  skrll }
   12432  1.1  skrll 
   12433  1.1  skrll _ACEOF
   12434  1.1  skrll 
   12435  1.1  skrll cat >>$CONFIG_STATUS <<_ACEOF
   12436  1.1  skrll 
   12437  1.1  skrll #
   12438  1.1  skrll # CONFIG_FILES section.
   12439  1.1  skrll #
   12440  1.1  skrll 
   12441  1.1  skrll # No need to generate the scripts if there are no CONFIG_FILES.
   12442  1.1  skrll # This happens for instance when ./config.status config.h
   12443  1.1  skrll if test -n "\$CONFIG_FILES"; then
   12444  1.1  skrll   # Protect against being on the right side of a sed subst in config.status.
   12445  1.1  skrll   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   12446  1.1  skrll    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   12447  1.1  skrll s,@SHELL@,$SHELL,;t t
   12448  1.1  skrll s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   12449  1.1  skrll s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   12450  1.1  skrll s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   12451  1.1  skrll s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   12452  1.1  skrll s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   12453  1.1  skrll s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   12454  1.1  skrll s,@exec_prefix@,$exec_prefix,;t t
   12455  1.1  skrll s,@prefix@,$prefix,;t t
   12456  1.1  skrll s,@program_transform_name@,$program_transform_name,;t t
   12457  1.1  skrll s,@bindir@,$bindir,;t t
   12458  1.1  skrll s,@sbindir@,$sbindir,;t t
   12459  1.1  skrll s,@libexecdir@,$libexecdir,;t t
   12460  1.1  skrll s,@datadir@,$datadir,;t t
   12461  1.1  skrll s,@sysconfdir@,$sysconfdir,;t t
   12462  1.1  skrll s,@sharedstatedir@,$sharedstatedir,;t t
   12463  1.1  skrll s,@localstatedir@,$localstatedir,;t t
   12464  1.1  skrll s,@libdir@,$libdir,;t t
   12465  1.1  skrll s,@includedir@,$includedir,;t t
   12466  1.1  skrll s,@oldincludedir@,$oldincludedir,;t t
   12467  1.1  skrll s,@infodir@,$infodir,;t t
   12468  1.1  skrll s,@mandir@,$mandir,;t t
   12469  1.1  skrll s,@build_alias@,$build_alias,;t t
   12470  1.1  skrll s,@host_alias@,$host_alias,;t t
   12471  1.1  skrll s,@target_alias@,$target_alias,;t t
   12472  1.1  skrll s,@DEFS@,$DEFS,;t t
   12473  1.1  skrll s,@ECHO_C@,$ECHO_C,;t t
   12474  1.1  skrll s,@ECHO_N@,$ECHO_N,;t t
   12475  1.1  skrll s,@ECHO_T@,$ECHO_T,;t t
   12476  1.1  skrll s,@LIBS@,$LIBS,;t t
   12477  1.1  skrll s,@build@,$build,;t t
   12478  1.1  skrll s,@build_cpu@,$build_cpu,;t t
   12479  1.1  skrll s,@build_vendor@,$build_vendor,;t t
   12480  1.1  skrll s,@build_os@,$build_os,;t t
   12481  1.1  skrll s,@host@,$host,;t t
   12482  1.1  skrll s,@host_cpu@,$host_cpu,;t t
   12483  1.1  skrll s,@host_vendor@,$host_vendor,;t t
   12484  1.1  skrll s,@host_os@,$host_os,;t t
   12485  1.1  skrll s,@target@,$target,;t t
   12486  1.1  skrll s,@target_cpu@,$target_cpu,;t t
   12487  1.1  skrll s,@target_vendor@,$target_vendor,;t t
   12488  1.1  skrll s,@target_os@,$target_os,;t t
   12489  1.1  skrll s,@CC@,$CC,;t t
   12490  1.1  skrll s,@CFLAGS@,$CFLAGS,;t t
   12491  1.1  skrll s,@LDFLAGS@,$LDFLAGS,;t t
   12492  1.1  skrll s,@CPPFLAGS@,$CPPFLAGS,;t t
   12493  1.1  skrll s,@ac_ct_CC@,$ac_ct_CC,;t t
   12494  1.1  skrll s,@EXEEXT@,$EXEEXT,;t t
   12495  1.1  skrll s,@OBJEXT@,$OBJEXT,;t t
   12496  1.1  skrll s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   12497  1.1  skrll s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   12498  1.1  skrll s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   12499  1.1  skrll s,@CYGPATH_W@,$CYGPATH_W,;t t
   12500  1.1  skrll s,@PACKAGE@,$PACKAGE,;t t
   12501  1.1  skrll s,@VERSION@,$VERSION,;t t
   12502  1.1  skrll s,@ACLOCAL@,$ACLOCAL,;t t
   12503  1.1  skrll s,@AUTOCONF@,$AUTOCONF,;t t
   12504  1.1  skrll s,@AUTOMAKE@,$AUTOMAKE,;t t
   12505  1.1  skrll s,@AUTOHEADER@,$AUTOHEADER,;t t
   12506  1.1  skrll s,@MAKEINFO@,$MAKEINFO,;t t
   12507  1.1  skrll s,@install_sh@,$install_sh,;t t
   12508  1.1  skrll s,@STRIP@,$STRIP,;t t
   12509  1.1  skrll s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   12510  1.1  skrll s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
   12511  1.1  skrll s,@mkdir_p@,$mkdir_p,;t t
   12512  1.1  skrll s,@AWK@,$AWK,;t t
   12513  1.1  skrll s,@SET_MAKE@,$SET_MAKE,;t t
   12514  1.1  skrll s,@am__leading_dot@,$am__leading_dot,;t t
   12515  1.1  skrll s,@AMTAR@,$AMTAR,;t t
   12516  1.1  skrll s,@am__tar@,$am__tar,;t t
   12517  1.1  skrll s,@am__untar@,$am__untar,;t t
   12518  1.1  skrll s,@DEPDIR@,$DEPDIR,;t t
   12519  1.1  skrll s,@am__include@,$am__include,;t t
   12520  1.1  skrll s,@am__quote@,$am__quote,;t t
   12521  1.1  skrll s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
   12522  1.1  skrll s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
   12523  1.1  skrll s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
   12524  1.1  skrll s,@CCDEPMODE@,$CCDEPMODE,;t t
   12525  1.1  skrll s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
   12526  1.1  skrll s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
   12527  1.1  skrll s,@CPP@,$CPP,;t t
   12528  1.1  skrll s,@EGREP@,$EGREP,;t t
   12529  1.1  skrll s,@LIBTOOL@,$LIBTOOL,;t t
   12530  1.1  skrll s,@SED@,$SED,;t t
   12531  1.1  skrll s,@FGREP@,$FGREP,;t t
   12532  1.1  skrll s,@GREP@,$GREP,;t t
   12533  1.1  skrll s,@LD@,$LD,;t t
   12534  1.1  skrll s,@DUMPBIN@,$DUMPBIN,;t t
   12535  1.1  skrll s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
   12536  1.1  skrll s,@NM@,$NM,;t t
   12537  1.1  skrll s,@LN_S@,$LN_S,;t t
   12538  1.1  skrll s,@AR@,$AR,;t t
   12539  1.1  skrll s,@ac_ct_AR@,$ac_ct_AR,;t t
   12540  1.1  skrll s,@RANLIB@,$RANLIB,;t t
   12541  1.1  skrll s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   12542  1.1  skrll s,@lt_ECHO@,$lt_ECHO,;t t
   12543  1.1  skrll s,@USE_NLS@,$USE_NLS,;t t
   12544  1.1  skrll s,@LIBINTL@,$LIBINTL,;t t
   12545  1.1  skrll s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
   12546  1.1  skrll s,@INCINTL@,$INCINTL,;t t
   12547  1.1  skrll s,@XGETTEXT@,$XGETTEXT,;t t
   12548  1.1  skrll s,@GMSGFMT@,$GMSGFMT,;t t
   12549  1.1  skrll s,@POSUB@,$POSUB,;t t
   12550  1.1  skrll s,@CATALOGS@,$CATALOGS,;t t
   12551  1.1  skrll s,@DATADIRNAME@,$DATADIRNAME,;t t
   12552  1.1  skrll s,@INSTOBJEXT@,$INSTOBJEXT,;t t
   12553  1.1  skrll s,@GENCAT@,$GENCAT,;t t
   12554  1.1  skrll s,@CATOBJEXT@,$CATOBJEXT,;t t
   12555  1.1  skrll s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
   12556  1.1  skrll s,@MSGFMT@,$MSGFMT,;t t
   12557  1.1  skrll s,@MSGMERGE@,$MSGMERGE,;t t
   12558  1.1  skrll s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
   12559  1.1  skrll s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
   12560  1.1  skrll s,@MAINT@,$MAINT,;t t
   12561  1.1  skrll s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
   12562  1.1  skrll s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
   12563  1.1  skrll s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
   12564  1.1  skrll s,@NO_WERROR@,$NO_WERROR,;t t
   12565  1.1  skrll s,@datarootdir@,$datarootdir,;t t
   12566  1.1  skrll s,@docdir@,$docdir,;t t
   12567  1.1  skrll s,@htmldir@,$htmldir,;t t
   12568  1.1  skrll s,@LIBOBJS@,$LIBOBJS,;t t
   12569  1.1  skrll s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   12570  1.1  skrll CEOF
   12571  1.1  skrll 
   12572  1.1  skrll _ACEOF
   12573  1.1  skrll 
   12574  1.1  skrll   cat >>$CONFIG_STATUS <<\_ACEOF
   12575  1.1  skrll   # Split the substitutions into bite-sized pieces for seds with
   12576  1.1  skrll   # small command number limits, like on Digital OSF/1 and HP-UX.
   12577  1.1  skrll   ac_max_sed_lines=48
   12578  1.1  skrll   ac_sed_frag=1 # Number of current file.
   12579  1.1  skrll   ac_beg=1 # First line for current file.
   12580  1.1  skrll   ac_end=$ac_max_sed_lines # Line after last line for current file.
   12581  1.1  skrll   ac_more_lines=:
   12582  1.1  skrll   ac_sed_cmds=
   12583  1.1  skrll   while $ac_more_lines; do
   12584  1.1  skrll     if test $ac_beg -gt 1; then
   12585  1.1  skrll       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   12586  1.1  skrll     else
   12587  1.1  skrll       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   12588  1.1  skrll     fi
   12589  1.1  skrll     if test ! -s $tmp/subs.frag; then
   12590  1.1  skrll       ac_more_lines=false
   12591  1.1  skrll     else
   12592  1.1  skrll       # The purpose of the label and of the branching condition is to
   12593  1.1  skrll       # speed up the sed processing (if there are no `@' at all, there
   12594  1.1  skrll       # is no need to browse any of the substitutions).
   12595  1.1  skrll       # These are the two extra sed commands mentioned above.
   12596  1.1  skrll       (echo ':t
   12597  1.1  skrll   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   12598  1.1  skrll       if test -z "$ac_sed_cmds"; then
   12599  1.1  skrll 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   12600  1.1  skrll       else
   12601  1.1  skrll 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   12602  1.1  skrll       fi
   12603  1.1  skrll       ac_sed_frag=`expr $ac_sed_frag + 1`
   12604  1.1  skrll       ac_beg=$ac_end
   12605  1.1  skrll       ac_end=`expr $ac_end + $ac_max_sed_lines`
   12606  1.1  skrll     fi
   12607  1.1  skrll   done
   12608  1.1  skrll   if test -z "$ac_sed_cmds"; then
   12609  1.1  skrll     ac_sed_cmds=cat
   12610  1.1  skrll   fi
   12611  1.1  skrll fi # test -n "$CONFIG_FILES"
   12612  1.1  skrll 
   12613  1.1  skrll _ACEOF
   12614  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   12615  1.1  skrll for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   12616  1.1  skrll   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   12617  1.1  skrll   case $ac_file in
   12618  1.1  skrll   - | *:- | *:-:* ) # input from stdin
   12619  1.1  skrll 	cat >$tmp/stdin
   12620  1.1  skrll 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   12621  1.1  skrll 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   12622  1.1  skrll   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   12623  1.1  skrll 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   12624  1.1  skrll   * )   ac_file_in=$ac_file.in ;;
   12625  1.1  skrll   esac
   12626  1.1  skrll 
   12627  1.1  skrll   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   12628  1.1  skrll   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   12629  1.1  skrll $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12630  1.1  skrll 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12631  1.1  skrll 	 X"$ac_file" : 'X\(//\)$' \| \
   12632  1.1  skrll 	 X"$ac_file" : 'X\(/\)' \| \
   12633  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   12634  1.1  skrll echo X"$ac_file" |
   12635  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   12636  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   12637  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   12638  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   12639  1.1  skrll   	  s/.*/./; q'`
   12640  1.1  skrll   { if $as_mkdir_p; then
   12641  1.1  skrll     mkdir -p "$ac_dir"
   12642  1.1  skrll   else
   12643  1.1  skrll     as_dir="$ac_dir"
   12644  1.1  skrll     as_dirs=
   12645  1.1  skrll     while test ! -d "$as_dir"; do
   12646  1.1  skrll       as_dirs="$as_dir $as_dirs"
   12647  1.1  skrll       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   12648  1.1  skrll $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12649  1.1  skrll 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12650  1.1  skrll 	 X"$as_dir" : 'X\(//\)$' \| \
   12651  1.1  skrll 	 X"$as_dir" : 'X\(/\)' \| \
   12652  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   12653  1.1  skrll echo X"$as_dir" |
   12654  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   12655  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   12656  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   12657  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   12658  1.1  skrll   	  s/.*/./; q'`
   12659  1.1  skrll     done
   12660  1.1  skrll     test ! -n "$as_dirs" || mkdir $as_dirs
   12661  1.1  skrll   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   12662  1.1  skrll echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   12663  1.1  skrll    { (exit 1); exit 1; }; }; }
   12664  1.1  skrll 
   12665  1.1  skrll   ac_builddir=.
   12666  1.1  skrll 
   12667  1.1  skrll if test "$ac_dir" != .; then
   12668  1.1  skrll   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   12669  1.1  skrll   # A "../" for each directory in $ac_dir_suffix.
   12670  1.1  skrll   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   12671  1.1  skrll else
   12672  1.1  skrll   ac_dir_suffix= ac_top_builddir=
   12673  1.1  skrll fi
   12674  1.1  skrll 
   12675  1.1  skrll case $srcdir in
   12676  1.1  skrll   .)  # No --srcdir option.  We are building in place.
   12677  1.1  skrll     ac_srcdir=.
   12678  1.1  skrll     if test -z "$ac_top_builddir"; then
   12679  1.1  skrll        ac_top_srcdir=.
   12680  1.1  skrll     else
   12681  1.1  skrll        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   12682  1.1  skrll     fi ;;
   12683  1.1  skrll   [\\/]* | ?:[\\/]* )  # Absolute path.
   12684  1.1  skrll     ac_srcdir=$srcdir$ac_dir_suffix;
   12685  1.1  skrll     ac_top_srcdir=$srcdir ;;
   12686  1.1  skrll   *) # Relative path.
   12687  1.1  skrll     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   12688  1.1  skrll     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   12689  1.1  skrll esac
   12690  1.1  skrll 
   12691  1.1  skrll # Do not use `cd foo && pwd` to compute absolute paths, because
   12692  1.1  skrll # the directories may not exist.
   12693  1.1  skrll case `pwd` in
   12694  1.1  skrll .) ac_abs_builddir="$ac_dir";;
   12695  1.1  skrll *)
   12696  1.1  skrll   case "$ac_dir" in
   12697  1.1  skrll   .) ac_abs_builddir=`pwd`;;
   12698  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   12699  1.1  skrll   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   12700  1.1  skrll   esac;;
   12701  1.1  skrll esac
   12702  1.1  skrll case $ac_abs_builddir in
   12703  1.1  skrll .) ac_abs_top_builddir=${ac_top_builddir}.;;
   12704  1.1  skrll *)
   12705  1.1  skrll   case ${ac_top_builddir}. in
   12706  1.1  skrll   .) ac_abs_top_builddir=$ac_abs_builddir;;
   12707  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   12708  1.1  skrll   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   12709  1.1  skrll   esac;;
   12710  1.1  skrll esac
   12711  1.1  skrll case $ac_abs_builddir in
   12712  1.1  skrll .) ac_abs_srcdir=$ac_srcdir;;
   12713  1.1  skrll *)
   12714  1.1  skrll   case $ac_srcdir in
   12715  1.1  skrll   .) ac_abs_srcdir=$ac_abs_builddir;;
   12716  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   12717  1.1  skrll   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   12718  1.1  skrll   esac;;
   12719  1.1  skrll esac
   12720  1.1  skrll case $ac_abs_builddir in
   12721  1.1  skrll .) ac_abs_top_srcdir=$ac_top_srcdir;;
   12722  1.1  skrll *)
   12723  1.1  skrll   case $ac_top_srcdir in
   12724  1.1  skrll   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   12725  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   12726  1.1  skrll   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   12727  1.1  skrll   esac;;
   12728  1.1  skrll esac
   12729  1.1  skrll 
   12730  1.1  skrll 
   12731  1.1  skrll   case $INSTALL in
   12732  1.1  skrll   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12733  1.1  skrll   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   12734  1.1  skrll   esac
   12735  1.1  skrll 
   12736  1.1  skrll   if test x"$ac_file" != x-; then
   12737  1.1  skrll     { echo "$as_me:$LINENO: creating $ac_file" >&5
   12738  1.1  skrll echo "$as_me: creating $ac_file" >&6;}
   12739  1.1  skrll     rm -f "$ac_file"
   12740  1.1  skrll   fi
   12741  1.1  skrll   # Let's still pretend it is `configure' which instantiates (i.e., don't
   12742  1.1  skrll   # use $as_me), people would be surprised to read:
   12743  1.1  skrll   #    /* config.h.  Generated by config.status.  */
   12744  1.1  skrll   if test x"$ac_file" = x-; then
   12745  1.1  skrll     configure_input=
   12746  1.1  skrll   else
   12747  1.1  skrll     configure_input="$ac_file.  "
   12748  1.1  skrll   fi
   12749  1.1  skrll   configure_input=$configure_input"Generated from `echo $ac_file_in |
   12750  1.1  skrll 				     sed 's,.*/,,'` by configure."
   12751  1.1  skrll 
   12752  1.1  skrll   # First look for the input files in the build tree, otherwise in the
   12753  1.1  skrll   # src tree.
   12754  1.1  skrll   ac_file_inputs=`IFS=:
   12755  1.1  skrll     for f in $ac_file_in; do
   12756  1.1  skrll       case $f in
   12757  1.1  skrll       -) echo $tmp/stdin ;;
   12758  1.1  skrll       [\\/$]*)
   12759  1.1  skrll 	 # Absolute (can't be DOS-style, as IFS=:)
   12760  1.1  skrll 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   12761  1.1  skrll echo "$as_me: error: cannot find input file: $f" >&2;}
   12762  1.1  skrll    { (exit 1); exit 1; }; }
   12763  1.1  skrll 	 echo "$f";;
   12764  1.1  skrll       *) # Relative
   12765  1.1  skrll 	 if test -f "$f"; then
   12766  1.1  skrll 	   # Build tree
   12767  1.1  skrll 	   echo "$f"
   12768  1.1  skrll 	 elif test -f "$srcdir/$f"; then
   12769  1.1  skrll 	   # Source tree
   12770  1.1  skrll 	   echo "$srcdir/$f"
   12771  1.1  skrll 	 else
   12772  1.1  skrll 	   # /dev/null tree
   12773  1.1  skrll 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   12774  1.1  skrll echo "$as_me: error: cannot find input file: $f" >&2;}
   12775  1.1  skrll    { (exit 1); exit 1; }; }
   12776  1.1  skrll 	 fi;;
   12777  1.1  skrll       esac
   12778  1.1  skrll     done` || { (exit 1); exit 1; }
   12779  1.1  skrll _ACEOF
   12780  1.1  skrll cat >>$CONFIG_STATUS <<_ACEOF
   12781  1.1  skrll   sed "$ac_vpsub
   12782  1.1  skrll $extrasub
   12783  1.1  skrll _ACEOF
   12784  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   12785  1.1  skrll :t
   12786  1.1  skrll /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12787  1.1  skrll s,@configure_input@,$configure_input,;t t
   12788  1.1  skrll s,@srcdir@,$ac_srcdir,;t t
   12789  1.1  skrll s,@abs_srcdir@,$ac_abs_srcdir,;t t
   12790  1.1  skrll s,@top_srcdir@,$ac_top_srcdir,;t t
   12791  1.1  skrll s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   12792  1.1  skrll s,@builddir@,$ac_builddir,;t t
   12793  1.1  skrll s,@abs_builddir@,$ac_abs_builddir,;t t
   12794  1.1  skrll s,@top_builddir@,$ac_top_builddir,;t t
   12795  1.1  skrll s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   12796  1.1  skrll s,@INSTALL@,$ac_INSTALL,;t t
   12797  1.1  skrll " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   12798  1.1  skrll   rm -f $tmp/stdin
   12799  1.1  skrll   if test x"$ac_file" != x-; then
   12800  1.1  skrll     mv $tmp/out $ac_file
   12801  1.1  skrll   else
   12802  1.1  skrll     cat $tmp/out
   12803  1.1  skrll     rm -f $tmp/out
   12804  1.1  skrll   fi
   12805  1.1  skrll 
   12806  1.1  skrll done
   12807  1.1  skrll _ACEOF
   12808  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   12809  1.1  skrll 
   12810  1.1  skrll #
   12811  1.1  skrll # CONFIG_HEADER section.
   12812  1.1  skrll #
   12813  1.1  skrll 
   12814  1.1  skrll # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   12815  1.1  skrll # NAME is the cpp macro being defined and VALUE is the value it is being given.
   12816  1.1  skrll #
   12817  1.1  skrll # ac_d sets the value in "#define NAME VALUE" lines.
   12818  1.1  skrll ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   12819  1.1  skrll ac_dB='[	 ].*$,\1#\2'
   12820  1.1  skrll ac_dC=' '
   12821  1.1  skrll ac_dD=',;t'
   12822  1.1  skrll # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   12823  1.1  skrll ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   12824  1.1  skrll ac_uB='$,\1#\2define\3'
   12825  1.1  skrll ac_uC=' '
   12826  1.1  skrll ac_uD=',;t'
   12827  1.1  skrll 
   12828  1.1  skrll for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   12829  1.1  skrll   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   12830  1.1  skrll   case $ac_file in
   12831  1.1  skrll   - | *:- | *:-:* ) # input from stdin
   12832  1.1  skrll 	cat >$tmp/stdin
   12833  1.1  skrll 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   12834  1.1  skrll 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   12835  1.1  skrll   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   12836  1.1  skrll 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   12837  1.1  skrll   * )   ac_file_in=$ac_file.in ;;
   12838  1.1  skrll   esac
   12839  1.1  skrll 
   12840  1.1  skrll   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   12841  1.1  skrll echo "$as_me: creating $ac_file" >&6;}
   12842  1.1  skrll 
   12843  1.1  skrll   # First look for the input files in the build tree, otherwise in the
   12844  1.1  skrll   # src tree.
   12845  1.1  skrll   ac_file_inputs=`IFS=:
   12846  1.1  skrll     for f in $ac_file_in; do
   12847  1.1  skrll       case $f in
   12848  1.1  skrll       -) echo $tmp/stdin ;;
   12849  1.1  skrll       [\\/$]*)
   12850  1.1  skrll 	 # Absolute (can't be DOS-style, as IFS=:)
   12851  1.1  skrll 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   12852  1.1  skrll echo "$as_me: error: cannot find input file: $f" >&2;}
   12853  1.1  skrll    { (exit 1); exit 1; }; }
   12854  1.1  skrll 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   12855  1.1  skrll 	 echo "$f";;
   12856  1.1  skrll       *) # Relative
   12857  1.1  skrll 	 if test -f "$f"; then
   12858  1.1  skrll 	   # Build tree
   12859  1.1  skrll 	   echo "$f"
   12860  1.1  skrll 	 elif test -f "$srcdir/$f"; then
   12861  1.1  skrll 	   # Source tree
   12862  1.1  skrll 	   echo "$srcdir/$f"
   12863  1.1  skrll 	 else
   12864  1.1  skrll 	   # /dev/null tree
   12865  1.1  skrll 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   12866  1.1  skrll echo "$as_me: error: cannot find input file: $f" >&2;}
   12867  1.1  skrll    { (exit 1); exit 1; }; }
   12868  1.1  skrll 	 fi;;
   12869  1.1  skrll       esac
   12870  1.1  skrll     done` || { (exit 1); exit 1; }
   12871  1.1  skrll   # Remove the trailing spaces.
   12872  1.1  skrll   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   12873  1.1  skrll 
   12874  1.1  skrll _ACEOF
   12875  1.1  skrll 
   12876  1.1  skrll # Transform confdefs.h into two sed scripts, `conftest.defines' and
   12877  1.1  skrll # `conftest.undefs', that substitutes the proper values into
   12878  1.1  skrll # config.h.in to produce config.h.  The first handles `#define'
   12879  1.1  skrll # templates, and the second `#undef' templates.
   12880  1.1  skrll # And first: Protect against being on the right side of a sed subst in
   12881  1.1  skrll # config.status.  Protect against being in an unquoted here document
   12882  1.1  skrll # in config.status.
   12883  1.1  skrll rm -f conftest.defines conftest.undefs
   12884  1.1  skrll # Using a here document instead of a string reduces the quoting nightmare.
   12885  1.1  skrll # Putting comments in sed scripts is not portable.
   12886  1.1  skrll #
   12887  1.1  skrll # `end' is used to avoid that the second main sed command (meant for
   12888  1.1  skrll # 0-ary CPP macros) applies to n-ary macro definitions.
   12889  1.1  skrll # See the Autoconf documentation for `clear'.
   12890  1.1  skrll cat >confdef2sed.sed <<\_ACEOF
   12891  1.1  skrll s/[\\&,]/\\&/g
   12892  1.1  skrll s,[\\$`],\\&,g
   12893  1.1  skrll t clear
   12894  1.1  skrll : clear
   12895  1.1  skrll s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   12896  1.1  skrll t end
   12897  1.1  skrll s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   12898  1.1  skrll : end
   12899  1.1  skrll _ACEOF
   12900  1.1  skrll # If some macros were called several times there might be several times
   12901  1.1  skrll # the same #defines, which is useless.  Nevertheless, we may not want to
   12902  1.1  skrll # sort them, since we want the *last* AC-DEFINE to be honored.
   12903  1.1  skrll uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   12904  1.1  skrll sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   12905  1.1  skrll rm -f confdef2sed.sed
   12906  1.1  skrll 
   12907  1.1  skrll # This sed command replaces #undef with comments.  This is necessary, for
   12908  1.1  skrll # example, in the case of _POSIX_SOURCE, which is predefined and required
   12909  1.1  skrll # on some systems where configure will not decide to define it.
   12910  1.1  skrll cat >>conftest.undefs <<\_ACEOF
   12911  1.1  skrll s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   12912  1.1  skrll _ACEOF
   12913  1.1  skrll 
   12914  1.1  skrll # Break up conftest.defines because some shells have a limit on the size
   12915  1.1  skrll # of here documents, and old seds have small limits too (100 cmds).
   12916  1.1  skrll echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   12917  1.1  skrll echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   12918  1.1  skrll echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   12919  1.1  skrll echo '  :' >>$CONFIG_STATUS
   12920  1.1  skrll rm -f conftest.tail
   12921  1.1  skrll while grep . conftest.defines >/dev/null
   12922  1.1  skrll do
   12923  1.1  skrll   # Write a limited-size here document to $tmp/defines.sed.
   12924  1.1  skrll   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   12925  1.1  skrll   # Speed up: don't consider the non `#define' lines.
   12926  1.1  skrll   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   12927  1.1  skrll   # Work around the forget-to-reset-the-flag bug.
   12928  1.1  skrll   echo 't clr' >>$CONFIG_STATUS
   12929  1.1  skrll   echo ': clr' >>$CONFIG_STATUS
   12930  1.1  skrll   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   12931  1.1  skrll   echo 'CEOF
   12932  1.1  skrll   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   12933  1.1  skrll   rm -f $tmp/in
   12934  1.1  skrll   mv $tmp/out $tmp/in
   12935  1.1  skrll ' >>$CONFIG_STATUS
   12936  1.1  skrll   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   12937  1.1  skrll   rm -f conftest.defines
   12938  1.1  skrll   mv conftest.tail conftest.defines
   12939  1.1  skrll done
   12940  1.1  skrll rm -f conftest.defines
   12941  1.1  skrll echo '  fi # grep' >>$CONFIG_STATUS
   12942  1.1  skrll echo >>$CONFIG_STATUS
   12943  1.1  skrll 
   12944  1.1  skrll # Break up conftest.undefs because some shells have a limit on the size
   12945  1.1  skrll # of here documents, and old seds have small limits too (100 cmds).
   12946  1.1  skrll echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   12947  1.1  skrll rm -f conftest.tail
   12948  1.1  skrll while grep . conftest.undefs >/dev/null
   12949  1.1  skrll do
   12950  1.1  skrll   # Write a limited-size here document to $tmp/undefs.sed.
   12951  1.1  skrll   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   12952  1.1  skrll   # Speed up: don't consider the non `#undef'
   12953  1.1  skrll   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   12954  1.1  skrll   # Work around the forget-to-reset-the-flag bug.
   12955  1.1  skrll   echo 't clr' >>$CONFIG_STATUS
   12956  1.1  skrll   echo ': clr' >>$CONFIG_STATUS
   12957  1.1  skrll   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   12958  1.1  skrll   echo 'CEOF
   12959  1.1  skrll   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   12960  1.1  skrll   rm -f $tmp/in
   12961  1.1  skrll   mv $tmp/out $tmp/in
   12962  1.1  skrll ' >>$CONFIG_STATUS
   12963  1.1  skrll   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   12964  1.1  skrll   rm -f conftest.undefs
   12965  1.1  skrll   mv conftest.tail conftest.undefs
   12966  1.1  skrll done
   12967  1.1  skrll rm -f conftest.undefs
   12968  1.1  skrll 
   12969  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   12970  1.1  skrll   # Let's still pretend it is `configure' which instantiates (i.e., don't
   12971  1.1  skrll   # use $as_me), people would be surprised to read:
   12972  1.1  skrll   #    /* config.h.  Generated by config.status.  */
   12973  1.1  skrll   if test x"$ac_file" = x-; then
   12974  1.1  skrll     echo "/* Generated by configure.  */" >$tmp/config.h
   12975  1.1  skrll   else
   12976  1.1  skrll     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   12977  1.1  skrll   fi
   12978  1.1  skrll   cat $tmp/in >>$tmp/config.h
   12979  1.1  skrll   rm -f $tmp/in
   12980  1.1  skrll   if test x"$ac_file" != x-; then
   12981  1.1  skrll     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   12982  1.1  skrll       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   12983  1.1  skrll echo "$as_me: $ac_file is unchanged" >&6;}
   12984  1.1  skrll     else
   12985  1.1  skrll       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   12986  1.1  skrll $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12987  1.1  skrll 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12988  1.1  skrll 	 X"$ac_file" : 'X\(//\)$' \| \
   12989  1.1  skrll 	 X"$ac_file" : 'X\(/\)' \| \
   12990  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   12991  1.1  skrll echo X"$ac_file" |
   12992  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   12993  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   12994  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   12995  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   12996  1.1  skrll   	  s/.*/./; q'`
   12997  1.1  skrll       { if $as_mkdir_p; then
   12998  1.1  skrll     mkdir -p "$ac_dir"
   12999  1.1  skrll   else
   13000  1.1  skrll     as_dir="$ac_dir"
   13001  1.1  skrll     as_dirs=
   13002  1.1  skrll     while test ! -d "$as_dir"; do
   13003  1.1  skrll       as_dirs="$as_dir $as_dirs"
   13004  1.1  skrll       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   13005  1.1  skrll $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13006  1.1  skrll 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13007  1.1  skrll 	 X"$as_dir" : 'X\(//\)$' \| \
   13008  1.1  skrll 	 X"$as_dir" : 'X\(/\)' \| \
   13009  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   13010  1.1  skrll echo X"$as_dir" |
   13011  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13012  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13013  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13014  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   13015  1.1  skrll   	  s/.*/./; q'`
   13016  1.1  skrll     done
   13017  1.1  skrll     test ! -n "$as_dirs" || mkdir $as_dirs
   13018  1.1  skrll   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   13019  1.1  skrll echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   13020  1.1  skrll    { (exit 1); exit 1; }; }; }
   13021  1.1  skrll 
   13022  1.1  skrll       rm -f $ac_file
   13023  1.1  skrll       mv $tmp/config.h $ac_file
   13024  1.1  skrll     fi
   13025  1.1  skrll   else
   13026  1.1  skrll     cat $tmp/config.h
   13027  1.1  skrll     rm -f $tmp/config.h
   13028  1.1  skrll   fi
   13029  1.1  skrll # Compute $ac_file's index in $config_headers.
   13030  1.1  skrll _am_stamp_count=1
   13031  1.1  skrll for _am_header in $config_headers :; do
   13032  1.1  skrll   case $_am_header in
   13033  1.1  skrll     $ac_file | $ac_file:* )
   13034  1.1  skrll       break ;;
   13035  1.1  skrll     * )
   13036  1.1  skrll       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13037  1.1  skrll   esac
   13038  1.1  skrll done
   13039  1.1  skrll echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
   13040  1.1  skrll $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13041  1.1  skrll 	 X$ac_file : 'X\(//\)[^/]' \| \
   13042  1.1  skrll 	 X$ac_file : 'X\(//\)$' \| \
   13043  1.1  skrll 	 X$ac_file : 'X\(/\)' \| \
   13044  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   13045  1.1  skrll echo X$ac_file |
   13046  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13047  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13048  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13049  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   13050  1.1  skrll   	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13051  1.1  skrll done
   13052  1.1  skrll _ACEOF
   13053  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   13054  1.1  skrll 
   13055  1.1  skrll #
   13056  1.1  skrll # CONFIG_COMMANDS section.
   13057  1.1  skrll #
   13058  1.1  skrll for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   13059  1.1  skrll   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   13060  1.1  skrll   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   13061  1.1  skrll   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
   13062  1.1  skrll $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13063  1.1  skrll 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
   13064  1.1  skrll 	 X"$ac_dest" : 'X\(//\)$' \| \
   13065  1.1  skrll 	 X"$ac_dest" : 'X\(/\)' \| \
   13066  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   13067  1.1  skrll echo X"$ac_dest" |
   13068  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13069  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13070  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13071  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   13072  1.1  skrll   	  s/.*/./; q'`
   13073  1.1  skrll   { if $as_mkdir_p; then
   13074  1.1  skrll     mkdir -p "$ac_dir"
   13075  1.1  skrll   else
   13076  1.1  skrll     as_dir="$ac_dir"
   13077  1.1  skrll     as_dirs=
   13078  1.1  skrll     while test ! -d "$as_dir"; do
   13079  1.1  skrll       as_dirs="$as_dir $as_dirs"
   13080  1.1  skrll       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   13081  1.1  skrll $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13082  1.1  skrll 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13083  1.1  skrll 	 X"$as_dir" : 'X\(//\)$' \| \
   13084  1.1  skrll 	 X"$as_dir" : 'X\(/\)' \| \
   13085  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   13086  1.1  skrll echo X"$as_dir" |
   13087  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13088  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13089  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13090  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   13091  1.1  skrll   	  s/.*/./; q'`
   13092  1.1  skrll     done
   13093  1.1  skrll     test ! -n "$as_dirs" || mkdir $as_dirs
   13094  1.1  skrll   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   13095  1.1  skrll echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   13096  1.1  skrll    { (exit 1); exit 1; }; }; }
   13097  1.1  skrll 
   13098  1.1  skrll   ac_builddir=.
   13099  1.1  skrll 
   13100  1.1  skrll if test "$ac_dir" != .; then
   13101  1.1  skrll   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   13102  1.1  skrll   # A "../" for each directory in $ac_dir_suffix.
   13103  1.1  skrll   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   13104  1.1  skrll else
   13105  1.1  skrll   ac_dir_suffix= ac_top_builddir=
   13106  1.1  skrll fi
   13107  1.1  skrll 
   13108  1.1  skrll case $srcdir in
   13109  1.1  skrll   .)  # No --srcdir option.  We are building in place.
   13110  1.1  skrll     ac_srcdir=.
   13111  1.1  skrll     if test -z "$ac_top_builddir"; then
   13112  1.1  skrll        ac_top_srcdir=.
   13113  1.1  skrll     else
   13114  1.1  skrll        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   13115  1.1  skrll     fi ;;
   13116  1.1  skrll   [\\/]* | ?:[\\/]* )  # Absolute path.
   13117  1.1  skrll     ac_srcdir=$srcdir$ac_dir_suffix;
   13118  1.1  skrll     ac_top_srcdir=$srcdir ;;
   13119  1.1  skrll   *) # Relative path.
   13120  1.1  skrll     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   13121  1.1  skrll     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   13122  1.1  skrll esac
   13123  1.1  skrll 
   13124  1.1  skrll # Do not use `cd foo && pwd` to compute absolute paths, because
   13125  1.1  skrll # the directories may not exist.
   13126  1.1  skrll case `pwd` in
   13127  1.1  skrll .) ac_abs_builddir="$ac_dir";;
   13128  1.1  skrll *)
   13129  1.1  skrll   case "$ac_dir" in
   13130  1.1  skrll   .) ac_abs_builddir=`pwd`;;
   13131  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   13132  1.1  skrll   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   13133  1.1  skrll   esac;;
   13134  1.1  skrll esac
   13135  1.1  skrll case $ac_abs_builddir in
   13136  1.1  skrll .) ac_abs_top_builddir=${ac_top_builddir}.;;
   13137  1.1  skrll *)
   13138  1.1  skrll   case ${ac_top_builddir}. in
   13139  1.1  skrll   .) ac_abs_top_builddir=$ac_abs_builddir;;
   13140  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   13141  1.1  skrll   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   13142  1.1  skrll   esac;;
   13143  1.1  skrll esac
   13144  1.1  skrll case $ac_abs_builddir in
   13145  1.1  skrll .) ac_abs_srcdir=$ac_srcdir;;
   13146  1.1  skrll *)
   13147  1.1  skrll   case $ac_srcdir in
   13148  1.1  skrll   .) ac_abs_srcdir=$ac_abs_builddir;;
   13149  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   13150  1.1  skrll   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   13151  1.1  skrll   esac;;
   13152  1.1  skrll esac
   13153  1.1  skrll case $ac_abs_builddir in
   13154  1.1  skrll .) ac_abs_top_srcdir=$ac_top_srcdir;;
   13155  1.1  skrll *)
   13156  1.1  skrll   case $ac_top_srcdir in
   13157  1.1  skrll   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   13158  1.1  skrll   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   13159  1.1  skrll   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   13160  1.1  skrll   esac;;
   13161  1.1  skrll esac
   13162  1.1  skrll 
   13163  1.1  skrll 
   13164  1.1  skrll   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
   13165  1.1  skrll echo "$as_me: executing $ac_dest commands" >&6;}
   13166  1.1  skrll   case $ac_dest in
   13167  1.1  skrll     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   13168  1.1  skrll   # Strip MF so we end up with the name of the file.
   13169  1.1  skrll   mf=`echo "$mf" | sed -e 's/:.*$//'`
   13170  1.1  skrll   # Check whether this is an Automake generated Makefile or not.
   13171  1.1  skrll   # We used to match only the files named `Makefile.in', but
   13172  1.1  skrll   # some people rename them; so instead we look at the file content.
   13173  1.1  skrll   # Grep'ing the first line is not enough: some people post-process
   13174  1.1  skrll   # each Makefile.in and add a new line on top of each file to say so.
   13175  1.1  skrll   # So let's grep whole file.
   13176  1.1  skrll   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   13177  1.1  skrll     dirpart=`(dirname "$mf") 2>/dev/null ||
   13178  1.1  skrll $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13179  1.1  skrll 	 X"$mf" : 'X\(//\)[^/]' \| \
   13180  1.1  skrll 	 X"$mf" : 'X\(//\)$' \| \
   13181  1.1  skrll 	 X"$mf" : 'X\(/\)' \| \
   13182  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   13183  1.1  skrll echo X"$mf" |
   13184  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13185  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13186  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13187  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   13188  1.1  skrll   	  s/.*/./; q'`
   13189  1.1  skrll   else
   13190  1.1  skrll     continue
   13191  1.1  skrll   fi
   13192  1.1  skrll   # Extract the definition of DEPDIR, am__include, and am__quote
   13193  1.1  skrll   # from the Makefile without running `make'.
   13194  1.1  skrll   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13195  1.1  skrll   test -z "$DEPDIR" && continue
   13196  1.1  skrll   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13197  1.1  skrll   test -z "am__include" && continue
   13198  1.1  skrll   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13199  1.1  skrll   # When using ansi2knr, U may be empty or an underscore; expand it
   13200  1.1  skrll   U=`sed -n 's/^U = //p' < "$mf"`
   13201  1.1  skrll   # Find all dependency output files, they are included files with
   13202  1.1  skrll   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13203  1.1  skrll   # simplest approach to changing $(DEPDIR) to its actual value in the
   13204  1.1  skrll   # expansion.
   13205  1.1  skrll   for file in `sed -n "
   13206  1.1  skrll     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13207  1.1  skrll        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13208  1.1  skrll     # Make sure the directory exists.
   13209  1.1  skrll     test -f "$dirpart/$file" && continue
   13210  1.1  skrll     fdir=`(dirname "$file") 2>/dev/null ||
   13211  1.1  skrll $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13212  1.1  skrll 	 X"$file" : 'X\(//\)[^/]' \| \
   13213  1.1  skrll 	 X"$file" : 'X\(//\)$' \| \
   13214  1.1  skrll 	 X"$file" : 'X\(/\)' \| \
   13215  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   13216  1.1  skrll echo X"$file" |
   13217  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13218  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13219  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13220  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   13221  1.1  skrll   	  s/.*/./; q'`
   13222  1.1  skrll     { if $as_mkdir_p; then
   13223  1.1  skrll     mkdir -p $dirpart/$fdir
   13224  1.1  skrll   else
   13225  1.1  skrll     as_dir=$dirpart/$fdir
   13226  1.1  skrll     as_dirs=
   13227  1.1  skrll     while test ! -d "$as_dir"; do
   13228  1.1  skrll       as_dirs="$as_dir $as_dirs"
   13229  1.1  skrll       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   13230  1.1  skrll $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13231  1.1  skrll 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13232  1.1  skrll 	 X"$as_dir" : 'X\(//\)$' \| \
   13233  1.1  skrll 	 X"$as_dir" : 'X\(/\)' \| \
   13234  1.1  skrll 	 .     : '\(.\)' 2>/dev/null ||
   13235  1.1  skrll echo X"$as_dir" |
   13236  1.1  skrll     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13237  1.1  skrll   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13238  1.1  skrll   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13239  1.1  skrll   	  /^X\(\/\).*/{ s//\1/; q; }
   13240  1.1  skrll   	  s/.*/./; q'`
   13241  1.1  skrll     done
   13242  1.1  skrll     test ! -n "$as_dirs" || mkdir $as_dirs
   13243  1.1  skrll   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
   13244  1.1  skrll echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   13245  1.1  skrll    { (exit 1); exit 1; }; }; }
   13246  1.1  skrll 
   13247  1.1  skrll     # echo "creating $dirpart/$file"
   13248  1.1  skrll     echo '# dummy' > "$dirpart/$file"
   13249  1.1  skrll   done
   13250  1.1  skrll done
   13251  1.1  skrll  ;;
   13252  1.1  skrll     libtool )
   13253  1.1  skrll 
   13254  1.1  skrll     # See if we are running on zsh, and set the options which allow our
   13255  1.1  skrll     # commands through without removal of \ escapes.
   13256  1.1  skrll     if test -n "${ZSH_VERSION+set}" ; then
   13257  1.1  skrll       setopt NO_GLOB_SUBST
   13258  1.1  skrll     fi
   13259  1.1  skrll 
   13260  1.1  skrll     cfgfile="${ofile}T"
   13261  1.1  skrll     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13262  1.1  skrll     $RM "$cfgfile"
   13263  1.1  skrll 
   13264  1.1  skrll     cat <<_LT_EOF >> "$cfgfile"
   13265  1.1  skrll #! $SHELL
   13266  1.1  skrll 
   13267  1.1  skrll # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13268  1.1  skrll # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
   13269  1.1  skrll # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13270  1.1  skrll # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13271  1.1  skrll #
   13272  1.1  skrll # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13273  1.1  skrll # 2006, 2007 Free Software Foundation, Inc.
   13274  1.1  skrll #
   13275  1.1  skrll # This file is part of GNU Libtool:
   13276  1.1  skrll # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   13277  1.1  skrll #
   13278  1.1  skrll # This program is free software; you can redistribute it and/or modify
   13279  1.1  skrll # it under the terms of the GNU General Public License as published by
   13280  1.1  skrll # the Free Software Foundation; either version 2 of the License, or
   13281  1.1  skrll # (at your option) any later version.
   13282  1.1  skrll #
   13283  1.1  skrll # This program is distributed in the hope that it will be useful, but
   13284  1.1  skrll # WITHOUT ANY WARRANTY; without even the implied warranty of
   13285  1.1  skrll # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   13286  1.1  skrll # General Public License for more details.
   13287  1.1  skrll #
   13288  1.1  skrll # You should have received a copy of the GNU General Public License
   13289  1.1  skrll # along with this program; if not, a copy can be downloaded from
   13290  1.1  skrll # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
   13291  1.1  skrll # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
   13292  1.1  skrll # MA 02110-1301, USA.
   13293  1.1  skrll #
   13294  1.1  skrll # As a special exception to the GNU General Public License, if you
   13295  1.1  skrll # distribute this file as part of a program that contains a
   13296  1.1  skrll # configuration script generated by Autoconf, you may include it under
   13297  1.1  skrll # the same distribution terms that you use for the rest of that program.
   13298  1.1  skrll 
   13299  1.1  skrll 
   13300  1.1  skrll # The names of the tagged configurations supported by this script.
   13301  1.1  skrll available_tags=""
   13302  1.1  skrll 
   13303  1.1  skrll # ### BEGIN LIBTOOL CONFIG
   13304  1.1  skrll 
   13305  1.1  skrll # Which release of libtool.m4 was used?
   13306  1.1  skrll macro_version=$macro_version
   13307  1.1  skrll macro_revision=$macro_revision
   13308  1.1  skrll 
   13309  1.1  skrll # Whether or not to build shared libraries.
   13310  1.1  skrll build_libtool_libs=$enable_shared
   13311  1.1  skrll 
   13312  1.1  skrll # Whether or not to build static libraries.
   13313  1.1  skrll build_old_libs=$enable_static
   13314  1.1  skrll 
   13315  1.1  skrll # What type of objects to build.
   13316  1.1  skrll pic_mode=$pic_mode
   13317  1.1  skrll 
   13318  1.1  skrll # Whether or not to optimize for fast installation.
   13319  1.1  skrll fast_install=$enable_fast_install
   13320  1.1  skrll 
   13321  1.1  skrll # The host system.
   13322  1.1  skrll host_alias=$host_alias
   13323  1.1  skrll host=$host
   13324  1.1  skrll host_os=$host_os
   13325  1.1  skrll 
   13326  1.1  skrll # The build system.
   13327  1.1  skrll build_alias=$build_alias
   13328  1.1  skrll build=$build
   13329  1.1  skrll build_os=$build_os
   13330  1.1  skrll 
   13331  1.1  skrll # A sed program that does not truncate output.
   13332  1.1  skrll SED=$lt_SED
   13333  1.1  skrll 
   13334  1.1  skrll # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13335  1.1  skrll Xsed="\$SED -e 1s/^X//"
   13336  1.1  skrll 
   13337  1.1  skrll # A grep program that handles long lines.
   13338  1.1  skrll GREP=$lt_GREP
   13339  1.1  skrll 
   13340  1.1  skrll # An ERE matcher.
   13341  1.1  skrll EGREP=$lt_EGREP
   13342  1.1  skrll 
   13343  1.1  skrll # A literal string matcher.
   13344  1.1  skrll FGREP=$lt_FGREP
   13345  1.1  skrll 
   13346  1.1  skrll # A BSD- or MS-compatible name lister.
   13347  1.1  skrll NM=$lt_NM
   13348  1.1  skrll 
   13349  1.1  skrll # Whether we need soft or hard links.
   13350  1.1  skrll LN_S=$lt_LN_S
   13351  1.1  skrll 
   13352  1.1  skrll # What is the maximum length of a command?
   13353  1.1  skrll max_cmd_len=$max_cmd_len
   13354  1.1  skrll 
   13355  1.1  skrll # Object file suffix (normally "o").
   13356  1.1  skrll objext=$ac_objext
   13357  1.1  skrll 
   13358  1.1  skrll # Executable file suffix (normally "").
   13359  1.1  skrll exeext=$exeext
   13360  1.1  skrll 
   13361  1.1  skrll # whether the shell understands "unset".
   13362  1.1  skrll lt_unset=$lt_unset
   13363  1.1  skrll 
   13364  1.1  skrll # turn spaces into newlines.
   13365  1.1  skrll SP2NL=$lt_lt_SP2NL
   13366  1.1  skrll 
   13367  1.1  skrll # turn newlines into spaces.
   13368  1.1  skrll NL2SP=$lt_lt_NL2SP
   13369  1.1  skrll 
   13370  1.1  skrll # How to create reloadable object files.
   13371  1.1  skrll reload_flag=$lt_reload_flag
   13372  1.1  skrll reload_cmds=$lt_reload_cmds
   13373  1.1  skrll 
   13374  1.1  skrll # Method to check whether dependent libraries are shared objects.
   13375  1.1  skrll deplibs_check_method=$lt_deplibs_check_method
   13376  1.1  skrll 
   13377  1.1  skrll # Command to use when deplibs_check_method == "file_magic".
   13378  1.1  skrll file_magic_cmd=$lt_file_magic_cmd
   13379  1.1  skrll 
   13380  1.1  skrll # The archiver.
   13381  1.1  skrll AR=$lt_AR
   13382  1.1  skrll AR_FLAGS=$lt_AR_FLAGS
   13383  1.1  skrll 
   13384  1.1  skrll # A symbol stripping program.
   13385  1.1  skrll STRIP=$lt_STRIP
   13386  1.1  skrll 
   13387  1.1  skrll # Commands used to install an old-style archive.
   13388  1.1  skrll RANLIB=$lt_RANLIB
   13389  1.1  skrll old_postinstall_cmds=$lt_old_postinstall_cmds
   13390  1.1  skrll old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13391  1.1  skrll 
   13392  1.1  skrll # A C compiler.
   13393  1.1  skrll LTCC=$lt_CC
   13394  1.1  skrll 
   13395  1.1  skrll # LTCC compiler flags.
   13396  1.1  skrll LTCFLAGS=$lt_CFLAGS
   13397  1.1  skrll 
   13398  1.1  skrll # Take the output of nm and produce a listing of raw symbols and C names.
   13399  1.1  skrll global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13400  1.1  skrll 
   13401  1.1  skrll # Transform the output of nm in a proper C declaration.
   13402  1.1  skrll global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13403  1.1  skrll 
   13404  1.1  skrll # Transform the output of nm in a C name address pair.
   13405  1.1  skrll global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13406  1.1  skrll 
   13407  1.1  skrll # The name of the directory that contains temporary libtool files.
   13408  1.1  skrll objdir=$objdir
   13409  1.1  skrll 
   13410  1.1  skrll # Shell to use when invoking shell scripts.
   13411  1.1  skrll SHELL=$lt_SHELL
   13412  1.1  skrll 
   13413  1.1  skrll # An echo program that does not interpret backslashes.
   13414  1.1  skrll ECHO=$lt_ECHO
   13415  1.1  skrll 
   13416  1.1  skrll # Used to examine libraries when file_magic_cmd begins with "file".
   13417  1.1  skrll MAGIC_CMD=$MAGIC_CMD
   13418  1.1  skrll 
   13419  1.1  skrll # Must we lock files when doing compilation?
   13420  1.1  skrll need_locks=$lt_need_locks
   13421  1.1  skrll 
   13422  1.1  skrll # Old archive suffix (normally "a").
   13423  1.1  skrll libext=$libext
   13424  1.1  skrll 
   13425  1.1  skrll # Shared library suffix (normally ".so").
   13426  1.1  skrll shrext_cmds=$lt_shrext_cmds
   13427  1.1  skrll 
   13428  1.1  skrll # The commands to extract the exported symbol list from a shared archive.
   13429  1.1  skrll extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13430  1.1  skrll 
   13431  1.1  skrll # Variables whose values should be saved in libtool wrapper scripts and
   13432  1.1  skrll # restored at link time.
   13433  1.1  skrll variables_saved_for_relink=$lt_variables_saved_for_relink
   13434  1.1  skrll 
   13435  1.1  skrll # Do we need the "lib" prefix for modules?
   13436  1.1  skrll need_lib_prefix=$need_lib_prefix
   13437  1.1  skrll 
   13438  1.1  skrll # Do we need a version for libraries?
   13439  1.1  skrll need_version=$need_version
   13440  1.1  skrll 
   13441  1.1  skrll # Library versioning type.
   13442  1.1  skrll version_type=$version_type
   13443  1.1  skrll 
   13444  1.1  skrll # Shared library runtime path variable.
   13445  1.1  skrll runpath_var=$runpath_var
   13446  1.1  skrll 
   13447  1.1  skrll # Shared library path variable.
   13448  1.1  skrll shlibpath_var=$shlibpath_var
   13449  1.1  skrll 
   13450  1.1  skrll # Is shlibpath searched before the hard-coded library search path?
   13451  1.1  skrll shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13452  1.1  skrll 
   13453  1.1  skrll # Format of library name prefix.
   13454  1.1  skrll libname_spec=$lt_libname_spec
   13455  1.1  skrll 
   13456  1.1  skrll # List of archive names.  First name is the real one, the rest are links.
   13457  1.1  skrll # The last name is the one that the linker finds with -lNAME
   13458  1.1  skrll library_names_spec=$lt_library_names_spec
   13459  1.1  skrll 
   13460  1.1  skrll # The coded name of the library, if different from the real name.
   13461  1.1  skrll soname_spec=$lt_soname_spec
   13462  1.1  skrll 
   13463  1.1  skrll # Command to use after installation of a shared archive.
   13464  1.1  skrll postinstall_cmds=$lt_postinstall_cmds
   13465  1.1  skrll 
   13466  1.1  skrll # Command to use after uninstallation of a shared archive.
   13467  1.1  skrll postuninstall_cmds=$lt_postuninstall_cmds
   13468  1.1  skrll 
   13469  1.1  skrll # Commands used to finish a libtool library installation in a directory.
   13470  1.1  skrll finish_cmds=$lt_finish_cmds
   13471  1.1  skrll 
   13472  1.1  skrll # As "finish_cmds", except a single script fragment to be evaled but
   13473  1.1  skrll # not shown.
   13474  1.1  skrll finish_eval=$lt_finish_eval
   13475  1.1  skrll 
   13476  1.1  skrll # Whether we should hardcode library paths into libraries.
   13477  1.1  skrll hardcode_into_libs=$hardcode_into_libs
   13478  1.1  skrll 
   13479  1.1  skrll # Compile-time system search path for libraries.
   13480  1.1  skrll sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13481  1.1  skrll 
   13482  1.1  skrll # Run-time system search path for libraries.
   13483  1.1  skrll sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13484  1.1  skrll 
   13485  1.1  skrll # Whether dlopen is supported.
   13486  1.1  skrll dlopen_support=$enable_dlopen
   13487  1.1  skrll 
   13488  1.1  skrll # Whether dlopen of programs is supported.
   13489  1.1  skrll dlopen_self=$enable_dlopen_self
   13490  1.1  skrll 
   13491  1.1  skrll # Whether dlopen of statically linked programs is supported.
   13492  1.1  skrll dlopen_self_static=$enable_dlopen_self_static
   13493  1.1  skrll 
   13494  1.1  skrll # Commands to strip libraries.
   13495  1.1  skrll old_striplib=$lt_old_striplib
   13496  1.1  skrll striplib=$lt_striplib
   13497  1.1  skrll 
   13498  1.1  skrll 
   13499  1.1  skrll # The linker used to build libraries.
   13500  1.1  skrll LD=$lt_LD
   13501  1.1  skrll 
   13502  1.1  skrll # Commands used to build an old-style archive.
   13503  1.1  skrll old_archive_cmds=$lt_old_archive_cmds
   13504  1.1  skrll 
   13505  1.1  skrll # A language specific compiler.
   13506  1.1  skrll CC=$lt_compiler
   13507  1.1  skrll 
   13508  1.1  skrll # Is the compiler the GNU compiler?
   13509  1.1  skrll with_gcc=$GCC
   13510  1.1  skrll 
   13511  1.1  skrll # Compiler flag to turn off builtin functions.
   13512  1.1  skrll no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13513  1.1  skrll 
   13514  1.1  skrll # How to pass a linker flag through the compiler.
   13515  1.1  skrll wl=$lt_lt_prog_compiler_wl
   13516  1.1  skrll 
   13517  1.1  skrll # Additional compiler flags for building library objects.
   13518  1.1  skrll pic_flag=$lt_lt_prog_compiler_pic
   13519  1.1  skrll 
   13520  1.1  skrll # Compiler flag to prevent dynamic linking.
   13521  1.1  skrll link_static_flag=$lt_lt_prog_compiler_static
   13522  1.1  skrll 
   13523  1.1  skrll # Does compiler simultaneously support -c and -o options?
   13524  1.1  skrll compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13525  1.1  skrll 
   13526  1.1  skrll # Whether or not to add -lc for building shared libraries.
   13527  1.1  skrll build_libtool_need_lc=$archive_cmds_need_lc
   13528  1.1  skrll 
   13529  1.1  skrll # Whether or not to disallow shared libs when runtime libs are static.
   13530  1.1  skrll allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13531  1.1  skrll 
   13532  1.1  skrll # Compiler flag to allow reflexive dlopens.
   13533  1.1  skrll export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13534  1.1  skrll 
   13535  1.1  skrll # Compiler flag to generate shared objects directly from archives.
   13536  1.1  skrll whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13537  1.1  skrll 
   13538  1.1  skrll # Whether the compiler copes with passing no objects directly.
   13539  1.1  skrll compiler_needs_object=$lt_compiler_needs_object
   13540  1.1  skrll 
   13541  1.1  skrll # Create an old-style archive from a shared archive.
   13542  1.1  skrll old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13543  1.1  skrll 
   13544  1.1  skrll # Create a temporary old-style archive to link instead of a shared archive.
   13545  1.1  skrll old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13546  1.1  skrll 
   13547  1.1  skrll # Commands used to build a shared archive.
   13548  1.1  skrll archive_cmds=$lt_archive_cmds
   13549  1.1  skrll archive_expsym_cmds=$lt_archive_expsym_cmds
   13550  1.1  skrll 
   13551  1.1  skrll # Commands used to build a loadable module if different from building
   13552  1.1  skrll # a shared archive.
   13553  1.1  skrll module_cmds=$lt_module_cmds
   13554  1.1  skrll module_expsym_cmds=$lt_module_expsym_cmds
   13555  1.1  skrll 
   13556  1.1  skrll # Whether we are building with GNU ld or not.
   13557  1.1  skrll with_gnu_ld=$lt_with_gnu_ld
   13558  1.1  skrll 
   13559  1.1  skrll # Flag that allows shared libraries with undefined symbols to be built.
   13560  1.1  skrll allow_undefined_flag=$lt_allow_undefined_flag
   13561  1.1  skrll 
   13562  1.1  skrll # Flag that enforces no undefined symbols.
   13563  1.1  skrll no_undefined_flag=$lt_no_undefined_flag
   13564  1.1  skrll 
   13565  1.1  skrll # Flag to hardcode \$libdir into a binary during linking.
   13566  1.1  skrll # This must work even if \$libdir does not exist
   13567  1.1  skrll hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13568  1.1  skrll 
   13569  1.1  skrll # If ld is used when linking, flag to hardcode \$libdir into a binary
   13570  1.1  skrll # during linking.  This must work even if \$libdir does not exist.
   13571  1.1  skrll hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13572  1.1  skrll 
   13573  1.1  skrll # Whether we need a single "-rpath" flag with a separated argument.
   13574  1.1  skrll hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13575  1.1  skrll 
   13576  1.1  skrll # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13577  1.1  skrll # DIR into the resulting binary.
   13578  1.1  skrll hardcode_direct=$hardcode_direct
   13579  1.1  skrll 
   13580  1.1  skrll # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13581  1.1  skrll # DIR into the resulting binary and the resulting library dependency is
   13582  1.1  skrll # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13583  1.1  skrll # library is relocated.
   13584  1.1  skrll hardcode_direct_absolute=$hardcode_direct_absolute
   13585  1.1  skrll 
   13586  1.1  skrll # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13587  1.1  skrll # into the resulting binary.
   13588  1.1  skrll hardcode_minus_L=$hardcode_minus_L
   13589  1.1  skrll 
   13590  1.1  skrll # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13591  1.1  skrll # into the resulting binary.
   13592  1.1  skrll hardcode_shlibpath_var=$hardcode_shlibpath_var
   13593  1.1  skrll 
   13594  1.1  skrll # Set to "yes" if building a shared library automatically hardcodes DIR
   13595  1.1  skrll # into the library and all subsequent libraries and executables linked
   13596  1.1  skrll # against it.
   13597  1.1  skrll hardcode_automatic=$hardcode_automatic
   13598  1.1  skrll 
   13599  1.1  skrll # Set to yes if linker adds runtime paths of dependent libraries
   13600  1.1  skrll # to runtime path list.
   13601  1.1  skrll inherit_rpath=$inherit_rpath
   13602  1.1  skrll 
   13603  1.1  skrll # Whether libtool must link a program against all its dependency libraries.
   13604  1.1  skrll link_all_deplibs=$link_all_deplibs
   13605  1.1  skrll 
   13606  1.1  skrll # Fix the shell variable \$srcfile for the compiler.
   13607  1.1  skrll fix_srcfile_path=$lt_fix_srcfile_path
   13608  1.1  skrll 
   13609  1.1  skrll # Set to "yes" if exported symbols are required.
   13610  1.1  skrll always_export_symbols=$always_export_symbols
   13611  1.1  skrll 
   13612  1.1  skrll # The commands to list exported symbols.
   13613  1.1  skrll export_symbols_cmds=$lt_export_symbols_cmds
   13614  1.1  skrll 
   13615  1.1  skrll # Symbols that should not be listed in the preloaded symbols.
   13616  1.1  skrll exclude_expsyms=$lt_exclude_expsyms
   13617  1.1  skrll 
   13618  1.1  skrll # Symbols that must always be exported.
   13619  1.1  skrll include_expsyms=$lt_include_expsyms
   13620  1.1  skrll 
   13621  1.1  skrll # Commands necessary for linking programs (against libraries) with templates.
   13622  1.1  skrll prelink_cmds=$lt_prelink_cmds
   13623  1.1  skrll 
   13624  1.1  skrll # Specify filename containing input files.
   13625  1.1  skrll file_list_spec=$lt_file_list_spec
   13626  1.1  skrll 
   13627  1.1  skrll # How to hardcode a shared library path into an executable.
   13628  1.1  skrll hardcode_action=$hardcode_action
   13629  1.1  skrll 
   13630  1.1  skrll # ### END LIBTOOL CONFIG
   13631  1.1  skrll 
   13632  1.1  skrll _LT_EOF
   13633  1.1  skrll 
   13634  1.1  skrll   case $host_os in
   13635  1.1  skrll   aix3*)
   13636  1.1  skrll     cat <<\_LT_EOF >> "$cfgfile"
   13637  1.1  skrll # AIX sometimes has problems with the GCC collect2 program.  For some
   13638  1.1  skrll # reason, if we set the COLLECT_NAMES environment variable, the problems
   13639  1.1  skrll # vanish in a puff of smoke.
   13640  1.1  skrll if test "X${COLLECT_NAMES+set}" != Xset; then
   13641  1.1  skrll   COLLECT_NAMES=
   13642  1.1  skrll   export COLLECT_NAMES
   13643  1.1  skrll fi
   13644  1.1  skrll _LT_EOF
   13645  1.1  skrll     ;;
   13646  1.1  skrll   esac
   13647  1.1  skrll 
   13648  1.1  skrll 
   13649  1.1  skrll ltmain="$ac_aux_dir/ltmain.sh"
   13650  1.1  skrll 
   13651  1.1  skrll 
   13652  1.1  skrll   # We use sed instead of cat because bash on DJGPP gets confused if
   13653  1.1  skrll   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13654  1.1  skrll   # text mode, it properly converts lines to CR/LF.  This bash problem
   13655  1.1  skrll   # is reportedly fixed, but why not run on old versions too?
   13656  1.1  skrll   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13657  1.1  skrll     || (rm -f "$cfgfile"; exit 1)
   13658  1.1  skrll 
   13659  1.1  skrll   case $xsi_shell in
   13660  1.1  skrll   yes)
   13661  1.1  skrll     cat << \_LT_EOF >> "$cfgfile"
   13662  1.1  skrll # func_dirname file append nondir_replacement
   13663  1.1  skrll # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13664  1.1  skrll # otherwise set result to NONDIR_REPLACEMENT.
   13665  1.1  skrll func_dirname ()
   13666  1.1  skrll {
   13667  1.1  skrll   case ${1} in
   13668  1.1  skrll     */*) func_dirname_result="${1%/*}${2}" ;;
   13669  1.1  skrll     *  ) func_dirname_result="${3}" ;;
   13670  1.1  skrll   esac
   13671  1.1  skrll }
   13672  1.1  skrll 
   13673  1.1  skrll # func_basename file
   13674  1.1  skrll func_basename ()
   13675  1.1  skrll {
   13676  1.1  skrll   func_basename_result="${1##*/}"
   13677  1.1  skrll }
   13678  1.1  skrll 
   13679  1.1  skrll # func_stripname prefix suffix name
   13680  1.1  skrll # strip PREFIX and SUFFIX off of NAME.
   13681  1.1  skrll # PREFIX and SUFFIX must not contain globbing or regex special
   13682  1.1  skrll # characters, hashes, percent signs, but SUFFIX may contain a leading
   13683  1.1  skrll # dot (in which case that matches only a dot).
   13684  1.1  skrll func_stripname ()
   13685  1.1  skrll {
   13686  1.1  skrll   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   13687  1.1  skrll   # positional parameters, so assign one to ordinary parameter first.
   13688  1.1  skrll   func_stripname_result=${3}
   13689  1.1  skrll   func_stripname_result=${func_stripname_result#"${1}"}
   13690  1.1  skrll   func_stripname_result=${func_stripname_result%"${2}"}
   13691  1.1  skrll }
   13692  1.1  skrll 
   13693  1.1  skrll # func_opt_split
   13694  1.1  skrll func_opt_split ()
   13695  1.1  skrll {
   13696  1.1  skrll   func_opt_split_opt=${1%%=*}
   13697  1.1  skrll   func_opt_split_arg=${1#*=}
   13698  1.1  skrll }
   13699  1.1  skrll 
   13700  1.1  skrll # func_lo2o object
   13701  1.1  skrll func_lo2o ()
   13702  1.1  skrll {
   13703  1.1  skrll   case ${1} in
   13704  1.1  skrll     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   13705  1.1  skrll     *)    func_lo2o_result=${1} ;;
   13706  1.1  skrll   esac
   13707  1.1  skrll }
   13708  1.1  skrll _LT_EOF
   13709  1.1  skrll     ;;
   13710  1.1  skrll   *) # Bourne compatible functions.
   13711  1.1  skrll     cat << \_LT_EOF >> "$cfgfile"
   13712  1.1  skrll # func_dirname file append nondir_replacement
   13713  1.1  skrll # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13714  1.1  skrll # otherwise set result to NONDIR_REPLACEMENT.
   13715  1.1  skrll func_dirname ()
   13716  1.1  skrll {
   13717  1.1  skrll   # Extract subdirectory from the argument.
   13718  1.1  skrll   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   13719  1.1  skrll   if test "X$func_dirname_result" = "X${1}"; then
   13720  1.1  skrll     func_dirname_result="${3}"
   13721  1.1  skrll   else
   13722  1.1  skrll     func_dirname_result="$func_dirname_result${2}"
   13723  1.1  skrll   fi
   13724  1.1  skrll }
   13725  1.1  skrll 
   13726  1.1  skrll # func_basename file
   13727  1.1  skrll func_basename ()
   13728  1.1  skrll {
   13729  1.1  skrll   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   13730  1.1  skrll }
   13731  1.1  skrll 
   13732  1.1  skrll # func_stripname prefix suffix name
   13733  1.1  skrll # strip PREFIX and SUFFIX off of NAME.
   13734  1.1  skrll # PREFIX and SUFFIX must not contain globbing or regex special
   13735  1.1  skrll # characters, hashes, percent signs, but SUFFIX may contain a leading
   13736  1.1  skrll # dot (in which case that matches only a dot).
   13737  1.1  skrll # func_strip_suffix prefix name
   13738  1.1  skrll func_stripname ()
   13739  1.1  skrll {
   13740  1.1  skrll   case ${2} in
   13741  1.1  skrll     .*) func_stripname_result=`$ECHO "X${3}" \
   13742  1.1  skrll            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   13743  1.1  skrll     *)  func_stripname_result=`$ECHO "X${3}" \
   13744  1.1  skrll            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   13745  1.1  skrll   esac
   13746  1.1  skrll }
   13747  1.1  skrll 
   13748  1.1  skrll # sed scripts:
   13749  1.1  skrll my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   13750  1.1  skrll my_sed_long_arg='1s/^-[^=]*=//'
   13751  1.1  skrll 
   13752  1.1  skrll # func_opt_split
   13753  1.1  skrll func_opt_split ()
   13754  1.1  skrll {
   13755  1.1  skrll   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   13756  1.1  skrll   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   13757  1.1  skrll }
   13758  1.1  skrll 
   13759  1.1  skrll # func_lo2o object
   13760  1.1  skrll func_lo2o ()
   13761  1.1  skrll {
   13762  1.1  skrll   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   13763  1.1  skrll }
   13764  1.1  skrll _LT_EOF
   13765  1.1  skrll esac
   13766  1.1  skrll 
   13767  1.1  skrll case $lt_shell_append in
   13768  1.1  skrll   yes)
   13769  1.1  skrll     cat << \_LT_EOF >> "$cfgfile"
   13770  1.1  skrll 
   13771  1.1  skrll # func_append var value
   13772  1.1  skrll # Append VALUE to the end of shell variable VAR.
   13773  1.1  skrll func_append ()
   13774  1.1  skrll {
   13775  1.1  skrll   eval "$1+=\$2"
   13776  1.1  skrll }
   13777  1.1  skrll _LT_EOF
   13778  1.1  skrll     ;;
   13779  1.1  skrll   *)
   13780  1.1  skrll     cat << \_LT_EOF >> "$cfgfile"
   13781  1.1  skrll 
   13782  1.1  skrll # func_append var value
   13783  1.1  skrll # Append VALUE to the end of shell variable VAR.
   13784  1.1  skrll func_append ()
   13785  1.1  skrll {
   13786  1.1  skrll   eval "$1=\$$1\$2"
   13787  1.1  skrll }
   13788  1.1  skrll _LT_EOF
   13789  1.1  skrll     ;;
   13790  1.1  skrll   esac
   13791  1.1  skrll 
   13792  1.1  skrll 
   13793  1.1  skrll   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   13794  1.1  skrll     || (rm -f "$cfgfile"; exit 1)
   13795  1.1  skrll 
   13796  1.1  skrll   mv -f "$cfgfile" "$ofile" ||
   13797  1.1  skrll     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   13798  1.1  skrll   chmod +x "$ofile"
   13799  1.1  skrll 
   13800  1.1  skrll  ;;
   13801  1.1  skrll     default-1 )
   13802  1.1  skrll     for ac_file in $CONFIG_FILES; do
   13803  1.1  skrll       # Support "outfile[:infile[:infile...]]"
   13804  1.1  skrll       case "$ac_file" in
   13805  1.1  skrll         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   13806  1.1  skrll       esac
   13807  1.1  skrll       # PO directories have a Makefile.in generated from Makefile.in.in.
   13808  1.1  skrll       case "$ac_file" in */Makefile.in)
   13809  1.1  skrll         # Adjust a relative srcdir.
   13810  1.1  skrll         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   13811  1.1  skrll         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   13812  1.1  skrll         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   13813  1.1  skrll         # In autoconf-2.13 it is called $ac_given_srcdir.
   13814  1.1  skrll         # In autoconf-2.50 it is called $srcdir.
   13815  1.1  skrll         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   13816  1.1  skrll         case "$ac_given_srcdir" in
   13817  1.1  skrll           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   13818  1.1  skrll           /*) top_srcdir="$ac_given_srcdir" ;;
   13819  1.1  skrll           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   13820  1.1  skrll         esac
   13821  1.1  skrll         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   13822  1.1  skrll           rm -f "$ac_dir/POTFILES"
   13823  1.1  skrll           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   13824  1.1  skrll           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   13825  1.1  skrll           POMAKEFILEDEPS="POTFILES.in"
   13826  1.1  skrll           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   13827  1.1  skrll           # on $ac_dir but don't depend on user-specified configuration
   13828  1.1  skrll           # parameters.
   13829  1.1  skrll           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   13830  1.1  skrll             # The LINGUAS file contains the set of available languages.
   13831  1.1  skrll             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   13832  1.1  skrll               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   13833  1.1  skrll             fi
   13834  1.1  skrll             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   13835  1.1  skrll             # Hide the ALL_LINGUAS assigment from automake.
   13836  1.1  skrll             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   13837  1.1  skrll             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   13838  1.1  skrll           else
   13839  1.1  skrll             # The set of available languages was given in configure.in.
   13840  1.1  skrll             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   13841  1.1  skrll           fi
   13842  1.1  skrll           case "$ac_given_srcdir" in
   13843  1.1  skrll             .) srcdirpre= ;;
   13844  1.1  skrll             *) srcdirpre='$(srcdir)/' ;;
   13845  1.1  skrll           esac
   13846  1.1  skrll           POFILES=
   13847  1.1  skrll           GMOFILES=
   13848  1.1  skrll           UPDATEPOFILES=
   13849  1.1  skrll           DUMMYPOFILES=
   13850  1.1  skrll           for lang in $ALL_LINGUAS; do
   13851  1.1  skrll             POFILES="$POFILES $srcdirpre$lang.po"
   13852  1.1  skrll             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   13853  1.1  skrll             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   13854  1.1  skrll             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   13855  1.1  skrll           done
   13856  1.1  skrll           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   13857  1.1  skrll           # environment variable.
   13858  1.1  skrll           INST_LINGUAS=
   13859  1.1  skrll           if test -n "$ALL_LINGUAS"; then
   13860  1.1  skrll             for presentlang in $ALL_LINGUAS; do
   13861  1.1  skrll               useit=no
   13862  1.1  skrll               if test "%UNSET%" != "$LINGUAS"; then
   13863  1.1  skrll                 desiredlanguages="$LINGUAS"
   13864  1.1  skrll               else
   13865  1.1  skrll                 desiredlanguages="$ALL_LINGUAS"
   13866  1.1  skrll               fi
   13867  1.1  skrll               for desiredlang in $desiredlanguages; do
   13868  1.1  skrll                 # Use the presentlang catalog if desiredlang is
   13869  1.1  skrll                 #   a. equal to presentlang, or
   13870  1.1  skrll                 #   b. a variant of presentlang (because in this case,
   13871  1.1  skrll                 #      presentlang can be used as a fallback for messages
   13872  1.1  skrll                 #      which are not translated in the desiredlang catalog).
   13873  1.1  skrll                 case "$desiredlang" in
   13874  1.1  skrll                   "$presentlang"*) useit=yes;;
   13875  1.1  skrll                 esac
   13876  1.1  skrll               done
   13877  1.1  skrll               if test $useit = yes; then
   13878  1.1  skrll                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   13879  1.1  skrll               fi
   13880  1.1  skrll             done
   13881  1.1  skrll           fi
   13882  1.1  skrll           CATALOGS=
   13883  1.1  skrll           if test -n "$INST_LINGUAS"; then
   13884  1.1  skrll             for lang in $INST_LINGUAS; do
   13885  1.1  skrll               CATALOGS="$CATALOGS $lang.gmo"
   13886  1.1  skrll             done
   13887  1.1  skrll           fi
   13888  1.1  skrll           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   13889  1.1  skrll           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   13890  1.1  skrll           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   13891  1.1  skrll             if test -f "$f"; then
   13892  1.1  skrll               case "$f" in
   13893  1.1  skrll                 *.orig | *.bak | *~) ;;
   13894  1.1  skrll                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   13895  1.1  skrll               esac
   13896  1.1  skrll             fi
   13897  1.1  skrll           done
   13898  1.1  skrll         fi
   13899  1.1  skrll         ;;
   13900  1.1  skrll       esac
   13901  1.1  skrll     done ;;
   13902  1.1  skrll   esac
   13903  1.1  skrll done
   13904  1.1  skrll _ACEOF
   13905  1.1  skrll 
   13906  1.1  skrll cat >>$CONFIG_STATUS <<\_ACEOF
   13907  1.1  skrll 
   13908  1.1  skrll { (exit 0); exit 0; }
   13909  1.1  skrll _ACEOF
   13910  1.1  skrll chmod +x $CONFIG_STATUS
   13911  1.1  skrll ac_clean_files=$ac_clean_files_save
   13912  1.1  skrll 
   13913  1.1  skrll 
   13914  1.1  skrll # configure is writing to config.log, and then calls config.status.
   13915  1.1  skrll # config.status does its own redirection, appending to config.log.
   13916  1.1  skrll # Unfortunately, on DOS this fails, as config.log is still kept open
   13917  1.1  skrll # by configure, so config.status won't be able to write to it; its
   13918  1.1  skrll # output is simply discarded.  So we exec the FD to /dev/null,
   13919  1.1  skrll # effectively closing config.log, so it can be properly (re)opened and
   13920  1.1  skrll # appended to by config.status.  When coming back to configure, we
   13921  1.1  skrll # need to make the FD available again.
   13922  1.1  skrll if test "$no_create" != yes; then
   13923  1.1  skrll   ac_cs_success=:
   13924  1.1  skrll   ac_config_status_args=
   13925  1.1  skrll   test "$silent" = yes &&
   13926  1.1  skrll     ac_config_status_args="$ac_config_status_args --quiet"
   13927  1.1  skrll   exec 5>/dev/null
   13928  1.1  skrll   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13929  1.1  skrll   exec 5>>config.log
   13930  1.1  skrll   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13931  1.1  skrll   # would make configure fail if this is the last instruction.
   13932  1.1  skrll   $ac_cs_success || { (exit 1); exit 1; }
   13933  1.1  skrll fi
   13934  1.1  skrll 
   13935