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: 11ac_help= 12ac_default_prefix=/usr/local 13# Any additions from configure.in: 14ac_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. 20build=NONE 21cache_file=./config.cache 22exec_prefix=NONE 23host=NONE 24no_create= 25nonopt=NONE 26no_recursion= 27prefix=NONE 28program_prefix=NONE 29program_suffix=NONE 30program_transform_name=s,x,x, 31silent= 32site= 33srcdir= 34target=NONE 35verbose= 36x_includes=NONE 37x_libraries=NONE 38 39# Initialize some other variables. 40subdirs= 41 42ac_prev= 43for ac_option 44do 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 113Usage: configure [options] [host] 114Options: [defaults in brackets after descriptions] 115Configuration: 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 121Directory 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 130Host 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] 134Features 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 142EOF 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 278done 279 280if test -n "$ac_prev"; then 281 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 282fi 283 284trap '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 294if test "$silent" = yes; then 295 exec 6>/dev/null 296else 297 exec 6>&1 298fi 299exec 5>./config.log 300 301echo "\ 302This file contains any messages produced by compilers while 303running 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. 308ac_configure_args= 309for ac_arg 310do 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 320done 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). 326if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 327if test "${LANG+set}" = set; then LANG=C; export LANG; fi 328 329# confdefs.h avoids OS command line length limits that DEFS can exceed. 330rm -rf conftest* confdefs.h 331# AIX cpp loses on an empty file, so make sure it contains at least a newline. 332echo > 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. 336ac_unique_file=src/rcsbase.h 337 338# Find the source files, if location was not specified. 339if 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 349else 350 ac_srcdir_defaulted=no 351fi 352if 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 358fi 359srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 360 361# Prefer explicitly selected file to automatically selected ones. 362if 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 368fi 369for 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 374done 375 376if test -r "$cache_file"; then 377 echo "loading cache $cache_file" 378 . $cache_file 379else 380 echo "creating cache $cache_file" 381 > $cache_file 382fi 383 384ac_ext=c 385# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 386ac_cpp='$CPP $CPPFLAGS' 387ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5' 388ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5' 389 390if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 391 # Stardent Vistra SVR4 grep lacks -e, says ghazi@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 398else 399 ac_n= ac_c='\c' ac_t= 400fi 401 402 403 404# Set up simple `diff' test. 405echo 0 >conftest0 406echo 0 >conftest0c 407echo 1 >conftest1 408cat >conftestok <<'EOF' 409d1 1 410a1 1 4111 412EOF 413 414# Check whether --with-diffutils or --without-diffutils was given. 415withval="$with_diffutils" 416if test -n "$withval"; then 417 with_diffutils=$withval 418else 419 with_diffutils=no 420 421fi 422 423 424case $with_diffutils in 425yes) 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} 434esac 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 440echo $ac_n "checking diff basename""... $ac_c" 1>&6 441if eval "test \"`echo '$''{'rcs_cv_prog_diff'+set}'`\" = set"; then 442 echo $ac_n "(cached) $ac_c" 1>&6 443else 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 462fi 463 464DIFF=$rcs_cv_prog_diff 465case $DIFF in 466'') { echo "configure: error: cannot find RCS-compatible diff" 1>&2; exit 1; };; 467esac 468echo "$ac_t""$DIFF" 1>&6 469# Extract the first word of "$DIFF", so it can be a program name with args. 470set dummy $DIFF; ac_word=$2 471echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 472if eval "test \"`echo '$''{'ac_cv_path_DIFF'+set}'`\" = set"; then 473 echo $ac_n "(cached) $ac_c" 1>&6 474else 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 ;; 491esac 492fi 493DIFF="$ac_cv_path_DIFF" 494if test -n "$DIFF"; then 495 echo "$ac_t""$DIFF" 1>&6 496else 497 echo "$ac_t""no" 1>&6 498fi 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 504echo $ac_n "checking diff success status""... $ac_c" 1>&6 505if eval "test \"`echo '$''{'rcs_cv_status_diff_success'+set}'`\" = set"; then 506 echo $ac_n "(cached) $ac_c" 1>&6 507else 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 519fi 520 521DIFF_SUCCESS=$rcs_cv_status_diff_success 522echo "$ac_t""$DIFF_SUCCESS" 1>&6 523# 524 525echo $ac_n "checking diff failure status""... $ac_c" 1>&6 526if eval "test \"`echo '$''{'rcs_cv_status_diff_failure'+set}'`\" = set"; then 527 echo $ac_n "(cached) $ac_c" 1>&6 528else 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 538fi 539 540DIFF_FAILURE=$rcs_cv_status_diff_failure 541echo "$ac_t""$DIFF_FAILURE" 1>&6 542# 543 544echo $ac_n "checking diff trouble status""... $ac_c" 1>&6 545if eval "test \"`echo '$''{'rcs_cv_status_diff_trouble'+set}'`\" = set"; then 546 echo $ac_n "(cached) $ac_c" 1>&6 547else 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 557fi 558 559DIFF_TROUBLE=$rcs_cv_status_diff_trouble 560echo "$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 565echo $ac_n "checking diff options for RCS""... $ac_c" 1>&6 566if eval "test \"`echo '$''{'rcs_cv_options_diff'+set}'`\" = set"; then 567 echo $ac_n "(cached) $ac_c" 1>&6 568else 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 585fi 586 587DIFFFLAGS=$rcs_cv_options_diff 588echo "$ac_t""$DIFFFLAGS" 1>&6 589 590# Set DIFF_L to 1 if diff understands the L option, 0 otherwise. 591 592echo $ac_n "checking diff -L""... $ac_c" 1>&6 593if eval "test \"`echo '$''{'rcs_cv_options_diff_l'+set}'`\" = set"; then 594 echo $ac_n "(cached) $ac_c" 1>&6 595else 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 612EOF 613 then rcs_cv_options_diff_l=1 614 fi 615 ;; 616 esac 617 ;; 618 esac 619 620fi 621 622DIFF_L=$rcs_cv_options_diff_l 623case $DIFF_L in 6241) echo "$ac_t""yes" 1>&6;; 625*) echo "$ac_t""no" 1>&6;; 626esac 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. 630diff3PATH=$PATH:/usr/libexec 631 632echo $ac_n "checking diff3 -m""... $ac_c" 1>&6 633if eval "test \"`echo '$''{'rcs_cv_prog_diff3_bin'+set}'`\" = set"; then 634 echo $ac_n "(cached) $ac_c" 1>&6 635else 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 6450 646======= 647>>>>>>> 2 648EOF 649 then rcs_cv_prog_diff3_bin=diff3 650 fi 651 ;; 652 esac 653 ;; 654 esac 655 656fi 657 658case $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. 664set dummy $rcs_cv_prog_diff3_bin; ac_word=$2 665echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 666if eval "test \"`echo '$''{'ac_cv_path_DIFF3'+set}'`\" = set"; then 667 echo $ac_n "(cached) $ac_c" 1>&6 668else 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 ;; 685esac 686fi 687DIFF3="$ac_cv_path_DIFF3" 688if test -n "$DIFF3"; then 689 echo "$ac_t""$DIFF3" 1>&6 690else 691 echo "$ac_t""no" 1>&6 692fi 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 701else 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 718fi 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 ;; 726esac 727 728 729case $DIFF3_BIN in 730'') 731 case $rcs_cv_prog_diff3_bin in 732 '') DIFF3_BIN=0;; 733 ?*) DIFF3_BIN=1;; 734 esac 735 ;; 736esac 737 738# Clean up simple `diff' test. 739rm -f conftest* 740 741# Extract the first word of "ed", so it can be a program name with args. 742set dummy ed; ac_word=$2 743echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 744if eval "test \"`echo '$''{'ac_cv_path_ED'+set}'`\" = set"; then 745 echo $ac_n "(cached) $ac_c" 1>&6 746else 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 ;; 763esac 764fi 765ED="$ac_cv_path_ED" 766if test -n "$ED"; then 767 echo "$ac_t""$ED" 1>&6 768else 769 echo "$ac_t""no" 1>&6 770fi 771 772 773ac_save_path=$PATH 774PATH=/usr/lib:/usr/bin:/bin:/usr/sbin:/sbin:$PATH 775for ac_prog in sendmail mail mailx 776do 777# Extract the first word of "$ac_prog", so it can be a program name with args. 778set dummy $ac_prog; ac_word=$2 779echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 780if eval "test \"`echo '$''{'ac_cv_path_SENDMAIL'+set}'`\" = set"; then 781 echo $ac_n "(cached) $ac_c" 1>&6 782else 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 ;; 798esac 799fi 800SENDMAIL="$ac_cv_path_SENDMAIL" 801if test -n "$SENDMAIL"; then 802 echo "$ac_t""$SENDMAIL" 1>&6 803else 804 echo "$ac_t""no" 1>&6 805fi 806 807test -n "$SENDMAIL" && break 808done 809 810PATH=$ac_save_path 811case $SENDMAIL in 812?*) SENDMAIL=\"$SENDMAIL\" 813esac 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. 818for ac_prog in "pic -n" "gpic -n" "pic -D" "pic" 819do 820# Extract the first word of "$ac_prog", so it can be a program name with args. 821set dummy $ac_prog; ac_word=$2 822echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 823if eval "test \"`echo '$''{'ac_cv_prog_PIC'+set}'`\" = set"; then 824 echo $ac_n "(cached) $ac_c" 1>&6 825else 826 if test -n "$PIC"; then 827 ac_cv_prog_PIC="$PIC" # Let the user override the test. 828else 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" 838fi 839fi 840PIC="$ac_cv_prog_PIC" 841if test -n "$PIC"; then 842 echo "$ac_t""$PIC" 1>&6 843else 844 echo "$ac_t""no" 1>&6 845fi 846 847test -n "$PIC" && break 848done 849test -n "$PIC" || PIC="pic" 850 851 852# Extract the first word of "gcc", so it can be a program name with args. 853set dummy gcc; ac_word=$2 854echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 855if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 856 echo $ac_n "(cached) $ac_c" 1>&6 857else 858 if test -n "$CC"; then 859 ac_cv_prog_CC="$CC" # Let the user override the test. 860else 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" 871fi 872fi 873CC="$ac_cv_prog_CC" 874if test -n "$CC"; then 875 echo "$ac_t""$CC" 1>&6 876else 877 echo "$ac_t""no" 1>&6 878fi 879 880 881echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 882if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 883 echo $ac_n "(cached) $ac_c" 1>&6 884else 885 cat > conftest.c <<EOF 886#ifdef __GNUC__ 887 yes; 888#endif 889EOF 890if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then 891 ac_cv_prog_gcc=yes 892else 893 ac_cv_prog_gcc=no 894fi 895fi 896echo "$ac_t""$ac_cv_prog_gcc" 1>&6 897if 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 901if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then 902 echo $ac_n "(cached) $ac_c" 1>&6 903else 904 echo 'void f(){}' > conftest.c 905if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 906 ac_cv_prog_gcc_g=yes 907else 908 ac_cv_prog_gcc_g=no 909fi 910rm -f conftest* 911 912fi 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 920else 921 GCC= 922 test "${CFLAGS+set}" = set || CFLAGS="-g" 923fi 924 925ac_aux_dir= 926for 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 936done 937if 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; } 939fi 940ac_config_guess=$ac_aux_dir/config.guess 941ac_config_sub=$ac_aux_dir/config.sub 942ac_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. 954echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 955if test -z "$INSTALL"; then 956if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 957 echo $ac_n "(cached) $ac_c" 1>&6 958else 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" 985fi 986 INSTALL="$ac_cv_path_install" 987fi 988echo "$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. 992test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 993 994test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 995 996echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 997set dummy ${MAKE-make}; ac_make=$2 998if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 999 echo $ac_n "(cached) $ac_c" 1>&6 1000else 1001 cat > conftestmake <<\EOF 1002all: 1003 @echo 'ac_maketemp="${MAKE}"' 1004EOF 1005# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1006eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 1007if test -n "$ac_maketemp"; then 1008 eval ac_cv_prog_make_${ac_make}_set=yes 1009else 1010 eval ac_cv_prog_make_${ac_make}_set=no 1011fi 1012rm -f conftestmake 1013fi 1014if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1015 echo "$ac_t""yes" 1>&6 1016 SET_MAKE= 1017else 1018 echo "$ac_t""no" 1>&6 1019 SET_MAKE="MAKE=${MAKE-make}" 1020fi 1021 1022 1023trap '' 1 2 15 1024cat > 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# 1039EOF 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 1045if cmp -s $cache_file confcache; then 1046 : 1047else 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 1054fi 1055rm -f confcache 1056 1057trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 1058 1059test "x$prefix" = xNONE && prefix=$ac_default_prefix 1060# Let make expand exec_prefix. 1061test "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. 1066if test "x$srcdir" = x.; then 1067 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 1068fi 1069 1070trap '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. 1075cat > conftest.defs <<\EOF 1076s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g 1077s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 1078s%\[%\\&%g 1079s%\]%\\&%g 1080s%\$%$$%g 1081EOF 1082DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` 1083rm -f conftest.defs 1084 1085 1086# Without the "./", some shells look in PATH for config.status. 1087: ${CONFIG_STATUS=./config.status} 1088 1089echo creating $CONFIG_STATUS 1090rm -f $CONFIG_STATUS 1091cat > $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 1103ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 1104for ac_option 1105do 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 1117done 1118 1119ac_given_srcdir=$srcdir 1120ac_given_INSTALL="$INSTALL" 1121 1122trap '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. 1125sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; 1126 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF 1127$ac_vpsub 1128$extrasub 1129s%@CFLAGS@%$CFLAGS%g 1130s%@CPPFLAGS@%$CPPFLAGS%g 1131s%@CXXFLAGS@%$CXXFLAGS%g 1132s%@DEFS@%$DEFS%g 1133s%@LDFLAGS@%$LDFLAGS%g 1134s%@LIBS@%$LIBS%g 1135s%@exec_prefix@%$exec_prefix%g 1136s%@prefix@%$prefix%g 1137s%@program_transform_name@%$program_transform_name%g 1138s%@DIFF@%$DIFF%g 1139s%@DIFF_SUCCESS@%$DIFF_SUCCESS%g 1140s%@DIFF_FAILURE@%$DIFF_FAILURE%g 1141s%@DIFF_TROUBLE@%$DIFF_TROUBLE%g 1142s%@DIFFFLAGS@%$DIFFFLAGS%g 1143s%@DIFF_L@%$DIFF_L%g 1144s%@DIFF3@%$DIFF3%g 1145s%@DIFF3_BIN@%$DIFF3_BIN%g 1146s%@ED@%$ED%g 1147s%@SENDMAIL@%$SENDMAIL%g 1148s%@PIC@%$PIC%g 1149s%@CC@%$CC%g 1150s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 1151s%@INSTALL_DATA@%$INSTALL_DATA%g 1152s%@SET_MAKE@%$SET_MAKE%g 1153 1154CEOF 1155EOF 1156cat >> $CONFIG_STATUS <<EOF 1157 1158CONFIG_FILES=\${CONFIG_FILES-"Makefile man/Makefile src/Makefile"} 1159EOF 1160cat >> $CONFIG_STATUS <<\EOF 1161for 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 1206s%@configure_input@%$configure_input%g 1207s%@srcdir@%$srcdir%g 1208s%@top_srcdir@%$top_srcdir%g 1209s%@INSTALL@%$INSTALL%g 1210" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file 1211fi; done 1212rm -f conftest.subs 1213 1214 1215 1216exit 0 1217EOF 1218chmod +x $CONFIG_STATUS 1219rm -fr confdefs* $ac_clean_files 1220test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 1221 1222