Home | History | Annotate | Line # | Download | only in dist
      1  1.1  christos #! /bin/sh
      2  1.1  christos 
      3  1.1  christos # Guess values for system-dependent variables and create Makefiles.
      4  1.1  christos # Generated automatically using autoconf version 2.4 
      5  1.1  christos # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
      6  1.1  christos #
      7  1.1  christos # This configure script is free software; the Free Software Foundation
      8  1.1  christos # gives unlimited permission to copy, distribute and modify it.
      9  1.1  christos 
     10  1.1  christos # Defaults:
     11  1.1  christos ac_help=
     12  1.1  christos ac_default_prefix=/usr/local
     13  1.1  christos # Any additions from configure.in:
     14  1.1  christos ac_help="$ac_help
     15  1.1  christos   --with-diffutils        assume GNU diffutils is similarly installed"
     16  1.1  christos 
     17  1.1  christos # Initialize some variables set by options.
     18  1.1  christos # The variables have the same names as the options, with
     19  1.1  christos # dashes changed to underlines.
     20  1.1  christos build=NONE
     21  1.1  christos cache_file=./config.cache
     22  1.1  christos exec_prefix=NONE
     23  1.1  christos host=NONE
     24  1.1  christos no_create=
     25  1.1  christos nonopt=NONE
     26  1.1  christos no_recursion=
     27  1.1  christos prefix=NONE
     28  1.1  christos program_prefix=NONE
     29  1.1  christos program_suffix=NONE
     30  1.1  christos program_transform_name=s,x,x,
     31  1.1  christos silent=
     32  1.1  christos site=
     33  1.1  christos srcdir=
     34  1.1  christos target=NONE
     35  1.1  christos verbose=
     36  1.1  christos x_includes=NONE
     37  1.1  christos x_libraries=NONE
     38  1.1  christos 
     39  1.1  christos # Initialize some other variables.
     40  1.1  christos subdirs=
     41  1.1  christos 
     42  1.1  christos ac_prev=
     43  1.1  christos for ac_option
     44  1.1  christos do
     45  1.1  christos 
     46  1.1  christos   # If the previous option needs an argument, assign it.
     47  1.1  christos   if test -n "$ac_prev"; then
     48  1.1  christos     eval "$ac_prev=\$ac_option"
     49  1.1  christos     ac_prev=
     50  1.1  christos     continue
     51  1.1  christos   fi
     52  1.1  christos 
     53  1.1  christos   case "$ac_option" in
     54  1.1  christos   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
     55  1.1  christos   *) ac_optarg= ;;
     56  1.1  christos   esac
     57  1.1  christos 
     58  1.1  christos   # Accept the important Cygnus configure options, so we can diagnose typos.
     59  1.1  christos 
     60  1.1  christos   case "$ac_option" in
     61  1.1  christos 
     62  1.1  christos   -build | --build | --buil | --bui | --bu | --b)
     63  1.1  christos     ac_prev=build ;;
     64  1.1  christos   -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
     65  1.1  christos     build="$ac_optarg" ;;
     66  1.1  christos 
     67  1.1  christos   -cache-file | --cache-file | --cache-fil | --cache-fi \
     68  1.1  christos   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
     69  1.1  christos     ac_prev=cache_file ;;
     70  1.1  christos   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
     71  1.1  christos   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
     72  1.1  christos     cache_file="$ac_optarg" ;;
     73  1.1  christos 
     74  1.1  christos   -disable-* | --disable-*)
     75  1.1  christos     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
     76  1.1  christos     # Reject names that are not valid shell variable names.
     77  1.1  christos     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
     78  1.1  christos       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
     79  1.1  christos     fi
     80  1.1  christos     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
     81  1.1  christos     eval "enable_${ac_feature}=no" ;;
     82  1.1  christos 
     83  1.1  christos   -enable-* | --enable-*)
     84  1.1  christos     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
     85  1.1  christos     # Reject names that are not valid shell variable names.
     86  1.1  christos     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
     87  1.1  christos       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
     88  1.1  christos     fi
     89  1.1  christos     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
     90  1.1  christos     case "$ac_option" in
     91  1.1  christos       *=*) ;;
     92  1.1  christos       *) ac_optarg=yes ;;
     93  1.1  christos     esac
     94  1.1  christos     eval "enable_${ac_feature}='$ac_optarg'" ;;
     95  1.1  christos 
     96  1.1  christos   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     97  1.1  christos   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
     98  1.1  christos   | --exec | --exe | --ex)
     99  1.1  christos     ac_prev=exec_prefix ;;
    100  1.1  christos   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    101  1.1  christos   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    102  1.1  christos   | --exec=* | --exe=* | --ex=*)
    103  1.1  christos     exec_prefix="$ac_optarg" ;;
    104  1.1  christos 
    105  1.1  christos   -gas | --gas | --ga | --g)
    106  1.1  christos     # Obsolete; use --with-gas.
    107  1.1  christos     with_gas=yes ;;
    108  1.1  christos 
    109  1.1  christos   -help | --help | --hel | --he)
    110  1.1  christos     # Omit some internal or obsolete options to make the list less imposing.
    111  1.1  christos     # This message is too long to be a string in the A/UX 3.1 sh.
    112  1.1  christos     cat << EOF
    113  1.1  christos Usage: configure [options] [host]
    114  1.1  christos Options: [defaults in brackets after descriptions]
    115  1.1  christos Configuration:
    116  1.1  christos   --cache-file=FILE       cache test results in FILE
    117  1.1  christos   --help                  print this message
    118  1.1  christos   --no-create             do not create output files
    119  1.1  christos   --quiet, --silent       do not print \`checking...' messages
    120  1.1  christos   --version               print the version of autoconf that created configure
    121  1.1  christos Directory and file names:
    122  1.1  christos   --prefix=PREFIX         install architecture-independent files in PREFIX
    123  1.1  christos                           [$ac_default_prefix]
    124  1.1  christos   --exec-prefix=PREFIX    install architecture-dependent files in PREFIX
    125  1.1  christos                           [same as prefix]
    126  1.1  christos   --srcdir=DIR            find the sources in DIR [configure dir or ..]
    127  1.1  christos   --program-prefix=PREFIX prepend PREFIX to installed program names
    128  1.1  christos   --program-suffix=SUFFIX append SUFFIX to installed program names
    129  1.1  christos   --program-transform-name=PROGRAM run sed PROGRAM on installed program names
    130  1.1  christos Host type:
    131  1.1  christos   --build=BUILD           configure for building on BUILD [BUILD=HOST]
    132  1.1  christos   --host=HOST             configure for HOST [guessed]
    133  1.1  christos   --target=TARGET         configure for TARGET [TARGET=HOST]
    134  1.1  christos Features and packages:
    135  1.1  christos   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    136  1.1  christos   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    137  1.1  christos   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    138  1.1  christos   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    139  1.1  christos   --x-includes=DIR        X include files are in DIR
    140  1.1  christos   --x-libraries=DIR       X library files are in DIR
    141  1.1  christos --enable and --with options recognized:$ac_help
    142  1.1  christos EOF
    143  1.1  christos     exit 0 ;;
    144  1.1  christos 
    145  1.1  christos   -host | --host | --hos | --ho)
    146  1.1  christos     ac_prev=host ;;
    147  1.1  christos   -host=* | --host=* | --hos=* | --ho=*)
    148  1.1  christos     host="$ac_optarg" ;;
    149  1.1  christos 
    150  1.1  christos   -nfp | --nfp | --nf)
    151  1.1  christos     # Obsolete; use --without-fp.
    152  1.1  christos     with_fp=no ;;
    153  1.1  christos 
    154  1.1  christos   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    155  1.1  christos   | --no-cr | --no-c)
    156  1.1  christos     no_create=yes ;;
    157  1.1  christos 
    158  1.1  christos   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    159  1.1  christos   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    160  1.1  christos     no_recursion=yes ;;
    161  1.1  christos 
    162  1.1  christos   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    163  1.1  christos     ac_prev=prefix ;;
    164  1.1  christos   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    165  1.1  christos     prefix="$ac_optarg" ;;
    166  1.1  christos 
    167  1.1  christos   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    168  1.1  christos   | --program-pre | --program-pr | --program-p)
    169  1.1  christos     ac_prev=program_prefix ;;
    170  1.1  christos   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    171  1.1  christos   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    172  1.1  christos     program_prefix="$ac_optarg" ;;
    173  1.1  christos 
    174  1.1  christos   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    175  1.1  christos   | --program-suf | --program-su | --program-s)
    176  1.1  christos     ac_prev=program_suffix ;;
    177  1.1  christos   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    178  1.1  christos   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    179  1.1  christos     program_suffix="$ac_optarg" ;;
    180  1.1  christos 
    181  1.1  christos   -program-transform-name | --program-transform-name \
    182  1.1  christos   | --program-transform-nam | --program-transform-na \
    183  1.1  christos   | --program-transform-n | --program-transform- \
    184  1.1  christos   | --program-transform | --program-transfor \
    185  1.1  christos   | --program-transfo | --program-transf \
    186  1.1  christos   | --program-trans | --program-tran \
    187  1.1  christos   | --progr-tra | --program-tr | --program-t)
    188  1.1  christos     ac_prev=program_transform_name ;;
    189  1.1  christos   -program-transform-name=* | --program-transform-name=* \
    190  1.1  christos   | --program-transform-nam=* | --program-transform-na=* \
    191  1.1  christos   | --program-transform-n=* | --program-transform-=* \
    192  1.1  christos   | --program-transform=* | --program-transfor=* \
    193  1.1  christos   | --program-transfo=* | --program-transf=* \
    194  1.1  christos   | --program-trans=* | --program-tran=* \
    195  1.1  christos   | --progr-tra=* | --program-tr=* | --program-t=*)
    196  1.1  christos     program_transform_name="$ac_optarg" ;;
    197  1.1  christos 
    198  1.1  christos   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    199  1.1  christos   | -silent | --silent | --silen | --sile | --sil)
    200  1.1  christos     silent=yes ;;
    201  1.1  christos 
    202  1.1  christos   -site | --site | --sit)
    203  1.1  christos     ac_prev=site ;;
    204  1.1  christos   -site=* | --site=* | --sit=*)
    205  1.1  christos     site="$ac_optarg" ;;
    206  1.1  christos 
    207  1.1  christos   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    208  1.1  christos     ac_prev=srcdir ;;
    209  1.1  christos   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    210  1.1  christos     srcdir="$ac_optarg" ;;
    211  1.1  christos 
    212  1.1  christos   -target | --target | --targe | --targ | --tar | --ta | --t)
    213  1.1  christos     ac_prev=target ;;
    214  1.1  christos   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    215  1.1  christos     target="$ac_optarg" ;;
    216  1.1  christos 
    217  1.1  christos   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    218  1.1  christos     verbose=yes ;;
    219  1.1  christos 
    220  1.1  christos   -version | --version | --versio | --versi | --vers)
    221  1.1  christos     echo "configure generated by autoconf version 2.4"
    222  1.1  christos     exit 0 ;;
    223  1.1  christos 
    224  1.1  christos   -with-* | --with-*)
    225  1.1  christos     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
    226  1.1  christos     # Reject names that are not valid shell variable names.
    227  1.1  christos     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
    228  1.1  christos       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    229  1.1  christos     fi
    230  1.1  christos     ac_package=`echo $ac_package| sed 's/-/_/g'`
    231  1.1  christos     case "$ac_option" in
    232  1.1  christos       *=*) ;;
    233  1.1  christos       *) ac_optarg=yes ;;
    234  1.1  christos     esac
    235  1.1  christos     eval "with_${ac_package}='$ac_optarg'" ;;
    236  1.1  christos 
    237  1.1  christos   -without-* | --without-*)
    238  1.1  christos     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
    239  1.1  christos     # Reject names that are not valid shell variable names.
    240  1.1  christos     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
    241  1.1  christos       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    242  1.1  christos     fi
    243  1.1  christos     ac_package=`echo $ac_package| sed 's/-/_/g'`
    244  1.1  christos     eval "with_${ac_package}=no" ;;
    245  1.1  christos 
    246  1.1  christos   --x)
    247  1.1  christos     # Obsolete; use --with-x.
    248  1.1  christos     with_x=yes ;;
    249  1.1  christos 
    250  1.1  christos   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    251  1.1  christos   | --x-incl | --x-inc | --x-in | --x-i)
    252  1.1  christos     ac_prev=x_includes ;;
    253  1.1  christos   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    254  1.1  christos   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    255  1.1  christos     x_includes="$ac_optarg" ;;
    256  1.1  christos 
    257  1.1  christos   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    258  1.1  christos   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    259  1.1  christos     ac_prev=x_libraries ;;
    260  1.1  christos   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    261  1.1  christos   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    262  1.1  christos     x_libraries="$ac_optarg" ;;
    263  1.1  christos 
    264  1.1  christos   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
    265  1.1  christos     ;;
    266  1.1  christos 
    267  1.1  christos   *) 
    268  1.1  christos     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
    269  1.1  christos       echo "configure: warning: $ac_option: invalid host type" 1>&2
    270  1.1  christos     fi
    271  1.1  christos     if test "x$nonopt" != xNONE; then
    272  1.1  christos       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    273  1.1  christos     fi
    274  1.1  christos     nonopt="$ac_option"
    275  1.1  christos     ;;
    276  1.1  christos 
    277  1.1  christos   esac
    278  1.1  christos done
    279  1.1  christos 
    280  1.1  christos if test -n "$ac_prev"; then
    281  1.1  christos   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
    282  1.1  christos fi
    283  1.1  christos 
    284  1.1  christos trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    285  1.1  christos 
    286  1.1  christos # File descriptor usage:
    287  1.1  christos # 0 standard input
    288  1.1  christos # 1 file creation
    289  1.1  christos # 2 errors and warnings
    290  1.1  christos # 3 some systems may open it to /dev/tty
    291  1.1  christos # 4 used on the Kubota Titan
    292  1.1  christos # 6 checking for... messages and results
    293  1.1  christos # 5 compiler messages saved in config.log
    294  1.1  christos if test "$silent" = yes; then
    295  1.1  christos   exec 6>/dev/null
    296  1.1  christos else
    297  1.1  christos   exec 6>&1
    298  1.1  christos fi
    299  1.1  christos exec 5>./config.log
    300  1.1  christos 
    301  1.1  christos echo "\
    302  1.1  christos This file contains any messages produced by compilers while
    303  1.1  christos running configure, to aid debugging if configure makes a mistake.
    304  1.1  christos " 1>&5
    305  1.1  christos 
    306  1.1  christos # Strip out --no-create and --no-recursion so they do not pile up.
    307  1.1  christos # Also quote any args containing shell metacharacters.
    308  1.1  christos ac_configure_args=
    309  1.1  christos for ac_arg
    310  1.1  christos do
    311  1.1  christos   case "$ac_arg" in
    312  1.1  christos   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    313  1.1  christos   | --no-cr | --no-c) ;;
    314  1.1  christos   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    315  1.1  christos   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    316  1.1  christos   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
    317  1.1  christos   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    318  1.1  christos   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
    319  1.1  christos   esac
    320  1.1  christos done
    321  1.1  christos 
    322  1.1  christos # NLS nuisances.
    323  1.1  christos # Only set LANG and LC_ALL to C if already set.
    324  1.1  christos # These must not be set unconditionally because not all systems understand
    325  1.1  christos # e.g. LANG=C (notably SCO).
    326  1.1  christos if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
    327  1.1  christos if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
    328  1.1  christos 
    329  1.1  christos # confdefs.h avoids OS command line length limits that DEFS can exceed.
    330  1.1  christos rm -rf conftest* confdefs.h
    331  1.1  christos # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    332  1.1  christos echo > confdefs.h
    333  1.1  christos 
    334  1.1  christos # A filename unique to this package, relative to the directory that
    335  1.1  christos # configure is in, which we can look for to find out if srcdir is correct.
    336  1.1  christos ac_unique_file=src/rcsbase.h
    337  1.1  christos 
    338  1.1  christos # Find the source files, if location was not specified.
    339  1.1  christos if test -z "$srcdir"; then
    340  1.1  christos   ac_srcdir_defaulted=yes
    341  1.1  christos   # Try the directory containing this script, then its parent.
    342  1.1  christos   ac_prog=$0
    343  1.1  christos   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
    344  1.1  christos   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    345  1.1  christos   srcdir=$ac_confdir
    346  1.1  christos   if test ! -r $srcdir/$ac_unique_file; then
    347  1.1  christos     srcdir=..
    348  1.1  christos   fi
    349  1.1  christos else
    350  1.1  christos   ac_srcdir_defaulted=no
    351  1.1  christos fi
    352  1.1  christos if test ! -r $srcdir/$ac_unique_file; then
    353  1.1  christos   if test "$ac_srcdir_defaulted" = yes; then
    354  1.1  christos     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
    355  1.1  christos   else
    356  1.1  christos     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
    357  1.1  christos   fi
    358  1.1  christos fi
    359  1.1  christos srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
    360  1.1  christos 
    361  1.1  christos # Prefer explicitly selected file to automatically selected ones.
    362  1.1  christos if test -z "$CONFIG_SITE"; then
    363  1.1  christos   if test "x$prefix" != xNONE; then
    364  1.1  christos     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    365  1.1  christos   else
    366  1.1  christos     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    367  1.1  christos   fi
    368  1.1  christos fi
    369  1.1  christos for ac_site_file in $CONFIG_SITE; do
    370  1.1  christos   if test -r "$ac_site_file"; then
    371  1.1  christos     echo "loading site script $ac_site_file"
    372  1.1  christos     . "$ac_site_file"
    373  1.1  christos   fi
    374  1.1  christos done
    375  1.1  christos 
    376  1.1  christos if test -r "$cache_file"; then
    377  1.1  christos   echo "loading cache $cache_file"
    378  1.1  christos   . $cache_file
    379  1.1  christos else
    380  1.1  christos   echo "creating cache $cache_file"
    381  1.1  christos   > $cache_file
    382  1.1  christos fi
    383  1.1  christos 
    384  1.1  christos ac_ext=c
    385  1.1  christos # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    386  1.1  christos ac_cpp='$CPP $CPPFLAGS'
    387  1.1  christos ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
    388  1.1  christos ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
    389  1.1  christos 
    390  1.1  christos if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    391  1.1  christos   # Stardent Vistra SVR4 grep lacks -e, says ghazi (at] caip.rutgers.edu.
    392  1.1  christos   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    393  1.1  christos     ac_n= ac_c='
    394  1.1  christos ' ac_t='	'
    395  1.1  christos   else
    396  1.1  christos     ac_n=-n ac_c= ac_t=
    397  1.1  christos   fi
    398  1.1  christos else
    399  1.1  christos   ac_n= ac_c='\c' ac_t=
    400  1.1  christos fi
    401  1.1  christos 
    402  1.1  christos 
    403  1.1  christos 
    404  1.1  christos # Set up simple `diff' test.
    405  1.1  christos echo 0 >conftest0
    406  1.1  christos echo 0 >conftest0c
    407  1.1  christos echo 1 >conftest1
    408  1.1  christos cat >conftestok <<'EOF'
    409  1.1  christos d1 1
    410  1.1  christos a1 1
    411  1.1  christos 1
    412  1.1  christos EOF
    413  1.1  christos 
    414  1.1  christos # Check whether --with-diffutils or --without-diffutils was given.
    415  1.1  christos withval="$with_diffutils"
    416  1.1  christos if test -n "$withval"; then
    417  1.1  christos   with_diffutils=$withval
    418  1.1  christos else
    419  1.1  christos   with_diffutils=no
    420  1.1  christos 
    421  1.1  christos fi
    422  1.1  christos 
    423  1.1  christos 
    424  1.1  christos case $with_diffutils in
    425  1.1  christos yes)
    426  1.1  christos   : ${DIFF='$(bindir)/diff'}
    427  1.1  christos   : ${DIFF3=${DIFF}3}
    428  1.1  christos   : ${DIFF3_BIN=1}
    429  1.1  christos   : ${DIFFFLAGS=-an}
    430  1.1  christos   : ${DIFF_FAILURE=1}
    431  1.1  christos   : ${DIFF_L=1}
    432  1.1  christos   : ${DIFF_SUCCESS=0}
    433  1.1  christos   : ${DIFF_TROUBLE=2}
    434  1.1  christos esac
    435  1.1  christos 
    436  1.1  christos # Set DIFF to the name of the `diff' program to be run.
    437  1.1  christos # On some systems, the RCS-compatible diff program is called `rdiff';
    438  1.1  christos # use it if it works and `diff' doesn't.
    439  1.1  christos 
    440  1.1  christos echo $ac_n "checking diff basename""... $ac_c" 1>&6
    441  1.1  christos if eval "test \"`echo '$''{'rcs_cv_prog_diff'+set}'`\" = set"; then
    442  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    443  1.1  christos else
    444  1.1  christos   
    445  1.1  christos   rcs_cv_prog_diff=$DIFF
    446  1.1  christos   case $rcs_cv_prog_diff in
    447  1.1  christos   '')
    448  1.1  christos     for i in diff /usr/lib/rdiff rdiff
    449  1.1  christos     do
    450  1.1  christos       sh -c "exec $i -n conftest0 conftest1" >conftestout 2>/dev/null
    451  1.1  christos       case $? in
    452  1.1  christos       1)
    453  1.1  christos 	if cmp -s conftestok conftestout
    454  1.1  christos 	then rcs_cv_prog_diff=$i; break
    455  1.1  christos 	fi
    456  1.1  christos 	;;
    457  1.1  christos       esac
    458  1.1  christos     done
    459  1.1  christos     ;;
    460  1.1  christos   esac
    461  1.1  christos 
    462  1.1  christos fi
    463  1.1  christos 
    464  1.1  christos DIFF=$rcs_cv_prog_diff
    465  1.1  christos case $DIFF in
    466  1.1  christos '') { echo "configure: error: cannot find RCS-compatible diff" 1>&2; exit 1; };;
    467  1.1  christos esac
    468  1.1  christos echo "$ac_t""$DIFF" 1>&6
    469  1.1  christos # Extract the first word of "$DIFF", so it can be a program name with args.
    470  1.1  christos set dummy $DIFF; ac_word=$2
    471  1.1  christos echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    472  1.1  christos if eval "test \"`echo '$''{'ac_cv_path_DIFF'+set}'`\" = set"; then
    473  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    474  1.1  christos else
    475  1.1  christos   case "$DIFF" in
    476  1.1  christos   /*)
    477  1.1  christos   ac_cv_path_DIFF="$DIFF" # Let the user override the test with a path.
    478  1.1  christos   ;;
    479  1.1  christos   *)
    480  1.1  christos   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    481  1.1  christos   for ac_dir in $PATH; do
    482  1.1  christos     test -z "$ac_dir" && ac_dir=.
    483  1.1  christos     if test -f $ac_dir/$ac_word; then
    484  1.1  christos       ac_cv_path_DIFF="$ac_dir/$ac_word"
    485  1.1  christos       break
    486  1.1  christos     fi
    487  1.1  christos   done
    488  1.1  christos   IFS="$ac_save_ifs"
    489  1.1  christos   test -z "$ac_cv_path_DIFF" && ac_cv_path_DIFF="$DIFF"
    490  1.1  christos   ;;
    491  1.1  christos esac
    492  1.1  christos fi
    493  1.1  christos DIFF="$ac_cv_path_DIFF"
    494  1.1  christos if test -n "$DIFF"; then
    495  1.1  christos   echo "$ac_t""$DIFF" 1>&6
    496  1.1  christos else
    497  1.1  christos   echo "$ac_t""no" 1>&6
    498  1.1  christos fi
    499  1.1  christos 
    500  1.1  christos 
    501  1.1  christos # Set DIFF_SUCCESS, DIFF_FAILURE, DIFF_TROUBLE to diff's exit status
    502  1.1  christos # when it finds no differences, some differences, or trouble.
    503  1.1  christos 
    504  1.1  christos echo $ac_n "checking diff success status""... $ac_c" 1>&6
    505  1.1  christos if eval "test \"`echo '$''{'rcs_cv_status_diff_success'+set}'`\" = set"; then
    506  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    507  1.1  christos else
    508  1.1  christos   
    509  1.1  christos   rcs_cv_status_diff_success=$DIFF_SUCCESS
    510  1.1  christos   case $rcs_cv_status_diff_success in
    511  1.1  christos   '')
    512  1.1  christos     # We can't use `$DIFF conftest0 conftest0',
    513  1.1  christos     # since buggy NEXTSTEP 3.0 diff silently yields exit status 2 for this.
    514  1.1  christos     $DIFF conftest0 conftest0c >/dev/null 2>&1
    515  1.1  christos     rcs_cv_status_diff_success=$?
    516  1.1  christos     ;;
    517  1.1  christos   esac
    518  1.1  christos 
    519  1.1  christos fi
    520  1.1  christos 
    521  1.1  christos DIFF_SUCCESS=$rcs_cv_status_diff_success
    522  1.1  christos echo "$ac_t""$DIFF_SUCCESS" 1>&6
    523  1.1  christos #
    524  1.1  christos 
    525  1.1  christos echo $ac_n "checking diff failure status""... $ac_c" 1>&6
    526  1.1  christos if eval "test \"`echo '$''{'rcs_cv_status_diff_failure'+set}'`\" = set"; then
    527  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    528  1.1  christos else
    529  1.1  christos   
    530  1.1  christos   rcs_cv_status_diff_failure=$DIFF_FAILURE
    531  1.1  christos   case $rcs_cv_status_diff_failure in
    532  1.1  christos   '')
    533  1.1  christos     $DIFF conftest0 conftest1 >/dev/null 2>&1
    534  1.1  christos     rcs_cv_status_diff_failure=$?
    535  1.1  christos     ;;
    536  1.1  christos   esac
    537  1.1  christos 
    538  1.1  christos fi
    539  1.1  christos 
    540  1.1  christos DIFF_FAILURE=$rcs_cv_status_diff_failure
    541  1.1  christos echo "$ac_t""$DIFF_FAILURE" 1>&6
    542  1.1  christos #
    543  1.1  christos 
    544  1.1  christos echo $ac_n "checking diff trouble status""... $ac_c" 1>&6
    545  1.1  christos if eval "test \"`echo '$''{'rcs_cv_status_diff_trouble'+set}'`\" = set"; then
    546  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    547  1.1  christos else
    548  1.1  christos   
    549  1.1  christos   rcs_cv_status_diff_trouble=$DIFF_TROUBLE
    550  1.1  christos   case $rcs_cv_status_diff_trouble in
    551  1.1  christos   '')
    552  1.1  christos     $DIFF conftest0 no/such/file >/dev/null 2>&1
    553  1.1  christos     rcs_cv_status_diff_trouble=$?
    554  1.1  christos     ;;
    555  1.1  christos   esac
    556  1.1  christos 
    557  1.1  christos fi
    558  1.1  christos 
    559  1.1  christos DIFF_TROUBLE=$rcs_cv_status_diff_trouble
    560  1.1  christos echo "$ac_t""$DIFF_TROUBLE" 1>&6
    561  1.1  christos 
    562  1.1  christos # Set DIFFFLAGS to the options of the `diff' program to be run.
    563  1.1  christos # Use -an if possible, -n otherwise.
    564  1.1  christos 
    565  1.1  christos echo $ac_n "checking diff options for RCS""... $ac_c" 1>&6
    566  1.1  christos if eval "test \"`echo '$''{'rcs_cv_options_diff'+set}'`\" = set"; then
    567  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    568  1.1  christos else
    569  1.1  christos   
    570  1.1  christos   rcs_cv_options_diff=$DIFFFLAGS
    571  1.1  christos   case $rcs_cv_options_diff in
    572  1.1  christos   '')
    573  1.1  christos     rcs_cv_options_diff=-n
    574  1.1  christos     $DIFF -an conftest0 conftest1 >conftestout 2>conftestout2
    575  1.1  christos     case $? in
    576  1.1  christos     1)
    577  1.1  christos       if cmp -s conftestok conftestout && test ! -s conftestout2
    578  1.1  christos       then rcs_cv_options_diff=-an
    579  1.1  christos       fi
    580  1.1  christos       ;;
    581  1.1  christos     esac
    582  1.1  christos     ;;
    583  1.1  christos   esac
    584  1.1  christos 
    585  1.1  christos fi
    586  1.1  christos 
    587  1.1  christos DIFFFLAGS=$rcs_cv_options_diff
    588  1.1  christos echo "$ac_t""$DIFFFLAGS" 1>&6
    589  1.1  christos 
    590  1.1  christos # Set DIFF_L to 1 if diff understands the L option, 0 otherwise.
    591  1.1  christos 
    592  1.1  christos echo $ac_n "checking diff -L""... $ac_c" 1>&6
    593  1.1  christos if eval "test \"`echo '$''{'rcs_cv_options_diff_l'+set}'`\" = set"; then
    594  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    595  1.1  christos else
    596  1.1  christos   
    597  1.1  christos   rcs_cv_options_diff_l=$DIFF_L
    598  1.1  christos   case $rcs_cv_options_diff_l in
    599  1.1  christos   '')
    600  1.1  christos     rcs_cv_options_diff_l=0
    601  1.1  christos     $DIFF -c -L 0 -L 1 conftest0 conftest1 >conftestout 2>/dev/null
    602  1.1  christos     case $? in
    603  1.1  christos     1)
    604  1.1  christos       if cmp -s - conftestout <<'EOF'
    605  1.1  christos *** 0
    606  1.1  christos --- 1
    607  1.1  christos ***************
    608  1.1  christos *** 1 ****
    609  1.1  christos ! 0
    610  1.1  christos --- 1 ----
    611  1.1  christos ! 1
    612  1.1  christos EOF
    613  1.1  christos       then rcs_cv_options_diff_l=1
    614  1.1  christos       fi
    615  1.1  christos       ;;
    616  1.1  christos     esac
    617  1.1  christos     ;;
    618  1.1  christos   esac
    619  1.1  christos 
    620  1.1  christos fi
    621  1.1  christos 
    622  1.1  christos DIFF_L=$rcs_cv_options_diff_l
    623  1.1  christos case $DIFF_L in
    624  1.1  christos 1) echo "$ac_t""yes" 1>&6;;
    625  1.1  christos *) echo "$ac_t""no" 1>&6;;
    626  1.1  christos esac
    627  1.1  christos 
    628  1.1  christos # Set DIFF3 to the name of the diff3 program.
    629  1.1  christos # In some systems (e.g. BSD/OS 2.0), diffutils diff3 lives in /usr/libexec.
    630  1.1  christos diff3PATH=$PATH:/usr/libexec
    631  1.1  christos 
    632  1.1  christos echo $ac_n "checking diff3 -m""... $ac_c" 1>&6
    633  1.1  christos if eval "test \"`echo '$''{'rcs_cv_prog_diff3_bin'+set}'`\" = set"; then
    634  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    635  1.1  christos else
    636  1.1  christos   
    637  1.1  christos   rcs_cv_prog_diff3_bin=$DIFF3
    638  1.1  christos   case $rcs_cv_prog_diff3_bin in
    639  1.1  christos   '')
    640  1.1  christos     PATH=$diff3PATH sh -c "exec diff3 -E -m -L 0 -L 1 -L 2 conftest0 conftest1 /dev/null" >conftestout 2>/dev/null
    641  1.1  christos     case $? in
    642  1.1  christos     1)
    643  1.1  christos       if cmp -s - conftestout <<'EOF'
    644  1.1  christos <<<<<<< 0
    645  1.1  christos 0
    646  1.1  christos =======
    647  1.1  christos >>>>>>> 2
    648  1.1  christos EOF
    649  1.1  christos       then rcs_cv_prog_diff3_bin=diff3
    650  1.1  christos       fi
    651  1.1  christos       ;;
    652  1.1  christos     esac
    653  1.1  christos   ;;
    654  1.1  christos   esac
    655  1.1  christos 
    656  1.1  christos fi
    657  1.1  christos 
    658  1.1  christos case $rcs_cv_prog_diff3_bin in
    659  1.1  christos ?*)
    660  1.1  christos   echo "$ac_t""yes" 1>&6
    661  1.1  christos   ac_save_path=$PATH
    662  1.1  christos   PATH=$diff3PATH
    663  1.1  christos   # Extract the first word of "$rcs_cv_prog_diff3_bin", so it can be a program name with args.
    664  1.1  christos set dummy $rcs_cv_prog_diff3_bin; ac_word=$2
    665  1.1  christos echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    666  1.1  christos if eval "test \"`echo '$''{'ac_cv_path_DIFF3'+set}'`\" = set"; then
    667  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    668  1.1  christos else
    669  1.1  christos   case "$DIFF3" in
    670  1.1  christos   /*)
    671  1.1  christos   ac_cv_path_DIFF3="$DIFF3" # Let the user override the test with a path.
    672  1.1  christos   ;;
    673  1.1  christos   *)
    674  1.1  christos   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    675  1.1  christos   for ac_dir in $PATH; do
    676  1.1  christos     test -z "$ac_dir" && ac_dir=.
    677  1.1  christos     if test -f $ac_dir/$ac_word; then
    678  1.1  christos       ac_cv_path_DIFF3="$ac_dir/$ac_word"
    679  1.1  christos       break
    680  1.1  christos     fi
    681  1.1  christos   done
    682  1.1  christos   IFS="$ac_save_ifs"
    683  1.1  christos   test -z "$ac_cv_path_DIFF3" && ac_cv_path_DIFF3="$rcs_cv_prog_diff3_bin"
    684  1.1  christos   ;;
    685  1.1  christos esac
    686  1.1  christos fi
    687  1.1  christos DIFF3="$ac_cv_path_DIFF3"
    688  1.1  christos if test -n "$DIFF3"; then
    689  1.1  christos   echo "$ac_t""$DIFF3" 1>&6
    690  1.1  christos else
    691  1.1  christos   echo "$ac_t""no" 1>&6
    692  1.1  christos fi
    693  1.1  christos 
    694  1.1  christos   PATH=$ac_save_path
    695  1.1  christos   ;;
    696  1.1  christos '')
    697  1.1  christos   echo "$ac_t""no" 1>&6
    698  1.1  christos   echo $ac_n "checking diff3 library program""... $ac_c" 1>&6
    699  1.1  christos       if eval "test \"`echo '$''{'rcs_cv_path_diff3_lib'+set}'`\" = set"; then
    700  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    701  1.1  christos else
    702  1.1  christos   
    703  1.1  christos     $DIFF conftest0 conftest1 >conftest01
    704  1.1  christos     $DIFF /dev/null conftest1 >conftestn1
    705  1.1  christos     for i in /usr/*lib*/*diff3*; do
    706  1.1  christos       sh -c "exec $i -E conftest01 conftestn1 conftest0 /dev/null conftest1" >conftestout 2>/dev/null
    707  1.1  christos       # The exit status is arbitrary!  Test the output a bit.
    708  1.1  christos       if
    709  1.1  christos 	grep '^<<* *conftest0$' conftestout >/dev/null 2>&1 &&
    710  1.1  christos 	grep '^>>* *conftest1$' conftestout >/dev/null 2>&1 &&
    711  1.1  christos 	grep '^0a$' conftestout >/dev/null 2>&1
    712  1.1  christos       then
    713  1.1  christos 	rcs_cv_path_diff3_lib=$i
    714  1.1  christos 	break
    715  1.1  christos       fi
    716  1.1  christos     done
    717  1.1  christos   
    718  1.1  christos fi
    719  1.1  christos 
    720  1.1  christos   DIFF3=$rcs_cv_path_diff3_lib
    721  1.1  christos   case $DIFF3 in
    722  1.1  christos   '') { echo "configure: error: cannot find a working diff3 library program" 1>&2; exit 1; };;
    723  1.1  christos   ?*) echo "$ac_t""$DIFF3" 1>&6;;
    724  1.1  christos   esac
    725  1.1  christos   ;;
    726  1.1  christos esac
    727  1.1  christos 
    728  1.1  christos 
    729  1.1  christos case $DIFF3_BIN in
    730  1.1  christos '')
    731  1.1  christos   case $rcs_cv_prog_diff3_bin in
    732  1.1  christos   '') DIFF3_BIN=0;;
    733  1.1  christos   ?*) DIFF3_BIN=1;;
    734  1.1  christos   esac
    735  1.1  christos   ;;
    736  1.1  christos esac
    737  1.1  christos 
    738  1.1  christos # Clean up simple `diff' test.
    739  1.1  christos rm -f conftest*
    740  1.1  christos 
    741  1.1  christos # Extract the first word of "ed", so it can be a program name with args.
    742  1.1  christos set dummy ed; ac_word=$2
    743  1.1  christos echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    744  1.1  christos if eval "test \"`echo '$''{'ac_cv_path_ED'+set}'`\" = set"; then
    745  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    746  1.1  christos else
    747  1.1  christos   case "$ED" in
    748  1.1  christos   /*)
    749  1.1  christos   ac_cv_path_ED="$ED" # Let the user override the test with a path.
    750  1.1  christos   ;;
    751  1.1  christos   *)
    752  1.1  christos   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    753  1.1  christos   for ac_dir in $PATH; do
    754  1.1  christos     test -z "$ac_dir" && ac_dir=.
    755  1.1  christos     if test -f $ac_dir/$ac_word; then
    756  1.1  christos       ac_cv_path_ED="$ac_dir/$ac_word"
    757  1.1  christos       break
    758  1.1  christos     fi
    759  1.1  christos   done
    760  1.1  christos   IFS="$ac_save_ifs"
    761  1.1  christos   test -z "$ac_cv_path_ED" && ac_cv_path_ED="ed"
    762  1.1  christos   ;;
    763  1.1  christos esac
    764  1.1  christos fi
    765  1.1  christos ED="$ac_cv_path_ED"
    766  1.1  christos if test -n "$ED"; then
    767  1.1  christos   echo "$ac_t""$ED" 1>&6
    768  1.1  christos else
    769  1.1  christos   echo "$ac_t""no" 1>&6
    770  1.1  christos fi
    771  1.1  christos 
    772  1.1  christos 
    773  1.1  christos ac_save_path=$PATH
    774  1.1  christos PATH=/usr/lib:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
    775  1.1  christos for ac_prog in sendmail mail mailx
    776  1.1  christos do
    777  1.1  christos # Extract the first word of "$ac_prog", so it can be a program name with args.
    778  1.1  christos set dummy $ac_prog; ac_word=$2
    779  1.1  christos echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    780  1.1  christos if eval "test \"`echo '$''{'ac_cv_path_SENDMAIL'+set}'`\" = set"; then
    781  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    782  1.1  christos else
    783  1.1  christos   case "$SENDMAIL" in
    784  1.1  christos   /*)
    785  1.1  christos   ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
    786  1.1  christos   ;;
    787  1.1  christos   *)
    788  1.1  christos   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    789  1.1  christos   for ac_dir in $PATH; do
    790  1.1  christos     test -z "$ac_dir" && ac_dir=.
    791  1.1  christos     if test -f $ac_dir/$ac_word; then
    792  1.1  christos       ac_cv_path_SENDMAIL="$ac_dir/$ac_word"
    793  1.1  christos       break
    794  1.1  christos     fi
    795  1.1  christos   done
    796  1.1  christos   IFS="$ac_save_ifs"
    797  1.1  christos   ;;
    798  1.1  christos esac
    799  1.1  christos fi
    800  1.1  christos SENDMAIL="$ac_cv_path_SENDMAIL"
    801  1.1  christos if test -n "$SENDMAIL"; then
    802  1.1  christos   echo "$ac_t""$SENDMAIL" 1>&6
    803  1.1  christos else
    804  1.1  christos   echo "$ac_t""no" 1>&6
    805  1.1  christos fi
    806  1.1  christos 
    807  1.1  christos test -n "$SENDMAIL" && break
    808  1.1  christos done
    809  1.1  christos 
    810  1.1  christos PATH=$ac_save_path
    811  1.1  christos case $SENDMAIL in
    812  1.1  christos ?*) SENDMAIL=\"$SENDMAIL\"
    813  1.1  christos esac
    814  1.1  christos 
    815  1.1  christos # Use the GNU pic -n option if available; it avoids GNU extensions,
    816  1.1  christos # which is need for proper operation to generate a portable man page.
    817  1.1  christos # Similarly, if using traditional pic, use its -D option.
    818  1.1  christos for ac_prog in "pic -n" "gpic -n" "pic -D" "pic"
    819  1.1  christos do
    820  1.1  christos # Extract the first word of "$ac_prog", so it can be a program name with args.
    821  1.1  christos set dummy $ac_prog; ac_word=$2
    822  1.1  christos echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    823  1.1  christos if eval "test \"`echo '$''{'ac_cv_prog_PIC'+set}'`\" = set"; then
    824  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    825  1.1  christos else
    826  1.1  christos   if test -n "$PIC"; then
    827  1.1  christos   ac_cv_prog_PIC="$PIC" # Let the user override the test.
    828  1.1  christos else
    829  1.1  christos   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    830  1.1  christos   for ac_dir in $PATH; do
    831  1.1  christos     test -z "$ac_dir" && ac_dir=.
    832  1.1  christos     if test -f $ac_dir/$ac_word; then
    833  1.1  christos       ac_cv_prog_PIC="$ac_prog"
    834  1.1  christos       break
    835  1.1  christos     fi
    836  1.1  christos   done
    837  1.1  christos   IFS="$ac_save_ifs"
    838  1.1  christos fi
    839  1.1  christos fi
    840  1.1  christos PIC="$ac_cv_prog_PIC"
    841  1.1  christos if test -n "$PIC"; then
    842  1.1  christos   echo "$ac_t""$PIC" 1>&6
    843  1.1  christos else
    844  1.1  christos   echo "$ac_t""no" 1>&6
    845  1.1  christos fi
    846  1.1  christos 
    847  1.1  christos test -n "$PIC" && break
    848  1.1  christos done
    849  1.1  christos test -n "$PIC" || PIC="pic"
    850  1.1  christos 
    851  1.1  christos 
    852  1.1  christos # Extract the first word of "gcc", so it can be a program name with args.
    853  1.1  christos set dummy gcc; ac_word=$2
    854  1.1  christos echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    855  1.1  christos if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    856  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    857  1.1  christos else
    858  1.1  christos   if test -n "$CC"; then
    859  1.1  christos   ac_cv_prog_CC="$CC" # Let the user override the test.
    860  1.1  christos else
    861  1.1  christos   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    862  1.1  christos   for ac_dir in $PATH; do
    863  1.1  christos     test -z "$ac_dir" && ac_dir=.
    864  1.1  christos     if test -f $ac_dir/$ac_word; then
    865  1.1  christos       ac_cv_prog_CC="gcc"
    866  1.1  christos       break
    867  1.1  christos     fi
    868  1.1  christos   done
    869  1.1  christos   IFS="$ac_save_ifs"
    870  1.1  christos   test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
    871  1.1  christos fi
    872  1.1  christos fi
    873  1.1  christos CC="$ac_cv_prog_CC"
    874  1.1  christos if test -n "$CC"; then
    875  1.1  christos   echo "$ac_t""$CC" 1>&6
    876  1.1  christos else
    877  1.1  christos   echo "$ac_t""no" 1>&6
    878  1.1  christos fi
    879  1.1  christos 
    880  1.1  christos 
    881  1.1  christos echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    882  1.1  christos if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    883  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    884  1.1  christos else
    885  1.1  christos   cat > conftest.c <<EOF
    886  1.1  christos #ifdef __GNUC__
    887  1.1  christos   yes;
    888  1.1  christos #endif
    889  1.1  christos EOF
    890  1.1  christos if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
    891  1.1  christos   ac_cv_prog_gcc=yes
    892  1.1  christos else
    893  1.1  christos   ac_cv_prog_gcc=no
    894  1.1  christos fi
    895  1.1  christos fi
    896  1.1  christos echo "$ac_t""$ac_cv_prog_gcc" 1>&6
    897  1.1  christos if test $ac_cv_prog_gcc = yes; then
    898  1.1  christos   GCC=yes
    899  1.1  christos   if test "${CFLAGS+set}" != set; then
    900  1.1  christos     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    901  1.1  christos if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
    902  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    903  1.1  christos else
    904  1.1  christos   echo 'void f(){}' > conftest.c
    905  1.1  christos if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
    906  1.1  christos   ac_cv_prog_gcc_g=yes
    907  1.1  christos else
    908  1.1  christos   ac_cv_prog_gcc_g=no
    909  1.1  christos fi
    910  1.1  christos rm -f conftest*
    911  1.1  christos 
    912  1.1  christos fi
    913  1.1  christos     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
    914  1.1  christos     if test $ac_cv_prog_gcc_g = yes; then
    915  1.1  christos       CFLAGS="-g -O"
    916  1.1  christos     else
    917  1.1  christos       CFLAGS="-O"
    918  1.1  christos     fi
    919  1.1  christos   fi
    920  1.1  christos else
    921  1.1  christos   GCC=
    922  1.1  christos   test "${CFLAGS+set}" = set || CFLAGS="-g"
    923  1.1  christos fi
    924  1.1  christos 
    925  1.1  christos ac_aux_dir=
    926  1.1  christos for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    927  1.1  christos   if test -f $ac_dir/install-sh; then
    928  1.1  christos     ac_aux_dir=$ac_dir
    929  1.1  christos     ac_install_sh="$ac_aux_dir/install-sh -c"
    930  1.1  christos     break
    931  1.1  christos   elif test -f $ac_dir/install.sh; then
    932  1.1  christos     ac_aux_dir=$ac_dir
    933  1.1  christos     ac_install_sh="$ac_aux_dir/install.sh -c"
    934  1.1  christos     break
    935  1.1  christos   fi
    936  1.1  christos done
    937  1.1  christos if test -z "$ac_aux_dir"; then
    938  1.1  christos   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
    939  1.1  christos fi
    940  1.1  christos ac_config_guess=$ac_aux_dir/config.guess
    941  1.1  christos ac_config_sub=$ac_aux_dir/config.sub
    942  1.1  christos ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    943  1.1  christos 
    944  1.1  christos # Find a good install program.  We prefer a C program (faster),
    945  1.1  christos # so one script is as good as another.  But avoid the broken or
    946  1.1  christos # incompatible versions:
    947  1.1  christos # SysV /etc/install, /usr/sbin/install
    948  1.1  christos # SunOS /usr/etc/install
    949  1.1  christos # IRIX /sbin/install
    950  1.1  christos # AIX /bin/install
    951  1.1  christos # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    952  1.1  christos # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    953  1.1  christos # ./install, which can be erroneously created by make from ./install.sh.
    954  1.1  christos echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    955  1.1  christos if test -z "$INSTALL"; then
    956  1.1  christos if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    957  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
    958  1.1  christos else
    959  1.1  christos     IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    960  1.1  christos   for ac_dir in $PATH; do
    961  1.1  christos     # Account for people who put trailing slashes in PATH elements.
    962  1.1  christos     case "$ac_dir/" in
    963  1.1  christos     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    964  1.1  christos     *)
    965  1.1  christos       # OSF1 and SCO ODT 3.0 have their own names for install.
    966  1.1  christos       for ac_prog in ginstall installbsd scoinst install; do
    967  1.1  christos         if test -f $ac_dir/$ac_prog; then
    968  1.1  christos 	  if test $ac_prog = install &&
    969  1.1  christos             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    970  1.1  christos 	    # AIX install.  It has an incompatible calling convention.
    971  1.1  christos 	    # OSF/1 installbsd also uses dspmsg, but is usable.
    972  1.1  christos 	    :
    973  1.1  christos 	  else
    974  1.1  christos 	    ac_cv_path_install="$ac_dir/$ac_prog -c"
    975  1.1  christos 	    break 2
    976  1.1  christos 	  fi
    977  1.1  christos 	fi
    978  1.1  christos       done
    979  1.1  christos       ;;
    980  1.1  christos     esac
    981  1.1  christos   done
    982  1.1  christos   IFS="$ac_save_ifs"
    983  1.1  christos   # As a last resort, use the slow shell script.
    984  1.1  christos   test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"
    985  1.1  christos fi
    986  1.1  christos   INSTALL="$ac_cv_path_install"
    987  1.1  christos fi
    988  1.1  christos echo "$ac_t""$INSTALL" 1>&6
    989  1.1  christos 
    990  1.1  christos # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    991  1.1  christos # It thinks the first close brace ends the variable substitution.
    992  1.1  christos test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    993  1.1  christos 
    994  1.1  christos test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    995  1.1  christos 
    996  1.1  christos echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    997  1.1  christos set dummy ${MAKE-make}; ac_make=$2
    998  1.1  christos if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    999  1.1  christos   echo $ac_n "(cached) $ac_c" 1>&6
   1000  1.1  christos else
   1001  1.1  christos   cat > conftestmake <<\EOF
   1002  1.1  christos all:
   1003  1.1  christos 	@echo 'ac_maketemp="${MAKE}"'
   1004  1.1  christos EOF
   1005  1.1  christos # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   1006  1.1  christos eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
   1007  1.1  christos if test -n "$ac_maketemp"; then
   1008  1.1  christos   eval ac_cv_prog_make_${ac_make}_set=yes
   1009  1.1  christos else
   1010  1.1  christos   eval ac_cv_prog_make_${ac_make}_set=no
   1011  1.1  christos fi
   1012  1.1  christos rm -f conftestmake
   1013  1.1  christos fi
   1014  1.1  christos if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   1015  1.1  christos   echo "$ac_t""yes" 1>&6
   1016  1.1  christos   SET_MAKE=
   1017  1.1  christos else
   1018  1.1  christos   echo "$ac_t""no" 1>&6
   1019  1.1  christos   SET_MAKE="MAKE=${MAKE-make}"
   1020  1.1  christos fi
   1021  1.1  christos 
   1022  1.1  christos 
   1023  1.1  christos trap '' 1 2 15
   1024  1.1  christos cat > confcache <<\EOF
   1025  1.1  christos # This file is a shell script that caches the results of configure
   1026  1.1  christos # tests run on this system so they can be shared between configure
   1027  1.1  christos # scripts and configure runs.  It is not useful on other systems.
   1028  1.1  christos # If it contains results you don't want to keep, you may remove or edit it.
   1029  1.1  christos #
   1030  1.1  christos # By default, configure uses ./config.cache as the cache file,
   1031  1.1  christos # creating it if it does not exist already.  You can give configure
   1032  1.1  christos # the --cache-file=FILE option to use a different cache file; that is
   1033  1.1  christos # what configure does when it calls configure scripts in
   1034  1.1  christos # subdirectories, so they share the cache.
   1035  1.1  christos # Giving --cache-file=/dev/null disables caching, for debugging configure.
   1036  1.1  christos # config.status only pays attention to the cache file if you give it the
   1037  1.1  christos # --recheck option to rerun configure.
   1038  1.1  christos #
   1039  1.1  christos EOF
   1040  1.1  christos # Ultrix sh set writes to stderr and can't be redirected directly,
   1041  1.1  christos # and sets the high bit in the cache file unless we assign to the vars.
   1042  1.1  christos (set) 2>&1 |
   1043  1.1  christos   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
   1044  1.1  christos   >> confcache
   1045  1.1  christos if cmp -s $cache_file confcache; then
   1046  1.1  christos   :
   1047  1.1  christos else
   1048  1.1  christos   if test -w $cache_file; then
   1049  1.1  christos     echo "updating cache $cache_file"
   1050  1.1  christos     cat confcache > $cache_file
   1051  1.1  christos   else
   1052  1.1  christos     echo "not updating unwritable cache $cache_file"
   1053  1.1  christos   fi
   1054  1.1  christos fi
   1055  1.1  christos rm -f confcache
   1056  1.1  christos 
   1057  1.1  christos trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
   1058  1.1  christos 
   1059  1.1  christos test "x$prefix" = xNONE && prefix=$ac_default_prefix
   1060  1.1  christos # Let make expand exec_prefix.
   1061  1.1  christos test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   1062  1.1  christos 
   1063  1.1  christos # Any assignment to VPATH causes Sun make to only execute
   1064  1.1  christos # the first set of double-colon rules, so remove it if not needed.
   1065  1.1  christos # If there is a colon in the path, we need to keep it.
   1066  1.1  christos if test "x$srcdir" = x.; then
   1067  1.1  christos   ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
   1068  1.1  christos fi
   1069  1.1  christos 
   1070  1.1  christos trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
   1071  1.1  christos 
   1072  1.1  christos # Transform confdefs.h into DEFS.
   1073  1.1  christos # Protect against shell expansion while executing Makefile rules.
   1074  1.1  christos # Protect against Makefile macro expansion.
   1075  1.1  christos cat > conftest.defs <<\EOF
   1076  1.1  christos s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
   1077  1.1  christos s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
   1078  1.1  christos s%\[%\\&%g
   1079  1.1  christos s%\]%\\&%g
   1080  1.1  christos s%\$%$$%g
   1081  1.1  christos EOF
   1082  1.1  christos DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
   1083  1.1  christos rm -f conftest.defs
   1084  1.1  christos 
   1085  1.1  christos 
   1086  1.1  christos # Without the "./", some shells look in PATH for config.status.
   1087  1.1  christos : ${CONFIG_STATUS=./config.status}
   1088  1.1  christos 
   1089  1.1  christos echo creating $CONFIG_STATUS
   1090  1.1  christos rm -f $CONFIG_STATUS
   1091  1.1  christos cat > $CONFIG_STATUS <<EOF
   1092  1.1  christos #! /bin/sh
   1093  1.1  christos # Generated automatically by configure.
   1094  1.1  christos # Run this file to recreate the current configuration.
   1095  1.1  christos # This directory was configured as follows,
   1096  1.1  christos # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   1097  1.1  christos #
   1098  1.1  christos # $0 $ac_configure_args
   1099  1.1  christos #
   1100  1.1  christos # Compiler output produced by configure, useful for debugging
   1101  1.1  christos # configure, is in ./config.log if it exists.
   1102  1.1  christos 
   1103  1.1  christos ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
   1104  1.1  christos for ac_option
   1105  1.1  christos do
   1106  1.1  christos   case "\$ac_option" in
   1107  1.1  christos   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   1108  1.1  christos     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
   1109  1.1  christos     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
   1110  1.1  christos   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
   1111  1.1  christos     echo "$CONFIG_STATUS generated by autoconf version 2.4"
   1112  1.1  christos     exit 0 ;;
   1113  1.1  christos   -help | --help | --hel | --he | --h)
   1114  1.1  christos     echo "\$ac_cs_usage"; exit 0 ;;
   1115  1.1  christos   *) echo "\$ac_cs_usage"; exit 1 ;;
   1116  1.1  christos   esac
   1117  1.1  christos done
   1118  1.1  christos 
   1119  1.1  christos ac_given_srcdir=$srcdir
   1120  1.1  christos ac_given_INSTALL="$INSTALL"
   1121  1.1  christos 
   1122  1.1  christos trap 'rm -fr `echo "Makefile man/Makefile src/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
   1123  1.1  christos 
   1124  1.1  christos # Protect against being on the right side of a sed subst in config.status. 
   1125  1.1  christos sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; 
   1126  1.1  christos  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
   1127  1.1  christos $ac_vpsub
   1128  1.1  christos $extrasub
   1129  1.1  christos s%@CFLAGS@%$CFLAGS%g
   1130  1.1  christos s%@CPPFLAGS@%$CPPFLAGS%g
   1131  1.1  christos s%@CXXFLAGS@%$CXXFLAGS%g
   1132  1.1  christos s%@DEFS@%$DEFS%g
   1133  1.1  christos s%@LDFLAGS@%$LDFLAGS%g
   1134  1.1  christos s%@LIBS@%$LIBS%g
   1135  1.1  christos s%@exec_prefix@%$exec_prefix%g
   1136  1.1  christos s%@prefix@%$prefix%g
   1137  1.1  christos s%@program_transform_name@%$program_transform_name%g
   1138  1.1  christos s%@DIFF@%$DIFF%g
   1139  1.1  christos s%@DIFF_SUCCESS@%$DIFF_SUCCESS%g
   1140  1.1  christos s%@DIFF_FAILURE@%$DIFF_FAILURE%g
   1141  1.1  christos s%@DIFF_TROUBLE@%$DIFF_TROUBLE%g
   1142  1.1  christos s%@DIFFFLAGS@%$DIFFFLAGS%g
   1143  1.1  christos s%@DIFF_L@%$DIFF_L%g
   1144  1.1  christos s%@DIFF3@%$DIFF3%g
   1145  1.1  christos s%@DIFF3_BIN@%$DIFF3_BIN%g
   1146  1.1  christos s%@ED@%$ED%g
   1147  1.1  christos s%@SENDMAIL@%$SENDMAIL%g
   1148  1.1  christos s%@PIC@%$PIC%g
   1149  1.1  christos s%@CC@%$CC%g
   1150  1.1  christos s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
   1151  1.1  christos s%@INSTALL_DATA@%$INSTALL_DATA%g
   1152  1.1  christos s%@SET_MAKE@%$SET_MAKE%g
   1153  1.1  christos 
   1154  1.1  christos CEOF
   1155  1.1  christos EOF
   1156  1.1  christos cat >> $CONFIG_STATUS <<EOF
   1157  1.1  christos 
   1158  1.1  christos CONFIG_FILES=\${CONFIG_FILES-"Makefile man/Makefile src/Makefile"}
   1159  1.1  christos EOF
   1160  1.1  christos cat >> $CONFIG_STATUS <<\EOF
   1161  1.1  christos for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
   1162  1.1  christos   # Support "outfile[:infile]", defaulting infile="outfile.in".
   1163  1.1  christos   case "$ac_file" in
   1164  1.1  christos   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
   1165  1.1  christos        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   1166  1.1  christos   *) ac_file_in="${ac_file}.in" ;;
   1167  1.1  christos   esac
   1168  1.1  christos 
   1169  1.1  christos   # Adjust relative srcdir, etc. for subdirectories.
   1170  1.1  christos 
   1171  1.1  christos   # Remove last slash and all that follows it.  Not all systems have dirname.
   1172  1.1  christos   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
   1173  1.1  christos   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
   1174  1.1  christos     # The file is in a subdirectory.
   1175  1.1  christos     test ! -d "$ac_dir" && mkdir "$ac_dir"
   1176  1.1  christos     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
   1177  1.1  christos     # A "../" for each directory in $ac_dir_suffix.
   1178  1.1  christos     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
   1179  1.1  christos   else
   1180  1.1  christos     ac_dir_suffix= ac_dots=
   1181  1.1  christos   fi
   1182  1.1  christos 
   1183  1.1  christos   case "$ac_given_srcdir" in
   1184  1.1  christos   .)  srcdir=.
   1185  1.1  christos       if test -z "$ac_dots"; then top_srcdir=.
   1186  1.1  christos       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
   1187  1.1  christos   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
   1188  1.1  christos   *) # Relative path.
   1189  1.1  christos     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
   1190  1.1  christos     top_srcdir="$ac_dots$ac_given_srcdir" ;;
   1191  1.1  christos   esac
   1192  1.1  christos 
   1193  1.1  christos   case "$ac_given_INSTALL" in
   1194  1.1  christos   [/$]*) INSTALL="$ac_given_INSTALL" ;;
   1195  1.1  christos   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
   1196  1.1  christos   esac
   1197  1.1  christos   echo creating "$ac_file"
   1198  1.1  christos   rm -f "$ac_file"
   1199  1.1  christos   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
   1200  1.1  christos   case "$ac_file" in
   1201  1.1  christos   *Makefile*) ac_comsub="1i\\
   1202  1.1  christos # $configure_input" ;;
   1203  1.1  christos   *) ac_comsub= ;;
   1204  1.1  christos   esac
   1205  1.1  christos   sed -e "$ac_comsub
   1206  1.1  christos s%@configure_input@%$configure_input%g
   1207  1.1  christos s%@srcdir@%$srcdir%g
   1208  1.1  christos s%@top_srcdir@%$top_srcdir%g
   1209  1.1  christos s%@INSTALL@%$INSTALL%g
   1210  1.1  christos " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
   1211  1.1  christos fi; done
   1212  1.1  christos rm -f conftest.subs
   1213  1.1  christos 
   1214  1.1  christos 
   1215  1.1  christos 
   1216  1.1  christos exit 0
   1217  1.1  christos EOF
   1218  1.1  christos chmod +x $CONFIG_STATUS
   1219  1.1  christos rm -fr confdefs* $ac_clean_files
   1220  1.1  christos test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
   1221  1.1  christos 
   1222