home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / lzop-1.00.tar.gz / lzop-1.00.tar / lzop-1.00 / configure < prev    next >
Text File  |  1998-04-25  |  93KB  |  3,090 lines

  1. #! /bin/sh
  2.  
  3. # Guess values for system-dependent variables and create Makefiles.
  4. # Generated automatically using autoconf version 2.12.1 
  5. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  6. #
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9.  
  10. # Defaults:
  11. ac_help=
  12. ac_default_prefix=/usr/local
  13. # Any additions from configure.in:
  14. ac_default_prefix=/usr/local
  15. ac_help="$ac_help
  16.   --enable-maintainer-mode enable make rules and dependencies not useful
  17.                           (and sometimes confusing) to the casual installer"
  18. ac_help="$ac_help
  19.   --with-dmalloc          use dmalloc, as in
  20.                           ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz"
  21. ac_help="$ac_help
  22.   --enable-debug          build a debug version [default=no]"
  23. ac_help="$ac_help
  24.   --enable-coverage       build a coverage version [default=no]"
  25.  
  26. # Initialize some variables set by options.
  27. # The variables have the same names as the options, with
  28. # dashes changed to underlines.
  29. build=NONE
  30. cache_file=./config.cache
  31. exec_prefix=NONE
  32. host=NONE
  33. no_create=
  34. nonopt=NONE
  35. no_recursion=
  36. prefix=NONE
  37. program_prefix=NONE
  38. program_suffix=NONE
  39. program_transform_name=s,x,x,
  40. silent=
  41. site=
  42. srcdir=
  43. target=NONE
  44. verbose=
  45. x_includes=NONE
  46. x_libraries=NONE
  47. bindir='${exec_prefix}/bin'
  48. sbindir='${exec_prefix}/sbin'
  49. libexecdir='${exec_prefix}/libexec'
  50. datadir='${prefix}/share'
  51. sysconfdir='${prefix}/etc'
  52. sharedstatedir='${prefix}/com'
  53. localstatedir='${prefix}/var'
  54. libdir='${exec_prefix}/lib'
  55. includedir='${prefix}/include'
  56. oldincludedir='/usr/include'
  57. infodir='${prefix}/info'
  58. mandir='${prefix}/man'
  59.  
  60. # Initialize some other variables.
  61. subdirs=
  62. MFLAGS= MAKEFLAGS=
  63. SHELL=${CONFIG_SHELL-/bin/sh}
  64. # Maximum number of lines to put in a shell here document.
  65. ac_max_here_lines=12
  66.  
  67. ac_prev=
  68. for ac_option
  69. do
  70.  
  71.   # If the previous option needs an argument, assign it.
  72.   if test -n "$ac_prev"; then
  73.     eval "$ac_prev=\$ac_option"
  74.     ac_prev=
  75.     continue
  76.   fi
  77.  
  78.   case "$ac_option" in
  79.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  80.   *) ac_optarg= ;;
  81.   esac
  82.  
  83.   # Accept the important Cygnus configure options, so we can diagnose typos.
  84.  
  85.   case "$ac_option" in
  86.  
  87.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  88.     ac_prev=bindir ;;
  89.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  90.     bindir="$ac_optarg" ;;
  91.  
  92.   -build | --build | --buil | --bui | --bu)
  93.     ac_prev=build ;;
  94.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  95.     build="$ac_optarg" ;;
  96.  
  97.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  98.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  99.     ac_prev=cache_file ;;
  100.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  101.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  102.     cache_file="$ac_optarg" ;;
  103.  
  104.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  105.     ac_prev=datadir ;;
  106.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  107.   | --da=*)
  108.     datadir="$ac_optarg" ;;
  109.  
  110.   -disable-* | --disable-*)
  111.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  112.     # Reject names that are not valid shell variable names.
  113.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  114.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  115.     fi
  116.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  117.     eval "enable_${ac_feature}=no" ;;
  118.  
  119.   -enable-* | --enable-*)
  120.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  121.     # Reject names that are not valid shell variable names.
  122.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  123.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  124.     fi
  125.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  126.     case "$ac_option" in
  127.       *=*) ;;
  128.       *) ac_optarg=yes ;;
  129.     esac
  130.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  131.  
  132.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  133.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  134.   | --exec | --exe | --ex)
  135.     ac_prev=exec_prefix ;;
  136.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  137.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  138.   | --exec=* | --exe=* | --ex=*)
  139.     exec_prefix="$ac_optarg" ;;
  140.  
  141.   -gas | --gas | --ga | --g)
  142.     # Obsolete; use --with-gas.
  143.     with_gas=yes ;;
  144.  
  145.   -help | --help | --hel | --he)
  146.     # Omit some internal or obsolete options to make the list less imposing.
  147.     # This message is too long to be a string in the A/UX 3.1 sh.
  148.     cat << EOF
  149. Usage: configure [options] [host]
  150. Options: [defaults in brackets after descriptions]
  151. Configuration:
  152.   --cache-file=FILE       cache test results in FILE
  153.   --help                  print this message
  154.   --no-create             do not create output files
  155.   --quiet, --silent       do not print \`checking...' messages
  156.   --version               print the version of autoconf that created configure
  157. Directory and file names:
  158.   --prefix=PREFIX         install architecture-independent files in PREFIX
  159.                           [$ac_default_prefix]
  160.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  161.                           [same as prefix]
  162.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  163.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  164.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  165.   --datadir=DIR           read-only architecture-independent data in DIR
  166.                           [PREFIX/share]
  167.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  168.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  169.                           [PREFIX/com]
  170.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  171.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  172.   --includedir=DIR        C header files in DIR [PREFIX/include]
  173.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  174.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  175.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  176.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  177.   --program-prefix=PREFIX prepend PREFIX to installed program names
  178.   --program-suffix=SUFFIX append SUFFIX to installed program names
  179.   --program-transform-name=PROGRAM
  180.                           run sed PROGRAM on installed program names
  181. EOF
  182.     cat << EOF
  183. Host type:
  184.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  185.   --host=HOST             configure for HOST [guessed]
  186.   --target=TARGET         configure for TARGET [TARGET=HOST]
  187. Features and packages:
  188.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  189.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  190.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  191.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  192.   --x-includes=DIR        X include files are in DIR
  193.   --x-libraries=DIR       X library files are in DIR
  194. EOF
  195.     if test -n "$ac_help"; then
  196.       echo "--enable and --with options recognized:$ac_help"
  197.     fi
  198.     exit 0 ;;
  199.  
  200.   -host | --host | --hos | --ho)
  201.     ac_prev=host ;;
  202.   -host=* | --host=* | --hos=* | --ho=*)
  203.     host="$ac_optarg" ;;
  204.  
  205.   -includedir | --includedir | --includedi | --included | --include \
  206.   | --includ | --inclu | --incl | --inc)
  207.     ac_prev=includedir ;;
  208.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  209.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  210.     includedir="$ac_optarg" ;;
  211.  
  212.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  213.     ac_prev=infodir ;;
  214.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  215.     infodir="$ac_optarg" ;;
  216.  
  217.   -libdir | --libdir | --libdi | --libd)
  218.     ac_prev=libdir ;;
  219.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  220.     libdir="$ac_optarg" ;;
  221.  
  222.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  223.   | --libexe | --libex | --libe)
  224.     ac_prev=libexecdir ;;
  225.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  226.   | --libexe=* | --libex=* | --libe=*)
  227.     libexecdir="$ac_optarg" ;;
  228.  
  229.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  230.   | --localstate | --localstat | --localsta | --localst \
  231.   | --locals | --local | --loca | --loc | --lo)
  232.     ac_prev=localstatedir ;;
  233.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  234.   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  235.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  236.     localstatedir="$ac_optarg" ;;
  237.  
  238.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  239.     ac_prev=mandir ;;
  240.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  241.     mandir="$ac_optarg" ;;
  242.  
  243.   -nfp | --nfp | --nf)
  244.     # Obsolete; use --without-fp.
  245.     with_fp=no ;;
  246.  
  247.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  248.   | --no-cr | --no-c)
  249.     no_create=yes ;;
  250.  
  251.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  252.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  253.     no_recursion=yes ;;
  254.  
  255.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  256.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  257.   | --oldin | --oldi | --old | --ol | --o)
  258.     ac_prev=oldincludedir ;;
  259.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  260.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  261.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  262.     oldincludedir="$ac_optarg" ;;
  263.  
  264.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  265.     ac_prev=prefix ;;
  266.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  267.     prefix="$ac_optarg" ;;
  268.  
  269.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  270.   | --program-pre | --program-pr | --program-p)
  271.     ac_prev=program_prefix ;;
  272.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  273.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  274.     program_prefix="$ac_optarg" ;;
  275.  
  276.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  277.   | --program-suf | --program-su | --program-s)
  278.     ac_prev=program_suffix ;;
  279.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  280.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  281.     program_suffix="$ac_optarg" ;;
  282.  
  283.   -program-transform-name | --program-transform-name \
  284.   | --program-transform-nam | --program-transform-na \
  285.   | --program-transform-n | --program-transform- \
  286.   | --program-transform | --program-transfor \
  287.   | --program-transfo | --program-transf \
  288.   | --program-trans | --program-tran \
  289.   | --progr-tra | --program-tr | --program-t)
  290.     ac_prev=program_transform_name ;;
  291.   -program-transform-name=* | --program-transform-name=* \
  292.   | --program-transform-nam=* | --program-transform-na=* \
  293.   | --program-transform-n=* | --program-transform-=* \
  294.   | --program-transform=* | --program-transfor=* \
  295.   | --program-transfo=* | --program-transf=* \
  296.   | --program-trans=* | --program-tran=* \
  297.   | --progr-tra=* | --program-tr=* | --program-t=*)
  298.     program_transform_name="$ac_optarg" ;;
  299.  
  300.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  301.   | -silent | --silent | --silen | --sile | --sil)
  302.     silent=yes ;;
  303.  
  304.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  305.     ac_prev=sbindir ;;
  306.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  307.   | --sbi=* | --sb=*)
  308.     sbindir="$ac_optarg" ;;
  309.  
  310.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  311.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  312.   | --sharedst | --shareds | --shared | --share | --shar \
  313.   | --sha | --sh)
  314.     ac_prev=sharedstatedir ;;
  315.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  316.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  317.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  318.   | --sha=* | --sh=*)
  319.     sharedstatedir="$ac_optarg" ;;
  320.  
  321.   -site | --site | --sit)
  322.     ac_prev=site ;;
  323.   -site=* | --site=* | --sit=*)
  324.     site="$ac_optarg" ;;
  325.  
  326.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  327.     ac_prev=srcdir ;;
  328.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  329.     srcdir="$ac_optarg" ;;
  330.  
  331.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  332.   | --syscon | --sysco | --sysc | --sys | --sy)
  333.     ac_prev=sysconfdir ;;
  334.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  335.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  336.     sysconfdir="$ac_optarg" ;;
  337.  
  338.   -target | --target | --targe | --targ | --tar | --ta | --t)
  339.     ac_prev=target ;;
  340.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  341.     target="$ac_optarg" ;;
  342.  
  343.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  344.     verbose=yes ;;
  345.  
  346.   -version | --version | --versio | --versi | --vers)
  347.     echo "configure generated by autoconf version 2.12.1"
  348.     exit 0 ;;
  349.  
  350.   -with-* | --with-*)
  351.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  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.     case "$ac_option" in
  358.       *=*) ;;
  359.       *) ac_optarg=yes ;;
  360.     esac
  361.     eval "with_${ac_package}='$ac_optarg'" ;;
  362.  
  363.   -without-* | --without-*)
  364.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  365.     # Reject names that are not valid shell variable names.
  366.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  367.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  368.     fi
  369.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  370.     eval "with_${ac_package}=no" ;;
  371.  
  372.   --x)
  373.     # Obsolete; use --with-x.
  374.     with_x=yes ;;
  375.  
  376.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  377.   | --x-incl | --x-inc | --x-in | --x-i)
  378.     ac_prev=x_includes ;;
  379.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  380.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  381.     x_includes="$ac_optarg" ;;
  382.  
  383.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  384.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  385.     ac_prev=x_libraries ;;
  386.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  387.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  388.     x_libraries="$ac_optarg" ;;
  389.  
  390.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  391.     ;;
  392.  
  393.   *)
  394.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  395.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  396.     fi
  397.     if test "x$nonopt" != xNONE; then
  398.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  399.     fi
  400.     nonopt="$ac_option"
  401.     ;;
  402.  
  403.   esac
  404. done
  405.  
  406. if test -n "$ac_prev"; then
  407.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  408. fi
  409.  
  410. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  411.  
  412. # File descriptor usage:
  413. # 0 standard input
  414. # 1 file creation
  415. # 2 errors and warnings
  416. # 3 some systems may open it to /dev/tty
  417. # 4 used on the Kubota Titan
  418. # 6 checking for... messages and results
  419. # 5 compiler messages saved in config.log
  420. if test "$silent" = yes; then
  421.   exec 6>/dev/null
  422. else
  423.   exec 6>&1
  424. fi
  425. exec 5>./config.log
  426.  
  427. echo "\
  428. This file contains any messages produced by compilers while
  429. running configure, to aid debugging if configure makes a mistake.
  430. " 1>&5
  431.  
  432. # Strip out --no-create and --no-recursion so they do not pile up.
  433. # Also quote any args containing shell metacharacters.
  434. ac_configure_args=
  435. for ac_arg
  436. do
  437.   case "$ac_arg" in
  438.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  439.   | --no-cr | --no-c) ;;
  440.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  441.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  442.   *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  443.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  444.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  445.   esac
  446. done
  447.  
  448. # NLS nuisances.
  449. # Only set these to C if already set.  These must not be set unconditionally
  450. # because not all systems understand e.g. LANG=C (notably SCO).
  451. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  452. # Non-C LC_CTYPE values break the ctype check.
  453. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  454. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  455. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  456. if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
  457.  
  458. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  459. rm -rf conftest* confdefs.h
  460. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  461. echo > confdefs.h
  462.  
  463. # A filename unique to this package, relative to the directory that
  464. # configure is in, which we can look for to find out if srcdir is correct.
  465. ac_unique_file=src/lzop.c
  466.  
  467. # Find the source files, if location was not specified.
  468. if test -z "$srcdir"; then
  469.   ac_srcdir_defaulted=yes
  470.   # Try the directory containing this script, then its parent.
  471.   ac_prog=$0
  472.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  473.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  474.   srcdir=$ac_confdir
  475.   if test ! -r $srcdir/$ac_unique_file; then
  476.     srcdir=..
  477.   fi
  478. else
  479.   ac_srcdir_defaulted=no
  480. fi
  481. if test ! -r $srcdir/$ac_unique_file; then
  482.   if test "$ac_srcdir_defaulted" = yes; then
  483.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  484.   else
  485.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  486.   fi
  487. fi
  488. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  489.  
  490. # Prefer explicitly selected file to automatically selected ones.
  491. if test -z "$CONFIG_SITE"; then
  492.   if test "x$prefix" != xNONE; then
  493.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  494.   else
  495.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  496.   fi
  497. fi
  498. for ac_site_file in $CONFIG_SITE; do
  499.   if test -r "$ac_site_file"; then
  500.     echo "loading site script $ac_site_file"
  501.     . "$ac_site_file"
  502.   fi
  503. done
  504.  
  505. if test -r "$cache_file"; then
  506.   echo "loading cache $cache_file"
  507.   . $cache_file
  508. else
  509.   echo "creating cache $cache_file"
  510.   > $cache_file
  511. fi
  512.  
  513. ac_ext=c
  514. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  515. ac_cpp='$CPP $CPPFLAGS'
  516. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  517. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  518. cross_compiling=$ac_cv_prog_cc_cross
  519.  
  520. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  521.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  522.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  523.     ac_n= ac_c='
  524. ' ac_t='    '
  525.   else
  526.     ac_n=-n ac_c= ac_t=
  527.   fi
  528. else
  529.   ac_n= ac_c='\c' ac_t=
  530. fi
  531.  
  532.  
  533.  
  534. ac_aux_dir=
  535. for ac_dir in acconfig $srcdir/acconfig; do
  536.   if test -f $ac_dir/install-sh; then
  537.     ac_aux_dir=$ac_dir
  538.     ac_install_sh="$ac_aux_dir/install-sh -c"
  539.     break
  540.   elif test -f $ac_dir/install.sh; then
  541.     ac_aux_dir=$ac_dir
  542.     ac_install_sh="$ac_aux_dir/install.sh -c"
  543.     break
  544.   fi
  545. done
  546. if test -z "$ac_aux_dir"; then
  547.   { echo "configure: error: can not find install-sh or install.sh in acconfig $srcdir/acconfig" 1>&2; exit 1; }
  548. fi
  549. ac_config_guess=$ac_aux_dir/config.guess
  550. ac_config_sub=$ac_aux_dir/config.sub
  551. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  552.  
  553.  
  554. # Find a good install program.  We prefer a C program (faster),
  555. # so one script is as good as another.  But avoid the broken or
  556. # incompatible versions:
  557. # SysV /etc/install, /usr/sbin/install
  558. # SunOS /usr/etc/install
  559. # IRIX /sbin/install
  560. # AIX /bin/install
  561. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  562. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  563. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  564. # ./install, which can be erroneously created by make from ./install.sh.
  565. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  566. echo "configure:567: checking for a BSD compatible install" >&5
  567. if test -z "$INSTALL"; then
  568. if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  569.   echo $ac_n "(cached) $ac_c" 1>&6
  570. else
  571.     IFS="${IFS=     }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
  572.   for ac_dir in $PATH; do
  573.     # Account for people who put trailing slashes in PATH elements.
  574.     case "$ac_dir/" in
  575.     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  576.     *)
  577.       # OSF1 and SCO ODT 3.0 have their own names for install.
  578.       # Don't use installbsd from OSF since it installs stuff as root
  579.       # by default.
  580.       for ac_prog in ginstall scoinst install; do
  581.         if test -f $ac_dir/$ac_prog; then
  582.       if test $ac_prog = install &&
  583.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  584.         # AIX install.  It has an incompatible calling convention.
  585.         :
  586.       else
  587.         ac_cv_path_install="$ac_dir/$ac_prog -c"
  588.         break 2
  589.       fi
  590.     fi
  591.       done
  592.       ;;
  593.     esac
  594.   done
  595.   IFS="$ac_save_IFS"
  596.  
  597. fi
  598.   if test "${ac_cv_path_install+set}" = set; then
  599.     INSTALL="$ac_cv_path_install"
  600.   else
  601.     # As a last resort, use the slow shell script.  We don't cache a
  602.     # path for INSTALL within a source directory, because that will
  603.     # break other packages using the cache if that directory is
  604.     # removed, or if the path is relative.
  605.     INSTALL="$ac_install_sh"
  606.   fi
  607. fi
  608. echo "$ac_t""$INSTALL" 1>&6
  609.  
  610. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  611. # It thinks the first close brace ends the variable substitution.
  612. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  613.  
  614. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  615.  
  616.  
  617. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  618.  
  619. echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
  620. echo "configure:621: checking whether build environment is sane" >&5
  621. # Just in case
  622. sleep 1
  623. echo timestamp > conftestfile
  624. # Do `set' in a subshell so we don't clobber the current shell's
  625. # arguments.  Must try -L first in case configure is actually a
  626. # symlink; some systems play weird games with the mod time of symlinks
  627. # (eg FreeBSD returns the mod time of the symlink's containing
  628. # directory).
  629. if (
  630.    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
  631.    if test "$*" = "X"; then
  632.       # -L didn't work.
  633.       set X `ls -t $srcdir/configure conftestfile`
  634.    fi
  635.    if test "$*" != "X $srcdir/configure conftestfile" \
  636.       && test "$*" != "X conftestfile $srcdir/configure"; then
  637.  
  638.       # If neither matched, then we have a broken ls.  This can happen
  639.       # if, for instance, CONFIG_SHELL is bash and it inherits a
  640.       # broken ls alias from the environment.  This has actually
  641.       # happened.  Such a system could not be considered "sane".
  642.       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
  643. alias in your environment" 1>&2; exit 1; }
  644.    fi
  645.  
  646.    test "$2" = conftestfile
  647.    )
  648. then
  649.    # Ok.
  650.    :
  651. else
  652.    { echo "configure: error: newly created file is older than distributed files!
  653. Check your system clock" 1>&2; exit 1; }
  654. fi
  655. rm -f conftest*
  656. echo "$ac_t""yes" 1>&6
  657. if test "$program_transform_name" = s,x,x,; then
  658.   program_transform_name=
  659. else
  660.   # Double any \ or $.  echo might interpret backslashes.
  661.   cat <<\EOF_SED > conftestsed
  662. s,\\,\\\\,g; s,\$,$$,g
  663. EOF_SED
  664.   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  665.   rm -f conftestsed
  666. fi
  667. test "$program_prefix" != NONE &&
  668.   program_transform_name="s,^,${program_prefix},; $program_transform_name"
  669. # Use a double $ so make ignores it.
  670. test "$program_suffix" != NONE &&
  671.   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
  672.  
  673. # sed with no file args requires a program.
  674. test "$program_transform_name" = "" && program_transform_name="s,x,x,"
  675.  
  676. echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  677. echo "configure:678: checking whether ${MAKE-make} sets \${MAKE}" >&5
  678. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  679. if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  680.   echo $ac_n "(cached) $ac_c" 1>&6
  681. else
  682.   cat > conftestmake <<\EOF
  683. all:
  684.     @echo 'ac_maketemp="${MAKE}"'
  685. EOF
  686. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  687. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  688. if test -n "$ac_maketemp"; then
  689.   eval ac_cv_prog_make_${ac_make}_set=yes
  690. else
  691.   eval ac_cv_prog_make_${ac_make}_set=no
  692. fi
  693. rm -f conftestmake
  694. fi
  695. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  696.   echo "$ac_t""yes" 1>&6
  697.   SET_MAKE=
  698. else
  699.   echo "$ac_t""no" 1>&6
  700.   SET_MAKE="MAKE=${MAKE-make}"
  701. fi
  702.  
  703.  
  704. PACKAGE=lzop
  705.  
  706. VERSION=1.00
  707.  
  708. if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
  709.   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
  710. fi
  711. cat >> confdefs.h <<EOF
  712. #define PACKAGE "$PACKAGE"
  713. EOF
  714.  
  715. cat >> confdefs.h <<EOF
  716. #define VERSION "$VERSION"
  717. EOF
  718.  
  719.  
  720.  
  721. missing_dir=`cd $ac_aux_dir && pwd`
  722. echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
  723. echo "configure:724: checking for working aclocal" >&5
  724. # Run test in a subshell; some versions of sh will print an error if
  725. # an executable is not found, even if stderr is redirected.
  726. # Redirect stdin to placate older versions of autoconf.  Sigh.
  727. if (aclocal --version) < /dev/null > /dev/null 2>&1; then
  728.    ACLOCAL=aclocal
  729.    echo "$ac_t""found" 1>&6
  730. else
  731.    ACLOCAL="$missing_dir/missing aclocal"
  732.    echo "$ac_t""missing" 1>&6
  733. fi
  734.  
  735. echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
  736. echo "configure:737: checking for working autoconf" >&5
  737. # Run test in a subshell; some versions of sh will print an error if
  738. # an executable is not found, even if stderr is redirected.
  739. # Redirect stdin to placate older versions of autoconf.  Sigh.
  740. if (autoconf --version) < /dev/null > /dev/null 2>&1; then
  741.    AUTOCONF=autoconf
  742.    echo "$ac_t""found" 1>&6
  743. else
  744.    AUTOCONF="$missing_dir/missing autoconf"
  745.    echo "$ac_t""missing" 1>&6
  746. fi
  747.  
  748. echo $ac_n "checking for working automake""... $ac_c" 1>&6
  749. echo "configure:750: checking for working automake" >&5
  750. # Run test in a subshell; some versions of sh will print an error if
  751. # an executable is not found, even if stderr is redirected.
  752. # Redirect stdin to placate older versions of autoconf.  Sigh.
  753. if (automake --version) < /dev/null > /dev/null 2>&1; then
  754.    AUTOMAKE=automake
  755.    echo "$ac_t""found" 1>&6
  756. else
  757.    AUTOMAKE="$missing_dir/missing automake"
  758.    echo "$ac_t""missing" 1>&6
  759. fi
  760.  
  761. echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
  762. echo "configure:763: checking for working autoheader" >&5
  763. # Run test in a subshell; some versions of sh will print an error if
  764. # an executable is not found, even if stderr is redirected.
  765. # Redirect stdin to placate older versions of autoconf.  Sigh.
  766. if (autoheader --version) < /dev/null > /dev/null 2>&1; then
  767.    AUTOHEADER=autoheader
  768.    echo "$ac_t""found" 1>&6
  769. else
  770.    AUTOHEADER="$missing_dir/missing autoheader"
  771.    echo "$ac_t""missing" 1>&6
  772. fi
  773.  
  774. echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
  775. echo "configure:776: checking for working makeinfo" >&5
  776. # Run test in a subshell; some versions of sh will print an error if
  777. # an executable is not found, even if stderr is redirected.
  778. # Redirect stdin to placate older versions of autoconf.  Sigh.
  779. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
  780.    MAKEINFO=makeinfo
  781.    echo "$ac_t""found" 1>&6
  782. else
  783.    MAKEINFO="$missing_dir/missing makeinfo"
  784.    echo "$ac_t""missing" 1>&6
  785. fi
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792. # Make sure we can run config.sub.
  793. if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
  794. else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
  795. fi
  796.  
  797. echo $ac_n "checking host system type""... $ac_c" 1>&6
  798. echo "configure:799: checking host system type" >&5
  799.  
  800. host_alias=$host
  801. case "$host_alias" in
  802. NONE)
  803.   case $nonopt in
  804.   NONE)
  805.     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
  806.     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
  807.     fi ;;
  808.   *) host_alias=$nonopt ;;
  809.   esac ;;
  810. esac
  811.  
  812. host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
  813. host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  814. host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  815. host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  816. echo "$ac_t""$host" 1>&6
  817.  
  818.  
  819. echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
  820. echo "configure:821: checking whether to enable maintainer-specific portions of Makefiles" >&5
  821.     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
  822. if test "${enable_maintainer_mode+set}" = set; then
  823.   enableval="$enable_maintainer_mode"
  824.   USE_MAINTAINER_MODE=$enableval
  825. else
  826.   USE_MAINTAINER_MODE=no
  827. fi
  828.  
  829.   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
  830.   if test $USE_MAINTAINER_MODE = yes; then
  831.     MAINT=
  832.   else
  833.     MAINT='#M#'
  834.   fi
  835.   
  836.  
  837.  
  838.  
  839. if test x$USE_MAINTAINER_MODE = xyes; then
  840.   MAINTAINER_TRUE=
  841.   MAINTAINER_FALSE='#'
  842. else
  843.   MAINTAINER_TRUE='#'
  844.   MAINTAINER_FALSE=
  845. fi
  846.  
  847. echo $ac_n "checking whether we are using GNU make""... $ac_c" 1>&6
  848. echo "configure:849: checking whether we are using GNU make" >&5
  849. # Run test in a subshell; some versions of sh will print an error if
  850. # an executable is not found, even if stderr is redirected.
  851. if (${MAKE-make} --version) 2>&1 </dev/null | grep 'GNU' >/dev/null; then
  852.    mfx_GMAKE=yes
  853.    echo "$ac_t""yes" 1>&6
  854. else
  855.    mfx_GMAKE=no
  856.    echo "$ac_t""no" 1>&6
  857. fi
  858.  
  859.  
  860.  
  861. if test x$mfx_GMAKE = xyes; then
  862.   GMAKE_TRUE=
  863.   GMAKE_FALSE='#'
  864. else
  865.   GMAKE_TRUE='#'
  866.   GMAKE_FALSE=
  867. fi
  868.  
  869. CLEANFILES='*.i'
  870. DISTCLEANFILES='*.bb *.bbg *.da *.gcov bb.out bbtrace* gmon.out'
  871.  
  872.  
  873.  
  874. echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6
  875. echo "configure:876: checking if malloc debugging is wanted" >&5
  876. # Check whether --with-dmalloc or --without-dmalloc was given.
  877. if test "${with_dmalloc+set}" = set; then
  878.   withval="$with_dmalloc"
  879.   if test "$withval" = yes; then
  880.   echo "$ac_t""yes" 1>&6
  881.   cat >> confdefs.h <<\EOF
  882. #define WITH_DMALLOC 1
  883. EOF
  884.  
  885.   LIBS="$LIBS -ldmalloc"
  886.   LDFLAGS="$LDFLAGS -g"
  887. else
  888.   echo "$ac_t""no" 1>&6
  889. fi
  890. else
  891.   echo "$ac_t""no" 1>&6
  892. fi
  893.  
  894.  
  895.  
  896. # Check whether --enable-debug or --disable-debug was given.
  897. if test "${enable_debug+set}" = set; then
  898.   enableval="$enable_debug"
  899.   test "$enableval" = yes && enable_debug=yes
  900. fi
  901.  
  902. test "$enable_debug" = yes || enable_debug=no
  903.  
  904. # Check whether --enable-coverage or --disable-coverage was given.
  905. if test "${enable_coverage+set}" = set; then
  906.   enableval="$enable_coverage"
  907.   test "$enableval" = yes && enable_coverage=yes
  908. fi
  909.  
  910. test "$enable_coverage" = yes || enable_coverage=no
  911.  
  912.  
  913. # /***********************************************************************
  914. # // Prepare compiler flags
  915. # ************************************************************************/
  916.  
  917.  
  918. CPPFLAGS="$CPPFLAGS"
  919. CFLAGS="$CFLAGS"
  920. CFLAGS_O=""
  921. CFLAGS_W=""
  922. EXTRA_CFLAGS=""
  923.  
  924.  
  925. # /***********************************************************************
  926. # // try to locate the LZO library
  927. # ************************************************************************/
  928.  
  929. lzo_includedir=""
  930. lzo_libdir=""
  931. lzo_liblzo_a=""
  932.  
  933.  
  934. if test -n "$LZODIR"; then
  935.   test -d "$LZODIR" && LZODIR=`cd "$LZODIR" && pwd`
  936. fi
  937.  
  938. if test -d "$LZODIR"; then
  939.   test -z "$lzo_includedir" && test -f "$LZODIR/include/lzoconf.h" \
  940.     && lzo_includedir="$LZODIR/include"
  941.   test -z "$lzo_includedir" && test -f "$LZODIR/lzoconf.h" \
  942.     && lzo_includedir="$LZODIR"
  943.  
  944.   test -z "$lzo_libdir" && test -f "$LZODIR/lib/liblzo.a" \
  945.     && lzo_libdir="$LZODIR/lib"
  946.   test -z "$lzo_libdir" && test -f "$LZODIR/src/.libs/liblzo.a" \
  947.     && lzo_libdir="$LZODIR/src/.libs"
  948.   test -z "$lzo_libdir" && test -f "$LZODIR/src/_libs/liblzo.a" \
  949.     && lzo_libdir="$LZODIR/src/_libs"
  950.   test -z "$lzo_libdir" && test -f "$LZODIR/src/liblzo.a" \
  951.     && lzo_libdir="$LZODIR/src"
  952.   test -z "$lzo_libdir" && test -f "$LZODIR/liblzo.a" \
  953.     && lzo_libdir="$LZODIR"
  954.  
  955.   test -n "$lzo_includedir" && CPPFLAGS="$CPPFLAGS -I$lzo_includedir"
  956. fi
  957.  
  958. if test -n "$lzo_libdir"; then
  959.   test -f "$lzo_libdir/liblzo.a" && lzo_liblzo_a="$lzo_libdir/liblzo.a"
  960.   LDFLAGS="$LDFLAGS -L$lzo_libdir"
  961. fi
  962.  
  963.  
  964. # /***********************************************************************
  965. # // Checks for compiler
  966. # ************************************************************************/
  967.  
  968. # Extract the first word of "gcc", so it can be a program name with args.
  969. set dummy gcc; ac_word=$2
  970. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  971. echo "configure:972: checking for $ac_word" >&5
  972. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  973.   echo $ac_n "(cached) $ac_c" 1>&6
  974. else
  975.   if test -n "$CC"; then
  976.   ac_cv_prog_CC="$CC" # Let the user override the test.
  977. else
  978.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  979.   for ac_dir in $PATH; do
  980.     test -z "$ac_dir" && ac_dir=.
  981.     if test -f $ac_dir/$ac_word; then
  982.       ac_cv_prog_CC="gcc"
  983.       break
  984.     fi
  985.   done
  986.   IFS="$ac_save_ifs"
  987. fi
  988. fi
  989. CC="$ac_cv_prog_CC"
  990. if test -n "$CC"; then
  991.   echo "$ac_t""$CC" 1>&6
  992. else
  993.   echo "$ac_t""no" 1>&6
  994. fi
  995.  
  996. if test -z "$CC"; then
  997.   # Extract the first word of "cc", so it can be a program name with args.
  998. set dummy cc; ac_word=$2
  999. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1000. echo "configure:1001: checking for $ac_word" >&5
  1001. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  1002.   echo $ac_n "(cached) $ac_c" 1>&6
  1003. else
  1004.   if test -n "$CC"; then
  1005.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1006. else
  1007.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1008.   ac_prog_rejected=no
  1009.   for ac_dir in $PATH; do
  1010.     test -z "$ac_dir" && ac_dir=.
  1011.     if test -f $ac_dir/$ac_word; then
  1012.       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  1013.         ac_prog_rejected=yes
  1014.     continue
  1015.       fi
  1016.       ac_cv_prog_CC="cc"
  1017.       break
  1018.     fi
  1019.   done
  1020.   IFS="$ac_save_ifs"
  1021. if test $ac_prog_rejected = yes; then
  1022.   # We found a bogon in the path, so make sure we never use it.
  1023.   set dummy $ac_cv_prog_CC
  1024.   shift
  1025.   if test $# -gt 0; then
  1026.     # We chose a different compiler from the bogus one.
  1027.     # However, it has the same basename, so the bogon will be chosen
  1028.     # first if we set CC to just the basename; use the full file name.
  1029.     shift
  1030.     set dummy "$ac_dir/$ac_word" "$@"
  1031.     shift
  1032.     ac_cv_prog_CC="$@"
  1033.   fi
  1034. fi
  1035. fi
  1036. fi
  1037. CC="$ac_cv_prog_CC"
  1038. if test -n "$CC"; then
  1039.   echo "$ac_t""$CC" 1>&6
  1040. else
  1041.   echo "$ac_t""no" 1>&6
  1042. fi
  1043.  
  1044.   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  1045. fi
  1046.  
  1047. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  1048. echo "configure:1049: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  1049.  
  1050. ac_ext=c
  1051. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  1052. ac_cpp='$CPP $CPPFLAGS'
  1053. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  1054. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  1055. cross_compiling=$ac_cv_prog_cc_cross
  1056.  
  1057. cat > conftest.$ac_ext <<EOF
  1058. #line 1059 "configure"
  1059. #include "confdefs.h"
  1060. main(){return(0);}
  1061. EOF
  1062. if { (eval echo configure:1063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  1063.   ac_cv_prog_cc_works=yes
  1064.   # If we can't run a trivial program, we are probably using a cross compiler.
  1065.   if (./conftest; exit) 2>/dev/null; then
  1066.     ac_cv_prog_cc_cross=no
  1067.   else
  1068.     ac_cv_prog_cc_cross=yes
  1069.   fi
  1070. else
  1071.   echo "configure: failed program was:" >&5
  1072.   cat conftest.$ac_ext >&5
  1073.   ac_cv_prog_cc_works=no
  1074. fi
  1075. rm -fr conftest*
  1076.  
  1077. echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  1078. if test $ac_cv_prog_cc_works = no; then
  1079.   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  1080. fi
  1081. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  1082. echo "configure:1083: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  1083. echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  1084. cross_compiling=$ac_cv_prog_cc_cross
  1085.  
  1086. echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  1087. echo "configure:1088: checking whether we are using GNU C" >&5
  1088. if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  1089.   echo $ac_n "(cached) $ac_c" 1>&6
  1090. else
  1091.   cat > conftest.c <<EOF
  1092. #ifdef __GNUC__
  1093.   yes;
  1094. #endif
  1095. EOF
  1096. if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  1097.   ac_cv_prog_gcc=yes
  1098. else
  1099.   ac_cv_prog_gcc=no
  1100. fi
  1101. fi
  1102.  
  1103. echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  1104.  
  1105. if test $ac_cv_prog_gcc = yes; then
  1106.   GCC=yes
  1107.   ac_test_CFLAGS="${CFLAGS+set}"
  1108.   ac_save_CFLAGS="$CFLAGS"
  1109.   CFLAGS=
  1110.   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  1111. echo "configure:1112: checking whether ${CC-cc} accepts -g" >&5
  1112. if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  1113.   echo $ac_n "(cached) $ac_c" 1>&6
  1114. else
  1115.   echo 'void f(){}' > conftest.c
  1116. if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  1117.   ac_cv_prog_cc_g=yes
  1118. else
  1119.   ac_cv_prog_cc_g=no
  1120. fi
  1121. rm -f conftest*
  1122.  
  1123. fi
  1124.  
  1125. echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  1126.   if test "$ac_test_CFLAGS" = set; then
  1127.     CFLAGS="$ac_save_CFLAGS"
  1128.   elif test $ac_cv_prog_cc_g = yes; then
  1129.     CFLAGS="-g -O2"
  1130.   else
  1131.     CFLAGS="-O2"
  1132.   fi
  1133. else
  1134.   GCC=
  1135.   test "${CFLAGS+set}" = set || CFLAGS="-g"
  1136. fi
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142. echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
  1143. echo "configure:1144: checking for ${CC-cc} option to accept ANSI C" >&5
  1144. if eval "test \"`echo '$''{'mfx_cv_prog_cc_ansi'+set}'`\" = set"; then
  1145.   echo $ac_n "(cached) $ac_c" 1>&6
  1146. else
  1147.   mfx_cv_prog_cc_ansi=no
  1148. ac_save_CC="$CC"
  1149. # Don't try gcc -ansi; that turns off useful extensions and
  1150. # breaks some systems' header files.
  1151. # AIX                   -qlanglvl=ansi
  1152. # Ultrix and OSF/1      -std1
  1153. # HP-UX                 -Aa -D_HPUX_SOURCE
  1154. # HP-UX 10.20           -Ae
  1155. # SVR4                  -Xc -D__EXTENSIONS__
  1156. for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Ae" "-Xc -D__EXTENSIONS__"
  1157. do
  1158.   CC="$ac_save_CC $ac_arg"
  1159.   cat > conftest.$ac_ext <<EOF
  1160. #line 1161 "configure"
  1161. #include "confdefs.h"
  1162. #include <stdarg.h>
  1163. #include <stdio.h>
  1164. #include <sys/types.h>
  1165. #include <sys/stat.h>
  1166. # include <limits.h>  /* note the space */
  1167. #if 1 && !defined(UINT_MAX)
  1168. #  error "this is an error"
  1169. #  include "choke me"
  1170. #elif 0 || !defined(UINT_MAX)
  1171. #  error "this is an error"
  1172. #  include "choke me"
  1173. #elif !defined(UINT_MAX)
  1174. #  error "this is an error"
  1175. #  include "choke me"
  1176. #elif !(1-1)
  1177. /* ok */
  1178. #else
  1179. #  error "this is an error"
  1180. #  include "choke me"
  1181. #endif
  1182. #define STRINGIZE(x)        #x
  1183. #define MACRO_EXPAND(x)     STRINGIZE(x)
  1184. extern volatile signed char flag;
  1185. extern char *s ( void );
  1186. char *s ( void )
  1187. {
  1188.   static char n[] = MACRO_EXPAND(UINT_MAX);
  1189.   return flag ? n : n + 1;
  1190. }
  1191. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  1192. struct buf { int x; };
  1193. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1194. static char *e (p, i)
  1195.      char **p;
  1196.      int i;
  1197. {
  1198.   return p[i];
  1199. }
  1200. static char *f (char * (*g) (char **, int), char **p, ...)
  1201. {
  1202.   char *s;
  1203.   va_list v;
  1204.   va_start (v,p);
  1205.   s = g (p, va_arg (v,int));
  1206.   va_end (v);
  1207.   return s;
  1208. }
  1209. int test (int i, double x);
  1210. struct s1 {int (*f) (int a);};
  1211. struct s2 {int (*f) (double a);};
  1212. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  1213. int argc;
  1214. char **argv;
  1215.  
  1216. int main() {
  1217.  
  1218. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  1219.  
  1220. ; return 0; }
  1221. EOF
  1222. if { (eval echo configure:1223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1223.   rm -rf conftest*
  1224.   mfx_cv_prog_cc_ansi="$ac_arg"; break
  1225. else
  1226.   echo "configure: failed program was:" >&5
  1227.   cat conftest.$ac_ext >&5
  1228. fi
  1229. rm -f conftest*
  1230. done
  1231. CC="$ac_save_CC"
  1232.  
  1233. fi
  1234.  
  1235. if test -z "$mfx_cv_prog_cc_ansi"; then
  1236.   echo "$ac_t""none needed" 1>&6
  1237. else
  1238.   echo "$ac_t""$mfx_cv_prog_cc_ansi" 1>&6
  1239. fi
  1240. case "x$mfx_cv_prog_cc_ansi" in
  1241.   x|xno) ;;
  1242.   *) CC="$CC $mfx_cv_prog_cc_ansi" ;;
  1243. esac
  1244.  
  1245. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  1246. echo "configure:1247: checking how to run the C preprocessor" >&5
  1247. # On Suns, sometimes $CPP names a directory.
  1248. if test -n "$CPP" && test -d "$CPP"; then
  1249.   CPP=
  1250. fi
  1251. if test -z "$CPP"; then
  1252. if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  1253.   echo $ac_n "(cached) $ac_c" 1>&6
  1254. else
  1255.     # This must be in double quotes, not single quotes, because CPP may get
  1256.   # substituted into the Makefile and "${CC-cc}" will confuse make.
  1257.   CPP="${CC-cc} -E"
  1258.   # On the NeXT, cc -E runs the code through the compiler's parser,
  1259.   # not just through cpp.
  1260.   cat > conftest.$ac_ext <<EOF
  1261. #line 1262 "configure"
  1262. #include "confdefs.h"
  1263. #include <assert.h>
  1264. Syntax Error
  1265. EOF
  1266. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1267. { (eval echo configure:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1268. ac_err=`grep -v '^ *+' conftest.out`
  1269. if test -z "$ac_err"; then
  1270.   :
  1271. else
  1272.   echo "$ac_err" >&5
  1273.   echo "configure: failed program was:" >&5
  1274.   cat conftest.$ac_ext >&5
  1275.   rm -rf conftest*
  1276.   CPP="${CC-cc} -E -traditional-cpp"
  1277.   cat > conftest.$ac_ext <<EOF
  1278. #line 1279 "configure"
  1279. #include "confdefs.h"
  1280. #include <assert.h>
  1281. Syntax Error
  1282. EOF
  1283. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1284. { (eval echo configure:1285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1285. ac_err=`grep -v '^ *+' conftest.out`
  1286. if test -z "$ac_err"; then
  1287.   :
  1288. else
  1289.   echo "$ac_err" >&5
  1290.   echo "configure: failed program was:" >&5
  1291.   cat conftest.$ac_ext >&5
  1292.   rm -rf conftest*
  1293.   CPP=/lib/cpp
  1294. fi
  1295. rm -f conftest*
  1296. fi
  1297. rm -f conftest*
  1298.   ac_cv_prog_CPP="$CPP"
  1299. fi
  1300.   CPP="$ac_cv_prog_CPP"
  1301. else
  1302.   ac_cv_prog_CPP="$CPP"
  1303. fi
  1304. echo "$ac_t""$CPP" 1>&6
  1305.  
  1306. if test "x$CC" != xcc; then
  1307.   echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
  1308. echo "configure:1309: checking whether $CC and cc understand -c and -o together" >&5
  1309. else
  1310.   echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
  1311. echo "configure:1312: checking whether cc understands -c and -o together" >&5
  1312. fi
  1313. set dummy $CC; ac_cc="`echo $2 |
  1314.                sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
  1315. if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
  1316.   echo $ac_n "(cached) $ac_c" 1>&6
  1317. else
  1318.   echo 'foo(){}' > conftest.c
  1319. # Make sure it works both with $CC and with simple cc.
  1320. # We do the test twice because some compilers refuse to overwrite an
  1321. # existing .o file with -o, though they will create one.
  1322. ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
  1323. if { (eval echo configure:1324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
  1324.    test -f conftest.o && { (eval echo configure:1325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
  1325. then
  1326.   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  1327.   if test "x$CC" != xcc; then
  1328.     # Test first that cc exists at all.
  1329.     if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
  1330.       ac_try='cc -c conftest.c -o conftest.o 1>&5'
  1331.       if { (eval echo configure:1332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
  1332.      test -f conftest.o && { (eval echo configure:1333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
  1333.       then
  1334.         # cc works too.
  1335.         :
  1336.       else
  1337.         # cc exists but doesn't like -o.
  1338.         eval ac_cv_prog_cc_${ac_cc}_c_o=no
  1339.       fi
  1340.     fi
  1341.   fi
  1342. else
  1343.   eval ac_cv_prog_cc_${ac_cc}_c_o=no
  1344. fi
  1345. rm -f conftest*
  1346.  
  1347. fi
  1348. if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
  1349.   echo "$ac_t""yes" 1>&6
  1350. else
  1351.   echo "$ac_t""no" 1>&6
  1352.   cat >> confdefs.h <<\EOF
  1353. #define NO_MINUS_C_MINUS_O 1
  1354. EOF
  1355.  
  1356. fi
  1357.  
  1358. echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
  1359. echo "configure:1360: checking for Cygwin32 environment" >&5
  1360. if eval "test \"`echo '$''{'am_cv_cygwin32'+set}'`\" = set"; then
  1361.   echo $ac_n "(cached) $ac_c" 1>&6
  1362. else
  1363.   cat > conftest.$ac_ext <<EOF
  1364. #line 1365 "configure"
  1365. #include "confdefs.h"
  1366.  
  1367. int main() {
  1368. return __CYGWIN32__;
  1369. ; return 0; }
  1370. EOF
  1371. if { (eval echo configure:1372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1372.   rm -rf conftest*
  1373.   am_cv_cygwin32=yes
  1374. else
  1375.   echo "configure: failed program was:" >&5
  1376.   cat conftest.$ac_ext >&5
  1377.   rm -rf conftest*
  1378.   am_cv_cygwin32=no
  1379. fi
  1380. rm -f conftest*
  1381. rm -f conftest*
  1382. fi
  1383.  
  1384. echo "$ac_t""$am_cv_cygwin32" 1>&6
  1385. CYGWIN32=
  1386. test "$am_cv_cygwin32" = yes && CYGWIN32=yes
  1387. echo $ac_n "checking for Mingw32 environment""... $ac_c" 1>&6
  1388. echo "configure:1389: checking for Mingw32 environment" >&5
  1389. if eval "test \"`echo '$''{'am_cv_mingw32'+set}'`\" = set"; then
  1390.   echo $ac_n "(cached) $ac_c" 1>&6
  1391. else
  1392.   cat > conftest.$ac_ext <<EOF
  1393. #line 1394 "configure"
  1394. #include "confdefs.h"
  1395.  
  1396. int main() {
  1397. return __MINGW32__;
  1398. ; return 0; }
  1399. EOF
  1400. if { (eval echo configure:1401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1401.   rm -rf conftest*
  1402.   am_cv_mingw32=yes
  1403. else
  1404.   echo "configure: failed program was:" >&5
  1405.   cat conftest.$ac_ext >&5
  1406.   rm -rf conftest*
  1407.   am_cv_mingw32=no
  1408. fi
  1409. rm -f conftest*
  1410. rm -f conftest*
  1411. fi
  1412.  
  1413. echo "$ac_t""$am_cv_mingw32" 1>&6
  1414. MINGW32=
  1415. test "$am_cv_mingw32" = yes && MINGW32=yes
  1416.  
  1417.  
  1418. echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
  1419. echo "configure:1420: checking for executable suffix" >&5
  1420. if eval "test \"`echo '$''{'am_cv_exeext'+set}'`\" = set"; then
  1421.   echo $ac_n "(cached) $ac_c" 1>&6
  1422. else
  1423.   if test "$CYGWIN32" = yes || test "$MINGW32" = yes; then
  1424. am_cv_exeext=.exe
  1425. else
  1426. cat > am_c_test.c << 'EOF'
  1427. int main() {
  1428. /* Nothing needed here */
  1429. }
  1430. EOF
  1431. ${CC-cc} -o am_c_test $CFLAGS $CPPFLAGS $LDFLAGS am_c_test.c $LIBS 1>&5
  1432. am_cv_exeext=
  1433. for file in am_c_test.*; do
  1434.    case $file in
  1435.     *.c) ;;
  1436.     *.o) ;;
  1437.     *) am_cv_exeext=`echo $file | sed -e s/am_c_test//` ;;
  1438.    esac
  1439. done
  1440. rm -f am_c_test*
  1441. fi
  1442.  
  1443. test x"${am_cv_exeext}" = x && am_cv_exeext=no
  1444. fi
  1445. EXEEXT=""
  1446. test x"${am_cv_exeext}" != xno && EXEEXT=${am_cv_exeext}
  1447. echo "$ac_t""${am_cv_exeext}" 1>&6
  1448.  
  1449.  
  1450. if test "$enable_debug" = yes; then
  1451.   CPPFLAGS="$CPPFLAGS -DNRV_DEBUG"
  1452. fi
  1453. echo $ac_n "checking whether to build a debug version""... $ac_c" 1>&6
  1454. echo "configure:1455: checking whether to build a debug version" >&5
  1455. echo "$ac_t""$enable_debug" 1>&6
  1456.  
  1457. if test "$GCC" = yes; then
  1458.   if test "$enable_coverage" = yes; then
  1459.     x="-fprofile-arcs -ftest-coverage"
  1460.     EXTRA_CFLAGS="$EXTRA_CFLAGS $x -O0"
  1461.   fi
  1462. else
  1463.   enable_coverage=no
  1464. fi
  1465. echo $ac_n "checking whether to build a coverage version""... $ac_c" 1>&6
  1466. echo "configure:1467: checking whether to build a coverage version" >&5
  1467. echo "$ac_t""$enable_coverage" 1>&6
  1468.  
  1469.  
  1470. # /***********************************************************************
  1471. # // Checks for other programs
  1472. # ************************************************************************/
  1473.  
  1474.  
  1475. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  1476.  
  1477.  
  1478.  
  1479. # /***********************************************************************
  1480. # // Checks for libraries
  1481. # ************************************************************************/
  1482.  
  1483. echo $ac_n "checking for __lzo_init2 in -llzo""... $ac_c" 1>&6
  1484. echo "configure:1485: checking for __lzo_init2 in -llzo" >&5
  1485. ac_lib_var=`echo lzo'_'__lzo_init2 | sed 'y%./+-%__p_%'`
  1486. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1487.   echo $ac_n "(cached) $ac_c" 1>&6
  1488. else
  1489.   ac_save_LIBS="$LIBS"
  1490. LIBS="-llzo  $LIBS"
  1491. cat > conftest.$ac_ext <<EOF
  1492. #line 1493 "configure"
  1493. #include "confdefs.h"
  1494. /* Override any gcc2 internal prototype to avoid an error.  */
  1495. /* We use char because int might match the return type of a gcc2
  1496.     builtin and then its argument prototype would still apply.  */
  1497. char __lzo_init2();
  1498.  
  1499. int main() {
  1500. __lzo_init2()
  1501. ; return 0; }
  1502. EOF
  1503. if { (eval echo configure:1504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  1504.   rm -rf conftest*
  1505.   eval "ac_cv_lib_$ac_lib_var=yes"
  1506. else
  1507.   echo "configure: failed program was:" >&5
  1508.   cat conftest.$ac_ext >&5
  1509.   rm -rf conftest*
  1510.   eval "ac_cv_lib_$ac_lib_var=no"
  1511. fi
  1512. rm -f conftest*
  1513. LIBS="$ac_save_LIBS"
  1514.  
  1515. fi
  1516. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1517.   echo "$ac_t""yes" 1>&6
  1518.     ac_tr_lib=HAVE_LIB`echo lzo | sed -e 's/[^a-zA-Z0-9_]/_/g' \
  1519.     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  1520.   cat >> confdefs.h <<EOF
  1521. #define $ac_tr_lib 1
  1522. EOF
  1523.  
  1524.   LIBS="-llzo $LIBS"
  1525.  
  1526. else
  1527.   echo "$ac_t""no" 1>&6
  1528. { echo "configure: error: LZO library v1.02 or above not found. Please check your installation or set the environment variable \`LZODIR'." 1>&2; exit 1; }
  1529. fi
  1530.  
  1531.  
  1532.  
  1533.  
  1534. # /***********************************************************************
  1535. # // Checks for system header files
  1536. # ************************************************************************/
  1537.  
  1538. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  1539. echo "configure:1540: checking for ANSI C header files" >&5
  1540. if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  1541.   echo $ac_n "(cached) $ac_c" 1>&6
  1542. else
  1543.   cat > conftest.$ac_ext <<EOF
  1544. #line 1545 "configure"
  1545. #include "confdefs.h"
  1546. #include <stdlib.h>
  1547. #include <stdarg.h>
  1548. #include <string.h>
  1549. #include <float.h>
  1550. EOF
  1551. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1552. { (eval echo configure:1553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1553. ac_err=`grep -v '^ *+' conftest.out`
  1554. if test -z "$ac_err"; then
  1555.   rm -rf conftest*
  1556.   ac_cv_header_stdc=yes
  1557. else
  1558.   echo "$ac_err" >&5
  1559.   echo "configure: failed program was:" >&5
  1560.   cat conftest.$ac_ext >&5
  1561.   rm -rf conftest*
  1562.   ac_cv_header_stdc=no
  1563. fi
  1564. rm -f conftest*
  1565.  
  1566. if test $ac_cv_header_stdc = yes; then
  1567.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1568. cat > conftest.$ac_ext <<EOF
  1569. #line 1570 "configure"
  1570. #include "confdefs.h"
  1571. #include <string.h>
  1572. EOF
  1573. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1574.   egrep "memchr" >/dev/null 2>&1; then
  1575.   :
  1576. else
  1577.   rm -rf conftest*
  1578.   ac_cv_header_stdc=no
  1579. fi
  1580. rm -f conftest*
  1581.  
  1582. fi
  1583.  
  1584. if test $ac_cv_header_stdc = yes; then
  1585.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1586. cat > conftest.$ac_ext <<EOF
  1587. #line 1588 "configure"
  1588. #include "confdefs.h"
  1589. #include <stdlib.h>
  1590. EOF
  1591. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1592.   egrep "free" >/dev/null 2>&1; then
  1593.   :
  1594. else
  1595.   rm -rf conftest*
  1596.   ac_cv_header_stdc=no
  1597. fi
  1598. rm -f conftest*
  1599.  
  1600. fi
  1601.  
  1602. if test $ac_cv_header_stdc = yes; then
  1603.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1604. if test "$cross_compiling" = yes; then
  1605.   :
  1606. else
  1607.   cat > conftest.$ac_ext <<EOF
  1608. #line 1609 "configure"
  1609. #include "confdefs.h"
  1610. #include <ctype.h>
  1611. #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1612. #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  1613. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  1614. int main () { int i; for (i = 0; i < 256; i++)
  1615. if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
  1616. exit (0); }
  1617.  
  1618. EOF
  1619. if { (eval echo configure:1620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
  1620. then
  1621.   :
  1622. else
  1623.   echo "configure: failed program was:" >&5
  1624.   cat conftest.$ac_ext >&5
  1625.   rm -fr conftest*
  1626.   ac_cv_header_stdc=no
  1627. fi
  1628. rm -fr conftest*
  1629. fi
  1630.  
  1631. fi
  1632. fi
  1633.  
  1634. echo "$ac_t""$ac_cv_header_stdc" 1>&6
  1635. if test $ac_cv_header_stdc = yes; then
  1636.   cat >> confdefs.h <<\EOF
  1637. #define STDC_HEADERS 1
  1638. EOF
  1639.  
  1640. fi
  1641.  
  1642. echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
  1643. echo "configure:1644: checking whether time.h and sys/time.h may both be included" >&5
  1644. if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
  1645.   echo $ac_n "(cached) $ac_c" 1>&6
  1646. else
  1647.   cat > conftest.$ac_ext <<EOF
  1648. #line 1649 "configure"
  1649. #include "confdefs.h"
  1650. #include <sys/types.h>
  1651. #include <sys/time.h>
  1652. #include <time.h>
  1653. int main() {
  1654. struct tm *tp;
  1655. ; return 0; }
  1656. EOF
  1657. if { (eval echo configure:1658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1658.   rm -rf conftest*
  1659.   ac_cv_header_time=yes
  1660. else
  1661.   echo "configure: failed program was:" >&5
  1662.   cat conftest.$ac_ext >&5
  1663.   rm -rf conftest*
  1664.   ac_cv_header_time=no
  1665. fi
  1666. rm -f conftest*
  1667. fi
  1668.  
  1669. echo "$ac_t""$ac_cv_header_time" 1>&6
  1670. if test $ac_cv_header_time = yes; then
  1671.   cat >> confdefs.h <<\EOF
  1672. #define TIME_WITH_SYS_TIME 1
  1673. EOF
  1674.  
  1675. fi
  1676.  
  1677. for ac_hdr in assert.h ctype.h limits.h stddef.h time.h unistd.h
  1678. do
  1679. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1680. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1681. echo "configure:1682: checking for $ac_hdr" >&5
  1682. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1683.   echo $ac_n "(cached) $ac_c" 1>&6
  1684. else
  1685.   cat > conftest.$ac_ext <<EOF
  1686. #line 1687 "configure"
  1687. #include "confdefs.h"
  1688. #include <$ac_hdr>
  1689. EOF
  1690. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1691. { (eval echo configure:1692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1692. ac_err=`grep -v '^ *+' conftest.out`
  1693. if test -z "$ac_err"; then
  1694.   rm -rf conftest*
  1695.   eval "ac_cv_header_$ac_safe=yes"
  1696. else
  1697.   echo "$ac_err" >&5
  1698.   echo "configure: failed program was:" >&5
  1699.   cat conftest.$ac_ext >&5
  1700.   rm -rf conftest*
  1701.   eval "ac_cv_header_$ac_safe=no"
  1702. fi
  1703. rm -f conftest*
  1704. fi
  1705. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1706.   echo "$ac_t""yes" 1>&6
  1707.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1708.   cat >> confdefs.h <<EOF
  1709. #define $ac_tr_hdr 1
  1710. EOF
  1711.  
  1712. else
  1713.   echo "$ac_t""no" 1>&6
  1714. fi
  1715. done
  1716.  
  1717. for ac_hdr in memory.h signal.h utime.h sys/utime.h
  1718. do
  1719. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1720. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1721. echo "configure:1722: checking for $ac_hdr" >&5
  1722. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1723.   echo $ac_n "(cached) $ac_c" 1>&6
  1724. else
  1725.   cat > conftest.$ac_ext <<EOF
  1726. #line 1727 "configure"
  1727. #include "confdefs.h"
  1728. #include <$ac_hdr>
  1729. EOF
  1730. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1731. { (eval echo configure:1732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1732. ac_err=`grep -v '^ *+' conftest.out`
  1733. if test -z "$ac_err"; then
  1734.   rm -rf conftest*
  1735.   eval "ac_cv_header_$ac_safe=yes"
  1736. else
  1737.   echo "$ac_err" >&5
  1738.   echo "configure: failed program was:" >&5
  1739.   cat conftest.$ac_ext >&5
  1740.   rm -rf conftest*
  1741.   eval "ac_cv_header_$ac_safe=no"
  1742. fi
  1743. rm -f conftest*
  1744. fi
  1745. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1746.   echo "$ac_t""yes" 1>&6
  1747.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1748.   cat >> confdefs.h <<EOF
  1749. #define $ac_tr_hdr 1
  1750. EOF
  1751.  
  1752. else
  1753.   echo "$ac_t""no" 1>&6
  1754. fi
  1755. done
  1756.  
  1757. for ac_hdr in sys/param.h sys/resource.h sys/time.h sys/times.h
  1758. do
  1759. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1760. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1761. echo "configure:1762: checking for $ac_hdr" >&5
  1762. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1763.   echo $ac_n "(cached) $ac_c" 1>&6
  1764. else
  1765.   cat > conftest.$ac_ext <<EOF
  1766. #line 1767 "configure"
  1767. #include "confdefs.h"
  1768. #include <$ac_hdr>
  1769. EOF
  1770. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1771. { (eval echo configure:1772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1772. ac_err=`grep -v '^ *+' conftest.out`
  1773. if test -z "$ac_err"; then
  1774.   rm -rf conftest*
  1775.   eval "ac_cv_header_$ac_safe=yes"
  1776. else
  1777.   echo "$ac_err" >&5
  1778.   echo "configure: failed program was:" >&5
  1779.   cat conftest.$ac_ext >&5
  1780.   rm -rf conftest*
  1781.   eval "ac_cv_header_$ac_safe=no"
  1782. fi
  1783. rm -f conftest*
  1784. fi
  1785. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1786.   echo "$ac_t""yes" 1>&6
  1787.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1788.   cat >> confdefs.h <<EOF
  1789. #define $ac_tr_hdr 1
  1790. EOF
  1791.  
  1792. else
  1793.   echo "$ac_t""no" 1>&6
  1794. fi
  1795. done
  1796.  
  1797. for ac_hdr in linux/kd.h linux/kdev_t.h linux/major.h
  1798. do
  1799. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1800. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1801. echo "configure:1802: checking for $ac_hdr" >&5
  1802. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1803.   echo $ac_n "(cached) $ac_c" 1>&6
  1804. else
  1805.   cat > conftest.$ac_ext <<EOF
  1806. #line 1807 "configure"
  1807. #include "confdefs.h"
  1808. #include <$ac_hdr>
  1809. EOF
  1810. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1811. { (eval echo configure:1812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1812. ac_err=`grep -v '^ *+' conftest.out`
  1813. if test -z "$ac_err"; then
  1814.   rm -rf conftest*
  1815.   eval "ac_cv_header_$ac_safe=yes"
  1816. else
  1817.   echo "$ac_err" >&5
  1818.   echo "configure: failed program was:" >&5
  1819.   cat conftest.$ac_ext >&5
  1820.   rm -rf conftest*
  1821.   eval "ac_cv_header_$ac_safe=no"
  1822. fi
  1823. rm -f conftest*
  1824. fi
  1825. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1826.   echo "$ac_t""yes" 1>&6
  1827.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1828.   cat >> confdefs.h <<EOF
  1829. #define $ac_tr_hdr 1
  1830. EOF
  1831.  
  1832. else
  1833.   echo "$ac_t""no" 1>&6
  1834. fi
  1835. done
  1836.  
  1837.  
  1838.  
  1839. # /***********************************************************************
  1840. # // Checks for library header files
  1841. # ************************************************************************/
  1842.  
  1843. for ac_hdr in lzoconf.h lzo1x.h
  1844. do
  1845. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1846. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1847. echo "configure:1848: checking for $ac_hdr" >&5
  1848. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1849.   echo $ac_n "(cached) $ac_c" 1>&6
  1850. else
  1851.   cat > conftest.$ac_ext <<EOF
  1852. #line 1853 "configure"
  1853. #include "confdefs.h"
  1854. #include <$ac_hdr>
  1855. EOF
  1856. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1857. { (eval echo configure:1858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1858. ac_err=`grep -v '^ *+' conftest.out`
  1859. if test -z "$ac_err"; then
  1860.   rm -rf conftest*
  1861.   eval "ac_cv_header_$ac_safe=yes"
  1862. else
  1863.   echo "$ac_err" >&5
  1864.   echo "configure: failed program was:" >&5
  1865.   cat conftest.$ac_ext >&5
  1866.   rm -rf conftest*
  1867.   eval "ac_cv_header_$ac_safe=no"
  1868. fi
  1869. rm -f conftest*
  1870. fi
  1871. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1872.   echo "$ac_t""yes" 1>&6
  1873.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1874.   cat >> confdefs.h <<EOF
  1875. #define $ac_tr_hdr 1
  1876. EOF
  1877.  
  1878. else
  1879.   echo "$ac_t""no" 1>&6
  1880. { echo "configure: error: LZO header file not found. Please check your installation or set the environment variable \`LZODIR'." 1>&2; exit 1; }
  1881. fi
  1882. done
  1883.  
  1884.  
  1885. for ac_hdr in curses.h ncurses.h
  1886. do
  1887. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1888. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1889. echo "configure:1890: checking for $ac_hdr" >&5
  1890. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1891.   echo $ac_n "(cached) $ac_c" 1>&6
  1892. else
  1893.   cat > conftest.$ac_ext <<EOF
  1894. #line 1895 "configure"
  1895. #include "confdefs.h"
  1896. #include <$ac_hdr>
  1897. EOF
  1898. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1899. { (eval echo configure:1900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1900. ac_err=`grep -v '^ *+' conftest.out`
  1901. if test -z "$ac_err"; then
  1902.   rm -rf conftest*
  1903.   eval "ac_cv_header_$ac_safe=yes"
  1904. else
  1905.   echo "$ac_err" >&5
  1906.   echo "configure: failed program was:" >&5
  1907.   cat conftest.$ac_ext >&5
  1908.   rm -rf conftest*
  1909.   eval "ac_cv_header_$ac_safe=no"
  1910. fi
  1911. rm -f conftest*
  1912. fi
  1913. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1914.   echo "$ac_t""yes" 1>&6
  1915.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1916.   cat >> confdefs.h <<EOF
  1917. #define $ac_tr_hdr 1
  1918. EOF
  1919.  
  1920. else
  1921.   echo "$ac_t""no" 1>&6
  1922. fi
  1923. done
  1924.  
  1925.  
  1926.  
  1927. # /***********************************************************************
  1928. # // Checks for typedefs and structures
  1929. # ************************************************************************/
  1930.  
  1931. echo $ac_n "checking for ptrdiff_t""... $ac_c" 1>&6
  1932. echo "configure:1933: checking for ptrdiff_t" >&5
  1933. if eval "test \"`echo '$''{'ac_cv_type_ptrdiff_t'+set}'`\" = set"; then
  1934.   echo $ac_n "(cached) $ac_c" 1>&6
  1935. else
  1936.   cat > conftest.$ac_ext <<EOF
  1937. #line 1938 "configure"
  1938. #include "confdefs.h"
  1939. #include <sys/types.h>
  1940. #if STDC_HEADERS
  1941. #include <stdlib.h>
  1942. #include <stddef.h>
  1943. #endif
  1944. EOF
  1945. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1946.   egrep "ptrdiff_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1947.   rm -rf conftest*
  1948.   ac_cv_type_ptrdiff_t=yes
  1949. else
  1950.   rm -rf conftest*
  1951.   ac_cv_type_ptrdiff_t=no
  1952. fi
  1953. rm -f conftest*
  1954.  
  1955. fi
  1956. echo "$ac_t""$ac_cv_type_ptrdiff_t" 1>&6
  1957. if test $ac_cv_type_ptrdiff_t = no; then
  1958.   cat >> confdefs.h <<\EOF
  1959. #define ptrdiff_t long
  1960. EOF
  1961.  
  1962. fi
  1963.  
  1964. echo $ac_n "checking for size_t""... $ac_c" 1>&6
  1965. echo "configure:1966: checking for size_t" >&5
  1966. if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
  1967.   echo $ac_n "(cached) $ac_c" 1>&6
  1968. else
  1969.   cat > conftest.$ac_ext <<EOF
  1970. #line 1971 "configure"
  1971. #include "confdefs.h"
  1972. #include <sys/types.h>
  1973. #if STDC_HEADERS
  1974. #include <stdlib.h>
  1975. #include <stddef.h>
  1976. #endif
  1977. EOF
  1978. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1979.   egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1980.   rm -rf conftest*
  1981.   ac_cv_type_size_t=yes
  1982. else
  1983.   rm -rf conftest*
  1984.   ac_cv_type_size_t=no
  1985. fi
  1986. rm -f conftest*
  1987.  
  1988. fi
  1989. echo "$ac_t""$ac_cv_type_size_t" 1>&6
  1990. if test $ac_cv_type_size_t = no; then
  1991.   cat >> confdefs.h <<\EOF
  1992. #define size_t unsigned
  1993. EOF
  1994.  
  1995. fi
  1996.  
  1997. echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
  1998. echo "configure:1999: checking return type of signal handlers" >&5
  1999. if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  2000.   echo $ac_n "(cached) $ac_c" 1>&6
  2001. else
  2002.   cat > conftest.$ac_ext <<EOF
  2003. #line 2004 "configure"
  2004. #include "confdefs.h"
  2005. #include <sys/types.h>
  2006. #include <signal.h>
  2007. #ifdef signal
  2008. #undef signal
  2009. #endif
  2010. #ifdef __cplusplus
  2011. extern "C" void (*signal (int, void (*)(int)))(int);
  2012. #else
  2013. void (*signal ()) ();
  2014. #endif
  2015.  
  2016. int main() {
  2017. int i;
  2018. ; return 0; }
  2019. EOF
  2020. if { (eval echo configure:2021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  2021.   rm -rf conftest*
  2022.   ac_cv_type_signal=void
  2023. else
  2024.   echo "configure: failed program was:" >&5
  2025.   cat conftest.$ac_ext >&5
  2026.   rm -rf conftest*
  2027.   ac_cv_type_signal=int
  2028. fi
  2029. rm -f conftest*
  2030. fi
  2031.  
  2032. echo "$ac_t""$ac_cv_type_signal" 1>&6
  2033. cat >> confdefs.h <<EOF
  2034. #define RETSIGTYPE $ac_cv_type_signal
  2035. EOF
  2036.  
  2037.  
  2038.  
  2039. echo $ac_n "checking size of ptrdiff_t""... $ac_c" 1>&6
  2040. echo "configure:2041: checking size of ptrdiff_t" >&5
  2041. if eval "test \"`echo '$''{'ac_cv_sizeof_ptrdiff_t'+set}'`\" = set"; then
  2042.   echo $ac_n "(cached) $ac_c" 1>&6
  2043. else
  2044.   if test "$cross_compiling" = yes; then
  2045.   ac_cv_sizeof_ptrdiff_t=0
  2046. else
  2047.   cat > conftest.$ac_ext <<EOF
  2048. #line 2049 "configure"
  2049. #include "confdefs.h"
  2050. #include <stdio.h>
  2051. #if STDC_HEADERS
  2052. #include <stdlib.h>
  2053. #include <stddef.h>
  2054. #endif
  2055. main() {
  2056.   FILE *f=fopen("conftestval", "w");
  2057.   if (!f) exit(1);
  2058.   fprintf(f, "%d\n", sizeof(ptrdiff_t));
  2059.   exit(0);
  2060. }
  2061. EOF
  2062. if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
  2063. then
  2064.   ac_cv_sizeof_ptrdiff_t=`cat conftestval`
  2065. else
  2066.   echo "configure: failed program was:" >&5
  2067.   cat conftest.$ac_ext >&5
  2068.   rm -fr conftest*
  2069.   ac_cv_sizeof_ptrdiff_t=0
  2070. fi
  2071. rm -fr conftest*
  2072. fi
  2073.  
  2074. fi
  2075. echo "$ac_t""$ac_cv_sizeof_ptrdiff_t" 1>&6
  2076. cat >> confdefs.h <<EOF
  2077. #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
  2078. EOF
  2079.  
  2080.  
  2081. echo $ac_n "checking size of size_t""... $ac_c" 1>&6
  2082. echo "configure:2083: checking size of size_t" >&5
  2083. if eval "test \"`echo '$''{'ac_cv_sizeof_size_t'+set}'`\" = set"; then
  2084.   echo $ac_n "(cached) $ac_c" 1>&6
  2085. else
  2086.   if test "$cross_compiling" = yes; then
  2087.   ac_cv_sizeof_size_t=0
  2088. else
  2089.   cat > conftest.$ac_ext <<EOF
  2090. #line 2091 "configure"
  2091. #include "confdefs.h"
  2092. #include <stdio.h>
  2093. #if STDC_HEADERS
  2094. #include <stdlib.h>
  2095. #include <stddef.h>
  2096. #endif
  2097. main() {
  2098.   FILE *f=fopen("conftestval", "w");
  2099.   if (!f) exit(1);
  2100.   fprintf(f, "%d\n", sizeof(size_t));
  2101.   exit(0);
  2102. }
  2103. EOF
  2104. if { (eval echo configure:2105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
  2105. then
  2106.   ac_cv_sizeof_size_t=`cat conftestval`
  2107. else
  2108.   echo "configure: failed program was:" >&5
  2109.   cat conftest.$ac_ext >&5
  2110.   rm -fr conftest*
  2111.   ac_cv_sizeof_size_t=0
  2112. fi
  2113. rm -fr conftest*
  2114. fi
  2115.  
  2116. fi
  2117. echo "$ac_t""$ac_cv_sizeof_size_t" 1>&6
  2118. cat >> confdefs.h <<EOF
  2119. #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
  2120. EOF
  2121.  
  2122.  
  2123.  
  2124.  
  2125. # /***********************************************************************
  2126. # // Checks for compiler characteristics
  2127. # ************************************************************************/
  2128.  
  2129. echo $ac_n "checking for working const""... $ac_c" 1>&6
  2130. echo "configure:2131: checking for working const" >&5
  2131. if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  2132.   echo $ac_n "(cached) $ac_c" 1>&6
  2133. else
  2134.   cat > conftest.$ac_ext <<EOF
  2135. #line 2136 "configure"
  2136. #include "confdefs.h"
  2137.  
  2138. int main() {
  2139.  
  2140. /* Ultrix mips cc rejects this.  */
  2141. typedef int charset[2]; const charset x;
  2142. /* SunOS 4.1.1 cc rejects this.  */
  2143. char const *const *ccp;
  2144. char **p;
  2145. /* NEC SVR4.0.2 mips cc rejects this.  */
  2146. struct point {int x, y;};
  2147. static struct point const zero = {0,0};
  2148. /* AIX XL C 1.02.0.0 rejects this.
  2149.    It does not let you subtract one const X* pointer from another in an arm
  2150.    of an if-expression whose if-part is not a constant expression */
  2151. const char *g = "string";
  2152. ccp = &g + (g ? g-g : 0);
  2153. /* HPUX 7.0 cc rejects these. */
  2154. ++ccp;
  2155. p = (char**) ccp;
  2156. ccp = (char const *const *) p;
  2157. { /* SCO 3.2v4 cc rejects this.  */
  2158.   char *t;
  2159.   char const *s = 0 ? (char *) 0 : (char const *) 0;
  2160.  
  2161.   *t++ = 0;
  2162. }
  2163. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  2164.   int x[] = {25, 17};
  2165.   const int *foo = &x[0];
  2166.   ++foo;
  2167. }
  2168. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  2169.   typedef const int *iptr;
  2170.   iptr p = 0;
  2171.   ++p;
  2172. }
  2173. { /* AIX XL C 1.02.0.0 rejects this saying
  2174.      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  2175.   struct s { int j; const int *ap[3]; };
  2176.   struct s *b; b->j = 5;
  2177. }
  2178. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  2179.   const int foo = 10;
  2180. }
  2181.  
  2182. ; return 0; }
  2183. EOF
  2184. if { (eval echo configure:2185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  2185.   rm -rf conftest*
  2186.   ac_cv_c_const=yes
  2187. else
  2188.   echo "configure: failed program was:" >&5
  2189.   cat conftest.$ac_ext >&5
  2190.   rm -rf conftest*
  2191.   ac_cv_c_const=no
  2192. fi
  2193. rm -f conftest*
  2194. fi
  2195.  
  2196. echo "$ac_t""$ac_cv_c_const" 1>&6
  2197. if test $ac_cv_c_const = no; then
  2198.   cat >> confdefs.h <<\EOF
  2199. #define const 
  2200. EOF
  2201.  
  2202. fi
  2203.  
  2204.  
  2205.  
  2206. # /***********************************************************************
  2207. # // Checks for library functions
  2208. # ************************************************************************/
  2209.  
  2210. for ac_func in memcmp memcpy memmove memset strdup
  2211. do
  2212. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  2213. echo "configure:2214: checking for $ac_func" >&5
  2214. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2215.   echo $ac_n "(cached) $ac_c" 1>&6
  2216. else
  2217.   cat > conftest.$ac_ext <<EOF
  2218. #line 2219 "configure"
  2219. #include "confdefs.h"
  2220. /* System header to define __stub macros and hopefully few prototypes,
  2221.     which can conflict with char $ac_func(); below.  */
  2222. #include <assert.h>
  2223. /* Override any gcc2 internal prototype to avoid an error.  */
  2224. #ifdef __cplusplus
  2225. extern "C"
  2226. #endif
  2227. /* We use char because int might match the return type of a gcc2
  2228.     builtin and then its argument prototype would still apply.  */
  2229. char $ac_func();
  2230.  
  2231. int main() {
  2232.  
  2233. /* The GNU C library defines this for functions which it implements
  2234.     to always fail with ENOSYS.  Some functions are actually named
  2235.     something starting with __ and the normal name is an alias.  */
  2236. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  2237. choke me
  2238. #else
  2239. $ac_func();
  2240. #endif
  2241.  
  2242. ; return 0; }
  2243. EOF
  2244. if { (eval echo configure:2245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  2245.   rm -rf conftest*
  2246.   eval "ac_cv_func_$ac_func=yes"
  2247. else
  2248.   echo "configure: failed program was:" >&5
  2249.   cat conftest.$ac_ext >&5
  2250.   rm -rf conftest*
  2251.   eval "ac_cv_func_$ac_func=no"
  2252. fi
  2253. rm -f conftest*
  2254. fi
  2255.  
  2256. if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2257.   echo "$ac_t""yes" 1>&6
  2258.     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  2259.   cat >> confdefs.h <<EOF
  2260. #define $ac_tr_func 1
  2261. EOF
  2262.  
  2263. else
  2264.   echo "$ac_t""no" 1>&6
  2265. fi
  2266. done
  2267.  
  2268. for ac_func in access atoi chmod chown fchmod fileno fstat getumask isatty setmode stat umask utime
  2269. do
  2270. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  2271. echo "configure:2272: checking for $ac_func" >&5
  2272. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2273.   echo $ac_n "(cached) $ac_c" 1>&6
  2274. else
  2275.   cat > conftest.$ac_ext <<EOF
  2276. #line 2277 "configure"
  2277. #include "confdefs.h"
  2278. /* System header to define __stub macros and hopefully few prototypes,
  2279.     which can conflict with char $ac_func(); below.  */
  2280. #include <assert.h>
  2281. /* Override any gcc2 internal prototype to avoid an error.  */
  2282. #ifdef __cplusplus
  2283. extern "C"
  2284. #endif
  2285. /* We use char because int might match the return type of a gcc2
  2286.     builtin and then its argument prototype would still apply.  */
  2287. char $ac_func();
  2288.  
  2289. int main() {
  2290.  
  2291. /* The GNU C library defines this for functions which it implements
  2292.     to always fail with ENOSYS.  Some functions are actually named
  2293.     something starting with __ and the normal name is an alias.  */
  2294. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  2295. choke me
  2296. #else
  2297. $ac_func();
  2298. #endif
  2299.  
  2300. ; return 0; }
  2301. EOF
  2302. if { (eval echo configure:2303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  2303.   rm -rf conftest*
  2304.   eval "ac_cv_func_$ac_func=yes"
  2305. else
  2306.   echo "configure: failed program was:" >&5
  2307.   cat conftest.$ac_ext >&5
  2308.   rm -rf conftest*
  2309.   eval "ac_cv_func_$ac_func=no"
  2310. fi
  2311. rm -f conftest*
  2312. fi
  2313.  
  2314. if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2315.   echo "$ac_t""yes" 1>&6
  2316.     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  2317.   cat >> confdefs.h <<EOF
  2318. #define $ac_tr_func 1
  2319. EOF
  2320.  
  2321. else
  2322.   echo "$ac_t""no" 1>&6
  2323. fi
  2324. done
  2325.  
  2326. for ac_func in ctime difftime gmtime localtime mktime strftime tzset
  2327. do
  2328. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  2329. echo "configure:2330: checking for $ac_func" >&5
  2330. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2331.   echo $ac_n "(cached) $ac_c" 1>&6
  2332. else
  2333.   cat > conftest.$ac_ext <<EOF
  2334. #line 2335 "configure"
  2335. #include "confdefs.h"
  2336. /* System header to define __stub macros and hopefully few prototypes,
  2337.     which can conflict with char $ac_func(); below.  */
  2338. #include <assert.h>
  2339. /* Override any gcc2 internal prototype to avoid an error.  */
  2340. #ifdef __cplusplus
  2341. extern "C"
  2342. #endif
  2343. /* We use char because int might match the return type of a gcc2
  2344.     builtin and then its argument prototype would still apply.  */
  2345. char $ac_func();
  2346.  
  2347. int main() {
  2348.  
  2349. /* The GNU C library defines this for functions which it implements
  2350.     to always fail with ENOSYS.  Some functions are actually named
  2351.     something starting with __ and the normal name is an alias.  */
  2352. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  2353. choke me
  2354. #else
  2355. $ac_func();
  2356. #endif
  2357.  
  2358. ; return 0; }
  2359. EOF
  2360. if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  2361.   rm -rf conftest*
  2362.   eval "ac_cv_func_$ac_func=yes"
  2363. else
  2364.   echo "configure: failed program was:" >&5
  2365.   cat conftest.$ac_ext >&5
  2366.   rm -rf conftest*
  2367.   eval "ac_cv_func_$ac_func=no"
  2368. fi
  2369. rm -f conftest*
  2370. fi
  2371.  
  2372. if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2373.   echo "$ac_t""yes" 1>&6
  2374.     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  2375.   cat >> confdefs.h <<EOF
  2376. #define $ac_tr_func 1
  2377. EOF
  2378.  
  2379. else
  2380.   echo "$ac_t""no" 1>&6
  2381. fi
  2382. done
  2383.  
  2384. for ac_func in index strchr strcasecmp strncasecmp stricmp strnicmp strstr
  2385. do
  2386. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  2387. echo "configure:2388: checking for $ac_func" >&5
  2388. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2389.   echo $ac_n "(cached) $ac_c" 1>&6
  2390. else
  2391.   cat > conftest.$ac_ext <<EOF
  2392. #line 2393 "configure"
  2393. #include "confdefs.h"
  2394. /* System header to define __stub macros and hopefully few prototypes,
  2395.     which can conflict with char $ac_func(); below.  */
  2396. #include <assert.h>
  2397. /* Override any gcc2 internal prototype to avoid an error.  */
  2398. #ifdef __cplusplus
  2399. extern "C"
  2400. #endif
  2401. /* We use char because int might match the return type of a gcc2
  2402.     builtin and then its argument prototype would still apply.  */
  2403. char $ac_func();
  2404.  
  2405. int main() {
  2406.  
  2407. /* The GNU C library defines this for functions which it implements
  2408.     to always fail with ENOSYS.  Some functions are actually named
  2409.     something starting with __ and the normal name is an alias.  */
  2410. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  2411. choke me
  2412. #else
  2413. $ac_func();
  2414. #endif
  2415.  
  2416. ; return 0; }
  2417. EOF
  2418. if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  2419.   rm -rf conftest*
  2420.   eval "ac_cv_func_$ac_func=yes"
  2421. else
  2422.   echo "configure: failed program was:" >&5
  2423.   cat conftest.$ac_ext >&5
  2424.   rm -rf conftest*
  2425.   eval "ac_cv_func_$ac_func=no"
  2426. fi
  2427. rm -f conftest*
  2428. fi
  2429.  
  2430. if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2431.   echo "$ac_t""yes" 1>&6
  2432.     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  2433.   cat >> confdefs.h <<EOF
  2434. #define $ac_tr_func 1
  2435. EOF
  2436.  
  2437. else
  2438.   echo "$ac_t""no" 1>&6
  2439. fi
  2440. done
  2441.  
  2442. echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
  2443. echo "configure:2444: checking for 8-bit clean memcmp" >&5
  2444. if eval "test \"`echo '$''{'mfx_cv_func_memcmp'+set}'`\" = set"; then
  2445.   echo $ac_n "(cached) $ac_c" 1>&6
  2446. else
  2447.   if test "$cross_compiling" = yes; then
  2448.   mfx_cv_func_memcmp=unknown
  2449. else
  2450.   cat > conftest.$ac_ext <<EOF
  2451. #line 2452 "configure"
  2452. #include "confdefs.h"
  2453. main() {
  2454.   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
  2455.   exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); }
  2456. EOF
  2457. if { (eval echo configure:2458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
  2458. then
  2459.   mfx_cv_func_memcmp=yes
  2460. else
  2461.   echo "configure: failed program was:" >&5
  2462.   cat conftest.$ac_ext >&5
  2463.   rm -fr conftest*
  2464.   mfx_cv_func_memcmp=no
  2465. fi
  2466. rm -fr conftest*
  2467. fi
  2468.  
  2469. fi
  2470.  
  2471. echo "$ac_t""$mfx_cv_func_memcmp" 1>&6
  2472. if test "$mfx_cv_func_memcmp" = no; then
  2473.   cat >> confdefs.h <<\EOF
  2474. #define NO_MEMCMP 1
  2475. EOF
  2476.  
  2477. fi
  2478.  
  2479.  
  2480.  
  2481. # /***********************************************************************
  2482. # // Checks for system services
  2483. # ************************************************************************/
  2484.  
  2485.  
  2486. # /***********************************************************************
  2487. # // Customization
  2488. # ************************************************************************/
  2489.  
  2490.  
  2491. echo $ac_n "checking whether signed to unsigned casting is broken""... $ac_c" 1>&6
  2492. echo "configure:2493: checking whether signed to unsigned casting is broken" >&5
  2493. if eval "test \"`echo '$''{'mfx_cv_prog_cc_bug_signed_to_unsigned_casting'+set}'`\" = set"; then
  2494.   echo $ac_n "(cached) $ac_c" 1>&6
  2495. else
  2496.   if test "$cross_compiling" = yes; then
  2497.   mfx_cv_prog_cc_bug_signed_to_unsigned_casting=unknown
  2498. else
  2499.   cat > conftest.$ac_ext <<EOF
  2500. #line 2501 "configure"
  2501. #include "confdefs.h"
  2502. main(){return((int)(unsigned char)((char) -1) != 255);}
  2503. EOF
  2504. if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
  2505. then
  2506.   mfx_cv_prog_cc_bug_signed_to_unsigned_casting=no
  2507. else
  2508.   echo "configure: failed program was:" >&5
  2509.   cat conftest.$ac_ext >&5
  2510.   rm -fr conftest*
  2511.   mfx_cv_prog_cc_bug_signed_to_unsigned_casting=yes
  2512. fi
  2513. rm -fr conftest*
  2514. fi
  2515.  
  2516. fi
  2517.  
  2518. echo "$ac_t""$mfx_cv_prog_cc_bug_signed_to_unsigned_casting" 1>&6
  2519.  
  2520. if test "$ac_cv_prog_gcc" = yes; then
  2521. mfx_save_cflags="$CFLAGS"
  2522. CFLAGS="$CFLAGS -O2 -fschedule-insns -fschedule-insns2"
  2523. echo $ac_n "checking whether ${CC-cc} suffers the -fschedule-insns bug""... $ac_c" 1>&6
  2524. echo "configure:2525: checking whether ${CC-cc} suffers the -fschedule-insns bug" >&5
  2525. if eval "test \"`echo '$''{'mfx_cv_prog_gcc_bug_schedule_insns'+set}'`\" = set"; then
  2526.   echo $ac_n "(cached) $ac_c" 1>&6
  2527. else
  2528.   if test "$cross_compiling" = yes; then
  2529.   mfx_cv_prog_gcc_bug_schedule_insns=unknown
  2530. else
  2531.   cat > conftest.$ac_ext <<EOF
  2532. #line 2533 "configure"
  2533. #include "confdefs.h"
  2534. main() {
  2535. /* gcc schedule-insns optimization bug on RS6000 platforms.
  2536.  * Adapted from bug-report by Assar Westerlund <assar@sics.se>
  2537.  * Compile and run it using gcc -O2 -fno-schedule-insns and
  2538.  * gcc -O2 -fschedule-insns.
  2539.  */
  2540.   const int clone[] = {1, 2, 0};
  2541.   const int *q;
  2542.   q = clone; if (*q) { return 0; }
  2543.   return 1; }
  2544. EOF
  2545. if { (eval echo configure:2546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
  2546. then
  2547.   mfx_cv_prog_gcc_bug_schedule_insns=no
  2548. else
  2549.   echo "configure: failed program was:" >&5
  2550.   cat conftest.$ac_ext >&5
  2551.   rm -fr conftest*
  2552.   mfx_cv_prog_gcc_bug_schedule_insns=yes
  2553. fi
  2554. rm -fr conftest*
  2555. fi
  2556.  
  2557. fi
  2558.  
  2559. echo "$ac_t""$mfx_cv_prog_gcc_bug_schedule_insns" 1>&6
  2560. CFLAGS="$mfx_save_cflags"
  2561. fi
  2562.  
  2563. if test "$ac_cv_prog_gcc" = yes; then
  2564. mfx_save_cflags="$CFLAGS"
  2565. CFLAGS="$CFLAGS -O2 -fstrength-reduce"
  2566. echo $ac_n "checking whether ${CC-cc} suffers the -fstrength-reduce bug""... $ac_c" 1>&6
  2567. echo "configure:2568: checking whether ${CC-cc} suffers the -fstrength-reduce bug" >&5
  2568. if eval "test \"`echo '$''{'mfx_cv_prog_gcc_bug_strength_reduce'+set}'`\" = set"; then
  2569.   echo $ac_n "(cached) $ac_c" 1>&6
  2570. else
  2571.   if test "$cross_compiling" = yes; then
  2572.   mfx_cv_prog_gcc_bug_strength_reduce=unknown
  2573. else
  2574.   cat > conftest.$ac_ext <<EOF
  2575. #line 2576 "configure"
  2576. #include "confdefs.h"
  2577.  
  2578. /* gcc strength-reduce optimization bug on Intel platforms.
  2579.  * Adapted from bug-report by John E. Davis <davis@space.mit.edu>
  2580.  * Compile and run it using gcc -O2 -fno-strength-reduce and
  2581.  * gcc -O2 -fstrength-reduce.
  2582.  */
  2583. int a[3];
  2584. unsigned an = 3;
  2585. int strength_reduce_bug();
  2586. main() {
  2587.   unsigned j;
  2588.   for (j = 0; j < an; j++)
  2589.     a[j] = (int)j - 3;
  2590.   exit(strength_reduce_bug() ? 1 : 0);
  2591. }
  2592. int strength_reduce_bug()
  2593. { return a[0] != -3 || a[1] != -2 || a[2] != -1; }
  2594. EOF
  2595. if { (eval echo configure:2596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
  2596. then
  2597.   mfx_cv_prog_gcc_bug_strength_reduce=no
  2598. else
  2599.   echo "configure: failed program was:" >&5
  2600.   cat conftest.$ac_ext >&5
  2601.   rm -fr conftest*
  2602.   mfx_cv_prog_gcc_bug_strength_reduce=yes
  2603. fi
  2604. rm -fr conftest*
  2605. fi
  2606.  
  2607. fi
  2608.  
  2609. echo "$ac_t""$mfx_cv_prog_gcc_bug_strength_reduce" 1>&6
  2610. CFLAGS="$mfx_save_cflags"
  2611. fi
  2612.  
  2613.  
  2614.  
  2615. CFLAGS_GCC_OMIT_FRAME_POINTER=""
  2616. if test "$GCC" = yes; then
  2617.   CFLAGS_GCC_OMIT_FRAME_POINTER="-fomit-frame-pointer"
  2618.   if test "$mfx_cv_prog_checkergcc" = yes; then
  2619.     CFLAGS_GCC_OMIT_FRAME_POINTER="-fno-omit-frame-pointer"
  2620.   fi
  2621.   if test "$enable_debug" = yes; then
  2622.     CFLAGS_GCC_OMIT_FRAME_POINTER="-fno-omit-frame-pointer"
  2623.   fi
  2624.   if test "$enable_profiling" = yes; then
  2625.     CFLAGS_GCC_OMIT_FRAME_POINTER="-fno-omit-frame-pointer"
  2626.   fi
  2627.   if test "$enable_coverage" = yes; then
  2628.     CFLAGS_GCC_OMIT_FRAME_POINTER="-fno-omit-frame-pointer"
  2629.   fi
  2630. fi
  2631.  
  2632. if test "$enable_debug" = yes; then
  2633.   test "$ac_cv_prog_cc_g" = yes && CFLAGS="$CFLAGS -g"
  2634.   test "$ac_cv_prog_cxx_g" = yes && CXXFLAGS="$CXXFLAGS -g"
  2635. fi
  2636.  
  2637.  
  2638.  
  2639.  
  2640. M_CC="unknown"
  2641. M_ARCH="unknown"
  2642. M_CPU="$host_cpu"
  2643.  
  2644. if test "$GCC" = yes; then
  2645.   M_CC="GCC"
  2646.   if test "$enable_debug" = yes; then
  2647.     CFLAGS_O="-O0"
  2648.   else
  2649.     CFLAGS_O="-O2"
  2650.   fi
  2651.   CFLAGS_W="-Wall -Wcast-align -Wwrite-strings"
  2652.   case $host in
  2653.     i[34567]86-*)
  2654.       M_ARCH="i386"
  2655.       mfx_unaligned_ok_2="yes"
  2656.       mfx_unaligned_ok_4="yes"
  2657.       CFLAGS_O="$CFLAGS_O -fno-strength-reduce"
  2658.       ;;
  2659.     *)
  2660.       if test "$mfx_cv_prog_gcc_bug_strength_reduce" = yes; then
  2661.         CFLAGS_O="$CFLAGS_O -fno-strength-reduce"
  2662.       fi
  2663.       ;;
  2664.   esac
  2665.   if test "$mfx_cv_prog_gcc_bug_schedule_insns" = yes; then
  2666.     CFLAGS_O="$CFLAGS_O -fno-schedule-insns -fno-schedule-insns2"
  2667.   fi
  2668. else
  2669.   CFLAGS_O="$CFLAGS_O"
  2670. # CFLAGS_O="$CFLAGS_O -O"
  2671.   CFLAGS_W="$CFLAGS_W"
  2672. fi
  2673.  
  2674. cat >> confdefs.h <<EOF
  2675. #define MFX_ARCH "$M_ARCH"
  2676. EOF
  2677.  
  2678. cat >> confdefs.h <<EOF
  2679. #define MFX_CPU "$host_cpu"
  2680. EOF
  2681.  
  2682.  
  2683. M_ARCH=`echo "$M_ARCH" | sed -e 's/^a-zA-Z0-9//g'`
  2684. M_CPU=`echo "$M_CPU" | sed -e 's/^a-zA-Z0-9//g'`
  2685.  
  2686.  
  2687. CPPFLAGS="$CPPFLAGS -DLZOP_HAVE_CONFIG_H"
  2688.  
  2689. if test "$USE_MAINTAINER_MODE" = yes; then
  2690.   CPPFLAGS="$CPPFLAGS -DMAINT"
  2691.   test "$GCC" = yes && EXTRA_CFLAGS="$EXTRA_CFLAGS -Werror"
  2692. fi
  2693.  
  2694.  
  2695. # /***********************************************************************
  2696. # // Write output files
  2697. # ************************************************************************/
  2698.  
  2699. trap '' 1 2 15
  2700. cat > confcache <<\EOF
  2701. # This file is a shell script that caches the results of configure
  2702. # tests run on this system so they can be shared between configure
  2703. # scripts and configure runs.  It is not useful on other systems.
  2704. # If it contains results you don't want to keep, you may remove or edit it.
  2705. #
  2706. # By default, configure uses ./config.cache as the cache file,
  2707. # creating it if it does not exist already.  You can give configure
  2708. # the --cache-file=FILE option to use a different cache file; that is
  2709. # what configure does when it calls configure scripts in
  2710. # subdirectories, so they share the cache.
  2711. # Giving --cache-file=/dev/null disables caching, for debugging configure.
  2712. # config.status only pays attention to the cache file if you give it the
  2713. # --recheck option to rerun configure.
  2714. #
  2715. EOF
  2716. # The following way of writing the cache mishandles newlines in values,
  2717. # but we know of no workaround that is simple, portable, and efficient.
  2718. # So, don't put newlines in cache variables' values.
  2719. # Ultrix sh set writes to stderr and can't be redirected directly,
  2720. # and sets the high bit in the cache file unless we assign to the vars.
  2721. (set) 2>&1 |
  2722.   case `(ac_space=' '; set) 2>&1 | grep ac_space` in
  2723.   *ac_space=\ *)
  2724.     # `set' does not quote correctly, so add quotes (double-quote substitution
  2725.     # turns \\\\ into \\, and sed turns \\ into \).
  2726.     sed -n \
  2727.       -e "s/'/'\\\\''/g" \
  2728.       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
  2729.     ;;
  2730.   *)
  2731.     # `set' quotes correctly as required by POSIX, so do not add quotes.
  2732.     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
  2733.     ;;
  2734.   esac >> confcache
  2735. if cmp -s $cache_file confcache; then
  2736.   :
  2737. else
  2738.   if test -w $cache_file; then
  2739.     echo "updating cache $cache_file"
  2740.     cat confcache > $cache_file
  2741.   else
  2742.     echo "not updating unwritable cache $cache_file"
  2743.   fi
  2744. fi
  2745. rm -f confcache
  2746.  
  2747. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2748.  
  2749. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2750. # Let make expand exec_prefix.
  2751. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2752.  
  2753. # Any assignment to VPATH causes Sun make to only execute
  2754. # the first set of double-colon rules, so remove it if not needed.
  2755. # If there is a colon in the path, we need to keep it.
  2756. if test "x$srcdir" = x.; then
  2757.   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  2758. fi
  2759.  
  2760. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  2761.  
  2762. DEFS=-DHAVE_CONFIG_H
  2763.  
  2764. # Without the "./", some shells look in PATH for config.status.
  2765. : ${CONFIG_STATUS=./config.status}
  2766.  
  2767. echo creating $CONFIG_STATUS
  2768. rm -f $CONFIG_STATUS
  2769. cat > $CONFIG_STATUS <<EOF
  2770. #! /bin/sh
  2771. # Generated automatically by configure.
  2772. # Run this file to recreate the current configuration.
  2773. # This directory was configured as follows,
  2774. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  2775. #
  2776. # $0 $ac_configure_args
  2777. #
  2778. # Compiler output produced by configure, useful for debugging
  2779. # configure, is in ./config.log if it exists.
  2780.  
  2781. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  2782. for ac_option
  2783. do
  2784.   case "\$ac_option" in
  2785.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2786.     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2787.     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2788.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2789.     echo "$CONFIG_STATUS generated by autoconf version 2.12.1"
  2790.     exit 0 ;;
  2791.   -help | --help | --hel | --he | --h)
  2792.     echo "\$ac_cs_usage"; exit 0 ;;
  2793.   *) echo "\$ac_cs_usage"; exit 1 ;;
  2794.   esac
  2795. done
  2796.  
  2797. ac_given_srcdir=$srcdir
  2798. ac_given_INSTALL="$INSTALL"
  2799.  
  2800. trap 'rm -fr `echo "Makefile doc/Makefile src/Makefile config.h:config.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  2801. EOF
  2802. cat >> $CONFIG_STATUS <<EOF
  2803.  
  2804. # Protect against being on the right side of a sed subst in config.status.
  2805. sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  2806.  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  2807. $ac_vpsub
  2808. $extrasub
  2809. s%@SHELL@%$SHELL%g
  2810. s%@CFLAGS@%$CFLAGS%g
  2811. s%@CPPFLAGS@%$CPPFLAGS%g
  2812. s%@CXXFLAGS@%$CXXFLAGS%g
  2813. s%@DEFS@%$DEFS%g
  2814. s%@LDFLAGS@%$LDFLAGS%g
  2815. s%@LIBS@%$LIBS%g
  2816. s%@exec_prefix@%$exec_prefix%g
  2817. s%@prefix@%$prefix%g
  2818. s%@program_transform_name@%$program_transform_name%g
  2819. s%@bindir@%$bindir%g
  2820. s%@sbindir@%$sbindir%g
  2821. s%@libexecdir@%$libexecdir%g
  2822. s%@datadir@%$datadir%g
  2823. s%@sysconfdir@%$sysconfdir%g
  2824. s%@sharedstatedir@%$sharedstatedir%g
  2825. s%@localstatedir@%$localstatedir%g
  2826. s%@libdir@%$libdir%g
  2827. s%@includedir@%$includedir%g
  2828. s%@oldincludedir@%$oldincludedir%g
  2829. s%@infodir@%$infodir%g
  2830. s%@mandir@%$mandir%g
  2831. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  2832. s%@INSTALL_DATA@%$INSTALL_DATA%g
  2833. s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
  2834. s%@PACKAGE@%$PACKAGE%g
  2835. s%@VERSION@%$VERSION%g
  2836. s%@ACLOCAL@%$ACLOCAL%g
  2837. s%@AUTOCONF@%$AUTOCONF%g
  2838. s%@AUTOMAKE@%$AUTOMAKE%g
  2839. s%@AUTOHEADER@%$AUTOHEADER%g
  2840. s%@MAKEINFO@%$MAKEINFO%g
  2841. s%@SET_MAKE@%$SET_MAKE%g
  2842. s%@host@%$host%g
  2843. s%@host_alias@%$host_alias%g
  2844. s%@host_cpu@%$host_cpu%g
  2845. s%@host_vendor@%$host_vendor%g
  2846. s%@host_os@%$host_os%g
  2847. s%@MAINT@%$MAINT%g
  2848. s%@MAINTAINER_TRUE@%$MAINTAINER_TRUE%g
  2849. s%@MAINTAINER_FALSE@%$MAINTAINER_FALSE%g
  2850. s%@mfx_GMAKE@%$mfx_GMAKE%g
  2851. s%@GMAKE_TRUE@%$GMAKE_TRUE%g
  2852. s%@GMAKE_FALSE@%$GMAKE_FALSE%g
  2853. s%@CLEANFILES@%$CLEANFILES%g
  2854. s%@DISTCLEANFILES@%$DISTCLEANFILES%g
  2855. s%@CFLAGS_O@%$CFLAGS_O%g
  2856. s%@CFLAGS_W@%$CFLAGS_W%g
  2857. s%@EXTRA_CFLAGS@%$EXTRA_CFLAGS%g
  2858. s%@lzo_includedir@%$lzo_includedir%g
  2859. s%@lzo_libdir@%$lzo_libdir%g
  2860. s%@lzo_liblzo_a@%$lzo_liblzo_a%g
  2861. s%@CC@%$CC%g
  2862. s%@CPP@%$CPP%g
  2863. s%@EXEEXT@%$EXEEXT%g
  2864. s%@CFLAGS_GCC_OMIT_FRAME_POINTER@%$CFLAGS_GCC_OMIT_FRAME_POINTER%g
  2865. s%@M_CC@%$M_CC%g
  2866. s%@M_ARCH@%$M_ARCH%g
  2867. s%@M_CPU@%$M_CPU%g
  2868.  
  2869. CEOF
  2870. EOF
  2871.  
  2872. cat >> $CONFIG_STATUS <<\EOF
  2873.  
  2874. # Split the substitutions into bite-sized pieces for seds with
  2875. # small command number limits, like on Digital OSF/1 and HP-UX.
  2876. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  2877. ac_file=1 # Number of current file.
  2878. ac_beg=1 # First line for current file.
  2879. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  2880. ac_more_lines=:
  2881. ac_sed_cmds=""
  2882. while $ac_more_lines; do
  2883.   if test $ac_beg -gt 1; then
  2884.     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  2885.   else
  2886.     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  2887.   fi
  2888.   if test ! -s conftest.s$ac_file; then
  2889.     ac_more_lines=false
  2890.     rm -f conftest.s$ac_file
  2891.   else
  2892.     if test -z "$ac_sed_cmds"; then
  2893.       ac_sed_cmds="sed -f conftest.s$ac_file"
  2894.     else
  2895.       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  2896.     fi
  2897.     ac_file=`expr $ac_file + 1`
  2898.     ac_beg=$ac_end
  2899.     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  2900.   fi
  2901. done
  2902. if test -z "$ac_sed_cmds"; then
  2903.   ac_sed_cmds=cat
  2904. fi
  2905. EOF
  2906.  
  2907. cat >> $CONFIG_STATUS <<EOF
  2908.  
  2909. CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile src/Makefile"}
  2910. EOF
  2911. cat >> $CONFIG_STATUS <<\EOF
  2912. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2913.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  2914.   case "$ac_file" in
  2915.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  2916.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2917.   *) ac_file_in="${ac_file}.in" ;;
  2918.   esac
  2919.  
  2920.   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  2921.  
  2922.   # Remove last slash and all that follows it.  Not all systems have dirname.
  2923.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2924.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2925.     # The file is in a subdirectory.
  2926.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  2927.     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  2928.     # A "../" for each directory in $ac_dir_suffix.
  2929.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2930.   else
  2931.     ac_dir_suffix= ac_dots=
  2932.   fi
  2933.  
  2934.   case "$ac_given_srcdir" in
  2935.   .)  srcdir=.
  2936.       if test -z "$ac_dots"; then top_srcdir=.
  2937.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  2938.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2939.   *) # Relative path.
  2940.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2941.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  2942.   esac
  2943.  
  2944.   case "$ac_given_INSTALL" in
  2945.   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  2946.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  2947.   esac
  2948.  
  2949.   echo creating "$ac_file"
  2950.   rm -f "$ac_file"
  2951.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  2952.   case "$ac_file" in
  2953.   *Makefile*) ac_comsub="1i\\
  2954. # $configure_input" ;;
  2955.   *) ac_comsub= ;;
  2956.   esac
  2957.  
  2958.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  2959.   sed -e "$ac_comsub
  2960. s%@configure_input@%$configure_input%g
  2961. s%@srcdir@%$srcdir%g
  2962. s%@top_srcdir@%$top_srcdir%g
  2963. s%@INSTALL@%$INSTALL%g
  2964. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  2965. fi; done
  2966. rm -f conftest.s*
  2967.  
  2968. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  2969. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  2970. #
  2971. # ac_d sets the value in "#define NAME VALUE" lines.
  2972. ac_dA='s%^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  2973. ac_dB='\([     ][     ]*\)[^     ]*%\1#\2'
  2974. ac_dC='\3'
  2975. ac_dD='%g'
  2976. # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  2977. ac_uA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2978. ac_uB='\([     ]\)%\1#\2define\3'
  2979. ac_uC=' '
  2980. ac_uD='\4%g'
  2981. # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  2982. ac_eA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  2983. ac_eB='$%\1#\2define\3'
  2984. ac_eC=' '
  2985. ac_eD='%g'
  2986.  
  2987. if test "${CONFIG_HEADERS+set}" != set; then
  2988. EOF
  2989. cat >> $CONFIG_STATUS <<EOF
  2990.   CONFIG_HEADERS="config.h:config.hin"
  2991. EOF
  2992. cat >> $CONFIG_STATUS <<\EOF
  2993. fi
  2994. for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  2995.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  2996.   case "$ac_file" in
  2997.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  2998.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2999.   *) ac_file_in="${ac_file}.in" ;;
  3000.   esac
  3001.  
  3002.   echo creating $ac_file
  3003.  
  3004.   rm -f conftest.frag conftest.in conftest.out
  3005.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  3006.   cat $ac_file_inputs > conftest.in
  3007.  
  3008. EOF
  3009.  
  3010. # Transform confdefs.h into a sed script conftest.vals that substitutes
  3011. # the proper values into config.h.in to produce config.h.  And first:
  3012. # Protect against being on the right side of a sed subst in config.status.
  3013. # Protect against being in an unquoted here document in config.status.
  3014. rm -f conftest.vals
  3015. cat > conftest.hdr <<\EOF
  3016. s/[\\&%]/\\&/g
  3017. s%[\\$`]%\\&%g
  3018. s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  3019. s%ac_d%ac_u%gp
  3020. s%ac_u%ac_e%gp
  3021. EOF
  3022. sed -n -f conftest.hdr confdefs.h > conftest.vals
  3023. rm -f conftest.hdr
  3024.  
  3025. # This sed command replaces #undef with comments.  This is necessary, for
  3026. # example, in the case of _POSIX_SOURCE, which is predefined and required
  3027. # on some systems where configure will not decide to define it.
  3028. cat >> conftest.vals <<\EOF
  3029. s%^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  3030. EOF
  3031.  
  3032. # Break up conftest.vals because some shells have a limit on
  3033. # the size of here documents, and old seds have small limits too.
  3034.  
  3035. rm -f conftest.tail
  3036. while :
  3037. do
  3038.   ac_lines=`grep -c . conftest.vals`
  3039.   # grep -c gives empty output for an empty file on some AIX systems.
  3040.   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  3041.   # Write a limited-size here document to conftest.frag.
  3042.   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  3043.   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  3044.   echo 'CEOF
  3045.   sed -f conftest.frag conftest.in > conftest.out
  3046.   rm -f conftest.in
  3047.   mv conftest.out conftest.in
  3048. ' >> $CONFIG_STATUS
  3049.   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
  3050.   rm -f conftest.vals
  3051.   mv conftest.tail conftest.vals
  3052. done
  3053. rm -f conftest.vals
  3054.  
  3055. cat >> $CONFIG_STATUS <<\EOF
  3056.   rm -f conftest.frag conftest.h
  3057.   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  3058.   cat conftest.in >> conftest.h
  3059.   rm -f conftest.in
  3060.   if cmp -s $ac_file conftest.h 2>/dev/null; then
  3061.     echo "$ac_file is unchanged"
  3062.     rm -f conftest.h
  3063.   else
  3064.     # Remove last slash and all that follows it.  Not all systems have dirname.
  3065.       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  3066.       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  3067.       # The file is in a subdirectory.
  3068.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  3069.     fi
  3070.     rm -f $ac_file
  3071.     mv conftest.h $ac_file
  3072.   fi
  3073. fi; done
  3074.  
  3075. EOF
  3076. cat >> $CONFIG_STATUS <<EOF
  3077.  
  3078.  
  3079. EOF
  3080. cat >> $CONFIG_STATUS <<\EOF
  3081. test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
  3082.  
  3083. exit 0
  3084. EOF
  3085. chmod +x $CONFIG_STATUS
  3086. rm -fr confdefs* $ac_clean_files
  3087. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  3088.  
  3089.  
  3090.