PageRenderTime 274ms CodeModel.GetById 134ms app.highlight 97ms RepoModel.GetById 15ms app.codeStats 2ms

/lib/erlmerge/config/configure

https://github.com/gebi/jungerl
Shell | 3927 lines | 3190 code | 362 blank | 375 comment | 360 complexity | 8c6738bb5e8128c268e45ed15a39e4f6 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   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
  13if 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+"$@"}'='"$@"'
  19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  20  set -o posix
  21fi
  22DUALCASE=1; export DUALCASE # for MKS sh
  23
  24# Support unset when possible.
  25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  26  as_unset=unset
  27else
  28  as_unset=false
  29fi
  30
  31
  32# Work around bugs in pre-3.0 UWIN ksh.
  33$as_unset ENV MAIL MAILPATH
  34PS1='$ '
  35PS2='> '
  36PS4='+ '
  37
  38# NLS nuisances.
  39for 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
  43do
  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
  49done
  50
  51# Required to use basename.
  52if expr a : '\(a\)' >/dev/null 2>&1; then
  53  as_expr=expr
  54else
  55  as_expr=false
  56fi
  57
  58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  59  as_basename=basename
  60else
  61  as_basename=false
  62fi
  63
  64
  65# Name of the executable.
  66as_me=`$as_basename "$0" ||
  67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  68	 X"$0" : 'X\(//\)$' \| \
  69	 X"$0" : 'X\(/\)$' \| \
  70	 .     : '\(.\)' 2>/dev/null ||
  71echo 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.
  80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  83as_cr_digits='0123456789'
  84as_cr_alnum=$as_cr_Letters$as_cr_digits
  85
  86# The user is always right.
  87if 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
  97fi
  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
 110for as_dir in $PATH
 111do
 112  IFS=$as_save_IFS
 113  test -z "$as_dir" && as_dir=.
 114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 115done
 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
 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 132do
 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
 152done
 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
 187case `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= ;;
 192esac
 193
 194if expr a : '\(a\)' >/dev/null 2>&1; then
 195  as_expr=expr
 196else
 197  as_expr=false
 198fi
 199
 200rm -f conf$$ conf$$.exe conf$$.file
 201echo >conf$$.file
 202if 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
 211elif ln conf$$.file conf$$ 2>/dev/null; then
 212  as_ln_s=ln
 213else
 214  as_ln_s='cp -p'
 215fi
 216rm -f conf$$ conf$$.exe conf$$.file
 217
 218if mkdir -p . 2>/dev/null; then
 219  as_mkdir_p=:
 220else
 221  test -d ./-p && rmdir ./-p
 222  as_mkdir_p=false
 223fi
 224
 225as_executable_p="test -f"
 226
 227# Sed expression to map a string onto a valid CPP name.
 228as_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.
 231as_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.
 236as_nl='
 237'
 238IFS=" 	$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.
 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 248
 249exec 6>&1
 250
 251#
 252# Initializations.
 253#
 254ac_default_prefix=/usr/local
 255ac_config_libobj_dir=.
 256cross_compiling=no
 257subdirs=
 258MFLAGS=
 259MAKEFLAGS=
 260SHELL=${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.
 268PACKAGE_NAME=
 269PACKAGE_TARNAME=
 270PACKAGE_VERSION=
 271PACKAGE_STRING=
 272PACKAGE_BUGREPORT=
 273
 274ac_unique_file="Makefile"
 275ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os ERL ERLC ERL_DLL_LIB ERLDIR ERL_INTERFACE_LIB ERL_INTERFACE_LIBS ERL_INTERFACE_INCLUDE WIN32 STRIP OUT MATHLIB EXE DLL OBJ CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LINKER FPIC SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LD_SHARED BSDI LIBOBJS LTLIBOBJS'
 276ac_subst_files=''
 277
 278# Initialize some variables set by options.
 279ac_init_help=
 280ac_init_version=false
 281# The variables have the same names as the options, with
 282# dashes changed to underlines.
 283cache_file=/dev/null
 284exec_prefix=NONE
 285no_create=
 286no_recursion=
 287prefix=NONE
 288program_prefix=NONE
 289program_suffix=NONE
 290program_transform_name=s,x,x,
 291silent=
 292site=
 293srcdir=
 294verbose=
 295x_includes=NONE
 296x_libraries=NONE
 297
 298# Installation directory options.
 299# These are left unexpanded so users can "make install exec_prefix=/foo"
 300# and all the variables that are supposed to be based on exec_prefix
 301# by default will actually change.
 302# Use braces instead of parens because sh, perl, etc. also accept them.
 303bindir='${exec_prefix}/bin'
 304sbindir='${exec_prefix}/sbin'
 305libexecdir='${exec_prefix}/libexec'
 306datadir='${prefix}/share'
 307sysconfdir='${prefix}/etc'
 308sharedstatedir='${prefix}/com'
 309localstatedir='${prefix}/var'
 310libdir='${exec_prefix}/lib'
 311includedir='${prefix}/include'
 312oldincludedir='/usr/include'
 313infodir='${prefix}/info'
 314mandir='${prefix}/man'
 315
 316ac_prev=
 317for ac_option
 318do
 319  # If the previous option needs an argument, assign it.
 320  if test -n "$ac_prev"; then
 321    eval "$ac_prev=\$ac_option"
 322    ac_prev=
 323    continue
 324  fi
 325
 326  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 327
 328  # Accept the important Cygnus configure options, so we can diagnose typos.
 329
 330  case $ac_option in
 331
 332  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 333    ac_prev=bindir ;;
 334  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 335    bindir=$ac_optarg ;;
 336
 337  -build | --build | --buil | --bui | --bu)
 338    ac_prev=build_alias ;;
 339  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 340    build_alias=$ac_optarg ;;
 341
 342  -cache-file | --cache-file | --cache-fil | --cache-fi \
 343  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 344    ac_prev=cache_file ;;
 345  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 346  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 347    cache_file=$ac_optarg ;;
 348
 349  --config-cache | -C)
 350    cache_file=config.cache ;;
 351
 352  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 353    ac_prev=datadir ;;
 354  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 355  | --da=*)
 356    datadir=$ac_optarg ;;
 357
 358  -disable-* | --disable-*)
 359    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 360    # Reject names that are not valid shell variable names.
 361    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 362      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 363   { (exit 1); exit 1; }; }
 364    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 365    eval "enable_$ac_feature=no" ;;
 366
 367  -enable-* | --enable-*)
 368    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 369    # Reject names that are not valid shell variable names.
 370    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 371      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 372   { (exit 1); exit 1; }; }
 373    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 374    case $ac_option in
 375      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 376      *) ac_optarg=yes ;;
 377    esac
 378    eval "enable_$ac_feature='$ac_optarg'" ;;
 379
 380  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 381  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 382  | --exec | --exe | --ex)
 383    ac_prev=exec_prefix ;;
 384  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 385  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 386  | --exec=* | --exe=* | --ex=*)
 387    exec_prefix=$ac_optarg ;;
 388
 389  -gas | --gas | --ga | --g)
 390    # Obsolete; use --with-gas.
 391    with_gas=yes ;;
 392
 393  -help | --help | --hel | --he | -h)
 394    ac_init_help=long ;;
 395  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 396    ac_init_help=recursive ;;
 397  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 398    ac_init_help=short ;;
 399
 400  -host | --host | --hos | --ho)
 401    ac_prev=host_alias ;;
 402  -host=* | --host=* | --hos=* | --ho=*)
 403    host_alias=$ac_optarg ;;
 404
 405  -includedir | --includedir | --includedi | --included | --include \
 406  | --includ | --inclu | --incl | --inc)
 407    ac_prev=includedir ;;
 408  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 409  | --includ=* | --inclu=* | --incl=* | --inc=*)
 410    includedir=$ac_optarg ;;
 411
 412  -infodir | --infodir | --infodi | --infod | --info | --inf)
 413    ac_prev=infodir ;;
 414  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 415    infodir=$ac_optarg ;;
 416
 417  -libdir | --libdir | --libdi | --libd)
 418    ac_prev=libdir ;;
 419  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 420    libdir=$ac_optarg ;;
 421
 422  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 423  | --libexe | --libex | --libe)
 424    ac_prev=libexecdir ;;
 425  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 426  | --libexe=* | --libex=* | --libe=*)
 427    libexecdir=$ac_optarg ;;
 428
 429  -localstatedir | --localstatedir | --localstatedi | --localstated \
 430  | --localstate | --localstat | --localsta | --localst \
 431  | --locals | --local | --loca | --loc | --lo)
 432    ac_prev=localstatedir ;;
 433  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 434  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 435  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 436    localstatedir=$ac_optarg ;;
 437
 438  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 439    ac_prev=mandir ;;
 440  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 441    mandir=$ac_optarg ;;
 442
 443  -nfp | --nfp | --nf)
 444    # Obsolete; use --without-fp.
 445    with_fp=no ;;
 446
 447  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 448  | --no-cr | --no-c | -n)
 449    no_create=yes ;;
 450
 451  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 452  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 453    no_recursion=yes ;;
 454
 455  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 456  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 457  | --oldin | --oldi | --old | --ol | --o)
 458    ac_prev=oldincludedir ;;
 459  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 460  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 461  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 462    oldincludedir=$ac_optarg ;;
 463
 464  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 465    ac_prev=prefix ;;
 466  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 467    prefix=$ac_optarg ;;
 468
 469  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 470  | --program-pre | --program-pr | --program-p)
 471    ac_prev=program_prefix ;;
 472  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 473  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 474    program_prefix=$ac_optarg ;;
 475
 476  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 477  | --program-suf | --program-su | --program-s)
 478    ac_prev=program_suffix ;;
 479  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 480  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 481    program_suffix=$ac_optarg ;;
 482
 483  -program-transform-name | --program-transform-name \
 484  | --program-transform-nam | --program-transform-na \
 485  | --program-transform-n | --program-transform- \
 486  | --program-transform | --program-transfor \
 487  | --program-transfo | --program-transf \
 488  | --program-trans | --program-tran \
 489  | --progr-tra | --program-tr | --program-t)
 490    ac_prev=program_transform_name ;;
 491  -program-transform-name=* | --program-transform-name=* \
 492  | --program-transform-nam=* | --program-transform-na=* \
 493  | --program-transform-n=* | --program-transform-=* \
 494  | --program-transform=* | --program-transfor=* \
 495  | --program-transfo=* | --program-transf=* \
 496  | --program-trans=* | --program-tran=* \
 497  | --progr-tra=* | --program-tr=* | --program-t=*)
 498    program_transform_name=$ac_optarg ;;
 499
 500  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 501  | -silent | --silent | --silen | --sile | --sil)
 502    silent=yes ;;
 503
 504  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 505    ac_prev=sbindir ;;
 506  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 507  | --sbi=* | --sb=*)
 508    sbindir=$ac_optarg ;;
 509
 510  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 511  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 512  | --sharedst | --shareds | --shared | --share | --shar \
 513  | --sha | --sh)
 514    ac_prev=sharedstatedir ;;
 515  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 516  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 517  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 518  | --sha=* | --sh=*)
 519    sharedstatedir=$ac_optarg ;;
 520
 521  -site | --site | --sit)
 522    ac_prev=site ;;
 523  -site=* | --site=* | --sit=*)
 524    site=$ac_optarg ;;
 525
 526  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 527    ac_prev=srcdir ;;
 528  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 529    srcdir=$ac_optarg ;;
 530
 531  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 532  | --syscon | --sysco | --sysc | --sys | --sy)
 533    ac_prev=sysconfdir ;;
 534  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 535  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 536    sysconfdir=$ac_optarg ;;
 537
 538  -target | --target | --targe | --targ | --tar | --ta | --t)
 539    ac_prev=target_alias ;;
 540  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 541    target_alias=$ac_optarg ;;
 542
 543  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 544    verbose=yes ;;
 545
 546  -version | --version | --versio | --versi | --vers | -V)
 547    ac_init_version=: ;;
 548
 549  -with-* | --with-*)
 550    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 551    # Reject names that are not valid shell variable names.
 552    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 553      { echo "$as_me: error: invalid package name: $ac_package" >&2
 554   { (exit 1); exit 1; }; }
 555    ac_package=`echo $ac_package| sed 's/-/_/g'`
 556    case $ac_option in
 557      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 558      *) ac_optarg=yes ;;
 559    esac
 560    eval "with_$ac_package='$ac_optarg'" ;;
 561
 562  -without-* | --without-*)
 563    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 564    # Reject names that are not valid shell variable names.
 565    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 566      { echo "$as_me: error: invalid package name: $ac_package" >&2
 567   { (exit 1); exit 1; }; }
 568    ac_package=`echo $ac_package | sed 's/-/_/g'`
 569    eval "with_$ac_package=no" ;;
 570
 571  --x)
 572    # Obsolete; use --with-x.
 573    with_x=yes ;;
 574
 575  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 576  | --x-incl | --x-inc | --x-in | --x-i)
 577    ac_prev=x_includes ;;
 578  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 579  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 580    x_includes=$ac_optarg ;;
 581
 582  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 583  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 584    ac_prev=x_libraries ;;
 585  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 586  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 587    x_libraries=$ac_optarg ;;
 588
 589  -*) { echo "$as_me: error: unrecognized option: $ac_option
 590Try \`$0 --help' for more information." >&2
 591   { (exit 1); exit 1; }; }
 592    ;;
 593
 594  *=*)
 595    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 596    # Reject names that are not valid shell variable names.
 597    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 598      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 599   { (exit 1); exit 1; }; }
 600    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 601    eval "$ac_envvar='$ac_optarg'"
 602    export $ac_envvar ;;
 603
 604  *)
 605    # FIXME: should be removed in autoconf 3.0.
 606    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 607    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 608      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 609    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 610    ;;
 611
 612  esac
 613done
 614
 615if test -n "$ac_prev"; then
 616  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 617  { echo "$as_me: error: missing argument to $ac_option" >&2
 618   { (exit 1); exit 1; }; }
 619fi
 620
 621# Be sure to have absolute paths.
 622for ac_var in exec_prefix prefix
 623do
 624  eval ac_val=$`echo $ac_var`
 625  case $ac_val in
 626    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 627    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 628   { (exit 1); exit 1; }; };;
 629  esac
 630done
 631
 632# Be sure to have absolute paths.
 633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 634	      localstatedir libdir includedir oldincludedir infodir mandir
 635do
 636  eval ac_val=$`echo $ac_var`
 637  case $ac_val in
 638    [\\/$]* | ?:[\\/]* ) ;;
 639    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 640   { (exit 1); exit 1; }; };;
 641  esac
 642done
 643
 644# There might be people who depend on the old broken behavior: `$host'
 645# used to hold the argument of --host etc.
 646# FIXME: To remove some day.
 647build=$build_alias
 648host=$host_alias
 649target=$target_alias
 650
 651# FIXME: To remove some day.
 652if test "x$host_alias" != x; then
 653  if test "x$build_alias" = x; then
 654    cross_compiling=maybe
 655    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 656    If a cross compiler is detected then cross compile mode will be used." >&2
 657  elif test "x$build_alias" != "x$host_alias"; then
 658    cross_compiling=yes
 659  fi
 660fi
 661
 662ac_tool_prefix=
 663test -n "$host_alias" && ac_tool_prefix=$host_alias-
 664
 665test "$silent" = yes && exec 6>/dev/null
 666
 667
 668# Find the source files, if location was not specified.
 669if test -z "$srcdir"; then
 670  ac_srcdir_defaulted=yes
 671  # Try the directory containing this script, then its parent.
 672  ac_confdir=`(dirname "$0") 2>/dev/null ||
 673$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 674	 X"$0" : 'X\(//\)[^/]' \| \
 675	 X"$0" : 'X\(//\)$' \| \
 676	 X"$0" : 'X\(/\)' \| \
 677	 .     : '\(.\)' 2>/dev/null ||
 678echo X"$0" |
 679    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 680  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 681  	  /^X\(\/\/\)$/{ s//\1/; q; }
 682  	  /^X\(\/\).*/{ s//\1/; q; }
 683  	  s/.*/./; q'`
 684  srcdir=$ac_confdir
 685  if test ! -r $srcdir/$ac_unique_file; then
 686    srcdir=..
 687  fi
 688else
 689  ac_srcdir_defaulted=no
 690fi
 691if test ! -r $srcdir/$ac_unique_file; then
 692  if test "$ac_srcdir_defaulted" = yes; then
 693    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 694   { (exit 1); exit 1; }; }
 695  else
 696    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 697   { (exit 1); exit 1; }; }
 698  fi
 699fi
 700(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 701  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 702   { (exit 1); exit 1; }; }
 703srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 704ac_env_build_alias_set=${build_alias+set}
 705ac_env_build_alias_value=$build_alias
 706ac_cv_env_build_alias_set=${build_alias+set}
 707ac_cv_env_build_alias_value=$build_alias
 708ac_env_host_alias_set=${host_alias+set}
 709ac_env_host_alias_value=$host_alias
 710ac_cv_env_host_alias_set=${host_alias+set}
 711ac_cv_env_host_alias_value=$host_alias
 712ac_env_target_alias_set=${target_alias+set}
 713ac_env_target_alias_value=$target_alias
 714ac_cv_env_target_alias_set=${target_alias+set}
 715ac_cv_env_target_alias_value=$target_alias
 716ac_env_CC_set=${CC+set}
 717ac_env_CC_value=$CC
 718ac_cv_env_CC_set=${CC+set}
 719ac_cv_env_CC_value=$CC
 720ac_env_CFLAGS_set=${CFLAGS+set}
 721ac_env_CFLAGS_value=$CFLAGS
 722ac_cv_env_CFLAGS_set=${CFLAGS+set}
 723ac_cv_env_CFLAGS_value=$CFLAGS
 724ac_env_LDFLAGS_set=${LDFLAGS+set}
 725ac_env_LDFLAGS_value=$LDFLAGS
 726ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 727ac_cv_env_LDFLAGS_value=$LDFLAGS
 728ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 729ac_env_CPPFLAGS_value=$CPPFLAGS
 730ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 731ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 732ac_env_CPP_set=${CPP+set}
 733ac_env_CPP_value=$CPP
 734ac_cv_env_CPP_set=${CPP+set}
 735ac_cv_env_CPP_value=$CPP
 736
 737#
 738# Report the --help message.
 739#
 740if test "$ac_init_help" = "long"; then
 741  # Omit some internal or obsolete options to make the list less imposing.
 742  # This message is too long to be a string in the A/UX 3.1 sh.
 743  cat <<_ACEOF
 744\`configure' configures this package to adapt to many kinds of systems.
 745
 746Usage: $0 [OPTION]... [VAR=VALUE]...
 747
 748To assign environment variables (e.g., CC, CFLAGS...), specify them as
 749VAR=VALUE.  See below for descriptions of some of the useful variables.
 750
 751Defaults for the options are specified in brackets.
 752
 753Configuration:
 754  -h, --help              display this help and exit
 755      --help=short        display options specific to this package
 756      --help=recursive    display the short help of all the included packages
 757  -V, --version           display version information and exit
 758  -q, --quiet, --silent   do not print \`checking...' messages
 759      --cache-file=FILE   cache test results in FILE [disabled]
 760  -C, --config-cache      alias for \`--cache-file=config.cache'
 761  -n, --no-create         do not create output files
 762      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 763
 764_ACEOF
 765
 766  cat <<_ACEOF
 767Installation directories:
 768  --prefix=PREFIX         install architecture-independent files in PREFIX
 769			  [$ac_default_prefix]
 770  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 771			  [PREFIX]
 772
 773By default, \`make install' will install all the files in
 774\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 775an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 776for instance \`--prefix=\$HOME'.
 777
 778For better control, use the options below.
 779
 780Fine tuning of the installation directories:
 781  --bindir=DIR           user executables [EPREFIX/bin]
 782  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 783  --libexecdir=DIR       program executables [EPREFIX/libexec]
 784  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 785  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 786  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 787  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 788  --libdir=DIR           object code libraries [EPREFIX/lib]
 789  --includedir=DIR       C header files [PREFIX/include]
 790  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 791  --infodir=DIR          info documentation [PREFIX/info]
 792  --mandir=DIR           man documentation [PREFIX/man]
 793_ACEOF
 794
 795  cat <<\_ACEOF
 796
 797System types:
 798  --build=BUILD     configure for building on BUILD [guessed]
 799  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 800  --target=TARGET   configure for building compilers for TARGET [HOST]
 801_ACEOF
 802fi
 803
 804if test -n "$ac_init_help"; then
 805
 806  cat <<\_ACEOF
 807
 808Some influential environment variables:
 809  CC          C compiler command
 810  CFLAGS      C compiler flags
 811  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 812              nonstandard directory <lib dir>
 813  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 814              headers in a nonstandard directory <include dir>
 815  CPP         C preprocessor
 816
 817Use these variables to override the choices made by `configure' or to help
 818it to find libraries and programs with nonstandard names/locations.
 819
 820_ACEOF
 821fi
 822
 823if test "$ac_init_help" = "recursive"; then
 824  # If there are subdirs, report their specific --help.
 825  ac_popdir=`pwd`
 826  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 827    test -d $ac_dir || continue
 828    ac_builddir=.
 829
 830if test "$ac_dir" != .; then
 831  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 832  # A "../" for each directory in $ac_dir_suffix.
 833  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 834else
 835  ac_dir_suffix= ac_top_builddir=
 836fi
 837
 838case $srcdir in
 839  .)  # No --srcdir option.  We are building in place.
 840    ac_srcdir=.
 841    if test -z "$ac_top_builddir"; then
 842       ac_top_srcdir=.
 843    else
 844       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 845    fi ;;
 846  [\\/]* | ?:[\\/]* )  # Absolute path.
 847    ac_srcdir=$srcdir$ac_dir_suffix;
 848    ac_top_srcdir=$srcdir ;;
 849  *) # Relative path.
 850    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 851    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 852esac
 853
 854# Do not use `cd foo && pwd` to compute absolute paths, because
 855# the directories may not exist.
 856case `pwd` in
 857.) ac_abs_builddir="$ac_dir";;
 858*)
 859  case "$ac_dir" in
 860  .) ac_abs_builddir=`pwd`;;
 861  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 862  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 863  esac;;
 864esac
 865case $ac_abs_builddir in
 866.) ac_abs_top_builddir=${ac_top_builddir}.;;
 867*)
 868  case ${ac_top_builddir}. in
 869  .) ac_abs_top_builddir=$ac_abs_builddir;;
 870  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 871  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 872  esac;;
 873esac
 874case $ac_abs_builddir in
 875.) ac_abs_srcdir=$ac_srcdir;;
 876*)
 877  case $ac_srcdir in
 878  .) ac_abs_srcdir=$ac_abs_builddir;;
 879  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 880  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 881  esac;;
 882esac
 883case $ac_abs_builddir in
 884.) ac_abs_top_srcdir=$ac_top_srcdir;;
 885*)
 886  case $ac_top_srcdir in
 887  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 888  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 889  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 890  esac;;
 891esac
 892
 893    cd $ac_dir
 894    # Check for guested configure; otherwise get Cygnus style configure.
 895    if test -f $ac_srcdir/configure.gnu; then
 896      echo
 897      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 898    elif test -f $ac_srcdir/configure; then
 899      echo
 900      $SHELL $ac_srcdir/configure  --help=recursive
 901    elif test -f $ac_srcdir/configure.ac ||
 902	   test -f $ac_srcdir/configure.in; then
 903      echo
 904      $ac_configure --help
 905    else
 906      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 907    fi
 908    cd $ac_popdir
 909  done
 910fi
 911
 912test -n "$ac_init_help" && exit 0
 913if $ac_init_version; then
 914  cat <<\_ACEOF
 915
 916Copyright (C) 2003 Free Software Foundation, Inc.
 917This configure script is free software; the Free Software Foundation
 918gives unlimited permission to copy, distribute and modify it.
 919_ACEOF
 920  exit 0
 921fi
 922exec 5>config.log
 923cat >&5 <<_ACEOF
 924This file contains any messages produced by compilers while
 925running configure, to aid debugging if configure makes a mistake.
 926
 927It was created by $as_me, which was
 928generated by GNU Autoconf 2.59.  Invocation command line was
 929
 930  $ $0 $@
 931
 932_ACEOF
 933{
 934cat <<_ASUNAME
 935## --------- ##
 936## Platform. ##
 937## --------- ##
 938
 939hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 940uname -m = `(uname -m) 2>/dev/null || echo unknown`
 941uname -r = `(uname -r) 2>/dev/null || echo unknown`
 942uname -s = `(uname -s) 2>/dev/null || echo unknown`
 943uname -v = `(uname -v) 2>/dev/null || echo unknown`
 944
 945/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 946/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 947
 948/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 949/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 950/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 951hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 952/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 953/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 954/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 955
 956_ASUNAME
 957
 958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 959for as_dir in $PATH
 960do
 961  IFS=$as_save_IFS
 962  test -z "$as_dir" && as_dir=.
 963  echo "PATH: $as_dir"
 964done
 965
 966} >&5
 967
 968cat >&5 <<_ACEOF
 969
 970
 971## ----------- ##
 972## Core tests. ##
 973## ----------- ##
 974
 975_ACEOF
 976
 977
 978# Keep a trace of the command line.
 979# Strip out --no-create and --no-recursion so they do not pile up.
 980# Strip out --silent because we don't want to record it for future runs.
 981# Also quote any args containing shell meta-characters.
 982# Make two passes to allow for proper duplicate-argument suppression.
 983ac_configure_args=
 984ac_configure_args0=
 985ac_configure_args1=
 986ac_sep=
 987ac_must_keep_next=false
 988for ac_pass in 1 2
 989do
 990  for ac_arg
 991  do
 992    case $ac_arg in
 993    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 994    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 995    | -silent | --silent | --silen | --sile | --sil)
 996      continue ;;
 997    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 998      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 999    esac
