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