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