configure
上传用户:s81996212
上传日期:2007-01-04
资源大小:722k
文件大小:42k
源码类别:

WEB邮件程序

开发平台:

C/C++

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated automatically using autoconf version 2.13 
  4. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  5. #
  6. # This configure script is free software; the Free Software Foundation
  7. # gives unlimited permission to copy, distribute and modify it.
  8. # Defaults:
  9. ac_help=
  10. ac_default_prefix=/usr/local
  11. # Any additions from configure.in:
  12. ac_help="$ac_help
  13.   --with-htmllibdir={dir}  SqWebMail HTML library directory."
  14. # Initialize some variables set by options.
  15. # The variables have the same names as the options, with
  16. # dashes changed to underlines.
  17. build=NONE
  18. cache_file=./config.cache
  19. exec_prefix=NONE
  20. host=NONE
  21. no_create=
  22. nonopt=NONE
  23. no_recursion=
  24. prefix=NONE
  25. program_prefix=NONE
  26. program_suffix=NONE
  27. program_transform_name=s,x,x,
  28. silent=
  29. site=
  30. srcdir=
  31. target=NONE
  32. verbose=
  33. x_includes=NONE
  34. x_libraries=NONE
  35. bindir='${exec_prefix}/bin'
  36. sbindir='${exec_prefix}/sbin'
  37. libexecdir='${exec_prefix}/libexec'
  38. datadir='${prefix}/share'
  39. sysconfdir='${prefix}/etc'
  40. sharedstatedir='${prefix}/com'
  41. localstatedir='${prefix}/var'
  42. libdir='${exec_prefix}/lib'
  43. includedir='${prefix}/include'
  44. oldincludedir='/usr/include'
  45. infodir='${prefix}/info'
  46. mandir='${prefix}/man'
  47. # Initialize some other variables.
  48. subdirs=
  49. MFLAGS= MAKEFLAGS=
  50. SHELL=${CONFIG_SHELL-/bin/sh}
  51. # Maximum number of lines to put in a shell here document.
  52. ac_max_here_lines=12
  53. ac_prev=
  54. for ac_option
  55. do
  56.   # If the previous option needs an argument, assign it.
  57.   if test -n "$ac_prev"; then
  58.     eval "$ac_prev=$ac_option"
  59.     ac_prev=
  60.     continue
  61.   fi
  62.   case "$ac_option" in
  63.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  64.   *) ac_optarg= ;;
  65.   esac
  66.   # Accept the important Cygnus configure options, so we can diagnose typos.
  67.   case "$ac_option" in
  68.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  69.     ac_prev=bindir ;;
  70.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  71.     bindir="$ac_optarg" ;;
  72.   -build | --build | --buil | --bui | --bu)
  73.     ac_prev=build ;;
  74.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  75.     build="$ac_optarg" ;;
  76.   -cache-file | --cache-file | --cache-fil | --cache-fi 
  77.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  78.     ac_prev=cache_file ;;
  79.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* 
  80.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  81.     cache_file="$ac_optarg" ;;
  82.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  83.     ac_prev=datadir ;;
  84.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* 
  85.   | --da=*)
  86.     datadir="$ac_optarg" ;;
  87.   -disable-* | --disable-*)
  88.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  89.     # Reject names that are not valid shell variable names.
  90.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  91.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  92.     fi
  93.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  94.     eval "enable_${ac_feature}=no" ;;
  95.   -enable-* | --enable-*)
  96.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  97.     # Reject names that are not valid shell variable names.
  98.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  99.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  100.     fi
  101.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  102.     case "$ac_option" in
  103.       *=*) ;;
  104.       *) ac_optarg=yes ;;
  105.     esac
  106.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  107.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi 
  108.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- 
  109.   | --exec | --exe | --ex)
  110.     ac_prev=exec_prefix ;;
  111.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* 
  112.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* 
  113.   | --exec=* | --exe=* | --ex=*)
  114.     exec_prefix="$ac_optarg" ;;
  115.   -gas | --gas | --ga | --g)
  116.     # Obsolete; use --with-gas.
  117.     with_gas=yes ;;
  118.   -help | --help | --hel | --he)
  119.     # Omit some internal or obsolete options to make the list less imposing.
  120.     # This message is too long to be a string in the A/UX 3.1 sh.
  121.     cat << EOF
  122. Usage: configure [options] [host]
  123. Options: [defaults in brackets after descriptions]
  124. Configuration:
  125.   --cache-file=FILE       cache test results in FILE
  126.   --help                  print this message
  127.   --no-create             do not create output files
  128.   --quiet, --silent       do not print `checking...' messages
  129.   --version               print the version of autoconf that created configure
  130. Directory and file names:
  131.   --prefix=PREFIX         install architecture-independent files in PREFIX
  132.                           [$ac_default_prefix]
  133.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  134.                           [same as prefix]
  135.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  136.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  137.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  138.   --datadir=DIR           read-only architecture-independent data in DIR
  139.                           [PREFIX/share]
  140.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  141.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  142.                           [PREFIX/com]
  143.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  144.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  145.   --includedir=DIR        C header files in DIR [PREFIX/include]
  146.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  147.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  148.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  149.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  150.   --program-prefix=PREFIX prepend PREFIX to installed program names
  151.   --program-suffix=SUFFIX append SUFFIX to installed program names
  152.   --program-transform-name=PROGRAM
  153.                           run sed PROGRAM on installed program names
  154. EOF
  155.     cat << EOF
  156. Host type:
  157.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  158.   --host=HOST             configure for HOST [guessed]
  159.   --target=TARGET         configure for TARGET [TARGET=HOST]
  160. Features and packages:
  161.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  162.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  163.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  164.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  165.   --x-includes=DIR        X include files are in DIR
  166.   --x-libraries=DIR       X library files are in DIR
  167. EOF
  168.     if test -n "$ac_help"; then
  169.       echo "--enable and --with options recognized:$ac_help"
  170.     fi
  171.     exit 0 ;;
  172.   -host | --host | --hos | --ho)
  173.     ac_prev=host ;;
  174.   -host=* | --host=* | --hos=* | --ho=*)
  175.     host="$ac_optarg" ;;
  176.   -includedir | --includedir | --includedi | --included | --include 
  177.   | --includ | --inclu | --incl | --inc)
  178.     ac_prev=includedir ;;
  179.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* 
  180.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  181.     includedir="$ac_optarg" ;;
  182.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  183.     ac_prev=infodir ;;
  184.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  185.     infodir="$ac_optarg" ;;
  186.   -libdir | --libdir | --libdi | --libd)
  187.     ac_prev=libdir ;;
  188.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  189.     libdir="$ac_optarg" ;;
  190.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec 
  191.   | --libexe | --libex | --libe)
  192.     ac_prev=libexecdir ;;
  193.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* 
  194.   | --libexe=* | --libex=* | --libe=*)
  195.     libexecdir="$ac_optarg" ;;
  196.   -localstatedir | --localstatedir | --localstatedi | --localstated 
  197.   | --localstate | --localstat | --localsta | --localst 
  198.   | --locals | --local | --loca | --loc | --lo)
  199.     ac_prev=localstatedir ;;
  200.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* 
  201.   | --localstate=* | --localstat=* | --localsta=* | --localst=* 
  202.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  203.     localstatedir="$ac_optarg" ;;
  204.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  205.     ac_prev=mandir ;;
  206.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  207.     mandir="$ac_optarg" ;;
  208.   -nfp | --nfp | --nf)
  209.     # Obsolete; use --without-fp.
  210.     with_fp=no ;;
  211.   -no-create | --no-create | --no-creat | --no-crea | --no-cre 
  212.   | --no-cr | --no-c)
  213.     no_create=yes ;;
  214.   -no-recursion | --no-recursion | --no-recursio | --no-recursi 
  215.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  216.     no_recursion=yes ;;
  217.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded 
  218.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc 
  219.   | --oldin | --oldi | --old | --ol | --o)
  220.     ac_prev=oldincludedir ;;
  221.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* 
  222.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* 
  223.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  224.     oldincludedir="$ac_optarg" ;;
  225.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  226.     ac_prev=prefix ;;
  227.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  228.     prefix="$ac_optarg" ;;
  229.   -program-prefix | --program-prefix | --program-prefi | --program-pref 
  230.   | --program-pre | --program-pr | --program-p)
  231.     ac_prev=program_prefix ;;
  232.   -program-prefix=* | --program-prefix=* | --program-prefi=* 
  233.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  234.     program_prefix="$ac_optarg" ;;
  235.   -program-suffix | --program-suffix | --program-suffi | --program-suff 
  236.   | --program-suf | --program-su | --program-s)
  237.     ac_prev=program_suffix ;;
  238.   -program-suffix=* | --program-suffix=* | --program-suffi=* 
  239.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  240.     program_suffix="$ac_optarg" ;;
  241.   -program-transform-name | --program-transform-name 
  242.   | --program-transform-nam | --program-transform-na 
  243.   | --program-transform-n | --program-transform- 
  244.   | --program-transform | --program-transfor 
  245.   | --program-transfo | --program-transf 
  246.   | --program-trans | --program-tran 
  247.   | --progr-tra | --program-tr | --program-t)
  248.     ac_prev=program_transform_name ;;
  249.   -program-transform-name=* | --program-transform-name=* 
  250.   | --program-transform-nam=* | --program-transform-na=* 
  251.   | --program-transform-n=* | --program-transform-=* 
  252.   | --program-transform=* | --program-transfor=* 
  253.   | --program-transfo=* | --program-transf=* 
  254.   | --program-trans=* | --program-tran=* 
  255.   | --progr-tra=* | --program-tr=* | --program-t=*)
  256.     program_transform_name="$ac_optarg" ;;
  257.   -q | -quiet | --quiet | --quie | --qui | --qu | --q 
  258.   | -silent | --silent | --silen | --sile | --sil)
  259.     silent=yes ;;
  260.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  261.     ac_prev=sbindir ;;
  262.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* 
  263.   | --sbi=* | --sb=*)
  264.     sbindir="$ac_optarg" ;;
  265.   -sharedstatedir | --sharedstatedir | --sharedstatedi 
  266.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta 
  267.   | --sharedst | --shareds | --shared | --share | --shar 
  268.   | --sha | --sh)
  269.     ac_prev=sharedstatedir ;;
  270.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* 
  271.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* 
  272.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* 
  273.   | --sha=* | --sh=*)
  274.     sharedstatedir="$ac_optarg" ;;
  275.   -site | --site | --sit)
  276.     ac_prev=site ;;
  277.   -site=* | --site=* | --sit=*)
  278.     site="$ac_optarg" ;;
  279.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  280.     ac_prev=srcdir ;;
  281.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  282.     srcdir="$ac_optarg" ;;
  283.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf 
  284.   | --syscon | --sysco | --sysc | --sys | --sy)
  285.     ac_prev=sysconfdir ;;
  286.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* 
  287.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  288.     sysconfdir="$ac_optarg" ;;
  289.   -target | --target | --targe | --targ | --tar | --ta | --t)
  290.     ac_prev=target ;;
  291.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  292.     target="$ac_optarg" ;;
  293.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  294.     verbose=yes ;;
  295.   -version | --version | --versio | --versi | --vers)
  296.     echo "configure generated by autoconf version 2.13"
  297.     exit 0 ;;
  298.   -with-* | --with-*)
  299.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  300.     # Reject names that are not valid shell variable names.
  301.     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  302.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  303.     fi
  304.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  305.     case "$ac_option" in
  306.       *=*) ;;
  307.       *) ac_optarg=yes ;;
  308.     esac
  309.     eval "with_${ac_package}='$ac_optarg'" ;;
  310.   -without-* | --without-*)
  311.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  312.     # Reject names that are not valid shell variable names.
  313.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  314.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  315.     fi
  316.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  317.     eval "with_${ac_package}=no" ;;
  318.   --x)
  319.     # Obsolete; use --with-x.
  320.     with_x=yes ;;
  321.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu 
  322.   | --x-incl | --x-inc | --x-in | --x-i)
  323.     ac_prev=x_includes ;;
  324.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* 
  325.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  326.     x_includes="$ac_optarg" ;;
  327.   -x-libraries | --x-libraries | --x-librarie | --x-librari 
  328.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  329.     ac_prev=x_libraries ;;
  330.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* 
  331.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  332.     x_libraries="$ac_optarg" ;;
  333.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  334.     ;;
  335.   *)
  336.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  337.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  338.     fi
  339.     if test "x$nonopt" != xNONE; then
  340.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  341.     fi
  342.     nonopt="$ac_option"
  343.     ;;
  344.   esac
  345. done
  346. if test -n "$ac_prev"; then
  347.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  348. fi
  349. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  350. # File descriptor usage:
  351. # 0 standard input
  352. # 1 file creation
  353. # 2 errors and warnings
  354. # 3 some systems may open it to /dev/tty
  355. # 4 used on the Kubota Titan
  356. # 6 checking for... messages and results
  357. # 5 compiler messages saved in config.log
  358. if test "$silent" = yes; then
  359.   exec 6>/dev/null
  360. else
  361.   exec 6>&1
  362. fi
  363. exec 5>./config.log
  364. echo "
  365. This file contains any messages produced by compilers while
  366. running configure, to aid debugging if configure makes a mistake.
  367. " 1>&5
  368. # Strip out --no-create and --no-recursion so they do not pile up.
  369. # Also quote any args containing shell metacharacters.
  370. ac_configure_args=
  371. for ac_arg
  372. do
  373.   case "$ac_arg" in
  374.   -no-create | --no-create | --no-creat | --no-crea | --no-cre 
  375.   | --no-cr | --no-c) ;;
  376.   -no-recursion | --no-recursion | --no-recursio | --no-recursi 
  377.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  378.   *" "*|*" "*|*[[]~#$^&*(){}\|;<>?]*)
  379.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  380.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  381.   esac
  382. done
  383. # NLS nuisances.
  384. # Only set these to C if already set.  These must not be set unconditionally
  385. # because not all systems understand e.g. LANG=C (notably SCO).
  386. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  387. # Non-C LC_CTYPE values break the ctype check.
  388. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  389. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  390. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  391. if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
  392. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  393. rm -rf conftest* confdefs.h
  394. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  395. echo > confdefs.h
  396. # A filename unique to this package, relative to the directory that
  397. # configure is in, which we can look for to find out if srcdir is correct.
  398. ac_unique_file=mksoftlinks
  399. # Find the source files, if location was not specified.
  400. if test -z "$srcdir"; then
  401.   ac_srcdir_defaulted=yes
  402.   # Try the directory containing this script, then its parent.
  403.   ac_prog=$0
  404.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  405.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  406.   srcdir=$ac_confdir
  407.   if test ! -r $srcdir/$ac_unique_file; then
  408.     srcdir=..
  409.   fi
  410. else
  411.   ac_srcdir_defaulted=no
  412. fi
  413. if test ! -r $srcdir/$ac_unique_file; then
  414.   if test "$ac_srcdir_defaulted" = yes; then
  415.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  416.   else
  417.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  418.   fi
  419. fi
  420. srcdir=`echo "${srcdir}" | sed 's%([^/])/*$%1%'`
  421. # Prefer explicitly selected file to automatically selected ones.
  422. if test -z "$CONFIG_SITE"; then
  423.   if test "x$prefix" != xNONE; then
  424.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  425.   else
  426.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  427.   fi
  428. fi
  429. for ac_site_file in $CONFIG_SITE; do
  430.   if test -r "$ac_site_file"; then
  431.     echo "loading site script $ac_site_file"
  432.     . "$ac_site_file"
  433.   fi
  434. done
  435. if test -r "$cache_file"; then
  436.   echo "loading cache $cache_file"
  437.   . $cache_file
  438. else
  439.   echo "creating cache $cache_file"
  440.   > $cache_file
  441. fi
  442. ac_ext=c
  443. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  444. ac_cpp='$CPP $CPPFLAGS'
  445. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  446. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  447. cross_compiling=$ac_cv_prog_cc_cross
  448. ac_exeext=
  449. ac_objext=o
  450. if (echo "testingc"; echo 1,2,3) | grep c >/dev/null; then
  451.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  452.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  453.     ac_n= ac_c='
  454. ' ac_t=' '
  455.   else
  456.     ac_n=-n ac_c= ac_t=
  457.   fi
  458. else
  459.   ac_n= ac_c='c' ac_t=
  460. fi
  461. ac_aux_dir=
  462. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  463.   if test -f $ac_dir/install-sh; then
  464.     ac_aux_dir=$ac_dir
  465.     ac_install_sh="$ac_aux_dir/install-sh -c"
  466.     break
  467.   elif test -f $ac_dir/install.sh; then
  468.     ac_aux_dir=$ac_dir
  469.     ac_install_sh="$ac_aux_dir/install.sh -c"
  470.     break
  471.   fi
  472. done
  473. if test -z "$ac_aux_dir"; then
  474.   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  475. fi
  476. ac_config_guess=$ac_aux_dir/config.guess
  477. ac_config_sub=$ac_aux_dir/config.sub
  478. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  479. # Find a good install program.  We prefer a C program (faster),
  480. # so one script is as good as another.  But avoid the broken or
  481. # incompatible versions:
  482. # SysV /etc/install, /usr/sbin/install
  483. # SunOS /usr/etc/install
  484. # IRIX /sbin/install
  485. # AIX /bin/install
  486. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  487. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  488. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  489. # ./install, which can be erroneously created by make from ./install.sh.
  490. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  491. echo "configure:558: checking for a BSD compatible install" >&5
  492. if test -z "$INSTALL"; then
  493. if eval "test "`echo '$''{'ac_cv_path_install'+set}'`" = set"; then
  494.   echo $ac_n "(cached) $ac_c" 1>&6
  495. else
  496.     IFS="${IFS=  }"; ac_save_IFS="$IFS"; IFS=":"
  497.   for ac_dir in $PATH; do
  498.     # Account for people who put trailing slashes in PATH elements.
  499.     case "$ac_dir/" in
  500.     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  501.     *)
  502.       # OSF1 and SCO ODT 3.0 have their own names for install.
  503.       # Don't use installbsd from OSF since it installs stuff as root
  504.       # by default.
  505.       for ac_prog in ginstall scoinst install; do
  506.         if test -f $ac_dir/$ac_prog; then
  507.   if test $ac_prog = install &&
  508.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  509.     # AIX install.  It has an incompatible calling convention.
  510.     :
  511.   else
  512.     ac_cv_path_install="$ac_dir/$ac_prog -c"
  513.     break 2
  514.   fi
  515. fi
  516.       done
  517.       ;;
  518.     esac
  519.   done
  520.   IFS="$ac_save_IFS"
  521. fi
  522.   if test "${ac_cv_path_install+set}" = set; then
  523.     INSTALL="$ac_cv_path_install"
  524.   else
  525.     # As a last resort, use the slow shell script.  We don't cache a
  526.     # path for INSTALL within a source directory, because that will
  527.     # break other packages using the cache if that directory is
  528.     # removed, or if the path is relative.
  529.     INSTALL="$ac_install_sh"
  530.   fi
  531. fi
  532. echo "$ac_t""$INSTALL" 1>&6
  533. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  534. # It thinks the first close brace ends the variable substitution.
  535. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  536. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  537. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  538. echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
  539. echo "configure:611: checking whether build environment is sane" >&5
  540. # Just in case
  541. sleep 1
  542. echo timestamp > conftestfile
  543. # Do `set' in a subshell so we don't clobber the current shell's
  544. # arguments.  Must try -L first in case configure is actually a
  545. # symlink; some systems play weird games with the mod time of symlinks
  546. # (eg FreeBSD returns the mod time of the symlink's containing
  547. # directory).
  548. if (
  549.    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
  550.    if test "$*" = "X"; then
  551.       # -L didn't work.
  552.       set X `ls -t $srcdir/configure conftestfile`
  553.    fi
  554.    if test "$*" != "X $srcdir/configure conftestfile" 
  555.       && test "$*" != "X conftestfile $srcdir/configure"; then
  556.       # If neither matched, then we have a broken ls.  This can happen
  557.       # if, for instance, CONFIG_SHELL is bash and it inherits a
  558.       # broken ls alias from the environment.  This has actually
  559.       # happened.  Such a system could not be considered "sane".
  560.       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
  561. alias in your environment" 1>&2; exit 1; }
  562.    fi
  563.    test "$2" = conftestfile
  564.    )
  565. then
  566.    # Ok.
  567.    :
  568. else
  569.    { echo "configure: error: newly created file is older than distributed files!
  570. Check your system clock" 1>&2; exit 1; }
  571. fi
  572. rm -f conftest*
  573. echo "$ac_t""yes" 1>&6
  574. if test "$program_transform_name" = s,x,x,; then
  575.   program_transform_name=
  576. else
  577.   # Double any  or $.  echo might interpret backslashes.
  578.   cat <<EOF_SED > conftestsed
  579. s,\,\\,g; s,$,$$,g
  580. EOF_SED
  581.   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  582.   rm -f conftestsed
  583. fi
  584. test "$program_prefix" != NONE &&
  585.   program_transform_name="s,^,${program_prefix},; $program_transform_name"
  586. # Use a double $ so make ignores it.
  587. test "$program_suffix" != NONE &&
  588.   program_transform_name="s,$$,${program_suffix},; $program_transform_name"
  589. # sed with no file args requires a program.
  590. test "$program_transform_name" = "" && program_transform_name="s,x,x,"
  591. echo $ac_n "checking whether ${MAKE-make} sets ${MAKE}""... $ac_c" 1>&6
  592. echo "configure:668: checking whether ${MAKE-make} sets ${MAKE}" >&5
  593. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  594. if eval "test "`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`" = set"; then
  595.   echo $ac_n "(cached) $ac_c" 1>&6
  596. else
  597.   cat > conftestmake <<EOF
  598. all:
  599. @echo 'ac_maketemp="${MAKE}"'
  600. EOF
  601. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  602. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  603. if test -n "$ac_maketemp"; then
  604.   eval ac_cv_prog_make_${ac_make}_set=yes
  605. else
  606.   eval ac_cv_prog_make_${ac_make}_set=no
  607. fi
  608. rm -f conftestmake
  609. fi
  610. if eval "test "`echo '$ac_cv_prog_make_'${ac_make}_set`" = yes"; then
  611.   echo "$ac_t""yes" 1>&6
  612.   SET_MAKE=
  613. else
  614.   echo "$ac_t""no" 1>&6
  615.   SET_MAKE="MAKE=${MAKE-make}"
  616. fi
  617. PACKAGE=sqwebmail
  618. VERSION=0.23
  619. if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
  620.   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
  621. fi
  622. cat >> confdefs.h <<EOF
  623. #define PACKAGE "$PACKAGE"
  624. EOF
  625. cat >> confdefs.h <<EOF
  626. #define VERSION "$VERSION"
  627. EOF
  628. missing_dir=`cd $ac_aux_dir && pwd`
  629. echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
  630. echo "configure:714: checking for working aclocal" >&5
  631. # Run test in a subshell; some versions of sh will print an error if
  632. # an executable is not found, even if stderr is redirected.
  633. # Redirect stdin to placate older versions of autoconf.  Sigh.
  634. if (aclocal --version) < /dev/null > /dev/null 2>&1; then
  635.    ACLOCAL=aclocal
  636.    echo "$ac_t""found" 1>&6
  637. else
  638.    ACLOCAL="$missing_dir/missing aclocal"
  639.    echo "$ac_t""missing" 1>&6
  640. fi
  641. echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
  642. echo "configure:727: checking for working autoconf" >&5
  643. # Run test in a subshell; some versions of sh will print an error if
  644. # an executable is not found, even if stderr is redirected.
  645. # Redirect stdin to placate older versions of autoconf.  Sigh.
  646. if (autoconf --version) < /dev/null > /dev/null 2>&1; then
  647.    AUTOCONF=autoconf
  648.    echo "$ac_t""found" 1>&6
  649. else
  650.    AUTOCONF="$missing_dir/missing autoconf"
  651.    echo "$ac_t""missing" 1>&6
  652. fi
  653. echo $ac_n "checking for working automake""... $ac_c" 1>&6
  654. echo "configure:740: checking for working automake" >&5
  655. # Run test in a subshell; some versions of sh will print an error if
  656. # an executable is not found, even if stderr is redirected.
  657. # Redirect stdin to placate older versions of autoconf.  Sigh.
  658. if (automake --version) < /dev/null > /dev/null 2>&1; then
  659.    AUTOMAKE=automake
  660.    echo "$ac_t""found" 1>&6
  661. else
  662.    AUTOMAKE="$missing_dir/missing automake"
  663.    echo "$ac_t""missing" 1>&6
  664. fi
  665. echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
  666. echo "configure:753: checking for working autoheader" >&5
  667. # Run test in a subshell; some versions of sh will print an error if
  668. # an executable is not found, even if stderr is redirected.
  669. # Redirect stdin to placate older versions of autoconf.  Sigh.
  670. if (autoheader --version) < /dev/null > /dev/null 2>&1; then
  671.    AUTOHEADER=autoheader
  672.    echo "$ac_t""found" 1>&6
  673. else
  674.    AUTOHEADER="$missing_dir/missing autoheader"
  675.    echo "$ac_t""missing" 1>&6
  676. fi
  677. echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
  678. echo "configure:766: checking for working makeinfo" >&5
  679. # Run test in a subshell; some versions of sh will print an error if
  680. # an executable is not found, even if stderr is redirected.
  681. # Redirect stdin to placate older versions of autoconf.  Sigh.
  682. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
  683.    MAKEINFO=makeinfo
  684.    echo "$ac_t""found" 1>&6
  685. else
  686.    MAKEINFO="$missing_dir/missing makeinfo"
  687.    echo "$ac_t""missing" 1>&6
  688. fi
  689. # Find a good install program.  We prefer a C program (faster),
  690. # so one script is as good as another.  But avoid the broken or
  691. # incompatible versions:
  692. # SysV /etc/install, /usr/sbin/install
  693. # SunOS /usr/etc/install
  694. # IRIX /sbin/install
  695. # AIX /bin/install
  696. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  697. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  698. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  699. # ./install, which can be erroneously created by make from ./install.sh.
  700. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  701. echo "configure:791: checking for a BSD compatible install" >&5
  702. if test -z "$INSTALL"; then
  703. if eval "test "`echo '$''{'ac_cv_path_install'+set}'`" = set"; then
  704.   echo $ac_n "(cached) $ac_c" 1>&6
  705. else
  706.     IFS="${IFS=  }"; ac_save_IFS="$IFS"; IFS=":"
  707.   for ac_dir in $PATH; do
  708.     # Account for people who put trailing slashes in PATH elements.
  709.     case "$ac_dir/" in
  710.     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  711.     *)
  712.       # OSF1 and SCO ODT 3.0 have their own names for install.
  713.       # Don't use installbsd from OSF since it installs stuff as root
  714.       # by default.
  715.       for ac_prog in ginstall scoinst install; do
  716.         if test -f $ac_dir/$ac_prog; then
  717.   if test $ac_prog = install &&
  718.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  719.     # AIX install.  It has an incompatible calling convention.
  720.     :
  721.   else
  722.     ac_cv_path_install="$ac_dir/$ac_prog -c"
  723.     break 2
  724.   fi
  725. fi
  726.       done
  727.       ;;
  728.     esac
  729.   done
  730.   IFS="$ac_save_IFS"
  731. fi
  732.   if test "${ac_cv_path_install+set}" = set; then
  733.     INSTALL="$ac_cv_path_install"
  734.   else
  735.     # As a last resort, use the slow shell script.  We don't cache a
  736.     # path for INSTALL within a source directory, because that will
  737.     # break other packages using the cache if that directory is
  738.     # removed, or if the path is relative.
  739.     INSTALL="$ac_install_sh"
  740.   fi
  741. fi
  742. echo "$ac_t""$INSTALL" 1>&6
  743. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  744. # It thinks the first close brace ends the variable substitution.
  745. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  746. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  747. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  748. echo $ac_n "checking whether ${MAKE-make} sets ${MAKE}""... $ac_c" 1>&6
  749. echo "configure:844: checking whether ${MAKE-make} sets ${MAKE}" >&5
  750. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  751. if eval "test "`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`" = set"; then
  752.   echo $ac_n "(cached) $ac_c" 1>&6
  753. else
  754.   cat > conftestmake <<EOF
  755. all:
  756. @echo 'ac_maketemp="${MAKE}"'
  757. EOF
  758. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  759. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  760. if test -n "$ac_maketemp"; then
  761.   eval ac_cv_prog_make_${ac_make}_set=yes
  762. else
  763.   eval ac_cv_prog_make_${ac_make}_set=no
  764. fi
  765. rm -f conftestmake
  766. fi
  767. if eval "test "`echo '$ac_cv_prog_make_'${ac_make}_set`" = yes"; then
  768.   echo "$ac_t""yes" 1>&6
  769.   SET_MAKE=
  770. else
  771.   echo "$ac_t""no" 1>&6
  772.   SET_MAKE="MAKE=${MAKE-make}"
  773. fi
  774. # Check whether --with-htmllibdir or --without-htmllibdir was given.
  775. if test "${with_htmllibdir+set}" = set; then
  776.   withval="$with_htmllibdir"
  777.   htmllibdir="$withval"
  778. else
  779.   htmllibdir='$(pkgdatadir)'
  780. fi
  781. LANGUAGES="`cat ${srcdir}/*/LANGUAGE_PREF | sort | awk ' { print $2 } ' | uniq`"
  782. LANGUAGES=`echo $LANGUAGES`
  783. subdirs="$LANGUAGES"
  784. trap '' 1 2 15
  785. cat > confcache <<EOF
  786. # This file is a shell script that caches the results of configure
  787. # tests run on this system so they can be shared between configure
  788. # scripts and configure runs.  It is not useful on other systems.
  789. # If it contains results you don't want to keep, you may remove or edit it.
  790. #
  791. # By default, configure uses ./config.cache as the cache file,
  792. # creating it if it does not exist already.  You can give configure
  793. # the --cache-file=FILE option to use a different cache file; that is
  794. # what configure does when it calls configure scripts in
  795. # subdirectories, so they share the cache.
  796. # Giving --cache-file=/dev/null disables caching, for debugging configure.
  797. # config.status only pays attention to the cache file if you give it the
  798. # --recheck option to rerun configure.
  799. #
  800. EOF
  801. # The following way of writing the cache mishandles newlines in values,
  802. # but we know of no workaround that is simple, portable, and efficient.
  803. # So, don't put newlines in cache variables' values.
  804. # Ultrix sh set writes to stderr and can't be redirected directly,
  805. # and sets the high bit in the cache file unless we assign to the vars.
  806. (set) 2>&1 |
  807.   case `(ac_space=' '; set | grep ac_space) 2>&1` in
  808.   *ac_space= *)
  809.     # `set' does not quote correctly, so add quotes (double-quote substitution
  810.     # turns \\ into \, and sed turns \ into ).
  811.     sed -n 
  812.       -e "s/'/'\\''/g" 
  813.       -e "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1='\2'}/p"
  814.     ;;
  815.   *)
  816.     # `set' quotes correctly as required by POSIX, so do not add quotes.
  817.     sed -n -e 's/^([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*)=(.*)/1=${1=2}/p'
  818.     ;;
  819.   esac >> confcache
  820. if cmp -s $cache_file confcache; then
  821.   :
  822. else
  823.   if test -w $cache_file; then
  824.     echo "updating cache $cache_file"
  825.     cat confcache > $cache_file
  826.   else
  827.     echo "not updating unwritable cache $cache_file"
  828.   fi
  829. fi
  830. rm -f confcache
  831. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  832. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  833. # Let make expand exec_prefix.
  834. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  835. # Any assignment to VPATH causes Sun make to only execute
  836. # the first set of double-colon rules, so remove it if not needed.
  837. # If there is a colon in the path, we need to keep it.
  838. if test "x$srcdir" = x.; then
  839.   ac_vpsub='/^[  ]*VPATH[  ]*=[^:]*$/d'
  840. fi
  841. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  842. # Transform confdefs.h into DEFS.
  843. # Protect against shell expansion while executing Makefile rules.
  844. # Protect against Makefile macro expansion.
  845. cat > conftest.defs <<EOF
  846. s%#define ([A-Za-z_][A-Za-z0-9_]*) *(.*)%-D1=2%g
  847. s%[  `~#$^&*(){}\|;'"<>?]%\&%g
  848. s%[%\&%g
  849. s%]%\&%g
  850. s%$%$$%g
  851. EOF
  852. DEFS=`sed -f conftest.defs confdefs.h | tr '12' ' '`
  853. rm -f conftest.defs
  854. # Without the "./", some shells look in PATH for config.status.
  855. : ${CONFIG_STATUS=./config.status}
  856. echo creating $CONFIG_STATUS
  857. rm -f $CONFIG_STATUS
  858. cat > $CONFIG_STATUS <<EOF
  859. #! /bin/sh
  860. # Generated automatically by configure.
  861. # Run this file to recreate the current configuration.
  862. # This directory was configured as follows,
  863. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  864. #
  865. # $0 $ac_configure_args
  866. #
  867. # Compiler output produced by configure, useful for debugging
  868. # configure, is in ./config.log if it exists.
  869. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  870. for ac_option
  871. do
  872.   case "$ac_option" in
  873.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  874.     echo "running ${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  875.     exec ${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  876.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  877.     echo "$CONFIG_STATUS generated by autoconf version 2.13"
  878.     exit 0 ;;
  879.   -help | --help | --hel | --he | --h)
  880.     echo "$ac_cs_usage"; exit 0 ;;
  881.   *) echo "$ac_cs_usage"; exit 1 ;;
  882.   esac
  883. done
  884. ac_given_srcdir=$srcdir
  885. ac_given_INSTALL="$INSTALL"
  886. trap 'rm -fr `echo "Makefile README_LANG.html" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  887. EOF
  888. cat >> $CONFIG_STATUS <<EOF
  889. # Protect against being on the right side of a sed subst in config.status.
  890. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
  891.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  892. $ac_vpsub
  893. $extrasub
  894. s%@SHELL@%$SHELL%g
  895. s%@CFLAGS@%$CFLAGS%g
  896. s%@CPPFLAGS@%$CPPFLAGS%g
  897. s%@CXXFLAGS@%$CXXFLAGS%g
  898. s%@FFLAGS@%$FFLAGS%g
  899. s%@DEFS@%$DEFS%g
  900. s%@LDFLAGS@%$LDFLAGS%g
  901. s%@LIBS@%$LIBS%g
  902. s%@exec_prefix@%$exec_prefix%g
  903. s%@prefix@%$prefix%g
  904. s%@program_transform_name@%$program_transform_name%g
  905. s%@bindir@%$bindir%g
  906. s%@sbindir@%$sbindir%g
  907. s%@libexecdir@%$libexecdir%g
  908. s%@datadir@%$datadir%g
  909. s%@sysconfdir@%$sysconfdir%g
  910. s%@sharedstatedir@%$sharedstatedir%g
  911. s%@localstatedir@%$localstatedir%g
  912. s%@libdir@%$libdir%g
  913. s%@includedir@%$includedir%g
  914. s%@oldincludedir@%$oldincludedir%g
  915. s%@infodir@%$infodir%g
  916. s%@mandir@%$mandir%g
  917. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  918. s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
  919. s%@INSTALL_DATA@%$INSTALL_DATA%g
  920. s%@PACKAGE@%$PACKAGE%g
  921. s%@VERSION@%$VERSION%g
  922. s%@ACLOCAL@%$ACLOCAL%g
  923. s%@AUTOCONF@%$AUTOCONF%g
  924. s%@AUTOMAKE@%$AUTOMAKE%g
  925. s%@AUTOHEADER@%$AUTOHEADER%g
  926. s%@MAKEINFO@%$MAKEINFO%g
  927. s%@SET_MAKE@%$SET_MAKE%g
  928. s%@subdirs@%$subdirs%g
  929. s%@LANGUAGES@%$LANGUAGES%g
  930. s%@htmllibdir@%$htmllibdir%g
  931. CEOF
  932. EOF
  933. cat >> $CONFIG_STATUS <<EOF
  934. # Split the substitutions into bite-sized pieces for seds with
  935. # small command number limits, like on Digital OSF/1 and HP-UX.
  936. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  937. ac_file=1 # Number of current file.
  938. ac_beg=1 # First line for current file.
  939. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  940. ac_more_lines=:
  941. ac_sed_cmds=""
  942. while $ac_more_lines; do
  943.   if test $ac_beg -gt 1; then
  944.     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  945.   else
  946.     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  947.   fi
  948.   if test ! -s conftest.s$ac_file; then
  949.     ac_more_lines=false
  950.     rm -f conftest.s$ac_file
  951.   else
  952.     if test -z "$ac_sed_cmds"; then
  953.       ac_sed_cmds="sed -f conftest.s$ac_file"
  954.     else
  955.       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  956.     fi
  957.     ac_file=`expr $ac_file + 1`
  958.     ac_beg=$ac_end
  959.     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  960.   fi
  961. done
  962. if test -z "$ac_sed_cmds"; then
  963.   ac_sed_cmds=cat
  964. fi
  965. EOF
  966. cat >> $CONFIG_STATUS <<EOF
  967. CONFIG_FILES=${CONFIG_FILES-"Makefile README_LANG.html"}
  968. EOF
  969. cat >> $CONFIG_STATUS <<EOF
  970. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  971.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  972.   case "$ac_file" in
  973.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  974.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  975.   *) ac_file_in="${ac_file}.in" ;;
  976.   esac
  977.   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  978.   # Remove last slash and all that follows it.  Not all systems have dirname.
  979.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  980.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  981.     # The file is in a subdirectory.
  982.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  983.     ac_dir_suffix="/`echo $ac_dir|sed 's%^./%%'`"
  984.     # A "../" for each directory in $ac_dir_suffix.
  985.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  986.   else
  987.     ac_dir_suffix= ac_dots=
  988.   fi
  989.   case "$ac_given_srcdir" in
  990.   .)  srcdir=.
  991.       if test -z "$ac_dots"; then top_srcdir=.
  992.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  993.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  994.   *) # Relative path.
  995.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  996.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  997.   esac
  998.   case "$ac_given_INSTALL" in
  999.   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  1000.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  1001.   esac
  1002.   echo creating "$ac_file"
  1003.   rm -f "$ac_file"
  1004.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  1005.   case "$ac_file" in
  1006.   *Makefile*) ac_comsub="1i\
  1007. # $configure_input" ;;
  1008.   *) ac_comsub= ;;
  1009.   esac
  1010.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  1011.   sed -e "$ac_comsub
  1012. s%@configure_input@%$configure_input%g
  1013. s%@srcdir@%$srcdir%g
  1014. s%@top_srcdir@%$top_srcdir%g
  1015. s%@INSTALL@%$INSTALL%g
  1016. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  1017. fi; done
  1018. rm -f conftest.s*
  1019. EOF
  1020. cat >> $CONFIG_STATUS <<EOF
  1021. EOF
  1022. cat >> $CONFIG_STATUS <<EOF
  1023. exit 0
  1024. EOF
  1025. chmod +x $CONFIG_STATUS
  1026. rm -fr confdefs* $ac_clean_files
  1027. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1028. if test "$no_recursion" != yes; then
  1029.   # Remove --cache-file and --srcdir arguments so they do not pile up.
  1030.   ac_sub_configure_args=
  1031.   ac_prev=
  1032.   for ac_arg in $ac_configure_args; do
  1033.     if test -n "$ac_prev"; then
  1034.       ac_prev=
  1035.       continue
  1036.     fi
  1037.     case "$ac_arg" in
  1038.     -cache-file | --cache-file | --cache-fil | --cache-fi 
  1039.     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1040.       ac_prev=cache_file ;;
  1041.     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* 
  1042.     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1043.       ;;
  1044.     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1045.       ac_prev=srcdir ;;
  1046.     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1047.       ;;
  1048.     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
  1049.     esac
  1050.   done
  1051.   for ac_config_dir in $LANGUAGES; do
  1052.     # Do not complain, so a configure script can configure whichever
  1053.     # parts of a large source tree are present.
  1054.     if test ! -d $srcdir/$ac_config_dir; then
  1055.       continue
  1056.     fi
  1057.     echo configuring in $ac_config_dir
  1058.     case "$srcdir" in
  1059.     .) ;;
  1060.     *)
  1061.       if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
  1062.       else
  1063.         { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
  1064.       fi
  1065.       ;;
  1066.     esac
  1067.     ac_popdir=`pwd`
  1068.     cd $ac_config_dir
  1069.       # A "../" for each directory in /$ac_config_dir.
  1070.       ac_dots=`echo $ac_config_dir|sed -e 's%^./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
  1071.     case "$srcdir" in
  1072.     .) # No --srcdir option.  We are building in place.
  1073.       ac_sub_srcdir=$srcdir ;;
  1074.     /*) # Absolute path.
  1075.       ac_sub_srcdir=$srcdir/$ac_config_dir ;;
  1076.     *) # Relative path.
  1077.       ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
  1078.     esac
  1079.     # Check for guested configure; otherwise get Cygnus style configure.
  1080.     if test -f $ac_sub_srcdir/configure; then
  1081.       ac_sub_configure=$ac_sub_srcdir/configure
  1082.     elif test -f $ac_sub_srcdir/configure.in; then
  1083.       ac_sub_configure=$ac_configure
  1084.     else
  1085.       echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
  1086.       ac_sub_configure=
  1087.     fi
  1088.     # The recursion is here.
  1089.     if test -n "$ac_sub_configure"; then
  1090.       # Make the cache file name correct relative to the subdirectory.
  1091.       case "$cache_file" in
  1092.       /*) ac_sub_cache_file=$cache_file ;;
  1093.       *) # Relative path.
  1094.         ac_sub_cache_file="$ac_dots$cache_file" ;;
  1095.       esac
  1096.   case "$ac_given_INSTALL" in
  1097.         [/$]*) INSTALL="$ac_given_INSTALL" ;;
  1098.         *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  1099.         esac
  1100.       echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
  1101.       # The eval makes quoting arguments work.
  1102.       if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
  1103.       then :
  1104.       else
  1105.         { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
  1106.       fi
  1107.     fi
  1108.     cd $ac_popdir
  1109.   done
  1110. fi
  1111. # Set up soft links
  1112. for f in $LANGUAGES
  1113. do
  1114. ${srcdir}/mksoftlinks . $f
  1115. done