1000    case $ac_pass in
1001    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1002    2)
1003      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1004      if test $ac_must_keep_next = true; then
1005	ac_must_keep_next=false # Got value, back to normal.
1006      else
1007	case $ac_arg in
1008	  *=* | --config-cache | -C | -disable-* | --disable-* \
1009	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1010	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1011	  | -with-* | --with-* | -without-* | --without-* | --x)
1012	    case "$ac_configure_args0 " in
1013	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1014	    esac
1015	    ;;
1016	  -* ) ac_must_keep_next=true ;;
1017	esac
1018      fi
1019      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1020      # Get rid of the leading space.
1021      ac_sep=" "
1022      ;;
1023    esac
1024  done
1025done
1026$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1027$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1028
1029# When interrupted or exit'd, cleanup temporary files, and complete
1030# config.log.  We remove comments because anyway the quotes in there
1031# would cause problems or look ugly.
1032# WARNING: Be sure not to use single quotes in there, as some shells,
1033# such as our DU 5.0 friend, will then `close' the trap.
1034trap 'exit_status=$?
1035  # Save into config.log some information that might help in debugging.
1036  {
1037    echo
1038
1039    cat <<\_ASBOX
1040## ---------------- ##
1041## Cache variables. ##
1042## ---------------- ##
1043_ASBOX
1044    echo
1045    # The following way of writing the cache mishandles newlines in values,
1046{
1047  (set) 2>&1 |
1048    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1049    *ac_space=\ *)
1050      sed -n \
1051	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1052	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1053      ;;
1054    *)
1055      sed -n \
1056	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1057      ;;
1058    esac;
1059}
1060    echo
1061
1062    cat <<\_ASBOX
1063## ----------------- ##
1064## Output variables. ##
1065## ----------------- ##
1066_ASBOX
1067    echo
1068    for ac_var in $ac_subst_vars
1069    do
1070      eval ac_val=$`echo $ac_var`
1071      echo "$ac_var='"'"'$ac_val'"'"'"
1072    done | sort
1073    echo
1074
1075    if test -n "$ac_subst_files"; then
1076      cat <<\_ASBOX
1077## ------------- ##
1078## Output files. ##
1079## ------------- ##
1080_ASBOX
1081      echo
1082      for ac_var in $ac_subst_files
1083      do
1084	eval ac_val=$`echo $ac_var`
1085	echo "$ac_var='"'"'$ac_val'"'"'"
1086      done | sort
1087      echo
1088    fi
1089
1090    if test -s confdefs.h; then
1091      cat <<\_ASBOX
1092## ----------- ##
1093## confdefs.h. ##
1094## ----------- ##
1095_ASBOX
1096      echo
1097      sed "/^$/d" confdefs.h | sort
1098      echo
1099    fi
1100    test "$ac_signal" != 0 &&
1101      echo "$as_me: caught signal $ac_signal"
1102    echo "$as_me: exit $exit_status"
1103  } >&5
1104  rm -f core *.core &&
1105  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1106    exit $exit_status
1107     ' 0
1108for ac_signal in 1 2 13 15; do
1109  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1110done
1111ac_signal=0
1112
1113# confdefs.h avoids OS command line length limits that DEFS can exceed.
1114rm -rf conftest* confdefs.h
1115# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1116echo >confdefs.h
1117
1118# Predefined preprocessor variables.
1119
1120cat >>confdefs.h <<_ACEOF
1121#define PACKAGE_NAME "$PACKAGE_NAME"
1122_ACEOF
1123
1124
1125cat >>confdefs.h <<_ACEOF
1126#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1127_ACEOF
1128
1129
1130cat >>confdefs.h <<_ACEOF
1131#define PACKAGE_VERSION "$PACKAGE_VERSION"
1132_ACEOF
1133
1134
1135cat >>confdefs.h <<_ACEOF
1136#define PACKAGE_STRING "$PACKAGE_STRING"
1137_ACEOF
1138
1139
1140cat >>confdefs.h <<_ACEOF
1141#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1142_ACEOF
1143
1144
1145# Let the site file select an alternate cache file if it wants to.
1146# Prefer explicitly selected file to automatically selected ones.
1147if test -z "$CONFIG_SITE"; then
1148  if test "x$prefix" != xNONE; then
1149    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1150  else
1151    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1152  fi
1153fi
1154for ac_site_file in $CONFIG_SITE; do
1155  if test -r "$ac_site_file"; then
1156    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1157echo "$as_me: loading site script $ac_site_file" >&6;}
1158    sed 's/^/| /' "$ac_site_file" >&5
1159    . "$ac_site_file"
1160  fi
1161done
1162
1163if test -r "$cache_file"; then
1164  # Some versions of bash will fail to source /dev/null (special
1165  # files actually), so we avoid doing that.
1166  if test -f "$cache_file"; then
1167    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1168echo "$as_me: loading cache $cache_file" >&6;}
1169    case $cache_file in
1170      [\\/]* | ?:[\\/]* ) . $cache_file;;
1171      *)                      . ./$cache_file;;
1172    esac
1173  fi
1174else
1175  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1176echo "$as_me: creating cache $cache_file" >&6;}
1177  >$cache_file
1178fi
1179
1180# Check that the precious variables saved in the cache have kept the same
1181# value.
1182ac_cache_corrupted=false
1183for ac_var in `(set) 2>&1 |
1184	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1185  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1186  eval ac_new_set=\$ac_env_${ac_var}_set
1187  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1188  eval ac_new_val="\$ac_env_${ac_var}_value"
1189  case $ac_old_set,$ac_new_set in
1190    set,)
1191      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1192echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1193      ac_cache_corrupted=: ;;
1194    ,set)
1195      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1196echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1197      ac_cache_corrupted=: ;;
1198    ,);;
1199    *)
1200      if test "x$ac_old_val" != "x$ac_new_val"; then
1201	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1202echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1203	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1204echo "$as_me:   former value:  $ac_old_val" >&2;}
1205	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1206echo "$as_me:   current value: $ac_new_val" >&2;}
1207	ac_cache_corrupted=:
1208      fi;;
1209  esac
1210  # Pass precious variables to config.status.
1211  if test "$ac_new_set" = set; then
1212    case $ac_new_val in
1213    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1214      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1215    *) ac_arg=$ac_var=$ac_new_val ;;
1216    esac
1217    case " $ac_configure_args " in
1218      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1219      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1220    esac
1221  fi
1222done
1223if $ac_cache_corrupted; then
1224  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1225echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1226  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1227echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1228   { (exit 1); exit 1; }; }
1229fi
1230
1231ac_ext=c
1232ac_cpp='$CPP $CPPFLAGS'
1233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1235ac_compiler_gnu=$ac_cv_c_compiler_gnu
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257ac_aux_dir=
1258for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1259  if test -f $ac_dir/install-sh; then
1260    ac_aux_dir=$ac_dir
1261    ac_install_sh="$ac_aux_dir/install-sh -c"
1262    break
1263  elif test -f $ac_dir/install.sh; then
1264    ac_aux_dir=$ac_dir
1265    ac_install_sh="$ac_aux_dir/install.sh -c"
1266    break
1267  elif test -f $ac_dir/shtool; then
1268    ac_aux_dir=$ac_dir
1269    ac_install_sh="$ac_aux_dir/shtool install -c"
1270    break
1271  fi
1272done
1273if test -z "$ac_aux_dir"; then
1274  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1275echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1276   { (exit 1); exit 1; }; }
1277fi
1278ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1279ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1280ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1281
1282# Make sure we can run config.sub.
1283$ac_config_sub sun4 >/dev/null 2>&1 ||
1284  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1285echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1286   { (exit 1); exit 1; }; }
1287
1288echo "$as_me:$LINENO: checking build system type" >&5
1289echo $ECHO_N "checking build system type... $ECHO_C" >&6
1290if test "${ac_cv_build+set}" = set; then
1291  echo $ECHO_N "(cached) $ECHO_C" >&6
1292else
1293  ac_cv_build_alias=$build_alias
1294test -z "$ac_cv_build_alias" &&
1295  ac_cv_build_alias=`$ac_config_guess`
1296test -z "$ac_cv_build_alias" &&
1297  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1298echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1299   { (exit 1); exit 1; }; }
1300ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1301  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1302echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1303   { (exit 1); exit 1; }; }
1304
1305fi
1306echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1307echo "${ECHO_T}$ac_cv_build" >&6
1308build=$ac_cv_build
1309build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1310build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1311build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1312
1313
1314echo "$as_me:$LINENO: checking host system type" >&5
1315echo $ECHO_N "checking host system type... $ECHO_C" >&6
1316if test "${ac_cv_host+set}" = set; then
1317  echo $ECHO_N "(cached) $ECHO_C" >&6
1318else
1319  ac_cv_host_alias=$host_alias
1320test -z "$ac_cv_host_alias" &&
1321  ac_cv_host_alias=$ac_cv_build_alias
1322ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1323  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1324echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1325   { (exit 1); exit 1; }; }
1326
1327fi
1328echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1329echo "${ECHO_T}$ac_cv_host" >&6
1330host=$ac_cv_host
1331host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1332host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1333host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1334
1335
1336echo "$as_me:$LINENO: checking target system type" >&5
1337echo $ECHO_N "checking target system type... $ECHO_C" >&6
1338if test "${ac_cv_target+set}" = set; then
1339  echo $ECHO_N "(cached) $ECHO_C" >&6
1340else
1341  ac_cv_target_alias=$target_alias
1342test "x$ac_cv_target_alias" = "x" &&
1343  ac_cv_target_alias=$ac_cv_host_alias
1344ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1345  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1346echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1347   { (exit 1); exit 1; }; }
1348
1349fi
1350echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1351echo "${ECHO_T}$ac_cv_target" >&6
1352target=$ac_cv_target
1353target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1354target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1355target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1356
1357
1358# The aliases save the names the user supplied, while $host etc.
1359# will get canonicalized.
1360test -n "$target_alias" &&
1361  test "$program_prefix$program_suffix$program_transform_name" = \
1362    NONENONEs,x,x, &&
1363  program_prefix=${target_alias}-
1364cat >>confdefs.h <<_ACEOF
1365#define CPU_VENDOR_OS "$target"
1366_ACEOF
1367
1368
1369
1370  # Extract the first word of "erl", so it can be a program name with args.
1371set dummy erl; ac_word=$2
1372echo "$as_me:$LINENO: checking for $ac_word" >&5
1373echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1374if test "${ac_cv_path_ERL+set}" = set; then
1375  echo $ECHO_N "(cached) $ECHO_C" >&6
1376else
1377  case $ERL in
1378  [\\/]* | ?:[\\/]*)
1379  ac_cv_path_ERL="$ERL" # Let the user override the test with a path.
1380  ;;
1381  *)
1382  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1383for as_dir in $PATH
1384do
1385  IFS=$as_save_IFS
1386  test -z "$as_dir" && as_dir=.
1387  for ac_exec_ext in '' $ac_executable_extensions; do
1388  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1389    ac_cv_path_ERL="$as_dir/$ac_word$ac_exec_ext"
1390    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1391    break 2
1392  fi
1393done
1394done
1395
1396  test -z "$ac_cv_path_ERL" && ac_cv_path_ERL="no"
1397  ;;
1398esac
1399fi
1400ERL=$ac_cv_path_ERL
1401
1402if test -n "$ERL"; then
1403  echo "$as_me:$LINENO: result: $ERL" >&5
1404echo "${ECHO_T}$ERL" >&6
1405else
1406  echo "$as_me:$LINENO: result: no" >&5
1407echo "${ECHO_T}no" >&6
1408fi
1409
1410  case $ERL in
1411      /*)
1412	# Ok
1413	;;
1414      no)
1415        # Not found
1416        { { echo "$as_me:$LINENO: error: \"ERL not found in path!\"" >&5
1417echo "$as_me: error: \"ERL not found in path!\"" >&2;}
1418   { (exit 1); exit 1; }; }
1419        ;;
1420      *)
1421        # Not an absoluet path
1422        { { echo "$as_me:$LINENO: error: \"Could not find absolute path to ERL\"" >&5
1423echo "$as_me: error: \"Could not find absolute path to ERL\"" >&2;}
1424   { (exit 1); exit 1; }; }
1425        ;;
1426  esac
1427
1428
1429  # Extract the first word of "erlc", so it can be a program name with args.
1430set dummy erlc; ac_word=$2
1431echo "$as_me:$LINENO: checking for $ac_word" >&5
1432echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1433if test "${ac_cv_path_ERLC+set}" = set; then
1434  echo $ECHO_N "(cached) $ECHO_C" >&6
1435else
1436  case $ERLC in
1437  [\\/]* | ?:[\\/]*)
1438  ac_cv_path_ERLC="$ERLC" # Let the user override the test with a path.
1439  ;;
1440  *)
1441  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1442for as_dir in $PATH
1443do
1444  IFS=$as_save_IFS
1445  test -z "$as_dir" && as_dir=.
1446  for ac_exec_ext in '' $ac_executable_extensions; do
1447  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1448    ac_cv_path_ERLC="$as_dir/$ac_word$ac_exec_ext"
1449    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1450    break 2
1451  fi
1452done
1453done
1454
1455  test -z "$ac_cv_path_ERLC" && ac_cv_path_ERLC="no"
1456  ;;
1457esac
1458fi
1459ERLC=$ac_cv_path_ERLC
1460
1461if test -n "$ERLC"; then
1462  echo "$as_me:$LINENO: result: $ERLC" >&5
1463echo "${ECHO_T}$ERLC" >&6
1464else
1465  echo "$as_me:$LINENO: result: no" >&5
1466echo "${ECHO_T}no" >&6
1467fi
1468
1469  case $ERLC in
1470      /*)
1471	# Ok
1472	;;
1473      no)
1474        # Not found
1475        { { echo "$as_me:$LINENO: error: \"ERLC not found in path!\"" >&5
1476echo "$as_me: error: \"ERLC not found in path!\"" >&2;}
1477   { (exit 1); exit 1; }; }
1478        ;;
1479      *)
1480        # Not an absoluet path
1481        { { echo "$as_me:$LINENO: error: \"Could not find absolute path to ERLC\"" >&5
1482echo "$as_me: error: \"Could not find absolute path to ERLC\"" >&2;}
1483   { (exit 1); exit 1; }; }
1484        ;;
1485  esac
1486
1487
1488
1489
1490
1491
1492    case "$target_os" in
1493	*cygwin*)
1494	  ERLDIR=`echo ${ERL} | sed 's/\/erts.*//'`
1495          ERL_DLL_LIB=`ntpath.sh ${ERLDIR}/usr/lib/erl_dll.lib`
1496
1497	;;
1498	*)
1499    	  ERLDIR=`awk -F= '/ROOTDIR=/ { print $2; exit; }' $ERL`;;
1500    esac
1501
1502    if test ! -d $ERLDIR ; then
1503	{ { echo "$as_me:$LINENO: error: Broken Erlang installation, $ERLDIR does not exist!" >&5
1504echo "$as_me: error: Broken Erlang installation, $ERLDIR does not exist!" >&2;}
1505   { (exit 1); exit 1; }; }
1506    fi
1507
1508
1509
1510ERL_INTERFACE_DIR=`echo ${ERLDIR}/lib/erl_interface-* | sort -r | sed 1q`
1511
1512ERL_INTERFACE_LIB=${ERL_INTERFACE_DIR}/lib
1513    case $target_os in
1514       *cygwin*)
1515          ERL_INTERFACE_LIBS=`./ntpath.sh "$ERL_INTERFACE_LIB/erl_interface.lib $ERL_INTERFACE_LIB/ei.lib"`;;
1516	*)
1517	  ERL_INTERFACE_LIBS="-lerl_interface -lei ";;
1518    esac
1519
1520
1521ERL_INTERFACE_INCLUDE=${ERL_INTERFACE_DIR}/include
1522
1523
1524
1525case "$target_os" in
1526     *cygwin*)
1527        WIN32=win32
1528	cat >>confdefs.h <<\_ACEOF
1529#define WIN32 1
1530_ACEOF
1531
1532
1533
1534	STRIP=echo
1535
1536
1537	OUT="/out:"
1538
1539
1540
1541
1542	EXE=.exe
1543
1544
1545	DLL=dll
1546
1547
1548	OBJ=obj
1549
1550	;;
1551      *)
1552	ac_ext=c
1553ac_cpp='$CPP $CPPFLAGS'
1554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1556ac_compiler_gnu=$ac_cv_c_compiler_gnu
1557if test -n "$ac_tool_prefix"; then
1558  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1559set dummy ${ac_tool_prefix}gcc; ac_word=$2
1560echo "$as_me:$LINENO: checking for $ac_word" >&5
1561echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1562if test "${ac_cv_prog_CC+set}" = set; then
1563  echo $ECHO_N "(cached) $ECHO_C" >&6
1564else
1565  if test -n "$CC"; then
1566  ac_cv_prog_CC="$CC" # Let the user override the test.
1567else
1568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569for as_dir in $PATH
1570do
1571  IFS=$as_save_IFS
1572  test -z "$as_dir" && as_dir=.
1573  for ac_exec_ext in '' $ac_executable_extensions; do
1574  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1575    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1576    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577    break 2
1578  fi
1579done
1580done
1581
1582fi
1583fi
1584CC=$ac_cv_prog_CC
1585if test -n "$CC"; then
1586  echo "$as_me:$LINENO: result: $CC" >&5
1587echo "${ECHO_T}$CC" >&6
1588else
1589  echo "$as_me:$LINENO: result: no" >&5
1590echo "${ECHO_T}no" >&6
1591fi
1592
1593fi
1594if test -z "$ac_cv_prog_CC"; then
1595  ac_ct_CC=$CC
1596  # Extract the first word of "gcc", so it can be a program name with args.
1597set dummy gcc; ac_word=$2
1598echo "$as_me:$LINENO: checking for $ac_word" >&5
1599echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1601  echo $ECHO_N "(cached) $ECHO_C" >&6
1602else
1603  if test -n "$ac_ct_CC"; then
1604  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1605else
1606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1607for as_dir in $PATH
1608do
1609  IFS=$as_save_I

Large files files are truncated, but you can click here to view the full file