1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.57 for gsmc 1.0. 4# 5# Report bugs to <ik5nax@amsat.org>. 6# 7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 8# Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be Bourne compatible 16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 emulate sh 18 NULLCMD=: 19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # is contrary to our usage. Disable this feature. 21 alias -g '${1+"$@"}'='"$@"' 22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 23 set -o posix 24fi 25 26# Support unset when possible. 27if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 28 as_unset=unset 29else 30 as_unset=false 31fi 32 33 34# Work around bugs in pre-3.0 UWIN ksh. 35$as_unset ENV MAIL MAILPATH 36PS1='$ ' 37PS2='> ' 38PS4='+ ' 39 40# NLS nuisances. 41for as_var in \ 42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 44 LC_TELEPHONE LC_TIME 45do 46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 eval $as_var=C; export $as_var 48 else 49 $as_unset $as_var 50 fi 51done 52 53# Required to use basename. 54if expr a : '\(a\)' >/dev/null 2>&1; then 55 as_expr=expr 56else 57 as_expr=false 58fi 59 60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 61 as_basename=basename 62else 63 as_basename=false 64fi 65 66 67# Name of the executable. 68as_me=`$as_basename "$0" || 69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70 X"$0" : 'X\(//\)$' \| \ 71 X"$0" : 'X\(/\)$' \| \ 72 . : '\(.\)' 2>/dev/null || 73echo X/"$0" | 74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75 /^X\/\(\/\/\)$/{ s//\1/; q; } 76 /^X\/\(\/\).*/{ s//\1/; q; } 77 s/.*/./; q'` 78 79 80# PATH needs CR, and LINENO needs CR and PATH. 81# Avoid depending upon Character Ranges. 82as_cr_letters='abcdefghijklmnopqrstuvwxyz' 83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 84as_cr_Letters=$as_cr_letters$as_cr_LETTERS 85as_cr_digits='0123456789' 86as_cr_alnum=$as_cr_Letters$as_cr_digits 87 88# The user is always right. 89if test "${PATH_SEPARATOR+set}" != set; then 90 echo "#! /bin/sh" >conf$$.sh 91 echo "exit 0" >>conf$$.sh 92 chmod +x conf$$.sh 93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 94 PATH_SEPARATOR=';' 95 else 96 PATH_SEPARATOR=: 97 fi 98 rm -f conf$$.sh 99fi 100 101 102 as_lineno_1=$LINENO 103 as_lineno_2=$LINENO 104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 105 test "x$as_lineno_1" != "x$as_lineno_2" && 106 test "x$as_lineno_3" = "x$as_lineno_2" || { 107 # Find who we are. Look in the path if we contain no path at all 108 # relative or not. 109 case $0 in 110 *[\\/]* ) as_myself=$0 ;; 111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 112for as_dir in $PATH 113do 114 IFS=$as_save_IFS 115 test -z "$as_dir" && as_dir=. 116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 117done 118 119 ;; 120 esac 121 # We did not find ourselves, most probably we were run as `sh COMMAND' 122 # in which case we are not to be found in the path. 123 if test "x$as_myself" = x; then 124 as_myself=$0 125 fi 126 if test ! -f "$as_myself"; then 127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 128 { (exit 1); exit 1; }; } 129 fi 130 case $CONFIG_SHELL in 131 '') 132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 134do 135 IFS=$as_save_IFS 136 test -z "$as_dir" && as_dir=. 137 for as_base in sh bash ksh sh5; do 138 case $as_dir in 139 /*) 140 if ("$as_dir/$as_base" -c ' 141 as_lineno_1=$LINENO 142 as_lineno_2=$LINENO 143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 144 test "x$as_lineno_1" != "x$as_lineno_2" && 145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 148 CONFIG_SHELL=$as_dir/$as_base 149 export CONFIG_SHELL 150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 151 fi;; 152 esac 153 done 154done 155;; 156 esac 157 158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 159 # uniformly replaced by the line number. The first 'sed' inserts a 160 # line-number line before each line; the second 'sed' does the real 161 # work. The second script uses 'N' to pair each line-number line 162 # with the numbered line, and appends trailing '-' during 163 # substitution so that $LINENO is not a special case at line end. 164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 166 sed '=' <$as_myself | 167 sed ' 168 N 169 s,$,-, 170 : loop 171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 172 t loop 173 s,-$,, 174 s,^['$as_cr_digits']*\n,, 175 ' >$as_me.lineno && 176 chmod +x $as_me.lineno || 177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 178 { (exit 1); exit 1; }; } 179 180 # Don't try to exec as it changes $[0], causing all sort of problems 181 # (the dirname of $[0] is not the place where we might find the 182 # original and so on. Autoconf is especially sensible to this). 183 . ./$as_me.lineno 184 # Exit status is that of the last command. 185 exit 186} 187 188 189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 190 *c*,-n*) ECHO_N= ECHO_C=' 191' ECHO_T=' ' ;; 192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 194esac 195 196if expr a : '\(a\)' >/dev/null 2>&1; then 197 as_expr=expr 198else 199 as_expr=false 200fi 201 202rm -f conf$$ conf$$.exe conf$$.file 203echo >conf$$.file 204if ln -s conf$$.file conf$$ 2>/dev/null; then 205 # We could just check for DJGPP; but this test a) works b) is more generic 206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 207 if test -f conf$$.exe; then 208 # Don't use ln at all; we don't have any links 209 as_ln_s='cp -p' 210 else 211 as_ln_s='ln -s' 212 fi 213elif ln conf$$.file conf$$ 2>/dev/null; then 214 as_ln_s=ln 215else 216 as_ln_s='cp -p' 217fi 218rm -f conf$$ conf$$.exe conf$$.file 219 220if mkdir -p . 2>/dev/null; then 221 as_mkdir_p=: 222else 223 as_mkdir_p=false 224fi 225 226as_executable_p="test -f" 227 228# Sed expression to map a string onto a valid CPP name. 229as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 230 231# Sed expression to map a string onto a valid variable name. 232as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 233 234 235# IFS 236# We need space, tab and new line, in precisely that order. 237as_nl=' 238' 239IFS=" $as_nl" 240 241# CDPATH. 242$as_unset CDPATH 243 244 245# Name of the host. 246# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 247# so uname gets run too. 248ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 249 250exec 6>&1 251 252# 253# Initializations. 254# 255ac_default_prefix=/usr/local 256ac_config_libobj_dir=. 257cross_compiling=no 258subdirs= 259MFLAGS= 260MAKEFLAGS= 261SHELL=${CONFIG_SHELL-/bin/sh} 262 263# Maximum number of lines to put in a shell here document. 264# This variable seems obsolete. It should probably be removed, and 265# only ac_max_sed_lines should be used. 266: ${ac_max_here_lines=38} 267 268# Identity of this package. 269PACKAGE_NAME='gsmc' 270PACKAGE_TARNAME='gsmc' 271PACKAGE_VERSION='1.0' 272PACKAGE_STRING='gsmc 1.0' 273PACKAGE_BUGREPORT='ik5nax@amsat.org' 274 275ac_unique_file="calc.c" 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 PACKAGE VERSION EXEEXT OBJEXT ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh INSTALL_STRIP_PROGRAM AWK SET_MAKE AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH DEPDIR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC am__include am__quote CCDEPMODE PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS 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 gsmc 1.0 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 case $ac_init_help in 844 short | recursive ) echo "Configuration of gsmc 1.0:";; 845 esac 846 cat <<\_ACEOF 847 848Optional Features: 849 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 850 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 851 --disable-dependency-tracking Speeds up one-time builds 852 --enable-dependency-tracking Do not reject slow dependency extractors 853 854Some influential environment variables: 855 CC C compiler command 856 CFLAGS C compiler flags 857 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 858 nonstandard directory <lib dir> 859 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 860 headers in a nonstandard directory <include dir> 861 CPP C preprocessor 862 863Use these variables to override the choices made by `configure' or to help 864it to find libraries and programs with nonstandard names/locations. 865 866Report bugs to <ik5nax@amsat.org>. 867_ACEOF 868fi 869 870if test "$ac_init_help" = "recursive"; then 871 # If there are subdirs, report their specific --help. 872 ac_popdir=`pwd` 873 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 874 test -d $ac_dir || continue 875 ac_builddir=. 876 877if test "$ac_dir" != .; then 878 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 879 # A "../" for each directory in $ac_dir_suffix. 880 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 881else 882 ac_dir_suffix= ac_top_builddir= 883fi 884 885case $srcdir in 886 .) # No --srcdir option. We are building in place. 887 ac_srcdir=. 888 if test -z "$ac_top_builddir"; then 889 ac_top_srcdir=. 890 else 891 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 892 fi ;; 893 [\\/]* | ?:[\\/]* ) # Absolute path. 894 ac_srcdir=$srcdir$ac_dir_suffix; 895 ac_top_srcdir=$srcdir ;; 896 *) # Relative path. 897 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 898 ac_top_srcdir=$ac_top_builddir$srcdir ;; 899esac 900# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 901# absolute. 902ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 903ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 904ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 905ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 906 907 cd $ac_dir 908 # Check for guested configure; otherwise get Cygnus style configure. 909 if test -f $ac_srcdir/configure.gnu; then 910 echo 911 $SHELL $ac_srcdir/configure.gnu --help=recursive 912 elif test -f $ac_srcdir/configure; then 913 echo 914 $SHELL $ac_srcdir/configure --help=recursive 915 elif test -f $ac_srcdir/configure.ac || 916 test -f $ac_srcdir/configure.in; then 917 echo 918 $ac_configure --help 919 else 920 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 921 fi 922 cd $ac_popdir 923 done 924fi 925 926test -n "$ac_init_help" && exit 0 927if $ac_init_version; then 928 cat <<\_ACEOF 929gsmc configure 1.0 930generated by GNU Autoconf 2.57 931 932Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 933Free Software Foundation, Inc. 934This configure script is free software; the Free Software Foundation 935gives unlimited permission to copy, distribute and modify it. 936_ACEOF 937 exit 0 938fi 939exec 5>config.log 940cat >&5 <<_ACEOF 941This file contains any messages produced by compilers while 942running configure, to aid debugging if configure makes a mistake. 943 944It was created by gsmc $as_me 1.0, which was 945generated by GNU Autoconf 2.57. Invocation command line was 946 947 $ $0 $@ 948 949_ACEOF 950{ 951cat <<_ASUNAME 952## --------- ## 953## Platform. ## 954## --------- ## 955 956hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 957uname -m = `(uname -m) 2>/dev/null || echo unknown` 958uname -r = `(uname -r) 2>/dev/null || echo unknown` 959uname -s = `(uname -s) 2>/dev/null || echo unknown` 960uname -v = `(uname -v) 2>/dev/null || echo unknown` 961 962/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 963/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 964 965/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 966/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 967/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 968hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 969/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 970/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 971/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 972 973_ASUNAME 974 975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 976for as_dir in $PATH 977do 978 IFS=$as_save_IFS 979 test -z "$as_dir" && as_dir=. 980 echo "PATH: $as_dir" 981done 982 983} >&5 984 985cat >&5 <<_ACEOF 986 987 988## ----------- ## 989## Core tests. ## 990## ----------- ## 991 992_ACEOF 993 994 995# Keep a trace of the command line. 996# Strip out --no-create and --no-recursion so they do not pile up. 997# Strip out --silent because we don't want to record it for future runs. 998# Also quote any args containing shell meta-characters. 999# Make two passes to allow for proper duplicate-argument suppression. 1000ac_configure_args= 1001ac_configure_args0= 1002ac_configure_args1= 1003ac_sep= 1004ac_must_keep_next=false 1005for ac_pass in 1 2 1006do 1007 for ac_arg 1008 do 1009 case $ac_arg in 1010 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1012 | -silent | --silent | --silen | --sile | --sil) 1013 continue ;; 1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1015 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1016 esac 1017 case $ac_pass in 1018 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1019 2) 1020 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1021 if test $ac_must_keep_next = true; then 1022 ac_must_keep_next=false # Got value, back to normal. 1023 else 1024 case $ac_arg in 1025 *=* | --config-cache | -C | -disable-* | --disable-* \ 1026 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1027 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1028 | -with-* | --with-* | -without-* | --without-* | --x) 1029 case "$ac_configure_args0 " in 1030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1031 esac 1032 ;; 1033 -* ) ac_must_keep_next=true ;; 1034 esac 1035 fi 1036 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1037 # Get rid of the leading space. 1038 ac_sep=" " 1039 ;; 1040 esac 1041 done 1042done 1043$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1044$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1045 1046# When interrupted or exit'd, cleanup temporary files, and complete 1047# config.log. We remove comments because anyway the quotes in there 1048# would cause problems or look ugly. 1049# WARNING: Be sure not to use single quotes in there, as some shells, 1050# such as our DU 5.0 friend, will then `close' the trap. 1051trap 'exit_status=$? 1052 # Save into config.log some information that might help in debugging. 1053 { 1054 echo 1055 1056 cat <<\_ASBOX 1057## ---------------- ## 1058## Cache variables. ## 1059## ---------------- ## 1060_ASBOX 1061 echo 1062 # The following way of writing the cache mishandles newlines in values, 1063{ 1064 (set) 2>&1 | 1065 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1066 *ac_space=\ *) 1067 sed -n \ 1068 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1070 ;; 1071 *) 1072 sed -n \ 1073 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1074 ;; 1075 esac; 1076} 1077 echo 1078 1079 cat <<\_ASBOX 1080## ----------------- ## 1081## Output variables. ## 1082## ----------------- ## 1083_ASBOX 1084 echo 1085 for ac_var in $ac_subst_vars 1086 do 1087 eval ac_val=$`echo $ac_var` 1088 echo "$ac_var='"'"'$ac_val'"'"'" 1089 done | sort 1090 echo 1091 1092 if test -n "$ac_subst_files"; then 1093 cat <<\_ASBOX 1094## ------------- ## 1095## Output files. ## 1096## ------------- ## 1097_ASBOX 1098 echo 1099 for ac_var in $ac_subst_files 1100 do 1101 eval ac_val=$`echo $ac_var` 1102 echo "$ac_var='"'"'$ac_val'"'"'" 1103 done | sort 1104 echo 1105 fi 1106 1107 if test -s confdefs.h; then 1108 cat <<\_ASBOX 1109## ----------- ## 1110## confdefs.h. ## 1111## ----------- ## 1112_ASBOX 1113 echo 1114 sed "/^$/d" confdefs.h | sort 1115 echo 1116 fi 1117 test "$ac_signal" != 0 && 1118 echo "$as_me: caught signal $ac_signal" 1119 echo "$as_me: exit $exit_status" 1120 } >&5 1121 rm -f core core.* *.core && 1122 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1123 exit $exit_status 1124 ' 0 1125for ac_signal in 1 2 13 15; do 1126 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1127done 1128ac_signal=0 1129 1130# confdefs.h avoids OS command line length limits that DEFS can exceed. 1131rm -rf conftest* confdefs.h 1132# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1133echo >confdefs.h 1134 1135# Predefined preprocessor variables. 1136 1137cat >>confdefs.h <<_ACEOF 1138#define PACKAGE_NAME "$PACKAGE_NAME" 1139_ACEOF 1140 1141 1142cat >>confdefs.h <<_ACEOF 1143#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1144_ACEOF 1145 1146 1147cat >>confdefs.h <<_ACEOF 1148#define PACKAGE_VERSION "$PACKAGE_VERSION" 1149_ACEOF 1150 1151 1152cat >>confdefs.h <<_ACEOF 1153#define PACKAGE_STRING "$PACKAGE_STRING" 1154_ACEOF 1155 1156 1157cat >>confdefs.h <<_ACEOF 1158#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1159_ACEOF 1160 1161 1162# Let the site file select an alternate cache file if it wants to. 1163# Prefer explicitly selected file to automatically selected ones. 1164if test -z "$CONFIG_SITE"; then 1165 if test "x$prefix" != xNONE; then 1166 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1167 else 1168 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1169 fi 1170fi 1171for ac_site_file in $CONFIG_SITE; do 1172 if test -r "$ac_site_file"; then 1173 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1174echo "$as_me: loading site script $ac_site_file" >&6;} 1175 sed 's/^/| /' "$ac_site_file" >&5 1176 . "$ac_site_file" 1177 fi 1178done 1179 1180if test -r "$cache_file"; then 1181 # Some versions of bash will fail to source /dev/null (special 1182 # files actually), so we avoid doing that. 1183 if test -f "$cache_file"; then 1184 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1185echo "$as_me: loading cache $cache_file" >&6;} 1186 case $cache_file in 1187 [\\/]* | ?:[\\/]* ) . $cache_file;; 1188 *) . ./$cache_file;; 1189 esac 1190 fi 1191else 1192 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1193echo "$as_me: creating cache $cache_file" >&6;} 1194 >$cache_file 1195fi 1196 1197# Check that the precious variables saved in the cache have kept the same 1198# value. 1199ac_cache_corrupted=false 1200for ac_var in `(set) 2>&1 | 1201 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1202 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1203 eval ac_new_set=\$ac_env_${ac_var}_set 1204 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1205 eval ac_new_val="\$ac_env_${ac_var}_value" 1206 case $ac_old_set,$ac_new_set in 1207 set,) 1208 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1209echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1210 ac_cache_corrupted=: ;; 1211 ,set) 1212 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1213echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1214 ac_cache_corrupted=: ;; 1215 ,);; 1216 *) 1217 if test "x$ac_old_val" != "x$ac_new_val"; then 1218 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1219echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1220 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1221echo "$as_me: former value: $ac_old_val" >&2;} 1222 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1223echo "$as_me: current value: $ac_new_val" >&2;} 1224 ac_cache_corrupted=: 1225 fi;; 1226 esac 1227 # Pass precious variables to config.status. 1228 if test "$ac_new_set" = set; then 1229 case $ac_new_val in 1230 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1231 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1232 *) ac_arg=$ac_var=$ac_new_val ;; 1233 esac 1234 case " $ac_configure_args " in 1235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1236 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1237 esac 1238 fi 1239done 1240if $ac_cache_corrupted; then 1241 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1242echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1243 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1244echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1245 { (exit 1); exit 1; }; } 1246fi 1247 1248ac_ext=c 1249ac_cpp='$CPP $CPPFLAGS' 1250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1252ac_compiler_gnu=$ac_cv_c_compiler_gnu 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281ac_aux_dir= 1282for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1283 if test -f $ac_dir/install-sh; then 1284 ac_aux_dir=$ac_dir 1285 ac_install_sh="$ac_aux_dir/install-sh -c" 1286 break 1287 elif test -f $ac_dir/install.sh; then 1288 ac_aux_dir=$ac_dir 1289 ac_install_sh="$ac_aux_dir/install.sh -c" 1290 break 1291 elif test -f $ac_dir/shtool; then 1292 ac_aux_dir=$ac_dir 1293 ac_install_sh="$ac_aux_dir/shtool install -c" 1294 break 1295 fi 1296done 1297if test -z "$ac_aux_dir"; then 1298 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1299echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1300 { (exit 1); exit 1; }; } 1301fi 1302ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1303ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1304ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1305 1306# Find a good install program. We prefer a C program (faster), 1307# so one script is as good as another. But avoid the broken or 1308# incompatible versions: 1309# SysV /etc/install, /usr/sbin/install 1310# SunOS /usr/etc/install 1311# IRIX /sbin/install 1312# AIX /bin/install 1313# AmigaOS /C/install, which installs bootblocks on floppy discs 1314# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1315# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1316# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1317# ./install, which can be erroneously created by make from ./install.sh. 1318echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1319echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1320if test -z "$INSTALL"; then 1321if test "${ac_cv_path_install+set}" = set; then 1322 echo $ECHO_N "(cached) $ECHO_C" >&6 1323else 1324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1325for as_dir in $PATH 1326do 1327 IFS=$as_save_IFS 1328 test -z "$as_dir" && as_dir=. 1329 # Account for people who put trailing slashes in PATH elements. 1330case $as_dir/ in 1331 ./ | .// | /cC/* | \ 1332 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1333 /usr/ucb/* ) ;; 1334 *) 1335 # OSF1 and SCO ODT 3.0 have their own names for install. 1336 # Don't use installbsd from OSF since it installs stuff as root 1337 # by default. 1338 for ac_prog in ginstall scoinst install; do 1339 for ac_exec_ext in '' $ac_executable_extensions; do 1340 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1341 if test $ac_prog = install && 1342 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1343 # AIX install. It has an incompatible calling convention. 1344 : 1345 elif test $ac_prog = install && 1346 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1347 # program-specific install script used by HP pwplus--don't use. 1348 : 1349 else 1350 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1351 break 3 1352 fi 1353 fi 1354 done 1355 done 1356 ;; 1357esac 1358done 1359 1360 1361fi 1362 if test "${ac_cv_path_install+set}" = set; then 1363 INSTALL=$ac_cv_path_install 1364 else 1365 # As a last resort, use the slow shell script. We don't cache a 1366 # path for INSTALL within a source directory, because that will 1367 # break other packages using the cache if that directory is 1368 # removed, or if the path is relative. 1369 INSTALL=$ac_install_sh 1370 fi 1371fi 1372echo "$as_me:$LINENO: result: $INSTALL" >&5 1373echo "${ECHO_T}$INSTALL" >&6 1374 1375# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1376# It thinks the first close brace ends the variable substitution. 1377test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1378 1379test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1380 1381test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1382 1383echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1384echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1385# Just in case 1386sleep 1 1387echo timestamp > conftest.file 1388# Do `set' in a subshell so we don't clobber the current shell's 1389# arguments. Must try -L first in case configure is actually a 1390# symlink; some systems play weird games with the mod time of symlinks 1391# (eg FreeBSD returns the mod time of the symlink's containing 1392# directory). 1393if ( 1394 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1395 if test "$*" = "X"; then 1396 # -L didn't work. 1397 set X `ls -t $srcdir/configure conftest.file` 1398 fi 1399 rm -f conftest.file 1400 if test "$*" != "X $srcdir/configure conftest.file" \ 1401 && test "$*" != "X conftest.file $srcdir/configure"; then 1402 1403 # If neither matched, then we have a broken ls. This can happen 1404 # if, for instance, CONFIG_SHELL is bash and it inherits a 1405 # broken ls alias from the environment. This has actually 1406 # happened. Such a system could not be considered "sane". 1407 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1408alias in your environment" >&5 1409echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1410alias in your environment" >&2;} 1411 { (exit 1); exit 1; }; } 1412 fi 1413 1414 test "$2" = conftest.file 1415 ) 1416then 1417 # Ok. 1418 : 1419else 1420 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1421Check your system clock" >&5 1422echo "$as_me: error: newly created file is older than distributed files! 1423Check your system clock" >&2;} 1424 { (exit 1); exit 1; }; } 1425fi 1426echo "$as_me:$LINENO: result: yes" >&5 1427echo "${ECHO_T}yes" >&6 1428test "$program_prefix" != NONE && 1429 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1430# Use a double $ so make ignores it. 1431test "$program_suffix" != NONE && 1432 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1433# Double any \ or $. echo might interpret backslashes. 1434# By default was `s,x,x', remove it if useless. 1435cat <<\_ACEOF >conftest.sed 1436s/[\\$]/&&/g;s/;s,x,x,$// 1437_ACEOF 1438program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1439rm conftest.sed 1440 1441 1442# expand $ac_aux_dir to an absolute path 1443am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd` 1444 1445test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1446# Use eval to expand $SHELL 1447if eval "$MISSING --run true"; then 1448 am_missing_run="$MISSING --run " 1449else 1450 am_missing_run= 1451 am_backtick='`' 1452 { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5 1453echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;} 1454fi 1455 1456for ac_prog in gawk mawk nawk awk 1457do 1458 # Extract the first word of "$ac_prog", so it can be a program name with args. 1459set dummy $ac_prog; ac_word=$2 1460echo "$as_me:$LINENO: checking for $ac_word" >&5 1461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1462if test "${ac_cv_prog_AWK+set}" = set; then 1463 echo $ECHO_N "(cached) $ECHO_C" >&6 1464else 1465 if test -n "$AWK"; then 1466 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1467else 1468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1469for as_dir in $PATH 1470do 1471 IFS=$as_save_IFS 1472 test -z "$as_dir" && as_dir=. 1473 for ac_exec_ext in '' $ac_executable_extensions; do 1474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1475 ac_cv_prog_AWK="$ac_prog" 1476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1477 break 2 1478 fi 1479done 1480done 1481 1482fi 1483fi 1484AWK=$ac_cv_prog_AWK 1485if test -n "$AWK"; then 1486 echo "$as_me:$LINENO: result: $AWK" >&5 1487echo "${ECHO_T}$AWK" >&6 1488else 1489 echo "$as_me:$LINENO: result: no" >&5 1490echo "${ECHO_T}no" >&6 1491fi 1492 1493 test -n "$AWK" && break 1494done 1495 1496echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1497echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1498set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1499if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1500 echo $ECHO_N "(cached) $ECHO_C" >&6 1501else 1502 cat >conftest.make <<\_ACEOF 1503all: 1504 @echo 'ac_maketemp="$(MAKE)"' 1505_ACEOF 1506# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1507eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1508if test -n "$ac_maketemp"; then 1509 eval ac_cv_prog_make_${ac_make}_set=yes 1510else 1511 eval ac_cv_prog_make_${ac_make}_set=no 1512fi 1513rm -f conftest.make 1514fi 1515if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1516 echo "$as_me:$LINENO: result: yes" >&5 1517echo "${ECHO_T}yes" >&6 1518 SET_MAKE= 1519else 1520 echo "$as_me:$LINENO: result: no" >&5 1521echo "${ECHO_T}no" >&6 1522 SET_MAKE="MAKE=${MAKE-make}" 1523fi 1524 1525# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 1526if test "${enable_dependency_tracking+set}" = set; then 1527 enableval="$enable_dependency_tracking" 1528 1529fi; 1530if test "x$enable_dependency_tracking" != xno; then 1531 am_depcomp="$ac_aux_dir/depcomp" 1532 AMDEPBACKSLASH='\' 1533fi 1534 1535 1536if test "x$enable_dependency_tracking" != xno; then 1537 AMDEP_TRUE= 1538 AMDEP_FALSE='#' 1539else 1540 AMDEP_TRUE='#' 1541 AMDEP_FALSE= 1542fi 1543 1544 1545 1546 1547rm -f .deps 2>/dev/null 1548mkdir .deps 2>/dev/null 1549if test -d .deps; then 1550 DEPDIR=.deps 1551else 1552 # MS-DOS does not allow filenames that begin with a dot. 1553 DEPDIR=_deps 1554fi 1555rmdir .deps 2>/dev/null 1556 1557 1558# test to see if srcdir already configured 1559if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" && 1560 test -f $srcdir/config.status; then 1561 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1562echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1563 { (exit 1); exit 1; }; } 1564fi 1565 1566# Define the identity of the package. 1567PACKAGE=gsmc 1568VERSION=1.0 1569 1570 1571# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow 1572# the ones we care about. 1573 1574# Autoconf 2.50 always computes EXEEXT. However we need to be 1575# compatible with 2.13, for now. So we always define EXEEXT, but we 1576# don't compute it. 1577 1578# Similar for OBJEXT -- only we only use OBJEXT if the user actually 1579# requests that it be used. This is a bit dumb. 1580: ${OBJEXT=o} 1581 1582 1583# Some tools Automake needs. 1584 1585ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"} 1586 1587 1588AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1589 1590 1591AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"} 1592 1593 1594AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1595 1596 1597MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1598 1599 1600AMTAR=${AMTAR-"${am_missing_run}tar"} 1601 1602install_sh=${install_sh-"$am_aux_dir/install-sh"} 1603 1604INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1605 1606# We need awk for the "check" target. The system "awk" is bad on 1607# some platforms. 1608 1609 1610# Checks for programs. 1611ac_ext=c 1612ac_cpp='$CPP $CPPFLAGS' 1613ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1614ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1615ac_compiler_gnu=$ac_cv_c_compiler_gnu 1616if test -n "$ac_tool_prefix"; then 1617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1618set dummy ${ac_tool_prefix}gcc; ac_word=$2 1619echo "$as_me:$LINENO: checking for $ac_word" >&5 1620echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1621if test "${ac_cv_prog_CC+set}" = set; then 1622 echo $ECHO_N "(cached) $ECHO_C" >&6 1623else 1624 if test -n "$CC"; then 1625 ac_cv_prog_CC="$CC" # Let the user override the test. 1626else 1627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1628for as_dir in $PATH 1629do 1630 IFS=$as_save_IFS 1631 test -z "$as_dir" && as_dir=. 1632 for ac_exec_ext in '' $ac_executable_extensions; do 1633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1634 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1636 break 2 1637 fi 1638done 1639done 1640 1641fi 1642fi 1643CC=$ac_cv_prog_CC 1644if test -n "$CC"; then 1645 echo "$as_me:$LINENO: result: $CC" >&5 1646echo "${ECHO_T}$CC" >&6 1647else 1648 echo "$as_me:$LINENO: result: no" >&5 1649echo "${ECHO_T}no" >&6 1650fi 1651 1652fi 1653if test -z "$ac_cv_prog_CC"; then 1654 ac_ct_CC=$CC 1655 # Extract the first word of "gcc", so it can be a program name with args. 1656set dummy gcc; ac_word=$2 1657echo "$as_me:$LINENO: checking for $ac_word" >&5 1658echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1659if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1660 echo $ECHO_N "(cached) $ECHO_C" >&6 1661else 1662 if test -n "$ac_ct_CC"; then 1663 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1664else 1665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1666for as_dir in $PATH 1667do 1668 IFS=$as_save_IFS 1669 test -z "$as_dir" && as_dir=. 1670 for ac_exec_ext in '' $ac_executable_extensions; do 1671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1672 ac_cv_prog_ac_ct_CC="gcc" 1673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1674 break 2 1675 fi 1676done 1677done 1678 1679fi 1680fi 1681ac_ct_CC=$ac_cv_prog_ac_ct_CC 1682if test -n "$ac_ct_CC"; then 1683 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1684echo "${ECHO_T}$ac_ct_CC" >&6 1685else 1686 echo "$as_me:$LINENO: result: no" >&5 1687echo "${ECHO_T}no" >&6 1688fi 1689 1690 CC=$ac_ct_CC 1691else 1692 CC="$ac_cv_prog_CC" 1693fi 1694 1695if test -z "$CC"; then 1696 if test -n "$ac_tool_prefix"; then 1697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1698set dummy ${ac_tool_prefix}cc; ac_word=$2 1699echo "$as_me:$LINENO: checking for $ac_word" >&5 1700echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1701if test "${ac_cv_prog_CC+set}" = set; then 1702 echo $ECHO_N "(cached) $ECHO_C" >&6 1703else 1704 if test -n "$CC"; then 1705 ac_cv_prog_CC="$CC" # Let the user override the test. 1706else 1707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1708for as_dir in $PATH 1709do 1710 IFS=$as_save_IFS 1711 test -z "$as_dir" && as_dir=. 1712 for ac_exec_ext in '' $ac_executable_extensions; do 1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1714 ac_cv_prog_CC="${ac_tool_prefix}cc" 1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1716 break 2 1717 fi 1718done 1719done 1720 1721fi 1722fi 1723CC=$ac_cv_prog_CC 1724if test -n "$CC"; then 1725 echo "$as_me:$LINENO: result: $CC" >&5 1726echo "${ECHO_T}$CC" >&6 1727else 1728 echo "$as_me:$LINENO: result: no" >&5 1729echo "${ECHO_T}no" >&6 1730fi 1731 1732fi 1733if test -z "$ac_cv_prog_CC"; then 1734 ac_ct_CC=$CC 1735 # Extract the first word of "cc", so it can be a program name with args. 1736set dummy cc; ac_word=$2 1737echo "$as_me:$LINENO: checking for $ac_word" >&5 1738echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1739if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1740 echo $ECHO_N "(cached) $ECHO_C" >&6 1741else 1742 if test -n "$ac_ct_CC"; then 1743 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1744else 1745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1746for as_dir in $PATH 1747do 1748 IFS=$as_save_IFS 1749 test -z "$as_dir" && as_dir=. 1750 for ac_exec_ext in '' $ac_executable_extensions; do 1751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1752 ac_cv_prog_ac_ct_CC="cc" 1753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1754 break 2 1755 fi 1756done 1757done 1758 1759fi 1760fi 1761ac_ct_CC=$ac_cv_prog_ac_ct_CC 1762if test -n "$ac_ct_CC"; then 1763 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1764echo "${ECHO_T}$ac_ct_CC" >&6 1765else 1766 echo "$as_me:$LINENO: result: no" >&5 1767echo "${ECHO_T}no" >&6 1768fi 1769 1770 CC=$ac_ct_CC 1771else 1772 CC="$ac_cv_prog_CC" 1773fi 1774 1775fi 1776if test -z "$CC"; then 1777 # Extract the first word of "cc", so it can be a program name with args. 1778set dummy cc; ac_word=$2 1779echo "$as_me:$LINENO: checking for $ac_word" >&5 1780echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1781if test "${ac_cv_prog_CC+set}" = set; then 1782 echo $ECHO_N "(cached) $ECHO_C" >&6 1783else 1784 if test -n "$CC"; then 1785 ac_cv_prog_CC="$CC" # Let the user override the test. 1786else 1787 ac_prog_rejected=no 1788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1789for as_dir in $PATH 1790do 1791 IFS=$as_save_IFS 1792 test -z "$as_dir" && as_dir=. 1793 for ac_exec_ext in '' $ac_executable_extensions; do 1794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1796 ac_prog_rejected=yes 1797 continue 1798 fi 1799 ac_cv_prog_CC="cc" 1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1801 break 2 1802 fi 1803done 1804done 1805 1806if test $ac_prog_rejected = yes; then 1807 # We found a bogon in the path, so make sure we never use it. 1808 set dummy $ac_cv_prog_CC 1809 shift 1810 if test $# != 0; then 1811 # We chose a different compiler from the bogus one. 1812 # However, it has the same basename, so the bogon will be chosen 1813 # first if we set CC to just the basename; use the full file name. 1814 shift 1815 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1816 fi 1817fi 1818fi 1819fi 1820CC=$ac_cv_prog_CC 1821if test -n "$CC"; then 1822 echo "$as_me:$LINENO: result: $CC" >&5 1823echo "${ECHO_T}$CC" >&6 1824else 1825 echo "$as_me:$LINENO: result: no" >&5 1826echo "${ECHO_T}no" >&6 1827fi 1828 1829fi 1830if test -z "$CC"; then 1831 if test -n "$ac_tool_prefix"; then 1832 for ac_prog in cl 1833 do 1834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1835set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1836echo "$as_me:$LINENO: checking for $ac_word" >&5 1837echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1838if test "${ac_cv_prog_CC+set}" = set; then 1839 echo $ECHO_N "(cached) $ECHO_C" >&6 1840else 1841 if test -n "$CC"; then 1842 ac_cv_prog_CC="$CC" # Let the user override the test. 1843else 1844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1845for as_dir in $PATH 1846do 1847 IFS=$as_save_IFS 1848 test -z "$as_dir" && as_dir=. 1849 for ac_exec_ext in '' $ac_executable_extensions; do 1850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1851 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1853 break 2 1854 fi 1855done 1856done 1857 1858fi 1859fi 1860CC=$ac_cv_prog_CC 1861if test -n "$CC"; then 1862 echo "$as_me:$LINENO: result: $CC" >&5 1863echo "${ECHO_T}$CC" >&6 1864else 1865 echo "$as_me:$LINENO: result: no" >&5 1866echo "${ECHO_T}no" >&6 1867fi 1868 1869 test -n "$CC" && break 1870 done 1871fi 1872if test -z "$CC"; then 1873 ac_ct_CC=$CC 1874 for ac_prog in cl 1875do 1876 # Extract the first word of "$ac_prog", so it can be a program name with args. 1877set dummy $ac_prog; ac_word=$2 1878echo "$as_me:$LINENO: checking for $ac_word" >&5 1879echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1880if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1881 echo $ECHO_N "(cached) $ECHO_C" >&6 1882else 1883 if test -n "$ac_ct_CC"; then 1884 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1885else 1886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1887for as_dir in $PATH 1888do 1889 IFS=$as_save_IFS 1890 test -z "$as_dir" && as_dir=. 1891 for ac_exec_ext in '' $ac_executable_extensions; do 1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1893 ac_cv_prog_ac_ct_CC="$ac_prog" 1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1895 break 2 1896 fi 1897done 1898done 1899 1900fi 1901fi 1902ac_ct_CC=$ac_cv_prog_ac_ct_CC 1903if test -n "$ac_ct_CC"; then 1904 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1905echo "${ECHO_T}$ac_ct_CC" >&6 1906else 1907 echo "$as_me:$LINENO: result: no" >&5 1908echo "${ECHO_T}no" >&6 1909fi 1910 1911 test -n "$ac_ct_CC" && break 1912done 1913 1914 CC=$ac_ct_CC 1915fi 1916 1917fi 1918 1919 1920test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1921See \`config.log' for more details." >&5 1922echo "$as_me: error: no acceptable C compiler found in \$PATH 1923See \`config.log' for more details." >&2;} 1924 { (exit 1); exit 1; }; } 1925 1926# Provide some information about the compiler. 1927echo "$as_me:$LINENO:" \ 1928 "checking for C compiler version" >&5 1929ac_compiler=`set X $ac_compile; echo $2` 1930{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1931 (eval $ac_compiler --version </dev/null >&5) 2>&5 1932 ac_status=$? 1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1934 (exit $ac_status); } 1935{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1936 (eval $ac_compiler -v </dev/null >&5) 2>&5 1937 ac_status=$? 1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1939 (exit $ac_status); } 1940{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1941 (eval $ac_compiler -V </dev/null >&5) 2>&5 1942 ac_status=$? 1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1944 (exit $ac_status); } 1945 1946cat >conftest.$ac_ext <<_ACEOF 1947#line $LINENO "configure" 1948/* confdefs.h. */ 1949_ACEOF 1950cat confdefs.h >>conftest.$ac_ext 1951cat >>conftest.$ac_ext <<_ACEOF 1952/* end confdefs.h. */ 1953 1954int 1955main () 1956{ 1957 1958 ; 1959 return 0; 1960} 1961_ACEOF 1962ac_clean_files_save=$ac_clean_files 1963ac_clean_files="$ac_clean_files a.out a.exe b.out" 1964# Try to create an executable without -o first, disregard a.out. 1965# It will help us diagnose broken compilers, and finding out an intuition 1966# of exeext. 1967echo "$as_me:$LINENO: checking for C compiler default output" >&5 1968echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1969ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1970if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1971 (eval $ac_link_default) 2>&5 1972 ac_status=$? 1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1974 (exit $ac_status); }; then 1975 # Find the output, starting from the most likely. This scheme is 1976# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1977# resort. 1978 1979# Be careful to initialize this variable, since it used to be cached. 1980# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1981ac_cv_exeext= 1982# b.out is created by i960 compilers. 1983for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1984do 1985 test -f "$ac_file" || continue 1986 case $ac_file in 1987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1988 ;; 1989 conftest.$ac_ext ) 1990 # This is the source file. 1991 ;; 1992 [ab].out ) 1993 # We found the default executable, but exeext='' is most 1994 # certainly right. 1995 break;; 1996 *.* ) 1997 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1998 # FIXME: I believe we export ac_cv_exeext for Libtool, 1999 # but it would be cool to find out if it's true. Does anybody 2000 # maintain Libtool? --akim. 2001 export ac_cv_exeext 2002 break;; 2003 * ) 2004 break;; 2005 esac 2006done 2007else 2008 echo "$as_me: failed program was:" >&5 2009sed 's/^/| /' conftest.$ac_ext >&5 2010 2011{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2012See \`config.log' for more details." >&5 2013echo "$as_me: error: C compiler cannot create executables 2014See \`config.log' for more details." >&2;} 2015 { (exit 77); exit 77; }; } 2016fi 2017 2018ac_exeext=$ac_cv_exeext 2019echo "$as_me:$LINENO: result: $ac_file" >&5 2020echo "${ECHO_T}$ac_file" >&6 2021 2022# Check the compiler produces executables we can run. If not, either 2023# the compiler is broken, or we cross compile. 2024echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2025echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2026# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2027# If not cross compiling, check that we can run a simple program. 2028if test "$cross_compiling" != yes; then 2029 if { ac_try='./$ac_file' 2030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2031 (eval $ac_try) 2>&5 2032 ac_status=$? 2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2034 (exit $ac_status); }; }; then 2035 cross_compiling=no 2036 else 2037 if test "$cross_compiling" = maybe; then 2038 cross_compiling=yes 2039 else 2040 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2041If you meant to cross compile, use \`--host'. 2042See \`config.log' for more details." >&5 2043echo "$as_me: error: cannot run C compiled programs. 2044If you meant to cross compile, use \`--host'. 2045See \`config.log' for more details." >&2;} 2046 { (exit 1); exit 1; }; } 2047 fi 2048 fi 2049fi 2050echo "$as_me:$LINENO: result: yes" >&5 2051echo "${ECHO_T}yes" >&6 2052 2053rm -f a.out a.exe conftest$ac_cv_exeext b.out 2054ac_clean_files=$ac_clean_files_save 2055# Check the compiler produces executables we can run. If not, either 2056# the compiler is broken, or we cross compile. 2057echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2058echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2059echo "$as_me:$LINENO: result: $cross_compiling" >&5 2060echo "${ECHO_T}$cross_compiling" >&6 2061 2062echo "$as_me:$LINENO: checking for suffix of executables" >&5 2063echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2064if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2065 (eval $ac_link) 2>&5 2066 ac_status=$? 2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2068 (exit $ac_status); }; then 2069 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2070# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2071# work properly (i.e., refer to `conftest.exe'), while it won't with 2072# `rm'. 2073for ac_file in conftest.exe conftest conftest.*; do 2074 test -f "$ac_file" || continue 2075 case $ac_file in 2076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2077 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2078 export ac_cv_exeext 2079 break;; 2080 * ) break;; 2081 esac 2082done 2083else 2084 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2085See \`config.log' for more details." >&5 2086echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2087See \`config.log' for more details." >&2;} 2088 { (exit 1); exit 1; }; } 2089fi 2090 2091rm -f conftest$ac_cv_exeext 2092echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2093echo "${ECHO_T}$ac_cv_exeext" >&6 2094 2095rm -f conftest.$ac_ext 2096EXEEXT=$ac_cv_exeext 2097ac_exeext=$EXEEXT 2098echo "$as_me:$LINENO: checking for suffix of object files" >&5 2099echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2100if test "${ac_cv_objext+set}" = set; then 2101 echo $ECHO_N "(cached) $ECHO_C" >&6 2102else 2103 cat >conftest.$ac_ext <<_ACEOF 2104#line $LINENO "configure" 2105/* confdefs.h. */ 2106_ACEOF 2107cat confdefs.h >>conftest.$ac_ext 2108cat >>conftest.$ac_ext <<_ACEOF 2109/* end confdefs.h. */ 2110 2111int 2112main () 2113{ 2114 2115 ; 2116 return 0; 2117} 2118_ACEOF 2119rm -f conftest.o conftest.obj 2120if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2121 (eval $ac_compile) 2>&5 2122 ac_status=$? 2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2124 (exit $ac_status); }; then 2125 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2126 case $ac_file in 2127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2128 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2129 break;; 2130 esac 2131done 2132else 2133 echo "$as_me: failed program was:" >&5 2134sed 's/^/| /' conftest.$ac_ext >&5 2135 2136{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2137See \`config.log' for more details." >&5 2138echo "$as_me: error: cannot compute suffix of object files: cannot compile 2139See \`config.log' for more details." >&2;} 2140 { (exit 1); exit 1; }; } 2141fi 2142 2143rm -f conftest.$ac_cv_objext conftest.$ac_ext 2144fi 2145echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2146echo "${ECHO_T}$ac_cv_objext" >&6 2147OBJEXT=$ac_cv_objext 2148ac_objext=$OBJEXT 2149echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2150echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2151if test "${ac_cv_c_compiler_gnu+set}" = set; then 2152 echo $ECHO_N "(cached) $ECHO_C" >&6 2153else 2154 cat >conftest.$ac_ext <<_ACEOF 2155#line $LINENO "configure" 2156/* confdefs.h. */ 2157_ACEOF 2158cat confdefs.h >>conftest.$ac_ext 2159cat >>conftest.$ac_ext <<_ACEOF 2160/* end confdefs.h. */ 2161 2162int 2163main () 2164{ 2165#ifndef __GNUC__ 2166 choke me 2167#endif 2168 2169 ; 2170 return 0; 2171} 2172_ACEOF 2173rm -f conftest.$ac_objext 2174if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2175 (eval $ac_compile) 2>&5 2176 ac_status=$? 2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2178 (exit $ac_status); } && 2179 { ac_try='test -s conftest.$ac_objext' 2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2181 (eval $ac_try) 2>&5 2182 ac_status=$? 2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2184 (exit $ac_status); }; }; then 2185 ac_compiler_gnu=yes 2186else 2187 echo "$as_me: failed program was:" >&5 2188sed 's/^/| /' conftest.$ac_ext >&5 2189 2190ac_compiler_gnu=no 2191fi 2192rm -f conftest.$ac_objext conftest.$ac_ext 2193ac_cv_c_compiler_gnu=$ac_compiler_gnu 2194 2195fi 2196echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2197echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2198GCC=`test $ac_compiler_gnu = yes && echo yes` 2199ac_test_CFLAGS=${CFLAGS+set} 2200ac_save_CFLAGS=$CFLAGS 2201CFLAGS="-g" 2202echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2203echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2204if test "${ac_cv_prog_cc_g+set}" = set; then 2205 echo $ECHO_N "(cached) $ECHO_C" >&6 2206else 2207 cat >conftest.$ac_ext <<_ACEOF 2208#line $LINENO "configure" 2209/* confdefs.h. */ 2210_ACEOF 2211cat confdefs.h >>conftest.$ac_ext 2212cat >>conftest.$ac_ext <<_ACEOF 2213/* end confdefs.h. */ 2214 2215int 2216main () 2217{ 2218 2219 ; 2220 return 0; 2221} 2222_ACEOF 2223rm -f conftest.$ac_objext 2224if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2225 (eval $ac_compile) 2>&5 2226 ac_status=$? 2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2228 (exit $ac_status); } && 2229 { ac_try='test -s conftest.$ac_objext' 2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2231 (eval $ac_try) 2>&5 2232 ac_status=$? 2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2234 (exit $ac_status); }; }; then 2235 ac_cv_prog_cc_g=yes 2236else 2237 echo "$as_me: failed program was:" >&5 2238sed 's/^/| /' conftest.$ac_ext >&5 2239 2240ac_cv_prog_cc_g=no 2241fi 2242rm -f conftest.$ac_objext conftest.$ac_ext 2243fi 2244echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2245echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2246if test "$ac_test_CFLAGS" = set; then 2247 CFLAGS=$ac_save_CFLAGS 2248elif test $ac_cv_prog_cc_g = yes; then 2249 if test "$GCC" = yes; then 2250 CFLAGS="-g -O2" 2251 else 2252 CFLAGS="-g" 2253 fi 2254else 2255 if test "$GCC" = yes; then 2256 CFLAGS="-O2" 2257 else 2258 CFLAGS= 2259 fi 2260fi 2261echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2262echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2263if test "${ac_cv_prog_cc_stdc+set}" = set; then 2264 echo $ECHO_N "(cached) $ECHO_C" >&6 2265else 2266 ac_cv_prog_cc_stdc=no 2267ac_save_CC=$CC 2268cat >conftest.$ac_ext <<_ACEOF 2269#line $LINENO "configure" 2270/* confdefs.h. */ 2271_ACEOF 2272cat confdefs.h >>conftest.$ac_ext 2273cat >>conftest.$ac_ext <<_ACEOF 2274/* end confdefs.h. */ 2275#include <stdarg.h> 2276#include <stdio.h> 2277#include <sys/types.h> 2278#include <sys/stat.h> 2279/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2280struct buf { int x; }; 2281FILE * (*rcsopen) (struct buf *, struct stat *, int); 2282static char *e (p, i) 2283 char **p; 2284 int i; 2285{ 2286 return p[i]; 2287} 2288static char *f (char * (*g) (char **, int), char **p, ...) 2289{ 2290 char *s; 2291 va_list v; 2292 va_start (v,p); 2293 s = g (p, va_arg (v,int)); 2294 va_end (v); 2295 return s; 2296} 2297int test (int i, double x); 2298struct s1 {int (*f) (int a);}; 2299struct s2 {int (*f) (double a);}; 2300int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2301int argc; 2302char **argv; 2303int 2304main () 2305{ 2306return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2307 ; 2308 return 0; 2309} 2310_ACEOF 2311# Don't try gcc -ansi; that turns off useful extensions and 2312# breaks some systems' header files. 2313# AIX -qlanglvl=ansi 2314# Ultrix and OSF/1 -std1 2315# HP-UX 10.20 and later -Ae 2316# HP-UX older versions -Aa -D_HPUX_SOURCE 2317# SVR4 -Xc -D__EXTENSIONS__ 2318for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2319do 2320 CC="$ac_save_CC $ac_arg" 2321 rm -f conftest.$ac_objext 2322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2323 (eval $ac_compile) 2>&5 2324 ac_status=$? 2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2326 (exit $ac_status); } && 2327 { ac_try='test -s conftest.$ac_objext' 2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2329 (eval $ac_try) 2>&5 2330 ac_status=$? 2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2332 (exit $ac_status); }; }; then 2333 ac_cv_prog_cc_stdc=$ac_arg 2334break 2335else 2336 echo "$as_me: failed program was:" >&5 2337sed 's/^/| /' conftest.$ac_ext >&5 2338 2339fi 2340rm -f conftest.$ac_objext 2341done 2342rm -f conftest.$ac_ext conftest.$ac_objext 2343CC=$ac_save_CC 2344 2345fi 2346 2347case "x$ac_cv_prog_cc_stdc" in 2348 x|xno) 2349 echo "$as_me:$LINENO: result: none needed" >&5 2350echo "${ECHO_T}none needed" >&6 ;; 2351 *) 2352 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2353echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2354 CC="$CC $ac_cv_prog_cc_stdc" ;; 2355esac 2356 2357# Some people use a C++ compiler to compile C. Since we use `exit', 2358# in C++ we need to declare it. In case someone uses the same compiler 2359# for both compiling C and C++ we need to have the C++ compiler decide 2360# the declaration of exit, since it's the most demanding environment. 2361cat >conftest.$ac_ext <<_ACEOF 2362#ifndef __cplusplus 2363 choke me 2364#endif 2365_ACEOF 2366rm -f conftest.$ac_objext 2367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2368 (eval $ac_compile) 2>&5 2369 ac_status=$? 2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2371 (exit $ac_status); } && 2372 { ac_try='test -s conftest.$ac_objext' 2373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2374 (eval $ac_try) 2>&5 2375 ac_status=$? 2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2377 (exit $ac_status); }; }; then 2378 for ac_declaration in \ 2379 '' \ 2380 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2381 'extern "C" void std::exit (int); using std::exit;' \ 2382 'extern "C" void exit (int) throw ();' \ 2383 'extern "C" void exit (int);' \ 2384 'void exit (int);' 2385do 2386 cat >conftest.$ac_ext <<_ACEOF 2387#line $LINENO "configure" 2388/* confdefs.h. */ 2389_ACEOF 2390cat confdefs.h >>conftest.$ac_ext 2391cat >>conftest.$ac_ext <<_ACEOF 2392/* end confdefs.h. */ 2393$ac_declaration 2394#include <stdlib.h> 2395int 2396main () 2397{ 2398exit (42); 2399 ; 2400 return 0; 2401} 2402_ACEOF 2403rm -f conftest.$ac_objext 2404if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2405 (eval $ac_compile) 2>&5 2406 ac_status=$? 2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2408 (exit $ac_status); } && 2409 { ac_try='test -s conftest.$ac_objext' 2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2411 (eval $ac_try) 2>&5 2412 ac_status=$? 2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2414 (exit $ac_status); }; }; then 2415 : 2416else 2417 echo "$as_me: failed program was:" >&5 2418sed 's/^/| /' conftest.$ac_ext >&5 2419 2420continue 2421fi 2422rm -f conftest.$ac_objext conftest.$ac_ext 2423 cat >conftest.$ac_ext <<_ACEOF 2424#line $LINENO "configure" 2425/* confdefs.h. */ 2426_ACEOF 2427cat confdefs.h >>conftest.$ac_ext 2428cat >>conftest.$ac_ext <<_ACEOF 2429/* end confdefs.h. */ 2430$ac_declaration 2431int 2432main () 2433{ 2434exit (42); 2435 ; 2436 return 0; 2437} 2438_ACEOF 2439rm -f conftest.$ac_objext 2440if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2441 (eval $ac_compile) 2>&5 2442 ac_status=$? 2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2444 (exit $ac_status); } && 2445 { ac_try='test -s conftest.$ac_objext' 2446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2447 (eval $ac_try) 2>&5 2448 ac_status=$? 2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2450 (exit $ac_status); }; }; then 2451 break 2452else 2453 echo "$as_me: failed program was:" >&5 2454sed 's/^/| /' conftest.$ac_ext >&5 2455 2456fi 2457rm -f conftest.$ac_objext conftest.$ac_ext 2458done 2459rm -f conftest* 2460if test -n "$ac_declaration"; then 2461 echo '#ifdef __cplusplus' >>confdefs.h 2462 echo $ac_declaration >>confdefs.h 2463 echo '#endif' >>confdefs.h 2464fi 2465 2466else 2467 echo "$as_me: failed program was:" >&5 2468sed 's/^/| /' conftest.$ac_ext >&5 2469 2470fi 2471rm -f conftest.$ac_objext conftest.$ac_ext 2472ac_ext=c 2473ac_cpp='$CPP $CPPFLAGS' 2474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2475ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2476ac_compiler_gnu=$ac_cv_c_compiler_gnu 2477 2478 ac_config_commands="$ac_config_commands default-1" 2479 2480am_make=${MAKE-make} 2481cat > confinc << 'END' 2482doit: 2483 @echo done 2484END 2485# If we don't find an include directive, just comment out the code. 2486echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2487echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2488am__include='#' 2489am__quote= 2490_am_result=none 2491# First try GNU make style include. 2492echo "include confinc" > confmf 2493# We grep out `Entering directory' and `Leaving directory' 2494# messages which can occur if `w' ends up in MAKEFLAGS. 2495# In particular we don't look at `^make:' because GNU make might 2496# be invoked under some other name (usually "gmake"), in which 2497# case it prints its new name instead of `make'. 2498if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then 2499 am__include=include 2500 am__quote= 2501 _am_result=GNU 2502fi 2503# Now try BSD make style include. 2504if test "$am__include" = "#"; then 2505 echo '.include "confinc"' > confmf 2506 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2507 am__include=.include 2508 am__quote='"' 2509 _am_result=BSD 2510 fi 2511fi 2512 2513 2514echo "$as_me:$LINENO: result: $_am_result" >&5 2515echo "${ECHO_T}$_am_result" >&6 2516rm -f confinc confmf 2517 2518 2519depcc="$CC" am_compiler_list= 2520 2521echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2522echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2523if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2524 echo $ECHO_N "(cached) $ECHO_C" >&6 2525else 2526 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2527 # We make a subdir and do the tests there. Otherwise we can end up 2528 # making bogus files that we don't know about and never remove. For 2529 # instance it was reported that on HP-UX the gcc test will end up 2530 # making a dummy file named `D' -- because `-MD' means `put the output 2531 # in D'. 2532 mkdir conftest.dir 2533 # Copy depcomp to subdir because otherwise we won't find it if we're 2534 # using a relative directory. 2535 cp "$am_depcomp" conftest.dir 2536 cd conftest.dir 2537 2538 am_cv_CC_dependencies_compiler_type=none 2539 if test "$am_compiler_list" = ""; then 2540 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2541 fi 2542 for depmode in $am_compiler_list; do 2543 # We need to recreate these files for each test, as the compiler may 2544 # overwrite some of them when testing with obscure command lines. 2545 # This happens at least with the AIX C compiler. 2546 echo '#include "conftest.h"' > conftest.c 2547 echo 'int i;' > conftest.h 2548 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2549 2550 case $depmode in 2551 nosideeffect) 2552 # after this tag, mechanisms are not by side-effect, so they'll 2553 # only be used when explicitly requested 2554 if test "x$enable_dependency_tracking" = xyes; then 2555 continue 2556 else 2557 break 2558 fi 2559 ;; 2560 none) break ;; 2561 esac 2562 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2563 # mode. It turns out that the SunPro C++ compiler does not properly 2564 # handle `-M -o', and we need to detect this. 2565 if depmode=$depmode \ 2566 source=conftest.c object=conftest.o \ 2567 depfile=conftest.Po tmpdepfile=conftest.TPo \ 2568 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 2569 grep conftest.h conftest.Po > /dev/null 2>&1 && 2570 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2571 am_cv_CC_dependencies_compiler_type=$depmode 2572 break 2573 fi 2574 done 2575 2576 cd .. 2577 rm -rf conftest.dir 2578else 2579 am_cv_CC_dependencies_compiler_type=none 2580fi 2581 2582fi 2583echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2584echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2585CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type" 2586 2587 2588pkg_modules="gtk+-2.0" 2589 2590 succeeded=no 2591 2592 if test -z "$PKG_CONFIG"; then 2593 # Extract the first word of "pkg-config", so it can be a program name with args. 2594set dummy pkg-config; ac_word=$2 2595echo "$as_me:$LINENO: checking for $ac_word" >&5 2596echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2597if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 2598 echo $ECHO_N "(cached) $ECHO_C" >&6 2599else 2600 case $PKG_CONFIG in 2601 [\\/]* | ?:[\\/]*) 2602 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2603 ;; 2604 *) 2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2606for as_dir in $PATH 2607do 2608 IFS=$as_save_IFS 2609 test -z "$as_dir" && as_dir=. 2610 for ac_exec_ext in '' $ac_executable_extensions; do 2611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2612 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2614 break 2 2615 fi 2616done 2617done 2618 2619 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 2620 ;; 2621esac 2622fi 2623PKG_CONFIG=$ac_cv_path_PKG_CONFIG 2624 2625if test -n "$PKG_CONFIG"; then 2626 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 2627echo "${ECHO_T}$PKG_CONFIG" >&6 2628else 2629 echo "$as_me:$LINENO: result: no" >&5 2630echo "${ECHO_T}no" >&6 2631fi 2632 2633 fi 2634 2635 if test "$PKG_CONFIG" = "no" ; then 2636 echo "*** The pkg-config script could not be found. Make sure it is" 2637 echo "*** in your path, or set the PKG_CONFIG environment variable" 2638 echo "*** to the full path to pkg-config." 2639 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 2640 else 2641 PKG_CONFIG_MIN_VERSION=0.9.0 2642 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 2643 echo "$as_me:$LINENO: checking for $pkg_modules" >&5 2644echo $ECHO_N "checking for $pkg_modules... $ECHO_C" >&6 2645 2646 if $PKG_CONFIG --exists "$pkg_modules" ; then 2647 echo "$as_me:$LINENO: result: yes" >&5 2648echo "${ECHO_T}yes" >&6 2649 succeeded=yes 2650 2651 echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5 2652echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6 2653 PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules"` 2654 echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5 2655echo "${ECHO_T}$PACKAGE_CFLAGS" >&6 2656 2657 echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5 2658echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6 2659 PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules"` 2660 echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5 2661echo "${ECHO_T}$PACKAGE_LIBS" >&6 2662 else 2663 PACKAGE_CFLAGS="" 2664 PACKAGE_LIBS="" 2665 ## If we have a custom action on failure, don't print errors, but 2666 ## do set a variable so people can do so. 2667 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"` 2668 echo $PACKAGE_PKG_ERRORS 2669 fi 2670 2671 2672 2673 else 2674 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 2675 echo "*** See http://www.freedesktop.org/software/pkgconfig" 2676 fi 2677 fi 2678 2679 if test $succeeded = yes; then 2680 : 2681 else 2682 { { echo "$as_me:$LINENO: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 2683echo "$as_me: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} 2684 { (exit 1); exit 1; }; } 2685 fi 2686 2687 2688 2689 2690# Checks for libraries. 2691LIBS=" " 2692PKG_LIB2=`pkg-config --libs gtk+-2.0` 2693PKG_LIB="" 2694for i in $PKG_LIB2 ; do 2695 case $i in 2696 -l*) PKG_LIB="$i $PKG_LIB" ;; 2697 -L*) LIBS="$i $LIBS" ;; 2698 esac 2699done 2700for i in $PKG_LIB ; do 2701 j=${i#'-l'} 2702 2703 2704as_ac_Lib=`echo "ac_cv_lib_$j''_main" | $as_tr_sh` 2705echo "$as_me:$LINENO: checking for main in -l$j" >&5 2706echo $ECHO_N "checking for main in -l$j... $ECHO_C" >&6 2707if eval "test \"\${$as_ac_Lib+set}\" = set"; then 2708 echo $ECHO_N "(cached) $ECHO_C" >&6 2709else 2710 ac_check_lib_save_LIBS=$LIBS 2711LIBS="-l$j $LIBS" 2712cat >conftest.$ac_ext <<_ACEOF 2713#line $LINENO "configure" 2714/* confdefs.h. */ 2715_ACEOF 2716cat confdefs.h >>conftest.$ac_ext 2717cat >>conftest.$ac_ext <<_ACEOF 2718/* end confdefs.h. */ 2719 2720 2721int 2722main () 2723{ 2724main (); 2725 ; 2726 return 0; 2727} 2728_ACEOF 2729rm -f conftest.$ac_objext conftest$ac_exeext 2730if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2731 (eval $ac_link) 2>&5 2732 ac_status=$? 2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2734 (exit $ac_status); } && 2735 { ac_try='test -s conftest$ac_exeext' 2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2737 (eval $ac_try) 2>&5 2738 ac_status=$? 2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2740 (exit $ac_status); }; }; then 2741 eval "$as_ac_Lib=yes" 2742else 2743 echo "$as_me: failed program was:" >&5 2744sed 's/^/| /' conftest.$ac_ext >&5 2745 2746eval "$as_ac_Lib=no" 2747fi 2748rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2749LIBS=$ac_check_lib_save_LIBS 2750fi 2751echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 2752echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 2753if test `eval echo '${'$as_ac_Lib'}'` = yes; then 2754 cat >>confdefs.h <<_ACEOF 2755#define `echo "HAVE_LIB$j" | $as_tr_cpp` 1 2756_ACEOF 2757 2758 LIBS="-l$j $LIBS" 2759 2760fi 2761 2762done 2763 2764# Checks for header files. 2765ac_ext=c 2766ac_cpp='$CPP $CPPFLAGS' 2767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2769ac_compiler_gnu=$ac_cv_c_compiler_gnu 2770echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2771echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2772# On Suns, sometimes $CPP names a directory. 2773if test -n "$CPP" && test -d "$CPP"; then 2774 CPP= 2775fi 2776if test -z "$CPP"; then 2777 if test "${ac_cv_prog_CPP+set}" = set; then 2778 echo $ECHO_N "(cached) $ECHO_C" >&6 2779else 2780 # Double quotes because CPP needs to be expanded 2781 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2782 do 2783 ac_preproc_ok=false 2784for ac_c_preproc_warn_flag in '' yes 2785do 2786 # Use a header file that comes with gcc, so configuring glibc 2787 # with a fresh cross-compiler works. 2788 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2789 # <limits.h> exists even on freestanding compilers. 2790 # On the NeXT, cc -E runs the code through the compiler's parser, 2791 # not just through cpp. "Syntax error" is here to catch this case. 2792 cat >conftest.$ac_ext <<_ACEOF 2793#line $LINENO "configure" 2794/* confdefs.h. */ 2795_ACEOF 2796cat confdefs.h >>conftest.$ac_ext 2797cat >>conftest.$ac_ext <<_ACEOF 2798/* end confdefs.h. */ 2799#ifdef __STDC__ 2800# include <limits.h> 2801#else 2802# include <assert.h> 2803#endif 2804 Syntax error 2805_ACEOF 2806if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2808 ac_status=$? 2809 grep -v '^ *+' conftest.er1 >conftest.err 2810 rm -f conftest.er1 2811 cat conftest.err >&5 2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2813 (exit $ac_status); } >/dev/null; then 2814 if test -s conftest.err; then 2815 ac_cpp_err=$ac_c_preproc_warn_flag 2816 else 2817 ac_cpp_err= 2818 fi 2819else 2820 ac_cpp_err=yes 2821fi 2822if test -z "$ac_cpp_err"; then 2823 : 2824else 2825 echo "$as_me: failed program was:" >&5 2826sed 's/^/| /' conftest.$ac_ext >&5 2827 2828 # Broken: fails on valid input. 2829continue 2830fi 2831rm -f conftest.err conftest.$ac_ext 2832 2833 # OK, works on sane cases. Now check whether non-existent headers 2834 # can be detected and how. 2835 cat >conftest.$ac_ext <<_ACEOF 2836#line $LINENO "configure" 2837/* confdefs.h. */ 2838_ACEOF 2839cat confdefs.h >>conftest.$ac_ext 2840cat >>conftest.$ac_ext <<_ACEOF 2841/* end confdefs.h. */ 2842#include <ac_nonexistent.h> 2843_ACEOF 2844if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2846 ac_status=$? 2847 grep -v '^ *+' conftest.er1 >conftest.err 2848 rm -f conftest.er1 2849 cat conftest.err >&5 2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2851 (exit $ac_status); } >/dev/null; then 2852 if test -s conftest.err; then 2853 ac_cpp_err=$ac_c_preproc_warn_flag 2854 else 2855 ac_cpp_err= 2856 fi 2857else 2858 ac_cpp_err=yes 2859fi 2860if test -z "$ac_cpp_err"; then 2861 # Broken: success on invalid input. 2862continue 2863else 2864 echo "$as_me: failed program was:" >&5 2865sed 's/^/| /' conftest.$ac_ext >&5 2866 2867 # Passes both tests. 2868ac_preproc_ok=: 2869break 2870fi 2871rm -f conftest.err conftest.$ac_ext 2872 2873done 2874# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2875rm -f conftest.err conftest.$ac_ext 2876if $ac_preproc_ok; then 2877 break 2878fi 2879 2880 done 2881 ac_cv_prog_CPP=$CPP 2882 2883fi 2884 CPP=$ac_cv_prog_CPP 2885else 2886 ac_cv_prog_CPP=$CPP 2887fi 2888echo "$as_me:$LINENO: result: $CPP" >&5 2889echo "${ECHO_T}$CPP" >&6 2890ac_preproc_ok=false 2891for ac_c_preproc_warn_flag in '' yes 2892do 2893 # Use a header file that comes with gcc, so configuring glibc 2894 # with a fresh cross-compiler works. 2895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2896 # <limits.h> exists even on freestanding compilers. 2897 # On the NeXT, cc -E runs the code through the compiler's parser, 2898 # not just through cpp. "Syntax error" is here to catch this case. 2899 cat >conftest.$ac_ext <<_ACEOF 2900#line $LINENO "configure" 2901/* confdefs.h. */ 2902_ACEOF 2903cat confdefs.h >>conftest.$ac_ext 2904cat >>conftest.$ac_ext <<_ACEOF 2905/* end confdefs.h. */ 2906#ifdef __STDC__ 2907# include <limits.h> 2908#else 2909# include <assert.h> 2910#endif 2911 Syntax error 2912_ACEOF 2913if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2915 ac_status=$? 2916 grep -v '^ *+' conftest.er1 >conftest.err 2917 rm -f conftest.er1 2918 cat conftest.err >&5 2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2920 (exit $ac_status); } >/dev/null; then 2921 if test -s conftest.err; then 2922 ac_cpp_err=$ac_c_preproc_warn_flag 2923 else 2924 ac_cpp_err= 2925 fi 2926else 2927 ac_cpp_err=yes 2928fi 2929if test -z "$ac_cpp_err"; then 2930 : 2931else 2932 echo "$as_me: failed program was:" >&5 2933sed 's/^/| /' conftest.$ac_ext >&5 2934 2935 # Broken: fails on valid input. 2936continue 2937fi 2938rm -f conftest.err conftest.$ac_ext 2939 2940 # OK, works on sane cases. Now check whether non-existent headers 2941 # can be detected and how. 2942 cat >conftest.$ac_ext <<_ACEOF 2943#line $LINENO "configure" 2944/* confdefs.h. */ 2945_ACEOF 2946cat confdefs.h >>conftest.$ac_ext 2947cat >>conftest.$ac_ext <<_ACEOF 2948/* end confdefs.h. */ 2949#include <ac_nonexistent.h> 2950_ACEOF 2951if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2952 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2953 ac_status=$? 2954 grep -v '^ *+' conftest.er1 >conftest.err 2955 rm -f conftest.er1 2956 cat conftest.err >&5 2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2958 (exit $ac_status); } >/dev/null; then 2959 if test -s conftest.err; then 2960 ac_cpp_err=$ac_c_preproc_warn_flag 2961 else 2962 ac_cpp_err= 2963 fi 2964else 2965 ac_cpp_err=yes 2966fi 2967if test -z "$ac_cpp_err"; then 2968 # Broken: success on invalid input. 2969continue 2970else 2971 echo "$as_me: failed program was:" >&5 2972sed 's/^/| /' conftest.$ac_ext >&5 2973 2974 # Passes both tests. 2975ac_preproc_ok=: 2976break 2977fi 2978rm -f conftest.err conftest.$ac_ext 2979 2980done 2981# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2982rm -f conftest.err conftest.$ac_ext 2983if $ac_preproc_ok; then 2984 : 2985else 2986 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2987See \`config.log' for more details." >&5 2988echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2989See \`config.log' for more details." >&2;} 2990 { (exit 1); exit 1; }; } 2991fi 2992 2993ac_ext=c 2994ac_cpp='$CPP $CPPFLAGS' 2995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2997ac_compiler_gnu=$ac_cv_c_compiler_gnu 2998 2999 3000echo "$as_me:$LINENO: checking for egrep" >&5 3001echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3002if test "${ac_cv_prog_egrep+set}" = set; then 3003 echo $ECHO_N "(cached) $ECHO_C" >&6 3004else 3005 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3006 then ac_cv_prog_egrep='grep -E' 3007 else ac_cv_prog_egrep='egrep' 3008 fi 3009fi 3010echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3011echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3012 EGREP=$ac_cv_prog_egrep 3013 3014 3015echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3016echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3017if test "${ac_cv_header_stdc+set}" = set; then 3018 echo $ECHO_N "(cached) $ECHO_C" >&6 3019else 3020 cat >conftest.$ac_ext <<_ACEOF 3021#line $LINENO "configure" 3022/* confdefs.h. */ 3023_ACEOF 3024cat confdefs.h >>conftest.$ac_ext 3025cat >>conftest.$ac_ext <<_ACEOF 3026/* end confdefs.h. */ 3027#include <stdlib.h> 3028#include <stdarg.h> 3029#include <string.h> 3030#include <float.h> 3031 3032int 3033main () 3034{ 3035 3036 ; 3037 return 0; 3038} 3039_ACEOF 3040rm -f conftest.$ac_objext 3041if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3042 (eval $ac_compile) 2>&5 3043 ac_status=$? 3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3045 (exit $ac_status); } && 3046 { ac_try='test -s conftest.$ac_objext' 3047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3048 (eval $ac_try) 2>&5 3049 ac_status=$? 3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3051 (exit $ac_status); }; }; then 3052 ac_cv_header_stdc=yes 3053else 3054 echo "$as_me: failed program was:" >&5 3055sed 's/^/| /' conftest.$ac_ext >&5 3056 3057ac_cv_header_stdc=no 3058fi 3059rm -f conftest.$ac_objext conftest.$ac_ext 3060 3061if test $ac_cv_header_stdc = yes; then 3062 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3063 cat >conftest.$ac_ext <<_ACEOF 3064#line $LINENO "configure" 3065/* confdefs.h. */ 3066_ACEOF 3067cat confdefs.h >>conftest.$ac_ext 3068cat >>conftest.$ac_ext <<_ACEOF 3069/* end confdefs.h. */ 3070#include <string.h> 3071 3072_ACEOF 3073if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3074 $EGREP "memchr" >/dev/null 2>&1; then 3075 : 3076else 3077 ac_cv_header_stdc=no 3078fi 3079rm -f conftest* 3080 3081fi 3082 3083if test $ac_cv_header_stdc = yes; then 3084 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3085 cat >conftest.$ac_ext <<_ACEOF 3086#line $LINENO "configure" 3087/* confdefs.h. */ 3088_ACEOF 3089cat confdefs.h >>conftest.$ac_ext 3090cat >>conftest.$ac_ext <<_ACEOF 3091/* end confdefs.h. */ 3092#include <stdlib.h> 3093 3094_ACEOF 3095if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3096 $EGREP "free" >/dev/null 2>&1; then 3097 : 3098else 3099 ac_cv_header_stdc=no 3100fi 3101rm -f conftest* 3102 3103fi 3104 3105if test $ac_cv_header_stdc = yes; then 3106 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3107 if test "$cross_compiling" = yes; then 3108 : 3109else 3110 cat >conftest.$ac_ext <<_ACEOF 3111#line $LINENO "configure" 3112/* confdefs.h. */ 3113_ACEOF 3114cat confdefs.h >>conftest.$ac_ext 3115cat >>conftest.$ac_ext <<_ACEOF 3116/* end confdefs.h. */ 3117#include <ctype.h> 3118#if ((' ' & 0x0FF) == 0x020) 3119# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3120# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3121#else 3122# define ISLOWER(c) \ 3123 (('a' <= (c) && (c) <= 'i') \ 3124 || ('j' <= (c) && (c) <= 'r') \ 3125 || ('s' <= (c) && (c) <= 'z')) 3126# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3127#endif 3128 3129#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3130int 3131main () 3132{ 3133 int i; 3134 for (i = 0; i < 256; i++) 3135 if (XOR (islower (i), ISLOWER (i)) 3136 || toupper (i) != TOUPPER (i)) 3137 exit(2); 3138 exit (0); 3139} 3140_ACEOF 3141rm -f conftest$ac_exeext 3142if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3143 (eval $ac_link) 2>&5 3144 ac_status=$? 3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3148 (eval $ac_try) 2>&5 3149 ac_status=$? 3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3151 (exit $ac_status); }; }; then 3152 : 3153else 3154 echo "$as_me: program exited with status $ac_status" >&5 3155echo "$as_me: failed program was:" >&5 3156sed 's/^/| /' conftest.$ac_ext >&5 3157 3158( exit $ac_status ) 3159ac_cv_header_stdc=no 3160fi 3161rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3162fi 3163fi 3164fi 3165echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3166echo "${ECHO_T}$ac_cv_header_stdc" >&6 3167if test $ac_cv_header_stdc = yes; then 3168 3169cat >>confdefs.h <<\_ACEOF 3170#define STDC_HEADERS 1 3171_ACEOF 3172 3173fi 3174 3175# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3186 inttypes.h stdint.h unistd.h 3187do 3188as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3189echo "$as_me:$LINENO: checking for $ac_header" >&5 3190echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3191if eval "test \"\${$as_ac_Header+set}\" = set"; then 3192 echo $ECHO_N "(cached) $ECHO_C" >&6 3193else 3194 cat >conftest.$ac_ext <<_ACEOF 3195#line $LINENO "configure" 3196/* confdefs.h. */ 3197_ACEOF 3198cat confdefs.h >>conftest.$ac_ext 3199cat >>conftest.$ac_ext <<_ACEOF 3200/* end confdefs.h. */ 3201$ac_includes_default 3202 3203#include <$ac_header> 3204_ACEOF 3205rm -f conftest.$ac_objext 3206if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3207 (eval $ac_compile) 2>&5 3208 ac_status=$? 3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3210 (exit $ac_status); } && 3211 { ac_try='test -s conftest.$ac_objext' 3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3213 (eval $ac_try) 2>&5 3214 ac_status=$? 3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3216 (exit $ac_status); }; }; then 3217 eval "$as_ac_Header=yes" 3218else 3219 echo "$as_me: failed program was:" >&5 3220sed 's/^/| /' conftest.$ac_ext >&5 3221 3222eval "$as_ac_Header=no" 3223fi 3224rm -f conftest.$ac_objext conftest.$ac_ext 3225fi 3226echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3227echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3228if test `eval echo '${'$as_ac_Header'}'` = yes; then 3229 cat >>confdefs.h <<_ACEOF 3230#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3231_ACEOF 3232 3233fi 3234 3235done 3236 3237 3238 3239 3240 3241for ac_header in fcntl.h string.h unistd.h 3242do 3243as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3244if eval "test \"\${$as_ac_Header+set}\" = set"; then 3245 echo "$as_me:$LINENO: checking for $ac_header" >&5 3246echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3247if eval "test \"\${$as_ac_Header+set}\" = set"; then 3248 echo $ECHO_N "(cached) $ECHO_C" >&6 3249fi 3250echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3251echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3252else 3253 # Is the header compilable? 3254echo "$as_me:$LINENO: checking $ac_header usability" >&5 3255echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3256cat >conftest.$ac_ext <<_ACEOF 3257#line $LINENO "configure" 3258/* confdefs.h. */ 3259_ACEOF 3260cat confdefs.h >>conftest.$ac_ext 3261cat >>conftest.$ac_ext <<_ACEOF 3262/* end confdefs.h. */ 3263$ac_includes_default 3264#include <$ac_header> 3265_ACEOF 3266rm -f conftest.$ac_objext 3267if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3268 (eval $ac_compile) 2>&5 3269 ac_status=$? 3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3271 (exit $ac_status); } && 3272 { ac_try='test -s conftest.$ac_objext' 3273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3274 (eval $ac_try) 2>&5 3275 ac_status=$? 3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3277 (exit $ac_status); }; }; then 3278 ac_header_compiler=yes 3279else 3280 echo "$as_me: failed program was:" >&5 3281sed 's/^/| /' conftest.$ac_ext >&5 3282 3283ac_header_compiler=no 3284fi 3285rm -f conftest.$ac_objext conftest.$ac_ext 3286echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3287echo "${ECHO_T}$ac_header_compiler" >&6 3288 3289# Is the header present? 3290echo "$as_me:$LINENO: checking $ac_header presence" >&5 3291echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3292cat >conftest.$ac_ext <<_ACEOF 3293#line $LINENO "configure" 3294/* confdefs.h. */ 3295_ACEOF 3296cat confdefs.h >>conftest.$ac_ext 3297cat >>conftest.$ac_ext <<_ACEOF 3298/* end confdefs.h. */ 3299#include <$ac_header> 3300_ACEOF 3301if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3303 ac_status=$? 3304 grep -v '^ *+' conftest.er1 >conftest.err 3305 rm -f conftest.er1 3306 cat conftest.err >&5 3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3308 (exit $ac_status); } >/dev/null; then 3309 if test -s conftest.err; then 3310 ac_cpp_err=$ac_c_preproc_warn_flag 3311 else 3312 ac_cpp_err= 3313 fi 3314else 3315 ac_cpp_err=yes 3316fi 3317if test -z "$ac_cpp_err"; then 3318 ac_header_preproc=yes 3319else 3320 echo "$as_me: failed program was:" >&5 3321sed 's/^/| /' conftest.$ac_ext >&5 3322 3323 ac_header_preproc=no 3324fi 3325rm -f conftest.err conftest.$ac_ext 3326echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3327echo "${ECHO_T}$ac_header_preproc" >&6 3328 3329# So? What about this header? 3330case $ac_header_compiler:$ac_header_preproc in 3331 yes:no ) 3332 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3333echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3334 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3335echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3336 ( 3337 cat <<\_ASBOX 3338## ------------------------------------ ## 3339## Report this to bug-autoconf@gnu.org. ## 3340## ------------------------------------ ## 3341_ASBOX 3342 ) | 3343 sed "s/^/$as_me: WARNING: /" >&2 3344 ;; 3345 no:yes ) 3346 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3347echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3348 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3349echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3351echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3352 ( 3353 cat <<\_ASBOX 3354## ------------------------------------ ## 3355## Report this to bug-autoconf@gnu.org. ## 3356## ------------------------------------ ## 3357_ASBOX 3358 ) | 3359 sed "s/^/$as_me: WARNING: /" >&2 3360 ;; 3361esac 3362echo "$as_me:$LINENO: checking for $ac_header" >&5 3363echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3364if eval "test \"\${$as_ac_Header+set}\" = set"; then 3365 echo $ECHO_N "(cached) $ECHO_C" >&6 3366else 3367 eval "$as_ac_Header=$ac_header_preproc" 3368fi 3369echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3370echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3371 3372fi 3373if test `eval echo '${'$as_ac_Header'}'` = yes; then 3374 cat >>confdefs.h <<_ACEOF 3375#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3376_ACEOF 3377 3378fi 3379 3380done 3381 3382 3383# Checks for typedefs, structures, and compiler characteristics. 3384echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3385echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 3386if test "${ac_cv_c_const+set}" = set; then 3387 echo $ECHO_N "(cached) $ECHO_C" >&6 3388else 3389 cat >conftest.$ac_ext <<_ACEOF 3390#line $LINENO "configure" 3391/* confdefs.h. */ 3392_ACEOF 3393cat confdefs.h >>conftest.$ac_ext 3394cat >>conftest.$ac_ext <<_ACEOF 3395/* end confdefs.h. */ 3396 3397int 3398main () 3399{ 3400/* FIXME: Include the comments suggested by Paul. */ 3401#ifndef __cplusplus 3402 /* Ultrix mips cc rejects this. */ 3403 typedef int charset[2]; 3404 const charset x; 3405 /* SunOS 4.1.1 cc rejects this. */ 3406 char const *const *ccp; 3407 char **p; 3408 /* NEC SVR4.0.2 mips cc rejects this. */ 3409 struct point {int x, y;}; 3410 static struct point const zero = {0,0}; 3411 /* AIX XL C 1.02.0.0 rejects this. 3412 It does not let you subtract one const X* pointer from another in 3413 an arm of an if-expression whose if-part is not a constant 3414 expression */ 3415 const char *g = "string"; 3416 ccp = &g + (g ? g-g : 0); 3417 /* HPUX 7.0 cc rejects these. */ 3418 ++ccp; 3419 p = (char**) ccp; 3420 ccp = (char const *const *) p; 3421 { /* SCO 3.2v4 cc rejects this. */ 3422 char *t; 3423 char const *s = 0 ? (char *) 0 : (char const *) 0; 3424 3425 *t++ = 0; 3426 } 3427 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 3428 int x[] = {25, 17}; 3429 const int *foo = &x[0]; 3430 ++foo; 3431 } 3432 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 3433 typedef const int *iptr; 3434 iptr p = 0; 3435 ++p; 3436 } 3437 { /* AIX XL C 1.02.0.0 rejects this saying 3438 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 3439 struct s { int j; const int *ap[3]; }; 3440 struct s *b; b->j = 5; 3441 } 3442 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3443 const int foo = 10; 3444 } 3445#endif 3446 3447 ; 3448 return 0; 3449} 3450_ACEOF 3451rm -f conftest.$ac_objext 3452if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3453 (eval $ac_compile) 2>&5 3454 ac_status=$? 3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3456 (exit $ac_status); } && 3457 { ac_try='test -s conftest.$ac_objext' 3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3459 (eval $ac_try) 2>&5 3460 ac_status=$? 3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3462 (exit $ac_status); }; }; then 3463 ac_cv_c_const=yes 3464else 3465 echo "$as_me: failed program was:" >&5 3466sed 's/^/| /' conftest.$ac_ext >&5 3467 3468ac_cv_c_const=no 3469fi 3470rm -f conftest.$ac_objext conftest.$ac_ext 3471fi 3472echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 3473echo "${ECHO_T}$ac_cv_c_const" >&6 3474if test $ac_cv_c_const = no; then 3475 3476cat >>confdefs.h <<\_ACEOF 3477#define const 3478_ACEOF 3479 3480fi 3481 3482 3483# Checks for library functions. 3484 3485for ac_func in sqrt 3486do 3487as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3488echo "$as_me:$LINENO: checking for $ac_func" >&5 3489echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3490if eval "test \"\${$as_ac_var+set}\" = set"; then 3491 echo $ECHO_N "(cached) $ECHO_C" >&6 3492else 3493 cat >conftest.$ac_ext <<_ACEOF 3494#line $LINENO "configure" 3495/* confdefs.h. */ 3496_ACEOF 3497cat confdefs.h >>conftest.$ac_ext 3498cat >>conftest.$ac_ext <<_ACEOF 3499/* end confdefs.h. */ 3500/* System header to define __stub macros and hopefully few prototypes, 3501 which can conflict with char $ac_func (); below. 3502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3503 <limits.h> exists even on freestanding compilers. */ 3504#ifdef __STDC__ 3505# include <limits.h> 3506#else 3507# include <assert.h> 3508#endif 3509/* Override any gcc2 internal prototype to avoid an error. */ 3510#ifdef __cplusplus 3511extern "C" 3512{ 3513#endif 3514/* We use char because int might match the return type of a gcc2 3515 builtin and then its argument prototype would still apply. */ 3516char $ac_func (); 3517/* The GNU C library defines this for functions which it implements 3518 to always fail with ENOSYS. Some functions are actually named 3519 something starting with __ and the normal name is an alias. */ 3520#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3521choke me 3522#else 3523char (*f) () = $ac_func; 3524#endif 3525#ifdef __cplusplus 3526} 3527#endif 3528 3529int 3530main () 3531{ 3532return f != $ac_func; 3533 ; 3534 return 0; 3535} 3536_ACEOF 3537rm -f conftest.$ac_objext conftest$ac_exeext 3538if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3539 (eval $ac_link) 2>&5 3540 ac_status=$? 3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3542 (exit $ac_status); } && 3543 { ac_try='test -s conftest$ac_exeext' 3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3545 (eval $ac_try) 2>&5 3546 ac_status=$? 3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3548 (exit $ac_status); }; }; then 3549 eval "$as_ac_var=yes" 3550else 3551 echo "$as_me: failed program was:" >&5 3552sed 's/^/| /' conftest.$ac_ext >&5 3553 3554eval "$as_ac_var=no" 3555fi 3556rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3557fi 3558echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3559echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3560if test `eval echo '${'$as_ac_var'}'` = yes; then 3561 cat >>confdefs.h <<_ACEOF 3562#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3563_ACEOF 3564 3565fi 3566done 3567 3568 ac_config_files="$ac_config_files Makefile gsmc.1" 3569cat >confcache <<\_ACEOF 3570# This file is a shell script that caches the results of configure 3571# tests run on this system so they can be shared between configure 3572# scripts and configure runs, see configure's option --config-cache. 3573# It is not useful on other systems. If it contains results you don't 3574# want to keep, you may remove or edit it. 3575# 3576# config.status only pays attention to the cache file if you give it 3577# the --recheck option to rerun configure. 3578# 3579# `ac_cv_env_foo' variables (set or unset) will be overridden when 3580# loading this file, other *unset* `ac_cv_foo' will be assigned the 3581# following values. 3582 3583_ACEOF 3584 3585# The following way of writing the cache mishandles newlines in values, 3586# but we know of no workaround that is simple, portable, and efficient. 3587# So, don't put newlines in cache variables' values. 3588# Ultrix sh set writes to stderr and can't be redirected directly, 3589# and sets the high bit in the cache file unless we assign to the vars. 3590{ 3591 (set) 2>&1 | 3592 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3593 *ac_space=\ *) 3594 # `set' does not quote correctly, so add quotes (double-quote 3595 # substitution turns \\\\ into \\, and sed turns \\ into \). 3596 sed -n \ 3597 "s/'/'\\\\''/g; 3598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3599 ;; 3600 *) 3601 # `set' quotes correctly as required by POSIX, so do not add quotes. 3602 sed -n \ 3603 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3604 ;; 3605 esac; 3606} | 3607 sed ' 3608 t clear 3609 : clear 3610 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3611 t end 3612 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3613 : end' >>confcache 3614if diff $cache_file confcache >/dev/null 2>&1; then :; else 3615 if test -w $cache_file; then 3616 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3617 cat confcache >$cache_file 3618 else 3619 echo "not updating unwritable cache $cache_file" 3620 fi 3621fi 3622rm -f confcache 3623 3624test "x$prefix" = xNONE && prefix=$ac_default_prefix 3625# Let make expand exec_prefix. 3626test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3627 3628# VPATH may cause trouble with some makes, so we remove $(srcdir), 3629# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3630# trailing colons and then remove the whole line if VPATH becomes empty 3631# (actually we leave an empty line to preserve line numbers). 3632if test "x$srcdir" = x.; then 3633 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3634s/:*\$(srcdir):*/:/; 3635s/:*\${srcdir}:*/:/; 3636s/:*@srcdir@:*/:/; 3637s/^\([^=]*=[ ]*\):*/\1/; 3638s/:*$//; 3639s/^[^=]*=[ ]*$//; 3640}' 3641fi 3642 3643# Transform confdefs.h into DEFS. 3644# Protect against shell expansion while executing Makefile rules. 3645# Protect against Makefile macro expansion. 3646# 3647# If the first sed substitution is executed (which looks for macros that 3648# take arguments), then we branch to the quote section. Otherwise, 3649# look for a macro that doesn't take arguments. 3650cat >confdef2opt.sed <<\_ACEOF 3651t clear 3652: clear 3653s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 3654t quote 3655s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 3656t quote 3657d 3658: quote 3659s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 3660s,\[,\\&,g 3661s,\],\\&,g 3662s,\$,$$,g 3663p 3664_ACEOF 3665# We use echo to avoid assuming a particular line-breaking character. 3666# The extra dot is to prevent the shell from consuming trailing 3667# line-breaks from the sub-command output. A line-break within 3668# single-quotes doesn't work because, if this script is created in a 3669# platform that uses two characters for line-breaks (e.g., DOS), tr 3670# would break. 3671ac_LF_and_DOT=`echo; echo .` 3672DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 3673rm -f confdef2opt.sed 3674 3675 3676ac_libobjs= 3677ac_ltlibobjs= 3678for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3679 # 1. Remove the extension, and $U if already installed. 3680 ac_i=`echo "$ac_i" | 3681 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3682 # 2. Add them. 3683 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3684 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 3685done 3686LIBOBJS=$ac_libobjs 3687 3688LTLIBOBJS=$ac_ltlibobjs 3689 3690 3691 3692: ${CONFIG_STATUS=./config.status} 3693ac_clean_files_save=$ac_clean_files 3694ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3695{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3696echo "$as_me: creating $CONFIG_STATUS" >&6;} 3697cat >$CONFIG_STATUS <<_ACEOF 3698#! $SHELL 3699# Generated by $as_me. 3700# Run this file to recreate the current configuration. 3701# Compiler output produced by configure, useful for debugging 3702# configure, is in config.log if it exists. 3703 3704debug=false 3705ac_cs_recheck=false 3706ac_cs_silent=false 3707SHELL=\${CONFIG_SHELL-$SHELL} 3708_ACEOF 3709 3710cat >>$CONFIG_STATUS <<\_ACEOF 3711## --------------------- ## 3712## M4sh Initialization. ## 3713## --------------------- ## 3714 3715# Be Bourne compatible 3716if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3717 emulate sh 3718 NULLCMD=: 3719 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3720 # is contrary to our usage. Disable this feature. 3721 alias -g '${1+"$@"}'='"$@"' 3722elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3723 set -o posix 3724fi 3725 3726# Support unset when possible. 3727if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 3728 as_unset=unset 3729else 3730 as_unset=false 3731fi 3732 3733 3734# Work around bugs in pre-3.0 UWIN ksh. 3735$as_unset ENV MAIL MAILPATH 3736PS1='$ ' 3737PS2='> ' 3738PS4='+ ' 3739 3740# NLS nuisances. 3741for as_var in \ 3742 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3743 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3744 LC_TELEPHONE LC_TIME 3745do 3746 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 3747 eval $as_var=C; export $as_var 3748 else 3749 $as_unset $as_var 3750 fi 3751done 3752 3753# Required to use basename. 3754if expr a : '\(a\)' >/dev/null 2>&1; then 3755 as_expr=expr 3756else 3757 as_expr=false 3758fi 3759 3760if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 3761 as_basename=basename 3762else 3763 as_basename=false 3764fi 3765 3766 3767# Name of the executable. 3768as_me=`$as_basename "$0" || 3769$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3770 X"$0" : 'X\(//\)$' \| \ 3771 X"$0" : 'X\(/\)$' \| \ 3772 . : '\(.\)' 2>/dev/null || 3773echo X/"$0" | 3774 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3775 /^X\/\(\/\/\)$/{ s//\1/; q; } 3776 /^X\/\(\/\).*/{ s//\1/; q; } 3777 s/.*/./; q'` 3778 3779 3780# PATH needs CR, and LINENO needs CR and PATH. 3781# Avoid depending upon Character Ranges. 3782as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3783as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3784as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3785as_cr_digits='0123456789' 3786as_cr_alnum=$as_cr_Letters$as_cr_digits 3787 3788# The user is always right. 3789if test "${PATH_SEPARATOR+set}" != set; then 3790 echo "#! /bin/sh" >conf$$.sh 3791 echo "exit 0" >>conf$$.sh 3792 chmod +x conf$$.sh 3793 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3794 PATH_SEPARATOR=';' 3795 else 3796 PATH_SEPARATOR=: 3797 fi 3798 rm -f conf$$.sh 3799fi 3800 3801 3802 as_lineno_1=$LINENO 3803 as_lineno_2=$LINENO 3804 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3805 test "x$as_lineno_1" != "x$as_lineno_2" && 3806 test "x$as_lineno_3" = "x$as_lineno_2" || { 3807 # Find who we are. Look in the path if we contain no path at all 3808 # relative or not. 3809 case $0 in 3810 *[\\/]* ) as_myself=$0 ;; 3811 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3812for as_dir in $PATH 3813do 3814 IFS=$as_save_IFS 3815 test -z "$as_dir" && as_dir=. 3816 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3817done 3818 3819 ;; 3820 esac 3821 # We did not find ourselves, most probably we were run as `sh COMMAND' 3822 # in which case we are not to be found in the path. 3823 if test "x$as_myself" = x; then 3824 as_myself=$0 3825 fi 3826 if test ! -f "$as_myself"; then 3827 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3828echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3829 { (exit 1); exit 1; }; } 3830 fi 3831 case $CONFIG_SHELL in 3832 '') 3833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3834for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3835do 3836 IFS=$as_save_IFS 3837 test -z "$as_dir" && as_dir=. 3838 for as_base in sh bash ksh sh5; do 3839 case $as_dir in 3840 /*) 3841 if ("$as_dir/$as_base" -c ' 3842 as_lineno_1=$LINENO 3843 as_lineno_2=$LINENO 3844 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3845 test "x$as_lineno_1" != "x$as_lineno_2" && 3846 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3847 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3848 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3849 CONFIG_SHELL=$as_dir/$as_base 3850 export CONFIG_SHELL 3851 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3852 fi;; 3853 esac 3854 done 3855done 3856;; 3857 esac 3858 3859 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3860 # uniformly replaced by the line number. The first 'sed' inserts a 3861 # line-number line before each line; the second 'sed' does the real 3862 # work. The second script uses 'N' to pair each line-number line 3863 # with the numbered line, and appends trailing '-' during 3864 # substitution so that $LINENO is not a special case at line end. 3865 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3866 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3867 sed '=' <$as_myself | 3868 sed ' 3869 N 3870 s,$,-, 3871 : loop 3872 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3873 t loop 3874 s,-$,, 3875 s,^['$as_cr_digits']*\n,, 3876 ' >$as_me.lineno && 3877 chmod +x $as_me.lineno || 3878 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3879echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3880 { (exit 1); exit 1; }; } 3881 3882 # Don't try to exec as it changes $[0], causing all sort of problems 3883 # (the dirname of $[0] is not the place where we might find the 3884 # original and so on. Autoconf is especially sensible to this). 3885 . ./$as_me.lineno 3886 # Exit status is that of the last command. 3887 exit 3888} 3889 3890 3891case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3892 *c*,-n*) ECHO_N= ECHO_C=' 3893' ECHO_T=' ' ;; 3894 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3895 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3896esac 3897 3898if expr a : '\(a\)' >/dev/null 2>&1; then 3899 as_expr=expr 3900else 3901 as_expr=false 3902fi 3903 3904rm -f conf$$ conf$$.exe conf$$.file 3905echo >conf$$.file 3906if ln -s conf$$.file conf$$ 2>/dev/null; then 3907 # We could just check for DJGPP; but this test a) works b) is more generic 3908 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3909 if test -f conf$$.exe; then 3910 # Don't use ln at all; we don't have any links 3911 as_ln_s='cp -p' 3912 else 3913 as_ln_s='ln -s' 3914 fi 3915elif ln conf$$.file conf$$ 2>/dev/null; then 3916 as_ln_s=ln 3917else 3918 as_ln_s='cp -p' 3919fi 3920rm -f conf$$ conf$$.exe conf$$.file 3921 3922if mkdir -p . 2>/dev/null; then 3923 as_mkdir_p=: 3924else 3925 as_mkdir_p=false 3926fi 3927 3928as_executable_p="test -f" 3929 3930# Sed expression to map a string onto a valid CPP name. 3931as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 3932 3933# Sed expression to map a string onto a valid variable name. 3934as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 3935 3936 3937# IFS 3938# We need space, tab and new line, in precisely that order. 3939as_nl=' 3940' 3941IFS=" $as_nl" 3942 3943# CDPATH. 3944$as_unset CDPATH 3945 3946exec 6>&1 3947 3948# Open the log real soon, to keep \$[0] and so on meaningful, and to 3949# report actual input values of CONFIG_FILES etc. instead of their 3950# values after options handling. Logging --version etc. is OK. 3951exec 5>>config.log 3952{ 3953 echo 3954 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3955## Running $as_me. ## 3956_ASBOX 3957} >&5 3958cat >&5 <<_CSEOF 3959 3960This file was extended by gsmc $as_me 1.0, which was 3961generated by GNU Autoconf 2.57. Invocation command line was 3962 3963 CONFIG_FILES = $CONFIG_FILES 3964 CONFIG_HEADERS = $CONFIG_HEADERS 3965 CONFIG_LINKS = $CONFIG_LINKS 3966 CONFIG_COMMANDS = $CONFIG_COMMANDS 3967 $ $0 $@ 3968 3969_CSEOF 3970echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3971echo >&5 3972_ACEOF 3973 3974# Files that config.status was made for. 3975if test -n "$ac_config_files"; then 3976 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3977fi 3978 3979if test -n "$ac_config_headers"; then 3980 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3981fi 3982 3983if test -n "$ac_config_links"; then 3984 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3985fi 3986 3987if test -n "$ac_config_commands"; then 3988 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3989fi 3990 3991cat >>$CONFIG_STATUS <<\_ACEOF 3992 3993ac_cs_usage="\ 3994\`$as_me' instantiates files from templates according to the 3995current configuration. 3996 3997Usage: $0 [OPTIONS] [FILE]... 3998 3999 -h, --help print this help, then exit 4000 -V, --version print version number, then exit 4001 -q, --quiet do not print progress messages 4002 -d, --debug don't remove temporary files 4003 --recheck update $as_me by reconfiguring in the same conditions 4004 --file=FILE[:TEMPLATE] 4005 instantiate the configuration file FILE 4006 4007Configuration files: 4008$config_files 4009 4010Configuration commands: 4011$config_commands 4012 4013Report bugs to <bug-autoconf@gnu.org>." 4014_ACEOF 4015 4016cat >>$CONFIG_STATUS <<_ACEOF 4017ac_cs_version="\\ 4018gsmc config.status 1.0 4019configured by $0, generated by GNU Autoconf 2.57, 4020 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4021 4022Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 4023Free Software Foundation, Inc. 4024This config.status script is free software; the Free Software Foundation 4025gives unlimited permission to copy, distribute and modify it." 4026srcdir=$srcdir 4027INSTALL="$INSTALL" 4028_ACEOF 4029 4030cat >>$CONFIG_STATUS <<\_ACEOF 4031# If no file are specified by the user, then we need to provide default 4032# value. By we need to know if files were specified by the user. 4033ac_need_defaults=: 4034while test $# != 0 4035do 4036 case $1 in 4037 --*=*) 4038 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4039 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4040 ac_shift=: 4041 ;; 4042 -*) 4043 ac_option=$1 4044 ac_optarg=$2 4045 ac_shift=shift 4046 ;; 4047 *) # This is not an option, so the user has probably given explicit 4048 # arguments. 4049 ac_option=$1 4050 ac_need_defaults=false;; 4051 esac 4052 4053 case $ac_option in 4054 # Handling of the options. 4055_ACEOF 4056cat >>$CONFIG_STATUS <<\_ACEOF 4057 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4058 ac_cs_recheck=: ;; 4059 --version | --vers* | -V ) 4060 echo "$ac_cs_version"; exit 0 ;; 4061 --he | --h) 4062 # Conflict between --help and --header 4063 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4064Try \`$0 --help' for more information." >&5 4065echo "$as_me: error: ambiguous option: $1 4066Try \`$0 --help' for more information." >&2;} 4067 { (exit 1); exit 1; }; };; 4068 --help | --hel | -h ) 4069 echo "$ac_cs_usage"; exit 0 ;; 4070 --debug | --d* | -d ) 4071 debug=: ;; 4072 --file | --fil | --fi | --f ) 4073 $ac_shift 4074 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4075 ac_need_defaults=false;; 4076 --header | --heade | --head | --hea ) 4077 $ac_shift 4078 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4079 ac_need_defaults=false;; 4080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4081 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4082 ac_cs_silent=: ;; 4083 4084 # This is an error. 4085 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4086Try \`$0 --help' for more information." >&5 4087echo "$as_me: error: unrecognized option: $1 4088Try \`$0 --help' for more information." >&2;} 4089 { (exit 1); exit 1; }; } ;; 4090 4091 *) ac_config_targets="$ac_config_targets $1" ;; 4092 4093 esac 4094 shift 4095done 4096 4097ac_configure_extra_args= 4098 4099if $ac_cs_silent; then 4100 exec 6>/dev/null 4101 ac_configure_extra_args="$ac_configure_extra_args --silent" 4102fi 4103 4104_ACEOF 4105cat >>$CONFIG_STATUS <<_ACEOF 4106if \$ac_cs_recheck; then 4107 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4108 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4109fi 4110 4111_ACEOF 4112 4113cat >>$CONFIG_STATUS <<_ACEOF 4114# 4115# INIT-COMMANDS section. 4116# 4117 4118AMDEP_TRUE="$AMDEP_TRUE" 4119ac_aux_dir="$ac_aux_dir" 4120 4121_ACEOF 4122 4123 4124 4125cat >>$CONFIG_STATUS <<\_ACEOF 4126for ac_config_target in $ac_config_targets 4127do 4128 case "$ac_config_target" in 4129 # Handling of arguments. 4130 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4131 "gsmc.1" ) CONFIG_FILES="$CONFIG_FILES gsmc.1" ;; 4132 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 4133 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4134echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4135 { (exit 1); exit 1; }; };; 4136 esac 4137done 4138 4139# If the user did not use the arguments to specify the items to instantiate, 4140# then the envvar interface is used. Set only those that are not. 4141# We use the long form for the default assignment because of an extremely 4142# bizarre bug on SunOS 4.1.3. 4143if $ac_need_defaults; then 4144 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4145 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4146fi 4147 4148# Have a temporary directory for convenience. Make it in the build tree 4149# simply because there is no reason to put it here, and in addition, 4150# creating and moving files from /tmp can sometimes cause problems. 4151# Create a temporary directory, and hook for its removal unless debugging. 4152$debug || 4153{ 4154 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 4155 trap '{ (exit 1); exit 1; }' 1 2 13 15 4156} 4157 4158# Create a (secure) tmp directory for tmp files. 4159 4160{ 4161 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 4162 test -n "$tmp" && test -d "$tmp" 4163} || 4164{ 4165 tmp=./confstat$$-$RANDOM 4166 (umask 077 && mkdir $tmp) 4167} || 4168{ 4169 echo "$me: cannot create a temporary directory in ." >&2 4170 { (exit 1); exit 1; } 4171} 4172 4173_ACEOF 4174 4175cat >>$CONFIG_STATUS <<_ACEOF 4176 4177# 4178# CONFIG_FILES section. 4179# 4180 4181# No need to generate the scripts if there are no CONFIG_FILES. 4182# This happens for instance when ./config.status config.h 4183if test -n "\$CONFIG_FILES"; then 4184 # Protect against being on the right side of a sed subst in config.status. 4185 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 4186 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4187s,@SHELL@,$SHELL,;t t 4188s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4189s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4190s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4191s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4192s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4193s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4194s,@exec_prefix@,$exec_prefix,;t t 4195s,@prefix@,$prefix,;t t 4196s,@program_transform_name@,$program_transform_name,;t t 4197s,@bindir@,$bindir,;t t 4198s,@sbindir@,$sbindir,;t t 4199s,@libexecdir@,$libexecdir,;t t 4200s,@datadir@,$datadir,;t t 4201s,@sysconfdir@,$sysconfdir,;t t 4202s,@sharedstatedir@,$sharedstatedir,;t t 4203s,@localstatedir@,$localstatedir,;t t 4204s,@libdir@,$libdir,;t t 4205s,@includedir@,$includedir,;t t 4206s,@oldincludedir@,$oldincludedir,;t t 4207s,@infodir@,$infodir,;t t 4208s,@mandir@,$mandir,;t t 4209s,@build_alias@,$build_alias,;t t 4210s,@host_alias@,$host_alias,;t t 4211s,@target_alias@,$target_alias,;t t 4212s,@DEFS@,$DEFS,;t t 4213s,@ECHO_C@,$ECHO_C,;t t 4214s,@ECHO_N@,$ECHO_N,;t t 4215s,@ECHO_T@,$ECHO_T,;t t 4216s,@LIBS@,$LIBS,;t t 4217s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 4218s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 4219s,@INSTALL_DATA@,$INSTALL_DATA,;t t 4220s,@PACKAGE@,$PACKAGE,;t t 4221s,@VERSION@,$VERSION,;t t 4222s,@EXEEXT@,$EXEEXT,;t t 4223s,@OBJEXT@,$OBJEXT,;t t 4224s,@ACLOCAL@,$ACLOCAL,;t t 4225s,@AUTOCONF@,$AUTOCONF,;t t 4226s,@AUTOMAKE@,$AUTOMAKE,;t t 4227s,@AUTOHEADER@,$AUTOHEADER,;t t 4228s,@MAKEINFO@,$MAKEINFO,;t t 4229s,@AMTAR@,$AMTAR,;t t 4230s,@install_sh@,$install_sh,;t t 4231s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 4232s,@AWK@,$AWK,;t t 4233s,@SET_MAKE@,$SET_MAKE,;t t 4234s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 4235s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 4236s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 4237s,@DEPDIR@,$DEPDIR,;t t 4238s,@CC@,$CC,;t t 4239s,@CFLAGS@,$CFLAGS,;t t 4240s,@LDFLAGS@,$LDFLAGS,;t t 4241s,@CPPFLAGS@,$CPPFLAGS,;t t 4242s,@ac_ct_CC@,$ac_ct_CC,;t t 4243s,@am__include@,$am__include,;t t 4244s,@am__quote@,$am__quote,;t t 4245s,@CCDEPMODE@,$CCDEPMODE,;t t 4246s,@PKG_CONFIG@,$PKG_CONFIG,;t t 4247s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t 4248s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t 4249s,@CPP@,$CPP,;t t 4250s,@EGREP@,$EGREP,;t t 4251s,@LIBOBJS@,$LIBOBJS,;t t 4252s,@LTLIBOBJS@,$LTLIBOBJS,;t t 4253CEOF 4254 4255_ACEOF 4256 4257 cat >>$CONFIG_STATUS <<\_ACEOF 4258 # Split the substitutions into bite-sized pieces for seds with 4259 # small command number limits, like on Digital OSF/1 and HP-UX. 4260 ac_max_sed_lines=48 4261 ac_sed_frag=1 # Number of current file. 4262 ac_beg=1 # First line for current file. 4263 ac_end=$ac_max_sed_lines # Line after last line for current file. 4264 ac_more_lines=: 4265 ac_sed_cmds= 4266 while $ac_more_lines; do 4267 if test $ac_beg -gt 1; then 4268 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4269 else 4270 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4271 fi 4272 if test ! -s $tmp/subs.frag; then 4273 ac_more_lines=false 4274 else 4275 # The purpose of the label and of the branching condition is to 4276 # speed up the sed processing (if there are no `@' at all, there 4277 # is no need to browse any of the substitutions). 4278 # These are the two extra sed commands mentioned above. 4279 (echo ':t 4280 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4281 if test -z "$ac_sed_cmds"; then 4282 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4283 else 4284 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4285 fi 4286 ac_sed_frag=`expr $ac_sed_frag + 1` 4287 ac_beg=$ac_end 4288 ac_end=`expr $ac_end + $ac_max_sed_lines` 4289 fi 4290 done 4291 if test -z "$ac_sed_cmds"; then 4292 ac_sed_cmds=cat 4293 fi 4294fi # test -n "$CONFIG_FILES" 4295 4296_ACEOF 4297cat >>$CONFIG_STATUS <<\_ACEOF 4298for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4299 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4300 case $ac_file in 4301 - | *:- | *:-:* ) # input from stdin 4302 cat >$tmp/stdin 4303 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4304 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4305 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4306 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4307 * ) ac_file_in=$ac_file.in ;; 4308 esac 4309 4310 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4311 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4312$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4313 X"$ac_file" : 'X\(//\)[^/]' \| \ 4314 X"$ac_file" : 'X\(//\)$' \| \ 4315 X"$ac_file" : 'X\(/\)' \| \ 4316 . : '\(.\)' 2>/dev/null || 4317echo X"$ac_file" | 4318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4319 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4320 /^X\(\/\/\)$/{ s//\1/; q; } 4321 /^X\(\/\).*/{ s//\1/; q; } 4322 s/.*/./; q'` 4323 { if $as_mkdir_p; then 4324 mkdir -p "$ac_dir" 4325 else 4326 as_dir="$ac_dir" 4327 as_dirs= 4328 while test ! -d "$as_dir"; do 4329 as_dirs="$as_dir $as_dirs" 4330 as_dir=`(dirname "$as_dir") 2>/dev/null || 4331$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4332 X"$as_dir" : 'X\(//\)[^/]' \| \ 4333 X"$as_dir" : 'X\(//\)$' \| \ 4334 X"$as_dir" : 'X\(/\)' \| \ 4335 . : '\(.\)' 2>/dev/null || 4336echo X"$as_dir" | 4337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4338 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4339 /^X\(\/\/\)$/{ s//\1/; q; } 4340 /^X\(\/\).*/{ s//\1/; q; } 4341 s/.*/./; q'` 4342 done 4343 test ! -n "$as_dirs" || mkdir $as_dirs 4344 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4345echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4346 { (exit 1); exit 1; }; }; } 4347 4348 ac_builddir=. 4349 4350if test "$ac_dir" != .; then 4351 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4352 # A "../" for each directory in $ac_dir_suffix. 4353 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4354else 4355 ac_dir_suffix= ac_top_builddir= 4356fi 4357 4358case $srcdir in 4359 .) # No --srcdir option. We are building in place. 4360 ac_srcdir=. 4361 if test -z "$ac_top_builddir"; then 4362 ac_top_srcdir=. 4363 else 4364 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4365 fi ;; 4366 [\\/]* | ?:[\\/]* ) # Absolute path. 4367 ac_srcdir=$srcdir$ac_dir_suffix; 4368 ac_top_srcdir=$srcdir ;; 4369 *) # Relative path. 4370 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4371 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4372esac 4373# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 4374# absolute. 4375ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 4376ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 4377ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 4378ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 4379 4380 4381 case $INSTALL in 4382 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4383 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 4384 esac 4385 4386 if test x"$ac_file" != x-; then 4387 { echo "$as_me:$LINENO: creating $ac_file" >&5 4388echo "$as_me: creating $ac_file" >&6;} 4389 rm -f "$ac_file" 4390 fi 4391 # Let's still pretend it is `configure' which instantiates (i.e., don't 4392 # use $as_me), people would be surprised to read: 4393 # /* config.h. Generated by config.status. */ 4394 if test x"$ac_file" = x-; then 4395 configure_input= 4396 else 4397 configure_input="$ac_file. " 4398 fi 4399 configure_input=$configure_input"Generated from `echo $ac_file_in | 4400 sed 's,.*/,,'` by configure." 4401 4402 # First look for the input files in the build tree, otherwise in the 4403 # src tree. 4404 ac_file_inputs=`IFS=: 4405 for f in $ac_file_in; do 4406 case $f in 4407 -) echo $tmp/stdin ;; 4408 [\\/$]*) 4409 # Absolute (can't be DOS-style, as IFS=:) 4410 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4411echo "$as_me: error: cannot find input file: $f" >&2;} 4412 { (exit 1); exit 1; }; } 4413 echo $f;; 4414 *) # Relative 4415 if test -f "$f"; then 4416 # Build tree 4417 echo $f 4418 elif test -f "$srcdir/$f"; then 4419 # Source tree 4420 echo $srcdir/$f 4421 else 4422 # /dev/null tree 4423 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4424echo "$as_me: error: cannot find input file: $f" >&2;} 4425 { (exit 1); exit 1; }; } 4426 fi;; 4427 esac 4428 done` || { (exit 1); exit 1; } 4429_ACEOF 4430cat >>$CONFIG_STATUS <<_ACEOF 4431 sed "$ac_vpsub 4432$extrasub 4433_ACEOF 4434cat >>$CONFIG_STATUS <<\_ACEOF 4435:t 4436/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4437s,@configure_input@,$configure_input,;t t 4438s,@srcdir@,$ac_srcdir,;t t 4439s,@abs_srcdir@,$ac_abs_srcdir,;t t 4440s,@top_srcdir@,$ac_top_srcdir,;t t 4441s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 4442s,@builddir@,$ac_builddir,;t t 4443s,@abs_builddir@,$ac_abs_builddir,;t t 4444s,@top_builddir@,$ac_top_builddir,;t t 4445s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4446s,@INSTALL@,$ac_INSTALL,;t t 4447" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4448 rm -f $tmp/stdin 4449 if test x"$ac_file" != x-; then 4450 mv $tmp/out $ac_file 4451 else 4452 cat $tmp/out 4453 rm -f $tmp/out 4454 fi 4455 4456done 4457_ACEOF 4458cat >>$CONFIG_STATUS <<\_ACEOF 4459 4460# 4461# CONFIG_COMMANDS section. 4462# 4463for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 4464 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 4465 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 4466 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 4467$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4468 X"$ac_dest" : 'X\(//\)[^/]' \| \ 4469 X"$ac_dest" : 'X\(//\)$' \| \ 4470 X"$ac_dest" : 'X\(/\)' \| \ 4471 . : '\(.\)' 2>/dev/null || 4472echo X"$ac_dest" | 4473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4474 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4475 /^X\(\/\/\)$/{ s//\1/; q; } 4476 /^X\(\/\).*/{ s//\1/; q; } 4477 s/.*/./; q'` 4478 ac_builddir=. 4479 4480if test "$ac_dir" != .; then 4481 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4482 # A "../" for each directory in $ac_dir_suffix. 4483 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4484else 4485 ac_dir_suffix= ac_top_builddir= 4486fi 4487 4488case $srcdir in 4489 .) # No --srcdir option. We are building in place. 4490 ac_srcdir=. 4491 if test -z "$ac_top_builddir"; then 4492 ac_top_srcdir=. 4493 else 4494 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4495 fi ;; 4496 [\\/]* | ?:[\\/]* ) # Absolute path. 4497 ac_srcdir=$srcdir$ac_dir_suffix; 4498 ac_top_srcdir=$srcdir ;; 4499 *) # Relative path. 4500 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4501 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4502esac 4503# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 4504# absolute. 4505ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 4506ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 4507ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 4508ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 4509 4510 4511 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 4512echo "$as_me: executing $ac_dest commands" >&6;} 4513 case $ac_dest in 4514 default-1 ) 4515test x"$AMDEP_TRUE" != x"" || 4516for mf in $CONFIG_FILES; do 4517 case "$mf" in 4518 Makefile) dirpart=.;; 4519 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;; 4520 *) continue;; 4521 esac 4522 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 4523 # Extract the definition of DEP_FILES from the Makefile without 4524 # running `make'. 4525 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 4526 test -z "$DEPDIR" && continue 4527 # When using ansi2knr, U may be empty or an underscore; expand it 4528 U=`sed -n -e '/^U = / s///p' < "$mf"` 4529 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 4530 # We invoke sed twice because it is the simplest approach to 4531 # changing $(DEPDIR) to its actual value in the expansion. 4532 for file in `sed -n -e ' 4533 /^DEP_FILES = .*\\\\$/ { 4534 s/^DEP_FILES = // 4535 :loop 4536 s/\\\\$// 4537 p 4538 n 4539 /\\\\$/ b loop 4540 p 4541 } 4542 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 4543 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 4544 # Make sure the directory exists. 4545 test -f "$dirpart/$file" && continue 4546 fdir=`echo "$file" | sed -e 's|/[^/]*$||'` 4547 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1 4548 # echo "creating $dirpart/$file" 4549 echo '# dummy' > "$dirpart/$file" 4550 done 4551done 4552 ;; 4553 esac 4554done 4555_ACEOF 4556 4557cat >>$CONFIG_STATUS <<\_ACEOF 4558 4559{ (exit 0); exit 0; } 4560_ACEOF 4561chmod +x $CONFIG_STATUS 4562ac_clean_files=$ac_clean_files_save 4563 4564 4565# configure is writing to config.log, and then calls config.status. 4566# config.status does its own redirection, appending to config.log. 4567# Unfortunately, on DOS this fails, as config.log is still kept open 4568# by configure, so config.status won't be able to write to it; its 4569# output is simply discarded. So we exec the FD to /dev/null, 4570# effectively closing config.log, so it can be properly (re)opened and 4571# appended to by config.status. When coming back to configure, we 4572# need to make the FD available again. 4573if test "$no_create" != yes; then 4574 ac_cs_success=: 4575 ac_config_status_args= 4576 test "$silent" = yes && 4577 ac_config_status_args="$ac_config_status_args --quiet" 4578 exec 5>/dev/null 4579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4580 exec 5>>config.log 4581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4582 # would make configure fail if this is the last instruction. 4583 $ac_cs_success || { (exit 1); exit 1; } 4584fi 4585 4586 4587