Home | History | Annotate | Line # | Download | only in rpathlyx
      1  1.1  christos #! /bin/sh
      2  1.1  christos # Guess values for system-dependent variables and create Makefiles.
      3  1.1  christos # Generated by GNU Autoconf 2.60.
      4  1.1  christos #
      5  1.1  christos # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      6  1.1  christos # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      7  1.1  christos # This configure script is free software; the Free Software Foundation
      8  1.1  christos # gives unlimited permission to copy, distribute and modify it.
      9  1.1  christos ## --------------------- ##
     10  1.1  christos ## M4sh Initialization.  ##
     11  1.1  christos ## --------------------- ##
     12  1.1  christos 
     13  1.1  christos # Be Bourne compatible
     14  1.1  christos if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     15  1.1  christos   emulate sh
     16  1.1  christos   NULLCMD=:
     17  1.1  christos   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     18  1.1  christos   # is contrary to our usage.  Disable this feature.
     19  1.1  christos   alias -g '${1+"$@"}'='"$@"'
     20  1.1  christos   setopt NO_GLOB_SUBST
     21  1.1  christos else
     22  1.1  christos   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
     23  1.1  christos fi
     24  1.1  christos BIN_SH=xpg4; export BIN_SH # for Tru64
     25  1.1  christos DUALCASE=1; export DUALCASE # for MKS sh
     26  1.1  christos 
     27  1.1  christos 
     28  1.1  christos # PATH needs CR
     29  1.1  christos # Avoid depending upon Character Ranges.
     30  1.1  christos as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     31  1.1  christos as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     32  1.1  christos as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     33  1.1  christos as_cr_digits='0123456789'
     34  1.1  christos as_cr_alnum=$as_cr_Letters$as_cr_digits
     35  1.1  christos 
     36  1.1  christos # The user is always right.
     37  1.1  christos if test "${PATH_SEPARATOR+set}" != set; then
     38  1.1  christos   echo "#! /bin/sh" >conf$$.sh
     39  1.1  christos   echo  "exit 0"   >>conf$$.sh
     40  1.1  christos   chmod +x conf$$.sh
     41  1.1  christos   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     42  1.1  christos     PATH_SEPARATOR=';'
     43  1.1  christos   else
     44  1.1  christos     PATH_SEPARATOR=:
     45  1.1  christos   fi
     46  1.1  christos   rm -f conf$$.sh
     47  1.1  christos fi
     48  1.1  christos 
     49  1.1  christos # Support unset when possible.
     50  1.1  christos if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     51  1.1  christos   as_unset=unset
     52  1.1  christos else
     53  1.1  christos   as_unset=false
     54  1.1  christos fi
     55  1.1  christos 
     56  1.1  christos 
     57  1.1  christos # IFS
     58  1.1  christos # We need space, tab and new line, in precisely that order.  Quoting is
     59  1.1  christos # there to prevent editors from complaining about space-tab.
     60  1.1  christos # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     61  1.1  christos # splitting by setting IFS to empty value.)
     62  1.1  christos as_nl='
     63  1.1  christos '
     64  1.1  christos IFS=" ""	$as_nl"
     65  1.1  christos 
     66  1.1  christos # Find who we are.  Look in the path if we contain no directory separator.
     67  1.1  christos case $0 in
     68  1.1  christos   *[\\/]* ) as_myself=$0 ;;
     69  1.1  christos   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     70  1.1  christos for as_dir in $PATH
     71  1.1  christos do
     72  1.1  christos   IFS=$as_save_IFS
     73  1.1  christos   test -z "$as_dir" && as_dir=.
     74  1.1  christos   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     75  1.1  christos done
     76  1.1  christos IFS=$as_save_IFS
     77  1.1  christos 
     78  1.1  christos      ;;
     79  1.1  christos esac
     80  1.1  christos # We did not find ourselves, most probably we were run as `sh COMMAND'
     81  1.1  christos # in which case we are not to be found in the path.
     82  1.1  christos if test "x$as_myself" = x; then
     83  1.1  christos   as_myself=$0
     84  1.1  christos fi
     85  1.1  christos if test ! -f "$as_myself"; then
     86  1.1  christos   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     87  1.1  christos   { (exit 1); exit 1; }
     88  1.1  christos fi
     89  1.1  christos 
     90  1.1  christos # Work around bugs in pre-3.0 UWIN ksh.
     91  1.1  christos for as_var in ENV MAIL MAILPATH
     92  1.1  christos do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     93  1.1  christos done
     94  1.1  christos PS1='$ '
     95  1.1  christos PS2='> '
     96  1.1  christos PS4='+ '
     97  1.1  christos 
     98  1.1  christos # NLS nuisances.
     99  1.1  christos for as_var in \
    100  1.1  christos   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    101  1.1  christos   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    102  1.1  christos   LC_TELEPHONE LC_TIME
    103  1.1  christos do
    104  1.1  christos   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    105  1.1  christos     eval $as_var=C; export $as_var
    106  1.1  christos   else
    107  1.1  christos     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    108  1.1  christos   fi
    109  1.1  christos done
    110  1.1  christos 
    111  1.1  christos # Required to use basename.
    112  1.1  christos if expr a : '\(a\)' >/dev/null 2>&1 &&
    113  1.1  christos    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    114  1.1  christos   as_expr=expr
    115  1.1  christos else
    116  1.1  christos   as_expr=false
    117  1.1  christos fi
    118  1.1  christos 
    119  1.1  christos if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    120  1.1  christos   as_basename=basename
    121  1.1  christos else
    122  1.1  christos   as_basename=false
    123  1.1  christos fi
    124  1.1  christos 
    125  1.1  christos 
    126  1.1  christos # Name of the executable.
    127  1.1  christos as_me=`$as_basename -- "$0" ||
    128  1.1  christos $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    129  1.1  christos 	 X"$0" : 'X\(//\)$' \| \
    130  1.1  christos 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    131  1.1  christos echo X/"$0" |
    132  1.1  christos     sed '/^.*\/\([^/][^/]*\)\/*$/{
    133  1.1  christos 	    s//\1/
    134  1.1  christos 	    q
    135  1.1  christos 	  }
    136  1.1  christos 	  /^X\/\(\/\/\)$/{
    137  1.1  christos 	    s//\1/
    138  1.1  christos 	    q
    139  1.1  christos 	  }
    140  1.1  christos 	  /^X\/\(\/\).*/{
    141  1.1  christos 	    s//\1/
    142  1.1  christos 	    q
    143  1.1  christos 	  }
    144  1.1  christos 	  s/.*/./; q'`
    145  1.1  christos 
    146  1.1  christos # CDPATH.
    147  1.1  christos $as_unset CDPATH
    148  1.1  christos 
    149  1.1  christos 
    150  1.1  christos if test "x$CONFIG_SHELL" = x; then
    151  1.1  christos   if (eval ":") 2>/dev/null; then
    152  1.1  christos   as_have_required=yes
    153  1.1  christos else
    154  1.1  christos   as_have_required=no
    155  1.1  christos fi
    156  1.1  christos 
    157  1.1  christos   if test $as_have_required = yes && 	 (eval ":
    158  1.1  christos (as_func_return () {
    159  1.1  christos   (exit \$1)
    160  1.1  christos }
    161  1.1  christos as_func_success () {
    162  1.1  christos   as_func_return 0
    163  1.1  christos }
    164  1.1  christos as_func_failure () {
    165  1.1  christos   as_func_return 1
    166  1.1  christos }
    167  1.1  christos as_func_ret_success () {
    168  1.1  christos   return 0
    169  1.1  christos }
    170  1.1  christos as_func_ret_failure () {
    171  1.1  christos   return 1
    172  1.1  christos }
    173  1.1  christos 
    174  1.1  christos exitcode=0
    175  1.1  christos if as_func_success; then
    176  1.1  christos   :
    177  1.1  christos else
    178  1.1  christos   exitcode=1
    179  1.1  christos   echo as_func_success failed.
    180  1.1  christos fi
    181  1.1  christos 
    182  1.1  christos if as_func_failure; then
    183  1.1  christos   exitcode=1
    184  1.1  christos   echo as_func_failure succeeded.
    185  1.1  christos fi
    186  1.1  christos 
    187  1.1  christos if as_func_ret_success; then
    188  1.1  christos   :
    189  1.1  christos else
    190  1.1  christos   exitcode=1
    191  1.1  christos   echo as_func_ret_success failed.
    192  1.1  christos fi
    193  1.1  christos 
    194  1.1  christos if as_func_ret_failure; then
    195  1.1  christos   exitcode=1
    196  1.1  christos   echo as_func_ret_failure succeeded.
    197  1.1  christos fi
    198  1.1  christos 
    199  1.1  christos if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    200  1.1  christos   :
    201  1.1  christos else
    202  1.1  christos   exitcode=1
    203  1.1  christos   echo positional parameters were not saved.
    204  1.1  christos fi
    205  1.1  christos 
    206  1.1  christos test \$exitcode = 0) || { (exit 1); exit 1; }
    207  1.1  christos 
    208  1.1  christos (
    209  1.1  christos   as_lineno_1=\$LINENO
    210  1.1  christos   as_lineno_2=\$LINENO
    211  1.1  christos   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    212  1.1  christos   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    213  1.1  christos ") 2> /dev/null; then
    214  1.1  christos   :
    215  1.1  christos else
    216  1.1  christos   as_candidate_shells=
    217  1.1  christos     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    218  1.1  christos for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219  1.1  christos do
    220  1.1  christos   IFS=$as_save_IFS
    221  1.1  christos   test -z "$as_dir" && as_dir=.
    222  1.1  christos   case $as_dir in
    223  1.1  christos 	 /*)
    224  1.1  christos 	   for as_base in sh bash ksh sh5; do
    225  1.1  christos 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    226  1.1  christos 	   done;;
    227  1.1  christos        esac
    228  1.1  christos done
    229  1.1  christos IFS=$as_save_IFS
    230  1.1  christos 
    231  1.1  christos 
    232  1.1  christos       for as_shell in $as_candidate_shells $SHELL; do
    233  1.1  christos 	 # Try only shells that exist, to save several forks.
    234  1.1  christos 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    235  1.1  christos 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    236  1.1  christos # Be Bourne compatible
    237  1.1  christos if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    238  1.1  christos   emulate sh
    239  1.1  christos   NULLCMD=:
    240  1.1  christos   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    241  1.1  christos   # is contrary to our usage.  Disable this feature.
    242  1.1  christos   alias -g '${1+"$@"}'='"$@"'
    243  1.1  christos   setopt NO_GLOB_SUBST
    244  1.1  christos else
    245  1.1  christos   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    246  1.1  christos fi
    247  1.1  christos BIN_SH=xpg4; export BIN_SH # for Tru64
    248  1.1  christos DUALCASE=1; export DUALCASE # for MKS sh
    249  1.1  christos 
    250  1.1  christos :
    251  1.1  christos _ASEOF
    252  1.1  christos }; then
    253  1.1  christos   CONFIG_SHELL=$as_shell
    254  1.1  christos 	       as_have_required=yes
    255  1.1  christos 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    256  1.1  christos # Be Bourne compatible
    257  1.1  christos if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    258  1.1  christos   emulate sh
    259  1.1  christos   NULLCMD=:
    260  1.1  christos   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    261  1.1  christos   # is contrary to our usage.  Disable this feature.
    262  1.1  christos   alias -g '${1+"$@"}'='"$@"'
    263  1.1  christos   setopt NO_GLOB_SUBST
    264  1.1  christos else
    265  1.1  christos   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    266  1.1  christos fi
    267  1.1  christos BIN_SH=xpg4; export BIN_SH # for Tru64
    268  1.1  christos DUALCASE=1; export DUALCASE # for MKS sh
    269  1.1  christos 
    270  1.1  christos :
    271  1.1  christos (as_func_return () {
    272  1.1  christos   (exit $1)
    273  1.1  christos }
    274  1.1  christos as_func_success () {
    275  1.1  christos   as_func_return 0
    276  1.1  christos }
    277  1.1  christos as_func_failure () {
    278  1.1  christos   as_func_return 1
    279  1.1  christos }
    280  1.1  christos as_func_ret_success () {
    281  1.1  christos   return 0
    282  1.1  christos }
    283  1.1  christos as_func_ret_failure () {
    284  1.1  christos   return 1
    285  1.1  christos }
    286  1.1  christos 
    287  1.1  christos exitcode=0
    288  1.1  christos if as_func_success; then
    289  1.1  christos   :
    290  1.1  christos else
    291  1.1  christos   exitcode=1
    292  1.1  christos   echo as_func_success failed.
    293  1.1  christos fi
    294  1.1  christos 
    295  1.1  christos if as_func_failure; then
    296  1.1  christos   exitcode=1
    297  1.1  christos   echo as_func_failure succeeded.
    298  1.1  christos fi
    299  1.1  christos 
    300  1.1  christos if as_func_ret_success; then
    301  1.1  christos   :
    302  1.1  christos else
    303  1.1  christos   exitcode=1
    304  1.1  christos   echo as_func_ret_success failed.
    305  1.1  christos fi
    306  1.1  christos 
    307  1.1  christos if as_func_ret_failure; then
    308  1.1  christos   exitcode=1
    309  1.1  christos   echo as_func_ret_failure succeeded.
    310  1.1  christos fi
    311  1.1  christos 
    312  1.1  christos if ( set x; as_func_ret_success y && test x = "$1" ); then
    313  1.1  christos   :
    314  1.1  christos else
    315  1.1  christos   exitcode=1
    316  1.1  christos   echo positional parameters were not saved.
    317  1.1  christos fi
    318  1.1  christos 
    319  1.1  christos test $exitcode = 0) || { (exit 1); exit 1; }
    320  1.1  christos 
    321  1.1  christos (
    322  1.1  christos   as_lineno_1=$LINENO
    323  1.1  christos   as_lineno_2=$LINENO
    324  1.1  christos   test "x$as_lineno_1" != "x$as_lineno_2" &&
    325  1.1  christos   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    326  1.1  christos 
    327  1.1  christos _ASEOF
    328  1.1  christos }; then
    329  1.1  christos   break
    330  1.1  christos fi
    331  1.1  christos 
    332  1.1  christos fi
    333  1.1  christos 
    334  1.1  christos       done
    335  1.1  christos 
    336  1.1  christos       if test "x$CONFIG_SHELL" != x; then
    337  1.1  christos   for as_var in BASH_ENV ENV
    338  1.1  christos         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    339  1.1  christos         done
    340  1.1  christos         export CONFIG_SHELL
    341  1.1  christos         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    342  1.1  christos fi
    343  1.1  christos 
    344  1.1  christos 
    345  1.1  christos     if test $as_have_required = no; then
    346  1.1  christos   echo This script requires a shell more modern than all the
    347  1.1  christos       echo shells that I found on your system.  Please install a
    348  1.1  christos       echo modern shell, or manually run the script under such a
    349  1.1  christos       echo shell if you do have one.
    350  1.1  christos       { (exit 1); exit 1; }
    351  1.1  christos fi
    352  1.1  christos 
    353  1.1  christos 
    354  1.1  christos fi
    355  1.1  christos 
    356  1.1  christos fi
    357  1.1  christos 
    358  1.1  christos 
    359  1.1  christos 
    360  1.1  christos (eval "as_func_return () {
    361  1.1  christos   (exit \$1)
    362  1.1  christos }
    363  1.1  christos as_func_success () {
    364  1.1  christos   as_func_return 0
    365  1.1  christos }
    366  1.1  christos as_func_failure () {
    367  1.1  christos   as_func_return 1
    368  1.1  christos }
    369  1.1  christos as_func_ret_success () {
    370  1.1  christos   return 0
    371  1.1  christos }
    372  1.1  christos as_func_ret_failure () {
    373  1.1  christos   return 1
    374  1.1  christos }
    375  1.1  christos 
    376  1.1  christos exitcode=0
    377  1.1  christos if as_func_success; then
    378  1.1  christos   :
    379  1.1  christos else
    380  1.1  christos   exitcode=1
    381  1.1  christos   echo as_func_success failed.
    382  1.1  christos fi
    383  1.1  christos 
    384  1.1  christos if as_func_failure; then
    385  1.1  christos   exitcode=1
    386  1.1  christos   echo as_func_failure succeeded.
    387  1.1  christos fi
    388  1.1  christos 
    389  1.1  christos if as_func_ret_success; then
    390  1.1  christos   :
    391  1.1  christos else
    392  1.1  christos   exitcode=1
    393  1.1  christos   echo as_func_ret_success failed.
    394  1.1  christos fi
    395  1.1  christos 
    396  1.1  christos if as_func_ret_failure; then
    397  1.1  christos   exitcode=1
    398  1.1  christos   echo as_func_ret_failure succeeded.
    399  1.1  christos fi
    400  1.1  christos 
    401  1.1  christos if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    402  1.1  christos   :
    403  1.1  christos else
    404  1.1  christos   exitcode=1
    405  1.1  christos   echo positional parameters were not saved.
    406  1.1  christos fi
    407  1.1  christos 
    408  1.1  christos test \$exitcode = 0") || {
    409  1.1  christos   echo No shell found that supports shell functions.
    410  1.1  christos   echo Please tell autoconf@gnu.org about your system,
    411  1.1  christos   echo including any error possibly output before this
    412  1.1  christos   echo message
    413  1.1  christos }
    414  1.1  christos 
    415  1.1  christos 
    416  1.1  christos 
    417  1.1  christos   as_lineno_1=$LINENO
    418  1.1  christos   as_lineno_2=$LINENO
    419  1.1  christos   test "x$as_lineno_1" != "x$as_lineno_2" &&
    420  1.1  christos   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    421  1.1  christos 
    422  1.1  christos   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    423  1.1  christos   # uniformly replaced by the line number.  The first 'sed' inserts a
    424  1.1  christos   # line-number line after each line using $LINENO; the second 'sed'
    425  1.1  christos   # does the real work.  The second script uses 'N' to pair each
    426  1.1  christos   # line-number line with the line containing $LINENO, and appends
    427  1.1  christos   # trailing '-' during substitution so that $LINENO is not a special
    428  1.1  christos   # case at line end.
    429  1.1  christos   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    430  1.1  christos   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    431  1.1  christos   # E. McMahon (1931-1989) for sed's syntax.  :-)
    432  1.1  christos   sed -n '
    433  1.1  christos     p
    434  1.1  christos     /[$]LINENO/=
    435  1.1  christos   ' <$as_myself |
    436  1.1  christos     sed '
    437  1.1  christos       s/[$]LINENO.*/&-/
    438  1.1  christos       t lineno
    439  1.1  christos       b
    440  1.1  christos       :lineno
    441  1.1  christos       N
    442  1.1  christos       :loop
    443  1.1  christos       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    444  1.1  christos       t loop
    445  1.1  christos       s/-\n.*//
    446  1.1  christos     ' >$as_me.lineno &&
    447  1.1  christos   chmod +x "$as_me.lineno" ||
    448  1.1  christos     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    449  1.1  christos    { (exit 1); exit 1; }; }
    450  1.1  christos 
    451  1.1  christos   # Don't try to exec as it changes $[0], causing all sort of problems
    452  1.1  christos   # (the dirname of $[0] is not the place where we might find the
    453  1.1  christos   # original and so on.  Autoconf is especially sensitive to this).
    454  1.1  christos   . "./$as_me.lineno"
    455  1.1  christos   # Exit status is that of the last command.
    456  1.1  christos   exit
    457  1.1  christos }
    458  1.1  christos 
    459  1.1  christos 
    460  1.1  christos if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    461  1.1  christos   as_dirname=dirname
    462  1.1  christos else
    463  1.1  christos   as_dirname=false
    464  1.1  christos fi
    465  1.1  christos 
    466  1.1  christos ECHO_C= ECHO_N= ECHO_T=
    467  1.1  christos case `echo -n x` in
    468  1.1  christos -n*)
    469  1.1  christos   case `echo 'x\c'` in
    470  1.1  christos   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    471  1.1  christos   *)   ECHO_C='\c';;
    472  1.1  christos   esac;;
    473  1.1  christos *)
    474  1.1  christos   ECHO_N='-n';;
    475  1.1  christos esac
    476  1.1  christos 
    477  1.1  christos if expr a : '\(a\)' >/dev/null 2>&1 &&
    478  1.1  christos    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    479  1.1  christos   as_expr=expr
    480  1.1  christos else
    481  1.1  christos   as_expr=false
    482  1.1  christos fi
    483  1.1  christos 
    484  1.1  christos rm -f conf$$ conf$$.exe conf$$.file
    485  1.1  christos if test -d conf$$.dir; then
    486  1.1  christos   rm -f conf$$.dir/conf$$.file
    487  1.1  christos else
    488  1.1  christos   rm -f conf$$.dir
    489  1.1  christos   mkdir conf$$.dir
    490  1.1  christos fi
    491  1.1  christos echo >conf$$.file
    492  1.1  christos if ln -s conf$$.file conf$$ 2>/dev/null; then
    493  1.1  christos   as_ln_s='ln -s'
    494  1.1  christos   # ... but there are two gotchas:
    495  1.1  christos   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    496  1.1  christos   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    497  1.1  christos   # In both cases, we have to default to `cp -p'.
    498  1.1  christos   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    499  1.1  christos     as_ln_s='cp -p'
    500  1.1  christos elif ln conf$$.file conf$$ 2>/dev/null; then
    501  1.1  christos   as_ln_s=ln
    502  1.1  christos else
    503  1.1  christos   as_ln_s='cp -p'
    504  1.1  christos fi
    505  1.1  christos rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    506  1.1  christos rmdir conf$$.dir 2>/dev/null
    507  1.1  christos 
    508  1.1  christos if mkdir -p . 2>/dev/null; then
    509  1.1  christos   as_mkdir_p=:
    510  1.1  christos else
    511  1.1  christos   test -d ./-p && rmdir ./-p
    512  1.1  christos   as_mkdir_p=false
    513  1.1  christos fi
    514  1.1  christos 
    515  1.1  christos # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
    516  1.1  christos # systems may use methods other than mode bits to determine executability.
    517  1.1  christos cat >conf$$.file <<_ASEOF
    518  1.1  christos #! /bin/sh
    519  1.1  christos exit 0
    520  1.1  christos _ASEOF
    521  1.1  christos chmod +x conf$$.file
    522  1.1  christos if test -x conf$$.file >/dev/null 2>&1; then
    523  1.1  christos   as_executable_p="test -x"
    524  1.1  christos else
    525  1.1  christos   as_executable_p=:
    526  1.1  christos fi
    527  1.1  christos rm -f conf$$.file
    528  1.1  christos 
    529  1.1  christos # Sed expression to map a string onto a valid CPP name.
    530  1.1  christos as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    531  1.1  christos 
    532  1.1  christos # Sed expression to map a string onto a valid variable name.
    533  1.1  christos as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    534  1.1  christos 
    535  1.1  christos 
    536  1.1  christos 
    537  1.1  christos exec 7<&0 </dev/null 6>&1
    538  1.1  christos 
    539  1.1  christos # Name of the host.
    540  1.1  christos # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    541  1.1  christos # so uname gets run too.
    542  1.1  christos ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    543  1.1  christos 
    544  1.1  christos #
    545  1.1  christos # Initializations.
    546  1.1  christos #
    547  1.1  christos ac_default_prefix=/usr/local
    548  1.1  christos ac_clean_files=
    549  1.1  christos ac_config_libobj_dir=.
    550  1.1  christos LIBOBJS=
    551  1.1  christos cross_compiling=no
    552  1.1  christos subdirs=
    553  1.1  christos MFLAGS=
    554  1.1  christos MAKEFLAGS=
    555  1.1  christos SHELL=${CONFIG_SHELL-/bin/sh}
    556  1.1  christos 
    557  1.1  christos # Identity of this package.
    558  1.1  christos PACKAGE_NAME=
    559  1.1  christos PACKAGE_TARNAME=
    560  1.1  christos PACKAGE_VERSION=
    561  1.1  christos PACKAGE_STRING=
    562  1.1  christos PACKAGE_BUGREPORT=
    563  1.1  christos 
    564  1.1  christos ac_unique_file="configure.ac"
    565  1.1  christos ac_subst_vars='SHELL
    566  1.1  christos PATH_SEPARATOR
    567  1.1  christos PACKAGE_NAME
    568  1.1  christos PACKAGE_TARNAME
    569  1.1  christos PACKAGE_VERSION
    570  1.1  christos PACKAGE_STRING
    571  1.1  christos PACKAGE_BUGREPORT
    572  1.1  christos exec_prefix
    573  1.1  christos prefix
    574  1.1  christos program_transform_name
    575  1.1  christos bindir
    576  1.1  christos sbindir
    577  1.1  christos libexecdir
    578  1.1  christos datarootdir
    579  1.1  christos datadir
    580  1.1  christos sysconfdir
    581  1.1  christos sharedstatedir
    582  1.1  christos localstatedir
    583  1.1  christos includedir
    584  1.1  christos oldincludedir
    585  1.1  christos docdir
    586  1.1  christos infodir
    587  1.1  christos htmldir
    588  1.1  christos dvidir
    589  1.1  christos pdfdir
    590  1.1  christos psdir
    591  1.1  christos libdir
    592  1.1  christos localedir
    593  1.1  christos mandir
    594  1.1  christos DEFS
    595  1.1  christos ECHO_C
    596  1.1  christos ECHO_N
    597  1.1  christos ECHO_T
    598  1.1  christos LIBS
    599  1.1  christos build_alias
    600  1.1  christos host_alias
    601  1.1  christos target_alias
    602  1.1  christos INSTALL_PROGRAM
    603  1.1  christos INSTALL_SCRIPT
    604  1.1  christos INSTALL_DATA
    605  1.1  christos am__isrc
    606  1.1  christos CYGPATH_W
    607  1.1  christos PACKAGE
    608  1.1  christos VERSION
    609  1.1  christos ACLOCAL
    610  1.1  christos AUTOCONF
    611  1.1  christos AUTOMAKE
    612  1.1  christos AUTOHEADER
    613  1.1  christos MAKEINFO
    614  1.1  christos install_sh
    615  1.1  christos STRIP
    616  1.1  christos INSTALL_STRIP_PROGRAM
    617  1.1  christos mkdir_p
    618  1.1  christos AWK
    619  1.1  christos SET_MAKE
    620  1.1  christos am__leading_dot
    621  1.1  christos AMTAR
    622  1.1  christos am__tar
    623  1.1  christos am__untar
    624  1.1  christos CC
    625  1.1  christos CFLAGS
    626  1.1  christos LDFLAGS
    627  1.1  christos CPPFLAGS
    628  1.1  christos ac_ct_CC
    629  1.1  christos EXEEXT
    630  1.1  christos OBJEXT
    631  1.1  christos DEPDIR
    632  1.1  christos am__include
    633  1.1  christos am__quote
    634  1.1  christos AMDEP_TRUE
    635  1.1  christos AMDEP_FALSE
    636  1.1  christos AMDEPBACKSLASH
    637  1.1  christos CCDEPMODE
    638  1.1  christos am__fastdepCC_TRUE
    639  1.1  christos am__fastdepCC_FALSE
    640  1.1  christos build
    641  1.1  christos build_cpu
    642  1.1  christos build_vendor
    643  1.1  christos build_os
    644  1.1  christos host
    645  1.1  christos host_cpu
    646  1.1  christos host_vendor
    647  1.1  christos host_os
    648  1.1  christos LIBRPATHX
    649  1.1  christos LTLIBRPATHX
    650  1.1  christos LIBRPATHY
    651  1.1  christos LTLIBRPATHY
    652  1.1  christos global_top_auxdir
    653  1.1  christos LIBOBJS
    654  1.1  christos LTLIBOBJS'
    655  1.1  christos ac_subst_files=''
    656  1.1  christos       ac_precious_vars='build_alias
    657  1.1  christos host_alias
    658  1.1  christos target_alias
    659  1.1  christos CC
    660  1.1  christos CFLAGS
    661  1.1  christos LDFLAGS
    662  1.1  christos CPPFLAGS'
    663  1.1  christos 
    664  1.1  christos 
    665  1.1  christos # Initialize some variables set by options.
    666  1.1  christos ac_init_help=
    667  1.1  christos ac_init_version=false
    668  1.1  christos # The variables have the same names as the options, with
    669  1.1  christos # dashes changed to underlines.
    670  1.1  christos cache_file=/dev/null
    671  1.1  christos exec_prefix=NONE
    672  1.1  christos no_create=
    673  1.1  christos no_recursion=
    674  1.1  christos prefix=NONE
    675  1.1  christos program_prefix=NONE
    676  1.1  christos program_suffix=NONE
    677  1.1  christos program_transform_name=s,x,x,
    678  1.1  christos silent=
    679  1.1  christos site=
    680  1.1  christos srcdir=
    681  1.1  christos verbose=
    682  1.1  christos x_includes=NONE
    683  1.1  christos x_libraries=NONE
    684  1.1  christos 
    685  1.1  christos # Installation directory options.
    686  1.1  christos # These are left unexpanded so users can "make install exec_prefix=/foo"
    687  1.1  christos # and all the variables that are supposed to be based on exec_prefix
    688  1.1  christos # by default will actually change.
    689  1.1  christos # Use braces instead of parens because sh, perl, etc. also accept them.
    690  1.1  christos # (The list follows the same order as the GNU Coding Standards.)
    691  1.1  christos bindir='${exec_prefix}/bin'
    692  1.1  christos sbindir='${exec_prefix}/sbin'
    693  1.1  christos libexecdir='${exec_prefix}/libexec'
    694  1.1  christos datarootdir='${prefix}/share'
    695  1.1  christos datadir='${datarootdir}'
    696  1.1  christos sysconfdir='${prefix}/etc'
    697  1.1  christos sharedstatedir='${prefix}/com'
    698  1.1  christos localstatedir='${prefix}/var'
    699  1.1  christos includedir='${prefix}/include'
    700  1.1  christos oldincludedir='/usr/include'
    701  1.1  christos docdir='${datarootdir}/doc/${PACKAGE}'
    702  1.1  christos infodir='${datarootdir}/info'
    703  1.1  christos htmldir='${docdir}'
    704  1.1  christos dvidir='${docdir}'
    705  1.1  christos pdfdir='${docdir}'
    706  1.1  christos psdir='${docdir}'
    707  1.1  christos libdir='${exec_prefix}/lib'
    708  1.1  christos localedir='${datarootdir}/locale'
    709  1.1  christos mandir='${datarootdir}/man'
    710  1.1  christos 
    711  1.1  christos ac_prev=
    712  1.1  christos ac_dashdash=
    713  1.1  christos for ac_option
    714  1.1  christos do
    715  1.1  christos   # If the previous option needs an argument, assign it.
    716  1.1  christos   if test -n "$ac_prev"; then
    717  1.1  christos     eval $ac_prev=\$ac_option
    718  1.1  christos     ac_prev=
    719  1.1  christos     continue
    720  1.1  christos   fi
    721  1.1  christos 
    722  1.1  christos   case $ac_option in
    723  1.1  christos   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    724  1.1  christos   *)	ac_optarg=yes ;;
    725  1.1  christos   esac
    726  1.1  christos 
    727  1.1  christos   # Accept the important Cygnus configure options, so we can diagnose typos.
    728  1.1  christos 
    729  1.1  christos   case $ac_dashdash$ac_option in
    730  1.1  christos   --)
    731  1.1  christos     ac_dashdash=yes ;;
    732  1.1  christos 
    733  1.1  christos   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    734  1.1  christos     ac_prev=bindir ;;
    735  1.1  christos   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    736  1.1  christos     bindir=$ac_optarg ;;
    737  1.1  christos 
    738  1.1  christos   -build | --build | --buil | --bui | --bu)
    739  1.1  christos     ac_prev=build_alias ;;
    740  1.1  christos   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    741  1.1  christos     build_alias=$ac_optarg ;;
    742  1.1  christos 
    743  1.1  christos   -cache-file | --cache-file | --cache-fil | --cache-fi \
    744  1.1  christos   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    745  1.1  christos     ac_prev=cache_file ;;
    746  1.1  christos   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    747  1.1  christos   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    748  1.1  christos     cache_file=$ac_optarg ;;
    749  1.1  christos 
    750  1.1  christos   --config-cache | -C)
    751  1.1  christos     cache_file=config.cache ;;
    752  1.1  christos 
    753  1.1  christos   -datadir | --datadir | --datadi | --datad)
    754  1.1  christos     ac_prev=datadir ;;
    755  1.1  christos   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    756  1.1  christos     datadir=$ac_optarg ;;
    757  1.1  christos 
    758  1.1  christos   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    759  1.1  christos   | --dataroo | --dataro | --datar)
    760  1.1  christos     ac_prev=datarootdir ;;
    761  1.1  christos   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    762  1.1  christos   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    763  1.1  christos     datarootdir=$ac_optarg ;;
    764  1.1  christos 
    765  1.1  christos   -disable-* | --disable-*)
    766  1.1  christos     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    767  1.1  christos     # Reject names that are not valid shell variable names.
    768  1.1  christos     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    769  1.1  christos       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    770  1.1  christos    { (exit 1); exit 1; }; }
    771  1.1  christos     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    772  1.1  christos     eval enable_$ac_feature=no ;;
    773  1.1  christos 
    774  1.1  christos   -docdir | --docdir | --docdi | --doc | --do)
    775  1.1  christos     ac_prev=docdir ;;
    776  1.1  christos   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    777  1.1  christos     docdir=$ac_optarg ;;
    778  1.1  christos 
    779  1.1  christos   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    780  1.1  christos     ac_prev=dvidir ;;
    781  1.1  christos   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    782  1.1  christos     dvidir=$ac_optarg ;;
    783  1.1  christos 
    784  1.1  christos   -enable-* | --enable-*)
    785  1.1  christos     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    786  1.1  christos     # Reject names that are not valid shell variable names.
    787  1.1  christos     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    788  1.1  christos       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    789  1.1  christos    { (exit 1); exit 1; }; }
    790  1.1  christos     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    791  1.1  christos     eval enable_$ac_feature=\$ac_optarg ;;
    792  1.1  christos 
    793  1.1  christos   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    794  1.1  christos   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    795  1.1  christos   | --exec | --exe | --ex)
    796  1.1  christos     ac_prev=exec_prefix ;;
    797  1.1  christos   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    798  1.1  christos   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    799  1.1  christos   | --exec=* | --exe=* | --ex=*)
    800  1.1  christos     exec_prefix=$ac_optarg ;;
    801  1.1  christos 
    802  1.1  christos   -gas | --gas | --ga | --g)
    803  1.1  christos     # Obsolete; use --with-gas.
    804  1.1  christos     with_gas=yes ;;
    805  1.1  christos 
    806  1.1  christos   -help | --help | --hel | --he | -h)
    807  1.1  christos     ac_init_help=long ;;
    808  1.1  christos   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    809  1.1  christos     ac_init_help=recursive ;;
    810  1.1  christos   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    811  1.1  christos     ac_init_help=short ;;
    812  1.1  christos 
    813  1.1  christos   -host | --host | --hos | --ho)
    814  1.1  christos     ac_prev=host_alias ;;
    815  1.1  christos   -host=* | --host=* | --hos=* | --ho=*)
    816  1.1  christos     host_alias=$ac_optarg ;;
    817  1.1  christos 
    818  1.1  christos   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    819  1.1  christos     ac_prev=htmldir ;;
    820  1.1  christos   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    821  1.1  christos   | --ht=*)
    822  1.1  christos     htmldir=$ac_optarg ;;
    823  1.1  christos 
    824  1.1  christos   -includedir | --includedir | --includedi | --included | --include \
    825  1.1  christos   | --includ | --inclu | --incl | --inc)
    826  1.1  christos     ac_prev=includedir ;;
    827  1.1  christos   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    828  1.1  christos   | --includ=* | --inclu=* | --incl=* | --inc=*)
    829  1.1  christos     includedir=$ac_optarg ;;
    830  1.1  christos 
    831  1.1  christos   -infodir | --infodir | --infodi | --infod | --info | --inf)
    832  1.1  christos     ac_prev=infodir ;;
    833  1.1  christos   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    834  1.1  christos     infodir=$ac_optarg ;;
    835  1.1  christos 
    836  1.1  christos   -libdir | --libdir | --libdi | --libd)
    837  1.1  christos     ac_prev=libdir ;;
    838  1.1  christos   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    839  1.1  christos     libdir=$ac_optarg ;;
    840  1.1  christos 
    841  1.1  christos   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    842  1.1  christos   | --libexe | --libex | --libe)
    843  1.1  christos     ac_prev=libexecdir ;;
    844  1.1  christos   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    845  1.1  christos   | --libexe=* | --libex=* | --libe=*)
    846  1.1  christos     libexecdir=$ac_optarg ;;
    847  1.1  christos 
    848  1.1  christos   -localedir | --localedir | --localedi | --localed | --locale)
    849  1.1  christos     ac_prev=localedir ;;
    850  1.1  christos   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    851  1.1  christos     localedir=$ac_optarg ;;
    852  1.1  christos 
    853  1.1  christos   -localstatedir | --localstatedir | --localstatedi | --localstated \
    854  1.1  christos   | --localstate | --localstat | --localsta | --localst | --locals)
    855  1.1  christos     ac_prev=localstatedir ;;
    856  1.1  christos   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    857  1.1  christos   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    858  1.1  christos     localstatedir=$ac_optarg ;;
    859  1.1  christos 
    860  1.1  christos   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    861  1.1  christos     ac_prev=mandir ;;
    862  1.1  christos   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    863  1.1  christos     mandir=$ac_optarg ;;
    864  1.1  christos 
    865  1.1  christos   -nfp | --nfp | --nf)
    866  1.1  christos     # Obsolete; use --without-fp.
    867  1.1  christos     with_fp=no ;;
    868  1.1  christos 
    869  1.1  christos   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    870  1.1  christos   | --no-cr | --no-c | -n)
    871  1.1  christos     no_create=yes ;;
    872  1.1  christos 
    873  1.1  christos   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    874  1.1  christos   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    875  1.1  christos     no_recursion=yes ;;
    876  1.1  christos 
    877  1.1  christos   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    878  1.1  christos   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    879  1.1  christos   | --oldin | --oldi | --old | --ol | --o)
    880  1.1  christos     ac_prev=oldincludedir ;;
    881  1.1  christos   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    882  1.1  christos   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    883  1.1  christos   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    884  1.1  christos     oldincludedir=$ac_optarg ;;
    885  1.1  christos 
    886  1.1  christos   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    887  1.1  christos     ac_prev=prefix ;;
    888  1.1  christos   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    889  1.1  christos     prefix=$ac_optarg ;;
    890  1.1  christos 
    891  1.1  christos   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    892  1.1  christos   | --program-pre | --program-pr | --program-p)
    893  1.1  christos     ac_prev=program_prefix ;;
    894  1.1  christos   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    895  1.1  christos   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    896  1.1  christos     program_prefix=$ac_optarg ;;
    897  1.1  christos 
    898  1.1  christos   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    899  1.1  christos   | --program-suf | --program-su | --program-s)
    900  1.1  christos     ac_prev=program_suffix ;;
    901  1.1  christos   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    902  1.1  christos   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    903  1.1  christos     program_suffix=$ac_optarg ;;
    904  1.1  christos 
    905  1.1  christos   -program-transform-name | --program-transform-name \
    906  1.1  christos   | --program-transform-nam | --program-transform-na \
    907  1.1  christos   | --program-transform-n | --program-transform- \
    908  1.1  christos   | --program-transform | --program-transfor \
    909  1.1  christos   | --program-transfo | --program-transf \
    910  1.1  christos   | --program-trans | --program-tran \
    911  1.1  christos   | --progr-tra | --program-tr | --program-t)
    912  1.1  christos     ac_prev=program_transform_name ;;
    913  1.1  christos   -program-transform-name=* | --program-transform-name=* \
    914  1.1  christos   | --program-transform-nam=* | --program-transform-na=* \
    915  1.1  christos   | --program-transform-n=* | --program-transform-=* \
    916  1.1  christos   | --program-transform=* | --program-transfor=* \
    917  1.1  christos   | --program-transfo=* | --program-transf=* \
    918  1.1  christos   | --program-trans=* | --program-tran=* \
    919  1.1  christos   | --progr-tra=* | --program-tr=* | --program-t=*)
    920  1.1  christos     program_transform_name=$ac_optarg ;;
    921  1.1  christos 
    922  1.1  christos   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    923  1.1  christos     ac_prev=pdfdir ;;
    924  1.1  christos   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    925  1.1  christos     pdfdir=$ac_optarg ;;
    926  1.1  christos 
    927  1.1  christos   -psdir | --psdir | --psdi | --psd | --ps)
    928  1.1  christos     ac_prev=psdir ;;
    929  1.1  christos   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    930  1.1  christos     psdir=$ac_optarg ;;
    931  1.1  christos 
    932  1.1  christos   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    933  1.1  christos   | -silent | --silent | --silen | --sile | --sil)
    934  1.1  christos     silent=yes ;;
    935  1.1  christos 
    936  1.1  christos   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    937  1.1  christos     ac_prev=sbindir ;;
    938  1.1  christos   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    939  1.1  christos   | --sbi=* | --sb=*)
    940  1.1  christos     sbindir=$ac_optarg ;;
    941  1.1  christos 
    942  1.1  christos   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    943  1.1  christos   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    944  1.1  christos   | --sharedst | --shareds | --shared | --share | --shar \
    945  1.1  christos   | --sha | --sh)
    946  1.1  christos     ac_prev=sharedstatedir ;;
    947  1.1  christos   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    948  1.1  christos   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    949  1.1  christos   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    950  1.1  christos   | --sha=* | --sh=*)
    951  1.1  christos     sharedstatedir=$ac_optarg ;;
    952  1.1  christos 
    953  1.1  christos   -site | --site | --sit)
    954  1.1  christos     ac_prev=site ;;
    955  1.1  christos   -site=* | --site=* | --sit=*)
    956  1.1  christos     site=$ac_optarg ;;
    957  1.1  christos 
    958  1.1  christos   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    959  1.1  christos     ac_prev=srcdir ;;
    960  1.1  christos   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    961  1.1  christos     srcdir=$ac_optarg ;;
    962  1.1  christos 
    963  1.1  christos   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    964  1.1  christos   | --syscon | --sysco | --sysc | --sys | --sy)
    965  1.1  christos     ac_prev=sysconfdir ;;
    966  1.1  christos   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    967  1.1  christos   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    968  1.1  christos     sysconfdir=$ac_optarg ;;
    969  1.1  christos 
    970  1.1  christos   -target | --target | --targe | --targ | --tar | --ta | --t)
    971  1.1  christos     ac_prev=target_alias ;;
    972  1.1  christos   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    973  1.1  christos     target_alias=$ac_optarg ;;
    974  1.1  christos 
    975  1.1  christos   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    976  1.1  christos     verbose=yes ;;
    977  1.1  christos 
    978  1.1  christos   -version | --version | --versio | --versi | --vers | -V)
    979  1.1  christos     ac_init_version=: ;;
    980  1.1  christos 
    981  1.1  christos   -with-* | --with-*)
    982  1.1  christos     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    983  1.1  christos     # Reject names that are not valid shell variable names.
    984  1.1  christos     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    985  1.1  christos       { echo "$as_me: error: invalid package name: $ac_package" >&2
    986  1.1  christos    { (exit 1); exit 1; }; }
    987  1.1  christos     ac_package=`echo $ac_package| sed 's/-/_/g'`
    988  1.1  christos     eval with_$ac_package=\$ac_optarg ;;
    989  1.1  christos 
    990  1.1  christos   -without-* | --without-*)
    991  1.1  christos     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    992  1.1  christos     # Reject names that are not valid shell variable names.
    993  1.1  christos     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    994  1.1  christos       { echo "$as_me: error: invalid package name: $ac_package" >&2
    995  1.1  christos    { (exit 1); exit 1; }; }
    996  1.1  christos     ac_package=`echo $ac_package | sed 's/-/_/g'`
    997  1.1  christos     eval with_$ac_package=no ;;
    998  1.1  christos 
    999  1.1  christos   --x)
   1000  1.1  christos     # Obsolete; use --with-x.
   1001  1.1  christos     with_x=yes ;;
   1002  1.1  christos 
   1003  1.1  christos   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1004  1.1  christos   | --x-incl | --x-inc | --x-in | --x-i)
   1005  1.1  christos     ac_prev=x_includes ;;
   1006  1.1  christos   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1007  1.1  christos   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1008  1.1  christos     x_includes=$ac_optarg ;;
   1009  1.1  christos 
   1010  1.1  christos   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1011  1.1  christos   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1012  1.1  christos     ac_prev=x_libraries ;;
   1013  1.1  christos   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1014  1.1  christos   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1015  1.1  christos     x_libraries=$ac_optarg ;;
   1016  1.1  christos 
   1017  1.1  christos   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1018  1.1  christos Try \`$0 --help' for more information." >&2
   1019  1.1  christos    { (exit 1); exit 1; }; }
   1020  1.1  christos     ;;
   1021  1.1  christos 
   1022  1.1  christos   *=*)
   1023  1.1  christos     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1024  1.1  christos     # Reject names that are not valid shell variable names.
   1025  1.1  christos     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1026  1.1  christos       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1027  1.1  christos    { (exit 1); exit 1; }; }
   1028  1.1  christos     eval $ac_envvar=\$ac_optarg
   1029  1.1  christos     export $ac_envvar ;;
   1030  1.1  christos 
   1031  1.1  christos   *)
   1032  1.1  christos     # FIXME: should be removed in autoconf 3.0.
   1033  1.1  christos     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1034  1.1  christos     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1035  1.1  christos       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1036  1.1  christos     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1037  1.1  christos     ;;
   1038  1.1  christos 
   1039  1.1  christos   esac
   1040  1.1  christos done
   1041  1.1  christos 
   1042  1.1  christos if test -n "$ac_prev"; then
   1043  1.1  christos   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1044  1.1  christos   { echo "$as_me: error: missing argument to $ac_option" >&2
   1045  1.1  christos    { (exit 1); exit 1; }; }
   1046  1.1  christos fi
   1047  1.1  christos 
   1048  1.1  christos # Be sure to have absolute directory names.
   1049  1.1  christos for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1050  1.1  christos 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1051  1.1  christos 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1052  1.1  christos 		libdir localedir mandir
   1053  1.1  christos do
   1054  1.1  christos   eval ac_val=\$$ac_var
   1055  1.1  christos   case $ac_val in
   1056  1.1  christos     [\\/$]* | ?:[\\/]* )  continue;;
   1057  1.1  christos     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1058  1.1  christos   esac
   1059  1.1  christos   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1060  1.1  christos    { (exit 1); exit 1; }; }
   1061  1.1  christos done
   1062  1.1  christos 
   1063  1.1  christos # There might be people who depend on the old broken behavior: `$host'
   1064  1.1  christos # used to hold the argument of --host etc.
   1065  1.1  christos # FIXME: To remove some day.
   1066  1.1  christos build=$build_alias
   1067  1.1  christos host=$host_alias
   1068  1.1  christos target=$target_alias
   1069  1.1  christos 
   1070  1.1  christos # FIXME: To remove some day.
   1071  1.1  christos if test "x$host_alias" != x; then
   1072  1.1  christos   if test "x$build_alias" = x; then
   1073  1.1  christos     cross_compiling=maybe
   1074  1.1  christos     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1075  1.1  christos     If a cross compiler is detected then cross compile mode will be used." >&2
   1076  1.1  christos   elif test "x$build_alias" != "x$host_alias"; then
   1077  1.1  christos     cross_compiling=yes
   1078  1.1  christos   fi
   1079  1.1  christos fi
   1080  1.1  christos 
   1081  1.1  christos ac_tool_prefix=
   1082  1.1  christos test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1083  1.1  christos 
   1084  1.1  christos test "$silent" = yes && exec 6>/dev/null
   1085  1.1  christos 
   1086  1.1  christos 
   1087  1.1  christos ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1088  1.1  christos ac_ls_di=`ls -di .` &&
   1089  1.1  christos ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1090  1.1  christos   { echo "$as_me: error: Working directory cannot be determined" >&2
   1091  1.1  christos    { (exit 1); exit 1; }; }
   1092  1.1  christos test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1093  1.1  christos   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1094  1.1  christos    { (exit 1); exit 1; }; }
   1095  1.1  christos 
   1096  1.1  christos 
   1097  1.1  christos # Find the source files, if location was not specified.
   1098  1.1  christos if test -z "$srcdir"; then
   1099  1.1  christos   ac_srcdir_defaulted=yes
   1100  1.1  christos   # Try the directory containing this script, then the parent directory.
   1101  1.1  christos   ac_confdir=`$as_dirname -- "$0" ||
   1102  1.1  christos $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1103  1.1  christos 	 X"$0" : 'X\(//\)[^/]' \| \
   1104  1.1  christos 	 X"$0" : 'X\(//\)$' \| \
   1105  1.1  christos 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1106  1.1  christos echo X"$0" |
   1107  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1108  1.1  christos 	    s//\1/
   1109  1.1  christos 	    q
   1110  1.1  christos 	  }
   1111  1.1  christos 	  /^X\(\/\/\)[^/].*/{
   1112  1.1  christos 	    s//\1/
   1113  1.1  christos 	    q
   1114  1.1  christos 	  }
   1115  1.1  christos 	  /^X\(\/\/\)$/{
   1116  1.1  christos 	    s//\1/
   1117  1.1  christos 	    q
   1118  1.1  christos 	  }
   1119  1.1  christos 	  /^X\(\/\).*/{
   1120  1.1  christos 	    s//\1/
   1121  1.1  christos 	    q
   1122  1.1  christos 	  }
   1123  1.1  christos 	  s/.*/./; q'`
   1124  1.1  christos   srcdir=$ac_confdir
   1125  1.1  christos   if test ! -r "$srcdir/$ac_unique_file"; then
   1126  1.1  christos     srcdir=..
   1127  1.1  christos   fi
   1128  1.1  christos else
   1129  1.1  christos   ac_srcdir_defaulted=no
   1130  1.1  christos fi
   1131  1.1  christos if test ! -r "$srcdir/$ac_unique_file"; then
   1132  1.1  christos   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1133  1.1  christos   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1134  1.1  christos    { (exit 1); exit 1; }; }
   1135  1.1  christos fi
   1136  1.1  christos ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1137  1.1  christos ac_abs_confdir=`(
   1138  1.1  christos 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1139  1.1  christos    { (exit 1); exit 1; }; }
   1140  1.1  christos 	pwd)`
   1141  1.1  christos # When building in place, set srcdir=.
   1142  1.1  christos if test "$ac_abs_confdir" = "$ac_pwd"; then
   1143  1.1  christos   srcdir=.
   1144  1.1  christos fi
   1145  1.1  christos # Remove unnecessary trailing slashes from srcdir.
   1146  1.1  christos # Double slashes in file names in object file debugging info
   1147  1.1  christos # mess up M-x gdb in Emacs.
   1148  1.1  christos case $srcdir in
   1149  1.1  christos */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1150  1.1  christos esac
   1151  1.1  christos for ac_var in $ac_precious_vars; do
   1152  1.1  christos   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1153  1.1  christos   eval ac_env_${ac_var}_value=\$${ac_var}
   1154  1.1  christos   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1155  1.1  christos   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1156  1.1  christos done
   1157  1.1  christos 
   1158  1.1  christos #
   1159  1.1  christos # Report the --help message.
   1160  1.1  christos #
   1161  1.1  christos if test "$ac_init_help" = "long"; then
   1162  1.1  christos   # Omit some internal or obsolete options to make the list less imposing.
   1163  1.1  christos   # This message is too long to be a string in the A/UX 3.1 sh.
   1164  1.1  christos   cat <<_ACEOF
   1165  1.1  christos \`configure' configures this package to adapt to many kinds of systems.
   1166  1.1  christos 
   1167  1.1  christos Usage: $0 [OPTION]... [VAR=VALUE]...
   1168  1.1  christos 
   1169  1.1  christos To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1170  1.1  christos VAR=VALUE.  See below for descriptions of some of the useful variables.
   1171  1.1  christos 
   1172  1.1  christos Defaults for the options are specified in brackets.
   1173  1.1  christos 
   1174  1.1  christos Configuration:
   1175  1.1  christos   -h, --help              display this help and exit
   1176  1.1  christos       --help=short        display options specific to this package
   1177  1.1  christos       --help=recursive    display the short help of all the included packages
   1178  1.1  christos   -V, --version           display version information and exit
   1179  1.1  christos   -q, --quiet, --silent   do not print \`checking...' messages
   1180  1.1  christos       --cache-file=FILE   cache test results in FILE [disabled]
   1181  1.1  christos   -C, --config-cache      alias for \`--cache-file=config.cache'
   1182  1.1  christos   -n, --no-create         do not create output files
   1183  1.1  christos       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1184  1.1  christos 
   1185  1.1  christos Installation directories:
   1186  1.1  christos   --prefix=PREFIX         install architecture-independent files in PREFIX
   1187  1.1  christos 			  [$ac_default_prefix]
   1188  1.1  christos   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1189  1.1  christos 			  [PREFIX]
   1190  1.1  christos 
   1191  1.1  christos By default, \`make install' will install all the files in
   1192  1.1  christos \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1193  1.1  christos an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1194  1.1  christos for instance \`--prefix=\$HOME'.
   1195  1.1  christos 
   1196  1.1  christos For better control, use the options below.
   1197  1.1  christos 
   1198  1.1  christos Fine tuning of the installation directories:
   1199  1.1  christos   --bindir=DIR           user executables [EPREFIX/bin]
   1200  1.1  christos   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1201  1.1  christos   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1202  1.1  christos   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1203  1.1  christos   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1204  1.1  christos   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1205  1.1  christos   --libdir=DIR           object code libraries [EPREFIX/lib]
   1206  1.1  christos   --includedir=DIR       C header files [PREFIX/include]
   1207  1.1  christos   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1208  1.1  christos   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1209  1.1  christos   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1210  1.1  christos   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1211  1.1  christos   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1212  1.1  christos   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1213  1.1  christos   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
   1214  1.1  christos   --htmldir=DIR          html documentation [DOCDIR]
   1215  1.1  christos   --dvidir=DIR           dvi documentation [DOCDIR]
   1216  1.1  christos   --pdfdir=DIR           pdf documentation [DOCDIR]
   1217  1.1  christos   --psdir=DIR            ps documentation [DOCDIR]
   1218  1.1  christos _ACEOF
   1219  1.1  christos 
   1220  1.1  christos   cat <<\_ACEOF
   1221  1.1  christos 
   1222  1.1  christos Program names:
   1223  1.1  christos   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1224  1.1  christos   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1225  1.1  christos   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1226  1.1  christos 
   1227  1.1  christos System types:
   1228  1.1  christos   --build=BUILD     configure for building on BUILD [guessed]
   1229  1.1  christos   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1230  1.1  christos _ACEOF
   1231  1.1  christos fi
   1232  1.1  christos 
   1233  1.1  christos if test -n "$ac_init_help"; then
   1234  1.1  christos 
   1235  1.1  christos   cat <<\_ACEOF
   1236  1.1  christos 
   1237  1.1  christos Optional Features:
   1238  1.1  christos   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1239  1.1  christos   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1240  1.1  christos   --disable-dependency-tracking  speeds up one-time build
   1241  1.1  christos   --enable-dependency-tracking   do not reject slow dependency extractors
   1242  1.1  christos   --disable-rpath         do not hardcode runtime library paths
   1243  1.1  christos 
   1244  1.1  christos Optional Packages:
   1245  1.1  christos   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1246  1.1  christos   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1247  1.1  christos   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1248  1.1  christos   --with-librpathx-prefix[=DIR]  search for librpathx in DIR/include and DIR/lib
   1249  1.1  christos   --without-librpathx-prefix     don't search for librpathx in includedir and libdir
   1250  1.1  christos   --with-librpathy-prefix[=DIR]  search for librpathy in DIR/include and DIR/lib
   1251  1.1  christos   --without-librpathy-prefix     don't search for librpathy in includedir and libdir
   1252  1.1  christos 
   1253  1.1  christos Some influential environment variables:
   1254  1.1  christos   CC          C compiler command
   1255  1.1  christos   CFLAGS      C compiler flags
   1256  1.1  christos   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1257  1.1  christos               nonstandard directory <lib dir>
   1258  1.1  christos   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1259  1.1  christos               you have headers in a nonstandard directory <include dir>
   1260  1.1  christos 
   1261  1.1  christos Use these variables to override the choices made by `configure' or to help
   1262  1.1  christos it to find libraries and programs with nonstandard names/locations.
   1263  1.1  christos 
   1264  1.1  christos _ACEOF
   1265  1.1  christos ac_status=$?
   1266  1.1  christos fi
   1267  1.1  christos 
   1268  1.1  christos if test "$ac_init_help" = "recursive"; then
   1269  1.1  christos   # If there are subdirs, report their specific --help.
   1270  1.1  christos   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1271  1.1  christos     test -d "$ac_dir" || continue
   1272  1.1  christos     ac_builddir=.
   1273  1.1  christos 
   1274  1.1  christos case "$ac_dir" in
   1275  1.1  christos .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1276  1.1  christos *)
   1277  1.1  christos   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1278  1.1  christos   # A ".." for each directory in $ac_dir_suffix.
   1279  1.1  christos   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1280  1.1  christos   case $ac_top_builddir_sub in
   1281  1.1  christos   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1282  1.1  christos   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1283  1.1  christos   esac ;;
   1284  1.1  christos esac
   1285  1.1  christos ac_abs_top_builddir=$ac_pwd
   1286  1.1  christos ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1287  1.1  christos # for backward compatibility:
   1288  1.1  christos ac_top_builddir=$ac_top_build_prefix
   1289  1.1  christos 
   1290  1.1  christos case $srcdir in
   1291  1.1  christos   .)  # We are building in place.
   1292  1.1  christos     ac_srcdir=.
   1293  1.1  christos     ac_top_srcdir=$ac_top_builddir_sub
   1294  1.1  christos     ac_abs_top_srcdir=$ac_pwd ;;
   1295  1.1  christos   [\\/]* | ?:[\\/]* )  # Absolute name.
   1296  1.1  christos     ac_srcdir=$srcdir$ac_dir_suffix;
   1297  1.1  christos     ac_top_srcdir=$srcdir
   1298  1.1  christos     ac_abs_top_srcdir=$srcdir ;;
   1299  1.1  christos   *) # Relative name.
   1300  1.1  christos     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1301  1.1  christos     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1302  1.1  christos     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1303  1.1  christos esac
   1304  1.1  christos ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1305  1.1  christos 
   1306  1.1  christos     cd "$ac_dir" || { ac_status=$?; continue; }
   1307  1.1  christos     # Check for guested configure.
   1308  1.1  christos     if test -f "$ac_srcdir/configure.gnu"; then
   1309  1.1  christos       echo &&
   1310  1.1  christos       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1311  1.1  christos     elif test -f "$ac_srcdir/configure"; then
   1312  1.1  christos       echo &&
   1313  1.1  christos       $SHELL "$ac_srcdir/configure" --help=recursive
   1314  1.1  christos     else
   1315  1.1  christos       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1316  1.1  christos     fi || ac_status=$?
   1317  1.1  christos     cd "$ac_pwd" || { ac_status=$?; break; }
   1318  1.1  christos   done
   1319  1.1  christos fi
   1320  1.1  christos 
   1321  1.1  christos test -n "$ac_init_help" && exit $ac_status
   1322  1.1  christos if $ac_init_version; then
   1323  1.1  christos   cat <<\_ACEOF
   1324  1.1  christos configure
   1325  1.1  christos generated by GNU Autoconf 2.60
   1326  1.1  christos 
   1327  1.1  christos Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1328  1.1  christos 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1329  1.1  christos This configure script is free software; the Free Software Foundation
   1330  1.1  christos gives unlimited permission to copy, distribute and modify it.
   1331  1.1  christos _ACEOF
   1332  1.1  christos   exit
   1333  1.1  christos fi
   1334  1.1  christos cat >config.log <<_ACEOF
   1335  1.1  christos This file contains any messages produced by compilers while
   1336  1.1  christos running configure, to aid debugging if configure makes a mistake.
   1337  1.1  christos 
   1338  1.1  christos It was created by $as_me, which was
   1339  1.1  christos generated by GNU Autoconf 2.60.  Invocation command line was
   1340  1.1  christos 
   1341  1.1  christos   $ $0 $@
   1342  1.1  christos 
   1343  1.1  christos _ACEOF
   1344  1.1  christos exec 5>>config.log
   1345  1.1  christos {
   1346  1.1  christos cat <<_ASUNAME
   1347  1.1  christos ## --------- ##
   1348  1.1  christos ## Platform. ##
   1349  1.1  christos ## --------- ##
   1350  1.1  christos 
   1351  1.1  christos hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1352  1.1  christos uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1353  1.1  christos uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1354  1.1  christos uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1355  1.1  christos uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1356  1.1  christos 
   1357  1.1  christos /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1358  1.1  christos /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1359  1.1  christos 
   1360  1.1  christos /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1361  1.1  christos /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1362  1.1  christos /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1363  1.1  christos /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1364  1.1  christos /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1365  1.1  christos /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1366  1.1  christos /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1367  1.1  christos 
   1368  1.1  christos _ASUNAME
   1369  1.1  christos 
   1370  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1371  1.1  christos for as_dir in $PATH
   1372  1.1  christos do
   1373  1.1  christos   IFS=$as_save_IFS
   1374  1.1  christos   test -z "$as_dir" && as_dir=.
   1375  1.1  christos   echo "PATH: $as_dir"
   1376  1.1  christos done
   1377  1.1  christos IFS=$as_save_IFS
   1378  1.1  christos 
   1379  1.1  christos } >&5
   1380  1.1  christos 
   1381  1.1  christos cat >&5 <<_ACEOF
   1382  1.1  christos 
   1383  1.1  christos 
   1384  1.1  christos ## ----------- ##
   1385  1.1  christos ## Core tests. ##
   1386  1.1  christos ## ----------- ##
   1387  1.1  christos 
   1388  1.1  christos _ACEOF
   1389  1.1  christos 
   1390  1.1  christos 
   1391  1.1  christos # Keep a trace of the command line.
   1392  1.1  christos # Strip out --no-create and --no-recursion so they do not pile up.
   1393  1.1  christos # Strip out --silent because we don't want to record it for future runs.
   1394  1.1  christos # Also quote any args containing shell meta-characters.
   1395  1.1  christos # Make two passes to allow for proper duplicate-argument suppression.
   1396  1.1  christos ac_configure_args=
   1397  1.1  christos ac_configure_args0=
   1398  1.1  christos ac_configure_args1=
   1399  1.1  christos ac_must_keep_next=false
   1400  1.1  christos for ac_pass in 1 2
   1401  1.1  christos do
   1402  1.1  christos   for ac_arg
   1403  1.1  christos   do
   1404  1.1  christos     case $ac_arg in
   1405  1.1  christos     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1406  1.1  christos     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1407  1.1  christos     | -silent | --silent | --silen | --sile | --sil)
   1408  1.1  christos       continue ;;
   1409  1.1  christos     *\'*)
   1410  1.1  christos       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1411  1.1  christos     esac
   1412  1.1  christos     case $ac_pass in
   1413  1.1  christos     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1414  1.1  christos     2)
   1415  1.1  christos       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1416  1.1  christos       if test $ac_must_keep_next = true; then
   1417  1.1  christos 	ac_must_keep_next=false # Got value, back to normal.
   1418  1.1  christos       else
   1419  1.1  christos 	case $ac_arg in
   1420  1.1  christos 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1421  1.1  christos 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1422  1.1  christos 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1423  1.1  christos 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1424  1.1  christos 	    case "$ac_configure_args0 " in
   1425  1.1  christos 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1426  1.1  christos 	    esac
   1427  1.1  christos 	    ;;
   1428  1.1  christos 	  -* ) ac_must_keep_next=true ;;
   1429  1.1  christos 	esac
   1430  1.1  christos       fi
   1431  1.1  christos       ac_configure_args="$ac_configure_args '$ac_arg'"
   1432  1.1  christos       ;;
   1433  1.1  christos     esac
   1434  1.1  christos   done
   1435  1.1  christos done
   1436  1.1  christos $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1437  1.1  christos $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1438  1.1  christos 
   1439  1.1  christos # When interrupted or exit'd, cleanup temporary files, and complete
   1440  1.1  christos # config.log.  We remove comments because anyway the quotes in there
   1441  1.1  christos # would cause problems or look ugly.
   1442  1.1  christos # WARNING: Use '\'' to represent an apostrophe within the trap.
   1443  1.1  christos # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1444  1.1  christos trap 'exit_status=$?
   1445  1.1  christos   # Save into config.log some information that might help in debugging.
   1446  1.1  christos   {
   1447  1.1  christos     echo
   1448  1.1  christos 
   1449  1.1  christos     cat <<\_ASBOX
   1450  1.1  christos ## ---------------- ##
   1451  1.1  christos ## Cache variables. ##
   1452  1.1  christos ## ---------------- ##
   1453  1.1  christos _ASBOX
   1454  1.1  christos     echo
   1455  1.1  christos     # The following way of writing the cache mishandles newlines in values,
   1456  1.1  christos (
   1457  1.1  christos   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1458  1.1  christos     eval ac_val=\$$ac_var
   1459  1.1  christos     case $ac_val in #(
   1460  1.1  christos     *${as_nl}*)
   1461  1.1  christos       case $ac_var in #(
   1462  1.1  christos       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1463  1.1  christos echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1464  1.1  christos       esac
   1465  1.1  christos       case $ac_var in #(
   1466  1.1  christos       _ | IFS | as_nl) ;; #(
   1467  1.1  christos       *) $as_unset $ac_var ;;
   1468  1.1  christos       esac ;;
   1469  1.1  christos     esac
   1470  1.1  christos   done
   1471  1.1  christos   (set) 2>&1 |
   1472  1.1  christos     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1473  1.1  christos     *${as_nl}ac_space=\ *)
   1474  1.1  christos       sed -n \
   1475  1.1  christos 	"s/'\''/'\''\\\\'\'''\''/g;
   1476  1.1  christos 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1477  1.1  christos       ;; #(
   1478  1.1  christos     *)
   1479  1.1  christos       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1480  1.1  christos       ;;
   1481  1.1  christos     esac |
   1482  1.1  christos     sort
   1483  1.1  christos )
   1484  1.1  christos     echo
   1485  1.1  christos 
   1486  1.1  christos     cat <<\_ASBOX
   1487  1.1  christos ## ----------------- ##
   1488  1.1  christos ## Output variables. ##
   1489  1.1  christos ## ----------------- ##
   1490  1.1  christos _ASBOX
   1491  1.1  christos     echo
   1492  1.1  christos     for ac_var in $ac_subst_vars
   1493  1.1  christos     do
   1494  1.1  christos       eval ac_val=\$$ac_var
   1495  1.1  christos       case $ac_val in
   1496  1.1  christos       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1497  1.1  christos       esac
   1498  1.1  christos       echo "$ac_var='\''$ac_val'\''"
   1499  1.1  christos     done | sort
   1500  1.1  christos     echo
   1501  1.1  christos 
   1502  1.1  christos     if test -n "$ac_subst_files"; then
   1503  1.1  christos       cat <<\_ASBOX
   1504  1.1  christos ## ------------------- ##
   1505  1.1  christos ## File substitutions. ##
   1506  1.1  christos ## ------------------- ##
   1507  1.1  christos _ASBOX
   1508  1.1  christos       echo
   1509  1.1  christos       for ac_var in $ac_subst_files
   1510  1.1  christos       do
   1511  1.1  christos 	eval ac_val=\$$ac_var
   1512  1.1  christos 	case $ac_val in
   1513  1.1  christos 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1514  1.1  christos 	esac
   1515  1.1  christos 	echo "$ac_var='\''$ac_val'\''"
   1516  1.1  christos       done | sort
   1517  1.1  christos       echo
   1518  1.1  christos     fi
   1519  1.1  christos 
   1520  1.1  christos     if test -s confdefs.h; then
   1521  1.1  christos       cat <<\_ASBOX
   1522  1.1  christos ## ----------- ##
   1523  1.1  christos ## confdefs.h. ##
   1524  1.1  christos ## ----------- ##
   1525  1.1  christos _ASBOX
   1526  1.1  christos       echo
   1527  1.1  christos       cat confdefs.h
   1528  1.1  christos       echo
   1529  1.1  christos     fi
   1530  1.1  christos     test "$ac_signal" != 0 &&
   1531  1.1  christos       echo "$as_me: caught signal $ac_signal"
   1532  1.1  christos     echo "$as_me: exit $exit_status"
   1533  1.1  christos   } >&5
   1534  1.1  christos   rm -f core *.core core.conftest.* &&
   1535  1.1  christos     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1536  1.1  christos     exit $exit_status
   1537  1.1  christos ' 0
   1538  1.1  christos for ac_signal in 1 2 13 15; do
   1539  1.1  christos   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1540  1.1  christos done
   1541  1.1  christos ac_signal=0
   1542  1.1  christos 
   1543  1.1  christos # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1544  1.1  christos rm -f -r conftest* confdefs.h
   1545  1.1  christos 
   1546  1.1  christos # Predefined preprocessor variables.
   1547  1.1  christos 
   1548  1.1  christos cat >>confdefs.h <<_ACEOF
   1549  1.1  christos #define PACKAGE_NAME "$PACKAGE_NAME"
   1550  1.1  christos _ACEOF
   1551  1.1  christos 
   1552  1.1  christos 
   1553  1.1  christos cat >>confdefs.h <<_ACEOF
   1554  1.1  christos #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1555  1.1  christos _ACEOF
   1556  1.1  christos 
   1557  1.1  christos 
   1558  1.1  christos cat >>confdefs.h <<_ACEOF
   1559  1.1  christos #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1560  1.1  christos _ACEOF
   1561  1.1  christos 
   1562  1.1  christos 
   1563  1.1  christos cat >>confdefs.h <<_ACEOF
   1564  1.1  christos #define PACKAGE_STRING "$PACKAGE_STRING"
   1565  1.1  christos _ACEOF
   1566  1.1  christos 
   1567  1.1  christos 
   1568  1.1  christos cat >>confdefs.h <<_ACEOF
   1569  1.1  christos #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1570  1.1  christos _ACEOF
   1571  1.1  christos 
   1572  1.1  christos 
   1573  1.1  christos # Let the site file select an alternate cache file if it wants to.
   1574  1.1  christos # Prefer explicitly selected file to automatically selected ones.
   1575  1.1  christos if test -n "$CONFIG_SITE"; then
   1576  1.1  christos   set x "$CONFIG_SITE"
   1577  1.1  christos elif test "x$prefix" != xNONE; then
   1578  1.1  christos   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1579  1.1  christos else
   1580  1.1  christos   set x "$ac_default_prefix/share/config.site" \
   1581  1.1  christos 	"$ac_default_prefix/etc/config.site"
   1582  1.1  christos fi
   1583  1.1  christos shift
   1584  1.1  christos for ac_site_file
   1585  1.1  christos do
   1586  1.1  christos   if test -r "$ac_site_file"; then
   1587  1.1  christos     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1588  1.1  christos echo "$as_me: loading site script $ac_site_file" >&6;}
   1589  1.1  christos     sed 's/^/| /' "$ac_site_file" >&5
   1590  1.1  christos     . "$ac_site_file"
   1591  1.1  christos   fi
   1592  1.1  christos done
   1593  1.1  christos 
   1594  1.1  christos if test -r "$cache_file"; then
   1595  1.1  christos   # Some versions of bash will fail to source /dev/null (special
   1596  1.1  christos   # files actually), so we avoid doing that.
   1597  1.1  christos   if test -f "$cache_file"; then
   1598  1.1  christos     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1599  1.1  christos echo "$as_me: loading cache $cache_file" >&6;}
   1600  1.1  christos     case $cache_file in
   1601  1.1  christos       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1602  1.1  christos       *)                      . "./$cache_file";;
   1603  1.1  christos     esac
   1604  1.1  christos   fi
   1605  1.1  christos else
   1606  1.1  christos   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1607  1.1  christos echo "$as_me: creating cache $cache_file" >&6;}
   1608  1.1  christos   >$cache_file
   1609  1.1  christos fi
   1610  1.1  christos 
   1611  1.1  christos # Check that the precious variables saved in the cache have kept the same
   1612  1.1  christos # value.
   1613  1.1  christos ac_cache_corrupted=false
   1614  1.1  christos for ac_var in $ac_precious_vars; do
   1615  1.1  christos   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1616  1.1  christos   eval ac_new_set=\$ac_env_${ac_var}_set
   1617  1.1  christos   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1618  1.1  christos   eval ac_new_val=\$ac_env_${ac_var}_value
   1619  1.1  christos   case $ac_old_set,$ac_new_set in
   1620  1.1  christos     set,)
   1621  1.1  christos       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1622  1.1  christos echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1623  1.1  christos       ac_cache_corrupted=: ;;
   1624  1.1  christos     ,set)
   1625  1.1  christos       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1626  1.1  christos echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1627  1.1  christos       ac_cache_corrupted=: ;;
   1628  1.1  christos     ,);;
   1629  1.1  christos     *)
   1630  1.1  christos       if test "x$ac_old_val" != "x$ac_new_val"; then
   1631  1.1  christos 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1632  1.1  christos echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1633  1.1  christos 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1634  1.1  christos echo "$as_me:   former value:  $ac_old_val" >&2;}
   1635  1.1  christos 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1636  1.1  christos echo "$as_me:   current value: $ac_new_val" >&2;}
   1637  1.1  christos 	ac_cache_corrupted=:
   1638  1.1  christos       fi;;
   1639  1.1  christos   esac
   1640  1.1  christos   # Pass precious variables to config.status.
   1641  1.1  christos   if test "$ac_new_set" = set; then
   1642  1.1  christos     case $ac_new_val in
   1643  1.1  christos     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1644  1.1  christos     *) ac_arg=$ac_var=$ac_new_val ;;
   1645  1.1  christos     esac
   1646  1.1  christos     case " $ac_configure_args " in
   1647  1.1  christos       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1648  1.1  christos       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1649  1.1  christos     esac
   1650  1.1  christos   fi
   1651  1.1  christos done
   1652  1.1  christos if $ac_cache_corrupted; then
   1653  1.1  christos   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1654  1.1  christos echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1655  1.1  christos   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1656  1.1  christos echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1657  1.1  christos    { (exit 1); exit 1; }; }
   1658  1.1  christos fi
   1659  1.1  christos 
   1660  1.1  christos 
   1661  1.1  christos 
   1662  1.1  christos 
   1663  1.1  christos 
   1664  1.1  christos 
   1665  1.1  christos 
   1666  1.1  christos 
   1667  1.1  christos 
   1668  1.1  christos 
   1669  1.1  christos 
   1670  1.1  christos 
   1671  1.1  christos 
   1672  1.1  christos 
   1673  1.1  christos 
   1674  1.1  christos 
   1675  1.1  christos 
   1676  1.1  christos ac_ext=c
   1677  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   1678  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1679  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1680  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1681  1.1  christos 
   1682  1.1  christos 
   1683  1.1  christos ac_aux_dir=
   1684  1.1  christos for ac_dir in ../../../build-aux "$srcdir"/../../../build-aux; do
   1685  1.1  christos   if test -f "$ac_dir/install-sh"; then
   1686  1.1  christos     ac_aux_dir=$ac_dir
   1687  1.1  christos     ac_install_sh="$ac_aux_dir/install-sh -c"
   1688  1.1  christos     break
   1689  1.1  christos   elif test -f "$ac_dir/install.sh"; then
   1690  1.1  christos     ac_aux_dir=$ac_dir
   1691  1.1  christos     ac_install_sh="$ac_aux_dir/install.sh -c"
   1692  1.1  christos     break
   1693  1.1  christos   elif test -f "$ac_dir/shtool"; then
   1694  1.1  christos     ac_aux_dir=$ac_dir
   1695  1.1  christos     ac_install_sh="$ac_aux_dir/shtool install -c"
   1696  1.1  christos     break
   1697  1.1  christos   fi
   1698  1.1  christos done
   1699  1.1  christos if test -z "$ac_aux_dir"; then
   1700  1.1  christos   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../build-aux \"$srcdir\"/../../../build-aux" >&5
   1701  1.1  christos echo "$as_me: error: cannot find install-sh or install.sh in ../../../build-aux \"$srcdir\"/../../../build-aux" >&2;}
   1702  1.1  christos    { (exit 1); exit 1; }; }
   1703  1.1  christos fi
   1704  1.1  christos 
   1705  1.1  christos # These three variables are undocumented and unsupported,
   1706  1.1  christos # and are intended to be withdrawn in a future Autoconf release.
   1707  1.1  christos # They can cause serious problems if a builder's source tree is in a directory
   1708  1.1  christos # whose full name contains unusual characters.
   1709  1.1  christos ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1710  1.1  christos ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1711  1.1  christos ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1712  1.1  christos 
   1713  1.1  christos 
   1714  1.1  christos am__api_version='1.10'
   1715  1.1  christos 
   1716  1.1  christos # Find a good install program.  We prefer a C program (faster),
   1717  1.1  christos # so one script is as good as another.  But avoid the broken or
   1718  1.1  christos # incompatible versions:
   1719  1.1  christos # SysV /etc/install, /usr/sbin/install
   1720  1.1  christos # SunOS /usr/etc/install
   1721  1.1  christos # IRIX /sbin/install
   1722  1.1  christos # AIX /bin/install
   1723  1.1  christos # AmigaOS /C/install, which installs bootblocks on floppy discs
   1724  1.1  christos # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1725  1.1  christos # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1726  1.1  christos # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1727  1.1  christos # OS/2's system install, which has a completely different semantic
   1728  1.1  christos # ./install, which can be erroneously created by make from ./install.sh.
   1729  1.1  christos { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1730  1.1  christos echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   1731  1.1  christos if test -z "$INSTALL"; then
   1732  1.1  christos if test "${ac_cv_path_install+set}" = set; then
   1733  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1734  1.1  christos else
   1735  1.1  christos   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1736  1.1  christos for as_dir in $PATH
   1737  1.1  christos do
   1738  1.1  christos   IFS=$as_save_IFS
   1739  1.1  christos   test -z "$as_dir" && as_dir=.
   1740  1.1  christos   # Account for people who put trailing slashes in PATH elements.
   1741  1.1  christos case $as_dir/ in
   1742  1.1  christos   ./ | .// | /cC/* | \
   1743  1.1  christos   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1744  1.1  christos   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1745  1.1  christos   /usr/ucb/* ) ;;
   1746  1.1  christos   *)
   1747  1.1  christos     # OSF1 and SCO ODT 3.0 have their own names for install.
   1748  1.1  christos     # Don't use installbsd from OSF since it installs stuff as root
   1749  1.1  christos     # by default.
   1750  1.1  christos     for ac_prog in ginstall scoinst install; do
   1751  1.1  christos       for ac_exec_ext in '' $ac_executable_extensions; do
   1752  1.1  christos 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
   1753  1.1  christos 	  if test $ac_prog = install &&
   1754  1.1  christos 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1755  1.1  christos 	    # AIX install.  It has an incompatible calling convention.
   1756  1.1  christos 	    :
   1757  1.1  christos 	  elif test $ac_prog = install &&
   1758  1.1  christos 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1759  1.1  christos 	    # program-specific install script used by HP pwplus--don't use.
   1760  1.1  christos 	    :
   1761  1.1  christos 	  else
   1762  1.1  christos 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   1763  1.1  christos 	    break 3
   1764  1.1  christos 	  fi
   1765  1.1  christos 	fi
   1766  1.1  christos       done
   1767  1.1  christos     done
   1768  1.1  christos     ;;
   1769  1.1  christos esac
   1770  1.1  christos done
   1771  1.1  christos IFS=$as_save_IFS
   1772  1.1  christos 
   1773  1.1  christos 
   1774  1.1  christos fi
   1775  1.1  christos   if test "${ac_cv_path_install+set}" = set; then
   1776  1.1  christos     INSTALL=$ac_cv_path_install
   1777  1.1  christos   else
   1778  1.1  christos     # As a last resort, use the slow shell script.  Don't cache a
   1779  1.1  christos     # value for INSTALL within a source directory, because that will
   1780  1.1  christos     # break other packages using the cache if that directory is
   1781  1.1  christos     # removed, or if the value is a relative name.
   1782  1.1  christos     INSTALL=$ac_install_sh
   1783  1.1  christos   fi
   1784  1.1  christos fi
   1785  1.1  christos { echo "$as_me:$LINENO: result: $INSTALL" >&5
   1786  1.1  christos echo "${ECHO_T}$INSTALL" >&6; }
   1787  1.1  christos 
   1788  1.1  christos # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   1789  1.1  christos # It thinks the first close brace ends the variable substitution.
   1790  1.1  christos test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   1791  1.1  christos 
   1792  1.1  christos test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   1793  1.1  christos 
   1794  1.1  christos test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   1795  1.1  christos 
   1796  1.1  christos { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   1797  1.1  christos echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   1798  1.1  christos # Just in case
   1799  1.1  christos sleep 1
   1800  1.1  christos echo timestamp > conftest.file
   1801  1.1  christos # Do `set' in a subshell so we don't clobber the current shell's
   1802  1.1  christos # arguments.  Must try -L first in case configure is actually a
   1803  1.1  christos # symlink; some systems play weird games with the mod time of symlinks
   1804  1.1  christos # (eg FreeBSD returns the mod time of the symlink's containing
   1805  1.1  christos # directory).
   1806  1.1  christos if (
   1807  1.1  christos    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   1808  1.1  christos    if test "$*" = "X"; then
   1809  1.1  christos       # -L didn't work.
   1810  1.1  christos       set X `ls -t $srcdir/configure conftest.file`
   1811  1.1  christos    fi
   1812  1.1  christos    rm -f conftest.file
   1813  1.1  christos    if test "$*" != "X $srcdir/configure conftest.file" \
   1814  1.1  christos       && test "$*" != "X conftest.file $srcdir/configure"; then
   1815  1.1  christos 
   1816  1.1  christos       # If neither matched, then we have a broken ls.  This can happen
   1817  1.1  christos       # if, for instance, CONFIG_SHELL is bash and it inherits a
   1818  1.1  christos       # broken ls alias from the environment.  This has actually
   1819  1.1  christos       # happened.  Such a system could not be considered "sane".
   1820  1.1  christos       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   1821  1.1  christos alias in your environment" >&5
   1822  1.1  christos echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   1823  1.1  christos alias in your environment" >&2;}
   1824  1.1  christos    { (exit 1); exit 1; }; }
   1825  1.1  christos    fi
   1826  1.1  christos 
   1827  1.1  christos    test "$2" = conftest.file
   1828  1.1  christos    )
   1829  1.1  christos then
   1830  1.1  christos    # Ok.
   1831  1.1  christos    :
   1832  1.1  christos else
   1833  1.1  christos    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   1834  1.1  christos Check your system clock" >&5
   1835  1.1  christos echo "$as_me: error: newly created file is older than distributed files!
   1836  1.1  christos Check your system clock" >&2;}
   1837  1.1  christos    { (exit 1); exit 1; }; }
   1838  1.1  christos fi
   1839  1.1  christos { echo "$as_me:$LINENO: result: yes" >&5
   1840  1.1  christos echo "${ECHO_T}yes" >&6; }
   1841  1.1  christos test "$program_prefix" != NONE &&
   1842  1.1  christos   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   1843  1.1  christos # Use a double $ so make ignores it.
   1844  1.1  christos test "$program_suffix" != NONE &&
   1845  1.1  christos   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   1846  1.1  christos # Double any \ or $.  echo might interpret backslashes.
   1847  1.1  christos # By default was `s,x,x', remove it if useless.
   1848  1.1  christos cat <<\_ACEOF >conftest.sed
   1849  1.1  christos s/[\\$]/&&/g;s/;s,x,x,$//
   1850  1.1  christos _ACEOF
   1851  1.1  christos program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   1852  1.1  christos rm -f conftest.sed
   1853  1.1  christos 
   1854  1.1  christos # expand $ac_aux_dir to an absolute path
   1855  1.1  christos am_aux_dir=`cd $ac_aux_dir && pwd`
   1856  1.1  christos 
   1857  1.1  christos test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   1858  1.1  christos # Use eval to expand $SHELL
   1859  1.1  christos if eval "$MISSING --run true"; then
   1860  1.1  christos   am_missing_run="$MISSING --run "
   1861  1.1  christos else
   1862  1.1  christos   am_missing_run=
   1863  1.1  christos   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   1864  1.1  christos echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   1865  1.1  christos fi
   1866  1.1  christos 
   1867  1.1  christos { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   1868  1.1  christos echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   1869  1.1  christos if test -z "$MKDIR_P"; then
   1870  1.1  christos   if test "${ac_cv_path_mkdir+set}" = set; then
   1871  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1872  1.1  christos else
   1873  1.1  christos   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1874  1.1  christos for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   1875  1.1  christos do
   1876  1.1  christos   IFS=$as_save_IFS
   1877  1.1  christos   test -z "$as_dir" && as_dir=.
   1878  1.1  christos   for ac_prog in mkdir gmkdir; do
   1879  1.1  christos 	 for ac_exec_ext in '' $ac_executable_extensions; do
   1880  1.1  christos 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   1881  1.1  christos 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   1882  1.1  christos 	     'mkdir (GNU coreutils) '* | \
   1883  1.1  christos 	     'mkdir (coreutils) '* | \
   1884  1.1  christos 	     'mkdir (fileutils) '4.1*)
   1885  1.1  christos 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   1886  1.1  christos 	       break 3;;
   1887  1.1  christos 	   esac
   1888  1.1  christos 	 done
   1889  1.1  christos        done
   1890  1.1  christos done
   1891  1.1  christos IFS=$as_save_IFS
   1892  1.1  christos 
   1893  1.1  christos fi
   1894  1.1  christos 
   1895  1.1  christos   if test "${ac_cv_path_mkdir+set}" = set; then
   1896  1.1  christos     MKDIR_P="$ac_cv_path_mkdir -p"
   1897  1.1  christos   else
   1898  1.1  christos     # As a last resort, use the slow shell script.  Don't cache a
   1899  1.1  christos     # value for MKDIR_P within a source directory, because that will
   1900  1.1  christos     # break other packages using the cache if that directory is
   1901  1.1  christos     # removed, or if the value is a relative name.
   1902  1.1  christos     test -d ./--version && rmdir ./--version
   1903  1.1  christos     MKDIR_P="$ac_install_sh -d"
   1904  1.1  christos   fi
   1905  1.1  christos fi
   1906  1.1  christos { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   1907  1.1  christos echo "${ECHO_T}$MKDIR_P" >&6; }
   1908  1.1  christos 
   1909  1.1  christos mkdir_p="$MKDIR_P"
   1910  1.1  christos case $mkdir_p in
   1911  1.1  christos   [\\/$]* | ?:[\\/]*) ;;
   1912  1.1  christos   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   1913  1.1  christos esac
   1914  1.1  christos 
   1915  1.1  christos for ac_prog in gawk mawk nawk awk
   1916  1.1  christos do
   1917  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1918  1.1  christos set dummy $ac_prog; ac_word=$2
   1919  1.1  christos { echo "$as_me:$LINENO: checking for $ac_word" >&5
   1920  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   1921  1.1  christos if test "${ac_cv_prog_AWK+set}" = set; then
   1922  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1923  1.1  christos else
   1924  1.1  christos   if test -n "$AWK"; then
   1925  1.1  christos   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   1926  1.1  christos else
   1927  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1928  1.1  christos for as_dir in $PATH
   1929  1.1  christos do
   1930  1.1  christos   IFS=$as_save_IFS
   1931  1.1  christos   test -z "$as_dir" && as_dir=.
   1932  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   1933  1.1  christos   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   1934  1.1  christos     ac_cv_prog_AWK="$ac_prog"
   1935  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1936  1.1  christos     break 2
   1937  1.1  christos   fi
   1938  1.1  christos done
   1939  1.1  christos done
   1940  1.1  christos IFS=$as_save_IFS
   1941  1.1  christos 
   1942  1.1  christos fi
   1943  1.1  christos fi
   1944  1.1  christos AWK=$ac_cv_prog_AWK
   1945  1.1  christos if test -n "$AWK"; then
   1946  1.1  christos   { echo "$as_me:$LINENO: result: $AWK" >&5
   1947  1.1  christos echo "${ECHO_T}$AWK" >&6; }
   1948  1.1  christos else
   1949  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   1950  1.1  christos echo "${ECHO_T}no" >&6; }
   1951  1.1  christos fi
   1952  1.1  christos 
   1953  1.1  christos 
   1954  1.1  christos   test -n "$AWK" && break
   1955  1.1  christos done
   1956  1.1  christos 
   1957  1.1  christos { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   1958  1.1  christos echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   1959  1.1  christos set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   1960  1.1  christos if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   1961  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   1962  1.1  christos else
   1963  1.1  christos   cat >conftest.make <<\_ACEOF
   1964  1.1  christos SHELL = /bin/sh
   1965  1.1  christos all:
   1966  1.1  christos 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   1967  1.1  christos _ACEOF
   1968  1.1  christos # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   1969  1.1  christos case `${MAKE-make} -f conftest.make 2>/dev/null` in
   1970  1.1  christos   *@@@%%%=?*=@@@%%%*)
   1971  1.1  christos     eval ac_cv_prog_make_${ac_make}_set=yes;;
   1972  1.1  christos   *)
   1973  1.1  christos     eval ac_cv_prog_make_${ac_make}_set=no;;
   1974  1.1  christos esac
   1975  1.1  christos rm -f conftest.make
   1976  1.1  christos fi
   1977  1.1  christos if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   1978  1.1  christos   { echo "$as_me:$LINENO: result: yes" >&5
   1979  1.1  christos echo "${ECHO_T}yes" >&6; }
   1980  1.1  christos   SET_MAKE=
   1981  1.1  christos else
   1982  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   1983  1.1  christos echo "${ECHO_T}no" >&6; }
   1984  1.1  christos   SET_MAKE="MAKE=${MAKE-make}"
   1985  1.1  christos fi
   1986  1.1  christos 
   1987  1.1  christos rm -rf .tst 2>/dev/null
   1988  1.1  christos mkdir .tst 2>/dev/null
   1989  1.1  christos if test -d .tst; then
   1990  1.1  christos   am__leading_dot=.
   1991  1.1  christos else
   1992  1.1  christos   am__leading_dot=_
   1993  1.1  christos fi
   1994  1.1  christos rmdir .tst 2>/dev/null
   1995  1.1  christos 
   1996  1.1  christos if test "`cd $srcdir && pwd`" != "`pwd`"; then
   1997  1.1  christos   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   1998  1.1  christos   # is not polluted with repeated "-I."
   1999  1.1  christos   am__isrc=' -I$(srcdir)'
   2000  1.1  christos   # test to see if srcdir already configured
   2001  1.1  christos   if test -f $srcdir/config.status; then
   2002  1.1  christos     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2003  1.1  christos echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2004  1.1  christos    { (exit 1); exit 1; }; }
   2005  1.1  christos   fi
   2006  1.1  christos fi
   2007  1.1  christos 
   2008  1.1  christos # test whether we have cygpath
   2009  1.1  christos if test -z "$CYGPATH_W"; then
   2010  1.1  christos   if (cygpath --version) >/dev/null 2>/dev/null; then
   2011  1.1  christos     CYGPATH_W='cygpath -w'
   2012  1.1  christos   else
   2013  1.1  christos     CYGPATH_W=echo
   2014  1.1  christos   fi
   2015  1.1  christos fi
   2016  1.1  christos 
   2017  1.1  christos 
   2018  1.1  christos # Define the identity of the package.
   2019  1.1  christos  PACKAGE=gettext_rpathlyx
   2020  1.1  christos  VERSION=0
   2021  1.1  christos 
   2022  1.1  christos 
   2023  1.1  christos cat >>confdefs.h <<_ACEOF
   2024  1.1  christos #define PACKAGE "$PACKAGE"
   2025  1.1  christos _ACEOF
   2026  1.1  christos 
   2027  1.1  christos 
   2028  1.1  christos cat >>confdefs.h <<_ACEOF
   2029  1.1  christos #define VERSION "$VERSION"
   2030  1.1  christos _ACEOF
   2031  1.1  christos 
   2032  1.1  christos # Some tools Automake needs.
   2033  1.1  christos 
   2034  1.1  christos ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2035  1.1  christos 
   2036  1.1  christos 
   2037  1.1  christos AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2038  1.1  christos 
   2039  1.1  christos 
   2040  1.1  christos AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2041  1.1  christos 
   2042  1.1  christos 
   2043  1.1  christos AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2044  1.1  christos 
   2045  1.1  christos 
   2046  1.1  christos MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2047  1.1  christos 
   2048  1.1  christos install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2049  1.1  christos 
   2050  1.1  christos # Installed binaries are usually stripped using `strip' when the user
   2051  1.1  christos # run `make install-strip'.  However `strip' might not be the right
   2052  1.1  christos # tool to use in cross-compilation environments, therefore Automake
   2053  1.1  christos # will honor the `STRIP' environment variable to overrule this program.
   2054  1.1  christos if test "$cross_compiling" != no; then
   2055  1.1  christos   if test -n "$ac_tool_prefix"; then
   2056  1.1  christos   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2057  1.1  christos set dummy ${ac_tool_prefix}strip; ac_word=$2
   2058  1.1  christos { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2059  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2060  1.1  christos if test "${ac_cv_prog_STRIP+set}" = set; then
   2061  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2062  1.1  christos else
   2063  1.1  christos   if test -n "$STRIP"; then
   2064  1.1  christos   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2065  1.1  christos else
   2066  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2067  1.1  christos for as_dir in $PATH
   2068  1.1  christos do
   2069  1.1  christos   IFS=$as_save_IFS
   2070  1.1  christos   test -z "$as_dir" && as_dir=.
   2071  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2072  1.1  christos   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2073  1.1  christos     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2074  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2075  1.1  christos     break 2
   2076  1.1  christos   fi
   2077  1.1  christos done
   2078  1.1  christos done
   2079  1.1  christos IFS=$as_save_IFS
   2080  1.1  christos 
   2081  1.1  christos fi
   2082  1.1  christos fi
   2083  1.1  christos STRIP=$ac_cv_prog_STRIP
   2084  1.1  christos if test -n "$STRIP"; then
   2085  1.1  christos   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2086  1.1  christos echo "${ECHO_T}$STRIP" >&6; }
   2087  1.1  christos else
   2088  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   2089  1.1  christos echo "${ECHO_T}no" >&6; }
   2090  1.1  christos fi
   2091  1.1  christos 
   2092  1.1  christos 
   2093  1.1  christos fi
   2094  1.1  christos if test -z "$ac_cv_prog_STRIP"; then
   2095  1.1  christos   ac_ct_STRIP=$STRIP
   2096  1.1  christos   # Extract the first word of "strip", so it can be a program name with args.
   2097  1.1  christos set dummy strip; ac_word=$2
   2098  1.1  christos { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2099  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2100  1.1  christos if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2101  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2102  1.1  christos else
   2103  1.1  christos   if test -n "$ac_ct_STRIP"; then
   2104  1.1  christos   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2105  1.1  christos else
   2106  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2107  1.1  christos for as_dir in $PATH
   2108  1.1  christos do
   2109  1.1  christos   IFS=$as_save_IFS
   2110  1.1  christos   test -z "$as_dir" && as_dir=.
   2111  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2112  1.1  christos   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2113  1.1  christos     ac_cv_prog_ac_ct_STRIP="strip"
   2114  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2115  1.1  christos     break 2
   2116  1.1  christos   fi
   2117  1.1  christos done
   2118  1.1  christos done
   2119  1.1  christos IFS=$as_save_IFS
   2120  1.1  christos 
   2121  1.1  christos fi
   2122  1.1  christos fi
   2123  1.1  christos ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2124  1.1  christos if test -n "$ac_ct_STRIP"; then
   2125  1.1  christos   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2126  1.1  christos echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2127  1.1  christos else
   2128  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   2129  1.1  christos echo "${ECHO_T}no" >&6; }
   2130  1.1  christos fi
   2131  1.1  christos 
   2132  1.1  christos   if test "x$ac_ct_STRIP" = x; then
   2133  1.1  christos     STRIP=":"
   2134  1.1  christos   else
   2135  1.1  christos     case $cross_compiling:$ac_tool_warned in
   2136  1.1  christos yes:)
   2137  1.1  christos { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2138  1.1  christos whose name does not start with the host triplet.  If you think this
   2139  1.1  christos configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2140  1.1  christos echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2141  1.1  christos whose name does not start with the host triplet.  If you think this
   2142  1.1  christos configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2143  1.1  christos ac_tool_warned=yes ;;
   2144  1.1  christos esac
   2145  1.1  christos     STRIP=$ac_ct_STRIP
   2146  1.1  christos   fi
   2147  1.1  christos else
   2148  1.1  christos   STRIP="$ac_cv_prog_STRIP"
   2149  1.1  christos fi
   2150  1.1  christos 
   2151  1.1  christos fi
   2152  1.1  christos INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2153  1.1  christos 
   2154  1.1  christos # We need awk for the "check" target.  The system "awk" is bad on
   2155  1.1  christos # some platforms.
   2156  1.1  christos # Always define AMTAR for backward compatibility.
   2157  1.1  christos 
   2158  1.1  christos AMTAR=${AMTAR-"${am_missing_run}tar"}
   2159  1.1  christos 
   2160  1.1  christos am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2161  1.1  christos 
   2162  1.1  christos 
   2163  1.1  christos 
   2164  1.1  christos 
   2165  1.1  christos 
   2166  1.1  christos ac_ext=c
   2167  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   2168  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2169  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2170  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2171  1.1  christos if test -n "$ac_tool_prefix"; then
   2172  1.1  christos   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2173  1.1  christos set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2174  1.1  christos { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2175  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2176  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   2177  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2178  1.1  christos else
   2179  1.1  christos   if test -n "$CC"; then
   2180  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   2181  1.1  christos else
   2182  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2183  1.1  christos for as_dir in $PATH
   2184  1.1  christos do
   2185  1.1  christos   IFS=$as_save_IFS
   2186  1.1  christos   test -z "$as_dir" && as_dir=.
   2187  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2188  1.1  christos   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2189  1.1  christos     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2190  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2191  1.1  christos     break 2
   2192  1.1  christos   fi
   2193  1.1  christos done
   2194  1.1  christos done
   2195  1.1  christos IFS=$as_save_IFS
   2196  1.1  christos 
   2197  1.1  christos fi
   2198  1.1  christos fi
   2199  1.1  christos CC=$ac_cv_prog_CC
   2200  1.1  christos if test -n "$CC"; then
   2201  1.1  christos   { echo "$as_me:$LINENO: result: $CC" >&5
   2202  1.1  christos echo "${ECHO_T}$CC" >&6; }
   2203  1.1  christos else
   2204  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   2205  1.1  christos echo "${ECHO_T}no" >&6; }
   2206  1.1  christos fi
   2207  1.1  christos 
   2208  1.1  christos 
   2209  1.1  christos fi
   2210  1.1  christos if test -z "$ac_cv_prog_CC"; then
   2211  1.1  christos   ac_ct_CC=$CC
   2212  1.1  christos   # Extract the first word of "gcc", so it can be a program name with args.
   2213  1.1  christos set dummy gcc; ac_word=$2
   2214  1.1  christos { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2215  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2216  1.1  christos if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2217  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2218  1.1  christos else
   2219  1.1  christos   if test -n "$ac_ct_CC"; then
   2220  1.1  christos   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2221  1.1  christos else
   2222  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2223  1.1  christos for as_dir in $PATH
   2224  1.1  christos do
   2225  1.1  christos   IFS=$as_save_IFS
   2226  1.1  christos   test -z "$as_dir" && as_dir=.
   2227  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2228  1.1  christos   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2229  1.1  christos     ac_cv_prog_ac_ct_CC="gcc"
   2230  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2231  1.1  christos     break 2
   2232  1.1  christos   fi
   2233  1.1  christos done
   2234  1.1  christos done
   2235  1.1  christos IFS=$as_save_IFS
   2236  1.1  christos 
   2237  1.1  christos fi
   2238  1.1  christos fi
   2239  1.1  christos ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2240  1.1  christos if test -n "$ac_ct_CC"; then
   2241  1.1  christos   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2242  1.1  christos echo "${ECHO_T}$ac_ct_CC" >&6; }
   2243  1.1  christos else
   2244  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   2245  1.1  christos echo "${ECHO_T}no" >&6; }
   2246  1.1  christos fi
   2247  1.1  christos 
   2248  1.1  christos   if test "x$ac_ct_CC" = x; then
   2249  1.1  christos     CC=""
   2250  1.1  christos   else
   2251  1.1  christos     case $cross_compiling:$ac_tool_warned in
   2252  1.1  christos yes:)
   2253  1.1  christos { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2254  1.1  christos whose name does not start with the host triplet.  If you think this
   2255  1.1  christos configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2256  1.1  christos echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2257  1.1  christos whose name does not start with the host triplet.  If you think this
   2258  1.1  christos configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2259  1.1  christos ac_tool_warned=yes ;;
   2260  1.1  christos esac
   2261  1.1  christos     CC=$ac_ct_CC
   2262  1.1  christos   fi
   2263  1.1  christos else
   2264  1.1  christos   CC="$ac_cv_prog_CC"
   2265  1.1  christos fi
   2266  1.1  christos 
   2267  1.1  christos if test -z "$CC"; then
   2268  1.1  christos           if test -n "$ac_tool_prefix"; then
   2269  1.1  christos     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2270  1.1  christos set dummy ${ac_tool_prefix}cc; ac_word=$2
   2271  1.1  christos { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2272  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2273  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   2274  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2275  1.1  christos else
   2276  1.1  christos   if test -n "$CC"; then
   2277  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   2278  1.1  christos else
   2279  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2280  1.1  christos for as_dir in $PATH
   2281  1.1  christos do
   2282  1.1  christos   IFS=$as_save_IFS
   2283  1.1  christos   test -z "$as_dir" && as_dir=.
   2284  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2285  1.1  christos   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2286  1.1  christos     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2287  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2288  1.1  christos     break 2
   2289  1.1  christos   fi
   2290  1.1  christos done
   2291  1.1  christos done
   2292  1.1  christos IFS=$as_save_IFS
   2293  1.1  christos 
   2294  1.1  christos fi
   2295  1.1  christos fi
   2296  1.1  christos CC=$ac_cv_prog_CC
   2297  1.1  christos if test -n "$CC"; then
   2298  1.1  christos   { echo "$as_me:$LINENO: result: $CC" >&5
   2299  1.1  christos echo "${ECHO_T}$CC" >&6; }
   2300  1.1  christos else
   2301  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   2302  1.1  christos echo "${ECHO_T}no" >&6; }
   2303  1.1  christos fi
   2304  1.1  christos 
   2305  1.1  christos 
   2306  1.1  christos   fi
   2307  1.1  christos fi
   2308  1.1  christos if test -z "$CC"; then
   2309  1.1  christos   # Extract the first word of "cc", so it can be a program name with args.
   2310  1.1  christos set dummy cc; ac_word=$2
   2311  1.1  christos { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2312  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2313  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   2314  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2315  1.1  christos else
   2316  1.1  christos   if test -n "$CC"; then
   2317  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   2318  1.1  christos else
   2319  1.1  christos   ac_prog_rejected=no
   2320  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2321  1.1  christos for as_dir in $PATH
   2322  1.1  christos do
   2323  1.1  christos   IFS=$as_save_IFS
   2324  1.1  christos   test -z "$as_dir" && as_dir=.
   2325  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2326  1.1  christos   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2327  1.1  christos     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2328  1.1  christos        ac_prog_rejected=yes
   2329  1.1  christos        continue
   2330  1.1  christos      fi
   2331  1.1  christos     ac_cv_prog_CC="cc"
   2332  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2333  1.1  christos     break 2
   2334  1.1  christos   fi
   2335  1.1  christos done
   2336  1.1  christos done
   2337  1.1  christos IFS=$as_save_IFS
   2338  1.1  christos 
   2339  1.1  christos if test $ac_prog_rejected = yes; then
   2340  1.1  christos   # We found a bogon in the path, so make sure we never use it.
   2341  1.1  christos   set dummy $ac_cv_prog_CC
   2342  1.1  christos   shift
   2343  1.1  christos   if test $# != 0; then
   2344  1.1  christos     # We chose a different compiler from the bogus one.
   2345  1.1  christos     # However, it has the same basename, so the bogon will be chosen
   2346  1.1  christos     # first if we set CC to just the basename; use the full file name.
   2347  1.1  christos     shift
   2348  1.1  christos     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2349  1.1  christos   fi
   2350  1.1  christos fi
   2351  1.1  christos fi
   2352  1.1  christos fi
   2353  1.1  christos CC=$ac_cv_prog_CC
   2354  1.1  christos if test -n "$CC"; then
   2355  1.1  christos   { echo "$as_me:$LINENO: result: $CC" >&5
   2356  1.1  christos echo "${ECHO_T}$CC" >&6; }
   2357  1.1  christos else
   2358  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   2359  1.1  christos echo "${ECHO_T}no" >&6; }
   2360  1.1  christos fi
   2361  1.1  christos 
   2362  1.1  christos 
   2363  1.1  christos fi
   2364  1.1  christos if test -z "$CC"; then
   2365  1.1  christos   if test -n "$ac_tool_prefix"; then
   2366  1.1  christos   for ac_prog in cl.exe
   2367  1.1  christos   do
   2368  1.1  christos     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2369  1.1  christos set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2370  1.1  christos { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2371  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2372  1.1  christos if test "${ac_cv_prog_CC+set}" = set; then
   2373  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2374  1.1  christos else
   2375  1.1  christos   if test -n "$CC"; then
   2376  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
   2377  1.1  christos else
   2378  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2379  1.1  christos for as_dir in $PATH
   2380  1.1  christos do
   2381  1.1  christos   IFS=$as_save_IFS
   2382  1.1  christos   test -z "$as_dir" && as_dir=.
   2383  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2384  1.1  christos   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2385  1.1  christos     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2386  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2387  1.1  christos     break 2
   2388  1.1  christos   fi
   2389  1.1  christos done
   2390  1.1  christos done
   2391  1.1  christos IFS=$as_save_IFS
   2392  1.1  christos 
   2393  1.1  christos fi
   2394  1.1  christos fi
   2395  1.1  christos CC=$ac_cv_prog_CC
   2396  1.1  christos if test -n "$CC"; then
   2397  1.1  christos   { echo "$as_me:$LINENO: result: $CC" >&5
   2398  1.1  christos echo "${ECHO_T}$CC" >&6; }
   2399  1.1  christos else
   2400  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   2401  1.1  christos echo "${ECHO_T}no" >&6; }
   2402  1.1  christos fi
   2403  1.1  christos 
   2404  1.1  christos 
   2405  1.1  christos     test -n "$CC" && break
   2406  1.1  christos   done
   2407  1.1  christos fi
   2408  1.1  christos if test -z "$CC"; then
   2409  1.1  christos   ac_ct_CC=$CC
   2410  1.1  christos   for ac_prog in cl.exe
   2411  1.1  christos do
   2412  1.1  christos   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2413  1.1  christos set dummy $ac_prog; ac_word=$2
   2414  1.1  christos { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2415  1.1  christos echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2416  1.1  christos if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2417  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2418  1.1  christos else
   2419  1.1  christos   if test -n "$ac_ct_CC"; then
   2420  1.1  christos   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2421  1.1  christos else
   2422  1.1  christos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2423  1.1  christos for as_dir in $PATH
   2424  1.1  christos do
   2425  1.1  christos   IFS=$as_save_IFS
   2426  1.1  christos   test -z "$as_dir" && as_dir=.
   2427  1.1  christos   for ac_exec_ext in '' $ac_executable_extensions; do
   2428  1.1  christos   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2429  1.1  christos     ac_cv_prog_ac_ct_CC="$ac_prog"
   2430  1.1  christos     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2431  1.1  christos     break 2
   2432  1.1  christos   fi
   2433  1.1  christos done
   2434  1.1  christos done
   2435  1.1  christos IFS=$as_save_IFS
   2436  1.1  christos 
   2437  1.1  christos fi
   2438  1.1  christos fi
   2439  1.1  christos ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2440  1.1  christos if test -n "$ac_ct_CC"; then
   2441  1.1  christos   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2442  1.1  christos echo "${ECHO_T}$ac_ct_CC" >&6; }
   2443  1.1  christos else
   2444  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   2445  1.1  christos echo "${ECHO_T}no" >&6; }
   2446  1.1  christos fi
   2447  1.1  christos 
   2448  1.1  christos 
   2449  1.1  christos   test -n "$ac_ct_CC" && break
   2450  1.1  christos done
   2451  1.1  christos 
   2452  1.1  christos   if test "x$ac_ct_CC" = x; then
   2453  1.1  christos     CC=""
   2454  1.1  christos   else
   2455  1.1  christos     case $cross_compiling:$ac_tool_warned in
   2456  1.1  christos yes:)
   2457  1.1  christos { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2458  1.1  christos whose name does not start with the host triplet.  If you think this
   2459  1.1  christos configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2460  1.1  christos echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2461  1.1  christos whose name does not start with the host triplet.  If you think this
   2462  1.1  christos configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2463  1.1  christos ac_tool_warned=yes ;;
   2464  1.1  christos esac
   2465  1.1  christos     CC=$ac_ct_CC
   2466  1.1  christos   fi
   2467  1.1  christos fi
   2468  1.1  christos 
   2469  1.1  christos fi
   2470  1.1  christos 
   2471  1.1  christos 
   2472  1.1  christos test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2473  1.1  christos See \`config.log' for more details." >&5
   2474  1.1  christos echo "$as_me: error: no acceptable C compiler found in \$PATH
   2475  1.1  christos See \`config.log' for more details." >&2;}
   2476  1.1  christos    { (exit 1); exit 1; }; }
   2477  1.1  christos 
   2478  1.1  christos # Provide some information about the compiler.
   2479  1.1  christos echo "$as_me:$LINENO: checking for C compiler version" >&5
   2480  1.1  christos ac_compiler=`set X $ac_compile; echo $2`
   2481  1.1  christos { (ac_try="$ac_compiler --version >&5"
   2482  1.1  christos case "(($ac_try" in
   2483  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2484  1.1  christos   *) ac_try_echo=$ac_try;;
   2485  1.1  christos esac
   2486  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2487  1.1  christos   (eval "$ac_compiler --version >&5") 2>&5
   2488  1.1  christos   ac_status=$?
   2489  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2490  1.1  christos   (exit $ac_status); }
   2491  1.1  christos { (ac_try="$ac_compiler -v >&5"
   2492  1.1  christos case "(($ac_try" in
   2493  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2494  1.1  christos   *) ac_try_echo=$ac_try;;
   2495  1.1  christos esac
   2496  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2497  1.1  christos   (eval "$ac_compiler -v >&5") 2>&5
   2498  1.1  christos   ac_status=$?
   2499  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2500  1.1  christos   (exit $ac_status); }
   2501  1.1  christos { (ac_try="$ac_compiler -V >&5"
   2502  1.1  christos case "(($ac_try" in
   2503  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2504  1.1  christos   *) ac_try_echo=$ac_try;;
   2505  1.1  christos esac
   2506  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2507  1.1  christos   (eval "$ac_compiler -V >&5") 2>&5
   2508  1.1  christos   ac_status=$?
   2509  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2510  1.1  christos   (exit $ac_status); }
   2511  1.1  christos 
   2512  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   2513  1.1  christos /* confdefs.h.  */
   2514  1.1  christos _ACEOF
   2515  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2516  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2517  1.1  christos /* end confdefs.h.  */
   2518  1.1  christos 
   2519  1.1  christos int
   2520  1.1  christos main ()
   2521  1.1  christos {
   2522  1.1  christos 
   2523  1.1  christos   ;
   2524  1.1  christos   return 0;
   2525  1.1  christos }
   2526  1.1  christos _ACEOF
   2527  1.1  christos ac_clean_files_save=$ac_clean_files
   2528  1.1  christos ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2529  1.1  christos # Try to create an executable without -o first, disregard a.out.
   2530  1.1  christos # It will help us diagnose broken compilers, and finding out an intuition
   2531  1.1  christos # of exeext.
   2532  1.1  christos { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2533  1.1  christos echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2534  1.1  christos ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2535  1.1  christos #
   2536  1.1  christos # List of possible output files, starting from the most likely.
   2537  1.1  christos # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2538  1.1  christos # only as a last resort.  b.out is created by i960 compilers.
   2539  1.1  christos ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2540  1.1  christos #
   2541  1.1  christos # The IRIX 6 linker writes into existing files which may not be
   2542  1.1  christos # executable, retaining their permissions.  Remove them first so a
   2543  1.1  christos # subsequent execution test works.
   2544  1.1  christos ac_rmfiles=
   2545  1.1  christos for ac_file in $ac_files
   2546  1.1  christos do
   2547  1.1  christos   case $ac_file in
   2548  1.1  christos     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2549  1.1  christos     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2550  1.1  christos   esac
   2551  1.1  christos done
   2552  1.1  christos rm -f $ac_rmfiles
   2553  1.1  christos 
   2554  1.1  christos if { (ac_try="$ac_link_default"
   2555  1.1  christos case "(($ac_try" in
   2556  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2557  1.1  christos   *) ac_try_echo=$ac_try;;
   2558  1.1  christos esac
   2559  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2560  1.1  christos   (eval "$ac_link_default") 2>&5
   2561  1.1  christos   ac_status=$?
   2562  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2563  1.1  christos   (exit $ac_status); }; then
   2564  1.1  christos   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2565  1.1  christos # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2566  1.1  christos # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2567  1.1  christos # so that the user can short-circuit this test for compilers unknown to
   2568  1.1  christos # Autoconf.
   2569  1.1  christos for ac_file in $ac_files
   2570  1.1  christos do
   2571  1.1  christos   test -f "$ac_file" || continue
   2572  1.1  christos   case $ac_file in
   2573  1.1  christos     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2574  1.1  christos 	;;
   2575  1.1  christos     [ab].out )
   2576  1.1  christos 	# We found the default executable, but exeext='' is most
   2577  1.1  christos 	# certainly right.
   2578  1.1  christos 	break;;
   2579  1.1  christos     *.* )
   2580  1.1  christos         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2581  1.1  christos 	then :; else
   2582  1.1  christos 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2583  1.1  christos 	fi
   2584  1.1  christos 	# We set ac_cv_exeext here because the later test for it is not
   2585  1.1  christos 	# safe: cross compilers may not add the suffix if given an `-o'
   2586  1.1  christos 	# argument, so we may need to know it at that point already.
   2587  1.1  christos 	# Even if this section looks crufty: it has the advantage of
   2588  1.1  christos 	# actually working.
   2589  1.1  christos 	break;;
   2590  1.1  christos     * )
   2591  1.1  christos 	break;;
   2592  1.1  christos   esac
   2593  1.1  christos done
   2594  1.1  christos test "$ac_cv_exeext" = no && ac_cv_exeext=
   2595  1.1  christos 
   2596  1.1  christos else
   2597  1.1  christos   echo "$as_me: failed program was:" >&5
   2598  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2599  1.1  christos 
   2600  1.1  christos { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2601  1.1  christos See \`config.log' for more details." >&5
   2602  1.1  christos echo "$as_me: error: C compiler cannot create executables
   2603  1.1  christos See \`config.log' for more details." >&2;}
   2604  1.1  christos    { (exit 77); exit 77; }; }
   2605  1.1  christos fi
   2606  1.1  christos 
   2607  1.1  christos ac_exeext=$ac_cv_exeext
   2608  1.1  christos { echo "$as_me:$LINENO: result: $ac_file" >&5
   2609  1.1  christos echo "${ECHO_T}$ac_file" >&6; }
   2610  1.1  christos 
   2611  1.1  christos # Check that the compiler produces executables we can run.  If not, either
   2612  1.1  christos # the compiler is broken, or we cross compile.
   2613  1.1  christos { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2614  1.1  christos echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2615  1.1  christos # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2616  1.1  christos # If not cross compiling, check that we can run a simple program.
   2617  1.1  christos if test "$cross_compiling" != yes; then
   2618  1.1  christos   if { ac_try='./$ac_file'
   2619  1.1  christos   { (case "(($ac_try" in
   2620  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2621  1.1  christos   *) ac_try_echo=$ac_try;;
   2622  1.1  christos esac
   2623  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2624  1.1  christos   (eval "$ac_try") 2>&5
   2625  1.1  christos   ac_status=$?
   2626  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2627  1.1  christos   (exit $ac_status); }; }; then
   2628  1.1  christos     cross_compiling=no
   2629  1.1  christos   else
   2630  1.1  christos     if test "$cross_compiling" = maybe; then
   2631  1.1  christos 	cross_compiling=yes
   2632  1.1  christos     else
   2633  1.1  christos 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2634  1.1  christos If you meant to cross compile, use \`--host'.
   2635  1.1  christos See \`config.log' for more details." >&5
   2636  1.1  christos echo "$as_me: error: cannot run C compiled programs.
   2637  1.1  christos If you meant to cross compile, use \`--host'.
   2638  1.1  christos See \`config.log' for more details." >&2;}
   2639  1.1  christos    { (exit 1); exit 1; }; }
   2640  1.1  christos     fi
   2641  1.1  christos   fi
   2642  1.1  christos fi
   2643  1.1  christos { echo "$as_me:$LINENO: result: yes" >&5
   2644  1.1  christos echo "${ECHO_T}yes" >&6; }
   2645  1.1  christos 
   2646  1.1  christos rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2647  1.1  christos ac_clean_files=$ac_clean_files_save
   2648  1.1  christos # Check that the compiler produces executables we can run.  If not, either
   2649  1.1  christos # the compiler is broken, or we cross compile.
   2650  1.1  christos { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2651  1.1  christos echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2652  1.1  christos { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2653  1.1  christos echo "${ECHO_T}$cross_compiling" >&6; }
   2654  1.1  christos 
   2655  1.1  christos { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2656  1.1  christos echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2657  1.1  christos if { (ac_try="$ac_link"
   2658  1.1  christos case "(($ac_try" in
   2659  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2660  1.1  christos   *) ac_try_echo=$ac_try;;
   2661  1.1  christos esac
   2662  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2663  1.1  christos   (eval "$ac_link") 2>&5
   2664  1.1  christos   ac_status=$?
   2665  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2666  1.1  christos   (exit $ac_status); }; then
   2667  1.1  christos   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2668  1.1  christos # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2669  1.1  christos # work properly (i.e., refer to `conftest.exe'), while it won't with
   2670  1.1  christos # `rm'.
   2671  1.1  christos for ac_file in conftest.exe conftest conftest.*; do
   2672  1.1  christos   test -f "$ac_file" || continue
   2673  1.1  christos   case $ac_file in
   2674  1.1  christos     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2675  1.1  christos     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2676  1.1  christos 	  break;;
   2677  1.1  christos     * ) break;;
   2678  1.1  christos   esac
   2679  1.1  christos done
   2680  1.1  christos else
   2681  1.1  christos   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2682  1.1  christos See \`config.log' for more details." >&5
   2683  1.1  christos echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2684  1.1  christos See \`config.log' for more details." >&2;}
   2685  1.1  christos    { (exit 1); exit 1; }; }
   2686  1.1  christos fi
   2687  1.1  christos 
   2688  1.1  christos rm -f conftest$ac_cv_exeext
   2689  1.1  christos { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2690  1.1  christos echo "${ECHO_T}$ac_cv_exeext" >&6; }
   2691  1.1  christos 
   2692  1.1  christos rm -f conftest.$ac_ext
   2693  1.1  christos EXEEXT=$ac_cv_exeext
   2694  1.1  christos ac_exeext=$EXEEXT
   2695  1.1  christos { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2696  1.1  christos echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   2697  1.1  christos if test "${ac_cv_objext+set}" = set; then
   2698  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2699  1.1  christos else
   2700  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   2701  1.1  christos /* confdefs.h.  */
   2702  1.1  christos _ACEOF
   2703  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2704  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2705  1.1  christos /* end confdefs.h.  */
   2706  1.1  christos 
   2707  1.1  christos int
   2708  1.1  christos main ()
   2709  1.1  christos {
   2710  1.1  christos 
   2711  1.1  christos   ;
   2712  1.1  christos   return 0;
   2713  1.1  christos }
   2714  1.1  christos _ACEOF
   2715  1.1  christos rm -f conftest.o conftest.obj
   2716  1.1  christos if { (ac_try="$ac_compile"
   2717  1.1  christos case "(($ac_try" in
   2718  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2719  1.1  christos   *) ac_try_echo=$ac_try;;
   2720  1.1  christos esac
   2721  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2722  1.1  christos   (eval "$ac_compile") 2>&5
   2723  1.1  christos   ac_status=$?
   2724  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2725  1.1  christos   (exit $ac_status); }; then
   2726  1.1  christos   for ac_file in conftest.o conftest.obj conftest.*; do
   2727  1.1  christos   test -f "$ac_file" || continue;
   2728  1.1  christos   case $ac_file in
   2729  1.1  christos     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   2730  1.1  christos     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2731  1.1  christos        break;;
   2732  1.1  christos   esac
   2733  1.1  christos done
   2734  1.1  christos else
   2735  1.1  christos   echo "$as_me: failed program was:" >&5
   2736  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2737  1.1  christos 
   2738  1.1  christos { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2739  1.1  christos See \`config.log' for more details." >&5
   2740  1.1  christos echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2741  1.1  christos See \`config.log' for more details." >&2;}
   2742  1.1  christos    { (exit 1); exit 1; }; }
   2743  1.1  christos fi
   2744  1.1  christos 
   2745  1.1  christos rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2746  1.1  christos fi
   2747  1.1  christos { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2748  1.1  christos echo "${ECHO_T}$ac_cv_objext" >&6; }
   2749  1.1  christos OBJEXT=$ac_cv_objext
   2750  1.1  christos ac_objext=$OBJEXT
   2751  1.1  christos { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2752  1.1  christos echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   2753  1.1  christos if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2754  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2755  1.1  christos else
   2756  1.1  christos   cat >conftest.$ac_ext <<_ACEOF
   2757  1.1  christos /* confdefs.h.  */
   2758  1.1  christos _ACEOF
   2759  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2760  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2761  1.1  christos /* end confdefs.h.  */
   2762  1.1  christos 
   2763  1.1  christos int
   2764  1.1  christos main ()
   2765  1.1  christos {
   2766  1.1  christos #ifndef __GNUC__
   2767  1.1  christos        choke me
   2768  1.1  christos #endif
   2769  1.1  christos 
   2770  1.1  christos   ;
   2771  1.1  christos   return 0;
   2772  1.1  christos }
   2773  1.1  christos _ACEOF
   2774  1.1  christos rm -f conftest.$ac_objext
   2775  1.1  christos if { (ac_try="$ac_compile"
   2776  1.1  christos case "(($ac_try" in
   2777  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2778  1.1  christos   *) ac_try_echo=$ac_try;;
   2779  1.1  christos esac
   2780  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2781  1.1  christos   (eval "$ac_compile") 2>conftest.er1
   2782  1.1  christos   ac_status=$?
   2783  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   2784  1.1  christos   rm -f conftest.er1
   2785  1.1  christos   cat conftest.err >&5
   2786  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2787  1.1  christos   (exit $ac_status); } &&
   2788  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   2789  1.1  christos   { (case "(($ac_try" in
   2790  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2791  1.1  christos   *) ac_try_echo=$ac_try;;
   2792  1.1  christos esac
   2793  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2794  1.1  christos   (eval "$ac_try") 2>&5
   2795  1.1  christos   ac_status=$?
   2796  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2797  1.1  christos   (exit $ac_status); }; } &&
   2798  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   2799  1.1  christos   { (case "(($ac_try" in
   2800  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2801  1.1  christos   *) ac_try_echo=$ac_try;;
   2802  1.1  christos esac
   2803  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2804  1.1  christos   (eval "$ac_try") 2>&5
   2805  1.1  christos   ac_status=$?
   2806  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2807  1.1  christos   (exit $ac_status); }; }; then
   2808  1.1  christos   ac_compiler_gnu=yes
   2809  1.1  christos else
   2810  1.1  christos   echo "$as_me: failed program was:" >&5
   2811  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2812  1.1  christos 
   2813  1.1  christos 	ac_compiler_gnu=no
   2814  1.1  christos fi
   2815  1.1  christos 
   2816  1.1  christos rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2817  1.1  christos ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2818  1.1  christos 
   2819  1.1  christos fi
   2820  1.1  christos { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2821  1.1  christos echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   2822  1.1  christos GCC=`test $ac_compiler_gnu = yes && echo yes`
   2823  1.1  christos ac_test_CFLAGS=${CFLAGS+set}
   2824  1.1  christos ac_save_CFLAGS=$CFLAGS
   2825  1.1  christos { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2826  1.1  christos echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   2827  1.1  christos if test "${ac_cv_prog_cc_g+set}" = set; then
   2828  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   2829  1.1  christos else
   2830  1.1  christos   ac_save_c_werror_flag=$ac_c_werror_flag
   2831  1.1  christos    ac_c_werror_flag=yes
   2832  1.1  christos    ac_cv_prog_cc_g=no
   2833  1.1  christos    CFLAGS="-g"
   2834  1.1  christos    cat >conftest.$ac_ext <<_ACEOF
   2835  1.1  christos /* confdefs.h.  */
   2836  1.1  christos _ACEOF
   2837  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2838  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2839  1.1  christos /* end confdefs.h.  */
   2840  1.1  christos 
   2841  1.1  christos int
   2842  1.1  christos main ()
   2843  1.1  christos {
   2844  1.1  christos 
   2845  1.1  christos   ;
   2846  1.1  christos   return 0;
   2847  1.1  christos }
   2848  1.1  christos _ACEOF
   2849  1.1  christos rm -f conftest.$ac_objext
   2850  1.1  christos if { (ac_try="$ac_compile"
   2851  1.1  christos case "(($ac_try" in
   2852  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2853  1.1  christos   *) ac_try_echo=$ac_try;;
   2854  1.1  christos esac
   2855  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2856  1.1  christos   (eval "$ac_compile") 2>conftest.er1
   2857  1.1  christos   ac_status=$?
   2858  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   2859  1.1  christos   rm -f conftest.er1
   2860  1.1  christos   cat conftest.err >&5
   2861  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2862  1.1  christos   (exit $ac_status); } &&
   2863  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   2864  1.1  christos   { (case "(($ac_try" in
   2865  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2866  1.1  christos   *) ac_try_echo=$ac_try;;
   2867  1.1  christos esac
   2868  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2869  1.1  christos   (eval "$ac_try") 2>&5
   2870  1.1  christos   ac_status=$?
   2871  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2872  1.1  christos   (exit $ac_status); }; } &&
   2873  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   2874  1.1  christos   { (case "(($ac_try" in
   2875  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2876  1.1  christos   *) ac_try_echo=$ac_try;;
   2877  1.1  christos esac
   2878  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2879  1.1  christos   (eval "$ac_try") 2>&5
   2880  1.1  christos   ac_status=$?
   2881  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2882  1.1  christos   (exit $ac_status); }; }; then
   2883  1.1  christos   ac_cv_prog_cc_g=yes
   2884  1.1  christos else
   2885  1.1  christos   echo "$as_me: failed program was:" >&5
   2886  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2887  1.1  christos 
   2888  1.1  christos 	CFLAGS=""
   2889  1.1  christos       cat >conftest.$ac_ext <<_ACEOF
   2890  1.1  christos /* confdefs.h.  */
   2891  1.1  christos _ACEOF
   2892  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2893  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2894  1.1  christos /* end confdefs.h.  */
   2895  1.1  christos 
   2896  1.1  christos int
   2897  1.1  christos main ()
   2898  1.1  christos {
   2899  1.1  christos 
   2900  1.1  christos   ;
   2901  1.1  christos   return 0;
   2902  1.1  christos }
   2903  1.1  christos _ACEOF
   2904  1.1  christos rm -f conftest.$ac_objext
   2905  1.1  christos if { (ac_try="$ac_compile"
   2906  1.1  christos case "(($ac_try" in
   2907  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2908  1.1  christos   *) ac_try_echo=$ac_try;;
   2909  1.1  christos esac
   2910  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2911  1.1  christos   (eval "$ac_compile") 2>conftest.er1
   2912  1.1  christos   ac_status=$?
   2913  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   2914  1.1  christos   rm -f conftest.er1
   2915  1.1  christos   cat conftest.err >&5
   2916  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2917  1.1  christos   (exit $ac_status); } &&
   2918  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   2919  1.1  christos   { (case "(($ac_try" in
   2920  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2921  1.1  christos   *) ac_try_echo=$ac_try;;
   2922  1.1  christos esac
   2923  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2924  1.1  christos   (eval "$ac_try") 2>&5
   2925  1.1  christos   ac_status=$?
   2926  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2927  1.1  christos   (exit $ac_status); }; } &&
   2928  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   2929  1.1  christos   { (case "(($ac_try" in
   2930  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2931  1.1  christos   *) ac_try_echo=$ac_try;;
   2932  1.1  christos esac
   2933  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2934  1.1  christos   (eval "$ac_try") 2>&5
   2935  1.1  christos   ac_status=$?
   2936  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2937  1.1  christos   (exit $ac_status); }; }; then
   2938  1.1  christos   :
   2939  1.1  christos else
   2940  1.1  christos   echo "$as_me: failed program was:" >&5
   2941  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2942  1.1  christos 
   2943  1.1  christos 	ac_c_werror_flag=$ac_save_c_werror_flag
   2944  1.1  christos 	 CFLAGS="-g"
   2945  1.1  christos 	 cat >conftest.$ac_ext <<_ACEOF
   2946  1.1  christos /* confdefs.h.  */
   2947  1.1  christos _ACEOF
   2948  1.1  christos cat confdefs.h >>conftest.$ac_ext
   2949  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   2950  1.1  christos /* end confdefs.h.  */
   2951  1.1  christos 
   2952  1.1  christos int
   2953  1.1  christos main ()
   2954  1.1  christos {
   2955  1.1  christos 
   2956  1.1  christos   ;
   2957  1.1  christos   return 0;
   2958  1.1  christos }
   2959  1.1  christos _ACEOF
   2960  1.1  christos rm -f conftest.$ac_objext
   2961  1.1  christos if { (ac_try="$ac_compile"
   2962  1.1  christos case "(($ac_try" in
   2963  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2964  1.1  christos   *) ac_try_echo=$ac_try;;
   2965  1.1  christos esac
   2966  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2967  1.1  christos   (eval "$ac_compile") 2>conftest.er1
   2968  1.1  christos   ac_status=$?
   2969  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   2970  1.1  christos   rm -f conftest.er1
   2971  1.1  christos   cat conftest.err >&5
   2972  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2973  1.1  christos   (exit $ac_status); } &&
   2974  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   2975  1.1  christos   { (case "(($ac_try" in
   2976  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2977  1.1  christos   *) ac_try_echo=$ac_try;;
   2978  1.1  christos esac
   2979  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2980  1.1  christos   (eval "$ac_try") 2>&5
   2981  1.1  christos   ac_status=$?
   2982  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2983  1.1  christos   (exit $ac_status); }; } &&
   2984  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   2985  1.1  christos   { (case "(($ac_try" in
   2986  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2987  1.1  christos   *) ac_try_echo=$ac_try;;
   2988  1.1  christos esac
   2989  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2990  1.1  christos   (eval "$ac_try") 2>&5
   2991  1.1  christos   ac_status=$?
   2992  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2993  1.1  christos   (exit $ac_status); }; }; then
   2994  1.1  christos   ac_cv_prog_cc_g=yes
   2995  1.1  christos else
   2996  1.1  christos   echo "$as_me: failed program was:" >&5
   2997  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   2998  1.1  christos 
   2999  1.1  christos 
   3000  1.1  christos fi
   3001  1.1  christos 
   3002  1.1  christos rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3003  1.1  christos fi
   3004  1.1  christos 
   3005  1.1  christos rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3006  1.1  christos fi
   3007  1.1  christos 
   3008  1.1  christos rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3009  1.1  christos    ac_c_werror_flag=$ac_save_c_werror_flag
   3010  1.1  christos fi
   3011  1.1  christos { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3012  1.1  christos echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3013  1.1  christos if test "$ac_test_CFLAGS" = set; then
   3014  1.1  christos   CFLAGS=$ac_save_CFLAGS
   3015  1.1  christos elif test $ac_cv_prog_cc_g = yes; then
   3016  1.1  christos   if test "$GCC" = yes; then
   3017  1.1  christos     CFLAGS="-g -O2"
   3018  1.1  christos   else
   3019  1.1  christos     CFLAGS="-g"
   3020  1.1  christos   fi
   3021  1.1  christos else
   3022  1.1  christos   if test "$GCC" = yes; then
   3023  1.1  christos     CFLAGS="-O2"
   3024  1.1  christos   else
   3025  1.1  christos     CFLAGS=
   3026  1.1  christos   fi
   3027  1.1  christos fi
   3028  1.1  christos { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3029  1.1  christos echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3030  1.1  christos if test "${ac_cv_prog_cc_c89+set}" = set; then
   3031  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3032  1.1  christos else
   3033  1.1  christos   ac_cv_prog_cc_c89=no
   3034  1.1  christos ac_save_CC=$CC
   3035  1.1  christos cat >conftest.$ac_ext <<_ACEOF
   3036  1.1  christos /* confdefs.h.  */
   3037  1.1  christos _ACEOF
   3038  1.1  christos cat confdefs.h >>conftest.$ac_ext
   3039  1.1  christos cat >>conftest.$ac_ext <<_ACEOF
   3040  1.1  christos /* end confdefs.h.  */
   3041  1.1  christos #include <stdarg.h>
   3042  1.1  christos #include <stdio.h>
   3043  1.1  christos #include <sys/types.h>
   3044  1.1  christos #include <sys/stat.h>
   3045  1.1  christos /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3046  1.1  christos struct buf { int x; };
   3047  1.1  christos FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3048  1.1  christos static char *e (p, i)
   3049  1.1  christos      char **p;
   3050  1.1  christos      int i;
   3051  1.1  christos {
   3052  1.1  christos   return p[i];
   3053  1.1  christos }
   3054  1.1  christos static char *f (char * (*g) (char **, int), char **p, ...)
   3055  1.1  christos {
   3056  1.1  christos   char *s;
   3057  1.1  christos   va_list v;
   3058  1.1  christos   va_start (v,p);
   3059  1.1  christos   s = g (p, va_arg (v,int));
   3060  1.1  christos   va_end (v);
   3061  1.1  christos   return s;
   3062  1.1  christos }
   3063  1.1  christos 
   3064  1.1  christos /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3065  1.1  christos    function prototypes and stuff, but not '\xHH' hex character constants.
   3066  1.1  christos    These don't provoke an error unfortunately, instead are silently treated
   3067  1.1  christos    as 'x'.  The following induces an error, until -std is added to get
   3068  1.1  christos    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3069  1.1  christos    array size at least.  It's necessary to write '\x00'==0 to get something
   3070  1.1  christos    that's true only with -std.  */
   3071  1.1  christos int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3072  1.1  christos 
   3073  1.1  christos /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3074  1.1  christos    inside strings and character constants.  */
   3075  1.1  christos #define FOO(x) 'x'
   3076  1.1  christos int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3077  1.1  christos 
   3078  1.1  christos int test (int i, double x);
   3079  1.1  christos struct s1 {int (*f) (int a);};
   3080  1.1  christos struct s2 {int (*f) (double a);};
   3081  1.1  christos int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3082  1.1  christos int argc;
   3083  1.1  christos char **argv;
   3084  1.1  christos int
   3085  1.1  christos main ()
   3086  1.1  christos {
   3087  1.1  christos return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3088  1.1  christos   ;
   3089  1.1  christos   return 0;
   3090  1.1  christos }
   3091  1.1  christos _ACEOF
   3092  1.1  christos for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3093  1.1  christos 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3094  1.1  christos do
   3095  1.1  christos   CC="$ac_save_CC $ac_arg"
   3096  1.1  christos   rm -f conftest.$ac_objext
   3097  1.1  christos if { (ac_try="$ac_compile"
   3098  1.1  christos case "(($ac_try" in
   3099  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3100  1.1  christos   *) ac_try_echo=$ac_try;;
   3101  1.1  christos esac
   3102  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3103  1.1  christos   (eval "$ac_compile") 2>conftest.er1
   3104  1.1  christos   ac_status=$?
   3105  1.1  christos   grep -v '^ *+' conftest.er1 >conftest.err
   3106  1.1  christos   rm -f conftest.er1
   3107  1.1  christos   cat conftest.err >&5
   3108  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3109  1.1  christos   (exit $ac_status); } &&
   3110  1.1  christos 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   3111  1.1  christos   { (case "(($ac_try" in
   3112  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3113  1.1  christos   *) ac_try_echo=$ac_try;;
   3114  1.1  christos esac
   3115  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3116  1.1  christos   (eval "$ac_try") 2>&5
   3117  1.1  christos   ac_status=$?
   3118  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3119  1.1  christos   (exit $ac_status); }; } &&
   3120  1.1  christos 	 { ac_try='test -s conftest.$ac_objext'
   3121  1.1  christos   { (case "(($ac_try" in
   3122  1.1  christos   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3123  1.1  christos   *) ac_try_echo=$ac_try;;
   3124  1.1  christos esac
   3125  1.1  christos eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3126  1.1  christos   (eval "$ac_try") 2>&5
   3127  1.1  christos   ac_status=$?
   3128  1.1  christos   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3129  1.1  christos   (exit $ac_status); }; }; then
   3130  1.1  christos   ac_cv_prog_cc_c89=$ac_arg
   3131  1.1  christos else
   3132  1.1  christos   echo "$as_me: failed program was:" >&5
   3133  1.1  christos sed 's/^/| /' conftest.$ac_ext >&5
   3134  1.1  christos 
   3135  1.1  christos 
   3136  1.1  christos fi
   3137  1.1  christos 
   3138  1.1  christos rm -f core conftest.err conftest.$ac_objext
   3139  1.1  christos   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3140  1.1  christos done
   3141  1.1  christos rm -f conftest.$ac_ext
   3142  1.1  christos CC=$ac_save_CC
   3143  1.1  christos 
   3144  1.1  christos fi
   3145  1.1  christos # AC_CACHE_VAL
   3146  1.1  christos case "x$ac_cv_prog_cc_c89" in
   3147  1.1  christos   x)
   3148  1.1  christos     { echo "$as_me:$LINENO: result: none needed" >&5
   3149  1.1  christos echo "${ECHO_T}none needed" >&6; } ;;
   3150  1.1  christos   xno)
   3151  1.1  christos     { echo "$as_me:$LINENO: result: unsupported" >&5
   3152  1.1  christos echo "${ECHO_T}unsupported" >&6; } ;;
   3153  1.1  christos   *)
   3154  1.1  christos     CC="$CC $ac_cv_prog_cc_c89"
   3155  1.1  christos     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3156  1.1  christos echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3157  1.1  christos esac
   3158  1.1  christos 
   3159  1.1  christos 
   3160  1.1  christos ac_ext=c
   3161  1.1  christos ac_cpp='$CPP $CPPFLAGS'
   3162  1.1  christos ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3163  1.1  christos ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3164  1.1  christos ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3165  1.1  christos DEPDIR="${am__leading_dot}deps"
   3166  1.1  christos 
   3167  1.1  christos ac_config_commands="$ac_config_commands depfiles"
   3168  1.1  christos 
   3169  1.1  christos 
   3170  1.1  christos am_make=${MAKE-make}
   3171  1.1  christos cat > confinc << 'END'
   3172  1.1  christos am__doit:
   3173  1.1  christos 	@echo done
   3174  1.1  christos .PHONY: am__doit
   3175  1.1  christos END
   3176  1.1  christos # If we don't find an include directive, just comment out the code.
   3177  1.1  christos { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3178  1.1  christos echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3179  1.1  christos am__include="#"
   3180  1.1  christos am__quote=
   3181  1.1  christos _am_result=none
   3182  1.1  christos # First try GNU make style include.
   3183  1.1  christos echo "include confinc" > confmf
   3184  1.1  christos # We grep out `Entering directory' and `Leaving directory'
   3185  1.1  christos # messages which can occur if `w' ends up in MAKEFLAGS.
   3186  1.1  christos # In particular we don't look at `^make:' because GNU make might
   3187  1.1  christos # be invoked under some other name (usually "gmake"), in which
   3188  1.1  christos # case it prints its new name instead of `make'.
   3189  1.1  christos if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3190  1.1  christos    am__include=include
   3191  1.1  christos    am__quote=
   3192  1.1  christos    _am_result=GNU
   3193  1.1  christos fi
   3194  1.1  christos # Now try BSD make style include.
   3195  1.1  christos if test "$am__include" = "#"; then
   3196  1.1  christos    echo '.include "confinc"' > confmf
   3197  1.1  christos    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3198  1.1  christos       am__include=.include
   3199  1.1  christos       am__quote="\""
   3200  1.1  christos       _am_result=BSD
   3201  1.1  christos    fi
   3202  1.1  christos fi
   3203  1.1  christos 
   3204  1.1  christos 
   3205  1.1  christos { echo "$as_me:$LINENO: result: $_am_result" >&5
   3206  1.1  christos echo "${ECHO_T}$_am_result" >&6; }
   3207  1.1  christos rm -f confinc confmf
   3208  1.1  christos 
   3209  1.1  christos # Check whether --enable-dependency-tracking was given.
   3210  1.1  christos if test "${enable_dependency_tracking+set}" = set; then
   3211  1.1  christos   enableval=$enable_dependency_tracking;
   3212  1.1  christos fi
   3213  1.1  christos 
   3214  1.1  christos if test "x$enable_dependency_tracking" != xno; then
   3215  1.1  christos   am_depcomp="$ac_aux_dir/depcomp"
   3216  1.1  christos   AMDEPBACKSLASH='\'
   3217  1.1  christos fi
   3218  1.1  christos  if test "x$enable_dependency_tracking" != xno; then
   3219  1.1  christos   AMDEP_TRUE=
   3220  1.1  christos   AMDEP_FALSE='#'
   3221  1.1  christos else
   3222  1.1  christos   AMDEP_TRUE='#'
   3223  1.1  christos   AMDEP_FALSE=
   3224  1.1  christos fi
   3225  1.1  christos 
   3226  1.1  christos 
   3227  1.1  christos 
   3228  1.1  christos depcc="$CC"   am_compiler_list=
   3229  1.1  christos 
   3230  1.1  christos { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3231  1.1  christos echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3232  1.1  christos if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3233  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3234  1.1  christos else
   3235  1.1  christos   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3236  1.1  christos   # We make a subdir and do the tests there.  Otherwise we can end up
   3237  1.1  christos   # making bogus files that we don't know about and never remove.  For
   3238  1.1  christos   # instance it was reported that on HP-UX the gcc test will end up
   3239  1.1  christos   # making a dummy file named `D' -- because `-MD' means `put the output
   3240  1.1  christos   # in D'.
   3241  1.1  christos   mkdir conftest.dir
   3242  1.1  christos   # Copy depcomp to subdir because otherwise we won't find it if we're
   3243  1.1  christos   # using a relative directory.
   3244  1.1  christos   cp "$am_depcomp" conftest.dir
   3245  1.1  christos   cd conftest.dir
   3246  1.1  christos   # We will build objects and dependencies in a subdirectory because
   3247  1.1  christos   # it helps to detect inapplicable dependency modes.  For instance
   3248  1.1  christos   # both Tru64's cc and ICC support -MD to output dependencies as a
   3249  1.1  christos   # side effect of compilation, but ICC will put the dependencies in
   3250  1.1  christos   # the current directory while Tru64 will put them in the object
   3251  1.1  christos   # directory.
   3252  1.1  christos   mkdir sub
   3253  1.1  christos 
   3254  1.1  christos   am_cv_CC_dependencies_compiler_type=none
   3255  1.1  christos   if test "$am_compiler_list" = ""; then
   3256  1.1  christos      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3257  1.1  christos   fi
   3258  1.1  christos   for depmode in $am_compiler_list; do
   3259  1.1  christos     # Setup a source with many dependencies, because some compilers
   3260  1.1  christos     # like to wrap large dependency lists on column 80 (with \), and
   3261  1.1  christos     # we should not choose a depcomp mode which is confused by this.
   3262  1.1  christos     #
   3263  1.1  christos     # We need to recreate these files for each test, as the compiler may
   3264  1.1  christos     # overwrite some of them when testing with obscure command lines.
   3265  1.1  christos     # This happens at least with the AIX C compiler.
   3266  1.1  christos     : > sub/conftest.c
   3267  1.1  christos     for i in 1 2 3 4 5 6; do
   3268  1.1  christos       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3269  1.1  christos       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3270  1.1  christos       # Solaris 8's {/usr,}/bin/sh.
   3271  1.1  christos       touch sub/conftst$i.h
   3272  1.1  christos     done
   3273  1.1  christos     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3274  1.1  christos 
   3275  1.1  christos     case $depmode in
   3276  1.1  christos     nosideeffect)
   3277  1.1  christos       # after this tag, mechanisms are not by side-effect, so they'll
   3278  1.1  christos       # only be used when explicitly requested
   3279  1.1  christos       if test "x$enable_dependency_tracking" = xyes; then
   3280  1.1  christos 	continue
   3281  1.1  christos       else
   3282  1.1  christos 	break
   3283  1.1  christos       fi
   3284  1.1  christos       ;;
   3285  1.1  christos     none) break ;;
   3286  1.1  christos     esac
   3287  1.1  christos     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3288  1.1  christos     # mode.  It turns out that the SunPro C++ compiler does not properly
   3289  1.1  christos     # handle `-M -o', and we need to detect this.
   3290  1.1  christos     if depmode=$depmode \
   3291  1.1  christos        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3292  1.1  christos        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3293  1.1  christos        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3294  1.1  christos          >/dev/null 2>conftest.err &&
   3295  1.1  christos        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3296  1.1  christos        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3297  1.1  christos        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3298  1.1  christos        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3299  1.1  christos       # icc doesn't choke on unknown options, it will just issue warnings
   3300  1.1  christos       # or remarks (even with -Werror).  So we grep stderr for any message
   3301  1.1  christos       # that says an option was ignored or not supported.
   3302  1.1  christos       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3303  1.1  christos       #   icc: Command line warning: ignoring option '-M'; no argument required
   3304  1.1  christos       # The diagnosis changed in icc 8.0:
   3305  1.1  christos       #   icc: Command line remark: option '-MP' not supported
   3306  1.1  christos       if (grep 'ignoring option' conftest.err ||
   3307  1.1  christos           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3308  1.1  christos         am_cv_CC_dependencies_compiler_type=$depmode
   3309  1.1  christos         break
   3310  1.1  christos       fi
   3311  1.1  christos     fi
   3312  1.1  christos   done
   3313  1.1  christos 
   3314  1.1  christos   cd ..
   3315  1.1  christos   rm -rf conftest.dir
   3316  1.1  christos else
   3317  1.1  christos   am_cv_CC_dependencies_compiler_type=none
   3318  1.1  christos fi
   3319  1.1  christos 
   3320  1.1  christos fi
   3321  1.1  christos { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3322  1.1  christos echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3323  1.1  christos CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3324  1.1  christos 
   3325  1.1  christos  if
   3326  1.1  christos   test "x$enable_dependency_tracking" != xno \
   3327  1.1  christos   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3328  1.1  christos   am__fastdepCC_TRUE=
   3329  1.1  christos   am__fastdepCC_FALSE='#'
   3330  1.1  christos else
   3331  1.1  christos   am__fastdepCC_TRUE='#'
   3332  1.1  christos   am__fastdepCC_FALSE=
   3333  1.1  christos fi
   3334  1.1  christos 
   3335  1.1  christos 
   3336  1.1  christos 
   3337  1.1  christos       if test "X$prefix" = "XNONE"; then
   3338  1.1  christos     acl_final_prefix="$ac_default_prefix"
   3339  1.1  christos   else
   3340  1.1  christos     acl_final_prefix="$prefix"
   3341  1.1  christos   fi
   3342  1.1  christos   if test "X$exec_prefix" = "XNONE"; then
   3343  1.1  christos     acl_final_exec_prefix='${prefix}'
   3344  1.1  christos   else
   3345  1.1  christos     acl_final_exec_prefix="$exec_prefix"
   3346  1.1  christos   fi
   3347  1.1  christos   acl_save_prefix="$prefix"
   3348  1.1  christos   prefix="$acl_final_prefix"
   3349  1.1  christos   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   3350  1.1  christos   prefix="$acl_save_prefix"
   3351  1.1  christos 
   3352  1.1  christos # Make sure we can run config.sub.
   3353  1.1  christos $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3354  1.1  christos   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3355  1.1  christos echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3356  1.1  christos    { (exit 1); exit 1; }; }
   3357  1.1  christos 
   3358  1.1  christos { echo "$as_me:$LINENO: checking build system type" >&5
   3359  1.1  christos echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3360  1.1  christos if test "${ac_cv_build+set}" = set; then
   3361  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3362  1.1  christos else
   3363  1.1  christos   ac_build_alias=$build_alias
   3364  1.1  christos test "x$ac_build_alias" = x &&
   3365  1.1  christos   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3366  1.1  christos test "x$ac_build_alias" = x &&
   3367  1.1  christos   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3368  1.1  christos echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3369  1.1  christos    { (exit 1); exit 1; }; }
   3370  1.1  christos ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3371  1.1  christos   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3372  1.1  christos echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3373  1.1  christos    { (exit 1); exit 1; }; }
   3374  1.1  christos 
   3375  1.1  christos fi
   3376  1.1  christos { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3377  1.1  christos echo "${ECHO_T}$ac_cv_build" >&6; }
   3378  1.1  christos case $ac_cv_build in
   3379  1.1  christos *-*-*) ;;
   3380  1.1  christos *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3381  1.1  christos echo "$as_me: error: invalid value of canonical build" >&2;}
   3382  1.1  christos    { (exit 1); exit 1; }; };;
   3383  1.1  christos esac
   3384  1.1  christos build=$ac_cv_build
   3385  1.1  christos ac_save_IFS=$IFS; IFS='-'
   3386  1.1  christos set x $ac_cv_build
   3387  1.1  christos shift
   3388  1.1  christos build_cpu=$1
   3389  1.1  christos build_vendor=$2
   3390  1.1  christos shift; shift
   3391  1.1  christos # Remember, the first character of IFS is used to create $*,
   3392  1.1  christos # except with old shells:
   3393  1.1  christos build_os=$*
   3394  1.1  christos IFS=$ac_save_IFS
   3395  1.1  christos case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3396  1.1  christos 
   3397  1.1  christos 
   3398  1.1  christos { echo "$as_me:$LINENO: checking host system type" >&5
   3399  1.1  christos echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3400  1.1  christos if test "${ac_cv_host+set}" = set; then
   3401  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3402  1.1  christos else
   3403  1.1  christos   if test "x$host_alias" = x; then
   3404  1.1  christos   ac_cv_host=$ac_cv_build
   3405  1.1  christos else
   3406  1.1  christos   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3407  1.1  christos     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3408  1.1  christos echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3409  1.1  christos    { (exit 1); exit 1; }; }
   3410  1.1  christos fi
   3411  1.1  christos 
   3412  1.1  christos fi
   3413  1.1  christos { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3414  1.1  christos echo "${ECHO_T}$ac_cv_host" >&6; }
   3415  1.1  christos case $ac_cv_host in
   3416  1.1  christos *-*-*) ;;
   3417  1.1  christos *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3418  1.1  christos echo "$as_me: error: invalid value of canonical host" >&2;}
   3419  1.1  christos    { (exit 1); exit 1; }; };;
   3420  1.1  christos esac
   3421  1.1  christos host=$ac_cv_host
   3422  1.1  christos ac_save_IFS=$IFS; IFS='-'
   3423  1.1  christos set x $ac_cv_host
   3424  1.1  christos shift
   3425  1.1  christos host_cpu=$1
   3426  1.1  christos host_vendor=$2
   3427  1.1  christos shift; shift
   3428  1.1  christos # Remember, the first character of IFS is used to create $*,
   3429  1.1  christos # except with old shells:
   3430  1.1  christos host_os=$*
   3431  1.1  christos IFS=$ac_save_IFS
   3432  1.1  christos case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3433  1.1  christos 
   3434  1.1  christos 
   3435  1.1  christos 
   3436  1.1  christos # Check whether --with-gnu-ld was given.
   3437  1.1  christos if test "${with_gnu_ld+set}" = set; then
   3438  1.1  christos   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3439  1.1  christos else
   3440  1.1  christos   with_gnu_ld=no
   3441  1.1  christos fi
   3442  1.1  christos 
   3443  1.1  christos # Prepare PATH_SEPARATOR.
   3444  1.1  christos # The user is always right.
   3445  1.1  christos if test "${PATH_SEPARATOR+set}" != set; then
   3446  1.1  christos   echo "#! /bin/sh" >conf$$.sh
   3447  1.1  christos   echo  "exit 0"   >>conf$$.sh
   3448  1.1  christos   chmod +x conf$$.sh
   3449  1.1  christos   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   3450  1.1  christos     PATH_SEPARATOR=';'
   3451  1.1  christos   else
   3452  1.1  christos     PATH_SEPARATOR=:
   3453  1.1  christos   fi
   3454  1.1  christos   rm -f conf$$.sh
   3455  1.1  christos fi
   3456  1.1  christos ac_prog=ld
   3457  1.1  christos if test "$GCC" = yes; then
   3458  1.1  christos   # Check if gcc -print-prog-name=ld gives a path.
   3459  1.1  christos   { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
   3460  1.1  christos echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
   3461  1.1  christos   case $host in
   3462  1.1  christos   *-*-mingw*)
   3463  1.1  christos     # gcc leaves a trailing carriage return which upsets mingw
   3464  1.1  christos     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3465  1.1  christos   *)
   3466  1.1  christos     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3467  1.1  christos   esac
   3468  1.1  christos   case $ac_prog in
   3469  1.1  christos     # Accept absolute paths.
   3470  1.1  christos     [\\/]* | [A-Za-z]:[\\/]*)
   3471  1.1  christos       re_direlt='/[^/][^/]*/\.\./'
   3472  1.1  christos       # Canonicalize the path of ld
   3473  1.1  christos       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   3474  1.1  christos       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3475  1.1  christos 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   3476  1.1  christos       done
   3477  1.1  christos       test -z "$LD" && LD="$ac_prog"
   3478  1.1  christos       ;;
   3479  1.1  christos   "")
   3480  1.1  christos     # If it fails, then pretend we aren't using GCC.
   3481  1.1  christos     ac_prog=ld
   3482  1.1  christos     ;;
   3483  1.1  christos   *)
   3484  1.1  christos     # If it is relative, then search for the first ld in PATH.
   3485  1.1  christos     with_gnu_ld=unknown
   3486  1.1  christos     ;;
   3487  1.1  christos   esac
   3488  1.1  christos elif test "$with_gnu_ld" = yes; then
   3489  1.1  christos   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   3490  1.1  christos echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   3491  1.1  christos else
   3492  1.1  christos   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3493  1.1  christos echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   3494  1.1  christos fi
   3495  1.1  christos if test "${acl_cv_path_LD+set}" = set; then
   3496  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3497  1.1  christos else
   3498  1.1  christos   if test -z "$LD"; then
   3499  1.1  christos   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   3500  1.1  christos   for ac_dir in $PATH; do
   3501  1.1  christos     test -z "$ac_dir" && ac_dir=.
   3502  1.1  christos     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   3503  1.1  christos       acl_cv_path_LD="$ac_dir/$ac_prog"
   3504  1.1  christos       # Check to see if the program is GNU ld.  I'd rather use --version,
   3505  1.1  christos       # but apparently some GNU ld's only accept -v.
   3506  1.1  christos       # Break only if it was the GNU/non-GNU ld that we prefer.
   3507  1.1  christos       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
   3508  1.1  christos       *GNU* | *'with BFD'*)
   3509  1.1  christos 	test "$with_gnu_ld" != no && break ;;
   3510  1.1  christos       *)
   3511  1.1  christos 	test "$with_gnu_ld" != yes && break ;;
   3512  1.1  christos       esac
   3513  1.1  christos     fi
   3514  1.1  christos   done
   3515  1.1  christos   IFS="$ac_save_ifs"
   3516  1.1  christos else
   3517  1.1  christos   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   3518  1.1  christos fi
   3519  1.1  christos fi
   3520  1.1  christos 
   3521  1.1  christos LD="$acl_cv_path_LD"
   3522  1.1  christos if test -n "$LD"; then
   3523  1.1  christos   { echo "$as_me:$LINENO: result: $LD" >&5
   3524  1.1  christos echo "${ECHO_T}$LD" >&6; }
   3525  1.1  christos else
   3526  1.1  christos   { echo "$as_me:$LINENO: result: no" >&5
   3527  1.1  christos echo "${ECHO_T}no" >&6; }
   3528  1.1  christos fi
   3529  1.1  christos test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   3530  1.1  christos echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   3531  1.1  christos    { (exit 1); exit 1; }; }
   3532  1.1  christos { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   3533  1.1  christos echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   3534  1.1  christos if test "${acl_cv_prog_gnu_ld+set}" = set; then
   3535  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3536  1.1  christos else
   3537  1.1  christos   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   3538  1.1  christos case `$LD -v 2>&1 </dev/null` in
   3539  1.1  christos *GNU* | *'with BFD'*)
   3540  1.1  christos   acl_cv_prog_gnu_ld=yes ;;
   3541  1.1  christos *)
   3542  1.1  christos   acl_cv_prog_gnu_ld=no ;;
   3543  1.1  christos esac
   3544  1.1  christos fi
   3545  1.1  christos { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
   3546  1.1  christos echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
   3547  1.1  christos with_gnu_ld=$acl_cv_prog_gnu_ld
   3548  1.1  christos 
   3549  1.1  christos 
   3550  1.1  christos 
   3551  1.1  christos 
   3552  1.1  christos                                                 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
   3553  1.1  christos echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
   3554  1.1  christos if test "${acl_cv_rpath+set}" = set; then
   3555  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3556  1.1  christos else
   3557  1.1  christos 
   3558  1.1  christos     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   3559  1.1  christos     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   3560  1.1  christos     . ./conftest.sh
   3561  1.1  christos     rm -f ./conftest.sh
   3562  1.1  christos     acl_cv_rpath=done
   3563  1.1  christos 
   3564  1.1  christos fi
   3565  1.1  christos { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
   3566  1.1  christos echo "${ECHO_T}$acl_cv_rpath" >&6; }
   3567  1.1  christos   wl="$acl_cv_wl"
   3568  1.1  christos   libext="$acl_cv_libext"
   3569  1.1  christos   shlibext="$acl_cv_shlibext"
   3570  1.1  christos   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   3571  1.1  christos   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   3572  1.1  christos   hardcode_direct="$acl_cv_hardcode_direct"
   3573  1.1  christos   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   3574  1.1  christos     # Check whether --enable-rpath was given.
   3575  1.1  christos if test "${enable_rpath+set}" = set; then
   3576  1.1  christos   enableval=$enable_rpath; :
   3577  1.1  christos else
   3578  1.1  christos   enable_rpath=yes
   3579  1.1  christos fi
   3580  1.1  christos 
   3581  1.1  christos 
   3582  1.1  christos 
   3583  1.1  christos                   acl_libdirstem=lib
   3584  1.1  christos   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   3585  1.1  christos   if test -n "$searchpath"; then
   3586  1.1  christos     acl_save_IFS="${IFS= 	}"; IFS=":"
   3587  1.1  christos     for searchdir in $searchpath; do
   3588  1.1  christos       if test -d "$searchdir"; then
   3589  1.1  christos         case "$searchdir" in
   3590  1.1  christos           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   3591  1.1  christos           *) searchdir=`cd "$searchdir" && pwd`
   3592  1.1  christos              case "$searchdir" in
   3593  1.1  christos                */lib64 ) acl_libdirstem=lib64 ;;
   3594  1.1  christos              esac ;;
   3595  1.1  christos         esac
   3596  1.1  christos       fi
   3597  1.1  christos     done
   3598  1.1  christos     IFS="$acl_save_IFS"
   3599  1.1  christos   fi
   3600  1.1  christos 
   3601  1.1  christos 
   3602  1.1  christos 
   3603  1.1  christos 
   3604  1.1  christos 
   3605  1.1  christos 
   3606  1.1  christos   { echo "$as_me:$LINENO: checking how to link with librpathx" >&5
   3607  1.1  christos echo $ECHO_N "checking how to link with librpathx... $ECHO_C" >&6; }
   3608  1.1  christos if test "${ac_cv_librpathx_libs+set}" = set; then
   3609  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   3610  1.1  christos else
   3611  1.1  christos 
   3612  1.1  christos 
   3613  1.1  christos 
   3614  1.1  christos 
   3615  1.1  christos     use_additional=yes
   3616  1.1  christos 
   3617  1.1  christos   acl_save_prefix="$prefix"
   3618  1.1  christos   prefix="$acl_final_prefix"
   3619  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3620  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3621  1.1  christos 
   3622  1.1  christos     eval additional_includedir=\"$includedir\"
   3623  1.1  christos     eval additional_libdir=\"$libdir\"
   3624  1.1  christos 
   3625  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3626  1.1  christos   prefix="$acl_save_prefix"
   3627  1.1  christos 
   3628  1.1  christos 
   3629  1.1  christos # Check whether --with-librpathx-prefix was given.
   3630  1.1  christos if test "${with_librpathx_prefix+set}" = set; then
   3631  1.1  christos   withval=$with_librpathx_prefix;
   3632  1.1  christos     if test "X$withval" = "Xno"; then
   3633  1.1  christos       use_additional=no
   3634  1.1  christos     else
   3635  1.1  christos       if test "X$withval" = "X"; then
   3636  1.1  christos 
   3637  1.1  christos   acl_save_prefix="$prefix"
   3638  1.1  christos   prefix="$acl_final_prefix"
   3639  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3640  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3641  1.1  christos 
   3642  1.1  christos           eval additional_includedir=\"$includedir\"
   3643  1.1  christos           eval additional_libdir=\"$libdir\"
   3644  1.1  christos 
   3645  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3646  1.1  christos   prefix="$acl_save_prefix"
   3647  1.1  christos 
   3648  1.1  christos       else
   3649  1.1  christos         additional_includedir="$withval/include"
   3650  1.1  christos         additional_libdir="$withval/$acl_libdirstem"
   3651  1.1  christos       fi
   3652  1.1  christos     fi
   3653  1.1  christos 
   3654  1.1  christos fi
   3655  1.1  christos 
   3656  1.1  christos       LIBRPATHX=
   3657  1.1  christos   LTLIBRPATHX=
   3658  1.1  christos   INCRPATHX=
   3659  1.1  christos   rpathdirs=
   3660  1.1  christos   ltrpathdirs=
   3661  1.1  christos   names_already_handled=
   3662  1.1  christos   names_next_round='rpathx '
   3663  1.1  christos   while test -n "$names_next_round"; do
   3664  1.1  christos     names_this_round="$names_next_round"
   3665  1.1  christos     names_next_round=
   3666  1.1  christos     for name in $names_this_round; do
   3667  1.1  christos       already_handled=
   3668  1.1  christos       for n in $names_already_handled; do
   3669  1.1  christos         if test "$n" = "$name"; then
   3670  1.1  christos           already_handled=yes
   3671  1.1  christos           break
   3672  1.1  christos         fi
   3673  1.1  christos       done
   3674  1.1  christos       if test -z "$already_handled"; then
   3675  1.1  christos         names_already_handled="$names_already_handled $name"
   3676  1.1  christos                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   3677  1.1  christos         eval value=\"\$HAVE_LIB$uppername\"
   3678  1.1  christos         if test -n "$value"; then
   3679  1.1  christos           if test "$value" = yes; then
   3680  1.1  christos             eval value=\"\$LIB$uppername\"
   3681  1.1  christos             test -z "$value" || LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$value"
   3682  1.1  christos             eval value=\"\$LTLIB$uppername\"
   3683  1.1  christos             test -z "$value" || LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$value"
   3684  1.1  christos           else
   3685  1.1  christos                                     :
   3686  1.1  christos           fi
   3687  1.1  christos         else
   3688  1.1  christos                               found_dir=
   3689  1.1  christos           found_la=
   3690  1.1  christos           found_so=
   3691  1.1  christos           found_a=
   3692  1.1  christos           if test $use_additional = yes; then
   3693  1.1  christos             if test -n "$shlibext" \
   3694  1.1  christos                && { test -f "$additional_libdir/lib$name.$shlibext" \
   3695  1.1  christos                     || { test "$shlibext" = dll \
   3696  1.1  christos                          && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
   3697  1.1  christos               found_dir="$additional_libdir"
   3698  1.1  christos               if test -f "$additional_libdir/lib$name.$shlibext"; then
   3699  1.1  christos                 found_so="$additional_libdir/lib$name.$shlibext"
   3700  1.1  christos               else
   3701  1.1  christos                 found_so="$additional_libdir/lib$name.dll.a"
   3702  1.1  christos               fi
   3703  1.1  christos               if test -f "$additional_libdir/lib$name.la"; then
   3704  1.1  christos                 found_la="$additional_libdir/lib$name.la"
   3705  1.1  christos               fi
   3706  1.1  christos             else
   3707  1.1  christos               if test -f "$additional_libdir/lib$name.$libext"; then
   3708  1.1  christos                 found_dir="$additional_libdir"
   3709  1.1  christos                 found_a="$additional_libdir/lib$name.$libext"
   3710  1.1  christos                 if test -f "$additional_libdir/lib$name.la"; then
   3711  1.1  christos                   found_la="$additional_libdir/lib$name.la"
   3712  1.1  christos                 fi
   3713  1.1  christos               fi
   3714  1.1  christos             fi
   3715  1.1  christos           fi
   3716  1.1  christos           if test "X$found_dir" = "X"; then
   3717  1.1  christos             for x in $LDFLAGS $LTLIBRPATHX; do
   3718  1.1  christos 
   3719  1.1  christos   acl_save_prefix="$prefix"
   3720  1.1  christos   prefix="$acl_final_prefix"
   3721  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3722  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3723  1.1  christos   eval x=\"$x\"
   3724  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3725  1.1  christos   prefix="$acl_save_prefix"
   3726  1.1  christos 
   3727  1.1  christos               case "$x" in
   3728  1.1  christos                 -L*)
   3729  1.1  christos                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   3730  1.1  christos                   if test -n "$shlibext" \
   3731  1.1  christos                      && { test -f "$dir/lib$name.$shlibext" \
   3732  1.1  christos                           || { test "$shlibext" = dll \
   3733  1.1  christos                                && test -f "$dir/lib$name.dll.a"; }; }; then
   3734  1.1  christos                     found_dir="$dir"
   3735  1.1  christos                     if test -f "$dir/lib$name.$shlibext"; then
   3736  1.1  christos                       found_so="$dir/lib$name.$shlibext"
   3737  1.1  christos                     else
   3738  1.1  christos                       found_so="$dir/lib$name.dll.a"
   3739  1.1  christos                     fi
   3740  1.1  christos                     if test -f "$dir/lib$name.la"; then
   3741  1.1  christos                       found_la="$dir/lib$name.la"
   3742  1.1  christos                     fi
   3743  1.1  christos                   else
   3744  1.1  christos                     if test -f "$dir/lib$name.$libext"; then
   3745  1.1  christos                       found_dir="$dir"
   3746  1.1  christos                       found_a="$dir/lib$name.$libext"
   3747  1.1  christos                       if test -f "$dir/lib$name.la"; then
   3748  1.1  christos                         found_la="$dir/lib$name.la"
   3749  1.1  christos                       fi
   3750  1.1  christos                     fi
   3751  1.1  christos                   fi
   3752  1.1  christos                   ;;
   3753  1.1  christos               esac
   3754  1.1  christos               if test "X$found_dir" != "X"; then
   3755  1.1  christos                 break
   3756  1.1  christos               fi
   3757  1.1  christos             done
   3758  1.1  christos           fi
   3759  1.1  christos           if test "X$found_dir" != "X"; then
   3760  1.1  christos                         LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$found_dir -l$name"
   3761  1.1  christos             if test "X$found_so" != "X"; then
   3762  1.1  christos                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
   3763  1.1  christos                                 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
   3764  1.1  christos               else
   3765  1.1  christos                                                                                 haveit=
   3766  1.1  christos                 for x in $ltrpathdirs; do
   3767  1.1  christos                   if test "X$x" = "X$found_dir"; then
   3768  1.1  christos                     haveit=yes
   3769  1.1  christos                     break
   3770  1.1  christos                   fi
   3771  1.1  christos                 done
   3772  1.1  christos                 if test -z "$haveit"; then
   3773  1.1  christos                   ltrpathdirs="$ltrpathdirs $found_dir"
   3774  1.1  christos                 fi
   3775  1.1  christos                                 if test "$hardcode_direct" = yes; then
   3776  1.1  christos                                                       LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
   3777  1.1  christos                 else
   3778  1.1  christos                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   3779  1.1  christos                                                             LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
   3780  1.1  christos                                                             haveit=
   3781  1.1  christos                     for x in $rpathdirs; do
   3782  1.1  christos                       if test "X$x" = "X$found_dir"; then
   3783  1.1  christos                         haveit=yes
   3784  1.1  christos                         break
   3785  1.1  christos                       fi
   3786  1.1  christos                     done
   3787  1.1  christos                     if test -z "$haveit"; then
   3788  1.1  christos                       rpathdirs="$rpathdirs $found_dir"
   3789  1.1  christos                     fi
   3790  1.1  christos                   else
   3791  1.1  christos                                                                                 haveit=
   3792  1.1  christos                     for x in $LDFLAGS $LIBRPATHX; do
   3793  1.1  christos 
   3794  1.1  christos   acl_save_prefix="$prefix"
   3795  1.1  christos   prefix="$acl_final_prefix"
   3796  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3797  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3798  1.1  christos   eval x=\"$x\"
   3799  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3800  1.1  christos   prefix="$acl_save_prefix"
   3801  1.1  christos 
   3802  1.1  christos                       if test "X$x" = "X-L$found_dir"; then
   3803  1.1  christos                         haveit=yes
   3804  1.1  christos                         break
   3805  1.1  christos                       fi
   3806  1.1  christos                     done
   3807  1.1  christos                     if test -z "$haveit"; then
   3808  1.1  christos                       LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir"
   3809  1.1  christos                     fi
   3810  1.1  christos                     if test "$hardcode_minus_L" != no; then
   3811  1.1  christos                                                                                         LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
   3812  1.1  christos                     else
   3813  1.1  christos                                                                                                                                                                                 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
   3814  1.1  christos                     fi
   3815  1.1  christos                   fi
   3816  1.1  christos                 fi
   3817  1.1  christos               fi
   3818  1.1  christos             else
   3819  1.1  christos               if test "X$found_a" != "X"; then
   3820  1.1  christos                                 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_a"
   3821  1.1  christos               else
   3822  1.1  christos                                                 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir -l$name"
   3823  1.1  christos               fi
   3824  1.1  christos             fi
   3825  1.1  christos                         additional_includedir=
   3826  1.1  christos             case "$found_dir" in
   3827  1.1  christos               */$acl_libdirstem | */$acl_libdirstem/)
   3828  1.1  christos                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   3829  1.1  christos                 additional_includedir="$basedir/include"
   3830  1.1  christos                 ;;
   3831  1.1  christos             esac
   3832  1.1  christos             if test "X$additional_includedir" != "X"; then
   3833  1.1  christos                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   3834  1.1  christos                 haveit=
   3835  1.1  christos                 if test "X$additional_includedir" = "X/usr/local/include"; then
   3836  1.1  christos                   if test -n "$GCC"; then
   3837  1.1  christos                     case $host_os in
   3838  1.1  christos                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   3839  1.1  christos                     esac
   3840  1.1  christos                   fi
   3841  1.1  christos                 fi
   3842  1.1  christos                 if test -z "$haveit"; then
   3843  1.1  christos                   for x in $CPPFLAGS $INCRPATHX; do
   3844  1.1  christos 
   3845  1.1  christos   acl_save_prefix="$prefix"
   3846  1.1  christos   prefix="$acl_final_prefix"
   3847  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3848  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3849  1.1  christos   eval x=\"$x\"
   3850  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3851  1.1  christos   prefix="$acl_save_prefix"
   3852  1.1  christos 
   3853  1.1  christos                     if test "X$x" = "X-I$additional_includedir"; then
   3854  1.1  christos                       haveit=yes
   3855  1.1  christos                       break
   3856  1.1  christos                     fi
   3857  1.1  christos                   done
   3858  1.1  christos                   if test -z "$haveit"; then
   3859  1.1  christos                     if test -d "$additional_includedir"; then
   3860  1.1  christos                                             INCRPATHX="${INCRPATHX}${INCRPATHX:+ }-I$additional_includedir"
   3861  1.1  christos                     fi
   3862  1.1  christos                   fi
   3863  1.1  christos                 fi
   3864  1.1  christos               fi
   3865  1.1  christos             fi
   3866  1.1  christos                         if test -n "$found_la"; then
   3867  1.1  christos                                                         save_libdir="$libdir"
   3868  1.1  christos               case "$found_la" in
   3869  1.1  christos                 */* | *\\*) . "$found_la" ;;
   3870  1.1  christos                 *) . "./$found_la" ;;
   3871  1.1  christos               esac
   3872  1.1  christos               libdir="$save_libdir"
   3873  1.1  christos                             for dep in $dependency_libs; do
   3874  1.1  christos                 case "$dep" in
   3875  1.1  christos                   -L*)
   3876  1.1  christos                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   3877  1.1  christos                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
   3878  1.1  christos                       haveit=
   3879  1.1  christos                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
   3880  1.1  christos                         if test -n "$GCC"; then
   3881  1.1  christos                           case $host_os in
   3882  1.1  christos                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   3883  1.1  christos                           esac
   3884  1.1  christos                         fi
   3885  1.1  christos                       fi
   3886  1.1  christos                       if test -z "$haveit"; then
   3887  1.1  christos                         haveit=
   3888  1.1  christos                         for x in $LDFLAGS $LIBRPATHX; do
   3889  1.1  christos 
   3890  1.1  christos   acl_save_prefix="$prefix"
   3891  1.1  christos   prefix="$acl_final_prefix"
   3892  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3893  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3894  1.1  christos   eval x=\"$x\"
   3895  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3896  1.1  christos   prefix="$acl_save_prefix"
   3897  1.1  christos 
   3898  1.1  christos                           if test "X$x" = "X-L$additional_libdir"; then
   3899  1.1  christos                             haveit=yes
   3900  1.1  christos                             break
   3901  1.1  christos                           fi
   3902  1.1  christos                         done
   3903  1.1  christos                         if test -z "$haveit"; then
   3904  1.1  christos                           if test -d "$additional_libdir"; then
   3905  1.1  christos                                                         LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$additional_libdir"
   3906  1.1  christos                           fi
   3907  1.1  christos                         fi
   3908  1.1  christos                         haveit=
   3909  1.1  christos                         for x in $LDFLAGS $LTLIBRPATHX; do
   3910  1.1  christos 
   3911  1.1  christos   acl_save_prefix="$prefix"
   3912  1.1  christos   prefix="$acl_final_prefix"
   3913  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   3914  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   3915  1.1  christos   eval x=\"$x\"
   3916  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   3917  1.1  christos   prefix="$acl_save_prefix"
   3918  1.1  christos 
   3919  1.1  christos                           if test "X$x" = "X-L$additional_libdir"; then
   3920  1.1  christos                             haveit=yes
   3921  1.1  christos                             break
   3922  1.1  christos                           fi
   3923  1.1  christos                         done
   3924  1.1  christos                         if test -z "$haveit"; then
   3925  1.1  christos                           if test -d "$additional_libdir"; then
   3926  1.1  christos                                                         LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$additional_libdir"
   3927  1.1  christos                           fi
   3928  1.1  christos                         fi
   3929  1.1  christos                       fi
   3930  1.1  christos                     fi
   3931  1.1  christos                     ;;
   3932  1.1  christos                   -R*)
   3933  1.1  christos                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   3934  1.1  christos                     if test "$enable_rpath" != no; then
   3935  1.1  christos                                                                   haveit=
   3936  1.1  christos                       for x in $rpathdirs; do
   3937  1.1  christos                         if test "X$x" = "X$dir"; then
   3938  1.1  christos                           haveit=yes
   3939  1.1  christos                           break
   3940  1.1  christos                         fi
   3941  1.1  christos                       done
   3942  1.1  christos                       if test -z "$haveit"; then
   3943  1.1  christos                         rpathdirs="$rpathdirs $dir"
   3944  1.1  christos                       fi
   3945  1.1  christos                                                                   haveit=
   3946  1.1  christos                       for x in $ltrpathdirs; do
   3947  1.1  christos                         if test "X$x" = "X$dir"; then
   3948  1.1  christos                           haveit=yes
   3949  1.1  christos                           break
   3950  1.1  christos                         fi
   3951  1.1  christos                       done
   3952  1.1  christos                       if test -z "$haveit"; then
   3953  1.1  christos                         ltrpathdirs="$ltrpathdirs $dir"
   3954  1.1  christos                       fi
   3955  1.1  christos                     fi
   3956  1.1  christos                     ;;
   3957  1.1  christos                   -l*)
   3958  1.1  christos                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   3959  1.1  christos                     ;;
   3960  1.1  christos                   *.la)
   3961  1.1  christos                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   3962  1.1  christos                     ;;
   3963  1.1  christos                   *)
   3964  1.1  christos                                         LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$dep"
   3965  1.1  christos                     LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$dep"
   3966  1.1  christos                     ;;
   3967  1.1  christos                 esac
   3968  1.1  christos               done
   3969  1.1  christos             fi
   3970  1.1  christos           else
   3971  1.1  christos                                                             LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
   3972  1.1  christos             LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-l$name"
   3973  1.1  christos           fi
   3974  1.1  christos         fi
   3975  1.1  christos       fi
   3976  1.1  christos     done
   3977  1.1  christos   done
   3978  1.1  christos   if test "X$rpathdirs" != "X"; then
   3979  1.1  christos     if test -n "$hardcode_libdir_separator"; then
   3980  1.1  christos                         alldirs=
   3981  1.1  christos       for found_dir in $rpathdirs; do
   3982  1.1  christos         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   3983  1.1  christos       done
   3984  1.1  christos             acl_save_libdir="$libdir"
   3985  1.1  christos       libdir="$alldirs"
   3986  1.1  christos       eval flag=\"$hardcode_libdir_flag_spec\"
   3987  1.1  christos       libdir="$acl_save_libdir"
   3988  1.1  christos       LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag"
   3989  1.1  christos     else
   3990  1.1  christos             for found_dir in $rpathdirs; do
   3991  1.1  christos         acl_save_libdir="$libdir"
   3992  1.1  christos         libdir="$found_dir"
   3993  1.1  christos         eval flag=\"$hardcode_libdir_flag_spec\"
   3994  1.1  christos         libdir="$acl_save_libdir"
   3995  1.1  christos         LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag"
   3996  1.1  christos       done
   3997  1.1  christos     fi
   3998  1.1  christos   fi
   3999  1.1  christos   if test "X$ltrpathdirs" != "X"; then
   4000  1.1  christos             for found_dir in $ltrpathdirs; do
   4001  1.1  christos       LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-R$found_dir"
   4002  1.1  christos     done
   4003  1.1  christos   fi
   4004  1.1  christos 
   4005  1.1  christos     ac_cv_librpathx_libs="$LIBRPATHX"
   4006  1.1  christos     ac_cv_librpathx_ltlibs="$LTLIBRPATHX"
   4007  1.1  christos     ac_cv_librpathx_cppflags="$INCRPATHX"
   4008  1.1  christos 
   4009  1.1  christos fi
   4010  1.1  christos { echo "$as_me:$LINENO: result: $ac_cv_librpathx_libs" >&5
   4011  1.1  christos echo "${ECHO_T}$ac_cv_librpathx_libs" >&6; }
   4012  1.1  christos   LIBRPATHX="$ac_cv_librpathx_libs"
   4013  1.1  christos   LTLIBRPATHX="$ac_cv_librpathx_ltlibs"
   4014  1.1  christos   INCRPATHX="$ac_cv_librpathx_cppflags"
   4015  1.1  christos 
   4016  1.1  christos   for element in $INCRPATHX; do
   4017  1.1  christos     haveit=
   4018  1.1  christos     for x in $CPPFLAGS; do
   4019  1.1  christos 
   4020  1.1  christos   acl_save_prefix="$prefix"
   4021  1.1  christos   prefix="$acl_final_prefix"
   4022  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4023  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4024  1.1  christos   eval x=\"$x\"
   4025  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4026  1.1  christos   prefix="$acl_save_prefix"
   4027  1.1  christos 
   4028  1.1  christos       if test "X$x" = "X$element"; then
   4029  1.1  christos         haveit=yes
   4030  1.1  christos         break
   4031  1.1  christos       fi
   4032  1.1  christos     done
   4033  1.1  christos     if test -z "$haveit"; then
   4034  1.1  christos       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   4035  1.1  christos     fi
   4036  1.1  christos   done
   4037  1.1  christos 
   4038  1.1  christos 
   4039  1.1  christos 
   4040  1.1  christos       HAVE_LIBRPATHX=yes
   4041  1.1  christos 
   4042  1.1  christos 
   4043  1.1  christos 
   4044  1.1  christos 
   4045  1.1  christos 
   4046  1.1  christos 
   4047  1.1  christos 
   4048  1.1  christos 
   4049  1.1  christos   { echo "$as_me:$LINENO: checking how to link with librpathy" >&5
   4050  1.1  christos echo $ECHO_N "checking how to link with librpathy... $ECHO_C" >&6; }
   4051  1.1  christos if test "${ac_cv_librpathy_libs+set}" = set; then
   4052  1.1  christos   echo $ECHO_N "(cached) $ECHO_C" >&6
   4053  1.1  christos else
   4054  1.1  christos 
   4055  1.1  christos 
   4056  1.1  christos 
   4057  1.1  christos 
   4058  1.1  christos     use_additional=yes
   4059  1.1  christos 
   4060  1.1  christos   acl_save_prefix="$prefix"
   4061  1.1  christos   prefix="$acl_final_prefix"
   4062  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4063  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4064  1.1  christos 
   4065  1.1  christos     eval additional_includedir=\"$includedir\"
   4066  1.1  christos     eval additional_libdir=\"$libdir\"
   4067  1.1  christos 
   4068  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4069  1.1  christos   prefix="$acl_save_prefix"
   4070  1.1  christos 
   4071  1.1  christos 
   4072  1.1  christos # Check whether --with-librpathy-prefix was given.
   4073  1.1  christos if test "${with_librpathy_prefix+set}" = set; then
   4074  1.1  christos   withval=$with_librpathy_prefix;
   4075  1.1  christos     if test "X$withval" = "Xno"; then
   4076  1.1  christos       use_additional=no
   4077  1.1  christos     else
   4078  1.1  christos       if test "X$withval" = "X"; then
   4079  1.1  christos 
   4080  1.1  christos   acl_save_prefix="$prefix"
   4081  1.1  christos   prefix="$acl_final_prefix"
   4082  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4083  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4084  1.1  christos 
   4085  1.1  christos           eval additional_includedir=\"$includedir\"
   4086  1.1  christos           eval additional_libdir=\"$libdir\"
   4087  1.1  christos 
   4088  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4089  1.1  christos   prefix="$acl_save_prefix"
   4090  1.1  christos 
   4091  1.1  christos       else
   4092  1.1  christos         additional_includedir="$withval/include"
   4093  1.1  christos         additional_libdir="$withval/$acl_libdirstem"
   4094  1.1  christos       fi
   4095  1.1  christos     fi
   4096  1.1  christos 
   4097  1.1  christos fi
   4098  1.1  christos 
   4099  1.1  christos       LIBRPATHY=
   4100  1.1  christos   LTLIBRPATHY=
   4101  1.1  christos   INCRPATHY=
   4102  1.1  christos   rpathdirs=
   4103  1.1  christos   ltrpathdirs=
   4104  1.1  christos   names_already_handled=
   4105  1.1  christos   names_next_round='rpathy rpathx'
   4106  1.1  christos   while test -n "$names_next_round"; do
   4107  1.1  christos     names_this_round="$names_next_round"
   4108  1.1  christos     names_next_round=
   4109  1.1  christos     for name in $names_this_round; do
   4110  1.1  christos       already_handled=
   4111  1.1  christos       for n in $names_already_handled; do
   4112  1.1  christos         if test "$n" = "$name"; then
   4113  1.1  christos           already_handled=yes
   4114  1.1  christos           break
   4115  1.1  christos         fi
   4116  1.1  christos       done
   4117  1.1  christos       if test -z "$already_handled"; then
   4118  1.1  christos         names_already_handled="$names_already_handled $name"
   4119  1.1  christos                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   4120  1.1  christos         eval value=\"\$HAVE_LIB$uppername\"
   4121  1.1  christos         if test -n "$value"; then
   4122  1.1  christos           if test "$value" = yes; then
   4123  1.1  christos             eval value=\"\$LIB$uppername\"
   4124  1.1  christos             test -z "$value" || LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$value"
   4125  1.1  christos             eval value=\"\$LTLIB$uppername\"
   4126  1.1  christos             test -z "$value" || LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }$value"
   4127  1.1  christos           else
   4128  1.1  christos                                     :
   4129  1.1  christos           fi
   4130  1.1  christos         else
   4131  1.1  christos                               found_dir=
   4132  1.1  christos           found_la=
   4133  1.1  christos           found_so=
   4134  1.1  christos           found_a=
   4135  1.1  christos           if test $use_additional = yes; then
   4136  1.1  christos             if test -n "$shlibext" \
   4137  1.1  christos                && { test -f "$additional_libdir/lib$name.$shlibext" \
   4138  1.1  christos                     || { test "$shlibext" = dll \
   4139  1.1  christos                          && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
   4140  1.1  christos               found_dir="$additional_libdir"
   4141  1.1  christos               if test -f "$additional_libdir/lib$name.$shlibext"; then
   4142  1.1  christos                 found_so="$additional_libdir/lib$name.$shlibext"
   4143  1.1  christos               else
   4144  1.1  christos                 found_so="$additional_libdir/lib$name.dll.a"
   4145  1.1  christos               fi
   4146  1.1  christos               if test -f "$additional_libdir/lib$name.la"; then
   4147  1.1  christos                 found_la="$additional_libdir/lib$name.la"
   4148  1.1  christos               fi
   4149  1.1  christos             else
   4150  1.1  christos               if test -f "$additional_libdir/lib$name.$libext"; then
   4151  1.1  christos                 found_dir="$additional_libdir"
   4152  1.1  christos                 found_a="$additional_libdir/lib$name.$libext"
   4153  1.1  christos                 if test -f "$additional_libdir/lib$name.la"; then
   4154  1.1  christos                   found_la="$additional_libdir/lib$name.la"
   4155  1.1  christos                 fi
   4156  1.1  christos               fi
   4157  1.1  christos             fi
   4158  1.1  christos           fi
   4159  1.1  christos           if test "X$found_dir" = "X"; then
   4160  1.1  christos             for x in $LDFLAGS $LTLIBRPATHY; do
   4161  1.1  christos 
   4162  1.1  christos   acl_save_prefix="$prefix"
   4163  1.1  christos   prefix="$acl_final_prefix"
   4164  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4165  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4166  1.1  christos   eval x=\"$x\"
   4167  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4168  1.1  christos   prefix="$acl_save_prefix"
   4169  1.1  christos 
   4170  1.1  christos               case "$x" in
   4171  1.1  christos                 -L*)
   4172  1.1  christos                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   4173  1.1  christos                   if test -n "$shlibext" \
   4174  1.1  christos                      && { test -f "$dir/lib$name.$shlibext" \
   4175  1.1  christos                           || { test "$shlibext" = dll \
   4176  1.1  christos                                && test -f "$dir/lib$name.dll.a"; }; }; then
   4177  1.1  christos                     found_dir="$dir"
   4178  1.1  christos                     if test -f "$dir/lib$name.$shlibext"; then
   4179  1.1  christos                       found_so="$dir/lib$name.$shlibext"
   4180  1.1  christos                     else
   4181  1.1  christos                       found_so="$dir/lib$name.dll.a"
   4182  1.1  christos                     fi
   4183  1.1  christos                     if test -f "$dir/lib$name.la"; then
   4184  1.1  christos                       found_la="$dir/lib$name.la"
   4185  1.1  christos                     fi
   4186  1.1  christos                   else
   4187  1.1  christos                     if test -f "$dir/lib$name.$libext"; then
   4188  1.1  christos                       found_dir="$dir"
   4189  1.1  christos                       found_a="$dir/lib$name.$libext"
   4190  1.1  christos                       if test -f "$dir/lib$name.la"; then
   4191  1.1  christos                         found_la="$dir/lib$name.la"
   4192  1.1  christos                       fi
   4193  1.1  christos                     fi
   4194  1.1  christos                   fi
   4195  1.1  christos                   ;;
   4196  1.1  christos               esac
   4197  1.1  christos               if test "X$found_dir" != "X"; then
   4198  1.1  christos                 break
   4199  1.1  christos               fi
   4200  1.1  christos             done
   4201  1.1  christos           fi
   4202  1.1  christos           if test "X$found_dir" != "X"; then
   4203  1.1  christos                         LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$found_dir -l$name"
   4204  1.1  christos             if test "X$found_so" != "X"; then
   4205  1.1  christos                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
   4206  1.1  christos                                 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
   4207  1.1  christos               else
   4208  1.1  christos                                                                                 haveit=
   4209  1.1  christos                 for x in $ltrpathdirs; do
   4210  1.1  christos                   if test "X$x" = "X$found_dir"; then
   4211  1.1  christos                     haveit=yes
   4212  1.1  christos                     break
   4213  1.1  christos                   fi
   4214  1.1  christos                 done
   4215  1.1  christos                 if test -z "$haveit"; then
   4216  1.1  christos                   ltrpathdirs="$ltrpathdirs $found_dir"
   4217  1.1  christos                 fi
   4218  1.1  christos                                 if test "$hardcode_direct" = yes; then
   4219  1.1  christos                                                       LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
   4220  1.1  christos                 else
   4221  1.1  christos                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   4222  1.1  christos                                                             LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
   4223  1.1  christos                                                             haveit=
   4224  1.1  christos                     for x in $rpathdirs; do
   4225  1.1  christos                       if test "X$x" = "X$found_dir"; then
   4226  1.1  christos                         haveit=yes
   4227  1.1  christos                         break
   4228  1.1  christos                       fi
   4229  1.1  christos                     done
   4230  1.1  christos                     if test -z "$haveit"; then
   4231  1.1  christos                       rpathdirs="$rpathdirs $found_dir"
   4232  1.1  christos                     fi
   4233  1.1  christos                   else
   4234  1.1  christos                                                                                 haveit=
   4235  1.1  christos                     for x in $LDFLAGS $LIBRPATHY; do
   4236  1.1  christos 
   4237  1.1  christos   acl_save_prefix="$prefix"
   4238  1.1  christos   prefix="$acl_final_prefix"
   4239  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4240  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4241  1.1  christos   eval x=\"$x\"
   4242  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4243  1.1  christos   prefix="$acl_save_prefix"
   4244  1.1  christos 
   4245  1.1  christos                       if test "X$x" = "X-L$found_dir"; then
   4246  1.1  christos                         haveit=yes
   4247  1.1  christos                         break
   4248  1.1  christos                       fi
   4249  1.1  christos                     done
   4250  1.1  christos                     if test -z "$haveit"; then
   4251  1.1  christos                       LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir"
   4252  1.1  christos                     fi
   4253  1.1  christos                     if test "$hardcode_minus_L" != no; then
   4254  1.1  christos                                                                                         LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
   4255  1.1  christos                     else
   4256  1.1  christos                                                                                                                                                                                 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-l$name"
   4257  1.1  christos                     fi
   4258  1.1  christos                   fi
   4259  1.1  christos                 fi
   4260  1.1  christos               fi
   4261  1.1  christos             else
   4262  1.1  christos               if test "X$found_a" != "X"; then
   4263  1.1  christos                                 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_a"
   4264  1.1  christos               else
   4265  1.1  christos                                                 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir -l$name"
   4266  1.1  christos               fi
   4267  1.1  christos             fi
   4268  1.1  christos                         additional_includedir=
   4269  1.1  christos             case "$found_dir" in
   4270  1.1  christos               */$acl_libdirstem | */$acl_libdirstem/)
   4271  1.1  christos                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   4272  1.1  christos                 additional_includedir="$basedir/include"
   4273  1.1  christos                 ;;
   4274  1.1  christos             esac
   4275  1.1  christos             if test "X$additional_includedir" != "X"; then
   4276  1.1  christos                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   4277  1.1  christos                 haveit=
   4278  1.1  christos                 if test "X$additional_includedir" = "X/usr/local/include"; then
   4279  1.1  christos                   if test -n "$GCC"; then
   4280  1.1  christos                     case $host_os in
   4281  1.1  christos                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   4282  1.1  christos                     esac
   4283  1.1  christos                   fi
   4284  1.1  christos                 fi
   4285  1.1  christos                 if test -z "$haveit"; then
   4286  1.1  christos                   for x in $CPPFLAGS $INCRPATHY; do
   4287  1.1  christos 
   4288  1.1  christos   acl_save_prefix="$prefix"
   4289  1.1  christos   prefix="$acl_final_prefix"
   4290  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4291  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4292  1.1  christos   eval x=\"$x\"
   4293  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4294  1.1  christos   prefix="$acl_save_prefix"
   4295  1.1  christos 
   4296  1.1  christos                     if test "X$x" = "X-I$additional_includedir"; then
   4297  1.1  christos                       haveit=yes
   4298  1.1  christos                       break
   4299  1.1  christos                     fi
   4300  1.1  christos                   done
   4301  1.1  christos                   if test -z "$haveit"; then
   4302  1.1  christos                     if test -d "$additional_includedir"; then
   4303  1.1  christos                                             INCRPATHY="${INCRPATHY}${INCRPATHY:+ }-I$additional_includedir"
   4304  1.1  christos                     fi
   4305  1.1  christos                   fi
   4306  1.1  christos                 fi
   4307  1.1  christos               fi
   4308  1.1  christos             fi
   4309  1.1  christos                         if test -n "$found_la"; then
   4310  1.1  christos                                                         save_libdir="$libdir"
   4311  1.1  christos               case "$found_la" in
   4312  1.1  christos                 */* | *\\*) . "$found_la" ;;
   4313  1.1  christos                 *) . "./$found_la" ;;
   4314  1.1  christos               esac
   4315  1.1  christos               libdir="$save_libdir"
   4316  1.1  christos                             for dep in $dependency_libs; do
   4317  1.1  christos                 case "$dep" in
   4318  1.1  christos                   -L*)
   4319  1.1  christos                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   4320  1.1  christos                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
   4321  1.1  christos                       haveit=
   4322  1.1  christos                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
   4323  1.1  christos                         if test -n "$GCC"; then
   4324  1.1  christos                           case $host_os in
   4325  1.1  christos                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   4326  1.1  christos                           esac
   4327  1.1  christos                         fi
   4328  1.1  christos                       fi
   4329  1.1  christos                       if test -z "$haveit"; then
   4330  1.1  christos                         haveit=
   4331  1.1  christos                         for x in $LDFLAGS $LIBRPATHY; do
   4332  1.1  christos 
   4333  1.1  christos   acl_save_prefix="$prefix"
   4334  1.1  christos   prefix="$acl_final_prefix"
   4335  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4336  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4337  1.1  christos   eval x=\"$x\"
   4338  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4339  1.1  christos   prefix="$acl_save_prefix"
   4340  1.1  christos 
   4341  1.1  christos                           if test "X$x" = "X-L$additional_libdir"; then
   4342  1.1  christos                             haveit=yes
   4343  1.1  christos                             break
   4344  1.1  christos                           fi
   4345  1.1  christos                         done
   4346  1.1  christos                         if test -z "$haveit"; then
   4347  1.1  christos                           if test -d "$additional_libdir"; then
   4348  1.1  christos                                                         LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$additional_libdir"
   4349  1.1  christos                           fi
   4350  1.1  christos                         fi
   4351  1.1  christos                         haveit=
   4352  1.1  christos                         for x in $LDFLAGS $LTLIBRPATHY; do
   4353  1.1  christos 
   4354  1.1  christos   acl_save_prefix="$prefix"
   4355  1.1  christos   prefix="$acl_final_prefix"
   4356  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4357  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4358  1.1  christos   eval x=\"$x\"
   4359  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4360  1.1  christos   prefix="$acl_save_prefix"
   4361  1.1  christos 
   4362  1.1  christos                           if test "X$x" = "X-L$additional_libdir"; then
   4363  1.1  christos                             haveit=yes
   4364  1.1  christos                             break
   4365  1.1  christos                           fi
   4366  1.1  christos                         done
   4367  1.1  christos                         if test -z "$haveit"; then
   4368  1.1  christos                           if test -d "$additional_libdir"; then
   4369  1.1  christos                                                         LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$additional_libdir"
   4370  1.1  christos                           fi
   4371  1.1  christos                         fi
   4372  1.1  christos                       fi
   4373  1.1  christos                     fi
   4374  1.1  christos                     ;;
   4375  1.1  christos                   -R*)
   4376  1.1  christos                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   4377  1.1  christos                     if test "$enable_rpath" != no; then
   4378  1.1  christos                                                                   haveit=
   4379  1.1  christos                       for x in $rpathdirs; do
   4380  1.1  christos                         if test "X$x" = "X$dir"; then
   4381  1.1  christos                           haveit=yes
   4382  1.1  christos                           break
   4383  1.1  christos                         fi
   4384  1.1  christos                       done
   4385  1.1  christos                       if test -z "$haveit"; then
   4386  1.1  christos                         rpathdirs="$rpathdirs $dir"
   4387  1.1  christos                       fi
   4388  1.1  christos                                                                   haveit=
   4389  1.1  christos                       for x in $ltrpathdirs; do
   4390  1.1  christos                         if test "X$x" = "X$dir"; then
   4391  1.1  christos                           haveit=yes
   4392  1.1  christos                           break
   4393  1.1  christos                         fi
   4394  1.1  christos                       done
   4395  1.1  christos                       if test -z "$haveit"; then
   4396  1.1  christos                         ltrpathdirs="$ltrpathdirs $dir"
   4397  1.1  christos                       fi
   4398  1.1  christos                     fi
   4399  1.1  christos                     ;;
   4400  1.1  christos                   -l*)
   4401  1.1  christos                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   4402  1.1  christos                     ;;
   4403  1.1  christos                   *.la)
   4404  1.1  christos                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   4405  1.1  christos                     ;;
   4406  1.1  christos                   *)
   4407  1.1  christos                                         LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$dep"
   4408  1.1  christos                     LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }$dep"
   4409  1.1  christos                     ;;
   4410  1.1  christos                 esac
   4411  1.1  christos               done
   4412  1.1  christos             fi
   4413  1.1  christos           else
   4414  1.1  christos                                                             LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-l$name"
   4415  1.1  christos             LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-l$name"
   4416  1.1  christos           fi
   4417  1.1  christos         fi
   4418  1.1  christos       fi
   4419  1.1  christos     done
   4420  1.1  christos   done
   4421  1.1  christos   if test "X$rpathdirs" != "X"; then
   4422  1.1  christos     if test -n "$hardcode_libdir_separator"; then
   4423  1.1  christos                         alldirs=
   4424  1.1  christos       for found_dir in $rpathdirs; do
   4425  1.1  christos         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   4426  1.1  christos       done
   4427  1.1  christos             acl_save_libdir="$libdir"
   4428  1.1  christos       libdir="$alldirs"
   4429  1.1  christos       eval flag=\"$hardcode_libdir_flag_spec\"
   4430  1.1  christos       libdir="$acl_save_libdir"
   4431  1.1  christos       LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$flag"
   4432  1.1  christos     else
   4433  1.1  christos             for found_dir in $rpathdirs; do
   4434  1.1  christos         acl_save_libdir="$libdir"
   4435  1.1  christos         libdir="$found_dir"
   4436  1.1  christos         eval flag=\"$hardcode_libdir_flag_spec\"
   4437  1.1  christos         libdir="$acl_save_libdir"
   4438  1.1  christos         LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$flag"
   4439  1.1  christos       done
   4440  1.1  christos     fi
   4441  1.1  christos   fi
   4442  1.1  christos   if test "X$ltrpathdirs" != "X"; then
   4443  1.1  christos             for found_dir in $ltrpathdirs; do
   4444  1.1  christos       LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-R$found_dir"
   4445  1.1  christos     done
   4446  1.1  christos   fi
   4447  1.1  christos 
   4448  1.1  christos     ac_cv_librpathy_libs="$LIBRPATHY"
   4449  1.1  christos     ac_cv_librpathy_ltlibs="$LTLIBRPATHY"
   4450  1.1  christos     ac_cv_librpathy_cppflags="$INCRPATHY"
   4451  1.1  christos 
   4452  1.1  christos fi
   4453  1.1  christos { echo "$as_me:$LINENO: result: $ac_cv_librpathy_libs" >&5
   4454  1.1  christos echo "${ECHO_T}$ac_cv_librpathy_libs" >&6; }
   4455  1.1  christos   LIBRPATHY="$ac_cv_librpathy_libs"
   4456  1.1  christos   LTLIBRPATHY="$ac_cv_librpathy_ltlibs"
   4457  1.1  christos   INCRPATHY="$ac_cv_librpathy_cppflags"
   4458  1.1  christos 
   4459  1.1  christos   for element in $INCRPATHY; do
   4460  1.1  christos     haveit=
   4461  1.1  christos     for x in $CPPFLAGS; do
   4462  1.1  christos 
   4463  1.1  christos   acl_save_prefix="$prefix"
   4464  1.1  christos   prefix="$acl_final_prefix"
   4465  1.1  christos   acl_save_exec_prefix="$exec_prefix"
   4466  1.1  christos   exec_prefix="$acl_final_exec_prefix"
   4467  1.1  christos   eval x=\"$x\"
   4468  1.1  christos   exec_prefix="$acl_save_exec_prefix"
   4469  1.1  christos   prefix="$acl_save_prefix"
   4470  1.1  christos 
   4471  1.1  christos       if test "X$x" = "X$element"; then
   4472  1.1  christos         haveit=yes
   4473  1.1  christos         break
   4474  1.1  christos       fi
   4475  1.1  christos     done
   4476  1.1  christos     if test -z "$haveit"; then
   4477  1.1  christos       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   4478  1.1  christos     fi
   4479  1.1  christos   done
   4480  1.1  christos 
   4481  1.1  christos 
   4482  1.1  christos 
   4483  1.1  christos       HAVE_LIBRPATHY=yes
   4484  1.1  christos 
   4485  1.1  christos 
   4486  1.1  christos 
   4487  1.1  christos LIBRPATHY="$LIBRPATHY $LIBRPATHX"
   4488  1.1  christos 
   4489  1.1  christos ac_config_files="$ac_config_files Makefile"
   4490  1.1  christos 
   4491  1.1  christos cat >confcache <<\_ACEOF
   4492  1.1  christos # This file is a shell script that caches the results of configure
   4493  1.1  christos # tests run on this system so they can be shared between configure
   4494  1.1  christos # scripts and configure runs, see configure's option --config-cache.
   4495  1.1  christos # It is not useful on other systems.  If it contains results you don't
   4496  1.1  christos # want to keep, you may remove or edit it.
   4497  1.1  christos #
   4498  1.1  christos # config.status only pays attention to the cache file if you give it
   4499  1.1  christos # the --recheck option to rerun configure.
   4500  1.1  christos #
   4501  1.1  christos # `ac_cv_env_foo' variables (set or unset) will be overridden when
   4502  1.1  christos # loading this file, other *unset* `ac_cv_foo' will be assigned the
   4503  1.1  christos # following values.
   4504  1.1  christos 
   4505  1.1  christos _ACEOF
   4506  1.1  christos 
   4507  1.1  christos # The following way of writing the cache mishandles newlines in values,
   4508  1.1  christos # but we know of no workaround that is simple, portable, and efficient.
   4509  1.1  christos # So, we kill variables containing newlines.
   4510  1.1  christos # Ultrix sh set writes to stderr and can't be redirected directly,
   4511  1.1  christos # and sets the high bit in the cache file unless we assign to the vars.
   4512  1.1  christos (
   4513  1.1  christos   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   4514  1.1  christos     eval ac_val=\$$ac_var
   4515  1.1  christos     case $ac_val in #(
   4516  1.1  christos     *${as_nl}*)
   4517  1.1  christos       case $ac_var in #(
   4518  1.1  christos       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   4519  1.1  christos echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   4520  1.1  christos       esac
   4521  1.1  christos       case $ac_var in #(
   4522  1.1  christos       _ | IFS | as_nl) ;; #(
   4523  1.1  christos       *) $as_unset $ac_var ;;
   4524  1.1  christos       esac ;;
   4525  1.1  christos     esac
   4526  1.1  christos   done
   4527  1.1  christos 
   4528  1.1  christos   (set) 2>&1 |
   4529  1.1  christos     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   4530  1.1  christos     *${as_nl}ac_space=\ *)
   4531  1.1  christos       # `set' does not quote correctly, so add quotes (double-quote
   4532  1.1  christos       # substitution turns \\\\ into \\, and sed turns \\ into \).
   4533  1.1  christos       sed -n \
   4534  1.1  christos 	"s/'/'\\\\''/g;
   4535  1.1  christos 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   4536  1.1  christos       ;; #(
   4537  1.1  christos     *)
   4538  1.1  christos       # `set' quotes correctly as required by POSIX, so do not add quotes.
   4539  1.1  christos       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   4540  1.1  christos       ;;
   4541  1.1  christos     esac |
   4542  1.1  christos     sort
   4543  1.1  christos ) |
   4544  1.1  christos   sed '
   4545  1.1  christos      /^ac_cv_env_/b end
   4546  1.1  christos      t clear
   4547  1.1  christos      :clear
   4548  1.1  christos      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   4549  1.1  christos      t end
   4550  1.1  christos      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   4551  1.1  christos      :end' >>confcache
   4552  1.1  christos if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   4553  1.1  christos   if test -w "$cache_file"; then
   4554  1.1  christos     test "x$cache_file" != "x/dev/null" &&
   4555  1.1  christos       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   4556  1.1  christos echo "$as_me: updating cache $cache_file" >&6;}
   4557  1.1  christos     cat confcache >$cache_file
   4558  1.1  christos   else
   4559  1.1  christos     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   4560  1.1  christos echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   4561  1.1  christos   fi
   4562  1.1  christos fi
   4563  1.1  christos rm -f confcache
   4564  1.1  christos 
   4565  1.1  christos test "x$prefix" = xNONE && prefix=$ac_default_prefix
   4566  1.1  christos # Let make expand exec_prefix.
   4567  1.1  christos test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   4568  1.1  christos 
   4569  1.1  christos # Transform confdefs.h into DEFS.
   4570  1.1  christos # Protect against shell expansion while executing Makefile rules.
   4571  1.1  christos # Protect against Makefile macro expansion.
   4572  1.1  christos #
   4573  1.1  christos # If the first sed substitution is executed (which looks for macros that
   4574  1.1  christos # take arguments), then branch to the quote section.  Otherwise,
   4575  1.1  christos # look for a macro that doesn't take arguments.
   4576  1.1  christos ac_script='
   4577  1.1  christos t clear
   4578  1.1  christos :clear
   4579  1.1  christos s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   4580  1.1  christos t quote
   4581  1.1  christos s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   4582  1.1  christos t quote
   4583  1.1  christos b any
   4584  1.1  christos :quote
   4585  1.1  christos s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   4586  1.1  christos s/\[/\\&/g
   4587  1.1  christos s/\]/\\&/g
   4588  1.1  christos s/\$/$$/g
   4589  1.1  christos H
   4590  1.1  christos :any
   4591  1.1  christos ${
   4592  1.1  christos 	g
   4593  1.1  christos 	s/^\n//
   4594  1.1  christos 	s/\n/ /g
   4595  1.1  christos 	p
   4596  1.1  christos }
   4597  1.1  christos '
   4598  1.1  christos DEFS=`sed -n "$ac_script" confdefs.h`
   4599  1.1  christos 
   4600  1.1  christos 
   4601  1.1  christos ac_libobjs=
   4602  1.1  christos ac_ltlibobjs=
   4603  1.1  christos for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   4604  1.1  christos   # 1. Remove the extension, and $U if already installed.
   4605  1.1  christos   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   4606  1.1  christos   ac_i=`echo "$ac_i" | sed "$ac_script"`
   4607  1.1  christos   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   4608  1.1  christos   #    will be set to the directory where LIBOBJS objects are built.
   4609  1.1  christos   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   4610  1.1  christos   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   4611  1.1  christos done
   4612  1.1  christos LIBOBJS=$ac_libobjs
   4613  1.1  christos 
   4614  1.1  christos LTLIBOBJS=$ac_ltlibobjs
   4615  1.1  christos 
   4616  1.1  christos 
   4617  1.1  christos if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   4618  1.1  christos   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   4619  1.1  christos Usually this means the macro was only invoked conditionally." >&5
   4620  1.1  christos echo "$as_me: error: conditional \"AMDEP\" was never defined.
   4621  1.1  christos Usually this means the macro was only invoked conditionally." >&2;}
   4622  1.1  christos    { (exit 1); exit 1; }; }
   4623  1.1  christos fi
   4624  1.1  christos if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   4625  1.1  christos   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   4626  1.1  christos Usually this means the macro was only invoked conditionally." >&5
   4627  1.1  christos echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   4628  1.1  christos Usually this means the macro was only invoked conditionally." >&2;}
   4629  1.1  christos    { (exit 1); exit 1; }; }
   4630  1.1  christos fi
   4631  1.1  christos 
   4632  1.1  christos : ${CONFIG_STATUS=./config.status}
   4633  1.1  christos ac_clean_files_save=$ac_clean_files
   4634  1.1  christos ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   4635  1.1  christos { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   4636  1.1  christos echo "$as_me: creating $CONFIG_STATUS" >&6;}
   4637  1.1  christos cat >$CONFIG_STATUS <<_ACEOF
   4638  1.1  christos #! $SHELL
   4639  1.1  christos # Generated by $as_me.
   4640  1.1  christos # Run this file to recreate the current configuration.
   4641  1.1  christos # Compiler output produced by configure, useful for debugging
   4642  1.1  christos # configure, is in config.log if it exists.
   4643  1.1  christos 
   4644  1.1  christos debug=false
   4645  1.1  christos ac_cs_recheck=false
   4646  1.1  christos ac_cs_silent=false
   4647  1.1  christos SHELL=\${CONFIG_SHELL-$SHELL}
   4648  1.1  christos _ACEOF
   4649  1.1  christos 
   4650  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   4651  1.1  christos ## --------------------- ##
   4652  1.1  christos ## M4sh Initialization.  ##
   4653  1.1  christos ## --------------------- ##
   4654  1.1  christos 
   4655  1.1  christos # Be Bourne compatible
   4656  1.1  christos if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   4657  1.1  christos   emulate sh
   4658  1.1  christos   NULLCMD=:
   4659  1.1  christos   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   4660  1.1  christos   # is contrary to our usage.  Disable this feature.
   4661  1.1  christos   alias -g '${1+"$@"}'='"$@"'
   4662  1.1  christos   setopt NO_GLOB_SUBST
   4663  1.1  christos else
   4664  1.1  christos   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   4665  1.1  christos fi
   4666  1.1  christos BIN_SH=xpg4; export BIN_SH # for Tru64
   4667  1.1  christos DUALCASE=1; export DUALCASE # for MKS sh
   4668  1.1  christos 
   4669  1.1  christos 
   4670  1.1  christos # PATH needs CR
   4671  1.1  christos # Avoid depending upon Character Ranges.
   4672  1.1  christos as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   4673  1.1  christos as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   4674  1.1  christos as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   4675  1.1  christos as_cr_digits='0123456789'
   4676  1.1  christos as_cr_alnum=$as_cr_Letters$as_cr_digits
   4677  1.1  christos 
   4678  1.1  christos # The user is always right.
   4679  1.1  christos if test "${PATH_SEPARATOR+set}" != set; then
   4680  1.1  christos   echo "#! /bin/sh" >conf$$.sh
   4681  1.1  christos   echo  "exit 0"   >>conf$$.sh
   4682  1.1  christos   chmod +x conf$$.sh
   4683  1.1  christos   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   4684  1.1  christos     PATH_SEPARATOR=';'
   4685  1.1  christos   else
   4686  1.1  christos     PATH_SEPARATOR=:
   4687  1.1  christos   fi
   4688  1.1  christos   rm -f conf$$.sh
   4689  1.1  christos fi
   4690  1.1  christos 
   4691  1.1  christos # Support unset when possible.
   4692  1.1  christos if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4693  1.1  christos   as_unset=unset
   4694  1.1  christos else
   4695  1.1  christos   as_unset=false
   4696  1.1  christos fi
   4697  1.1  christos 
   4698  1.1  christos 
   4699  1.1  christos # IFS
   4700  1.1  christos # We need space, tab and new line, in precisely that order.  Quoting is
   4701  1.1  christos # there to prevent editors from complaining about space-tab.
   4702  1.1  christos # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   4703  1.1  christos # splitting by setting IFS to empty value.)
   4704  1.1  christos as_nl='
   4705  1.1  christos '
   4706  1.1  christos IFS=" ""	$as_nl"
   4707  1.1  christos 
   4708  1.1  christos # Find who we are.  Look in the path if we contain no directory separator.
   4709  1.1  christos case $0 in
   4710  1.1  christos   *[\\/]* ) as_myself=$0 ;;
   4711  1.1  christos   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4712  1.1  christos for as_dir in $PATH
   4713  1.1  christos do
   4714  1.1  christos   IFS=$as_save_IFS
   4715  1.1  christos   test -z "$as_dir" && as_dir=.
   4716  1.1  christos   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   4717  1.1  christos done
   4718  1.1  christos IFS=$as_save_IFS
   4719  1.1  christos 
   4720  1.1  christos      ;;
   4721  1.1  christos esac
   4722  1.1  christos # We did not find ourselves, most probably we were run as `sh COMMAND'
   4723  1.1  christos # in which case we are not to be found in the path.
   4724  1.1  christos if test "x$as_myself" = x; then
   4725  1.1  christos   as_myself=$0
   4726  1.1  christos fi
   4727  1.1  christos if test ! -f "$as_myself"; then
   4728  1.1  christos   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   4729  1.1  christos   { (exit 1); exit 1; }
   4730  1.1  christos fi
   4731  1.1  christos 
   4732  1.1  christos # Work around bugs in pre-3.0 UWIN ksh.
   4733  1.1  christos for as_var in ENV MAIL MAILPATH
   4734  1.1  christos do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   4735  1.1  christos done
   4736  1.1  christos PS1='$ '
   4737  1.1  christos PS2='> '
   4738  1.1  christos PS4='+ '
   4739  1.1  christos 
   4740  1.1  christos # NLS nuisances.
   4741  1.1  christos for as_var in \
   4742  1.1  christos   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   4743  1.1  christos   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   4744  1.1  christos   LC_TELEPHONE LC_TIME
   4745  1.1  christos do
   4746  1.1  christos   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   4747  1.1  christos     eval $as_var=C; export $as_var
   4748  1.1  christos   else
   4749  1.1  christos     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   4750  1.1  christos   fi
   4751  1.1  christos done
   4752  1.1  christos 
   4753  1.1  christos # Required to use basename.
   4754  1.1  christos if expr a : '\(a\)' >/dev/null 2>&1 &&
   4755  1.1  christos    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   4756  1.1  christos   as_expr=expr
   4757  1.1  christos else
   4758  1.1  christos   as_expr=false
   4759  1.1  christos fi
   4760  1.1  christos 
   4761  1.1  christos if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   4762  1.1  christos   as_basename=basename
   4763  1.1  christos else
   4764  1.1  christos   as_basename=false
   4765  1.1  christos fi
   4766  1.1  christos 
   4767  1.1  christos 
   4768  1.1  christos # Name of the executable.
   4769  1.1  christos as_me=`$as_basename -- "$0" ||
   4770  1.1  christos $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   4771  1.1  christos 	 X"$0" : 'X\(//\)$' \| \
   4772  1.1  christos 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   4773  1.1  christos echo X/"$0" |
   4774  1.1  christos     sed '/^.*\/\([^/][^/]*\)\/*$/{
   4775  1.1  christos 	    s//\1/
   4776  1.1  christos 	    q
   4777  1.1  christos 	  }
   4778  1.1  christos 	  /^X\/\(\/\/\)$/{
   4779  1.1  christos 	    s//\1/
   4780  1.1  christos 	    q
   4781  1.1  christos 	  }
   4782  1.1  christos 	  /^X\/\(\/\).*/{
   4783  1.1  christos 	    s//\1/
   4784  1.1  christos 	    q
   4785  1.1  christos 	  }
   4786  1.1  christos 	  s/.*/./; q'`
   4787  1.1  christos 
   4788  1.1  christos # CDPATH.
   4789  1.1  christos $as_unset CDPATH
   4790  1.1  christos 
   4791  1.1  christos 
   4792  1.1  christos 
   4793  1.1  christos   as_lineno_1=$LINENO
   4794  1.1  christos   as_lineno_2=$LINENO
   4795  1.1  christos   test "x$as_lineno_1" != "x$as_lineno_2" &&
   4796  1.1  christos   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   4797  1.1  christos 
   4798  1.1  christos   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   4799  1.1  christos   # uniformly replaced by the line number.  The first 'sed' inserts a
   4800  1.1  christos   # line-number line after each line using $LINENO; the second 'sed'
   4801  1.1  christos   # does the real work.  The second script uses 'N' to pair each
   4802  1.1  christos   # line-number line with the line containing $LINENO, and appends
   4803  1.1  christos   # trailing '-' during substitution so that $LINENO is not a special
   4804  1.1  christos   # case at line end.
   4805  1.1  christos   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   4806  1.1  christos   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   4807  1.1  christos   # E. McMahon (1931-1989) for sed's syntax.  :-)
   4808  1.1  christos   sed -n '
   4809  1.1  christos     p
   4810  1.1  christos     /[$]LINENO/=
   4811  1.1  christos   ' <$as_myself |
   4812  1.1  christos     sed '
   4813  1.1  christos       s/[$]LINENO.*/&-/
   4814  1.1  christos       t lineno
   4815  1.1  christos       b
   4816  1.1  christos       :lineno
   4817  1.1  christos       N
   4818  1.1  christos       :loop
   4819  1.1  christos       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   4820  1.1  christos       t loop
   4821  1.1  christos       s/-\n.*//
   4822  1.1  christos     ' >$as_me.lineno &&
   4823  1.1  christos   chmod +x "$as_me.lineno" ||
   4824  1.1  christos     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   4825  1.1  christos    { (exit 1); exit 1; }; }
   4826  1.1  christos 
   4827  1.1  christos   # Don't try to exec as it changes $[0], causing all sort of problems
   4828  1.1  christos   # (the dirname of $[0] is not the place where we might find the
   4829  1.1  christos   # original and so on.  Autoconf is especially sensitive to this).
   4830  1.1  christos   . "./$as_me.lineno"
   4831  1.1  christos   # Exit status is that of the last command.
   4832  1.1  christos   exit
   4833  1.1  christos }
   4834  1.1  christos 
   4835  1.1  christos 
   4836  1.1  christos if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   4837  1.1  christos   as_dirname=dirname
   4838  1.1  christos else
   4839  1.1  christos   as_dirname=false
   4840  1.1  christos fi
   4841  1.1  christos 
   4842  1.1  christos ECHO_C= ECHO_N= ECHO_T=
   4843  1.1  christos case `echo -n x` in
   4844  1.1  christos -n*)
   4845  1.1  christos   case `echo 'x\c'` in
   4846  1.1  christos   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   4847  1.1  christos   *)   ECHO_C='\c';;
   4848  1.1  christos   esac;;
   4849  1.1  christos *)
   4850  1.1  christos   ECHO_N='-n';;
   4851  1.1  christos esac
   4852  1.1  christos 
   4853  1.1  christos if expr a : '\(a\)' >/dev/null 2>&1 &&
   4854  1.1  christos    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   4855  1.1  christos   as_expr=expr
   4856  1.1  christos else
   4857  1.1  christos   as_expr=false
   4858  1.1  christos fi
   4859  1.1  christos 
   4860  1.1  christos rm -f conf$$ conf$$.exe conf$$.file
   4861  1.1  christos if test -d conf$$.dir; then
   4862  1.1  christos   rm -f conf$$.dir/conf$$.file
   4863  1.1  christos else
   4864  1.1  christos   rm -f conf$$.dir
   4865  1.1  christos   mkdir conf$$.dir
   4866  1.1  christos fi
   4867  1.1  christos echo >conf$$.file
   4868  1.1  christos if ln -s conf$$.file conf$$ 2>/dev/null; then
   4869  1.1  christos   as_ln_s='ln -s'
   4870  1.1  christos   # ... but there are two gotchas:
   4871  1.1  christos   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   4872  1.1  christos   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   4873  1.1  christos   # In both cases, we have to default to `cp -p'.
   4874  1.1  christos   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   4875  1.1  christos     as_ln_s='cp -p'
   4876  1.1  christos elif ln conf$$.file conf$$ 2>/dev/null; then
   4877  1.1  christos   as_ln_s=ln
   4878  1.1  christos else
   4879  1.1  christos   as_ln_s='cp -p'
   4880  1.1  christos fi
   4881  1.1  christos rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   4882  1.1  christos rmdir conf$$.dir 2>/dev/null
   4883  1.1  christos 
   4884  1.1  christos if mkdir -p . 2>/dev/null; then
   4885  1.1  christos   as_mkdir_p=:
   4886  1.1  christos else
   4887  1.1  christos   test -d ./-p && rmdir ./-p
   4888  1.1  christos   as_mkdir_p=false
   4889  1.1  christos fi
   4890  1.1  christos 
   4891  1.1  christos # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
   4892  1.1  christos # systems may use methods other than mode bits to determine executability.
   4893  1.1  christos cat >conf$$.file <<_ASEOF
   4894  1.1  christos #! /bin/sh
   4895  1.1  christos exit 0
   4896  1.1  christos _ASEOF
   4897  1.1  christos chmod +x conf$$.file
   4898  1.1  christos if test -x conf$$.file >/dev/null 2>&1; then
   4899  1.1  christos   as_executable_p="test -x"
   4900  1.1  christos else
   4901  1.1  christos   as_executable_p=:
   4902  1.1  christos fi
   4903  1.1  christos rm -f conf$$.file
   4904  1.1  christos 
   4905  1.1  christos # Sed expression to map a string onto a valid CPP name.
   4906  1.1  christos as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   4907  1.1  christos 
   4908  1.1  christos # Sed expression to map a string onto a valid variable name.
   4909  1.1  christos as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   4910  1.1  christos 
   4911  1.1  christos 
   4912  1.1  christos exec 6>&1
   4913  1.1  christos 
   4914  1.1  christos # Save the log message, to keep $[0] and so on meaningful, and to
   4915  1.1  christos # report actual input values of CONFIG_FILES etc. instead of their
   4916  1.1  christos # values after options handling.
   4917  1.1  christos ac_log="
   4918  1.1  christos This file was extended by $as_me, which was
   4919  1.1  christos generated by GNU Autoconf 2.60.  Invocation command line was
   4920  1.1  christos 
   4921  1.1  christos   CONFIG_FILES    = $CONFIG_FILES
   4922  1.1  christos   CONFIG_HEADERS  = $CONFIG_HEADERS
   4923  1.1  christos   CONFIG_LINKS    = $CONFIG_LINKS
   4924  1.1  christos   CONFIG_COMMANDS = $CONFIG_COMMANDS
   4925  1.1  christos   $ $0 $@
   4926  1.1  christos 
   4927  1.1  christos on `(hostname || uname -n) 2>/dev/null | sed 1q`
   4928  1.1  christos "
   4929  1.1  christos 
   4930  1.1  christos _ACEOF
   4931  1.1  christos 
   4932  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   4933  1.1  christos # Files that config.status was made for.
   4934  1.1  christos config_files="$ac_config_files"
   4935  1.1  christos config_commands="$ac_config_commands"
   4936  1.1  christos 
   4937  1.1  christos _ACEOF
   4938  1.1  christos 
   4939  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   4940  1.1  christos ac_cs_usage="\
   4941  1.1  christos \`$as_me' instantiates files from templates according to the
   4942  1.1  christos current configuration.
   4943  1.1  christos 
   4944  1.1  christos Usage: $0 [OPTIONS] [FILE]...
   4945  1.1  christos 
   4946  1.1  christos   -h, --help       print this help, then exit
   4947  1.1  christos   -V, --version    print version number, then exit
   4948  1.1  christos   -q, --quiet      do not print progress messages
   4949  1.1  christos   -d, --debug      don't remove temporary files
   4950  1.1  christos       --recheck    update $as_me by reconfiguring in the same conditions
   4951  1.1  christos   --file=FILE[:TEMPLATE]
   4952  1.1  christos 		   instantiate the configuration file FILE
   4953  1.1  christos 
   4954  1.1  christos Configuration files:
   4955  1.1  christos $config_files
   4956  1.1  christos 
   4957  1.1  christos Configuration commands:
   4958  1.1  christos $config_commands
   4959  1.1  christos 
   4960  1.1  christos Report bugs to <bug-autoconf@gnu.org>."
   4961  1.1  christos 
   4962  1.1  christos _ACEOF
   4963  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   4964  1.1  christos ac_cs_version="\\
   4965  1.1  christos config.status
   4966  1.1  christos configured by $0, generated by GNU Autoconf 2.60,
   4967  1.1  christos   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   4968  1.1  christos 
   4969  1.1  christos Copyright (C) 2006 Free Software Foundation, Inc.
   4970  1.1  christos This config.status script is free software; the Free Software Foundation
   4971  1.1  christos gives unlimited permission to copy, distribute and modify it."
   4972  1.1  christos 
   4973  1.1  christos ac_pwd='$ac_pwd'
   4974  1.1  christos srcdir='$srcdir'
   4975  1.1  christos INSTALL='$INSTALL'
   4976  1.1  christos MKDIR_P='$MKDIR_P'
   4977  1.1  christos _ACEOF
   4978  1.1  christos 
   4979  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   4980  1.1  christos # If no file are specified by the user, then we need to provide default
   4981  1.1  christos # value.  By we need to know if files were specified by the user.
   4982  1.1  christos ac_need_defaults=:
   4983  1.1  christos while test $# != 0
   4984  1.1  christos do
   4985  1.1  christos   case $1 in
   4986  1.1  christos   --*=*)
   4987  1.1  christos     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   4988  1.1  christos     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   4989  1.1  christos     ac_shift=:
   4990  1.1  christos     ;;
   4991  1.1  christos   *)
   4992  1.1  christos     ac_option=$1
   4993  1.1  christos     ac_optarg=$2
   4994  1.1  christos     ac_shift=shift
   4995  1.1  christos     ;;
   4996  1.1  christos   esac
   4997  1.1  christos 
   4998  1.1  christos   case $ac_option in
   4999  1.1  christos   # Handling of the options.
   5000  1.1  christos   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   5001  1.1  christos     ac_cs_recheck=: ;;
   5002  1.1  christos   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   5003  1.1  christos     echo "$ac_cs_version"; exit ;;
   5004  1.1  christos   --debug | --debu | --deb | --de | --d | -d )
   5005  1.1  christos     debug=: ;;
   5006  1.1  christos   --file | --fil | --fi | --f )
   5007  1.1  christos     $ac_shift
   5008  1.1  christos     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   5009  1.1  christos     ac_need_defaults=false;;
   5010  1.1  christos   --he | --h |  --help | --hel | -h )
   5011  1.1  christos     echo "$ac_cs_usage"; exit ;;
   5012  1.1  christos   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   5013  1.1  christos   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   5014  1.1  christos     ac_cs_silent=: ;;
   5015  1.1  christos 
   5016  1.1  christos   # This is an error.
   5017  1.1  christos   -*) { echo "$as_me: error: unrecognized option: $1
   5018  1.1  christos Try \`$0 --help' for more information." >&2
   5019  1.1  christos    { (exit 1); exit 1; }; } ;;
   5020  1.1  christos 
   5021  1.1  christos   *) ac_config_targets="$ac_config_targets $1"
   5022  1.1  christos      ac_need_defaults=false ;;
   5023  1.1  christos 
   5024  1.1  christos   esac
   5025  1.1  christos   shift
   5026  1.1  christos done
   5027  1.1  christos 
   5028  1.1  christos ac_configure_extra_args=
   5029  1.1  christos 
   5030  1.1  christos if $ac_cs_silent; then
   5031  1.1  christos   exec 6>/dev/null
   5032  1.1  christos   ac_configure_extra_args="$ac_configure_extra_args --silent"
   5033  1.1  christos fi
   5034  1.1  christos 
   5035  1.1  christos _ACEOF
   5036  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   5037  1.1  christos if \$ac_cs_recheck; then
   5038  1.1  christos   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   5039  1.1  christos   CONFIG_SHELL=$SHELL
   5040  1.1  christos   export CONFIG_SHELL
   5041  1.1  christos   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   5042  1.1  christos fi
   5043  1.1  christos 
   5044  1.1  christos _ACEOF
   5045  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   5046  1.1  christos exec 5>>config.log
   5047  1.1  christos {
   5048  1.1  christos   echo
   5049  1.1  christos   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   5050  1.1  christos ## Running $as_me. ##
   5051  1.1  christos _ASBOX
   5052  1.1  christos   echo "$ac_log"
   5053  1.1  christos } >&5
   5054  1.1  christos 
   5055  1.1  christos _ACEOF
   5056  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   5057  1.1  christos #
   5058  1.1  christos # INIT-COMMANDS
   5059  1.1  christos #
   5060  1.1  christos AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   5061  1.1  christos 
   5062  1.1  christos _ACEOF
   5063  1.1  christos 
   5064  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   5065  1.1  christos 
   5066  1.1  christos # Handling of arguments.
   5067  1.1  christos for ac_config_target in $ac_config_targets
   5068  1.1  christos do
   5069  1.1  christos   case $ac_config_target in
   5070  1.1  christos     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   5071  1.1  christos     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   5072  1.1  christos 
   5073  1.1  christos   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   5074  1.1  christos echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   5075  1.1  christos    { (exit 1); exit 1; }; };;
   5076  1.1  christos   esac
   5077  1.1  christos done
   5078  1.1  christos 
   5079  1.1  christos 
   5080  1.1  christos # If the user did not use the arguments to specify the items to instantiate,
   5081  1.1  christos # then the envvar interface is used.  Set only those that are not.
   5082  1.1  christos # We use the long form for the default assignment because of an extremely
   5083  1.1  christos # bizarre bug on SunOS 4.1.3.
   5084  1.1  christos if $ac_need_defaults; then
   5085  1.1  christos   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   5086  1.1  christos   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   5087  1.1  christos fi
   5088  1.1  christos 
   5089  1.1  christos # Have a temporary directory for convenience.  Make it in the build tree
   5090  1.1  christos # simply because there is no reason against having it here, and in addition,
   5091  1.1  christos # creating and moving files from /tmp can sometimes cause problems.
   5092  1.1  christos # Hook for its removal unless debugging.
   5093  1.1  christos # Note that there is a small window in which the directory will not be cleaned:
   5094  1.1  christos # after its creation but before its name has been assigned to `$tmp'.
   5095  1.1  christos $debug ||
   5096  1.1  christos {
   5097  1.1  christos   tmp=
   5098  1.1  christos   trap 'exit_status=$?
   5099  1.1  christos   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   5100  1.1  christos ' 0
   5101  1.1  christos   trap '{ (exit 1); exit 1; }' 1 2 13 15
   5102  1.1  christos }
   5103  1.1  christos # Create a (secure) tmp directory for tmp files.
   5104  1.1  christos 
   5105  1.1  christos {
   5106  1.1  christos   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   5107  1.1  christos   test -n "$tmp" && test -d "$tmp"
   5108  1.1  christos }  ||
   5109  1.1  christos {
   5110  1.1  christos   tmp=./conf$$-$RANDOM
   5111  1.1  christos   (umask 077 && mkdir "$tmp")
   5112  1.1  christos } ||
   5113  1.1  christos {
   5114  1.1  christos    echo "$me: cannot create a temporary directory in ." >&2
   5115  1.1  christos    { (exit 1); exit 1; }
   5116  1.1  christos }
   5117  1.1  christos 
   5118  1.1  christos #
   5119  1.1  christos # Set up the sed scripts for CONFIG_FILES section.
   5120  1.1  christos #
   5121  1.1  christos 
   5122  1.1  christos # No need to generate the scripts if there are no CONFIG_FILES.
   5123  1.1  christos # This happens for instance when ./config.status config.h
   5124  1.1  christos if test -n "$CONFIG_FILES"; then
   5125  1.1  christos 
   5126  1.1  christos _ACEOF
   5127  1.1  christos 
   5128  1.1  christos 
   5129  1.1  christos 
   5130  1.1  christos ac_delim='%!_!# '
   5131  1.1  christos for ac_last_try in false false false false false :; do
   5132  1.1  christos   cat >conf$$subs.sed <<_ACEOF
   5133  1.1  christos SHELL!$SHELL$ac_delim
   5134  1.1  christos PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   5135  1.1  christos PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   5136  1.1  christos PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   5137  1.1  christos PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   5138  1.1  christos PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   5139  1.1  christos PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   5140  1.1  christos exec_prefix!$exec_prefix$ac_delim
   5141  1.1  christos prefix!$prefix$ac_delim
   5142  1.1  christos program_transform_name!$program_transform_name$ac_delim
   5143  1.1  christos bindir!$bindir$ac_delim
   5144  1.1  christos sbindir!$sbindir$ac_delim
   5145  1.1  christos libexecdir!$libexecdir$ac_delim
   5146  1.1  christos datarootdir!$datarootdir$ac_delim
   5147  1.1  christos datadir!$datadir$ac_delim
   5148  1.1  christos sysconfdir!$sysconfdir$ac_delim
   5149  1.1  christos sharedstatedir!$sharedstatedir$ac_delim
   5150  1.1  christos localstatedir!$localstatedir$ac_delim
   5151  1.1  christos includedir!$includedir$ac_delim
   5152  1.1  christos oldincludedir!$oldincludedir$ac_delim
   5153  1.1  christos docdir!$docdir$ac_delim
   5154  1.1  christos infodir!$infodir$ac_delim
   5155  1.1  christos htmldir!$htmldir$ac_delim
   5156  1.1  christos dvidir!$dvidir$ac_delim
   5157  1.1  christos pdfdir!$pdfdir$ac_delim
   5158  1.1  christos psdir!$psdir$ac_delim
   5159  1.1  christos libdir!$libdir$ac_delim
   5160  1.1  christos localedir!$localedir$ac_delim
   5161  1.1  christos mandir!$mandir$ac_delim
   5162  1.1  christos DEFS!$DEFS$ac_delim
   5163  1.1  christos ECHO_C!$ECHO_C$ac_delim
   5164  1.1  christos ECHO_N!$ECHO_N$ac_delim
   5165  1.1  christos ECHO_T!$ECHO_T$ac_delim
   5166  1.1  christos LIBS!$LIBS$ac_delim
   5167  1.1  christos build_alias!$build_alias$ac_delim
   5168  1.1  christos host_alias!$host_alias$ac_delim
   5169  1.1  christos target_alias!$target_alias$ac_delim
   5170  1.1  christos INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   5171  1.1  christos INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   5172  1.1  christos INSTALL_DATA!$INSTALL_DATA$ac_delim
   5173  1.1  christos am__isrc!$am__isrc$ac_delim
   5174  1.1  christos CYGPATH_W!$CYGPATH_W$ac_delim
   5175  1.1  christos PACKAGE!$PACKAGE$ac_delim
   5176  1.1  christos VERSION!$VERSION$ac_delim
   5177  1.1  christos ACLOCAL!$ACLOCAL$ac_delim
   5178  1.1  christos AUTOCONF!$AUTOCONF$ac_delim
   5179  1.1  christos AUTOMAKE!$AUTOMAKE$ac_delim
   5180  1.1  christos AUTOHEADER!$AUTOHEADER$ac_delim
   5181  1.1  christos MAKEINFO!$MAKEINFO$ac_delim
   5182  1.1  christos install_sh!$install_sh$ac_delim
   5183  1.1  christos STRIP!$STRIP$ac_delim
   5184  1.1  christos INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   5185  1.1  christos mkdir_p!$mkdir_p$ac_delim
   5186  1.1  christos AWK!$AWK$ac_delim
   5187  1.1  christos SET_MAKE!$SET_MAKE$ac_delim
   5188  1.1  christos am__leading_dot!$am__leading_dot$ac_delim
   5189  1.1  christos AMTAR!$AMTAR$ac_delim
   5190  1.1  christos am__tar!$am__tar$ac_delim
   5191  1.1  christos am__untar!$am__untar$ac_delim
   5192  1.1  christos CC!$CC$ac_delim
   5193  1.1  christos CFLAGS!$CFLAGS$ac_delim
   5194  1.1  christos LDFLAGS!$LDFLAGS$ac_delim
   5195  1.1  christos CPPFLAGS!$CPPFLAGS$ac_delim
   5196  1.1  christos ac_ct_CC!$ac_ct_CC$ac_delim
   5197  1.1  christos EXEEXT!$EXEEXT$ac_delim
   5198  1.1  christos OBJEXT!$OBJEXT$ac_delim
   5199  1.1  christos DEPDIR!$DEPDIR$ac_delim
   5200  1.1  christos am__include!$am__include$ac_delim
   5201  1.1  christos am__quote!$am__quote$ac_delim
   5202  1.1  christos AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   5203  1.1  christos AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   5204  1.1  christos AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   5205  1.1  christos CCDEPMODE!$CCDEPMODE$ac_delim
   5206  1.1  christos am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   5207  1.1  christos am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   5208  1.1  christos build!$build$ac_delim
   5209  1.1  christos build_cpu!$build_cpu$ac_delim
   5210  1.1  christos build_vendor!$build_vendor$ac_delim
   5211  1.1  christos build_os!$build_os$ac_delim
   5212  1.1  christos host!$host$ac_delim
   5213  1.1  christos host_cpu!$host_cpu$ac_delim
   5214  1.1  christos host_vendor!$host_vendor$ac_delim
   5215  1.1  christos host_os!$host_os$ac_delim
   5216  1.1  christos LIBRPATHX!$LIBRPATHX$ac_delim
   5217  1.1  christos LTLIBRPATHX!$LTLIBRPATHX$ac_delim
   5218  1.1  christos LIBRPATHY!$LIBRPATHY$ac_delim
   5219  1.1  christos LTLIBRPATHY!$LTLIBRPATHY$ac_delim
   5220  1.1  christos global_top_auxdir!$global_top_auxdir$ac_delim
   5221  1.1  christos LIBOBJS!$LIBOBJS$ac_delim
   5222  1.1  christos LTLIBOBJS!$LTLIBOBJS$ac_delim
   5223  1.1  christos _ACEOF
   5224  1.1  christos 
   5225  1.1  christos   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
   5226  1.1  christos     break
   5227  1.1  christos   elif $ac_last_try; then
   5228  1.1  christos     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   5229  1.1  christos echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   5230  1.1  christos    { (exit 1); exit 1; }; }
   5231  1.1  christos   else
   5232  1.1  christos     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   5233  1.1  christos   fi
   5234  1.1  christos done
   5235  1.1  christos 
   5236  1.1  christos ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   5237  1.1  christos if test -n "$ac_eof"; then
   5238  1.1  christos   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   5239  1.1  christos   ac_eof=`expr $ac_eof + 1`
   5240  1.1  christos fi
   5241  1.1  christos 
   5242  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   5243  1.1  christos cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   5244  1.1  christos /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   5245  1.1  christos _ACEOF
   5246  1.1  christos sed '
   5247  1.1  christos s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   5248  1.1  christos s/^/s,@/; s/!/@,|#_!!_#|/
   5249  1.1  christos :n
   5250  1.1  christos t n
   5251  1.1  christos s/'"$ac_delim"'$/,g/; t
   5252  1.1  christos s/$/\\/; p
   5253  1.1  christos N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   5254  1.1  christos ' >>$CONFIG_STATUS <conf$$subs.sed
   5255  1.1  christos rm -f conf$$subs.sed
   5256  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   5257  1.1  christos :end
   5258  1.1  christos s/|#_!!_#|//g
   5259  1.1  christos CEOF$ac_eof
   5260  1.1  christos _ACEOF
   5261  1.1  christos 
   5262  1.1  christos 
   5263  1.1  christos # VPATH may cause trouble with some makes, so we remove $(srcdir),
   5264  1.1  christos # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   5265  1.1  christos # trailing colons and then remove the whole line if VPATH becomes empty
   5266  1.1  christos # (actually we leave an empty line to preserve line numbers).
   5267  1.1  christos if test "x$srcdir" = x.; then
   5268  1.1  christos   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   5269  1.1  christos s/:*\$(srcdir):*/:/
   5270  1.1  christos s/:*\${srcdir}:*/:/
   5271  1.1  christos s/:*@srcdir@:*/:/
   5272  1.1  christos s/^\([^=]*=[	 ]*\):*/\1/
   5273  1.1  christos s/:*$//
   5274  1.1  christos s/^[^=]*=[	 ]*$//
   5275  1.1  christos }'
   5276  1.1  christos fi
   5277  1.1  christos 
   5278  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   5279  1.1  christos fi # test -n "$CONFIG_FILES"
   5280  1.1  christos 
   5281  1.1  christos 
   5282  1.1  christos for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
   5283  1.1  christos do
   5284  1.1  christos   case $ac_tag in
   5285  1.1  christos   :[FHLC]) ac_mode=$ac_tag; continue;;
   5286  1.1  christos   esac
   5287  1.1  christos   case $ac_mode$ac_tag in
   5288  1.1  christos   :[FHL]*:*);;
   5289  1.1  christos   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   5290  1.1  christos echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   5291  1.1  christos    { (exit 1); exit 1; }; };;
   5292  1.1  christos   :[FH]-) ac_tag=-:-;;
   5293  1.1  christos   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   5294  1.1  christos   esac
   5295  1.1  christos   ac_save_IFS=$IFS
   5296  1.1  christos   IFS=:
   5297  1.1  christos   set x $ac_tag
   5298  1.1  christos   IFS=$ac_save_IFS
   5299  1.1  christos   shift
   5300  1.1  christos   ac_file=$1
   5301  1.1  christos   shift
   5302  1.1  christos 
   5303  1.1  christos   case $ac_mode in
   5304  1.1  christos   :L) ac_source=$1;;
   5305  1.1  christos   :[FH])
   5306  1.1  christos     ac_file_inputs=
   5307  1.1  christos     for ac_f
   5308  1.1  christos     do
   5309  1.1  christos       case $ac_f in
   5310  1.1  christos       -) ac_f="$tmp/stdin";;
   5311  1.1  christos       *) # Look for the file first in the build tree, then in the source tree
   5312  1.1  christos 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   5313  1.1  christos 	 # because $ac_f cannot contain `:'.
   5314  1.1  christos 	 test -f "$ac_f" ||
   5315  1.1  christos 	   case $ac_f in
   5316  1.1  christos 	   [\\/$]*) false;;
   5317  1.1  christos 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   5318  1.1  christos 	   esac ||
   5319  1.1  christos 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   5320  1.1  christos echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   5321  1.1  christos    { (exit 1); exit 1; }; };;
   5322  1.1  christos       esac
   5323  1.1  christos       ac_file_inputs="$ac_file_inputs $ac_f"
   5324  1.1  christos     done
   5325  1.1  christos 
   5326  1.1  christos     # Let's still pretend it is `configure' which instantiates (i.e., don't
   5327  1.1  christos     # use $as_me), people would be surprised to read:
   5328  1.1  christos     #    /* config.h.  Generated by config.status.  */
   5329  1.1  christos     configure_input="Generated from "`IFS=:
   5330  1.1  christos 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   5331  1.1  christos     if test x"$ac_file" != x-; then
   5332  1.1  christos       configure_input="$ac_file.  $configure_input"
   5333  1.1  christos       { echo "$as_me:$LINENO: creating $ac_file" >&5
   5334  1.1  christos echo "$as_me: creating $ac_file" >&6;}
   5335  1.1  christos     fi
   5336  1.1  christos 
   5337  1.1  christos     case $ac_tag in
   5338  1.1  christos     *:-:* | *:-) cat >"$tmp/stdin";;
   5339  1.1  christos     esac
   5340  1.1  christos     ;;
   5341  1.1  christos   esac
   5342  1.1  christos 
   5343  1.1  christos   ac_dir=`$as_dirname -- "$ac_file" ||
   5344  1.1  christos $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5345  1.1  christos 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   5346  1.1  christos 	 X"$ac_file" : 'X\(//\)$' \| \
   5347  1.1  christos 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   5348  1.1  christos echo X"$ac_file" |
   5349  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   5350  1.1  christos 	    s//\1/
   5351  1.1  christos 	    q
   5352  1.1  christos 	  }
   5353  1.1  christos 	  /^X\(\/\/\)[^/].*/{
   5354  1.1  christos 	    s//\1/
   5355  1.1  christos 	    q
   5356  1.1  christos 	  }
   5357  1.1  christos 	  /^X\(\/\/\)$/{
   5358  1.1  christos 	    s//\1/
   5359  1.1  christos 	    q
   5360  1.1  christos 	  }
   5361  1.1  christos 	  /^X\(\/\).*/{
   5362  1.1  christos 	    s//\1/
   5363  1.1  christos 	    q
   5364  1.1  christos 	  }
   5365  1.1  christos 	  s/.*/./; q'`
   5366  1.1  christos   { as_dir="$ac_dir"
   5367  1.1  christos   case $as_dir in #(
   5368  1.1  christos   -*) as_dir=./$as_dir;;
   5369  1.1  christos   esac
   5370  1.1  christos   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   5371  1.1  christos     as_dirs=
   5372  1.1  christos     while :; do
   5373  1.1  christos       case $as_dir in #(
   5374  1.1  christos       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   5375  1.1  christos       *) as_qdir=$as_dir;;
   5376  1.1  christos       esac
   5377  1.1  christos       as_dirs="'$as_qdir' $as_dirs"
   5378  1.1  christos       as_dir=`$as_dirname -- "$as_dir" ||
   5379  1.1  christos $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5380  1.1  christos 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   5381  1.1  christos 	 X"$as_dir" : 'X\(//\)$' \| \
   5382  1.1  christos 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   5383  1.1  christos echo X"$as_dir" |
   5384  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   5385  1.1  christos 	    s//\1/
   5386  1.1  christos 	    q
   5387  1.1  christos 	  }
   5388  1.1  christos 	  /^X\(\/\/\)[^/].*/{
   5389  1.1  christos 	    s//\1/
   5390  1.1  christos 	    q
   5391  1.1  christos 	  }
   5392  1.1  christos 	  /^X\(\/\/\)$/{
   5393  1.1  christos 	    s//\1/
   5394  1.1  christos 	    q
   5395  1.1  christos 	  }
   5396  1.1  christos 	  /^X\(\/\).*/{
   5397  1.1  christos 	    s//\1/
   5398  1.1  christos 	    q
   5399  1.1  christos 	  }
   5400  1.1  christos 	  s/.*/./; q'`
   5401  1.1  christos       test -d "$as_dir" && break
   5402  1.1  christos     done
   5403  1.1  christos     test -z "$as_dirs" || eval "mkdir $as_dirs"
   5404  1.1  christos   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   5405  1.1  christos echo "$as_me: error: cannot create directory $as_dir" >&2;}
   5406  1.1  christos    { (exit 1); exit 1; }; }; }
   5407  1.1  christos   ac_builddir=.
   5408  1.1  christos 
   5409  1.1  christos case "$ac_dir" in
   5410  1.1  christos .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   5411  1.1  christos *)
   5412  1.1  christos   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   5413  1.1  christos   # A ".." for each directory in $ac_dir_suffix.
   5414  1.1  christos   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   5415  1.1  christos   case $ac_top_builddir_sub in
   5416  1.1  christos   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   5417  1.1  christos   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   5418  1.1  christos   esac ;;
   5419  1.1  christos esac
   5420  1.1  christos ac_abs_top_builddir=$ac_pwd
   5421  1.1  christos ac_abs_builddir=$ac_pwd$ac_dir_suffix
   5422  1.1  christos # for backward compatibility:
   5423  1.1  christos ac_top_builddir=$ac_top_build_prefix
   5424  1.1  christos 
   5425  1.1  christos case $srcdir in
   5426  1.1  christos   .)  # We are building in place.
   5427  1.1  christos     ac_srcdir=.
   5428  1.1  christos     ac_top_srcdir=$ac_top_builddir_sub
   5429  1.1  christos     ac_abs_top_srcdir=$ac_pwd ;;
   5430  1.1  christos   [\\/]* | ?:[\\/]* )  # Absolute name.
   5431  1.1  christos     ac_srcdir=$srcdir$ac_dir_suffix;
   5432  1.1  christos     ac_top_srcdir=$srcdir
   5433  1.1  christos     ac_abs_top_srcdir=$srcdir ;;
   5434  1.1  christos   *) # Relative name.
   5435  1.1  christos     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   5436  1.1  christos     ac_top_srcdir=$ac_top_build_prefix$srcdir
   5437  1.1  christos     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   5438  1.1  christos esac
   5439  1.1  christos ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   5440  1.1  christos 
   5441  1.1  christos 
   5442  1.1  christos   case $ac_mode in
   5443  1.1  christos   :F)
   5444  1.1  christos   #
   5445  1.1  christos   # CONFIG_FILE
   5446  1.1  christos   #
   5447  1.1  christos 
   5448  1.1  christos   case $INSTALL in
   5449  1.1  christos   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   5450  1.1  christos   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   5451  1.1  christos   esac
   5452  1.1  christos   ac_MKDIR_P=$MKDIR_P
   5453  1.1  christos   case $MKDIR_P in
   5454  1.1  christos   [\\/$]* | ?:[\\/]* ) ;;
   5455  1.1  christos   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   5456  1.1  christos   esac
   5457  1.1  christos _ACEOF
   5458  1.1  christos 
   5459  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   5460  1.1  christos # If the template does not know about datarootdir, expand it.
   5461  1.1  christos # FIXME: This hack should be removed a few years after 2.60.
   5462  1.1  christos ac_datarootdir_hack=; ac_datarootdir_seen=
   5463  1.1  christos 
   5464  1.1  christos case `sed -n '/datarootdir/ {
   5465  1.1  christos   p
   5466  1.1  christos   q
   5467  1.1  christos }
   5468  1.1  christos /@datadir@/p
   5469  1.1  christos /@docdir@/p
   5470  1.1  christos /@infodir@/p
   5471  1.1  christos /@localedir@/p
   5472  1.1  christos /@mandir@/p
   5473  1.1  christos ' $ac_file_inputs` in
   5474  1.1  christos *datarootdir*) ac_datarootdir_seen=yes;;
   5475  1.1  christos *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   5476  1.1  christos   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   5477  1.1  christos echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   5478  1.1  christos _ACEOF
   5479  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   5480  1.1  christos   ac_datarootdir_hack='
   5481  1.1  christos   s&@datadir@&$datadir&g
   5482  1.1  christos   s&@docdir@&$docdir&g
   5483  1.1  christos   s&@infodir@&$infodir&g
   5484  1.1  christos   s&@localedir@&$localedir&g
   5485  1.1  christos   s&@mandir@&$mandir&g
   5486  1.1  christos     s&\\\${datarootdir}&$datarootdir&g' ;;
   5487  1.1  christos esac
   5488  1.1  christos _ACEOF
   5489  1.1  christos 
   5490  1.1  christos # Neutralize VPATH when `$srcdir' = `.'.
   5491  1.1  christos # Shell code in configure.ac might set extrasub.
   5492  1.1  christos # FIXME: do we really want to maintain this feature?
   5493  1.1  christos cat >>$CONFIG_STATUS <<_ACEOF
   5494  1.1  christos   sed "$ac_vpsub
   5495  1.1  christos $extrasub
   5496  1.1  christos _ACEOF
   5497  1.1  christos cat >>$CONFIG_STATUS <<\_ACEOF
   5498  1.1  christos :t
   5499  1.1  christos /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   5500  1.1  christos s&@configure_input@&$configure_input&;t t
   5501  1.1  christos s&@top_builddir@&$ac_top_builddir_sub&;t t
   5502  1.1  christos s&@srcdir@&$ac_srcdir&;t t
   5503  1.1  christos s&@abs_srcdir@&$ac_abs_srcdir&;t t
   5504  1.1  christos s&@top_srcdir@&$ac_top_srcdir&;t t
   5505  1.1  christos s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   5506  1.1  christos s&@builddir@&$ac_builddir&;t t
   5507  1.1  christos s&@abs_builddir@&$ac_abs_builddir&;t t
   5508  1.1  christos s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   5509  1.1  christos s&@INSTALL@&$ac_INSTALL&;t t
   5510  1.1  christos s&@MKDIR_P@&$ac_MKDIR_P&;t t
   5511  1.1  christos $ac_datarootdir_hack
   5512  1.1  christos " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
   5513  1.1  christos 
   5514  1.1  christos test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   5515  1.1  christos   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   5516  1.1  christos   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   5517  1.1  christos   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   5518  1.1  christos which seems to be undefined.  Please make sure it is defined." >&5
   5519  1.1  christos echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   5520  1.1  christos which seems to be undefined.  Please make sure it is defined." >&2;}
   5521  1.1  christos 
   5522  1.1  christos   rm -f "$tmp/stdin"
   5523  1.1  christos   case $ac_file in
   5524  1.1  christos   -) cat "$tmp/out"; rm -f "$tmp/out";;
   5525  1.1  christos   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   5526  1.1  christos   esac
   5527  1.1  christos  ;;
   5528  1.1  christos 
   5529  1.1  christos 
   5530  1.1  christos   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   5531  1.1  christos echo "$as_me: executing $ac_file commands" >&6;}
   5532  1.1  christos  ;;
   5533  1.1  christos   esac
   5534  1.1  christos 
   5535  1.1  christos 
   5536  1.1  christos   case $ac_file$ac_mode in
   5537  1.1  christos     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   5538  1.1  christos   # Strip MF so we end up with the name of the file.
   5539  1.1  christos   mf=`echo "$mf" | sed -e 's/:.*$//'`
   5540  1.1  christos   # Check whether this is an Automake generated Makefile or not.
   5541  1.1  christos   # We used to match only the files named `Makefile.in', but
   5542  1.1  christos   # some people rename them; so instead we look at the file content.
   5543  1.1  christos   # Grep'ing the first line is not enough: some people post-process
   5544  1.1  christos   # each Makefile.in and add a new line on top of each file to say so.
   5545  1.1  christos   # Grep'ing the whole file is not good either: AIX grep has a line
   5546  1.1  christos   # limit of 2048, but all sed's we know have understand at least 4000.
   5547  1.1  christos   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   5548  1.1  christos     dirpart=`$as_dirname -- "$mf" ||
   5549  1.1  christos $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5550  1.1  christos 	 X"$mf" : 'X\(//\)[^/]' \| \
   5551  1.1  christos 	 X"$mf" : 'X\(//\)$' \| \
   5552  1.1  christos 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   5553  1.1  christos echo X"$mf" |
   5554  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   5555  1.1  christos 	    s//\1/
   5556  1.1  christos 	    q
   5557  1.1  christos 	  }
   5558  1.1  christos 	  /^X\(\/\/\)[^/].*/{
   5559  1.1  christos 	    s//\1/
   5560  1.1  christos 	    q
   5561  1.1  christos 	  }
   5562  1.1  christos 	  /^X\(\/\/\)$/{
   5563  1.1  christos 	    s//\1/
   5564  1.1  christos 	    q
   5565  1.1  christos 	  }
   5566  1.1  christos 	  /^X\(\/\).*/{
   5567  1.1  christos 	    s//\1/
   5568  1.1  christos 	    q
   5569  1.1  christos 	  }
   5570  1.1  christos 	  s/.*/./; q'`
   5571  1.1  christos   else
   5572  1.1  christos     continue
   5573  1.1  christos   fi
   5574  1.1  christos   # Extract the definition of DEPDIR, am__include, and am__quote
   5575  1.1  christos   # from the Makefile without running `make'.
   5576  1.1  christos   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   5577  1.1  christos   test -z "$DEPDIR" && continue
   5578  1.1  christos   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   5579  1.1  christos   test -z "am__include" && continue
   5580  1.1  christos   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   5581  1.1  christos   # When using ansi2knr, U may be empty or an underscore; expand it
   5582  1.1  christos   U=`sed -n 's/^U = //p' < "$mf"`
   5583  1.1  christos   # Find all dependency output files, they are included files with
   5584  1.1  christos   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   5585  1.1  christos   # simplest approach to changing $(DEPDIR) to its actual value in the
   5586  1.1  christos   # expansion.
   5587  1.1  christos   for file in `sed -n "
   5588  1.1  christos     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   5589  1.1  christos        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   5590  1.1  christos     # Make sure the directory exists.
   5591  1.1  christos     test -f "$dirpart/$file" && continue
   5592  1.1  christos     fdir=`$as_dirname -- "$file" ||
   5593  1.1  christos $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5594  1.1  christos 	 X"$file" : 'X\(//\)[^/]' \| \
   5595  1.1  christos 	 X"$file" : 'X\(//\)$' \| \
   5596  1.1  christos 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   5597  1.1  christos echo X"$file" |
   5598  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   5599  1.1  christos 	    s//\1/
   5600  1.1  christos 	    q
   5601  1.1  christos 	  }
   5602  1.1  christos 	  /^X\(\/\/\)[^/].*/{
   5603  1.1  christos 	    s//\1/
   5604  1.1  christos 	    q
   5605  1.1  christos 	  }
   5606  1.1  christos 	  /^X\(\/\/\)$/{
   5607  1.1  christos 	    s//\1/
   5608  1.1  christos 	    q
   5609  1.1  christos 	  }
   5610  1.1  christos 	  /^X\(\/\).*/{
   5611  1.1  christos 	    s//\1/
   5612  1.1  christos 	    q
   5613  1.1  christos 	  }
   5614  1.1  christos 	  s/.*/./; q'`
   5615  1.1  christos     { as_dir=$dirpart/$fdir
   5616  1.1  christos   case $as_dir in #(
   5617  1.1  christos   -*) as_dir=./$as_dir;;
   5618  1.1  christos   esac
   5619  1.1  christos   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   5620  1.1  christos     as_dirs=
   5621  1.1  christos     while :; do
   5622  1.1  christos       case $as_dir in #(
   5623  1.1  christos       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   5624  1.1  christos       *) as_qdir=$as_dir;;
   5625  1.1  christos       esac
   5626  1.1  christos       as_dirs="'$as_qdir' $as_dirs"
   5627  1.1  christos       as_dir=`$as_dirname -- "$as_dir" ||
   5628  1.1  christos $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5629  1.1  christos 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   5630  1.1  christos 	 X"$as_dir" : 'X\(//\)$' \| \
   5631  1.1  christos 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   5632  1.1  christos echo X"$as_dir" |
   5633  1.1  christos     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   5634  1.1  christos 	    s//\1/
   5635  1.1  christos 	    q
   5636  1.1  christos 	  }
   5637  1.1  christos 	  /^X\(\/\/\)[^/].*/{
   5638  1.1  christos 	    s//\1/
   5639  1.1  christos 	    q
   5640  1.1  christos 	  }
   5641  1.1  christos 	  /^X\(\/\/\)$/{
   5642  1.1  christos 	    s//\1/
   5643  1.1  christos 	    q
   5644  1.1  christos 	  }
   5645  1.1  christos 	  /^X\(\/\).*/{
   5646  1.1  christos 	    s//\1/
   5647  1.1  christos 	    q
   5648  1.1  christos 	  }
   5649  1.1  christos 	  s/.*/./; q'`
   5650  1.1  christos       test -d "$as_dir" && break
   5651  1.1  christos     done
   5652  1.1  christos     test -z "$as_dirs" || eval "mkdir $as_dirs"
   5653  1.1  christos   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   5654  1.1  christos echo "$as_me: error: cannot create directory $as_dir" >&2;}
   5655  1.1  christos    { (exit 1); exit 1; }; }; }
   5656  1.1  christos     # echo "creating $dirpart/$file"
   5657  1.1  christos     echo '# dummy' > "$dirpart/$file"
   5658  1.1  christos   done
   5659  1.1  christos done
   5660  1.1  christos  ;;
   5661  1.1  christos 
   5662  1.1  christos   esac
   5663  1.1  christos done # for ac_tag
   5664  1.1  christos 
   5665  1.1  christos 
   5666  1.1  christos { (exit 0); exit 0; }
   5667  1.1  christos _ACEOF
   5668  1.1  christos chmod +x $CONFIG_STATUS
   5669  1.1  christos ac_clean_files=$ac_clean_files_save
   5670  1.1  christos 
   5671  1.1  christos 
   5672  1.1  christos # configure is writing to config.log, and then calls config.status.
   5673  1.1  christos # config.status does its own redirection, appending to config.log.
   5674  1.1  christos # Unfortunately, on DOS this fails, as config.log is still kept open
   5675  1.1  christos # by configure, so config.status won't be able to write to it; its
   5676  1.1  christos # output is simply discarded.  So we exec the FD to /dev/null,
   5677  1.1  christos # effectively closing config.log, so it can be properly (re)opened and
   5678  1.1  christos # appended to by config.status.  When coming back to configure, we
   5679  1.1  christos # need to make the FD available again.
   5680  1.1  christos if test "$no_create" != yes; then
   5681  1.1  christos   ac_cs_success=:
   5682  1.1  christos   ac_config_status_args=
   5683  1.1  christos   test "$silent" = yes &&
   5684  1.1  christos     ac_config_status_args="$ac_config_status_args --quiet"
   5685  1.1  christos   exec 5>/dev/null
   5686  1.1  christos   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   5687  1.1  christos   exec 5>>config.log
   5688  1.1  christos   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   5689  1.1  christos   # would make configure fail if this is the last instruction.
   5690  1.1  christos   $ac_cs_success || { (exit 1); exit 1; }
   5691  1.1  christos fi
   5692  1.1  christos 
   5693