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