1#! /bin/sh 2# From configure.in for gensig, built with autoconf AC_ACVERSION. 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.57. 5# 6# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 7# Free Software Foundation, Inc. 8# This configure script is free software; the Free Software Foundation 9# gives unlimited permission to copy, distribute and modify it. 10## --------------------- ## 11## M4sh Initialization. ## 12## --------------------- ## 13 14# Be Bourne compatible 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 set -o posix 23fi 24 25# Support unset when possible. 26if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 27 as_unset=unset 28else 29 as_unset=false 30fi 31 32 33# Work around bugs in pre-3.0 UWIN ksh. 34$as_unset ENV MAIL MAILPATH 35PS1='$ ' 36PS2='> ' 37PS4='+ ' 38 39# NLS nuisances. 40for as_var in \ 41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 43 LC_TELEPHONE LC_TIME 44do 45 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 46 eval $as_var=C; export $as_var 47 else 48 $as_unset $as_var 49 fi 50done 51 52# Required to use basename. 53if expr a : '\(a\)' >/dev/null 2>&1; then 54 as_expr=expr 55else 56 as_expr=false 57fi 58 59if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 60 as_basename=basename 61else 62 as_basename=false 63fi 64 65 66# Name of the executable. 67as_me=`$as_basename "$0" || 68$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 69 X"$0" : 'X\(//\)$' \| \ 70 X"$0" : 'X\(/\)$' \| \ 71 . : '\(.\)' 2>/dev/null || 72echo X/"$0" | 73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 74 /^X\/\(\/\/\)$/{ s//\1/; q; } 75 /^X\/\(\/\).*/{ s//\1/; q; } 76 s/.*/./; q'` 77 78 79# PATH needs CR, and LINENO needs CR and PATH. 80# Avoid depending upon Character Ranges. 81as_cr_letters='abcdefghijklmnopqrstuvwxyz' 82as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 83as_cr_Letters=$as_cr_letters$as_cr_LETTERS 84as_cr_digits='0123456789' 85as_cr_alnum=$as_cr_Letters$as_cr_digits 86 87# The user is always right. 88if test "${PATH_SEPARATOR+set}" != set; then 89 echo "#! /bin/sh" >conf$$.sh 90 echo "exit 0" >>conf$$.sh 91 chmod +x conf$$.sh 92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 93 PATH_SEPARATOR=';' 94 else 95 PATH_SEPARATOR=: 96 fi 97 rm -f conf$$.sh 98fi 99 100 101 as_lineno_1=$LINENO 102 as_lineno_2=$LINENO 103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 104 test "x$as_lineno_1" != "x$as_lineno_2" && 105 test "x$as_lineno_3" = "x$as_lineno_2" || { 106 # Find who we are. Look in the path if we contain no path at all 107 # relative or not. 108 case $0 in 109 *[\\/]* ) as_myself=$0 ;; 110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 111for as_dir in $PATH 112do 113 IFS=$as_save_IFS 114 test -z "$as_dir" && as_dir=. 115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 116done 117 118 ;; 119 esac 120 # We did not find ourselves, most probably we were run as `sh COMMAND' 121 # in which case we are not to be found in the path. 122 if test "x$as_myself" = x; then 123 as_myself=$0 124 fi 125 if test ! -f "$as_myself"; then 126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 127 { (exit 1); exit 1; }; } 128 fi 129 case $CONFIG_SHELL in 130 '') 131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 132for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 133do 134 IFS=$as_save_IFS 135 test -z "$as_dir" && as_dir=. 136 for as_base in sh bash ksh sh5; do 137 case $as_dir in 138 /*) 139 if ("$as_dir/$as_base" -c ' 140 as_lineno_1=$LINENO 141 as_lineno_2=$LINENO 142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 143 test "x$as_lineno_1" != "x$as_lineno_2" && 144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 147 CONFIG_SHELL=$as_dir/$as_base 148 export CONFIG_SHELL 149 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 150 fi;; 151 esac 152 done 153done 154;; 155 esac 156 157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 158 # uniformly replaced by the line number. The first 'sed' inserts a 159 # line-number line before each line; the second 'sed' does the real 160 # work. The second script uses 'N' to pair each line-number line 161 # with the numbered line, and appends trailing '-' during 162 # substitution so that $LINENO is not a special case at line end. 163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 165 sed '=' <$as_myself | 166 sed ' 167 N 168 s,$,-, 169 : loop 170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 171 t loop 172 s,-$,, 173 s,^['$as_cr_digits']*\n,, 174 ' >$as_me.lineno && 175 chmod +x $as_me.lineno || 176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 177 { (exit 1); exit 1; }; } 178 179 # Don't try to exec as it changes $[0], causing all sort of problems 180 # (the dirname of $[0] is not the place where we might find the 181 # original and so on. Autoconf is especially sensible to this). 182 . ./$as_me.lineno 183 # Exit status is that of the last command. 184 exit 185} 186 187 188case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 189 *c*,-n*) ECHO_N= ECHO_C=' 190' ECHO_T=' ' ;; 191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 193esac 194 195if expr a : '\(a\)' >/dev/null 2>&1; then 196 as_expr=expr 197else 198 as_expr=false 199fi 200 201rm -f conf$$ conf$$.exe conf$$.file 202echo >conf$$.file 203if ln -s conf$$.file conf$$ 2>/dev/null; then 204 # We could just check for DJGPP; but this test a) works b) is more generic 205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 206 if test -f conf$$.exe; then 207 # Don't use ln at all; we don't have any links 208 as_ln_s='cp -p' 209 else 210 as_ln_s='ln -s' 211 fi 212elif ln conf$$.file conf$$ 2>/dev/null; then 213 as_ln_s=ln 214else 215 as_ln_s='cp -p' 216fi 217rm -f conf$$ conf$$.exe conf$$.file 218 219if mkdir -p . 2>/dev/null; then 220 as_mkdir_p=: 221else 222 as_mkdir_p=false 223fi 224 225as_executable_p="test -f" 226 227# Sed expression to map a string onto a valid CPP name. 228as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 229 230# Sed expression to map a string onto a valid variable name. 231as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 232 233 234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl" 239 240# CDPATH. 241$as_unset CDPATH 242 243 244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249exec 6>&1 250 251# 252# Initializations. 253# 254ac_default_prefix=/usr/local 255ac_config_libobj_dir=. 256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} 261 262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266 267# Identity of this package. 268PACKAGE_NAME= 269PACKAGE_TARNAME= 270PACKAGE_VERSION= 271PACKAGE_STRING= 272PACKAGE_BUGREPORT= 273 274ac_unique_file="gensig.c" 275ac_default_prefix=$HOME 276# Factoring default headers for most tests. 277ac_includes_default="\ 278#include <stdio.h> 279#if HAVE_SYS_TYPES_H 280# include <sys/types.h> 281#endif 282#if HAVE_SYS_STAT_H 283# include <sys/stat.h> 284#endif 285#if STDC_HEADERS 286# include <stdlib.h> 287# include <stddef.h> 288#else 289# if HAVE_STDLIB_H 290# include <stdlib.h> 291# endif 292#endif 293#if HAVE_STRING_H 294# if !STDC_HEADERS && HAVE_MEMORY_H 295# include <memory.h> 296# endif 297# include <string.h> 298#endif 299#if HAVE_STRINGS_H 300# include <strings.h> 301#endif 302#if HAVE_INTTYPES_H 303# include <inttypes.h> 304#else 305# if HAVE_STDINT_H 306# include <stdint.h> 307# endif 308#endif 309#if HAVE_UNISTD_H 310# include <unistd.h> 311#endif" 312 313ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS LTLIBOBJS' 314ac_subst_files='' 315 316# Initialize some variables set by options. 317ac_init_help= 318ac_init_version=false 319# The variables have the same names as the options, with 320# dashes changed to underlines. 321cache_file=/dev/null 322exec_prefix=NONE 323no_create= 324no_recursion= 325prefix=NONE 326program_prefix=NONE 327program_suffix=NONE 328program_transform_name=s,x,x, 329silent= 330site= 331srcdir= 332verbose= 333x_includes=NONE 334x_libraries=NONE 335 336# Installation directory options. 337# These are left unexpanded so users can "make install exec_prefix=/foo" 338# and all the variables that are supposed to be based on exec_prefix 339# by default will actually change. 340# Use braces instead of parens because sh, perl, etc. also accept them. 341bindir='${exec_prefix}/bin' 342sbindir='${exec_prefix}/sbin' 343libexecdir='${exec_prefix}/libexec' 344datadir='${prefix}/share' 345sysconfdir='${prefix}/etc' 346sharedstatedir='${prefix}/com' 347localstatedir='${prefix}/var' 348libdir='${exec_prefix}/lib' 349includedir='${prefix}/include' 350oldincludedir='/usr/include' 351infodir='${prefix}/info' 352mandir='${prefix}/man' 353 354ac_prev= 355for ac_option 356do 357 # If the previous option needs an argument, assign it. 358 if test -n "$ac_prev"; then 359 eval "$ac_prev=\$ac_option" 360 ac_prev= 361 continue 362 fi 363 364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 365 366 # Accept the important Cygnus configure options, so we can diagnose typos. 367 368 case $ac_option in 369 370 -bindir | --bindir | --bindi | --bind | --bin | --bi) 371 ac_prev=bindir ;; 372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 373 bindir=$ac_optarg ;; 374 375 -build | --build | --buil | --bui | --bu) 376 ac_prev=build_alias ;; 377 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 378 build_alias=$ac_optarg ;; 379 380 -cache-file | --cache-file | --cache-fil | --cache-fi \ 381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 382 ac_prev=cache_file ;; 383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 385 cache_file=$ac_optarg ;; 386 387 --config-cache | -C) 388 cache_file=config.cache ;; 389 390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 391 ac_prev=datadir ;; 392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 393 | --da=*) 394 datadir=$ac_optarg ;; 395 396 -disable-* | --disable-*) 397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 398 # Reject names that are not valid shell variable names. 399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 401 { (exit 1); exit 1; }; } 402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 403 eval "enable_$ac_feature=no" ;; 404 405 -enable-* | --enable-*) 406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 407 # Reject names that are not valid shell variable names. 408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 410 { (exit 1); exit 1; }; } 411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 412 case $ac_option in 413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 414 *) ac_optarg=yes ;; 415 esac 416 eval "enable_$ac_feature='$ac_optarg'" ;; 417 418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 420 | --exec | --exe | --ex) 421 ac_prev=exec_prefix ;; 422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 424 | --exec=* | --exe=* | --ex=*) 425 exec_prefix=$ac_optarg ;; 426 427 -gas | --gas | --ga | --g) 428 # Obsolete; use --with-gas. 429 with_gas=yes ;; 430 431 -help | --help | --hel | --he | -h) 432 ac_init_help=long ;; 433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 434 ac_init_help=recursive ;; 435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 436 ac_init_help=short ;; 437 438 -host | --host | --hos | --ho) 439 ac_prev=host_alias ;; 440 -host=* | --host=* | --hos=* | --ho=*) 441 host_alias=$ac_optarg ;; 442 443 -includedir | --includedir | --includedi | --included | --include \ 444 | --includ | --inclu | --incl | --inc) 445 ac_prev=includedir ;; 446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 447 | --includ=* | --inclu=* | --incl=* | --inc=*) 448 includedir=$ac_optarg ;; 449 450 -infodir | --infodir | --infodi | --infod | --info | --inf) 451 ac_prev=infodir ;; 452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 453 infodir=$ac_optarg ;; 454 455 -libdir | --libdir | --libdi | --libd) 456 ac_prev=libdir ;; 457 -libdir=* | --libdir=* | --libdi=* | --libd=*) 458 libdir=$ac_optarg ;; 459 460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 461 | --libexe | --libex | --libe) 462 ac_prev=libexecdir ;; 463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 464 | --libexe=* | --libex=* | --libe=*) 465 libexecdir=$ac_optarg ;; 466 467 -localstatedir | --localstatedir | --localstatedi | --localstated \ 468 | --localstate | --localstat | --localsta | --localst \ 469 | --locals | --local | --loca | --loc | --lo) 470 ac_prev=localstatedir ;; 471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 474 localstatedir=$ac_optarg ;; 475 476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 477 ac_prev=mandir ;; 478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 479 mandir=$ac_optarg ;; 480 481 -nfp | --nfp | --nf) 482 # Obsolete; use --without-fp. 483 with_fp=no ;; 484 485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 486 | --no-cr | --no-c | -n) 487 no_create=yes ;; 488 489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 491 no_recursion=yes ;; 492 493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 495 | --oldin | --oldi | --old | --ol | --o) 496 ac_prev=oldincludedir ;; 497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 500 oldincludedir=$ac_optarg ;; 501 502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 503 ac_prev=prefix ;; 504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 505 prefix=$ac_optarg ;; 506 507 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 508 | --program-pre | --program-pr | --program-p) 509 ac_prev=program_prefix ;; 510 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 512 program_prefix=$ac_optarg ;; 513 514 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 515 | --program-suf | --program-su | --program-s) 516 ac_prev=program_suffix ;; 517 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 519 program_suffix=$ac_optarg ;; 520 521 -program-transform-name | --program-transform-name \ 522 | --program-transform-nam | --program-transform-na \ 523 | --program-transform-n | --program-transform- \ 524 | --program-transform | --program-transfor \ 525 | --program-transfo | --program-transf \ 526 | --program-trans | --program-tran \ 527 | --progr-tra | --program-tr | --program-t) 528 ac_prev=program_transform_name ;; 529 -program-transform-name=* | --program-transform-name=* \ 530 | --program-transform-nam=* | --program-transform-na=* \ 531 | --program-transform-n=* | --program-transform-=* \ 532 | --program-transform=* | --program-transfor=* \ 533 | --program-transfo=* | --program-transf=* \ 534 | --program-trans=* | --program-tran=* \ 535 | --progr-tra=* | --program-tr=* | --program-t=*) 536 program_transform_name=$ac_optarg ;; 537 538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 539 | -silent | --silent | --silen | --sile | --sil) 540 silent=yes ;; 541 542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 543 ac_prev=sbindir ;; 544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 545 | --sbi=* | --sb=*) 546 sbindir=$ac_optarg ;; 547 548 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 550 | --sharedst | --shareds | --shared | --share | --shar \ 551 | --sha | --sh) 552 ac_prev=sharedstatedir ;; 553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 556 | --sha=* | --sh=*) 557 sharedstatedir=$ac_optarg ;; 558 559 -site | --site | --sit) 560 ac_prev=site ;; 561 -site=* | --site=* | --sit=*) 562 site=$ac_optarg ;; 563 564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 565 ac_prev=srcdir ;; 566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 567 srcdir=$ac_optarg ;; 568 569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 570 | --syscon | --sysco | --sysc | --sys | --sy) 571 ac_prev=sysconfdir ;; 572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 574 sysconfdir=$ac_optarg ;; 575 576 -target | --target | --targe | --targ | --tar | --ta | --t) 577 ac_prev=target_alias ;; 578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 579 target_alias=$ac_optarg ;; 580 581 -v | -verbose | --verbose | --verbos | --verbo | --verb) 582 verbose=yes ;; 583 584 -version | --version | --versio | --versi | --vers | -V) 585 ac_init_version=: ;; 586 587 -with-* | --with-*) 588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 589 # Reject names that are not valid shell variable names. 590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 591 { echo "$as_me: error: invalid package name: $ac_package" >&2 592 { (exit 1); exit 1; }; } 593 ac_package=`echo $ac_package| sed 's/-/_/g'` 594 case $ac_option in 595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 596 *) ac_optarg=yes ;; 597 esac 598 eval "with_$ac_package='$ac_optarg'" ;; 599 600 -without-* | --without-*) 601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 602 # Reject names that are not valid shell variable names. 603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 604 { echo "$as_me: error: invalid package name: $ac_package" >&2 605 { (exit 1); exit 1; }; } 606 ac_package=`echo $ac_package | sed 's/-/_/g'` 607 eval "with_$ac_package=no" ;; 608 609 --x) 610 # Obsolete; use --with-x. 611 with_x=yes ;; 612 613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 614 | --x-incl | --x-inc | --x-in | --x-i) 615 ac_prev=x_includes ;; 616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 618 x_includes=$ac_optarg ;; 619 620 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 622 ac_prev=x_libraries ;; 623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 625 x_libraries=$ac_optarg ;; 626 627 -*) { echo "$as_me: error: unrecognized option: $ac_option 628Try \`$0 --help' for more information." >&2 629 { (exit 1); exit 1; }; } 630 ;; 631 632 *=*) 633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 634 # Reject names that are not valid shell variable names. 635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 637 { (exit 1); exit 1; }; } 638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 639 eval "$ac_envvar='$ac_optarg'" 640 export $ac_envvar ;; 641 642 *) 643 # FIXME: should be removed in autoconf 3.0. 644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 648 ;; 649 650 esac 651done 652 653if test -n "$ac_prev"; then 654 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 655 { echo "$as_me: error: missing argument to $ac_option" >&2 656 { (exit 1); exit 1; }; } 657fi 658 659# Be sure to have absolute paths. 660for ac_var in exec_prefix prefix 661do 662 eval ac_val=$`echo $ac_var` 663 case $ac_val in 664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 666 { (exit 1); exit 1; }; };; 667 esac 668done 669 670# Be sure to have absolute paths. 671for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 672 localstatedir libdir includedir oldincludedir infodir mandir 673do 674 eval ac_val=$`echo $ac_var` 675 case $ac_val in 676 [\\/$]* | ?:[\\/]* ) ;; 677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 678 { (exit 1); exit 1; }; };; 679 esac 680done 681 682# There might be people who depend on the old broken behavior: `$host' 683# used to hold the argument of --host etc. 684# FIXME: To remove some day. 685build=$build_alias 686host=$host_alias 687target=$target_alias 688 689# FIXME: To remove some day. 690if test "x$host_alias" != x; then 691 if test "x$build_alias" = x; then 692 cross_compiling=maybe 693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 694 If a cross compiler is detected then cross compile mode will be used." >&2 695 elif test "x$build_alias" != "x$host_alias"; then 696 cross_compiling=yes 697 fi 698fi 699 700ac_tool_prefix= 701test -n "$host_alias" && ac_tool_prefix=$host_alias- 702 703test "$silent" = yes && exec 6>/dev/null 704 705 706# Find the source files, if location was not specified. 707if test -z "$srcdir"; then 708 ac_srcdir_defaulted=yes 709 # Try the directory containing this script, then its parent. 710 ac_confdir=`(dirname "$0") 2>/dev/null || 711$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 712 X"$0" : 'X\(//\)[^/]' \| \ 713 X"$0" : 'X\(//\)$' \| \ 714 X"$0" : 'X\(/\)' \| \ 715 . : '\(.\)' 2>/dev/null || 716echo X"$0" | 717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 719 /^X\(\/\/\)$/{ s//\1/; q; } 720 /^X\(\/\).*/{ s//\1/; q; } 721 s/.*/./; q'` 722 srcdir=$ac_confdir 723 if test ! -r $srcdir/$ac_unique_file; then 724 srcdir=.. 725 fi 726else 727 ac_srcdir_defaulted=no 728fi 729if test ! -r $srcdir/$ac_unique_file; then 730 if test "$ac_srcdir_defaulted" = yes; then 731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 732 { (exit 1); exit 1; }; } 733 else 734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 735 { (exit 1); exit 1; }; } 736 fi 737fi 738(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 740 { (exit 1); exit 1; }; } 741srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 742ac_env_build_alias_set=${build_alias+set} 743ac_env_build_alias_value=$build_alias 744ac_cv_env_build_alias_set=${build_alias+set} 745ac_cv_env_build_alias_value=$build_alias 746ac_env_host_alias_set=${host_alias+set} 747ac_env_host_alias_value=$host_alias 748ac_cv_env_host_alias_set=${host_alias+set} 749ac_cv_env_host_alias_value=$host_alias 750ac_env_target_alias_set=${target_alias+set} 751ac_env_target_alias_value=$target_alias 752ac_cv_env_target_alias_set=${target_alias+set} 753ac_cv_env_target_alias_value=$target_alias 754ac_env_CC_set=${CC+set} 755ac_env_CC_value=$CC 756ac_cv_env_CC_set=${CC+set} 757ac_cv_env_CC_value=$CC 758ac_env_CFLAGS_set=${CFLAGS+set} 759ac_env_CFLAGS_value=$CFLAGS 760ac_cv_env_CFLAGS_set=${CFLAGS+set} 761ac_cv_env_CFLAGS_value=$CFLAGS 762ac_env_LDFLAGS_set=${LDFLAGS+set} 763ac_env_LDFLAGS_value=$LDFLAGS 764ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 765ac_cv_env_LDFLAGS_value=$LDFLAGS 766ac_env_CPPFLAGS_set=${CPPFLAGS+set} 767ac_env_CPPFLAGS_value=$CPPFLAGS 768ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 769ac_cv_env_CPPFLAGS_value=$CPPFLAGS 770ac_env_CPP_set=${CPP+set} 771ac_env_CPP_value=$CPP 772ac_cv_env_CPP_set=${CPP+set} 773ac_cv_env_CPP_value=$CPP 774 775# 776# Report the --help message. 777# 778if test "$ac_init_help" = "long"; then 779 # Omit some internal or obsolete options to make the list less imposing. 780 # This message is too long to be a string in the A/UX 3.1 sh. 781 cat <<_ACEOF 782\`configure' configures this package to adapt to many kinds of systems. 783 784Usage: $0 [OPTION]... [VAR=VALUE]... 785 786To assign environment variables (e.g., CC, CFLAGS...), specify them as 787VAR=VALUE. See below for descriptions of some of the useful variables. 788 789Defaults for the options are specified in brackets. 790 791Configuration: 792 -h, --help display this help and exit 793 --help=short display options specific to this package 794 --help=recursive display the short help of all the included packages 795 -V, --version display version information and exit 796 -q, --quiet, --silent do not print \`checking...' messages 797 --cache-file=FILE cache test results in FILE [disabled] 798 -C, --config-cache alias for \`--cache-file=config.cache' 799 -n, --no-create do not create output files 800 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 801 802_ACEOF 803 804 cat <<_ACEOF 805Installation directories: 806 --prefix=PREFIX install architecture-independent files in PREFIX 807 [$ac_default_prefix] 808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 809 [PREFIX] 810 811By default, \`make install' will install all the files in 812\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 813an installation prefix other than \`$ac_default_prefix' using \`--prefix', 814for instance \`--prefix=\$HOME'. 815 816For better control, use the options below. 817 818Fine tuning of the installation directories: 819 --bindir=DIR user executables [EPREFIX/bin] 820 --sbindir=DIR system admin executables [EPREFIX/sbin] 821 --libexecdir=DIR program executables [EPREFIX/libexec] 822 --datadir=DIR read-only architecture-independent data [PREFIX/share] 823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 825 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 826 --libdir=DIR object code libraries [EPREFIX/lib] 827 --includedir=DIR C header files [PREFIX/include] 828 --oldincludedir=DIR C header files for non-gcc [/usr/include] 829 --infodir=DIR info documentation [PREFIX/info] 830 --mandir=DIR man documentation [PREFIX/man] 831_ACEOF 832 833 cat <<\_ACEOF 834 835Program names: 836 --program-prefix=PREFIX prepend PREFIX to installed program names 837 --program-suffix=SUFFIX append SUFFIX to installed program names 838 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 839_ACEOF 840fi 841 842if test -n "$ac_init_help"; then 843 844 cat <<\_ACEOF 845 846Optional Features: 847 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 848 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 849 --disable-dependency-tracking Speeds up one-time builds 850 --enable-dependency-tracking Do not reject slow dependency extractors 851 852Some influential environment variables: 853 CC C compiler command 854 CFLAGS C compiler flags 855 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 856 nonstandard directory <lib dir> 857 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 858 headers in a nonstandard directory <include dir> 859 CPP C preprocessor 860 861Use these variables to override the choices made by `configure' or to help 862it to find libraries and programs with nonstandard names/locations. 863 864_ACEOF 865fi 866 867if test "$ac_init_help" = "recursive"; then 868 # If there are subdirs, report their specific --help. 869 ac_popdir=`pwd` 870 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 871 test -d $ac_dir || continue 872 ac_builddir=. 873 874if test "$ac_dir" != .; then 875 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 876 # A "../" for each directory in $ac_dir_suffix. 877 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 878else 879 ac_dir_suffix= ac_top_builddir= 880fi 881 882case $srcdir in 883 .) # No --srcdir option. We are building in place. 884 ac_srcdir=. 885 if test -z "$ac_top_builddir"; then 886 ac_top_srcdir=. 887 else 888 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 889 fi ;; 890 [\\/]* | ?:[\\/]* ) # Absolute path. 891 ac_srcdir=$srcdir$ac_dir_suffix; 892 ac_top_srcdir=$srcdir ;; 893 *) # Relative path. 894 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 895 ac_top_srcdir=$ac_top_builddir$srcdir ;; 896esac 897# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 898# absolute. 899ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 900ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 901ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 902ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 903 904 cd $ac_dir 905 # Check for guested configure; otherwise get Cygnus style configure. 906 if test -f $ac_srcdir/configure.gnu; then 907 echo 908 $SHELL $ac_srcdir/configure.gnu --help=recursive 909 elif test -f $ac_srcdir/configure; then 910 echo 911 $SHELL $ac_srcdir/configure --help=recursive 912 elif test -f $ac_srcdir/configure.ac || 913 test -f $ac_srcdir/configure.in; then 914 echo 915 $ac_configure --help 916 else 917 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 918 fi 919 cd $ac_popdir 920 done 921fi 922 923test -n "$ac_init_help" && exit 0 924if $ac_init_version; then 925 cat <<\_ACEOF 926 927Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 928Free Software Foundation, Inc. 929This configure script is free software; the Free Software Foundation 930gives unlimited permission to copy, distribute and modify it. 931_ACEOF 932 exit 0 933fi 934exec 5>config.log 935cat >&5 <<_ACEOF 936This file contains any messages produced by compilers while 937running configure, to aid debugging if configure makes a mistake. 938 939It was created by $as_me, which was 940generated by GNU Autoconf 2.57. Invocation command line was 941 942 $ $0 $@ 943 944_ACEOF 945{ 946cat <<_ASUNAME 947## --------- ## 948## Platform. ## 949## --------- ## 950 951hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 952uname -m = `(uname -m) 2>/dev/null || echo unknown` 953uname -r = `(uname -r) 2>/dev/null || echo unknown` 954uname -s = `(uname -s) 2>/dev/null || echo unknown` 955uname -v = `(uname -v) 2>/dev/null || echo unknown` 956 957/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 958/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 959 960/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 961/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 962/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 963hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 964/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 965/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 966/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 967 968_ASUNAME 969 970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 971for as_dir in $PATH 972do 973 IFS=$as_save_IFS 974 test -z "$as_dir" && as_dir=. 975 echo "PATH: $as_dir" 976done 977 978} >&5 979 980cat >&5 <<_ACEOF 981 982 983## ----------- ## 984## Core tests. ## 985## ----------- ## 986 987_ACEOF 988 989 990# Keep a trace of the command line. 991# Strip out --no-create and --no-recursion so they do not pile up. 992# Strip out --silent because we don't want to record it for future runs. 993# Also quote any args containing shell meta-characters. 994# Make two passes to allow for proper duplicate-argument suppression. 995ac_configure_args= 996ac_configure_args0= 997ac_configure_args1= 998ac_sep= 999ac_must_keep_next=false 1000for ac_pass in 1 2 1001do 1002 for ac_arg 1003 do 1004 case $ac_arg in 1005 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1007 | -silent | --silent | --silen | --sile | --sil) 1008 continue ;; 1009 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1010 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1011 esac 1012 case $ac_pass in 1013 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1014 2) 1015 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1016 if test $ac_must_keep_next = true; then 1017 ac_must_keep_next=false # Got value, back to normal. 1018 else 1019 case $ac_arg in 1020 *=* | --config-cache | -C | -disable-* | --disable-* \ 1021 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1022 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1023 | -with-* | --with-* | -without-* | --without-* | --x) 1024 case "$ac_configure_args0 " in 1025 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1026 esac 1027 ;; 1028 -* ) ac_must_keep_next=true ;; 1029 esac 1030 fi 1031 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1032 # Get rid of the leading space. 1033 ac_sep=" " 1034 ;; 1035 esac 1036 done 1037done 1038$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1039$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1040 1041# When interrupted or exit'd, cleanup temporary files, and complete 1042# config.log. We remove comments because anyway the quotes in there 1043# would cause problems or look ugly. 1044# WARNING: Be sure not to use single quotes in there, as some shells, 1045# such as our DU 5.0 friend, will then `close' the trap. 1046trap 'exit_status=$? 1047 # Save into config.log some information that might help in debugging. 1048 { 1049 echo 1050 1051 cat <<\_ASBOX 1052## ---------------- ## 1053## Cache variables. ## 1054## ---------------- ## 1055_ASBOX 1056 echo 1057 # The following way of writing the cache mishandles newlines in values, 1058{ 1059 (set) 2>&1 | 1060 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1061 *ac_space=\ *) 1062 sed -n \ 1063 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1065 ;; 1066 *) 1067 sed -n \ 1068 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1069 ;; 1070 esac; 1071} 1072 echo 1073 1074 cat <<\_ASBOX 1075## ----------------- ## 1076## Output variables. ## 1077## ----------------- ## 1078_ASBOX 1079 echo 1080 for ac_var in $ac_subst_vars 1081 do 1082 eval ac_val=$`echo $ac_var` 1083 echo "$ac_var='"'"'$ac_val'"'"'" 1084 done | sort 1085 echo 1086 1087 if test -n "$ac_subst_files"; then 1088 cat <<\_ASBOX 1089## ------------- ## 1090## Output files. ## 1091## ------------- ## 1092_ASBOX 1093 echo 1094 for ac_var in $ac_subst_files 1095 do 1096 eval ac_val=$`echo $ac_var` 1097 echo "$ac_var='"'"'$ac_val'"'"'" 1098 done | sort 1099 echo 1100 fi 1101 1102 if test -s confdefs.h; then 1103 cat <<\_ASBOX 1104## ----------- ## 1105## confdefs.h. ## 1106## ----------- ## 1107_ASBOX 1108 echo 1109 sed "/^$/d" confdefs.h | sort 1110 echo 1111 fi 1112 test "$ac_signal" != 0 && 1113 echo "$as_me: caught signal $ac_signal" 1114 echo "$as_me: exit $exit_status" 1115 } >&5 1116 rm -f core core.* *.core && 1117 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1118 exit $exit_status 1119 ' 0 1120for ac_signal in 1 2 13 15; do 1121 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1122done 1123ac_signal=0 1124 1125# confdefs.h avoids OS command line length limits that DEFS can exceed. 1126rm -rf conftest* confdefs.h 1127# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1128echo >confdefs.h 1129 1130# Predefined preprocessor variables. 1131 1132cat >>confdefs.h <<_ACEOF 1133#define PACKAGE_NAME "$PACKAGE_NAME" 1134_ACEOF 1135 1136 1137cat >>confdefs.h <<_ACEOF 1138#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1139_ACEOF 1140 1141 1142cat >>confdefs.h <<_ACEOF 1143#define PACKAGE_VERSION "$PACKAGE_VERSION" 1144_ACEOF 1145 1146 1147cat >>confdefs.h <<_ACEOF 1148#define PACKAGE_STRING "$PACKAGE_STRING" 1149_ACEOF 1150 1151 1152cat >>confdefs.h <<_ACEOF 1153#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1154_ACEOF 1155 1156 1157# Let the site file select an alternate cache file if it wants to. 1158# Prefer explicitly selected file to automatically selected ones. 1159if test -z "$CONFIG_SITE"; then 1160 if test "x$prefix" != xNONE; then 1161 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1162 else 1163 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1164 fi 1165fi 1166for ac_site_file in $CONFIG_SITE; do 1167 if test -r "$ac_site_file"; then 1168 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1169echo "$as_me: loading site script $ac_site_file" >&6;} 1170 sed 's/^/| /' "$ac_site_file" >&5 1171 . "$ac_site_file" 1172 fi 1173done 1174 1175if test -r "$cache_file"; then 1176 # Some versions of bash will fail to source /dev/null (special 1177 # files actually), so we avoid doing that. 1178 if test -f "$cache_file"; then 1179 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1180echo "$as_me: loading cache $cache_file" >&6;} 1181 case $cache_file in 1182 [\\/]* | ?:[\\/]* ) . $cache_file;; 1183 *) . ./$cache_file;; 1184 esac 1185 fi 1186else 1187 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1188echo "$as_me: creating cache $cache_file" >&6;} 1189 >$cache_file 1190fi 1191 1192# Check that the precious variables saved in the cache have kept the same 1193# value. 1194ac_cache_corrupted=false 1195for ac_var in `(set) 2>&1 | 1196 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1197 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1198 eval ac_new_set=\$ac_env_${ac_var}_set 1199 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1200 eval ac_new_val="\$ac_env_${ac_var}_value" 1201 case $ac_old_set,$ac_new_set in 1202 set,) 1203 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1204echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1205 ac_cache_corrupted=: ;; 1206 ,set) 1207 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1208echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1209 ac_cache_corrupted=: ;; 1210 ,);; 1211 *) 1212 if test "x$ac_old_val" != "x$ac_new_val"; then 1213 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1214echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1215 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1216echo "$as_me: former value: $ac_old_val" >&2;} 1217 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1218echo "$as_me: current value: $ac_new_val" >&2;} 1219 ac_cache_corrupted=: 1220 fi;; 1221 esac 1222 # Pass precious variables to config.status. 1223 if test "$ac_new_set" = set; then 1224 case $ac_new_val in 1225 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1226 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1227 *) ac_arg=$ac_var=$ac_new_val ;; 1228 esac 1229 case " $ac_configure_args " in 1230 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1231 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1232 esac 1233 fi 1234done 1235if $ac_cache_corrupted; then 1236 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1237echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1238 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1239echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1240 { (exit 1); exit 1; }; } 1241fi 1242 1243ac_ext=c 1244ac_cpp='$CPP $CPPFLAGS' 1245ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1246ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1247ac_compiler_gnu=$ac_cv_c_compiler_gnu 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270am__api_version="1.7" 1271ac_aux_dir= 1272for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1273 if test -f $ac_dir/install-sh; then 1274 ac_aux_dir=$ac_dir 1275 ac_install_sh="$ac_aux_dir/install-sh -c" 1276 break 1277 elif test -f $ac_dir/install.sh; then 1278 ac_aux_dir=$ac_dir 1279 ac_install_sh="$ac_aux_dir/install.sh -c" 1280 break 1281 elif test -f $ac_dir/shtool; then 1282 ac_aux_dir=$ac_dir 1283 ac_install_sh="$ac_aux_dir/shtool install -c" 1284 break 1285 fi 1286done 1287if test -z "$ac_aux_dir"; then 1288 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1289echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1290 { (exit 1); exit 1; }; } 1291fi 1292ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1293ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1294ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1295 1296# Find a good install program. We prefer a C program (faster), 1297# so one script is as good as another. But avoid the broken or 1298# incompatible versions: 1299# SysV /etc/install, /usr/sbin/install 1300# SunOS /usr/etc/install 1301# IRIX /sbin/install 1302# AIX /bin/install 1303# AmigaOS /C/install, which installs bootblocks on floppy discs 1304# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1305# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1306# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1307# ./install, which can be erroneously created by make from ./install.sh. 1308echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1309echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1310if test -z "$INSTALL"; then 1311if test "${ac_cv_path_install+set}" = set; then 1312 echo $ECHO_N "(cached) $ECHO_C" >&6 1313else 1314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1315for as_dir in $PATH 1316do 1317 IFS=$as_save_IFS 1318 test -z "$as_dir" && as_dir=. 1319 # Account for people who put trailing slashes in PATH elements. 1320case $as_dir/ in 1321 ./ | .// | /cC/* | \ 1322 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1323 /usr/ucb/* ) ;; 1324 *) 1325 # OSF1 and SCO ODT 3.0 have their own names for install. 1326 # Don't use installbsd from OSF since it installs stuff as root 1327 # by default. 1328 for ac_prog in ginstall scoinst install; do 1329 for ac_exec_ext in '' $ac_executable_extensions; do 1330 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1331 if test $ac_prog = install && 1332 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1333 # AIX install. It has an incompatible calling convention. 1334 : 1335 elif test $ac_prog = install && 1336 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1337 # program-specific install script used by HP pwplus--don't use. 1338 : 1339 else 1340 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1341 break 3 1342 fi 1343 fi 1344 done 1345 done 1346 ;; 1347esac 1348done 1349 1350 1351fi 1352 if test "${ac_cv_path_install+set}" = set; then 1353 INSTALL=$ac_cv_path_install 1354 else 1355 # As a last resort, use the slow shell script. We don't cache a 1356 # path for INSTALL within a source directory, because that will 1357 # break other packages using the cache if that directory is 1358 # removed, or if the path is relative. 1359 INSTALL=$ac_install_sh 1360 fi 1361fi 1362echo "$as_me:$LINENO: result: $INSTALL" >&5 1363echo "${ECHO_T}$INSTALL" >&6 1364 1365# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1366# It thinks the first close brace ends the variable substitution. 1367test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1368 1369test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1370 1371test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1372 1373echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1374echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1375# Just in case 1376sleep 1 1377echo timestamp > conftest.file 1378# Do `set' in a subshell so we don't clobber the current shell's 1379# arguments. Must try -L first in case configure is actually a 1380# symlink; some systems play weird games with the mod time of symlinks 1381# (eg FreeBSD returns the mod time of the symlink's containing 1382# directory). 1383if ( 1384 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1385 if test "$*" = "X"; then 1386 # -L didn't work. 1387 set X `ls -t $srcdir/configure conftest.file` 1388 fi 1389 rm -f conftest.file 1390 if test "$*" != "X $srcdir/configure conftest.file" \ 1391 && test "$*" != "X conftest.file $srcdir/configure"; then 1392 1393 # If neither matched, then we have a broken ls. This can happen 1394 # if, for instance, CONFIG_SHELL is bash and it inherits a 1395 # broken ls alias from the environment. This has actually 1396 # happened. Such a system could not be considered "sane". 1397 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1398alias in your environment" >&5 1399echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1400alias in your environment" >&2;} 1401 { (exit 1); exit 1; }; } 1402 fi 1403 1404 test "$2" = conftest.file 1405 ) 1406then 1407 # Ok. 1408 : 1409else 1410 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1411Check your system clock" >&5 1412echo "$as_me: error: newly created file is older than distributed files! 1413Check your system clock" >&2;} 1414 { (exit 1); exit 1; }; } 1415fi 1416echo "$as_me:$LINENO: result: yes" >&5 1417echo "${ECHO_T}yes" >&6 1418test "$program_prefix" != NONE && 1419 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1420# Use a double $ so make ignores it. 1421test "$program_suffix" != NONE && 1422 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1423# Double any \ or $. echo might interpret backslashes. 1424# By default was `s,x,x', remove it if useless. 1425cat <<\_ACEOF >conftest.sed 1426s/[\\$]/&&/g;s/;s,x,x,$// 1427_ACEOF 1428program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1429rm conftest.sed 1430 1431 1432# expand $ac_aux_dir to an absolute path 1433am_aux_dir=`cd $ac_aux_dir && pwd` 1434 1435test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1436# Use eval to expand $SHELL 1437if eval "$MISSING --run true"; then 1438 am_missing_run="$MISSING --run " 1439else 1440 am_missing_run= 1441 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1442echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1443fi 1444 1445for ac_prog in gawk mawk nawk awk 1446do 1447 # Extract the first word of "$ac_prog", so it can be a program name with args. 1448set dummy $ac_prog; ac_word=$2 1449echo "$as_me:$LINENO: checking for $ac_word" >&5 1450echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1451if test "${ac_cv_prog_AWK+set}" = set; then 1452 echo $ECHO_N "(cached) $ECHO_C" >&6 1453else 1454 if test -n "$AWK"; then 1455 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1456else 1457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1458for as_dir in $PATH 1459do 1460 IFS=$as_save_IFS 1461 test -z "$as_dir" && as_dir=. 1462 for ac_exec_ext in '' $ac_executable_extensions; do 1463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1464 ac_cv_prog_AWK="$ac_prog" 1465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1466 break 2 1467 fi 1468done 1469done 1470 1471fi 1472fi 1473AWK=$ac_cv_prog_AWK 1474if test -n "$AWK"; then 1475 echo "$as_me:$LINENO: result: $AWK" >&5 1476echo "${ECHO_T}$AWK" >&6 1477else 1478 echo "$as_me:$LINENO: result: no" >&5 1479echo "${ECHO_T}no" >&6 1480fi 1481 1482 test -n "$AWK" && break 1483done 1484 1485echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1486echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1487set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1488if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1489 echo $ECHO_N "(cached) $ECHO_C" >&6 1490else 1491 cat >conftest.make <<\_ACEOF 1492all: 1493 @echo 'ac_maketemp="$(MAKE)"' 1494_ACEOF 1495# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1496eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1497if test -n "$ac_maketemp"; then 1498 eval ac_cv_prog_make_${ac_make}_set=yes 1499else 1500 eval ac_cv_prog_make_${ac_make}_set=no 1501fi 1502rm -f conftest.make 1503fi 1504if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1505 echo "$as_me:$LINENO: result: yes" >&5 1506echo "${ECHO_T}yes" >&6 1507 SET_MAKE= 1508else 1509 echo "$as_me:$LINENO: result: no" >&5 1510echo "${ECHO_T}no" >&6 1511 SET_MAKE="MAKE=${MAKE-make}" 1512fi 1513 1514rm -rf .tst 2>/dev/null 1515mkdir .tst 2>/dev/null 1516if test -d .tst; then 1517 am__leading_dot=. 1518else 1519 am__leading_dot=_ 1520fi 1521rmdir .tst 2>/dev/null 1522 1523 # test to see if srcdir already configured 1524if test "`cd $srcdir && pwd`" != "`pwd`" && 1525 test -f $srcdir/config.status; then 1526 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1527echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1528 { (exit 1); exit 1; }; } 1529fi 1530 1531# test whether we have cygpath 1532if test -z "$CYGPATH_W"; then 1533 if (cygpath --version) >/dev/null 2>/dev/null; then 1534 CYGPATH_W='cygpath -w' 1535 else 1536 CYGPATH_W=echo 1537 fi 1538fi 1539 1540 1541# Define the identity of the package. 1542 PACKAGE=gensig 1543 VERSION=2.3 1544 1545 1546cat >>confdefs.h <<_ACEOF 1547#define PACKAGE "$PACKAGE" 1548_ACEOF 1549 1550 1551cat >>confdefs.h <<_ACEOF 1552#define VERSION "$VERSION" 1553_ACEOF 1554 1555# Some tools Automake needs. 1556 1557ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1558 1559 1560AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1561 1562 1563AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1564 1565 1566AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1567 1568 1569MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1570 1571 1572AMTAR=${AMTAR-"${am_missing_run}tar"} 1573 1574install_sh=${install_sh-"$am_aux_dir/install-sh"} 1575 1576# Installed binaries are usually stripped using `strip' when the user 1577# run `make install-strip'. However `strip' might not be the right 1578# tool to use in cross-compilation environments, therefore Automake 1579# will honor the `STRIP' environment variable to overrule this program. 1580if test "$cross_compiling" != no; then 1581 if test -n "$ac_tool_prefix"; then 1582 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1583set dummy ${ac_tool_prefix}strip; ac_word=$2 1584echo "$as_me:$LINENO: checking for $ac_word" >&5 1585echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1586if test "${ac_cv_prog_STRIP+set}" = set; then 1587 echo $ECHO_N "(cached) $ECHO_C" >&6 1588else 1589 if test -n "$STRIP"; then 1590 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1591else 1592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1593for as_dir in $PATH 1594do 1595 IFS=$as_save_IFS 1596 test -z "$as_dir" && as_dir=. 1597 for ac_exec_ext in '' $ac_executable_extensions; do 1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1599 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1601 break 2 1602 fi 1603done 1604done 1605 1606fi 1607fi 1608STRIP=$ac_cv_prog_STRIP 1609if test -n "$STRIP"; then 1610 echo "$as_me:$LINENO: result: $STRIP" >&5 1611echo "${ECHO_T}$STRIP" >&6 1612else 1613 echo "$as_me:$LINENO: result: no" >&5 1614echo "${ECHO_T}no" >&6 1615fi 1616 1617fi 1618if test -z "$ac_cv_prog_STRIP"; then 1619 ac_ct_STRIP=$STRIP 1620 # Extract the first word of "strip", so it can be a program name with args. 1621set dummy strip; ac_word=$2 1622echo "$as_me:$LINENO: checking for $ac_word" >&5 1623echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1624if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1625 echo $ECHO_N "(cached) $ECHO_C" >&6 1626else 1627 if test -n "$ac_ct_STRIP"; then 1628 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1629else 1630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1631for as_dir in $PATH 1632do 1633 IFS=$as_save_IFS 1634 test -z "$as_dir" && as_dir=. 1635 for ac_exec_ext in '' $ac_executable_extensions; do 1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1637 ac_cv_prog_ac_ct_STRIP="strip" 1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1639 break 2 1640 fi 1641done 1642done 1643 1644 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1645fi 1646fi 1647ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1648if test -n "$ac_ct_STRIP"; then 1649 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1650echo "${ECHO_T}$ac_ct_STRIP" >&6 1651else 1652 echo "$as_me:$LINENO: result: no" >&5 1653echo "${ECHO_T}no" >&6 1654fi 1655 1656 STRIP=$ac_ct_STRIP 1657else 1658 STRIP="$ac_cv_prog_STRIP" 1659fi 1660 1661fi 1662INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1663 1664# We need awk for the "check" target. The system "awk" is bad on 1665# some platforms. 1666 1667 1668 1669 ac_config_headers="$ac_config_headers config.h" 1670 1671 1672 1673 1674 1675 1676 1677ac_ext=c 1678ac_cpp='$CPP $CPPFLAGS' 1679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1680ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1681ac_compiler_gnu=$ac_cv_c_compiler_gnu 1682if test -n "$ac_tool_prefix"; then 1683 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1684set dummy ${ac_tool_prefix}gcc; ac_word=$2 1685echo "$as_me:$LINENO: checking for $ac_word" >&5 1686echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1687if test "${ac_cv_prog_CC+set}" = set; then 1688 echo $ECHO_N "(cached) $ECHO_C" >&6 1689else 1690 if test -n "$CC"; then 1691 ac_cv_prog_CC="$CC" # Let the user override the test. 1692else 1693as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1694for as_dir in $PATH 1695do 1696 IFS=$as_save_IFS 1697 test -z "$as_dir" && as_dir=. 1698 for ac_exec_ext in '' $ac_executable_extensions; do 1699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1700 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1702 break 2 1703 fi 1704done 1705done 1706 1707fi 1708fi 1709CC=$ac_cv_prog_CC 1710if test -n "$CC"; then 1711 echo "$as_me:$LINENO: result: $CC" >&5 1712echo "${ECHO_T}$CC" >&6 1713else 1714 echo "$as_me:$LINENO: result: no" >&5 1715echo "${ECHO_T}no" >&6 1716fi 1717 1718fi 1719if test -z "$ac_cv_prog_CC"; then 1720 ac_ct_CC=$CC 1721 # Extract the first word of "gcc", so it can be a program name with args. 1722set dummy gcc; ac_word=$2 1723echo "$as_me:$LINENO: checking for $ac_word" >&5 1724echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1725if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1726 echo $ECHO_N "(cached) $ECHO_C" >&6 1727else 1728 if test -n "$ac_ct_CC"; then 1729 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1730else 1731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1732for as_dir in $PATH 1733do 1734 IFS=$as_save_IFS 1735 test -z "$as_dir" && as_dir=. 1736 for ac_exec_ext in '' $ac_executable_extensions; do 1737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1738 ac_cv_prog_ac_ct_CC="gcc" 1739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1740 break 2 1741 fi 1742done 1743done 1744 1745fi 1746fi 1747ac_ct_CC=$ac_cv_prog_ac_ct_CC 1748if test -n "$ac_ct_CC"; then 1749 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1750echo "${ECHO_T}$ac_ct_CC" >&6 1751else 1752 echo "$as_me:$LINENO: result: no" >&5 1753echo "${ECHO_T}no" >&6 1754fi 1755 1756 CC=$ac_ct_CC 1757else 1758 CC="$ac_cv_prog_CC" 1759fi 1760 1761if test -z "$CC"; then 1762 if test -n "$ac_tool_prefix"; then 1763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1764set dummy ${ac_tool_prefix}cc; ac_word=$2 1765echo "$as_me:$LINENO: checking for $ac_word" >&5 1766echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1767if test "${ac_cv_prog_CC+set}" = set; then 1768 echo $ECHO_N "(cached) $ECHO_C" >&6 1769else 1770 if test -n "$CC"; then 1771 ac_cv_prog_CC="$CC" # Let the user override the test. 1772else 1773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1774for as_dir in $PATH 1775do 1776 IFS=$as_save_IFS 1777 test -z "$as_dir" && as_dir=. 1778 for ac_exec_ext in '' $ac_executable_extensions; do 1779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1780 ac_cv_prog_CC="${ac_tool_prefix}cc" 1781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1782 break 2 1783 fi 1784done 1785done 1786 1787fi 1788fi 1789CC=$ac_cv_prog_CC 1790if test -n "$CC"; then 1791 echo "$as_me:$LINENO: result: $CC" >&5 1792echo "${ECHO_T}$CC" >&6 1793else 1794 echo "$as_me:$LINENO: result: no" >&5 1795echo "${ECHO_T}no" >&6 1796fi 1797 1798fi 1799if test -z "$ac_cv_prog_CC"; then 1800 ac_ct_CC=$CC 1801 # Extract the first word of "cc", so it can be a program name with args. 1802set dummy cc; ac_word=$2 1803echo "$as_me:$LINENO: checking for $ac_word" >&5 1804echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1805if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1806 echo $ECHO_N "(cached) $ECHO_C" >&6 1807else 1808 if test -n "$ac_ct_CC"; then 1809 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1810else 1811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1812for as_dir in $PATH 1813do 1814 IFS=$as_save_IFS 1815 test -z "$as_dir" && as_dir=. 1816 for ac_exec_ext in '' $ac_executable_extensions; do 1817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1818 ac_cv_prog_ac_ct_CC="cc" 1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1820 break 2 1821 fi 1822done 1823done 1824 1825fi 1826fi 1827ac_ct_CC=$ac_cv_prog_ac_ct_CC 1828if test -n "$ac_ct_CC"; then 1829 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1830echo "${ECHO_T}$ac_ct_CC" >&6 1831else 1832 echo "$as_me:$LINENO: result: no" >&5 1833echo "${ECHO_T}no" >&6 1834fi 1835 1836 CC=$ac_ct_CC 1837else 1838 CC="$ac_cv_prog_CC" 1839fi 1840 1841fi 1842if test -z "$CC"; then 1843 # Extract the first word of "cc", so it can be a program name with args. 1844set dummy cc; ac_word=$2 1845echo "$as_me:$LINENO: checking for $ac_word" >&5 1846echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1847if test "${ac_cv_prog_CC+set}" = set; then 1848 echo $ECHO_N "(cached) $ECHO_C" >&6 1849else 1850 if test -n "$CC"; then 1851 ac_cv_prog_CC="$CC" # Let the user override the test. 1852else 1853 ac_prog_rejected=no 1854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1855for as_dir in $PATH 1856do 1857 IFS=$as_save_IFS 1858 test -z "$as_dir" && as_dir=. 1859 for ac_exec_ext in '' $ac_executable_extensions; do 1860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1861 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1862 ac_prog_rejected=yes 1863 continue 1864 fi 1865 ac_cv_prog_CC="cc" 1866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1867 break 2 1868 fi 1869done 1870done 1871 1872if test $ac_prog_rejected = yes; then 1873 # We found a bogon in the path, so make sure we never use it. 1874 set dummy $ac_cv_prog_CC 1875 shift 1876 if test $# != 0; then 1877 # We chose a different compiler from the bogus one. 1878 # However, it has the same basename, so the bogon will be chosen 1879 # first if we set CC to just the basename; use the full file name. 1880 shift 1881 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1882 fi 1883fi 1884fi 1885fi 1886CC=$ac_cv_prog_CC 1887if test -n "$CC"; then 1888 echo "$as_me:$LINENO: result: $CC" >&5 1889echo "${ECHO_T}$CC" >&6 1890else 1891 echo "$as_me:$LINENO: result: no" >&5 1892echo "${ECHO_T}no" >&6 1893fi 1894 1895fi 1896if test -z "$CC"; then 1897 if test -n "$ac_tool_prefix"; then 1898 for ac_prog in cl 1899 do 1900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1901set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1902echo "$as_me:$LINENO: checking for $ac_word" >&5 1903echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1904if test "${ac_cv_prog_CC+set}" = set; then 1905 echo $ECHO_N "(cached) $ECHO_C" >&6 1906else 1907 if test -n "$CC"; then 1908 ac_cv_prog_CC="$CC" # Let the user override the test. 1909else 1910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1911for as_dir in $PATH 1912do 1913 IFS=$as_save_IFS 1914 test -z "$as_dir" && as_dir=. 1915 for ac_exec_ext in '' $ac_executable_extensions; do 1916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1917 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1919 break 2 1920 fi 1921done 1922done 1923 1924fi 1925fi 1926CC=$ac_cv_prog_CC 1927if test -n "$CC"; then 1928 echo "$as_me:$LINENO: result: $CC" >&5 1929echo "${ECHO_T}$CC" >&6 1930else 1931 echo "$as_me:$LINENO: result: no" >&5 1932echo "${ECHO_T}no" >&6 1933fi 1934 1935 test -n "$CC" && break 1936 done 1937fi 1938if test -z "$CC"; then 1939 ac_ct_CC=$CC 1940 for ac_prog in cl 1941do 1942 # Extract the first word of "$ac_prog", so it can be a program name with args. 1943set dummy $ac_prog; ac_word=$2 1944echo "$as_me:$LINENO: checking for $ac_word" >&5 1945echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1946if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1947 echo $ECHO_N "(cached) $ECHO_C" >&6 1948else 1949 if test -n "$ac_ct_CC"; then 1950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1951else 1952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1953for as_dir in $PATH 1954do 1955 IFS=$as_save_IFS 1956 test -z "$as_dir" && as_dir=. 1957 for ac_exec_ext in '' $ac_executable_extensions; do 1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1959 ac_cv_prog_ac_ct_CC="$ac_prog" 1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1961 break 2 1962 fi 1963done 1964done 1965 1966fi 1967fi 1968ac_ct_CC=$ac_cv_prog_ac_ct_CC 1969if test -n "$ac_ct_CC"; then 1970 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1971echo "${ECHO_T}$ac_ct_CC" >&6 1972else 1973 echo "$as_me:$LINENO: result: no" >&5 1974echo "${ECHO_T}no" >&6 1975fi 1976 1977 test -n "$ac_ct_CC" && break 1978done 1979 1980 CC=$ac_ct_CC 1981fi 1982 1983fi 1984 1985 1986test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1987See \`config.log' for more details." >&5 1988echo "$as_me: error: no acceptable C compiler found in \$PATH 1989See \`config.log' for more details." >&2;} 1990 { (exit 1); exit 1; }; } 1991 1992# Provide some information about the compiler. 1993echo "$as_me:$LINENO:" \ 1994 "checking for C compiler version" >&5 1995ac_compiler=`set X $ac_compile; echo $2` 1996{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1997 (eval $ac_compiler --version </dev/null >&5) 2>&5 1998 ac_status=$? 1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2000 (exit $ac_status); } 2001{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2002 (eval $ac_compiler -v </dev/null >&5) 2>&5 2003 ac_status=$? 2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2005 (exit $ac_status); } 2006{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2007 (eval $ac_compiler -V </dev/null >&5) 2>&5 2008 ac_status=$? 2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2010 (exit $ac_status); } 2011 2012cat >conftest.$ac_ext <<_ACEOF 2013#line $LINENO "configure" 2014/* confdefs.h. */ 2015_ACEOF 2016cat confdefs.h >>conftest.$ac_ext 2017cat >>conftest.$ac_ext <<_ACEOF 2018/* end confdefs.h. */ 2019 2020int 2021main () 2022{ 2023 2024 ; 2025 return 0; 2026} 2027_ACEOF 2028ac_clean_files_save=$ac_clean_files 2029ac_clean_files="$ac_clean_files a.out a.exe b.out" 2030# Try to create an executable without -o first, disregard a.out. 2031# It will help us diagnose broken compilers, and finding out an intuition 2032# of exeext. 2033echo "$as_me:$LINENO: checking for C compiler default output" >&5 2034echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2035ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2036if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2037 (eval $ac_link_default) 2>&5 2038 ac_status=$? 2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2040 (exit $ac_status); }; then 2041 # Find the output, starting from the most likely. This scheme is 2042# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2043# resort. 2044 2045# Be careful to initialize this variable, since it used to be cached. 2046# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2047ac_cv_exeext= 2048# b.out is created by i960 compilers. 2049for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2050do 2051 test -f "$ac_file" || continue 2052 case $ac_file in 2053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2054 ;; 2055 conftest.$ac_ext ) 2056 # This is the source file. 2057 ;; 2058 [ab].out ) 2059 # We found the default executable, but exeext='' is most 2060 # certainly right. 2061 break;; 2062 *.* ) 2063 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2064 # FIXME: I believe we export ac_cv_exeext for Libtool, 2065 # but it would be cool to find out if it's true. Does anybody 2066 # maintain Libtool? --akim. 2067 export ac_cv_exeext 2068 break;; 2069 * ) 2070 break;; 2071 esac 2072done 2073else 2074 echo "$as_me: failed program was:" >&5 2075sed 's/^/| /' conftest.$ac_ext >&5 2076 2077{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2078See \`config.log' for more details." >&5 2079echo "$as_me: error: C compiler cannot create executables 2080See \`config.log' for more details." >&2;} 2081 { (exit 77); exit 77; }; } 2082fi 2083 2084ac_exeext=$ac_cv_exeext 2085echo "$as_me:$LINENO: result: $ac_file" >&5 2086echo "${ECHO_T}$ac_file" >&6 2087 2088# Check the compiler produces executables we can run. If not, either 2089# the compiler is broken, or we cross compile. 2090echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2091echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2092# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2093# If not cross compiling, check that we can run a simple program. 2094if test "$cross_compiling" != yes; then 2095 if { ac_try='./$ac_file' 2096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2097 (eval $ac_try) 2>&5 2098 ac_status=$? 2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2100 (exit $ac_status); }; }; then 2101 cross_compiling=no 2102 else 2103 if test "$cross_compiling" = maybe; then 2104 cross_compiling=yes 2105 else 2106 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2107If you meant to cross compile, use \`--host'. 2108See \`config.log' for more details." >&5 2109echo "$as_me: error: cannot run C compiled programs. 2110If you meant to cross compile, use \`--host'. 2111See \`config.log' for more details." >&2;} 2112 { (exit 1); exit 1; }; } 2113 fi 2114 fi 2115fi 2116echo "$as_me:$LINENO: result: yes" >&5 2117echo "${ECHO_T}yes" >&6 2118 2119rm -f a.out a.exe conftest$ac_cv_exeext b.out 2120ac_clean_files=$ac_clean_files_save 2121# Check the compiler produces executables we can run. If not, either 2122# the compiler is broken, or we cross compile. 2123echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2124echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2125echo "$as_me:$LINENO: result: $cross_compiling" >&5 2126echo "${ECHO_T}$cross_compiling" >&6 2127 2128echo "$as_me:$LINENO: checking for suffix of executables" >&5 2129echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2130if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2131 (eval $ac_link) 2>&5 2132 ac_status=$? 2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2134 (exit $ac_status); }; then 2135 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2136# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2137# work properly (i.e., refer to `conftest.exe'), while it won't with 2138# `rm'. 2139for ac_file in conftest.exe conftest conftest.*; do 2140 test -f "$ac_file" || continue 2141 case $ac_file in 2142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2143 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2144 export ac_cv_exeext 2145 break;; 2146 * ) break;; 2147 esac 2148done 2149else 2150 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2151See \`config.log' for more details." >&5 2152echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2153See \`config.log' for more details." >&2;} 2154 { (exit 1); exit 1; }; } 2155fi 2156 2157rm -f conftest$ac_cv_exeext 2158echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2159echo "${ECHO_T}$ac_cv_exeext" >&6 2160 2161rm -f conftest.$ac_ext 2162EXEEXT=$ac_cv_exeext 2163ac_exeext=$EXEEXT 2164echo "$as_me:$LINENO: checking for suffix of object files" >&5 2165echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2166if test "${ac_cv_objext+set}" = set; then 2167 echo $ECHO_N "(cached) $ECHO_C" >&6 2168else 2169 cat >conftest.$ac_ext <<_ACEOF 2170#line $LINENO "configure" 2171/* confdefs.h. */ 2172_ACEOF 2173cat confdefs.h >>conftest.$ac_ext 2174cat >>conftest.$ac_ext <<_ACEOF 2175/* end confdefs.h. */ 2176 2177int 2178main () 2179{ 2180 2181 ; 2182 return 0; 2183} 2184_ACEOF 2185rm -f conftest.o conftest.obj 2186if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2187 (eval $ac_compile) 2>&5 2188 ac_status=$? 2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2190 (exit $ac_status); }; then 2191 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2192 case $ac_file in 2193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2194 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2195 break;; 2196 esac 2197done 2198else 2199 echo "$as_me: failed program was:" >&5 2200sed 's/^/| /' conftest.$ac_ext >&5 2201 2202{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2203See \`config.log' for more details." >&5 2204echo "$as_me: error: cannot compute suffix of object files: cannot compile 2205See \`config.log' for more details." >&2;} 2206 { (exit 1); exit 1; }; } 2207fi 2208 2209rm -f conftest.$ac_cv_objext conftest.$ac_ext 2210fi 2211echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2212echo "${ECHO_T}$ac_cv_objext" >&6 2213OBJEXT=$ac_cv_objext 2214ac_objext=$OBJEXT 2215echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2216echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2217if test "${ac_cv_c_compiler_gnu+set}" = set; then 2218 echo $ECHO_N "(cached) $ECHO_C" >&6 2219else 2220 cat >conftest.$ac_ext <<_ACEOF 2221#line $LINENO "configure" 2222/* confdefs.h. */ 2223_ACEOF 2224cat confdefs.h >>conftest.$ac_ext 2225cat >>conftest.$ac_ext <<_ACEOF 2226/* end confdefs.h. */ 2227 2228int 2229main () 2230{ 2231#ifndef __GNUC__ 2232 choke me 2233#endif 2234 2235 ; 2236 return 0; 2237} 2238_ACEOF 2239rm -f conftest.$ac_objext 2240if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2241 (eval $ac_compile) 2>&5 2242 ac_status=$? 2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2244 (exit $ac_status); } && 2245 { ac_try='test -s conftest.$ac_objext' 2246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2247 (eval $ac_try) 2>&5 2248 ac_status=$? 2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2250 (exit $ac_status); }; }; then 2251 ac_compiler_gnu=yes 2252else 2253 echo "$as_me: failed program was:" >&5 2254sed 's/^/| /' conftest.$ac_ext >&5 2255 2256ac_compiler_gnu=no 2257fi 2258rm -f conftest.$ac_objext conftest.$ac_ext 2259ac_cv_c_compiler_gnu=$ac_compiler_gnu 2260 2261fi 2262echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2263echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2264GCC=`test $ac_compiler_gnu = yes && echo yes` 2265ac_test_CFLAGS=${CFLAGS+set} 2266ac_save_CFLAGS=$CFLAGS 2267CFLAGS="-g" 2268echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2269echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2270if test "${ac_cv_prog_cc_g+set}" = set; then 2271 echo $ECHO_N "(cached) $ECHO_C" >&6 2272else 2273 cat >conftest.$ac_ext <<_ACEOF 2274#line $LINENO "configure" 2275/* confdefs.h. */ 2276_ACEOF 2277cat confdefs.h >>conftest.$ac_ext 2278cat >>conftest.$ac_ext <<_ACEOF 2279/* end confdefs.h. */ 2280 2281int 2282main () 2283{ 2284 2285 ; 2286 return 0; 2287} 2288_ACEOF 2289rm -f conftest.$ac_objext 2290if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2291 (eval $ac_compile) 2>&5 2292 ac_status=$? 2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2294 (exit $ac_status); } && 2295 { ac_try='test -s conftest.$ac_objext' 2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2297 (eval $ac_try) 2>&5 2298 ac_status=$? 2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2300 (exit $ac_status); }; }; then 2301 ac_cv_prog_cc_g=yes 2302else 2303 echo "$as_me: failed program was:" >&5 2304sed 's/^/| /' conftest.$ac_ext >&5 2305 2306ac_cv_prog_cc_g=no 2307fi 2308rm -f conftest.$ac_objext conftest.$ac_ext 2309fi 2310echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2311echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2312if test "$ac_test_CFLAGS" = set; then 2313 CFLAGS=$ac_save_CFLAGS 2314elif test $ac_cv_prog_cc_g = yes; then 2315 if test "$GCC" = yes; then 2316 CFLAGS="-g -O2" 2317 else 2318 CFLAGS="-g" 2319 fi 2320else 2321 if test "$GCC" = yes; then 2322 CFLAGS="-O2" 2323 else 2324 CFLAGS= 2325 fi 2326fi 2327echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2328echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2329if test "${ac_cv_prog_cc_stdc+set}" = set; then 2330 echo $ECHO_N "(cached) $ECHO_C" >&6 2331else 2332 ac_cv_prog_cc_stdc=no 2333ac_save_CC=$CC 2334cat >conftest.$ac_ext <<_ACEOF 2335#line $LINENO "configure" 2336/* confdefs.h. */ 2337_ACEOF 2338cat confdefs.h >>conftest.$ac_ext 2339cat >>conftest.$ac_ext <<_ACEOF 2340/* end confdefs.h. */ 2341#include <stdarg.h> 2342#include <stdio.h> 2343#include <sys/types.h> 2344#include <sys/stat.h> 2345/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2346struct buf { int x; }; 2347FILE * (*rcsopen) (struct buf *, struct stat *, int); 2348static char *e (p, i) 2349 char **p; 2350 int i; 2351{ 2352 return p[i]; 2353} 2354static char *f (char * (*g) (char **, int), char **p, ...) 2355{ 2356 char *s; 2357 va_list v; 2358 va_start (v,p); 2359 s = g (p, va_arg (v,int)); 2360 va_end (v); 2361 return s; 2362} 2363int test (int i, double x); 2364struct s1 {int (*f) (int a);}; 2365struct s2 {int (*f) (double a);}; 2366int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2367int argc; 2368char **argv; 2369int 2370main () 2371{ 2372return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2373 ; 2374 return 0; 2375} 2376_ACEOF 2377# Don't try gcc -ansi; that turns off useful extensions and 2378# breaks some systems' header files. 2379# AIX -qlanglvl=ansi 2380# Ultrix and OSF/1 -std1 2381# HP-UX 10.20 and later -Ae 2382# HP-UX older versions -Aa -D_HPUX_SOURCE 2383# SVR4 -Xc -D__EXTENSIONS__ 2384for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2385do 2386 CC="$ac_save_CC $ac_arg" 2387 rm -f conftest.$ac_objext 2388if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2389 (eval $ac_compile) 2>&5 2390 ac_status=$? 2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2392 (exit $ac_status); } && 2393 { ac_try='test -s conftest.$ac_objext' 2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2395 (eval $ac_try) 2>&5 2396 ac_status=$? 2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2398 (exit $ac_status); }; }; then 2399 ac_cv_prog_cc_stdc=$ac_arg 2400break 2401else 2402 echo "$as_me: failed program was:" >&5 2403sed 's/^/| /' conftest.$ac_ext >&5 2404 2405fi 2406rm -f conftest.$ac_objext 2407done 2408rm -f conftest.$ac_ext conftest.$ac_objext 2409CC=$ac_save_CC 2410 2411fi 2412 2413case "x$ac_cv_prog_cc_stdc" in 2414 x|xno) 2415 echo "$as_me:$LINENO: result: none needed" >&5 2416echo "${ECHO_T}none needed" >&6 ;; 2417 *) 2418 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2419echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2420 CC="$CC $ac_cv_prog_cc_stdc" ;; 2421esac 2422 2423# Some people use a C++ compiler to compile C. Since we use `exit', 2424# in C++ we need to declare it. In case someone uses the same compiler 2425# for both compiling C and C++ we need to have the C++ compiler decide 2426# the declaration of exit, since it's the most demanding environment. 2427cat >conftest.$ac_ext <<_ACEOF 2428#ifndef __cplusplus 2429 choke me 2430#endif 2431_ACEOF 2432rm -f conftest.$ac_objext 2433if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2434 (eval $ac_compile) 2>&5 2435 ac_status=$? 2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2437 (exit $ac_status); } && 2438 { ac_try='test -s conftest.$ac_objext' 2439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2440 (eval $ac_try) 2>&5 2441 ac_status=$? 2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2443 (exit $ac_status); }; }; then 2444 for ac_declaration in \ 2445 ''\ 2446 '#include <stdlib.h>' \ 2447 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2448 'extern "C" void std::exit (int); using std::exit;' \ 2449 'extern "C" void exit (int) throw ();' \ 2450 'extern "C" void exit (int);' \ 2451 'void exit (int);' 2452do 2453 cat >conftest.$ac_ext <<_ACEOF 2454#line $LINENO "configure" 2455/* confdefs.h. */ 2456_ACEOF 2457cat confdefs.h >>conftest.$ac_ext 2458cat >>conftest.$ac_ext <<_ACEOF 2459/* end confdefs.h. */ 2460#include <stdlib.h> 2461$ac_declaration 2462int 2463main () 2464{ 2465exit (42); 2466 ; 2467 return 0; 2468} 2469_ACEOF 2470rm -f conftest.$ac_objext 2471if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2472 (eval $ac_compile) 2>&5 2473 ac_status=$? 2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2475 (exit $ac_status); } && 2476 { ac_try='test -s conftest.$ac_objext' 2477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2478 (eval $ac_try) 2>&5 2479 ac_status=$? 2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2481 (exit $ac_status); }; }; then 2482 : 2483else 2484 echo "$as_me: failed program was:" >&5 2485sed 's/^/| /' conftest.$ac_ext >&5 2486 2487continue 2488fi 2489rm -f conftest.$ac_objext conftest.$ac_ext 2490 cat >conftest.$ac_ext <<_ACEOF 2491#line $LINENO "configure" 2492/* confdefs.h. */ 2493_ACEOF 2494cat confdefs.h >>conftest.$ac_ext 2495cat >>conftest.$ac_ext <<_ACEOF 2496/* end confdefs.h. */ 2497$ac_declaration 2498int 2499main () 2500{ 2501exit (42); 2502 ; 2503 return 0; 2504} 2505_ACEOF 2506rm -f conftest.$ac_objext 2507if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2508 (eval $ac_compile) 2>&5 2509 ac_status=$? 2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2511 (exit $ac_status); } && 2512 { ac_try='test -s conftest.$ac_objext' 2513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2514 (eval $ac_try) 2>&5 2515 ac_status=$? 2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2517 (exit $ac_status); }; }; then 2518 break 2519else 2520 echo "$as_me: failed program was:" >&5 2521sed 's/^/| /' conftest.$ac_ext >&5 2522 2523fi 2524rm -f conftest.$ac_objext conftest.$ac_ext 2525done 2526rm -f conftest* 2527if test -n "$ac_declaration"; then 2528 echo '#ifdef __cplusplus' >>confdefs.h 2529 echo $ac_declaration >>confdefs.h 2530 echo '#endif' >>confdefs.h 2531fi 2532 2533else 2534 echo "$as_me: failed program was:" >&5 2535sed 's/^/| /' conftest.$ac_ext >&5 2536 2537fi 2538rm -f conftest.$ac_objext conftest.$ac_ext 2539ac_ext=c 2540ac_cpp='$CPP $CPPFLAGS' 2541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2543ac_compiler_gnu=$ac_cv_c_compiler_gnu 2544DEPDIR="${am__leading_dot}deps" 2545 2546 ac_config_commands="$ac_config_commands depfiles" 2547 2548 2549am_make=${MAKE-make} 2550cat > confinc << 'END' 2551am__doit: 2552 @echo done 2553.PHONY: am__doit 2554END 2555# If we don't find an include directive, just comment out the code. 2556echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2557echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2558am__include="#" 2559am__quote= 2560_am_result=none 2561# First try GNU make style include. 2562echo "include confinc" > confmf 2563# We grep out `Entering directory' and `Leaving directory' 2564# messages which can occur if `w' ends up in MAKEFLAGS. 2565# In particular we don't look at `^make:' because GNU make might 2566# be invoked under some other name (usually "gmake"), in which 2567# case it prints its new name instead of `make'. 2568if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2569 am__include=include 2570 am__quote= 2571 _am_result=GNU 2572fi 2573# Now try BSD make style include. 2574if test "$am__include" = "#"; then 2575 echo '.include "confinc"' > confmf 2576 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2577 am__include=.include 2578 am__quote="\"" 2579 _am_result=BSD 2580 fi 2581fi 2582 2583 2584echo "$as_me:$LINENO: result: $_am_result" >&5 2585echo "${ECHO_T}$_am_result" >&6 2586rm -f confinc confmf 2587 2588# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2589if test "${enable_dependency_tracking+set}" = set; then 2590 enableval="$enable_dependency_tracking" 2591 2592fi; 2593if test "x$enable_dependency_tracking" != xno; then 2594 am_depcomp="$ac_aux_dir/depcomp" 2595 AMDEPBACKSLASH='\' 2596fi 2597 2598 2599if test "x$enable_dependency_tracking" != xno; then 2600 AMDEP_TRUE= 2601 AMDEP_FALSE='#' 2602else 2603 AMDEP_TRUE='#' 2604 AMDEP_FALSE= 2605fi 2606 2607 2608 2609 2610depcc="$CC" am_compiler_list= 2611 2612echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2613echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2614if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2615 echo $ECHO_N "(cached) $ECHO_C" >&6 2616else 2617 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2618 # We make a subdir and do the tests there. Otherwise we can end up 2619 # making bogus files that we don't know about and never remove. For 2620 # instance it was reported that on HP-UX the gcc test will end up 2621 # making a dummy file named `D' -- because `-MD' means `put the output 2622 # in D'. 2623 mkdir conftest.dir 2624 # Copy depcomp to subdir because otherwise we won't find it if we're 2625 # using a relative directory. 2626 cp "$am_depcomp" conftest.dir 2627 cd conftest.dir 2628 # We will build objects and dependencies in a subdirectory because 2629 # it helps to detect inapplicable dependency modes. For instance 2630 # both Tru64's cc and ICC support -MD to output dependencies as a 2631 # side effect of compilation, but ICC will put the dependencies in 2632 # the current directory while Tru64 will put them in the object 2633 # directory. 2634 mkdir sub 2635 2636 am_cv_CC_dependencies_compiler_type=none 2637 if test "$am_compiler_list" = ""; then 2638 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2639 fi 2640 for depmode in $am_compiler_list; do 2641 # Setup a source with many dependencies, because some compilers 2642 # like to wrap large dependency lists on column 80 (with \), and 2643 # we should not choose a depcomp mode which is confused by this. 2644 # 2645 # We need to recreate these files for each test, as the compiler may 2646 # overwrite some of them when testing with obscure command lines. 2647 # This happens at least with the AIX C compiler. 2648 : > sub/conftest.c 2649 for i in 1 2 3 4 5 6; do 2650 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2651 : > sub/conftst$i.h 2652 done 2653 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2654 2655 case $depmode in 2656 nosideeffect) 2657 # after this tag, mechanisms are not by side-effect, so they'll 2658 # only be used when explicitly requested 2659 if test "x$enable_dependency_tracking" = xyes; then 2660 continue 2661 else 2662 break 2663 fi 2664 ;; 2665 none) break ;; 2666 esac 2667 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2668 # mode. It turns out that the SunPro C++ compiler does not properly 2669 # handle `-M -o', and we need to detect this. 2670 if depmode=$depmode \ 2671 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2672 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2673 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2674 >/dev/null 2>conftest.err && 2675 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2676 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2677 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2678 # icc doesn't choke on unknown options, it will just issue warnings 2679 # (even with -Werror). So we grep stderr for any message 2680 # that says an option was ignored. 2681 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2682 am_cv_CC_dependencies_compiler_type=$depmode 2683 break 2684 fi 2685 fi 2686 done 2687 2688 cd .. 2689 rm -rf conftest.dir 2690else 2691 am_cv_CC_dependencies_compiler_type=none 2692fi 2693 2694fi 2695echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2696echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2697CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2698 2699 2700 2701if 2702 test "x$enable_dependency_tracking" != xno \ 2703 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2704 am__fastdepCC_TRUE= 2705 am__fastdepCC_FALSE='#' 2706else 2707 am__fastdepCC_TRUE='#' 2708 am__fastdepCC_FALSE= 2709fi 2710 2711 2712# Find a good install program. We prefer a C program (faster), 2713# so one script is as good as another. But avoid the broken or 2714# incompatible versions: 2715# SysV /etc/install, /usr/sbin/install 2716# SunOS /usr/etc/install 2717# IRIX /sbin/install 2718# AIX /bin/install 2719# AmigaOS /C/install, which installs bootblocks on floppy discs 2720# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2721# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2722# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2723# ./install, which can be erroneously created by make from ./install.sh. 2724echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2725echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2726if test -z "$INSTALL"; then 2727if test "${ac_cv_path_install+set}" = set; then 2728 echo $ECHO_N "(cached) $ECHO_C" >&6 2729else 2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2731for as_dir in $PATH 2732do 2733 IFS=$as_save_IFS 2734 test -z "$as_dir" && as_dir=. 2735 # Account for people who put trailing slashes in PATH elements. 2736case $as_dir/ in 2737 ./ | .// | /cC/* | \ 2738 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2739 /usr/ucb/* ) ;; 2740 *) 2741 # OSF1 and SCO ODT 3.0 have their own names for install. 2742 # Don't use installbsd from OSF since it installs stuff as root 2743 # by default. 2744 for ac_prog in ginstall scoinst install; do 2745 for ac_exec_ext in '' $ac_executable_extensions; do 2746 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2747 if test $ac_prog = install && 2748 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2749 # AIX install. It has an incompatible calling convention. 2750 : 2751 elif test $ac_prog = install && 2752 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2753 # program-specific install script used by HP pwplus--don't use. 2754 : 2755 else 2756 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2757 break 3 2758 fi 2759 fi 2760 done 2761 done 2762 ;; 2763esac 2764done 2765 2766 2767fi 2768 if test "${ac_cv_path_install+set}" = set; then 2769 INSTALL=$ac_cv_path_install 2770 else 2771 # As a last resort, use the slow shell script. We don't cache a 2772 # path for INSTALL within a source directory, because that will 2773 # break other packages using the cache if that directory is 2774 # removed, or if the path is relative. 2775 INSTALL=$ac_install_sh 2776 fi 2777fi 2778echo "$as_me:$LINENO: result: $INSTALL" >&5 2779echo "${ECHO_T}$INSTALL" >&6 2780 2781# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2782# It thinks the first close brace ends the variable substitution. 2783test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2784 2785test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2786 2787test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2788 2789 2790 2791echo Looking for header files 2792 2793ac_ext=c 2794ac_cpp='$CPP $CPPFLAGS' 2795ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2796ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2797ac_compiler_gnu=$ac_cv_c_compiler_gnu 2798echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2799echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2800# On Suns, sometimes $CPP names a directory. 2801if test -n "$CPP" && test -d "$CPP"; then 2802 CPP= 2803fi 2804if test -z "$CPP"; then 2805 if test "${ac_cv_prog_CPP+set}" = set; then 2806 echo $ECHO_N "(cached) $ECHO_C" >&6 2807else 2808 # Double quotes because CPP needs to be expanded 2809 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2810 do 2811 ac_preproc_ok=false 2812for ac_c_preproc_warn_flag in '' yes 2813do 2814 # Use a header file that comes with gcc, so configuring glibc 2815 # with a fresh cross-compiler works. 2816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2817 # <limits.h> exists even on freestanding compilers. 2818 # On the NeXT, cc -E runs the code through the compiler's parser, 2819 # not just through cpp. "Syntax error" is here to catch this case. 2820 cat >conftest.$ac_ext <<_ACEOF 2821#line $LINENO "configure" 2822/* confdefs.h. */ 2823_ACEOF 2824cat confdefs.h >>conftest.$ac_ext 2825cat >>conftest.$ac_ext <<_ACEOF 2826/* end confdefs.h. */ 2827#ifdef __STDC__ 2828# include <limits.h> 2829#else 2830# include <assert.h> 2831#endif 2832 Syntax error 2833_ACEOF 2834if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2836 ac_status=$? 2837 grep -v '^ *+' conftest.er1 >conftest.err 2838 rm -f conftest.er1 2839 cat conftest.err >&5 2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2841 (exit $ac_status); } >/dev/null; then 2842 if test -s conftest.err; then 2843 ac_cpp_err=$ac_c_preproc_warn_flag 2844 else 2845 ac_cpp_err= 2846 fi 2847else 2848 ac_cpp_err=yes 2849fi 2850if test -z "$ac_cpp_err"; then 2851 : 2852else 2853 echo "$as_me: failed program was:" >&5 2854sed 's/^/| /' conftest.$ac_ext >&5 2855 2856 # Broken: fails on valid input. 2857continue 2858fi 2859rm -f conftest.err conftest.$ac_ext 2860 2861 # OK, works on sane cases. Now check whether non-existent headers 2862 # can be detected and how. 2863 cat >conftest.$ac_ext <<_ACEOF 2864#line $LINENO "configure" 2865/* confdefs.h. */ 2866_ACEOF 2867cat confdefs.h >>conftest.$ac_ext 2868cat >>conftest.$ac_ext <<_ACEOF 2869/* end confdefs.h. */ 2870#include <ac_nonexistent.h> 2871_ACEOF 2872if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2874 ac_status=$? 2875 grep -v '^ *+' conftest.er1 >conftest.err 2876 rm -f conftest.er1 2877 cat conftest.err >&5 2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2879 (exit $ac_status); } >/dev/null; then 2880 if test -s conftest.err; then 2881 ac_cpp_err=$ac_c_preproc_warn_flag 2882 else 2883 ac_cpp_err= 2884 fi 2885else 2886 ac_cpp_err=yes 2887fi 2888if test -z "$ac_cpp_err"; then 2889 # Broken: success on invalid input. 2890continue 2891else 2892 echo "$as_me: failed program was:" >&5 2893sed 's/^/| /' conftest.$ac_ext >&5 2894 2895 # Passes both tests. 2896ac_preproc_ok=: 2897break 2898fi 2899rm -f conftest.err conftest.$ac_ext 2900 2901done 2902# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2903rm -f conftest.err conftest.$ac_ext 2904if $ac_preproc_ok; then 2905 break 2906fi 2907 2908 done 2909 ac_cv_prog_CPP=$CPP 2910 2911fi 2912 CPP=$ac_cv_prog_CPP 2913else 2914 ac_cv_prog_CPP=$CPP 2915fi 2916echo "$as_me:$LINENO: result: $CPP" >&5 2917echo "${ECHO_T}$CPP" >&6 2918ac_preproc_ok=false 2919for ac_c_preproc_warn_flag in '' yes 2920do 2921 # Use a header file that comes with gcc, so configuring glibc 2922 # with a fresh cross-compiler works. 2923 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2924 # <limits.h> exists even on freestanding compilers. 2925 # On the NeXT, cc -E runs the code through the compiler's parser, 2926 # not just through cpp. "Syntax error" is here to catch this case. 2927 cat >conftest.$ac_ext <<_ACEOF 2928#line $LINENO "configure" 2929/* confdefs.h. */ 2930_ACEOF 2931cat confdefs.h >>conftest.$ac_ext 2932cat >>conftest.$ac_ext <<_ACEOF 2933/* end confdefs.h. */ 2934#ifdef __STDC__ 2935# include <limits.h> 2936#else 2937# include <assert.h> 2938#endif 2939 Syntax error 2940_ACEOF 2941if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2943 ac_status=$? 2944 grep -v '^ *+' conftest.er1 >conftest.err 2945 rm -f conftest.er1 2946 cat conftest.err >&5 2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2948 (exit $ac_status); } >/dev/null; then 2949 if test -s conftest.err; then 2950 ac_cpp_err=$ac_c_preproc_warn_flag 2951 else 2952 ac_cpp_err= 2953 fi 2954else 2955 ac_cpp_err=yes 2956fi 2957if test -z "$ac_cpp_err"; then 2958 : 2959else 2960 echo "$as_me: failed program was:" >&5 2961sed 's/^/| /' conftest.$ac_ext >&5 2962 2963 # Broken: fails on valid input. 2964continue 2965fi 2966rm -f conftest.err conftest.$ac_ext 2967 2968 # OK, works on sane cases. Now check whether non-existent headers 2969 # can be detected and how. 2970 cat >conftest.$ac_ext <<_ACEOF 2971#line $LINENO "configure" 2972/* confdefs.h. */ 2973_ACEOF 2974cat confdefs.h >>conftest.$ac_ext 2975cat >>conftest.$ac_ext <<_ACEOF 2976/* end confdefs.h. */ 2977#include <ac_nonexistent.h> 2978_ACEOF 2979if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2981 ac_status=$? 2982 grep -v '^ *+' conftest.er1 >conftest.err 2983 rm -f conftest.er1 2984 cat conftest.err >&5 2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2986 (exit $ac_status); } >/dev/null; then 2987 if test -s conftest.err; then 2988 ac_cpp_err=$ac_c_preproc_warn_flag 2989 else 2990 ac_cpp_err= 2991 fi 2992else 2993 ac_cpp_err=yes 2994fi 2995if test -z "$ac_cpp_err"; then 2996 # Broken: success on invalid input. 2997continue 2998else 2999 echo "$as_me: failed program was:" >&5 3000sed 's/^/| /' conftest.$ac_ext >&5 3001 3002 # Passes both tests. 3003ac_preproc_ok=: 3004break 3005fi 3006rm -f conftest.err conftest.$ac_ext 3007 3008done 3009# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3010rm -f conftest.err conftest.$ac_ext 3011if $ac_preproc_ok; then 3012 : 3013else 3014 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3015See \`config.log' for more details." >&5 3016echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3017See \`config.log' for more details." >&2;} 3018 { (exit 1); exit 1; }; } 3019fi 3020 3021ac_ext=c 3022ac_cpp='$CPP $CPPFLAGS' 3023ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3024ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3025ac_compiler_gnu=$ac_cv_c_compiler_gnu 3026 3027 3028echo "$as_me:$LINENO: checking for egrep" >&5 3029echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3030if test "${ac_cv_prog_egrep+set}" = set; then 3031 echo $ECHO_N "(cached) $ECHO_C" >&6 3032else 3033 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3034 then ac_cv_prog_egrep='grep -E' 3035 else ac_cv_prog_egrep='egrep' 3036 fi 3037fi 3038echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3039echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3040 EGREP=$ac_cv_prog_egrep 3041 3042 3043echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3044echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3045if test "${ac_cv_header_stdc+set}" = set; then 3046 echo $ECHO_N "(cached) $ECHO_C" >&6 3047else 3048 cat >conftest.$ac_ext <<_ACEOF 3049#line $LINENO "configure" 3050/* confdefs.h. */ 3051_ACEOF 3052cat confdefs.h >>conftest.$ac_ext 3053cat >>conftest.$ac_ext <<_ACEOF 3054/* end confdefs.h. */ 3055#include <stdlib.h> 3056#include <stdarg.h> 3057#include <string.h> 3058#include <float.h> 3059 3060int 3061main () 3062{ 3063 3064 ; 3065 return 0; 3066} 3067_ACEOF 3068rm -f conftest.$ac_objext 3069if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3070 (eval $ac_compile) 2>&5 3071 ac_status=$? 3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3073 (exit $ac_status); } && 3074 { ac_try='test -s conftest.$ac_objext' 3075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3076 (eval $ac_try) 2>&5 3077 ac_status=$? 3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3079 (exit $ac_status); }; }; then 3080 ac_cv_header_stdc=yes 3081else 3082 echo "$as_me: failed program was:" >&5 3083sed 's/^/| /' conftest.$ac_ext >&5 3084 3085ac_cv_header_stdc=no 3086fi 3087rm -f conftest.$ac_objext conftest.$ac_ext 3088 3089if test $ac_cv_header_stdc = yes; then 3090 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3091 cat >conftest.$ac_ext <<_ACEOF 3092#line $LINENO "configure" 3093/* confdefs.h. */ 3094_ACEOF 3095cat confdefs.h >>conftest.$ac_ext 3096cat >>conftest.$ac_ext <<_ACEOF 3097/* end confdefs.h. */ 3098#include <string.h> 3099 3100_ACEOF 3101if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3102 $EGREP "memchr" >/dev/null 2>&1; then 3103 : 3104else 3105 ac_cv_header_stdc=no 3106fi 3107rm -f conftest* 3108 3109fi 3110 3111if test $ac_cv_header_stdc = yes; then 3112 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3113 cat >conftest.$ac_ext <<_ACEOF 3114#line $LINENO "configure" 3115/* confdefs.h. */ 3116_ACEOF 3117cat confdefs.h >>conftest.$ac_ext 3118cat >>conftest.$ac_ext <<_ACEOF 3119/* end confdefs.h. */ 3120#include <stdlib.h> 3121 3122_ACEOF 3123if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3124 $EGREP "free" >/dev/null 2>&1; then 3125 : 3126else 3127 ac_cv_header_stdc=no 3128fi 3129rm -f conftest* 3130 3131fi 3132 3133if test $ac_cv_header_stdc = yes; then 3134 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3135 if test "$cross_compiling" = yes; then 3136 : 3137else 3138 cat >conftest.$ac_ext <<_ACEOF 3139#line $LINENO "configure" 3140/* confdefs.h. */ 3141_ACEOF 3142cat confdefs.h >>conftest.$ac_ext 3143cat >>conftest.$ac_ext <<_ACEOF 3144/* end confdefs.h. */ 3145#include <ctype.h> 3146#if ((' ' & 0x0FF) == 0x020) 3147# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3148# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3149#else 3150# define ISLOWER(c) \ 3151 (('a' <= (c) && (c) <= 'i') \ 3152 || ('j' <= (c) && (c) <= 'r') \ 3153 || ('s' <= (c) && (c) <= 'z')) 3154# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3155#endif 3156 3157#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3158int 3159main () 3160{ 3161 int i; 3162 for (i = 0; i < 256; i++) 3163 if (XOR (islower (i), ISLOWER (i)) 3164 || toupper (i) != TOUPPER (i)) 3165 exit(2); 3166 exit (0); 3167} 3168_ACEOF 3169rm -f conftest$ac_exeext 3170if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3171 (eval $ac_link) 2>&5 3172 ac_status=$? 3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3174 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3176 (eval $ac_try) 2>&5 3177 ac_status=$? 3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3179 (exit $ac_status); }; }; then 3180 : 3181else 3182 echo "$as_me: program exited with status $ac_status" >&5 3183echo "$as_me: failed program was:" >&5 3184sed 's/^/| /' conftest.$ac_ext >&5 3185 3186( exit $ac_status ) 3187ac_cv_header_stdc=no 3188fi 3189rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3190fi 3191fi 3192fi 3193echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3194echo "${ECHO_T}$ac_cv_header_stdc" >&6 3195if test $ac_cv_header_stdc = yes; then 3196 3197cat >>confdefs.h <<\_ACEOF 3198#define STDC_HEADERS 1 3199_ACEOF 3200 3201fi 3202 3203# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3214 inttypes.h stdint.h unistd.h 3215do 3216as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3217echo "$as_me:$LINENO: checking for $ac_header" >&5 3218echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3219if eval "test \"\${$as_ac_Header+set}\" = set"; then 3220 echo $ECHO_N "(cached) $ECHO_C" >&6 3221else 3222 cat >conftest.$ac_ext <<_ACEOF 3223#line $LINENO "configure" 3224/* confdefs.h. */ 3225_ACEOF 3226cat confdefs.h >>conftest.$ac_ext 3227cat >>conftest.$ac_ext <<_ACEOF 3228/* end confdefs.h. */ 3229$ac_includes_default 3230 3231#include <$ac_header> 3232_ACEOF 3233rm -f conftest.$ac_objext 3234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3235 (eval $ac_compile) 2>&5 3236 ac_status=$? 3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3238 (exit $ac_status); } && 3239 { ac_try='test -s conftest.$ac_objext' 3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3241 (eval $ac_try) 2>&5 3242 ac_status=$? 3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3244 (exit $ac_status); }; }; then 3245 eval "$as_ac_Header=yes" 3246else 3247 echo "$as_me: failed program was:" >&5 3248sed 's/^/| /' conftest.$ac_ext >&5 3249 3250eval "$as_ac_Header=no" 3251fi 3252rm -f conftest.$ac_objext conftest.$ac_ext 3253fi 3254echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3255echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3256if test `eval echo '${'$as_ac_Header'}'` = yes; then 3257 cat >>confdefs.h <<_ACEOF 3258#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3259_ACEOF 3260 3261fi 3262 3263done 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286for ac_header in dirent.h errno.h fcntl.h getopt.h libgen.h printf.h \ 3287 pwd.h siginfo.h signal.h statbuf.h stdio.h stdlib.h string.h \ 3288 syslog.h strings.h sys/stat.h sys/time.h time.h sys/types.h unistd.h 3289do 3290as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3291if eval "test \"\${$as_ac_Header+set}\" = set"; then 3292 echo "$as_me:$LINENO: checking for $ac_header" >&5 3293echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3294if eval "test \"\${$as_ac_Header+set}\" = set"; then 3295 echo $ECHO_N "(cached) $ECHO_C" >&6 3296fi 3297echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3298echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3299else 3300 # Is the header compilable? 3301echo "$as_me:$LINENO: checking $ac_header usability" >&5 3302echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3303cat >conftest.$ac_ext <<_ACEOF 3304#line $LINENO "configure" 3305/* confdefs.h. */ 3306_ACEOF 3307cat confdefs.h >>conftest.$ac_ext 3308cat >>conftest.$ac_ext <<_ACEOF 3309/* end confdefs.h. */ 3310$ac_includes_default 3311#include <$ac_header> 3312_ACEOF 3313rm -f conftest.$ac_objext 3314if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3315 (eval $ac_compile) 2>&5 3316 ac_status=$? 3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3318 (exit $ac_status); } && 3319 { ac_try='test -s conftest.$ac_objext' 3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3321 (eval $ac_try) 2>&5 3322 ac_status=$? 3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3324 (exit $ac_status); }; }; then 3325 ac_header_compiler=yes 3326else 3327 echo "$as_me: failed program was:" >&5 3328sed 's/^/| /' conftest.$ac_ext >&5 3329 3330ac_header_compiler=no 3331fi 3332rm -f conftest.$ac_objext conftest.$ac_ext 3333echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3334echo "${ECHO_T}$ac_header_compiler" >&6 3335 3336# Is the header present? 3337echo "$as_me:$LINENO: checking $ac_header presence" >&5 3338echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3339cat >conftest.$ac_ext <<_ACEOF 3340#line $LINENO "configure" 3341/* confdefs.h. */ 3342_ACEOF 3343cat confdefs.h >>conftest.$ac_ext 3344cat >>conftest.$ac_ext <<_ACEOF 3345/* end confdefs.h. */ 3346#include <$ac_header> 3347_ACEOF 3348if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3350 ac_status=$? 3351 grep -v '^ *+' conftest.er1 >conftest.err 3352 rm -f conftest.er1 3353 cat conftest.err >&5 3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3355 (exit $ac_status); } >/dev/null; then 3356 if test -s conftest.err; then 3357 ac_cpp_err=$ac_c_preproc_warn_flag 3358 else 3359 ac_cpp_err= 3360 fi 3361else 3362 ac_cpp_err=yes 3363fi 3364if test -z "$ac_cpp_err"; then 3365 ac_header_preproc=yes 3366else 3367 echo "$as_me: failed program was:" >&5 3368sed 's/^/| /' conftest.$ac_ext >&5 3369 3370 ac_header_preproc=no 3371fi 3372rm -f conftest.err conftest.$ac_ext 3373echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3374echo "${ECHO_T}$ac_header_preproc" >&6 3375 3376# So? What about this header? 3377case $ac_header_compiler:$ac_header_preproc in 3378 yes:no ) 3379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3380echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3382echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3383 ( 3384 cat <<\_ASBOX 3385## ------------------------------------ ## 3386## Report this to bug-autoconf@gnu.org. ## 3387## ------------------------------------ ## 3388_ASBOX 3389 ) | 3390 sed "s/^/$as_me: WARNING: /" >&2 3391 ;; 3392 no:yes ) 3393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3394echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3396echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3398echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3399 ( 3400 cat <<\_ASBOX 3401## ------------------------------------ ## 3402## Report this to bug-autoconf@gnu.org. ## 3403## ------------------------------------ ## 3404_ASBOX 3405 ) | 3406 sed "s/^/$as_me: WARNING: /" >&2 3407 ;; 3408esac 3409echo "$as_me:$LINENO: checking for $ac_header" >&5 3410echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3411if eval "test \"\${$as_ac_Header+set}\" = set"; then 3412 echo $ECHO_N "(cached) $ECHO_C" >&6 3413else 3414 eval "$as_ac_Header=$ac_header_preproc" 3415fi 3416echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3417echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3418 3419fi 3420if test `eval echo '${'$as_ac_Header'}'` = yes; then 3421 cat >>confdefs.h <<_ACEOF 3422#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3423_ACEOF 3424 3425fi 3426 3427done 3428 3429 3430echo Looking for typedefs, structures, and compiler characteristics. 3431echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3432echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 3433if test "${ac_cv_c_const+set}" = set; then 3434 echo $ECHO_N "(cached) $ECHO_C" >&6 3435else 3436 cat >conftest.$ac_ext <<_ACEOF 3437#line $LINENO "configure" 3438/* confdefs.h. */ 3439_ACEOF 3440cat confdefs.h >>conftest.$ac_ext 3441cat >>conftest.$ac_ext <<_ACEOF 3442/* end confdefs.h. */ 3443 3444int 3445main () 3446{ 3447/* FIXME: Include the comments suggested by Paul. */ 3448#ifndef __cplusplus 3449 /* Ultrix mips cc rejects this. */ 3450 typedef int charset[2]; 3451 const charset x; 3452 /* SunOS 4.1.1 cc rejects this. */ 3453 char const *const *ccp; 3454 char **p; 3455 /* NEC SVR4.0.2 mips cc rejects this. */ 3456 struct point {int x, y;}; 3457 static struct point const zero = {0,0}; 3458 /* AIX XL C 1.02.0.0 rejects this. 3459 It does not let you subtract one const X* pointer from another in 3460 an arm of an if-expression whose if-part is not a constant 3461 expression */ 3462 const char *g = "string"; 3463 ccp = &g + (g ? g-g : 0); 3464 /* HPUX 7.0 cc rejects these. */ 3465 ++ccp; 3466 p = (char**) ccp; 3467 ccp = (char const *const *) p; 3468 { /* SCO 3.2v4 cc rejects this. */ 3469 char *t; 3470 char const *s = 0 ? (char *) 0 : (char const *) 0; 3471 3472 *t++ = 0; 3473 } 3474 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 3475 int x[] = {25, 17}; 3476 const int *foo = &x[0]; 3477 ++foo; 3478 } 3479 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 3480 typedef const int *iptr; 3481 iptr p = 0; 3482 ++p; 3483 } 3484 { /* AIX XL C 1.02.0.0 rejects this saying 3485 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 3486 struct s { int j; const int *ap[3]; }; 3487 struct s *b; b->j = 5; 3488 } 3489 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3490 const int foo = 10; 3491 } 3492#endif 3493 3494 ; 3495 return 0; 3496} 3497_ACEOF 3498rm -f conftest.$ac_objext 3499if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3500 (eval $ac_compile) 2>&5 3501 ac_status=$? 3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3503 (exit $ac_status); } && 3504 { ac_try='test -s conftest.$ac_objext' 3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3506 (eval $ac_try) 2>&5 3507 ac_status=$? 3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3509 (exit $ac_status); }; }; then 3510 ac_cv_c_const=yes 3511else 3512 echo "$as_me: failed program was:" >&5 3513sed 's/^/| /' conftest.$ac_ext >&5 3514 3515ac_cv_c_const=no 3516fi 3517rm -f conftest.$ac_objext conftest.$ac_ext 3518fi 3519echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 3520echo "${ECHO_T}$ac_cv_c_const" >&6 3521if test $ac_cv_c_const = no; then 3522 3523cat >>confdefs.h <<\_ACEOF 3524#define const 3525_ACEOF 3526 3527fi 3528 3529echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 3530echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 3531if test "${ac_cv_header_time+set}" = set; then 3532 echo $ECHO_N "(cached) $ECHO_C" >&6 3533else 3534 cat >conftest.$ac_ext <<_ACEOF 3535#line $LINENO "configure" 3536/* confdefs.h. */ 3537_ACEOF 3538cat confdefs.h >>conftest.$ac_ext 3539cat >>conftest.$ac_ext <<_ACEOF 3540/* end confdefs.h. */ 3541#include <sys/types.h> 3542#include <sys/time.h> 3543#include <time.h> 3544 3545int 3546main () 3547{ 3548if ((struct tm *) 0) 3549return 0; 3550 ; 3551 return 0; 3552} 3553_ACEOF 3554rm -f conftest.$ac_objext 3555if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3556 (eval $ac_compile) 2>&5 3557 ac_status=$? 3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3559 (exit $ac_status); } && 3560 { ac_try='test -s conftest.$ac_objext' 3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3562 (eval $ac_try) 2>&5 3563 ac_status=$? 3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3565 (exit $ac_status); }; }; then 3566 ac_cv_header_time=yes 3567else 3568 echo "$as_me: failed program was:" >&5 3569sed 's/^/| /' conftest.$ac_ext >&5 3570 3571ac_cv_header_time=no 3572fi 3573rm -f conftest.$ac_objext conftest.$ac_ext 3574fi 3575echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 3576echo "${ECHO_T}$ac_cv_header_time" >&6 3577if test $ac_cv_header_time = yes; then 3578 3579cat >>confdefs.h <<\_ACEOF 3580#define TIME_WITH_SYS_TIME 1 3581_ACEOF 3582 3583fi 3584 3585 3586echo Looking for library functions 3587 3588 3589 3590 3591 3592 3593 3594for ac_func in strerror perror strsignal psignal getopt getopt_long random 3595do 3596as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3597echo "$as_me:$LINENO: checking for $ac_func" >&5 3598echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3599if eval "test \"\${$as_ac_var+set}\" = set"; then 3600 echo $ECHO_N "(cached) $ECHO_C" >&6 3601else 3602 cat >conftest.$ac_ext <<_ACEOF 3603#line $LINENO "configure" 3604/* confdefs.h. */ 3605_ACEOF 3606cat confdefs.h >>conftest.$ac_ext 3607cat >>conftest.$ac_ext <<_ACEOF 3608/* end confdefs.h. */ 3609/* System header to define __stub macros and hopefully few prototypes, 3610 which can conflict with char $ac_func (); below. 3611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3612 <limits.h> exists even on freestanding compilers. */ 3613#ifdef __STDC__ 3614# include <limits.h> 3615#else 3616# include <assert.h> 3617#endif 3618/* Override any gcc2 internal prototype to avoid an error. */ 3619#ifdef __cplusplus 3620extern "C" 3621{ 3622#endif 3623/* We use char because int might match the return type of a gcc2 3624 builtin and then its argument prototype would still apply. */ 3625char $ac_func (); 3626/* The GNU C library defines this for functions which it implements 3627 to always fail with ENOSYS. Some functions are actually named 3628 something starting with __ and the normal name is an alias. */ 3629#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3630choke me 3631#else 3632char (*f) () = $ac_func; 3633#endif 3634#ifdef __cplusplus 3635} 3636#endif 3637 3638int 3639main () 3640{ 3641return f != $ac_func; 3642 ; 3643 return 0; 3644} 3645_ACEOF 3646rm -f conftest.$ac_objext conftest$ac_exeext 3647if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3648 (eval $ac_link) 2>&5 3649 ac_status=$? 3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3651 (exit $ac_status); } && 3652 { ac_try='test -s conftest$ac_exeext' 3653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3654 (eval $ac_try) 2>&5 3655 ac_status=$? 3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3657 (exit $ac_status); }; }; then 3658 eval "$as_ac_var=yes" 3659else 3660 echo "$as_me: failed program was:" >&5 3661sed 's/^/| /' conftest.$ac_ext >&5 3662 3663eval "$as_ac_var=no" 3664fi 3665rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3666fi 3667echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3668echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3669if test `eval echo '${'$as_ac_var'}'` = yes; then 3670 cat >>confdefs.h <<_ACEOF 3671#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3672_ACEOF 3673 3674fi 3675done 3676 3677echo Looking for OPTIONAL library functions 3678 3679for ac_func in dirname 3680do 3681as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3682echo "$as_me:$LINENO: checking for $ac_func" >&5 3683echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3684if eval "test \"\${$as_ac_var+set}\" = set"; then 3685 echo $ECHO_N "(cached) $ECHO_C" >&6 3686else 3687 cat >conftest.$ac_ext <<_ACEOF 3688#line $LINENO "configure" 3689/* confdefs.h. */ 3690_ACEOF 3691cat confdefs.h >>conftest.$ac_ext 3692cat >>conftest.$ac_ext <<_ACEOF 3693/* end confdefs.h. */ 3694/* System header to define __stub macros and hopefully few prototypes, 3695 which can conflict with char $ac_func (); below. 3696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3697 <limits.h> exists even on freestanding compilers. */ 3698#ifdef __STDC__ 3699# include <limits.h> 3700#else 3701# include <assert.h> 3702#endif 3703/* Override any gcc2 internal prototype to avoid an error. */ 3704#ifdef __cplusplus 3705extern "C" 3706{ 3707#endif 3708/* We use char because int might match the return type of a gcc2 3709 builtin and then its argument prototype would still apply. */ 3710char $ac_func (); 3711/* The GNU C library defines this for functions which it implements 3712 to always fail with ENOSYS. Some functions are actually named 3713 something starting with __ and the normal name is an alias. */ 3714#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3715choke me 3716#else 3717char (*f) () = $ac_func; 3718#endif 3719#ifdef __cplusplus 3720} 3721#endif 3722 3723int 3724main () 3725{ 3726return f != $ac_func; 3727 ; 3728 return 0; 3729} 3730_ACEOF 3731rm -f conftest.$ac_objext conftest$ac_exeext 3732if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3733 (eval $ac_link) 2>&5 3734 ac_status=$? 3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3736 (exit $ac_status); } && 3737 { ac_try='test -s conftest$ac_exeext' 3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3739 (eval $ac_try) 2>&5 3740 ac_status=$? 3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3742 (exit $ac_status); }; }; then 3743 eval "$as_ac_var=yes" 3744else 3745 echo "$as_me: failed program was:" >&5 3746sed 's/^/| /' conftest.$ac_ext >&5 3747 3748eval "$as_ac_var=no" 3749fi 3750rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3751fi 3752echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3753echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3754if test `eval echo '${'$as_ac_var'}'` = yes; then 3755 cat >>confdefs.h <<_ACEOF 3756#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3757_ACEOF 3758 3759else 3760 LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 3761fi 3762done 3763 3764 3765 3766echo Examining library functions 3767echo "$as_me:$LINENO: checking return type of signal handlers" >&5 3768echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 3769if test "${ac_cv_type_signal+set}" = set; then 3770 echo $ECHO_N "(cached) $ECHO_C" >&6 3771else 3772 cat >conftest.$ac_ext <<_ACEOF 3773#line $LINENO "configure" 3774/* confdefs.h. */ 3775_ACEOF 3776cat confdefs.h >>conftest.$ac_ext 3777cat >>conftest.$ac_ext <<_ACEOF 3778/* end confdefs.h. */ 3779#include <sys/types.h> 3780#include <signal.h> 3781#ifdef signal 3782# undef signal 3783#endif 3784#ifdef __cplusplus 3785extern "C" void (*signal (int, void (*)(int)))(int); 3786#else 3787void (*signal ()) (); 3788#endif 3789 3790int 3791main () 3792{ 3793int i; 3794 ; 3795 return 0; 3796} 3797_ACEOF 3798rm -f conftest.$ac_objext 3799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3800 (eval $ac_compile) 2>&5 3801 ac_status=$? 3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3803 (exit $ac_status); } && 3804 { ac_try='test -s conftest.$ac_objext' 3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3806 (eval $ac_try) 2>&5 3807 ac_status=$? 3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3809 (exit $ac_status); }; }; then 3810 ac_cv_type_signal=void 3811else 3812 echo "$as_me: failed program was:" >&5 3813sed 's/^/| /' conftest.$ac_ext >&5 3814 3815ac_cv_type_signal=int 3816fi 3817rm -f conftest.$ac_objext conftest.$ac_ext 3818fi 3819echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 3820echo "${ECHO_T}$ac_cv_type_signal" >&6 3821 3822cat >>confdefs.h <<_ACEOF 3823#define RETSIGTYPE $ac_cv_type_signal 3824_ACEOF 3825 3826 3827 3828echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 3829echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6 3830if test "${ac_cv_have_decl_sys_siglist+set}" = set; then 3831 echo $ECHO_N "(cached) $ECHO_C" >&6 3832else 3833 cat >conftest.$ac_ext <<_ACEOF 3834#line $LINENO "configure" 3835/* confdefs.h. */ 3836_ACEOF 3837cat confdefs.h >>conftest.$ac_ext 3838cat >>conftest.$ac_ext <<_ACEOF 3839/* end confdefs.h. */ 3840$ac_includes_default 3841int 3842main () 3843{ 3844#ifndef sys_siglist 3845 char *p = (char *) sys_siglist; 3846#endif 3847 3848 ; 3849 return 0; 3850} 3851_ACEOF 3852rm -f conftest.$ac_objext 3853if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3854 (eval $ac_compile) 2>&5 3855 ac_status=$? 3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3857 (exit $ac_status); } && 3858 { ac_try='test -s conftest.$ac_objext' 3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3860 (eval $ac_try) 2>&5 3861 ac_status=$? 3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3863 (exit $ac_status); }; }; then 3864 ac_cv_have_decl_sys_siglist=yes 3865else 3866 echo "$as_me: failed program was:" >&5 3867sed 's/^/| /' conftest.$ac_ext >&5 3868 3869ac_cv_have_decl_sys_siglist=no 3870fi 3871rm -f conftest.$ac_objext conftest.$ac_ext 3872fi 3873echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 3874echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6 3875if test $ac_cv_have_decl_sys_siglist = yes; then 3876 3877cat >>confdefs.h <<_ACEOF 3878#define HAVE_DECL_SYS_SIGLIST 1 3879_ACEOF 3880 3881 3882else 3883 cat >>confdefs.h <<_ACEOF 3884#define HAVE_DECL_SYS_SIGLIST 0 3885_ACEOF 3886 3887 3888fi 3889 3890 3891 3892 3893 ac_config_files="$ac_config_files Makefile gensig.1 cattag.1 unsupported/Makefile" 3894cat >confcache <<\_ACEOF 3895# This file is a shell script that caches the results of configure 3896# tests run on this system so they can be shared between configure 3897# scripts and configure runs, see configure's option --config-cache. 3898# It is not useful on other systems. If it contains results you don't 3899# want to keep, you may remove or edit it. 3900# 3901# config.status only pays attention to the cache file if you give it 3902# the --recheck option to rerun configure. 3903# 3904# `ac_cv_env_foo' variables (set or unset) will be overridden when 3905# loading this file, other *unset* `ac_cv_foo' will be assigned the 3906# following values. 3907 3908_ACEOF 3909 3910# The following way of writing the cache mishandles newlines in values, 3911# but we know of no workaround that is simple, portable, and efficient. 3912# So, don't put newlines in cache variables' values. 3913# Ultrix sh set writes to stderr and can't be redirected directly, 3914# and sets the high bit in the cache file unless we assign to the vars. 3915{ 3916 (set) 2>&1 | 3917 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3918 *ac_space=\ *) 3919 # `set' does not quote correctly, so add quotes (double-quote 3920 # substitution turns \\\\ into \\, and sed turns \\ into \). 3921 sed -n \ 3922 "s/'/'\\\\''/g; 3923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3924 ;; 3925 *) 3926 # `set' quotes correctly as required by POSIX, so do not add quotes. 3927 sed -n \ 3928 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3929 ;; 3930 esac; 3931} | 3932 sed ' 3933 t clear 3934 : clear 3935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3936 t end 3937 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3938 : end' >>confcache 3939if diff $cache_file confcache >/dev/null 2>&1; then :; else 3940 if test -w $cache_file; then 3941 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3942 cat confcache >$cache_file 3943 else 3944 echo "not updating unwritable cache $cache_file" 3945 fi 3946fi 3947rm -f confcache 3948 3949test "x$prefix" = xNONE && prefix=$ac_default_prefix 3950# Let make expand exec_prefix. 3951test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3952 3953# VPATH may cause trouble with some makes, so we remove $(srcdir), 3954# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3955# trailing colons and then remove the whole line if VPATH becomes empty 3956# (actually we leave an empty line to preserve line numbers). 3957if test "x$srcdir" = x.; then 3958 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3959s/:*\$(srcdir):*/:/; 3960s/:*\${srcdir}:*/:/; 3961s/:*@srcdir@:*/:/; 3962s/^\([^=]*=[ ]*\):*/\1/; 3963s/:*$//; 3964s/^[^=]*=[ ]*$//; 3965}' 3966fi 3967 3968DEFS=-DHAVE_CONFIG_H 3969 3970ac_libobjs= 3971ac_ltlibobjs= 3972for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3973 # 1. Remove the extension, and $U if already installed. 3974 ac_i=`echo "$ac_i" | 3975 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3976 # 2. Add them. 3977 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3978 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 3979done 3980LIBOBJS=$ac_libobjs 3981 3982LTLIBOBJS=$ac_ltlibobjs 3983 3984 3985if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 3986 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 3987Usually this means the macro was only invoked conditionally." >&5 3988echo "$as_me: error: conditional \"AMDEP\" was never defined. 3989Usually this means the macro was only invoked conditionally." >&2;} 3990 { (exit 1); exit 1; }; } 3991fi 3992if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 3993 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 3994Usually this means the macro was only invoked conditionally." >&5 3995echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 3996Usually this means the macro was only invoked conditionally." >&2;} 3997 { (exit 1); exit 1; }; } 3998fi 3999 4000: ${CONFIG_STATUS=./config.status} 4001ac_clean_files_save=$ac_clean_files 4002ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4003{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4004echo "$as_me: creating $CONFIG_STATUS" >&6;} 4005cat >$CONFIG_STATUS <<_ACEOF 4006#! $SHELL 4007# Generated by $as_me. 4008# Run this file to recreate the current configuration. 4009# Compiler output produced by configure, useful for debugging 4010# configure, is in config.log if it exists. 4011 4012debug=false 4013ac_cs_recheck=false 4014ac_cs_silent=false 4015SHELL=\${CONFIG_SHELL-$SHELL} 4016_ACEOF 4017 4018cat >>$CONFIG_STATUS <<\_ACEOF 4019## --------------------- ## 4020## M4sh Initialization. ## 4021## --------------------- ## 4022 4023# Be Bourne compatible 4024if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4025 emulate sh 4026 NULLCMD=: 4027 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 4028 # is contrary to our usage. Disable this feature. 4029 alias -g '${1+"$@"}'='"$@"' 4030elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 4031 set -o posix 4032fi 4033 4034# Support unset when possible. 4035if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 4036 as_unset=unset 4037else 4038 as_unset=false 4039fi 4040 4041 4042# Work around bugs in pre-3.0 UWIN ksh. 4043$as_unset ENV MAIL MAILPATH 4044PS1='$ ' 4045PS2='> ' 4046PS4='+ ' 4047 4048# NLS nuisances. 4049for as_var in \ 4050 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4051 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4052 LC_TELEPHONE LC_TIME 4053do 4054 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 4055 eval $as_var=C; export $as_var 4056 else 4057 $as_unset $as_var 4058 fi 4059done 4060 4061# Required to use basename. 4062if expr a : '\(a\)' >/dev/null 2>&1; then 4063 as_expr=expr 4064else 4065 as_expr=false 4066fi 4067 4068if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 4069 as_basename=basename 4070else 4071 as_basename=false 4072fi 4073 4074 4075# Name of the executable. 4076as_me=`$as_basename "$0" || 4077$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4078 X"$0" : 'X\(//\)$' \| \ 4079 X"$0" : 'X\(/\)$' \| \ 4080 . : '\(.\)' 2>/dev/null || 4081echo X/"$0" | 4082 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 4083 /^X\/\(\/\/\)$/{ s//\1/; q; } 4084 /^X\/\(\/\).*/{ s//\1/; q; } 4085 s/.*/./; q'` 4086 4087 4088# PATH needs CR, and LINENO needs CR and PATH. 4089# Avoid depending upon Character Ranges. 4090as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4091as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4092as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4093as_cr_digits='0123456789' 4094as_cr_alnum=$as_cr_Letters$as_cr_digits 4095 4096# The user is always right. 4097if test "${PATH_SEPARATOR+set}" != set; then 4098 echo "#! /bin/sh" >conf$$.sh 4099 echo "exit 0" >>conf$$.sh 4100 chmod +x conf$$.sh 4101 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4102 PATH_SEPARATOR=';' 4103 else 4104 PATH_SEPARATOR=: 4105 fi 4106 rm -f conf$$.sh 4107fi 4108 4109 4110 as_lineno_1=$LINENO 4111 as_lineno_2=$LINENO 4112 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4113 test "x$as_lineno_1" != "x$as_lineno_2" && 4114 test "x$as_lineno_3" = "x$as_lineno_2" || { 4115 # Find who we are. Look in the path if we contain no path at all 4116 # relative or not. 4117 case $0 in 4118 *[\\/]* ) as_myself=$0 ;; 4119 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4120for as_dir in $PATH 4121do 4122 IFS=$as_save_IFS 4123 test -z "$as_dir" && as_dir=. 4124 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4125done 4126 4127 ;; 4128 esac 4129 # We did not find ourselves, most probably we were run as `sh COMMAND' 4130 # in which case we are not to be found in the path. 4131 if test "x$as_myself" = x; then 4132 as_myself=$0 4133 fi 4134 if test ! -f "$as_myself"; then 4135 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 4136echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 4137 { (exit 1); exit 1; }; } 4138 fi 4139 case $CONFIG_SHELL in 4140 '') 4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4142for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 4143do 4144 IFS=$as_save_IFS 4145 test -z "$as_dir" && as_dir=. 4146 for as_base in sh bash ksh sh5; do 4147 case $as_dir in 4148 /*) 4149 if ("$as_dir/$as_base" -c ' 4150 as_lineno_1=$LINENO 4151 as_lineno_2=$LINENO 4152 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4153 test "x$as_lineno_1" != "x$as_lineno_2" && 4154 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 4155 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 4156 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 4157 CONFIG_SHELL=$as_dir/$as_base 4158 export CONFIG_SHELL 4159 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 4160 fi;; 4161 esac 4162 done 4163done 4164;; 4165 esac 4166 4167 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4168 # uniformly replaced by the line number. The first 'sed' inserts a 4169 # line-number line before each line; the second 'sed' does the real 4170 # work. The second script uses 'N' to pair each line-number line 4171 # with the numbered line, and appends trailing '-' during 4172 # substitution so that $LINENO is not a special case at line end. 4173 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4174 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 4175 sed '=' <$as_myself | 4176 sed ' 4177 N 4178 s,$,-, 4179 : loop 4180 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 4181 t loop 4182 s,-$,, 4183 s,^['$as_cr_digits']*\n,, 4184 ' >$as_me.lineno && 4185 chmod +x $as_me.lineno || 4186 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 4187echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 4188 { (exit 1); exit 1; }; } 4189 4190 # Don't try to exec as it changes $[0], causing all sort of problems 4191 # (the dirname of $[0] is not the place where we might find the 4192 # original and so on. Autoconf is especially sensible to this). 4193 . ./$as_me.lineno 4194 # Exit status is that of the last command. 4195 exit 4196} 4197 4198 4199case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 4200 *c*,-n*) ECHO_N= ECHO_C=' 4201' ECHO_T=' ' ;; 4202 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 4203 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 4204esac 4205 4206if expr a : '\(a\)' >/dev/null 2>&1; then 4207 as_expr=expr 4208else 4209 as_expr=false 4210fi 4211 4212rm -f conf$$ conf$$.exe conf$$.file 4213echo >conf$$.file 4214if ln -s conf$$.file conf$$ 2>/dev/null; then 4215 # We could just check for DJGPP; but this test a) works b) is more generic 4216 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 4217 if test -f conf$$.exe; then 4218 # Don't use ln at all; we don't have any links 4219 as_ln_s='cp -p' 4220 else 4221 as_ln_s='ln -s' 4222 fi 4223elif ln conf$$.file conf$$ 2>/dev/null; then 4224 as_ln_s=ln 4225else 4226 as_ln_s='cp -p' 4227fi 4228rm -f conf$$ conf$$.exe conf$$.file 4229 4230if mkdir -p . 2>/dev/null; then 4231 as_mkdir_p=: 4232else 4233 as_mkdir_p=false 4234fi 4235 4236as_executable_p="test -f" 4237 4238# Sed expression to map a string onto a valid CPP name. 4239as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 4240 4241# Sed expression to map a string onto a valid variable name. 4242as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 4243 4244 4245# IFS 4246# We need space, tab and new line, in precisely that order. 4247as_nl=' 4248' 4249IFS=" $as_nl" 4250 4251# CDPATH. 4252$as_unset CDPATH 4253 4254exec 6>&1 4255 4256# Open the log real soon, to keep \$[0] and so on meaningful, and to 4257# report actual input values of CONFIG_FILES etc. instead of their 4258# values after options handling. Logging --version etc. is OK. 4259exec 5>>config.log 4260{ 4261 echo 4262 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4263## Running $as_me. ## 4264_ASBOX 4265} >&5 4266cat >&5 <<_CSEOF 4267 4268This file was extended by $as_me, which was 4269generated by GNU Autoconf 2.57. Invocation command line was 4270 4271 CONFIG_FILES = $CONFIG_FILES 4272 CONFIG_HEADERS = $CONFIG_HEADERS 4273 CONFIG_LINKS = $CONFIG_LINKS 4274 CONFIG_COMMANDS = $CONFIG_COMMANDS 4275 $ $0 $@ 4276 4277_CSEOF 4278echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 4279echo >&5 4280_ACEOF 4281 4282# Files that config.status was made for. 4283if test -n "$ac_config_files"; then 4284 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 4285fi 4286 4287if test -n "$ac_config_headers"; then 4288 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 4289fi 4290 4291if test -n "$ac_config_links"; then 4292 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 4293fi 4294 4295if test -n "$ac_config_commands"; then 4296 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 4297fi 4298 4299cat >>$CONFIG_STATUS <<\_ACEOF 4300 4301ac_cs_usage="\ 4302\`$as_me' instantiates files from templates according to the 4303current configuration. 4304 4305Usage: $0 [OPTIONS] [FILE]... 4306 4307 -h, --help print this help, then exit 4308 -V, --version print version number, then exit 4309 -q, --quiet do not print progress messages 4310 -d, --debug don't remove temporary files 4311 --recheck update $as_me by reconfiguring in the same conditions 4312 --file=FILE[:TEMPLATE] 4313 instantiate the configuration file FILE 4314 --header=FILE[:TEMPLATE] 4315 instantiate the configuration header FILE 4316 4317Configuration files: 4318$config_files 4319 4320Configuration headers: 4321$config_headers 4322 4323Configuration commands: 4324$config_commands 4325 4326Report bugs to <bug-autoconf@gnu.org>." 4327_ACEOF 4328 4329cat >>$CONFIG_STATUS <<_ACEOF 4330ac_cs_version="\\ 4331config.status 4332configured by $0, generated by GNU Autoconf 2.57, 4333 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4334 4335Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 4336Free Software Foundation, Inc. 4337This config.status script is free software; the Free Software Foundation 4338gives unlimited permission to copy, distribute and modify it." 4339srcdir=$srcdir 4340INSTALL="$INSTALL" 4341_ACEOF 4342 4343cat >>$CONFIG_STATUS <<\_ACEOF 4344# If no file are specified by the user, then we need to provide default 4345# value. By we need to know if files were specified by the user. 4346ac_need_defaults=: 4347while test $# != 0 4348do 4349 case $1 in 4350 --*=*) 4351 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4352 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4353 ac_shift=: 4354 ;; 4355 -*) 4356 ac_option=$1 4357 ac_optarg=$2 4358 ac_shift=shift 4359 ;; 4360 *) # This is not an option, so the user has probably given explicit 4361 # arguments. 4362 ac_option=$1 4363 ac_need_defaults=false;; 4364 esac 4365 4366 case $ac_option in 4367 # Handling of the options. 4368_ACEOF 4369cat >>$CONFIG_STATUS <<\_ACEOF 4370 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4371 ac_cs_recheck=: ;; 4372 --version | --vers* | -V ) 4373 echo "$ac_cs_version"; exit 0 ;; 4374 --he | --h) 4375 # Conflict between --help and --header 4376 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4377Try \`$0 --help' for more information." >&5 4378echo "$as_me: error: ambiguous option: $1 4379Try \`$0 --help' for more information." >&2;} 4380 { (exit 1); exit 1; }; };; 4381 --help | --hel | -h ) 4382 echo "$ac_cs_usage"; exit 0 ;; 4383 --debug | --d* | -d ) 4384 debug=: ;; 4385 --file | --fil | --fi | --f ) 4386 $ac_shift 4387 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4388 ac_need_defaults=false;; 4389 --header | --heade | --head | --hea ) 4390 $ac_shift 4391 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4392 ac_need_defaults=false;; 4393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4394 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4395 ac_cs_silent=: ;; 4396 4397 # This is an error. 4398 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4399Try \`$0 --help' for more information." >&5 4400echo "$as_me: error: unrecognized option: $1 4401Try \`$0 --help' for more information." >&2;} 4402 { (exit 1); exit 1; }; } ;; 4403 4404 *) ac_config_targets="$ac_config_targets $1" ;; 4405 4406 esac 4407 shift 4408done 4409 4410ac_configure_extra_args= 4411 4412if $ac_cs_silent; then 4413 exec 6>/dev/null 4414 ac_configure_extra_args="$ac_configure_extra_args --silent" 4415fi 4416 4417_ACEOF 4418cat >>$CONFIG_STATUS <<_ACEOF 4419if \$ac_cs_recheck; then 4420 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4421 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4422fi 4423 4424_ACEOF 4425 4426cat >>$CONFIG_STATUS <<_ACEOF 4427# 4428# INIT-COMMANDS section. 4429# 4430 4431AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4432 4433_ACEOF 4434 4435 4436 4437cat >>$CONFIG_STATUS <<\_ACEOF 4438for ac_config_target in $ac_config_targets 4439do 4440 case "$ac_config_target" in 4441 # Handling of arguments. 4442 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4443 "gensig.1" ) CONFIG_FILES="$CONFIG_FILES gensig.1" ;; 4444 "cattag.1" ) CONFIG_FILES="$CONFIG_FILES cattag.1" ;; 4445 "unsupported/Makefile" ) CONFIG_FILES="$CONFIG_FILES unsupported/Makefile" ;; 4446 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4447 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4448 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4449echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4450 { (exit 1); exit 1; }; };; 4451 esac 4452done 4453 4454# If the user did not use the arguments to specify the items to instantiate, 4455# then the envvar interface is used. Set only those that are not. 4456# We use the long form for the default assignment because of an extremely 4457# bizarre bug on SunOS 4.1.3. 4458if $ac_need_defaults; then 4459 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4460 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4461 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4462fi 4463 4464# Have a temporary directory for convenience. Make it in the build tree 4465# simply because there is no reason to put it here, and in addition, 4466# creating and moving files from /tmp can sometimes cause problems. 4467# Create a temporary directory, and hook for its removal unless debugging. 4468$debug || 4469{ 4470 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 4471 trap '{ (exit 1); exit 1; }' 1 2 13 15 4472} 4473 4474# Create a (secure) tmp directory for tmp files. 4475 4476{ 4477 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 4478 test -n "$tmp" && test -d "$tmp" 4479} || 4480{ 4481 tmp=./confstat$$-$RANDOM 4482 (umask 077 && mkdir $tmp) 4483} || 4484{ 4485 echo "$me: cannot create a temporary directory in ." >&2 4486 { (exit 1); exit 1; } 4487} 4488 4489_ACEOF 4490 4491cat >>$CONFIG_STATUS <<_ACEOF 4492 4493# 4494# CONFIG_FILES section. 4495# 4496 4497# No need to generate the scripts if there are no CONFIG_FILES. 4498# This happens for instance when ./config.status config.h 4499if test -n "\$CONFIG_FILES"; then 4500 # Protect against being on the right side of a sed subst in config.status. 4501 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 4502 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4503s,@SHELL@,$SHELL,;t t 4504s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4505s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4506s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4507s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4508s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4509s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4510s,@exec_prefix@,$exec_prefix,;t t 4511s,@prefix@,$prefix,;t t 4512s,@program_transform_name@,$program_transform_name,;t t 4513s,@bindir@,$bindir,;t t 4514s,@sbindir@,$sbindir,;t t 4515s,@libexecdir@,$libexecdir,;t t 4516s,@datadir@,$datadir,;t t 4517s,@sysconfdir@,$sysconfdir,;t t 4518s,@sharedstatedir@,$sharedstatedir,;t t 4519s,@localstatedir@,$localstatedir,;t t 4520s,@libdir@,$libdir,;t t 4521s,@includedir@,$includedir,;t t 4522s,@oldincludedir@,$oldincludedir,;t t 4523s,@infodir@,$infodir,;t t 4524s,@mandir@,$mandir,;t t 4525s,@build_alias@,$build_alias,;t t 4526s,@host_alias@,$host_alias,;t t 4527s,@target_alias@,$target_alias,;t t 4528s,@DEFS@,$DEFS,;t t 4529s,@ECHO_C@,$ECHO_C,;t t 4530s,@ECHO_N@,$ECHO_N,;t t 4531s,@ECHO_T@,$ECHO_T,;t t 4532s,@LIBS@,$LIBS,;t t 4533s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 4534s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 4535s,@INSTALL_DATA@,$INSTALL_DATA,;t t 4536s,@CYGPATH_W@,$CYGPATH_W,;t t 4537s,@PACKAGE@,$PACKAGE,;t t 4538s,@VERSION@,$VERSION,;t t 4539s,@ACLOCAL@,$ACLOCAL,;t t 4540s,@AUTOCONF@,$AUTOCONF,;t t 4541s,@AUTOMAKE@,$AUTOMAKE,;t t 4542s,@AUTOHEADER@,$AUTOHEADER,;t t 4543s,@MAKEINFO@,$MAKEINFO,;t t 4544s,@AMTAR@,$AMTAR,;t t 4545s,@install_sh@,$install_sh,;t t 4546s,@STRIP@,$STRIP,;t t 4547s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 4548s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 4549s,@AWK@,$AWK,;t t 4550s,@SET_MAKE@,$SET_MAKE,;t t 4551s,@am__leading_dot@,$am__leading_dot,;t t 4552s,@CC@,$CC,;t t 4553s,@CFLAGS@,$CFLAGS,;t t 4554s,@LDFLAGS@,$LDFLAGS,;t t 4555s,@CPPFLAGS@,$CPPFLAGS,;t t 4556s,@ac_ct_CC@,$ac_ct_CC,;t t 4557s,@EXEEXT@,$EXEEXT,;t t 4558s,@OBJEXT@,$OBJEXT,;t t 4559s,@DEPDIR@,$DEPDIR,;t t 4560s,@am__include@,$am__include,;t t 4561s,@am__quote@,$am__quote,;t t 4562s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 4563s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 4564s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 4565s,@CCDEPMODE@,$CCDEPMODE,;t t 4566s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 4567s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 4568s,@CPP@,$CPP,;t t 4569s,@EGREP@,$EGREP,;t t 4570s,@LIBOBJS@,$LIBOBJS,;t t 4571s,@LTLIBOBJS@,$LTLIBOBJS,;t t 4572CEOF 4573 4574_ACEOF 4575 4576 cat >>$CONFIG_STATUS <<\_ACEOF 4577 # Split the substitutions into bite-sized pieces for seds with 4578 # small command number limits, like on Digital OSF/1 and HP-UX. 4579 ac_max_sed_lines=48 4580 ac_sed_frag=1 # Number of current file. 4581 ac_beg=1 # First line for current file. 4582 ac_end=$ac_max_sed_lines # Line after last line for current file. 4583 ac_more_lines=: 4584 ac_sed_cmds= 4585 while $ac_more_lines; do 4586 if test $ac_beg -gt 1; then 4587 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4588 else 4589 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4590 fi 4591 if test ! -s $tmp/subs.frag; then 4592 ac_more_lines=false 4593 else 4594 # The purpose of the label and of the branching condition is to 4595 # speed up the sed processing (if there are no `@' at all, there 4596 # is no need to browse any of the substitutions). 4597 # These are the two extra sed commands mentioned above. 4598 (echo ':t 4599 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4600 if test -z "$ac_sed_cmds"; then 4601 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4602 else 4603 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4604 fi 4605 ac_sed_frag=`expr $ac_sed_frag + 1` 4606 ac_beg=$ac_end 4607 ac_end=`expr $ac_end + $ac_max_sed_lines` 4608 fi 4609 done 4610 if test -z "$ac_sed_cmds"; then 4611 ac_sed_cmds=cat 4612 fi 4613fi # test -n "$CONFIG_FILES" 4614 4615_ACEOF 4616cat >>$CONFIG_STATUS <<\_ACEOF 4617for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4618 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4619 case $ac_file in 4620 - | *:- | *:-:* ) # input from stdin 4621 cat >$tmp/stdin 4622 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4623 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4624 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4625 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4626 * ) ac_file_in=$ac_file.in ;; 4627 esac 4628 4629 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4630 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4631$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4632 X"$ac_file" : 'X\(//\)[^/]' \| \ 4633 X"$ac_file" : 'X\(//\)$' \| \ 4634 X"$ac_file" : 'X\(/\)' \| \ 4635 . : '\(.\)' 2>/dev/null || 4636echo X"$ac_file" | 4637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4638 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4639 /^X\(\/\/\)$/{ s//\1/; q; } 4640 /^X\(\/\).*/{ s//\1/; q; } 4641 s/.*/./; q'` 4642 { if $as_mkdir_p; then 4643 mkdir -p "$ac_dir" 4644 else 4645 as_dir="$ac_dir" 4646 as_dirs= 4647 while test ! -d "$as_dir"; do 4648 as_dirs="$as_dir $as_dirs" 4649 as_dir=`(dirname "$as_dir") 2>/dev/null || 4650$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4651 X"$as_dir" : 'X\(//\)[^/]' \| \ 4652 X"$as_dir" : 'X\(//\)$' \| \ 4653 X"$as_dir" : 'X\(/\)' \| \ 4654 . : '\(.\)' 2>/dev/null || 4655echo X"$as_dir" | 4656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4657 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4658 /^X\(\/\/\)$/{ s//\1/; q; } 4659 /^X\(\/\).*/{ s//\1/; q; } 4660 s/.*/./; q'` 4661 done 4662 test ! -n "$as_dirs" || mkdir $as_dirs 4663 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4664echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4665 { (exit 1); exit 1; }; }; } 4666 4667 ac_builddir=. 4668 4669if test "$ac_dir" != .; then 4670 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4671 # A "../" for each directory in $ac_dir_suffix. 4672 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4673else 4674 ac_dir_suffix= ac_top_builddir= 4675fi 4676 4677case $srcdir in 4678 .) # No --srcdir option. We are building in place. 4679 ac_srcdir=. 4680 if test -z "$ac_top_builddir"; then 4681 ac_top_srcdir=. 4682 else 4683 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4684 fi ;; 4685 [\\/]* | ?:[\\/]* ) # Absolute path. 4686 ac_srcdir=$srcdir$ac_dir_suffix; 4687 ac_top_srcdir=$srcdir ;; 4688 *) # Relative path. 4689 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4690 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4691esac 4692# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 4693# absolute. 4694ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 4695ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 4696ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 4697ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 4698 4699 4700 case $INSTALL in 4701 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4702 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 4703 esac 4704 4705 if test x"$ac_file" != x-; then 4706 { echo "$as_me:$LINENO: creating $ac_file" >&5 4707echo "$as_me: creating $ac_file" >&6;} 4708 rm -f "$ac_file" 4709 fi 4710 # Let's still pretend it is `configure' which instantiates (i.e., don't 4711 # use $as_me), people would be surprised to read: 4712 # /* config.h. Generated by config.status. */ 4713 if test x"$ac_file" = x-; then 4714 configure_input= 4715 else 4716 configure_input="$ac_file. " 4717 fi 4718 configure_input=$configure_input"Generated from `echo $ac_file_in | 4719 sed 's,.*/,,'` by configure." 4720 4721 # First look for the input files in the build tree, otherwise in the 4722 # src tree. 4723 ac_file_inputs=`IFS=: 4724 for f in $ac_file_in; do 4725 case $f in 4726 -) echo $tmp/stdin ;; 4727 [\\/$]*) 4728 # Absolute (can't be DOS-style, as IFS=:) 4729 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4730echo "$as_me: error: cannot find input file: $f" >&2;} 4731 { (exit 1); exit 1; }; } 4732 echo $f;; 4733 *) # Relative 4734 if test -f "$f"; then 4735 # Build tree 4736 echo $f 4737 elif test -f "$srcdir/$f"; then 4738 # Source tree 4739 echo $srcdir/$f 4740 else 4741 # /dev/null tree 4742 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4743echo "$as_me: error: cannot find input file: $f" >&2;} 4744 { (exit 1); exit 1; }; } 4745 fi;; 4746 esac 4747 done` || { (exit 1); exit 1; } 4748_ACEOF 4749cat >>$CONFIG_STATUS <<_ACEOF 4750 sed "$ac_vpsub 4751$extrasub 4752_ACEOF 4753cat >>$CONFIG_STATUS <<\_ACEOF 4754:t 4755/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4756s,@configure_input@,$configure_input,;t t 4757s,@srcdir@,$ac_srcdir,;t t 4758s,@abs_srcdir@,$ac_abs_srcdir,;t t 4759s,@top_srcdir@,$ac_top_srcdir,;t t 4760s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 4761s,@builddir@,$ac_builddir,;t t 4762s,@abs_builddir@,$ac_abs_builddir,;t t 4763s,@top_builddir@,$ac_top_builddir,;t t 4764s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4765s,@INSTALL@,$ac_INSTALL,;t t 4766" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4767 rm -f $tmp/stdin 4768 if test x"$ac_file" != x-; then 4769 mv $tmp/out $ac_file 4770 else 4771 cat $tmp/out 4772 rm -f $tmp/out 4773 fi 4774 4775done 4776_ACEOF 4777cat >>$CONFIG_STATUS <<\_ACEOF 4778 4779# 4780# CONFIG_HEADER section. 4781# 4782 4783# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 4784# NAME is the cpp macro being defined and VALUE is the value it is being given. 4785# 4786# ac_d sets the value in "#define NAME VALUE" lines. 4787ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 4788ac_dB='[ ].*$,\1#\2' 4789ac_dC=' ' 4790ac_dD=',;t' 4791# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 4792ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 4793ac_uB='$,\1#\2define\3' 4794ac_uC=' ' 4795ac_uD=',;t' 4796 4797for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 4798 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4799 case $ac_file in 4800 - | *:- | *:-:* ) # input from stdin 4801 cat >$tmp/stdin 4802 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4803 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4804 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4805 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4806 * ) ac_file_in=$ac_file.in ;; 4807 esac 4808 4809 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 4810echo "$as_me: creating $ac_file" >&6;} 4811 4812 # First look for the input files in the build tree, otherwise in the 4813 # src tree. 4814 ac_file_inputs=`IFS=: 4815 for f in $ac_file_in; do 4816 case $f in 4817 -) echo $tmp/stdin ;; 4818 [\\/$]*) 4819 # Absolute (can't be DOS-style, as IFS=:) 4820 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4821echo "$as_me: error: cannot find input file: $f" >&2;} 4822 { (exit 1); exit 1; }; } 4823 echo $f;; 4824 *) # Relative 4825 if test -f "$f"; then 4826 # Build tree 4827 echo $f 4828 elif test -f "$srcdir/$f"; then 4829 # Source tree 4830 echo $srcdir/$f 4831 else 4832 # /dev/null tree 4833 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4834echo "$as_me: error: cannot find input file: $f" >&2;} 4835 { (exit 1); exit 1; }; } 4836 fi;; 4837 esac 4838 done` || { (exit 1); exit 1; } 4839 # Remove the trailing spaces. 4840 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 4841 4842_ACEOF 4843 4844# Transform confdefs.h into two sed scripts, `conftest.defines' and 4845# `conftest.undefs', that substitutes the proper values into 4846# config.h.in to produce config.h. The first handles `#define' 4847# templates, and the second `#undef' templates. 4848# And first: Protect against being on the right side of a sed subst in 4849# config.status. Protect against being in an unquoted here document 4850# in config.status. 4851rm -f conftest.defines conftest.undefs 4852# Using a here document instead of a string reduces the quoting nightmare. 4853# Putting comments in sed scripts is not portable. 4854# 4855# `end' is used to avoid that the second main sed command (meant for 4856# 0-ary CPP macros) applies to n-ary macro definitions. 4857# See the Autoconf documentation for `clear'. 4858cat >confdef2sed.sed <<\_ACEOF 4859s/[\\&,]/\\&/g 4860s,[\\$`],\\&,g 4861t clear 4862: clear 4863s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 4864t end 4865s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 4866: end 4867_ACEOF 4868# If some macros were called several times there might be several times 4869# the same #defines, which is useless. Nevertheless, we may not want to 4870# sort them, since we want the *last* AC-DEFINE to be honored. 4871uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 4872sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 4873rm -f confdef2sed.sed 4874 4875# This sed command replaces #undef with comments. This is necessary, for 4876# example, in the case of _POSIX_SOURCE, which is predefined and required 4877# on some systems where configure will not decide to define it. 4878cat >>conftest.undefs <<\_ACEOF 4879s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4880_ACEOF 4881 4882# Break up conftest.defines because some shells have a limit on the size 4883# of here documents, and old seds have small limits too (100 cmds). 4884echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 4885echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 4886echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 4887echo ' :' >>$CONFIG_STATUS 4888rm -f conftest.tail 4889while grep . conftest.defines >/dev/null 4890do 4891 # Write a limited-size here document to $tmp/defines.sed. 4892 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 4893 # Speed up: don't consider the non `#define' lines. 4894 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 4895 # Work around the forget-to-reset-the-flag bug. 4896 echo 't clr' >>$CONFIG_STATUS 4897 echo ': clr' >>$CONFIG_STATUS 4898 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 4899 echo 'CEOF 4900 sed -f $tmp/defines.sed $tmp/in >$tmp/out 4901 rm -f $tmp/in 4902 mv $tmp/out $tmp/in 4903' >>$CONFIG_STATUS 4904 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 4905 rm -f conftest.defines 4906 mv conftest.tail conftest.defines 4907done 4908rm -f conftest.defines 4909echo ' fi # grep' >>$CONFIG_STATUS 4910echo >>$CONFIG_STATUS 4911 4912# Break up conftest.undefs because some shells have a limit on the size 4913# of here documents, and old seds have small limits too (100 cmds). 4914echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 4915rm -f conftest.tail 4916while grep . conftest.undefs >/dev/null 4917do 4918 # Write a limited-size here document to $tmp/undefs.sed. 4919 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 4920 # Speed up: don't consider the non `#undef' 4921 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 4922 # Work around the forget-to-reset-the-flag bug. 4923 echo 't clr' >>$CONFIG_STATUS 4924 echo ': clr' >>$CONFIG_STATUS 4925 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 4926 echo 'CEOF 4927 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 4928 rm -f $tmp/in 4929 mv $tmp/out $tmp/in 4930' >>$CONFIG_STATUS 4931 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 4932 rm -f conftest.undefs 4933 mv conftest.tail conftest.undefs 4934done 4935rm -f conftest.undefs 4936 4937cat >>$CONFIG_STATUS <<\_ACEOF 4938 # Let's still pretend it is `configure' which instantiates (i.e., don't 4939 # use $as_me), people would be surprised to read: 4940 # /* config.h. Generated by config.status. */ 4941 if test x"$ac_file" = x-; then 4942 echo "/* Generated by configure. */" >$tmp/config.h 4943 else 4944 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 4945 fi 4946 cat $tmp/in >>$tmp/config.h 4947 rm -f $tmp/in 4948 if test x"$ac_file" != x-; then 4949 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 4950 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 4951echo "$as_me: $ac_file is unchanged" >&6;} 4952 else 4953 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4954$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4955 X"$ac_file" : 'X\(//\)[^/]' \| \ 4956 X"$ac_file" : 'X\(//\)$' \| \ 4957 X"$ac_file" : 'X\(/\)' \| \ 4958 . : '\(.\)' 2>/dev/null || 4959echo X"$ac_file" | 4960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4961 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4962 /^X\(\/\/\)$/{ s//\1/; q; } 4963 /^X\(\/\).*/{ s//\1/; q; } 4964 s/.*/./; q'` 4965 { if $as_mkdir_p; then 4966 mkdir -p "$ac_dir" 4967 else 4968 as_dir="$ac_dir" 4969 as_dirs= 4970 while test ! -d "$as_dir"; do 4971 as_dirs="$as_dir $as_dirs" 4972 as_dir=`(dirname "$as_dir") 2>/dev/null || 4973$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4974 X"$as_dir" : 'X\(//\)[^/]' \| \ 4975 X"$as_dir" : 'X\(//\)$' \| \ 4976 X"$as_dir" : 'X\(/\)' \| \ 4977 . : '\(.\)' 2>/dev/null || 4978echo X"$as_dir" | 4979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4980 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4981 /^X\(\/\/\)$/{ s//\1/; q; } 4982 /^X\(\/\).*/{ s//\1/; q; } 4983 s/.*/./; q'` 4984 done 4985 test ! -n "$as_dirs" || mkdir $as_dirs 4986 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4987echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4988 { (exit 1); exit 1; }; }; } 4989 4990 rm -f $ac_file 4991 mv $tmp/config.h $ac_file 4992 fi 4993 else 4994 cat $tmp/config.h 4995 rm -f $tmp/config.h 4996 fi 4997# Compute $ac_file's index in $config_headers. 4998_am_stamp_count=1 4999for _am_header in $config_headers :; do 5000 case $_am_header in 5001 $ac_file | $ac_file:* ) 5002 break ;; 5003 * ) 5004 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 5005 esac 5006done 5007echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 5008$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5009 X$ac_file : 'X\(//\)[^/]' \| \ 5010 X$ac_file : 'X\(//\)$' \| \ 5011 X$ac_file : 'X\(/\)' \| \ 5012 . : '\(.\)' 2>/dev/null || 5013echo X$ac_file | 5014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5015 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5016 /^X\(\/\/\)$/{ s//\1/; q; } 5017 /^X\(\/\).*/{ s//\1/; q; } 5018 s/.*/./; q'`/stamp-h$_am_stamp_count 5019done 5020_ACEOF 5021cat >>$CONFIG_STATUS <<\_ACEOF 5022 5023# 5024# CONFIG_COMMANDS section. 5025# 5026for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 5027 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 5028 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 5029 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 5030$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5031 X"$ac_dest" : 'X\(//\)[^/]' \| \ 5032 X"$ac_dest" : 'X\(//\)$' \| \ 5033 X"$ac_dest" : 'X\(/\)' \| \ 5034 . : '\(.\)' 2>/dev/null || 5035echo X"$ac_dest" | 5036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5037 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5038 /^X\(\/\/\)$/{ s//\1/; q; } 5039 /^X\(\/\).*/{ s//\1/; q; } 5040 s/.*/./; q'` 5041 ac_builddir=. 5042 5043if test "$ac_dir" != .; then 5044 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5045 # A "../" for each directory in $ac_dir_suffix. 5046 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5047else 5048 ac_dir_suffix= ac_top_builddir= 5049fi 5050 5051case $srcdir in 5052 .) # No --srcdir option. We are building in place. 5053 ac_srcdir=. 5054 if test -z "$ac_top_builddir"; then 5055 ac_top_srcdir=. 5056 else 5057 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5058 fi ;; 5059 [\\/]* | ?:[\\/]* ) # Absolute path. 5060 ac_srcdir=$srcdir$ac_dir_suffix; 5061 ac_top_srcdir=$srcdir ;; 5062 *) # Relative path. 5063 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5064 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5065esac 5066# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 5067# absolute. 5068ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 5069ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 5070ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 5071ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 5072 5073 5074 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 5075echo "$as_me: executing $ac_dest commands" >&6;} 5076 case $ac_dest in 5077 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 5078 # Strip MF so we end up with the name of the file. 5079 mf=`echo "$mf" | sed -e 's/:.*$//'` 5080 # Check whether this is an Automake generated Makefile or not. 5081 # We used to match only the files named `Makefile.in', but 5082 # some people rename them; so instead we look at the file content. 5083 # Grep'ing the first line is not enough: some people post-process 5084 # each Makefile.in and add a new line on top of each file to say so. 5085 # So let's grep whole file. 5086 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 5087 dirpart=`(dirname "$mf") 2>/dev/null || 5088$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5089 X"$mf" : 'X\(//\)[^/]' \| \ 5090 X"$mf" : 'X\(//\)$' \| \ 5091 X"$mf" : 'X\(/\)' \| \ 5092 . : '\(.\)' 2>/dev/null || 5093echo X"$mf" | 5094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5095 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5096 /^X\(\/\/\)$/{ s//\1/; q; } 5097 /^X\(\/\).*/{ s//\1/; q; } 5098 s/.*/./; q'` 5099 else 5100 continue 5101 fi 5102 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 5103 # Extract the definition of DEP_FILES from the Makefile without 5104 # running `make'. 5105 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 5106 test -z "$DEPDIR" && continue 5107 # When using ansi2knr, U may be empty or an underscore; expand it 5108 U=`sed -n -e '/^U = / s///p' < "$mf"` 5109 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 5110 # We invoke sed twice because it is the simplest approach to 5111 # changing $(DEPDIR) to its actual value in the expansion. 5112 for file in `sed -n -e ' 5113 /^DEP_FILES = .*\\\\$/ { 5114 s/^DEP_FILES = // 5115 :loop 5116 s/\\\\$// 5117 p 5118 n 5119 /\\\\$/ b loop 5120 p 5121 } 5122 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 5123 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 5124 # Make sure the directory exists. 5125 test -f "$dirpart/$file" && continue 5126 fdir=`(dirname "$file") 2>/dev/null || 5127$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5128 X"$file" : 'X\(//\)[^/]' \| \ 5129 X"$file" : 'X\(//\)$' \| \ 5130 X"$file" : 'X\(/\)' \| \ 5131 . : '\(.\)' 2>/dev/null || 5132echo X"$file" | 5133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5134 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5135 /^X\(\/\/\)$/{ s//\1/; q; } 5136 /^X\(\/\).*/{ s//\1/; q; } 5137 s/.*/./; q'` 5138 { if $as_mkdir_p; then 5139 mkdir -p $dirpart/$fdir 5140 else 5141 as_dir=$dirpart/$fdir 5142 as_dirs= 5143 while test ! -d "$as_dir"; do 5144 as_dirs="$as_dir $as_dirs" 5145 as_dir=`(dirname "$as_dir") 2>/dev/null || 5146$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5147 X"$as_dir" : 'X\(//\)[^/]' \| \ 5148 X"$as_dir" : 'X\(//\)$' \| \ 5149 X"$as_dir" : 'X\(/\)' \| \ 5150 . : '\(.\)' 2>/dev/null || 5151echo X"$as_dir" | 5152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5153 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5154 /^X\(\/\/\)$/{ s//\1/; q; } 5155 /^X\(\/\).*/{ s//\1/; q; } 5156 s/.*/./; q'` 5157 done 5158 test ! -n "$as_dirs" || mkdir $as_dirs 5159 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 5160echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 5161 { (exit 1); exit 1; }; }; } 5162 5163 # echo "creating $dirpart/$file" 5164 echo '# dummy' > "$dirpart/$file" 5165 done 5166done 5167 ;; 5168 esac 5169done 5170_ACEOF 5171 5172cat >>$CONFIG_STATUS <<\_ACEOF 5173 5174{ (exit 0); exit 0; } 5175_ACEOF 5176chmod +x $CONFIG_STATUS 5177ac_clean_files=$ac_clean_files_save 5178 5179 5180# configure is writing to config.log, and then calls config.status. 5181# config.status does its own redirection, appending to config.log. 5182# Unfortunately, on DOS this fails, as config.log is still kept open 5183# by configure, so config.status won't be able to write to it; its 5184# output is simply discarded. So we exec the FD to /dev/null, 5185# effectively closing config.log, so it can be properly (re)opened and 5186# appended to by config.status. When coming back to configure, we 5187# need to make the FD available again. 5188if test "$no_create" != yes; then 5189 ac_cs_success=: 5190 ac_config_status_args= 5191 test "$silent" = yes && 5192 ac_config_status_args="$ac_config_status_args --quiet" 5193 exec 5>/dev/null 5194 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5195 exec 5>>config.log 5196 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5197 # would make configure fail if this is the last instruction. 5198 $ac_cs_success || { (exit 1); exit 1; } 5199fi 5200 5201 5202