configure
上传用户:psq1974
上传日期:2007-01-06
资源大小:1195k
文件大小:53k
源码类别:

mpeg/mp3

开发平台:

C/C++

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated automatically using autoconf version 2.12 
  4. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  5. #
  6. # This configure script is free software; the Free Software Foundation
  7. # gives unlimited permission to copy, distribute and modify it.
  8. # Defaults:
  9. ac_help=
  10. ac_default_prefix=/usr/local
  11. # Any additions from configure.in:
  12. # Initialize some variables set by options.
  13. # The variables have the same names as the options, with
  14. # dashes changed to underlines.
  15. build=NONE
  16. cache_file=./config.cache
  17. exec_prefix=NONE
  18. host=NONE
  19. no_create=
  20. nonopt=NONE
  21. no_recursion=
  22. prefix=NONE
  23. program_prefix=NONE
  24. program_suffix=NONE
  25. program_transform_name=s,x,x,
  26. silent=
  27. site=
  28. srcdir=
  29. target=NONE
  30. verbose=
  31. x_includes=NONE
  32. x_libraries=NONE
  33. bindir='${exec_prefix}/bin'
  34. sbindir='${exec_prefix}/sbin'
  35. libexecdir='${exec_prefix}/libexec'
  36. datadir='${prefix}/share'
  37. sysconfdir='${prefix}/etc'
  38. sharedstatedir='${prefix}/com'
  39. localstatedir='${prefix}/var'
  40. libdir='${exec_prefix}/lib'
  41. includedir='${prefix}/include'
  42. oldincludedir='/usr/include'
  43. infodir='${prefix}/info'
  44. mandir='${prefix}/man'
  45. # Initialize some other variables.
  46. subdirs=
  47. MFLAGS= MAKEFLAGS=
  48. # Maximum number of lines to put in a shell here document.
  49. ac_max_here_lines=12
  50. ac_prev=
  51. for ac_option
  52. do
  53.   # If the previous option needs an argument, assign it.
  54.   if test -n "$ac_prev"; then
  55.     eval "$ac_prev=$ac_option"
  56.     ac_prev=
  57.     continue
  58.   fi
  59.   case "$ac_option" in
  60.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  61.   *) ac_optarg= ;;
  62.   esac
  63.   # Accept the important Cygnus configure options, so we can diagnose typos.
  64.   case "$ac_option" in
  65.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  66.     ac_prev=bindir ;;
  67.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  68.     bindir="$ac_optarg" ;;
  69.   -build | --build | --buil | --bui | --bu)
  70.     ac_prev=build ;;
  71.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  72.     build="$ac_optarg" ;;
  73.   -cache-file | --cache-file | --cache-fil | --cache-fi 
  74.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  75.     ac_prev=cache_file ;;
  76.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* 
  77.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  78.     cache_file="$ac_optarg" ;;
  79.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  80.     ac_prev=datadir ;;
  81.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* 
  82.   | --da=*)
  83.     datadir="$ac_optarg" ;;
  84.   -disable-* | --disable-*)
  85.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  86.     # Reject names that are not valid shell variable names.
  87.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  88.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  89.     fi
  90.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  91.     eval "enable_${ac_feature}=no" ;;
  92.   -enable-* | --enable-*)
  93.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  94.     # Reject names that are not valid shell variable names.
  95.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  96.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  97.     fi
  98.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  99.     case "$ac_option" in
  100.       *=*) ;;
  101.       *) ac_optarg=yes ;;
  102.     esac
  103.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  104.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi 
  105.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- 
  106.   | --exec | --exe | --ex)
  107.     ac_prev=exec_prefix ;;
  108.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* 
  109.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* 
  110.   | --exec=* | --exe=* | --ex=*)
  111.     exec_prefix="$ac_optarg" ;;
  112.   -gas | --gas | --ga | --g)
  113.     # Obsolete; use --with-gas.
  114.     with_gas=yes ;;
  115.   -help | --help | --hel | --he)
  116.     # Omit some internal or obsolete options to make the list less imposing.
  117.     # This message is too long to be a string in the A/UX 3.1 sh.
  118.     cat << EOF
  119. Usage: configure [options] [host]
  120. Options: [defaults in brackets after descriptions]
  121. Configuration:
  122.   --cache-file=FILE       cache test results in FILE
  123.   --help                  print this message
  124.   --no-create             do not create output files
  125.   --quiet, --silent       do not print `checking...' messages
  126.   --version               print the version of autoconf that created configure
  127. Directory and file names:
  128.   --prefix=PREFIX         install architecture-independent files in PREFIX
  129.                           [$ac_default_prefix]
  130.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  131.                           [same as prefix]
  132.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  133.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  134.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  135.   --datadir=DIR           read-only architecture-independent data in DIR
  136.                           [PREFIX/share]
  137.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  138.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  139.                           [PREFIX/com]
  140.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  141.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  142.   --includedir=DIR        C header files in DIR [PREFIX/include]
  143.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  144.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  145.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  146.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  147.   --program-prefix=PREFIX prepend PREFIX to installed program names
  148.   --program-suffix=SUFFIX append SUFFIX to installed program names
  149.   --program-transform-name=PROGRAM
  150.                           run sed PROGRAM on installed program names
  151. EOF
  152.     cat << EOF
  153. Host type:
  154.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  155.   --host=HOST             configure for HOST [guessed]
  156.   --target=TARGET         configure for TARGET [TARGET=HOST]
  157. Features and packages:
  158.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  159.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  160.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  161.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  162.   --x-includes=DIR        X include files are in DIR
  163.   --x-libraries=DIR       X library files are in DIR
  164. EOF
  165.     if test -n "$ac_help"; then
  166.       echo "--enable and --with options recognized:$ac_help"
  167.     fi
  168.     exit 0 ;;
  169.   -host | --host | --hos | --ho)
  170.     ac_prev=host ;;
  171.   -host=* | --host=* | --hos=* | --ho=*)
  172.     host="$ac_optarg" ;;
  173.   -includedir | --includedir | --includedi | --included | --include 
  174.   | --includ | --inclu | --incl | --inc)
  175.     ac_prev=includedir ;;
  176.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* 
  177.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  178.     includedir="$ac_optarg" ;;
  179.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  180.     ac_prev=infodir ;;
  181.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  182.     infodir="$ac_optarg" ;;
  183.   -libdir | --libdir | --libdi | --libd)
  184.     ac_prev=libdir ;;
  185.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  186.     libdir="$ac_optarg" ;;
  187.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec 
  188.   | --libexe | --libex | --libe)
  189.     ac_prev=libexecdir ;;
  190.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* 
  191.   | --libexe=* | --libex=* | --libe=*)
  192.     libexecdir="$ac_optarg" ;;
  193.   -localstatedir | --localstatedir | --localstatedi | --localstated 
  194.   | --localstate | --localstat | --localsta | --localst 
  195.   | --locals | --local | --loca | --loc | --lo)
  196.     ac_prev=localstatedir ;;
  197.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* 
  198.   | --localstate=* | --localstat=* | --localsta=* | --localst=* 
  199.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  200.     localstatedir="$ac_optarg" ;;
  201.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  202.     ac_prev=mandir ;;
  203.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  204.     mandir="$ac_optarg" ;;
  205.   -nfp | --nfp | --nf)
  206.     # Obsolete; use --without-fp.
  207.     with_fp=no ;;
  208.   -no-create | --no-create | --no-creat | --no-crea | --no-cre 
  209.   | --no-cr | --no-c)
  210.     no_create=yes ;;
  211.   -no-recursion | --no-recursion | --no-recursio | --no-recursi 
  212.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  213.     no_recursion=yes ;;
  214.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded 
  215.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc 
  216.   | --oldin | --oldi | --old | --ol | --o)
  217.     ac_prev=oldincludedir ;;
  218.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* 
  219.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* 
  220.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  221.     oldincludedir="$ac_optarg" ;;
  222.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  223.     ac_prev=prefix ;;
  224.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  225.     prefix="$ac_optarg" ;;
  226.   -program-prefix | --program-prefix | --program-prefi | --program-pref 
  227.   | --program-pre | --program-pr | --program-p)
  228.     ac_prev=program_prefix ;;
  229.   -program-prefix=* | --program-prefix=* | --program-prefi=* 
  230.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  231.     program_prefix="$ac_optarg" ;;
  232.   -program-suffix | --program-suffix | --program-suffi | --program-suff 
  233.   | --program-suf | --program-su | --program-s)
  234.     ac_prev=program_suffix ;;
  235.   -program-suffix=* | --program-suffix=* | --program-suffi=* 
  236.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  237.     program_suffix="$ac_optarg" ;;
  238.   -program-transform-name | --program-transform-name 
  239.   | --program-transform-nam | --program-transform-na 
  240.   | --program-transform-n | --program-transform- 
  241.   | --program-transform | --program-transfor 
  242.   | --program-transfo | --program-transf 
  243.   | --program-trans | --program-tran 
  244.   | --progr-tra | --program-tr | --program-t)
  245.     ac_prev=program_transform_name ;;
  246.   -program-transform-name=* | --program-transform-name=* 
  247.   | --program-transform-nam=* | --program-transform-na=* 
  248.   | --program-transform-n=* | --program-transform-=* 
  249.   | --program-transform=* | --program-transfor=* 
  250.   | --program-transfo=* | --program-transf=* 
  251.   | --program-trans=* | --program-tran=* 
  252.   | --progr-tra=* | --program-tr=* | --program-t=*)
  253.     program_transform_name="$ac_optarg" ;;
  254.   -q | -quiet | --quiet | --quie | --qui | --qu | --q 
  255.   | -silent | --silent | --silen | --sile | --sil)
  256.     silent=yes ;;
  257.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  258.     ac_prev=sbindir ;;
  259.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* 
  260.   | --sbi=* | --sb=*)
  261.     sbindir="$ac_optarg" ;;
  262.   -sharedstatedir | --sharedstatedir | --sharedstatedi 
  263.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta 
  264.   | --sharedst | --shareds | --shared | --share | --shar 
  265.   | --sha | --sh)
  266.     ac_prev=sharedstatedir ;;
  267.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* 
  268.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* 
  269.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* 
  270.   | --sha=* | --sh=*)
  271.     sharedstatedir="$ac_optarg" ;;
  272.   -site | --site | --sit)
  273.     ac_prev=site ;;
  274.   -site=* | --site=* | --sit=*)
  275.     site="$ac_optarg" ;;
  276.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  277.     ac_prev=srcdir ;;
  278.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  279.     srcdir="$ac_optarg" ;;
  280.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf 
  281.   | --syscon | --sysco | --sysc | --sys | --sy)
  282.     ac_prev=sysconfdir ;;
  283.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* 
  284.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  285.     sysconfdir="$ac_optarg" ;;
  286.   -target | --target | --targe | --targ | --tar | --ta | --t)
  287.     ac_prev=target ;;
  288.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  289.     target="$ac_optarg" ;;
  290.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  291.     verbose=yes ;;
  292.   -version | --version | --versio | --versi | --vers)
  293.     echo "configure generated by autoconf version 2.12"
  294.     exit 0 ;;
  295.   -with-* | --with-*)
  296.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  297.     # Reject names that are not valid shell variable names.
  298.     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  299.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  300.     fi
  301.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  302.     case "$ac_option" in
  303.       *=*) ;;
  304.       *) ac_optarg=yes ;;
  305.     esac
  306.     eval "with_${ac_package}='$ac_optarg'" ;;
  307.   -without-* | --without-*)
  308.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  309.     # Reject names that are not valid shell variable names.
  310.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  311.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  312.     fi
  313.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  314.     eval "with_${ac_package}=no" ;;
  315.   --x)
  316.     # Obsolete; use --with-x.
  317.     with_x=yes ;;
  318.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu 
  319.   | --x-incl | --x-inc | --x-in | --x-i)
  320.     ac_prev=x_includes ;;
  321.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* 
  322.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  323.     x_includes="$ac_optarg" ;;
  324.   -x-libraries | --x-libraries | --x-librarie | --x-librari 
  325.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  326.     ac_prev=x_libraries ;;
  327.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* 
  328.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  329.     x_libraries="$ac_optarg" ;;
  330.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  331.     ;;
  332.   *)
  333.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  334.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  335.     fi
  336.     if test "x$nonopt" != xNONE; then
  337.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  338.     fi
  339.     nonopt="$ac_option"
  340.     ;;
  341.   esac
  342. done
  343. if test -n "$ac_prev"; then
  344.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  345. fi
  346. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  347. # File descriptor usage:
  348. # 0 standard input
  349. # 1 file creation
  350. # 2 errors and warnings
  351. # 3 some systems may open it to /dev/tty
  352. # 4 used on the Kubota Titan
  353. # 6 checking for... messages and results
  354. # 5 compiler messages saved in config.log
  355. if test "$silent" = yes; then
  356.   exec 6>/dev/null
  357. else
  358.   exec 6>&1
  359. fi
  360. exec 5>./config.log
  361. echo "
  362. This file contains any messages produced by compilers while
  363. running configure, to aid debugging if configure makes a mistake.
  364. " 1>&5
  365. # Strip out --no-create and --no-recursion so they do not pile up.
  366. # Also quote any args containing shell metacharacters.
  367. ac_configure_args=
  368. for ac_arg
  369. do
  370.   case "$ac_arg" in
  371.   -no-create | --no-create | --no-creat | --no-crea | --no-cre 
  372.   | --no-cr | --no-c) ;;
  373.   -no-recursion | --no-recursion | --no-recursio | --no-recursi 
  374.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  375.   *" "*|*" "*|*[[]~#$^&*(){}\|;<>?]*)
  376.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  377.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  378.   esac
  379. done
  380. # NLS nuisances.
  381. # Only set these to C if already set.  These must not be set unconditionally
  382. # because not all systems understand e.g. LANG=C (notably SCO).
  383. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  384. # Non-C LC_CTYPE values break the ctype check.
  385. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  386. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  387. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  388. if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
  389. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  390. rm -rf conftest* confdefs.h
  391. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  392. echo > confdefs.h
  393. # A filename unique to this package, relative to the directory that
  394. # configure is in, which we can look for to find out if srcdir is correct.
  395. ac_unique_file=src/vpusher.cc
  396. # Find the source files, if location was not specified.
  397. if test -z "$srcdir"; then
  398.   ac_srcdir_defaulted=yes
  399.   # Try the directory containing this script, then its parent.
  400.   ac_prog=$0
  401.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  402.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  403.   srcdir=$ac_confdir
  404.   if test ! -r $srcdir/$ac_unique_file; then
  405.     srcdir=..
  406.   fi
  407. else
  408.   ac_srcdir_defaulted=no
  409. fi
  410. if test ! -r $srcdir/$ac_unique_file; then
  411.   if test "$ac_srcdir_defaulted" = yes; then
  412.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  413.   else
  414.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  415.   fi
  416. fi
  417. srcdir=`echo "${srcdir}" | sed 's%([^/])/*$%1%'`
  418. # Prefer explicitly selected file to automatically selected ones.
  419. if test -z "$CONFIG_SITE"; then
  420.   if test "x$prefix" != xNONE; then
  421.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  422.   else
  423.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  424.   fi
  425. fi
  426. for ac_site_file in $CONFIG_SITE; do
  427.   if test -r "$ac_site_file"; then
  428.     echo "loading site script $ac_site_file"
  429.     . "$ac_site_file"
  430.   fi
  431. done
  432. if test -r "$cache_file"; then
  433.   echo "loading cache $cache_file"
  434.   . $cache_file
  435. else
  436.   echo "creating cache $cache_file"
  437.   > $cache_file
  438. fi
  439. ac_ext=c
  440. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  441. ac_cpp='$CPP $CPPFLAGS'
  442. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  443. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  444. cross_compiling=$ac_cv_prog_cc_cross
  445. if (echo "testingc"; echo 1,2,3) | grep c >/dev/null; then
  446.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  447.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  448.     ac_n= ac_c='
  449. ' ac_t=' '
  450.   else
  451.     ac_n=-n ac_c= ac_t=
  452.   fi
  453. else
  454.   ac_n= ac_c='c' ac_t=
  455. fi
  456. ac_aux_dir=
  457. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  458.   if test -f $ac_dir/install-sh; then
  459.     ac_aux_dir=$ac_dir
  460.     ac_install_sh="$ac_aux_dir/install-sh -c"
  461.     break
  462.   elif test -f $ac_dir/install.sh; then
  463.     ac_aux_dir=$ac_dir
  464.     ac_install_sh="$ac_aux_dir/install.sh -c"
  465.     break
  466.   fi
  467. done
  468. if test -z "$ac_aux_dir"; then
  469.   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  470. fi
  471. ac_config_guess=$ac_aux_dir/config.guess
  472. ac_config_sub=$ac_aux_dir/config.sub
  473. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  474. # Find a good install program.  We prefer a C program (faster),
  475. # so one script is as good as another.  But avoid the broken or
  476. # incompatible versions:
  477. # SysV /etc/install, /usr/sbin/install
  478. # SunOS /usr/etc/install
  479. # IRIX /sbin/install
  480. # AIX /bin/install
  481. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  482. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  483. # ./install, which can be erroneously created by make from ./install.sh.
  484. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  485. echo "configure:552: checking for a BSD compatible install" >&5
  486. if test -z "$INSTALL"; then
  487. if eval "test "`echo '$''{'ac_cv_path_install'+set}'`" = set"; then
  488.   echo $ac_n "(cached) $ac_c" 1>&6
  489. else
  490.     IFS="${IFS=  }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
  491.   for ac_dir in $PATH; do
  492.     # Account for people who put trailing slashes in PATH elements.
  493.     case "$ac_dir/" in
  494.     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  495.     *)
  496.       # OSF1 and SCO ODT 3.0 have their own names for install.
  497.       for ac_prog in ginstall installbsd scoinst install; do
  498.         if test -f $ac_dir/$ac_prog; then
  499.   if test $ac_prog = install &&
  500.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  501.     # AIX install.  It has an incompatible calling convention.
  502.     # OSF/1 installbsd also uses dspmsg, but is usable.
  503.     :
  504.   else
  505.     ac_cv_path_install="$ac_dir/$ac_prog -c"
  506.     break 2
  507.   fi
  508. fi
  509.       done
  510.       ;;
  511.     esac
  512.   done
  513.   IFS="$ac_save_IFS"
  514. fi
  515.   if test "${ac_cv_path_install+set}" = set; then
  516.     INSTALL="$ac_cv_path_install"
  517.   else
  518.     # As a last resort, use the slow shell script.  We don't cache a
  519.     # path for INSTALL within a source directory, because that will
  520.     # break other packages using the cache if that directory is
  521.     # removed, or if the path is relative.
  522.     INSTALL="$ac_install_sh"
  523.   fi
  524. fi
  525. echo "$ac_t""$INSTALL" 1>&6
  526. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  527. # It thinks the first close brace ends the variable substitution.
  528. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  529. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  530. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  531. PACKAGE=vpusher
  532. VERSION=0.9
  533. if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
  534.   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
  535. fi
  536. cat >> confdefs.h <<EOF
  537. #define PACKAGE "$PACKAGE"
  538. EOF
  539. cat >> confdefs.h <<EOF
  540. #define VERSION "$VERSION"
  541. EOF
  542. echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
  543. echo "configure:621: checking whether build environment is sane" >&5
  544. # Just in case
  545. sleep 1
  546. echo timestamp > conftestfile
  547. # Do `set' in a subshell so we don't clobber the current shell's
  548. # arguments.  Must try -L first in case configure is actually a
  549. # symlink; some systems play weird games with the mod time of symlinks
  550. # (eg FreeBSD returns the mod time of the symlink's containing
  551. # directory).
  552. if (
  553.    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
  554.    if test "" = "X"; then
  555.       # -L didn't work.
  556.       set X `ls -t $srcdir/configure conftestfile`
  557.    fi
  558.    test "$2" = conftestfile
  559.    )
  560. then
  561.    # Ok.
  562.    :
  563. else
  564.    { echo "configure: error: newly created file is older than distributed files!
  565. Check your system clock" 1>&2; exit 1; }
  566. fi
  567. rm -f conftest*
  568. echo "$ac_t""yes" 1>&6
  569. if test "$program_transform_name" = s,x,x,; then
  570.   program_transform_name=
  571. else
  572.   # Double any  or $.  echo might interpret backslashes.
  573.   cat <<EOF_SED > conftestsed
  574. s,\,\\,g; s,$,$$,g
  575. EOF_SED
  576.   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  577.   rm -f conftestsed
  578. fi
  579. test "$program_prefix" != NONE &&
  580.   program_transform_name="s,^,${program_prefix},; $program_transform_name"
  581. # Use a double $ so make ignores it.
  582. test "$program_suffix" != NONE &&
  583.   program_transform_name="s,$$,${program_suffix},; $program_transform_name"
  584. # sed with no file args requires a program.
  585. test "$program_transform_name" = "" && program_transform_name="s,x,x,"
  586. missing_dir=`cd $ac_aux_dir && pwd`
  587. echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
  588. echo "configure:668: checking for working aclocal" >&5
  589. # Run test in a subshell; some versions of sh will print an error if
  590. # an executable is not found, even if stderr is redirected.
  591. # Redirect stdin to placate older versions of autoconf.  Sigh.
  592. if (aclocal --version) < /dev/null > /dev/null 2>&1; then
  593.    ACLOCAL=aclocal
  594.    echo "$ac_t""found" 1>&6
  595. else
  596.    ACLOCAL="$missing_dir/missing aclocal"
  597.    echo "$ac_t""missing" 1>&6
  598. fi
  599. echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
  600. echo "configure:681: checking for working autoconf" >&5
  601. # Run test in a subshell; some versions of sh will print an error if
  602. # an executable is not found, even if stderr is redirected.
  603. # Redirect stdin to placate older versions of autoconf.  Sigh.
  604. if (autoconf --version) < /dev/null > /dev/null 2>&1; then
  605.    AUTOCONF=autoconf
  606.    echo "$ac_t""found" 1>&6
  607. else
  608.    AUTOCONF="$missing_dir/missing autoconf"
  609.    echo "$ac_t""missing" 1>&6
  610. fi
  611. echo $ac_n "checking for working automake""... $ac_c" 1>&6
  612. echo "configure:694: checking for working automake" >&5
  613. # Run test in a subshell; some versions of sh will print an error if
  614. # an executable is not found, even if stderr is redirected.
  615. # Redirect stdin to placate older versions of autoconf.  Sigh.
  616. if (automake --version) < /dev/null > /dev/null 2>&1; then
  617.    AUTOMAKE=automake
  618.    echo "$ac_t""found" 1>&6
  619. else
  620.    AUTOMAKE="$missing_dir/missing automake"
  621.    echo "$ac_t""missing" 1>&6
  622. fi
  623. echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
  624. echo "configure:707: checking for working autoheader" >&5
  625. # Run test in a subshell; some versions of sh will print an error if
  626. # an executable is not found, even if stderr is redirected.
  627. # Redirect stdin to placate older versions of autoconf.  Sigh.
  628. if (autoheader --version) < /dev/null > /dev/null 2>&1; then
  629.    AUTOHEADER=autoheader
  630.    echo "$ac_t""found" 1>&6
  631. else
  632.    AUTOHEADER="$missing_dir/missing autoheader"
  633.    echo "$ac_t""missing" 1>&6
  634. fi
  635. echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
  636. echo "configure:720: checking for working makeinfo" >&5
  637. # Run test in a subshell; some versions of sh will print an error if
  638. # an executable is not found, even if stderr is redirected.
  639. # Redirect stdin to placate older versions of autoconf.  Sigh.
  640. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
  641.    MAKEINFO=makeinfo
  642.    echo "$ac_t""found" 1>&6
  643. else
  644.    MAKEINFO="$missing_dir/missing makeinfo"
  645.    echo "$ac_t""missing" 1>&6
  646. fi
  647. echo $ac_n "checking whether ${MAKE-make} sets ${MAKE}""... $ac_c" 1>&6
  648. echo "configure:733: checking whether ${MAKE-make} sets ${MAKE}" >&5
  649. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  650. if eval "test "`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`" = set"; then
  651.   echo $ac_n "(cached) $ac_c" 1>&6
  652. else
  653.   cat > conftestmake <<EOF
  654. all:
  655. @echo 'ac_maketemp="${MAKE}"'
  656. EOF
  657. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  658. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  659. if test -n "$ac_maketemp"; then
  660.   eval ac_cv_prog_make_${ac_make}_set=yes
  661. else
  662.   eval ac_cv_prog_make_${ac_make}_set=no
  663. fi
  664. rm -f conftestmake
  665. fi
  666. if eval "test "`echo '$ac_cv_prog_make_'${ac_make}_set`" = yes"; then
  667.   echo "$ac_t""yes" 1>&6
  668.   SET_MAKE=
  669. else
  670.   echo "$ac_t""no" 1>&6
  671.   SET_MAKE="MAKE=${MAKE-make}"
  672. fi
  673. for ac_prog in $CCC c++ g++ gcc CC cxx cc++
  674. do
  675. # Extract the first word of "$ac_prog", so it can be a program name with args.
  676. set dummy $ac_prog; ac_word=$2
  677. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  678. echo "configure:765: checking for $ac_word" >&5
  679. if eval "test "`echo '$''{'ac_cv_prog_CXX'+set}'`" = set"; then
  680.   echo $ac_n "(cached) $ac_c" 1>&6
  681. else
  682.   if test -n "$CXX"; then
  683.   ac_cv_prog_CXX="$CXX" # Let the user override the test.
  684. else
  685.   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  686.   for ac_dir in $PATH; do
  687.     test -z "$ac_dir" && ac_dir=.
  688.     if test -f $ac_dir/$ac_word; then
  689.       ac_cv_prog_CXX="$ac_prog"
  690.       break
  691.     fi
  692.   done
  693.   IFS="$ac_save_ifs"
  694. fi
  695. fi
  696. CXX="$ac_cv_prog_CXX"
  697. if test -n "$CXX"; then
  698.   echo "$ac_t""$CXX" 1>&6
  699. else
  700.   echo "$ac_t""no" 1>&6
  701. fi
  702. test -n "$CXX" && break
  703. done
  704. test -n "$CXX" || CXX="gcc"
  705. echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  706. echo "configure:796: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
  707. ac_ext=C
  708. # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  709. ac_cpp='$CXXCPP $CPPFLAGS'
  710. ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  711. ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  712. cross_compiling=$ac_cv_prog_cxx_cross
  713. cat > conftest.$ac_ext <<EOF
  714. #line 806 "configure"
  715. #include "confdefs.h"
  716. main(){return(0);}
  717. EOF
  718. if { (eval echo configure:810: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  719.   ac_cv_prog_cxx_works=yes
  720.   # If we can't run a trivial program, we are probably using a cross compiler.
  721.   if (./conftest; exit) 2>/dev/null; then
  722.     ac_cv_prog_cxx_cross=no
  723.   else
  724.     ac_cv_prog_cxx_cross=yes
  725.   fi
  726. else
  727.   echo "configure: failed program was:" >&5
  728.   cat conftest.$ac_ext >&5
  729.   ac_cv_prog_cxx_works=no
  730. fi
  731. rm -fr conftest*
  732. ac_ext=c
  733. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  734. ac_cpp='$CPP $CPPFLAGS'
  735. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  736. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  737. cross_compiling=$ac_cv_prog_cc_cross
  738. echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
  739. if test $ac_cv_prog_cxx_works = no; then
  740.   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
  741. fi
  742. echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  743. echo "configure:836: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
  744. echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
  745. cross_compiling=$ac_cv_prog_cxx_cross
  746. echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
  747. echo "configure:841: checking whether we are using GNU C++" >&5
  748. if eval "test "`echo '$''{'ac_cv_prog_gxx'+set}'`" = set"; then
  749.   echo $ac_n "(cached) $ac_c" 1>&6
  750. else
  751.   cat > conftest.C <<EOF
  752. #ifdef __GNUC__
  753.   yes;
  754. #endif
  755. EOF
  756. if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:850: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  757.   ac_cv_prog_gxx=yes
  758. else
  759.   ac_cv_prog_gxx=no
  760. fi
  761. fi
  762. echo "$ac_t""$ac_cv_prog_gxx" 1>&6
  763. if test $ac_cv_prog_gxx = yes; then
  764.   GXX=yes
  765.   ac_test_CXXFLAGS="${CXXFLAGS+set}"
  766.   ac_save_CXXFLAGS="$CXXFLAGS"
  767.   CXXFLAGS=
  768.   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
  769. echo "configure:865: checking whether ${CXX-g++} accepts -g" >&5
  770. if eval "test "`echo '$''{'ac_cv_prog_cxx_g'+set}'`" = set"; then
  771.   echo $ac_n "(cached) $ac_c" 1>&6
  772. else
  773.   echo 'void f(){}' > conftest.cc
  774. if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
  775.   ac_cv_prog_cxx_g=yes
  776. else
  777.   ac_cv_prog_cxx_g=no
  778. fi
  779. rm -f conftest*
  780. fi
  781. echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
  782.   if test "$ac_test_CXXFLAGS" = set; then
  783.     CXXFLAGS="$ac_save_CXXFLAGS"
  784.   elif test $ac_cv_prog_cxx_g = yes; then
  785.     CXXFLAGS="-g -O2"
  786.   else
  787.     CXXFLAGS="-O2"
  788.   fi
  789. else
  790.   GXX=
  791.   test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
  792. fi
  793. # Extract the first word of "gcc", so it can be a program name with args.
  794. set dummy gcc; ac_word=$2
  795. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  796. echo "configure:895: checking for $ac_word" >&5
  797. if eval "test "`echo '$''{'ac_cv_prog_CC'+set}'`" = set"; then
  798.   echo $ac_n "(cached) $ac_c" 1>&6
  799. else
  800.   if test -n "$CC"; then
  801.   ac_cv_prog_CC="$CC" # Let the user override the test.
  802. else
  803.   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  804.   for ac_dir in $PATH; do
  805.     test -z "$ac_dir" && ac_dir=.
  806.     if test -f $ac_dir/$ac_word; then
  807.       ac_cv_prog_CC="gcc"
  808.       break
  809.     fi
  810.   done
  811.   IFS="$ac_save_ifs"
  812. fi
  813. fi
  814. CC="$ac_cv_prog_CC"
  815. if test -n "$CC"; then
  816.   echo "$ac_t""$CC" 1>&6
  817. else
  818.   echo "$ac_t""no" 1>&6
  819. fi
  820. if test -z "$CC"; then
  821.   # Extract the first word of "cc", so it can be a program name with args.
  822. set dummy cc; ac_word=$2
  823. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  824. echo "configure:924: checking for $ac_word" >&5
  825. if eval "test "`echo '$''{'ac_cv_prog_CC'+set}'`" = set"; then
  826.   echo $ac_n "(cached) $ac_c" 1>&6
  827. else
  828.   if test -n "$CC"; then
  829.   ac_cv_prog_CC="$CC" # Let the user override the test.
  830. else
  831.   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  832.   ac_prog_rejected=no
  833.   for ac_dir in $PATH; do
  834.     test -z "$ac_dir" && ac_dir=.
  835.     if test -f $ac_dir/$ac_word; then
  836.       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  837.         ac_prog_rejected=yes
  838. continue
  839.       fi
  840.       ac_cv_prog_CC="cc"
  841.       break
  842.     fi
  843.   done
  844.   IFS="$ac_save_ifs"
  845. if test $ac_prog_rejected = yes; then
  846.   # We found a bogon in the path, so make sure we never use it.
  847.   set dummy $ac_cv_prog_CC
  848.   shift
  849.   if test $# -gt 0; then
  850.     # We chose a different compiler from the bogus one.
  851.     # However, it has the same basename, so the bogon will be chosen
  852.     # first if we set CC to just the basename; use the full file name.
  853.     shift
  854.     set dummy "$ac_dir/$ac_word" "$@"
  855.     shift
  856.     ac_cv_prog_CC="$@"
  857.   fi
  858. fi
  859. fi
  860. fi
  861. CC="$ac_cv_prog_CC"
  862. if test -n "$CC"; then
  863.   echo "$ac_t""$CC" 1>&6
  864. else
  865.   echo "$ac_t""no" 1>&6
  866. fi
  867.   test -z "$CC" && { echo "configure: error: no acceptable cc found in $PATH" 1>&2; exit 1; }
  868. fi
  869. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  870. echo "configure:972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  871. ac_ext=c
  872. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  873. ac_cpp='$CPP $CPPFLAGS'
  874. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  875. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  876. cross_compiling=$ac_cv_prog_cc_cross
  877. cat > conftest.$ac_ext <<EOF
  878. #line 982 "configure"
  879. #include "confdefs.h"
  880. main(){return(0);}
  881. EOF
  882. if { (eval echo configure:986: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  883.   ac_cv_prog_cc_works=yes
  884.   # If we can't run a trivial program, we are probably using a cross compiler.
  885.   if (./conftest; exit) 2>/dev/null; then
  886.     ac_cv_prog_cc_cross=no
  887.   else
  888.     ac_cv_prog_cc_cross=yes
  889.   fi
  890. else
  891.   echo "configure: failed program was:" >&5
  892.   cat conftest.$ac_ext >&5
  893.   ac_cv_prog_cc_works=no
  894. fi
  895. rm -fr conftest*
  896. echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  897. if test $ac_cv_prog_cc_works = no; then
  898.   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  899. fi
  900. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  901. echo "configure:1006: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  902. echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  903. cross_compiling=$ac_cv_prog_cc_cross
  904. echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  905. echo "configure:1011: checking whether we are using GNU C" >&5
  906. if eval "test "`echo '$''{'ac_cv_prog_gcc'+set}'`" = set"; then
  907.   echo $ac_n "(cached) $ac_c" 1>&6
  908. else
  909.   cat > conftest.c <<EOF
  910. #ifdef __GNUC__
  911.   yes;
  912. #endif
  913. EOF
  914. if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1020: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  915.   ac_cv_prog_gcc=yes
  916. else
  917.   ac_cv_prog_gcc=no
  918. fi
  919. fi
  920. echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  921. if test $ac_cv_prog_gcc = yes; then
  922.   GCC=yes
  923.   ac_test_CFLAGS="${CFLAGS+set}"
  924.   ac_save_CFLAGS="$CFLAGS"
  925.   CFLAGS=
  926.   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  927. echo "configure:1035: checking whether ${CC-cc} accepts -g" >&5
  928. if eval "test "`echo '$''{'ac_cv_prog_cc_g'+set}'`" = set"; then
  929.   echo $ac_n "(cached) $ac_c" 1>&6
  930. else
  931.   echo 'void f(){}' > conftest.c
  932. if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  933.   ac_cv_prog_cc_g=yes
  934. else
  935.   ac_cv_prog_cc_g=no
  936. fi
  937. rm -f conftest*
  938. fi
  939. echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  940.   if test "$ac_test_CFLAGS" = set; then
  941.     CFLAGS="$ac_save_CFLAGS"
  942.   elif test $ac_cv_prog_cc_g = yes; then
  943.     CFLAGS="-g -O2"
  944.   else
  945.     CFLAGS="-O2"
  946.   fi
  947. else
  948.   GCC=
  949.   test "${CFLAGS+set}" = set || CFLAGS="-g"
  950. fi
  951. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  952. echo "configure:1063: checking how to run the C preprocessor" >&5
  953. # On Suns, sometimes $CPP names a directory.
  954. if test -n "$CPP" && test -d "$CPP"; then
  955.   CPP=
  956. fi
  957. if test -z "$CPP"; then
  958. if eval "test "`echo '$''{'ac_cv_prog_CPP'+set}'`" = set"; then
  959.   echo $ac_n "(cached) $ac_c" 1>&6
  960. else
  961.     # This must be in double quotes, not single quotes, because CPP may get
  962.   # substituted into the Makefile and "${CC-cc}" will confuse make.
  963.   CPP="${CC-cc} -E"
  964.   # On the NeXT, cc -E runs the code through the compiler's parser,
  965.   # not just through cpp.
  966.   cat > conftest.$ac_ext <<EOF
  967. #line 1078 "configure"
  968. #include "confdefs.h"
  969. #include <assert.h>
  970. Syntax Error
  971. EOF
  972. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  973. { (eval echo configure:1084: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }
  974. ac_err=`grep -v '^ *+' conftest.out`
  975. if test -z "$ac_err"; then
  976.   :
  977. else
  978.   echo "$ac_err" >&5
  979.   echo "configure: failed program was:" >&5
  980.   cat conftest.$ac_ext >&5
  981.   rm -rf conftest*
  982.   CPP="${CC-cc} -E -traditional-cpp"
  983.   cat > conftest.$ac_ext <<EOF
  984. #line 1095 "configure"
  985. #include "confdefs.h"
  986. #include <assert.h>
  987. Syntax Error
  988. EOF
  989. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  990. { (eval echo configure:1101: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }
  991. ac_err=`grep -v '^ *+' conftest.out`
  992. if test -z "$ac_err"; then
  993.   :
  994. else
  995.   echo "$ac_err" >&5
  996.   echo "configure: failed program was:" >&5
  997.   cat conftest.$ac_ext >&5
  998.   rm -rf conftest*
  999.   CPP=/lib/cpp
  1000. fi
  1001. rm -f conftest*
  1002. fi
  1003. rm -f conftest*
  1004.   ac_cv_prog_CPP="$CPP"
  1005. fi
  1006.   CPP="$ac_cv_prog_CPP"
  1007. else
  1008.   ac_cv_prog_CPP="$CPP"
  1009. fi
  1010. echo "$ac_t""$CPP" 1>&6
  1011. # Find a good install program.  We prefer a C program (faster),
  1012. # so one script is as good as another.  But avoid the broken or
  1013. # incompatible versions:
  1014. # SysV /etc/install, /usr/sbin/install
  1015. # SunOS /usr/etc/install
  1016. # IRIX /sbin/install
  1017. # AIX /bin/install
  1018. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1019. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1020. # ./install, which can be erroneously created by make from ./install.sh.
  1021. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  1022. echo "configure:1134: checking for a BSD compatible install" >&5
  1023. if test -z "$INSTALL"; then
  1024. if eval "test "`echo '$''{'ac_cv_path_install'+set}'`" = set"; then
  1025.   echo $ac_n "(cached) $ac_c" 1>&6
  1026. else
  1027.     IFS="${IFS=  }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
  1028.   for ac_dir in $PATH; do
  1029.     # Account for people who put trailing slashes in PATH elements.
  1030.     case "$ac_dir/" in
  1031.     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  1032.     *)
  1033.       # OSF1 and SCO ODT 3.0 have their own names for install.
  1034.       for ac_prog in ginstall installbsd scoinst install; do
  1035.         if test -f $ac_dir/$ac_prog; then
  1036.   if test $ac_prog = install &&
  1037.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  1038.     # AIX install.  It has an incompatible calling convention.
  1039.     # OSF/1 installbsd also uses dspmsg, but is usable.
  1040.     :
  1041.   else
  1042.     ac_cv_path_install="$ac_dir/$ac_prog -c"
  1043.     break 2
  1044.   fi
  1045. fi
  1046.       done
  1047.       ;;
  1048.     esac
  1049.   done
  1050.   IFS="$ac_save_IFS"
  1051. fi
  1052.   if test "${ac_cv_path_install+set}" = set; then
  1053.     INSTALL="$ac_cv_path_install"
  1054.   else
  1055.     # As a last resort, use the slow shell script.  We don't cache a
  1056.     # path for INSTALL within a source directory, because that will
  1057.     # break other packages using the cache if that directory is
  1058.     # removed, or if the path is relative.
  1059.     INSTALL="$ac_install_sh"
  1060.   fi
  1061. fi
  1062. echo "$ac_t""$INSTALL" 1>&6
  1063. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1064. # It thinks the first close brace ends the variable substitution.
  1065. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1066. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1067. echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
  1068. echo "configure:1184: checking whether ln -s works" >&5
  1069. if eval "test "`echo '$''{'ac_cv_prog_LN_S'+set}'`" = set"; then
  1070.   echo $ac_n "(cached) $ac_c" 1>&6
  1071. else
  1072.   rm -f conftestdata
  1073. if ln -s X conftestdata 2>/dev/null
  1074. then
  1075.   rm -f conftestdata
  1076.   ac_cv_prog_LN_S="ln -s"
  1077. else
  1078.   ac_cv_prog_LN_S=ln
  1079. fi
  1080. fi
  1081. LN_S="$ac_cv_prog_LN_S"
  1082. if test "$ac_cv_prog_LN_S" = "ln -s"; then
  1083.   echo "$ac_t""yes" 1>&6
  1084. else
  1085.   echo "$ac_t""no" 1>&6
  1086. fi
  1087. echo $ac_n "checking whether ${MAKE-make} sets ${MAKE}""... $ac_c" 1>&6
  1088. echo "configure:1205: checking whether ${MAKE-make} sets ${MAKE}" >&5
  1089. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  1090. if eval "test "`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`" = set"; then
  1091.   echo $ac_n "(cached) $ac_c" 1>&6
  1092. else
  1093.   cat > conftestmake <<EOF
  1094. all:
  1095. @echo 'ac_maketemp="${MAKE}"'
  1096. EOF
  1097. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1098. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  1099. if test -n "$ac_maketemp"; then
  1100.   eval ac_cv_prog_make_${ac_make}_set=yes
  1101. else
  1102.   eval ac_cv_prog_make_${ac_make}_set=no
  1103. fi
  1104. rm -f conftestmake
  1105. fi
  1106. if eval "test "`echo '$ac_cv_prog_make_'${ac_make}_set`" = yes"; then
  1107.   echo "$ac_t""yes" 1>&6
  1108.   SET_MAKE=
  1109. else
  1110.   echo "$ac_t""no" 1>&6
  1111.   SET_MAKE="MAKE=${MAKE-make}"
  1112. fi
  1113. # Extract the first word of "ranlib", so it can be a program name with args.
  1114. set dummy ranlib; ac_word=$2
  1115. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1116. echo "configure:1234: checking for $ac_word" >&5
  1117. if eval "test "`echo '$''{'ac_cv_prog_RANLIB'+set}'`" = set"; then
  1118.   echo $ac_n "(cached) $ac_c" 1>&6
  1119. else
  1120.   if test -n "$RANLIB"; then
  1121.   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1122. else
  1123.   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1124.   for ac_dir in $PATH; do
  1125.     test -z "$ac_dir" && ac_dir=.
  1126.     if test -f $ac_dir/$ac_word; then
  1127.       ac_cv_prog_RANLIB="ranlib"
  1128.       break
  1129.     fi
  1130.   done
  1131.   IFS="$ac_save_ifs"
  1132.   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  1133. fi
  1134. fi
  1135. RANLIB="$ac_cv_prog_RANLIB"
  1136. if test -n "$RANLIB"; then
  1137.   echo "$ac_t""$RANLIB" 1>&6
  1138. else
  1139.   echo "$ac_t""no" 1>&6
  1140. fi
  1141. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  1142. echo "configure:1263: checking for ANSI C header files" >&5
  1143. if eval "test "`echo '$''{'ac_cv_header_stdc'+set}'`" = set"; then
  1144.   echo $ac_n "(cached) $ac_c" 1>&6
  1145. else
  1146.   cat > conftest.$ac_ext <<EOF
  1147. #line 1268 "configure"
  1148. #include "confdefs.h"
  1149. #include <stdlib.h>
  1150. #include <stdarg.h>
  1151. #include <string.h>
  1152. #include <float.h>
  1153. EOF
  1154. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1155. { (eval echo configure:1276: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }
  1156. ac_err=`grep -v '^ *+' conftest.out`
  1157. if test -z "$ac_err"; then
  1158.   rm -rf conftest*
  1159.   ac_cv_header_stdc=yes
  1160. else
  1161.   echo "$ac_err" >&5
  1162.   echo "configure: failed program was:" >&5
  1163.   cat conftest.$ac_ext >&5
  1164.   rm -rf conftest*
  1165.   ac_cv_header_stdc=no
  1166. fi
  1167. rm -f conftest*
  1168. if test $ac_cv_header_stdc = yes; then
  1169.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1170. cat > conftest.$ac_ext <<EOF
  1171. #line 1293 "configure"
  1172. #include "confdefs.h"
  1173. #include <string.h>
  1174. EOF
  1175. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1176.   egrep "memchr" >/dev/null 2>&1; then
  1177.   :
  1178. else
  1179.   rm -rf conftest*
  1180.   ac_cv_header_stdc=no
  1181. fi
  1182. rm -f conftest*
  1183. fi
  1184. if test $ac_cv_header_stdc = yes; then
  1185.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1186. cat > conftest.$ac_ext <<EOF
  1187. #line 1311 "configure"
  1188. #include "confdefs.h"
  1189. #include <stdlib.h>
  1190. EOF
  1191. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1192.   egrep "free" >/dev/null 2>&1; then
  1193.   :
  1194. else
  1195.   rm -rf conftest*
  1196.   ac_cv_header_stdc=no
  1197. fi
  1198. rm -f conftest*
  1199. fi
  1200. if test $ac_cv_header_stdc = yes; then
  1201.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1202. if test "$cross_compiling" = yes; then
  1203.   :
  1204. else
  1205.   cat > conftest.$ac_ext <<EOF
  1206. #line 1332 "configure"
  1207. #include "confdefs.h"
  1208. #include <ctype.h>
  1209. #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1210. #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  1211. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  1212. int main () { int i; for (i = 0; i < 256; i++)
  1213. if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
  1214. exit (0); }
  1215. EOF
  1216. if { (eval echo configure:1343: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
  1217. then
  1218.   :
  1219. else
  1220.   echo "configure: failed program was:" >&5
  1221.   cat conftest.$ac_ext >&5
  1222.   rm -fr conftest*
  1223.   ac_cv_header_stdc=no
  1224. fi
  1225. rm -fr conftest*
  1226. fi
  1227. fi
  1228. fi
  1229. echo "$ac_t""$ac_cv_header_stdc" 1>&6
  1230. if test $ac_cv_header_stdc = yes; then
  1231.   cat >> confdefs.h <<EOF
  1232. #define STDC_HEADERS 1
  1233. EOF
  1234. fi
  1235. for ac_hdr in unistd.h
  1236. do
  1237. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1238. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1239. echo "configure:1370: checking for $ac_hdr" >&5
  1240. if eval "test "`echo '$''{'ac_cv_header_$ac_safe'+set}'`" = set"; then
  1241.   echo $ac_n "(cached) $ac_c" 1>&6
  1242. else
  1243.   cat > conftest.$ac_ext <<EOF
  1244. #line 1375 "configure"
  1245. #include "confdefs.h"
  1246. #include <$ac_hdr>
  1247. EOF
  1248. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1249. { (eval echo configure:1380: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }
  1250. ac_err=`grep -v '^ *+' conftest.out`
  1251. if test -z "$ac_err"; then
  1252.   rm -rf conftest*
  1253.   eval "ac_cv_header_$ac_safe=yes"
  1254. else
  1255.   echo "$ac_err" >&5
  1256.   echo "configure: failed program was:" >&5
  1257.   cat conftest.$ac_ext >&5
  1258.   rm -rf conftest*
  1259.   eval "ac_cv_header_$ac_safe=no"
  1260. fi
  1261. rm -f conftest*
  1262. fi
  1263. if eval "test "`echo '$ac_cv_header_'$ac_safe`" = yes"; then
  1264.   echo "$ac_t""yes" 1>&6
  1265.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1266.   cat >> confdefs.h <<EOF
  1267. #define $ac_tr_hdr 1
  1268. EOF
  1269.  
  1270. else
  1271.   echo "$ac_t""no" 1>&6
  1272. fi
  1273. done
  1274. ac_ext=C
  1275. # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  1276. ac_cpp='$CXXCPP $CPPFLAGS'
  1277. ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  1278. ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  1279. cross_compiling=$ac_cv_prog_cxx_cross
  1280. trap '' 1 2 15
  1281. cat > confcache <<EOF
  1282. # This file is a shell script that caches the results of configure
  1283. # tests run on this system so they can be shared between configure
  1284. # scripts and configure runs.  It is not useful on other systems.
  1285. # If it contains results you don't want to keep, you may remove or edit it.
  1286. #
  1287. # By default, configure uses ./config.cache as the cache file,
  1288. # creating it if it does not exist already.  You can give configure
  1289. # the --cache-file=FILE option to use a different cache file; that is
  1290. # what configure does when it calls configure scripts in
  1291. # subdirectories, so they share the cache.
  1292. # Giving --cache-file=/dev/null disables caching, for debugging configure.
  1293. # config.status only pays attention to the cache file if you give it the
  1294. # --recheck option to rerun configure.
  1295. #
  1296. EOF
  1297. # The following way of writing the cache mishandles newlines in values,
  1298. # but we know of no workaround that is simple, portable, and efficient.
  1299. # So, don't put newlines in cache variables' values.
  1300. # Ultrix sh set writes to stderr and can't be redirected directly,
  1301. # and sets the high bit in the cache file unless we assign to the vars.
  1302. (set) 2>&1 |
  1303.   case `(ac_space=' '; set) 2>&1` in
  1304.   *ac_space= *)
  1305.     # `set' does not quote correctly, so add quotes (double-quote substitution
  1306.     # turns \\ into \, and sed turns \ into ).
  1307.     sed -n 
  1308.       -e "s/'/'\\''/g" 
  1309.       -e "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1='\2'}/p"
  1310.     ;;
  1311.   *)
  1312.     # `set' quotes correctly as required by POSIX, so do not add quotes.
  1313.     sed -n -e 's/^([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*)=(.*)/1=${1=2}/p'
  1314.     ;;
  1315.   esac >> confcache
  1316. if cmp -s $cache_file confcache; then
  1317.   :
  1318. else
  1319.   if test -w $cache_file; then
  1320.     echo "updating cache $cache_file"
  1321.     cat confcache > $cache_file
  1322.   else
  1323.     echo "not updating unwritable cache $cache_file"
  1324.   fi
  1325. fi
  1326. rm -f confcache
  1327. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1328. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1329. # Let make expand exec_prefix.
  1330. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1331. # Any assignment to VPATH causes Sun make to only execute
  1332. # the first set of double-colon rules, so remove it if not needed.
  1333. # If there is a colon in the path, we need to keep it.
  1334. if test "x$srcdir" = x.; then
  1335.   ac_vpsub='/^[  ]*VPATH[  ]*=[^:]*$/d'
  1336. fi
  1337. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  1338. # Transform confdefs.h into DEFS.
  1339. # Protect against shell expansion while executing Makefile rules.
  1340. # Protect against Makefile macro expansion.
  1341. cat > conftest.defs <<EOF
  1342. s%#define ([A-Za-z_][A-Za-z0-9_]*) *(.*)%-D1=2%g
  1343. s%[  `~#$^&*(){}\|;'"<>?]%\&%g
  1344. s%[%\&%g
  1345. s%]%\&%g
  1346. s%$%$$%g
  1347. EOF
  1348. DEFS=`sed -f conftest.defs confdefs.h | tr '12' ' '`
  1349. rm -f conftest.defs
  1350. # Without the "./", some shells look in PATH for config.status.
  1351. : ${CONFIG_STATUS=./config.status}
  1352. echo creating $CONFIG_STATUS
  1353. rm -f $CONFIG_STATUS
  1354. cat > $CONFIG_STATUS <<EOF
  1355. #! /bin/sh
  1356. # Generated automatically by configure.
  1357. # Run this file to recreate the current configuration.
  1358. # This directory was configured as follows,
  1359. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1360. #
  1361. # $0 $ac_configure_args
  1362. #
  1363. # Compiler output produced by configure, useful for debugging
  1364. # configure, is in ./config.log if it exists.
  1365. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1366. for ac_option
  1367. do
  1368.   case "$ac_option" in
  1369.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1370.     echo "running ${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1371.     exec ${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1372.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1373.     echo "$CONFIG_STATUS generated by autoconf version 2.12"
  1374.     exit 0 ;;
  1375.   -help | --help | --hel | --he | --h)
  1376.     echo "$ac_cs_usage"; exit 0 ;;
  1377.   *) echo "$ac_cs_usage"; exit 1 ;;
  1378.   esac
  1379. done
  1380. ac_given_srcdir=$srcdir
  1381. ac_given_INSTALL="$INSTALL"
  1382. trap 'rm -fr `echo "build/Makefile Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1383. EOF
  1384. cat >> $CONFIG_STATUS <<EOF
  1385. # Protect against being on the right side of a sed subst in config.status.
  1386. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
  1387.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  1388. $ac_vpsub
  1389. $extrasub
  1390. s%@CFLAGS@%$CFLAGS%g
  1391. s%@CPPFLAGS@%$CPPFLAGS%g
  1392. s%@CXXFLAGS@%$CXXFLAGS%g
  1393. s%@DEFS@%$DEFS%g
  1394. s%@LDFLAGS@%$LDFLAGS%g
  1395. s%@LIBS@%$LIBS%g
  1396. s%@exec_prefix@%$exec_prefix%g
  1397. s%@prefix@%$prefix%g
  1398. s%@program_transform_name@%$program_transform_name%g
  1399. s%@bindir@%$bindir%g
  1400. s%@sbindir@%$sbindir%g
  1401. s%@libexecdir@%$libexecdir%g
  1402. s%@datadir@%$datadir%g
  1403. s%@sysconfdir@%$sysconfdir%g
  1404. s%@sharedstatedir@%$sharedstatedir%g
  1405. s%@localstatedir@%$localstatedir%g
  1406. s%@libdir@%$libdir%g
  1407. s%@includedir@%$includedir%g
  1408. s%@oldincludedir@%$oldincludedir%g
  1409. s%@infodir@%$infodir%g
  1410. s%@mandir@%$mandir%g
  1411. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1412. s%@INSTALL_DATA@%$INSTALL_DATA%g
  1413. s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
  1414. s%@PACKAGE@%$PACKAGE%g
  1415. s%@VERSION@%$VERSION%g
  1416. s%@ACLOCAL@%$ACLOCAL%g
  1417. s%@AUTOCONF@%$AUTOCONF%g
  1418. s%@AUTOMAKE@%$AUTOMAKE%g
  1419. s%@AUTOHEADER@%$AUTOHEADER%g
  1420. s%@MAKEINFO@%$MAKEINFO%g
  1421. s%@SET_MAKE@%$SET_MAKE%g
  1422. s%@CXX@%$CXX%g
  1423. s%@CC@%$CC%g
  1424. s%@CPP@%$CPP%g
  1425. s%@LN_S@%$LN_S%g
  1426. s%@RANLIB@%$RANLIB%g
  1427. CEOF
  1428. EOF
  1429. cat >> $CONFIG_STATUS <<EOF
  1430. # Split the substitutions into bite-sized pieces for seds with
  1431. # small command number limits, like on Digital OSF/1 and HP-UX.
  1432. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  1433. ac_file=1 # Number of current file.
  1434. ac_beg=1 # First line for current file.
  1435. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  1436. ac_more_lines=:
  1437. ac_sed_cmds=""
  1438. while $ac_more_lines; do
  1439.   if test $ac_beg -gt 1; then
  1440.     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  1441.   else
  1442.     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  1443.   fi
  1444.   if test ! -s conftest.s$ac_file; then
  1445.     ac_more_lines=false
  1446.     rm -f conftest.s$ac_file
  1447.   else
  1448.     if test -z "$ac_sed_cmds"; then
  1449.       ac_sed_cmds="sed -f conftest.s$ac_file"
  1450.     else
  1451.       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  1452.     fi
  1453.     ac_file=`expr $ac_file + 1`
  1454.     ac_beg=$ac_end
  1455.     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  1456.   fi
  1457. done
  1458. if test -z "$ac_sed_cmds"; then
  1459.   ac_sed_cmds=cat
  1460. fi
  1461. EOF
  1462. cat >> $CONFIG_STATUS <<EOF
  1463. CONFIG_FILES=${CONFIG_FILES-"build/Makefile Makefile"}
  1464. EOF
  1465. cat >> $CONFIG_STATUS <<EOF
  1466. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  1467.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  1468.   case "$ac_file" in
  1469.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  1470.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1471.   *) ac_file_in="${ac_file}.in" ;;
  1472.   esac
  1473.   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  1474.   # Remove last slash and all that follows it.  Not all systems have dirname.
  1475.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1476.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1477.     # The file is in a subdirectory.
  1478.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  1479.     ac_dir_suffix="/`echo $ac_dir|sed 's%^./%%'`"
  1480.     # A "../" for each directory in $ac_dir_suffix.
  1481.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1482.   else
  1483.     ac_dir_suffix= ac_dots=
  1484.   fi
  1485.   case "$ac_given_srcdir" in
  1486.   .)  srcdir=.
  1487.       if test -z "$ac_dots"; then top_srcdir=.
  1488.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  1489.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1490.   *) # Relative path.
  1491.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1492.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1493.   esac
  1494.   case "$ac_given_INSTALL" in
  1495.   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  1496.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  1497.   esac
  1498.   echo creating "$ac_file"
  1499.   rm -f "$ac_file"
  1500.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  1501.   case "$ac_file" in
  1502.   *Makefile*) ac_comsub="1i\
  1503. # $configure_input" ;;
  1504.   *) ac_comsub= ;;
  1505.   esac
  1506.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  1507.   sed -e "$ac_comsub
  1508. s%@configure_input@%$configure_input%g
  1509. s%@srcdir@%$srcdir%g
  1510. s%@top_srcdir@%$top_srcdir%g
  1511. s%@INSTALL@%$INSTALL%g
  1512. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  1513. fi; done
  1514. rm -f conftest.s*
  1515. EOF
  1516. cat >> $CONFIG_STATUS <<EOF
  1517. EOF
  1518. cat >> $CONFIG_STATUS <<EOF
  1519. exit 0
  1520. EOF
  1521. chmod +x $CONFIG_STATUS
  1522. rm -fr confdefs* $ac_clean_files
  1523. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1