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