home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / CLISP-2.LHA / CLISP960530-ki.lha / ffcall / configure < prev    next >
Encoding:
Text File  |  1996-06-12  |  27.9 KB  |  846 lines

  1. #! /bin/sh
  2. unalias echo
  3.  
  4. # Guess values for system-dependent variables and create Makefiles.
  5. # Generated automatically using autoconf version 2.7 
  6. # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  7. #
  8. # This configure script is free software; the Free Software Foundation
  9. # gives unlimited permission to copy, distribute and modify it.
  10.  
  11. # Defaults:
  12. ac_help=
  13. ac_default_prefix=/usr/local
  14. # Any additions from configure.in:
  15.  
  16. # Initialize some variables set by options.
  17. # The variables have the same names as the options, with
  18. # dashes changed to underlines.
  19. build=NONE
  20. cache_file=./config.cache
  21. exec_prefix=NONE
  22. host=NONE
  23. no_create=
  24. nonopt=NONE
  25. no_recursion=
  26. prefix=NONE
  27. program_prefix=NONE
  28. program_suffix=NONE
  29. program_transform_name=s,x,x,
  30. silent=
  31. site=
  32. srcdir=
  33. target=NONE
  34. verbose=
  35. x_includes=NONE
  36. x_libraries=NONE
  37. bindir='${exec_prefix}/bin'
  38. sbindir='${exec_prefix}/sbin'
  39. libexecdir='${exec_prefix}/libexec'
  40. datadir='${prefix}/share'
  41. sysconfdir='${prefix}/etc'
  42. sharedstatedir='${prefix}/com'
  43. localstatedir='${prefix}/var'
  44. libdir='${exec_prefix}/lib'
  45. includedir='${prefix}/include'
  46. oldincludedir='/usr/include'
  47. infodir='${prefix}/info'
  48. mandir='${prefix}/man'
  49.  
  50. # Initialize some other variables.
  51. subdirs=
  52. MFLAGS= MAKEFLAGS=
  53.  
  54. ac_prev=
  55. for ac_option
  56. do
  57.  
  58.   # If the previous option needs an argument, assign it.
  59.   if test -n "$ac_prev"; then
  60.     eval "$ac_prev=\$ac_option"
  61.     ac_prev=
  62.     continue
  63.   fi
  64.  
  65.   case "$ac_option" in
  66.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  67.   *) ac_optarg= ;;
  68.   esac
  69.  
  70.   # Accept the important Cygnus configure options, so we can diagnose typos.
  71.  
  72.   case "$ac_option" in
  73.  
  74.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  75.     ac_prev=bindir ;;
  76.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  77.     bindir="$ac_optarg" ;;
  78.  
  79.   -build | --build | --buil | --bui | --bu)
  80.     ac_prev=build ;;
  81.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  82.     build="$ac_optarg" ;;
  83.  
  84.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  85.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  86.     ac_prev=cache_file ;;
  87.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  88.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  89.     cache_file="$ac_optarg" ;;
  90.  
  91.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  92.     ac_prev=datadir ;;
  93.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  94.   | --da=*)
  95.     datadir="$ac_optarg" ;;
  96.  
  97.   -disable-* | --disable-*)
  98.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  99.     # Reject names that are not valid shell variable names.
  100.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  101.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  102.     fi
  103.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  104.     eval "enable_${ac_feature}=no" ;;
  105.  
  106.   -enable-* | --enable-*)
  107.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  108.     # Reject names that are not valid shell variable names.
  109.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  110.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  111.     fi
  112.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  113.     case "$ac_option" in
  114.       *=*) ;;
  115.       *) ac_optarg=yes ;;
  116.     esac
  117.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  118.  
  119.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  120.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  121.   | --exec | --exe | --ex)
  122.     ac_prev=exec_prefix ;;
  123.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  124.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  125.   | --exec=* | --exe=* | --ex=*)
  126.     exec_prefix="$ac_optarg" ;;
  127.  
  128.   -gas | --gas | --ga | --g)
  129.     # Obsolete; use --with-gas.
  130.     with_gas=yes ;;
  131.  
  132.   -help | --help | --hel | --he)
  133.     # Omit some internal or obsolete options to make the list less imposing.
  134.     # This message is too long to be a string in the A/UX 3.1 sh.
  135.     cat << EOF
  136. Usage: configure [options] [host]
  137. Options: [defaults in brackets after descriptions]
  138. Configuration:
  139.   --cache-file=FILE       cache test results in FILE
  140.   --help                  print this message
  141.   --no-create             do not create output files
  142.   --quiet, --silent       do not print \`checking...' messages
  143.   --version               print the version of autoconf that created configure
  144. Directory and file names:
  145.   --prefix=PREFIX         install architecture-independent files in PREFIX
  146.                           [$ac_default_prefix]
  147.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  148.                           [same as prefix]
  149.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  150.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  151.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  152.   --datadir=DIR           read-only architecture-independent data in DIR
  153.                           [PREFIX/share]
  154.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  155.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  156.                           [PREFIX/com]
  157.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  158.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  159.   --includedir=DIR        C header files in DIR [PREFIX/include]
  160.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  161.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  162.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  163.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  164.   --program-prefix=PREFIX prepend PREFIX to installed program names
  165.   --program-suffix=SUFFIX append SUFFIX to installed program names
  166.   --program-transform-name=PROGRAM
  167.                           run sed PROGRAM on installed program names
  168. EOF
  169.     cat << EOF
  170. Host type:
  171.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  172.   --host=HOST             configure for HOST [guessed]
  173.   --target=TARGET         configure for TARGET [TARGET=HOST]
  174. Features and packages:
  175.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  176.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  177.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  178.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  179.   --x-includes=DIR        X include files are in DIR
  180.   --x-libraries=DIR       X library files are in DIR
  181. EOF
  182.     if test -n "$ac_help"; then
  183.       echo "--enable and --with options recognized:$ac_help"
  184.     fi
  185.     exit 0 ;;
  186.  
  187.   -host | --host | --hos | --ho)
  188.     ac_prev=host ;;
  189.   -host=* | --host=* | --hos=* | --ho=*)
  190.     host="$ac_optarg" ;;
  191.  
  192.   -includedir | --includedir | --includedi | --included | --include \
  193.   | --includ | --inclu | --incl | --inc)
  194.     ac_prev=includedir ;;
  195.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  196.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  197.     includedir="$ac_optarg" ;;
  198.  
  199.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  200.     ac_prev=infodir ;;
  201.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  202.     infodir="$ac_optarg" ;;
  203.  
  204.   -libdir | --libdir | --libdi | --libd)
  205.     ac_prev=libdir ;;
  206.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  207.     libdir="$ac_optarg" ;;
  208.  
  209.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  210.   | --libexe | --libex | --libe)
  211.     ac_prev=libexecdir ;;
  212.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  213.   | --libexe=* | --libex=* | --libe=*)
  214.     libexecdir="$ac_optarg" ;;
  215.  
  216.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  217.   | --localstate | --localstat | --localsta | --localst \
  218.   | --locals | --local | --loca | --loc | --lo)
  219.     ac_prev=localstatedir ;;
  220.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  221.   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  222.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  223.     localstatedir="$ac_optarg" ;;
  224.  
  225.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  226.     ac_prev=mandir ;;
  227.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  228.     mandir="$ac_optarg" ;;
  229.  
  230.   -nfp | --nfp | --nf)
  231.     # Obsolete; use --without-fp.
  232.     with_fp=no ;;
  233.  
  234.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  235.   | --no-cr | --no-c)
  236.     no_create=yes ;;
  237.  
  238.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  239.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  240.     no_recursion=yes ;;
  241.  
  242.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  243.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  244.   | --oldin | --oldi | --old | --ol | --o)
  245.     ac_prev=oldincludedir ;;
  246.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  247.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  248.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  249.     oldincludedir="$ac_optarg" ;;
  250.  
  251.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  252.     ac_prev=prefix ;;
  253.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  254.     prefix="$ac_optarg" ;;
  255.  
  256.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  257.   | --program-pre | --program-pr | --program-p)
  258.     ac_prev=program_prefix ;;
  259.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  260.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  261.     program_prefix="$ac_optarg" ;;
  262.  
  263.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  264.   | --program-suf | --program-su | --program-s)
  265.     ac_prev=program_suffix ;;
  266.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  267.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  268.     program_suffix="$ac_optarg" ;;
  269.  
  270.   -program-transform-name | --program-transform-name \
  271.   | --program-transform-nam | --program-transform-na \
  272.   | --program-transform-n | --program-transform- \
  273.   | --program-transform | --program-transfor \
  274.   | --program-transfo | --program-transf \
  275.   | --program-trans | --program-tran \
  276.   | --progr-tra | --program-tr | --program-t)
  277.     ac_prev=program_transform_name ;;
  278.   -program-transform-name=* | --program-transform-name=* \
  279.   | --program-transform-nam=* | --program-transform-na=* \
  280.   | --program-transform-n=* | --program-transform-=* \
  281.   | --program-transform=* | --program-transfor=* \
  282.   | --program-transfo=* | --program-transf=* \
  283.   | --program-trans=* | --program-tran=* \
  284.   | --progr-tra=* | --program-tr=* | --program-t=*)
  285.     program_transform_name="$ac_optarg" ;;
  286.  
  287.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  288.   | -silent | --silent | --silen | --sile | --sil)
  289.     silent=yes ;;
  290.  
  291.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  292.     ac_prev=sbindir ;;
  293.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  294.   | --sbi=* | --sb=*)
  295.     sbindir="$ac_optarg" ;;
  296.  
  297.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  298.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  299.   | --sharedst | --shareds | --shared | --share | --shar \
  300.   | --sha | --sh)
  301.     ac_prev=sharedstatedir ;;
  302.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  303.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  304.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  305.   | --sha=* | --sh=*)
  306.     sharedstatedir="$ac_optarg" ;;
  307.  
  308.   -site | --site | --sit)
  309.     ac_prev=site ;;
  310.   -site=* | --site=* | --sit=*)
  311.     site="$ac_optarg" ;;
  312.  
  313.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  314.     ac_prev=srcdir ;;
  315.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  316.     srcdir="$ac_optarg" ;;
  317.  
  318.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  319.   | --syscon | --sysco | --sysc | --sys | --sy)
  320.     ac_prev=sysconfdir ;;
  321.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  322.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  323.     sysconfdir="$ac_optarg" ;;
  324.  
  325.   -target | --target | --targe | --targ | --tar | --ta | --t)
  326.     ac_prev=target ;;
  327.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  328.     target="$ac_optarg" ;;
  329.  
  330.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  331.     verbose=yes ;;
  332.  
  333.   -version | --version | --versio | --versi | --vers)
  334.     echo "configure generated by autoconf version 2.7"
  335.     exit 0 ;;
  336.  
  337.   -with-* | --with-*)
  338.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  339.     # Reject names that are not valid shell variable names.
  340.     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  341.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  342.     fi
  343.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  344.     case "$ac_option" in
  345.       *=*) ;;
  346.       *) ac_optarg=yes ;;
  347.     esac
  348.     eval "with_${ac_package}='$ac_optarg'" ;;
  349.  
  350.   -without-* | --without-*)
  351.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  352.     # Reject names that are not valid shell variable names.
  353.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  354.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  355.     fi
  356.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  357.     eval "with_${ac_package}=no" ;;
  358.  
  359.   --x)
  360.     # Obsolete; use --with-x.
  361.     with_x=yes ;;
  362.  
  363.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  364.   | --x-incl | --x-inc | --x-in | --x-i)
  365.     ac_prev=x_includes ;;
  366.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  367.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  368.     x_includes="$ac_optarg" ;;
  369.  
  370.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  371.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  372.     ac_prev=x_libraries ;;
  373.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  374.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  375.     x_libraries="$ac_optarg" ;;
  376.  
  377.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  378.     ;;
  379.  
  380.   *)
  381.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  382.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  383.     fi
  384.     if test "x$nonopt" != xNONE; then
  385.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  386.     fi
  387.     nonopt="$ac_option"
  388.     ;;
  389.  
  390.   esac
  391. done
  392.  
  393. if test -n "$ac_prev"; then
  394.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  395. fi
  396.  
  397. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  398.  
  399. # File descriptor usage:
  400. # 0 standard input
  401. # 1 file creation
  402. # 2 errors and warnings
  403. # 3 some systems may open it to /dev/tty
  404. # 4 used on the Kubota Titan
  405. # 6 checking for... messages and results
  406. # 5 compiler messages saved in config.log
  407. if test "$silent" = yes; then
  408.   exec 6>/dev/null
  409. else
  410.   exec 6>&1
  411. fi
  412. exec 5>./config.log
  413.  
  414. echo "\
  415. This file contains any messages produced by compilers while
  416. running configure, to aid debugging if configure makes a mistake.
  417. " 1>&5
  418.  
  419. # Strip out --no-create and --no-recursion so they do not pile up.
  420. # Also quote any args containing shell metacharacters.
  421. ac_configure_args=
  422. for ac_arg
  423. do
  424.   case "$ac_arg" in
  425.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  426.   | --no-cr | --no-c) ;;
  427.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  428.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  429.   *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  430.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  431.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  432.   esac
  433. done
  434.  
  435. # NLS nuisances.
  436. # Only set LANG and LC_ALL to C if already set.
  437. # These must not be set unconditionally because not all systems understand
  438. # e.g. LANG=C (notably SCO).
  439. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  440. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  441.  
  442. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  443. rm -rf conftest* confdefs.h
  444. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  445. echo > confdefs.h
  446.  
  447. # A filename unique to this package, relative to the directory that
  448. # configure is in, which we can look for to find out if srcdir is correct.
  449. ac_unique_file=trampoline/trampoline.h.in
  450.  
  451. # Find the source files, if location was not specified.
  452. if test -z "$srcdir"; then
  453.   ac_srcdir_defaulted=yes
  454.   # Try the directory containing this script, then its parent.
  455.   ac_prog=$0
  456.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  457.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  458.   srcdir=$ac_confdir
  459.   if test ! -r $srcdir/$ac_unique_file; then
  460.     srcdir=..
  461.   fi
  462. else
  463.   ac_srcdir_defaulted=no
  464. fi
  465. if test ! -r $srcdir/$ac_unique_file; then
  466.   if test "$ac_srcdir_defaulted" = yes; then
  467.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  468.   else
  469.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  470.   fi
  471. fi
  472. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  473.  
  474. # Prefer explicitly selected file to automatically selected ones.
  475. if test -z "$CONFIG_SITE"; then
  476.   if test "x$prefix" != xNONE; then
  477.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  478.   else
  479.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  480.   fi
  481. fi
  482. for ac_site_file in $CONFIG_SITE; do
  483.   if test -r "$ac_site_file"; then
  484.     echo "loading site script $ac_site_file"
  485.     . "$ac_site_file"
  486.   fi
  487. done
  488.  
  489. if test -r "$cache_file"; then
  490.   echo "loading cache $cache_file"
  491.   . $cache_file
  492. else
  493.   echo "creating cache $cache_file"
  494.   > $cache_file
  495. fi
  496.  
  497. ac_ext=c
  498. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  499. ac_cpp='echo $CPP $CPPFLAGS 1>&5;
  500. $CPP $CPPFLAGS'
  501. ac_compile='echo ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5;
  502. ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
  503. ac_link='echo ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5;
  504. ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
  505.  
  506. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  507.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  508.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  509.     ac_n= ac_c='
  510. ' ac_t='    '
  511.   else
  512.     ac_n=-n ac_c= ac_t=
  513.   fi
  514. else
  515.   ac_n= ac_c='\c' ac_t=
  516. fi
  517.  
  518.  
  519. echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  520. set dummy ${MAKE-make}; ac_make=$2
  521. if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  522.   echo $ac_n "(cached) $ac_c" 1>&6
  523. else
  524.   cat > conftestmake <<\EOF
  525. all:
  526.     @echo 'ac_maketemp="${MAKE}"'
  527. EOF
  528. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  529. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  530. if test -n "$ac_maketemp"; then
  531.   eval ac_cv_prog_make_${ac_make}_set=yes
  532. else
  533.   eval ac_cv_prog_make_${ac_make}_set=no
  534. fi
  535. rm -f conftestmake
  536. fi
  537. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  538.   echo "$ac_t""yes" 1>&6
  539.   SET_MAKE=
  540. else
  541.   echo "$ac_t""no" 1>&6
  542.   SET_MAKE="MAKE=${MAKE-make}"
  543. fi
  544.  
  545. extrasub="$extrasub"'
  546. /@subdir@/{
  547. h
  548. g
  549. s/@subdir@/avcall/
  550. p
  551. g
  552. s/@subdir@/vacall/
  553. p
  554. g
  555. s/@subdir@/trampoline/
  556. p
  557. d
  558. }
  559. '
  560. trap '' 1 2 15
  561. cat > confcache <<\EOF
  562. # This file is a shell script that caches the results of configure
  563. # tests run on this system so they can be shared between configure
  564. # scripts and configure runs.  It is not useful on other systems.
  565. # If it contains results you don't want to keep, you may remove or edit it.
  566. #
  567. # By default, configure uses ./config.cache as the cache file,
  568. # creating it if it does not exist already.  You can give configure
  569. # the --cache-file=FILE option to use a different cache file; that is
  570. # what configure does when it calls configure scripts in
  571. # subdirectories, so they share the cache.
  572. # Giving --cache-file=/dev/null disables caching, for debugging configure.
  573. # config.status only pays attention to the cache file if you give it the
  574. # --recheck option to rerun configure.
  575. #
  576. EOF
  577. # Ultrix sh set writes to stderr and can't be redirected directly,
  578. # and sets the high bit in the cache file unless we assign to the vars.
  579. (set) 2>&1 |
  580. sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)='*\([^']*\)'*/\1=\${\1='\2'}/p" \
  581. >> confcache
  582. if cmp -s $cache_file confcache; then
  583.   :
  584. else
  585.   if test -w $cache_file; then
  586.     echo "updating cache $cache_file"
  587.     cat confcache > $cache_file
  588.   else
  589.     echo "not updating unwritable cache $cache_file"
  590.   fi
  591. fi
  592. rm -f confcache
  593.  
  594. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  595.  
  596. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  597. # Let make expand exec_prefix.
  598. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  599.  
  600. # Any assignment to VPATH causes Sun make to only execute
  601. # the first set of double-colon rules, so remove it if not needed.
  602. # If there is a colon in the path, we need to keep it.
  603. if test "x$srcdir" = x.; then
  604.   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  605. fi
  606.  
  607. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  608.  
  609. # Transform confdefs.h into DEFS.
  610. # Protect against shell expansion while executing Makefile rules.
  611. # Protect against Makefile macro expansion.
  612. cat > conftest.defs <<\EOF
  613. s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
  614. s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  615. s%\[%\\&%g
  616. s%\]%\\&%g
  617. s%\$%$$%g
  618. EOF
  619. DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  620. rm -f conftest.defs
  621.  
  622.  
  623. # Without the "./", some shells look in PATH for config.status.
  624. : ${CONFIG_STATUS=./config.status}
  625.  
  626. echo creating $CONFIG_STATUS
  627. rm -f $CONFIG_STATUS
  628. cat > $CONFIG_STATUS <<EOF
  629. #! /bin/sh
  630. # Generated automatically by configure.
  631. # Run this file to recreate the current configuration.
  632. # This directory was configured as follows,
  633. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  634. #
  635. # $0 $ac_configure_args
  636. #
  637. # Compiler output produced by configure, useful for debugging
  638. # configure, is in ./config.log if it exists.
  639.  
  640. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  641. for ac_option
  642. do
  643.   case "\$ac_option" in
  644.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  645.     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  646.     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  647.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  648.     echo "$CONFIG_STATUS generated by autoconf version 2.7"
  649.     exit 0 ;;
  650.   -help | --help | --hel | --he | --h)
  651.     echo "\$ac_cs_usage"; exit 0 ;;
  652.   *) echo "\$ac_cs_usage"; exit 1 ;;
  653.   esac
  654. done
  655.  
  656. ac_given_srcdir=$srcdir
  657.  
  658. trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  659. EOF
  660. cat >> $CONFIG_STATUS <<EOF
  661.  
  662. # Protect against being on the right side of a sed subst in config.status.
  663. sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  664.  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  665. $ac_vpsub
  666. $extrasub
  667. s%@CFLAGS@%$CFLAGS%g
  668. s%@CPPFLAGS@%$CPPFLAGS%g
  669. s%@CXXFLAGS@%$CXXFLAGS%g
  670. s%@DEFS@%$DEFS%g
  671. s%@LDFLAGS@%$LDFLAGS%g
  672. s%@LIBS@%$LIBS%g
  673. s%@exec_prefix@%$exec_prefix%g
  674. s%@prefix@%$prefix%g
  675. s%@program_transform_name@%$program_transform_name%g
  676. s%@bindir@%$bindir%g
  677. s%@sbindir@%$sbindir%g
  678. s%@libexecdir@%$libexecdir%g
  679. s%@datadir@%$datadir%g
  680. s%@sysconfdir@%$sysconfdir%g
  681. s%@sharedstatedir@%$sharedstatedir%g
  682. s%@localstatedir@%$localstatedir%g
  683. s%@libdir@%$libdir%g
  684. s%@includedir@%$includedir%g
  685. s%@oldincludedir@%$oldincludedir%g
  686. s%@infodir@%$infodir%g
  687. s%@mandir@%$mandir%g
  688. s%@SET_MAKE@%$SET_MAKE%g
  689.  
  690. CEOF
  691. EOF
  692. cat >> $CONFIG_STATUS <<EOF
  693.  
  694. CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
  695. EOF
  696. cat >> $CONFIG_STATUS <<\EOF
  697. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  698.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  699.   case "$ac_file" in
  700.   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  701.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  702.   *) ac_file_in="${ac_file}.in" ;;
  703.   esac
  704.  
  705.   # Adjust relative srcdir, etc. for subdirectories.
  706.  
  707.   # Remove last slash and all that follows it.  Not all systems have dirname.
  708.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  709.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  710.     # The file is in a subdirectory.
  711.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  712.     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  713.     # A "../" for each directory in $ac_dir_suffix.
  714.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  715.   else
  716.     ac_dir_suffix= ac_dots=
  717.   fi
  718.  
  719.   case "$ac_given_srcdir" in
  720.   .)  srcdir=.
  721.       if test -z "$ac_dots"; then top_srcdir=.
  722.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  723.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  724.   *) # Relative path.
  725.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  726.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  727.   esac
  728.  
  729.   echo creating "$ac_file"
  730.   rm -f "$ac_file"
  731.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  732.   case "$ac_file" in
  733.   *Makefile*) ac_comsub="1i\\
  734. # $configure_input" ;;
  735.   *) ac_comsub= ;;
  736.   esac
  737.   sed -e "$ac_comsub
  738. s%@configure_input@%$configure_input%g
  739. s%@srcdir@%$srcdir%g
  740. s%@top_srcdir@%$top_srcdir%g
  741. " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  742. fi; done
  743. rm -f conftest.subs
  744.  
  745.  
  746.  
  747. exit 0
  748. EOF
  749. chmod +x $CONFIG_STATUS
  750. rm -fr confdefs* $ac_clean_files
  751. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  752.  
  753.  
  754. if test "$no_recursion" != yes; then
  755.  
  756.   # Remove --cache-file and --srcdir arguments so they do not pile up.
  757.   ac_sub_configure_args=
  758.   ac_prev=
  759.   for ac_arg in $ac_configure_args; do
  760.     if test -n "$ac_prev"; then
  761.       ac_prev=
  762.       continue
  763.     fi
  764.     case "$ac_arg" in
  765.     -cache-file | --cache-file | --cache-fil | --cache-fi \
  766.     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  767.       ac_prev=cache_file ;;
  768.     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  769.     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  770.       ;;
  771.     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  772.       ac_prev=srcdir ;;
  773.     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  774.       ;;
  775.     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
  776.     esac
  777.   done
  778.  
  779.   for ac_config_dir in avcall vacall trampoline; do
  780.  
  781.     # Do not complain, so a configure script can configure whichever
  782.     # parts of a large source tree are present.
  783.     if test ! -d $srcdir/$ac_config_dir; then
  784.       continue
  785.     fi
  786.  
  787.     echo configuring in $ac_config_dir
  788.  
  789.     case "$srcdir" in
  790.     .) ;;
  791.     *)
  792.       if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
  793.       else
  794.         { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
  795.       fi
  796.       ;;
  797.     esac
  798.  
  799.     ac_popdir=`pwd`
  800.     cd $ac_config_dir
  801.  
  802.     case "$srcdir" in
  803.     .) # No --srcdir option.  We are building in place.
  804.       ac_sub_srcdir=$srcdir ;;
  805.     /*) # Absolute path.
  806.       ac_sub_srcdir=$srcdir/$ac_config_dir ;;
  807.     *) # Relative path.
  808.       ac_sub_srcdir=../$srcdir/$ac_config_dir ;;
  809.     esac
  810.  
  811.     # Check for guested configure; otherwise get Cygnus style configure.
  812.     if test -f $ac_sub_srcdir/configure; then
  813.       ac_sub_configure=$ac_sub_srcdir/configure
  814.     elif test -f $ac_sub_srcdir/configure.in; then
  815.       ac_sub_configure=$ac_configure
  816.     else
  817.       echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
  818.       ac_sub_configure=
  819.     fi
  820.  
  821.     # The recursion is here.
  822.     if test -n "$ac_sub_configure"; then
  823.  
  824.       # Make the cache file name correct relative to the subdirectory.
  825.       # A "../" for each directory in /$ac_config_dir.
  826.       ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
  827.       case "$cache_file" in
  828.       /*) ac_sub_cache_file=$cache_file ;;
  829.       *) # Relative path.
  830.         ac_sub_cache_file="$ac_dots$cache_file" ;;
  831.       esac
  832.  
  833.       echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
  834.       # The eval makes quoting arguments work.
  835.       if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
  836.       then :
  837.       else
  838.         { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
  839.       fi
  840.     fi
  841.  
  842.     cd $ac_popdir
  843.   done
  844. fi
  845.  
  846.